@progress/kendo-angular-dateinputs 19.1.2-develop.3 → 19.1.2-develop.5

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.
Files changed (93) hide show
  1. package/calendar/calendar.component.d.ts +40 -56
  2. package/calendar/calendar.module.d.ts +10 -21
  3. package/calendar/calendars.module.d.ts +10 -21
  4. package/calendar/localization/calendar-custom-messages.component.d.ts +9 -1
  5. package/calendar/localization/multiview-calendar-custom-messages.component.d.ts +9 -1
  6. package/calendar/models/orientation.d.ts +10 -1
  7. package/calendar/models/selection-range-end.type.d.ts +11 -1
  8. package/calendar/models/selection-range.interface.d.ts +18 -3
  9. package/calendar/models/selection.d.ts +19 -4
  10. package/calendar/models/type.d.ts +7 -3
  11. package/calendar/models/view.type.d.ts +12 -1
  12. package/calendar/multiview-calendar.component.d.ts +49 -40
  13. package/calendar/multiview-calendar.module.d.ts +1 -0
  14. package/calendar/templates/cell-template.directive.d.ts +16 -19
  15. package/calendar/templates/century-cell-template.directive.d.ts +15 -19
  16. package/calendar/templates/decade-cell-template.directive.d.ts +15 -19
  17. package/calendar/templates/footer-template.directive.d.ts +16 -17
  18. package/calendar/templates/header-template.directive.d.ts +19 -18
  19. package/calendar/templates/header-title-template.directive.d.ts +15 -18
  20. package/calendar/templates/month-cell-template.directive.d.ts +15 -17
  21. package/calendar/templates/navigation-item-template.directive.d.ts +15 -18
  22. package/calendar/templates/weeknumber-cell-template.directive.d.ts +15 -17
  23. package/calendar/templates/year-cell-template.directive.d.ts +15 -20
  24. package/codemods/utils.js +0 -3
  25. package/dateinput/dateinput.component.d.ts +50 -119
  26. package/dateinput/dateinput.module.d.ts +15 -2
  27. package/dateinput/localization/dateinput-custom-messages.component.d.ts +18 -1
  28. package/dateinput/models/format-placeholder.model.d.ts +15 -20
  29. package/dateinput/models/format-settings.model.d.ts +14 -4
  30. package/dateinput/models/incremental-steps.model.d.ts +16 -1
  31. package/datepicker/datepicker.component.d.ts +68 -127
  32. package/datepicker/datepicker.module.d.ts +11 -2
  33. package/datepicker/localization/datepicker-custom-messages.component.d.ts +11 -1
  34. package/daterange/auto-correct-on.type.d.ts +2 -1
  35. package/daterange/date-range-end-input.directive.d.ts +25 -24
  36. package/daterange/date-range-popup-template.directive.d.ts +13 -2
  37. package/daterange/date-range-popup.component.d.ts +83 -73
  38. package/daterange/date-range-selection.directive.d.ts +10 -9
  39. package/daterange/date-range-start-input.directive.d.ts +29 -27
  40. package/daterange/date-range.component.d.ts +4 -6
  41. package/daterange/date-range.service.d.ts +27 -27
  42. package/datetimepicker/datetimepicker.component.d.ts +91 -79
  43. package/datetimepicker/datetimepicker.module.d.ts +16 -2
  44. package/datetimepicker/localization/datetimepicker-custom-messages.component.d.ts +10 -1
  45. package/esm2022/calendar/calendar.component.mjs +40 -56
  46. package/esm2022/calendar/calendar.module.mjs +10 -21
  47. package/esm2022/calendar/calendars.module.mjs +10 -21
  48. package/esm2022/calendar/localization/calendar-custom-messages.component.mjs +9 -1
  49. package/esm2022/calendar/localization/multiview-calendar-custom-messages.component.mjs +9 -1
  50. package/esm2022/calendar/models/selection-range.interface.mjs +2 -0
  51. package/esm2022/calendar/models/selection.mjs +11 -0
  52. package/esm2022/calendar/multiview-calendar.component.mjs +49 -40
  53. package/esm2022/calendar/multiview-calendar.module.mjs +1 -0
  54. package/esm2022/calendar/templates/cell-template.directive.mjs +16 -19
  55. package/esm2022/calendar/templates/century-cell-template.directive.mjs +15 -19
  56. package/esm2022/calendar/templates/decade-cell-template.directive.mjs +15 -19
  57. package/esm2022/calendar/templates/footer-template.directive.mjs +16 -17
  58. package/esm2022/calendar/templates/header-template.directive.mjs +19 -18
  59. package/esm2022/calendar/templates/header-title-template.directive.mjs +15 -18
  60. package/esm2022/calendar/templates/month-cell-template.directive.mjs +15 -17
  61. package/esm2022/calendar/templates/navigation-item-template.directive.mjs +15 -18
  62. package/esm2022/calendar/templates/weeknumber-cell-template.directive.mjs +15 -17
  63. package/esm2022/calendar/templates/year-cell-template.directive.mjs +15 -20
  64. package/esm2022/dateinput/dateinput.component.mjs +57 -126
  65. package/esm2022/dateinput/dateinput.module.mjs +15 -2
  66. package/esm2022/dateinput/localization/dateinput-custom-messages.component.mjs +18 -1
  67. package/esm2022/datepicker/datepicker.component.mjs +71 -130
  68. package/esm2022/datepicker/datepicker.module.mjs +11 -2
  69. package/esm2022/datepicker/localization/datepicker-custom-messages.component.mjs +11 -1
  70. package/esm2022/daterange/date-range-end-input.directive.mjs +25 -24
  71. package/esm2022/daterange/date-range-popup-template.directive.mjs +13 -2
  72. package/esm2022/daterange/date-range-popup.component.mjs +83 -73
  73. package/esm2022/daterange/date-range-selection.directive.mjs +10 -9
  74. package/esm2022/daterange/date-range-start-input.directive.mjs +29 -27
  75. package/esm2022/daterange/date-range.component.mjs +4 -6
  76. package/esm2022/daterange/date-range.service.mjs +27 -27
  77. package/esm2022/datetimepicker/datetimepicker.component.mjs +94 -82
  78. package/esm2022/datetimepicker/datetimepicker.module.mjs +16 -2
  79. package/esm2022/datetimepicker/localization/datetimepicker-custom-messages.component.mjs +10 -1
  80. package/esm2022/package-metadata.mjs +2 -2
  81. package/esm2022/timepicker/localization/messages.mjs +14 -14
  82. package/esm2022/timepicker/localization/timepicker-custom-messages.component.mjs +12 -1
  83. package/esm2022/timepicker/timepicker.component.mjs +57 -119
  84. package/esm2022/timepicker/timepicker.module.mjs +13 -2
  85. package/esm2022/timepicker/timeselector.component.mjs +24 -40
  86. package/fesm2022/progress-kendo-angular-dateinputs.mjs +913 -1015
  87. package/package.json +13 -12
  88. package/popup-settings.model.d.ts +3 -10
  89. package/timepicker/localization/messages.d.ts +14 -14
  90. package/timepicker/localization/timepicker-custom-messages.component.d.ts +12 -1
  91. package/timepicker/timepicker.component.d.ts +53 -115
  92. package/timepicker/timepicker.module.d.ts +13 -2
  93. package/timepicker/timeselector.component.d.ts +24 -40
@@ -36,8 +36,8 @@ const packageMetadata = {
36
36
  productName: 'Kendo UI for Angular',
37
37
  productCode: 'KENDOUIANGULAR',
38
38
  productCodes: ['KENDOUIANGULAR'],
39
- publishDate: 1750152543,
40
- version: '19.1.2-develop.3',
39
+ publishDate: 1750430884,
40
+ version: '19.1.2-develop.5',
41
41
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
42
42
  };
43
43
 
@@ -59,6 +59,8 @@ var Action;
59
59
  })(Action || (Action = {}));
60
60
 
61
61
  /**
62
+ * A constant representing an empty selection range with both start and end set to null.
63
+ *
62
64
  * @hidden
63
65
  */
64
66
  const EMPTY_SELECTIONRANGE = { start: null, end: null };
@@ -2978,30 +2980,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
2978
2980
  }], ctorParameters: function () { return [{ type: BusViewService }]; } });
2979
2981
 
2980
2982
  /**
2981
- * Used for rendering the cell content of the Calendar. To define the cell template, nest an `<ng-template>` tag
2982
- * with the `kendoCalendarCellTemplate` directive inside the component tag. The template context is set to the
2983
- * current component. To get a reference to the current date, use the `let-date` directive. To provide more details
2984
- * about the current cell, get a reference to the current `cellContext` by using the `let-cellContext` directive.
2983
+ * A directive for customizing the cells in the Calendar component.
2984
+ *
2985
+ * This directive allows you to define a custom template for rendering the content of calendar cells
2986
+ * in the month view. The template context provides access to the current date and cell context information.
2987
+ *
2988
+ * Template Context Variables:
2989
+ * - `date` - The Date object representing the current cell's date
2990
+ * - `cellContext` - Additional context information about the current cell
2985
2991
  *
2986
2992
  * For more examples, refer to the article on [templates]({% slug templates_calendar %}).
2987
2993
  *
2988
- * > `kendoCalendarCellTemplate` is equivalent to
2989
- * > [`kendoCalendarMonthCellTemplate`]({% slug api_dateinputs_monthcelltemplatedirective %}).
2994
+ * `kendoCalendarCellTemplate` is equivalent to
2995
+ * [`kendoCalendarMonthCellTemplate`]({% slug api_dateinputs_monthcelltemplatedirective %}).
2990
2996
  *
2991
2997
  * @example
2992
- * ```ts
2993
- * _@Component({
2994
- * selector: 'my-app',
2995
- * styles: ['.custom { color: red; }'],
2996
- * template: `
2997
- * <kendo-calendar>
2998
- * <ng-template kendoCalendarCellTemplate let-date>
2999
- * <span class="custom">{{date.getDate()}}</span>
3000
- * </ng-template>
3001
- * </kendo-calendar>
3002
- * `
3003
- * })
3004
- * export class AppComponent { }
2998
+ * ```html
2999
+ * <kendo-calendar>
3000
+ * <ng-template kendoCalendarCellTemplate let-date let-cellContext="cellContext">
3001
+ * <span class="custom">{{date.getDate()}}</span>
3002
+ * </ng-template>
3003
+ * </kendo-calendar>
3005
3004
  * ```
3006
3005
  */
3007
3006
  class CellTemplateDirective {
@@ -3021,27 +3020,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
3021
3020
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
3022
3021
 
3023
3022
  /**
3024
- * Used for rendering the month cell content of the Calendar. To define the month cell template, nest an `<ng-template>` tag
3025
- * with the `kendoCalendarMonthCellTemplate` directive inside the component tag. The template context is set to the current
3026
- * component. To get a reference to the current date, use the `let-date` directive. To provide more details about the current
3027
- * month cell, get a reference to the current `cellContext` by using the `let-cellContext` directive.
3023
+ * A directive for customizing the month cells in the Calendar component.
3024
+ *
3025
+ * This directive allows you to define a custom template for rendering the content of month cells
3026
+ * when the Calendar is in year view. The template context provides access to the current date
3027
+ * and cell context information.
3028
+ *
3029
+ * Template Context Variables:
3030
+ * - `date` - The Date object representing the current cell's date
3031
+ * - `cellContext` - Additional context information about the current month cell
3028
3032
  *
3029
3033
  * For more examples, refer to the article on [templates]({% slug templates_calendar %}).
3030
3034
  *
3031
3035
  * @example
3032
- * ```ts
3033
- * _@Component({
3034
- * selector: 'my-app',
3035
- * styles: ['.custom { color: red; }'],
3036
- * template: `
3037
- * <kendo-calendar>
3038
- * <ng-template kendoCalendarMonthCellTemplate let-context="cellContext">
3039
- * <span class="custom">{{context.formattedValue}}</span>
3040
- * </ng-template>
3041
- * </kendo-calendar>
3042
- * `
3043
- * })
3044
- * export class AppComponent { }
3036
+ * ```html
3037
+ * <kendo-calendar [activeView]="'year'">
3038
+ * <ng-template kendoCalendarMonthCellTemplate let-context="cellContext">
3039
+ * <span class="custom">{{context.formattedValue}}</span>
3040
+ * </ng-template>
3041
+ * </kendo-calendar>
3045
3042
  * ```
3046
3043
  */
3047
3044
  class MonthCellTemplateDirective {
@@ -3061,30 +3058,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
3061
3058
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
3062
3059
 
3063
3060
  /**
3064
- * Used for rendering the year cell content of the Calendar. To define the year cell template, nest an
3065
- * `<ng-template>` tag with the `kendoCalendarYearCellTemplate` directive inside the component tag.
3066
- * The template context is set to the current component. To get a reference to the current date, use
3067
- * the `let-date` directive. To provide more details about the current year cell, get a reference to the
3068
- * current `cellContext` by using the `let-cellContext` directive.
3061
+ * A directive for customizing the year cells in the Calendar component.
3062
+ *
3063
+ * This directive allows you to define a custom template for rendering the content of year cells
3064
+ * when the Calendar is in year view. The template context provides access to the current date
3065
+ * and cell context information.
3066
+ *
3067
+ * Template Context Variables:
3068
+ * - `date` - The Date object representing the current cell's date
3069
+ * - `cellContext` - Additional context information about the current year cell
3069
3070
  *
3070
3071
  * For more examples, refer to the article on [templates]({% slug templates_calendar %}).
3071
3072
  *
3072
3073
  * @example
3073
- * ```ts
3074
- * _@Component({
3075
- * selector: 'my-app',
3076
- * styles: ['.custom { color: red; }'],
3077
- * template: `
3078
- * <kendo-calendar [activeView]="activeView">
3079
- * <ng-template kendoCalendarYearCellTemplate let-context="cellContext">
3080
- * <span class="custom">{{context.formattedValue}}</span>
3081
- * </ng-template>
3082
- * </kendo-calendar>
3083
- * `
3084
- * })
3085
- * export class AppComponent {
3086
- * public activeView: CalendarView = 'year';
3087
- * }
3074
+ * ```html
3075
+ * <kendo-calendar [activeView]="'year'">
3076
+ * <ng-template kendoCalendarYearCellTemplate let-context="cellContext">
3077
+ * <span class="custom">{{context.formattedValue}}</span>
3078
+ * </ng-template>
3079
+ * </kendo-calendar>
3088
3080
  * ```
3089
3081
  */
3090
3082
  class YearCellTemplateDirective {
@@ -3104,29 +3096,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
3104
3096
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
3105
3097
 
3106
3098
  /**
3107
- * Used for rendering the decade cell content of the Calendar. To define the decade cell template, nest an `<ng-template>`
3108
- * tag with the `kendoCalendarDecadeCellTemplate` directive inside the component tag. The template context is set to the
3109
- * current component. To get a reference to the current date, use the `let-date` directive. To provide more details about
3110
- * the current decade cell, get a reference to the current `cellContext` by using the `let-cellContext` directive.
3099
+ * A directive for customizing the decade cells in the Calendar component.
3100
+ *
3101
+ * This directive allows you to define a custom template for rendering the content of decade cells
3102
+ * when the Calendar is in decade view. The template context provides access to the current date
3103
+ * and cell context information.
3104
+ *
3105
+ * Template Context Variables:
3106
+ * - `date` - The Date object representing the current cell's date
3107
+ * - `cellContext` - Additional context information about the current decade cell
3111
3108
  *
3112
3109
  * For more examples, refer to the article on [templates]({% slug templates_calendar %}).
3113
3110
  *
3114
3111
  * @example
3115
- * ```ts
3116
- * _@Component({
3117
- * selector: 'my-app',
3118
- * styles: ['.custom { color: red; }'],
3119
- * template: `
3120
- * <kendo-calendar [activeView]="activeView">
3121
- * <ng-template kendoCalendarDecadeCellTemplate let-context="cellContext">
3122
- * <span class="custom">{{context.formattedValue}}</span>
3123
- * </ng-template>
3124
- * </kendo-calendar>
3125
- * `
3126
- * })
3127
- * export class AppComponent {
3128
- * public activeView: CalendarView = 'decade';
3129
- * }
3112
+ * ```html
3113
+ * <kendo-calendar [activeView]="activeView">
3114
+ * <ng-template kendoCalendarDecadeCellTemplate let-context="cellContext">
3115
+ * <span class="custom">{{context.formattedValue}}</span>
3116
+ * </ng-template>
3117
+ * </kendo-calendar>
3130
3118
  * ```
3131
3119
  */
3132
3120
  class DecadeCellTemplateDirective {
@@ -3146,29 +3134,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
3146
3134
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
3147
3135
 
3148
3136
  /**
3149
- * Used for rendering the century cell content of the Calendar. To define the century cell template, nest an `<ng-template>`
3150
- * tag with the `kendoCalendarCenturyCellTemplate` directive inside the component tag. The template context is set to the
3151
- * current component. To get a reference to the current date, use the `let-date` directive. To provide more details about
3152
- * the current century cell, get a reference to the current `cellContext` by using the `let-cellContext` directive.
3137
+ * A directive for customizing the century cells in the Calendar component.
3138
+ *
3139
+ * This directive allows you to define a custom template for rendering the content of century cells
3140
+ * when the Calendar is in century view. The template context provides access to the current date
3141
+ * and cell context information.
3142
+ *
3143
+ * Template Context Variables:
3144
+ * - `date` - The Date object representing the current cell's date
3145
+ * - `cellContext` - Additional context information about the current century cell
3153
3146
  *
3154
3147
  * For more examples, refer to the article on [templates]({% slug templates_calendar %}).
3155
3148
  *
3156
3149
  * @example
3157
- * ```ts
3158
- * _@Component({
3159
- * selector: 'my-app',
3160
- * styles: ['.custom { color: red; }'],
3161
- * template: `
3162
- * <kendo-calendar [activeView]="activeView">
3163
- * <ng-template kendoCalendarCenturyCellTemplate let-context="cellContext">
3164
- * <span class="custom">{{context.formattedValue}}</span>
3165
- * </ng-template>
3166
- * </kendo-calendar>
3167
- * `
3168
- * })
3169
- * export class AppComponent {
3170
- * public activeView: CalendarView = 'century';
3171
- * }
3150
+ * ```html
3151
+ * <kendo-calendar [activeView]="activeView">
3152
+ * <ng-template kendoCalendarCenturyCellTemplate let-context="cellContext">
3153
+ * <span class="custom">{{context.formattedValue}}</span>
3154
+ * </ng-template>
3155
+ * </kendo-calendar>
3172
3156
  * ```
3173
3157
  */
3174
3158
  class CenturyCellTemplateDirective {
@@ -3188,27 +3172,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
3188
3172
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
3189
3173
 
3190
3174
  /**
3191
- * Used for rendering the week number cell content in the month view of the Calendar. To define the month week number cell template,
3192
- * nest an `<ng-template>` tag with the `kendoCalendarWeekNumberCellTemplate` directive inside the component tag. The template
3193
- * context is set to the current component. To get a reference to the current date, use the `let-date` directive. To provide more
3194
- * details about the current week number cell, get a reference to the current `cellContext` by using the `let-cellContext` directive.
3175
+ * A directive for customizing the week number cells in the Calendar component.
3176
+ *
3177
+ * This directive allows you to define a custom template for rendering the content of week number cells
3178
+ * in the month view when the weekNumber property is enabled. The template context provides access to
3179
+ * the current date and cell context information.
3180
+ *
3181
+ * Template Context Variables:
3182
+ * - `date` - The Date object representing the current week's date
3183
+ * - `cellContext` - Additional context information about the current week number cell
3195
3184
  *
3196
3185
  * For more examples, refer to the article on [templates]({% slug templates_calendar %}).
3197
3186
  *
3198
3187
  * @example
3199
- * ```ts
3200
- * _@Component({
3201
- * selector: 'my-app',
3202
- * styles: ['.custom { color: red; }'],
3203
- * template: `
3204
- * <kendo-calendar [weekNumber]="true">
3205
- * <ng-template kendoCalendarWeekNumberCellTemplate let-context="cellContext">
3206
- * <span class="custom">{{context.formattedValue}}</span>
3207
- * </ng-template>
3208
- * </kendo-calendar>
3209
- * `
3210
- * })
3211
- * export class AppComponent { }
3188
+ * ```html
3189
+ * <kendo-calendar [weekNumber]="true">
3190
+ * <ng-template kendoCalendarWeekNumberCellTemplate let-context="cellContext">
3191
+ * <span class="custom">W{{context.formattedValue}}</span>
3192
+ * </ng-template>
3193
+ * </kendo-calendar>
3212
3194
  * ```
3213
3195
  */
3214
3196
  class WeekNumberCellTemplateDirective {
@@ -3228,28 +3210,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
3228
3210
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
3229
3211
 
3230
3212
  /**
3231
- * Used for rendering the header title of the Calendar. To define the header title template, nest an `<ng-template>` tag
3232
- * with the `kendoCalendarHeaderTitleTemplate` directive inside the component tag. The template context is set to the
3233
- * current component. To get a reference to the current title, use the `let-title` directive. To provide more details about
3234
- * the current title, get a reference to the current `date` by using the `let-date` directive or get a reference to the
3235
- * current active view by using the `let-activeView` directive.
3213
+ * A directive for customizing the header title in the Calendar component.
3214
+ *
3215
+ * This directive allows you to define a custom template for rendering the header title content.
3216
+ * The template context provides access to the title text, current date, and active view.
3217
+ *
3218
+ * Template Context Variables:
3219
+ * - `title` - The formatted title text for the header
3220
+ * - `date` - The Date object representing the current header context
3221
+ * - `activeView` - The current active view of the Calendar
3236
3222
  *
3237
3223
  * For more examples, refer to the article on [templates]({% slug templates_calendar %}).
3238
3224
  *
3239
3225
  * @example
3240
- * ```ts
3241
- * _@Component({
3242
- * selector: 'my-app',
3243
- * styles: ['.custom { color: red; }'],
3244
- * template: `
3245
- * <kendo-calendar>
3246
- * <ng-template kendoCalendarHeaderTitleTemplate let-title>
3247
- * <span class="custom">{{title}}</span>
3248
- * </ng-template>
3249
- * </kendo-calendar>
3250
- * `
3251
- * })
3252
- * export class AppComponent { }
3226
+ * ```html
3227
+ * <kendo-calendar>
3228
+ * <ng-template kendoCalendarHeaderTitleTemplate let-title let-activeView="activeView">
3229
+ * <span class="custom">{{title}} ({{activeView}})</span>
3230
+ * </ng-template>
3231
+ * </kendo-calendar>
3253
3232
  * ```
3254
3233
  */
3255
3234
  class HeaderTitleTemplateDirective {
@@ -3269,6 +3248,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
3269
3248
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
3270
3249
 
3271
3250
  /**
3251
+ * Handles range selection logic for Calendar components.
3252
+ *
3253
+ * This function manages the selection state when the Calendar is in range selection mode,
3254
+ * determining which end of the range is active and updating the selection range accordingly.
3255
+ *
3256
+ * @param date - The date being selected
3257
+ * @param selectionRange - The current selection range object
3258
+ * @param activeRangeEnd - Which end of the range is currently active ('start' or 'end')
3259
+ * @param allowReverse - Whether to allow reverse selection (end date before start date)
3260
+ * @returns An object containing the updated activeRangeEnd and selectionRange
3261
+ *
3272
3262
  * @hidden
3273
3263
  */
3274
3264
  function handleRangeSelection(date, selectionRange, activeRangeEnd, allowReverse = false) {
@@ -3411,28 +3401,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
3411
3401
  }], ctorParameters: function () { return [{ type: BusViewService }]; } });
3412
3402
 
3413
3403
  /**
3414
- * Used for rendering the header of the Calendar. To define the header template, nest an `<ng-template>` tag
3415
- * with the `kendoCalendarHeaderTemplate` directive inside the component tag. The template context is set to the
3416
- * current component. To get a reference to the current title, use the `let-title` directive. To provide more details about
3417
- * the current title, get a reference to the current `date` by using the `let-date` directive or get a reference to the
3418
- * current active view by using the `let-activeView` directive.
3404
+ * A directive for customizing the entire header in the Calendar component.
3405
+ *
3406
+ * This directive allows you to define a custom template for rendering the complete header content,
3407
+ * including navigation controls and title. The template context provides access to the title text,
3408
+ * current date, and active view.
3409
+ *
3410
+ * Template Context Variables:
3411
+ * - `title` - The formatted title text for the header
3412
+ * - `date` - The Date object representing the current header context
3413
+ * - `activeView` - The current active view of the Calendar
3419
3414
  *
3420
3415
  * For more examples, refer to the article on [templates]({% slug templates_calendar %}).
3421
3416
  *
3422
3417
  * @example
3423
- * ```ts
3424
- * _@Component({
3425
- * selector: 'my-app',
3426
- * styles: ['.custom { color: red; }'],
3427
- * template: `
3428
- * <kendo-calendar>
3429
- * <ng-template kendoCalendarHeaderTemplate let-title>
3430
- * <span class="custom">{{title}}</span>
3431
- * </ng-template>
3432
- * </kendo-calendar>
3433
- * `
3434
- * })
3435
- * export class AppComponent { }
3418
+ * ```html
3419
+ * <kendo-calendar>
3420
+ * <ng-template kendoCalendarHeaderTemplate let-title let-date="date">
3421
+ * <div class="custom">
3422
+ * <span>{{title}}</span>
3423
+ * <small>{{date | date:'yyyy-MM-dd'}}</small>
3424
+ * </div>
3425
+ * </ng-template>
3426
+ * </kendo-calendar>
3436
3427
  * ```
3437
3428
  */
3438
3429
  class HeaderTemplateDirective {
@@ -3452,27 +3443,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
3452
3443
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
3453
3444
 
3454
3445
  /**
3455
- * Used for rendering the footer of the Calendar. To define the footer template, nest an `<ng-template>` tag
3456
- * with the `kendoCalendarFooterTemplate` directive inside the component tag. The template context is set to the
3457
- * current component. To get a reference to the current `date` use the `let-date` directive. To get a reference to the
3458
- * current active view use the `let-activeView` directive.
3446
+ * A directive for customizing the footer in the Calendar component.
3447
+ *
3448
+ * This directive allows you to define a custom template for rendering the footer content.
3449
+ * The template context provides access to the current date and active view.
3450
+ *
3451
+ * Template Context Variables:
3452
+ * - `date` - The Date object representing the current calendar context
3453
+ * - `activeView` - The current active view of the Calendar
3459
3454
  *
3460
3455
  * For more examples, refer to the article on [templates]({% slug templates_calendar %}).
3461
3456
  *
3462
3457
  * @example
3463
- * ```ts
3464
- * _@Component({
3465
- * selector: 'my-app',
3466
- * styles: ['.custom { color: red; }'],
3467
- * template: `
3468
- * <kendo-calendar>
3469
- * <ng-template kendoCalendarFooterTemplate let-date>
3470
- * <span class="custom">{{date}}</span>
3471
- * </ng-template>
3472
- * </kendo-calendar>
3473
- * `
3474
- * })
3475
- * export class AppComponent { }
3458
+ * ```html
3459
+ * <kendo-calendar>
3460
+ * <ng-template kendoCalendarFooterTemplate let-date let-activeView="activeView">
3461
+ * <div class="custom">
3462
+ * Today: {{date | date:'short'}} ({{activeView}} view)
3463
+ * </div>
3464
+ * </ng-template>
3465
+ * </kendo-calendar>
3476
3466
  * ```
3477
3467
  */
3478
3468
  class FooterTemplateDirective {
@@ -3649,17 +3639,13 @@ const RANGE_CALENDAR_RANGE_VALIDATORS = {
3649
3639
  };
3650
3640
  /**
3651
3641
  * Represents the Kendo UI MultiViewCalendar component for Angular.
3652
- *
3653
3642
  * @example
3654
- * ```ts
3655
- * _@Component({
3656
- * selector: 'my-app',
3657
- * template: `
3658
- * <kendo-multiviewcalendar></kendo-multiviewcalendar>
3659
- * `
3660
- * })
3661
- * export class AppComponent { }
3643
+ * ```html
3644
+ * <kendo-multiviewcalendar> </kendo-multiviewcalendar>
3662
3645
  * ```
3646
+ *
3647
+ * @remarks
3648
+ * Supported children components are: {@link MultiViewCalendarCustomMessagesComponent}.
3663
3649
  */
3664
3650
  class MultiViewCalendarComponent {
3665
3651
  bus;
@@ -3671,7 +3657,8 @@ class MultiViewCalendarComponent {
3671
3657
  disabledDatesService;
3672
3658
  selectionService;
3673
3659
  /**
3674
- * Displays the days that fall out of the current month ([see example]({% slug viewoptions_multiviewcalendar %}#toc-displaying-other-month-days)).
3660
+ * Shows days that fall outside the current month ([see example]({% slug viewoptions_multiviewcalendar %}#toc-displaying-other-month-days)).
3661
+ *
3675
3662
  * @default true
3676
3663
  */
3677
3664
  showOtherMonthDays = true;
@@ -3711,11 +3698,10 @@ class MultiViewCalendarComponent {
3711
3698
  */
3712
3699
  id;
3713
3700
  /**
3714
- * Sets or gets the `focusedDate` property of the Calendar and
3715
- * defines the focused date of the component
3701
+ * Specifies the focused date of the Calendar
3716
3702
  * ([see example]({% slug dates_multiviewcalendar %}#toc-focused-dates)).
3717
3703
  *
3718
- * > If the Calendar is out of the min or max range, it normalizes the defined `focusedDate`.
3704
+ * If the Calendar is outside the `min` or `max` range, the component normalizes the defined `focusedDate`.
3719
3705
  */
3720
3706
  set focusedDate(focusedDate) {
3721
3707
  this._focusedDate = focusedDate || getToday();
@@ -3725,6 +3711,7 @@ class MultiViewCalendarComponent {
3725
3711
  }
3726
3712
  /**
3727
3713
  * Toggles the visibility of the footer.
3714
+ *
3728
3715
  * @default false
3729
3716
  */
3730
3717
  footer = false;
@@ -3747,9 +3734,9 @@ class MultiViewCalendarComponent {
3747
3734
  return this.views === 1 ? this.id + 'header-' : null;
3748
3735
  }
3749
3736
  /**
3750
- * Sets or gets the `min` property of the Calendar and
3751
- * defines the minimum allowed date value.
3752
- * By default, the `min` value is `1900-1-1`.
3737
+ * Specifies the minimum allowed date value
3738
+ *
3739
+ * @default 1970-01-01
3753
3740
  */
3754
3741
  set min(min) {
3755
3742
  this._min = min || new Date(MIN_DATE);
@@ -3758,9 +3745,9 @@ class MultiViewCalendarComponent {
3758
3745
  return this._min;
3759
3746
  }
3760
3747
  /**
3761
- * Sets or gets the `max` property of the Calendar and
3762
- * defines the maximum allowed date value.
3763
- * By default, the `max` value is `2099-12-31`.
3748
+ * Specifies the maximum allowed date value
3749
+ *
3750
+ * @default 2099-12-31
3764
3751
  */
3765
3752
  set max(max) {
3766
3753
  this._max = max || new Date(MAX_DATE);
@@ -3769,7 +3756,7 @@ class MultiViewCalendarComponent {
3769
3756
  return this._max;
3770
3757
  }
3771
3758
  /**
3772
- * Determines whether the built-in min or max validators are enforced when validating a form.
3759
+ * Determines whether the built-in `min` or `max` validators are enforced when validating a form.
3773
3760
  *
3774
3761
  * @default false
3775
3762
  */
@@ -3778,16 +3765,14 @@ class MultiViewCalendarComponent {
3778
3765
  * Determines whether the built-in validator for disabled
3779
3766
  * date ranges is enforced when validating a form
3780
3767
  * ([see example](slug:disabled_dates_multiviewcalendar)).
3768
+ *
3769
+ * @default false
3781
3770
  */
3782
3771
  disabledDatesRangeValidation = false;
3783
3772
  /**
3784
3773
  * Sets the Calendar selection mode
3785
3774
  * ([see example]({% slug selection_multiviewcalendar %})).
3786
- *
3787
- * The available values are:
3788
- * * `single` (default)
3789
- * * `multiple`
3790
- * * `range`
3775
+ * @default 'single'
3791
3776
  */
3792
3777
  set selection(_selection) {
3793
3778
  this.selectionSetter = true;
@@ -3819,16 +3804,19 @@ class MultiViewCalendarComponent {
3819
3804
  return this._value;
3820
3805
  }
3821
3806
  /**
3822
- * Sets or gets the `disabled` property of the Calendar and
3823
- * determines whether the component is active
3807
+ * Specifies whether the component is disabled
3824
3808
  * ([see example]({% slug disabled_multiviewcalendar %})).
3825
3809
  * To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_multiviewcalendar#toc-managing-the-multiviewcalendar-disabled-state-in-reactive-forms).
3810
+ *
3811
+ * @default false
3826
3812
  */
3827
3813
  disabled = false;
3828
3814
  /**
3829
- * Sets or gets the `tabindex` property of the Calendar. Based on the
3815
+ * Specifies the `tabindex` property of the Calendar. Based on the
3830
3816
  * [HTML `tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) behavior,
3831
3817
  * it determines whether the component is focusable.
3818
+ *
3819
+ * @default 0
3832
3820
  */
3833
3821
  tabindex = 0;
3834
3822
  /**
@@ -3841,7 +3829,8 @@ class MultiViewCalendarComponent {
3841
3829
  return this.tabindex;
3842
3830
  }
3843
3831
  /**
3844
- * Sets the format of the displayed Calendar week days' names.
3832
+ * Specifies the format of the displayed week day names.
3833
+ *
3845
3834
  * @default 'short'
3846
3835
  */
3847
3836
  weekDaysFormat = "short";
@@ -3850,31 +3839,37 @@ class MultiViewCalendarComponent {
3850
3839
  */
3851
3840
  isActive = false;
3852
3841
  /**
3853
- * Sets the dates of the MultiViewCalendar that will be disabled
3842
+ * Specifies the dates of the MultiViewCalendar that will be disabled
3854
3843
  * ([see example]({% slug disabled_dates_multiviewcalendar %})).
3855
3844
  */
3856
3845
  set disabledDates(value) {
3857
3846
  this.disabledDatesService.initialize(value);
3858
3847
  }
3859
3848
  /**
3860
- * Defines the active view that the Calendar initially renders
3861
- * ([see example]({% slug viewoptions_multiviewcalendar %})).
3849
+ * Specifies the active view that the Calendar initially renders.
3862
3850
  * By default, the active view is `month`.
3863
3851
  *
3864
3852
  * > You have to set `activeView` within the `topView`-`bottomView` range.
3853
+ *
3854
+ * @default month
3865
3855
  */
3866
3856
  activeView = CalendarViewEnum[CalendarViewEnum.month];
3867
3857
  /**
3868
- * Defines the bottommost view, to which the user can navigate
3869
- * ([see example](slug:viewdepth_multiviewcalendar)).
3858
+ * Specifies the bottommost view to which you can navigate.
3859
+ *
3860
+ * @default month
3870
3861
  */
3871
3862
  bottomView = CalendarViewEnum[CalendarViewEnum.month];
3872
3863
  /**
3873
- * Defines the topmost view, to which the user can navigate.
3864
+ * Specifies the topmost view to which you can navigate.
3865
+ *
3866
+ * @default century
3874
3867
  */
3875
3868
  topView = CalendarViewEnum[CalendarViewEnum.century];
3876
3869
  /**
3877
- * Determines whether to display a header for every view (for example the month name).
3870
+ * Determines whether to display a header for every view (for example, the month name).
3871
+ *
3872
+ * @default false
3878
3873
  */
3879
3874
  showViewHeader = false;
3880
3875
  /**
@@ -3886,12 +3881,14 @@ class MultiViewCalendarComponent {
3886
3881
  */
3887
3882
  animateNavigation = false;
3888
3883
  /**
3889
- * Determines whether to display a week number column in the `month` view
3884
+ * Specifies whether to display a week number column in the `month` view
3890
3885
  * ([see example]({% slug weeknumcolumn_multiviewcalendar %})).
3886
+ *
3887
+ * @default false
3891
3888
  */
3892
3889
  weekNumber = false;
3893
3890
  /**
3894
- * Specify, which end of the defined selection range should be marked as active.
3891
+ * Specifies which end of the defined selection range should be marked as active.
3895
3892
  *
3896
3893
  * > Value will be ignored if the selection range is undefined.
3897
3894
  * > If range selection is used then the default value is 'start'.
@@ -3903,7 +3900,7 @@ class MultiViewCalendarComponent {
3903
3900
  return (this.selection === 'range' && !this._activeRangeEnd) ? 'start' : this._activeRangeEnd;
3904
3901
  }
3905
3902
  /**
3906
- * Sets or gets the `selectionRange` property of the Calendar and
3903
+ * Specifies the `selectionRange` property and
3907
3904
  * defines the selection range of the component
3908
3905
  * ([see example](slug:selection_multiviewcalendar#toc-range-selection)).
3909
3906
  * > We recommend using the `value` property as it now supports `range` selection.
@@ -3918,8 +3915,10 @@ class MultiViewCalendarComponent {
3918
3915
  return this._selectionRange;
3919
3916
  }
3920
3917
  /**
3921
- * Sets or gets the `views` property of the Calendar and
3918
+ * Specifies the `views` property and
3922
3919
  * defines the number of rendered months.
3920
+ *
3921
+ * @default 2
3923
3922
  */
3924
3923
  views = 2;
3925
3924
  /**
@@ -6554,28 +6553,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
6554
6553
  }], ctorParameters: function () { return [{ type: CalendarDOMService }, { type: i0.NgZone }]; } });
6555
6554
 
6556
6555
  /**
6557
- * Used for rendering the navigation item of the Calendar. To define the navigation item template, nest an `<ng-template>`
6558
- * tag with the `kendoCalendarNavigationItemTemplate` directive inside the component tag. The template context is set to the
6559
- * current component. To get a reference to the current item value, use the `let-title` directive. To provide more details
6560
- * about the current title, get a reference to the current `date` by using the `let-date='date'` directive or get a reference
6561
- * to the current active view by using the `let-activeView='activeView'` directive.
6556
+ * A directive for customizing the navigation items in the Calendar component.
6557
+ *
6558
+ * This directive allows you to define a custom template for rendering the content of navigation items
6559
+ * in the Calendar header. The template context provides access to the title, current date, and active view.
6560
+ *
6561
+ * Template Context Variables:
6562
+ * - `title` - The formatted title text for the navigation item
6563
+ * - `date` - The Date object representing the current navigation context
6564
+ * - `activeView` - The current active view of the Calendar
6562
6565
  *
6563
6566
  * For more examples, refer to the article on [templates]({% slug templates_calendar %}).
6564
6567
  *
6565
6568
  * @example
6566
- * ```ts
6567
- * _@Component({
6568
- * selector: 'my-app',
6569
- * styles: ['.custom { color: red; }'],
6570
- * template: `
6571
- * <kendo-calendar>
6572
- * <ng-template kendoCalendarNavigationItemTemplate let-title>
6573
- * <span class="custom">{{title}}</span>
6574
- * </ng-template>
6575
- * </kendo-calendar>
6576
- * `
6577
- * })
6578
- * export class AppComponent { }
6569
+ * ```html
6570
+ * <kendo-calendar>
6571
+ * <ng-template kendoCalendarNavigationItemTemplate let-title let-date="date">
6572
+ * <span class="custom">{{title}} - {{date | date:'yyyy'}}</span>
6573
+ * </ng-template>
6574
+ * </kendo-calendar>
6579
6575
  * ```
6580
6576
  */
6581
6577
  class NavigationItemTemplateDirective {
@@ -6608,7 +6604,15 @@ class PickerService {
6608
6604
  }
6609
6605
 
6610
6606
  /**
6611
- * Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
6607
+ * A component that allows customization of MultiView Calendar localization messages.
6608
+ *
6609
+ * @example
6610
+ * ```html
6611
+ * <kendo-multiviewcalendar-messages prevButtonTitle="Previous">
6612
+ * </kendo-multiviewcalendar-messages>
6613
+ * ```
6614
+ *
6615
+ * For more information, see the [globalization documentation]({% slug globalization_dateinputs %}#toc-custom-messages).
6612
6616
  */
6613
6617
  class MultiViewCalendarCustomMessagesComponent extends Messages {
6614
6618
  service;
@@ -6743,17 +6747,13 @@ const KENDO_INPUT_PROVIDER = {
6743
6747
  };
6744
6748
  /**
6745
6749
  * Represents the [Kendo UI Calendar component for Angular](slug:overview_calendar).
6746
- *
6747
6750
  * @example
6748
- * ```ts
6749
- * _@Component({
6750
- * selector: 'my-app',
6751
- * template: `
6752
- * <kendo-calendar></kendo-calendar>
6753
- * `
6754
- * })
6755
- * export class AppComponent { }
6751
+ * ```html
6752
+ * <kendo-calendar></kendo-calendar>
6756
6753
  * ```
6754
+ *
6755
+ * @remarks
6756
+ * Supported children components are: {@link CalendarCustomMessagesComponent}.
6757
6757
  */
6758
6758
  class CalendarComponent {
6759
6759
  bus;
@@ -6770,10 +6770,7 @@ class CalendarComponent {
6770
6770
  selectionService;
6771
6771
  pickerService;
6772
6772
  /**
6773
- * Displays the days that fall out of the current month ([see example]({% slug viewoptions_calendar %}#toc-displaying-other-month-days)).
6774
- * The default values per Calendar type are:
6775
- * - `infinite` - false
6776
- * - `classic` - true
6773
+ * Shows days that fall outside the current month and the default values per Calendar type are false for infinite and true for classic ([see example]({% slug viewoptions_calendar %}#toc-displaying-other-month-days)).
6777
6774
  */
6778
6775
  set showOtherMonthDays(_showOtherMonthDays) {
6779
6776
  this._showOtherMonthDays = _showOtherMonthDays;
@@ -6796,11 +6793,10 @@ class CalendarComponent {
6796
6793
  return `kendo-popup-${this.bus.calendarId}`;
6797
6794
  }
6798
6795
  /**
6799
- * Sets or gets the `focusedDate` property of the Calendar and
6800
- * defines the focused date of the component
6796
+ * Specifies the focused date of the Calendar
6801
6797
  * ([see example]({% slug dates_calendar %}#toc-focused-dates)).
6802
6798
  *
6803
- * > If the Calendar is out of the min or max range, it normalizes the defined `focusedDate`.
6799
+ * If the Calendar is outside the `min` or `max` range, the component normalizes the defined `focusedDate`.
6804
6800
  */
6805
6801
  set focusedDate(focusedDate) {
6806
6802
  if (this.activeViewDate && !isEqual(this._focusedDate, focusedDate)) {
@@ -6830,10 +6826,10 @@ class CalendarComponent {
6830
6826
  return this.id + '-header';
6831
6827
  }
6832
6828
  /**
6833
- * Sets or gets the `min` property of the Calendar and
6834
- * defines the minimum allowed date value
6829
+ * Specifies the minimum allowed date value
6835
6830
  * ([see example]({% slug dateranges_calendar %})).
6836
- * By default, the `min` value is `1900-1-1`.
6831
+ *
6832
+ * @default 1900-1-1
6837
6833
  */
6838
6834
  set min(min) {
6839
6835
  this._min = min || new Date(MIN_DATE);
@@ -6842,10 +6838,10 @@ class CalendarComponent {
6842
6838
  return this._min;
6843
6839
  }
6844
6840
  /**
6845
- * Sets or gets the `max` property of the Calendar and
6846
- * defines the maximum allowed date value
6841
+ * Specifies the maximum allowed date value
6847
6842
  * ([see example]({% slug dateranges_calendar %})).
6848
- * By default, the `max` value is `2099-12-31`.
6843
+ *
6844
+ * @default 2099-12-31
6849
6845
  */
6850
6846
  set max(max) {
6851
6847
  this._max = max || new Date(MAX_DATE);
@@ -6854,29 +6850,27 @@ class CalendarComponent {
6854
6850
  return this._max;
6855
6851
  }
6856
6852
  /**
6857
- * Determines whether the built-in min or max validators are enforced when validating a form.
6853
+ * Determines whether the built-in `min` or `max` validators are enforced when validating a form.
6858
6854
  *
6859
6855
  * @default false
6860
6856
  */
6861
6857
  rangeValidation = false;
6862
6858
  /**
6863
- * Sets the format of the displayed Calendar week days' names.
6859
+ * Specifies the format of the displayed week day names.
6860
+ *
6864
6861
  * @default 'short'
6865
6862
  */
6866
6863
  weekDaysFormat = "short";
6867
6864
  /**
6868
6865
  * Toggles the visibility of the footer.
6866
+ *
6869
6867
  * @default false
6870
6868
  */
6871
6869
  footer = false;
6872
6870
  /**
6873
6871
  * Sets the Calendar selection mode
6874
6872
  * ([see example]({% slug selection_calendar %})).
6875
- *
6876
- * The available values are:
6877
- * * `single` (default)
6878
- * * `multiple`
6879
- * * `range`
6873
+ * @default 'single'
6880
6874
  */
6881
6875
  set selection(_selection) {
6882
6876
  this._selection = _selection;
@@ -6896,7 +6890,7 @@ class CalendarComponent {
6896
6890
  /**
6897
6891
  * Sets or gets the `value` property of the Calendar and defines the selected value of the component.
6898
6892
  *
6899
- * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance when in `single` selection mode, an array of valid JavaScript Date instances when in `multiple` selection mode, or an object of type `SelectionRange` when in `range` selection mode.
6893
+ * The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance when in `single` selection mode, an array of valid JavaScript Date instances when in `multiple` selection mode, or an object of type `SelectionRange` when in `range` selection mode.
6900
6894
  */
6901
6895
  set value(candidate) {
6902
6896
  this.valueSetter = true;
@@ -6913,9 +6907,11 @@ class CalendarComponent {
6913
6907
  */
6914
6908
  disabled = false;
6915
6909
  /**
6916
- * Sets or gets the `tabindex` property of the Calendar. Based on the
6910
+ * Specifies the `tabindex` property of the Calendar. Based on the
6917
6911
  * [HTML `tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) behavior,
6918
6912
  * it determines whether the component is focusable.
6913
+ *
6914
+ * @default 0
6919
6915
  */
6920
6916
  tabindex = 0;
6921
6917
  /**
@@ -6928,7 +6924,7 @@ class CalendarComponent {
6928
6924
  return this.tabindex;
6929
6925
  }
6930
6926
  /**
6931
- * Sets the dates of the Calendar that will be disabled
6927
+ * Specifies the dates of the Calendar that will be disabled
6932
6928
  * ([see example]({% slug disabled_dates_calendar %})).
6933
6929
  */
6934
6930
  set disabledDates(value) {
@@ -6939,37 +6935,39 @@ class CalendarComponent {
6939
6935
  return this._disabledDates;
6940
6936
  }
6941
6937
  /**
6942
- * Sets or gets the `navigation` property of the Calendar
6943
- * and determines whether the navigation side-bar will be displayed
6938
+ * Determines whether the navigation side-bar will be displayed
6944
6939
  * ([see example]({% slug sidebar_calendar %})).
6945
6940
  * Applies to the [`infinite`]({% slug api_dateinputs_calendarcomponent %}#toc-type) Calendar only.
6941
+ *
6942
+ * @default true
6946
6943
  */
6947
6944
  navigation = true;
6948
6945
  /**
6949
6946
  * Defines the active view that the Calendar initially renders
6950
6947
  * ([see example]({% slug viewoptions_calendar %})).
6951
- * By default, the active view is `month`.
6948
+ * You have to set `activeView` within the `topView`-`bottomView` range.
6952
6949
  *
6953
- * > You have to set `activeView` within the `topView`-`bottomView` range.
6950
+ * @default 'month'
6954
6951
  */
6955
6952
  activeView = CalendarViewEnum[CalendarViewEnum.month];
6956
6953
  /**
6957
6954
  * Defines the bottommost view to which the user can navigate
6958
6955
  * ([see example](slug:viewdepth_calendar)).
6956
+ *
6957
+ * @default 'month'
6959
6958
  */
6960
6959
  bottomView = CalendarViewEnum[CalendarViewEnum.month];
6961
6960
  /**
6962
6961
  * Defines the topmost view to which the user can navigate
6963
6962
  * ([see example](slug:viewdepth_calendar)).
6963
+ *
6964
+ * @default 'century'
6964
6965
  */
6965
6966
  topView = CalendarViewEnum[CalendarViewEnum.century];
6966
6967
  /**
6967
6968
  * Specifies the Calendar type.
6968
6969
  *
6969
- * The possible values are:
6970
- * - `infinite` (default)
6971
- * - `classic`
6972
- *
6970
+ * @default 'infinite'
6973
6971
  */
6974
6972
  set type(type) {
6975
6973
  this.renderer.removeClass(this.element.nativeElement, `k-calendar-${this.type}`);
@@ -6985,7 +6983,7 @@ class CalendarComponent {
6985
6983
  * Determines whether to enable animation when navigating to previous/next view.
6986
6984
  * Applies to the [`classic`]({% slug api_dateinputs_calendarcomponent %}#toc-type) Calendar only.
6987
6985
  *
6988
- * > This feature uses the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API). In order to run the animation in browsers that do not support it, you need the `web-animations-js` polyfill.
6986
+ * This feature uses the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API). In order to run the animation in browsers that do not support it, you need the `web-animations-js` polyfill.
6989
6987
  *
6990
6988
  * @default false
6991
6989
  */
@@ -6993,6 +6991,8 @@ class CalendarComponent {
6993
6991
  /**
6994
6992
  * Determines whether to display a week number column in the `month` view
6995
6993
  * ([see example]({% slug weeknumcolumn_calendar %})).
6994
+ *
6995
+ * @default false
6996
6996
  */
6997
6997
  weekNumber = false;
6998
6998
  /**
@@ -7240,10 +7240,10 @@ class CalendarComponent {
7240
7240
  }
7241
7241
  _size = DEFAULT_SIZE;
7242
7242
  /**
7243
- * Specify, which end of the defined selection range should be marked as active.
7243
+ * Specifies which end of the defined selection range should be marked as active.
7244
+ * Value will be ignored if the selection range is undefined. If range selection is used then the default value is 'start'.
7244
7245
  *
7245
- * > Value will be ignored if the selection range is undefined.
7246
- * > If range selection is used then the default value is 'start'.
7246
+ * @default 'start'
7247
7247
  */
7248
7248
  set activeRangeEnd(_activeRangeEnd) {
7249
7249
  this._activeRangeEnd = _activeRangeEnd;
@@ -7445,18 +7445,6 @@ class CalendarComponent {
7445
7445
  }
7446
7446
  /**
7447
7447
  * Focuses the Calendar by making the table.k-calendar-table element active.
7448
- *
7449
- * @example
7450
- * ```ts
7451
- * _@Component({
7452
- * selector: 'my-app',
7453
- * template: `
7454
- * <button (click)="calendar.focus()">Focus calendar</button>
7455
- * <kendo-calendar #calendar></kendo-calendar>
7456
- * `
7457
- * })
7458
- * export class AppComponent { }
7459
- * ```
7460
7448
  */
7461
7449
  focus() {
7462
7450
  this.currentlyFocusedElement = this.type === 'infinite' ?
@@ -8520,13 +8508,20 @@ class DateInputIntl {
8520
8508
  this.dateFieldName = service.dateFieldName;
8521
8509
  this.dateFormatNames = (localeId, options) => this.service.dateFormatNames(options, localeId || this.localeId);
8522
8510
  const _localeData = localeData(this.localeId);
8523
- // Setting the `cldr` object from here could be avoided if the logic in the common package is revisited to
8511
+ // Setting the `cldr` object from here could be avoided if the logic in the common package is revisited to
8524
8512
  // directly relies on the `localeId` being set as part of the options => TBD and validated for all suites
8525
8513
  this.cldr[_localeData.name] = _localeData;
8526
8514
  }
8527
8515
  }
8528
8516
  /**
8529
8517
  * Represents the [Kendo UI DateInput component for Angular](slug:overview_dateinput).
8518
+ *
8519
+ * ```html
8520
+ * <kendo-dateinput/>
8521
+ * ```
8522
+ *
8523
+ * @remarks
8524
+ * Supported children components are: {@link DateInputCustomMessagesComponent}.
8530
8525
  */
8531
8526
  class DateInputComponent {
8532
8527
  cdr;
@@ -8569,31 +8564,36 @@ class DateInputComponent {
8569
8564
  }
8570
8565
  }
8571
8566
  /**
8572
- * If set to `true`, renders a clear button after the input text or DateInput value has been changed.
8567
+ * Specifies whether to render a clear button after the input text or DateInput value has been changed.
8573
8568
  * Clicking this button resets the value of the component to `null` and triggers the `valueChange` event.
8574
8569
  * @default false
8575
8570
  */
8576
8571
  clearButton = false;
8577
8572
  /**
8578
- * Sets or gets the `disabled` property of the DateInput and
8579
- * determines whether the component is active
8573
+ * Specifies whether the component is disabled
8580
8574
  * ([see example]({% slug disabled_dateinput %})).
8581
8575
  * To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_dateinput#toc-managing-the-dateinput-disabled-state-in-reactive-forms).
8576
+ *
8577
+ * @default false
8582
8578
  */
8583
8579
  disabled = false;
8584
8580
  /**
8585
- * Sets or gets the read-only state of the DateInput
8581
+ * Specifies the read-only state of the DateInput
8586
8582
  * ([see example]({% slug readonly_dateinput %})).
8587
8583
  *
8588
8584
  * @default false
8589
8585
  */
8590
8586
  readonly = false;
8591
8587
  /**
8592
- * Sets the title of the input element of the DateInput.
8588
+ * Specifies the title of the input element of the DateInput.
8589
+ *
8590
+ * @default ""
8593
8591
  */
8594
8592
  title = "";
8595
8593
  /**
8596
- * Sets or gets the `tabIndex` property of the DateInput.
8594
+ * Specifies the `tabIndex` property of the DateInput.
8595
+ *
8596
+ * @default 0
8597
8597
  */
8598
8598
  tabindex = 0;
8599
8599
  /**
@@ -8621,59 +8621,17 @@ class DateInputComponent {
8621
8621
  * Specifies the date format that is used to display the input value
8622
8622
  * ([see example]({% slug formats_dateinput %})).
8623
8623
  *
8624
- * Format value options:
8625
- * - `string` - Provide a `string` if a single format is going to be used regardless whether the input is focused or blurred.
8626
- * - [`FormatSettings`]({% slug api_dateinputs_formatsettings %}) - To display different formats when the component is focused or blurred, provide a settings object with specified `inputFormat` and `displayFormat` values.
8624
+ * You can provide a string if a single format is going to be used regardless whether the input is focused or blurred.
8625
+ * Alternatively, you can provide a FormatSettings object to display different formats when the component is focused or blurred by specifying inputFormat and displayFormat values.
8627
8626
  */
8628
8627
  format = DEFAULT_FORMAT$1;
8629
8628
  /**
8630
8629
  * Defines the descriptions of the format sections in the input field.
8631
8630
  * For more information, refer to the article on
8632
8631
  * [placeholders]({% slug placeholders_dateinput %}).
8633
- *
8634
- * @example
8635
- * ```ts
8636
- * _@Component({
8637
- * selector: 'my-app',
8638
- * template: `
8639
- * <div class="row example-wrapper" [style.min-height.px]="450">
8640
- * <div class="col-xs-12 col-md-6 example-col">
8641
- * <p>Full-length format description:</p>
8642
- * <kendo-dateinput formatPlaceholder="wide"></kendo-dateinput>
8643
- * </div>
8644
- *
8645
- * <div class="col-xs-12 col-md-6 example-col">
8646
- * <p>Narrow-length format description:</p>
8647
- * <kendo-dateinput formatPlaceholder="narrow"></kendo-dateinput>
8648
- * </div>
8649
- *
8650
- * <div class="col-xs-12 col-md-6 example-col">
8651
- * <p>Short-length format description:</p>
8652
- * <kendo-dateinput formatPlaceholder="short"></kendo-dateinput>
8653
- * </div>
8654
- *
8655
- * <div class="col-xs-12 col-md-6 example-col">
8656
- * <p>Display defined format:</p>
8657
- * <kendo-dateinput format="MM/dd/yyyy" formatPlaceholder="formatPattern"></kendo-dateinput>
8658
- * </div>
8659
- *
8660
- * <div class="col-xs-12 col-md-6 example-col">
8661
- * <p>Custom defined format descriptions</p>
8662
- * <kendo-dateinput format="G"
8663
- * [formatPlaceholder]="{
8664
- * year: 'y', month: 'M', day: 'd',
8665
- * hour: 'h', minute: 'm', second: 's'
8666
- * }"
8667
- * ></kendo-dateinput>
8668
- * </div>
8669
- * </div>
8670
- * `
8671
- * })
8672
- * export class AppComponent { }
8673
- * ```
8674
8632
  */
8675
8633
  set formatPlaceholder(format) {
8676
- this._formatPlaceholder = format ? format : DEFAULT_FORMAT_PLACEHOLDER;
8634
+ this._formatPlaceholder = format || DEFAULT_FORMAT_PLACEHOLDER;
8677
8635
  }
8678
8636
  get formatPlaceholder() {
8679
8637
  return this._formatPlaceholder;
@@ -8682,86 +8640,72 @@ class DateInputComponent {
8682
8640
  * Specifies the hint the DateInput displays when its value is `null`.
8683
8641
  * For more information, refer to the article on
8684
8642
  * [placeholders]({% slug placeholders_dateinput %}).
8685
- *
8686
- * @example
8687
- * ```ts
8688
- * _@Component({
8689
- * selector: 'my-app',
8690
- * template: `
8691
- * <kendo-dateinput placeholder="Enter birth date..."></kendo-dateinput>
8692
- * `
8693
- * })
8694
- * export class AppComponent { }
8695
- * ```
8643
+ * @default null
8696
8644
  */
8697
8645
  placeholder = null;
8698
8646
  /**
8699
8647
  * Configures the incremental steps of the DateInput.
8700
8648
  * For more information, refer to the article on
8701
8649
  * [incremental steps]({% slug incrementalsteps_dateinput %}).
8702
- *
8703
- * @example
8704
- * ```ts
8705
- * _@Component({
8706
- * selector: 'my-app',
8707
- * template: `
8708
- * <kendo-dateinput [steps]="steps"></kendo-dateinput>
8709
- * `
8710
- * })
8711
- * export class AppComponent {
8712
- * public steps = { year: 10, month: 1, day: 5 };
8713
- * }
8714
- * ```
8715
8650
  */
8716
8651
  steps = {};
8717
8652
  /**
8718
8653
  * Specifies the biggest date that is valid
8719
8654
  * ([see example]({% slug dateranges_dateinput %})).
8720
- * By default, the `max` value is `2099-12-31`.
8655
+ *
8656
+ * @default 2099-12-31
8721
8657
  */
8722
8658
  max = cloneDate(MAX_DATE);
8723
8659
  /**
8724
8660
  * Specifies the smallest date that is valid
8725
8661
  * ([see example]({% slug dateranges_dateinput %})).
8726
- * By default, the `min` value is `1900-1-1`.
8662
+ *
8663
+ * @default 1900-1-1
8727
8664
  */
8728
8665
  min = cloneDate(MIN_DATE);
8729
8666
  /**
8730
- * Determines whether the built-in min or max validators are to be enforced when a form is being validated.
8667
+ * Specifies whether to enforce the built-in min and max validators when validating a form.
8668
+ * Set to `true` to enable validation for the `min` and `max` values.
8731
8669
  *
8732
8670
  * @default true
8733
8671
  */
8734
8672
  rangeValidation = true;
8735
8673
  /**
8736
- * Determines whether to autocorrect invalid segments automatically.
8674
+ * Specifies if the component automatically corrects invalid date segments.
8675
+ * When set to `true`, the component fixes invalid segments as you type.
8737
8676
  *
8738
8677
  * @default true
8739
8678
  */
8740
8679
  autoCorrectParts = true;
8741
8680
  /**
8742
- * Determines whether to automatically move to the next segment after the user completes the current one.
8681
+ * Specifies if the component automatically moves to the next segment after you complete the current one.
8682
+ * When set to `true`, focus moves to the next segment as soon as you finish typing the current segment.
8743
8683
  *
8744
8684
  * @default true
8745
8685
  */
8746
8686
  autoSwitchParts = true;
8747
8687
  /**
8748
- * A string array representing custom keys, which will move the focus to the next date format segment.
8688
+ * Specifies custom keys that move focus to the next date format segment.
8689
+ * Provide an array of strings to define which keys trigger the focus change.
8749
8690
  */
8750
8691
  autoSwitchKeys = [];
8751
8692
  /**
8752
- * Determines if the users should see a blinking caret inside the Date Input when possible.
8693
+ * Specifies if the component displays a blinking caret inside the DateInput when possible.
8694
+ * Set to `true` to show a blinking caret for better visual feedback.
8753
8695
  *
8754
8696
  * @default false
8755
8697
  */
8756
8698
  allowCaretMode = false;
8757
8699
  /**
8758
- * When enabled, the DateInput will autofill the rest of the date to the current date when the component loses focus.
8700
+ * Specifies whether to autofill the rest of the date to the current date when the component loses focus.
8759
8701
  *
8760
8702
  * @default false
8761
8703
  */
8762
8704
  autoFill = false;
8763
8705
  /**
8764
- * Determines whether the built-in validation for incomplete dates is to be enforced when a form is being validated.
8706
+ * Specifies whether the built-in validation for incomplete dates is to be enforced when a form is being validated.
8707
+ *
8708
+ * @default false
8765
8709
  */
8766
8710
  incompleteDateValidation = false;
8767
8711
  /**
@@ -8770,6 +8714,7 @@ class DateInputComponent {
8770
8714
  *
8771
8715
  * The default value is 68, indicating that typing any value less than 69
8772
8716
  * will be assumed to be 20xx, while 69 and larger will be assumed to be 19xx.
8717
+ * @default 68
8773
8718
  */
8774
8719
  twoDigitYearMax = TWO_DIGIT_YEAR_MAX$2;
8775
8720
  /**
@@ -8781,7 +8726,7 @@ class DateInputComponent {
8781
8726
  /**
8782
8727
  * Specifies the value of the DateInput component.
8783
8728
  *
8784
- * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
8729
+ * The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
8785
8730
  */
8786
8731
  set value(value) {
8787
8732
  this.verifyValue(value);
@@ -8796,6 +8741,8 @@ class DateInputComponent {
8796
8741
  * Specifies whether the **Up** and **Down** spin buttons will be rendered.
8797
8742
  * For more information, refer to the article on
8798
8743
  * [spinner buttons]({% slug spinbuttons_dateinput %}).
8744
+ *
8745
+ * @default false
8799
8746
  */
8800
8747
  spinners = false;
8801
8748
  /**
@@ -8807,18 +8754,14 @@ class DateInputComponent {
8807
8754
  */
8808
8755
  hasPopup;
8809
8756
  /**
8810
- * Sets the size of the component.
8757
+ * Specifies the size of the component.
8811
8758
  *
8812
- * The possible values are:
8813
- * * `small`
8814
- * * `medium` (Default)
8815
- * * `large`
8816
- * * `none`
8759
+ * @default medium
8817
8760
  *
8818
8761
  */
8819
8762
  set size(size) {
8820
8763
  this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
8821
- const newSize = size ? size : DEFAULT_SIZE;
8764
+ const newSize = size || DEFAULT_SIZE;
8822
8765
  if (newSize !== 'none') {
8823
8766
  this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', newSize));
8824
8767
  }
@@ -8828,19 +8771,12 @@ class DateInputComponent {
8828
8771
  return this._size;
8829
8772
  }
8830
8773
  /**
8831
- * Sets the border radius of the component.
8832
- *
8833
- * The possible values are:
8834
- * * `small`
8835
- * * `medium` (Default)
8836
- * * `large`
8837
- * * `full`
8838
- * * `none`
8839
- *
8774
+ * Specifies the border radius of the component.
8775
+ * @default 'medium'
8840
8776
  */
8841
8777
  set rounded(rounded) {
8842
8778
  this.renderer.removeClass(this.wrapper.nativeElement, getRoundedClass(this.rounded));
8843
- const newRounded = rounded ? rounded : DEFAULT_ROUNDED;
8779
+ const newRounded = rounded || DEFAULT_ROUNDED;
8844
8780
  if (newRounded !== 'none') {
8845
8781
  this.renderer.addClass(this.wrapper.nativeElement, getRoundedClass(newRounded));
8846
8782
  }
@@ -8850,18 +8786,12 @@ class DateInputComponent {
8850
8786
  return this._rounded;
8851
8787
  }
8852
8788
  /**
8853
- * Sets the fillMode of the component.
8854
- *
8855
- * The possible values are:
8856
- * * `solid` (Default)
8857
- * * `flat`
8858
- * * `outline`
8859
- * * `none`
8860
- *
8789
+ * Specifies the fillMode of the component.
8790
+ * @default 'solid'
8861
8791
  */
8862
8792
  set fillMode(fillMode) {
8863
8793
  this.renderer.removeClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
8864
- const newFillMode = fillMode ? fillMode : DEFAULT_FILL_MODE;
8794
+ const newFillMode = fillMode || DEFAULT_FILL_MODE;
8865
8795
  if (newFillMode !== 'none') {
8866
8796
  this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('input', newFillMode));
8867
8797
  if (this.spinners && this.spinup && this.spindown) {
@@ -8875,7 +8805,7 @@ class DateInputComponent {
8875
8805
  return this._fillMode;
8876
8806
  }
8877
8807
  /**
8878
- * Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.
8808
+ * Specifies the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.
8879
8809
  */
8880
8810
  set inputAttributes(attributes) {
8881
8811
  if (isObjectPresent(this.parsedAttributes)) {
@@ -9250,20 +9180,9 @@ class DateInputComponent {
9250
9180
  /**
9251
9181
  * Focuses the DateInput component.
9252
9182
  *
9253
- * @example
9254
- * ```ts
9255
- * _@Component({
9256
- * selector: 'my-app',
9257
- * template: `
9258
- * <button (click)="dateinput.focus()">Focus date input</button>
9259
- * <kendo-dateinput #dateinput></kendo-dateinput>
9260
- * `
9261
- * })
9262
- * export class AppComponent { }
9263
- * ```
9264
9183
  */
9265
9184
  focus() {
9266
- this.kendoDate && this.kendoDate.focus();
9185
+ this.kendoDate?.focus();
9267
9186
  }
9268
9187
  /**
9269
9188
  * Blurs the DateInput component.
@@ -9397,7 +9316,7 @@ class DateInputComponent {
9397
9316
  }
9398
9317
  }
9399
9318
  setInputAttributes() {
9400
- const attributesToRender = Object.assign({}, this.mutableAttributes, this.parsedAttributes);
9319
+ const attributesToRender = { ...this.mutableAttributes, ...this.parsedAttributes };
9401
9320
  setHTMLAttributes(attributesToRender, this.renderer, this.dateInput.nativeElement, this.ngZone);
9402
9321
  }
9403
9322
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateInputComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.IntlService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i1$1.LocalizationService }, { token: PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
@@ -9745,7 +9664,15 @@ const disabledDatesValidator = (isDateDisabled) => {
9745
9664
  };
9746
9665
 
9747
9666
  /**
9748
- * Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
9667
+ * A component that allows customization of Calendar localization messages.
9668
+ *
9669
+ * @example
9670
+ * ```html
9671
+ * <kendo-calendar-messages prevButtonTitle="Previous">
9672
+ * </kendo-calendar-messages>
9673
+ * ```
9674
+ *
9675
+ * For more information, see the [globalization documentation]({% slug globalization_dateinputs %}#toc-custom-messages).
9749
9676
  */
9750
9677
  class CalendarCustomMessagesComponent extends CalendarMessages {
9751
9678
  service;
@@ -9780,7 +9707,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
9780
9707
  }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
9781
9708
 
9782
9709
  /**
9783
- * Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
9710
+ * Represents the Kendo UI DateInput custom messages component.
9711
+ * Overrides the default component messages with custom messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
9712
+ *
9713
+ * @example
9714
+ * ```ts
9715
+ * @Component({
9716
+ * selector: 'my-app',
9717
+ * template: `
9718
+ * <kendo-dateinput>
9719
+ * <kendo-dateinput-messages
9720
+ * increment="Increase value"
9721
+ * decrement="Decrease value">
9722
+ * </kendo-dateinput-messages>
9723
+ * </kendo-dateinput>
9724
+ * `
9725
+ * })
9726
+ * export class AppComponent { }
9727
+ * ```
9784
9728
  */
9785
9729
  class DateInputCustomMessagesComponent extends DateInputMessages {
9786
9730
  service;
@@ -9908,7 +9852,26 @@ const VALUE_DOC_LINK$2 = 'https://www.telerik.com/kendo-angular-ui/components/da
9908
9852
  const DEFAULT_FORMAT = 'd';
9909
9853
  const TWO_DIGIT_YEAR_MAX$1 = 68;
9910
9854
  /**
9911
- * Represents the [Kendo UI DatePicker component for Angular](slug:overview_datepicker).
9855
+ * Represents the Kendo UI DatePicker component for Angular.
9856
+ * Provides a user-friendly way to select dates with a calendar popup ([see example](slug:overview_datepicker)).
9857
+ *
9858
+ * @example
9859
+ * ```ts
9860
+ * @Component({
9861
+ * selector: 'my-app',
9862
+ * template: `
9863
+ * <kendo-datepicker
9864
+ * [value]="selectedDate"
9865
+ * </kendo-datepicker>
9866
+ * `
9867
+ * })
9868
+ * export class AppComponent {
9869
+ * selectedDate = new Date();
9870
+ * }
9871
+ * ```
9872
+ *
9873
+ * @remarks
9874
+ * Supported children components are: {@link DatePickerCustomMessagesComponent}.
9912
9875
  */
9913
9876
  class DatePickerComponent extends MultiTabStop {
9914
9877
  zone;
@@ -9944,13 +9907,14 @@ class DatePickerComponent extends MultiTabStop {
9944
9907
  this.cellTemplate = template;
9945
9908
  }
9946
9909
  /**
9947
- * If set to `true`, renders a clear button after the input text or DatePicker value has been changed.
9948
- * Clicking this button resets the value of the component to `null` and triggers the `valueChange` event.
9910
+ * Renders a clear button when set to `true` after the input text or DatePicker value changes.
9911
+ * Click this button to reset the component value to `null` and trigger the `valueChange` event.
9949
9912
  * @default false
9950
9913
  */
9951
9914
  clearButton = false;
9952
9915
  /**
9953
- * Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.
9916
+ * Specifies the HTML attributes of the inner focusable input element.
9917
+ * You cannot change attributes that are essential for certain component functionalities.
9954
9918
  */
9955
9919
  inputAttributes;
9956
9920
  /**
@@ -10034,7 +9998,7 @@ class DatePickerComponent extends MultiTabStop {
10034
9998
  this.footerTemplate = template;
10035
9999
  }
10036
10000
  /**
10037
- * Toggles the visibility of the Calendar footer.
10001
+ * Controls the visibility of the Calendar footer.
10038
10002
  * @default false
10039
10003
  */
10040
10004
  footer = false;
@@ -10049,62 +10013,53 @@ class DatePickerComponent extends MultiTabStop {
10049
10013
  this.navigationItemTemplate = template;
10050
10014
  }
10051
10015
  /**
10052
- * Sets the format of the displayed Calendar week days' names.
10016
+ * Specifies the format of the displayed Calendar week days' names.
10053
10017
  * @default 'short'
10054
10018
  */
10055
10019
  weekDaysFormat = "short";
10056
10020
  /**
10057
- * Displays the days that fall out of the current month in the Calendar ([see example]({% slug viewoptions_calendar %}#toc-displaying-other-month-days)).
10058
- * The default values per Calendar type are:
10059
- * - `infinite` - false
10060
- * - `classic` - true
10021
+ * Shows the days that fall outside the current month in the Calendar ([see example]({% slug viewoptions_calendar %}#toc-displaying-other-month-days)).
10022
+ * The default value is `false` for infinite Calendar type and `true` for classic Calendar type.
10061
10023
  */
10062
10024
  showOtherMonthDays;
10063
10025
  /**
10064
- * Defines the active view that the Calendar initially renders
10065
- * ([see example]({% slug viewoptions_calendar %}#toc-active-view)).
10066
- * By default, the active view is `month`.
10026
+ * Specifies the active view that the Calendar initially renders ([see example]({% slug viewoptions_calendar %}#toc-active-view)).
10067
10027
  *
10068
- * > You have to set `activeView` within the `topView`-`bottomView` range.
10028
+ * You have to set `activeView` within the `topView`-`bottomView` range.
10029
+ * @default 'month'
10069
10030
  */
10070
10031
  activeView = CalendarViewEnum[CalendarViewEnum.month];
10071
10032
  /**
10072
- * Defines the bottommost Calendar view to which the user can navigate
10073
- * ([see example](slug:datepicker_calendar_options#toc-view-selection-depth)).
10033
+ * Specifies the bottommost Calendar view to which you can navigate ([see example](slug:datepicker_calendar_options#toc-view-selection-depth)).
10034
+ * @default 'month'
10074
10035
  */
10075
10036
  bottomView = CalendarViewEnum[CalendarViewEnum.month];
10076
10037
  /**
10077
- * Defines the topmost Calendar view to which the user can navigate
10078
- * ([see example](slug:datepicker_calendar_options#toc-view-selection-depth)).
10038
+ * Specifies the topmost Calendar view to which you can navigate ([see example](slug:datepicker_calendar_options#toc-view-selection-depth)).
10039
+ * @default 'century'
10079
10040
  */
10080
10041
  topView = CalendarViewEnum[CalendarViewEnum.century];
10081
10042
  /**
10082
10043
  * Specifies the Calendar type.
10083
- *
10084
- * The possible values are:
10085
- * - `infinite` (default)
10086
- * - `classic`
10087
- *
10044
+ * @default 'infinite'
10088
10045
  */
10089
10046
  calendarType = 'infinite';
10090
10047
  /**
10091
10048
  * Determines whether to enable animation when navigating to previous/next Calendar view.
10092
10049
  * Applies to the [`classic`]({% slug api_dateinputs_datepickercomponent %}#toc-calendartype) Calendar only.
10093
10050
  *
10094
- * > This feature uses the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API). In order to run the animation in browsers that do not support it, you need the `web-animations-js` polyfill.
10051
+ * This feature uses the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API). In order to run the animation in browsers that do not support it, you need the `web-animations-js` polyfill.
10095
10052
  *
10096
10053
  * @default false
10097
10054
  */
10098
10055
  animateCalendarNavigation = false;
10099
10056
  /**
10100
- * Sets or gets the `disabled` property of the DatePicker and determines whether the component is active
10101
- * ([see example]({% slug disabled_datepicker %})).
10057
+ * Specifies or gets the `disabled` property of the DatePicker and determines whether the component is active ([see example]({% slug disabled_datepicker %})).
10102
10058
  * To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_datepicker#toc-managing-the-datepicker-disabled-state-in-reactive-forms).
10103
10059
  */
10104
10060
  disabled = false;
10105
10061
  /**
10106
- * Sets the read-only state of the DatePicker
10107
- * ([see example]({% slug readonly_datepicker %}#toc-read-only-datepicker)).
10062
+ * Specifies the read-only state of the DatePicker ([see example]({% slug readonly_datepicker %}#toc-read-only-datepicker)).
10108
10063
  *
10109
10064
  * @default false
10110
10065
  */
@@ -10113,20 +10068,19 @@ class DatePickerComponent extends MultiTabStop {
10113
10068
  * Sets the read-only state of the DatePicker input field
10114
10069
  * ([see example]({% slug readonly_datepicker %}#toc-read-only-input)).
10115
10070
  *
10116
- * > Note that if you set the [`readonly`]({% slug api_dateinputs_datepickercomponent %}#toc-readonly) property value to `true`,
10071
+ * If you set the [`readonly`]({% slug api_dateinputs_datepickercomponent %}#toc-readonly) property value to `true`,
10117
10072
  * the input will be rendered in a read-only state regardless of the `readOnlyInput` value.
10118
10073
  */
10119
10074
  readOnlyInput = false;
10120
10075
  /**
10121
10076
  * Configures the popup options of the DatePicker.
10122
10077
  *
10123
- * The available options are:
10124
- * - `animate: Boolean`&mdash;Controls the popup animation. By default, the open and close animations are enabled.
10125
- * - `appendTo: 'root' | 'component' | ViewContainerRef`&mdash;Controls the popup container. By default, the popup will be appended to the root component.
10126
- * - `popupClass: String`&mdash;Specifies a list of CSS classes that are used to style the popup.
10078
+ * The available options are animate which controls the popup animation and by default, the open and close animations are enabled.
10079
+ * The appendTo option controls the popup container and by default, the popup will be appended to the root component.
10080
+ * The popupClass option specifies a list of CSS classes that are used to style the popup.
10127
10081
  */
10128
10082
  set popupSettings(settings) {
10129
- this._popupSettings = Object.assign({}, { animate: true }, settings);
10083
+ this._popupSettings = { animate: true, ...settings };
10130
10084
  }
10131
10085
  get popupSettings() {
10132
10086
  return this._popupSettings;
@@ -10149,17 +10103,18 @@ class DatePickerComponent extends MultiTabStop {
10149
10103
  /**
10150
10104
  * Specifies the smallest valid date
10151
10105
  * ([see example]({% slug dateranges_datepicker %})).
10152
- * By default, the `min` value is `1900-1-1`.
10106
+ * @default 1900-1-1
10153
10107
  */
10154
10108
  min = cloneDate(MIN_DATE);
10155
10109
  /**
10156
10110
  * Specifies the biggest valid date
10157
10111
  * ([see example]({% slug dateranges_datepicker %})).
10158
- * By default, the `max` value is `2099-12-31`.
10112
+ * @default 2099-12-31
10159
10113
  */
10160
10114
  max = cloneDate(MAX_DATE);
10161
10115
  /**
10162
10116
  * Determines whether the built-in validation for incomplete dates is to be enforced when a form is being validated.
10117
+ * @default false
10163
10118
  */
10164
10119
  incompleteDateValidation = false;
10165
10120
  /**
@@ -10199,13 +10154,13 @@ class DatePickerComponent extends MultiTabStop {
10199
10154
  /**
10200
10155
  * Specifies the focused date of the Calendar component
10201
10156
  * ([see example](slug:datepicker_calendar_options#toc-focused-dates)).
10157
+ * @default null
10202
10158
  */
10203
10159
  focusedDate = null;
10204
10160
  /**
10205
10161
  * Specifies the value of the DatePicker component.
10206
10162
  *
10207
- * > The `value` has to be a valid
10208
- * [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
10163
+ * The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
10209
10164
  */
10210
10165
  set value(value) {
10211
10166
  this.verifyValue(value);
@@ -10218,9 +10173,8 @@ class DatePickerComponent extends MultiTabStop {
10218
10173
  * Specifies the date format that is used to display the input value
10219
10174
  * ([see example]({% slug formats_datepicker %})).
10220
10175
  *
10221
- * Format value options:
10222
- * - `string` - Provide a `string` if a single format is going to be used regardless whether the input is focused or blurred.
10223
- * - [`FormatSettings`]({% slug api_dateinputs_formatsettings %}) - To display different formats when the component is focused or blurred, provide a settings object with specified `inputFormat` and `displayFormat` values.
10176
+ * Format value options include string to provide a single format that is used regardless whether the input is focused or blurred.
10177
+ * FormatSettings can be used to display different formats when the component is focused or blurred by providing a settings object with specified inputFormat and displayFormat values.
10224
10178
  */
10225
10179
  format = DEFAULT_FORMAT;
10226
10180
  /**
@@ -10229,69 +10183,25 @@ class DatePickerComponent extends MultiTabStop {
10229
10183
  *
10230
10184
  * The default value is 68, indicating that typing any value less than 69
10231
10185
  * will be assumed to be 20xx, while 69 and larger will be assumed to be 19xx.
10186
+ * @default 68
10232
10187
  */
10233
10188
  twoDigitYearMax = TWO_DIGIT_YEAR_MAX$1;
10234
10189
  /**
10235
10190
  * Defines the descriptions of the format sections in the input field.
10236
10191
  * ([more information and examples]({% slug placeholders_datepicker %})).
10237
10192
  *
10238
- * @example
10239
- * ```ts
10240
- * _@Component({
10241
- * selector: 'my-app',
10242
- * template: `
10243
- * <div class="row example-wrapper" [style.min-height.px]="450">
10244
- * <div class="col-xs-12 col-md-6 example-col">
10245
- * <p>Full-length format description:</p>
10246
- * <kendo-datepicker formatPlaceholder="wide"></kendo-datepicker>
10247
- * </div>
10248
- *
10249
- * <div class="col-xs-12 col-md-6 example-col">
10250
- * <p>Narrow-length format description:</p>
10251
- * <kendo-datepicker formatPlaceholder="narrow"></kendo-datepicker>
10252
- * </div>
10253
- *
10254
- * <div class="col-xs-12 col-md-6 example-col">
10255
- * <p>Short-length format description:</p>
10256
- * <kendo-datepicker formatPlaceholder="short"></kendo-datepicker>
10257
- * </div>
10258
- *
10259
- * <div class="col-xs-12 col-md-6 example-col">
10260
- * <p>Display defined format:</p>
10261
- * <kendo-datepicker format="MM/dd/yyyy" formatPlaceholder="formatPattern"></kendo-datepicker>
10262
- * </div>
10263
- *
10264
- * <div class="col-xs-12 col-md-6 example-col">
10265
- * <p>Custom defined format descriptions</p>
10266
- * <kendo-datepicker format="MM/dd/yyyy"
10267
- * [formatPlaceholder]="{ year: 'y', month: 'M', day: 'd' }"
10268
- * ></kendo-datepicker>
10269
- * </div>
10270
- * </div>
10271
- * `
10272
- * })
10273
- * export class AppComponent { }
10274
- * ```
10275
10193
  */
10276
10194
  formatPlaceholder;
10277
10195
  /**
10278
10196
  * Specifies the hint the DatePicker displays when its value is `null`.
10279
10197
  * ([more information and exaples]({% slug placeholders_datepicker %})).
10280
- *
10281
- * @example
10282
- * ```ts
10283
- * _@Component({
10284
- * selector: 'my-app',
10285
- * template: `
10286
- * <kendo-datepicker placeholder="Enter birth date..."></kendo-datepicker>
10287
- * `
10288
- * })
10289
- * export class AppComponent { }
10290
- * ```
10198
+ * @default null
10291
10199
  */
10292
10200
  placeholder = null;
10293
10201
  /**
10294
- * Sets or gets the `tabindex` property of the DatePicker.
10202
+ * Sets the `tabindex` of the DatePicker.
10203
+ * This property is used to set the order in which the DatePicker will receive focus when navigating through the page using the Tab key.
10204
+ * @default 0
10295
10205
  */
10296
10206
  tabindex = 0;
10297
10207
  /**
@@ -10317,11 +10227,13 @@ class DatePickerComponent extends MultiTabStop {
10317
10227
  /**
10318
10228
  * Sets the title of the input element of the DatePicker and the title text rendered
10319
10229
  * in the header of the popup(action sheet). Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
10230
+ * @default ""
10320
10231
  */
10321
10232
  adaptiveTitle = "";
10322
10233
  /**
10323
10234
  * Sets the subtitle text rendered in the header of the popup(action sheet).
10324
10235
  * Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
10236
+ * @default ""
10325
10237
  */
10326
10238
  adaptiveSubtitle = "";
10327
10239
  /**
@@ -10334,27 +10246,23 @@ class DatePickerComponent extends MultiTabStop {
10334
10246
  * Determines whether the built-in validator for disabled
10335
10247
  * date ranges is enforced when validating a form
10336
10248
  * ([see example]( slug:disabled_dates_datepicker#toc-using-a-function)).
10249
+ * @default true
10337
10250
  */
10338
10251
  disabledDatesValidation = true;
10339
10252
  /**
10340
10253
  * Determines whether to display a week number column in the `month` view of the Calendar
10341
10254
  * ([see example](slug:datepicker_calendar_options#toc-week-number-column)).
10255
+ * @default false
10342
10256
  */
10343
10257
  weekNumber = false;
10344
10258
  /**
10345
10259
  * Sets the size of the component.
10346
- *
10347
- * The possible values are:
10348
- * * `small`
10349
- * * `medium` (Default)
10350
- * * `large`
10351
- * * `none`
10352
- *
10260
+ * @default 'medium'
10353
10261
  */
10354
10262
  set size(size) {
10355
10263
  this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
10356
10264
  this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('button', this.size));
10357
- const newSize = size ? size : DEFAULT_SIZE;
10265
+ const newSize = size || DEFAULT_SIZE;
10358
10266
  if (newSize !== 'none') {
10359
10267
  this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', newSize));
10360
10268
  this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('button', newSize));
@@ -10365,19 +10273,12 @@ class DatePickerComponent extends MultiTabStop {
10365
10273
  return this._size;
10366
10274
  }
10367
10275
  /**
10368
- * Sets the border radius of the component.
10369
- *
10370
- * The possible values are:
10371
- * * `small`
10372
- * * `medium` (Default)
10373
- * * `large`
10374
- * * `full`
10375
- * * `none`
10376
- *
10276
+ * Specifies the border radius of the component.
10277
+ * @default 'medium'
10377
10278
  */
10378
10279
  set rounded(rounded) {
10379
10280
  this.renderer.removeClass(this.wrapper.nativeElement, getRoundedClass(this.rounded));
10380
- const newRounded = rounded ? rounded : DEFAULT_ROUNDED;
10281
+ const newRounded = rounded || DEFAULT_ROUNDED;
10381
10282
  if (newRounded !== 'none') {
10382
10283
  this.renderer.addClass(this.wrapper.nativeElement, getRoundedClass(newRounded));
10383
10284
  }
@@ -10387,14 +10288,8 @@ class DatePickerComponent extends MultiTabStop {
10387
10288
  return this._rounded;
10388
10289
  }
10389
10290
  /**
10390
- * Sets the fillMode of the component.
10391
- *
10392
- * The possible values are:
10393
- * * `solid` (Default)
10394
- * * `flat`
10395
- * * `outline`
10396
- * * `none`
10397
- *
10291
+ * Specifies the fillMode of the component.
10292
+ * @default 'solid'
10398
10293
  */
10399
10294
  set fillMode(fillMode) {
10400
10295
  this.renderer.removeClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
@@ -10412,7 +10307,9 @@ class DatePickerComponent extends MultiTabStop {
10412
10307
  return this._fillMode;
10413
10308
  }
10414
10309
  /**
10415
- * Enables or disables the adaptive mode. By default the adaptive rendering is disabled.
10310
+ * Specifies whether to enable adaptive rendering. When enabled, the DatePicker automatically switches between a calendar popup on larger screens and an ActionSheet on mobile devices.
10311
+ *
10312
+ * @default 'none'
10416
10313
  */
10417
10314
  adaptiveMode = 'none';
10418
10315
  /**
@@ -10685,18 +10582,6 @@ class DatePickerComponent extends MultiTabStop {
10685
10582
  }
10686
10583
  /**
10687
10584
  * Focuses the DatePicker component.
10688
- *
10689
- * @example
10690
- * ```ts
10691
- * _@Component({
10692
- * selector: 'my-app',
10693
- * template: `
10694
- * <button (click)="datepicker.focus()">Focus date picker</button>
10695
- * <kendo-datepicker #datepicker></kendo-datepicker>
10696
- * `
10697
- * })
10698
- * export class AppComponent { }
10699
- * ```
10700
10585
  */
10701
10586
  focus() {
10702
10587
  this.dateInput.focus();
@@ -10712,7 +10597,7 @@ class DatePickerComponent extends MultiTabStop {
10712
10597
  * If you use the `toggle` method to show or hide the popup or actionSheet,
10713
10598
  * the `open` and `close` events do not fire.
10714
10599
  *
10715
- * @param show - The state of the popup.
10600
+ * @param show The state of the popup.
10716
10601
  */
10717
10602
  toggle(show) {
10718
10603
  if (this.disabled || this.readonly) {
@@ -12778,59 +12663,59 @@ const snapTime = snappers => (candidate, min) => {
12778
12663
  */
12779
12664
  class TimePickerMessages extends ComponentMessages {
12780
12665
  /**
12781
- * The text of the **Accept** button in the popup footer of the TimeList.
12666
+ * Specifies the text of the **Accept** button in the popup footer of the TimeList.
12782
12667
  */
12783
12668
  accept;
12784
12669
  /**
12785
- * The label of the **Accept** button in the popup footer of the TimeList.
12670
+ * Specifies the label of the **Accept** button in the popup footer of the TimeList.
12786
12671
  */
12787
12672
  acceptLabel;
12788
12673
  /**
12789
- * The text of the **Cancel** button in the popup footer of the TimeList.
12674
+ * Specifies the text of the **Cancel** button in the popup footer of the TimeList.
12790
12675
  */
12791
12676
  cancel;
12792
12677
  /**
12793
- * The label of the **Cancel** button in the popup footer of the TimeList.
12678
+ * Specifies the label of the **Cancel** button in the popup footer of the TimeList.
12794
12679
  */
12795
12680
  cancelLabel;
12796
12681
  /**
12797
- * The text of the **Now** button in the popup header of the TimeList.
12682
+ * Specifies the text of the **Now** button in the popup header of the TimeList.
12798
12683
  */
12799
12684
  now;
12800
12685
  /**
12801
- * The label of the **Now** button in the popup header of the TimeList.
12686
+ * Specifies the label of the **Now** button in the popup header of the TimeList.
12802
12687
  */
12803
12688
  nowLabel;
12804
12689
  /**
12805
- * The title of the **Toggle** button of the TimePicker.
12690
+ * Specifies the title of the **Toggle** button of the TimePicker.
12806
12691
  */
12807
12692
  toggle;
12808
12693
  /**
12809
- * The label of the **Hour** part in the TimePicker.
12694
+ * Specifies the label of the **Hour** part in the TimePicker.
12810
12695
  */
12811
12696
  hour;
12812
12697
  /**
12813
- * The label of the **Minute** part in the TimePicker.
12698
+ * Specifies the label of the **Minute** part in the TimePicker.
12814
12699
  */
12815
12700
  minute;
12816
12701
  /**
12817
- * The label of the **Second** part in the TimePicker.
12702
+ * Specifies the label of the **Second** part in the TimePicker.
12818
12703
  */
12819
12704
  second;
12820
12705
  /**
12821
- * The label of the **Millisecond** part in the TimePicker.
12706
+ * Specifies the label of the **Millisecond** part in the TimePicker.
12822
12707
  */
12823
12708
  millisecond;
12824
12709
  /**
12825
- * The label of the **Dayperiod** part in the TimePicker.
12710
+ * Specifies the label of the **Dayperiod** part in the TimePicker.
12826
12711
  */
12827
12712
  dayperiod;
12828
12713
  /**
12829
- * The title of the **Clear** button of the TimePicker.
12714
+ * Specifies the title of the **Clear** button of the TimePicker.
12830
12715
  */
12831
12716
  clearTitle;
12832
12717
  /**
12833
- * The title of the Close button of the ActionSheet that is rendered instead of the Popup when using small screen devices in adaptive mode.
12718
+ * Specifies the title of the **Close** button of the ActionSheet that renders instead of the popup when using small screen devices in adaptive mode.
12834
12719
  */
12835
12720
  adaptiveCloseButtonTitle;
12836
12721
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimePickerMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
@@ -12943,62 +12828,58 @@ class TimeSelectorComponent {
12943
12828
  return this.disabled;
12944
12829
  }
12945
12830
  /**
12946
- * Specifies the time format used to display the time list columns.
12831
+ * Specifies the time format that displays the time list columns.
12832
+ *
12833
+ * @default 't'
12947
12834
  */
12948
12835
  format = 't';
12949
12836
  /**
12950
- * Specifies the smallest valid time value.
12837
+ * Sets the smallest valid time value.
12951
12838
  */
12952
12839
  min = cloneDate(MIN_TIME);
12953
12840
  /**
12954
- * Specifies the biggest valid time value.
12841
+ * Sets the largest valid time value.
12955
12842
  */
12956
12843
  max = cloneDate(MAX_TIME);
12957
12844
  /**
12958
- * Determines whether to display the **Cancel** button in the popup.
12845
+ * Controls the display of the **Cancel** button in the popup.
12846
+ *
12847
+ * @default true
12959
12848
  */
12960
12849
  cancelButton = true;
12961
12850
  /**
12962
- * Determines whether to display the **Set** button in the popup.
12851
+ * Controls the display of the **Set** button in the popup.
12852
+ *
12853
+ * @default true
12963
12854
  */
12964
12855
  setButton = true;
12965
12856
  /**
12966
- * Determines whether to display the **Now** button in the popup.
12857
+ * Controls the display of the **Now** button in the popup.
12858
+ *
12859
+ * When the current time is out of range or the incremental step is greater than `1`, the **Now** button is hidden.
12967
12860
  *
12968
- * > If the current time is out of range or the incremental step is greater than `1`, the **Now** button will be hidden.
12861
+ * @default true
12969
12862
  */
12970
12863
  nowButton = true;
12971
12864
  /**
12972
- * Sets or gets the `disabled` property of the TimeSelector and determines whether the component is active.
12865
+ * Sets the `disabled` property of the `TimeSelector` and controls whether the component is active.
12866
+ *
12867
+ * @default false
12973
12868
  */
12974
12869
  disabled = false;
12975
12870
  /**
12976
- * Needed in order to set it in the dom service so that timeselector height can be properly calculated
12871
+ * Sets the adaptive mode for the component.
12872
+ * Use this property to enable proper height calculation in the DOM service.
12977
12873
  */
12978
12874
  isAdaptiveEnabled;
12875
+ /**
12876
+ * Specifies whether the component is used as part of a DateTimePicker.
12877
+ */
12979
12878
  isDateTimePicker;
12980
12879
  /**
12981
12880
  * Configures the incremental steps of the TimeSelector.
12982
12881
  *
12983
- * The available options are:
12984
- * - `hour: Number`&mdash;Controls the incremental step of the hour value.
12985
- * - `minute: Number`&mdash;Controls the incremental step of the minute value.
12986
- * - `second: Number`&mdash;Controls the incremental step of the second value.
12987
- *
12988
- * @example
12989
- * ```ts
12990
- * _@Component({
12991
- * selector: 'my-app',
12992
- * template: `
12993
- * <kendo-timeselector format="HH:mm:ss" [steps]="steps"></kendo-timeselector>
12994
- * `
12995
- * })
12996
- * export class AppComponent {
12997
- * public steps = { hour: 2, minute: 15, second: 15 };
12998
- * }
12999
- * ```
13000
- *
13001
- * > If the incremental step is greater than `1`, the **Now** button will be hidden.
12882
+ * When the incremental step is greater than `1`, the **Now** button is hidden.
13002
12883
  */
13003
12884
  set steps(steps) {
13004
12885
  this._steps = steps || {};
@@ -13106,18 +12987,6 @@ class TimeSelectorComponent {
13106
12987
  }
13107
12988
  /**
13108
12989
  * Focuses the TimeSelector component.
13109
- *
13110
- * @example
13111
- * ```ts
13112
- * _@Component({
13113
- * selector: 'my-app',
13114
- * template: `
13115
- * <button (click)="timeselector.focus()">Focus time picker</button>
13116
- * <kendo-timeselector #timeselector></kendo-timeselector>
13117
- * `
13118
- * })
13119
- * export class AppComponent { }
13120
- * ```
13121
12990
  */
13122
12991
  focus() {
13123
12992
  const list = this.timeLists.first;
@@ -13702,6 +13571,22 @@ const ACCEPT_BUTTON_SELECTOR$1 = '.k-button.k-time-accept';
13702
13571
  const CANCEL_BUTTON_SELECTOR = '.k-button.k-time-cancel';
13703
13572
  /**
13704
13573
  * Represents the [Kendo UI TimePicker component for Angular](slug:overview_timepicker).
13574
+ *
13575
+ * @example
13576
+ * ```typescript
13577
+ * @Component({
13578
+ * selector: 'my-app',
13579
+ * template: `
13580
+ * <kendo-timepicker [(value)]="selectedTime"></kendo-timepicker>
13581
+ * `
13582
+ * })
13583
+ * export class AppComponent {
13584
+ * public selectedTime: Date = new Date();
13585
+ * }
13586
+ * ```
13587
+ *
13588
+ * @remarks
13589
+ * Supported children components are: {@link TimePickerCustomMessagesComponent}.
13705
13590
  */
13706
13591
  class TimePickerComponent extends MultiTabStop {
13707
13592
  bus;
@@ -13728,14 +13613,15 @@ class TimePickerComponent extends MultiTabStop {
13728
13613
  */
13729
13614
  focusableId;
13730
13615
  /**
13731
- * Sets or gets the `disabled` property of the TimePicker and
13732
- * determines whether the component is active
13616
+ * Determines whether the TimePicker is disabled
13733
13617
  * ([see example]({% slug disabled_timepicker %})).
13734
13618
  * To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_timepicker#toc-managing-the-timepicker-disabled-state-in-reactive-forms).
13619
+ *
13620
+ * @default false
13735
13621
  */
13736
13622
  disabled = false;
13737
13623
  /**
13738
- * Sets the read-only state of the TimePicker
13624
+ * Determines the read-only state of the TimePicker
13739
13625
  * ([see example]({% slug readonly_timepicker %}#toc-read-only-timepicker)).
13740
13626
  *
13741
13627
  * @default false
@@ -13745,8 +13631,9 @@ class TimePickerComponent extends MultiTabStop {
13745
13631
  * Sets the read-only state of the TimePicker input field
13746
13632
  * ([see example]({% slug readonly_timepicker %}#toc-read-only-input)).
13747
13633
  *
13748
- * > Note that if you set the [`readonly`]({% slug api_dateinputs_timepickercomponent %}#toc-readonly) property value to `true`,
13634
+ * If you set the [`readonly`]({% slug api_dateinputs_timepickercomponent %}#toc-readonly) property value to `true`,
13749
13635
  * the input will be rendered in a read-only state regardless of the `readOnlyInput` value.
13636
+ * @default false
13750
13637
  */
13751
13638
  readOnlyInput = false;
13752
13639
  /**
@@ -13758,72 +13645,26 @@ class TimePickerComponent extends MultiTabStop {
13758
13645
  /**
13759
13646
  * Specifies the time format that is used to display the input value
13760
13647
  * ([see example]({% slug formats_timepicker %})).
13648
+ * @default 't'
13761
13649
  */
13762
13650
  format = 't';
13763
13651
  /**
13764
13652
  * Defines the descriptions of the format sections in the input field.
13765
13653
  * For more information, refer to the article on
13766
13654
  * [placeholders]({% slug placeholders_timepicker %}).
13767
- *
13768
- * @example
13769
- * ```ts
13770
- * _@Component({
13771
- * selector: 'my-app',
13772
- * template: `
13773
- * <div class="row example-wrapper" [style.min-height.px]="450">
13774
- * <div class="col-xs-12 col-md-6 example-col">
13775
- * <p>Full-length format description:</p>
13776
- * <kendo-timepicker formatPlaceholder="wide"></kendo-timepicker>
13777
- * </div>
13778
- *
13779
- * <div class="col-xs-12 col-md-6 example-col">
13780
- * <p>Narrow-length format description:</p>
13781
- * <kendo-timepicker formatPlaceholder="narrow"></kendo-timepicker>
13782
- * </div>
13783
- *
13784
- * <div class="col-xs-12 col-md-6 example-col">
13785
- * <p>Short-length format description:</p>
13786
- * <kendo-timepicker formatPlaceholder="short"></kendo-timepicker>
13787
- * </div>
13788
- *
13789
- * <div class="col-xs-12 col-md-6 example-col">
13790
- * <p>Display defined format:</p>
13791
- * <kendo-timepicker format="HH:mm:ss" formatPlaceholder="formatPattern"></kendo-timepicker>
13792
- * </div>
13793
- *
13794
- * <div class="col-xs-12 col-md-6 example-col">
13795
- * <p>Custom defined format descriptions</p>
13796
- * <kendo-timepicker format="HH:mm:ss"
13797
- * [formatPlaceholder]="{ hour: 'H', minute: 'm', second: 's' }"
13798
- * ></kendo-timepicker>
13799
- * </div>
13800
- * </div>
13801
- * `
13802
- * })
13803
- * export class AppComponent { }
13804
- * ```
13805
13655
  */
13806
13656
  formatPlaceholder;
13807
13657
  /**
13808
13658
  * Specifies the hint the TimePicker displays when its value is `null`.
13809
13659
  * For more information, refer to the article on
13810
13660
  * [placeholders]({% slug placeholders_timepicker %}).
13811
- *
13812
- * @example
13813
- * ```ts
13814
- * _@Component({
13815
- * selector: 'my-app',
13816
- * template: `
13817
- * <kendo-timepicker placeholder="Enter start..."></kendo-timepicker>
13818
- * `
13819
- * })
13820
- * export class AppComponent { }
13821
- * ```
13661
+ * @default null
13822
13662
  */
13823
13663
  placeholder = null;
13824
13664
  /**
13825
13665
  * Specifies the smallest valid time value
13826
13666
  * ([see example]({% slug timeranges_timepicker %})).
13667
+ * @default `00:00:00`
13827
13668
  */
13828
13669
  set min(min) {
13829
13670
  this._min = cloneDate(min || MIN_TIME);
@@ -13834,6 +13675,7 @@ class TimePickerComponent extends MultiTabStop {
13834
13675
  /**
13835
13676
  * Specifies the biggest valid time value
13836
13677
  * ([see example]({% slug timeranges_timepicker %})).
13678
+ * @default `23:59:59`
13837
13679
  */
13838
13680
  set max(max) {
13839
13681
  this._max = cloneDate(max || MAX_TIME);
@@ -13843,6 +13685,8 @@ class TimePickerComponent extends MultiTabStop {
13843
13685
  }
13844
13686
  /**
13845
13687
  * Determines whether the built-in validation for incomplete dates is to be enforced when a form is being validated.
13688
+ *
13689
+ * @default false
13846
13690
  */
13847
13691
  incompleteDateValidation = false;
13848
13692
  /**
@@ -13869,12 +13713,16 @@ class TimePickerComponent extends MultiTabStop {
13869
13713
  allowCaretMode = false;
13870
13714
  /**
13871
13715
  * Determines whether to display the **Cancel** button in the popup.
13716
+ *
13717
+ * @default true
13872
13718
  */
13873
13719
  cancelButton = true;
13874
13720
  /**
13875
13721
  * Determines whether to display the **Now** button in the popup.
13876
13722
  *
13877
- * > If the current time is out of range or the incremental step is greater than `1`, the **Now** button will be hidden.
13723
+ * If the current time is out of range or the incremental step is greater than `1`, the **Now** button will be hidden.
13724
+ *
13725
+ * @default true
13878
13726
  */
13879
13727
  nowButton = true;
13880
13728
  /**
@@ -13882,21 +13730,7 @@ class TimePickerComponent extends MultiTabStop {
13882
13730
  * For more information, refer to the article on
13883
13731
  * [incremental steps]({% slug incrementalsteps_timepicker %}).
13884
13732
  *
13885
- * > If the incremental step is greater than `1`, the **Now** button will be hidden.
13886
- *
13887
- * @example
13888
- * ```ts
13889
- * _@Component({
13890
- * selector: 'my-app',
13891
- * template: `
13892
- * <kendo-timepicker format="HH:mm:ss" [steps]="steps"></kendo-timepicker>
13893
- * `
13894
- * })
13895
- * class AppComponent {
13896
- * public steps = { hour: 2, minute: 15, second: 15, millisecond: 10 };
13897
- * }
13898
- * ```
13899
- *
13733
+ * If the incremental step is greater than `1`, the **Now** button will be hidden.
13900
13734
  */
13901
13735
  set steps(steps) {
13902
13736
  this._steps = steps || {};
@@ -13907,10 +13741,9 @@ class TimePickerComponent extends MultiTabStop {
13907
13741
  /**
13908
13742
  * Configures the popup of the TimePicker.
13909
13743
  *
13910
- * The available options are:
13911
- * - `animate: Boolean`&mdash;Controls the popup animation. By default, the open and close animations are enabled.
13912
- * - `appendTo: 'root' | 'component' | ViewContainerRef`&mdash;Controls the popup container. By default, the popup will be appended to the root component.
13913
- * - `popupClass: String`&mdash;Specifies a list of CSS classes that are used to style the popup.
13744
+ * The available options are animate which controls the popup animation and by default, the open and close animations are enabled.
13745
+ * The `appendTo` option controls the popup container and by default, the popup will be appended to the root component.
13746
+ * The `popupClass` option specifies a list of CSS classes that are used to style the popup.
13914
13747
  */
13915
13748
  set popupSettings(settings) {
13916
13749
  this._popupSettings = Object.assign({}, { animate: true }, settings);
@@ -13919,7 +13752,8 @@ class TimePickerComponent extends MultiTabStop {
13919
13752
  return this._popupSettings;
13920
13753
  }
13921
13754
  /**
13922
- * Sets or gets the `tabindex` property of the TimePicker.
13755
+ * Sets the tabindex of the TimePicker component.
13756
+ * @default 0
13923
13757
  */
13924
13758
  tabindex = 0;
13925
13759
  /**
@@ -13949,13 +13783,14 @@ class TimePickerComponent extends MultiTabStop {
13949
13783
  */
13950
13784
  rangeValidation = true;
13951
13785
  /**
13952
- * Enables or disables the adaptive mode. By default the adaptive rendering is disabled.
13786
+ * Determines whether the TimePicker is in adaptive mode.
13787
+ * @default 'none'
13953
13788
  */
13954
13789
  adaptiveMode = 'none';
13955
13790
  /**
13956
- * Specifies the value of the TimePicker component.
13791
+ * Determines whether the TimePicker is in adaptive mode.
13957
13792
  *
13958
- * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
13793
+ * The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
13959
13794
  */
13960
13795
  set value(value) {
13961
13796
  this.verifyValue(value);
@@ -13966,13 +13801,7 @@ class TimePickerComponent extends MultiTabStop {
13966
13801
  }
13967
13802
  /**
13968
13803
  * Sets the size of the component.
13969
- *
13970
- * The possible values are:
13971
- * * `small`
13972
- * * `medium` (Default)
13973
- * * `large`
13974
- * * `none`
13975
- *
13804
+ * @default 'medium'
13976
13805
  */
13977
13806
  set size(size) {
13978
13807
  this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
@@ -13988,14 +13817,8 @@ class TimePickerComponent extends MultiTabStop {
13988
13817
  return this._size;
13989
13818
  }
13990
13819
  /**
13991
- * Sets the border radius of the component.
13992
- *
13993
- * The possible values are:
13994
- * * `small`
13995
- * * `medium` (Default)
13996
- * * `large`
13997
- * * `full`
13998
- * * `none`
13820
+ * Sets the rounded styling of the component.
13821
+ * @default 'medium'
13999
13822
  *
14000
13823
  */
14001
13824
  set rounded(rounded) {
@@ -14011,13 +13834,7 @@ class TimePickerComponent extends MultiTabStop {
14011
13834
  }
14012
13835
  /**
14013
13836
  * Sets the fillMode of the component.
14014
- *
14015
- * The possible values are:
14016
- * * `solid` (Default)
14017
- * * `flat`
14018
- * * `outline`
14019
- * * `none`
14020
- *
13837
+ * @default 'solid'
14021
13838
  */
14022
13839
  set fillMode(fillMode) {
14023
13840
  this.renderer.removeClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
@@ -14325,33 +14142,22 @@ class TimePickerComponent extends MultiTabStop {
14325
14142
  /**
14326
14143
  * Focuses the TimePicker component.
14327
14144
  *
14328
- * @example
14329
- * ```ts
14330
- * _@Component({
14331
- * selector: 'my-app',
14332
- * template: `
14333
- * <button (click)="timepicker.focus()">Focus time picker</button>
14334
- * <kendo-timepicker #timepicker></kendo-timepicker>
14335
- * `
14336
- * })
14337
- * export class AppComponent { }
14338
- * ```
14339
14145
  */
14340
14146
  focus() {
14341
14147
  this.dateInput.focus();
14342
14148
  }
14343
14149
  /**
14344
14150
  * Blurs the TimePicker component.
14151
+ *
14345
14152
  */
14346
14153
  blur() {
14347
14154
  (this.timeSelector || this.dateInput)['blur']();
14348
14155
  }
14349
14156
  /**
14350
- * Toggles the visibility of the popup or actionSheet.
14351
- * If you use the `toggle` method to show or hide the popup or actionSheet,
14352
- * the `open` and `close` events do not fire.
14157
+ * Toggles the visibility of the popup or ActionSheet.
14158
+ * If you use the `toggle` method to show or hide the popup or ActionSheet, the `open` and `close` events do not fire.
14353
14159
  *
14354
- * @param show - The state of the popup.
14160
+ * @param {boolean} show The state of the popup.
14355
14161
  */
14356
14162
  toggle(show) {
14357
14163
  if (this.disabled || this.readonly) {
@@ -14362,7 +14168,8 @@ class TimePickerComponent extends MultiTabStop {
14362
14168
  });
14363
14169
  }
14364
14170
  /**
14365
- * Indicates whether the component is currently open. That is when the popup or actionSheet is open.
14171
+ * Returns whether the component is currently open.
14172
+ * That is when the popup or ActionSheet is open.
14366
14173
  */
14367
14174
  get isOpen() {
14368
14175
  return this.show;
@@ -14845,7 +14652,7 @@ class TimePickerComponent extends MultiTabStop {
14845
14652
  <ng-container #container></ng-container>
14846
14653
 
14847
14654
  <kendo-resize-sensor *ngIf="isAdaptiveModeEnabled" (resize)="onResize()"></kendo-resize-sensor>
14848
- <kendo-actionsheet
14655
+ <kendo-actionsheet
14849
14656
  #actionSheet
14850
14657
  (overlayClick)="show=false"
14851
14658
  (collapse)="handleActionSheetCollapse()"
@@ -14886,7 +14693,7 @@ class TimePickerComponent extends MultiTabStop {
14886
14693
  <ng-container *ngTemplateOutlet="timeSelectorTemplate"></ng-container>
14887
14694
  </div>
14888
14695
  <div class="k-actions k-actions-stretched k-actions-horizontal k-actionsheet-footer">
14889
- <button kendoButton
14696
+ <button kendoButton
14890
14697
  type="button"
14891
14698
  (click)="handleReject()"
14892
14699
  size="large"
@@ -15083,7 +14890,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
15083
14890
  <ng-container #container></ng-container>
15084
14891
 
15085
14892
  <kendo-resize-sensor *ngIf="isAdaptiveModeEnabled" (resize)="onResize()"></kendo-resize-sensor>
15086
- <kendo-actionsheet
14893
+ <kendo-actionsheet
15087
14894
  #actionSheet
15088
14895
  (overlayClick)="show=false"
15089
14896
  (collapse)="handleActionSheetCollapse()"
@@ -15124,7 +14931,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
15124
14931
  <ng-container *ngTemplateOutlet="timeSelectorTemplate"></ng-container>
15125
14932
  </div>
15126
14933
  <div class="k-actions k-actions-stretched k-actions-horizontal k-actionsheet-footer">
15127
- <button kendoButton
14934
+ <button kendoButton
15128
14935
  type="button"
15129
14936
  (click)="handleReject()"
15130
14937
  size="large"
@@ -15485,7 +15292,31 @@ const DATE_TAB_BUTTON_SELECTOR = '.k-button.k-group-start';
15485
15292
  const TIME_TAB_BUTTON_SELECTOR = '.k-button.k-group-end';
15486
15293
  const TODAY_BUTTON_SELECTOR = '.k-button.k-calendar-nav-today';
15487
15294
  /**
15488
- * Represents the [Kendo UI DateTimePicker component for Angular]({% slug overview_datetimepicker %}).
15295
+ * Represents the Kendo UI DateTimePicker component for Angular.
15296
+ * Allows users to select both date and time values from an interactive calendar and time selector.
15297
+ *
15298
+ * @example
15299
+ * ```typescript
15300
+ * @Component({
15301
+ * selector: 'my-app',
15302
+ * template: `
15303
+ * <kendo-datetimepicker
15304
+ * [(value)]="dateTimeValue"
15305
+ * [format]="'g'"
15306
+ * [min]="minDate"
15307
+ * [max]="maxDate">
15308
+ * </kendo-datetimepicker>
15309
+ * `
15310
+ * })
15311
+ * export class AppComponent {
15312
+ * public dateTimeValue: Date = new Date();
15313
+ * public minDate: Date = new Date(2000, 0, 1);
15314
+ * public maxDate: Date = new Date(2030, 11, 31);
15315
+ * }
15316
+ * ```
15317
+ *
15318
+ * @remarks
15319
+ * Supported children components are: {@link DateTimePickerCustomMessagesComponent}.
15489
15320
  */
15490
15321
  class DateTimePickerComponent extends MultiTabStop {
15491
15322
  popupService;
@@ -15550,15 +15381,16 @@ class DateTimePickerComponent extends MultiTabStop {
15550
15381
  weekDaysFormat = "short";
15551
15382
  /**
15552
15383
  * Displays the days that fall out of the current month in the Calendar ([see example]({% slug datetimepicker_calendar_options %}#toc-displaying-other-month-days)).
15553
- * The default values per Calendar type are:
15554
- * - `infinite` - false
15555
- * - `classic` - true
15384
+ * You can set this to show or hide days from other months.
15385
+ *
15386
+ * For infinite Calendar the default value is `false`, while for classic Calendar it is `true`.
15556
15387
  */
15557
15388
  showOtherMonthDays;
15558
15389
  /**
15559
- * Specifies the value of the DateTimePicker component.
15390
+ * Sets the value of the DateTimePicker component.
15391
+ * You can set a specific date and time for the picker to display and use.
15560
15392
  *
15561
- * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
15393
+ * The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
15562
15394
  */
15563
15395
  set value(value) {
15564
15396
  this.verifyValue(value);
@@ -15571,13 +15403,12 @@ class DateTimePickerComponent extends MultiTabStop {
15571
15403
  }
15572
15404
  /**
15573
15405
  * Specifies the date format for displaying the input value
15574
- * ([see example]({% slug formats_datetimepicker %}))
15406
+ * ([see example]({% slug formats_datetimepicker %})).
15575
15407
  *
15576
- * Format value options:
15577
- * - `string` - Provide a `string` if a single format is going to be used regardless whether the input is focused or blurred.
15578
- * - [`FormatSettings`]({% slug api_dateinputs_formatsettings %}) - To display different formats when the component is focused or blurred, provide a settings object with specified `inputFormat` and `displayFormat` values.
15408
+ * When using a string format, the same format is applied regardless of whether the input is focused or blurred.
15409
+ * When using a FormatSettings object, you can specify different inputFormat and displayFormat values for focused and blurred states.
15579
15410
  *
15580
- * > If a [`FormatSettings`]({% slug api_dateinputs_formatsettings %}) object is provided, the `displayFormat` value will be used for the popup TimePicker.
15411
+ * If a FormatSettings object is provided, the displayFormat value will be used for the popup TimePicker.
15581
15412
  */
15582
15413
  set format(format) {
15583
15414
  this._format = format;
@@ -15593,6 +15424,7 @@ class DateTimePickerComponent extends MultiTabStop {
15593
15424
  *
15594
15425
  * The default value is 68, indicating that typing any value less than 69
15595
15426
  * will be assumed to be 20xx, while 69 and larger will be assumed to be 19xx.
15427
+ * @default 68
15596
15428
  */
15597
15429
  twoDigitYearMax = TWO_DIGIT_YEAR_MAX;
15598
15430
  /**
@@ -15621,10 +15453,9 @@ class DateTimePickerComponent extends MultiTabStop {
15621
15453
  * Configures the popup settings of the DateTimePicker
15622
15454
  * ([see example]({% slug datetimepicker_popup_options %}#toc-customizing-the-popup)).
15623
15455
  *
15624
- * The available options are:
15625
- * - `animate: Boolean`&mdash;Controls the popup animation. By default, the open and close animations are enabled.
15626
- * - `appendTo: 'root' | 'component' | ViewContainerRef`&mdash;Controls the popup container. By default, the popup will be appended to the root component.
15627
- * - `popupClass: String`&mdash;Specifies a list of CSS classes that are used to style the popup.
15456
+ * The available options are animate which controls the popup animation and by default, the open and close animations are enabled.
15457
+ * The `appendTo` option controls the popup container and by default, the popup will be appended to the root component.
15458
+ * The `popupClass` option specifies a list of CSS classes that are used to style the popup.
15628
15459
  */
15629
15460
  set popupSettings(settings) {
15630
15461
  this._popupSettings = Object.assign({}, { animate: true }, settings);
@@ -15633,39 +15464,46 @@ class DateTimePickerComponent extends MultiTabStop {
15633
15464
  return this._popupSettings;
15634
15465
  }
15635
15466
  /**
15636
- * Sets the title of the input element of the DateTimePicker and the title text rendered
15637
- * in the header of the popup(action sheet). Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
15467
+ * Specifies the title of the input element of the DateTimePicker and the title text rendered
15468
+ * in the header of the popup (action sheet). Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
15469
+ * @default ''
15638
15470
  */
15639
15471
  adaptiveTitle = '';
15640
15472
  /**
15641
- * Sets the subtitle text rendered in the header of the popup(action sheet).
15473
+ * Specifies the subtitle text rendered in the header of the popup (action sheet).
15642
15474
  * Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
15475
+ * @default ''
15643
15476
  */
15644
15477
  adaptiveSubtitle = '';
15645
15478
  /**
15646
- * Sets or gets the `disabled` property of the DateTimePicker and determines whether the component is active
15479
+ * Specifies the `disabled` property of the DateTimePicker and determines whether the component is active
15647
15480
  * ([see example]({% slug disabled_datetimepicker %})).
15648
15481
  * To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_datetimepicker#toc-managing-the-datetimepicker-disabled-state-in-reactive-forms).
15482
+ * @default false
15649
15483
  */
15650
15484
  disabled = false;
15651
15485
  /**
15652
- * Sets the read-only state of the DateTimePicker
15486
+ * Specifies the read-only state of the DateTimePicker
15653
15487
  * ([see example]({% slug readonly_datetimepicker %}#toc-read-only-datetimepicker)).
15488
+ * @default false
15654
15489
  *
15655
15490
  * @default false
15656
15491
  */
15657
15492
  readonly = false;
15658
15493
  /**
15659
- * Sets the read-only state of the DateTimePicker input field
15494
+ * Determines whether the input field of the DateTimePicker is read-only
15660
15495
  * ([see example]({% slug readonly_datetimepicker %}#toc-read-only-input)).
15661
15496
  *
15662
- * > Note that if you set the [`readonly`]({% slug api_dateinputs_datetimepickercomponent %}#toc-readonly) property value to `true`,
15497
+ * If you set the [`readonly`]({% slug api_dateinputs_datetimepickercomponent %}#toc-readonly) property value to `true`,
15663
15498
  * the input will be rendered in a read-only state regardless of the `readOnlyInput` value.
15499
+ *
15500
+ * @default false
15664
15501
  */
15665
15502
  readOnlyInput = false;
15666
15503
  /**
15667
15504
  * Determines whether to display the **Cancel** button in the popup
15668
15505
  * ([see example]({% slug datetimepicker_popup_options %}#toc-toggling-the-cancel-button)).
15506
+ * @default true
15669
15507
  */
15670
15508
  cancelButton = true;
15671
15509
  /**
@@ -15691,17 +15529,14 @@ class DateTimePickerComponent extends MultiTabStop {
15691
15529
  /**
15692
15530
  * Specifies the Calendar type.
15693
15531
  *
15694
- * The possible values are:
15695
- * - `infinite` (default)
15696
- * - `classic`
15697
- *
15532
+ * @default 'infinite'
15698
15533
  */
15699
15534
  calendarType = 'infinite';
15700
15535
  /**
15701
15536
  * Determines whether to enable animation when navigating to previous/next Calendar view.
15702
15537
  * Applies to the [`classic`]({% slug api_dateinputs_datetimepickercomponent %}#toc-calendartype) Calendar only.
15703
15538
  *
15704
- * > This feature uses the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API). In order to run the animation in browsers that do not support it, you need the `web-animations-js` polyfill.
15539
+ * The feature uses the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API). In order to run the animation in browsers that do not support it, you need the `web-animations-js` polyfill.
15705
15540
  *
15706
15541
  * @default false
15707
15542
  */
@@ -15709,6 +15544,7 @@ class DateTimePickerComponent extends MultiTabStop {
15709
15544
  /**
15710
15545
  * Determines whether to display a week number column in the `month` view of the popup Calendar
15711
15546
  * ([see example]({% slug datetimepicker_calendar_options %}#toc-week-number-column)).
15547
+ * @default false
15712
15548
  */
15713
15549
  weekNumber = false;
15714
15550
  /**
@@ -15740,24 +15576,25 @@ class DateTimePickerComponent extends MultiTabStop {
15740
15576
  return this._max;
15741
15577
  }
15742
15578
  /**
15743
- * Determines whether the built-in min or max validators are enforced when validating a form
15579
+ * Determines whether the built-in `min` or `max` validators are enforced when validating a form
15744
15580
  * ([see example](slug:dateranges_datetimepicker)).
15745
15581
  *
15746
15582
  * @default true
15747
15583
  */
15748
15584
  rangeValidation = true;
15749
15585
  /**
15750
- * Determines whether the built-in validator for disabled
15751
- * date ranges is enforced when validating a form
15586
+ * Determines whether the built-in validator for disabled date ranges is enforced when validating a form
15752
15587
  * ([see example](slug:disabled_dates_datetimepicker)).
15588
+ * @default true
15753
15589
  */
15754
15590
  disabledDatesValidation = true;
15755
15591
  /**
15756
- * Determines whether the built-in validation for incomplete dates is to be enforced when a form is being validated.
15592
+ * Determines whether the built-in validation for incomplete dates is enforced when validating a form.
15593
+ * @default false
15757
15594
  */
15758
15595
  incompleteDateValidation = false;
15759
15596
  /**
15760
- * Determines whether to autocorrect invalid segments automatically.
15597
+ * Determines whether to auto correct invalid segments automatically.
15761
15598
  *
15762
15599
  * @default true
15763
15600
  */
@@ -15769,39 +15606,40 @@ class DateTimePickerComponent extends MultiTabStop {
15769
15606
  */
15770
15607
  autoSwitchParts = true;
15771
15608
  /**
15772
- * A string array representing custom keys, which will move the focus to the next date format segment.
15609
+ * Specifies custom keys that move the focus to the next date format segment.
15773
15610
  */
15774
15611
  autoSwitchKeys = [];
15775
15612
  /**
15776
- * Indicates whether the mouse scroll can be used to increase/decrease the time segments values.
15613
+ * Determines whether you can use the mouse scroll to increase or decrease the time segment values.
15777
15614
  *
15778
15615
  * @default true
15779
15616
  */
15780
15617
  enableMouseWheel = true;
15781
15618
  /**
15782
- * Determines if the users should see a blinking caret inside the Date Input when possible.
15619
+ * Determines whether you can see a blinking caret inside the DateInput when possible.
15783
15620
  *
15784
15621
  * @default false
15785
15622
  */
15786
15623
  allowCaretMode = false;
15787
15624
  /**
15788
- * If set to `true`, renders a clear button after the input text or DateTimePicker value has been changed.
15625
+ * Renders a clear button when set to `true` after the input text or DateTimePicker value has been changed.
15789
15626
  * Clicking this button resets the value of the component to `null` and triggers the `valueChange` event.
15790
15627
  * @default false
15791
15628
  */
15792
15629
  clearButton = false;
15793
15630
  /**
15794
- * When enabled, the DateTimePicker will autofill the rest of the date to the current date when the component loses focus.
15631
+ * Auto fills the rest of the date to the current date when the component loses focus.
15795
15632
  *
15796
15633
  * @default false
15797
15634
  */
15798
15635
  autoFill = false;
15799
15636
  /**
15800
- * Enables or disables the adaptive mode. By default the adaptive rendering is disabled.
15637
+ * Enables or disables the adaptive mode. The adaptive rendering is disabled by default.
15638
+ * @default 'none'
15801
15639
  */
15802
15640
  adaptiveMode = 'none';
15803
15641
  /**
15804
- * Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.
15642
+ * Specifies the HTML attributes of the inner focusable input element. You cannot change attributes that are essential for certain component functionalities.
15805
15643
  */
15806
15644
  inputAttributes;
15807
15645
  /**
@@ -15836,7 +15674,7 @@ class DateTimePickerComponent extends MultiTabStop {
15836
15674
  */
15837
15675
  escape = new EventEmitter();
15838
15676
  /**
15839
- * Indicates whether the component is currently open. That is when the popup or actionSheet is open.
15677
+ * Indicates whether the component is currently open. This is when the popup or action sheet is open.
15840
15678
  */
15841
15679
  get isOpen() {
15842
15680
  return this.actionSheet?.expanded || isPresent(this.popupRef);
@@ -15857,7 +15695,7 @@ class DateTimePickerComponent extends MultiTabStop {
15857
15695
  this._isActive = value;
15858
15696
  }
15859
15697
  /**
15860
- * Sets the active tab on opening the popup
15698
+ * Specifies the active tab when opening the popup
15861
15699
  * ([see example]({% slug datetimepicker_popup_options %}#toc-setting-the-default-tab)).
15862
15700
  */
15863
15701
  set defaultTab(tab) {
@@ -15868,19 +15706,13 @@ class DateTimePickerComponent extends MultiTabStop {
15868
15706
  return this._defaultTab;
15869
15707
  }
15870
15708
  /**
15871
- * Sets the size of the component.
15872
- *
15873
- * The possible values are:
15874
- * * `small`
15875
- * * `medium` (Default)
15876
- * * `large`
15877
- * * `none`
15709
+ * Specifies the size of the component.
15878
15710
  *
15879
15711
  */
15880
15712
  set size(size) {
15881
15713
  this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
15882
15714
  this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('button', this.size));
15883
- const newSize = size ? size : DEFAULT_SIZE;
15715
+ const newSize = size || DEFAULT_SIZE;
15884
15716
  if (newSize !== 'none') {
15885
15717
  this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', newSize));
15886
15718
  this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('button', newSize));
@@ -15891,19 +15723,12 @@ class DateTimePickerComponent extends MultiTabStop {
15891
15723
  return this._size;
15892
15724
  }
15893
15725
  /**
15894
- * Sets the border radius of the component.
15895
- *
15896
- * The possible values are:
15897
- * * `small`
15898
- * * `medium` (Default)
15899
- * * `large`
15900
- * * `full`
15901
- * * `none`
15726
+ * Specifies the border radius of the component.
15902
15727
  *
15903
15728
  */
15904
15729
  set rounded(rounded) {
15905
15730
  this.renderer.removeClass(this.wrapper.nativeElement, getRoundedClass(this.rounded));
15906
- const newRounded = rounded ? rounded : DEFAULT_ROUNDED;
15731
+ const newRounded = rounded || DEFAULT_ROUNDED;
15907
15732
  if (newRounded !== 'none') {
15908
15733
  this.renderer.addClass(this.wrapper.nativeElement, getRoundedClass(newRounded));
15909
15734
  }
@@ -15913,20 +15738,14 @@ class DateTimePickerComponent extends MultiTabStop {
15913
15738
  return this._rounded;
15914
15739
  }
15915
15740
  /**
15916
- * Sets the fillMode of the component.
15917
- *
15918
- * The possible values are:
15919
- * * `solid` (Default)
15920
- * * `flat`
15921
- * * `outline`
15922
- * * `none`
15741
+ * Specifies the fill mode of the component.
15923
15742
  *
15924
15743
  */
15925
15744
  set fillMode(fillMode) {
15926
15745
  this.renderer.removeClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
15927
15746
  this.renderer.removeClass(this.toggleButton.nativeElement, getFillModeClass('button', this.fillMode));
15928
15747
  this.renderer.removeClass(this.toggleButton.nativeElement, `k-button-${this.fillMode}-base`);
15929
- const newFillMode = fillMode ? fillMode : DEFAULT_FILL_MODE;
15748
+ const newFillMode = fillMode || DEFAULT_FILL_MODE;
15930
15749
  if (newFillMode !== 'none') {
15931
15750
  this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('input', newFillMode));
15932
15751
  this.renderer.addClass(this.toggleButton.nativeElement, getFillModeClass('button', newFillMode));
@@ -16247,8 +16066,8 @@ class DateTimePickerComponent extends MultiTabStop {
16247
16066
  this.subscriptions.unsubscribe();
16248
16067
  }
16249
16068
  /**
16250
- * * If the popup is closed, focuses the DateTimePicker input.
16251
- * * If the popup is open, the focus is moved to its content.
16069
+ * Focuses the DateTimePicker input if the popup is closed.
16070
+ * Moves the focus to the popup content if the popup is open.
16252
16071
  */
16253
16072
  focus() {
16254
16073
  if (this.disabled) {
@@ -16262,7 +16081,7 @@ class DateTimePickerComponent extends MultiTabStop {
16262
16081
  }
16263
16082
  }
16264
16083
  /**
16265
- * Blurs the DateTimePicker.
16084
+ * Blurs the DateTimePicker component.
16266
16085
  */
16267
16086
  blur() {
16268
16087
  if (this.isOpen && this.activeTabComponent.isActive) {
@@ -16273,8 +16092,8 @@ class DateTimePickerComponent extends MultiTabStop {
16273
16092
  }
16274
16093
  }
16275
16094
  /**
16276
- * Toggles the visibility of the popup or actionSheet.
16277
- * If you use the `toggle` method to show or hide the popup or actionSheet,
16095
+ * Toggles the visibility of the popup or action sheet.
16096
+ * If you use the `toggle` method to show or hide the popup or action sheet,
16278
16097
  * the `open` and `close` events do not fire.
16279
16098
  *
16280
16099
  * @param show - The state of the popup.
@@ -16682,10 +16501,10 @@ class DateTimePickerComponent extends MultiTabStop {
16682
16501
  }
16683
16502
  }
16684
16503
  /**
16685
- * Extracts the time slots and the literals that are not preceded by date parts
16686
- * and concatenates the resulting parts into a string.
16687
- * If the provided format value does not contain any time parts,
16688
- * returns the designated format of the default popup component of the TimePicker.
16504
+ * Extracts the time slots and literals that are not preceded by date parts
16505
+ * and combines the resulting parts into a string.
16506
+ * If the provided `format` value does not contain any time parts,
16507
+ * returns the designated format of the default popup component of the `TimePicker`.
16689
16508
  */
16690
16509
  getTimeSelectorFormat(format) {
16691
16510
  const timeSelectorFormat = this.intl
@@ -16696,7 +16515,7 @@ class DateTimePickerComponent extends MultiTabStop {
16696
16515
  }
16697
16516
  /**
16698
16517
  * Extracts the `displayFormat` from the provided `string | FormatSettings` value.
16699
- * Fallbacks to the default input value, if a falsy value param is passed.
16518
+ * Falls back to the default input value if a falsy value parameter is passed.
16700
16519
  */
16701
16520
  getDisplayFormat(format) {
16702
16521
  if (!format) {
@@ -16712,7 +16531,7 @@ class DateTimePickerComponent extends MultiTabStop {
16712
16531
  /**
16713
16532
  * The filter expression that filters out all format parts
16714
16533
  * except for `hour`, `minute`, `second`, `dayperiod`, and specific literals.
16715
- * Literals will be left only if they are not preceded by date parts.
16534
+ * Literals remain only if they are not preceded by date parts.
16716
16535
  */
16717
16536
  timeFormatPartFilter(part, index, parts) {
16718
16537
  const previousPart = index >= 1 && parts[index - 1];
@@ -16822,8 +16641,8 @@ class DateTimePickerComponent extends MultiTabStop {
16822
16641
  this.valueChange.emit(cloneDate(value));
16823
16642
  }
16824
16643
  /**
16825
- * Indicates whether the focus target is part of this component,
16826
- * that is, whether the focus target is inside the component or in the popup.
16644
+ * Indicates whether the focus target is part of this component.
16645
+ * Checks whether the focus target is inside the component or in the popup.
16827
16646
  */
16828
16647
  focusTargetInComponent(event) {
16829
16648
  if (!isPresent(event)) {
@@ -16846,7 +16665,7 @@ class DateTimePickerComponent extends MultiTabStop {
16846
16665
  this.calendarValue = isInCalendarRange ? getDate(value) : null;
16847
16666
  }
16848
16667
  /**
16849
- * If the popup is available, runs a popup change detection.
16668
+ * Runs a popup change detection if the popup is available.
16850
16669
  */
16851
16670
  detectPopupChanges() {
16852
16671
  if (!this.isOpen || this.isAdaptive) {
@@ -16855,8 +16674,8 @@ class DateTimePickerComponent extends MultiTabStop {
16855
16674
  this.popupRef.popup.changeDetectorRef.detectChanges();
16856
16675
  }
16857
16676
  /**
16858
- * Depending on the predicate `runInZone` value that is passed,
16859
- * runs the provided function either in the Angular or in the current zone.
16677
+ * Runs the provided function either in the Angular zone or in the current zone.
16678
+ * The execution zone depends on the predicate `runInZone` value that is passed.
16860
16679
  */
16861
16680
  run(runInZone, fn) {
16862
16681
  if (runInZone) {
@@ -17903,8 +17722,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
17903
17722
  }], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
17904
17723
 
17905
17724
  /**
17906
- * A directive which renders the content of the DateRange Popup. To define the cell template, nest an
17907
- * `<ng-template>` tag with the `kendoRangePopupTemplate` directive inside the component tag.
17725
+ * Renders the content of the DateRange Popup.
17726
+ * To define the popup template, nest an `<ng-template>` tag with the `kendoDateRangePopupTemplate` directive inside the component tag.
17727
+ *
17728
+ * @example
17729
+ * ```html
17730
+ * <kendo-daterange>
17731
+ * <ng-template kendoDateRangePopupTemplate>
17732
+ * <div class="custom-popup-content">
17733
+ * Custom content for the DateRange Popup
17734
+ * </div>
17735
+ * </ng-template>
17736
+ * </kendo-daterange>
17737
+ * ```
17908
17738
  */
17909
17739
  class DateRangePopupTemplateDirective {
17910
17740
  templateRef;
@@ -17925,35 +17755,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
17925
17755
  const isActive = (cmp) => (cmp && cmp.isActive) || false;
17926
17756
  const hasActiveContent = (popup) => popup && popup.hasActiveContent();
17927
17757
  /**
17928
- * A service that handles the communication between the components that are placed inside the DateRangeComponent.
17929
- * For example, the start and end `DateInput` and `DateRangePopup` components.
17758
+ * Manages communication between components inside the DateRangeComponent.
17759
+ * For example, handles interactions between the start and end DateInput components and the DateRangePopup component.
17930
17760
  */
17931
17761
  class DateRangeService {
17932
17762
  renderer;
17933
17763
  /**
17934
- * An Observable instance that notifies when the `activeRangeEnd` state is changed.
17764
+ * Notifies when the `activeRangeEnd` state changes.
17935
17765
  */
17936
17766
  activeRangeEnd$ = new BehaviorSubject(null);
17937
17767
  /**
17938
- * An Observable instance that notifies when the `focusedDate` is changed.
17768
+ * Notifies when the `focusedDate` changes.
17939
17769
  */
17940
17770
  focusedDate$ = new BehaviorSubject(null);
17941
17771
  /**
17942
- * An Observable instance that notifies when the end `DateInput` component is changed.
17943
- * For example, when a new end `DateInput` is attached or when the old one is detached.
17772
+ * Notifies when the end DateInput component changes.
17773
+ * For example, when you attach a new end `DateInput` or detach the old one.
17944
17774
  */
17945
17775
  endInput$ = new BehaviorSubject(null);
17946
17776
  /**
17947
- * An Observable instance that notifies when the start `DateInput` component is changed.
17948
- * For example, when a new start `DateInput` is attached or the old one is detached.
17777
+ * Notifies when the start DateInput component changes.
17778
+ * For example, when you attach a new start `DateInput` or detach the old one.
17949
17779
  */
17950
17780
  startInput$ = new BehaviorSubject(null);
17951
17781
  /**
17952
- * An Observable instance that notifies when the `DateRangePopup` component is changed.
17782
+ * Notifies when the `DateRangePopup` component changes.
17953
17783
  */
17954
17784
  dateRangePopup$ = new BehaviorSubject(null);
17955
17785
  /**
17956
- * An Observable instance that notifies when the state of the selection range is changed.
17786
+ * Notifies when the selection range state changes.
17957
17787
  */
17958
17788
  range$ = new BehaviorSubject(EMPTY_SELECTIONRANGE);
17959
17789
  /**
@@ -17969,15 +17799,15 @@ class DateRangeService {
17969
17799
  return this.focusedDate$.value;
17970
17800
  }
17971
17801
  /**
17972
- * Gets the `min` range value.
17973
- * The `min` value is extracted from the `start` DateInput value or the `min` value of the Calendar.
17802
+ * Gets the minimum range value.
17803
+ * Takes the `min` value from the start DateInput component or the `min` value of the calendar.
17974
17804
  */
17975
17805
  get min() {
17976
17806
  return (this.startInput$.value || {}).min || null;
17977
17807
  }
17978
17808
  /**
17979
- * Gets the `max` range value.
17980
- * The `max` value is extracted from the `end` DateInput value or the `max` value of the Calendar.
17809
+ * Gets the maximum range value.
17810
+ * Takes the `max` value from the end DateInput component or the `max` value of the calendar.
17981
17811
  */
17982
17812
  get max() {
17983
17813
  return (this.endInput$.value || {}).max || null;
@@ -18007,8 +17837,8 @@ class DateRangeService {
18007
17837
  this.renderer = renderer;
18008
17838
  }
18009
17839
  /**
18010
- * Activates the registered `DateRangePopup` component.
18011
- * The method opens the popup and focuses the calendar.
17840
+ * Opens the registered DateRangePopup component.
17841
+ * Opens the popup and focuses the calendar.
18012
17842
  */
18013
17843
  activatePopup() {
18014
17844
  const dateRangePopup = this.dateRangePopup$.value;
@@ -18063,8 +17893,8 @@ class DateRangeService {
18063
17893
  dateRangePopup.cancelPopup();
18064
17894
  }
18065
17895
  /**
18066
- * Completes all observables to mitigate possible memory leaks.
18067
- * Calls the method when a component that uses it is destroyed.
17896
+ * Completes all observables to prevent memory leaks.
17897
+ * Call this method when you destroy a component that uses the service.
18068
17898
  */
18069
17899
  destroy() {
18070
17900
  this.activeRangeEnd$.complete();
@@ -18075,10 +17905,10 @@ class DateRangeService {
18075
17905
  this.range$.complete();
18076
17906
  }
18077
17907
  /**
18078
- * Returns `true` when an active component that is placed inside the `DateRangeComponent` is detected.
18079
- * For example, the opened popup or the focused DateInput.
17908
+ * Checks if any component inside the DateRangeComponent is active.
17909
+ * For example, detects an open popup or a focused DateInput component.
18080
17910
  *
18081
- * @returns `true` if an active component is present.
17911
+ * @returns {boolean} Returns `true` if an active component is present.
18082
17912
  */
18083
17913
  hasActiveComponent() {
18084
17914
  const popup = this.dateRangePopup$.value;
@@ -18088,25 +17918,25 @@ class DateRangeService {
18088
17918
  return isPopup || isStart || isEnd || hasActiveContent(popup) || false;
18089
17919
  }
18090
17920
  /**
18091
- * Registers a new start `DateInput` component. Notifies all `startInput$` listeners.
17921
+ * Registers a new start DateInput component and notifies all `startInput$` listeners.
18092
17922
  */
18093
17923
  registerStartInput(startInput) {
18094
17924
  this.startInput$.next(startInput);
18095
17925
  }
18096
17926
  /**
18097
- * Registers a new end `DateInput` component. Notifies all `endInput$` listeners.
17927
+ * Registers a new end `DateInput` component and notifies all `endInput$` listeners.
18098
17928
  */
18099
17929
  registerEndInput(endInput) {
18100
17930
  this.endInput$.next(endInput);
18101
17931
  }
18102
17932
  /**
18103
- * Registers a new `DateRangePopup` component. Notifies all `dateRangePopup$` listeners.
17933
+ * Registers a new `DateRangePopup` component and notifies all `dateRangePopup$` listeners.
18104
17934
  */
18105
17935
  registerPopup(dateRangePopup) {
18106
17936
  this.dateRangePopup$.next(dateRangePopup);
18107
17937
  }
18108
17938
  /**
18109
- * Updates the `activeRangeEnd` value. Notifies all `activeRangeEnd$` listeners.
17939
+ * Updates the `activeRangeEnd` value and notifies all `activeRangeEnd$` listeners.
18110
17940
  */
18111
17941
  setActiveRangeEnd(activeRange) {
18112
17942
  if (!activeRange || this.activeRangeEnd === activeRange) {
@@ -18115,7 +17945,7 @@ class DateRangeService {
18115
17945
  this.activeRangeEnd$.next(activeRange);
18116
17946
  }
18117
17947
  /**
18118
- * Updates the focused date. Notifies all `focusedDate$` listeners.
17948
+ * Updates the focused date and notifies all `focusedDate$` listeners.
18119
17949
  */
18120
17950
  setFocusedDate(value) {
18121
17951
  if (isEqual(this.focusedDate$.value, value)) {
@@ -18124,7 +17954,7 @@ class DateRangeService {
18124
17954
  this.focusedDate$.next(value);
18125
17955
  }
18126
17956
  /**
18127
- * Updates the selection range. Notifies all `range$` listeners.
17957
+ * Updates the selection range and notifies all `range$` listeners.
18128
17958
  */
18129
17959
  setRange(range = EMPTY_SELECTIONRANGE) {
18130
17960
  this.range$.next(range);
@@ -18139,9 +17969,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
18139
17969
  }] }]; } });
18140
17970
 
18141
17971
  /**
18142
- * A directive which manages the MultiViewCalendar range selection.
17972
+ * Manages the MultiViewCalendar range selection.
18143
17973
  * This directive will be `deprecated` in a future version.
18144
- * We recommend using the MultiViewCalendar [range selection]({% slug selection_multiviewcalendar %}#toc-range-selection).
17974
+ * Use the MultiViewCalendar [range selection]({% slug selection_multiviewcalendar %}#toc-range-selection) instead.
18145
17975
  */
18146
17976
  class DateRangeSelectionDirective {
18147
17977
  calendar;
@@ -18150,15 +17980,17 @@ class DateRangeSelectionDirective {
18150
17980
  dateRangeService;
18151
17981
  /**
18152
17982
  * Specifies the auto-correction behavior. If the start date is greater than the end date,
18153
- * the directive fixes the date range to a single date either on input change or on blur
17983
+ * the directive corrects the date range to a single date either on input change or on blur
18154
17984
  * ([see example](slug:autocorrect_daterange#toc-calendar-selection-directive)).
18155
17985
  *
18156
- * By default, the auto-correction is triggered on change.
17986
+ * By default, the auto-correction triggers on change.
18157
17987
  * To disable this behavior, set the `autoCorrectOn` property to `none`.
17988
+ *
17989
+ * @default 'change'
18158
17990
  */
18159
17991
  autoCorrectOn = 'change';
18160
17992
  /**
18161
- * Gets or sets the selection range of the calendar. When a new range is set,
17993
+ * Gets or sets the selection range of the calendar. When you set a new range,
18162
17994
  * the connected DateRangeService notifies all related parties.
18163
17995
  */
18164
17996
  get selectionRange() {
@@ -18178,8 +18010,7 @@ class DateRangeSelectionDirective {
18178
18010
  * user interaction. When a new active end is set, the connected DateRangeService notifies all related parties.
18179
18011
  */
18180
18012
  /**
18181
- * Specifies which end of the selection range will be marked as active. The active end gets modified upon user
18182
- * interaction. When a new active end is set, the wired DateRangeService notifies all related components. For
18013
+ * Specifies which end of the selection range is marked as active. The active end gets modified when you interact with the component. When you set a new active end, the wired DateRangeService notifies all related components. For
18183
18014
  * example, the start and end DateInput components.
18184
18015
  *
18185
18016
  * > If the selection range is undefined, the value is ignored.
@@ -18200,12 +18031,12 @@ class DateRangeSelectionDirective {
18200
18031
  */
18201
18032
  shouldSetRange = true;
18202
18033
  /**
18203
- * Fires when the active range end is changed. For more information, refer to
18034
+ * Fires when the active range end changes. For more information, refer to
18204
18035
  * the section on [events](slug:events_multiviewcalendar).
18205
18036
  */
18206
18037
  activeRangeEndChange = new EventEmitter();
18207
18038
  /**
18208
- * Fires when the selection range is changed. For more information, refer to
18039
+ * Fires when the selection range changes. For more information, refer to
18209
18040
  * the section on [events](slug:events_multiviewcalendar).
18210
18041
  */
18211
18042
  selectionRangeChange = new EventEmitter();
@@ -18465,140 +18296,161 @@ class DateRangePopupComponent {
18465
18296
  */
18466
18297
  showCalendarHeader = true;
18467
18298
  /**
18468
- * Sets or gets the `focusedDate` property of the MultiViewCalendar and
18469
- * defines the focused date of the component
18470
- * ([see example]({% slug dates_multiviewcalendar %}#toc-focused-dates)).
18299
+ * Specifies the focused date of the MultiViewCalendar component.
18300
+ * Defines which date receives focus when the component loads ([see example]({% slug dates_multiviewcalendar %}#toc-focused-dates)).
18471
18301
  *
18472
- * > If the MultiViewCalendar is out of the min or max range, it normalizes the defined `focusedDate`.
18302
+ * If the MultiViewCalendar is out of the min or max range, it normalizes the defined `focusedDate`.
18473
18303
  */
18474
18304
  focusedDate;
18475
18305
  /**
18476
- * Sets the dates of the MultiViewCalendar that will be disabled
18477
- * ([see example]({% slug disabled_dates_multiviewcalendar %})).
18306
+ * Specifies the dates in the MultiViewCalendar that you want to disable ([see example]({% slug disabled_dates_multiviewcalendar %})).
18478
18307
  */
18479
18308
  disabledDates;
18480
18309
  /**
18481
- * Defines the active view that the MultiViewCalendar initially renders
18482
- * ([see example]({% slug viewoptions_multiviewcalendar %})).
18310
+ * Specifies the initial view that the MultiViewCalendar displays when it loads ([see example]({% slug viewoptions_multiviewcalendar %})).
18483
18311
  * By default, the active view is `month`.
18484
18312
  *
18485
- * > You have to set `activeView` within the `topView`-`bottomView` range.
18313
+ * You have to set `activeView` within the `topView`-`bottomView` range.
18314
+ *
18315
+ * @default 'month
18486
18316
  */
18487
18317
  activeView = CalendarViewEnum[CalendarViewEnum.month];
18488
18318
  /**
18489
- * Defines the bottommost view, to which the user can navigate
18490
- * ([see example](slug:viewdepth_multiviewcalendar)).
18319
+ * Specifies the lowest view level that users can navigate to ([see example](slug:viewdepth_multiviewcalendar)).
18320
+ *
18321
+ * @default 'month'
18491
18322
  */
18492
18323
  bottomView = CalendarViewEnum[CalendarViewEnum.month];
18493
18324
  /**
18494
- * Defines the topmost view, to which the user can navigate.
18325
+ * Specifies the highest view level that users can navigate to ([see example](slug:viewdepth_multiviewcalendar)).
18326
+ *
18327
+ * @default 'century'
18495
18328
  */
18496
18329
  topView = CalendarViewEnum[CalendarViewEnum.century];
18497
18330
  /**
18498
- * Sets or gets the `min` property of the MultiViewCalendar and
18499
- * defines the minimum allowed date value.
18500
- * By default, the `min` value is `1900-1-1`.
18331
+ * Specifies the minimum date that users can select ([see example]({% slug dates_multiviewcalendar %}#toc-focused-dates)).
18332
+ *
18333
+ * @default '1900-01-01'
18501
18334
  */
18502
18335
  min;
18503
18336
  /**
18504
- * Sets or gets the `max` property of the MultiViewCalendar and
18505
- * defines the maximum allowed date value.
18506
- * By default, the `max` value is `2099-12-31`.
18337
+ * Specifies the maximum date that users can select ([see example]({% slug dates_multiviewcalendar %}#toc-focused-dates)).
18338
+ *
18339
+ * @default '2099-12-31'
18507
18340
  */
18508
18341
  max;
18509
18342
  /**
18510
- * Allows reverse selection.
18511
- * If `allowReverse` is set to `true`, the component skips the validation of whether the start date is after the end date.
18343
+ * Determines whether users can select dates in reverse order.
18344
+ * When you set `allowReverse` to `true`, the component does not validate if the start date comes after the end date.
18512
18345
  *
18513
18346
  * @default false
18514
18347
  */
18515
18348
  allowReverse = false;
18516
18349
  /**
18517
- * Determines whether to enable animation when navigating to previous/next view.
18350
+ * Determines whether to animate transitions when users navigate between views.
18351
+ *
18518
18352
  * @default false
18519
18353
  */
18520
18354
  animateNavigation = false;
18521
18355
  /**
18522
- * Sets or gets the `disabled` property of the MultiViewCalendar and
18523
- * determines whether the component is active
18524
- * ([see example]({% slug disabled_multiviewcalendar %})).
18356
+ * Determines whether the MultiViewCalendar is interactive ([see example]({% slug disabled_multiviewcalendar %})).
18357
+ * When you set `disabled` to `true`, users cannot interact with the component.
18358
+ *
18359
+ * @default false
18525
18360
  */
18526
18361
  disabled = false;
18527
18362
  /**
18528
- * Sets or gets the `views` property of the MultiViewCalendar and
18529
- * defines the number of rendered months.
18363
+ * Specifies the number of calendar views to display side by side.
18530
18364
  *
18531
18365
  * @default 2
18532
18366
  */
18533
18367
  views = 2;
18534
18368
  /**
18535
- * Determines whether to display a week number column in the `month` view
18536
- * ([see example]({% slug weeknumcolumn_multiviewcalendar %})).
18369
+ * Determines whether to display week numbers in the `month` view ([see example]({% slug weeknumcolumn_multiviewcalendar %})).
18370
+ *
18371
+ * @default false
18537
18372
  */
18538
18373
  weekNumber = false;
18539
18374
  /**
18540
- * Controls the popup animation.
18541
- * By default, the opening and closing animations are enabled.
18375
+ * Controls the popup animations.
18376
+ * When you set `animate` to `true`, the popup displays opening and closing animations.
18542
18377
  * For more information about controlling the popup animations,
18543
18378
  * refer to the article on [animations]({% slug animations_popup %}).
18379
+ *
18380
+ * @default true
18544
18381
  */
18545
18382
  animate = true;
18546
18383
  /**
18547
- * Specifies the element that will be used as an anchor. The popup opens next to that element.
18384
+ * Specifies the element that serves as an anchor for the popup.
18385
+ * The popup opens next to this element.
18548
18386
  * For more information, refer to the section on
18549
18387
  * [aligning to specific components]({% slug alignmentpositioning_popup %}#toc-aligning-to-components).
18550
18388
  */
18551
18389
  anchor;
18552
18390
  /**
18553
- * Specifies the anchor pivot point.
18391
+ * Specifies the alignment point for the anchor element.
18554
18392
  * For more information, refer to the section on
18555
18393
  * [positioning]({% slug alignmentpositioning_popup %}#toc-positioning).
18556
18394
  */
18557
18395
  anchorAlign;
18558
18396
  /**
18559
- * Determines whether to display a header for every view (for example the month name).
18397
+ * Determines whether to display a header for each view ([see example]({% slug viewheader_multiviewcalendar %})).
18398
+ * For example, displays the month name in the month view.
18560
18399
  *
18561
18400
  * @default false
18562
18401
  */
18563
18402
  showViewHeader = false;
18564
18403
  /**
18565
- * Displays the days that fall out of the current month ([see example]({% slug viewoptions_multiviewcalendar %}#toc-displaying-other-month-days)).
18404
+ * Determines whether to display days from adjacent months in the current month view ([see example]({% slug viewoptions_multiviewcalendar %}#toc-displaying-other-month-days)).
18405
+ *
18566
18406
  * @default false
18567
18407
  */
18568
18408
  showOtherMonthDays = false;
18569
18409
  /**
18570
- * Controls the popup container. By default, the popup is appended to the root component.
18410
+ * Specifies where to render the popup container.
18411
+ * By default, the popup renders in the root component.
18412
+ *
18413
+ * @default 'root'
18571
18414
  */
18572
18415
  appendTo;
18573
18416
  /**
18574
- * Configures the collision behavior of the popup.
18417
+ * Configures how the popup behaves when it encounters viewport boundaries.
18575
18418
  * For more information, refer to the article on
18576
18419
  * [viewport boundary detection]({% slug viewportboundarydetection_popup %}).
18420
+ *
18421
+ * @default { horizontal: 'fit', vertical: 'flip' }
18577
18422
  */
18578
18423
  collision = { horizontal: 'fit', vertical: 'flip' };
18579
18424
  /**
18580
- * Specifies the pivot point of the popup.
18425
+ * Specifies the alignment point for the popup element.
18581
18426
  * For more information, refer to the section on
18582
18427
  * [positioning]({% slug alignmentpositioning_popup %}#toc-positioning).
18583
18428
  */
18584
18429
  popupAlign;
18585
18430
  /**
18586
- * Specifies the margin value that will be added to the popup dimensions in pixels
18587
- * and leaves a blank space between the popup and the anchor.
18431
+ * Specifies the margin around the popup in pixels.
18432
+ * Creates empty space between the popup and its anchor element.
18588
18433
  */
18589
18434
  margin;
18590
18435
  /**
18591
- * Enables or disables the adaptive mode. By default the adaptive rendering is disabled.
18436
+ * Determines whether the component uses adaptive rendering for different screen sizes.
18437
+ * By default, adaptive rendering is disabled.
18438
+ *
18439
+ * @default 'none'
18592
18440
  */
18593
18441
  adaptiveMode = 'none';
18594
18442
  /**
18595
- * Sets the title of the input element of the DateRangePopup and the title text rendered
18596
- * in the header of the popup(action sheet). Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
18443
+ * Specifies the title text for the input element and the header of the action sheet.
18444
+ * Applies only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
18445
+ *
18446
+ * @default ""
18597
18447
  */
18598
18448
  adaptiveTitle = "";
18599
18449
  /**
18600
- * Sets the subtitle text rendered in the header of the popup(action sheet).
18601
- * Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
18450
+ * Specifies the subtitle text displayed in the header of the action sheet.
18451
+ * Applies only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
18452
+ *
18453
+ * @default ""
18602
18454
  */
18603
18455
  adaptiveSubtitle = "";
18604
18456
  /**
@@ -18606,46 +18458,35 @@ class DateRangePopupComponent {
18606
18458
  *
18607
18459
  * TODO: Make visible when the Infinite Calendar is fixed to set properly the size option.
18608
18460
  * Sets the size of the component.
18609
- *
18610
- * The possible values are:
18611
- * * `small`
18612
- * * `medium` (Default)
18613
- * * `large`
18614
- * * `none`
18615
- *
18461
+ * @default 'medium'
18616
18462
  */
18617
18463
  size;
18618
18464
  /**
18619
- * Fires each time the popup is about to open
18620
- * ([see example](slug:popup_daterange#toc-events)).
18621
- * This event is preventable. If you cancel the event, the popup will remain closed.
18465
+ * Fires when the popup is about to open ([see example](slug:popup_daterange#toc-events)).
18466
+ * You can prevent this event to keep the popup closed.
18622
18467
  */
18623
18468
  open = new EventEmitter();
18624
18469
  /**
18625
- * Fires each time the popup is about to close
18626
- * ([see example](slug:popup_daterange#toc-events)).
18627
- * This event is preventable. If you cancel the event, the popup will remain open.
18470
+ * Fires when the popup is about to close ([see example](slug:popup_daterange#toc-events)).
18471
+ * You can prevent this event to keep the popup open.
18628
18472
  */
18629
18473
  close = new EventEmitter();
18630
18474
  /**
18631
- * Fires each time the calendar element is blurred
18632
- * ([see example](slug:popup_daterange#toc-events)).
18475
+ * Fires when the calendar element loses focus ([see example](slug:popup_daterange#toc-events)).
18633
18476
  */
18634
18477
  onBlur = new EventEmitter();
18635
18478
  /**
18636
- * Fires each time the calendar element is focused
18637
- * ([see example](slug:popup_daterange#toc-events)).
18479
+ * Fires when the calendar element receives focus ([see example](slug:popup_daterange#toc-events)).
18638
18480
  */
18639
18481
  onFocus = new EventEmitter();
18640
18482
  /**
18641
- * Fires each time the popup is closed either on `ESC` keypress or on leaving the viewport
18642
- * ([see example](slug:popup_daterange#toc-events)).
18483
+ * Fires when the popup closes due to an `ESC` keypress or when it leaves the viewport ([see example](slug:popup_daterange#toc-events)).
18643
18484
  */
18644
18485
  cancel = new EventEmitter();
18645
18486
  /**
18646
- * The active calendar that is visible in the popup
18487
+ * Gets the active calendar that displays in the popup.
18647
18488
  *
18648
- * > When the popup is closed, the property returns `null`.
18489
+ * When the popup is closed, the property returns `null`.
18649
18490
  */
18650
18491
  get calendar() {
18651
18492
  return this._calendar;
@@ -18656,7 +18497,7 @@ class DateRangePopupComponent {
18656
18497
  }
18657
18498
  /**
18658
18499
  * Gets the active state of the component.
18659
- * When the opened calendar is active, returns `true`.
18500
+ * Returns `true` when the opened calendar is active.
18660
18501
  */
18661
18502
  get isActive() {
18662
18503
  // The actionsheet is expanding before the calendar gets activated
@@ -18804,7 +18645,7 @@ class DateRangePopupComponent {
18804
18645
  }
18805
18646
  }
18806
18647
  /**
18807
- * Opens the popup component and focuses the calendar.
18648
+ * Opens the popup component and focuses the calendar.
18808
18649
  */
18809
18650
  activate() {
18810
18651
  if (this.show === true) {
@@ -18823,7 +18664,7 @@ class DateRangePopupComponent {
18823
18664
  });
18824
18665
  }
18825
18666
  /**
18826
- * Focuses the calendar (if available).
18667
+ * Focuses the calendar if it is available.
18827
18668
  */
18828
18669
  focus() {
18829
18670
  if (this.calendar) {
@@ -18831,9 +18672,9 @@ class DateRangePopupComponent {
18831
18672
  }
18832
18673
  }
18833
18674
  /**
18834
- * Checks if a focused element ids placed inside the popup.
18675
+ * Checks if a focused element is inside the popup.
18835
18676
  *
18836
- * @return boolean;
18677
+ * @returns {boolean} Returns `true` if the focused element is inside the popup.
18837
18678
  */
18838
18679
  hasActiveContent() {
18839
18680
  if (!isDocumentAvailable() || !this.popupRef) {
@@ -18842,11 +18683,11 @@ class DateRangePopupComponent {
18842
18683
  return this.popupRef.popupElement.contains(document.activeElement);
18843
18684
  }
18844
18685
  /**
18845
- * Toggles the visibility of the popup or actionSheet.
18846
- * If you use the `toggle` method to show or hide the popup or actionSheet,
18686
+ * Toggles the visibility of the popup or action sheet.
18687
+ * When you use the `toggle` method to show or hide the popup or action sheet,
18847
18688
  * the `open` and `close` events do not fire.
18848
18689
  *
18849
- * @param show The state of the popup.
18690
+ * @param {boolean} show The state of the popup.
18850
18691
  */
18851
18692
  toggle(show) {
18852
18693
  this.resolvedPromise.then(() => {
@@ -19444,6 +19285,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
19444
19285
  * public dateRange: any = { start: null, end: null };
19445
19286
  * }
19446
19287
  * ```
19288
+ *
19289
+ * @remarks
19290
+ * Supported children components are: {@link DateRangePopupComponent}, {@link DateRangePopupCustomMessagesComponent}, {@link DateInputComponent}.
19447
19291
  */
19448
19292
  class DateRangeComponent {
19449
19293
  dateRangeService;
@@ -19453,12 +19297,7 @@ class DateRangeComponent {
19453
19297
  * TODO: Make visible when the Infinite Calendar is fixed to set properly the size option.
19454
19298
  * Sets the size of the component.
19455
19299
  *
19456
- * The possible values are:
19457
- * * `small`
19458
- * * `medium` (Default)
19459
- * * `large`
19460
- * * `none`
19461
- *
19300
+ * @default 'medium'
19462
19301
  */
19463
19302
  size;
19464
19303
  /**
@@ -19652,44 +19491,45 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
19652
19491
  }], ctorParameters: function () { return [{ type: undefined }, { type: DateRangeService }, { type: DateInputComponent }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; } });
19653
19492
 
19654
19493
  /**
19655
- * A directive which manages the end range selection.
19494
+ * Manages the end date selection in a date range.
19495
+ *
19496
+ * You can use the `DateRangeEndInputDirective` only with a DateInput component.
19656
19497
  *
19657
- * > You can use the DateRangeEndInputDirective only with a DateInput component.
19498
+ * @example
19499
+ * ```typescript
19500
+ * @Component({
19501
+ * selector: 'my-app',
19502
+ * template: `
19503
+ * <kendo-daterange>
19504
+ * <kendo-dateinput kendoDateRangeStartInput [(value)]="startDate"></kendo-dateinput>
19505
+ * <kendo-dateinput kendoDateRangeEndInput [(value)]="endDate"></kendo-dateinput>
19506
+ * </kendo-daterange>
19507
+ * `
19508
+ * })
19509
+ * export class AppComponent {
19510
+ * public startDate: Date = new Date();
19511
+ * public endDate: Date = new Date();
19512
+ * }
19513
+ * ```
19514
+ *
19515
+ * @remarks
19516
+ * Applied to: {@link DateInputComponent}
19658
19517
  */
19659
19518
  class DateRangeEndInputDirective extends DateRangeInput {
19660
19519
  rangeService;
19661
19520
  dateInput;
19662
19521
  /**
19663
- * Specifies the auto-correction behavior. If the start date is greater than the end date, the
19664
- * directive fixes the date range to a single date either on input change or on blur
19665
- * ([see example](slug:autocorrect_daterange#toc-input-directives)).
19522
+ * Specifies the auto-correction behavior. If the start date is greater than the end date, the directive fixes the date range to a single date either on input change or on blur ([see example](slug:autocorrect_daterange#toc-input-directives)).
19666
19523
  *
19667
19524
  * By default, the component does not perform any auto-correction.
19525
+ *
19668
19526
  */
19669
19527
  autoCorrectOn;
19670
19528
  /**
19671
19529
  * Specifies the navigation behavior of the calendar when the active end is changed on input focus. When enabled,
19672
19530
  * the calendar navigates to the value of the focused input. Otherwise, the calendar displays the last picked date.
19673
19531
  *
19674
- * By default, the automatic navigation behavior on input focus is disabled.
19675
- *
19676
- * @example
19677
- * ```ts
19678
- * _@Component({
19679
- * selector: 'my-app',
19680
- * template: `
19681
- * <h5>Toggle input focus to see the calendar navigating between range ends.</h5>
19682
- * <kendo-daterange>
19683
- * <kendo-dateinput kendoDateRangeStartInput [navigateCalendarOnFocus]="true" [(value)]="start"></kendo-dateinput>
19684
- * <kendo-dateinput kendoDateRangeEndInput [navigateCalendarOnFocus]="true" [(value)]="end"></kendo-dateinput>
19685
- * </kendo-daterange>
19686
- * `
19687
- * })
19688
- * export class AppComponent {
19689
- * public start: Date = new Date(2018, 3, 10);
19690
- * public end: Date = new Date(2018, 10, 20);
19691
- * }
19692
- * ```
19532
+ * @default false
19693
19533
  */
19694
19534
  navigateCalendarOnFocus = false;
19695
19535
  constructor(rangeService, dateInput, element, renderer, zone) {
@@ -19742,46 +19582,48 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
19742
19582
  }] } });
19743
19583
 
19744
19584
  /**
19745
- * A directive which manages the start selection range.
19585
+ * Represents a directive that manages the start selection range for date range inputs.
19586
+ *
19587
+ * You can use the DateRangeStartInputDirective only with a DateInput component.
19588
+ *
19589
+ * @example
19590
+ * ```typescript
19591
+ * @Component({
19592
+ * selector: 'my-app',
19593
+ * template: `
19594
+ * <kendo-daterange>
19595
+ * <kendo-dateinput kendoDateRangeStartInput [(value)]="startDate"></kendo-dateinput>
19596
+ * <kendo-dateinput kendoDateRangeEndInput [(value)]="endDate"></kendo-dateinput>
19597
+ * </kendo-daterange>
19598
+ * `
19599
+ * })
19600
+ * export class AppComponent {
19601
+ * public startDate: Date = new Date();
19602
+ * public endDate: Date = new Date();
19603
+ * }
19604
+ * ```
19746
19605
  *
19747
- * > You can use the DateRangeStartInputDirective only with a DateInput component.
19606
+ * @remarks
19607
+ * Applied to: {@link DateInputComponent}
19748
19608
  */
19749
19609
  class DateRangeStartInputDirective extends DateRangeInput {
19750
19610
  rangeService;
19751
19611
  dateInput;
19752
19612
  renderer;
19753
19613
  /**
19754
- * Specifies the auto-correction behavior. If the start date is greater than the end date,
19755
- * the directive fixes the date range to a single date either on input change or on blur
19756
- * ([see example](slug:autocorrect_daterange#toc-input-directives)).
19614
+ * Specifies when the component automatically corrects invalid date ranges.
19615
+ * When the start date is greater than the end date, the component fixes the range to a single date either on input change or on blur ([see example](slug:autocorrect_daterange#toc-input-directives)).
19757
19616
  *
19758
19617
  * By default, the component does not perform any auto-correction.
19618
+ *
19759
19619
  */
19760
19620
  autoCorrectOn;
19761
19621
  /**
19762
- * Specifies the navigation behavior of the calendar when the active end is changed on input focus.
19763
- * When enabled, the calendar navigates to the value of the focused input. Otherwise, the calendar
19764
- * displays the last picked date.
19622
+ * Determines how the calendar navigates when you focus on the input.
19623
+ * When you set `navigateCalendarOnFocus` to `true`, the calendar moves to the value of the focused input.
19624
+ * When you set it to `false`, the calendar shows the last selected date.
19765
19625
  *
19766
- * By default, the automatic navigation behavior on input focus is disabled.
19767
- *
19768
- * @example
19769
- * ```ts
19770
- * _@Component({
19771
- * selector: 'my-app',
19772
- * template: `
19773
- * <h5>Toggle input focus to see the calendar navigating between range ends.</h5>
19774
- * <kendo-daterange>
19775
- * <kendo-dateinput kendoDateRangeStartInput [navigateCalendarOnFocus]="true" [(value)]="start"></kendo-dateinput>
19776
- * <kendo-dateinput kendoDateRangeEndInput [navigateCalendarOnFocus]="true" [(value)]="end"></kendo-dateinput>
19777
- * </kendo-daterange>
19778
- * `
19779
- * })
19780
- * export class AppComponent {
19781
- * public start: Date = new Date(2018, 3, 10);
19782
- * public end: Date = new Date(2018, 10, 20);
19783
- * }
19784
- * ```
19626
+ * @default false
19785
19627
  */
19786
19628
  navigateCalendarOnFocus = false;
19787
19629
  constructor(rangeService, dateInput, element, renderer, zone) {
@@ -19835,7 +19677,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
19835
19677
  }] } });
19836
19678
 
19837
19679
  /**
19838
- * Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
19680
+ * Allows you to override the default localization messages of the DatePicker component ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
19681
+ *
19682
+ * @example
19683
+ * ```html
19684
+ * <kendo-datepicker>
19685
+ * <kendo-datepicker-messages
19686
+ * today="Today"
19687
+ * toggle="Open calendar">
19688
+ * </kendo-datepicker-messages>
19689
+ * </kendo-datepicker>
19690
+ * ```
19839
19691
  */
19840
19692
  class DatePickerCustomMessagesComponent extends DatePickerMessages {
19841
19693
  service;
@@ -19905,7 +19757,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
19905
19757
  }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
19906
19758
 
19907
19759
  /**
19908
- * Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
19760
+ * Allows you to override the default messages of the DateTimePicker component ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
19761
+ *
19762
+ * @example
19763
+ * ```html
19764
+ * <kendo-datetimepicker>
19765
+ * <kendo-datetimepicker-messages
19766
+ * toggle="Open calendar">
19767
+ * </kendo-datetimepicker-messages>
19768
+ * </kendo-datetimepicker>
19769
+ * ```
19909
19770
  */
19910
19771
  class DateTimePickerCustomMessagesComponent extends DateTimePickerMessages {
19911
19772
  service;
@@ -19940,7 +19801,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
19940
19801
  }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
19941
19802
 
19942
19803
  /**
19943
- * Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
19804
+ * Represents the Kendo UI TimePicker custom messages component for Angular. Allows you to override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
19805
+ *
19806
+ * @example
19807
+ * ```html
19808
+ * <kendo-timepicker>
19809
+ * <kendo-timepicker-messages
19810
+ * accept="Apply"
19811
+ * cancel="Close"
19812
+ * now="Current time">
19813
+ * </kendo-timepicker-messages>
19814
+ * </kendo-timepicker>
19815
+ * ```
19944
19816
  */
19945
19817
  class TimePickerCustomMessagesComponent extends TimePickerMessages {
19946
19818
  service;
@@ -20089,7 +19961,7 @@ const KENDO_DATEINPUTS = [
20089
19961
 
20090
19962
  // IMPORTANT: NgModule export kept for backwards compatibility
20091
19963
  /**
20092
- * The exported package module.
19964
+ * Required for adding all Calendar features in NgModule-based Angular applications.
20093
19965
  *
20094
19966
  * The package exports:
20095
19967
  * - `CellTemplateDirective`&mdash;The month cell template directive.
@@ -20103,29 +19975,18 @@ const KENDO_DATEINPUTS = [
20103
19975
  *
20104
19976
  * @example
20105
19977
  *
20106
- * ```ts-no-run
20107
- * // Import the Calendar module
20108
- * import { CalendarModule } from '@progress/kendo-angular-dateinputs';
20109
- *
20110
- * // The browser platform with a compiler
20111
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
20112
- *
19978
+ * ```typescript
20113
19979
  * import { NgModule } from '@angular/core';
19980
+ * import { BrowserModule } from '@angular/platform-browser';
19981
+ * import { CalendarModule } from '@progress/kendo-angular-dateinputs';
20114
19982
  *
20115
- * // Import the app component
20116
- * import { AppComponent } from './app.component';
20117
- *
20118
- * // Define the app module
20119
- * _@NgModule({
20120
- * declarations: [AppComponent], // declare app component
20121
- * imports: [BrowserModule, CalendarModule], // import Calendar module
20122
- * bootstrap: [AppComponent]
19983
+ * @NgModule({
19984
+ * imports: [
19985
+ * BrowserModule,
19986
+ * CalendarModule
19987
+ * ]
20123
19988
  * })
20124
- * export class AppModule {}
20125
- *
20126
- * // Compile and launch the module
20127
- * platformBrowserDynamic().bootstrapModule(AppModule);
20128
- *
19989
+ * export class AppModule { }
20129
19990
  * ```
20130
19991
  */
20131
19992
  class CalendarModule {
@@ -20164,7 +20025,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
20164
20025
 
20165
20026
  // IMPORTANT: NgModule export kept for backwards compatibility
20166
20027
  /**
20167
- * The exported package module.
20028
+ * Required for adding all Calendars features in NgModule-based Angular applications.
20168
20029
  *
20169
20030
  * The package exports:
20170
20031
  * - `CalendarModule`&mdash;The calendar module.
@@ -20172,29 +20033,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
20172
20033
  *
20173
20034
  * @example
20174
20035
  *
20175
- * ```ts-no-run
20176
- * // Import the Calendars module
20177
- * import { CalendarsModule } from '@progress/kendo-angular-dateinputs';
20178
- *
20179
- * // The browser platform with a compiler
20180
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
20181
- *
20036
+ * ```typescript
20182
20037
  * import { NgModule } from '@angular/core';
20038
+ * import { BrowserModule } from '@angular/platform-browser';
20039
+ * import { CalendarsModule } from '@progress/kendo-angular-dateinputs';
20183
20040
  *
20184
- * // Import the app component
20185
- * import { AppComponent } from './app.component';
20186
- *
20187
- * // Define the app module
20188
- * _@NgModule({
20189
- * declarations: [AppComponent], // declare app component
20190
- * imports: [BrowserModule, CalendarsModule], // import the Calendars module
20191
- * bootstrap: [AppComponent]
20041
+ * @NgModule({
20042
+ * imports: [
20043
+ * BrowserModule,
20044
+ * CalendarsModule
20045
+ * ]
20192
20046
  * })
20193
- * export class AppModule {}
20194
- *
20195
- * // Compile and launch the module
20196
- * platformBrowserDynamic().bootstrapModule(AppModule);
20197
- *
20047
+ * export class AppModule { }
20198
20048
  * ```
20199
20049
  */
20200
20050
  class CalendarsModule {
@@ -20233,8 +20083,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
20233
20083
 
20234
20084
  // IMPORTANT: NgModule export kept for backwards compatibility
20235
20085
  /**
20236
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
20237
- * definition for the DateInput component.
20086
+ * Required for adding all DateInput features in NgModule-based Angular applications.
20087
+ *
20088
+ * The package exports:
20089
+ * - `DateInputComponent`&mdash;The DateInput component.
20090
+ * - `DateInputMessagesComponent`&mdash;The DateInput custom messages component.
20091
+ *
20092
+ * @example
20093
+ * ```ts
20094
+ * import { DateInputModule } from '@progress/kendo-angular-dateinputs';
20095
+ *
20096
+ * @NgModule({
20097
+ * imports: [DateInputModule]
20098
+ * })
20099
+ * export class AppModule { }
20100
+ * ```
20238
20101
  */
20239
20102
  class DateInputModule {
20240
20103
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -20256,8 +20119,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
20256
20119
 
20257
20120
  // IMPORTANT: NgModule export kept for backwards compatibility
20258
20121
  /**
20259
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
20260
- * definition for the DatePicker component.
20122
+ * Required for adding all DatePicker features in [NgModule-based](link:site.data.urls.angular['ngmoduleapi']) Angular applications.
20123
+ *
20124
+ * @example
20125
+ * ```typescript
20126
+ * import { DatePickerModule } from '@progress/kendo-angular-dateinputs';
20127
+ *
20128
+ * @NgModule({
20129
+ * imports: [DatePickerModule]
20130
+ * })
20131
+ * export class AppModule { }
20132
+ * ```
20261
20133
  */
20262
20134
  class DatePickerModule {
20263
20135
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -20385,8 +20257,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
20385
20257
 
20386
20258
  // IMPORTANT: NgModule export kept for backwards compatibility
20387
20259
  /**
20388
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
20389
- * definition for the TimePicker component.
20260
+ * Required for adding all TimePicker features in NgModule-based Angular applications.
20261
+ *
20262
+ * @example
20263
+ * ```typescript
20264
+ * import { NgModule } from '@angular/core';
20265
+ * import { TimePickerModule } from '@progress/kendo-angular-dateinputs';
20266
+ *
20267
+ * @NgModule({
20268
+ * imports: [TimePickerModule],
20269
+ * // ...
20270
+ * })
20271
+ * export class AppModule { }
20272
+ * ```
20390
20273
  */
20391
20274
  class TimePickerModule {
20392
20275
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -20426,8 +20309,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
20426
20309
 
20427
20310
  // IMPORTANT: NgModule export kept for backwards compatibility
20428
20311
  /**
20429
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
20430
- * definition for the DateTimePicker component.
20312
+ * Required for adding all DateTimePicker features in [NgModule-based](link:site.data.urls.angular['ngmoduleapi']) Angular applications.
20313
+ *
20314
+ * @example
20315
+ * ```typescript
20316
+ * import { NgModule } from '@angular/core';
20317
+ * import { BrowserModule } from '@angular/platform-browser';
20318
+ * import { DateTimePickerModule } from '@progress/kendo-angular-dateinputs';
20319
+ *
20320
+ * @NgModule({
20321
+ * imports: [
20322
+ * BrowserModule,
20323
+ * DateTimePickerModule
20324
+ * ]
20325
+ * })
20326
+ * export class AppModule { }
20327
+ * ```
20431
20328
  */
20432
20329
  class DateTimePickerModule {
20433
20330
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateTimePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -20483,6 +20380,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
20483
20380
 
20484
20381
  // IMPORTANT: NgModule export kept for backwards compatibility
20485
20382
  /**
20383
+ * Required for adding all MultiViewCalendar features in NgModule-based Angular applications.
20486
20384
  * The package exports:
20487
20385
  * - `CellTemplateDirective`&mdash;The month cell template directive.
20488
20386
  * - `MonthCellTemplateDirective`&mdash;The month cell template directive.