@progress/kendo-angular-inputs 20.0.2 → 20.0.3-develop.2
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.
|
@@ -70,7 +70,7 @@ export class FormComponent {
|
|
|
70
70
|
this.showLicenseWatermark = shouldShowValidationUI(isValid);
|
|
71
71
|
}
|
|
72
72
|
ngAfterContentInit() {
|
|
73
|
-
if (!isDocumentAvailable) {
|
|
73
|
+
if (!isDocumentAvailable()) {
|
|
74
74
|
return;
|
|
75
75
|
}
|
|
76
76
|
this.applyColumns();
|
|
@@ -78,7 +78,7 @@ export class FormComponent {
|
|
|
78
78
|
this.formService.formWidth.next(innerWidth(this.element.nativeElement));
|
|
79
79
|
}
|
|
80
80
|
ngOnChanges(changes) {
|
|
81
|
-
if (!isDocumentAvailable) {
|
|
81
|
+
if (!isDocumentAvailable()) {
|
|
82
82
|
return;
|
|
83
83
|
}
|
|
84
84
|
if (changes['cols']) {
|
package/esm2022/form/utils.mjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { processCssValue } from '@progress/kendo-angular-common';
|
|
5
|
+
import { isDocumentAvailable, processCssValue } from '@progress/kendo-angular-common';
|
|
6
6
|
/**
|
|
7
7
|
* @hidden
|
|
8
8
|
*/
|
|
@@ -15,6 +15,9 @@ export const DEFAULT_FORMFIELDSET_GUTTERS = { rows: '0px', cols: '16px' };
|
|
|
15
15
|
* @hidden
|
|
16
16
|
*/
|
|
17
17
|
export function innerWidth(element) {
|
|
18
|
+
if (!isDocumentAvailable()) {
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
18
21
|
let width = element.clientWidth;
|
|
19
22
|
const style = getComputedStyle(element);
|
|
20
23
|
width -= (parseFloat(style.paddingLeft) || 0) + (parseFloat(style.borderLeftWidth) || 0);
|
|
@@ -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: '20.0.2',
|
|
13
|
+
publishDate: 1756905503,
|
|
14
|
+
version: '20.0.3-develop.2',
|
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
16
|
};
|
|
@@ -550,8 +550,8 @@ const packageMetadata = {
|
|
|
550
550
|
productName: 'Kendo UI for Angular',
|
|
551
551
|
productCode: 'KENDOUIANGULAR',
|
|
552
552
|
productCodes: ['KENDOUIANGULAR'],
|
|
553
|
-
publishDate:
|
|
554
|
-
version: '20.0.2',
|
|
553
|
+
publishDate: 1756905503,
|
|
554
|
+
version: '20.0.3-develop.2',
|
|
555
555
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
556
556
|
};
|
|
557
557
|
|
|
@@ -14234,6 +14234,9 @@ const DEFAULT_FORMFIELDSET_GUTTERS = { rows: '0px', cols: '16px' };
|
|
|
14234
14234
|
* @hidden
|
|
14235
14235
|
*/
|
|
14236
14236
|
function innerWidth(element) {
|
|
14237
|
+
if (!isDocumentAvailable()) {
|
|
14238
|
+
return;
|
|
14239
|
+
}
|
|
14237
14240
|
let width = element.clientWidth;
|
|
14238
14241
|
const style = getComputedStyle(element);
|
|
14239
14242
|
width -= (parseFloat(style.paddingLeft) || 0) + (parseFloat(style.borderLeftWidth) || 0);
|
|
@@ -19151,7 +19154,7 @@ class FormComponent {
|
|
|
19151
19154
|
this.showLicenseWatermark = shouldShowValidationUI(isValid);
|
|
19152
19155
|
}
|
|
19153
19156
|
ngAfterContentInit() {
|
|
19154
|
-
if (!isDocumentAvailable) {
|
|
19157
|
+
if (!isDocumentAvailable()) {
|
|
19155
19158
|
return;
|
|
19156
19159
|
}
|
|
19157
19160
|
this.applyColumns();
|
|
@@ -19159,7 +19162,7 @@ class FormComponent {
|
|
|
19159
19162
|
this.formService.formWidth.next(innerWidth(this.element.nativeElement));
|
|
19160
19163
|
}
|
|
19161
19164
|
ngOnChanges(changes) {
|
|
19162
|
-
if (!isDocumentAvailable) {
|
|
19165
|
+
if (!isDocumentAvailable()) {
|
|
19163
19166
|
return;
|
|
19164
19167
|
}
|
|
19165
19168
|
if (changes['cols']) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-inputs",
|
|
3
|
-
"version": "20.0.2",
|
|
3
|
+
"version": "20.0.3-develop.2",
|
|
4
4
|
"description": "Kendo UI for Angular Inputs Package - Everything you need to build professional form functionality (Checkbox, ColorGradient, ColorPalette, ColorPicker, FlatColorPicker, FormField, MaskedTextBox, NumericTextBox, RadioButton, RangeSlider, Slider, Switch, TextArea, and TextBox Components)",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"package": {
|
|
29
29
|
"productName": "Kendo UI for Angular",
|
|
30
30
|
"productCode": "KENDOUIANGULAR",
|
|
31
|
-
"publishDate":
|
|
31
|
+
"publishDate": 1756905503,
|
|
32
32
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
33
33
|
}
|
|
34
34
|
},
|
|
@@ -40,20 +40,20 @@
|
|
|
40
40
|
"@angular/platform-browser": "16 - 20",
|
|
41
41
|
"@progress/kendo-drawing": "^1.21.0",
|
|
42
42
|
"@progress/kendo-licensing": "^1.7.0",
|
|
43
|
-
"@progress/kendo-angular-buttons": "20.0.2",
|
|
44
|
-
"@progress/kendo-angular-common": "20.0.2",
|
|
45
|
-
"@progress/kendo-angular-utils": "20.0.2",
|
|
46
|
-
"@progress/kendo-angular-navigation": "20.0.2",
|
|
47
|
-
"@progress/kendo-angular-dialog": "20.0.2",
|
|
48
|
-
"@progress/kendo-angular-intl": "20.0.2",
|
|
49
|
-
"@progress/kendo-angular-l10n": "20.0.2",
|
|
50
|
-
"@progress/kendo-angular-popup": "20.0.2",
|
|
51
|
-
"@progress/kendo-angular-icons": "20.0.2",
|
|
43
|
+
"@progress/kendo-angular-buttons": "20.0.3-develop.2",
|
|
44
|
+
"@progress/kendo-angular-common": "20.0.3-develop.2",
|
|
45
|
+
"@progress/kendo-angular-utils": "20.0.3-develop.2",
|
|
46
|
+
"@progress/kendo-angular-navigation": "20.0.3-develop.2",
|
|
47
|
+
"@progress/kendo-angular-dialog": "20.0.3-develop.2",
|
|
48
|
+
"@progress/kendo-angular-intl": "20.0.3-develop.2",
|
|
49
|
+
"@progress/kendo-angular-l10n": "20.0.3-develop.2",
|
|
50
|
+
"@progress/kendo-angular-popup": "20.0.3-develop.2",
|
|
51
|
+
"@progress/kendo-angular-icons": "20.0.3-develop.2",
|
|
52
52
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"tslib": "^2.3.1",
|
|
56
|
-
"@progress/kendo-angular-schematics": "20.0.2",
|
|
56
|
+
"@progress/kendo-angular-schematics": "20.0.3-develop.2",
|
|
57
57
|
"@progress/kendo-common": "^1.0.1",
|
|
58
58
|
"@progress/kendo-draggable": "^3.0.0",
|
|
59
59
|
"@progress/kendo-inputs-common": "^3.1.0"
|