@progress/kendo-angular-dateinputs 11.4.1-develop.3 → 11.4.1-develop.4
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/utils.d.ts +4 -0
- package/esm2020/common/utils.mjs +4 -0
- package/esm2020/datetimepicker/datetimepicker.component.mjs +2 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/fesm2015/progress-kendo-angular-dateinputs.mjs +8 -3
- package/fesm2020/progress-kendo-angular-dateinputs.mjs +7 -3
- package/package.json +11 -11
package/common/utils.d.ts
CHANGED
package/esm2020/common/utils.mjs
CHANGED
|
@@ -19,6 +19,10 @@ export const currentFocusTarget = (blurArgs) => blurArgs.relatedTarget || docume
|
|
|
19
19
|
* @hidden
|
|
20
20
|
*/
|
|
21
21
|
export const isPresent = (value) => value !== undefined && value !== null;
|
|
22
|
+
/**
|
|
23
|
+
* @hidden
|
|
24
|
+
*/
|
|
25
|
+
export const isTruthy = (value) => !!value;
|
|
22
26
|
/**
|
|
23
27
|
* @hidden
|
|
24
28
|
*
|
|
@@ -15,7 +15,7 @@ import { validatePackage } from '@progress/kendo-licensing';
|
|
|
15
15
|
import { packageMetadata } from '../package-metadata';
|
|
16
16
|
import { PickerService } from '../common/picker.service';
|
|
17
17
|
import { DisabledDatesService } from '../calendar/services/disabled-dates.service';
|
|
18
|
-
import { attributeNames, isPresent } from '../common/utils';
|
|
18
|
+
import { attributeNames, isPresent, isTruthy } from '../common/utils';
|
|
19
19
|
import { mergeDateAndTime, noop, lastMillisecondOfDate, isInRange, isValidRange, isWindowAvailable, getFillModeClass, getRoundedClass, getSizeClass, DEFAULT_FILL_MODE, DEFAULT_ROUNDED, DEFAULT_SIZE, windowSize } from '../util';
|
|
20
20
|
import { PreventableEvent } from '../preventable-event';
|
|
21
21
|
import { minValidator } from '../validators/min.validator';
|
|
@@ -403,7 +403,7 @@ export class DateTimePickerComponent {
|
|
|
403
403
|
if (!this.isAdaptive) {
|
|
404
404
|
return isPresent(this.popupRef);
|
|
405
405
|
}
|
|
406
|
-
return this.actionSheet
|
|
406
|
+
return isTruthy(this.actionSheet?.expanded);
|
|
407
407
|
}
|
|
408
408
|
/**
|
|
409
409
|
* Indicates whether the component or its popup content is focused.
|
|
@@ -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: '11.4.1-develop.
|
|
12
|
+
publishDate: 1679044613,
|
|
13
|
+
version: '11.4.1-develop.4',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -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: '11.4.1-develop.
|
|
39
|
+
publishDate: 1679044613,
|
|
40
|
+
version: '11.4.1-develop.4',
|
|
41
41
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
42
42
|
};
|
|
43
43
|
|
|
@@ -114,6 +114,10 @@ const currentFocusTarget = (blurArgs) => blurArgs.relatedTarget || document.acti
|
|
|
114
114
|
* @hidden
|
|
115
115
|
*/
|
|
116
116
|
const isPresent = (value) => value !== undefined && value !== null;
|
|
117
|
+
/**
|
|
118
|
+
* @hidden
|
|
119
|
+
*/
|
|
120
|
+
const isTruthy = (value) => !!value;
|
|
117
121
|
/**
|
|
118
122
|
* @hidden
|
|
119
123
|
*
|
|
@@ -13834,10 +13838,11 @@ class DateTimePickerComponent {
|
|
|
13834
13838
|
* Indicates whether the component is currently open. That is when the popup or actionSheet is open.
|
|
13835
13839
|
*/
|
|
13836
13840
|
get isOpen() {
|
|
13841
|
+
var _a;
|
|
13837
13842
|
if (!this.isAdaptive) {
|
|
13838
13843
|
return isPresent(this.popupRef);
|
|
13839
13844
|
}
|
|
13840
|
-
return this.actionSheet
|
|
13845
|
+
return isTruthy((_a = this.actionSheet) === null || _a === void 0 ? void 0 : _a.expanded);
|
|
13841
13846
|
}
|
|
13842
13847
|
/**
|
|
13843
13848
|
* Indicates whether the component or its popup content is focused.
|
|
@@ -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: '11.4.1-develop.
|
|
39
|
+
publishDate: 1679044613,
|
|
40
|
+
version: '11.4.1-develop.4',
|
|
41
41
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
42
42
|
};
|
|
43
43
|
|
|
@@ -101,6 +101,10 @@ const currentFocusTarget = (blurArgs) => blurArgs.relatedTarget || document.acti
|
|
|
101
101
|
* @hidden
|
|
102
102
|
*/
|
|
103
103
|
const isPresent = (value) => value !== undefined && value !== null;
|
|
104
|
+
/**
|
|
105
|
+
* @hidden
|
|
106
|
+
*/
|
|
107
|
+
const isTruthy = (value) => !!value;
|
|
104
108
|
/**
|
|
105
109
|
* @hidden
|
|
106
110
|
*
|
|
@@ -13819,7 +13823,7 @@ class DateTimePickerComponent {
|
|
|
13819
13823
|
if (!this.isAdaptive) {
|
|
13820
13824
|
return isPresent(this.popupRef);
|
|
13821
13825
|
}
|
|
13822
|
-
return this.actionSheet
|
|
13826
|
+
return isTruthy(this.actionSheet?.expanded);
|
|
13823
13827
|
}
|
|
13824
13828
|
/**
|
|
13825
13829
|
* Indicates whether the component or its popup content is focused.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dateinputs",
|
|
3
|
-
"version": "11.4.1-develop.
|
|
3
|
+
"version": "11.4.1-develop.4",
|
|
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 - 15",
|
|
34
34
|
"@angular/platform-browser": "13 - 15",
|
|
35
35
|
"@progress/kendo-licensing": "^1.0.2",
|
|
36
|
-
"@progress/kendo-angular-common": "11.4.1-develop.
|
|
37
|
-
"@progress/kendo-angular-intl": "11.4.1-develop.
|
|
38
|
-
"@progress/kendo-angular-l10n": "11.4.1-develop.
|
|
39
|
-
"@progress/kendo-angular-icons": "11.4.1-develop.
|
|
40
|
-
"@progress/kendo-angular-popup": "11.4.1-develop.
|
|
41
|
-
"@progress/kendo-angular-navigation": "11.4.1-develop.
|
|
36
|
+
"@progress/kendo-angular-common": "11.4.1-develop.4",
|
|
37
|
+
"@progress/kendo-angular-intl": "11.4.1-develop.4",
|
|
38
|
+
"@progress/kendo-angular-l10n": "11.4.1-develop.4",
|
|
39
|
+
"@progress/kendo-angular-icons": "11.4.1-develop.4",
|
|
40
|
+
"@progress/kendo-angular-popup": "11.4.1-develop.4",
|
|
41
|
+
"@progress/kendo-angular-navigation": "11.4.1-develop.4",
|
|
42
42
|
"rxjs": "^6.5.3 || ^7.0.0",
|
|
43
|
-
"@progress/kendo-angular-buttons": "11.4.1-develop.
|
|
44
|
-
"@progress/kendo-angular-inputs": "11.4.1-develop.
|
|
45
|
-
"@progress/kendo-angular-label": "11.4.1-develop.
|
|
43
|
+
"@progress/kendo-angular-buttons": "11.4.1-develop.4",
|
|
44
|
+
"@progress/kendo-angular-inputs": "11.4.1-develop.4",
|
|
45
|
+
"@progress/kendo-angular-label": "11.4.1-develop.4"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"tslib": "^2.3.1",
|
|
49
|
-
"@progress/kendo-angular-schematics": "11.4.1-develop.
|
|
49
|
+
"@progress/kendo-angular-schematics": "11.4.1-develop.4",
|
|
50
50
|
"@progress/kendo-common": "^0.2.0",
|
|
51
51
|
"@progress/kendo-date-math": "^1.1.0"
|
|
52
52
|
},
|