@progress/kendo-angular-dialog 17.0.0-develop.8 → 17.0.0

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 (87) hide show
  1. package/README.md +38 -21
  2. package/common/actions-layout.d.ts +1 -1
  3. package/common/animation-types.d.ts +1 -1
  4. package/common/dialog-animation-direction.d.ts +1 -1
  5. package/dialog/dialog-actions.component.d.ts +1 -1
  6. package/dialog/dialog-titlebar.component.d.ts +1 -1
  7. package/dialog/dialog.component.d.ts +1 -1
  8. package/dialog/models/dialog-action-divider.d.ts +1 -1
  9. package/dialog/models/dialog-result.d.ts +1 -1
  10. package/dialog/models/theme-color.d.ts +1 -1
  11. package/dialog.module.d.ts +0 -4
  12. package/{esm2020 → esm2022}/common/preventable-event.mjs +2 -3
  13. package/{esm2020 → esm2022}/dialog/dialog-actions.component.mjs +26 -17
  14. package/{esm2020 → esm2022}/dialog/dialog-container.directive.mjs +3 -3
  15. package/{esm2020 → esm2022}/dialog/dialog-container.service.mjs +4 -4
  16. package/{esm2020 → esm2022}/dialog/dialog-content-base.mjs +12 -3
  17. package/{esm2020 → esm2022}/dialog/dialog-titlebar.component.mjs +36 -25
  18. package/{esm2020 → esm2022}/dialog/dialog.component.mjs +139 -71
  19. package/{esm2020 → esm2022}/dialog/dialog.service.mjs +7 -3
  20. package/esm2022/dialog/models/dialog-action.mjs +27 -0
  21. package/esm2022/dialog/models/dialog-ref.mjs +34 -0
  22. package/esm2022/dialog/models/dialog-settings.mjs +106 -0
  23. package/{esm2020 → esm2022}/dialog.module.mjs +4 -13
  24. package/{esm2020 → esm2022}/dialogs.module.mjs +4 -4
  25. package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
  26. package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +9 -8
  27. package/{esm2020 → esm2022}/localization/messages.mjs +19 -3
  28. package/{esm2020 → esm2022}/localization/titlebar-localization.service.mjs +4 -3
  29. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  30. package/{esm2020 → esm2022}/window/actions/window-close-action.directive.mjs +20 -16
  31. package/{esm2020 → esm2022}/window/actions/window-maximize-action.directive.mjs +20 -16
  32. package/{esm2020 → esm2022}/window/actions/window-minimize-action.directive.mjs +20 -16
  33. package/{esm2020 → esm2022}/window/actions/window-restore-action.directive.mjs +20 -16
  34. package/{esm2020 → esm2022}/window/drag-resize.service.mjs +18 -15
  35. package/esm2022/window/models/window-ref.mjs +36 -0
  36. package/esm2022/window/models/window-settings.mjs +101 -0
  37. package/{esm2020 → esm2022}/window/navigation.service.mjs +5 -3
  38. package/{esm2020 → esm2022}/window/window-container.directive.mjs +3 -3
  39. package/{esm2020 → esm2022}/window/window-container.service.mjs +4 -4
  40. package/{esm2020 → esm2022}/window/window-resize-handle.directive.mjs +12 -7
  41. package/{esm2020 → esm2022}/window/window-titlebar.component.mjs +21 -4
  42. package/{esm2020 → esm2022}/window/window.component.mjs +128 -98
  43. package/{esm2020 → esm2022}/window/window.service.mjs +7 -3
  44. package/{esm2020 → esm2022}/window.module.mjs +4 -10
  45. package/{fesm2020 → fesm2022}/progress-kendo-angular-dialog.mjs +816 -379
  46. package/localization/messages.d.ts +1 -1
  47. package/package.json +14 -20
  48. package/schematics/ngAdd/index.js +2 -2
  49. package/window/actions/window-close-action.directive.d.ts +1 -1
  50. package/window/actions/window-maximize-action.directive.d.ts +1 -1
  51. package/window/actions/window-minimize-action.directive.d.ts +1 -1
  52. package/window/actions/window-restore-action.directive.d.ts +1 -1
  53. package/window/models/theme-color.d.ts +1 -1
  54. package/window/models/window-types.d.ts +4 -4
  55. package/window/window-resize-handle.directive.d.ts +1 -1
  56. package/window/window-titlebar.component.d.ts +1 -1
  57. package/window/window.component.d.ts +1 -1
  58. package/esm2020/dialog/models/dialog-action.mjs +0 -10
  59. package/esm2020/dialog/models/dialog-ref.mjs +0 -11
  60. package/esm2020/dialog/models/dialog-settings.mjs +0 -10
  61. package/esm2020/window/models/window-ref.mjs +0 -11
  62. package/esm2020/window/models/window-settings.mjs +0 -10
  63. package/fesm2015/progress-kendo-angular-dialog.mjs +0 -3807
  64. /package/{esm2020 → esm2022}/common/actions-layout.mjs +0 -0
  65. /package/{esm2020 → esm2022}/common/animation-types.mjs +0 -0
  66. /package/{esm2020 → esm2022}/common/dialog-animation-direction.mjs +0 -0
  67. /package/{esm2020 → esm2022}/common/util.mjs +0 -0
  68. /package/{esm2020 → esm2022}/dialog/dialog-animations/animate-content.mjs +0 -0
  69. /package/{esm2020 → esm2022}/dialog/dialog-animations/animations.mjs +0 -0
  70. /package/{esm2020 → esm2022}/dialog/dialog-animations/create-animation-player.mjs +0 -0
  71. /package/{esm2020 → esm2022}/dialog/models/dialog-action-divider.mjs +0 -0
  72. /package/{esm2020 → esm2022}/dialog/models/dialog-animation.mjs +0 -0
  73. /package/{esm2020 → esm2022}/dialog/models/dialog-close-result.mjs +0 -0
  74. /package/{esm2020 → esm2022}/dialog/models/dialog-result.mjs +0 -0
  75. /package/{esm2020 → esm2022}/dialog/models/index.mjs +0 -0
  76. /package/{esm2020 → esm2022}/dialog/models/theme-color.mjs +0 -0
  77. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  78. /package/{esm2020 → esm2022}/index.mjs +0 -0
  79. /package/{esm2020 → esm2022}/localization/dialog-localization.service.mjs +0 -0
  80. /package/{esm2020 → esm2022}/progress-kendo-angular-dialog.mjs +0 -0
  81. /package/{esm2020 → esm2022}/window/models/index.mjs +0 -0
  82. /package/{esm2020 → esm2022}/window/models/theme-color.mjs +0 -0
  83. /package/{esm2020 → esm2022}/window/models/window-close-result.mjs +0 -0
  84. /package/{esm2020 → esm2022}/window/models/window-messages.mjs +0 -0
  85. /package/{esm2020 → esm2022}/window/models/window-options.mjs +0 -0
  86. /package/{esm2020 → esm2022}/window/models/window-types.mjs +0 -0
  87. /package/{esm2020 → esm2022}/window/window-events.mjs +0 -0
@@ -25,5 +25,5 @@ export declare class Messages extends ComponentMessages {
25
25
  */
26
26
  minimizeTitle: string;
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
28
- static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, "kendo-dialog-messages-base", never, { "closeTitle": "closeTitle"; "restoreTitle": "restoreTitle"; "maximizeTitle": "maximizeTitle"; "minimizeTitle": "minimizeTitle"; }, {}, never, never, false, never>;
28
+ static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, "kendo-dialog-messages-base", never, { "closeTitle": { "alias": "closeTitle"; "required": false; }; "restoreTitle": { "alias": "restoreTitle"; "required": false; }; "maximizeTitle": { "alias": "maximizeTitle"; "required": false; }; "minimizeTitle": { "alias": "minimizeTitle"; "required": false; }; }, {}, never, never, false, never>;
29
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-dialog",
3
- "version": "17.0.0-develop.8",
3
+ "version": "17.0.0",
4
4
  "description": "Dialog Package for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -22,28 +22,24 @@
22
22
  "friendlyName": "Dialogs"
23
23
  },
24
24
  "peerDependencies": {
25
- "@angular/animations": "15 - 18",
26
- "@angular/common": "15 - 18",
27
- "@angular/core": "15 - 18",
28
- "@angular/platform-browser": "15 - 18",
25
+ "@angular/animations": "16 - 18",
26
+ "@angular/common": "16 - 18",
27
+ "@angular/core": "16 - 18",
28
+ "@angular/platform-browser": "16 - 18",
29
29
  "@progress/kendo-licensing": "^1.0.2",
30
- "@progress/kendo-angular-buttons": "17.0.0-develop.8",
31
- "@progress/kendo-angular-common": "17.0.0-develop.8",
32
- "@progress/kendo-angular-icons": "17.0.0-develop.8",
33
- "@progress/kendo-angular-l10n": "17.0.0-develop.8",
30
+ "@progress/kendo-angular-buttons": "17.0.0",
31
+ "@progress/kendo-angular-common": "17.0.0",
32
+ "@progress/kendo-angular-icons": "17.0.0",
33
+ "@progress/kendo-angular-l10n": "17.0.0",
34
34
  "rxjs": "^6.5.3 || ^7.0.0"
35
35
  },
36
36
  "dependencies": {
37
37
  "tslib": "^2.3.1",
38
- "@progress/kendo-angular-schematics": "17.0.0-develop.8",
38
+ "@progress/kendo-angular-schematics": "17.0.0",
39
39
  "@progress/kendo-popup-common": "^1.7.0"
40
40
  },
41
41
  "schematics": "./schematics/collection.json",
42
- "module": "fesm2015/progress-kendo-angular-dialog.mjs",
43
- "es2020": "fesm2020/progress-kendo-angular-dialog.mjs",
44
- "esm2020": "esm2020/progress-kendo-angular-dialog.mjs",
45
- "fesm2020": "fesm2020/progress-kendo-angular-dialog.mjs",
46
- "fesm2015": "fesm2015/progress-kendo-angular-dialog.mjs",
42
+ "module": "fesm2022/progress-kendo-angular-dialog.mjs",
47
43
  "typings": "index.d.ts",
48
44
  "exports": {
49
45
  "./package.json": {
@@ -51,11 +47,9 @@
51
47
  },
52
48
  ".": {
53
49
  "types": "./index.d.ts",
54
- "esm2020": "./esm2020/progress-kendo-angular-dialog.mjs",
55
- "es2020": "./fesm2020/progress-kendo-angular-dialog.mjs",
56
- "es2015": "./fesm2015/progress-kendo-angular-dialog.mjs",
57
- "node": "./fesm2015/progress-kendo-angular-dialog.mjs",
58
- "default": "./fesm2020/progress-kendo-angular-dialog.mjs"
50
+ "esm2022": "./esm2022/progress-kendo-angular-dialog.mjs",
51
+ "esm": "./esm2022/progress-kendo-angular-dialog.mjs",
52
+ "default": "./fesm2022/progress-kendo-angular-dialog.mjs"
59
53
  }
60
54
  },
61
55
  "sideEffects": false
@@ -4,9 +4,9 @@ const schematics_1 = require("@angular-devkit/schematics");
4
4
  function default_1(options) {
5
5
  const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'DialogsModule', package: 'dialog', peerDependencies: {
6
6
  // Peer dependency of buttons
7
- '@progress/kendo-angular-popup': '17.0.0-develop.8',
7
+ '@progress/kendo-angular-popup': '17.0.0',
8
8
  // Peer dependency of icons
9
- '@progress/kendo-svg-icons': '^3.0.0'
9
+ '@progress/kendo-svg-icons': '^4.0.0'
10
10
  } });
11
11
  return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
12
12
  }
@@ -25,5 +25,5 @@ export declare class WindowCloseActionDirective extends Button {
25
25
  */
26
26
  onClick(): void;
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<WindowCloseActionDirective, [null, null, { optional: true; }, null, null]>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<WindowCloseActionDirective, "button[kendoWindowCloseAction]", ["kendoWindowCloseAction"], { "window": "window"; }, {}, never, ["*"], true, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<WindowCloseActionDirective, "button[kendoWindowCloseAction]", ["kendoWindowCloseAction"], { "window": { "alias": "window"; "required": false; }; }, {}, never, ["*"], true, never>;
29
29
  }
@@ -26,5 +26,5 @@ export declare class WindowMaximizeActionDirective extends Button {
26
26
  onClick(): void;
27
27
  get visible(): string;
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<WindowMaximizeActionDirective, [null, null, { optional: true; }, null, null]>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<WindowMaximizeActionDirective, "button[kendoWindowMaximizeAction]", ["kendoWindowMaximizeAction"], { "window": "window"; }, {}, never, ["*"], true, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<WindowMaximizeActionDirective, "button[kendoWindowMaximizeAction]", ["kendoWindowMaximizeAction"], { "window": { "alias": "window"; "required": false; }; }, {}, never, ["*"], true, never>;
30
30
  }
@@ -26,5 +26,5 @@ export declare class WindowMinimizeActionDirective extends Button {
26
26
  onClick(): void;
27
27
  get visible(): string;
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<WindowMinimizeActionDirective, [null, null, { optional: true; }, null, null]>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<WindowMinimizeActionDirective, "button[kendoWindowMinimizeAction]", ["kendoWindowMinimizeAction"], { "window": "window"; }, {}, never, ["*"], true, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<WindowMinimizeActionDirective, "button[kendoWindowMinimizeAction]", ["kendoWindowMinimizeAction"], { "window": { "alias": "window"; "required": false; }; }, {}, never, ["*"], true, never>;
30
30
  }
@@ -26,5 +26,5 @@ export declare class WindowRestoreActionDirective extends Button {
26
26
  onClick(): void;
27
27
  get visible(): string;
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<WindowRestoreActionDirective, [null, null, { optional: true; }, null, null]>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<WindowRestoreActionDirective, "button[kendoWindowRestoreAction]", ["kendoWindowRestoreAction"], { "window": "window"; }, {}, never, ["*"], true, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<WindowRestoreActionDirective, "button[kendoWindowRestoreAction]", ["kendoWindowRestoreAction"], { "window": { "alias": "window"; "required": false; }; }, {}, never, ["*"], true, never>;
30
30
  }
@@ -10,4 +10,4 @@
10
10
  * * `light`&mdash; Applies coloring based on the `light` theme color.
11
11
  * * `dark`&mdash; Applies coloring based on the `dark` theme color.
12
12
  */
13
- export declare type WindowThemeColor = 'primary' | 'light' | 'dark';
13
+ export type WindowThemeColor = 'primary' | 'light' | 'dark';
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @hidden
7
7
  */
8
- export declare type WindowPosition = 'absolute' | 'fixed';
9
- export declare type WindowState = 'minimized' | 'maximized' | 'default';
10
- export declare type WindowDimensionSetting = 'width' | 'height';
11
- export declare type WindowOffsetSetting = 'top' | 'left';
8
+ export type WindowPosition = 'absolute' | 'fixed';
9
+ export type WindowState = 'minimized' | 'maximized' | 'default';
10
+ export type WindowDimensionSetting = 'width' | 'height';
11
+ export type WindowOffsetSetting = 'top' | 'left';
@@ -22,5 +22,5 @@ export declare class ResizeHandleDirective implements OnInit, OnDestroy {
22
22
  ngOnDestroy(): void;
23
23
  private setDisplay;
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<ResizeHandleDirective, [{ host: true; }, null, null, null]>;
25
- static ɵdir: i0.ɵɵDirectiveDeclaration<ResizeHandleDirective, "[kendoWindowResizeHandle]", never, { "direction": "direction"; }, {}, never, never, true, never>;
25
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ResizeHandleDirective, "[kendoWindowResizeHandle]", never, { "direction": { "alias": "direction"; "required": false; }; }, {}, never, never, true, never>;
26
26
  }
@@ -51,5 +51,5 @@ export declare class WindowTitleBarComponent implements OnInit, AfterViewInit, O
51
51
  handle(ev: any): void;
52
52
  protected get isDraggable(): boolean;
53
53
  static ɵfac: i0.ɵɵFactoryDeclaration<WindowTitleBarComponent, never>;
54
- static ɵcmp: i0.ɵɵComponentDeclaration<WindowTitleBarComponent, "kendo-window-titlebar", never, { "template": "template"; "id": "id"; }, {}, never, ["*"], true, never>;
54
+ static ɵcmp: i0.ɵɵComponentDeclaration<WindowTitleBarComponent, "kendo-window-titlebar", never, { "template": { "alias": "template"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, never, ["*"], true, never>;
55
55
  }
@@ -274,5 +274,5 @@ export declare class WindowComponent implements OnInit, OnDestroy, OnChanges, Af
274
274
  private generateTitleId;
275
275
  private handleThemeColorClass;
276
276
  static ɵfac: i0.ɵɵFactoryDeclaration<WindowComponent, never>;
277
- static ɵcmp: i0.ɵɵComponentDeclaration<WindowComponent, "kendo-window", ["kendoWindow"], { "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"; }, { "dragStart": "dragStart"; "dragEnd": "dragEnd"; "resizeStart": "resizeStart"; "resizeEnd": "resizeEnd"; "close": "close"; "widthChange": "widthChange"; "heightChange": "heightChange"; "topChange": "topChange"; "leftChange": "leftChange"; "stateChange": "stateChange"; }, ["titleBarContent"], ["kendo-window-titlebar", "*"], true, never>;
277
+ static ɵcmp: i0.ɵɵComponentDeclaration<WindowComponent, "kendo-window", ["kendoWindow"], { "autoFocusedElement": { "alias": "autoFocusedElement"; "required": false; }; "title": { "alias": "title"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; "keepContent": { "alias": "keepContent"; "required": false; }; "state": { "alias": "state"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "top": { "alias": "top"; "required": false; }; "left": { "alias": "left"; "required": false; }; }, { "dragStart": "dragStart"; "dragEnd": "dragEnd"; "resizeStart": "resizeStart"; "resizeEnd": "resizeEnd"; "close": "close"; "widthChange": "widthChange"; "heightChange": "heightChange"; "topChange": "topChange"; "leftChange": "leftChange"; "stateChange": "stateChange"; }, ["titleBarContent"], ["kendo-window-titlebar", "*"], true, never>;
278
278
  }
@@ -1,10 +0,0 @@
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
- /**
6
- * The settings for the Dialog actions when the Dialog is opened through `DialogService`
7
- * ([see example]({% slug api_dialog_dialogservice %}#toc-open)).
8
- */
9
- export class DialogAction {
10
- }
@@ -1,11 +0,0 @@
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
- /**
6
- * Holds references to the object instance and published events of the Dialog.
7
- * Controls the Dialogs that were opened through the `DialogService`
8
- * ([see example]({% slug api_dialog_dialogservice %}#toc-open)).
9
- */
10
- export class DialogRef {
11
- }
@@ -1,10 +0,0 @@
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
- /**
6
- * The settings that can be used when the Dialog is opened through `DialogService`.
7
- * ([see example]({% slug api_dialog_dialogservice %}#toc-open)).
8
- */
9
- export class DialogSettings {
10
- }
@@ -1,11 +0,0 @@
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
- /**
6
- * Holds references to the object instance of the Window.
7
- * Controls the Windows that were opened through `WindowService`
8
- * ([see example]({% slug api_dialog_windowservice %}#toc-open)).
9
- */
10
- export class WindowRef {
11
- }
@@ -1,10 +0,0 @@
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
- /**
6
- * The settings for the Window actions when the Window is opened through `WindowService`
7
- * ([see example]({% slug api_dialog_windowservice %}#toc-open)).
8
- */
9
- export class WindowSettings {
10
- }