@progress/kendo-angular-spreadsheet 24.2.0-develop.8 → 24.2.0-develop.9
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.
|
@@ -48,8 +48,8 @@ const packageMetadata = {
|
|
|
48
48
|
productName: 'Kendo UI for Angular',
|
|
49
49
|
productCode: 'KENDOUIANGULAR',
|
|
50
50
|
productCodes: ['KENDOUIANGULAR'],
|
|
51
|
-
publishDate:
|
|
52
|
-
version: '24.2.0-develop.
|
|
51
|
+
publishDate: 1782303893,
|
|
52
|
+
version: '24.2.0-develop.9',
|
|
53
53
|
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',
|
|
54
54
|
};
|
|
55
55
|
|
|
@@ -622,6 +622,9 @@ class ErrorHandlingService {
|
|
|
622
622
|
const dialog = this.dialogService.open(dialogSettings);
|
|
623
623
|
this.spreadsheetService.spreadsheetComponent.closePopup();
|
|
624
624
|
const dialogInstance = dialog.dialog?.instance;
|
|
625
|
+
if (!dialogInstance) {
|
|
626
|
+
return;
|
|
627
|
+
}
|
|
625
628
|
dialogInstance.action.pipe(take(1)).subscribe((event) => {
|
|
626
629
|
if (event.text === this.messageFor('dialogOk')) {
|
|
627
630
|
messageData.close();
|
|
@@ -5346,6 +5349,9 @@ class SpreadsheetFilterDirective extends SpreadsheetCommandButton {
|
|
|
5346
5349
|
return;
|
|
5347
5350
|
}
|
|
5348
5351
|
const currentRange = isPresent(range) ? range : currentSheet.selection();
|
|
5352
|
+
if (!currentRange) {
|
|
5353
|
+
return;
|
|
5354
|
+
}
|
|
5349
5355
|
let disabled = true;
|
|
5350
5356
|
let rangeHasValue = false;
|
|
5351
5357
|
currentRange.values().forEach((nestedArr) => {
|
|
@@ -5354,8 +5360,11 @@ class SpreadsheetFilterDirective extends SpreadsheetCommandButton {
|
|
|
5354
5360
|
}
|
|
5355
5361
|
});
|
|
5356
5362
|
const currentRangeRef = currentRange._ref;
|
|
5357
|
-
|
|
5358
|
-
|
|
5363
|
+
if (!currentRangeRef) {
|
|
5364
|
+
return;
|
|
5365
|
+
}
|
|
5366
|
+
const isSingleCell = currentRangeRef.ref === 'cell' || (currentRangeRef.bottomRight.row === currentRangeRef.topLeft.row && currentRangeRef.bottomRight.col === currentRangeRef.topLeft.col);
|
|
5367
|
+
disabled = currentRangeRef.height() <= 1 || !rangeHasValue || isSingleCell;
|
|
5359
5368
|
if (button.disabled !== disabled) {
|
|
5360
5369
|
button.disabled = disabled;
|
|
5361
5370
|
this.cdr.detectChanges();
|
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.2.0-develop.
|
|
10
|
+
"publishDate": 1782303893,
|
|
11
|
+
"version": "24.2.0-develop.9",
|
|
12
12
|
"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"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-spreadsheet",
|
|
3
|
-
"version": "24.2.0-develop.
|
|
3
|
+
"version": "24.2.0-develop.9",
|
|
4
4
|
"description": "A Spreadsheet Component for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"package": {
|
|
41
41
|
"productName": "Kendo UI for Angular",
|
|
42
42
|
"productCode": "KENDOUIANGULAR",
|
|
43
|
-
"publishDate":
|
|
43
|
+
"publishDate": 1782303893,
|
|
44
44
|
"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"
|
|
45
45
|
}
|
|
46
46
|
},
|
|
@@ -50,26 +50,26 @@
|
|
|
50
50
|
"@angular/core": "19 - 22",
|
|
51
51
|
"@angular/platform-browser": "19 - 22",
|
|
52
52
|
"@progress/kendo-licensing": "^1.11.0",
|
|
53
|
-
"@progress/kendo-angular-buttons": "24.2.0-develop.
|
|
54
|
-
"@progress/kendo-angular-common": "24.2.0-develop.
|
|
55
|
-
"@progress/kendo-angular-dialog": "24.2.0-develop.
|
|
56
|
-
"@progress/kendo-angular-dropdowns": "24.2.0-develop.
|
|
57
|
-
"@progress/kendo-angular-icons": "24.2.0-develop.
|
|
58
|
-
"@progress/kendo-angular-inputs": "24.2.0-develop.
|
|
59
|
-
"@progress/kendo-angular-treeview": "24.2.0-develop.
|
|
60
|
-
"@progress/kendo-angular-dateinputs": "24.2.0-develop.
|
|
61
|
-
"@progress/kendo-angular-intl": "24.2.0-develop.
|
|
62
|
-
"@progress/kendo-angular-l10n": "24.2.0-develop.
|
|
63
|
-
"@progress/kendo-angular-label": "24.2.0-develop.
|
|
64
|
-
"@progress/kendo-angular-layout": "24.2.0-develop.
|
|
65
|
-
"@progress/kendo-angular-menu": "24.2.0-develop.
|
|
66
|
-
"@progress/kendo-angular-popup": "24.2.0-develop.
|
|
67
|
-
"@progress/kendo-angular-toolbar": "24.2.0-develop.
|
|
53
|
+
"@progress/kendo-angular-buttons": "24.2.0-develop.9",
|
|
54
|
+
"@progress/kendo-angular-common": "24.2.0-develop.9",
|
|
55
|
+
"@progress/kendo-angular-dialog": "24.2.0-develop.9",
|
|
56
|
+
"@progress/kendo-angular-dropdowns": "24.2.0-develop.9",
|
|
57
|
+
"@progress/kendo-angular-icons": "24.2.0-develop.9",
|
|
58
|
+
"@progress/kendo-angular-inputs": "24.2.0-develop.9",
|
|
59
|
+
"@progress/kendo-angular-treeview": "24.2.0-develop.9",
|
|
60
|
+
"@progress/kendo-angular-dateinputs": "24.2.0-develop.9",
|
|
61
|
+
"@progress/kendo-angular-intl": "24.2.0-develop.9",
|
|
62
|
+
"@progress/kendo-angular-l10n": "24.2.0-develop.9",
|
|
63
|
+
"@progress/kendo-angular-label": "24.2.0-develop.9",
|
|
64
|
+
"@progress/kendo-angular-layout": "24.2.0-develop.9",
|
|
65
|
+
"@progress/kendo-angular-menu": "24.2.0-develop.9",
|
|
66
|
+
"@progress/kendo-angular-popup": "24.2.0-develop.9",
|
|
67
|
+
"@progress/kendo-angular-toolbar": "24.2.0-develop.9",
|
|
68
68
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"tslib": "^2.3.1",
|
|
72
|
-
"@progress/kendo-angular-schematics": "24.2.0-develop.
|
|
72
|
+
"@progress/kendo-angular-schematics": "24.2.0-develop.9",
|
|
73
73
|
"@progress/jszip-esm": "^1.0.3",
|
|
74
74
|
"@progress/kendo-common": "^1.0.1",
|
|
75
75
|
"@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': '24.2.0-develop.
|
|
15
|
-
'@progress/kendo-angular-treeview': '24.2.0-develop.
|
|
14
|
+
'@progress/kendo-angular-navigation': '24.2.0-develop.9',
|
|
15
|
+
'@progress/kendo-angular-treeview': '24.2.0-develop.9'
|
|
16
16
|
} });
|
|
17
17
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
18
18
|
}
|