@progress/kendo-angular-dateinputs 16.1.1-develop.5 → 16.1.1-develop.7
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.
- package/common/adaptive.module.d.ts +1 -2
- package/esm2020/calendar/models/selection.mjs +2 -2
- package/esm2020/common/adaptive.module.mjs +4 -9
- package/esm2020/package-metadata.mjs +2 -2
- package/fesm2015/progress-kendo-angular-dateinputs.mjs +10 -15
- package/fesm2020/progress-kendo-angular-dateinputs.mjs +8 -13
- package/package.json +9 -8
|
@@ -6,13 +6,12 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
import * as i1 from "@progress/kendo-angular-navigation";
|
|
7
7
|
import * as i2 from "@progress/kendo-angular-common";
|
|
8
8
|
import * as i3 from "@progress/kendo-angular-buttons";
|
|
9
|
-
import * as i4 from "@progress/kendo-angular-inputs";
|
|
10
9
|
/**
|
|
11
10
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
12
11
|
* definition for the modules specific to the Adaptive Mode.
|
|
13
12
|
*/
|
|
14
13
|
export declare class AdaptiveModule {
|
|
15
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdaptiveModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AdaptiveModule, never, [typeof i1.NavigationModule, typeof i2.ResizeSensorModule, typeof i3.ButtonModule
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdaptiveModule, never, [typeof i1.NavigationModule, typeof i2.ResizeSensorModule, typeof i3.ButtonModule], [typeof i1.NavigationModule, typeof i2.ResizeSensorModule, typeof i3.ButtonModule]>;
|
|
17
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdaptiveModule>;
|
|
18
17
|
}
|
|
@@ -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
|
}
|
|
@@ -6,13 +6,11 @@ import { NgModule } from '@angular/core';
|
|
|
6
6
|
import { ResizeSensorModule } from '@progress/kendo-angular-common';
|
|
7
7
|
import { NavigationModule } from '@progress/kendo-angular-navigation';
|
|
8
8
|
import { ButtonModule } from '@progress/kendo-angular-buttons';
|
|
9
|
-
import { TextBoxModule } from '@progress/kendo-angular-inputs';
|
|
10
9
|
import * as i0 from "@angular/core";
|
|
11
10
|
const ADAPTIVE_MODULES = [
|
|
12
11
|
NavigationModule,
|
|
13
12
|
ResizeSensorModule,
|
|
14
|
-
ButtonModule
|
|
15
|
-
TextBoxModule
|
|
13
|
+
ButtonModule
|
|
16
14
|
];
|
|
17
15
|
/**
|
|
18
16
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
@@ -23,15 +21,12 @@ export class AdaptiveModule {
|
|
|
23
21
|
AdaptiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
24
22
|
AdaptiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, imports: [NavigationModule,
|
|
25
23
|
ResizeSensorModule,
|
|
26
|
-
ButtonModule,
|
|
27
|
-
TextBoxModule], exports: [NavigationModule,
|
|
24
|
+
ButtonModule], exports: [NavigationModule,
|
|
28
25
|
ResizeSensorModule,
|
|
29
|
-
ButtonModule
|
|
30
|
-
TextBoxModule] });
|
|
26
|
+
ButtonModule] });
|
|
31
27
|
AdaptiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, imports: [ADAPTIVE_MODULES, NavigationModule,
|
|
32
28
|
ResizeSensorModule,
|
|
33
|
-
ButtonModule
|
|
34
|
-
TextBoxModule] });
|
|
29
|
+
ButtonModule] });
|
|
35
30
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, decorators: [{
|
|
36
31
|
type: NgModule,
|
|
37
32
|
args: [{
|
|
@@ -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: 1716980238,
|
|
13
|
+
version: '16.1.1-develop.7',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -29,7 +29,6 @@ import { PopupModule } from '@progress/kendo-angular-popup';
|
|
|
29
29
|
import * as i12 from '@progress/kendo-angular-navigation';
|
|
30
30
|
import { NavigationModule } from '@progress/kendo-angular-navigation';
|
|
31
31
|
import { touchEnabled } from '@progress/kendo-common';
|
|
32
|
-
import { TextBoxModule } from '@progress/kendo-angular-inputs';
|
|
33
32
|
|
|
34
33
|
/**
|
|
35
34
|
* @hidden
|
|
@@ -38,8 +37,8 @@ const packageMetadata = {
|
|
|
38
37
|
name: '@progress/kendo-angular-dateinputs',
|
|
39
38
|
productName: 'Kendo UI for Angular',
|
|
40
39
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
41
|
-
publishDate:
|
|
42
|
-
version: '16.1.1-develop.
|
|
40
|
+
publishDate: 1716980238,
|
|
41
|
+
version: '16.1.1-develop.7',
|
|
43
42
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
44
43
|
};
|
|
45
44
|
|
|
@@ -3221,17 +3220,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3221
3220
|
* @hidden
|
|
3222
3221
|
*/
|
|
3223
3222
|
function handleRangeSelection(date, selectionRange, activeRangeEnd, allowReverse = false) {
|
|
3224
|
-
var _a, _b, _c;
|
|
3223
|
+
var _a, _b, _c, _d, _e;
|
|
3225
3224
|
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
3225
|
(activeRangeEnd === 'end' && ((_b = selectionRange.end) === null || _b === void 0 ? void 0 : _b.getTime()) === (date === null || date === void 0 ? void 0 : date.getTime()))) {
|
|
3227
3226
|
return { activeRangeEnd: activeRangeEnd, selectionRange: selectionRange };
|
|
3228
3227
|
}
|
|
3229
3228
|
if (allowReverse) {
|
|
3230
|
-
if (activeRangeEnd === 'start') {
|
|
3229
|
+
if (activeRangeEnd === 'start' && ((_c = selectionRange.start) === null || _c === void 0 ? void 0 : _c.getTime()) !== (date === null || date === void 0 ? void 0 : date.getTime())) {
|
|
3231
3230
|
selectionRange.start = date;
|
|
3232
3231
|
activeRangeEnd = 'end';
|
|
3233
3232
|
}
|
|
3234
|
-
else if (activeRangeEnd === 'end') {
|
|
3233
|
+
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
3234
|
selectionRange.end = date;
|
|
3236
3235
|
activeRangeEnd = 'start';
|
|
3237
3236
|
}
|
|
@@ -3246,7 +3245,7 @@ function handleRangeSelection(date, selectionRange, activeRangeEnd, allowReverse
|
|
|
3246
3245
|
selectionRange.start = date;
|
|
3247
3246
|
activeRangeEnd = 'end';
|
|
3248
3247
|
}
|
|
3249
|
-
else if (activeRangeEnd === 'end' && date >= selectionRange.start && date.getTime() !== ((
|
|
3248
|
+
else if (activeRangeEnd === 'end' && date >= selectionRange.start && date.getTime() !== ((_e = selectionRange.end) === null || _e === void 0 ? void 0 : _e.getTime())) {
|
|
3250
3249
|
selectionRange.end = date;
|
|
3251
3250
|
activeRangeEnd = 'start';
|
|
3252
3251
|
}
|
|
@@ -18793,8 +18792,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
18793
18792
|
const ADAPTIVE_MODULES = [
|
|
18794
18793
|
NavigationModule,
|
|
18795
18794
|
ResizeSensorModule,
|
|
18796
|
-
ButtonModule
|
|
18797
|
-
TextBoxModule
|
|
18795
|
+
ButtonModule
|
|
18798
18796
|
];
|
|
18799
18797
|
/**
|
|
18800
18798
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
@@ -18805,15 +18803,12 @@ class AdaptiveModule {
|
|
|
18805
18803
|
AdaptiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
18806
18804
|
AdaptiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, imports: [NavigationModule,
|
|
18807
18805
|
ResizeSensorModule,
|
|
18808
|
-
ButtonModule,
|
|
18809
|
-
TextBoxModule], exports: [NavigationModule,
|
|
18806
|
+
ButtonModule], exports: [NavigationModule,
|
|
18810
18807
|
ResizeSensorModule,
|
|
18811
|
-
ButtonModule
|
|
18812
|
-
TextBoxModule] });
|
|
18808
|
+
ButtonModule] });
|
|
18813
18809
|
AdaptiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, imports: [ADAPTIVE_MODULES, NavigationModule,
|
|
18814
18810
|
ResizeSensorModule,
|
|
18815
|
-
ButtonModule
|
|
18816
|
-
TextBoxModule] });
|
|
18811
|
+
ButtonModule] });
|
|
18817
18812
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, decorators: [{
|
|
18818
18813
|
type: NgModule,
|
|
18819
18814
|
args: [{
|
|
@@ -29,7 +29,6 @@ import { PopupModule } from '@progress/kendo-angular-popup';
|
|
|
29
29
|
import * as i12 from '@progress/kendo-angular-navigation';
|
|
30
30
|
import { NavigationModule } from '@progress/kendo-angular-navigation';
|
|
31
31
|
import { touchEnabled } from '@progress/kendo-common';
|
|
32
|
-
import { TextBoxModule } from '@progress/kendo-angular-inputs';
|
|
33
32
|
|
|
34
33
|
/**
|
|
35
34
|
* @hidden
|
|
@@ -38,8 +37,8 @@ const packageMetadata = {
|
|
|
38
37
|
name: '@progress/kendo-angular-dateinputs',
|
|
39
38
|
productName: 'Kendo UI for Angular',
|
|
40
39
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
41
|
-
publishDate:
|
|
42
|
-
version: '16.1.1-develop.
|
|
40
|
+
publishDate: 1716980238,
|
|
41
|
+
version: '16.1.1-develop.7',
|
|
43
42
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
44
43
|
};
|
|
45
44
|
|
|
@@ -3226,11 +3225,11 @@ function handleRangeSelection(date, selectionRange, activeRangeEnd, allowReverse
|
|
|
3226
3225
|
return { activeRangeEnd: activeRangeEnd, selectionRange: selectionRange };
|
|
3227
3226
|
}
|
|
3228
3227
|
if (allowReverse) {
|
|
3229
|
-
if (activeRangeEnd === 'start') {
|
|
3228
|
+
if (activeRangeEnd === 'start' && selectionRange.start?.getTime() !== date?.getTime()) {
|
|
3230
3229
|
selectionRange.start = date;
|
|
3231
3230
|
activeRangeEnd = 'end';
|
|
3232
3231
|
}
|
|
3233
|
-
else if (activeRangeEnd === 'end') {
|
|
3232
|
+
else if (activeRangeEnd === 'end' && selectionRange.end?.getTime() !== date?.getTime()) {
|
|
3234
3233
|
selectionRange.end = date;
|
|
3235
3234
|
activeRangeEnd = 'start';
|
|
3236
3235
|
}
|
|
@@ -18731,8 +18730,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
18731
18730
|
const ADAPTIVE_MODULES = [
|
|
18732
18731
|
NavigationModule,
|
|
18733
18732
|
ResizeSensorModule,
|
|
18734
|
-
ButtonModule
|
|
18735
|
-
TextBoxModule
|
|
18733
|
+
ButtonModule
|
|
18736
18734
|
];
|
|
18737
18735
|
/**
|
|
18738
18736
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
@@ -18743,15 +18741,12 @@ class AdaptiveModule {
|
|
|
18743
18741
|
AdaptiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
18744
18742
|
AdaptiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, imports: [NavigationModule,
|
|
18745
18743
|
ResizeSensorModule,
|
|
18746
|
-
ButtonModule,
|
|
18747
|
-
TextBoxModule], exports: [NavigationModule,
|
|
18744
|
+
ButtonModule], exports: [NavigationModule,
|
|
18748
18745
|
ResizeSensorModule,
|
|
18749
|
-
ButtonModule
|
|
18750
|
-
TextBoxModule] });
|
|
18746
|
+
ButtonModule] });
|
|
18751
18747
|
AdaptiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, imports: [ADAPTIVE_MODULES, NavigationModule,
|
|
18752
18748
|
ResizeSensorModule,
|
|
18753
|
-
ButtonModule
|
|
18754
|
-
TextBoxModule] });
|
|
18749
|
+
ButtonModule] });
|
|
18755
18750
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, decorators: [{
|
|
18756
18751
|
type: NgModule,
|
|
18757
18752
|
args: [{
|
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.7",
|
|
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,18 @@
|
|
|
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-
|
|
38
|
-
"@progress/kendo-angular-
|
|
39
|
-
"@progress/kendo-angular-
|
|
40
|
-
"@progress/kendo-angular-
|
|
41
|
-
"@progress/kendo-angular-
|
|
42
|
-
"@progress/kendo-angular-
|
|
37
|
+
"@progress/kendo-angular-buttons": "16.1.1-develop.7",
|
|
38
|
+
"@progress/kendo-angular-common": "16.1.1-develop.7",
|
|
39
|
+
"@progress/kendo-angular-intl": "16.1.1-develop.7",
|
|
40
|
+
"@progress/kendo-angular-l10n": "16.1.1-develop.7",
|
|
41
|
+
"@progress/kendo-angular-icons": "16.1.1-develop.7",
|
|
42
|
+
"@progress/kendo-angular-popup": "16.1.1-develop.7",
|
|
43
|
+
"@progress/kendo-angular-navigation": "16.1.1-develop.7",
|
|
43
44
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
44
45
|
},
|
|
45
46
|
"dependencies": {
|
|
46
47
|
"tslib": "^2.3.1",
|
|
47
|
-
"@progress/kendo-angular-schematics": "16.1.1-develop.
|
|
48
|
+
"@progress/kendo-angular-schematics": "16.1.1-develop.7",
|
|
48
49
|
"@progress/kendo-common": "^0.2.0",
|
|
49
50
|
"@progress/kendo-date-math": "^1.1.0",
|
|
50
51
|
"@progress/kendo-dateinputs-common": "^0.3.3"
|