@progress/kendo-angular-pivotgrid 21.2.0-develop.9 → 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.
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, EventEmitter, NgZone, Output, Renderer2 } from '@angular/core';
|
|
6
6
|
import { ChipComponent } from '@progress/kendo-angular-buttons';
|
|
7
|
-
import { Keys,
|
|
7
|
+
import { Keys, normalizeKeys } from '@progress/kendo-angular-common';
|
|
8
8
|
import { Subscription } from 'rxjs';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
import * as i1 from "@progress/kendo-angular-buttons";
|
|
@@ -27,7 +27,7 @@ export class ChipKeyboardNavigationDirective {
|
|
|
27
27
|
this.ngZone.runOutsideAngular(() => {
|
|
28
28
|
this.keydownSub.add(this.renderer.listen(chipElement, 'keydown', (ev) => {
|
|
29
29
|
ev.preventDefault();
|
|
30
|
-
const code =
|
|
30
|
+
const code = normalizeKeys(ev);
|
|
31
31
|
const isAltDown = code === Keys.ArrowDown && ev.altKey;
|
|
32
32
|
const menuIcon = this.host.element.nativeElement.querySelector('.k-i-more-vertical, .k-svg-i-more-vertical');
|
|
33
33
|
const isCtrlOrMeta = ev.ctrlKey || ev.metaKey;
|
|
@@ -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: 1764751723,
|
|
14
|
+
version: '21.2.0',
|
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
16
16
|
};
|
|
@@ -13,7 +13,7 @@ import { ScrollableTable } from '../virtual/scrollable-container';
|
|
|
13
13
|
import { PivotGridCellDirective } from './pivotgrid-cell.directive';
|
|
14
14
|
import { NgStyle } from '@angular/common';
|
|
15
15
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
16
|
-
import { Keys, isDocumentAvailable,
|
|
16
|
+
import { Keys, isDocumentAvailable, normalizeKeys } from '@progress/kendo-angular-common';
|
|
17
17
|
import { isVisible, matchAriaAttributes } from '../util';
|
|
18
18
|
import { PivotGridScrollService } from '../virtual/scroll.service';
|
|
19
19
|
import * as i0 from "@angular/core";
|
|
@@ -164,7 +164,7 @@ export class PivotGridTableComponent {
|
|
|
164
164
|
initScrollableKeyboardNavigation() {
|
|
165
165
|
const pivotGrid = this.scrollService.pivotGrid;
|
|
166
166
|
this.host.nativeElement.addEventListener('keydown', (e) => {
|
|
167
|
-
const code =
|
|
167
|
+
const code = normalizeKeys(e);
|
|
168
168
|
if (this.tableType === 'values' && e.targe.tagName === 'TD') {
|
|
169
169
|
e.stopImmediatePropagation();
|
|
170
170
|
e.preventDefault();
|
|
@@ -7,7 +7,7 @@ import { EventEmitter, Directive, Output, Input, Injectable, Component, ContentC
|
|
|
7
7
|
import * as i1 from '@progress/kendo-angular-buttons';
|
|
8
8
|
import { ButtonComponent, ChipListComponent, ChipComponent } from '@progress/kendo-angular-buttons';
|
|
9
9
|
import * as i1$4 from '@progress/kendo-angular-common';
|
|
10
|
-
import {
|
|
10
|
+
import { normalizeKeys, Keys, isDocumentAvailable, replaceMessagePlaceholder, PreventableEvent, DraggableDirective, hasObservers, anyChanged, EventsOutsideAngularDirective, TemplateContextDirective, isChanged, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
11
11
|
import { Subscription, BehaviorSubject, Subject, from, of, fromEvent } from 'rxjs';
|
|
12
12
|
import { take, tap, mergeMap, merge } from 'rxjs/operators';
|
|
13
13
|
import { toTree, toRows, toColumns, toData, configuratorReducer, PIVOT_CONFIGURATOR_ACTION, HEADERS_ACTION, headersReducer, createFlatSchemaDimensions, createDataTree, createLocalDataState, rootFields, fetchData, createDataState, fetchDiscover, addKPI, buildKPIMeasures, PivotGridNavigation, ConfiguratorNavigation } from '@progress/kendo-pivotgrid-common';
|
|
@@ -49,7 +49,7 @@ class ChipKeyboardNavigationDirective {
|
|
|
49
49
|
this.ngZone.runOutsideAngular(() => {
|
|
50
50
|
this.keydownSub.add(this.renderer.listen(chipElement, 'keydown', (ev) => {
|
|
51
51
|
ev.preventDefault();
|
|
52
|
-
const code =
|
|
52
|
+
const code = normalizeKeys(ev);
|
|
53
53
|
const isAltDown = code === Keys.ArrowDown && ev.altKey;
|
|
54
54
|
const menuIcon = this.host.element.nativeElement.querySelector('.k-i-more-vertical, .k-svg-i-more-vertical');
|
|
55
55
|
const isCtrlOrMeta = ev.ctrlKey || ev.metaKey;
|
|
@@ -3859,8 +3859,8 @@ const packageMetadata = {
|
|
|
3859
3859
|
productName: 'Kendo UI for Angular',
|
|
3860
3860
|
productCode: 'KENDOUIANGULAR',
|
|
3861
3861
|
productCodes: ['KENDOUIANGULAR'],
|
|
3862
|
-
publishDate:
|
|
3863
|
-
version: '21.2.0
|
|
3862
|
+
publishDate: 1764751723,
|
|
3863
|
+
version: '21.2.0',
|
|
3864
3864
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
3865
3865
|
};
|
|
3866
3866
|
|
|
@@ -4533,7 +4533,7 @@ class PivotGridTableComponent {
|
|
|
4533
4533
|
initScrollableKeyboardNavigation() {
|
|
4534
4534
|
const pivotGrid = this.scrollService.pivotGrid;
|
|
4535
4535
|
this.host.nativeElement.addEventListener('keydown', (e) => {
|
|
4536
|
-
const code =
|
|
4536
|
+
const code = normalizeKeys(e);
|
|
4537
4537
|
if (this.tableType === 'values' && e.targe.tagName === 'TD') {
|
|
4538
4538
|
e.stopImmediatePropagation();
|
|
4539
4539
|
e.preventDefault();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-pivotgrid",
|
|
3
|
-
"version": "21.2.0
|
|
3
|
+
"version": "21.2.0",
|
|
4
4
|
"description": "PivotGrid package for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"package": {
|
|
19
19
|
"productName": "Kendo UI for Angular",
|
|
20
20
|
"productCode": "KENDOUIANGULAR",
|
|
21
|
-
"publishDate":
|
|
21
|
+
"publishDate": 1764751723,
|
|
22
22
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"
|
|
23
23
|
}
|
|
24
24
|
},
|
|
@@ -31,21 +31,21 @@
|
|
|
31
31
|
"@progress/kendo-data-query": "^1.5.5",
|
|
32
32
|
"@progress/kendo-drawing": "^1.21.0",
|
|
33
33
|
"@progress/kendo-licensing": "^1.7.0",
|
|
34
|
-
"@progress/kendo-angular-buttons": "21.2.0
|
|
35
|
-
"@progress/kendo-angular-common": "21.2.0
|
|
36
|
-
"@progress/kendo-angular-dropdowns": "21.2.0
|
|
37
|
-
"@progress/kendo-angular-indicators": "21.2.0
|
|
38
|
-
"@progress/kendo-angular-inputs": "21.2.0
|
|
39
|
-
"@progress/kendo-angular-intl": "21.2.0
|
|
40
|
-
"@progress/kendo-angular-l10n": "21.2.0
|
|
41
|
-
"@progress/kendo-angular-popup": "21.2.0
|
|
42
|
-
"@progress/kendo-angular-icons": "21.2.0
|
|
43
|
-
"@progress/kendo-angular-treeview": "21.2.0
|
|
34
|
+
"@progress/kendo-angular-buttons": "21.2.0",
|
|
35
|
+
"@progress/kendo-angular-common": "21.2.0",
|
|
36
|
+
"@progress/kendo-angular-dropdowns": "21.2.0",
|
|
37
|
+
"@progress/kendo-angular-indicators": "21.2.0",
|
|
38
|
+
"@progress/kendo-angular-inputs": "21.2.0",
|
|
39
|
+
"@progress/kendo-angular-intl": "21.2.0",
|
|
40
|
+
"@progress/kendo-angular-l10n": "21.2.0",
|
|
41
|
+
"@progress/kendo-angular-popup": "21.2.0",
|
|
42
|
+
"@progress/kendo-angular-icons": "21.2.0",
|
|
43
|
+
"@progress/kendo-angular-treeview": "21.2.0",
|
|
44
44
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"tslib": "^2.3.1",
|
|
48
|
-
"@progress/kendo-angular-schematics": "21.2.0
|
|
48
|
+
"@progress/kendo-angular-schematics": "21.2.0",
|
|
49
49
|
"@progress/kendo-pivotgrid-common": "0.6.3"
|
|
50
50
|
},
|
|
51
51
|
"schematics": "./schematics/collection.json",
|
|
@@ -11,11 +11,11 @@ function default_1(options) {
|
|
|
11
11
|
// Additional dependencies to install.
|
|
12
12
|
// See https://github.com/telerik/kendo-schematics/issues/28
|
|
13
13
|
peerDependencies: {
|
|
14
|
-
'@progress/kendo-angular-dialog': '21.2.0
|
|
14
|
+
'@progress/kendo-angular-dialog': '21.2.0',
|
|
15
15
|
// peer dep of the icons
|
|
16
16
|
'@progress/kendo-svg-icons': '^4.0.0',
|
|
17
17
|
// peer dep of the dropdowns
|
|
18
|
-
'@progress/kendo-angular-navigation': '21.2.0
|
|
18
|
+
'@progress/kendo-angular-navigation': '21.2.0'
|
|
19
19
|
} });
|
|
20
20
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
21
21
|
}
|