@progress/kendo-angular-spreadsheet 21.2.0-develop.1 → 21.2.0-develop.10
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/esm2022/common/list-editor.component.mjs +2 -2
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/sheets-bar/sheets-bar.component.mjs +2 -2
- package/esm2022/spreadsheet.component.mjs +7 -7
- package/fesm2022/progress-kendo-angular-spreadsheet.mjs +11 -11
- package/package.json +17 -17
- package/schematics/ngAdd/index.js +2 -2
|
@@ -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 { Component, EventEmitter, Output, ViewChildren, QueryList, ElementRef, NgZone } from '@angular/core';
|
|
6
|
-
import { Keys,
|
|
6
|
+
import { Keys, normalizeKeys } from '@progress/kendo-angular-common';
|
|
7
7
|
import { SpreadsheetService } from './spreadsheet.service';
|
|
8
8
|
import { take } from 'rxjs/operators';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
@@ -33,7 +33,7 @@ export class ListEditorComponent {
|
|
|
33
33
|
this.itemSelect.emit(item);
|
|
34
34
|
}
|
|
35
35
|
onKeyDown(event, index) {
|
|
36
|
-
const code =
|
|
36
|
+
const code = normalizeKeys(event);
|
|
37
37
|
const altKey = event.altKey;
|
|
38
38
|
switch (code) {
|
|
39
39
|
case Keys.ArrowDown:
|
|
@@ -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-develop.
|
|
13
|
+
publishDate: 1764593023,
|
|
14
|
+
version: '21.2.0-develop.10',
|
|
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
|
};
|
|
@@ -6,7 +6,7 @@ import { Component, ElementRef, HostBinding, Input, NgZone, QueryList, Renderer2
|
|
|
6
6
|
import { Subscription } from 'rxjs';
|
|
7
7
|
import { take } from 'rxjs/operators';
|
|
8
8
|
import { ButtonComponent, DropDownButtonComponent } from '@progress/kendo-angular-buttons';
|
|
9
|
-
import { Keys, isDocumentAvailable, isPresent, EventsOutsideAngularDirective,
|
|
9
|
+
import { Keys, isDocumentAvailable, isPresent, EventsOutsideAngularDirective, normalizeKeys } from '@progress/kendo-angular-common';
|
|
10
10
|
import { DialogService } from '@progress/kendo-angular-dialog';
|
|
11
11
|
import { TabStripComponent, TabTemplateDirective, TabStripTabComponent } from '@progress/kendo-angular-layout';
|
|
12
12
|
import { caretAltDownIcon, menuIcon, plusIcon, eyeIcon, eyeSlashIcon } from '@progress/kendo-svg-icons';
|
|
@@ -253,7 +253,7 @@ export class SheetsBarComponent {
|
|
|
253
253
|
return;
|
|
254
254
|
}
|
|
255
255
|
const altKey = ev.altKey;
|
|
256
|
-
const code =
|
|
256
|
+
const code = normalizeKeys(ev);
|
|
257
257
|
const arrowDown = code === Keys.ArrowDown;
|
|
258
258
|
const shouldOpenDdb = altKey && arrowDown && !ddb.isOpen;
|
|
259
259
|
if (shouldOpenDdb) {
|
|
@@ -13,7 +13,7 @@ import { calendarIcon, caretAltDownIcon, downloadIcon, folderOpenIcon, formulaFx
|
|
|
13
13
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
14
14
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
15
15
|
import { ContextMenuComponent, MenuItemComponent, MenuComponent } from '@progress/kendo-angular-menu';
|
|
16
|
-
import { Keys, hasObservers, isDocumentAvailable, isPresent, shouldShowValidationUI, getLicenseMessage, WatermarkOverlayComponent,
|
|
16
|
+
import { Keys, hasObservers, isDocumentAvailable, isPresent, shouldShowValidationUI, getLicenseMessage, WatermarkOverlayComponent, normalizeKeys } from '@progress/kendo-angular-common';
|
|
17
17
|
import { DialogService } from '@progress/kendo-angular-dialog';
|
|
18
18
|
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
|
19
19
|
import { ToolBarDropDownButtonComponent, ToolBarSeparatorComponent, ToolBarButtonGroupComponent, ToolBarButtonComponent, ToolBarComponent } from '@progress/kendo-angular-toolbar';
|
|
@@ -452,13 +452,13 @@ export class SpreadsheetComponent {
|
|
|
452
452
|
const isCtrl = e.ctrlKey || e.metaKey;
|
|
453
453
|
const shift = e.shiftKey;
|
|
454
454
|
const altKey = e.altKey;
|
|
455
|
-
|
|
455
|
+
const code = normalizeKeys(e);
|
|
456
|
+
if (isCtrl && shift && code === Keys.KeyS) {
|
|
456
457
|
this.spreadsheetService.onSheetsBarFocus.next(undefined);
|
|
457
458
|
}
|
|
458
459
|
if (altKey) {
|
|
459
460
|
const currentSheet = e.sender.activeSheet();
|
|
460
461
|
const validation = currentSheet.range(currentSheet.activeCell()).validation();
|
|
461
|
-
const code = normalizeNumpadKeys(e);
|
|
462
462
|
if (isPresent(validation) && validation.dataType === 'list') {
|
|
463
463
|
if (code === Keys.ArrowDown) {
|
|
464
464
|
this.spreadsheetWidget.view.openCustomEditor();
|
|
@@ -1260,12 +1260,12 @@ export class SpreadsheetComponent {
|
|
|
1260
1260
|
[sheetDescriptors]="sheets">
|
|
1261
1261
|
</div>
|
|
1262
1262
|
<ng-container #dialogContainer></ng-container>
|
|
1263
|
-
|
|
1263
|
+
|
|
1264
1264
|
<kendo-contextmenu
|
|
1265
1265
|
#contextMenu
|
|
1266
1266
|
[items]="contextMenuItems"
|
|
1267
1267
|
(select)="onContextMenuSelect($event)"></kendo-contextmenu>
|
|
1268
|
-
|
|
1268
|
+
|
|
1269
1269
|
@if (showLicenseWatermark) {
|
|
1270
1270
|
<div kendoWatermarkOverlay [licenseMessage]="licenseMessage"></div>
|
|
1271
1271
|
}
|
|
@@ -1643,12 +1643,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
1643
1643
|
[sheetDescriptors]="sheets">
|
|
1644
1644
|
</div>
|
|
1645
1645
|
<ng-container #dialogContainer></ng-container>
|
|
1646
|
-
|
|
1646
|
+
|
|
1647
1647
|
<kendo-contextmenu
|
|
1648
1648
|
#contextMenu
|
|
1649
1649
|
[items]="contextMenuItems"
|
|
1650
1650
|
(select)="onContextMenuSelect($event)"></kendo-contextmenu>
|
|
1651
|
-
|
|
1651
|
+
|
|
1652
1652
|
@if (showLicenseWatermark) {
|
|
1653
1653
|
<div kendoWatermarkOverlay [licenseMessage]="licenseMessage"></div>
|
|
1654
1654
|
}
|
|
@@ -17,7 +17,7 @@ import { LocalizationService, L10N_PREFIX, RTL, ComponentMessages } from '@progr
|
|
|
17
17
|
import * as i1$1 from '@progress/kendo-angular-popup';
|
|
18
18
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
19
19
|
import { MenuComponent, MenuItemComponent, ContextMenuComponent } from '@progress/kendo-angular-menu';
|
|
20
|
-
import { EventsOutsideAngularDirective, replaceMessagePlaceholder, isDocumentAvailable, isPresent,
|
|
20
|
+
import { EventsOutsideAngularDirective, replaceMessagePlaceholder, isDocumentAvailable, isPresent, normalizeKeys, Keys, hasObservers, getLicenseMessage, shouldShowValidationUI, WatermarkOverlayComponent, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
21
21
|
import * as i1$2 from '@progress/kendo-angular-dialog';
|
|
22
22
|
import { DialogContentBase, DialogActionsComponent, DialogContainerService, DialogService, WindowService, WindowContainerService } from '@progress/kendo-angular-dialog';
|
|
23
23
|
import { IconWrapperComponent, IconsService } from '@progress/kendo-angular-icons';
|
|
@@ -43,8 +43,8 @@ const packageMetadata = {
|
|
|
43
43
|
productName: 'Kendo UI for Angular',
|
|
44
44
|
productCode: 'KENDOUIANGULAR',
|
|
45
45
|
productCodes: ['KENDOUIANGULAR'],
|
|
46
|
-
publishDate:
|
|
47
|
-
version: '21.2.0-develop.
|
|
46
|
+
publishDate: 1764593023,
|
|
47
|
+
version: '21.2.0-develop.10',
|
|
48
48
|
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',
|
|
49
49
|
};
|
|
50
50
|
|
|
@@ -1033,7 +1033,7 @@ class SheetsBarComponent {
|
|
|
1033
1033
|
return;
|
|
1034
1034
|
}
|
|
1035
1035
|
const altKey = ev.altKey;
|
|
1036
|
-
const code =
|
|
1036
|
+
const code = normalizeKeys(ev);
|
|
1037
1037
|
const arrowDown = code === Keys.ArrowDown;
|
|
1038
1038
|
const shouldOpenDdb = altKey && arrowDown && !ddb.isOpen;
|
|
1039
1039
|
if (shouldOpenDdb) {
|
|
@@ -4730,7 +4730,7 @@ class ListEditorComponent {
|
|
|
4730
4730
|
this.itemSelect.emit(item);
|
|
4731
4731
|
}
|
|
4732
4732
|
onKeyDown(event, index) {
|
|
4733
|
-
const code =
|
|
4733
|
+
const code = normalizeKeys(event);
|
|
4734
4734
|
const altKey = event.altKey;
|
|
4735
4735
|
switch (code) {
|
|
4736
4736
|
case Keys.ArrowDown:
|
|
@@ -5267,13 +5267,13 @@ class SpreadsheetComponent {
|
|
|
5267
5267
|
const isCtrl = e.ctrlKey || e.metaKey;
|
|
5268
5268
|
const shift = e.shiftKey;
|
|
5269
5269
|
const altKey = e.altKey;
|
|
5270
|
-
|
|
5270
|
+
const code = normalizeKeys(e);
|
|
5271
|
+
if (isCtrl && shift && code === Keys.KeyS) {
|
|
5271
5272
|
this.spreadsheetService.onSheetsBarFocus.next(undefined);
|
|
5272
5273
|
}
|
|
5273
5274
|
if (altKey) {
|
|
5274
5275
|
const currentSheet = e.sender.activeSheet();
|
|
5275
5276
|
const validation = currentSheet.range(currentSheet.activeCell()).validation();
|
|
5276
|
-
const code = normalizeNumpadKeys(e);
|
|
5277
5277
|
if (isPresent(validation) && validation.dataType === 'list') {
|
|
5278
5278
|
if (code === Keys.ArrowDown) {
|
|
5279
5279
|
this.spreadsheetWidget.view.openCustomEditor();
|
|
@@ -6075,12 +6075,12 @@ class SpreadsheetComponent {
|
|
|
6075
6075
|
[sheetDescriptors]="sheets">
|
|
6076
6076
|
</div>
|
|
6077
6077
|
<ng-container #dialogContainer></ng-container>
|
|
6078
|
-
|
|
6078
|
+
|
|
6079
6079
|
<kendo-contextmenu
|
|
6080
6080
|
#contextMenu
|
|
6081
6081
|
[items]="contextMenuItems"
|
|
6082
6082
|
(select)="onContextMenuSelect($event)"></kendo-contextmenu>
|
|
6083
|
-
|
|
6083
|
+
|
|
6084
6084
|
@if (showLicenseWatermark) {
|
|
6085
6085
|
<div kendoWatermarkOverlay [licenseMessage]="licenseMessage"></div>
|
|
6086
6086
|
}
|
|
@@ -6458,12 +6458,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
6458
6458
|
[sheetDescriptors]="sheets">
|
|
6459
6459
|
</div>
|
|
6460
6460
|
<ng-container #dialogContainer></ng-container>
|
|
6461
|
-
|
|
6461
|
+
|
|
6462
6462
|
<kendo-contextmenu
|
|
6463
6463
|
#contextMenu
|
|
6464
6464
|
[items]="contextMenuItems"
|
|
6465
6465
|
(select)="onContextMenuSelect($event)"></kendo-contextmenu>
|
|
6466
|
-
|
|
6466
|
+
|
|
6467
6467
|
@if (showLicenseWatermark) {
|
|
6468
6468
|
<div kendoWatermarkOverlay [licenseMessage]="licenseMessage"></div>
|
|
6469
6469
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-spreadsheet",
|
|
3
|
-
"version": "21.2.0-develop.
|
|
3
|
+
"version": "21.2.0-develop.10",
|
|
4
4
|
"description": "A Spreadsheet Component for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"package": {
|
|
20
20
|
"productName": "Kendo UI for Angular",
|
|
21
21
|
"productCode": "KENDOUIANGULAR",
|
|
22
|
-
"publishDate":
|
|
22
|
+
"publishDate": 1764593023,
|
|
23
23
|
"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"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -29,25 +29,25 @@
|
|
|
29
29
|
"@angular/core": "18 - 21",
|
|
30
30
|
"@angular/platform-browser": "18 - 21",
|
|
31
31
|
"@progress/kendo-licensing": "^1.7.0",
|
|
32
|
-
"@progress/kendo-angular-buttons": "21.2.0-develop.
|
|
33
|
-
"@progress/kendo-angular-common": "21.2.0-develop.
|
|
34
|
-
"@progress/kendo-angular-dialog": "21.2.0-develop.
|
|
35
|
-
"@progress/kendo-angular-dropdowns": "21.2.0-develop.
|
|
36
|
-
"@progress/kendo-angular-icons": "21.2.0-develop.
|
|
37
|
-
"@progress/kendo-angular-inputs": "21.2.0-develop.
|
|
38
|
-
"@progress/kendo-angular-dateinputs": "21.2.0-develop.
|
|
39
|
-
"@progress/kendo-angular-intl": "21.2.0-develop.
|
|
40
|
-
"@progress/kendo-angular-l10n": "21.2.0-develop.
|
|
41
|
-
"@progress/kendo-angular-label": "21.2.0-develop.
|
|
42
|
-
"@progress/kendo-angular-layout": "21.2.0-develop.
|
|
43
|
-
"@progress/kendo-angular-menu": "21.2.0-develop.
|
|
44
|
-
"@progress/kendo-angular-popup": "21.2.0-develop.
|
|
45
|
-
"@progress/kendo-angular-toolbar": "21.2.0-develop.
|
|
32
|
+
"@progress/kendo-angular-buttons": "21.2.0-develop.10",
|
|
33
|
+
"@progress/kendo-angular-common": "21.2.0-develop.10",
|
|
34
|
+
"@progress/kendo-angular-dialog": "21.2.0-develop.10",
|
|
35
|
+
"@progress/kendo-angular-dropdowns": "21.2.0-develop.10",
|
|
36
|
+
"@progress/kendo-angular-icons": "21.2.0-develop.10",
|
|
37
|
+
"@progress/kendo-angular-inputs": "21.2.0-develop.10",
|
|
38
|
+
"@progress/kendo-angular-dateinputs": "21.2.0-develop.10",
|
|
39
|
+
"@progress/kendo-angular-intl": "21.2.0-develop.10",
|
|
40
|
+
"@progress/kendo-angular-l10n": "21.2.0-develop.10",
|
|
41
|
+
"@progress/kendo-angular-label": "21.2.0-develop.10",
|
|
42
|
+
"@progress/kendo-angular-layout": "21.2.0-develop.10",
|
|
43
|
+
"@progress/kendo-angular-menu": "21.2.0-develop.10",
|
|
44
|
+
"@progress/kendo-angular-popup": "21.2.0-develop.10",
|
|
45
|
+
"@progress/kendo-angular-toolbar": "21.2.0-develop.10",
|
|
46
46
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"tslib": "^2.3.1",
|
|
50
|
-
"@progress/kendo-angular-schematics": "21.2.0-develop.
|
|
50
|
+
"@progress/kendo-angular-schematics": "21.2.0-develop.10",
|
|
51
51
|
"@progress/jszip-esm": "^1.0.3",
|
|
52
52
|
"@progress/kendo-common": "^1.0.1",
|
|
53
53
|
"@progress/kendo-date-math": "^1.5.10",
|
|
@@ -11,8 +11,8 @@ function default_1(options) {
|
|
|
11
11
|
// Peer dependency of icons
|
|
12
12
|
'@progress/kendo-svg-icons': '^4.0.0',
|
|
13
13
|
// peer deps of the dropdowns
|
|
14
|
-
'@progress/kendo-angular-navigation': '21.2.0-develop.
|
|
15
|
-
'@progress/kendo-angular-treeview': '21.2.0-develop.
|
|
14
|
+
'@progress/kendo-angular-navigation': '21.2.0-develop.10',
|
|
15
|
+
'@progress/kendo-angular-treeview': '21.2.0-develop.10'
|
|
16
16
|
} });
|
|
17
17
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
18
18
|
}
|