@progress/kendo-angular-dialog 16.1.0 → 16.1.1-develop.2
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/esm2020/dialog/dialog.component.mjs +3 -1
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/window/window.component.mjs +5 -2
- package/fesm2015/progress-kendo-angular-dialog.mjs +8 -4
- package/fesm2020/progress-kendo-angular-dialog.mjs +8 -4
- package/package.json +6 -6
- package/schematics/ngAdd/index.js +1 -1
|
@@ -152,7 +152,9 @@ export class DialogComponent {
|
|
|
152
152
|
if (!isDocumentAvailable()) {
|
|
153
153
|
return;
|
|
154
154
|
}
|
|
155
|
-
this.
|
|
155
|
+
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
156
|
+
this.handleInitialFocus();
|
|
157
|
+
});
|
|
156
158
|
this.bubble('close', this.titlebarView.first);
|
|
157
159
|
this.bubble('action', this.actionsView);
|
|
158
160
|
if (this.titlebarView.first || this.titlebarContent.first) {
|
|
@@ -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.1.
|
|
12
|
+
publishDate: 1716799911,
|
|
13
|
+
version: '16.1.1-develop.2',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -5,8 +5,9 @@
|
|
|
5
5
|
import { Component, Input, Output, HostBinding, EventEmitter, ContentChild, ElementRef, Renderer2, ViewChildren, QueryList, HostListener, NgZone, ViewChild } from '@angular/core';
|
|
6
6
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
7
|
import { isChanged, isDocumentAvailable, shouldShowValidationUI, setHTMLAttributes } from '@progress/kendo-angular-common';
|
|
8
|
-
import { Subscription } from 'rxjs';
|
|
9
8
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
9
|
+
import { Subscription } from 'rxjs';
|
|
10
|
+
import { take } from 'rxjs/operators';
|
|
10
11
|
import { packageMetadata } from '../package-metadata';
|
|
11
12
|
import { DragResizeService } from './drag-resize.service';
|
|
12
13
|
import { OFFSET_STYLES, isPresent, isTruthy, hasClasses, WINDOW_CLASSES, parseCSSClassNames } from '../common/util';
|
|
@@ -291,7 +292,9 @@ export class WindowComponent {
|
|
|
291
292
|
return;
|
|
292
293
|
}
|
|
293
294
|
this.setNextZIndex();
|
|
294
|
-
this.
|
|
295
|
+
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
296
|
+
this.handleInitialFocus();
|
|
297
|
+
});
|
|
295
298
|
this.ngZone.runOutsideAngular(() => Promise.resolve(null).then(() => this.setInitialOffset()));
|
|
296
299
|
this.initDomEvents();
|
|
297
300
|
if (this.titleBarView || this.titleBarContent) {
|
|
@@ -614,8 +614,8 @@ const packageMetadata = {
|
|
|
614
614
|
name: '@progress/kendo-angular-dialog',
|
|
615
615
|
productName: 'Kendo UI for Angular',
|
|
616
616
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
617
|
-
publishDate:
|
|
618
|
-
version: '16.1.
|
|
617
|
+
publishDate: 1716799911,
|
|
618
|
+
version: '16.1.1-develop.2',
|
|
619
619
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
620
620
|
};
|
|
621
621
|
|
|
@@ -852,7 +852,9 @@ class DialogComponent {
|
|
|
852
852
|
if (!isDocumentAvailable()) {
|
|
853
853
|
return;
|
|
854
854
|
}
|
|
855
|
-
this.
|
|
855
|
+
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
856
|
+
this.handleInitialFocus();
|
|
857
|
+
});
|
|
856
858
|
this.bubble('close', this.titlebarView.first);
|
|
857
859
|
this.bubble('action', this.actionsView);
|
|
858
860
|
if (this.titlebarView.first || this.titlebarContent.first) {
|
|
@@ -2782,7 +2784,9 @@ class WindowComponent {
|
|
|
2782
2784
|
return;
|
|
2783
2785
|
}
|
|
2784
2786
|
this.setNextZIndex();
|
|
2785
|
-
this.
|
|
2787
|
+
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
2788
|
+
this.handleInitialFocus();
|
|
2789
|
+
});
|
|
2786
2790
|
this.ngZone.runOutsideAngular(() => Promise.resolve(null).then(() => this.setInitialOffset()));
|
|
2787
2791
|
this.initDomEvents();
|
|
2788
2792
|
if (this.titleBarView || this.titleBarContent) {
|
|
@@ -610,8 +610,8 @@ const packageMetadata = {
|
|
|
610
610
|
name: '@progress/kendo-angular-dialog',
|
|
611
611
|
productName: 'Kendo UI for Angular',
|
|
612
612
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
613
|
-
publishDate:
|
|
614
|
-
version: '16.1.
|
|
613
|
+
publishDate: 1716799911,
|
|
614
|
+
version: '16.1.1-develop.2',
|
|
615
615
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
616
616
|
};
|
|
617
617
|
|
|
@@ -848,7 +848,9 @@ class DialogComponent {
|
|
|
848
848
|
if (!isDocumentAvailable()) {
|
|
849
849
|
return;
|
|
850
850
|
}
|
|
851
|
-
this.
|
|
851
|
+
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
852
|
+
this.handleInitialFocus();
|
|
853
|
+
});
|
|
852
854
|
this.bubble('close', this.titlebarView.first);
|
|
853
855
|
this.bubble('action', this.actionsView);
|
|
854
856
|
if (this.titlebarView.first || this.titlebarContent.first) {
|
|
@@ -2766,7 +2768,9 @@ class WindowComponent {
|
|
|
2766
2768
|
return;
|
|
2767
2769
|
}
|
|
2768
2770
|
this.setNextZIndex();
|
|
2769
|
-
this.
|
|
2771
|
+
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
2772
|
+
this.handleInitialFocus();
|
|
2773
|
+
});
|
|
2770
2774
|
this.ngZone.runOutsideAngular(() => Promise.resolve(null).then(() => this.setInitialOffset()));
|
|
2771
2775
|
this.initDomEvents();
|
|
2772
2776
|
if (this.titleBarView || this.titleBarContent) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dialog",
|
|
3
|
-
"version": "16.1.
|
|
3
|
+
"version": "16.1.1-develop.2",
|
|
4
4
|
"description": "Dialog Package for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"@angular/core": "15 - 18",
|
|
28
28
|
"@angular/platform-browser": "15 - 18",
|
|
29
29
|
"@progress/kendo-licensing": "^1.0.2",
|
|
30
|
-
"@progress/kendo-angular-buttons": "16.1.
|
|
31
|
-
"@progress/kendo-angular-common": "16.1.
|
|
32
|
-
"@progress/kendo-angular-icons": "16.1.
|
|
33
|
-
"@progress/kendo-angular-l10n": "16.1.
|
|
30
|
+
"@progress/kendo-angular-buttons": "16.1.1-develop.2",
|
|
31
|
+
"@progress/kendo-angular-common": "16.1.1-develop.2",
|
|
32
|
+
"@progress/kendo-angular-icons": "16.1.1-develop.2",
|
|
33
|
+
"@progress/kendo-angular-l10n": "16.1.1-develop.2",
|
|
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": "16.1.
|
|
38
|
+
"@progress/kendo-angular-schematics": "16.1.1-develop.2",
|
|
39
39
|
"@progress/kendo-popup-common": "^1.7.0"
|
|
40
40
|
},
|
|
41
41
|
"schematics": "./schematics/collection.json",
|
|
@@ -4,7 +4,7 @@ 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': '16.1.
|
|
7
|
+
'@progress/kendo-angular-popup': '16.1.1-develop.2',
|
|
8
8
|
// Peer dependency of icons
|
|
9
9
|
'@progress/kendo-svg-icons': '^3.0.0'
|
|
10
10
|
} });
|