@progress/kendo-angular-grid 19.2.0-develop.3 → 19.2.0-develop.4
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.
|
@@ -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.2.0-develop.
|
|
13
|
+
publishDate: 1750933458,
|
|
14
|
+
version: '19.2.0-develop.4',
|
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
16
|
};
|
|
@@ -270,7 +270,8 @@ export class ListComponent {
|
|
|
270
270
|
if (this.virtualColumns && (!this.viewportColumns || this.viewportWidthChange())) {
|
|
271
271
|
this.updateViewportColumns();
|
|
272
272
|
}
|
|
273
|
-
|
|
273
|
+
const shouldCalculatePageSize = isDocumentAvailable() && this.isVirtual && this.ctx.grid && !this.ctx.grid.pageSize;
|
|
274
|
+
if (shouldCalculatePageSize) {
|
|
274
275
|
const calculatedPageSize = this.calcVirtualPageSize();
|
|
275
276
|
if (calculatedPageSize > 0) {
|
|
276
277
|
this.ngZone.onMicrotaskEmpty.pipe(take(1)).subscribe(() => {
|
package/esm2022/utils.mjs
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { InjectionToken } from '@angular/core';
|
|
6
6
|
import { merge, of } from 'rxjs';
|
|
7
|
+
import { isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
7
8
|
export { isChanged, anyChanged, hasObservers } from '@progress/kendo-angular-common';
|
|
8
9
|
const EMPTY_REGEX = /^\s*$/;
|
|
9
10
|
/**
|
|
@@ -205,6 +206,9 @@ export const isMultipleRangesEnabled = (selectableSettings) => {
|
|
|
205
206
|
*/
|
|
206
207
|
export const calcRowHeight = (tableBody) => {
|
|
207
208
|
let result = 0;
|
|
209
|
+
if (!isDocumentAvailable()) {
|
|
210
|
+
return result;
|
|
211
|
+
}
|
|
208
212
|
if (tableBody) {
|
|
209
213
|
const row = tableBody.insertRow(0);
|
|
210
214
|
const cell = row.insertCell(0);
|
|
@@ -532,6 +532,9 @@ const isMultipleRangesEnabled = (selectableSettings) => {
|
|
|
532
532
|
*/
|
|
533
533
|
const calcRowHeight = (tableBody) => {
|
|
534
534
|
let result = 0;
|
|
535
|
+
if (!isDocumentAvailable()) {
|
|
536
|
+
return result;
|
|
537
|
+
}
|
|
535
538
|
if (tableBody) {
|
|
536
539
|
const row = tableBody.insertRow(0);
|
|
537
540
|
const cell = row.insertCell(0);
|
|
@@ -21213,8 +21216,8 @@ const packageMetadata = {
|
|
|
21213
21216
|
productName: 'Kendo UI for Angular',
|
|
21214
21217
|
productCode: 'KENDOUIANGULAR',
|
|
21215
21218
|
productCodes: ['KENDOUIANGULAR'],
|
|
21216
|
-
publishDate:
|
|
21217
|
-
version: '19.2.0-develop.
|
|
21219
|
+
publishDate: 1750933458,
|
|
21220
|
+
version: '19.2.0-develop.4',
|
|
21218
21221
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
21219
21222
|
};
|
|
21220
21223
|
|
|
@@ -23595,7 +23598,8 @@ class ListComponent {
|
|
|
23595
23598
|
if (this.virtualColumns && (!this.viewportColumns || this.viewportWidthChange())) {
|
|
23596
23599
|
this.updateViewportColumns();
|
|
23597
23600
|
}
|
|
23598
|
-
|
|
23601
|
+
const shouldCalculatePageSize = isDocumentAvailable() && this.isVirtual && this.ctx.grid && !this.ctx.grid.pageSize;
|
|
23602
|
+
if (shouldCalculatePageSize) {
|
|
23599
23603
|
const calculatedPageSize = this.calcVirtualPageSize();
|
|
23600
23604
|
if (calculatedPageSize > 0) {
|
|
23601
23605
|
this.ngZone.onMicrotaskEmpty.pipe(take(1)).subscribe(() => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-grid",
|
|
3
|
-
"version": "19.2.0-develop.
|
|
3
|
+
"version": "19.2.0-develop.4",
|
|
4
4
|
"description": "Kendo UI Grid for Angular - high performance data grid with paging, filtering, virtualization, CRUD, and more.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"package": {
|
|
27
27
|
"productName": "Kendo UI for Angular",
|
|
28
28
|
"productCode": "KENDOUIANGULAR",
|
|
29
|
-
"publishDate":
|
|
29
|
+
"publishDate": 1750933458,
|
|
30
30
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
31
31
|
}
|
|
32
32
|
},
|
|
@@ -39,28 +39,28 @@
|
|
|
39
39
|
"@progress/kendo-data-query": "^1.0.0",
|
|
40
40
|
"@progress/kendo-drawing": "^1.21.0",
|
|
41
41
|
"@progress/kendo-licensing": "^1.5.0",
|
|
42
|
-
"@progress/kendo-angular-buttons": "19.2.0-develop.
|
|
43
|
-
"@progress/kendo-angular-common": "19.2.0-develop.
|
|
44
|
-
"@progress/kendo-angular-dateinputs": "19.2.0-develop.
|
|
45
|
-
"@progress/kendo-angular-layout": "19.2.0-develop.
|
|
46
|
-
"@progress/kendo-angular-navigation": "19.2.0-develop.
|
|
47
|
-
"@progress/kendo-angular-dropdowns": "19.2.0-develop.
|
|
48
|
-
"@progress/kendo-angular-excel-export": "19.2.0-develop.
|
|
49
|
-
"@progress/kendo-angular-icons": "19.2.0-develop.
|
|
50
|
-
"@progress/kendo-angular-inputs": "19.2.0-develop.
|
|
51
|
-
"@progress/kendo-angular-intl": "19.2.0-develop.
|
|
52
|
-
"@progress/kendo-angular-l10n": "19.2.0-develop.
|
|
53
|
-
"@progress/kendo-angular-label": "19.2.0-develop.
|
|
54
|
-
"@progress/kendo-angular-pager": "19.2.0-develop.
|
|
55
|
-
"@progress/kendo-angular-pdf-export": "19.2.0-develop.
|
|
56
|
-
"@progress/kendo-angular-popup": "19.2.0-develop.
|
|
57
|
-
"@progress/kendo-angular-toolbar": "19.2.0-develop.
|
|
58
|
-
"@progress/kendo-angular-utils": "19.2.0-develop.
|
|
42
|
+
"@progress/kendo-angular-buttons": "19.2.0-develop.4",
|
|
43
|
+
"@progress/kendo-angular-common": "19.2.0-develop.4",
|
|
44
|
+
"@progress/kendo-angular-dateinputs": "19.2.0-develop.4",
|
|
45
|
+
"@progress/kendo-angular-layout": "19.2.0-develop.4",
|
|
46
|
+
"@progress/kendo-angular-navigation": "19.2.0-develop.4",
|
|
47
|
+
"@progress/kendo-angular-dropdowns": "19.2.0-develop.4",
|
|
48
|
+
"@progress/kendo-angular-excel-export": "19.2.0-develop.4",
|
|
49
|
+
"@progress/kendo-angular-icons": "19.2.0-develop.4",
|
|
50
|
+
"@progress/kendo-angular-inputs": "19.2.0-develop.4",
|
|
51
|
+
"@progress/kendo-angular-intl": "19.2.0-develop.4",
|
|
52
|
+
"@progress/kendo-angular-l10n": "19.2.0-develop.4",
|
|
53
|
+
"@progress/kendo-angular-label": "19.2.0-develop.4",
|
|
54
|
+
"@progress/kendo-angular-pager": "19.2.0-develop.4",
|
|
55
|
+
"@progress/kendo-angular-pdf-export": "19.2.0-develop.4",
|
|
56
|
+
"@progress/kendo-angular-popup": "19.2.0-develop.4",
|
|
57
|
+
"@progress/kendo-angular-toolbar": "19.2.0-develop.4",
|
|
58
|
+
"@progress/kendo-angular-utils": "19.2.0-develop.4",
|
|
59
59
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"tslib": "^2.3.1",
|
|
63
|
-
"@progress/kendo-angular-schematics": "19.2.0-develop.
|
|
63
|
+
"@progress/kendo-angular-schematics": "19.2.0-develop.4",
|
|
64
64
|
"@progress/kendo-common": "^1.0.1",
|
|
65
65
|
"@progress/kendo-file-saver": "^1.0.0"
|
|
66
66
|
},
|
|
@@ -4,14 +4,14 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
4
4
|
function default_1(options) {
|
|
5
5
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'GridModule', package: 'grid', peerDependencies: {
|
|
6
6
|
// peer deps of the dropdowns
|
|
7
|
-
'@progress/kendo-angular-treeview': '19.2.0-develop.
|
|
8
|
-
'@progress/kendo-angular-navigation': '19.2.0-develop.
|
|
7
|
+
'@progress/kendo-angular-treeview': '19.2.0-develop.4',
|
|
8
|
+
'@progress/kendo-angular-navigation': '19.2.0-develop.4',
|
|
9
9
|
// peer dependency of kendo-angular-inputs
|
|
10
|
-
'@progress/kendo-angular-dialog': '19.2.0-develop.
|
|
10
|
+
'@progress/kendo-angular-dialog': '19.2.0-develop.4',
|
|
11
11
|
// peer dependency of kendo-angular-icons
|
|
12
12
|
'@progress/kendo-svg-icons': '^4.0.0',
|
|
13
13
|
// peer dependency of kendo-angular-layout
|
|
14
|
-
'@progress/kendo-angular-progressbar': '19.2.0-develop.
|
|
14
|
+
'@progress/kendo-angular-progressbar': '19.2.0-develop.4'
|
|
15
15
|
} });
|
|
16
16
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
17
17
|
}
|