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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/calendar/calendar.component.d.ts +37 -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 +46 -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/dateinput/dateinput.component.d.ts +43 -119
  25. package/dateinput/dateinput.module.d.ts +15 -2
  26. package/dateinput/localization/dateinput-custom-messages.component.d.ts +18 -1
  27. package/dateinput/models/format-placeholder.model.d.ts +15 -20
  28. package/dateinput/models/format-settings.model.d.ts +14 -4
  29. package/dateinput/models/incremental-steps.model.d.ts +16 -1
  30. package/datepicker/datepicker.component.d.ts +65 -127
  31. package/datepicker/datepicker.module.d.ts +11 -2
  32. package/datepicker/localization/datepicker-custom-messages.component.d.ts +11 -1
  33. package/daterange/auto-correct-on.type.d.ts +2 -1
  34. package/daterange/date-range-end-input.directive.d.ts +22 -24
  35. package/daterange/date-range-popup-template.directive.d.ts +13 -2
  36. package/daterange/date-range-popup.component.d.ts +83 -73
  37. package/daterange/date-range-selection.directive.d.ts +10 -9
  38. package/daterange/date-range-start-input.directive.d.ts +26 -27
  39. package/daterange/date-range.component.d.ts +1 -6
  40. package/daterange/date-range.service.d.ts +27 -27
  41. package/datetimepicker/datetimepicker.component.d.ts +88 -79
  42. package/datetimepicker/datetimepicker.module.d.ts +16 -2
  43. package/datetimepicker/localization/datetimepicker-custom-messages.component.d.ts +10 -1
  44. package/esm2022/calendar/calendar.component.mjs +37 -56
  45. package/esm2022/calendar/calendar.module.mjs +10 -21
  46. package/esm2022/calendar/calendars.module.mjs +10 -21
  47. package/esm2022/calendar/localization/calendar-custom-messages.component.mjs +9 -1
  48. package/esm2022/calendar/localization/multiview-calendar-custom-messages.component.mjs +9 -1
  49. package/esm2022/calendar/models/selection-range.interface.mjs +2 -0
  50. package/esm2022/calendar/models/selection.mjs +11 -0
  51. package/esm2022/calendar/multiview-calendar.component.mjs +46 -40
  52. package/esm2022/calendar/multiview-calendar.module.mjs +1 -0
  53. package/esm2022/calendar/templates/cell-template.directive.mjs +16 -19
  54. package/esm2022/calendar/templates/century-cell-template.directive.mjs +15 -19
  55. package/esm2022/calendar/templates/decade-cell-template.directive.mjs +15 -19
  56. package/esm2022/calendar/templates/footer-template.directive.mjs +16 -17
  57. package/esm2022/calendar/templates/header-template.directive.mjs +19 -18
  58. package/esm2022/calendar/templates/header-title-template.directive.mjs +15 -18
  59. package/esm2022/calendar/templates/month-cell-template.directive.mjs +15 -17
  60. package/esm2022/calendar/templates/navigation-item-template.directive.mjs +15 -18
  61. package/esm2022/calendar/templates/weeknumber-cell-template.directive.mjs +15 -17
  62. package/esm2022/calendar/templates/year-cell-template.directive.mjs +15 -20
  63. package/esm2022/dateinput/dateinput.component.mjs +44 -120
  64. package/esm2022/dateinput/dateinput.module.mjs +15 -2
  65. package/esm2022/dateinput/localization/dateinput-custom-messages.component.mjs +18 -1
  66. package/esm2022/datepicker/datepicker.component.mjs +65 -127
  67. package/esm2022/datepicker/datepicker.module.mjs +11 -2
  68. package/esm2022/datepicker/localization/datepicker-custom-messages.component.mjs +11 -1
  69. package/esm2022/daterange/date-range-end-input.directive.mjs +22 -24
  70. package/esm2022/daterange/date-range-popup-template.directive.mjs +13 -2
  71. package/esm2022/daterange/date-range-popup.component.mjs +83 -73
  72. package/esm2022/daterange/date-range-selection.directive.mjs +10 -9
  73. package/esm2022/daterange/date-range-start-input.directive.mjs +26 -27
  74. package/esm2022/daterange/date-range.component.mjs +1 -6
  75. package/esm2022/daterange/date-range.service.mjs +27 -27
  76. package/esm2022/datetimepicker/datetimepicker.component.mjs +88 -79
  77. package/esm2022/datetimepicker/datetimepicker.module.mjs +16 -2
  78. package/esm2022/datetimepicker/localization/datetimepicker-custom-messages.component.mjs +10 -1
  79. package/esm2022/package-metadata.mjs +2 -2
  80. package/esm2022/timepicker/localization/messages.mjs +14 -14
  81. package/esm2022/timepicker/localization/timepicker-custom-messages.component.mjs +12 -1
  82. package/esm2022/timepicker/timepicker.component.mjs +54 -119
  83. package/esm2022/timepicker/timepicker.module.mjs +13 -2
  84. package/esm2022/timepicker/timeselector.component.mjs +24 -40
  85. package/fesm2022/progress-kendo-angular-dateinputs.mjs +870 -1003
  86. package/package.json +13 -12
  87. package/timepicker/localization/messages.d.ts +14 -14
  88. package/timepicker/localization/timepicker-custom-messages.component.d.ts +12 -1
  89. package/timepicker/timepicker.component.d.ts +50 -115
  90. package/timepicker/timepicker.module.d.ts +13 -2
  91. 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: 1750156974,
40
+ version: '19.1.2-develop.4',
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,16 +3639,9 @@ 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
  * ```
3663
3646
  */
3664
3647
  class MultiViewCalendarComponent {
@@ -3671,7 +3654,8 @@ class MultiViewCalendarComponent {
3671
3654
  disabledDatesService;
3672
3655
  selectionService;
3673
3656
  /**
3674
- * Displays the days that fall out of the current month ([see example]({% slug viewoptions_multiviewcalendar %}#toc-displaying-other-month-days)).
3657
+ * Shows days that fall outside the current month ([see example]({% slug viewoptions_multiviewcalendar %}#toc-displaying-other-month-days)).
3658
+ *
3675
3659
  * @default true
3676
3660
  */
3677
3661
  showOtherMonthDays = true;
@@ -3711,11 +3695,10 @@ class MultiViewCalendarComponent {
3711
3695
  */
3712
3696
  id;
3713
3697
  /**
3714
- * Sets or gets the `focusedDate` property of the Calendar and
3715
- * defines the focused date of the component
3698
+ * Specifies the focused date of the Calendar
3716
3699
  * ([see example]({% slug dates_multiviewcalendar %}#toc-focused-dates)).
3717
3700
  *
3718
- * > If the Calendar is out of the min or max range, it normalizes the defined `focusedDate`.
3701
+ * If the Calendar is outside the `min` or `max` range, the component normalizes the defined `focusedDate`.
3719
3702
  */
3720
3703
  set focusedDate(focusedDate) {
3721
3704
  this._focusedDate = focusedDate || getToday();
@@ -3725,6 +3708,7 @@ class MultiViewCalendarComponent {
3725
3708
  }
3726
3709
  /**
3727
3710
  * Toggles the visibility of the footer.
3711
+ *
3728
3712
  * @default false
3729
3713
  */
3730
3714
  footer = false;
@@ -3747,9 +3731,9 @@ class MultiViewCalendarComponent {
3747
3731
  return this.views === 1 ? this.id + 'header-' : null;
3748
3732
  }
3749
3733
  /**
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`.
3734
+ * Specifies the minimum allowed date value
3735
+ *
3736
+ * @default 1970-01-01
3753
3737
  */
3754
3738
  set min(min) {
3755
3739
  this._min = min || new Date(MIN_DATE);
@@ -3758,9 +3742,9 @@ class MultiViewCalendarComponent {
3758
3742
  return this._min;
3759
3743
  }
3760
3744
  /**
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`.
3745
+ * Specifies the maximum allowed date value
3746
+ *
3747
+ * @default 2099-12-31
3764
3748
  */
3765
3749
  set max(max) {
3766
3750
  this._max = max || new Date(MAX_DATE);
@@ -3769,7 +3753,7 @@ class MultiViewCalendarComponent {
3769
3753
  return this._max;
3770
3754
  }
3771
3755
  /**
3772
- * Determines whether the built-in min or max validators are enforced when validating a form.
3756
+ * Determines whether the built-in `min` or `max` validators are enforced when validating a form.
3773
3757
  *
3774
3758
  * @default false
3775
3759
  */
@@ -3778,16 +3762,14 @@ class MultiViewCalendarComponent {
3778
3762
  * Determines whether the built-in validator for disabled
3779
3763
  * date ranges is enforced when validating a form
3780
3764
  * ([see example](slug:disabled_dates_multiviewcalendar)).
3765
+ *
3766
+ * @default false
3781
3767
  */
3782
3768
  disabledDatesRangeValidation = false;
3783
3769
  /**
3784
3770
  * Sets the Calendar selection mode
3785
3771
  * ([see example]({% slug selection_multiviewcalendar %})).
3786
- *
3787
- * The available values are:
3788
- * * `single` (default)
3789
- * * `multiple`
3790
- * * `range`
3772
+ * @default 'single'
3791
3773
  */
3792
3774
  set selection(_selection) {
3793
3775
  this.selectionSetter = true;
@@ -3819,16 +3801,19 @@ class MultiViewCalendarComponent {
3819
3801
  return this._value;
3820
3802
  }
3821
3803
  /**
3822
- * Sets or gets the `disabled` property of the Calendar and
3823
- * determines whether the component is active
3804
+ * Specifies whether the component is disabled
3824
3805
  * ([see example]({% slug disabled_multiviewcalendar %})).
3825
3806
  * 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).
3807
+ *
3808
+ * @default false
3826
3809
  */
3827
3810
  disabled = false;
3828
3811
  /**
3829
- * Sets or gets the `tabindex` property of the Calendar. Based on the
3812
+ * Specifies the `tabindex` property of the Calendar. Based on the
3830
3813
  * [HTML `tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) behavior,
3831
3814
  * it determines whether the component is focusable.
3815
+ *
3816
+ * @default 0
3832
3817
  */
3833
3818
  tabindex = 0;
3834
3819
  /**
@@ -3841,7 +3826,8 @@ class MultiViewCalendarComponent {
3841
3826
  return this.tabindex;
3842
3827
  }
3843
3828
  /**
3844
- * Sets the format of the displayed Calendar week days' names.
3829
+ * Specifies the format of the displayed week day names.
3830
+ *
3845
3831
  * @default 'short'
3846
3832
  */
3847
3833
  weekDaysFormat = "short";
@@ -3850,31 +3836,37 @@ class MultiViewCalendarComponent {
3850
3836
  */
3851
3837
  isActive = false;
3852
3838
  /**
3853
- * Sets the dates of the MultiViewCalendar that will be disabled
3839
+ * Specifies the dates of the MultiViewCalendar that will be disabled
3854
3840
  * ([see example]({% slug disabled_dates_multiviewcalendar %})).
3855
3841
  */
3856
3842
  set disabledDates(value) {
3857
3843
  this.disabledDatesService.initialize(value);
3858
3844
  }
3859
3845
  /**
3860
- * Defines the active view that the Calendar initially renders
3861
- * ([see example]({% slug viewoptions_multiviewcalendar %})).
3846
+ * Specifies the active view that the Calendar initially renders.
3862
3847
  * By default, the active view is `month`.
3863
3848
  *
3864
3849
  * > You have to set `activeView` within the `topView`-`bottomView` range.
3850
+ *
3851
+ * @default month
3865
3852
  */
3866
3853
  activeView = CalendarViewEnum[CalendarViewEnum.month];
3867
3854
  /**
3868
- * Defines the bottommost view, to which the user can navigate
3869
- * ([see example](slug:viewdepth_multiviewcalendar)).
3855
+ * Specifies the bottommost view to which you can navigate.
3856
+ *
3857
+ * @default month
3870
3858
  */
3871
3859
  bottomView = CalendarViewEnum[CalendarViewEnum.month];
3872
3860
  /**
3873
- * Defines the topmost view, to which the user can navigate.
3861
+ * Specifies the topmost view to which you can navigate.
3862
+ *
3863
+ * @default century
3874
3864
  */
3875
3865
  topView = CalendarViewEnum[CalendarViewEnum.century];
3876
3866
  /**
3877
- * Determines whether to display a header for every view (for example the month name).
3867
+ * Determines whether to display a header for every view (for example, the month name).
3868
+ *
3869
+ * @default false
3878
3870
  */
3879
3871
  showViewHeader = false;
3880
3872
  /**
@@ -3886,12 +3878,14 @@ class MultiViewCalendarComponent {
3886
3878
  */
3887
3879
  animateNavigation = false;
3888
3880
  /**
3889
- * Determines whether to display a week number column in the `month` view
3881
+ * Specifies whether to display a week number column in the `month` view
3890
3882
  * ([see example]({% slug weeknumcolumn_multiviewcalendar %})).
3883
+ *
3884
+ * @default false
3891
3885
  */
3892
3886
  weekNumber = false;
3893
3887
  /**
3894
- * Specify, which end of the defined selection range should be marked as active.
3888
+ * Specifies which end of the defined selection range should be marked as active.
3895
3889
  *
3896
3890
  * > Value will be ignored if the selection range is undefined.
3897
3891
  * > If range selection is used then the default value is 'start'.
@@ -3903,7 +3897,7 @@ class MultiViewCalendarComponent {
3903
3897
  return (this.selection === 'range' && !this._activeRangeEnd) ? 'start' : this._activeRangeEnd;
3904
3898
  }
3905
3899
  /**
3906
- * Sets or gets the `selectionRange` property of the Calendar and
3900
+ * Specifies the `selectionRange` property and
3907
3901
  * defines the selection range of the component
3908
3902
  * ([see example](slug:selection_multiviewcalendar#toc-range-selection)).
3909
3903
  * > We recommend using the `value` property as it now supports `range` selection.
@@ -3918,8 +3912,10 @@ class MultiViewCalendarComponent {
3918
3912
  return this._selectionRange;
3919
3913
  }
3920
3914
  /**
3921
- * Sets or gets the `views` property of the Calendar and
3915
+ * Specifies the `views` property and
3922
3916
  * defines the number of rendered months.
3917
+ *
3918
+ * @default 2
3923
3919
  */
3924
3920
  views = 2;
3925
3921
  /**
@@ -6554,28 +6550,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
6554
6550
  }], ctorParameters: function () { return [{ type: CalendarDOMService }, { type: i0.NgZone }]; } });
6555
6551
 
6556
6552
  /**
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.
6553
+ * A directive for customizing the navigation items in the Calendar component.
6554
+ *
6555
+ * This directive allows you to define a custom template for rendering the content of navigation items
6556
+ * in the Calendar header. The template context provides access to the title, current date, and active view.
6557
+ *
6558
+ * Template Context Variables:
6559
+ * - `title` - The formatted title text for the navigation item
6560
+ * - `date` - The Date object representing the current navigation context
6561
+ * - `activeView` - The current active view of the Calendar
6562
6562
  *
6563
6563
  * For more examples, refer to the article on [templates]({% slug templates_calendar %}).
6564
6564
  *
6565
6565
  * @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 { }
6566
+ * ```html
6567
+ * <kendo-calendar>
6568
+ * <ng-template kendoCalendarNavigationItemTemplate let-title let-date="date">
6569
+ * <span class="custom">{{title}} - {{date | date:'yyyy'}}</span>
6570
+ * </ng-template>
6571
+ * </kendo-calendar>
6579
6572
  * ```
6580
6573
  */
6581
6574
  class NavigationItemTemplateDirective {
@@ -6608,7 +6601,15 @@ class PickerService {
6608
6601
  }
6609
6602
 
6610
6603
  /**
6611
- * Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
6604
+ * A component that allows customization of MultiView Calendar localization messages.
6605
+ *
6606
+ * @example
6607
+ * ```html
6608
+ * <kendo-multiviewcalendar-messages prevButtonTitle="Previous">
6609
+ * </kendo-multiviewcalendar-messages>
6610
+ * ```
6611
+ *
6612
+ * For more information, see the [globalization documentation]({% slug globalization_dateinputs %}#toc-custom-messages).
6612
6613
  */
6613
6614
  class MultiViewCalendarCustomMessagesComponent extends Messages {
6614
6615
  service;
@@ -6743,16 +6744,9 @@ const KENDO_INPUT_PROVIDER = {
6743
6744
  };
6744
6745
  /**
6745
6746
  * Represents the [Kendo UI Calendar component for Angular](slug:overview_calendar).
6746
- *
6747
6747
  * @example
6748
- * ```ts
6749
- * _@Component({
6750
- * selector: 'my-app',
6751
- * template: `
6752
- * <kendo-calendar></kendo-calendar>
6753
- * `
6754
- * })
6755
- * export class AppComponent { }
6748
+ * ```html
6749
+ * <kendo-calendar></kendo-calendar>
6756
6750
  * ```
6757
6751
  */
6758
6752
  class CalendarComponent {
@@ -6770,10 +6764,7 @@ class CalendarComponent {
6770
6764
  selectionService;
6771
6765
  pickerService;
6772
6766
  /**
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
6767
+ * 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
6768
  */
6778
6769
  set showOtherMonthDays(_showOtherMonthDays) {
6779
6770
  this._showOtherMonthDays = _showOtherMonthDays;
@@ -6796,11 +6787,10 @@ class CalendarComponent {
6796
6787
  return `kendo-popup-${this.bus.calendarId}`;
6797
6788
  }
6798
6789
  /**
6799
- * Sets or gets the `focusedDate` property of the Calendar and
6800
- * defines the focused date of the component
6790
+ * Specifies the focused date of the Calendar
6801
6791
  * ([see example]({% slug dates_calendar %}#toc-focused-dates)).
6802
6792
  *
6803
- * > If the Calendar is out of the min or max range, it normalizes the defined `focusedDate`.
6793
+ * If the Calendar is outside the `min` or `max` range, the component normalizes the defined `focusedDate`.
6804
6794
  */
6805
6795
  set focusedDate(focusedDate) {
6806
6796
  if (this.activeViewDate && !isEqual(this._focusedDate, focusedDate)) {
@@ -6830,10 +6820,10 @@ class CalendarComponent {
6830
6820
  return this.id + '-header';
6831
6821
  }
6832
6822
  /**
6833
- * Sets or gets the `min` property of the Calendar and
6834
- * defines the minimum allowed date value
6823
+ * Specifies the minimum allowed date value
6835
6824
  * ([see example]({% slug dateranges_calendar %})).
6836
- * By default, the `min` value is `1900-1-1`.
6825
+ *
6826
+ * @default 1900-1-1
6837
6827
  */
6838
6828
  set min(min) {
6839
6829
  this._min = min || new Date(MIN_DATE);
@@ -6842,10 +6832,10 @@ class CalendarComponent {
6842
6832
  return this._min;
6843
6833
  }
6844
6834
  /**
6845
- * Sets or gets the `max` property of the Calendar and
6846
- * defines the maximum allowed date value
6835
+ * Specifies the maximum allowed date value
6847
6836
  * ([see example]({% slug dateranges_calendar %})).
6848
- * By default, the `max` value is `2099-12-31`.
6837
+ *
6838
+ * @default 2099-12-31
6849
6839
  */
6850
6840
  set max(max) {
6851
6841
  this._max = max || new Date(MAX_DATE);
@@ -6854,29 +6844,27 @@ class CalendarComponent {
6854
6844
  return this._max;
6855
6845
  }
6856
6846
  /**
6857
- * Determines whether the built-in min or max validators are enforced when validating a form.
6847
+ * Determines whether the built-in `min` or `max` validators are enforced when validating a form.
6858
6848
  *
6859
6849
  * @default false
6860
6850
  */
6861
6851
  rangeValidation = false;
6862
6852
  /**
6863
- * Sets the format of the displayed Calendar week days' names.
6853
+ * Specifies the format of the displayed week day names.
6854
+ *
6864
6855
  * @default 'short'
6865
6856
  */
6866
6857
  weekDaysFormat = "short";
6867
6858
  /**
6868
6859
  * Toggles the visibility of the footer.
6860
+ *
6869
6861
  * @default false
6870
6862
  */
6871
6863
  footer = false;
6872
6864
  /**
6873
6865
  * Sets the Calendar selection mode
6874
6866
  * ([see example]({% slug selection_calendar %})).
6875
- *
6876
- * The available values are:
6877
- * * `single` (default)
6878
- * * `multiple`
6879
- * * `range`
6867
+ * @default 'single'
6880
6868
  */
6881
6869
  set selection(_selection) {
6882
6870
  this._selection = _selection;
@@ -6896,7 +6884,7 @@ class CalendarComponent {
6896
6884
  /**
6897
6885
  * Sets or gets the `value` property of the Calendar and defines the selected value of the component.
6898
6886
  *
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.
6887
+ * 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
6888
  */
6901
6889
  set value(candidate) {
6902
6890
  this.valueSetter = true;
@@ -6913,9 +6901,11 @@ class CalendarComponent {
6913
6901
  */
6914
6902
  disabled = false;
6915
6903
  /**
6916
- * Sets or gets the `tabindex` property of the Calendar. Based on the
6904
+ * Specifies the `tabindex` property of the Calendar. Based on the
6917
6905
  * [HTML `tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) behavior,
6918
6906
  * it determines whether the component is focusable.
6907
+ *
6908
+ * @default 0
6919
6909
  */
6920
6910
  tabindex = 0;
6921
6911
  /**
@@ -6928,7 +6918,7 @@ class CalendarComponent {
6928
6918
  return this.tabindex;
6929
6919
  }
6930
6920
  /**
6931
- * Sets the dates of the Calendar that will be disabled
6921
+ * Specifies the dates of the Calendar that will be disabled
6932
6922
  * ([see example]({% slug disabled_dates_calendar %})).
6933
6923
  */
6934
6924
  set disabledDates(value) {
@@ -6939,37 +6929,39 @@ class CalendarComponent {
6939
6929
  return this._disabledDates;
6940
6930
  }
6941
6931
  /**
6942
- * Sets or gets the `navigation` property of the Calendar
6943
- * and determines whether the navigation side-bar will be displayed
6932
+ * Determines whether the navigation side-bar will be displayed
6944
6933
  * ([see example]({% slug sidebar_calendar %})).
6945
6934
  * Applies to the [`infinite`]({% slug api_dateinputs_calendarcomponent %}#toc-type) Calendar only.
6935
+ *
6936
+ * @default true
6946
6937
  */
6947
6938
  navigation = true;
6948
6939
  /**
6949
6940
  * Defines the active view that the Calendar initially renders
6950
6941
  * ([see example]({% slug viewoptions_calendar %})).
6951
- * By default, the active view is `month`.
6942
+ * You have to set `activeView` within the `topView`-`bottomView` range.
6952
6943
  *
6953
- * > You have to set `activeView` within the `topView`-`bottomView` range.
6944
+ * @default 'month'
6954
6945
  */
6955
6946
  activeView = CalendarViewEnum[CalendarViewEnum.month];
6956
6947
  /**
6957
6948
  * Defines the bottommost view to which the user can navigate
6958
6949
  * ([see example](slug:viewdepth_calendar)).
6950
+ *
6951
+ * @default 'month'
6959
6952
  */
6960
6953
  bottomView = CalendarViewEnum[CalendarViewEnum.month];
6961
6954
  /**
6962
6955
  * Defines the topmost view to which the user can navigate
6963
6956
  * ([see example](slug:viewdepth_calendar)).
6957
+ *
6958
+ * @default 'century'
6964
6959
  */
6965
6960
  topView = CalendarViewEnum[CalendarViewEnum.century];
6966
6961
  /**
6967
6962
  * Specifies the Calendar type.
6968
6963
  *
6969
- * The possible values are:
6970
- * - `infinite` (default)
6971
- * - `classic`
6972
- *
6964
+ * @default 'infinite'
6973
6965
  */
6974
6966
  set type(type) {
6975
6967
  this.renderer.removeClass(this.element.nativeElement, `k-calendar-${this.type}`);
@@ -6985,7 +6977,7 @@ class CalendarComponent {
6985
6977
  * Determines whether to enable animation when navigating to previous/next view.
6986
6978
  * Applies to the [`classic`]({% slug api_dateinputs_calendarcomponent %}#toc-type) Calendar only.
6987
6979
  *
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.
6980
+ * 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
6981
  *
6990
6982
  * @default false
6991
6983
  */
@@ -6993,6 +6985,8 @@ class CalendarComponent {
6993
6985
  /**
6994
6986
  * Determines whether to display a week number column in the `month` view
6995
6987
  * ([see example]({% slug weeknumcolumn_calendar %})).
6988
+ *
6989
+ * @default false
6996
6990
  */
6997
6991
  weekNumber = false;
6998
6992
  /**
@@ -7240,10 +7234,10 @@ class CalendarComponent {
7240
7234
  }
7241
7235
  _size = DEFAULT_SIZE;
7242
7236
  /**
7243
- * Specify, which end of the defined selection range should be marked as active.
7237
+ * Specifies which end of the defined selection range should be marked as active.
7238
+ * Value will be ignored if the selection range is undefined. If range selection is used then the default value is 'start'.
7244
7239
  *
7245
- * > Value will be ignored if the selection range is undefined.
7246
- * > If range selection is used then the default value is 'start'.
7240
+ * @default 'start'
7247
7241
  */
7248
7242
  set activeRangeEnd(_activeRangeEnd) {
7249
7243
  this._activeRangeEnd = _activeRangeEnd;
@@ -7445,18 +7439,6 @@ class CalendarComponent {
7445
7439
  }
7446
7440
  /**
7447
7441
  * 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
7442
  */
7461
7443
  focus() {
7462
7444
  this.currentlyFocusedElement = this.type === 'infinite' ?
@@ -8520,7 +8502,7 @@ class DateInputIntl {
8520
8502
  this.dateFieldName = service.dateFieldName;
8521
8503
  this.dateFormatNames = (localeId, options) => this.service.dateFormatNames(options, localeId || this.localeId);
8522
8504
  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
8505
+ // Setting the `cldr` object from here could be avoided if the logic in the common package is revisited to
8524
8506
  // directly relies on the `localeId` being set as part of the options => TBD and validated for all suites
8525
8507
  this.cldr[_localeData.name] = _localeData;
8526
8508
  }
@@ -8569,31 +8551,36 @@ class DateInputComponent {
8569
8551
  }
8570
8552
  }
8571
8553
  /**
8572
- * If set to `true`, renders a clear button after the input text or DateInput value has been changed.
8554
+ * Specifies whether to render a clear button after the input text or DateInput value has been changed.
8573
8555
  * Clicking this button resets the value of the component to `null` and triggers the `valueChange` event.
8574
8556
  * @default false
8575
8557
  */
8576
8558
  clearButton = false;
8577
8559
  /**
8578
- * Sets or gets the `disabled` property of the DateInput and
8579
- * determines whether the component is active
8560
+ * Specifies whether the component is disabled
8580
8561
  * ([see example]({% slug disabled_dateinput %})).
8581
8562
  * 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).
8563
+ *
8564
+ * @default false
8582
8565
  */
8583
8566
  disabled = false;
8584
8567
  /**
8585
- * Sets or gets the read-only state of the DateInput
8568
+ * Specifies the read-only state of the DateInput
8586
8569
  * ([see example]({% slug readonly_dateinput %})).
8587
8570
  *
8588
8571
  * @default false
8589
8572
  */
8590
8573
  readonly = false;
8591
8574
  /**
8592
- * Sets the title of the input element of the DateInput.
8575
+ * Specifies the title of the input element of the DateInput.
8576
+ *
8577
+ * @default ""
8593
8578
  */
8594
8579
  title = "";
8595
8580
  /**
8596
- * Sets or gets the `tabIndex` property of the DateInput.
8581
+ * Specifies the `tabIndex` property of the DateInput.
8582
+ *
8583
+ * @default 0
8597
8584
  */
8598
8585
  tabindex = 0;
8599
8586
  /**
@@ -8621,56 +8608,14 @@ class DateInputComponent {
8621
8608
  * Specifies the date format that is used to display the input value
8622
8609
  * ([see example]({% slug formats_dateinput %})).
8623
8610
  *
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.
8611
+ * You can provide a string if a single format is going to be used regardless whether the input is focused or blurred.
8612
+ * 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
8613
  */
8628
8614
  format = DEFAULT_FORMAT$1;
8629
8615
  /**
8630
8616
  * Defines the descriptions of the format sections in the input field.
8631
8617
  * For more information, refer to the article on
8632
8618
  * [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
8619
  */
8675
8620
  set formatPlaceholder(format) {
8676
8621
  this._formatPlaceholder = format ? format : DEFAULT_FORMAT_PLACEHOLDER;
@@ -8682,86 +8627,72 @@ class DateInputComponent {
8682
8627
  * Specifies the hint the DateInput displays when its value is `null`.
8683
8628
  * For more information, refer to the article on
8684
8629
  * [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
- * ```
8630
+ * @default null
8696
8631
  */
8697
8632
  placeholder = null;
8698
8633
  /**
8699
8634
  * Configures the incremental steps of the DateInput.
8700
8635
  * For more information, refer to the article on
8701
8636
  * [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
8637
  */
8716
8638
  steps = {};
8717
8639
  /**
8718
8640
  * Specifies the biggest date that is valid
8719
8641
  * ([see example]({% slug dateranges_dateinput %})).
8720
- * By default, the `max` value is `2099-12-31`.
8642
+ *
8643
+ * @default 2099-12-31
8721
8644
  */
8722
8645
  max = cloneDate(MAX_DATE);
8723
8646
  /**
8724
8647
  * Specifies the smallest date that is valid
8725
8648
  * ([see example]({% slug dateranges_dateinput %})).
8726
- * By default, the `min` value is `1900-1-1`.
8649
+ *
8650
+ * @default 1900-1-1
8727
8651
  */
8728
8652
  min = cloneDate(MIN_DATE);
8729
8653
  /**
8730
- * Determines whether the built-in min or max validators are to be enforced when a form is being validated.
8654
+ * Specifies whether to enforce the built-in min and max validators when validating a form.
8655
+ * Set to `true` to enable validation for the `min` and `max` values.
8731
8656
  *
8732
8657
  * @default true
8733
8658
  */
8734
8659
  rangeValidation = true;
8735
8660
  /**
8736
- * Determines whether to autocorrect invalid segments automatically.
8661
+ * Specifies if the component automatically corrects invalid date segments.
8662
+ * When set to `true`, the component fixes invalid segments as you type.
8737
8663
  *
8738
8664
  * @default true
8739
8665
  */
8740
8666
  autoCorrectParts = true;
8741
8667
  /**
8742
- * Determines whether to automatically move to the next segment after the user completes the current one.
8668
+ * Specifies if the component automatically moves to the next segment after you complete the current one.
8669
+ * When set to `true`, focus moves to the next segment as soon as you finish typing the current segment.
8743
8670
  *
8744
8671
  * @default true
8745
8672
  */
8746
8673
  autoSwitchParts = true;
8747
8674
  /**
8748
- * A string array representing custom keys, which will move the focus to the next date format segment.
8675
+ * Specifies custom keys that move focus to the next date format segment.
8676
+ * Provide an array of strings to define which keys trigger the focus change.
8749
8677
  */
8750
8678
  autoSwitchKeys = [];
8751
8679
  /**
8752
- * Determines if the users should see a blinking caret inside the Date Input when possible.
8680
+ * Specifies if the component displays a blinking caret inside the DateInput when possible.
8681
+ * Set to `true` to show a blinking caret for better visual feedback.
8753
8682
  *
8754
8683
  * @default false
8755
8684
  */
8756
8685
  allowCaretMode = false;
8757
8686
  /**
8758
- * When enabled, the DateInput will autofill the rest of the date to the current date when the component loses focus.
8687
+ * Specifies whether to autofill the rest of the date to the current date when the component loses focus.
8759
8688
  *
8760
8689
  * @default false
8761
8690
  */
8762
8691
  autoFill = false;
8763
8692
  /**
8764
- * Determines whether the built-in validation for incomplete dates is to be enforced when a form is being validated.
8693
+ * Specifies whether the built-in validation for incomplete dates is to be enforced when a form is being validated.
8694
+ *
8695
+ * @default false
8765
8696
  */
8766
8697
  incompleteDateValidation = false;
8767
8698
  /**
@@ -8770,6 +8701,7 @@ class DateInputComponent {
8770
8701
  *
8771
8702
  * The default value is 68, indicating that typing any value less than 69
8772
8703
  * will be assumed to be 20xx, while 69 and larger will be assumed to be 19xx.
8704
+ * @default 68
8773
8705
  */
8774
8706
  twoDigitYearMax = TWO_DIGIT_YEAR_MAX$2;
8775
8707
  /**
@@ -8781,7 +8713,7 @@ class DateInputComponent {
8781
8713
  /**
8782
8714
  * Specifies the value of the DateInput component.
8783
8715
  *
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`.
8716
+ * 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
8717
  */
8786
8718
  set value(value) {
8787
8719
  this.verifyValue(value);
@@ -8796,6 +8728,8 @@ class DateInputComponent {
8796
8728
  * Specifies whether the **Up** and **Down** spin buttons will be rendered.
8797
8729
  * For more information, refer to the article on
8798
8730
  * [spinner buttons]({% slug spinbuttons_dateinput %}).
8731
+ *
8732
+ * @default false
8799
8733
  */
8800
8734
  spinners = false;
8801
8735
  /**
@@ -8807,13 +8741,9 @@ class DateInputComponent {
8807
8741
  */
8808
8742
  hasPopup;
8809
8743
  /**
8810
- * Sets the size of the component.
8744
+ * Specifies the size of the component.
8811
8745
  *
8812
- * The possible values are:
8813
- * * `small`
8814
- * * `medium` (Default)
8815
- * * `large`
8816
- * * `none`
8746
+ * @default medium
8817
8747
  *
8818
8748
  */
8819
8749
  set size(size) {
@@ -8828,15 +8758,8 @@ class DateInputComponent {
8828
8758
  return this._size;
8829
8759
  }
8830
8760
  /**
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
- *
8761
+ * Specifies the border radius of the component.
8762
+ * @default 'medium'
8840
8763
  */
8841
8764
  set rounded(rounded) {
8842
8765
  this.renderer.removeClass(this.wrapper.nativeElement, getRoundedClass(this.rounded));
@@ -8850,14 +8773,8 @@ class DateInputComponent {
8850
8773
  return this._rounded;
8851
8774
  }
8852
8775
  /**
8853
- * Sets the fillMode of the component.
8854
- *
8855
- * The possible values are:
8856
- * * `solid` (Default)
8857
- * * `flat`
8858
- * * `outline`
8859
- * * `none`
8860
- *
8776
+ * Specifies the fillMode of the component.
8777
+ * @default 'solid'
8861
8778
  */
8862
8779
  set fillMode(fillMode) {
8863
8780
  this.renderer.removeClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
@@ -8875,7 +8792,7 @@ class DateInputComponent {
8875
8792
  return this._fillMode;
8876
8793
  }
8877
8794
  /**
8878
- * Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.
8795
+ * Specifies the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.
8879
8796
  */
8880
8797
  set inputAttributes(attributes) {
8881
8798
  if (isObjectPresent(this.parsedAttributes)) {
@@ -9250,17 +9167,6 @@ class DateInputComponent {
9250
9167
  /**
9251
9168
  * Focuses the DateInput component.
9252
9169
  *
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
9170
  */
9265
9171
  focus() {
9266
9172
  this.kendoDate && this.kendoDate.focus();
@@ -9745,7 +9651,15 @@ const disabledDatesValidator = (isDateDisabled) => {
9745
9651
  };
9746
9652
 
9747
9653
  /**
9748
- * Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
9654
+ * A component that allows customization of Calendar localization messages.
9655
+ *
9656
+ * @example
9657
+ * ```html
9658
+ * <kendo-calendar-messages prevButtonTitle="Previous">
9659
+ * </kendo-calendar-messages>
9660
+ * ```
9661
+ *
9662
+ * For more information, see the [globalization documentation]({% slug globalization_dateinputs %}#toc-custom-messages).
9749
9663
  */
9750
9664
  class CalendarCustomMessagesComponent extends CalendarMessages {
9751
9665
  service;
@@ -9780,7 +9694,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
9780
9694
  }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
9781
9695
 
9782
9696
  /**
9783
- * Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
9697
+ * Represents the Kendo UI DateInput custom messages component.
9698
+ * Overrides the default component messages with custom messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
9699
+ *
9700
+ * @example
9701
+ * ```ts
9702
+ * @Component({
9703
+ * selector: 'my-app',
9704
+ * template: `
9705
+ * <kendo-dateinput>
9706
+ * <kendo-dateinput-messages
9707
+ * increment="Increase value"
9708
+ * decrement="Decrease value">
9709
+ * </kendo-dateinput-messages>
9710
+ * </kendo-dateinput>
9711
+ * `
9712
+ * })
9713
+ * export class AppComponent { }
9714
+ * ```
9784
9715
  */
9785
9716
  class DateInputCustomMessagesComponent extends DateInputMessages {
9786
9717
  service;
@@ -9908,7 +9839,23 @@ const VALUE_DOC_LINK$2 = 'https://www.telerik.com/kendo-angular-ui/components/da
9908
9839
  const DEFAULT_FORMAT = 'd';
9909
9840
  const TWO_DIGIT_YEAR_MAX$1 = 68;
9910
9841
  /**
9911
- * Represents the [Kendo UI DatePicker component for Angular](slug:overview_datepicker).
9842
+ * Represents the Kendo UI DatePicker component for Angular.
9843
+ * Provides a user-friendly way to select dates with a calendar popup ([see example](slug:overview_datepicker)).
9844
+ *
9845
+ * @example
9846
+ * ```ts
9847
+ * @Component({
9848
+ * selector: 'my-app',
9849
+ * template: `
9850
+ * <kendo-datepicker
9851
+ * [value]="selectedDate"
9852
+ * </kendo-datepicker>
9853
+ * `
9854
+ * })
9855
+ * export class AppComponent {
9856
+ * selectedDate = new Date();
9857
+ * }
9858
+ * ```
9912
9859
  */
9913
9860
  class DatePickerComponent extends MultiTabStop {
9914
9861
  zone;
@@ -9944,13 +9891,14 @@ class DatePickerComponent extends MultiTabStop {
9944
9891
  this.cellTemplate = template;
9945
9892
  }
9946
9893
  /**
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.
9894
+ * Renders a clear button when set to `true` after the input text or DatePicker value changes.
9895
+ * Click this button to reset the component value to `null` and trigger the `valueChange` event.
9949
9896
  * @default false
9950
9897
  */
9951
9898
  clearButton = false;
9952
9899
  /**
9953
- * Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.
9900
+ * Specifies the HTML attributes of the inner focusable input element.
9901
+ * You cannot change attributes that are essential for certain component functionalities.
9954
9902
  */
9955
9903
  inputAttributes;
9956
9904
  /**
@@ -10034,7 +9982,7 @@ class DatePickerComponent extends MultiTabStop {
10034
9982
  this.footerTemplate = template;
10035
9983
  }
10036
9984
  /**
10037
- * Toggles the visibility of the Calendar footer.
9985
+ * Controls the visibility of the Calendar footer.
10038
9986
  * @default false
10039
9987
  */
10040
9988
  footer = false;
@@ -10049,62 +9997,53 @@ class DatePickerComponent extends MultiTabStop {
10049
9997
  this.navigationItemTemplate = template;
10050
9998
  }
10051
9999
  /**
10052
- * Sets the format of the displayed Calendar week days' names.
10000
+ * Specifies the format of the displayed Calendar week days' names.
10053
10001
  * @default 'short'
10054
10002
  */
10055
10003
  weekDaysFormat = "short";
10056
10004
  /**
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
10005
+ * Shows the days that fall outside the current month in the Calendar ([see example]({% slug viewoptions_calendar %}#toc-displaying-other-month-days)).
10006
+ * The default value is `false` for infinite Calendar type and `true` for classic Calendar type.
10061
10007
  */
10062
10008
  showOtherMonthDays;
10063
10009
  /**
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`.
10010
+ * Specifies the active view that the Calendar initially renders ([see example]({% slug viewoptions_calendar %}#toc-active-view)).
10067
10011
  *
10068
- * > You have to set `activeView` within the `topView`-`bottomView` range.
10012
+ * You have to set `activeView` within the `topView`-`bottomView` range.
10013
+ * @default 'month'
10069
10014
  */
10070
10015
  activeView = CalendarViewEnum[CalendarViewEnum.month];
10071
10016
  /**
10072
- * Defines the bottommost Calendar view to which the user can navigate
10073
- * ([see example](slug:datepicker_calendar_options#toc-view-selection-depth)).
10017
+ * Specifies the bottommost Calendar view to which you can navigate ([see example](slug:datepicker_calendar_options#toc-view-selection-depth)).
10018
+ * @default 'month'
10074
10019
  */
10075
10020
  bottomView = CalendarViewEnum[CalendarViewEnum.month];
10076
10021
  /**
10077
- * Defines the topmost Calendar view to which the user can navigate
10078
- * ([see example](slug:datepicker_calendar_options#toc-view-selection-depth)).
10022
+ * Specifies the topmost Calendar view to which you can navigate ([see example](slug:datepicker_calendar_options#toc-view-selection-depth)).
10023
+ * @default 'century'
10079
10024
  */
10080
10025
  topView = CalendarViewEnum[CalendarViewEnum.century];
10081
10026
  /**
10082
10027
  * Specifies the Calendar type.
10083
- *
10084
- * The possible values are:
10085
- * - `infinite` (default)
10086
- * - `classic`
10087
- *
10028
+ * @default 'infinite'
10088
10029
  */
10089
10030
  calendarType = 'infinite';
10090
10031
  /**
10091
10032
  * Determines whether to enable animation when navigating to previous/next Calendar view.
10092
10033
  * Applies to the [`classic`]({% slug api_dateinputs_datepickercomponent %}#toc-calendartype) Calendar only.
10093
10034
  *
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.
10035
+ * 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
10036
  *
10096
10037
  * @default false
10097
10038
  */
10098
10039
  animateCalendarNavigation = false;
10099
10040
  /**
10100
- * Sets or gets the `disabled` property of the DatePicker and determines whether the component is active
10101
- * ([see example]({% slug disabled_datepicker %})).
10041
+ * Specifies or gets the `disabled` property of the DatePicker and determines whether the component is active ([see example]({% slug disabled_datepicker %})).
10102
10042
  * 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
10043
  */
10104
10044
  disabled = false;
10105
10045
  /**
10106
- * Sets the read-only state of the DatePicker
10107
- * ([see example]({% slug readonly_datepicker %}#toc-read-only-datepicker)).
10046
+ * Specifies the read-only state of the DatePicker ([see example]({% slug readonly_datepicker %}#toc-read-only-datepicker)).
10108
10047
  *
10109
10048
  * @default false
10110
10049
  */
@@ -10113,17 +10052,16 @@ class DatePickerComponent extends MultiTabStop {
10113
10052
  * Sets the read-only state of the DatePicker input field
10114
10053
  * ([see example]({% slug readonly_datepicker %}#toc-read-only-input)).
10115
10054
  *
10116
- * > Note that if you set the [`readonly`]({% slug api_dateinputs_datepickercomponent %}#toc-readonly) property value to `true`,
10055
+ * If you set the [`readonly`]({% slug api_dateinputs_datepickercomponent %}#toc-readonly) property value to `true`,
10117
10056
  * the input will be rendered in a read-only state regardless of the `readOnlyInput` value.
10118
10057
  */
10119
10058
  readOnlyInput = false;
10120
10059
  /**
10121
10060
  * Configures the popup options of the DatePicker.
10122
10061
  *
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.
10062
+ * The available options are animate which controls the popup animation and by default, the open and close animations are enabled.
10063
+ * The appendTo option controls the popup container and by default, the popup will be appended to the root component.
10064
+ * The popupClass option specifies a list of CSS classes that are used to style the popup.
10127
10065
  */
10128
10066
  set popupSettings(settings) {
10129
10067
  this._popupSettings = Object.assign({}, { animate: true }, settings);
@@ -10149,17 +10087,18 @@ class DatePickerComponent extends MultiTabStop {
10149
10087
  /**
10150
10088
  * Specifies the smallest valid date
10151
10089
  * ([see example]({% slug dateranges_datepicker %})).
10152
- * By default, the `min` value is `1900-1-1`.
10090
+ * @default 1900-1-1
10153
10091
  */
10154
10092
  min = cloneDate(MIN_DATE);
10155
10093
  /**
10156
10094
  * Specifies the biggest valid date
10157
10095
  * ([see example]({% slug dateranges_datepicker %})).
10158
- * By default, the `max` value is `2099-12-31`.
10096
+ * @default 2099-12-31
10159
10097
  */
10160
10098
  max = cloneDate(MAX_DATE);
10161
10099
  /**
10162
10100
  * Determines whether the built-in validation for incomplete dates is to be enforced when a form is being validated.
10101
+ * @default false
10163
10102
  */
10164
10103
  incompleteDateValidation = false;
10165
10104
  /**
@@ -10199,13 +10138,13 @@ class DatePickerComponent extends MultiTabStop {
10199
10138
  /**
10200
10139
  * Specifies the focused date of the Calendar component
10201
10140
  * ([see example](slug:datepicker_calendar_options#toc-focused-dates)).
10141
+ * @default null
10202
10142
  */
10203
10143
  focusedDate = null;
10204
10144
  /**
10205
10145
  * Specifies the value of the DatePicker component.
10206
10146
  *
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`.
10147
+ * 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
10148
  */
10210
10149
  set value(value) {
10211
10150
  this.verifyValue(value);
@@ -10218,9 +10157,8 @@ class DatePickerComponent extends MultiTabStop {
10218
10157
  * Specifies the date format that is used to display the input value
10219
10158
  * ([see example]({% slug formats_datepicker %})).
10220
10159
  *
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.
10160
+ * Format value options include string to provide a single format that is used regardless whether the input is focused or blurred.
10161
+ * 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
10162
  */
10225
10163
  format = DEFAULT_FORMAT;
10226
10164
  /**
@@ -10229,69 +10167,25 @@ class DatePickerComponent extends MultiTabStop {
10229
10167
  *
10230
10168
  * The default value is 68, indicating that typing any value less than 69
10231
10169
  * will be assumed to be 20xx, while 69 and larger will be assumed to be 19xx.
10170
+ * @default 68
10232
10171
  */
10233
10172
  twoDigitYearMax = TWO_DIGIT_YEAR_MAX$1;
10234
10173
  /**
10235
10174
  * Defines the descriptions of the format sections in the input field.
10236
10175
  * ([more information and examples]({% slug placeholders_datepicker %})).
10237
10176
  *
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
10177
  */
10276
10178
  formatPlaceholder;
10277
10179
  /**
10278
10180
  * Specifies the hint the DatePicker displays when its value is `null`.
10279
10181
  * ([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
- * ```
10182
+ * @default null
10291
10183
  */
10292
10184
  placeholder = null;
10293
10185
  /**
10294
- * Sets or gets the `tabindex` property of the DatePicker.
10186
+ * Sets the `tabindex` of the DatePicker.
10187
+ * This property is used to set the order in which the DatePicker will receive focus when navigating through the page using the Tab key.
10188
+ * @default 0
10295
10189
  */
10296
10190
  tabindex = 0;
10297
10191
  /**
@@ -10317,11 +10211,13 @@ class DatePickerComponent extends MultiTabStop {
10317
10211
  /**
10318
10212
  * Sets the title of the input element of the DatePicker and the title text rendered
10319
10213
  * in the header of the popup(action sheet). Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
10214
+ * @default ""
10320
10215
  */
10321
10216
  adaptiveTitle = "";
10322
10217
  /**
10323
10218
  * Sets the subtitle text rendered in the header of the popup(action sheet).
10324
10219
  * Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
10220
+ * @default ""
10325
10221
  */
10326
10222
  adaptiveSubtitle = "";
10327
10223
  /**
@@ -10334,22 +10230,18 @@ class DatePickerComponent extends MultiTabStop {
10334
10230
  * Determines whether the built-in validator for disabled
10335
10231
  * date ranges is enforced when validating a form
10336
10232
  * ([see example]( slug:disabled_dates_datepicker#toc-using-a-function)).
10233
+ * @default true
10337
10234
  */
10338
10235
  disabledDatesValidation = true;
10339
10236
  /**
10340
10237
  * Determines whether to display a week number column in the `month` view of the Calendar
10341
10238
  * ([see example](slug:datepicker_calendar_options#toc-week-number-column)).
10239
+ * @default false
10342
10240
  */
10343
10241
  weekNumber = false;
10344
10242
  /**
10345
10243
  * Sets the size of the component.
10346
- *
10347
- * The possible values are:
10348
- * * `small`
10349
- * * `medium` (Default)
10350
- * * `large`
10351
- * * `none`
10352
- *
10244
+ * @default 'medium'
10353
10245
  */
10354
10246
  set size(size) {
10355
10247
  this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
@@ -10365,15 +10257,8 @@ class DatePickerComponent extends MultiTabStop {
10365
10257
  return this._size;
10366
10258
  }
10367
10259
  /**
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
- *
10260
+ * Specifies the border radius of the component.
10261
+ * @default 'medium'
10377
10262
  */
10378
10263
  set rounded(rounded) {
10379
10264
  this.renderer.removeClass(this.wrapper.nativeElement, getRoundedClass(this.rounded));
@@ -10387,14 +10272,8 @@ class DatePickerComponent extends MultiTabStop {
10387
10272
  return this._rounded;
10388
10273
  }
10389
10274
  /**
10390
- * Sets the fillMode of the component.
10391
- *
10392
- * The possible values are:
10393
- * * `solid` (Default)
10394
- * * `flat`
10395
- * * `outline`
10396
- * * `none`
10397
- *
10275
+ * Specifies the fillMode of the component.
10276
+ * @default 'solid'
10398
10277
  */
10399
10278
  set fillMode(fillMode) {
10400
10279
  this.renderer.removeClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
@@ -10412,7 +10291,9 @@ class DatePickerComponent extends MultiTabStop {
10412
10291
  return this._fillMode;
10413
10292
  }
10414
10293
  /**
10415
- * Enables or disables the adaptive mode. By default the adaptive rendering is disabled.
10294
+ * 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.
10295
+ *
10296
+ * @default 'none'
10416
10297
  */
10417
10298
  adaptiveMode = 'none';
10418
10299
  /**
@@ -10685,18 +10566,6 @@ class DatePickerComponent extends MultiTabStop {
10685
10566
  }
10686
10567
  /**
10687
10568
  * 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
10569
  */
10701
10570
  focus() {
10702
10571
  this.dateInput.focus();
@@ -10712,7 +10581,7 @@ class DatePickerComponent extends MultiTabStop {
10712
10581
  * If you use the `toggle` method to show or hide the popup or actionSheet,
10713
10582
  * the `open` and `close` events do not fire.
10714
10583
  *
10715
- * @param show - The state of the popup.
10584
+ * @param show The state of the popup.
10716
10585
  */
10717
10586
  toggle(show) {
10718
10587
  if (this.disabled || this.readonly) {
@@ -12778,59 +12647,59 @@ const snapTime = snappers => (candidate, min) => {
12778
12647
  */
12779
12648
  class TimePickerMessages extends ComponentMessages {
12780
12649
  /**
12781
- * The text of the **Accept** button in the popup footer of the TimeList.
12650
+ * Specifies the text of the **Accept** button in the popup footer of the TimeList.
12782
12651
  */
12783
12652
  accept;
12784
12653
  /**
12785
- * The label of the **Accept** button in the popup footer of the TimeList.
12654
+ * Specifies the label of the **Accept** button in the popup footer of the TimeList.
12786
12655
  */
12787
12656
  acceptLabel;
12788
12657
  /**
12789
- * The text of the **Cancel** button in the popup footer of the TimeList.
12658
+ * Specifies the text of the **Cancel** button in the popup footer of the TimeList.
12790
12659
  */
12791
12660
  cancel;
12792
12661
  /**
12793
- * The label of the **Cancel** button in the popup footer of the TimeList.
12662
+ * Specifies the label of the **Cancel** button in the popup footer of the TimeList.
12794
12663
  */
12795
12664
  cancelLabel;
12796
12665
  /**
12797
- * The text of the **Now** button in the popup header of the TimeList.
12666
+ * Specifies the text of the **Now** button in the popup header of the TimeList.
12798
12667
  */
12799
12668
  now;
12800
12669
  /**
12801
- * The label of the **Now** button in the popup header of the TimeList.
12670
+ * Specifies the label of the **Now** button in the popup header of the TimeList.
12802
12671
  */
12803
12672
  nowLabel;
12804
12673
  /**
12805
- * The title of the **Toggle** button of the TimePicker.
12674
+ * Specifies the title of the **Toggle** button of the TimePicker.
12806
12675
  */
12807
12676
  toggle;
12808
12677
  /**
12809
- * The label of the **Hour** part in the TimePicker.
12678
+ * Specifies the label of the **Hour** part in the TimePicker.
12810
12679
  */
12811
12680
  hour;
12812
12681
  /**
12813
- * The label of the **Minute** part in the TimePicker.
12682
+ * Specifies the label of the **Minute** part in the TimePicker.
12814
12683
  */
12815
12684
  minute;
12816
12685
  /**
12817
- * The label of the **Second** part in the TimePicker.
12686
+ * Specifies the label of the **Second** part in the TimePicker.
12818
12687
  */
12819
12688
  second;
12820
12689
  /**
12821
- * The label of the **Millisecond** part in the TimePicker.
12690
+ * Specifies the label of the **Millisecond** part in the TimePicker.
12822
12691
  */
12823
12692
  millisecond;
12824
12693
  /**
12825
- * The label of the **Dayperiod** part in the TimePicker.
12694
+ * Specifies the label of the **Dayperiod** part in the TimePicker.
12826
12695
  */
12827
12696
  dayperiod;
12828
12697
  /**
12829
- * The title of the **Clear** button of the TimePicker.
12698
+ * Specifies the title of the **Clear** button of the TimePicker.
12830
12699
  */
12831
12700
  clearTitle;
12832
12701
  /**
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.
12702
+ * 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
12703
  */
12835
12704
  adaptiveCloseButtonTitle;
12836
12705
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimePickerMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
@@ -12943,62 +12812,58 @@ class TimeSelectorComponent {
12943
12812
  return this.disabled;
12944
12813
  }
12945
12814
  /**
12946
- * Specifies the time format used to display the time list columns.
12815
+ * Specifies the time format that displays the time list columns.
12816
+ *
12817
+ * @default 't'
12947
12818
  */
12948
12819
  format = 't';
12949
12820
  /**
12950
- * Specifies the smallest valid time value.
12821
+ * Sets the smallest valid time value.
12951
12822
  */
12952
12823
  min = cloneDate(MIN_TIME);
12953
12824
  /**
12954
- * Specifies the biggest valid time value.
12825
+ * Sets the largest valid time value.
12955
12826
  */
12956
12827
  max = cloneDate(MAX_TIME);
12957
12828
  /**
12958
- * Determines whether to display the **Cancel** button in the popup.
12829
+ * Controls the display of the **Cancel** button in the popup.
12830
+ *
12831
+ * @default true
12959
12832
  */
12960
12833
  cancelButton = true;
12961
12834
  /**
12962
- * Determines whether to display the **Set** button in the popup.
12835
+ * Controls the display of the **Set** button in the popup.
12836
+ *
12837
+ * @default true
12963
12838
  */
12964
12839
  setButton = true;
12965
12840
  /**
12966
- * Determines whether to display the **Now** button in the popup.
12841
+ * Controls the display of the **Now** button in the popup.
12842
+ *
12843
+ * When the current time is out of range or the incremental step is greater than `1`, the **Now** button is hidden.
12967
12844
  *
12968
- * > If the current time is out of range or the incremental step is greater than `1`, the **Now** button will be hidden.
12845
+ * @default true
12969
12846
  */
12970
12847
  nowButton = true;
12971
12848
  /**
12972
- * Sets or gets the `disabled` property of the TimeSelector and determines whether the component is active.
12849
+ * Sets the `disabled` property of the `TimeSelector` and controls whether the component is active.
12850
+ *
12851
+ * @default false
12973
12852
  */
12974
12853
  disabled = false;
12975
12854
  /**
12976
- * Needed in order to set it in the dom service so that timeselector height can be properly calculated
12855
+ * Sets the adaptive mode for the component.
12856
+ * Use this property to enable proper height calculation in the DOM service.
12977
12857
  */
12978
12858
  isAdaptiveEnabled;
12859
+ /**
12860
+ * Specifies whether the component is used as part of a DateTimePicker.
12861
+ */
12979
12862
  isDateTimePicker;
12980
12863
  /**
12981
12864
  * Configures the incremental steps of the TimeSelector.
12982
12865
  *
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.
12866
+ * When the incremental step is greater than `1`, the **Now** button is hidden.
13002
12867
  */
13003
12868
  set steps(steps) {
13004
12869
  this._steps = steps || {};
@@ -13106,18 +12971,6 @@ class TimeSelectorComponent {
13106
12971
  }
13107
12972
  /**
13108
12973
  * 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
12974
  */
13122
12975
  focus() {
13123
12976
  const list = this.timeLists.first;
@@ -13702,6 +13555,19 @@ const ACCEPT_BUTTON_SELECTOR$1 = '.k-button.k-time-accept';
13702
13555
  const CANCEL_BUTTON_SELECTOR = '.k-button.k-time-cancel';
13703
13556
  /**
13704
13557
  * Represents the [Kendo UI TimePicker component for Angular](slug:overview_timepicker).
13558
+ *
13559
+ * @example
13560
+ * ```typescript
13561
+ * @Component({
13562
+ * selector: 'my-app',
13563
+ * template: `
13564
+ * <kendo-timepicker [(value)]="selectedTime"></kendo-timepicker>
13565
+ * `
13566
+ * })
13567
+ * export class AppComponent {
13568
+ * public selectedTime: Date = new Date();
13569
+ * }
13570
+ * ```
13705
13571
  */
13706
13572
  class TimePickerComponent extends MultiTabStop {
13707
13573
  bus;
@@ -13728,14 +13594,15 @@ class TimePickerComponent extends MultiTabStop {
13728
13594
  */
13729
13595
  focusableId;
13730
13596
  /**
13731
- * Sets or gets the `disabled` property of the TimePicker and
13732
- * determines whether the component is active
13597
+ * Determines whether the TimePicker is disabled
13733
13598
  * ([see example]({% slug disabled_timepicker %})).
13734
13599
  * 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).
13600
+ *
13601
+ * @default false
13735
13602
  */
13736
13603
  disabled = false;
13737
13604
  /**
13738
- * Sets the read-only state of the TimePicker
13605
+ * Determines the read-only state of the TimePicker
13739
13606
  * ([see example]({% slug readonly_timepicker %}#toc-read-only-timepicker)).
13740
13607
  *
13741
13608
  * @default false
@@ -13745,8 +13612,9 @@ class TimePickerComponent extends MultiTabStop {
13745
13612
  * Sets the read-only state of the TimePicker input field
13746
13613
  * ([see example]({% slug readonly_timepicker %}#toc-read-only-input)).
13747
13614
  *
13748
- * > Note that if you set the [`readonly`]({% slug api_dateinputs_timepickercomponent %}#toc-readonly) property value to `true`,
13615
+ * If you set the [`readonly`]({% slug api_dateinputs_timepickercomponent %}#toc-readonly) property value to `true`,
13749
13616
  * the input will be rendered in a read-only state regardless of the `readOnlyInput` value.
13617
+ * @default false
13750
13618
  */
13751
13619
  readOnlyInput = false;
13752
13620
  /**
@@ -13758,72 +13626,26 @@ class TimePickerComponent extends MultiTabStop {
13758
13626
  /**
13759
13627
  * Specifies the time format that is used to display the input value
13760
13628
  * ([see example]({% slug formats_timepicker %})).
13629
+ * @default 't'
13761
13630
  */
13762
13631
  format = 't';
13763
13632
  /**
13764
13633
  * Defines the descriptions of the format sections in the input field.
13765
13634
  * For more information, refer to the article on
13766
13635
  * [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
13636
  */
13806
13637
  formatPlaceholder;
13807
13638
  /**
13808
13639
  * Specifies the hint the TimePicker displays when its value is `null`.
13809
13640
  * For more information, refer to the article on
13810
13641
  * [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
- * ```
13642
+ * @default null
13822
13643
  */
13823
13644
  placeholder = null;
13824
13645
  /**
13825
13646
  * Specifies the smallest valid time value
13826
13647
  * ([see example]({% slug timeranges_timepicker %})).
13648
+ * @default `00:00:00`
13827
13649
  */
13828
13650
  set min(min) {
13829
13651
  this._min = cloneDate(min || MIN_TIME);
@@ -13834,6 +13656,7 @@ class TimePickerComponent extends MultiTabStop {
13834
13656
  /**
13835
13657
  * Specifies the biggest valid time value
13836
13658
  * ([see example]({% slug timeranges_timepicker %})).
13659
+ * @default `23:59:59`
13837
13660
  */
13838
13661
  set max(max) {
13839
13662
  this._max = cloneDate(max || MAX_TIME);
@@ -13843,6 +13666,8 @@ class TimePickerComponent extends MultiTabStop {
13843
13666
  }
13844
13667
  /**
13845
13668
  * Determines whether the built-in validation for incomplete dates is to be enforced when a form is being validated.
13669
+ *
13670
+ * @default false
13846
13671
  */
13847
13672
  incompleteDateValidation = false;
13848
13673
  /**
@@ -13869,12 +13694,16 @@ class TimePickerComponent extends MultiTabStop {
13869
13694
  allowCaretMode = false;
13870
13695
  /**
13871
13696
  * Determines whether to display the **Cancel** button in the popup.
13697
+ *
13698
+ * @default true
13872
13699
  */
13873
13700
  cancelButton = true;
13874
13701
  /**
13875
13702
  * Determines whether to display the **Now** button in the popup.
13876
13703
  *
13877
- * > If the current time is out of range or the incremental step is greater than `1`, the **Now** button will be hidden.
13704
+ * If the current time is out of range or the incremental step is greater than `1`, the **Now** button will be hidden.
13705
+ *
13706
+ * @default true
13878
13707
  */
13879
13708
  nowButton = true;
13880
13709
  /**
@@ -13882,21 +13711,7 @@ class TimePickerComponent extends MultiTabStop {
13882
13711
  * For more information, refer to the article on
13883
13712
  * [incremental steps]({% slug incrementalsteps_timepicker %}).
13884
13713
  *
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
- *
13714
+ * If the incremental step is greater than `1`, the **Now** button will be hidden.
13900
13715
  */
13901
13716
  set steps(steps) {
13902
13717
  this._steps = steps || {};
@@ -13907,10 +13722,9 @@ class TimePickerComponent extends MultiTabStop {
13907
13722
  /**
13908
13723
  * Configures the popup of the TimePicker.
13909
13724
  *
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.
13725
+ * The available options are animate which controls the popup animation and by default, the open and close animations are enabled.
13726
+ * The `appendTo` option controls the popup container and by default, the popup will be appended to the root component.
13727
+ * The `popupClass` option specifies a list of CSS classes that are used to style the popup.
13914
13728
  */
13915
13729
  set popupSettings(settings) {
13916
13730
  this._popupSettings = Object.assign({}, { animate: true }, settings);
@@ -13919,7 +13733,8 @@ class TimePickerComponent extends MultiTabStop {
13919
13733
  return this._popupSettings;
13920
13734
  }
13921
13735
  /**
13922
- * Sets or gets the `tabindex` property of the TimePicker.
13736
+ * Sets the tabindex of the TimePicker component.
13737
+ * @default 0
13923
13738
  */
13924
13739
  tabindex = 0;
13925
13740
  /**
@@ -13949,13 +13764,14 @@ class TimePickerComponent extends MultiTabStop {
13949
13764
  */
13950
13765
  rangeValidation = true;
13951
13766
  /**
13952
- * Enables or disables the adaptive mode. By default the adaptive rendering is disabled.
13767
+ * Determines whether the TimePicker is in adaptive mode.
13768
+ * @default 'none'
13953
13769
  */
13954
13770
  adaptiveMode = 'none';
13955
13771
  /**
13956
- * Specifies the value of the TimePicker component.
13772
+ * Determines whether the TimePicker is in adaptive mode.
13957
13773
  *
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`.
13774
+ * 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
13775
  */
13960
13776
  set value(value) {
13961
13777
  this.verifyValue(value);
@@ -13966,13 +13782,7 @@ class TimePickerComponent extends MultiTabStop {
13966
13782
  }
13967
13783
  /**
13968
13784
  * Sets the size of the component.
13969
- *
13970
- * The possible values are:
13971
- * * `small`
13972
- * * `medium` (Default)
13973
- * * `large`
13974
- * * `none`
13975
- *
13785
+ * @default 'medium'
13976
13786
  */
13977
13787
  set size(size) {
13978
13788
  this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
@@ -13988,14 +13798,8 @@ class TimePickerComponent extends MultiTabStop {
13988
13798
  return this._size;
13989
13799
  }
13990
13800
  /**
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`
13801
+ * Sets the rounded styling of the component.
13802
+ * @default 'medium'
13999
13803
  *
14000
13804
  */
14001
13805
  set rounded(rounded) {
@@ -14011,13 +13815,7 @@ class TimePickerComponent extends MultiTabStop {
14011
13815
  }
14012
13816
  /**
14013
13817
  * Sets the fillMode of the component.
14014
- *
14015
- * The possible values are:
14016
- * * `solid` (Default)
14017
- * * `flat`
14018
- * * `outline`
14019
- * * `none`
14020
- *
13818
+ * @default 'solid'
14021
13819
  */
14022
13820
  set fillMode(fillMode) {
14023
13821
  this.renderer.removeClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
@@ -14325,33 +14123,22 @@ class TimePickerComponent extends MultiTabStop {
14325
14123
  /**
14326
14124
  * Focuses the TimePicker component.
14327
14125
  *
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
14126
  */
14340
14127
  focus() {
14341
14128
  this.dateInput.focus();
14342
14129
  }
14343
14130
  /**
14344
14131
  * Blurs the TimePicker component.
14132
+ *
14345
14133
  */
14346
14134
  blur() {
14347
14135
  (this.timeSelector || this.dateInput)['blur']();
14348
14136
  }
14349
14137
  /**
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.
14138
+ * Toggles the visibility of the popup or ActionSheet.
14139
+ * If you use the `toggle` method to show or hide the popup or ActionSheet, the `open` and `close` events do not fire.
14353
14140
  *
14354
- * @param show - The state of the popup.
14141
+ * @param {boolean} show The state of the popup.
14355
14142
  */
14356
14143
  toggle(show) {
14357
14144
  if (this.disabled || this.readonly) {
@@ -14362,7 +14149,8 @@ class TimePickerComponent extends MultiTabStop {
14362
14149
  });
14363
14150
  }
14364
14151
  /**
14365
- * Indicates whether the component is currently open. That is when the popup or actionSheet is open.
14152
+ * Returns whether the component is currently open.
14153
+ * That is when the popup or ActionSheet is open.
14366
14154
  */
14367
14155
  get isOpen() {
14368
14156
  return this.show;
@@ -14845,7 +14633,7 @@ class TimePickerComponent extends MultiTabStop {
14845
14633
  <ng-container #container></ng-container>
14846
14634
 
14847
14635
  <kendo-resize-sensor *ngIf="isAdaptiveModeEnabled" (resize)="onResize()"></kendo-resize-sensor>
14848
- <kendo-actionsheet
14636
+ <kendo-actionsheet
14849
14637
  #actionSheet
14850
14638
  (overlayClick)="show=false"
14851
14639
  (collapse)="handleActionSheetCollapse()"
@@ -14886,7 +14674,7 @@ class TimePickerComponent extends MultiTabStop {
14886
14674
  <ng-container *ngTemplateOutlet="timeSelectorTemplate"></ng-container>
14887
14675
  </div>
14888
14676
  <div class="k-actions k-actions-stretched k-actions-horizontal k-actionsheet-footer">
14889
- <button kendoButton
14677
+ <button kendoButton
14890
14678
  type="button"
14891
14679
  (click)="handleReject()"
14892
14680
  size="large"
@@ -15083,7 +14871,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
15083
14871
  <ng-container #container></ng-container>
15084
14872
 
15085
14873
  <kendo-resize-sensor *ngIf="isAdaptiveModeEnabled" (resize)="onResize()"></kendo-resize-sensor>
15086
- <kendo-actionsheet
14874
+ <kendo-actionsheet
15087
14875
  #actionSheet
15088
14876
  (overlayClick)="show=false"
15089
14877
  (collapse)="handleActionSheetCollapse()"
@@ -15124,7 +14912,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
15124
14912
  <ng-container *ngTemplateOutlet="timeSelectorTemplate"></ng-container>
15125
14913
  </div>
15126
14914
  <div class="k-actions k-actions-stretched k-actions-horizontal k-actionsheet-footer">
15127
- <button kendoButton
14915
+ <button kendoButton
15128
14916
  type="button"
15129
14917
  (click)="handleReject()"
15130
14918
  size="large"
@@ -15485,7 +15273,28 @@ const DATE_TAB_BUTTON_SELECTOR = '.k-button.k-group-start';
15485
15273
  const TIME_TAB_BUTTON_SELECTOR = '.k-button.k-group-end';
15486
15274
  const TODAY_BUTTON_SELECTOR = '.k-button.k-calendar-nav-today';
15487
15275
  /**
15488
- * Represents the [Kendo UI DateTimePicker component for Angular]({% slug overview_datetimepicker %}).
15276
+ * Represents the Kendo UI DateTimePicker component for Angular.
15277
+ * Allows users to select both date and time values from an interactive calendar and time selector.
15278
+ *
15279
+ * @example
15280
+ * ```typescript
15281
+ * @Component({
15282
+ * selector: 'my-app',
15283
+ * template: `
15284
+ * <kendo-datetimepicker
15285
+ * [(value)]="dateTimeValue"
15286
+ * [format]="'g'"
15287
+ * [min]="minDate"
15288
+ * [max]="maxDate">
15289
+ * </kendo-datetimepicker>
15290
+ * `
15291
+ * })
15292
+ * export class AppComponent {
15293
+ * public dateTimeValue: Date = new Date();
15294
+ * public minDate: Date = new Date(2000, 0, 1);
15295
+ * public maxDate: Date = new Date(2030, 11, 31);
15296
+ * }
15297
+ * ```
15489
15298
  */
15490
15299
  class DateTimePickerComponent extends MultiTabStop {
15491
15300
  popupService;
@@ -15550,15 +15359,16 @@ class DateTimePickerComponent extends MultiTabStop {
15550
15359
  weekDaysFormat = "short";
15551
15360
  /**
15552
15361
  * 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
15362
+ * You can set this to show or hide days from other months.
15363
+ *
15364
+ * For infinite Calendar the default value is `false`, while for classic Calendar it is `true`.
15556
15365
  */
15557
15366
  showOtherMonthDays;
15558
15367
  /**
15559
- * Specifies the value of the DateTimePicker component.
15368
+ * Sets the value of the DateTimePicker component.
15369
+ * You can set a specific date and time for the picker to display and use.
15560
15370
  *
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`.
15371
+ * 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
15372
  */
15563
15373
  set value(value) {
15564
15374
  this.verifyValue(value);
@@ -15571,13 +15381,12 @@ class DateTimePickerComponent extends MultiTabStop {
15571
15381
  }
15572
15382
  /**
15573
15383
  * Specifies the date format for displaying the input value
15574
- * ([see example]({% slug formats_datetimepicker %}))
15384
+ * ([see example]({% slug formats_datetimepicker %})).
15575
15385
  *
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.
15386
+ * When using a string format, the same format is applied regardless of whether the input is focused or blurred.
15387
+ * When using a FormatSettings object, you can specify different inputFormat and displayFormat values for focused and blurred states.
15579
15388
  *
15580
- * > If a [`FormatSettings`]({% slug api_dateinputs_formatsettings %}) object is provided, the `displayFormat` value will be used for the popup TimePicker.
15389
+ * If a FormatSettings object is provided, the displayFormat value will be used for the popup TimePicker.
15581
15390
  */
15582
15391
  set format(format) {
15583
15392
  this._format = format;
@@ -15593,6 +15402,7 @@ class DateTimePickerComponent extends MultiTabStop {
15593
15402
  *
15594
15403
  * The default value is 68, indicating that typing any value less than 69
15595
15404
  * will be assumed to be 20xx, while 69 and larger will be assumed to be 19xx.
15405
+ * @default 68
15596
15406
  */
15597
15407
  twoDigitYearMax = TWO_DIGIT_YEAR_MAX;
15598
15408
  /**
@@ -15621,10 +15431,9 @@ class DateTimePickerComponent extends MultiTabStop {
15621
15431
  * Configures the popup settings of the DateTimePicker
15622
15432
  * ([see example]({% slug datetimepicker_popup_options %}#toc-customizing-the-popup)).
15623
15433
  *
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.
15434
+ * The available options are animate which controls the popup animation and by default, the open and close animations are enabled.
15435
+ * The `appendTo` option controls the popup container and by default, the popup will be appended to the root component.
15436
+ * The `popupClass` option specifies a list of CSS classes that are used to style the popup.
15628
15437
  */
15629
15438
  set popupSettings(settings) {
15630
15439
  this._popupSettings = Object.assign({}, { animate: true }, settings);
@@ -15633,39 +15442,46 @@ class DateTimePickerComponent extends MultiTabStop {
15633
15442
  return this._popupSettings;
15634
15443
  }
15635
15444
  /**
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).
15445
+ * Specifies the title of the input element of the DateTimePicker and the title text rendered
15446
+ * in the header of the popup (action sheet). Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
15447
+ * @default ''
15638
15448
  */
15639
15449
  adaptiveTitle = '';
15640
15450
  /**
15641
- * Sets the subtitle text rendered in the header of the popup(action sheet).
15451
+ * Specifies the subtitle text rendered in the header of the popup (action sheet).
15642
15452
  * Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
15453
+ * @default ''
15643
15454
  */
15644
15455
  adaptiveSubtitle = '';
15645
15456
  /**
15646
- * Sets or gets the `disabled` property of the DateTimePicker and determines whether the component is active
15457
+ * Specifies the `disabled` property of the DateTimePicker and determines whether the component is active
15647
15458
  * ([see example]({% slug disabled_datetimepicker %})).
15648
15459
  * 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).
15460
+ * @default false
15649
15461
  */
15650
15462
  disabled = false;
15651
15463
  /**
15652
- * Sets the read-only state of the DateTimePicker
15464
+ * Specifies the read-only state of the DateTimePicker
15653
15465
  * ([see example]({% slug readonly_datetimepicker %}#toc-read-only-datetimepicker)).
15466
+ * @default false
15654
15467
  *
15655
15468
  * @default false
15656
15469
  */
15657
15470
  readonly = false;
15658
15471
  /**
15659
- * Sets the read-only state of the DateTimePicker input field
15472
+ * Determines whether the input field of the DateTimePicker is read-only
15660
15473
  * ([see example]({% slug readonly_datetimepicker %}#toc-read-only-input)).
15661
15474
  *
15662
- * > Note that if you set the [`readonly`]({% slug api_dateinputs_datetimepickercomponent %}#toc-readonly) property value to `true`,
15475
+ * If you set the [`readonly`]({% slug api_dateinputs_datetimepickercomponent %}#toc-readonly) property value to `true`,
15663
15476
  * the input will be rendered in a read-only state regardless of the `readOnlyInput` value.
15477
+ *
15478
+ * @default false
15664
15479
  */
15665
15480
  readOnlyInput = false;
15666
15481
  /**
15667
15482
  * Determines whether to display the **Cancel** button in the popup
15668
15483
  * ([see example]({% slug datetimepicker_popup_options %}#toc-toggling-the-cancel-button)).
15484
+ * @default true
15669
15485
  */
15670
15486
  cancelButton = true;
15671
15487
  /**
@@ -15691,17 +15507,14 @@ class DateTimePickerComponent extends MultiTabStop {
15691
15507
  /**
15692
15508
  * Specifies the Calendar type.
15693
15509
  *
15694
- * The possible values are:
15695
- * - `infinite` (default)
15696
- * - `classic`
15697
- *
15510
+ * @default 'infinite'
15698
15511
  */
15699
15512
  calendarType = 'infinite';
15700
15513
  /**
15701
15514
  * Determines whether to enable animation when navigating to previous/next Calendar view.
15702
15515
  * Applies to the [`classic`]({% slug api_dateinputs_datetimepickercomponent %}#toc-calendartype) Calendar only.
15703
15516
  *
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.
15517
+ * 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
15518
  *
15706
15519
  * @default false
15707
15520
  */
@@ -15709,6 +15522,7 @@ class DateTimePickerComponent extends MultiTabStop {
15709
15522
  /**
15710
15523
  * Determines whether to display a week number column in the `month` view of the popup Calendar
15711
15524
  * ([see example]({% slug datetimepicker_calendar_options %}#toc-week-number-column)).
15525
+ * @default false
15712
15526
  */
15713
15527
  weekNumber = false;
15714
15528
  /**
@@ -15740,24 +15554,25 @@ class DateTimePickerComponent extends MultiTabStop {
15740
15554
  return this._max;
15741
15555
  }
15742
15556
  /**
15743
- * Determines whether the built-in min or max validators are enforced when validating a form
15557
+ * Determines whether the built-in `min` or `max` validators are enforced when validating a form
15744
15558
  * ([see example](slug:dateranges_datetimepicker)).
15745
15559
  *
15746
15560
  * @default true
15747
15561
  */
15748
15562
  rangeValidation = true;
15749
15563
  /**
15750
- * Determines whether the built-in validator for disabled
15751
- * date ranges is enforced when validating a form
15564
+ * Determines whether the built-in validator for disabled date ranges is enforced when validating a form
15752
15565
  * ([see example](slug:disabled_dates_datetimepicker)).
15566
+ * @default true
15753
15567
  */
15754
15568
  disabledDatesValidation = true;
15755
15569
  /**
15756
- * Determines whether the built-in validation for incomplete dates is to be enforced when a form is being validated.
15570
+ * Determines whether the built-in validation for incomplete dates is enforced when validating a form.
15571
+ * @default false
15757
15572
  */
15758
15573
  incompleteDateValidation = false;
15759
15574
  /**
15760
- * Determines whether to autocorrect invalid segments automatically.
15575
+ * Determines whether to auto correct invalid segments automatically.
15761
15576
  *
15762
15577
  * @default true
15763
15578
  */
@@ -15769,39 +15584,40 @@ class DateTimePickerComponent extends MultiTabStop {
15769
15584
  */
15770
15585
  autoSwitchParts = true;
15771
15586
  /**
15772
- * A string array representing custom keys, which will move the focus to the next date format segment.
15587
+ * Specifies custom keys that move the focus to the next date format segment.
15773
15588
  */
15774
15589
  autoSwitchKeys = [];
15775
15590
  /**
15776
- * Indicates whether the mouse scroll can be used to increase/decrease the time segments values.
15591
+ * Determines whether you can use the mouse scroll to increase or decrease the time segment values.
15777
15592
  *
15778
15593
  * @default true
15779
15594
  */
15780
15595
  enableMouseWheel = true;
15781
15596
  /**
15782
- * Determines if the users should see a blinking caret inside the Date Input when possible.
15597
+ * Determines whether you can see a blinking caret inside the DateInput when possible.
15783
15598
  *
15784
15599
  * @default false
15785
15600
  */
15786
15601
  allowCaretMode = false;
15787
15602
  /**
15788
- * If set to `true`, renders a clear button after the input text or DateTimePicker value has been changed.
15603
+ * Renders a clear button when set to `true` after the input text or DateTimePicker value has been changed.
15789
15604
  * Clicking this button resets the value of the component to `null` and triggers the `valueChange` event.
15790
15605
  * @default false
15791
15606
  */
15792
15607
  clearButton = false;
15793
15608
  /**
15794
- * When enabled, the DateTimePicker will autofill the rest of the date to the current date when the component loses focus.
15609
+ * Auto fills the rest of the date to the current date when the component loses focus.
15795
15610
  *
15796
15611
  * @default false
15797
15612
  */
15798
15613
  autoFill = false;
15799
15614
  /**
15800
- * Enables or disables the adaptive mode. By default the adaptive rendering is disabled.
15615
+ * Enables or disables the adaptive mode. The adaptive rendering is disabled by default.
15616
+ * @default 'none'
15801
15617
  */
15802
15618
  adaptiveMode = 'none';
15803
15619
  /**
15804
- * Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.
15620
+ * Specifies the HTML attributes of the inner focusable input element. You cannot change attributes that are essential for certain component functionalities.
15805
15621
  */
15806
15622
  inputAttributes;
15807
15623
  /**
@@ -15836,7 +15652,7 @@ class DateTimePickerComponent extends MultiTabStop {
15836
15652
  */
15837
15653
  escape = new EventEmitter();
15838
15654
  /**
15839
- * Indicates whether the component is currently open. That is when the popup or actionSheet is open.
15655
+ * Indicates whether the component is currently open. This is when the popup or action sheet is open.
15840
15656
  */
15841
15657
  get isOpen() {
15842
15658
  return this.actionSheet?.expanded || isPresent(this.popupRef);
@@ -15857,7 +15673,7 @@ class DateTimePickerComponent extends MultiTabStop {
15857
15673
  this._isActive = value;
15858
15674
  }
15859
15675
  /**
15860
- * Sets the active tab on opening the popup
15676
+ * Specifies the active tab when opening the popup
15861
15677
  * ([see example]({% slug datetimepicker_popup_options %}#toc-setting-the-default-tab)).
15862
15678
  */
15863
15679
  set defaultTab(tab) {
@@ -15868,13 +15684,7 @@ class DateTimePickerComponent extends MultiTabStop {
15868
15684
  return this._defaultTab;
15869
15685
  }
15870
15686
  /**
15871
- * Sets the size of the component.
15872
- *
15873
- * The possible values are:
15874
- * * `small`
15875
- * * `medium` (Default)
15876
- * * `large`
15877
- * * `none`
15687
+ * Specifies the size of the component.
15878
15688
  *
15879
15689
  */
15880
15690
  set size(size) {
@@ -15891,14 +15701,7 @@ class DateTimePickerComponent extends MultiTabStop {
15891
15701
  return this._size;
15892
15702
  }
15893
15703
  /**
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`
15704
+ * Specifies the border radius of the component.
15902
15705
  *
15903
15706
  */
15904
15707
  set rounded(rounded) {
@@ -15913,13 +15716,7 @@ class DateTimePickerComponent extends MultiTabStop {
15913
15716
  return this._rounded;
15914
15717
  }
15915
15718
  /**
15916
- * Sets the fillMode of the component.
15917
- *
15918
- * The possible values are:
15919
- * * `solid` (Default)
15920
- * * `flat`
15921
- * * `outline`
15922
- * * `none`
15719
+ * Specifies the fill mode of the component.
15923
15720
  *
15924
15721
  */
15925
15722
  set fillMode(fillMode) {
@@ -16247,8 +16044,8 @@ class DateTimePickerComponent extends MultiTabStop {
16247
16044
  this.subscriptions.unsubscribe();
16248
16045
  }
16249
16046
  /**
16250
- * * If the popup is closed, focuses the DateTimePicker input.
16251
- * * If the popup is open, the focus is moved to its content.
16047
+ * Focuses the DateTimePicker input if the popup is closed.
16048
+ * Moves the focus to the popup content if the popup is open.
16252
16049
  */
16253
16050
  focus() {
16254
16051
  if (this.disabled) {
@@ -16262,7 +16059,7 @@ class DateTimePickerComponent extends MultiTabStop {
16262
16059
  }
16263
16060
  }
16264
16061
  /**
16265
- * Blurs the DateTimePicker.
16062
+ * Blurs the DateTimePicker component.
16266
16063
  */
16267
16064
  blur() {
16268
16065
  if (this.isOpen && this.activeTabComponent.isActive) {
@@ -16273,8 +16070,8 @@ class DateTimePickerComponent extends MultiTabStop {
16273
16070
  }
16274
16071
  }
16275
16072
  /**
16276
- * Toggles the visibility of the popup or actionSheet.
16277
- * If you use the `toggle` method to show or hide the popup or actionSheet,
16073
+ * Toggles the visibility of the popup or action sheet.
16074
+ * If you use the `toggle` method to show or hide the popup or action sheet,
16278
16075
  * the `open` and `close` events do not fire.
16279
16076
  *
16280
16077
  * @param show - The state of the popup.
@@ -16682,10 +16479,10 @@ class DateTimePickerComponent extends MultiTabStop {
16682
16479
  }
16683
16480
  }
16684
16481
  /**
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.
16482
+ * Extracts the time slots and literals that are not preceded by date parts
16483
+ * and combines the resulting parts into a string.
16484
+ * If the provided `format` value does not contain any time parts,
16485
+ * returns the designated format of the default popup component of the `TimePicker`.
16689
16486
  */
16690
16487
  getTimeSelectorFormat(format) {
16691
16488
  const timeSelectorFormat = this.intl
@@ -16696,7 +16493,7 @@ class DateTimePickerComponent extends MultiTabStop {
16696
16493
  }
16697
16494
  /**
16698
16495
  * Extracts the `displayFormat` from the provided `string | FormatSettings` value.
16699
- * Fallbacks to the default input value, if a falsy value param is passed.
16496
+ * Falls back to the default input value if a falsy value parameter is passed.
16700
16497
  */
16701
16498
  getDisplayFormat(format) {
16702
16499
  if (!format) {
@@ -16712,7 +16509,7 @@ class DateTimePickerComponent extends MultiTabStop {
16712
16509
  /**
16713
16510
  * The filter expression that filters out all format parts
16714
16511
  * except for `hour`, `minute`, `second`, `dayperiod`, and specific literals.
16715
- * Literals will be left only if they are not preceded by date parts.
16512
+ * Literals remain only if they are not preceded by date parts.
16716
16513
  */
16717
16514
  timeFormatPartFilter(part, index, parts) {
16718
16515
  const previousPart = index >= 1 && parts[index - 1];
@@ -16822,8 +16619,8 @@ class DateTimePickerComponent extends MultiTabStop {
16822
16619
  this.valueChange.emit(cloneDate(value));
16823
16620
  }
16824
16621
  /**
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.
16622
+ * Indicates whether the focus target is part of this component.
16623
+ * Checks whether the focus target is inside the component or in the popup.
16827
16624
  */
16828
16625
  focusTargetInComponent(event) {
16829
16626
  if (!isPresent(event)) {
@@ -16846,7 +16643,7 @@ class DateTimePickerComponent extends MultiTabStop {
16846
16643
  this.calendarValue = isInCalendarRange ? getDate(value) : null;
16847
16644
  }
16848
16645
  /**
16849
- * If the popup is available, runs a popup change detection.
16646
+ * Runs a popup change detection if the popup is available.
16850
16647
  */
16851
16648
  detectPopupChanges() {
16852
16649
  if (!this.isOpen || this.isAdaptive) {
@@ -16855,8 +16652,8 @@ class DateTimePickerComponent extends MultiTabStop {
16855
16652
  this.popupRef.popup.changeDetectorRef.detectChanges();
16856
16653
  }
16857
16654
  /**
16858
- * Depending on the predicate `runInZone` value that is passed,
16859
- * runs the provided function either in the Angular or in the current zone.
16655
+ * Runs the provided function either in the Angular zone or in the current zone.
16656
+ * The execution zone depends on the predicate `runInZone` value that is passed.
16860
16657
  */
16861
16658
  run(runInZone, fn) {
16862
16659
  if (runInZone) {
@@ -17903,8 +17700,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
17903
17700
  }], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
17904
17701
 
17905
17702
  /**
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.
17703
+ * Renders the content of the DateRange Popup.
17704
+ * To define the popup template, nest an `<ng-template>` tag with the `kendoDateRangePopupTemplate` directive inside the component tag.
17705
+ *
17706
+ * @example
17707
+ * ```html
17708
+ * <kendo-daterange>
17709
+ * <ng-template kendoDateRangePopupTemplate>
17710
+ * <div class="custom-popup-content">
17711
+ * Custom content for the DateRange Popup
17712
+ * </div>
17713
+ * </ng-template>
17714
+ * </kendo-daterange>
17715
+ * ```
17908
17716
  */
17909
17717
  class DateRangePopupTemplateDirective {
17910
17718
  templateRef;
@@ -17925,35 +17733,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
17925
17733
  const isActive = (cmp) => (cmp && cmp.isActive) || false;
17926
17734
  const hasActiveContent = (popup) => popup && popup.hasActiveContent();
17927
17735
  /**
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.
17736
+ * Manages communication between components inside the DateRangeComponent.
17737
+ * For example, handles interactions between the start and end DateInput components and the DateRangePopup component.
17930
17738
  */
17931
17739
  class DateRangeService {
17932
17740
  renderer;
17933
17741
  /**
17934
- * An Observable instance that notifies when the `activeRangeEnd` state is changed.
17742
+ * Notifies when the `activeRangeEnd` state changes.
17935
17743
  */
17936
17744
  activeRangeEnd$ = new BehaviorSubject(null);
17937
17745
  /**
17938
- * An Observable instance that notifies when the `focusedDate` is changed.
17746
+ * Notifies when the `focusedDate` changes.
17939
17747
  */
17940
17748
  focusedDate$ = new BehaviorSubject(null);
17941
17749
  /**
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.
17750
+ * Notifies when the end DateInput component changes.
17751
+ * For example, when you attach a new end `DateInput` or detach the old one.
17944
17752
  */
17945
17753
  endInput$ = new BehaviorSubject(null);
17946
17754
  /**
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.
17755
+ * Notifies when the start DateInput component changes.
17756
+ * For example, when you attach a new start `DateInput` or detach the old one.
17949
17757
  */
17950
17758
  startInput$ = new BehaviorSubject(null);
17951
17759
  /**
17952
- * An Observable instance that notifies when the `DateRangePopup` component is changed.
17760
+ * Notifies when the `DateRangePopup` component changes.
17953
17761
  */
17954
17762
  dateRangePopup$ = new BehaviorSubject(null);
17955
17763
  /**
17956
- * An Observable instance that notifies when the state of the selection range is changed.
17764
+ * Notifies when the selection range state changes.
17957
17765
  */
17958
17766
  range$ = new BehaviorSubject(EMPTY_SELECTIONRANGE);
17959
17767
  /**
@@ -17969,15 +17777,15 @@ class DateRangeService {
17969
17777
  return this.focusedDate$.value;
17970
17778
  }
17971
17779
  /**
17972
- * Gets the `min` range value.
17973
- * The `min` value is extracted from the `start` DateInput value or the `min` value of the Calendar.
17780
+ * Gets the minimum range value.
17781
+ * Takes the `min` value from the start DateInput component or the `min` value of the calendar.
17974
17782
  */
17975
17783
  get min() {
17976
17784
  return (this.startInput$.value || {}).min || null;
17977
17785
  }
17978
17786
  /**
17979
- * Gets the `max` range value.
17980
- * The `max` value is extracted from the `end` DateInput value or the `max` value of the Calendar.
17787
+ * Gets the maximum range value.
17788
+ * Takes the `max` value from the end DateInput component or the `max` value of the calendar.
17981
17789
  */
17982
17790
  get max() {
17983
17791
  return (this.endInput$.value || {}).max || null;
@@ -18007,8 +17815,8 @@ class DateRangeService {
18007
17815
  this.renderer = renderer;
18008
17816
  }
18009
17817
  /**
18010
- * Activates the registered `DateRangePopup` component.
18011
- * The method opens the popup and focuses the calendar.
17818
+ * Opens the registered DateRangePopup component.
17819
+ * Opens the popup and focuses the calendar.
18012
17820
  */
18013
17821
  activatePopup() {
18014
17822
  const dateRangePopup = this.dateRangePopup$.value;
@@ -18063,8 +17871,8 @@ class DateRangeService {
18063
17871
  dateRangePopup.cancelPopup();
18064
17872
  }
18065
17873
  /**
18066
- * Completes all observables to mitigate possible memory leaks.
18067
- * Calls the method when a component that uses it is destroyed.
17874
+ * Completes all observables to prevent memory leaks.
17875
+ * Call this method when you destroy a component that uses the service.
18068
17876
  */
18069
17877
  destroy() {
18070
17878
  this.activeRangeEnd$.complete();
@@ -18075,10 +17883,10 @@ class DateRangeService {
18075
17883
  this.range$.complete();
18076
17884
  }
18077
17885
  /**
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.
17886
+ * Checks if any component inside the DateRangeComponent is active.
17887
+ * For example, detects an open popup or a focused DateInput component.
18080
17888
  *
18081
- * @returns `true` if an active component is present.
17889
+ * @returns {boolean} Returns `true` if an active component is present.
18082
17890
  */
18083
17891
  hasActiveComponent() {
18084
17892
  const popup = this.dateRangePopup$.value;
@@ -18088,25 +17896,25 @@ class DateRangeService {
18088
17896
  return isPopup || isStart || isEnd || hasActiveContent(popup) || false;
18089
17897
  }
18090
17898
  /**
18091
- * Registers a new start `DateInput` component. Notifies all `startInput$` listeners.
17899
+ * Registers a new start DateInput component and notifies all `startInput$` listeners.
18092
17900
  */
18093
17901
  registerStartInput(startInput) {
18094
17902
  this.startInput$.next(startInput);
18095
17903
  }
18096
17904
  /**
18097
- * Registers a new end `DateInput` component. Notifies all `endInput$` listeners.
17905
+ * Registers a new end `DateInput` component and notifies all `endInput$` listeners.
18098
17906
  */
18099
17907
  registerEndInput(endInput) {
18100
17908
  this.endInput$.next(endInput);
18101
17909
  }
18102
17910
  /**
18103
- * Registers a new `DateRangePopup` component. Notifies all `dateRangePopup$` listeners.
17911
+ * Registers a new `DateRangePopup` component and notifies all `dateRangePopup$` listeners.
18104
17912
  */
18105
17913
  registerPopup(dateRangePopup) {
18106
17914
  this.dateRangePopup$.next(dateRangePopup);
18107
17915
  }
18108
17916
  /**
18109
- * Updates the `activeRangeEnd` value. Notifies all `activeRangeEnd$` listeners.
17917
+ * Updates the `activeRangeEnd` value and notifies all `activeRangeEnd$` listeners.
18110
17918
  */
18111
17919
  setActiveRangeEnd(activeRange) {
18112
17920
  if (!activeRange || this.activeRangeEnd === activeRange) {
@@ -18115,7 +17923,7 @@ class DateRangeService {
18115
17923
  this.activeRangeEnd$.next(activeRange);
18116
17924
  }
18117
17925
  /**
18118
- * Updates the focused date. Notifies all `focusedDate$` listeners.
17926
+ * Updates the focused date and notifies all `focusedDate$` listeners.
18119
17927
  */
18120
17928
  setFocusedDate(value) {
18121
17929
  if (isEqual(this.focusedDate$.value, value)) {
@@ -18124,7 +17932,7 @@ class DateRangeService {
18124
17932
  this.focusedDate$.next(value);
18125
17933
  }
18126
17934
  /**
18127
- * Updates the selection range. Notifies all `range$` listeners.
17935
+ * Updates the selection range and notifies all `range$` listeners.
18128
17936
  */
18129
17937
  setRange(range = EMPTY_SELECTIONRANGE) {
18130
17938
  this.range$.next(range);
@@ -18139,9 +17947,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
18139
17947
  }] }]; } });
18140
17948
 
18141
17949
  /**
18142
- * A directive which manages the MultiViewCalendar range selection.
17950
+ * Manages the MultiViewCalendar range selection.
18143
17951
  * This directive will be `deprecated` in a future version.
18144
- * We recommend using the MultiViewCalendar [range selection]({% slug selection_multiviewcalendar %}#toc-range-selection).
17952
+ * Use the MultiViewCalendar [range selection]({% slug selection_multiviewcalendar %}#toc-range-selection) instead.
18145
17953
  */
18146
17954
  class DateRangeSelectionDirective {
18147
17955
  calendar;
@@ -18150,15 +17958,17 @@ class DateRangeSelectionDirective {
18150
17958
  dateRangeService;
18151
17959
  /**
18152
17960
  * 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
17961
+ * the directive corrects the date range to a single date either on input change or on blur
18154
17962
  * ([see example](slug:autocorrect_daterange#toc-calendar-selection-directive)).
18155
17963
  *
18156
- * By default, the auto-correction is triggered on change.
17964
+ * By default, the auto-correction triggers on change.
18157
17965
  * To disable this behavior, set the `autoCorrectOn` property to `none`.
17966
+ *
17967
+ * @default 'change'
18158
17968
  */
18159
17969
  autoCorrectOn = 'change';
18160
17970
  /**
18161
- * Gets or sets the selection range of the calendar. When a new range is set,
17971
+ * Gets or sets the selection range of the calendar. When you set a new range,
18162
17972
  * the connected DateRangeService notifies all related parties.
18163
17973
  */
18164
17974
  get selectionRange() {
@@ -18178,8 +17988,7 @@ class DateRangeSelectionDirective {
18178
17988
  * user interaction. When a new active end is set, the connected DateRangeService notifies all related parties.
18179
17989
  */
18180
17990
  /**
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
17991
+ * 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
17992
  * example, the start and end DateInput components.
18184
17993
  *
18185
17994
  * > If the selection range is undefined, the value is ignored.
@@ -18200,12 +18009,12 @@ class DateRangeSelectionDirective {
18200
18009
  */
18201
18010
  shouldSetRange = true;
18202
18011
  /**
18203
- * Fires when the active range end is changed. For more information, refer to
18012
+ * Fires when the active range end changes. For more information, refer to
18204
18013
  * the section on [events](slug:events_multiviewcalendar).
18205
18014
  */
18206
18015
  activeRangeEndChange = new EventEmitter();
18207
18016
  /**
18208
- * Fires when the selection range is changed. For more information, refer to
18017
+ * Fires when the selection range changes. For more information, refer to
18209
18018
  * the section on [events](slug:events_multiviewcalendar).
18210
18019
  */
18211
18020
  selectionRangeChange = new EventEmitter();
@@ -18465,140 +18274,161 @@ class DateRangePopupComponent {
18465
18274
  */
18466
18275
  showCalendarHeader = true;
18467
18276
  /**
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)).
18277
+ * Specifies the focused date of the MultiViewCalendar component.
18278
+ * Defines which date receives focus when the component loads ([see example]({% slug dates_multiviewcalendar %}#toc-focused-dates)).
18471
18279
  *
18472
- * > If the MultiViewCalendar is out of the min or max range, it normalizes the defined `focusedDate`.
18280
+ * If the MultiViewCalendar is out of the min or max range, it normalizes the defined `focusedDate`.
18473
18281
  */
18474
18282
  focusedDate;
18475
18283
  /**
18476
- * Sets the dates of the MultiViewCalendar that will be disabled
18477
- * ([see example]({% slug disabled_dates_multiviewcalendar %})).
18284
+ * Specifies the dates in the MultiViewCalendar that you want to disable ([see example]({% slug disabled_dates_multiviewcalendar %})).
18478
18285
  */
18479
18286
  disabledDates;
18480
18287
  /**
18481
- * Defines the active view that the MultiViewCalendar initially renders
18482
- * ([see example]({% slug viewoptions_multiviewcalendar %})).
18288
+ * Specifies the initial view that the MultiViewCalendar displays when it loads ([see example]({% slug viewoptions_multiviewcalendar %})).
18483
18289
  * By default, the active view is `month`.
18484
18290
  *
18485
- * > You have to set `activeView` within the `topView`-`bottomView` range.
18291
+ * You have to set `activeView` within the `topView`-`bottomView` range.
18292
+ *
18293
+ * @default 'month
18486
18294
  */
18487
18295
  activeView = CalendarViewEnum[CalendarViewEnum.month];
18488
18296
  /**
18489
- * Defines the bottommost view, to which the user can navigate
18490
- * ([see example](slug:viewdepth_multiviewcalendar)).
18297
+ * Specifies the lowest view level that users can navigate to ([see example](slug:viewdepth_multiviewcalendar)).
18298
+ *
18299
+ * @default 'month'
18491
18300
  */
18492
18301
  bottomView = CalendarViewEnum[CalendarViewEnum.month];
18493
18302
  /**
18494
- * Defines the topmost view, to which the user can navigate.
18303
+ * Specifies the highest view level that users can navigate to ([see example](slug:viewdepth_multiviewcalendar)).
18304
+ *
18305
+ * @default 'century'
18495
18306
  */
18496
18307
  topView = CalendarViewEnum[CalendarViewEnum.century];
18497
18308
  /**
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`.
18309
+ * Specifies the minimum date that users can select ([see example]({% slug dates_multiviewcalendar %}#toc-focused-dates)).
18310
+ *
18311
+ * @default '1900-01-01'
18501
18312
  */
18502
18313
  min;
18503
18314
  /**
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`.
18315
+ * Specifies the maximum date that users can select ([see example]({% slug dates_multiviewcalendar %}#toc-focused-dates)).
18316
+ *
18317
+ * @default '2099-12-31'
18507
18318
  */
18508
18319
  max;
18509
18320
  /**
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.
18321
+ * Determines whether users can select dates in reverse order.
18322
+ * When you set `allowReverse` to `true`, the component does not validate if the start date comes after the end date.
18512
18323
  *
18513
18324
  * @default false
18514
18325
  */
18515
18326
  allowReverse = false;
18516
18327
  /**
18517
- * Determines whether to enable animation when navigating to previous/next view.
18328
+ * Determines whether to animate transitions when users navigate between views.
18329
+ *
18518
18330
  * @default false
18519
18331
  */
18520
18332
  animateNavigation = false;
18521
18333
  /**
18522
- * Sets or gets the `disabled` property of the MultiViewCalendar and
18523
- * determines whether the component is active
18524
- * ([see example]({% slug disabled_multiviewcalendar %})).
18334
+ * Determines whether the MultiViewCalendar is interactive ([see example]({% slug disabled_multiviewcalendar %})).
18335
+ * When you set `disabled` to `true`, users cannot interact with the component.
18336
+ *
18337
+ * @default false
18525
18338
  */
18526
18339
  disabled = false;
18527
18340
  /**
18528
- * Sets or gets the `views` property of the MultiViewCalendar and
18529
- * defines the number of rendered months.
18341
+ * Specifies the number of calendar views to display side by side.
18530
18342
  *
18531
18343
  * @default 2
18532
18344
  */
18533
18345
  views = 2;
18534
18346
  /**
18535
- * Determines whether to display a week number column in the `month` view
18536
- * ([see example]({% slug weeknumcolumn_multiviewcalendar %})).
18347
+ * Determines whether to display week numbers in the `month` view ([see example]({% slug weeknumcolumn_multiviewcalendar %})).
18348
+ *
18349
+ * @default false
18537
18350
  */
18538
18351
  weekNumber = false;
18539
18352
  /**
18540
- * Controls the popup animation.
18541
- * By default, the opening and closing animations are enabled.
18353
+ * Controls the popup animations.
18354
+ * When you set `animate` to `true`, the popup displays opening and closing animations.
18542
18355
  * For more information about controlling the popup animations,
18543
18356
  * refer to the article on [animations]({% slug animations_popup %}).
18357
+ *
18358
+ * @default true
18544
18359
  */
18545
18360
  animate = true;
18546
18361
  /**
18547
- * Specifies the element that will be used as an anchor. The popup opens next to that element.
18362
+ * Specifies the element that serves as an anchor for the popup.
18363
+ * The popup opens next to this element.
18548
18364
  * For more information, refer to the section on
18549
18365
  * [aligning to specific components]({% slug alignmentpositioning_popup %}#toc-aligning-to-components).
18550
18366
  */
18551
18367
  anchor;
18552
18368
  /**
18553
- * Specifies the anchor pivot point.
18369
+ * Specifies the alignment point for the anchor element.
18554
18370
  * For more information, refer to the section on
18555
18371
  * [positioning]({% slug alignmentpositioning_popup %}#toc-positioning).
18556
18372
  */
18557
18373
  anchorAlign;
18558
18374
  /**
18559
- * Determines whether to display a header for every view (for example the month name).
18375
+ * Determines whether to display a header for each view ([see example]({% slug viewheader_multiviewcalendar %})).
18376
+ * For example, displays the month name in the month view.
18560
18377
  *
18561
18378
  * @default false
18562
18379
  */
18563
18380
  showViewHeader = false;
18564
18381
  /**
18565
- * Displays the days that fall out of the current month ([see example]({% slug viewoptions_multiviewcalendar %}#toc-displaying-other-month-days)).
18382
+ * Determines whether to display days from adjacent months in the current month view ([see example]({% slug viewoptions_multiviewcalendar %}#toc-displaying-other-month-days)).
18383
+ *
18566
18384
  * @default false
18567
18385
  */
18568
18386
  showOtherMonthDays = false;
18569
18387
  /**
18570
- * Controls the popup container. By default, the popup is appended to the root component.
18388
+ * Specifies where to render the popup container.
18389
+ * By default, the popup renders in the root component.
18390
+ *
18391
+ * @default 'root'
18571
18392
  */
18572
18393
  appendTo;
18573
18394
  /**
18574
- * Configures the collision behavior of the popup.
18395
+ * Configures how the popup behaves when it encounters viewport boundaries.
18575
18396
  * For more information, refer to the article on
18576
18397
  * [viewport boundary detection]({% slug viewportboundarydetection_popup %}).
18398
+ *
18399
+ * @default { horizontal: 'fit', vertical: 'flip' }
18577
18400
  */
18578
18401
  collision = { horizontal: 'fit', vertical: 'flip' };
18579
18402
  /**
18580
- * Specifies the pivot point of the popup.
18403
+ * Specifies the alignment point for the popup element.
18581
18404
  * For more information, refer to the section on
18582
18405
  * [positioning]({% slug alignmentpositioning_popup %}#toc-positioning).
18583
18406
  */
18584
18407
  popupAlign;
18585
18408
  /**
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.
18409
+ * Specifies the margin around the popup in pixels.
18410
+ * Creates empty space between the popup and its anchor element.
18588
18411
  */
18589
18412
  margin;
18590
18413
  /**
18591
- * Enables or disables the adaptive mode. By default the adaptive rendering is disabled.
18414
+ * Determines whether the component uses adaptive rendering for different screen sizes.
18415
+ * By default, adaptive rendering is disabled.
18416
+ *
18417
+ * @default 'none'
18592
18418
  */
18593
18419
  adaptiveMode = 'none';
18594
18420
  /**
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).
18421
+ * Specifies the title text for the input element and the header of the action sheet.
18422
+ * Applies only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
18423
+ *
18424
+ * @default ""
18597
18425
  */
18598
18426
  adaptiveTitle = "";
18599
18427
  /**
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).
18428
+ * Specifies the subtitle text displayed in the header of the action sheet.
18429
+ * Applies only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
18430
+ *
18431
+ * @default ""
18602
18432
  */
18603
18433
  adaptiveSubtitle = "";
18604
18434
  /**
@@ -18606,46 +18436,35 @@ class DateRangePopupComponent {
18606
18436
  *
18607
18437
  * TODO: Make visible when the Infinite Calendar is fixed to set properly the size option.
18608
18438
  * Sets the size of the component.
18609
- *
18610
- * The possible values are:
18611
- * * `small`
18612
- * * `medium` (Default)
18613
- * * `large`
18614
- * * `none`
18615
- *
18439
+ * @default 'medium'
18616
18440
  */
18617
18441
  size;
18618
18442
  /**
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.
18443
+ * Fires when the popup is about to open ([see example](slug:popup_daterange#toc-events)).
18444
+ * You can prevent this event to keep the popup closed.
18622
18445
  */
18623
18446
  open = new EventEmitter();
18624
18447
  /**
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.
18448
+ * Fires when the popup is about to close ([see example](slug:popup_daterange#toc-events)).
18449
+ * You can prevent this event to keep the popup open.
18628
18450
  */
18629
18451
  close = new EventEmitter();
18630
18452
  /**
18631
- * Fires each time the calendar element is blurred
18632
- * ([see example](slug:popup_daterange#toc-events)).
18453
+ * Fires when the calendar element loses focus ([see example](slug:popup_daterange#toc-events)).
18633
18454
  */
18634
18455
  onBlur = new EventEmitter();
18635
18456
  /**
18636
- * Fires each time the calendar element is focused
18637
- * ([see example](slug:popup_daterange#toc-events)).
18457
+ * Fires when the calendar element receives focus ([see example](slug:popup_daterange#toc-events)).
18638
18458
  */
18639
18459
  onFocus = new EventEmitter();
18640
18460
  /**
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)).
18461
+ * Fires when the popup closes due to an `ESC` keypress or when it leaves the viewport ([see example](slug:popup_daterange#toc-events)).
18643
18462
  */
18644
18463
  cancel = new EventEmitter();
18645
18464
  /**
18646
- * The active calendar that is visible in the popup
18465
+ * Gets the active calendar that displays in the popup.
18647
18466
  *
18648
- * > When the popup is closed, the property returns `null`.
18467
+ * When the popup is closed, the property returns `null`.
18649
18468
  */
18650
18469
  get calendar() {
18651
18470
  return this._calendar;
@@ -18656,7 +18475,7 @@ class DateRangePopupComponent {
18656
18475
  }
18657
18476
  /**
18658
18477
  * Gets the active state of the component.
18659
- * When the opened calendar is active, returns `true`.
18478
+ * Returns `true` when the opened calendar is active.
18660
18479
  */
18661
18480
  get isActive() {
18662
18481
  // The actionsheet is expanding before the calendar gets activated
@@ -18804,7 +18623,7 @@ class DateRangePopupComponent {
18804
18623
  }
18805
18624
  }
18806
18625
  /**
18807
- * Opens the popup component and focuses the calendar.
18626
+ * Opens the popup component and focuses the calendar.
18808
18627
  */
18809
18628
  activate() {
18810
18629
  if (this.show === true) {
@@ -18823,7 +18642,7 @@ class DateRangePopupComponent {
18823
18642
  });
18824
18643
  }
18825
18644
  /**
18826
- * Focuses the calendar (if available).
18645
+ * Focuses the calendar if it is available.
18827
18646
  */
18828
18647
  focus() {
18829
18648
  if (this.calendar) {
@@ -18831,9 +18650,9 @@ class DateRangePopupComponent {
18831
18650
  }
18832
18651
  }
18833
18652
  /**
18834
- * Checks if a focused element ids placed inside the popup.
18653
+ * Checks if a focused element is inside the popup.
18835
18654
  *
18836
- * @return boolean;
18655
+ * @returns {boolean} Returns `true` if the focused element is inside the popup.
18837
18656
  */
18838
18657
  hasActiveContent() {
18839
18658
  if (!isDocumentAvailable() || !this.popupRef) {
@@ -18842,11 +18661,11 @@ class DateRangePopupComponent {
18842
18661
  return this.popupRef.popupElement.contains(document.activeElement);
18843
18662
  }
18844
18663
  /**
18845
- * Toggles the visibility of the popup or actionSheet.
18846
- * If you use the `toggle` method to show or hide the popup or actionSheet,
18664
+ * Toggles the visibility of the popup or action sheet.
18665
+ * When you use the `toggle` method to show or hide the popup or action sheet,
18847
18666
  * the `open` and `close` events do not fire.
18848
18667
  *
18849
- * @param show The state of the popup.
18668
+ * @param {boolean} show The state of the popup.
18850
18669
  */
18851
18670
  toggle(show) {
18852
18671
  this.resolvedPromise.then(() => {
@@ -19453,12 +19272,7 @@ class DateRangeComponent {
19453
19272
  * TODO: Make visible when the Infinite Calendar is fixed to set properly the size option.
19454
19273
  * Sets the size of the component.
19455
19274
  *
19456
- * The possible values are:
19457
- * * `small`
19458
- * * `medium` (Default)
19459
- * * `large`
19460
- * * `none`
19461
- *
19275
+ * @default 'medium'
19462
19276
  */
19463
19277
  size;
19464
19278
  /**
@@ -19652,44 +19466,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
19652
19466
  }], ctorParameters: function () { return [{ type: undefined }, { type: DateRangeService }, { type: DateInputComponent }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; } });
19653
19467
 
19654
19468
  /**
19655
- * A directive which manages the end range selection.
19469
+ * Manages the end date selection in a date range.
19656
19470
  *
19657
- * > You can use the DateRangeEndInputDirective only with a DateInput component.
19471
+ * You can use the `DateRangeEndInputDirective` only with a DateInput component.
19472
+ *
19473
+ * @example
19474
+ * ```typescript
19475
+ * @Component({
19476
+ * selector: 'my-app',
19477
+ * template: `
19478
+ * <kendo-daterange>
19479
+ * <kendo-dateinput kendoDateRangeStartInput [(value)]="startDate"></kendo-dateinput>
19480
+ * <kendo-dateinput kendoDateRangeEndInput [(value)]="endDate"></kendo-dateinput>
19481
+ * </kendo-daterange>
19482
+ * `
19483
+ * })
19484
+ * export class AppComponent {
19485
+ * public startDate: Date = new Date();
19486
+ * public endDate: Date = new Date();
19487
+ * }
19488
+ * ```
19658
19489
  */
19659
19490
  class DateRangeEndInputDirective extends DateRangeInput {
19660
19491
  rangeService;
19661
19492
  dateInput;
19662
19493
  /**
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)).
19494
+ * 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
19495
  *
19667
19496
  * By default, the component does not perform any auto-correction.
19497
+ *
19668
19498
  */
19669
19499
  autoCorrectOn;
19670
19500
  /**
19671
19501
  * Specifies the navigation behavior of the calendar when the active end is changed on input focus. When enabled,
19672
19502
  * the calendar navigates to the value of the focused input. Otherwise, the calendar displays the last picked date.
19673
19503
  *
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
- * ```
19504
+ * @default false
19693
19505
  */
19694
19506
  navigateCalendarOnFocus = false;
19695
19507
  constructor(rangeService, dateInput, element, renderer, zone) {
@@ -19742,46 +19554,45 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
19742
19554
  }] } });
19743
19555
 
19744
19556
  /**
19745
- * A directive which manages the start selection range.
19557
+ * Represents a directive that manages the start selection range for date range inputs.
19558
+ *
19559
+ * You can use the DateRangeStartInputDirective only with a DateInput component.
19746
19560
  *
19747
- * > You can use the DateRangeStartInputDirective only with a DateInput component.
19561
+ * @example
19562
+ * ```typescript
19563
+ * @Component({
19564
+ * selector: 'my-app',
19565
+ * template: `
19566
+ * <kendo-daterange>
19567
+ * <kendo-dateinput kendoDateRangeStartInput [(value)]="startDate"></kendo-dateinput>
19568
+ * <kendo-dateinput kendoDateRangeEndInput [(value)]="endDate"></kendo-dateinput>
19569
+ * </kendo-daterange>
19570
+ * `
19571
+ * })
19572
+ * export class AppComponent {
19573
+ * public startDate: Date = new Date();
19574
+ * public endDate: Date = new Date();
19575
+ * }
19576
+ * ```
19748
19577
  */
19749
19578
  class DateRangeStartInputDirective extends DateRangeInput {
19750
19579
  rangeService;
19751
19580
  dateInput;
19752
19581
  renderer;
19753
19582
  /**
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)).
19583
+ * Specifies when the component automatically corrects invalid date ranges.
19584
+ * 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
19585
  *
19758
19586
  * By default, the component does not perform any auto-correction.
19587
+ *
19759
19588
  */
19760
19589
  autoCorrectOn;
19761
19590
  /**
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.
19591
+ * Determines how the calendar navigates when you focus on the input.
19592
+ * When you set `navigateCalendarOnFocus` to `true`, the calendar moves to the value of the focused input.
19593
+ * When you set it to `false`, the calendar shows the last selected date.
19765
19594
  *
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
- * ```
19595
+ * @default false
19785
19596
  */
19786
19597
  navigateCalendarOnFocus = false;
19787
19598
  constructor(rangeService, dateInput, element, renderer, zone) {
@@ -19835,7 +19646,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
19835
19646
  }] } });
19836
19647
 
19837
19648
  /**
19838
- * Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
19649
+ * Allows you to override the default localization messages of the DatePicker component ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
19650
+ *
19651
+ * @example
19652
+ * ```html
19653
+ * <kendo-datepicker>
19654
+ * <kendo-datepicker-messages
19655
+ * today="Today"
19656
+ * toggle="Open calendar">
19657
+ * </kendo-datepicker-messages>
19658
+ * </kendo-datepicker>
19659
+ * ```
19839
19660
  */
19840
19661
  class DatePickerCustomMessagesComponent extends DatePickerMessages {
19841
19662
  service;
@@ -19905,7 +19726,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
19905
19726
  }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
19906
19727
 
19907
19728
  /**
19908
- * Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
19729
+ * Allows you to override the default messages of the DateTimePicker component ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
19730
+ *
19731
+ * @example
19732
+ * ```html
19733
+ * <kendo-datetimepicker>
19734
+ * <kendo-datetimepicker-messages
19735
+ * toggle="Open calendar">
19736
+ * </kendo-datetimepicker-messages>
19737
+ * </kendo-datetimepicker>
19738
+ * ```
19909
19739
  */
19910
19740
  class DateTimePickerCustomMessagesComponent extends DateTimePickerMessages {
19911
19741
  service;
@@ -19940,7 +19770,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
19940
19770
  }], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
19941
19771
 
19942
19772
  /**
19943
- * Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
19773
+ * 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)).
19774
+ *
19775
+ * @example
19776
+ * ```html
19777
+ * <kendo-timepicker>
19778
+ * <kendo-timepicker-messages
19779
+ * accept="Apply"
19780
+ * cancel="Close"
19781
+ * now="Current time">
19782
+ * </kendo-timepicker-messages>
19783
+ * </kendo-timepicker>
19784
+ * ```
19944
19785
  */
19945
19786
  class TimePickerCustomMessagesComponent extends TimePickerMessages {
19946
19787
  service;
@@ -20089,7 +19930,7 @@ const KENDO_DATEINPUTS = [
20089
19930
 
20090
19931
  // IMPORTANT: NgModule export kept for backwards compatibility
20091
19932
  /**
20092
- * The exported package module.
19933
+ * Required for adding all Calendar features in NgModule-based Angular applications.
20093
19934
  *
20094
19935
  * The package exports:
20095
19936
  * - `CellTemplateDirective`&mdash;The month cell template directive.
@@ -20103,29 +19944,18 @@ const KENDO_DATEINPUTS = [
20103
19944
  *
20104
19945
  * @example
20105
19946
  *
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
- *
19947
+ * ```typescript
20113
19948
  * import { NgModule } from '@angular/core';
19949
+ * import { BrowserModule } from '@angular/platform-browser';
19950
+ * import { CalendarModule } from '@progress/kendo-angular-dateinputs';
20114
19951
  *
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]
19952
+ * @NgModule({
19953
+ * imports: [
19954
+ * BrowserModule,
19955
+ * CalendarModule
19956
+ * ]
20123
19957
  * })
20124
- * export class AppModule {}
20125
- *
20126
- * // Compile and launch the module
20127
- * platformBrowserDynamic().bootstrapModule(AppModule);
20128
- *
19958
+ * export class AppModule { }
20129
19959
  * ```
20130
19960
  */
20131
19961
  class CalendarModule {
@@ -20164,7 +19994,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
20164
19994
 
20165
19995
  // IMPORTANT: NgModule export kept for backwards compatibility
20166
19996
  /**
20167
- * The exported package module.
19997
+ * Required for adding all Calendars features in NgModule-based Angular applications.
20168
19998
  *
20169
19999
  * The package exports:
20170
20000
  * - `CalendarModule`&mdash;The calendar module.
@@ -20172,29 +20002,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
20172
20002
  *
20173
20003
  * @example
20174
20004
  *
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
- *
20005
+ * ```typescript
20182
20006
  * import { NgModule } from '@angular/core';
20007
+ * import { BrowserModule } from '@angular/platform-browser';
20008
+ * import { CalendarsModule } from '@progress/kendo-angular-dateinputs';
20183
20009
  *
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]
20010
+ * @NgModule({
20011
+ * imports: [
20012
+ * BrowserModule,
20013
+ * CalendarsModule
20014
+ * ]
20192
20015
  * })
20193
- * export class AppModule {}
20194
- *
20195
- * // Compile and launch the module
20196
- * platformBrowserDynamic().bootstrapModule(AppModule);
20197
- *
20016
+ * export class AppModule { }
20198
20017
  * ```
20199
20018
  */
20200
20019
  class CalendarsModule {
@@ -20233,8 +20052,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
20233
20052
 
20234
20053
  // IMPORTANT: NgModule export kept for backwards compatibility
20235
20054
  /**
20236
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
20237
- * definition for the DateInput component.
20055
+ * Required for adding all DateInput features in NgModule-based Angular applications.
20056
+ *
20057
+ * The package exports:
20058
+ * - `DateInputComponent`&mdash;The DateInput component.
20059
+ * - `DateInputMessagesComponent`&mdash;The DateInput custom messages component.
20060
+ *
20061
+ * @example
20062
+ * ```ts
20063
+ * import { DateInputModule } from '@progress/kendo-angular-dateinputs';
20064
+ *
20065
+ * @NgModule({
20066
+ * imports: [DateInputModule]
20067
+ * })
20068
+ * export class AppModule { }
20069
+ * ```
20238
20070
  */
20239
20071
  class DateInputModule {
20240
20072
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -20256,8 +20088,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
20256
20088
 
20257
20089
  // IMPORTANT: NgModule export kept for backwards compatibility
20258
20090
  /**
20259
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
20260
- * definition for the DatePicker component.
20091
+ * Required for adding all DatePicker features in [NgModule-based](link:site.data.urls.angular['ngmoduleapi']) Angular applications.
20092
+ *
20093
+ * @example
20094
+ * ```typescript
20095
+ * import { DatePickerModule } from '@progress/kendo-angular-dateinputs';
20096
+ *
20097
+ * @NgModule({
20098
+ * imports: [DatePickerModule]
20099
+ * })
20100
+ * export class AppModule { }
20101
+ * ```
20261
20102
  */
20262
20103
  class DatePickerModule {
20263
20104
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -20385,8 +20226,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
20385
20226
 
20386
20227
  // IMPORTANT: NgModule export kept for backwards compatibility
20387
20228
  /**
20388
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
20389
- * definition for the TimePicker component.
20229
+ * Required for adding all TimePicker features in NgModule-based Angular applications.
20230
+ *
20231
+ * @example
20232
+ * ```typescript
20233
+ * import { NgModule } from '@angular/core';
20234
+ * import { TimePickerModule } from '@progress/kendo-angular-dateinputs';
20235
+ *
20236
+ * @NgModule({
20237
+ * imports: [TimePickerModule],
20238
+ * // ...
20239
+ * })
20240
+ * export class AppModule { }
20241
+ * ```
20390
20242
  */
20391
20243
  class TimePickerModule {
20392
20244
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -20426,8 +20278,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
20426
20278
 
20427
20279
  // IMPORTANT: NgModule export kept for backwards compatibility
20428
20280
  /**
20429
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
20430
- * definition for the DateTimePicker component.
20281
+ * Required for adding all DateTimePicker features in [NgModule-based](link:site.data.urls.angular['ngmoduleapi']) Angular applications.
20282
+ *
20283
+ * @example
20284
+ * ```typescript
20285
+ * import { NgModule } from '@angular/core';
20286
+ * import { BrowserModule } from '@angular/platform-browser';
20287
+ * import { DateTimePickerModule } from '@progress/kendo-angular-dateinputs';
20288
+ *
20289
+ * @NgModule({
20290
+ * imports: [
20291
+ * BrowserModule,
20292
+ * DateTimePickerModule
20293
+ * ]
20294
+ * })
20295
+ * export class AppModule { }
20296
+ * ```
20431
20297
  */
20432
20298
  class DateTimePickerModule {
20433
20299
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateTimePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -20483,6 +20349,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
20483
20349
 
20484
20350
  // IMPORTANT: NgModule export kept for backwards compatibility
20485
20351
  /**
20352
+ * Required for adding all MultiViewCalendar features in NgModule-based Angular applications.
20486
20353
  * The package exports:
20487
20354
  * - `CellTemplateDirective`&mdash;The month cell template directive.
20488
20355
  * - `MonthCellTemplateDirective`&mdash;The month cell template directive.