@progress/kendo-angular-dateinputs 13.2.1 → 13.2.2-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.
- package/esm2020/datepicker/datepicker.component.mjs +6 -2
- package/esm2020/daterange/date-range-popup.component.mjs +5 -1
- package/esm2020/datetimepicker/datetimepicker.component.mjs +6 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/timepicker/timepicker.component.mjs +6 -2
- package/fesm2015/progress-kendo-angular-dateinputs.mjs +22 -6
- package/fesm2020/progress-kendo-angular-dateinputs.mjs +22 -6
- package/package.json +11 -11
|
@@ -7,7 +7,7 @@ import { NG_VALUE_ACCESSOR, NG_VALIDATORS, NgControl } from '@angular/forms';
|
|
|
7
7
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
9
9
|
import { cloneDate } from '@progress/kendo-date-math';
|
|
10
|
-
import { hasObservers, KendoInput, Keys } from '@progress/kendo-angular-common';
|
|
10
|
+
import { hasObservers, isDocumentAvailable, KendoInput, Keys } from '@progress/kendo-angular-common';
|
|
11
11
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
12
12
|
import { packageMetadata } from '../package-metadata';
|
|
13
13
|
import { MIN_DATE, MAX_DATE } from '../defaults';
|
|
@@ -569,7 +569,11 @@ export class DatePickerComponent {
|
|
|
569
569
|
}
|
|
570
570
|
ngAfterViewInit() {
|
|
571
571
|
this.setComponentClasses();
|
|
572
|
-
|
|
572
|
+
if (this.actionSheet && isDocumentAvailable()) {
|
|
573
|
+
// The following syntax is used as it does not violate CSP compliance
|
|
574
|
+
this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-height', '60vh');
|
|
575
|
+
this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-max-height', 'none');
|
|
576
|
+
}
|
|
573
577
|
}
|
|
574
578
|
/**
|
|
575
579
|
* @hidden
|
|
@@ -206,7 +206,11 @@ export class DateRangePopupComponent {
|
|
|
206
206
|
if (isWindowAvailable()) {
|
|
207
207
|
this.zone.runOutsideAngular(() => this.windowBlurSubscription = fromEvent(window, 'blur').subscribe(this.handleWindowBlur.bind(this)));
|
|
208
208
|
}
|
|
209
|
-
|
|
209
|
+
if (this.actionSheet && isDocumentAvailable()) {
|
|
210
|
+
// The following syntax is used as it does not violate CSP compliance
|
|
211
|
+
this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-height', '60vh');
|
|
212
|
+
this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-max-height', 'none');
|
|
213
|
+
}
|
|
210
214
|
}
|
|
211
215
|
ngOnDestroy() {
|
|
212
216
|
this.destroyPopup();
|
|
@@ -9,7 +9,7 @@ import { tap } from 'rxjs/operators';
|
|
|
9
9
|
import { cloneDate, isEqual, getDate } from '@progress/kendo-date-math';
|
|
10
10
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
11
11
|
import { IntlService } from '@progress/kendo-angular-intl';
|
|
12
|
-
import { hasObservers, KendoInput, Keys } from '@progress/kendo-angular-common';
|
|
12
|
+
import { hasObservers, isDocumentAvailable, KendoInput, Keys } from '@progress/kendo-angular-common';
|
|
13
13
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
14
14
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
15
15
|
import { packageMetadata } from '../package-metadata';
|
|
@@ -607,7 +607,11 @@ export class DateTimePickerComponent {
|
|
|
607
607
|
}
|
|
608
608
|
ngAfterViewInit() {
|
|
609
609
|
this.setComponentClasses();
|
|
610
|
-
|
|
610
|
+
if (this.actionSheet && isDocumentAvailable()) {
|
|
611
|
+
// The following syntax is used as it does not violate CSP compliance
|
|
612
|
+
this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-height', '60vh');
|
|
613
|
+
this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-max-height', 'none');
|
|
614
|
+
}
|
|
611
615
|
}
|
|
612
616
|
ngOnChanges(changes) {
|
|
613
617
|
if (isPresent(changes['min']) || isPresent(changes['max'])) {
|
|
@@ -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: '13.2.
|
|
12
|
+
publishDate: 1691141427,
|
|
13
|
+
version: '13.2.2-develop.2',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -7,7 +7,7 @@ import { NG_VALUE_ACCESSOR, NG_VALIDATORS, NgControl } from '@angular/forms';
|
|
|
7
7
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
9
9
|
import { cloneDate, isEqual } from '@progress/kendo-date-math';
|
|
10
|
-
import { hasObservers, KendoInput, Keys } from '@progress/kendo-angular-common';
|
|
10
|
+
import { hasObservers, isDocumentAvailable, KendoInput, Keys } from '@progress/kendo-angular-common';
|
|
11
11
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
12
12
|
import { packageMetadata } from '../package-metadata';
|
|
13
13
|
import { MIDNIGHT_DATE, MIN_TIME, MAX_TIME } from '../defaults';
|
|
@@ -478,7 +478,11 @@ export class TimePickerComponent {
|
|
|
478
478
|
*/
|
|
479
479
|
ngAfterViewInit() {
|
|
480
480
|
this.setComponentClasses();
|
|
481
|
-
|
|
481
|
+
if (this.actionSheet && isDocumentAvailable()) {
|
|
482
|
+
// The following syntax is used as it does not violate CSP compliance
|
|
483
|
+
this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-height', '60vh');
|
|
484
|
+
this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-max-height', 'none');
|
|
485
|
+
}
|
|
482
486
|
}
|
|
483
487
|
/**
|
|
484
488
|
* @hidden
|
|
@@ -36,8 +36,8 @@ const packageMetadata = {
|
|
|
36
36
|
name: '@progress/kendo-angular-dateinputs',
|
|
37
37
|
productName: 'Kendo UI for Angular',
|
|
38
38
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
39
|
-
publishDate:
|
|
40
|
-
version: '13.2.
|
|
39
|
+
publishDate: 1691141427,
|
|
40
|
+
version: '13.2.2-develop.2',
|
|
41
41
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
42
42
|
};
|
|
43
43
|
|
|
@@ -9340,7 +9340,11 @@ class DatePickerComponent {
|
|
|
9340
9340
|
}
|
|
9341
9341
|
ngAfterViewInit() {
|
|
9342
9342
|
this.setComponentClasses();
|
|
9343
|
-
|
|
9343
|
+
if (this.actionSheet && isDocumentAvailable()) {
|
|
9344
|
+
// The following syntax is used as it does not violate CSP compliance
|
|
9345
|
+
this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-height', '60vh');
|
|
9346
|
+
this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-max-height', 'none');
|
|
9347
|
+
}
|
|
9344
9348
|
}
|
|
9345
9349
|
/**
|
|
9346
9350
|
* @hidden
|
|
@@ -12588,7 +12592,11 @@ class TimePickerComponent {
|
|
|
12588
12592
|
*/
|
|
12589
12593
|
ngAfterViewInit() {
|
|
12590
12594
|
this.setComponentClasses();
|
|
12591
|
-
|
|
12595
|
+
if (this.actionSheet && isDocumentAvailable()) {
|
|
12596
|
+
// The following syntax is used as it does not violate CSP compliance
|
|
12597
|
+
this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-height', '60vh');
|
|
12598
|
+
this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-max-height', 'none');
|
|
12599
|
+
}
|
|
12592
12600
|
}
|
|
12593
12601
|
/**
|
|
12594
12602
|
* @hidden
|
|
@@ -14198,7 +14206,11 @@ class DateTimePickerComponent {
|
|
|
14198
14206
|
}
|
|
14199
14207
|
ngAfterViewInit() {
|
|
14200
14208
|
this.setComponentClasses();
|
|
14201
|
-
|
|
14209
|
+
if (this.actionSheet && isDocumentAvailable()) {
|
|
14210
|
+
// The following syntax is used as it does not violate CSP compliance
|
|
14211
|
+
this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-height', '60vh');
|
|
14212
|
+
this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-max-height', 'none');
|
|
14213
|
+
}
|
|
14202
14214
|
}
|
|
14203
14215
|
ngOnChanges(changes) {
|
|
14204
14216
|
var _a;
|
|
@@ -16325,7 +16337,11 @@ class DateRangePopupComponent {
|
|
|
16325
16337
|
if (isWindowAvailable()) {
|
|
16326
16338
|
this.zone.runOutsideAngular(() => this.windowBlurSubscription = fromEvent(window, 'blur').subscribe(this.handleWindowBlur.bind(this)));
|
|
16327
16339
|
}
|
|
16328
|
-
|
|
16340
|
+
if (this.actionSheet && isDocumentAvailable()) {
|
|
16341
|
+
// The following syntax is used as it does not violate CSP compliance
|
|
16342
|
+
this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-height', '60vh');
|
|
16343
|
+
this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-max-height', 'none');
|
|
16344
|
+
}
|
|
16329
16345
|
}
|
|
16330
16346
|
ngOnDestroy() {
|
|
16331
16347
|
this.destroyPopup();
|
|
@@ -36,8 +36,8 @@ const packageMetadata = {
|
|
|
36
36
|
name: '@progress/kendo-angular-dateinputs',
|
|
37
37
|
productName: 'Kendo UI for Angular',
|
|
38
38
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
39
|
-
publishDate:
|
|
40
|
-
version: '13.2.
|
|
39
|
+
publishDate: 1691141427,
|
|
40
|
+
version: '13.2.2-develop.2',
|
|
41
41
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
42
42
|
};
|
|
43
43
|
|
|
@@ -9329,7 +9329,11 @@ class DatePickerComponent {
|
|
|
9329
9329
|
}
|
|
9330
9330
|
ngAfterViewInit() {
|
|
9331
9331
|
this.setComponentClasses();
|
|
9332
|
-
|
|
9332
|
+
if (this.actionSheet && isDocumentAvailable()) {
|
|
9333
|
+
// The following syntax is used as it does not violate CSP compliance
|
|
9334
|
+
this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-height', '60vh');
|
|
9335
|
+
this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-max-height', 'none');
|
|
9336
|
+
}
|
|
9333
9337
|
}
|
|
9334
9338
|
/**
|
|
9335
9339
|
* @hidden
|
|
@@ -12568,7 +12572,11 @@ class TimePickerComponent {
|
|
|
12568
12572
|
*/
|
|
12569
12573
|
ngAfterViewInit() {
|
|
12570
12574
|
this.setComponentClasses();
|
|
12571
|
-
|
|
12575
|
+
if (this.actionSheet && isDocumentAvailable()) {
|
|
12576
|
+
// The following syntax is used as it does not violate CSP compliance
|
|
12577
|
+
this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-height', '60vh');
|
|
12578
|
+
this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-max-height', 'none');
|
|
12579
|
+
}
|
|
12572
12580
|
}
|
|
12573
12581
|
/**
|
|
12574
12582
|
* @hidden
|
|
@@ -14168,7 +14176,11 @@ class DateTimePickerComponent {
|
|
|
14168
14176
|
}
|
|
14169
14177
|
ngAfterViewInit() {
|
|
14170
14178
|
this.setComponentClasses();
|
|
14171
|
-
|
|
14179
|
+
if (this.actionSheet && isDocumentAvailable()) {
|
|
14180
|
+
// The following syntax is used as it does not violate CSP compliance
|
|
14181
|
+
this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-height', '60vh');
|
|
14182
|
+
this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-max-height', 'none');
|
|
14183
|
+
}
|
|
14172
14184
|
}
|
|
14173
14185
|
ngOnChanges(changes) {
|
|
14174
14186
|
if (isPresent(changes['min']) || isPresent(changes['max'])) {
|
|
@@ -16282,7 +16294,11 @@ class DateRangePopupComponent {
|
|
|
16282
16294
|
if (isWindowAvailable()) {
|
|
16283
16295
|
this.zone.runOutsideAngular(() => this.windowBlurSubscription = fromEvent(window, 'blur').subscribe(this.handleWindowBlur.bind(this)));
|
|
16284
16296
|
}
|
|
16285
|
-
|
|
16297
|
+
if (this.actionSheet && isDocumentAvailable()) {
|
|
16298
|
+
// The following syntax is used as it does not violate CSP compliance
|
|
16299
|
+
this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-height', '60vh');
|
|
16300
|
+
this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-max-height', 'none');
|
|
16301
|
+
}
|
|
16286
16302
|
}
|
|
16287
16303
|
ngOnDestroy() {
|
|
16288
16304
|
this.destroyPopup();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dateinputs",
|
|
3
|
-
"version": "13.2.
|
|
3
|
+
"version": "13.2.2-develop.2",
|
|
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",
|
|
@@ -33,20 +33,20 @@
|
|
|
33
33
|
"@angular/core": "13 - 16",
|
|
34
34
|
"@angular/platform-browser": "13 - 16",
|
|
35
35
|
"@progress/kendo-licensing": "^1.0.2",
|
|
36
|
-
"@progress/kendo-angular-common": "13.2.
|
|
37
|
-
"@progress/kendo-angular-intl": "13.2.
|
|
38
|
-
"@progress/kendo-angular-l10n": "13.2.
|
|
39
|
-
"@progress/kendo-angular-icons": "13.2.
|
|
40
|
-
"@progress/kendo-angular-popup": "13.2.
|
|
41
|
-
"@progress/kendo-angular-navigation": "13.2.
|
|
36
|
+
"@progress/kendo-angular-common": "13.2.2-develop.2",
|
|
37
|
+
"@progress/kendo-angular-intl": "13.2.2-develop.2",
|
|
38
|
+
"@progress/kendo-angular-l10n": "13.2.2-develop.2",
|
|
39
|
+
"@progress/kendo-angular-icons": "13.2.2-develop.2",
|
|
40
|
+
"@progress/kendo-angular-popup": "13.2.2-develop.2",
|
|
41
|
+
"@progress/kendo-angular-navigation": "13.2.2-develop.2",
|
|
42
42
|
"rxjs": "^6.5.3 || ^7.0.0",
|
|
43
|
-
"@progress/kendo-angular-buttons": "13.2.
|
|
44
|
-
"@progress/kendo-angular-inputs": "13.2.
|
|
45
|
-
"@progress/kendo-angular-label": "13.2.
|
|
43
|
+
"@progress/kendo-angular-buttons": "13.2.2-develop.2",
|
|
44
|
+
"@progress/kendo-angular-inputs": "13.2.2-develop.2",
|
|
45
|
+
"@progress/kendo-angular-label": "13.2.2-develop.2"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"tslib": "^2.3.1",
|
|
49
|
-
"@progress/kendo-angular-schematics": "13.2.
|
|
49
|
+
"@progress/kendo-angular-schematics": "13.2.2-develop.2",
|
|
50
50
|
"@progress/kendo-common": "^0.2.0",
|
|
51
51
|
"@progress/kendo-date-math": "^1.1.0"
|
|
52
52
|
},
|