@progress/kendo-angular-dialog 24.0.3 → 24.0.4-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.
|
@@ -386,9 +386,12 @@ class DialogTitleBarComponent {
|
|
|
386
386
|
return this.closeTitle || this.localizationService.get('closeTitle');
|
|
387
387
|
}
|
|
388
388
|
ngAfterViewInit() {
|
|
389
|
+
if (!this.id) {
|
|
390
|
+
return;
|
|
391
|
+
}
|
|
389
392
|
this.zone.onStable.pipe(take(1)).subscribe(() => {
|
|
390
393
|
const element = this.hostElement.nativeElement.querySelector('.k-dialog-title');
|
|
391
|
-
element
|
|
394
|
+
element?.setAttribute('id', this.id);
|
|
392
395
|
});
|
|
393
396
|
}
|
|
394
397
|
/**
|
|
@@ -513,8 +516,8 @@ const packageMetadata = {
|
|
|
513
516
|
productName: 'Kendo UI for Angular',
|
|
514
517
|
productCode: 'KENDOUIANGULAR',
|
|
515
518
|
productCodes: ['KENDOUIANGULAR'],
|
|
516
|
-
publishDate:
|
|
517
|
-
version: '24.0.
|
|
519
|
+
publishDate: 1780381286,
|
|
520
|
+
version: '24.0.4-develop.1',
|
|
518
521
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
519
522
|
};
|
|
520
523
|
|
|
@@ -1000,17 +1003,14 @@ class DialogComponent {
|
|
|
1000
1003
|
this.bubble('close', this.titlebarContent.first);
|
|
1001
1004
|
this.renderer.setAttribute(this.wrapper.nativeElement.querySelector('.k-dialog'), 'aria-describedby', this.contentId);
|
|
1002
1005
|
if (this.titlebarContent.first) {
|
|
1003
|
-
this.titlebarContent.first.id = this.titleId;
|
|
1004
1006
|
this.titlebarContent.first.closable = this.closable;
|
|
1005
1007
|
}
|
|
1006
1008
|
else {
|
|
1007
1009
|
this.subscriptions.push(this.titlebarContent.changes.subscribe(() => {
|
|
1008
1010
|
if (isPresent(this.titlebarContent.first)) {
|
|
1009
|
-
this.titlebarContent.first.id = this.titleId;
|
|
1010
1011
|
this.titlebarContent.first.closable = this.closable;
|
|
1011
1012
|
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
1012
1013
|
this.bubble('close', this.titlebarContent.first);
|
|
1013
|
-
this.renderer.setAttribute(this.wrapper.nativeElement.querySelector('.k-dialog'), 'aria-labelledby', this.titleId);
|
|
1014
1014
|
});
|
|
1015
1015
|
}
|
|
1016
1016
|
}));
|
|
@@ -1025,8 +1025,7 @@ class DialogComponent {
|
|
|
1025
1025
|
});
|
|
1026
1026
|
this.bubble('close', this.titlebarView.first);
|
|
1027
1027
|
this.bubble('action', this.actionsView);
|
|
1028
|
-
if (this.titlebarView.first
|
|
1029
|
-
//Needed for Dialogs created via service
|
|
1028
|
+
if (this.titlebarView.first) {
|
|
1030
1029
|
this.renderer.setAttribute(this.wrapper.nativeElement.querySelector('.k-dialog'), 'aria-labelledby', this.titleId);
|
|
1031
1030
|
}
|
|
1032
1031
|
else {
|
|
@@ -2257,10 +2256,13 @@ class WindowTitleBarComponent {
|
|
|
2257
2256
|
this.subscribeStateChange();
|
|
2258
2257
|
}
|
|
2259
2258
|
ngAfterViewInit() {
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
element.setAttribute('id', this.id);
|
|
2259
|
+
if (!this.id || this.template) {
|
|
2260
|
+
return;
|
|
2263
2261
|
}
|
|
2262
|
+
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
2263
|
+
const element = this.el.nativeElement.querySelector('.k-window-title');
|
|
2264
|
+
element?.setAttribute('id', this.id);
|
|
2265
|
+
});
|
|
2264
2266
|
}
|
|
2265
2267
|
ngOnDestroy() {
|
|
2266
2268
|
this.dragDirective.ngOnDestroy();
|
|
@@ -3263,7 +3265,7 @@ class WindowComponent {
|
|
|
3263
3265
|
});
|
|
3264
3266
|
this.ngZone.runOutsideAngular(() => Promise.resolve(null).then(() => this.setInitialOffset()));
|
|
3265
3267
|
this.initDomEvents();
|
|
3266
|
-
if (this.titleBarView
|
|
3268
|
+
if (this.titleBarView && !this.titleBarView.template) {
|
|
3267
3269
|
this.renderer.setAttribute(this.el.nativeElement, 'aria-labelledby', this.titleId);
|
|
3268
3270
|
}
|
|
3269
3271
|
}
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "24.0.
|
|
10
|
+
"publishDate": 1780381286,
|
|
11
|
+
"version": "24.0.4-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": "24.0.
|
|
3
|
+
"version": "24.0.4-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":
|
|
48
|
+
"publishDate": 1780381286,
|
|
49
49
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
50
50
|
}
|
|
51
51
|
},
|
|
@@ -55,15 +55,15 @@
|
|
|
55
55
|
"@angular/core": "19 - 21",
|
|
56
56
|
"@angular/platform-browser": "19 - 21",
|
|
57
57
|
"@progress/kendo-licensing": "^1.11.0",
|
|
58
|
-
"@progress/kendo-angular-buttons": "24.0.
|
|
59
|
-
"@progress/kendo-angular-common": "24.0.
|
|
60
|
-
"@progress/kendo-angular-icons": "24.0.
|
|
61
|
-
"@progress/kendo-angular-l10n": "24.0.
|
|
58
|
+
"@progress/kendo-angular-buttons": "24.0.4-develop.1",
|
|
59
|
+
"@progress/kendo-angular-common": "24.0.4-develop.1",
|
|
60
|
+
"@progress/kendo-angular-icons": "24.0.4-develop.1",
|
|
61
|
+
"@progress/kendo-angular-l10n": "24.0.4-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": "24.0.
|
|
66
|
+
"@progress/kendo-angular-schematics": "24.0.4-develop.1",
|
|
67
67
|
"@progress/kendo-popup-common": "1.9.5"
|
|
68
68
|
},
|
|
69
69
|
"schematics": "./schematics/collection.json",
|
|
@@ -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': '24.0.
|
|
12
|
+
'@progress/kendo-angular-popup': '24.0.4-develop.1',
|
|
13
13
|
// Peer dependency of icons
|
|
14
14
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
15
15
|
} });
|