@progress/kendo-angular-dialog 25.3.1-develop.1 → 25.4.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.
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1791447251,
11
- "version": "25.3.1-develop.1",
10
+ "publishDate": 1791873115,
11
+ "version": "25.4.0-develop.1",
12
12
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
13
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-dialog",
3
- "version": "25.3.1-develop.1",
3
+ "version": "25.4.0-develop.1",
4
4
  "description": "Dialog Package for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -45,7 +45,7 @@
45
45
  "package": {
46
46
  "productName": "Kendo UI for Angular",
47
47
  "productCode": "KENDOUIANGULAR",
48
- "publishDate": 1791447251,
48
+ "publishDate": 1791873115,
49
49
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
50
50
  }
51
51
  },
@@ -55,28 +55,29 @@
55
55
  "@angular/core": "20 - 22",
56
56
  "@angular/platform-browser": "20 - 22",
57
57
  "@progress/kendo-licensing": "^1.11.0",
58
- "@progress/kendo-angular-buttons": "25.3.1-develop.1",
59
- "@progress/kendo-angular-common": "25.3.1-develop.1",
60
- "@progress/kendo-angular-icons": "25.3.1-develop.1",
61
- "@progress/kendo-angular-l10n": "25.3.1-develop.1",
58
+ "@progress/kendo-angular-buttons": "25.4.0-develop.1",
59
+ "@progress/kendo-angular-common": "25.4.0-develop.1",
60
+ "@progress/kendo-angular-icons": "25.4.0-develop.1",
61
+ "@progress/kendo-angular-l10n": "25.4.0-develop.1",
62
62
  "rxjs": "^6.5.3 || ^7.0.0"
63
63
  },
64
64
  "dependencies": {
65
65
  "tslib": "^2.3.1",
66
- "@progress/kendo-angular-schematics": "25.3.1-develop.1",
66
+ "@progress/kendo-angular-schematics": "25.4.0-develop.1",
67
67
  "@progress/kendo-popup-common": "1.9.5"
68
68
  },
69
69
  "schematics": "./schematics/collection.json",
70
70
  "module": "fesm2022/progress-kendo-angular-dialog.mjs",
71
- "typings": "index.d.ts",
71
+ "typings": "types/progress-kendo-angular-dialog.d.ts",
72
72
  "exports": {
73
73
  "./package.json": {
74
74
  "default": "./package.json"
75
75
  },
76
76
  ".": {
77
- "types": "./index.d.ts",
77
+ "types": "./types/progress-kendo-angular-dialog.d.ts",
78
78
  "default": "./fesm2022/progress-kendo-angular-dialog.mjs"
79
79
  }
80
80
  },
81
- "sideEffects": false
81
+ "sideEffects": false,
82
+ "type": "module"
82
83
  }
@@ -9,7 +9,7 @@ const schematics_1 = require("@angular-devkit/schematics");
9
9
  function default_1(options) {
10
10
  const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'DialogsModule', package: 'dialog', peerDependencies: {
11
11
  // Peer dependency of buttons
12
- '@progress/kendo-angular-popup': '25.3.1-develop.1',
12
+ '@progress/kendo-angular-popup': '25.4.0-develop.1',
13
13
  // Peer dependency of icons
14
14
  '@progress/kendo-svg-icons': '^4.0.0'
15
15
  } });
@@ -3,7 +3,7 @@
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 { ElementRef, TemplateRef, EventEmitter, AfterViewInit, NgZone, AfterContentInit, OnInit, OnDestroy, QueryList, Renderer2, ChangeDetectorRef, ComponentRef, ViewContainerRef, OnChanges, SimpleChange } from '@angular/core';
6
+ import { ElementRef, TemplateRef, EventEmitter, Injector, AfterContentInit, AfterViewInit, OnInit, OnDestroy, QueryList, Renderer2, ChangeDetectorRef, NgZone, ComponentRef, ViewContainerRef, OnChanges, SimpleChange } from '@angular/core';
7
7
  import { AnimationBuilder } from '@angular/animations';
8
8
  import { ButtonThemeColor, ButtonFillMode, Button } from '@progress/kendo-angular-buttons';
9
9
  import { SVGIcon } from '@progress/kendo-svg-icons';
@@ -88,16 +88,17 @@ declare class DialogActionsComponent {
88
88
  /**
89
89
  * @hidden
90
90
  */
91
- actionsArray: DialogAction[];
91
+ get actionsArray(): DialogAction[];
92
92
  /**
93
93
  * @hidden
94
94
  */
95
- actionsTemplate: TemplateRef<any>;
95
+ get actionsTemplate(): TemplateRef<any>;
96
96
  /**
97
97
  * Sets the possible layout of the action buttons.
98
98
  * @default 'stretched'
99
99
  */
100
- layout: ActionsLayout;
100
+ set layout(value: ActionsLayout);
101
+ get layout(): ActionsLayout;
101
102
  /**
102
103
  * Fires when the user clicks an action button.
103
104
  */
@@ -107,6 +108,8 @@ declare class DialogActionsComponent {
107
108
  get centerClassName(): boolean;
108
109
  get endClassName(): boolean;
109
110
  get stretchedClassName(): boolean;
111
+ private _actionsValue;
112
+ private _layout;
110
113
  constructor(el: ElementRef);
111
114
  /**
112
115
  * @hidden
@@ -157,9 +160,9 @@ declare class PreventableEvent {
157
160
  * ```
158
161
  *
159
162
  */
160
- declare class DialogTitleBarComponent implements AfterViewInit {
161
- private zone;
163
+ declare class DialogTitleBarComponent {
162
164
  private hostElement;
165
+ private injector;
163
166
  private localizationService;
164
167
  /**
165
168
  * Fires when the close button in the title bar is clicked.
@@ -168,21 +171,27 @@ declare class DialogTitleBarComponent implements AfterViewInit {
168
171
  /**
169
172
  * @hidden
170
173
  */
171
- id: string;
174
+ set id(value: string);
175
+ get id(): string;
172
176
  /**
173
177
  * @hidden
174
178
  */
175
- closeTitle: string;
179
+ set closeTitle(value: string);
180
+ get closeTitle(): string;
176
181
  /**
177
182
  * @hidden
178
183
  */
179
- closable: boolean;
184
+ set closable(value: boolean);
185
+ get closable(): boolean;
180
186
  get className(): true;
181
187
  /**
182
188
  * @hidden
183
189
  */
184
190
  xIcon: SVGIcon;
185
- constructor(zone: NgZone, hostElement: ElementRef, localizationService: LocalizationService);
191
+ private _id;
192
+ private _closeTitle;
193
+ private _closable;
194
+ constructor(hostElement: ElementRef, injector: Injector, localizationService: LocalizationService);
186
195
  get closeButtonTitle(): string;
187
196
  ngAfterViewInit(): void;
188
197
  /**
@@ -259,19 +268,22 @@ declare class DialogComponent implements AfterContentInit, AfterViewInit, OnInit
259
268
  private cdr;
260
269
  private ngZone;
261
270
  private builder;
271
+ private injector;
262
272
  /**
263
273
  * Specifies the action buttons to render in the Dialog.
264
274
  *
265
275
  * @type {DialogAction[]}
266
276
  */
267
- actions: DialogAction[];
277
+ set actions(value: DialogAction[]);
278
+ get actions(): DialogAction[];
268
279
  /**
269
280
  * Sets the layout of the action buttons in the Dialog. Applies only if you specify action buttons through the `actions` option.
270
281
  *
271
282
  * @type {ActionsLayout}
272
283
  * @default 'stretched'
273
284
  */
274
- actionsLayout: ActionsLayout;
285
+ set actionsLayout(value: ActionsLayout);
286
+ get actionsLayout(): ActionsLayout;
275
287
  /**
276
288
  * Sets the query selector for the element to receive initial focus. ([See examples.](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/initial-focus))
277
289
  *
@@ -280,7 +292,8 @@ declare class DialogComponent implements AfterContentInit, AfterViewInit, OnInit
280
292
  * @remarks
281
293
  * This property is related to accessibility.
282
294
  */
283
- autoFocusedElement: string;
295
+ set autoFocusedElement(value: string);
296
+ get autoFocusedElement(): string;
284
297
  /**
285
298
  * Specifies whether the Dialog can be closed by the **Close** button in the title bar or by pressing the `Esc` key.
286
299
  *
@@ -294,43 +307,50 @@ declare class DialogComponent implements AfterContentInit, AfterViewInit, OnInit
294
307
  *
295
308
  * @type {string}
296
309
  */
297
- title: string;
310
+ set title(value: string);
311
+ get title(): string;
298
312
  /**
299
313
  * Sets the width of the Dialog. Use a number for pixels or a string for units (for example, `50%`).
300
314
  *
301
315
  * @type {number | string}
302
316
  */
303
- width: number | string;
317
+ set width(value: number | string);
318
+ get width(): number | string;
304
319
  /**
305
320
  * Sets the minimum width of the Dialog. Use a number for pixels or a string for units (for example, `50%`).
306
321
  *
307
322
  * @type {number | string}
308
323
  */
309
- minWidth: number | string;
324
+ set minWidth(value: number | string);
325
+ get minWidth(): number | string;
310
326
  /**
311
327
  * Sets the maximum width of the Dialog. Use a number for pixels or a string for units (for example, `50%`).
312
328
  *
313
329
  * @type {number | string}
314
330
  */
315
- maxWidth: number | string;
331
+ set maxWidth(value: number | string);
332
+ get maxWidth(): number | string;
316
333
  /**
317
334
  * Sets the height of the Dialog. Use a number for pixels or a string for units (for example, `50%`).
318
335
  *
319
336
  * @type {number | string}
320
337
  */
321
- height: number | string;
338
+ set height(value: number | string);
339
+ get height(): number | string;
322
340
  /**
323
341
  * Sets the minimum height of the Dialog. Use a number for pixels or a string for units (for example, `50%`).
324
342
  *
325
343
  * @type {number | string}
326
344
  */
327
- minHeight: number | string;
345
+ set minHeight(value: number | string);
346
+ get minHeight(): number | string;
328
347
  /**
329
348
  * Sets the maximum height of the Dialog. Use a number for pixels or a string for units (for example, `50%`).
330
349
  *
331
350
  * @type {number | string}
332
351
  */
333
- maxHeight: number | string;
352
+ set maxHeight(value: number | string);
353
+ get maxHeight(): number | string;
334
354
  /**
335
355
  * Configures the Dialog opening animation ([see example](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/animations)).
336
356
  * The default animation type is `translate` and the duration is `300ms`.
@@ -338,7 +358,8 @@ declare class DialogComponent implements AfterContentInit, AfterViewInit, OnInit
338
358
  * @type {boolean | DialogAnimation}
339
359
  * @default true
340
360
  */
341
- animation: boolean | DialogAnimation;
361
+ set animation(value: boolean | DialogAnimation);
362
+ get animation(): boolean | DialogAnimation;
342
363
  /**
343
364
  * @hidden
344
365
  */
@@ -397,11 +418,22 @@ declare class DialogComponent implements AfterContentInit, AfterViewInit, OnInit
397
418
  dialog: ElementRef;
398
419
  private _htmlAttributes;
399
420
  private _cssClass;
421
+ private _actions;
422
+ private _actionsLayout;
423
+ private _autoFocusedElement;
400
424
  private _closable;
401
- private direction;
425
+ private _title;
426
+ private _width;
427
+ private _minWidth;
428
+ private _maxWidth;
429
+ private _height;
430
+ private _minHeight;
431
+ private _maxHeight;
432
+ private _animation;
433
+ private _direction;
402
434
  private subscriptions;
403
435
  private domSubs;
404
- constructor(wrapper: ElementRef, renderer: Renderer2, localization: LocalizationService, cdr: ChangeDetectorRef, ngZone: NgZone, builder: AnimationBuilder);
436
+ constructor(wrapper: ElementRef, renderer: Renderer2, localization: LocalizationService, cdr: ChangeDetectorRef, ngZone: NgZone, builder: AnimationBuilder, injector: Injector);
405
437
  ngAfterContentInit(): void;
406
438
  ngAfterViewInit(): void;
407
439
  ngOnInit(): void;
@@ -741,6 +773,8 @@ interface WindowOptions {
741
773
  */
742
774
  declare class DragResizeService implements OnDestroy {
743
775
  private ngZone;
776
+ private injector;
777
+ private cdr;
744
778
  close: EventEmitter<any>;
745
779
  focus: EventEmitter<any>;
746
780
  change: EventEmitter<ChangeEvent>;
@@ -749,13 +783,13 @@ declare class DragResizeService implements OnDestroy {
749
783
  dragEnd: EventEmitter<any>;
750
784
  resizeStart: EventEmitter<string>;
751
785
  resizeEnd: EventEmitter<any>;
752
- options: WindowOptions;
786
+ options: i0.WritableSignal<WindowOptions>;
753
787
  restoreOptions: WindowOptions;
754
788
  window: ElementRef;
755
- lastAction: string;
789
+ lastAction: i0.WritableSignal<string>;
756
790
  subscriptions: Subscription;
757
791
  dragSubscription: Subscription;
758
- constructor(ngZone: NgZone);
792
+ constructor(ngZone: NgZone, injector: Injector, cdr: ChangeDetectorRef);
759
793
  ngOnDestroy(): void;
760
794
  init(el: ElementRef): void;
761
795
  onDrag(el: DraggableDirective): void;
@@ -820,22 +854,27 @@ declare class ResizeHandleDirective implements OnInit, OnDestroy {
820
854
  declare class WindowTitleBarComponent implements OnInit, AfterViewInit, OnDestroy {
821
855
  el: ElementRef;
822
856
  private ngZone;
857
+ private injector;
823
858
  /**
824
859
  * @hidden
825
860
  */
826
- template: TemplateRef<any>;
861
+ set template(value: TemplateRef<any>);
862
+ get template(): TemplateRef<any>;
827
863
  /**
828
864
  * @hidden
829
865
  */
830
- id: string;
866
+ set id(value: string);
867
+ get id(): string;
831
868
  /**
832
869
  * @hidden
833
870
  */
834
871
  service: DragResizeService;
872
+ private _template;
873
+ private _id;
835
874
  private dragDirective;
836
875
  private dragSubscription;
837
876
  private stateSubscription;
838
- constructor(el: ElementRef, service: DragResizeService, ngZone: NgZone);
877
+ constructor(el: ElementRef, service: DragResizeService, ngZone: NgZone, injector: Injector);
839
878
  ngOnInit(): void;
840
879
  ngAfterViewInit(): void;
841
880
  ngOnDestroy(): void;
@@ -925,17 +964,20 @@ declare class WindowComponent implements OnInit, OnDestroy, OnChanges, AfterView
925
964
  private navigation;
926
965
  private ngZone;
927
966
  private localization;
967
+ private injector;
928
968
  /**
929
969
  * Specifies the query selector used to set the initial focus ([see examples](https://www.telerik.com/kendo-angular-ui/components/dialogs/window/initial-focus)).
930
970
  *
931
971
  * @remarks
932
972
  * This property is related to accessibility.
933
973
  */
934
- autoFocusedElement: string;
974
+ set autoFocusedElement(value: string);
975
+ get autoFocusedElement(): string;
935
976
  /**
936
977
  * Sets the text in the title bar.
937
978
  */
938
- title: string;
979
+ set title(value: string);
980
+ get title(): string;
939
981
  /**
940
982
  * Specifies if the user can drag the component.
941
983
  * @default true
@@ -966,7 +1008,8 @@ declare class WindowComponent implements OnInit, OnDestroy, OnChanges, AfterView
966
1008
  * Specifies if the content stays in the DOM when minimized.
967
1009
  * @default false
968
1010
  */
969
- keepContent: boolean;
1011
+ set keepContent(value: boolean);
1012
+ get keepContent(): boolean;
970
1013
  /**
971
1014
  * Sets the initial state of the Window.
972
1015
  */
@@ -1082,14 +1125,26 @@ declare class WindowComponent implements OnInit, OnDestroy, OnChanges, AfterView
1082
1125
  titleId: string;
1083
1126
  private _htmlAttributes;
1084
1127
  private _cssClass;
1085
- private direction;
1086
- private draged;
1128
+ private _autoFocusedElement;
1129
+ private _title;
1130
+ private _draggable;
1131
+ private _resizable;
1132
+ private _keepContent;
1133
+ private _state;
1134
+ private _minWidth;
1135
+ private _minHeight;
1136
+ private _width;
1137
+ private _height;
1138
+ private _top;
1139
+ private _left;
1140
+ private _direction;
1141
+ private dragged;
1087
1142
  private resized;
1088
1143
  private windowSubscription;
1089
1144
  private domSubs;
1090
1145
  private localizationChangeSubscription;
1091
1146
  private stateAppliedByAction;
1092
- constructor(el: ElementRef, renderer: Renderer2, service: DragResizeService, navigation: NavigationService, ngZone: NgZone, localization: LocalizationService);
1147
+ constructor(el: ElementRef, renderer: Renderer2, service: DragResizeService, navigation: NavigationService, ngZone: NgZone, localization: LocalizationService, injector: Injector);
1093
1148
  ngAfterViewInit(): void;
1094
1149
  ngOnInit(): void;
1095
1150
  ngOnChanges(changes: {
@@ -1252,11 +1307,13 @@ declare class WindowRestoreActionDirective extends Button {
1252
1307
  /**
1253
1308
  * @hidden
1254
1309
  */
1255
- window: any;
1310
+ set window(value: any);
1311
+ get window(): any;
1256
1312
  /**
1257
1313
  * @hidden
1258
1314
  */
1259
1315
  windowRestoreIcon: SVGIcon;
1316
+ private _window;
1260
1317
  buttonType: string;
1261
1318
  buttonClass: boolean;
1262
1319
  constructor(el: ElementRef, renderer: Renderer2, _service: DragResizeService, localization: LocalizationService, ngZone: NgZone);
@@ -1453,19 +1510,27 @@ declare class Messages extends ComponentMessages {
1453
1510
  /**
1454
1511
  * Sets the title for the **Close** button.
1455
1512
  */
1456
- closeTitle: string;
1513
+ set closeTitle(value: string);
1514
+ get closeTitle(): string;
1457
1515
  /**
1458
1516
  * Sets the title for the **Restore** button.
1459
1517
  */
1460
- restoreTitle: string;
1518
+ set restoreTitle(value: string);
1519
+ get restoreTitle(): string;
1461
1520
  /**
1462
1521
  * Sets the title for the **Maximize** button.
1463
1522
  */
1464
- maximizeTitle: string;
1523
+ set maximizeTitle(value: string);
1524
+ get maximizeTitle(): string;
1465
1525
  /**
1466
1526
  * Sets the title for the **Minimize** button.
1467
1527
  */
1468
- minimizeTitle: string;
1528
+ set minimizeTitle(value: string);
1529
+ get minimizeTitle(): string;
1530
+ private _minimizeTitle;
1531
+ private _maximizeTitle;
1532
+ private _restoreTitle;
1533
+ private _closeTitle;
1469
1534
  static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
1470
1535
  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, true, never>;
1471
1536
  }