@progress/kendo-angular-spreadsheet 19.3.0-develop.32 → 19.3.0-develop.33
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 +3 -2
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/sheets-bar/sheets-bar.component.mjs +3 -2
- package/esm2022/spreadsheet.component.mjs +4 -3
- package/fesm2022/progress-kendo-angular-spreadsheet.mjs +10 -7
- package/package.json +17 -17
- package/schematics/ngAdd/index.js +2 -2
@@ -4,7 +4,7 @@
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { NgForOf } from '@angular/common';
|
6
6
|
import { Component, EventEmitter, Output, ViewChildren, QueryList, ElementRef, NgZone } from '@angular/core';
|
7
|
-
import { Keys } from '@progress/kendo-angular-common';
|
7
|
+
import { Keys, normalizeNumpadKeys } from '@progress/kendo-angular-common';
|
8
8
|
import { SpreadsheetService } from './spreadsheet.service';
|
9
9
|
import { take } from 'rxjs/operators';
|
10
10
|
import * as i0 from "@angular/core";
|
@@ -34,8 +34,9 @@ export class ListEditorComponent {
|
|
34
34
|
this.itemSelect.emit(item);
|
35
35
|
}
|
36
36
|
onKeyDown(event, index) {
|
37
|
+
const code = normalizeNumpadKeys(event);
|
37
38
|
const altKey = event.altKey;
|
38
|
-
switch (
|
39
|
+
switch (code) {
|
39
40
|
case Keys.ArrowDown:
|
40
41
|
case Keys.ArrowRight:
|
41
42
|
event.preventDefault();
|
@@ -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: '19.3.0-develop.
|
13
|
+
publishDate: 1754589825,
|
14
|
+
version: '19.3.0-develop.33',
|
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
|
};
|
@@ -7,7 +7,7 @@ import { NgFor, NgIf } from '@angular/common';
|
|
7
7
|
import { Subscription } from 'rxjs';
|
8
8
|
import { take } from 'rxjs/operators';
|
9
9
|
import { ButtonComponent, DropDownButtonComponent } from '@progress/kendo-angular-buttons';
|
10
|
-
import { Keys, isDocumentAvailable, isPresent, EventsOutsideAngularDirective } from '@progress/kendo-angular-common';
|
10
|
+
import { Keys, isDocumentAvailable, isPresent, EventsOutsideAngularDirective, normalizeNumpadKeys } from '@progress/kendo-angular-common';
|
11
11
|
import { DialogService } from '@progress/kendo-angular-dialog';
|
12
12
|
import { TabStripComponent, TabTemplateDirective, TabStripTabComponent } from '@progress/kendo-angular-layout';
|
13
13
|
import { caretAltDownIcon, menuIcon, plusIcon, eyeIcon, eyeSlashIcon } from '@progress/kendo-svg-icons';
|
@@ -251,7 +251,8 @@ export class SheetsBarComponent {
|
|
251
251
|
return;
|
252
252
|
}
|
253
253
|
const altKey = ev.altKey;
|
254
|
-
const
|
254
|
+
const code = normalizeNumpadKeys(ev);
|
255
|
+
const arrowDown = code === Keys.ArrowDown;
|
255
256
|
const shouldOpenDdb = altKey && arrowDown && !ddb.isOpen;
|
256
257
|
if (shouldOpenDdb) {
|
257
258
|
ev.preventDefault();
|
@@ -14,7 +14,7 @@ import { calendarIcon, caretAltDownIcon, downloadIcon, folderOpenIcon, formulaFx
|
|
14
14
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
15
15
|
import { PopupService } from '@progress/kendo-angular-popup';
|
16
16
|
import { ContextMenuComponent, MenuItemComponent, MenuComponent } from '@progress/kendo-angular-menu';
|
17
|
-
import { Keys, hasObservers, isDocumentAvailable, isPresent, shouldShowValidationUI, getLicenseMessage, WatermarkOverlayComponent } from '@progress/kendo-angular-common';
|
17
|
+
import { Keys, hasObservers, isDocumentAvailable, isPresent, shouldShowValidationUI, getLicenseMessage, WatermarkOverlayComponent, normalizeNumpadKeys } from '@progress/kendo-angular-common';
|
18
18
|
import { DialogService } from '@progress/kendo-angular-dialog';
|
19
19
|
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
20
20
|
import { ToolBarDropDownButtonComponent, ToolBarSeparatorComponent, ToolBarButtonGroupComponent, ToolBarButtonComponent, ToolBarComponent } from '@progress/kendo-angular-toolbar';
|
@@ -445,14 +445,15 @@ export class SpreadsheetComponent {
|
|
445
445
|
const isCtrl = e.ctrlKey || e.metaKey;
|
446
446
|
const shift = e.shiftKey;
|
447
447
|
const altKey = e.altKey;
|
448
|
-
if (isCtrl && shift && e.
|
448
|
+
if (isCtrl && shift && e.code === Keys.KeyS) {
|
449
449
|
this.spreadsheetService.onSheetsBarFocus.next();
|
450
450
|
}
|
451
451
|
if (altKey) {
|
452
452
|
const currentSheet = e.sender.activeSheet();
|
453
453
|
const validation = currentSheet.range(currentSheet.activeCell()).validation();
|
454
|
+
const code = normalizeNumpadKeys(e);
|
454
455
|
if (isPresent(validation) && validation.dataType === 'list') {
|
455
|
-
if (
|
456
|
+
if (code === Keys.ArrowDown) {
|
456
457
|
this.spreadsheetWidget.view.openCustomEditor();
|
457
458
|
}
|
458
459
|
}
|
@@ -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, Keys, hasObservers, getLicenseMessage, shouldShowValidationUI, WatermarkOverlayComponent, ResizeBatchService } from '@progress/kendo-angular-common';
|
20
|
+
import { EventsOutsideAngularDirective, replaceMessagePlaceholder, isDocumentAvailable, isPresent, normalizeNumpadKeys, 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';
|
@@ -42,8 +42,8 @@ const packageMetadata = {
|
|
42
42
|
productName: 'Kendo UI for Angular',
|
43
43
|
productCode: 'KENDOUIANGULAR',
|
44
44
|
productCodes: ['KENDOUIANGULAR'],
|
45
|
-
publishDate:
|
46
|
-
version: '19.3.0-develop.
|
45
|
+
publishDate: 1754589825,
|
46
|
+
version: '19.3.0-develop.33',
|
47
47
|
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',
|
48
48
|
};
|
49
49
|
|
@@ -1021,7 +1021,8 @@ class SheetsBarComponent {
|
|
1021
1021
|
return;
|
1022
1022
|
}
|
1023
1023
|
const altKey = ev.altKey;
|
1024
|
-
const
|
1024
|
+
const code = normalizeNumpadKeys(ev);
|
1025
|
+
const arrowDown = code === Keys.ArrowDown;
|
1025
1026
|
const shouldOpenDdb = altKey && arrowDown && !ddb.isOpen;
|
1026
1027
|
if (shouldOpenDdb) {
|
1027
1028
|
ev.preventDefault();
|
@@ -4675,8 +4676,9 @@ class ListEditorComponent {
|
|
4675
4676
|
this.itemSelect.emit(item);
|
4676
4677
|
}
|
4677
4678
|
onKeyDown(event, index) {
|
4679
|
+
const code = normalizeNumpadKeys(event);
|
4678
4680
|
const altKey = event.altKey;
|
4679
|
-
switch (
|
4681
|
+
switch (code) {
|
4680
4682
|
case Keys.ArrowDown:
|
4681
4683
|
case Keys.ArrowRight:
|
4682
4684
|
event.preventDefault();
|
@@ -5199,14 +5201,15 @@ class SpreadsheetComponent {
|
|
5199
5201
|
const isCtrl = e.ctrlKey || e.metaKey;
|
5200
5202
|
const shift = e.shiftKey;
|
5201
5203
|
const altKey = e.altKey;
|
5202
|
-
if (isCtrl && shift && e.
|
5204
|
+
if (isCtrl && shift && e.code === Keys.KeyS) {
|
5203
5205
|
this.spreadsheetService.onSheetsBarFocus.next();
|
5204
5206
|
}
|
5205
5207
|
if (altKey) {
|
5206
5208
|
const currentSheet = e.sender.activeSheet();
|
5207
5209
|
const validation = currentSheet.range(currentSheet.activeCell()).validation();
|
5210
|
+
const code = normalizeNumpadKeys(e);
|
5208
5211
|
if (isPresent(validation) && validation.dataType === 'list') {
|
5209
|
-
if (
|
5212
|
+
if (code === Keys.ArrowDown) {
|
5210
5213
|
this.spreadsheetWidget.view.openCustomEditor();
|
5211
5214
|
}
|
5212
5215
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@progress/kendo-angular-spreadsheet",
|
3
|
-
"version": "19.3.0-develop.
|
3
|
+
"version": "19.3.0-develop.33",
|
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": 1754589825,
|
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": "16 - 20",
|
30
30
|
"@angular/platform-browser": "16 - 20",
|
31
31
|
"@progress/kendo-licensing": "^1.7.0",
|
32
|
-
"@progress/kendo-angular-buttons": "19.3.0-develop.
|
33
|
-
"@progress/kendo-angular-common": "19.3.0-develop.
|
34
|
-
"@progress/kendo-angular-dialog": "19.3.0-develop.
|
35
|
-
"@progress/kendo-angular-dropdowns": "19.3.0-develop.
|
36
|
-
"@progress/kendo-angular-icons": "19.3.0-develop.
|
37
|
-
"@progress/kendo-angular-inputs": "19.3.0-develop.
|
38
|
-
"@progress/kendo-angular-dateinputs": "19.3.0-develop.
|
39
|
-
"@progress/kendo-angular-intl": "19.3.0-develop.
|
40
|
-
"@progress/kendo-angular-l10n": "19.3.0-develop.
|
41
|
-
"@progress/kendo-angular-label": "19.3.0-develop.
|
42
|
-
"@progress/kendo-angular-layout": "19.3.0-develop.
|
43
|
-
"@progress/kendo-angular-menu": "19.3.0-develop.
|
44
|
-
"@progress/kendo-angular-popup": "19.3.0-develop.
|
45
|
-
"@progress/kendo-angular-toolbar": "19.3.0-develop.
|
32
|
+
"@progress/kendo-angular-buttons": "19.3.0-develop.33",
|
33
|
+
"@progress/kendo-angular-common": "19.3.0-develop.33",
|
34
|
+
"@progress/kendo-angular-dialog": "19.3.0-develop.33",
|
35
|
+
"@progress/kendo-angular-dropdowns": "19.3.0-develop.33",
|
36
|
+
"@progress/kendo-angular-icons": "19.3.0-develop.33",
|
37
|
+
"@progress/kendo-angular-inputs": "19.3.0-develop.33",
|
38
|
+
"@progress/kendo-angular-dateinputs": "19.3.0-develop.33",
|
39
|
+
"@progress/kendo-angular-intl": "19.3.0-develop.33",
|
40
|
+
"@progress/kendo-angular-l10n": "19.3.0-develop.33",
|
41
|
+
"@progress/kendo-angular-label": "19.3.0-develop.33",
|
42
|
+
"@progress/kendo-angular-layout": "19.3.0-develop.33",
|
43
|
+
"@progress/kendo-angular-menu": "19.3.0-develop.33",
|
44
|
+
"@progress/kendo-angular-popup": "19.3.0-develop.33",
|
45
|
+
"@progress/kendo-angular-toolbar": "19.3.0-develop.33",
|
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": "19.3.0-develop.
|
50
|
+
"@progress/kendo-angular-schematics": "19.3.0-develop.33",
|
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",
|
@@ -6,8 +6,8 @@ function default_1(options) {
|
|
6
6
|
// Peer dependency of icons
|
7
7
|
'@progress/kendo-svg-icons': '^4.0.0',
|
8
8
|
// peer deps of the dropdowns
|
9
|
-
'@progress/kendo-angular-navigation': '19.3.0-develop.
|
10
|
-
'@progress/kendo-angular-treeview': '19.3.0-develop.
|
9
|
+
'@progress/kendo-angular-navigation': '19.3.0-develop.33',
|
10
|
+
'@progress/kendo-angular-treeview': '19.3.0-develop.33'
|
11
11
|
} });
|
12
12
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
13
13
|
}
|