@progress/kendo-angular-dateinputs 16.1.1-develop.4 → 16.1.1-develop.6
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.
|
@@ -11,11 +11,11 @@ export function handleRangeSelection(date, selectionRange, activeRangeEnd, allow
|
|
|
11
11
|
return { activeRangeEnd: activeRangeEnd, selectionRange: selectionRange };
|
|
12
12
|
}
|
|
13
13
|
if (allowReverse) {
|
|
14
|
-
if (activeRangeEnd === 'start') {
|
|
14
|
+
if (activeRangeEnd === 'start' && selectionRange.start?.getTime() !== date?.getTime()) {
|
|
15
15
|
selectionRange.start = date;
|
|
16
16
|
activeRangeEnd = 'end';
|
|
17
17
|
}
|
|
18
|
-
else if (activeRangeEnd === 'end') {
|
|
18
|
+
else if (activeRangeEnd === 'end' && selectionRange.end?.getTime() !== date?.getTime()) {
|
|
19
19
|
selectionRange.end = date;
|
|
20
20
|
activeRangeEnd = 'start';
|
|
21
21
|
}
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-dateinputs',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '16.1.1-develop.
|
|
12
|
+
publishDate: 1716894434,
|
|
13
|
+
version: '16.1.1-develop.6',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -38,8 +38,8 @@ const packageMetadata = {
|
|
|
38
38
|
name: '@progress/kendo-angular-dateinputs',
|
|
39
39
|
productName: 'Kendo UI for Angular',
|
|
40
40
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
41
|
-
publishDate:
|
|
42
|
-
version: '16.1.1-develop.
|
|
41
|
+
publishDate: 1716894434,
|
|
42
|
+
version: '16.1.1-develop.6',
|
|
43
43
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
44
44
|
};
|
|
45
45
|
|
|
@@ -3221,17 +3221,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3221
3221
|
* @hidden
|
|
3222
3222
|
*/
|
|
3223
3223
|
function handleRangeSelection(date, selectionRange, activeRangeEnd, allowReverse = false) {
|
|
3224
|
-
var _a, _b, _c;
|
|
3224
|
+
var _a, _b, _c, _d, _e;
|
|
3225
3225
|
if ((activeRangeEnd === 'start' && ((_a = selectionRange.start) === null || _a === void 0 ? void 0 : _a.getTime()) === (date === null || date === void 0 ? void 0 : date.getTime()) && ((allowReverse && !selectionRange.end) || !allowReverse)) ||
|
|
3226
3226
|
(activeRangeEnd === 'end' && ((_b = selectionRange.end) === null || _b === void 0 ? void 0 : _b.getTime()) === (date === null || date === void 0 ? void 0 : date.getTime()))) {
|
|
3227
3227
|
return { activeRangeEnd: activeRangeEnd, selectionRange: selectionRange };
|
|
3228
3228
|
}
|
|
3229
3229
|
if (allowReverse) {
|
|
3230
|
-
if (activeRangeEnd === 'start') {
|
|
3230
|
+
if (activeRangeEnd === 'start' && ((_c = selectionRange.start) === null || _c === void 0 ? void 0 : _c.getTime()) !== (date === null || date === void 0 ? void 0 : date.getTime())) {
|
|
3231
3231
|
selectionRange.start = date;
|
|
3232
3232
|
activeRangeEnd = 'end';
|
|
3233
3233
|
}
|
|
3234
|
-
else if (activeRangeEnd === 'end') {
|
|
3234
|
+
else if (activeRangeEnd === 'end' && ((_d = selectionRange.end) === null || _d === void 0 ? void 0 : _d.getTime()) !== (date === null || date === void 0 ? void 0 : date.getTime())) {
|
|
3235
3235
|
selectionRange.end = date;
|
|
3236
3236
|
activeRangeEnd = 'start';
|
|
3237
3237
|
}
|
|
@@ -3246,7 +3246,7 @@ function handleRangeSelection(date, selectionRange, activeRangeEnd, allowReverse
|
|
|
3246
3246
|
selectionRange.start = date;
|
|
3247
3247
|
activeRangeEnd = 'end';
|
|
3248
3248
|
}
|
|
3249
|
-
else if (activeRangeEnd === 'end' && date >= selectionRange.start && date.getTime() !== ((
|
|
3249
|
+
else if (activeRangeEnd === 'end' && date >= selectionRange.start && date.getTime() !== ((_e = selectionRange.end) === null || _e === void 0 ? void 0 : _e.getTime())) {
|
|
3250
3250
|
selectionRange.end = date;
|
|
3251
3251
|
activeRangeEnd = 'start';
|
|
3252
3252
|
}
|
|
@@ -38,8 +38,8 @@ const packageMetadata = {
|
|
|
38
38
|
name: '@progress/kendo-angular-dateinputs',
|
|
39
39
|
productName: 'Kendo UI for Angular',
|
|
40
40
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
41
|
-
publishDate:
|
|
42
|
-
version: '16.1.1-develop.
|
|
41
|
+
publishDate: 1716894434,
|
|
42
|
+
version: '16.1.1-develop.6',
|
|
43
43
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
44
44
|
};
|
|
45
45
|
|
|
@@ -3226,11 +3226,11 @@ function handleRangeSelection(date, selectionRange, activeRangeEnd, allowReverse
|
|
|
3226
3226
|
return { activeRangeEnd: activeRangeEnd, selectionRange: selectionRange };
|
|
3227
3227
|
}
|
|
3228
3228
|
if (allowReverse) {
|
|
3229
|
-
if (activeRangeEnd === 'start') {
|
|
3229
|
+
if (activeRangeEnd === 'start' && selectionRange.start?.getTime() !== date?.getTime()) {
|
|
3230
3230
|
selectionRange.start = date;
|
|
3231
3231
|
activeRangeEnd = 'end';
|
|
3232
3232
|
}
|
|
3233
|
-
else if (activeRangeEnd === 'end') {
|
|
3233
|
+
else if (activeRangeEnd === 'end' && selectionRange.end?.getTime() !== date?.getTime()) {
|
|
3234
3234
|
selectionRange.end = date;
|
|
3235
3235
|
activeRangeEnd = 'start';
|
|
3236
3236
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dateinputs",
|
|
3
|
-
"version": "16.1.1-develop.
|
|
3
|
+
"version": "16.1.1-develop.6",
|
|
4
4
|
"description": "Kendo UI for Angular Date Inputs Package - Everything you need to add date selection functionality to apps (DatePicker, TimePicker, DateInput, DateRangePicker, DateTimePicker, Calendar, and MultiViewCalendar).",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
"@angular/forms": "15 - 18",
|
|
35
35
|
"@angular/platform-browser": "15 - 18",
|
|
36
36
|
"@progress/kendo-licensing": "^1.0.2",
|
|
37
|
-
"@progress/kendo-angular-common": "16.1.1-develop.
|
|
38
|
-
"@progress/kendo-angular-intl": "16.1.1-develop.
|
|
39
|
-
"@progress/kendo-angular-l10n": "16.1.1-develop.
|
|
40
|
-
"@progress/kendo-angular-icons": "16.1.1-develop.
|
|
41
|
-
"@progress/kendo-angular-popup": "16.1.1-develop.
|
|
42
|
-
"@progress/kendo-angular-navigation": "16.1.1-develop.
|
|
37
|
+
"@progress/kendo-angular-common": "16.1.1-develop.6",
|
|
38
|
+
"@progress/kendo-angular-intl": "16.1.1-develop.6",
|
|
39
|
+
"@progress/kendo-angular-l10n": "16.1.1-develop.6",
|
|
40
|
+
"@progress/kendo-angular-icons": "16.1.1-develop.6",
|
|
41
|
+
"@progress/kendo-angular-popup": "16.1.1-develop.6",
|
|
42
|
+
"@progress/kendo-angular-navigation": "16.1.1-develop.6",
|
|
43
43
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"tslib": "^2.3.1",
|
|
47
|
-
"@progress/kendo-angular-schematics": "16.1.1-develop.
|
|
47
|
+
"@progress/kendo-angular-schematics": "16.1.1-develop.6",
|
|
48
48
|
"@progress/kendo-common": "^0.2.0",
|
|
49
49
|
"@progress/kendo-date-math": "^1.1.0",
|
|
50
50
|
"@progress/kendo-dateinputs-common": "^0.3.3"
|