@progress/kendo-angular-inputs 21.0.0-develop.27 → 21.0.0-develop.29
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: '21.0.0-develop.
|
|
13
|
+
publishDate: 1762888761,
|
|
14
|
+
version: '21.0.0-develop.29',
|
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
16
|
};
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { calculateFixedTrackSize, calculateTicksCount } from '../sliders-common/sliders-util';
|
|
6
6
|
import { subtract } from '../common/math';
|
|
7
7
|
import { isPresent } from '../common/utils';
|
|
8
|
+
import { isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
8
9
|
/**
|
|
9
10
|
* @hidden
|
|
10
11
|
*/
|
|
@@ -92,6 +93,9 @@ export class SliderModelBase {
|
|
|
92
93
|
}
|
|
93
94
|
}
|
|
94
95
|
elementOffset(element) {
|
|
96
|
+
if (!isDocumentAvailable()) {
|
|
97
|
+
return 0;
|
|
98
|
+
}
|
|
95
99
|
const { vertical } = this.props;
|
|
96
100
|
const style = getComputedStyle(element);
|
|
97
101
|
return parseInt(vertical ? style.bottom : style.left, 10);
|
|
@@ -107,7 +111,7 @@ export class SliderModelBase {
|
|
|
107
111
|
}
|
|
108
112
|
const BUTTONS_COUNT = 2;
|
|
109
113
|
const buttonStyles = this.button.nativeElement.getBoundingClientRect();
|
|
110
|
-
const wrapperGap = parseInt(window.getComputedStyle(this.wrapper.parentElement).gap);
|
|
114
|
+
const wrapperGap = isDocumentAvailable() ? parseInt(window.getComputedStyle(this.wrapper.parentElement).gap) : 0;
|
|
111
115
|
const buttonSize = this.props.vertical ? buttonStyles?.height : buttonStyles?.width;
|
|
112
116
|
return (buttonSize + wrapperGap) * BUTTONS_COUNT;
|
|
113
117
|
}
|
|
@@ -306,7 +306,7 @@ export class TextAreaComponent extends TextFieldsBase {
|
|
|
306
306
|
if (this.resizable === 'auto') {
|
|
307
307
|
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
308
308
|
this.initialHeight = element.offsetHeight;
|
|
309
|
-
if (this.maxResizableRows && this.rows) {
|
|
309
|
+
if (this.maxResizableRows && this.rows && isDocumentAvailable()) {
|
|
310
310
|
const heightValue = parseFloat(getComputedStyle(element).getPropertyValue('height')) - 2 * parseFloat(getComputedStyle(element).getPropertyValue('padding'));
|
|
311
311
|
this.maxResizableHeight = this.initialHeight + (heightValue * (this.maxResizableRows - this.rows));
|
|
312
312
|
}
|
|
@@ -7,11 +7,11 @@ import { InjectionToken, isDevMode, Directive, Optional, EventEmitter, ElementRe
|
|
|
7
7
|
import { NgControl, NG_VALUE_ACCESSOR, NG_VALIDATORS, RadioControlValueAccessor } from '@angular/forms';
|
|
8
8
|
import { Subscription, fromEvent, interval, merge, BehaviorSubject, Subject } from 'rxjs';
|
|
9
9
|
import { take, tap, filter, concatMap, startWith, takeUntil, skip, debounceTime, throttleTime } from 'rxjs/operators';
|
|
10
|
-
import * as i1 from '@progress/kendo-angular-l10n';
|
|
11
|
-
import { ComponentMessages, LocalizationService, L10N_PREFIX, RTL } from '@progress/kendo-angular-l10n';
|
|
12
10
|
import * as i8 from '@progress/kendo-angular-common';
|
|
13
|
-
import { Keys, guid, anyChanged,
|
|
11
|
+
import { isDocumentAvailable, Keys, guid, anyChanged, normalizeNumpadKeys, hasObservers, KendoInput, EventsOutsideAngularDirective, DraggableDirective, ResizeSensorComponent, isObjectPresent, removeHTMLAttributes, parseAttributes, isControlRequired, setHTMLAttributes, SuffixTemplateDirective, PrefixTemplateDirective, isChanged, isPresent as isPresent$1, isSafari, PreventableEvent, findFocusableChild, parseCSSClassNames, closest as closest$1, processCssValue, replaceMessagePlaceholder, getLicenseMessage, shouldShowValidationUI, WatermarkOverlayComponent, SeparatorComponent, ResizeBatchService, KENDO_ADORNMENTS } from '@progress/kendo-angular-common';
|
|
14
12
|
export { PrefixTemplateDirective, SeparatorComponent, SuffixTemplateDirective } from '@progress/kendo-angular-common';
|
|
13
|
+
import * as i1 from '@progress/kendo-angular-l10n';
|
|
14
|
+
import { ComponentMessages, LocalizationService, L10N_PREFIX, RTL } from '@progress/kendo-angular-l10n';
|
|
15
15
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
16
16
|
import { caretAltUpIcon, caretAltDownIcon, caretAltLeftIcon, caretAltRightIcon, checkIcon, exclamationCircleIcon, xIcon, caretAltExpandIcon, xCircleIcon, dropletSlashIcon, dropletSliderIcon, paletteIcon, starIcon, starOutlineIcon, hyperlinkOpenIcon } from '@progress/kendo-svg-icons';
|
|
17
17
|
import { NgFor, NgClass, NgSwitch, NgSwitchCase, NgTemplateOutlet, NgIf, NgStyle } from '@angular/common';
|
|
@@ -461,6 +461,9 @@ class SliderModelBase {
|
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
463
|
elementOffset(element) {
|
|
464
|
+
if (!isDocumentAvailable()) {
|
|
465
|
+
return 0;
|
|
466
|
+
}
|
|
464
467
|
const { vertical } = this.props;
|
|
465
468
|
const style = getComputedStyle(element);
|
|
466
469
|
return parseInt(vertical ? style.bottom : style.left, 10);
|
|
@@ -476,7 +479,7 @@ class SliderModelBase {
|
|
|
476
479
|
}
|
|
477
480
|
const BUTTONS_COUNT = 2;
|
|
478
481
|
const buttonStyles = this.button.nativeElement.getBoundingClientRect();
|
|
479
|
-
const wrapperGap = parseInt(window.getComputedStyle(this.wrapper.parentElement).gap);
|
|
482
|
+
const wrapperGap = isDocumentAvailable() ? parseInt(window.getComputedStyle(this.wrapper.parentElement).gap) : 0;
|
|
480
483
|
const buttonSize = this.props.vertical ? buttonStyles?.height : buttonStyles?.width;
|
|
481
484
|
return (buttonSize + wrapperGap) * BUTTONS_COUNT;
|
|
482
485
|
}
|
|
@@ -550,8 +553,8 @@ const packageMetadata = {
|
|
|
550
553
|
productName: 'Kendo UI for Angular',
|
|
551
554
|
productCode: 'KENDOUIANGULAR',
|
|
552
555
|
productCodes: ['KENDOUIANGULAR'],
|
|
553
|
-
publishDate:
|
|
554
|
-
version: '21.0.0-develop.
|
|
556
|
+
publishDate: 1762888761,
|
|
557
|
+
version: '21.0.0-develop.29',
|
|
555
558
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
556
559
|
};
|
|
557
560
|
|
|
@@ -17633,7 +17636,7 @@ class TextAreaComponent extends TextFieldsBase {
|
|
|
17633
17636
|
if (this.resizable === 'auto') {
|
|
17634
17637
|
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
17635
17638
|
this.initialHeight = element.offsetHeight;
|
|
17636
|
-
if (this.maxResizableRows && this.rows) {
|
|
17639
|
+
if (this.maxResizableRows && this.rows && isDocumentAvailable()) {
|
|
17637
17640
|
const heightValue = parseFloat(getComputedStyle(element).getPropertyValue('height')) - 2 * parseFloat(getComputedStyle(element).getPropertyValue('padding'));
|
|
17638
17641
|
this.maxResizableHeight = this.initialHeight + (heightValue * (this.maxResizableRows - this.rows));
|
|
17639
17642
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-inputs",
|
|
3
|
-
"version": "21.0.0-develop.
|
|
3
|
+
"version": "21.0.0-develop.29",
|
|
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": 1762888761,
|
|
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": "18 - 20",
|
|
41
41
|
"@progress/kendo-drawing": "^1.21.0",
|
|
42
42
|
"@progress/kendo-licensing": "^1.7.0",
|
|
43
|
-
"@progress/kendo-angular-buttons": "21.0.0-develop.
|
|
44
|
-
"@progress/kendo-angular-common": "21.0.0-develop.
|
|
45
|
-
"@progress/kendo-angular-utils": "21.0.0-develop.
|
|
46
|
-
"@progress/kendo-angular-navigation": "21.0.0-develop.
|
|
47
|
-
"@progress/kendo-angular-dialog": "21.0.0-develop.
|
|
48
|
-
"@progress/kendo-angular-intl": "21.0.0-develop.
|
|
49
|
-
"@progress/kendo-angular-l10n": "21.0.0-develop.
|
|
50
|
-
"@progress/kendo-angular-popup": "21.0.0-develop.
|
|
51
|
-
"@progress/kendo-angular-icons": "21.0.0-develop.
|
|
43
|
+
"@progress/kendo-angular-buttons": "21.0.0-develop.29",
|
|
44
|
+
"@progress/kendo-angular-common": "21.0.0-develop.29",
|
|
45
|
+
"@progress/kendo-angular-utils": "21.0.0-develop.29",
|
|
46
|
+
"@progress/kendo-angular-navigation": "21.0.0-develop.29",
|
|
47
|
+
"@progress/kendo-angular-dialog": "21.0.0-develop.29",
|
|
48
|
+
"@progress/kendo-angular-intl": "21.0.0-develop.29",
|
|
49
|
+
"@progress/kendo-angular-l10n": "21.0.0-develop.29",
|
|
50
|
+
"@progress/kendo-angular-popup": "21.0.0-develop.29",
|
|
51
|
+
"@progress/kendo-angular-icons": "21.0.0-develop.29",
|
|
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": "21.0.0-develop.
|
|
56
|
+
"@progress/kendo-angular-schematics": "21.0.0-develop.29",
|
|
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"
|