@progress/kendo-angular-dateinputs 11.4.1-develop.2 → 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/datetimepicker/localization/datetimepicker-custom-messages.component.d.ts +2 -2
- package/datetimepicker/localization/localized-messages.directive.d.ts +2 -2
- package/datetimepicker/localization/messages.d.ts +23 -3
- package/esm2020/common/utils.mjs +4 -0
- package/esm2020/datetimepicker/datetimepicker.component.mjs +52 -4
- package/esm2020/datetimepicker/localization/datetimepicker-custom-messages.component.mjs +4 -4
- package/esm2020/datetimepicker/localization/localized-messages.directive.mjs +4 -4
- package/esm2020/datetimepicker/localization/messages.mjs +14 -4
- package/esm2020/package-metadata.mjs +2 -2
- package/fesm2015/progress-kendo-angular-dateinputs.mjs +88 -25
- package/fesm2020/progress-kendo-angular-dateinputs.mjs +87 -25
- package/package.json +11 -11
package/common/utils.d.ts
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
-
import {
|
|
6
|
+
import { DateTimePickerMessages } from './messages';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
10
10
|
*/
|
|
11
|
-
export declare class DateTimePickerCustomMessagesComponent extends
|
|
11
|
+
export declare class DateTimePickerCustomMessagesComponent extends DateTimePickerMessages {
|
|
12
12
|
protected service: LocalizationService;
|
|
13
13
|
constructor(service: LocalizationService);
|
|
14
14
|
protected get override(): boolean;
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
-
import {
|
|
6
|
+
import { DateTimePickerMessages } from './messages';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* @hidden
|
|
10
10
|
*/
|
|
11
|
-
export declare class LocalizedMessagesDirective extends
|
|
11
|
+
export declare class LocalizedMessagesDirective extends DateTimePickerMessages {
|
|
12
12
|
protected service: LocalizationService;
|
|
13
13
|
constructor(service: LocalizationService);
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedMessagesDirective, never>;
|
|
@@ -7,7 +7,7 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
/**
|
|
8
8
|
* @hidden
|
|
9
9
|
*/
|
|
10
|
-
export declare class
|
|
10
|
+
export declare class DateTimePickerMessages extends ComponentMessages {
|
|
11
11
|
/**
|
|
12
12
|
* The title of the **Toggle** button of the DateTimePicker.
|
|
13
13
|
*/
|
|
@@ -64,6 +64,26 @@ export declare class Messages extends ComponentMessages {
|
|
|
64
64
|
* The title of the **Next** button in the header of the Classic Calendar.
|
|
65
65
|
*/
|
|
66
66
|
nextButtonTitle: string;
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
/**
|
|
68
|
+
* The label of the **Hour** part in the TimePicker.
|
|
69
|
+
*/
|
|
70
|
+
hour: string;
|
|
71
|
+
/**
|
|
72
|
+
* The label of the **Minute** part in the TimePicker.
|
|
73
|
+
*/
|
|
74
|
+
minute: string;
|
|
75
|
+
/**
|
|
76
|
+
* The label of the **Second** part in the TimePicker.
|
|
77
|
+
*/
|
|
78
|
+
second: string;
|
|
79
|
+
/**
|
|
80
|
+
* The label of the **Millisecond** part in the TimePicker.
|
|
81
|
+
*/
|
|
82
|
+
millisecond: string;
|
|
83
|
+
/**
|
|
84
|
+
* The label of the **Dayperiod** part in the TimePicker.
|
|
85
|
+
*/
|
|
86
|
+
dayperiod: string;
|
|
87
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePickerMessages, never>;
|
|
88
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateTimePickerMessages, "kendo-datetimepicker-messages-base", never, { "toggle": "toggle"; "dateTab": "dateTab"; "dateTabLabel": "dateTabLabel"; "timeTab": "timeTab"; "timeTabLabel": "timeTabLabel"; "accept": "accept"; "acceptLabel": "acceptLabel"; "cancel": "cancel"; "cancelLabel": "cancelLabel"; "today": "today"; "now": "now"; "nowLabel": "nowLabel"; "prevButtonTitle": "prevButtonTitle"; "nextButtonTitle": "nextButtonTitle"; "hour": "hour"; "minute": "minute"; "second": "second"; "millisecond": "millisecond"; "dayperiod": "dayperiod"; }, {}, never>;
|
|
69
89
|
}
|
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.
|
|
@@ -1209,6 +1209,21 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
1209
1209
|
|
|
1210
1210
|
i18n-nextButtonTitle="kendo.datetimepicker.nextButtonTitle|The title of the next button in the Classic calendar"
|
|
1211
1211
|
nextButtonTitle="Navigate to next view"
|
|
1212
|
+
|
|
1213
|
+
i18n-hour="kendo.datetimepicker.hour|The label for the hour part in the timepicker component"
|
|
1214
|
+
hour="Hour"
|
|
1215
|
+
|
|
1216
|
+
i18n-minute="kendo.datetimepicker.minute|The label for the minute part in the timepicker component"
|
|
1217
|
+
minute="Minute"
|
|
1218
|
+
|
|
1219
|
+
i18n-second="kendo.datetimepicker.second|The label for the second part in the timepicker component"
|
|
1220
|
+
second="Second"
|
|
1221
|
+
|
|
1222
|
+
i18n-millisecond="kendo.datetimepicker.millisecond|The label for the millisecond part in the timepicker component"
|
|
1223
|
+
millisecond="Millisecond"
|
|
1224
|
+
|
|
1225
|
+
i18n-dayperiod="kendo.datetimepicker.dayperiod|The label for the dayperiod part in the timepicker component"
|
|
1226
|
+
dayperiod="Dayperiod"
|
|
1212
1227
|
>
|
|
1213
1228
|
</ng-container>
|
|
1214
1229
|
|
|
@@ -1434,8 +1449,17 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
1434
1449
|
[isDateTimePicker]="true"
|
|
1435
1450
|
>
|
|
1436
1451
|
<kendo-timeselector-messages
|
|
1437
|
-
[
|
|
1452
|
+
[acceptLabel]="localization.get('acceptLabel')"
|
|
1453
|
+
[accept]="localization.get('accept')"
|
|
1454
|
+
[cancelLabel]="localization.get('cancelLabel')"
|
|
1455
|
+
[cancel]="localization.get('cancel')"
|
|
1438
1456
|
[nowLabel]="localization.get('nowLabel')"
|
|
1457
|
+
[now]="localization.get('now')"
|
|
1458
|
+
[hour]="localization.get('hour')"
|
|
1459
|
+
[minute]="localization.get('minute')"
|
|
1460
|
+
[second]="localization.get('second')"
|
|
1461
|
+
[millisecond]="localization.get('millisecond')"
|
|
1462
|
+
[dayperiod]="localization.get('dayperiod')"
|
|
1439
1463
|
>
|
|
1440
1464
|
</kendo-timeselector-messages>
|
|
1441
1465
|
</kendo-timeselector>
|
|
@@ -1543,6 +1567,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
1543
1567
|
|
|
1544
1568
|
i18n-nextButtonTitle="kendo.datetimepicker.nextButtonTitle|The title of the next button in the Classic calendar"
|
|
1545
1569
|
nextButtonTitle="Navigate to next view"
|
|
1570
|
+
|
|
1571
|
+
i18n-hour="kendo.datetimepicker.hour|The label for the hour part in the timepicker component"
|
|
1572
|
+
hour="Hour"
|
|
1573
|
+
|
|
1574
|
+
i18n-minute="kendo.datetimepicker.minute|The label for the minute part in the timepicker component"
|
|
1575
|
+
minute="Minute"
|
|
1576
|
+
|
|
1577
|
+
i18n-second="kendo.datetimepicker.second|The label for the second part in the timepicker component"
|
|
1578
|
+
second="Second"
|
|
1579
|
+
|
|
1580
|
+
i18n-millisecond="kendo.datetimepicker.millisecond|The label for the millisecond part in the timepicker component"
|
|
1581
|
+
millisecond="Millisecond"
|
|
1582
|
+
|
|
1583
|
+
i18n-dayperiod="kendo.datetimepicker.dayperiod|The label for the dayperiod part in the timepicker component"
|
|
1584
|
+
dayperiod="Dayperiod"
|
|
1546
1585
|
>
|
|
1547
1586
|
</ng-container>
|
|
1548
1587
|
|
|
@@ -1768,8 +1807,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
1768
1807
|
[isDateTimePicker]="true"
|
|
1769
1808
|
>
|
|
1770
1809
|
<kendo-timeselector-messages
|
|
1771
|
-
[
|
|
1810
|
+
[acceptLabel]="localization.get('acceptLabel')"
|
|
1811
|
+
[accept]="localization.get('accept')"
|
|
1812
|
+
[cancelLabel]="localization.get('cancelLabel')"
|
|
1813
|
+
[cancel]="localization.get('cancel')"
|
|
1772
1814
|
[nowLabel]="localization.get('nowLabel')"
|
|
1815
|
+
[now]="localization.get('now')"
|
|
1816
|
+
[hour]="localization.get('hour')"
|
|
1817
|
+
[minute]="localization.get('minute')"
|
|
1818
|
+
[second]="localization.get('second')"
|
|
1819
|
+
[millisecond]="localization.get('millisecond')"
|
|
1820
|
+
[dayperiod]="localization.get('dayperiod')"
|
|
1773
1821
|
>
|
|
1774
1822
|
</kendo-timeselector-messages>
|
|
1775
1823
|
</kendo-timeselector>
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, forwardRef } from '@angular/core';
|
|
6
6
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import {
|
|
7
|
+
import { DateTimePickerMessages } from './messages';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
10
10
|
/**
|
|
11
11
|
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
12
12
|
*/
|
|
13
|
-
export class DateTimePickerCustomMessagesComponent extends
|
|
13
|
+
export class DateTimePickerCustomMessagesComponent extends DateTimePickerMessages {
|
|
14
14
|
constructor(service) {
|
|
15
15
|
super();
|
|
16
16
|
this.service = service;
|
|
@@ -22,7 +22,7 @@ export class DateTimePickerCustomMessagesComponent extends Messages {
|
|
|
22
22
|
DateTimePickerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateTimePickerCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
23
23
|
DateTimePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DateTimePickerCustomMessagesComponent, selector: "kendo-datetimepicker-messages", providers: [
|
|
24
24
|
{
|
|
25
|
-
provide:
|
|
25
|
+
provide: DateTimePickerMessages,
|
|
26
26
|
useExisting: forwardRef(() => DateTimePickerCustomMessagesComponent)
|
|
27
27
|
}
|
|
28
28
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
@@ -31,7 +31,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
31
31
|
args: [{
|
|
32
32
|
providers: [
|
|
33
33
|
{
|
|
34
|
-
provide:
|
|
34
|
+
provide: DateTimePickerMessages,
|
|
35
35
|
useExisting: forwardRef(() => DateTimePickerCustomMessagesComponent)
|
|
36
36
|
}
|
|
37
37
|
],
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, forwardRef } from '@angular/core';
|
|
6
6
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import {
|
|
7
|
+
import { DateTimePickerMessages } from './messages';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
12
12
|
*/
|
|
13
|
-
export class LocalizedMessagesDirective extends
|
|
13
|
+
export class LocalizedMessagesDirective extends DateTimePickerMessages {
|
|
14
14
|
constructor(service) {
|
|
15
15
|
super();
|
|
16
16
|
this.service = service;
|
|
@@ -19,7 +19,7 @@ export class LocalizedMessagesDirective extends Messages {
|
|
|
19
19
|
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
20
|
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: LocalizedMessagesDirective, selector: "[kendoDateTimePickerLocalizedMessages]", providers: [
|
|
21
21
|
{
|
|
22
|
-
provide:
|
|
22
|
+
provide: DateTimePickerMessages,
|
|
23
23
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
24
24
|
}
|
|
25
25
|
], usesInheritance: true, ngImport: i0 });
|
|
@@ -28,7 +28,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
28
28
|
args: [{
|
|
29
29
|
providers: [
|
|
30
30
|
{
|
|
31
|
-
provide:
|
|
31
|
+
provide: DateTimePickerMessages,
|
|
32
32
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
33
33
|
}
|
|
34
34
|
],
|
|
@@ -8,11 +8,11 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
/**
|
|
9
9
|
* @hidden
|
|
10
10
|
*/
|
|
11
|
-
export class
|
|
11
|
+
export class DateTimePickerMessages extends ComponentMessages {
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type:
|
|
13
|
+
DateTimePickerMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateTimePickerMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
14
|
+
DateTimePickerMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: DateTimePickerMessages, selector: "kendo-datetimepicker-messages-base", inputs: { toggle: "toggle", dateTab: "dateTab", dateTabLabel: "dateTabLabel", timeTab: "timeTab", timeTabLabel: "timeTabLabel", accept: "accept", acceptLabel: "acceptLabel", cancel: "cancel", cancelLabel: "cancelLabel", today: "today", now: "now", nowLabel: "nowLabel", prevButtonTitle: "prevButtonTitle", nextButtonTitle: "nextButtonTitle", hour: "hour", minute: "minute", second: "second", millisecond: "millisecond", dayperiod: "dayperiod" }, usesInheritance: true, ngImport: i0 });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateTimePickerMessages, decorators: [{
|
|
16
16
|
type: Directive,
|
|
17
17
|
args: [{
|
|
18
18
|
// eslint-disable-next-line
|
|
@@ -46,4 +46,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
46
46
|
type: Input
|
|
47
47
|
}], nextButtonTitle: [{
|
|
48
48
|
type: Input
|
|
49
|
+
}], hour: [{
|
|
50
|
+
type: Input
|
|
51
|
+
}], minute: [{
|
|
52
|
+
type: Input
|
|
53
|
+
}], second: [{
|
|
54
|
+
type: Input
|
|
55
|
+
}], millisecond: [{
|
|
56
|
+
type: Input
|
|
57
|
+
}], dayperiod: [{
|
|
58
|
+
type: Input
|
|
49
59
|
}] } });
|
|
@@ -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
|
*
|
|
@@ -3134,11 +3138,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
3134
3138
|
/**
|
|
3135
3139
|
* @hidden
|
|
3136
3140
|
*/
|
|
3137
|
-
class Messages
|
|
3141
|
+
class Messages extends ComponentMessages {
|
|
3138
3142
|
}
|
|
3139
|
-
Messages
|
|
3140
|
-
Messages
|
|
3141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: Messages
|
|
3143
|
+
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
3144
|
+
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: Messages, selector: "kendo-multiview-calendar-messages-base", inputs: { today: "today", prevButtonTitle: "prevButtonTitle", nextButtonTitle: "nextButtonTitle", parentViewButtonTitle: "parentViewButtonTitle" }, usesInheritance: true, ngImport: i0 });
|
|
3145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: Messages, decorators: [{
|
|
3142
3146
|
type: Directive,
|
|
3143
3147
|
args: [{
|
|
3144
3148
|
// eslint-disable-next-line
|
|
@@ -3157,7 +3161,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
3157
3161
|
/**
|
|
3158
3162
|
* @hidden
|
|
3159
3163
|
*/
|
|
3160
|
-
class MultiViewCalendarLocalizedMessagesDirective extends Messages
|
|
3164
|
+
class MultiViewCalendarLocalizedMessagesDirective extends Messages {
|
|
3161
3165
|
constructor(service) {
|
|
3162
3166
|
super();
|
|
3163
3167
|
this.service = service;
|
|
@@ -3166,7 +3170,7 @@ class MultiViewCalendarLocalizedMessagesDirective extends Messages$1 {
|
|
|
3166
3170
|
MultiViewCalendarLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultiViewCalendarLocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3167
3171
|
MultiViewCalendarLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: MultiViewCalendarLocalizedMessagesDirective, selector: "[kendoMultiViewCalendarLocalizedMessages]", providers: [
|
|
3168
3172
|
{
|
|
3169
|
-
provide: Messages
|
|
3173
|
+
provide: Messages,
|
|
3170
3174
|
useExisting: forwardRef(() => MultiViewCalendarLocalizedMessagesDirective)
|
|
3171
3175
|
}
|
|
3172
3176
|
], usesInheritance: true, ngImport: i0 });
|
|
@@ -3175,7 +3179,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
3175
3179
|
args: [{
|
|
3176
3180
|
providers: [
|
|
3177
3181
|
{
|
|
3178
|
-
provide: Messages
|
|
3182
|
+
provide: Messages,
|
|
3179
3183
|
useExisting: forwardRef(() => MultiViewCalendarLocalizedMessagesDirective)
|
|
3180
3184
|
}
|
|
3181
3185
|
],
|
|
@@ -5546,7 +5550,7 @@ class PickerService {
|
|
|
5546
5550
|
/**
|
|
5547
5551
|
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
5548
5552
|
*/
|
|
5549
|
-
class MultiViewCalendarCustomMessagesComponent extends Messages
|
|
5553
|
+
class MultiViewCalendarCustomMessagesComponent extends Messages {
|
|
5550
5554
|
constructor(service) {
|
|
5551
5555
|
super();
|
|
5552
5556
|
this.service = service;
|
|
@@ -5558,7 +5562,7 @@ class MultiViewCalendarCustomMessagesComponent extends Messages$1 {
|
|
|
5558
5562
|
MultiViewCalendarCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultiViewCalendarCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5559
5563
|
MultiViewCalendarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: MultiViewCalendarCustomMessagesComponent, selector: "kendo-multiviewcalendar-messages", providers: [
|
|
5560
5564
|
{
|
|
5561
|
-
provide: Messages
|
|
5565
|
+
provide: Messages,
|
|
5562
5566
|
useExisting: forwardRef(() => MultiViewCalendarCustomMessagesComponent)
|
|
5563
5567
|
}
|
|
5564
5568
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
@@ -5567,7 +5571,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
5567
5571
|
args: [{
|
|
5568
5572
|
providers: [
|
|
5569
5573
|
{
|
|
5570
|
-
provide: Messages
|
|
5574
|
+
provide: Messages,
|
|
5571
5575
|
useExisting: forwardRef(() => MultiViewCalendarCustomMessagesComponent)
|
|
5572
5576
|
}
|
|
5573
5577
|
],
|
|
@@ -13406,11 +13410,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
13406
13410
|
/**
|
|
13407
13411
|
* @hidden
|
|
13408
13412
|
*/
|
|
13409
|
-
class
|
|
13413
|
+
class DateTimePickerMessages extends ComponentMessages {
|
|
13410
13414
|
}
|
|
13411
|
-
|
|
13412
|
-
|
|
13413
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type:
|
|
13415
|
+
DateTimePickerMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateTimePickerMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
13416
|
+
DateTimePickerMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: DateTimePickerMessages, selector: "kendo-datetimepicker-messages-base", inputs: { toggle: "toggle", dateTab: "dateTab", dateTabLabel: "dateTabLabel", timeTab: "timeTab", timeTabLabel: "timeTabLabel", accept: "accept", acceptLabel: "acceptLabel", cancel: "cancel", cancelLabel: "cancelLabel", today: "today", now: "now", nowLabel: "nowLabel", prevButtonTitle: "prevButtonTitle", nextButtonTitle: "nextButtonTitle", hour: "hour", minute: "minute", second: "second", millisecond: "millisecond", dayperiod: "dayperiod" }, usesInheritance: true, ngImport: i0 });
|
|
13417
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateTimePickerMessages, decorators: [{
|
|
13414
13418
|
type: Directive,
|
|
13415
13419
|
args: [{
|
|
13416
13420
|
// eslint-disable-next-line
|
|
@@ -13444,12 +13448,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
13444
13448
|
type: Input
|
|
13445
13449
|
}], nextButtonTitle: [{
|
|
13446
13450
|
type: Input
|
|
13451
|
+
}], hour: [{
|
|
13452
|
+
type: Input
|
|
13453
|
+
}], minute: [{
|
|
13454
|
+
type: Input
|
|
13455
|
+
}], second: [{
|
|
13456
|
+
type: Input
|
|
13457
|
+
}], millisecond: [{
|
|
13458
|
+
type: Input
|
|
13459
|
+
}], dayperiod: [{
|
|
13460
|
+
type: Input
|
|
13447
13461
|
}] } });
|
|
13448
13462
|
|
|
13449
13463
|
/**
|
|
13450
13464
|
* @hidden
|
|
13451
13465
|
*/
|
|
13452
|
-
class LocalizedMessagesDirective extends
|
|
13466
|
+
class LocalizedMessagesDirective extends DateTimePickerMessages {
|
|
13453
13467
|
constructor(service) {
|
|
13454
13468
|
super();
|
|
13455
13469
|
this.service = service;
|
|
@@ -13458,7 +13472,7 @@ class LocalizedMessagesDirective extends Messages {
|
|
|
13458
13472
|
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13459
13473
|
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: LocalizedMessagesDirective, selector: "[kendoDateTimePickerLocalizedMessages]", providers: [
|
|
13460
13474
|
{
|
|
13461
|
-
provide:
|
|
13475
|
+
provide: DateTimePickerMessages,
|
|
13462
13476
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
13463
13477
|
}
|
|
13464
13478
|
], usesInheritance: true, ngImport: i0 });
|
|
@@ -13467,7 +13481,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
13467
13481
|
args: [{
|
|
13468
13482
|
providers: [
|
|
13469
13483
|
{
|
|
13470
|
-
provide:
|
|
13484
|
+
provide: DateTimePickerMessages,
|
|
13471
13485
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
13472
13486
|
}
|
|
13473
13487
|
],
|
|
@@ -13824,10 +13838,11 @@ class DateTimePickerComponent {
|
|
|
13824
13838
|
* Indicates whether the component is currently open. That is when the popup or actionSheet is open.
|
|
13825
13839
|
*/
|
|
13826
13840
|
get isOpen() {
|
|
13841
|
+
var _a;
|
|
13827
13842
|
if (!this.isAdaptive) {
|
|
13828
13843
|
return isPresent(this.popupRef);
|
|
13829
13844
|
}
|
|
13830
|
-
return this.actionSheet
|
|
13845
|
+
return isTruthy((_a = this.actionSheet) === null || _a === void 0 ? void 0 : _a.expanded);
|
|
13831
13846
|
}
|
|
13832
13847
|
/**
|
|
13833
13848
|
* Indicates whether the component or its popup content is focused.
|
|
@@ -14634,6 +14649,21 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
14634
14649
|
|
|
14635
14650
|
i18n-nextButtonTitle="kendo.datetimepicker.nextButtonTitle|The title of the next button in the Classic calendar"
|
|
14636
14651
|
nextButtonTitle="Navigate to next view"
|
|
14652
|
+
|
|
14653
|
+
i18n-hour="kendo.datetimepicker.hour|The label for the hour part in the timepicker component"
|
|
14654
|
+
hour="Hour"
|
|
14655
|
+
|
|
14656
|
+
i18n-minute="kendo.datetimepicker.minute|The label for the minute part in the timepicker component"
|
|
14657
|
+
minute="Minute"
|
|
14658
|
+
|
|
14659
|
+
i18n-second="kendo.datetimepicker.second|The label for the second part in the timepicker component"
|
|
14660
|
+
second="Second"
|
|
14661
|
+
|
|
14662
|
+
i18n-millisecond="kendo.datetimepicker.millisecond|The label for the millisecond part in the timepicker component"
|
|
14663
|
+
millisecond="Millisecond"
|
|
14664
|
+
|
|
14665
|
+
i18n-dayperiod="kendo.datetimepicker.dayperiod|The label for the dayperiod part in the timepicker component"
|
|
14666
|
+
dayperiod="Dayperiod"
|
|
14637
14667
|
>
|
|
14638
14668
|
</ng-container>
|
|
14639
14669
|
|
|
@@ -14859,8 +14889,17 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
14859
14889
|
[isDateTimePicker]="true"
|
|
14860
14890
|
>
|
|
14861
14891
|
<kendo-timeselector-messages
|
|
14862
|
-
[
|
|
14892
|
+
[acceptLabel]="localization.get('acceptLabel')"
|
|
14893
|
+
[accept]="localization.get('accept')"
|
|
14894
|
+
[cancelLabel]="localization.get('cancelLabel')"
|
|
14895
|
+
[cancel]="localization.get('cancel')"
|
|
14863
14896
|
[nowLabel]="localization.get('nowLabel')"
|
|
14897
|
+
[now]="localization.get('now')"
|
|
14898
|
+
[hour]="localization.get('hour')"
|
|
14899
|
+
[minute]="localization.get('minute')"
|
|
14900
|
+
[second]="localization.get('second')"
|
|
14901
|
+
[millisecond]="localization.get('millisecond')"
|
|
14902
|
+
[dayperiod]="localization.get('dayperiod')"
|
|
14864
14903
|
>
|
|
14865
14904
|
</kendo-timeselector-messages>
|
|
14866
14905
|
</kendo-timeselector>
|
|
@@ -14968,6 +15007,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
14968
15007
|
|
|
14969
15008
|
i18n-nextButtonTitle="kendo.datetimepicker.nextButtonTitle|The title of the next button in the Classic calendar"
|
|
14970
15009
|
nextButtonTitle="Navigate to next view"
|
|
15010
|
+
|
|
15011
|
+
i18n-hour="kendo.datetimepicker.hour|The label for the hour part in the timepicker component"
|
|
15012
|
+
hour="Hour"
|
|
15013
|
+
|
|
15014
|
+
i18n-minute="kendo.datetimepicker.minute|The label for the minute part in the timepicker component"
|
|
15015
|
+
minute="Minute"
|
|
15016
|
+
|
|
15017
|
+
i18n-second="kendo.datetimepicker.second|The label for the second part in the timepicker component"
|
|
15018
|
+
second="Second"
|
|
15019
|
+
|
|
15020
|
+
i18n-millisecond="kendo.datetimepicker.millisecond|The label for the millisecond part in the timepicker component"
|
|
15021
|
+
millisecond="Millisecond"
|
|
15022
|
+
|
|
15023
|
+
i18n-dayperiod="kendo.datetimepicker.dayperiod|The label for the dayperiod part in the timepicker component"
|
|
15024
|
+
dayperiod="Dayperiod"
|
|
14971
15025
|
>
|
|
14972
15026
|
</ng-container>
|
|
14973
15027
|
|
|
@@ -15193,8 +15247,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
15193
15247
|
[isDateTimePicker]="true"
|
|
15194
15248
|
>
|
|
15195
15249
|
<kendo-timeselector-messages
|
|
15196
|
-
[
|
|
15250
|
+
[acceptLabel]="localization.get('acceptLabel')"
|
|
15251
|
+
[accept]="localization.get('accept')"
|
|
15252
|
+
[cancelLabel]="localization.get('cancelLabel')"
|
|
15253
|
+
[cancel]="localization.get('cancel')"
|
|
15197
15254
|
[nowLabel]="localization.get('nowLabel')"
|
|
15255
|
+
[now]="localization.get('now')"
|
|
15256
|
+
[hour]="localization.get('hour')"
|
|
15257
|
+
[minute]="localization.get('minute')"
|
|
15258
|
+
[second]="localization.get('second')"
|
|
15259
|
+
[millisecond]="localization.get('millisecond')"
|
|
15260
|
+
[dayperiod]="localization.get('dayperiod')"
|
|
15198
15261
|
>
|
|
15199
15262
|
</kendo-timeselector-messages>
|
|
15200
15263
|
</kendo-timeselector>
|
|
@@ -17668,7 +17731,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
17668
17731
|
/**
|
|
17669
17732
|
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
17670
17733
|
*/
|
|
17671
|
-
class DateTimePickerCustomMessagesComponent extends
|
|
17734
|
+
class DateTimePickerCustomMessagesComponent extends DateTimePickerMessages {
|
|
17672
17735
|
constructor(service) {
|
|
17673
17736
|
super();
|
|
17674
17737
|
this.service = service;
|
|
@@ -17680,7 +17743,7 @@ class DateTimePickerCustomMessagesComponent extends Messages {
|
|
|
17680
17743
|
DateTimePickerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateTimePickerCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
17681
17744
|
DateTimePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DateTimePickerCustomMessagesComponent, selector: "kendo-datetimepicker-messages", providers: [
|
|
17682
17745
|
{
|
|
17683
|
-
provide:
|
|
17746
|
+
provide: DateTimePickerMessages,
|
|
17684
17747
|
useExisting: forwardRef(() => DateTimePickerCustomMessagesComponent)
|
|
17685
17748
|
}
|
|
17686
17749
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
@@ -17689,7 +17752,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
17689
17752
|
args: [{
|
|
17690
17753
|
providers: [
|
|
17691
17754
|
{
|
|
17692
|
-
provide:
|
|
17755
|
+
provide: DateTimePickerMessages,
|
|
17693
17756
|
useExisting: forwardRef(() => DateTimePickerCustomMessagesComponent)
|
|
17694
17757
|
}
|
|
17695
17758
|
],
|
|
@@ -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
|
*
|
|
@@ -3134,11 +3138,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
3134
3138
|
/**
|
|
3135
3139
|
* @hidden
|
|
3136
3140
|
*/
|
|
3137
|
-
class Messages
|
|
3141
|
+
class Messages extends ComponentMessages {
|
|
3138
3142
|
}
|
|
3139
|
-
Messages
|
|
3140
|
-
Messages
|
|
3141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: Messages
|
|
3143
|
+
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
3144
|
+
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: Messages, selector: "kendo-multiview-calendar-messages-base", inputs: { today: "today", prevButtonTitle: "prevButtonTitle", nextButtonTitle: "nextButtonTitle", parentViewButtonTitle: "parentViewButtonTitle" }, usesInheritance: true, ngImport: i0 });
|
|
3145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: Messages, decorators: [{
|
|
3142
3146
|
type: Directive,
|
|
3143
3147
|
args: [{
|
|
3144
3148
|
// eslint-disable-next-line
|
|
@@ -3157,7 +3161,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
3157
3161
|
/**
|
|
3158
3162
|
* @hidden
|
|
3159
3163
|
*/
|
|
3160
|
-
class MultiViewCalendarLocalizedMessagesDirective extends Messages
|
|
3164
|
+
class MultiViewCalendarLocalizedMessagesDirective extends Messages {
|
|
3161
3165
|
constructor(service) {
|
|
3162
3166
|
super();
|
|
3163
3167
|
this.service = service;
|
|
@@ -3166,7 +3170,7 @@ class MultiViewCalendarLocalizedMessagesDirective extends Messages$1 {
|
|
|
3166
3170
|
MultiViewCalendarLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultiViewCalendarLocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3167
3171
|
MultiViewCalendarLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: MultiViewCalendarLocalizedMessagesDirective, selector: "[kendoMultiViewCalendarLocalizedMessages]", providers: [
|
|
3168
3172
|
{
|
|
3169
|
-
provide: Messages
|
|
3173
|
+
provide: Messages,
|
|
3170
3174
|
useExisting: forwardRef(() => MultiViewCalendarLocalizedMessagesDirective)
|
|
3171
3175
|
}
|
|
3172
3176
|
], usesInheritance: true, ngImport: i0 });
|
|
@@ -3175,7 +3179,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
3175
3179
|
args: [{
|
|
3176
3180
|
providers: [
|
|
3177
3181
|
{
|
|
3178
|
-
provide: Messages
|
|
3182
|
+
provide: Messages,
|
|
3179
3183
|
useExisting: forwardRef(() => MultiViewCalendarLocalizedMessagesDirective)
|
|
3180
3184
|
}
|
|
3181
3185
|
],
|
|
@@ -5544,7 +5548,7 @@ class PickerService {
|
|
|
5544
5548
|
/**
|
|
5545
5549
|
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
5546
5550
|
*/
|
|
5547
|
-
class MultiViewCalendarCustomMessagesComponent extends Messages
|
|
5551
|
+
class MultiViewCalendarCustomMessagesComponent extends Messages {
|
|
5548
5552
|
constructor(service) {
|
|
5549
5553
|
super();
|
|
5550
5554
|
this.service = service;
|
|
@@ -5556,7 +5560,7 @@ class MultiViewCalendarCustomMessagesComponent extends Messages$1 {
|
|
|
5556
5560
|
MultiViewCalendarCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultiViewCalendarCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5557
5561
|
MultiViewCalendarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: MultiViewCalendarCustomMessagesComponent, selector: "kendo-multiviewcalendar-messages", providers: [
|
|
5558
5562
|
{
|
|
5559
|
-
provide: Messages
|
|
5563
|
+
provide: Messages,
|
|
5560
5564
|
useExisting: forwardRef(() => MultiViewCalendarCustomMessagesComponent)
|
|
5561
5565
|
}
|
|
5562
5566
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
@@ -5565,7 +5569,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
5565
5569
|
args: [{
|
|
5566
5570
|
providers: [
|
|
5567
5571
|
{
|
|
5568
|
-
provide: Messages
|
|
5572
|
+
provide: Messages,
|
|
5569
5573
|
useExisting: forwardRef(() => MultiViewCalendarCustomMessagesComponent)
|
|
5570
5574
|
}
|
|
5571
5575
|
],
|
|
@@ -13388,11 +13392,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
13388
13392
|
/**
|
|
13389
13393
|
* @hidden
|
|
13390
13394
|
*/
|
|
13391
|
-
class
|
|
13395
|
+
class DateTimePickerMessages extends ComponentMessages {
|
|
13392
13396
|
}
|
|
13393
|
-
|
|
13394
|
-
|
|
13395
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type:
|
|
13397
|
+
DateTimePickerMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateTimePickerMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
13398
|
+
DateTimePickerMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: DateTimePickerMessages, selector: "kendo-datetimepicker-messages-base", inputs: { toggle: "toggle", dateTab: "dateTab", dateTabLabel: "dateTabLabel", timeTab: "timeTab", timeTabLabel: "timeTabLabel", accept: "accept", acceptLabel: "acceptLabel", cancel: "cancel", cancelLabel: "cancelLabel", today: "today", now: "now", nowLabel: "nowLabel", prevButtonTitle: "prevButtonTitle", nextButtonTitle: "nextButtonTitle", hour: "hour", minute: "minute", second: "second", millisecond: "millisecond", dayperiod: "dayperiod" }, usesInheritance: true, ngImport: i0 });
|
|
13399
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateTimePickerMessages, decorators: [{
|
|
13396
13400
|
type: Directive,
|
|
13397
13401
|
args: [{
|
|
13398
13402
|
// eslint-disable-next-line
|
|
@@ -13426,12 +13430,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
13426
13430
|
type: Input
|
|
13427
13431
|
}], nextButtonTitle: [{
|
|
13428
13432
|
type: Input
|
|
13433
|
+
}], hour: [{
|
|
13434
|
+
type: Input
|
|
13435
|
+
}], minute: [{
|
|
13436
|
+
type: Input
|
|
13437
|
+
}], second: [{
|
|
13438
|
+
type: Input
|
|
13439
|
+
}], millisecond: [{
|
|
13440
|
+
type: Input
|
|
13441
|
+
}], dayperiod: [{
|
|
13442
|
+
type: Input
|
|
13429
13443
|
}] } });
|
|
13430
13444
|
|
|
13431
13445
|
/**
|
|
13432
13446
|
* @hidden
|
|
13433
13447
|
*/
|
|
13434
|
-
class LocalizedMessagesDirective extends
|
|
13448
|
+
class LocalizedMessagesDirective extends DateTimePickerMessages {
|
|
13435
13449
|
constructor(service) {
|
|
13436
13450
|
super();
|
|
13437
13451
|
this.service = service;
|
|
@@ -13440,7 +13454,7 @@ class LocalizedMessagesDirective extends Messages {
|
|
|
13440
13454
|
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13441
13455
|
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: LocalizedMessagesDirective, selector: "[kendoDateTimePickerLocalizedMessages]", providers: [
|
|
13442
13456
|
{
|
|
13443
|
-
provide:
|
|
13457
|
+
provide: DateTimePickerMessages,
|
|
13444
13458
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
13445
13459
|
}
|
|
13446
13460
|
], usesInheritance: true, ngImport: i0 });
|
|
@@ -13449,7 +13463,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
13449
13463
|
args: [{
|
|
13450
13464
|
providers: [
|
|
13451
13465
|
{
|
|
13452
|
-
provide:
|
|
13466
|
+
provide: DateTimePickerMessages,
|
|
13453
13467
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
13454
13468
|
}
|
|
13455
13469
|
],
|
|
@@ -13809,7 +13823,7 @@ class DateTimePickerComponent {
|
|
|
13809
13823
|
if (!this.isAdaptive) {
|
|
13810
13824
|
return isPresent(this.popupRef);
|
|
13811
13825
|
}
|
|
13812
|
-
return this.actionSheet
|
|
13826
|
+
return isTruthy(this.actionSheet?.expanded);
|
|
13813
13827
|
}
|
|
13814
13828
|
/**
|
|
13815
13829
|
* Indicates whether the component or its popup content is focused.
|
|
@@ -14615,6 +14629,21 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
14615
14629
|
|
|
14616
14630
|
i18n-nextButtonTitle="kendo.datetimepicker.nextButtonTitle|The title of the next button in the Classic calendar"
|
|
14617
14631
|
nextButtonTitle="Navigate to next view"
|
|
14632
|
+
|
|
14633
|
+
i18n-hour="kendo.datetimepicker.hour|The label for the hour part in the timepicker component"
|
|
14634
|
+
hour="Hour"
|
|
14635
|
+
|
|
14636
|
+
i18n-minute="kendo.datetimepicker.minute|The label for the minute part in the timepicker component"
|
|
14637
|
+
minute="Minute"
|
|
14638
|
+
|
|
14639
|
+
i18n-second="kendo.datetimepicker.second|The label for the second part in the timepicker component"
|
|
14640
|
+
second="Second"
|
|
14641
|
+
|
|
14642
|
+
i18n-millisecond="kendo.datetimepicker.millisecond|The label for the millisecond part in the timepicker component"
|
|
14643
|
+
millisecond="Millisecond"
|
|
14644
|
+
|
|
14645
|
+
i18n-dayperiod="kendo.datetimepicker.dayperiod|The label for the dayperiod part in the timepicker component"
|
|
14646
|
+
dayperiod="Dayperiod"
|
|
14618
14647
|
>
|
|
14619
14648
|
</ng-container>
|
|
14620
14649
|
|
|
@@ -14840,8 +14869,17 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
14840
14869
|
[isDateTimePicker]="true"
|
|
14841
14870
|
>
|
|
14842
14871
|
<kendo-timeselector-messages
|
|
14843
|
-
[
|
|
14872
|
+
[acceptLabel]="localization.get('acceptLabel')"
|
|
14873
|
+
[accept]="localization.get('accept')"
|
|
14874
|
+
[cancelLabel]="localization.get('cancelLabel')"
|
|
14875
|
+
[cancel]="localization.get('cancel')"
|
|
14844
14876
|
[nowLabel]="localization.get('nowLabel')"
|
|
14877
|
+
[now]="localization.get('now')"
|
|
14878
|
+
[hour]="localization.get('hour')"
|
|
14879
|
+
[minute]="localization.get('minute')"
|
|
14880
|
+
[second]="localization.get('second')"
|
|
14881
|
+
[millisecond]="localization.get('millisecond')"
|
|
14882
|
+
[dayperiod]="localization.get('dayperiod')"
|
|
14845
14883
|
>
|
|
14846
14884
|
</kendo-timeselector-messages>
|
|
14847
14885
|
</kendo-timeselector>
|
|
@@ -14949,6 +14987,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
14949
14987
|
|
|
14950
14988
|
i18n-nextButtonTitle="kendo.datetimepicker.nextButtonTitle|The title of the next button in the Classic calendar"
|
|
14951
14989
|
nextButtonTitle="Navigate to next view"
|
|
14990
|
+
|
|
14991
|
+
i18n-hour="kendo.datetimepicker.hour|The label for the hour part in the timepicker component"
|
|
14992
|
+
hour="Hour"
|
|
14993
|
+
|
|
14994
|
+
i18n-minute="kendo.datetimepicker.minute|The label for the minute part in the timepicker component"
|
|
14995
|
+
minute="Minute"
|
|
14996
|
+
|
|
14997
|
+
i18n-second="kendo.datetimepicker.second|The label for the second part in the timepicker component"
|
|
14998
|
+
second="Second"
|
|
14999
|
+
|
|
15000
|
+
i18n-millisecond="kendo.datetimepicker.millisecond|The label for the millisecond part in the timepicker component"
|
|
15001
|
+
millisecond="Millisecond"
|
|
15002
|
+
|
|
15003
|
+
i18n-dayperiod="kendo.datetimepicker.dayperiod|The label for the dayperiod part in the timepicker component"
|
|
15004
|
+
dayperiod="Dayperiod"
|
|
14952
15005
|
>
|
|
14953
15006
|
</ng-container>
|
|
14954
15007
|
|
|
@@ -15174,8 +15227,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
15174
15227
|
[isDateTimePicker]="true"
|
|
15175
15228
|
>
|
|
15176
15229
|
<kendo-timeselector-messages
|
|
15177
|
-
[
|
|
15230
|
+
[acceptLabel]="localization.get('acceptLabel')"
|
|
15231
|
+
[accept]="localization.get('accept')"
|
|
15232
|
+
[cancelLabel]="localization.get('cancelLabel')"
|
|
15233
|
+
[cancel]="localization.get('cancel')"
|
|
15178
15234
|
[nowLabel]="localization.get('nowLabel')"
|
|
15235
|
+
[now]="localization.get('now')"
|
|
15236
|
+
[hour]="localization.get('hour')"
|
|
15237
|
+
[minute]="localization.get('minute')"
|
|
15238
|
+
[second]="localization.get('second')"
|
|
15239
|
+
[millisecond]="localization.get('millisecond')"
|
|
15240
|
+
[dayperiod]="localization.get('dayperiod')"
|
|
15179
15241
|
>
|
|
15180
15242
|
</kendo-timeselector-messages>
|
|
15181
15243
|
</kendo-timeselector>
|
|
@@ -17640,7 +17702,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
17640
17702
|
/**
|
|
17641
17703
|
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
17642
17704
|
*/
|
|
17643
|
-
class DateTimePickerCustomMessagesComponent extends
|
|
17705
|
+
class DateTimePickerCustomMessagesComponent extends DateTimePickerMessages {
|
|
17644
17706
|
constructor(service) {
|
|
17645
17707
|
super();
|
|
17646
17708
|
this.service = service;
|
|
@@ -17652,7 +17714,7 @@ class DateTimePickerCustomMessagesComponent extends Messages {
|
|
|
17652
17714
|
DateTimePickerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateTimePickerCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
17653
17715
|
DateTimePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DateTimePickerCustomMessagesComponent, selector: "kendo-datetimepicker-messages", providers: [
|
|
17654
17716
|
{
|
|
17655
|
-
provide:
|
|
17717
|
+
provide: DateTimePickerMessages,
|
|
17656
17718
|
useExisting: forwardRef(() => DateTimePickerCustomMessagesComponent)
|
|
17657
17719
|
}
|
|
17658
17720
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
@@ -17661,7 +17723,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
17661
17723
|
args: [{
|
|
17662
17724
|
providers: [
|
|
17663
17725
|
{
|
|
17664
|
-
provide:
|
|
17726
|
+
provide: DateTimePickerMessages,
|
|
17665
17727
|
useExisting: forwardRef(() => DateTimePickerCustomMessagesComponent)
|
|
17666
17728
|
}
|
|
17667
17729
|
],
|
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
|
},
|