@progress/kendo-angular-dialog 21.2.0-develop.8 → 21.2.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.
|
@@ -11,7 +11,7 @@ import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
|
11
11
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
12
12
|
import { packageMetadata } from '../package-metadata';
|
|
13
13
|
import { hasClasses, isPresent, isFocusable, DIALOG_ELEMENTS_HANDLING_ARROWS, DIALOG_ELEMENTS_HANDLING_ESC_KEY, createValueWithUnit, parseCSSClassNames, findPrimaryButton } from '../common/util';
|
|
14
|
-
import { focusableSelector, shouldShowValidationUI, getLicenseMessage, setHTMLAttributes, Keys,
|
|
14
|
+
import { focusableSelector, shouldShowValidationUI, getLicenseMessage, setHTMLAttributes, Keys, normalizeKeys } from '@progress/kendo-angular-common';
|
|
15
15
|
import { DialogCloseResult } from './models/dialog-close-result';
|
|
16
16
|
import { DIALOG_LOCALIZATION_SERVICE } from './../localization/dialog-localization.service';
|
|
17
17
|
import { take } from 'rxjs/operators';
|
|
@@ -307,7 +307,7 @@ export class DialogComponent {
|
|
|
307
307
|
onKeyDown(event) {
|
|
308
308
|
const target = event.target;
|
|
309
309
|
const parent = target.parentElement;
|
|
310
|
-
const code =
|
|
310
|
+
const code = normalizeKeys(event);
|
|
311
311
|
if (hasClasses(target, DIALOG_ELEMENTS_HANDLING_ESC_KEY) || hasClasses(parent, DIALOG_ELEMENTS_HANDLING_ESC_KEY)) {
|
|
312
312
|
if (code === Keys.Escape) {
|
|
313
313
|
this.ngZone.run(() => {
|
|
@@ -10,7 +10,7 @@ export const packageMetadata = {
|
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCode: 'KENDOUIANGULAR',
|
|
12
12
|
productCodes: ['KENDOUIANGULAR'],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: '21.2.0
|
|
13
|
+
publishDate: 1764751413,
|
|
14
|
+
version: '21.2.0',
|
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
16
|
};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { Injectable, NgZone } from "@angular/core";
|
|
6
6
|
import { DragResizeService } from './drag-resize.service';
|
|
7
7
|
import { isPresent, OFFSET_STYLES, WINDOW_CLASSES, hasClasses, WINDOW_ELEMENTS_HANDLING_ESC_KEY } from '../common/util';
|
|
8
|
-
import { Keys,
|
|
8
|
+
import { Keys, normalizeKeys } from "@progress/kendo-angular-common";
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
import * as i1 from "./drag-resize.service";
|
|
11
11
|
/**
|
|
@@ -19,7 +19,7 @@ export class NavigationService {
|
|
|
19
19
|
this.ngZone = ngZone;
|
|
20
20
|
}
|
|
21
21
|
process(ev) {
|
|
22
|
-
const key =
|
|
22
|
+
const key = normalizeKeys(ev);
|
|
23
23
|
const target = ev.target;
|
|
24
24
|
switch (key) {
|
|
25
25
|
case Keys.ArrowUp:
|
|
@@ -16,7 +16,7 @@ import { xIcon, windowRestoreIcon, windowIcon, windowMinimizeIcon } from '@progr
|
|
|
16
16
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
17
17
|
import { of, Subscription, Subject, merge } from 'rxjs';
|
|
18
18
|
import * as i1$2 from '@progress/kendo-angular-common';
|
|
19
|
-
import { setHTMLAttributes, getLicenseMessage, shouldShowValidationUI, isDocumentAvailable,
|
|
19
|
+
import { setHTMLAttributes, getLicenseMessage, shouldShowValidationUI, isDocumentAvailable, normalizeKeys, Keys, focusableSelector, WatermarkOverlayComponent, DraggableDirective, isChanged } from '@progress/kendo-angular-common';
|
|
20
20
|
import { offset, scrollPosition, positionWithScroll, getDocumentElement, getWindowViewPort } from '@progress/kendo-popup-common';
|
|
21
21
|
import { IconWrapperComponent, IconsService } from '@progress/kendo-angular-icons';
|
|
22
22
|
|
|
@@ -500,8 +500,8 @@ const packageMetadata = {
|
|
|
500
500
|
productName: 'Kendo UI for Angular',
|
|
501
501
|
productCode: 'KENDOUIANGULAR',
|
|
502
502
|
productCodes: ['KENDOUIANGULAR'],
|
|
503
|
-
publishDate:
|
|
504
|
-
version: '21.2.0
|
|
503
|
+
publishDate: 1764751413,
|
|
504
|
+
version: '21.2.0',
|
|
505
505
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
506
506
|
};
|
|
507
507
|
|
|
@@ -1055,7 +1055,7 @@ class DialogComponent {
|
|
|
1055
1055
|
onKeyDown(event) {
|
|
1056
1056
|
const target = event.target;
|
|
1057
1057
|
const parent = target.parentElement;
|
|
1058
|
-
const code =
|
|
1058
|
+
const code = normalizeKeys(event);
|
|
1059
1059
|
if (hasClasses(target, DIALOG_ELEMENTS_HANDLING_ESC_KEY) || hasClasses(parent, DIALOG_ELEMENTS_HANDLING_ESC_KEY)) {
|
|
1060
1060
|
if (code === Keys.Escape) {
|
|
1061
1061
|
this.ngZone.run(() => {
|
|
@@ -2388,7 +2388,7 @@ class NavigationService {
|
|
|
2388
2388
|
this.ngZone = ngZone;
|
|
2389
2389
|
}
|
|
2390
2390
|
process(ev) {
|
|
2391
|
-
const key =
|
|
2391
|
+
const key = normalizeKeys(ev);
|
|
2392
2392
|
const target = ev.target;
|
|
2393
2393
|
switch (key) {
|
|
2394
2394
|
case Keys.ArrowUp:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dialog",
|
|
3
|
-
"version": "21.2.0
|
|
3
|
+
"version": "21.2.0",
|
|
4
4
|
"description": "Dialog Package for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"package": {
|
|
24
24
|
"productName": "Kendo UI for Angular",
|
|
25
25
|
"productCode": "KENDOUIANGULAR",
|
|
26
|
-
"publishDate":
|
|
26
|
+
"publishDate": 1764751413,
|
|
27
27
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
28
28
|
}
|
|
29
29
|
},
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
"@angular/core": "18 - 21",
|
|
34
34
|
"@angular/platform-browser": "18 - 21",
|
|
35
35
|
"@progress/kendo-licensing": "^1.7.0",
|
|
36
|
-
"@progress/kendo-angular-buttons": "21.2.0
|
|
37
|
-
"@progress/kendo-angular-common": "21.2.0
|
|
38
|
-
"@progress/kendo-angular-icons": "21.2.0
|
|
39
|
-
"@progress/kendo-angular-l10n": "21.2.0
|
|
36
|
+
"@progress/kendo-angular-buttons": "21.2.0",
|
|
37
|
+
"@progress/kendo-angular-common": "21.2.0",
|
|
38
|
+
"@progress/kendo-angular-icons": "21.2.0",
|
|
39
|
+
"@progress/kendo-angular-l10n": "21.2.0",
|
|
40
40
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"tslib": "^2.3.1",
|
|
44
|
-
"@progress/kendo-angular-schematics": "21.2.0
|
|
44
|
+
"@progress/kendo-angular-schematics": "21.2.0",
|
|
45
45
|
"@progress/kendo-popup-common": "1.9.5"
|
|
46
46
|
},
|
|
47
47
|
"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': '21.2.0
|
|
12
|
+
'@progress/kendo-angular-popup': '21.2.0',
|
|
13
13
|
// Peer dependency of icons
|
|
14
14
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
15
15
|
} });
|