@progress/kendo-angular-dialog 16.5.0 → 16.6.0-develop.1

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.
Files changed (54) hide show
  1. package/dialog/dialog-actions.component.d.ts +1 -1
  2. package/dialog/dialog-container.directive.d.ts +1 -1
  3. package/dialog/dialog-content-base.d.ts +1 -1
  4. package/dialog/dialog-titlebar.component.d.ts +1 -1
  5. package/dialog/dialog.component.d.ts +1 -1
  6. package/dialog/models/dialog-ref.d.ts +1 -1
  7. package/dialog/models/dialog-settings.d.ts +2 -2
  8. package/dialog.module.d.ts +3 -6
  9. package/dialogs.module.d.ts +13 -3
  10. package/directives.d.ts +28 -0
  11. package/esm2020/dialog/dialog-actions.component.mjs +6 -4
  12. package/esm2020/dialog/dialog-container.directive.mjs +3 -2
  13. package/esm2020/dialog/dialog-container.service.mjs +5 -2
  14. package/esm2020/dialog/dialog-content-base.mjs +1 -1
  15. package/esm2020/dialog/dialog-titlebar.component.mjs +7 -5
  16. package/esm2020/dialog/dialog.component.mjs +8 -9
  17. package/esm2020/dialog/dialog.service.mjs +5 -2
  18. package/esm2020/dialog.module.mjs +13 -14
  19. package/esm2020/dialogs.module.mjs +24 -5
  20. package/esm2020/directives.mjs +47 -0
  21. package/esm2020/index.mjs +2 -0
  22. package/esm2020/localization/custom-messages.component.mjs +4 -3
  23. package/esm2020/localization/localized-messages.directive.mjs +3 -2
  24. package/esm2020/package-metadata.mjs +2 -2
  25. package/esm2020/window/actions/window-close-action.directive.mjs +8 -6
  26. package/esm2020/window/actions/window-maximize-action.directive.mjs +8 -6
  27. package/esm2020/window/actions/window-minimize-action.directive.mjs +8 -6
  28. package/esm2020/window/actions/window-restore-action.directive.mjs +8 -6
  29. package/esm2020/window/window-container.directive.mjs +3 -2
  30. package/esm2020/window/window-container.service.mjs +5 -2
  31. package/esm2020/window/window-resize-handle.directive.mjs +3 -2
  32. package/esm2020/window/window-titlebar.component.mjs +6 -4
  33. package/esm2020/window/window.component.mjs +12 -12
  34. package/esm2020/window/window.service.mjs +5 -2
  35. package/esm2020/window.module.mjs +17 -45
  36. package/fesm2015/progress-kendo-angular-dialog.mjs +191 -183
  37. package/fesm2020/progress-kendo-angular-dialog.mjs +191 -183
  38. package/index.d.ts +2 -0
  39. package/localization/custom-messages.component.d.ts +2 -2
  40. package/localization/localized-messages.directive.d.ts +1 -1
  41. package/package.json +6 -6
  42. package/schematics/ngAdd/index.js +1 -1
  43. package/window/actions/window-close-action.directive.d.ts +2 -2
  44. package/window/actions/window-maximize-action.directive.d.ts +2 -2
  45. package/window/actions/window-minimize-action.directive.d.ts +2 -2
  46. package/window/actions/window-restore-action.directive.d.ts +2 -2
  47. package/window/models/window-ref.d.ts +1 -1
  48. package/window/window-container.directive.d.ts +1 -1
  49. package/window/window-resize-handle.directive.d.ts +1 -1
  50. package/window/window-titlebar.component.d.ts +1 -1
  51. package/window/window.component.d.ts +1 -1
  52. package/window.module.d.ts +10 -14
  53. package/esm2020/shared.module.mjs +0 -40
  54. package/shared.module.d.ts +0 -23
@@ -53,5 +53,5 @@ export declare class DialogActionsComponent {
53
53
  */
54
54
  isDivider(action: DialogAction | DialogActionDivider): boolean;
55
55
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogActionsComponent, never>;
56
- static ɵcmp: i0.ɵɵComponentDeclaration<DialogActionsComponent, "kendo-dialog-actions", never, { "actions": "actions"; "layout": "layout"; }, { "action": "action"; }, never, ["*"], false, never>;
56
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogActionsComponent, "kendo-dialog-actions", never, { "actions": "actions"; "layout": "layout"; }, { "action": "action"; }, never, ["*"], true, never>;
57
57
  }
@@ -18,5 +18,5 @@ import * as i0 from "@angular/core";
18
18
  export declare class DialogContainerDirective {
19
19
  constructor(container: ViewContainerRef, service: DialogContainerService);
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogContainerDirective, never>;
21
- static ɵdir: i0.ɵɵDirectiveDeclaration<DialogContainerDirective, "[kendoDialogContainer]", never, {}, {}, never, never, false, never>;
21
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DialogContainerDirective, "[kendoDialogContainer]", never, {}, {}, never, never, true, never>;
22
22
  }
@@ -8,7 +8,7 @@ import { DialogTitleBarComponent } from './dialog-titlebar.component';
8
8
  import * as i0 from "@angular/core";
9
9
  /**
10
10
  * The base class which will be extended by a component that is provided as content through `content`
11
- * ([see example]({% slug service_dialog %}#toc-passing-title-content-and-actions-as-a-single-component)).
11
+ * ([see example](slug:service_dialog#toc-single-component-rendering)).
12
12
  */
13
13
  export declare class DialogContentBase {
14
14
  dialog: DialogRef;
@@ -41,5 +41,5 @@ export declare class DialogTitleBarComponent implements AfterViewInit {
41
41
  */
42
42
  onCloseClick(e: Event): void;
43
43
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogTitleBarComponent, [null, null, { optional: true; }]>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<DialogTitleBarComponent, "kendo-dialog-titlebar", never, { "id": "id"; "closeTitle": "closeTitle"; }, { "close": "close"; }, never, ["*"], false, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogTitleBarComponent, "kendo-dialog-titlebar", never, { "id": "id"; "closeTitle": "closeTitle"; }, { "close": "close"; }, never, ["*"], true, never>;
45
45
  }
@@ -202,5 +202,5 @@ export declare class DialogComponent implements AfterContentInit, AfterViewInit,
202
202
  private bubble;
203
203
  private handleThemeColorClass;
204
204
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
205
- static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "kendo-dialog", ["kendoDialog"], { "actions": "actions"; "actionsLayout": "actionsLayout"; "autoFocusedElement": "autoFocusedElement"; "title": "title"; "width": "width"; "minWidth": "minWidth"; "maxWidth": "maxWidth"; "height": "height"; "minHeight": "minHeight"; "maxHeight": "maxHeight"; "animation": "animation"; "themeColor": "themeColor"; }, { "action": "action"; "close": "close"; }, ["titlebarContent"], ["kendo-dialog-titlebar", "*", "kendo-dialog-actions"], false, never>;
205
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "kendo-dialog", ["kendoDialog"], { "actions": "actions"; "actionsLayout": "actionsLayout"; "autoFocusedElement": "autoFocusedElement"; "title": "title"; "width": "width"; "minWidth": "minWidth"; "maxWidth": "maxWidth"; "height": "height"; "minHeight": "minHeight"; "maxHeight": "maxHeight"; "animation": "animation"; "themeColor": "themeColor"; }, { "action": "action"; "close": "close"; }, ["titlebarContent"], ["kendo-dialog-titlebar", "*", "kendo-dialog-actions"], true, never>;
206
206
  }
@@ -25,7 +25,7 @@ export declare class DialogRef {
25
25
  dialog: ComponentRef<DialogComponent>;
26
26
  /**
27
27
  * A reference to the child component of the Dialog.
28
- * Available when the Dialog is opened with [component content]({% slug service_dialog %}#toc-using-components).
28
+ * Available when the Dialog is opened with [component content]({slug:service_dialog#toc-rendering-the-content-area).
29
29
  */
30
30
  content: ComponentRef<any>;
31
31
  /**
@@ -15,7 +15,7 @@ export declare class DialogSettings {
15
15
  /**
16
16
  * Defines a predicate that verifies if the pressed dialog action should be prevented. Returning true from the predicate prevents the dialog from closing.
17
17
  * If the **Close** button of the title bar is clicked, `DialogResult` is a `DialogCloseResult` instance.
18
- * If the Dialog is closed through the action buttons, `DialogResult` contains the object that was passed when the Dialog was opened. ([see example]({% slug service_dialog %}#toc-closing-the-dialog))
18
+ * If the Dialog is closed through the action buttons, `DialogResult` contains the object that was passed when the Dialog was opened. ([see example](slug:service_dialog#toc-dialog-close-prevention))
19
19
  * @param {DialogResult} ev
20
20
  * @param {DialogRef} [dialogRef] - provided only when the dialog is created using a component.
21
21
  * @returns
@@ -45,7 +45,7 @@ export declare class DialogSettings {
45
45
  };
46
46
  /**
47
47
  * Defines the content of the Dialog.
48
- * ([see example]({% slug service_dialog %}#toc-using-components)).
48
+ * ([see example]({slug:service_dialog#toc-rendering-the-content-area)).
49
49
  */
50
50
  content?: string | TemplateRef<any> | Function;
51
51
  /**
@@ -6,11 +6,8 @@ import * as i0 from "@angular/core";
6
6
  import * as i1 from "./dialog/dialog.component";
7
7
  import * as i2 from "./dialog/dialog-titlebar.component";
8
8
  import * as i3 from "./dialog/dialog-container.directive";
9
- import * as i4 from "./shared.module";
10
- import * as i5 from "@progress/kendo-angular-common";
11
- import * as i6 from "./dialog/dialog-actions.component";
12
- import * as i7 from "./localization/custom-messages.component";
13
- import * as i8 from "./localization/localized-messages.directive";
9
+ import * as i4 from "./dialog/dialog-actions.component";
10
+ import * as i5 from "./localization/custom-messages.component";
14
11
  /**
15
12
  * @hidden
16
13
  */
@@ -39,6 +36,6 @@ export declare const DIALOG_DIRECTIVES: any[];
39
36
  */
40
37
  export declare class DialogModule {
41
38
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogModule, never>;
42
- static ɵmod: i0.ɵɵNgModuleDeclaration<DialogModule, [typeof i1.DialogComponent, typeof i2.DialogTitleBarComponent, typeof i3.DialogContainerDirective], [typeof i4.SharedModule, typeof i5.WatermarkModule], [typeof i1.DialogComponent, typeof i2.DialogTitleBarComponent, typeof i6.DialogActionsComponent, typeof i7.CustomMessagesComponent, typeof i8.LocalizedMessagesDirective, typeof i3.DialogContainerDirective]>;
39
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DialogModule, never, [typeof i1.DialogComponent, typeof i2.DialogTitleBarComponent, typeof i3.DialogContainerDirective, typeof i4.DialogActionsComponent, typeof i5.CustomMessagesComponent], [typeof i1.DialogComponent, typeof i2.DialogTitleBarComponent, typeof i3.DialogContainerDirective, typeof i4.DialogActionsComponent, typeof i5.CustomMessagesComponent]>;
43
40
  static ɵinj: i0.ɵɵInjectorDeclaration<DialogModule>;
44
41
  }
@@ -3,8 +3,18 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from "@angular/core";
6
- import * as i1 from "./dialog.module";
7
- import * as i2 from "./window.module";
6
+ import * as i1 from "./dialog/dialog.component";
7
+ import * as i2 from "./dialog/dialog-titlebar.component";
8
+ import * as i3 from "./dialog/dialog-container.directive";
9
+ import * as i4 from "./dialog/dialog-actions.component";
10
+ import * as i5 from "./localization/custom-messages.component";
11
+ import * as i6 from "./window/window.component";
12
+ import * as i7 from "./window/actions/window-close-action.directive";
13
+ import * as i8 from "./window/actions/window-minimize-action.directive";
14
+ import * as i9 from "./window/actions/window-maximize-action.directive";
15
+ import * as i10 from "./window/actions/window-restore-action.directive";
16
+ import * as i11 from "./window/window-titlebar.component";
17
+ import * as i12 from "./window/window-container.directive";
8
18
  /**
9
19
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
10
20
  * definition for the Dialogs components.
@@ -32,6 +42,6 @@ import * as i2 from "./window.module";
32
42
  */
33
43
  export declare class DialogsModule {
34
44
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogsModule, never>;
35
- static ɵmod: i0.ɵɵNgModuleDeclaration<DialogsModule, never, never, [typeof i1.DialogModule, typeof i2.WindowModule]>;
45
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DialogsModule, never, [typeof i1.DialogComponent, typeof i2.DialogTitleBarComponent, typeof i3.DialogContainerDirective, typeof i4.DialogActionsComponent, typeof i5.CustomMessagesComponent, typeof i6.WindowComponent, typeof i7.WindowCloseActionDirective, typeof i8.WindowMinimizeActionDirective, typeof i9.WindowMaximizeActionDirective, typeof i10.WindowRestoreActionDirective, typeof i11.WindowTitleBarComponent, typeof i12.WindowContainerDirective, typeof i4.DialogActionsComponent, typeof i5.CustomMessagesComponent], [typeof i1.DialogComponent, typeof i2.DialogTitleBarComponent, typeof i3.DialogContainerDirective, typeof i4.DialogActionsComponent, typeof i5.CustomMessagesComponent, typeof i6.WindowComponent, typeof i7.WindowCloseActionDirective, typeof i8.WindowMinimizeActionDirective, typeof i9.WindowMaximizeActionDirective, typeof i10.WindowRestoreActionDirective, typeof i11.WindowTitleBarComponent, typeof i12.WindowContainerDirective, typeof i4.DialogActionsComponent, typeof i5.CustomMessagesComponent]>;
36
46
  static ɵinj: i0.ɵɵInjectorDeclaration<DialogsModule>;
37
47
  }
@@ -0,0 +1,28 @@
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 declare const KENDO_DIALOG: readonly [typeof DialogComponent, typeof DialogTitleBarComponent, typeof DialogContainerDirective, typeof DialogActionsComponent, typeof CustomMessagesComponent];
21
+ /**
22
+ * Utility array that contains all `Window` related components and directives.
23
+ */
24
+ export declare const KENDO_WINDOW: readonly [typeof WindowComponent, typeof WindowCloseActionDirective, typeof WindowMinimizeActionDirective, typeof WindowMaximizeActionDirective, typeof WindowRestoreActionDirective, typeof WindowTitleBarComponent, typeof WindowContainerDirective, typeof DialogActionsComponent, typeof CustomMessagesComponent];
25
+ /**
26
+ * Utility array that contains all `@progress/kendo-angular-dialog` related components and directives.
27
+ */
28
+ export declare const KENDO_DIALOGS: readonly [typeof DialogComponent, typeof DialogTitleBarComponent, typeof DialogContainerDirective, typeof DialogActionsComponent, typeof CustomMessagesComponent, typeof WindowComponent, typeof WindowCloseActionDirective, typeof WindowMinimizeActionDirective, typeof WindowMaximizeActionDirective, typeof WindowRestoreActionDirective, typeof WindowTitleBarComponent, typeof WindowContainerDirective, typeof DialogActionsComponent, typeof CustomMessagesComponent];
@@ -4,8 +4,8 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, EventEmitter, HostBinding, TemplateRef, Input, Output, ElementRef } from '@angular/core';
6
6
  import { parseCSSClassNames } from '../common/util';
7
+ import { NgIf, NgFor, NgClass, NgTemplateOutlet } from '@angular/common';
7
8
  import * as i0 from "@angular/core";
8
- import * as i1 from "@angular/common";
9
9
  /**
10
10
  * Specifies the action buttons of the Dialog
11
11
  * ([see example]({% slug actionbuttons_dialog %})).
@@ -78,7 +78,7 @@ export class DialogActionsComponent {
78
78
  }
79
79
  }
80
80
  DialogActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogActionsComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
81
- DialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: { actions: "actions", layout: "layout" }, outputs: { action: "action" }, host: { properties: { "class.k-actions": "this.hostClasses", "class.k-actions-horizontal": "this.hostClasses", "class.k-window-actions": "this.hostClasses", "class.k-dialog-actions": "this.hostClasses", "class.k-actions-start": "this.startClassName", "class.k-actions-center": "this.centerClassName", "class.k-actions-end": "this.endClassName", "class.k-actions-stretched": "this.stretchedClassName" } }, ngImport: i0, template: `
81
+ DialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DialogActionsComponent, isStandalone: true, selector: "kendo-dialog-actions", inputs: { actions: "actions", layout: "layout" }, outputs: { action: "action" }, host: { properties: { "class.k-actions": "this.hostClasses", "class.k-actions-horizontal": "this.hostClasses", "class.k-window-actions": "this.hostClasses", "class.k-dialog-actions": "this.hostClasses", "class.k-actions-start": "this.startClassName", "class.k-actions-center": "this.centerClassName", "class.k-actions-end": "this.endClassName", "class.k-actions-stretched": "this.stretchedClassName" } }, ngImport: i0, template: `
82
82
  <ng-content *ngIf="!actions"></ng-content>
83
83
  <ng-container *ngIf="actionsArray; else actionTemplate">
84
84
  <ng-container *ngFor="let action of actionsArray">
@@ -98,7 +98,7 @@ DialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
98
98
  </ng-container>
99
99
  </ng-container>
100
100
  <ng-template #actionTemplate [ngTemplateOutlet]="actionsTemplate"></ng-template>
101
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
101
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
102
102
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogActionsComponent, decorators: [{
103
103
  type: Component,
104
104
  args: [{
@@ -123,7 +123,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
123
123
  </ng-container>
124
124
  </ng-container>
125
125
  <ng-template #actionTemplate [ngTemplateOutlet]="actionsTemplate"></ng-template>
126
- `
126
+ `,
127
+ standalone: true,
128
+ imports: [NgIf, NgFor, NgClass, NgTemplateOutlet]
127
129
  }]
128
130
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { actions: [{
129
131
  type: Input
@@ -22,10 +22,11 @@ export class DialogContainerDirective {
22
22
  }
23
23
  }
24
24
  DialogContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogContainerDirective, deps: [{ token: i0.ViewContainerRef }, { token: i1.DialogContainerService }], target: i0.ɵɵFactoryTarget.Directive });
25
- DialogContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DialogContainerDirective, selector: "[kendoDialogContainer]", ngImport: i0 });
25
+ DialogContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DialogContainerDirective, isStandalone: true, selector: "[kendoDialogContainer]", ngImport: i0 });
26
26
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogContainerDirective, decorators: [{
27
27
  type: Directive,
28
28
  args: [{
29
- selector: '[kendoDialogContainer]'
29
+ selector: '[kendoDialogContainer]',
30
+ standalone: true
30
31
  }]
31
32
  }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i1.DialogContainerService }]; } });
@@ -17,7 +17,10 @@ export class DialogContainerService {
17
17
  }
18
18
  DialogContainerService.container = null;
19
19
  DialogContainerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogContainerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
20
- DialogContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogContainerService });
20
+ DialogContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogContainerService, providedIn: 'root' });
21
21
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogContainerService, decorators: [{
22
- type: Injectable
22
+ type: Injectable,
23
+ args: [{
24
+ providedIn: 'root'
25
+ }]
23
26
  }] });
@@ -11,7 +11,7 @@ import * as i0 from "@angular/core";
11
11
  import * as i1 from "./models/dialog-ref";
12
12
  /**
13
13
  * The base class which will be extended by a component that is provided as content through `content`
14
- * ([see example]({% slug service_dialog %}#toc-passing-title-content-and-actions-as-a-single-component)).
14
+ * ([see example](slug:service_dialog#toc-single-component-rendering)).
15
15
  */
16
16
  export class DialogContentBase {
17
17
  constructor(dialog) {
@@ -8,10 +8,10 @@ import { take } from 'rxjs/operators';
8
8
  import { PreventableEvent } from '../common/preventable-event';
9
9
  import { TitleBarLocalizationService } from '../localization/titlebar-localization.service';
10
10
  import { xIcon } from '@progress/kendo-svg-icons';
11
+ import { ButtonComponent } from '@progress/kendo-angular-buttons';
12
+ import { LocalizedMessagesDirective } from '../localization/localized-messages.directive';
11
13
  import * as i0 from "@angular/core";
12
14
  import * as i1 from "@progress/kendo-angular-l10n";
13
- import * as i2 from "../localization/localized-messages.directive";
14
- import * as i3 from "@progress/kendo-angular-buttons";
15
15
  /**
16
16
  * Represents the [Kendo UI DialogTitleBar component for Angular]({% slug api_dialog_dialogtitlebarcomponent %}).
17
17
  *
@@ -53,7 +53,7 @@ export class DialogTitleBarComponent {
53
53
  }
54
54
  }
55
55
  DialogTitleBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogTitleBarComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i1.LocalizationService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
56
- DialogTitleBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: { id: "id", closeTitle: "closeTitle" }, outputs: { close: "close" }, host: { properties: { "class.k-window-titlebar": "this.className", "class.k-dialog-titlebar": "this.className" } }, providers: [
56
+ DialogTitleBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DialogTitleBarComponent, isStandalone: true, selector: "kendo-dialog-titlebar", inputs: { id: "id", closeTitle: "closeTitle" }, outputs: { close: "close" }, host: { properties: { "class.k-window-titlebar": "this.className", "class.k-dialog-titlebar": "this.className" } }, providers: [
57
57
  TitleBarLocalizationService,
58
58
  {
59
59
  provide: LocalizationService,
@@ -88,7 +88,7 @@ DialogTitleBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
88
88
  </button>
89
89
  </div>
90
90
  </ng-container>
91
- `, isInline: true, dependencies: [{ kind: "directive", type: i2.LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }, { kind: "component", type: i3.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
91
+ `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
92
92
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogTitleBarComponent, decorators: [{
93
93
  type: Component,
94
94
  args: [{
@@ -129,7 +129,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
129
129
  </button>
130
130
  </div>
131
131
  </ng-container>
132
- `
132
+ `,
133
+ standalone: true,
134
+ imports: [LocalizedMessagesDirective, ButtonComponent]
133
135
  }]
134
136
  }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.ElementRef }, { type: i1.LocalizationService, decorators: [{
135
137
  type: Optional
@@ -3,6 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, EventEmitter, HostBinding, Input, ViewChild, Output, ElementRef, Renderer2, ChangeDetectorRef, NgZone, ContentChildren, QueryList, ViewChildren } from '@angular/core';
6
+ import { NgStyle, NgIf, NgTemplateOutlet } from '@angular/common';
6
7
  import { animate, AnimationBuilder, state, style, transition, trigger } from '@angular/animations';
7
8
  import { DialogActionsComponent } from './dialog-actions.component';
8
9
  import { DialogTitleBarComponent } from './dialog-titlebar.component';
@@ -16,15 +17,11 @@ import { DIALOG_LOCALIZATION_SERVICE } from './../localization/dialog-localizati
16
17
  import { take } from 'rxjs/operators';
17
18
  import { Subscription } from 'rxjs';
18
19
  import { animateContent } from './dialog-animations/animate-content';
19
- import { isDocumentAvailable } from '@progress/kendo-angular-common';
20
+ import { isDocumentAvailable, WatermarkOverlayComponent } from '@progress/kendo-angular-common';
21
+ import { LocalizedMessagesDirective } from '../localization/localized-messages.directive';
20
22
  import * as i0 from "@angular/core";
21
23
  import * as i1 from "@progress/kendo-angular-l10n";
22
24
  import * as i2 from "@angular/animations";
23
- import * as i3 from "./dialog-actions.component";
24
- import * as i4 from "../localization/localized-messages.directive";
25
- import * as i5 from "@angular/common";
26
- import * as i6 from "@progress/kendo-angular-common";
27
- import * as i7 from "./dialog-titlebar.component";
28
25
  const DEFAULT_ANIMATION_CONFIG = { duration: 300, type: 'translate' };
29
26
  /**
30
27
  * Represents the [Kendo UI Dialog component for Angular]({% slug overview_dialog_dialogs %}).
@@ -383,7 +380,7 @@ export class DialogComponent {
383
380
  }
384
381
  }
385
382
  DialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i2.AnimationBuilder }], target: i0.ɵɵFactoryTarget.Component });
386
- DialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DialogComponent, selector: "kendo-dialog", inputs: { actions: "actions", actionsLayout: "actionsLayout", autoFocusedElement: "autoFocusedElement", title: "title", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", height: "height", minHeight: "minHeight", maxHeight: "maxHeight", animation: "animation", themeColor: "themeColor" }, outputs: { action: "action", close: "close" }, host: { properties: { "attr.dir": "this.dir", "attr.tabIndex": "this.tabIndex", "class.k-dialog-wrapper": "this.wrapperClass" } }, providers: [
383
+ DialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DialogComponent, isStandalone: true, selector: "kendo-dialog", inputs: { actions: "actions", actionsLayout: "actionsLayout", autoFocusedElement: "autoFocusedElement", title: "title", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", height: "height", minHeight: "minHeight", maxHeight: "maxHeight", animation: "animation", themeColor: "themeColor" }, outputs: { action: "action", close: "close" }, host: { properties: { "attr.dir": "this.dir", "attr.tabIndex": "this.tabIndex", "class.k-dialog-wrapper": "this.wrapperClass" } }, providers: [
387
384
  LocalizationService,
388
385
  {
389
386
  provide: DIALOG_LOCALIZATION_SERVICE,
@@ -416,7 +413,7 @@ DialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
416
413
  <div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
417
414
  </div>
418
415
  </ng-container>
419
- `, isInline: true, dependencies: [{ kind: "component", type: i3.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "directive", type: i4.LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i5.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i6.WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }, { kind: "component", type: i7.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }], animations: [
416
+ `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }], animations: [
420
417
  trigger('overlayAppear', [
421
418
  state('in', style({ opacity: 1 })),
422
419
  transition('void => *', [style({ opacity: 0.1 }), animate('.3s cubic-bezier(.2, .6, .4, 1)')])
@@ -467,7 +464,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
467
464
  <div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
468
465
  </div>
469
466
  </ng-container>
470
- `
467
+ `,
468
+ standalone: true,
469
+ imports: [LocalizedMessagesDirective, NgStyle, NgIf, DialogTitleBarComponent, NgTemplateOutlet, DialogActionsComponent, WatermarkOverlayComponent]
471
470
  }]
472
471
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i2.AnimationBuilder }]; }, propDecorators: { actions: [{
473
472
  type: Input
@@ -216,9 +216,12 @@ See https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/service/.
216
216
  }
217
217
  }
218
218
  DialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogService, deps: [{ token: i0.ComponentFactoryResolver }, { token: DialogContainerService }], target: i0.ɵɵFactoryTarget.Injectable });
219
- DialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogService });
219
+ DialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogService, providedIn: 'root' });
220
220
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogService, decorators: [{
221
- type: Injectable
221
+ type: Injectable,
222
+ args: [{
223
+ providedIn: 'root'
224
+ }]
222
225
  }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i1.DialogContainerService, decorators: [{
223
226
  type: Inject,
224
227
  args: [DialogContainerService]
@@ -3,17 +3,18 @@
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 { IconsService } from '@progress/kendo-angular-icons';
6
7
  import { DialogComponent } from './dialog/dialog.component';
7
8
  import { DialogTitleBarComponent } from './dialog/dialog-titlebar.component';
8
9
  import { DialogService } from './dialog/dialog.service';
9
- import { DialogContainerDirective } from './dialog/dialog-container.directive';
10
10
  import { DialogContainerService } from './dialog/dialog-container.service';
11
- import { WatermarkModule } from '@progress/kendo-angular-common';
12
- import { SharedModule, SHARED_DIRECTIVES } from './shared.module';
11
+ import { KENDO_DIALOG } from './directives';
13
12
  import * as i0 from "@angular/core";
14
- import * as i1 from "./dialog/dialog-actions.component";
15
- import * as i2 from "./localization/custom-messages.component";
16
- import * as i3 from "./localization/localized-messages.directive";
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";
17
18
  /**
18
19
  * @hidden
19
20
  */
@@ -21,6 +22,7 @@ export const DIALOG_DIRECTIVES = [
21
22
  DialogComponent,
22
23
  DialogTitleBarComponent
23
24
  ];
25
+ //IMPORTANT: NgModule export kept for backwards compatibility
24
26
  /**
25
27
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
26
28
  * definition for the Dialog component that includes all Dialog components and directives.
@@ -46,17 +48,14 @@ export const DIALOG_DIRECTIVES = [
46
48
  export class DialogModule {
47
49
  }
48
50
  DialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
49
- DialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DialogModule, declarations: [DialogComponent,
50
- DialogTitleBarComponent, DialogContainerDirective], imports: [SharedModule, WatermarkModule], exports: [DialogComponent,
51
- DialogTitleBarComponent, i1.DialogActionsComponent, i2.CustomMessagesComponent, i3.LocalizedMessagesDirective, DialogContainerDirective] });
52
- DialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogModule, providers: [DialogContainerService, DialogService], imports: [SharedModule, WatermarkModule] });
51
+ DialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DialogModule, imports: [i1.DialogComponent, i2.DialogTitleBarComponent, i3.DialogContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent], exports: [i1.DialogComponent, i2.DialogTitleBarComponent, i3.DialogContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent] });
52
+ DialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogModule, providers: [DialogContainerService, DialogService, IconsService], imports: [i1.DialogComponent, i2.DialogTitleBarComponent, i4.DialogActionsComponent] });
53
53
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogModule, decorators: [{
54
54
  type: NgModule,
55
55
  args: [{
56
- declarations: [DIALOG_DIRECTIVES, DialogContainerDirective],
57
56
  entryComponents: [DIALOG_DIRECTIVES],
58
- exports: [DIALOG_DIRECTIVES, SHARED_DIRECTIVES, DialogContainerDirective],
59
- imports: [SharedModule, WatermarkModule],
60
- providers: [DialogContainerService, DialogService]
57
+ exports: [...KENDO_DIALOG],
58
+ imports: [...KENDO_DIALOG],
59
+ providers: [DialogContainerService, DialogService, IconsService]
61
60
  }]
62
61
  }] });
@@ -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 { DialogModule } from './dialog.module';
7
- import { WindowModule } from './window.module';
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: [DialogModule, WindowModule] });
38
- DialogsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogsModule, imports: [DialogModule, WindowModule] });
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
- exports: [DialogModule, WindowModule]
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]({% slug globalization_dialogs %}#toc-localization)).
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: 1721813994,
13
- version: '16.5.0',
12
+ publishDate: 1721827582,
13
+ version: '16.6.0-develop.1',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };