@progress/kendo-angular-inputs 25.3.0-develop.9 → 25.3.1-develop.1
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.
|
@@ -198,11 +198,18 @@ const divide = (dividend, divisor) => {
|
|
|
198
198
|
const correctionValue = Math.pow(10, power);
|
|
199
199
|
return ((correctionValue * dividend) / (correctionValue * divisor));
|
|
200
200
|
};
|
|
201
|
+
/**
|
|
202
|
+
* @hidden
|
|
203
|
+
*/
|
|
204
|
+
const floorDivide = (dividend, divisor) => {
|
|
205
|
+
const factor = Math.pow(10, maxFractionLength(dividend, divisor));
|
|
206
|
+
return Math.floor(divide(Math.round(dividend * factor), Math.round(divisor * factor)));
|
|
207
|
+
};
|
|
201
208
|
/**
|
|
202
209
|
* @hidden
|
|
203
210
|
*/
|
|
204
211
|
const remainder = (dividend, divisor) => {
|
|
205
|
-
return Math.abs(subtract(dividend, multiply(divisor,
|
|
212
|
+
return Math.abs(subtract(dividend, multiply(divisor, floorDivide(dividend, divisor))));
|
|
206
213
|
};
|
|
207
214
|
|
|
208
215
|
/**
|
|
@@ -217,7 +224,7 @@ const calculateTicksCount = (min = 0, max = 0, smallStep = 1) => {
|
|
|
217
224
|
throw new Error('Invalid argument: smallStep must be a positive number');
|
|
218
225
|
}
|
|
219
226
|
const adjustedRange = Math.abs(subtract(max, min));
|
|
220
|
-
const adjustedRatio =
|
|
227
|
+
const adjustedRatio = floorDivide(adjustedRange, smallStep);
|
|
221
228
|
const result = add(adjustedRatio, 1);
|
|
222
229
|
return result;
|
|
223
230
|
};
|
|
@@ -275,11 +282,11 @@ const snapValue = (value, options) => {
|
|
|
275
282
|
if (value !== limited) {
|
|
276
283
|
return limited;
|
|
277
284
|
}
|
|
278
|
-
|
|
279
|
-
const right = increaseValueToStep(value, options);
|
|
280
|
-
if ((value - min) % smallStep === 0) {
|
|
285
|
+
if (remainder(subtract(value, min), smallStep) === 0) {
|
|
281
286
|
return value;
|
|
282
287
|
}
|
|
288
|
+
const left = decreaseValueToStep(value, options);
|
|
289
|
+
const right = increaseValueToStep(value, options);
|
|
283
290
|
if (right - value <= (right - left) / 2) {
|
|
284
291
|
return right;
|
|
285
292
|
}
|
|
@@ -583,8 +590,8 @@ const packageMetadata = {
|
|
|
583
590
|
productName: 'Kendo UI for Angular',
|
|
584
591
|
productCode: 'KENDOUIANGULAR',
|
|
585
592
|
productCodes: ['KENDOUIANGULAR'],
|
|
586
|
-
publishDate:
|
|
587
|
-
version: '25.3.
|
|
593
|
+
publishDate: 1791447274,
|
|
594
|
+
version: '25.3.1-develop.1',
|
|
588
595
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
589
596
|
};
|
|
590
597
|
|
|
@@ -12538,7 +12545,7 @@ class FlatColorPickerHeaderComponent {
|
|
|
12538
12545
|
#clearButton
|
|
12539
12546
|
[size]="size"
|
|
12540
12547
|
fillMode="flat"
|
|
12541
|
-
icon="
|
|
12548
|
+
icon="droplet-slash"
|
|
12542
12549
|
[svgIcon]="dropletSlashIcon"
|
|
12543
12550
|
[attr.aria-label]="getText('clearButton')"
|
|
12544
12551
|
[attr.title]="getText('clearButton')"
|
|
@@ -12610,7 +12617,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.32", ngImpo
|
|
|
12610
12617
|
#clearButton
|
|
12611
12618
|
[size]="size"
|
|
12612
12619
|
fillMode="flat"
|
|
12613
|
-
icon="
|
|
12620
|
+
icon="droplet-slash"
|
|
12614
12621
|
[svgIcon]="dropletSlashIcon"
|
|
12615
12622
|
[attr.aria-label]="getText('clearButton')"
|
|
12616
12623
|
[attr.title]="getText('clearButton')"
|
|
@@ -17009,7 +17016,7 @@ class RatingComponent {
|
|
|
17009
17016
|
@if (icon) {
|
|
17010
17017
|
<kendo-icon-wrapper
|
|
17011
17018
|
size="xlarge"
|
|
17012
|
-
[name]="
|
|
17019
|
+
[name]="icon"
|
|
17013
17020
|
>
|
|
17014
17021
|
</kendo-icon-wrapper>
|
|
17015
17022
|
}
|
|
@@ -17050,7 +17057,7 @@ class RatingComponent {
|
|
|
17050
17057
|
@if (icon) {
|
|
17051
17058
|
<kendo-icon-wrapper
|
|
17052
17059
|
size="xlarge"
|
|
17053
|
-
[name]="icon
|
|
17060
|
+
[name]="icon"
|
|
17054
17061
|
>
|
|
17055
17062
|
</kendo-icon-wrapper>
|
|
17056
17063
|
}
|
|
@@ -17184,7 +17191,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.32", ngImpo
|
|
|
17184
17191
|
@if (icon) {
|
|
17185
17192
|
<kendo-icon-wrapper
|
|
17186
17193
|
size="xlarge"
|
|
17187
|
-
[name]="
|
|
17194
|
+
[name]="icon"
|
|
17188
17195
|
>
|
|
17189
17196
|
</kendo-icon-wrapper>
|
|
17190
17197
|
}
|
|
@@ -17225,7 +17232,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.32", ngImpo
|
|
|
17225
17232
|
@if (icon) {
|
|
17226
17233
|
<kendo-icon-wrapper
|
|
17227
17234
|
size="xlarge"
|
|
17228
|
-
[name]="icon
|
|
17235
|
+
[name]="icon"
|
|
17229
17236
|
>
|
|
17230
17237
|
</kendo-icon-wrapper>
|
|
17231
17238
|
}
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "25.3.
|
|
10
|
+
"publishDate": 1791447274,
|
|
11
|
+
"version": "25.3.1-develop.1",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-inputs",
|
|
3
|
-
"version": "25.3.
|
|
3
|
+
"version": "25.3.1-develop.1",
|
|
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",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"package": {
|
|
63
63
|
"productName": "Kendo UI for Angular",
|
|
64
64
|
"productCode": "KENDOUIANGULAR",
|
|
65
|
-
"publishDate":
|
|
65
|
+
"publishDate": 1791447274,
|
|
66
66
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
67
67
|
}
|
|
68
68
|
},
|
|
@@ -74,20 +74,20 @@
|
|
|
74
74
|
"@angular/platform-browser": "20 - 22",
|
|
75
75
|
"@progress/kendo-drawing": "^1.25.0",
|
|
76
76
|
"@progress/kendo-licensing": "^1.11.0",
|
|
77
|
-
"@progress/kendo-angular-buttons": "25.3.
|
|
78
|
-
"@progress/kendo-angular-common": "25.3.
|
|
79
|
-
"@progress/kendo-angular-utils": "25.3.
|
|
80
|
-
"@progress/kendo-angular-navigation": "25.3.
|
|
81
|
-
"@progress/kendo-angular-dialog": "25.3.
|
|
82
|
-
"@progress/kendo-angular-intl": "25.3.
|
|
83
|
-
"@progress/kendo-angular-l10n": "25.3.
|
|
84
|
-
"@progress/kendo-angular-popup": "25.3.
|
|
85
|
-
"@progress/kendo-angular-icons": "25.3.
|
|
77
|
+
"@progress/kendo-angular-buttons": "25.3.1-develop.1",
|
|
78
|
+
"@progress/kendo-angular-common": "25.3.1-develop.1",
|
|
79
|
+
"@progress/kendo-angular-utils": "25.3.1-develop.1",
|
|
80
|
+
"@progress/kendo-angular-navigation": "25.3.1-develop.1",
|
|
81
|
+
"@progress/kendo-angular-dialog": "25.3.1-develop.1",
|
|
82
|
+
"@progress/kendo-angular-intl": "25.3.1-develop.1",
|
|
83
|
+
"@progress/kendo-angular-l10n": "25.3.1-develop.1",
|
|
84
|
+
"@progress/kendo-angular-popup": "25.3.1-develop.1",
|
|
85
|
+
"@progress/kendo-angular-icons": "25.3.1-develop.1",
|
|
86
86
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
89
|
"tslib": "^2.3.1",
|
|
90
|
-
"@progress/kendo-angular-schematics": "25.3.
|
|
90
|
+
"@progress/kendo-angular-schematics": "25.3.1-develop.1",
|
|
91
91
|
"@progress/kendo-common": "^1.0.1",
|
|
92
92
|
"@progress/kendo-draggable": "^3.0.0",
|
|
93
93
|
"@progress/kendo-inputs-common": "^3.1.0"
|