@progress/kendo-vue-dateinputs 11.0.0-develop.1 → 11.0.1-develop.1

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 (37) hide show
  1. package/NOTICE.txt +17 -17
  2. package/calendar/components/Calendar.d.ts +13 -1
  3. package/calendar/components/Calendar.mjs +3 -0
  4. package/calendar/components/CalendarCell.d.ts +16 -2
  5. package/calendar/components/CalendarCell.mjs +1 -1
  6. package/calendar/components/CalendarHeaderTitle.d.ts +19 -2
  7. package/calendar/components/CalendarHeaderTitle.mjs +1 -1
  8. package/calendar/components/CalendarWeekCell.d.ts +1 -1
  9. package/calendar/components/CalendarWeekCell.mjs +1 -1
  10. package/calendar/components/interfaces/CalendarProps.d.ts +15 -9
  11. package/calendar/models/CalendarSettings.d.ts +34 -19
  12. package/calendar/models/CellContext.d.ts +45 -0
  13. package/common/PickerWrap.d.ts +1 -1
  14. package/dateinput/DateInput.d.ts +10 -1
  15. package/dateinput/DateInput.mjs +3 -0
  16. package/dateinput/interfaces/DateInputProps.d.ts +6 -6
  17. package/dateinput/models/DateInputSettings.d.ts +58 -24
  18. package/datepicker/DatePicker.d.ts +11 -1
  19. package/datepicker/DatePicker.mjs +3 -0
  20. package/datepicker/interfaces/DatePickerProps.d.ts +15 -9
  21. package/datepicker/models/DatePickerSettings.d.ts +50 -32
  22. package/daterangepicker/DateRangePicker.d.ts +39 -9
  23. package/daterangepicker/DateRangePicker.mjs +3 -0
  24. package/daterangepicker/models/DateRangePickerCalendarSettings.d.ts +1 -1
  25. package/daterangepicker/models/DateRangePickerDateInputSettings.d.ts +1 -1
  26. package/daterangepicker/models/DateRangePickerPopupSettings.d.ts +1 -1
  27. package/daterangepicker/models/DateRangePickerSettings.d.ts +53 -32
  28. package/datetimepicker/DateTimePicker.d.ts +37 -8
  29. package/datetimepicker/DateTimePicker.mjs +3 -0
  30. package/datetimepicker/models/DateTimePickerSettings.d.ts +82 -44
  31. package/dist/cdn/js/kendo-vue-dateinputs.js +1 -1
  32. package/package-metadata.js +1 -1
  33. package/package-metadata.mjs +2 -2
  34. package/package.json +9 -9
  35. package/timepicker/TimePicker.d.ts +36 -7
  36. package/timepicker/TimePicker.mjs +3 -0
  37. package/timepicker/models/TimePickerSettings.d.ts +69 -36
@@ -13,15 +13,15 @@ import { DateFormatOptions } from '@progress/kendo-vue-intl';
13
13
  */
14
14
  export interface DateInputSettings {
15
15
  /**
16
- * Specifies the `date` format which is used for formatting the value ([see example]({% slug formats_dateinput %}). If not set, the default format will be used.
16
+ * Sets the `date` format of the value ([see example](slug:formats_dateinput)). If you do not set it, the DateInput uses the default format.
17
17
  */
18
18
  format?: string | DateFormatOptions;
19
19
  /**
20
- * Specifies the descriptions of the format sections in the input field ([more information and example]({% slug placeholders_dateinput %}).
20
+ * Sets the descriptions of the format sections in the input field ([more information and example](slug:placeholders_dateinput)).
21
21
  */
22
22
  formatPlaceholder?: DateInputFormatPlaceholder;
23
23
  /**
24
- * Specifies the width of the DateInput.
24
+ * Sets the width of the DateInput.
25
25
  */
26
26
  width?: number | string;
27
27
  /**
@@ -65,34 +65,52 @@ export interface DateInputSettings {
65
65
  fillMode?: null | 'solid' | 'outline' | 'flat' | string;
66
66
  /**
67
67
  * Sets the `tabIndex` property of the DateInput.
68
+ *
69
+ * @remarks
70
+ * This property is related to accessibility.
68
71
  */
69
72
  tabIndex?: number;
70
73
  /**
71
- * Sets the title of the `input` element of the DateInput.
74
+ * Sets the `title` of the `input` element of the DateInput.
72
75
  */
73
76
  title?: string;
74
77
  /**
75
- * Sets the aria-label of the DateInput.
78
+ * Sets the `aria-label` attribute of the DateInput.
79
+ *
80
+ * @remarks
81
+ * This property is related to accessibility.
76
82
  */
77
83
  ariaLabel?: string;
78
84
  /**
79
- * Sets the aria role of the DateInput.
85
+ * Sets the ARIA `role` of the DateInput.
86
+ *
87
+ * @remarks
88
+ * This property is related to accessibility.
80
89
  */
81
90
  ariaRole?: string;
82
91
  /**
83
- * Sets the aria-controls of the DateInput.
92
+ * Sets the `aria-controls` attribute of the DateInput.
93
+ *
94
+ * @remarks
95
+ * This property is related to accessibility.
84
96
  */
85
97
  ariaControls?: string;
86
98
  /**
87
- * Sets the aria-haspopup of the DateInput.
99
+ * Sets the `aria-haspopup` attribute of the DateInput.
100
+ *
101
+ * @remarks
102
+ * This property is related to accessibility.
88
103
  */
89
104
  ariaHasPopup?: String;
90
105
  /**
91
- * Sets the aria-expanded of the DateInput.
106
+ * Sets the `aria-expanded` attribute of the DateInput.
107
+ *
108
+ * @remarks
109
+ * This property is related to accessibility.
92
110
  */
93
111
  ariaExpanded?: boolean;
94
112
  /**
95
- * Specifies the incremental steps of the DateInput ([see example]({% slug incrementalsteps_dateinput %}).
113
+ * Sets the incremental steps of the DateInput ([see example](slug:incrementalsteps_dateinput)).
96
114
  *
97
115
  * The available options are:
98
116
  * - `year: Number`—Controls the incremental step of the year value.
@@ -104,57 +122,73 @@ export interface DateInputSettings {
104
122
  */
105
123
  steps?: DateInputIncrementalSteps;
106
124
  /**
107
- * Specifies the smallest date that is valid ([see example]({% slug dateranges_dateinput %}).
125
+ * Sets the earliest valid date ([see example](slug:dateranges_dateinput)).
108
126
  */
109
127
  min?: Date;
110
128
  /**
111
- * Specifies the greatest date that is valid ([see example]({% slug dateranges_dateinput %}).
129
+ * Sets the latest valid date ([see example](slug:dateranges_dateinput)).
112
130
  */
113
131
  max?: Date;
114
132
  /**
115
- * Specifies the smallest time that is valid ([see example]({% slug dateranges_dateinput %}#toc-limiting-the-time-range).
133
+ * Sets the earliest valid time ([see example](slug:dateranges_dateinput#toc-limiting-the-time-range)).
116
134
  */
117
135
  minTime?: Date;
118
136
  /**
119
- * Specifies the greatest time that is valid ([see example]({% slug dateranges_dateinput %}#toc-limiting-the-time-range).
137
+ * Sets the latest valid time ([see example](slug:dateranges_dateinput#toc-limiting-the-time-range)).
120
138
  */
121
139
  maxTime?: Date;
122
140
  /**
123
- * Determines whether the DateInput is disabled ([see example]({% slug disabled_dateinput %})).
141
+ * When you set it to `true`, the DateInput is disabled ([see example](slug:disabled_dateinput)).
142
+ *
143
+ * @default false
124
144
  */
125
145
  disabled?: boolean;
126
146
  /**
127
- * Specifies whether the **Up** and **Down** spin buttons will be rendered ([see example]({% slug spinbuttons_dateinput %})).
147
+ * When you set it to `true`, the DateInput shows the **Up** and **Down** spin buttons ([see example](slug:spinbuttons_dateinput)).
148
+ *
149
+ * @default false
128
150
  */
129
151
  spinners?: boolean;
130
152
  /**
131
- * Specifies the name property of the input DOM element.
153
+ * Sets the `name` property of the `input` DOM element.
132
154
  */
133
155
  name?: string;
134
156
  /**
135
- * Represents the `dir` HTML attribute.
157
+ * Sets the `dir` HTML attribute.
136
158
  */
137
159
  dir?: string;
138
160
  /**
139
161
  * Renders a floating label for the DateInput.
162
+ *
163
+ * @remarks
164
+ * This property is related to accessibility.
140
165
  */
141
166
  label?: string;
142
167
  /**
143
- * Sets the `id` of the `input` DOM element.
168
+ * Sets the `id` of the `input` DOM element. The floating label uses it to point to the input.
169
+ *
170
+ * @remarks
171
+ * This property is related to accessibility.
144
172
  */
145
173
  id?: string;
146
174
  /**
147
- * Identifies the element(s) which will describe the component, similar to [HTML aria-describedby attribute](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-describedby).
148
- * For example these elements could contain error or hint message.
175
+ * Sets the `id` values of the elements that describe the DateInput, similar to the [HTML aria-describedby attribute](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-describedby).
176
+ * For example, these elements can contain an error or a hint message.
177
+ *
178
+ * @remarks
179
+ * This property is related to accessibility.
149
180
  */
150
181
  ariaDescribedBy?: string;
151
182
  /**
152
- * Identifies the element(s) which will label the component.
183
+ * Sets the `id` values of the elements that label the DateInput.
184
+ *
185
+ * @remarks
186
+ * This property is related to accessibility.
153
187
  */
154
188
  ariaLabelledBy?: string;
155
189
  /**
156
- * Sets the built-in HTML attributes of the inner focusable input element.
157
- * Attributes which are essential for certain component functionalities cannot be changed.
190
+ * Sets the built-in HTML attributes of the inner focusable `input` element.
191
+ * You cannot change the attributes that the component needs to work.
158
192
  */
159
193
  inputAttributes?: Object;
160
194
  }
@@ -13,7 +13,14 @@ import { DatePickerChangeEvent, DatePickerOpenEvent, DatePickerCloseEvent } from
13
13
  import { DatePickerFocusEvent, DatePickerBlurEvent } from './interfaces/DatePickerFocusBlurEvents';
14
14
  import { PropType } from 'vue';
15
15
  /**
16
- * @hidden
16
+ * Represents the [KendoVue DatePicker component](slug:overview_datepicker).
17
+ * Use the DatePicker to let the user type a date or select it from a popup Calendar.
18
+ *
19
+ * @example
20
+ * ```vue
21
+ * <DatePicker :default-value="new Date()" :format="'dd/MM/yyyy'" />
22
+ * ```
23
+ *
17
24
  */
18
25
  declare const DatePicker: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
19
26
  defaultShow: {
@@ -125,6 +132,9 @@ declare const DatePicker: import('vue').DefineComponent<import('vue').ExtractPro
125
132
  computedValue(): Date | null;
126
133
  computedShow(): boolean;
127
134
  }, {
135
+ /**
136
+ * Moves the focus to the input element of the DatePicker.
137
+ */
128
138
  focus(): void;
129
139
  handleFocus(event: FocusEvent): void;
130
140
  handleBlur(event: FocusEvent): void;
@@ -199,6 +199,9 @@ const je = /* @__PURE__ */ oe({
199
199
  }
200
200
  },
201
201
  methods: {
202
+ /**
203
+ * Moves the focus to the input element of the DatePicker.
204
+ */
202
205
  focus() {
203
206
  this._dateInput && this._dateInput.focus();
204
207
  },
@@ -9,7 +9,7 @@ import { DatePickerChangeEvent } from './DatePickerEventArguments';
9
9
  import { DatePickerSettings } from '../models/main';
10
10
  import { FormComponentProps } from '@progress/kendo-vue-common';
11
11
  /**
12
- * Represents the props of the [Kendo UI for Vue DatePicker component]({% slug overview_datepicker %}).
12
+ * Represents the props of the [Kendo UI for Vue DatePicker component](slug:overview_datepicker).
13
13
  */
14
14
  export interface DatePickerProps extends DatePickerSettings, FormComponentProps {
15
15
  /**
@@ -17,37 +17,43 @@ export interface DatePickerProps extends DatePickerSettings, FormComponentProps
17
17
  */
18
18
  modelValue?: Date;
19
19
  /**
20
- * Sets the default value of the DatePicker ([see example]({% slug default_value_datepicker %})).
20
+ * Sets the initial value of the DatePicker when you do not set `value` ([see example](slug:default_value_datepicker)).
21
21
  */
22
22
  defaultValue?: Date;
23
23
  /**
24
- * Fires each time the user selects a new value ([see example]({% slug controlled_datepicker %}#toc-controlling-the-date-value)).
24
+ * Fires each time the user selects a new value. The event name is `change` ([see example](slug:controlled_datepicker#toc-controlling-the-date-value)).
25
25
  */
26
26
  onChange?: (event: DatePickerChangeEvent) => void;
27
27
  /**
28
- * Fires when the icon element is clicked.
28
+ * Fires when the user clicks the calendar icon. The event name is `iconclick`.
29
29
  */
30
30
  onIconclick?: (event: any) => void;
31
31
  /**
32
32
  * Renders a floating label for the DatePicker.
33
+ *
34
+ * @remarks
35
+ * This property is related to accessibility.
33
36
  */
34
37
  label?: string;
35
38
  /**
36
- * Specifies the value of the placeholder.
39
+ * Sets the placeholder text of the DatePicker.
37
40
  */
38
41
  placeholder?: string;
39
42
  /**
40
- * Specifies the value of the DatePicker ([see example]({% slug controlled_datepicker %}#toc-controlling-the-date-value)).
43
+ * Sets the value of the DatePicker ([see example](slug:controlled_datepicker#toc-controlling-the-date-value)).
41
44
  *
42
- * > The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance.
45
+ * > The `value` must be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance.
43
46
  */
44
47
  value?: Date | null;
45
48
  /**
46
- * Specifies the validate of the DatePicker.
49
+ * Sets whether the DatePicker validates its value.
47
50
  */
48
51
  validate?: boolean;
49
52
  /**
50
- * Specifies the validate of the DatePicker.
53
+ * Sets the `aria-label` attribute of the DatePicker input.
54
+ *
55
+ * @remarks
56
+ * This property is related to accessibility.
51
57
  */
52
58
  ariaLabel?: string;
53
59
  }
@@ -13,40 +13,44 @@ import { DateFormatOptions } from '@progress/kendo-vue-intl';
13
13
  */
14
14
  export interface DatePickerSettings {
15
15
  /**
16
- * Enables the customization or the override of the default wrapping component around the `DateInput` and `ToggleButton` rendered by the DatePicker
17
- * ([see example]({% slug custom_rendering_datepicker %}#toc-customizing-the-toggle-button)).
16
+ * Lets you customize or replace the default wrapper around the DateInput and the ToggleButton of the DatePicker
17
+ * ([see example](slug:custom_rendering_datepicker#toc-customizing-the-toggle-button)).
18
18
  */
19
19
  pickerWrap?: any;
20
20
  /**
21
- * Enables the customization or the override of the default Toggle button which is rendered by the DatePicker
22
- * ([see example]({% slug custom_rendering_datepicker %}#toc-customizing-the-toggle-button)).
21
+ * Lets you customize or replace the default toggle button of the DatePicker
22
+ * ([see example](slug:custom_rendering_datepicker#toc-customizing-the-toggle-button)).
23
23
  */
24
24
  toggleButton?: any;
25
25
  /**
26
- * Enables the customization or the override of the default Calendar which is rendered by the DatePicker
27
- * ([see example]({% slug custom_rendering_datepicker %}#toc-customizing-the-calendar)).
26
+ * Lets you customize or replace the default Calendar of the DatePicker
27
+ * ([see example](slug:custom_rendering_datepicker#toc-customizing-the-calendar)).
28
28
  */
29
29
  calendar?: any;
30
30
  /**
31
- * Enables the customization or the override of the default Popup which is rendered by the DatePicker
32
- * ([see example]({% slug custom_rendering_datepicker %}#toc-customizing-the-popup)).
31
+ * Lets you customize or replace the default Popup of the DatePicker
32
+ * ([see example](slug:custom_rendering_datepicker#toc-customizing-the-popup)).
33
33
  */
34
34
  popup?: any;
35
35
  /**
36
- * Enables the customization or the override of the default DateInput which is rendered by the DatePicker
37
- * ([see example]({% slug custom_rendering_datepicker %}#toc-customizing-the-dateinput)).
36
+ * Lets you customize or replace the default DateInput of the DatePicker
37
+ * ([see example](slug:custom_rendering_datepicker#toc-customizing-the-dateinput)).
38
38
  */
39
39
  dateInput?: any;
40
40
  /**
41
- * Sets the default state of the DatePicker upon render ([see example]({% slug default_value_datepicker %})).
41
+ * Sets whether the popup of the DatePicker is open on the first render ([see example](slug:default_value_datepicker)).
42
+ *
43
+ * @default false
42
44
  */
43
45
  defaultShow?: boolean;
44
46
  /**
45
- * Determines whether the DatePicker is disabled ([see example]({% slug disabled_datepicker %})).
47
+ * When you set it to `true`, the DatePicker is disabled ([see example](slug:disabled_datepicker)).
48
+ *
49
+ * @default false
46
50
  */
47
51
  disabled?: boolean;
48
52
  /**
49
- * Configures the `size` of the TimeInput.
53
+ * Configures the `size` of the DatePicker.
50
54
  *
51
55
  * The available options are:
52
56
  * - small
@@ -58,7 +62,7 @@ export interface DatePickerSettings {
58
62
  */
59
63
  size?: null | 'small' | 'medium' | 'large';
60
64
  /**
61
- * Configures the `roundness` of the TimeInput.
65
+ * Configures the `roundness` of the DatePicker.
62
66
  *
63
67
  * The available options are:
64
68
  * - small
@@ -72,7 +76,7 @@ export interface DatePickerSettings {
72
76
  */
73
77
  rounded?: null | 'small' | 'medium' | 'large' | 'full' | string;
74
78
  /**
75
- * Configures the `fillMode` of the TimeInput.
79
+ * Configures the `fillMode` of the DatePicker.
76
80
  *
77
81
  * The available options are:
78
82
  * - solid
@@ -85,39 +89,44 @@ export interface DatePickerSettings {
85
89
  */
86
90
  fillMode?: null | 'solid' | 'outline' | 'flat' | string;
87
91
  /**
88
- * Specifies the focused date of the DatePicker ([see example]({% slug dates_datepicker %})).
92
+ * Sets the focused date of the DatePicker ([see example](slug:dates_datepicker)).
89
93
  */
90
94
  focusedDate?: Date;
91
95
  /**
92
- * Specifies the date format that is used to display the input value ([see example]({% slug formats_datepicker %})).
96
+ * Sets the date format that the DatePicker uses to show the input value ([see example](slug:formats_datepicker)).
97
+ *
98
+ * @default 'd'
93
99
  */
94
100
  format?: string | DateFormatOptions;
95
101
  /**
96
- * Defines the descriptions of the format sections in the input field ([more information and examples]({% slug placeholders_datepicker %})).
102
+ * Sets the descriptions of the format sections in the input field ([more information and examples](slug:placeholders_datepicker)).
97
103
  */
98
104
  formatPlaceholder?: DateInputFormatPlaceholder;
99
105
  /**
100
- * Specifies the `id` of the DatePicker.
106
+ * Sets the `id` of the `input` element of the DatePicker. The floating label uses it to point to the input.
107
+ *
108
+ * @remarks
109
+ * This property is related to accessibility.
101
110
  */
102
111
  id?: string;
103
112
  /**
104
- * Specifies the greatest valid date ([see example]({% slug dateranges_datepicker %})).
113
+ * Sets the latest valid date ([see example](slug:dateranges_datepicker)).
105
114
  */
106
115
  max?: Date;
107
116
  /**
108
- * Specifies the smallest valid date ([see example]({% slug dateranges_datepicker %})).
117
+ * Sets the earliest valid date ([see example](slug:dateranges_datepicker)).
109
118
  */
110
119
  min?: Date;
111
120
  /**
112
- * Specifies the `name` property of the `input` DOM element.
121
+ * Sets the `name` property of the `input` DOM element.
113
122
  */
114
123
  name?: string;
115
124
  /**
116
- * Fires each time any of the DatePicker elements gets blurred.
125
+ * Fires each time any element of the DatePicker loses focus. The event name is `blur`.
117
126
  */
118
127
  onBlur?: (event: any) => void;
119
128
  /**
120
- * Fires each time the user focuses any of the DatePicker elements.
129
+ * Fires each time the user focuses any element of the DatePicker. The event name is `focus`.
121
130
  */
122
131
  onFocus?: (event: any) => void;
123
132
  /**
@@ -125,33 +134,42 @@ export interface DatePickerSettings {
125
134
  *
126
135
  * The available options are:
127
136
  * - `animate: Boolean`&mdash;Controls the popup animation. By default, the open and close animations are enabled.
128
- * - `appendTo`: &mdash; Defines the container to which the Popup will be appended. Defaults to [`body`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body).
129
- * - `popupClass: String`&mdash;Specifies a list of CSS classes that are used to style the popup.
137
+ * - `appendTo`: &mdash; Sets the container to which the Popup is appended. Defaults to [`body`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body).
138
+ * - `popupClass: String`&mdash;Sets a list of CSS classes that style the popup.
139
+ *
140
+ * @default {}
130
141
  */
131
142
  popupSettings?: DateInputsPopupSettings;
132
143
  /**
133
- * Specifies if the calendar will be displayed ([see example]({% slug controlled_datepicker %}#toc-controlling-the-popup-state)).
144
+ * Sets whether the DatePicker shows the Calendar ([see example](slug:controlled_datepicker#toc-controlling-the-popup-state)).
134
145
  */
135
146
  show?: boolean;
136
147
  /**
137
148
  * Sets the `tabIndex` property of the DatePicker.
149
+ *
150
+ * @default 0
151
+ *
152
+ * @remarks
153
+ * This property is related to accessibility.
138
154
  */
139
155
  tabIndex?: number;
140
156
  /**
141
- * Sets the title of the `input` element of the DatePicker.
157
+ * Sets the `title` of the `input` element of the DatePicker.
158
+ *
159
+ * @default ''
142
160
  */
143
161
  title?: string;
144
162
  /**
145
- * Determines whether to display a week number column in the `month` view of the Calendar ([see example]({% slug weeknumcolumn_datepicker %})).
163
+ * When you set it to `true`, the Calendar shows a week number column in the `month` view ([see example](slug:weeknumcolumn_datepicker)).
146
164
  */
147
165
  weekNumber?: boolean;
148
166
  /**
149
- * Specifies the width of the DatePicker.
167
+ * Sets the width of the DatePicker.
150
168
  */
151
169
  width?: number | string;
152
170
  /**
153
- * Sets the built-in HTML attributes of the inner focusable input element.
154
- * Attributes which are essential for certain component functionalities cannot be changed.
171
+ * Sets the built-in HTML attributes of the inner focusable `input` element.
172
+ * You cannot change the attributes that the component needs to work.
155
173
  */
156
174
  inputAttributes?: Object;
157
175
  }
@@ -18,38 +18,59 @@ export interface ReverseClickEvent {
18
18
  event?: any;
19
19
  }
20
20
  /**
21
- * The arguments for the `onChange` event of the DateRangePicker.
21
+ * The arguments for the `change` event of the DateRangePicker.
22
22
  */
23
23
  export interface DateRangePickerChangeEvent {
24
+ /**
25
+ * The DOM event that triggers the change.
26
+ */
24
27
  event?: any;
28
+ /**
29
+ * The new date range of the DateRangePicker.
30
+ */
25
31
  value: SelectionRange;
32
+ /**
33
+ * Shows whether the popup of the DateRangePicker is open.
34
+ */
26
35
  show?: boolean;
36
+ /**
37
+ * The target object with the `name`, `value`, and `show` of the DateRangePicker.
38
+ */
27
39
  target: any;
40
+ /**
41
+ * The DateRangePicker component instance.
42
+ */
28
43
  component?: any;
29
44
  }
30
45
  /**
31
46
  * The arguments for the `open` event of the DateRangePicker.
32
47
  */
33
48
  export interface DateRangePickerOpenEvent {
49
+ /**
50
+ * The DateRangePicker component instance.
51
+ */
34
52
  component: any;
35
53
  }
36
54
  /**
37
55
  * The arguments for the `close` event of the DateRangePicker.
38
56
  */
39
57
  export interface DateRangePickerCloseEvent {
58
+ /**
59
+ * The DateRangePicker component instance.
60
+ */
40
61
  component: any;
41
62
  }
42
63
  /**
43
- * Represents the props of the [Kendo UI for Vue DateRangePicker component]({% slug overview_daterangepicker %}).
64
+ * Represents the props of the [Kendo UI for Vue DateRangePicker component](slug:overview_daterangepicker).
44
65
  */
45
66
  export interface DateRangePickerProps extends DateRangePickerSettings {
46
67
  /**
47
- * Overrides the validity state of the component.
48
- * If `valid` is set, the `required` property will be ignored.
68
+ * Overrides the validity state of the DateRangePicker.
69
+ * If you set `valid`, the DateRangePicker ignores the `required` property.
49
70
  */
50
71
  valid?: boolean;
51
72
  /**
52
- * Sets the default value of the DateRangePicker ([see example]({% slug default_value_daterangepicker %})).
73
+ * Sets the initial value of the DateRangePicker when you do not set `value` ([see example](slug:default_value_daterangepicker)).
53
74
  */
54
75
  defaultValue?: SelectionRange;
55
76
  /**
@@ -57,13 +78,13 @@ export interface DateRangePickerProps extends DateRangePickerSettings {
57
78
  */
58
79
  modelValue?: Date;
59
80
  /**
60
- * Fires each time the user selects a part of a date range ([see example]({% slug controlled_daterangepicker %}#toc-controlling-the-value)).
81
+ * Fires each time the user selects a part of a date range. The event name is `change` ([see example](slug:controlled_daterangepicker#toc-controlling-the-value)).
61
82
  */
62
83
  onChange?: (event: DateRangePickerChangeEvent) => void;
63
84
  /**
64
- * Specifies the selected date range of the DateRangePicker ([see example]({% slug controlled_daterangepicker %}#toc-controlling-the-value)).
85
+ * Sets the selected date range of the DateRangePicker ([see example](slug:controlled_daterangepicker#toc-controlling-the-value)).
65
86
  *
66
- * > The `value` has to be an object with `start` and `end` valid JavaScript [`Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instances or `null`.
87
+ * > The `value` must be an object with `start` and `end` properties. Each one is a valid JavaScript [`Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
67
88
  */
68
89
  value?: SelectionRange;
69
90
  }
@@ -87,7 +108,13 @@ export interface DateRangePickerComputed {
87
108
  computedShow: boolean;
88
109
  }
89
110
  /**
90
- * @hidden
111
+ * Represents the [KendoVue DateRangePicker component](slug:overview_daterangepicker).
112
+ * Use the DateRangePicker to let the user type or select a start date and an end date.
113
+ *
114
+ * @example
115
+ * ```vue
116
+ * <DateRangePicker :default-value="{ start: new Date(2026, 0, 5), end: new Date(2026, 0, 12) }" :format="'dd/MM/yyyy'" />
117
+ * ```
91
118
  */
92
119
  declare const DateRangePicker: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
93
120
  allowReverse: {
@@ -184,6 +211,9 @@ declare const DateRangePicker: import('vue').DefineComponent<import('vue').Extra
184
211
  'k-icon-button': boolean;
185
212
  };
186
213
  }, {
214
+ /**
215
+ * Moves the focus to the start date input of the DateRangePicker.
216
+ */
187
217
  focus(): void;
188
218
  focusCalendarElement(): void;
189
219
  focusDateInputElement(): void;
@@ -340,6 +340,9 @@ const It = /* @__PURE__ */ X({
340
340
  }, [F, (this.$props.allowReverse || this.$props.calendarSettings && this.$props.calendarSettings.allowReverse) && this.$props.swapButton ? G : V, L, U]);
341
341
  },
342
342
  methods: {
343
+ /**
344
+ * Moves the focus to the start date input of the DateRangePicker.
345
+ */
343
346
  focus() {
344
347
  const t = this.getStartInput();
345
348
  t && t.focus();
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { CalendarSettings } from '../../calendar/models/CalendarSettings';
9
9
  /**
10
- * Represents the settings that can be passed to the Calendar inside the DateRangePicker.
10
+ * Represents the settings that you can pass to the Calendar inside the DateRangePicker.
11
11
  */
12
12
  export interface DateRangePickerCalendarSettings extends CalendarSettings {
13
13
  }
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { DateInputSettings } from '../../dateinput/models/DateInputSettings';
9
9
  /**
10
- * Represents the settings that can be passed to the DateInput inside the DateRangePicker.
10
+ * Represents the settings that you can pass to the DateInput inside the DateRangePicker.
11
11
  */
12
12
  export interface DateRangePickerDateInputSettings extends DateInputSettings {
13
13
  }
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { PopupSettings } from '@progress/kendo-vue-popup';
9
9
  /**
10
- * Represents the settings that can be passed to the Popup inside the DateRangePicker.
10
+ * Represents the settings that you can pass to the Popup inside the DateRangePicker.
11
11
  */
12
12
  export interface DateRangePickerPopupSettings extends PopupSettings {
13
13
  }