@progress/kendo-vue-scheduler 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.
- package/NOTICE.txt +17 -17
- package/Scheduler.d.ts +171 -114
- package/codemods/v11/index.js +1 -1
- package/codemods/v11/scheduler-recurrence-template-deprecation.js +10 -0
- package/components/DateHeaderCell.d.ts +1 -1
- package/components/SchedulerActionButtons.d.ts +1 -1
- package/components/SchedulerForm.d.ts +13 -1
- package/components/SchedulerOccurrenceDialog.d.ts +1 -1
- package/components/SchedulerRemoveDialog.d.ts +1 -1
- package/components/header/SchedulerHeader.d.ts +1 -1
- package/constants/main.d.ts +1 -1
- package/dist/cdn/js/kendo-vue-scheduler.js +1 -1
- package/editors/SchedulerFormEditor.d.ts +106 -122
- package/items/SchedulerEditItem.d.ts +16 -16
- package/items/SchedulerItem.d.ts +63 -51
- package/items/SchedulerItemContent.d.ts +1 -1
- package/items/SchedulerViewItem.d.ts +10 -4
- package/models/DataItem.d.ts +3 -3
- package/models/Fields.d.ts +1 -1
- package/models/Group.d.ts +1 -1
- package/models/Item.d.ts +14 -14
- package/models/Occurrence.d.ts +1 -1
- package/models/SchedulerView.d.ts +3 -3
- package/models/Slot.d.ts +10 -10
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +19 -14
- package/slots/SchedulerEditSlot.d.ts +3 -3
- package/slots/SchedulerSlot.d.ts +37 -24
- package/slots/SchedulerViewSlot.d.ts +13 -7
- package/tasks/SchedulerEditTask.d.ts +4 -4
- package/tasks/SchedulerViewTask.d.ts +2 -2
- package/views/agenda/AgendaView.d.ts +1 -1
- package/views/day/DayView.d.ts +1 -1
- package/views/time/TimelineView.d.ts +1 -1
- package/views/week/WeekView.d.ts +1 -1
package/NOTICE.txt
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
Progress Kendo UI for Vue 2026
|
|
2
|
+
Progress Kendo UI for Vue 2026 Updated November 2026
|
|
3
3
|
|
|
4
4
|
----------------------------------------------------------------------------------------------------------------------------
|
|
5
5
|
NOTICES REPORT
|
|
6
6
|
----------------------------------------------------------------------------------------------------------------------------
|
|
7
7
|
|
|
8
8
|
Portions of the Products include certain open source and commercial third-party components listed below ("Third-Party
|
|
9
|
-
Components"). The authors of the Third-Party Components require Progress Software Corporation ("PSC") to include
|
|
10
|
-
following notices and additional licensing terms as a condition of PSC's use of such Third-Party Components. You
|
|
11
|
-
acknowledge that the authors of the Third-Party Components have no obligation to provide support to you for the Third-
|
|
12
|
-
Components or the Product. You hereby undertake to comply with all licenses related to the applicable Third-Party
|
|
9
|
+
Components"). The authors of the Third-Party Components require Progress Software Corporation ("PSC") to include
|
|
10
|
+
the following notices and additional licensing terms as a condition of PSC's use of such Third-Party Components. You
|
|
11
|
+
acknowledge that the authors of the Third-Party Components have no obligation to provide support to you for the Third-
|
|
12
|
+
Party Components or the Product. You hereby undertake to comply with all licenses related to the applicable Third-Party
|
|
13
13
|
Components. Notwithstanding anything to the contrary, to the extent that any of the terms and conditions of the Progress
|
|
14
|
-
Agreement conflict, vary, or are in addition to the terms and conditions of the aforementioned third-party licenses for
|
|
15
|
-
technologies, such terms and conditions are offered by PSC alone and not by any other party.
|
|
14
|
+
Agreement conflict, vary, or are in addition to the terms and conditions of the aforementioned third-party licenses for
|
|
15
|
+
these technologies, such terms and conditions are offered by PSC alone and not by any other party.
|
|
16
16
|
|
|
17
17
|
----------------------------------------------------------------------------------------------------------------------------
|
|
18
18
|
Report Content
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
GENERATIVE ARTIFICIAL INTELLIGENCE INTEGRATION
|
|
29
29
|
If the Software documentation specifies integration with some form of generative artificial intelligence (AI), then the
|
|
30
30
|
Software will include a configuration to connect to AI. You acknowledge that a separate license or subscription access
|
|
31
|
-
to AI governed by the terms and conditions of a license agreement from AI licensor will be required for use and access
|
|
32
|
-
AI capabilities integrated with the Software. You will be responsible to comply with the terms of such license agreement
|
|
31
|
+
to AI governed by the terms and conditions of a license agreement from AI licensor will be required for use and access
|
|
32
|
+
of AI capabilities integrated with the Software. You will be responsible to comply with the terms of such license agreement
|
|
33
33
|
for a valid use of AI. You acknowledge and accept that Progress is not a party to the license agreement between You
|
|
34
34
|
and AI licensor for AI use, and as a result Progress does not have any control over AI and its availability, and Progress
|
|
35
35
|
disclaims any and all liabilities for any output, error, damages, loss, etc., or any other result of Your use of AI
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
|
|
38
38
|
----------------------------------------------------------------------------------------------------------------------------
|
|
39
39
|
|
|
40
|
-
NOTICE FROM PROGRESS SOFTWARE CORPORATION: Additional notices may be included in the release notes or
|
|
41
|
-
documentation that accompanies updates received in connection with support of the Product.
|
|
40
|
+
NOTICE FROM PROGRESS SOFTWARE CORPORATION: Additional notices may be included in the release notes or
|
|
41
|
+
other documentation that accompanies updates received in connection with support of the Product.
|
|
42
42
|
|
|
43
43
|
----------------------------------------------------------------------------------------------------------------------------
|
|
44
44
|
|
|
@@ -52,9 +52,9 @@ Components:
|
|
|
52
52
|
| | readme | |
|
|
53
53
|
| @progress/pako-esm 1.0.1 | https://github.com/telerik/pako-esm#r | MIT License |
|
|
54
54
|
| | eadme | |
|
|
55
|
-
| prosemirror-commands 1.7.
|
|
55
|
+
| prosemirror-commands 1.7.2 | https://github.com/prosemirror/prosem | MIT License |
|
|
56
56
|
| | irror-commands#readme | |
|
|
57
|
-
| prosemirror-dropcursor 1.8.
|
|
57
|
+
| prosemirror-dropcursor 1.8.3 | https://github.com/prosemirror/prosem | MIT License |
|
|
58
58
|
| | irror-dropcursor#readme | |
|
|
59
59
|
| prosemirror-gapcursor 1.4.1 | https://github.com/prosemirror/prosem | MIT License |
|
|
60
60
|
| | irror-gapcursor#readme | |
|
|
@@ -64,7 +64,7 @@ Components:
|
|
|
64
64
|
| | irror-inputrules#readme | |
|
|
65
65
|
| prosemirror-keymap 1.2.3 | https://github.com/prosemirror/prosem | MIT License |
|
|
66
66
|
| | irror-keymap#readme | |
|
|
67
|
-
| prosemirror-model 1.25.
|
|
67
|
+
| prosemirror-model 1.25.12 | https://github.com/prosemirror/prosem | MIT License |
|
|
68
68
|
| | irror-model#readme | |
|
|
69
69
|
| prosemirror-schema-list 1.5.1 | https://github.com/prosemirror/prosem | MIT License |
|
|
70
70
|
| | irror-schema-list#readme | |
|
|
@@ -72,9 +72,9 @@ Components:
|
|
|
72
72
|
| | irror-state#readme | |
|
|
73
73
|
| prosemirror-tables 1.8.5 | https://github.com/prosemirror/prosem | MIT License |
|
|
74
74
|
| | irror-tables#readme | |
|
|
75
|
-
| prosemirror-transform 1.
|
|
75
|
+
| prosemirror-transform 1.12.1 | https://github.com/prosemirror/prosem | MIT License |
|
|
76
76
|
| | irror-transform#readme | |
|
|
77
|
-
| prosemirror-view 1.
|
|
77
|
+
| prosemirror-view 1.42.5 | https://github.com/prosemirror/prosem | MIT License |
|
|
78
78
|
| | irror-view#readme | |
|
|
79
79
|
| -------------------------------------- | ------------------------------------- | ---------------------------------------- |
|
|
80
80
|
|
|
@@ -269,7 +269,7 @@ third-party archives.
|
|
|
269
269
|
---
|
|
270
270
|
|
|
271
271
|
MIT License
|
|
272
|
-
(@progress/jszip-esm 1.0.4, @progress/pako-esm 1.0.1, prosemirror-commands 1.7.
|
|
272
|
+
(@progress/jszip-esm 1.0.4, @progress/pako-esm 1.0.1, prosemirror-commands 1.7.2, prosemirror-dropcursor 1.8.3, prosemirror-gapcursor 1.4.1, prosemirror-history 1.5.0, prosemirror-inputrules 1.5.1, prosemirror-keymap 1.2.3, prosemirror-model 1.25.12, prosemirror-schema-list 1.5.1, prosemirror-state 1.4.4, prosemirror-tables 1.8.5, prosemirror-transform 1.12.1, prosemirror-view 1.42.5)
|
|
273
273
|
|
|
274
274
|
The MIT License
|
|
275
275
|
===============
|
package/Scheduler.d.ts
CHANGED
|
@@ -13,143 +13,170 @@ import { DATA_ACTION } from './constants/main';
|
|
|
13
13
|
import { SchedulerFormStateChangeEvent } from './components/SchedulerForm';
|
|
14
14
|
import { SchedulerQuickCreateFormProps } from './components/SchedulerQuickCreateForm';
|
|
15
15
|
/**
|
|
16
|
-
* Represents the props of the [Kendo UI for Vue Scheduler component](
|
|
16
|
+
* Represents the props of the [Kendo UI for Vue Scheduler component](slug:overview_scheduler).
|
|
17
17
|
*/
|
|
18
18
|
export interface SchedulerProps {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Sets the `id` attribute of the wrapping element of the Scheduler.
|
|
21
21
|
*/
|
|
22
22
|
id?: string;
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Sets the `tabIndex` attribute of the wrapping element of the Scheduler.
|
|
25
|
+
*
|
|
26
|
+
* @default -1
|
|
27
|
+
*
|
|
28
|
+
* @remarks
|
|
29
|
+
* This property is related to accessibility.
|
|
25
30
|
*/
|
|
26
31
|
tabIndex?: number;
|
|
27
32
|
/**
|
|
28
|
-
*
|
|
33
|
+
* Sets the `role` attribute of the wrapping element of the Scheduler.
|
|
34
|
+
* When you do not set it, the Scheduler uses the `application` role.
|
|
29
35
|
*
|
|
30
|
-
* For more information, refer to the [Scheduler Accessibility Compliance](
|
|
36
|
+
* For more information, refer to the [Scheduler Accessibility Compliance](slug:accessibility_scheduler) article.
|
|
37
|
+
*
|
|
38
|
+
* @remarks
|
|
39
|
+
* This property is related to accessibility.
|
|
31
40
|
*/
|
|
32
41
|
role?: string;
|
|
33
42
|
/**
|
|
34
|
-
*
|
|
43
|
+
* Sets the `aria-labelledby` attribute of the Scheduler.
|
|
44
|
+
* Pass the `id` of the element that labels the Scheduler.
|
|
45
|
+
*
|
|
46
|
+
* For more information, refer to the [Scheduler Accessibility Compliance](slug:accessibility_scheduler) article.
|
|
35
47
|
*
|
|
36
|
-
*
|
|
48
|
+
* @remarks
|
|
49
|
+
* This property is related to accessibility.
|
|
37
50
|
*/
|
|
38
51
|
ariaLabelledby?: string;
|
|
39
52
|
/**
|
|
40
|
-
*
|
|
53
|
+
* Sets the `aria-label` attribute of the Scheduler.
|
|
41
54
|
*
|
|
42
|
-
* For more information, refer to the [Scheduler Accessibility Compliance](
|
|
55
|
+
* For more information, refer to the [Scheduler Accessibility Compliance](slug:accessibility_scheduler) article.
|
|
56
|
+
*
|
|
57
|
+
* @remarks
|
|
58
|
+
* This property is related to accessibility.
|
|
43
59
|
*/
|
|
44
60
|
ariaLabel?: string;
|
|
45
61
|
/**
|
|
46
|
-
*
|
|
62
|
+
* Sets a CSS class on the wrapping element of the Scheduler.
|
|
47
63
|
*/
|
|
48
64
|
className?: string;
|
|
49
65
|
/**
|
|
50
|
-
* Overrides the default item.
|
|
66
|
+
* Overrides the default item. Set it to a component or to the name of a slot template.
|
|
67
|
+
* The `item` property of a specific view overrides this property.
|
|
51
68
|
*
|
|
52
|
-
* The default component is: [SchedulerItem](
|
|
69
|
+
* The default component is: [SchedulerItem](slug:api_scheduler_scheduleritemprops).
|
|
53
70
|
*
|
|
54
|
-
* For more information on
|
|
71
|
+
* For more information on how to customize the Scheduler items, refer to the [Item Customization](slug:scheduler_custom_event) article.
|
|
55
72
|
*/
|
|
56
73
|
item?: any;
|
|
57
74
|
/**
|
|
58
|
-
* Overrides the default
|
|
75
|
+
* Overrides the default view item. Set it to a component or to the name of a slot template.
|
|
76
|
+
* The `viewItem` property of a specific view overrides this property.
|
|
59
77
|
*
|
|
60
|
-
* The default component is: [SchedulerViewItem](
|
|
78
|
+
* The default component is: [SchedulerViewItem](slug:api_scheduler_schedulerviewitemprops).
|
|
61
79
|
*
|
|
62
|
-
* For more information on
|
|
80
|
+
* For more information on how to customize the Scheduler items, refer to the [Item Customization](slug:scheduler_custom_event) article.
|
|
63
81
|
*/
|
|
64
82
|
viewItem?: any;
|
|
65
83
|
/**
|
|
66
|
-
* Overrides the default
|
|
84
|
+
* Overrides the default edit item. Set it to a component or to the name of a slot template.
|
|
85
|
+
* The `editItem` property of a specific view overrides this property.
|
|
67
86
|
*
|
|
68
|
-
* The default component is: [SchedulerEditItem](
|
|
87
|
+
* The default component is: [SchedulerEditItem](slug:api_scheduler_scheduleredititemprops).
|
|
69
88
|
*
|
|
70
|
-
* For more information on
|
|
89
|
+
* For more information on how to customize the Scheduler items, refer to the [Item Customization](slug:scheduler_custom_event) article.
|
|
71
90
|
*/
|
|
72
91
|
editItem?: any;
|
|
73
92
|
/**
|
|
74
|
-
* Overrides the default task.
|
|
75
|
-
*
|
|
93
|
+
* Overrides the default task. Set it to a component or to the name of a slot template.
|
|
94
|
+
* The `task` property of a specific view overrides this property.
|
|
95
|
+
* Only the [AgendaView](slug:agenda_view_scheduler) uses the `task`.
|
|
76
96
|
*
|
|
77
|
-
* The default component is: [SchedulerTask](
|
|
97
|
+
* The default component is: [SchedulerTask](slug:api_scheduler_schedulertaskprops).
|
|
78
98
|
*
|
|
79
|
-
* For more information on
|
|
99
|
+
* For more information on how to customize the Scheduler tasks, refer to the [Task Customization](slug:overview_agenda_view_scheduler) article.
|
|
80
100
|
*/
|
|
81
101
|
task?: any;
|
|
82
102
|
/**
|
|
83
|
-
*
|
|
84
|
-
*
|
|
103
|
+
* Overrides the default date header cell. Set it to a component or to the name of a slot template.
|
|
104
|
+
* The template receives the `DateHeaderCellProps`.
|
|
85
105
|
*/
|
|
86
106
|
dateHeaderCell?: any;
|
|
87
107
|
/**
|
|
88
|
-
*
|
|
89
|
-
*
|
|
108
|
+
* Overrides the default time header cell. Set it to a component or to the name of a slot template.
|
|
109
|
+
* The template receives the `TimeHeaderCellProps`.
|
|
90
110
|
*/
|
|
91
111
|
timeHeaderCell?: any;
|
|
92
112
|
/**
|
|
93
|
-
* Overrides the default
|
|
94
|
-
*
|
|
113
|
+
* Overrides the default view task. Set it to a component or to the name of a slot template.
|
|
114
|
+
* The `viewTask` property of a specific view overrides this property.
|
|
115
|
+
* Only the [AgendaView](slug:agenda_view_scheduler) uses the `viewTask`.
|
|
95
116
|
*
|
|
96
|
-
* The default component is: [SchedulerViewTask](
|
|
117
|
+
* The default component is: [SchedulerViewTask](slug:api_scheduler_schedulerviewtaskprops).
|
|
97
118
|
*
|
|
98
|
-
* For more information on
|
|
119
|
+
* For more information on how to customize the Scheduler tasks, refer to the [Task Customization](slug:overview_agenda_view_scheduler) article.
|
|
99
120
|
*/
|
|
100
121
|
viewTask?: any;
|
|
101
122
|
/**
|
|
102
|
-
* Overrides the default
|
|
103
|
-
*
|
|
123
|
+
* Overrides the default edit task. Set it to a component or to the name of a slot template.
|
|
124
|
+
* The `editTask` property of a specific view overrides this property.
|
|
125
|
+
* Only the [AgendaView](slug:agenda_view_scheduler) uses the `editTask`.
|
|
104
126
|
*
|
|
105
|
-
* The default component is: [SchedulerEditTask](
|
|
127
|
+
* The default component is: [SchedulerEditTask](slug:api_scheduler_scheduleredittaskprops).
|
|
106
128
|
*
|
|
107
|
-
* For more information on
|
|
129
|
+
* For more information on how to customize the Scheduler tasks, refer to the [Task Customization](slug:overview_agenda_view_scheduler) article.
|
|
108
130
|
*/
|
|
109
131
|
editTask?: any;
|
|
110
132
|
/**
|
|
111
|
-
* Overrides the default header
|
|
133
|
+
* Overrides the default header of the Scheduler. Set it to a component or to the name of a slot template.
|
|
112
134
|
*
|
|
113
|
-
* The default component is: [SchedulerHeader](
|
|
135
|
+
* The default component is: [SchedulerHeader](slug:api_scheduler_schedulerheaderprops).
|
|
114
136
|
*
|
|
115
|
-
* For more information on
|
|
137
|
+
* For more information on how to customize the Scheduler header, refer to the [Header Customization](slug:overview_header_footer_scheduler) article.
|
|
116
138
|
*/
|
|
117
139
|
header?: any;
|
|
118
140
|
/**
|
|
119
|
-
* Overrides the default footer
|
|
141
|
+
* Overrides the default footer of the Scheduler. Set it to a component or to the name of a slot template.
|
|
120
142
|
*
|
|
121
|
-
* The default component is: [
|
|
143
|
+
* The default component is: [SchedulerFooter](slug:api_scheduler_schedulerfooterprops).
|
|
122
144
|
*
|
|
123
|
-
* For more information on
|
|
145
|
+
* For more information on how to customize the Scheduler footer, refer to the [Footer Customization](slug:overview_header_footer_scheduler) article.
|
|
124
146
|
*/
|
|
125
147
|
footer?: any;
|
|
126
148
|
/**
|
|
127
149
|
* Enables the adaptive (mobile) rendering of the Scheduler.
|
|
128
|
-
* When set to `true`, the Scheduler
|
|
150
|
+
* When you set it to `true`, the Scheduler uses mobile-specific classes and layout on small screens (below 1024px).
|
|
151
|
+
*
|
|
152
|
+
* @default true
|
|
129
153
|
*/
|
|
130
154
|
adaptive?: boolean;
|
|
131
155
|
/**
|
|
132
|
-
* Overrides the default slot
|
|
156
|
+
* Overrides the default slot. Set it to a component or to the name of a slot template.
|
|
157
|
+
* The `slot` property of a specific view overrides this property.
|
|
133
158
|
*
|
|
134
|
-
* The default component is: [SchedulerSlot](
|
|
159
|
+
* The default component is: [SchedulerSlot](slug:api_scheduler_schedulerslotprops).
|
|
135
160
|
*
|
|
136
|
-
* For more information on
|
|
161
|
+
* For more information on how to customize the Scheduler slots, refer to the [Slot Customization](slug:scheduler_custom_slot) article.
|
|
137
162
|
*/
|
|
138
163
|
slotRender?: any;
|
|
139
164
|
/**
|
|
140
|
-
* Overrides the default
|
|
165
|
+
* Overrides the default view slot. Set it to a component or to the name of a slot template.
|
|
166
|
+
* The `viewSlot` property of a specific view overrides this property.
|
|
141
167
|
*
|
|
142
|
-
* The default component is: [SchedulerViewSlot](
|
|
168
|
+
* The default component is: [SchedulerViewSlot](slug:api_scheduler_schedulerviewslotprops).
|
|
143
169
|
*
|
|
144
|
-
* For more information on
|
|
170
|
+
* For more information on how to customize the Scheduler slots, refer to the [Slot Customization](slug:scheduler_custom_slot) article.
|
|
145
171
|
*/
|
|
146
172
|
viewSlot?: any;
|
|
147
173
|
/**
|
|
148
|
-
* Overrides the default
|
|
174
|
+
* Overrides the default edit slot. Set it to a component or to the name of a slot template.
|
|
175
|
+
* The `editSlot` property of a specific view overrides this property.
|
|
149
176
|
*
|
|
150
|
-
* The default component is: [SchedulerEditSlot](
|
|
177
|
+
* The default component is: [SchedulerEditSlot](slug:api_scheduler_schedulereditslotprops).
|
|
151
178
|
*
|
|
152
|
-
* For more information on
|
|
179
|
+
* For more information on how to customize the Scheduler slots, refer to the [Slot Customization](slug:scheduler_custom_slot) article.
|
|
153
180
|
*/
|
|
154
181
|
editSlot?: any;
|
|
155
182
|
/** @hidden */
|
|
@@ -171,19 +198,25 @@ export interface SchedulerProps {
|
|
|
171
198
|
/** @hidden */
|
|
172
199
|
formProps?: any;
|
|
173
200
|
/**
|
|
174
|
-
* Sets the
|
|
201
|
+
* Sets the views that the Scheduler shows.
|
|
202
|
+
*
|
|
203
|
+
* @default []
|
|
175
204
|
*/
|
|
176
205
|
views?: SchedulerViewProps[];
|
|
177
206
|
/**
|
|
178
|
-
* Sets the
|
|
207
|
+
* Sets the selected view. The Scheduler matches the value with the `name` property of each view.
|
|
179
208
|
*/
|
|
180
209
|
view?: string;
|
|
181
210
|
/**
|
|
182
|
-
* Sets the data of the Scheduler
|
|
211
|
+
* Sets the data of the Scheduler. The Scheduler parses the data and shows it as Scheduler items.
|
|
212
|
+
*
|
|
213
|
+
* @default []
|
|
183
214
|
*/
|
|
184
215
|
dataItems?: DataItem[];
|
|
185
216
|
/**
|
|
186
|
-
*
|
|
217
|
+
* Specifies if you can edit the Scheduler. Set it to a `boolean` or to an object that enables different types of editing.
|
|
218
|
+
*
|
|
219
|
+
* @default false
|
|
187
220
|
*/
|
|
188
221
|
editable?: EditableProp | boolean;
|
|
189
222
|
/**
|
|
@@ -207,9 +240,9 @@ export interface SchedulerProps {
|
|
|
207
240
|
/**
|
|
208
241
|
* Sets the initially selected view.
|
|
209
242
|
*
|
|
210
|
-
* For more information refer to the [Scheduler Views](
|
|
243
|
+
* For more information, refer to the [Scheduler Views](slug:views_scheduler) article.
|
|
211
244
|
*
|
|
212
|
-
*
|
|
245
|
+
* The available values are:
|
|
213
246
|
* * `day`
|
|
214
247
|
* * `week`
|
|
215
248
|
* * `month`
|
|
@@ -218,68 +251,75 @@ export interface SchedulerProps {
|
|
|
218
251
|
*/
|
|
219
252
|
defaultView?: string;
|
|
220
253
|
/**
|
|
221
|
-
* Sets the
|
|
254
|
+
* Sets the selected `Date`. The Scheduler passes the selected date to the selected view, which turns it into a range.
|
|
222
255
|
*/
|
|
223
256
|
date?: Date;
|
|
224
257
|
/**
|
|
225
|
-
* Sets
|
|
258
|
+
* Sets the initially selected `Date`. Use `defaultDate` to set the first date that the Scheduler shows, while the Scheduler stays in uncontrolled mode.
|
|
259
|
+
*
|
|
260
|
+
* @default new Date()
|
|
226
261
|
*/
|
|
227
262
|
defaultDate?: Date;
|
|
228
263
|
/**
|
|
229
|
-
*
|
|
264
|
+
* Sets a function that returns a custom validator for the edit form.
|
|
265
|
+
*
|
|
266
|
+
* @default () => ({})
|
|
230
267
|
*/
|
|
231
268
|
validator?: Function;
|
|
232
269
|
/**
|
|
233
|
-
*
|
|
270
|
+
* Sets a function that returns custom initial values for the fields of the edit form.
|
|
271
|
+
*
|
|
272
|
+
* @default (i: any) => i
|
|
234
273
|
*/
|
|
235
274
|
modifyInitialFormValues?: Function;
|
|
236
275
|
/**
|
|
237
|
-
*
|
|
276
|
+
* Forces the right-to-left (`rtl`) mode. For more information, refer to [RTL Support](slug:globalization_scheduler#toc-right-to-left-support).
|
|
238
277
|
*/
|
|
239
278
|
rtl?: boolean;
|
|
240
279
|
/**
|
|
241
280
|
* Sets the `height` of the Scheduler.
|
|
281
|
+
*
|
|
282
|
+
* @default 600
|
|
242
283
|
*/
|
|
243
284
|
height?: number | string;
|
|
244
285
|
/**
|
|
245
|
-
*
|
|
286
|
+
* Sets the id of the timezone that the Scheduler shows.
|
|
246
287
|
* For example, `Europe/Sofia`.
|
|
247
288
|
*
|
|
248
289
|
* Defaults to `Etc/UTC`.
|
|
249
290
|
*/
|
|
250
291
|
timezone?: string;
|
|
251
292
|
/**
|
|
252
|
-
*
|
|
293
|
+
* Sets the groups of the Scheduler.
|
|
253
294
|
*/
|
|
254
295
|
group?: SchedulerGroup;
|
|
255
296
|
/**
|
|
256
|
-
*
|
|
297
|
+
* Sets the resources of the Scheduler.
|
|
257
298
|
*/
|
|
258
299
|
resources?: SchedulerResource[];
|
|
259
300
|
/**
|
|
260
|
-
*
|
|
261
|
-
* ([see example](
|
|
301
|
+
* Sets the names of the model fields from which the Scheduler reads its data
|
|
302
|
+
* ([see example](slug:data_binding_scheduler)).
|
|
262
303
|
*/
|
|
263
304
|
modelFields?: SchedulerModelFields;
|
|
264
305
|
/**
|
|
265
|
-
*
|
|
306
|
+
* Fires when you select a new `date`.
|
|
266
307
|
*/
|
|
267
308
|
onDateChange?: (args: SchedulerDateChangeEvent) => void;
|
|
268
309
|
/**
|
|
269
|
-
*
|
|
310
|
+
* Fires when you select a new `view` ([see example](slug:views_scheduler#toc-controlling-the-selected-view)).
|
|
270
311
|
*/
|
|
271
312
|
onViewChange?: (args: SchedulerViewChangeEvent) => void;
|
|
272
313
|
/**
|
|
273
|
-
*
|
|
274
|
-
* To enable editing set the `editable` property to `true` or an [`EditableProp`](
|
|
314
|
+
* Fires each time you edit the data.
|
|
315
|
+
* To enable editing, set the `editable` property to `true` or to an [`EditableProp`](slug:api_scheduler_editableprop) object.
|
|
275
316
|
*
|
|
276
|
-
* For more information refer to the [Scheduler Editing](
|
|
317
|
+
* For more information, refer to the [Scheduler Editing](slug:editing_scheduler) article.
|
|
277
318
|
*/
|
|
278
319
|
onDataChange?: (event: SchedulerDataChangeEvent) => void;
|
|
279
320
|
}
|
|
280
321
|
/**
|
|
281
|
-
*
|
|
282
|
-
*
|
|
322
|
+
* Represents an action that the Scheduler can dispatch.
|
|
283
323
|
*/
|
|
284
324
|
export interface DataAction {
|
|
285
325
|
/**
|
|
@@ -290,11 +330,11 @@ export interface DataAction {
|
|
|
290
330
|
*/
|
|
291
331
|
type: DATA_ACTION;
|
|
292
332
|
/**
|
|
293
|
-
* Specifies if the
|
|
333
|
+
* Specifies if the Scheduler applies the action to the whole series of a recurring item. If the item does not recur, set `series` to `false`.
|
|
294
334
|
*/
|
|
295
335
|
series: boolean;
|
|
296
336
|
/**
|
|
297
|
-
*
|
|
337
|
+
* The `dataItem` that you edit.
|
|
298
338
|
*/
|
|
299
339
|
dataItem: DataItem;
|
|
300
340
|
}
|
|
@@ -304,20 +344,31 @@ export interface DateChangeEvent {
|
|
|
304
344
|
event: any;
|
|
305
345
|
}
|
|
306
346
|
/**
|
|
307
|
-
*
|
|
308
|
-
* The value is a JavaScript `Date` object.
|
|
347
|
+
* Represents the arguments of the event that fires each time the user changes the selected `date`.
|
|
309
348
|
*/
|
|
310
349
|
export interface SchedulerDateChangeEvent {
|
|
350
|
+
/**
|
|
351
|
+
* The new selected date as a JavaScript `Date` object.
|
|
352
|
+
*/
|
|
311
353
|
value: Date;
|
|
312
354
|
}
|
|
313
355
|
/**
|
|
314
|
-
*
|
|
356
|
+
* Represents the arguments of the event that fires each time the user changes the `data`.
|
|
315
357
|
*
|
|
316
|
-
* For more information, refer to the [Scheduler Data Binding](
|
|
358
|
+
* For more information, refer to the [Scheduler Data Binding](slug:data_binding_scheduler) article.
|
|
317
359
|
*/
|
|
318
360
|
export interface SchedulerDataChangeEvent {
|
|
361
|
+
/**
|
|
362
|
+
* The data items that the user creates.
|
|
363
|
+
*/
|
|
319
364
|
created: DataItem[];
|
|
365
|
+
/**
|
|
366
|
+
* The data items that the user updates.
|
|
367
|
+
*/
|
|
320
368
|
updated: DataItem[];
|
|
369
|
+
/**
|
|
370
|
+
* The data items that the user deletes.
|
|
371
|
+
*/
|
|
321
372
|
deleted: DataItem[];
|
|
322
373
|
}
|
|
323
374
|
/** @hidden */
|
|
@@ -326,14 +377,28 @@ export interface ActiveViewNameChangeEvent {
|
|
|
326
377
|
target: any;
|
|
327
378
|
}
|
|
328
379
|
/**
|
|
329
|
-
*
|
|
380
|
+
* Represents the arguments of the event that fires each time the user changes the active `view`.
|
|
330
381
|
*
|
|
331
|
-
* For more information, refer to the [Scheduler Views](
|
|
382
|
+
* For more information, refer to the [Scheduler Views](slug:views_scheduler) article.
|
|
332
383
|
*/
|
|
333
384
|
export interface SchedulerViewChangeEvent {
|
|
385
|
+
/**
|
|
386
|
+
* The `name` of the new active view.
|
|
387
|
+
*/
|
|
334
388
|
value: string;
|
|
335
389
|
}
|
|
336
|
-
/**
|
|
390
|
+
/**
|
|
391
|
+
* Represents the [Kendo UI for Vue Scheduler component](slug:overview_scheduler).
|
|
392
|
+
* Use the Scheduler to show, create, and edit events in day, week, month, agenda, and timeline views.
|
|
393
|
+
*
|
|
394
|
+
* @example
|
|
395
|
+
* ```vue
|
|
396
|
+
* <Scheduler :data-items="events" :views="views" :default-date="displayDate" :editable="true" />
|
|
397
|
+
* ```
|
|
398
|
+
*
|
|
399
|
+
* @remarks
|
|
400
|
+
* Supported children components are: {@link SchedulerItem}, {@link SchedulerViewItem}, {@link SchedulerSlot}, {@link SchedulerViewSlot}, {@link SchedulerFormEditor}.
|
|
401
|
+
*/
|
|
337
402
|
declare const Scheduler: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
338
403
|
dataItems: {
|
|
339
404
|
type: PropType<any[]>;
|
|
@@ -750,7 +815,15 @@ declare const Scheduler: import('vue').DefineComponent<import('vue').ExtractProp
|
|
|
750
815
|
dateRange: {
|
|
751
816
|
type: PropType<DateRange | ((args: import('./models/SchedulerView').SchedulerViewDateRangeArgs) => DateRange)>;
|
|
752
817
|
default: () => ({ intl, date, numberOfDays, timezone }: import('./models/SchedulerView').SchedulerViewDateRangeArgs) => DateRange;
|
|
753
|
-
};
|
|
818
|
+
}; /**
|
|
819
|
+
* Sets the `role` attribute of the wrapping element of the Scheduler.
|
|
820
|
+
* When you do not set it, the Scheduler uses the `application` role.
|
|
821
|
+
*
|
|
822
|
+
* For more information, refer to the [Scheduler Accessibility Compliance](slug:accessibility_scheduler) article.
|
|
823
|
+
*
|
|
824
|
+
* @remarks
|
|
825
|
+
* This property is related to accessibility.
|
|
826
|
+
*/
|
|
754
827
|
selectedDateFormat: {
|
|
755
828
|
type: PropType<string>;
|
|
756
829
|
default: string;
|
|
@@ -762,11 +835,7 @@ declare const Scheduler: import('vue').DefineComponent<import('vue').ExtractProp
|
|
|
762
835
|
slotDuration: {
|
|
763
836
|
type: PropType<number>;
|
|
764
837
|
default: number;
|
|
765
|
-
};
|
|
766
|
-
* The `aria-label` attribute to be applied to the Scheduler component.
|
|
767
|
-
*
|
|
768
|
-
* For more information, refer to the [Scheduler Accessibility Compliance]({% slug accessibility_scheduler %}) article
|
|
769
|
-
*/
|
|
838
|
+
};
|
|
770
839
|
slotDivisions: {
|
|
771
840
|
type: PropType<number>;
|
|
772
841
|
default: number;
|
|
@@ -800,7 +869,15 @@ declare const Scheduler: import('vue').DefineComponent<import('vue').ExtractProp
|
|
|
800
869
|
dateRange: {
|
|
801
870
|
type: PropType<DateRange | ((args: import('./models/SchedulerView').SchedulerViewDateRangeArgs) => DateRange)>;
|
|
802
871
|
default: () => ({ intl, date, numberOfDays, timezone }: import('./models/SchedulerView').SchedulerViewDateRangeArgs) => DateRange;
|
|
803
|
-
};
|
|
872
|
+
}; /**
|
|
873
|
+
* Sets the `role` attribute of the wrapping element of the Scheduler.
|
|
874
|
+
* When you do not set it, the Scheduler uses the `application` role.
|
|
875
|
+
*
|
|
876
|
+
* For more information, refer to the [Scheduler Accessibility Compliance](slug:accessibility_scheduler) article.
|
|
877
|
+
*
|
|
878
|
+
* @remarks
|
|
879
|
+
* This property is related to accessibility.
|
|
880
|
+
*/
|
|
804
881
|
selectedDateFormat: {
|
|
805
882
|
type: PropType<string>;
|
|
806
883
|
default: string;
|
|
@@ -812,11 +889,7 @@ declare const Scheduler: import('vue').DefineComponent<import('vue').ExtractProp
|
|
|
812
889
|
slotDuration: {
|
|
813
890
|
type: PropType<number>;
|
|
814
891
|
default: number;
|
|
815
|
-
};
|
|
816
|
-
* The `aria-label` attribute to be applied to the Scheduler component.
|
|
817
|
-
*
|
|
818
|
-
* For more information, refer to the [Scheduler Accessibility Compliance]({% slug accessibility_scheduler %}) article
|
|
819
|
-
*/
|
|
892
|
+
};
|
|
820
893
|
slotDivisions: {
|
|
821
894
|
type: PropType<number>;
|
|
822
895
|
default: number;
|
|
@@ -936,9 +1009,7 @@ declare const Scheduler: import('vue').DefineComponent<import('vue').ExtractProp
|
|
|
936
1009
|
timeHeaderCell: PropType<any>;
|
|
937
1010
|
slotRender: PropType<any>;
|
|
938
1011
|
viewSlot: PropType<any>;
|
|
939
|
-
resizeHint: PropType<any>;
|
|
940
|
-
* Specifies the `tabIndex` attribute of the wrapping element of the Scheduler.
|
|
941
|
-
*/
|
|
1012
|
+
resizeHint: PropType<any>;
|
|
942
1013
|
item: PropType<any>;
|
|
943
1014
|
viewItem: PropType<any>;
|
|
944
1015
|
editable: PropType<boolean | EditableProp>;
|
|
@@ -1036,9 +1107,7 @@ declare const Scheduler: import('vue').DefineComponent<import('vue').ExtractProp
|
|
|
1036
1107
|
timeHeaderCell: PropType<any>;
|
|
1037
1108
|
slotRender: PropType<any>;
|
|
1038
1109
|
viewSlot: PropType<any>;
|
|
1039
|
-
resizeHint: PropType<any>;
|
|
1040
|
-
* Specifies the `tabIndex` attribute of the wrapping element of the Scheduler.
|
|
1041
|
-
*/
|
|
1110
|
+
resizeHint: PropType<any>;
|
|
1042
1111
|
item: PropType<any>;
|
|
1043
1112
|
viewItem: PropType<any>;
|
|
1044
1113
|
editable: PropType<boolean | EditableProp>;
|
|
@@ -1148,18 +1217,9 @@ declare const Scheduler: import('vue').DefineComponent<import('vue').ExtractProp
|
|
|
1148
1217
|
type: PropType<boolean>;
|
|
1149
1218
|
default: boolean;
|
|
1150
1219
|
};
|
|
1151
|
-
/**
|
|
1152
|
-
* Represents the props of the [Kendo UI for Vue Scheduler component]({% slug overview_scheduler %}).
|
|
1153
|
-
*/
|
|
1154
1220
|
format: PropType<string>;
|
|
1155
1221
|
}>, {}, {}, {}, {
|
|
1156
|
-
handleDataAction(action: DataAction): void;
|
|
1157
|
-
* Overrides the default viewItem. Specifying the `viewItem` property of a specific view will override this property.
|
|
1158
|
-
*
|
|
1159
|
-
* The default component is: [SchedulerViewItem]({% slug api_scheduler_schedulerviewitemprops %})
|
|
1160
|
-
*
|
|
1161
|
-
* For more information on customizing the scheduler items, refer to the [Item Customization]({% slug scheduler_custom_event %}) article.
|
|
1162
|
-
*/
|
|
1222
|
+
handleDataAction(action: DataAction): void;
|
|
1163
1223
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1164
1224
|
dataaction: any;
|
|
1165
1225
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -1244,9 +1304,6 @@ declare const Scheduler: import('vue').DefineComponent<import('vue').ExtractProp
|
|
|
1244
1304
|
type: PropType<boolean>;
|
|
1245
1305
|
default: boolean;
|
|
1246
1306
|
};
|
|
1247
|
-
/**
|
|
1248
|
-
* Represents the props of the [Kendo UI for Vue Scheduler component]({% slug overview_scheduler %}).
|
|
1249
|
-
*/
|
|
1250
1307
|
format: PropType<string>;
|
|
1251
1308
|
}>> & Readonly<{
|
|
1252
1309
|
onDataaction?: (...args: any) => any;
|