@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/items/SchedulerItem.d.ts
CHANGED
|
@@ -10,34 +10,37 @@ import { Item, SchedulerItemDragEvent, SchedulerItemFocusEvent, SchedulerItemMou
|
|
|
10
10
|
import { SchedulerOccurrenceDialogStateChangeEvent } from '../components/SchedulerOccurrenceDialog';
|
|
11
11
|
import { PropType } from 'vue';
|
|
12
12
|
/**
|
|
13
|
-
* Represents the props of the Kendo UI for Vue [SchedulerItem](
|
|
13
|
+
* Represents the props of the Kendo UI for Vue [SchedulerItem](slug:api_scheduler_scheduleritemprops) component.
|
|
14
14
|
*/
|
|
15
15
|
export interface SchedulerItemProps extends Item {
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Sets the `id` of the wrapping element of the SchedulerItem.
|
|
18
18
|
*/
|
|
19
19
|
id?: string;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Sets the `tabIndex` attribute of the wrapping element of the SchedulerItem.
|
|
22
22
|
*
|
|
23
|
-
*
|
|
23
|
+
* When you set it to `null`, the SchedulerItem does not apply a `tabIndex` to the element.
|
|
24
|
+
*
|
|
25
|
+
* @remarks
|
|
26
|
+
* This property is related to accessibility.
|
|
24
27
|
*/
|
|
25
28
|
tabIndex?: number | null;
|
|
26
29
|
/**
|
|
27
|
-
*
|
|
30
|
+
* Sets a CSS class on the wrapping element of the SchedulerItem.
|
|
28
31
|
*
|
|
29
|
-
* The SchedulerItem applies the following default
|
|
32
|
+
* The SchedulerItem applies the following default classes:
|
|
30
33
|
* - `k-event`
|
|
31
|
-
* - `k-selected` - if `
|
|
32
|
-
* - `k-event-drag-hint` - if `
|
|
33
|
-
* - `k-scheduler-marquee` - if `
|
|
34
|
-
* - `k-marquee`: if `
|
|
35
|
-
* - `k-first`: if `
|
|
36
|
-
* - `k-last`: if `
|
|
34
|
+
* - `k-selected` - if `selected` is `true`
|
|
35
|
+
* - `k-event-drag-hint` - if `dragHint` is `true`
|
|
36
|
+
* - `k-scheduler-marquee` - if `resizeHint` is `true`
|
|
37
|
+
* - `k-marquee`: if `resizeHint` is `true`
|
|
38
|
+
* - `k-first`: if `resizeHint` is `true` and `tail` is `false`
|
|
39
|
+
* - `k-last`: if `resizeHint` is `true` and `head` is `false`
|
|
37
40
|
*/
|
|
38
41
|
className?: string;
|
|
39
42
|
/**
|
|
40
|
-
*
|
|
43
|
+
* Sets the `style` object of the wrapping element of the SchedulerItem.
|
|
41
44
|
*
|
|
42
45
|
* The SchedulerItem applies the following default styles:
|
|
43
46
|
* - `cursor`: `pointer`
|
|
@@ -49,133 +52,136 @@ export interface SchedulerItemProps extends Item {
|
|
|
49
52
|
*/
|
|
50
53
|
itemStyle?: any;
|
|
51
54
|
/**
|
|
52
|
-
* Overrides the `editable` prop of the
|
|
55
|
+
* Overrides the `editable` prop of the Scheduler and the active view.
|
|
53
56
|
*/
|
|
54
57
|
editable?: EditableProp | boolean;
|
|
55
58
|
/**
|
|
56
|
-
* Specifies if the event is read-only. When `true`, applies the `k-readonly` CSS class
|
|
59
|
+
* Specifies if the event is read-only. When `true`, the SchedulerItem applies the `k-readonly` CSS class and sets `aria-disabled` to `true`.
|
|
60
|
+
*
|
|
61
|
+
* @remarks
|
|
62
|
+
* This property is related to accessibility.
|
|
57
63
|
*/
|
|
58
64
|
readonly?: boolean;
|
|
59
65
|
/**
|
|
60
|
-
* Sets the selected state of the
|
|
66
|
+
* Sets the selected state of the SchedulerItem. When `selected` is `true`, the SchedulerItem adds the `k-selected` class by default.
|
|
61
67
|
*/
|
|
62
68
|
selected?: boolean;
|
|
63
69
|
/**
|
|
64
|
-
* Specifies the
|
|
70
|
+
* Specifies if the SchedulerItem uses vertical orientation.
|
|
65
71
|
*/
|
|
66
72
|
vertical?: boolean;
|
|
67
73
|
/**
|
|
68
|
-
* Specifies if the
|
|
74
|
+
* Specifies if the SchedulerItem acts as a drag hint.
|
|
69
75
|
*/
|
|
70
76
|
dragHint?: boolean;
|
|
71
77
|
/**
|
|
72
|
-
* Specifies if the
|
|
78
|
+
* Specifies if the SchedulerItem acts as a resize hint.
|
|
73
79
|
*/
|
|
74
80
|
resizeHint?: boolean;
|
|
75
81
|
/**
|
|
76
|
-
*
|
|
82
|
+
* Sets the `format` in which the SchedulerItem shows the `zonedStart` and `zonedEnd` properties.
|
|
77
83
|
*
|
|
78
|
-
* For more information, refer to the [formatDate](
|
|
84
|
+
* For more information, refer to the [formatDate](slug:api_intl_intlservice#toc-formatdate) method of the [IntlService](slug:overview_globalization).
|
|
79
85
|
*/
|
|
80
86
|
format?: string;
|
|
81
87
|
/**
|
|
82
|
-
*
|
|
88
|
+
* Fires each time the element, or any of its child elements, receives focus.
|
|
83
89
|
*/
|
|
84
90
|
onFocus?: (event: SchedulerItemFocusEvent) => void;
|
|
85
91
|
/**
|
|
86
|
-
*
|
|
92
|
+
* Fires each time the element, or any of its child elements, loses focus.
|
|
87
93
|
*/
|
|
88
94
|
onBlur?: (event: SchedulerItemFocusEvent) => void;
|
|
89
95
|
/**
|
|
90
|
-
*
|
|
96
|
+
* Fires each time the element, or any of its child elements, receives a `mousedown` event.
|
|
91
97
|
*/
|
|
92
98
|
onMouseDown?: (event: SchedulerItemMouseEvent) => void;
|
|
93
99
|
/**
|
|
94
|
-
*
|
|
100
|
+
* Fires each time the element, or any of its child elements, receives a `mouseup` event.
|
|
95
101
|
*/
|
|
96
102
|
onMouseUp?: (event: SchedulerItemMouseEvent) => void;
|
|
97
103
|
/**
|
|
98
|
-
*
|
|
104
|
+
* Fires each time you click the element or any of its child elements.
|
|
99
105
|
*/
|
|
100
106
|
onClick?: (event: SchedulerItemMouseEvent) => void;
|
|
101
107
|
/**
|
|
102
|
-
*
|
|
108
|
+
* Fires each time the element, or any of its child elements, receives a `mouseenter` event.
|
|
103
109
|
*/
|
|
104
110
|
onMouseEnter?: (event: SchedulerItemMouseEvent) => void;
|
|
105
111
|
/**
|
|
106
|
-
*
|
|
112
|
+
* Fires each time the element, or any of its child elements, receives a `mouseleave` event.
|
|
107
113
|
*/
|
|
108
114
|
onMouseLeave?: (event: SchedulerItemMouseEvent) => void;
|
|
109
115
|
/**
|
|
110
|
-
*
|
|
116
|
+
* Fires each time the element, or any of its child elements, receives a `mouseover` event.
|
|
111
117
|
*/
|
|
112
118
|
onMouseOver?: (event: SchedulerItemMouseEvent) => void;
|
|
113
119
|
/**
|
|
114
|
-
*
|
|
120
|
+
* Fires each time the element, or any of its child elements, receives a `mouseout` event.
|
|
115
121
|
*/
|
|
116
122
|
onMouseOut?: (event: SchedulerItemMouseEvent) => void;
|
|
117
123
|
/**
|
|
118
|
-
*
|
|
124
|
+
* Fires each time you double-click the element or any of its child elements.
|
|
119
125
|
*/
|
|
120
126
|
onDoubleClick?: (event: SchedulerItemMouseEvent) => void;
|
|
121
127
|
/**
|
|
122
|
-
*
|
|
128
|
+
* Fires when you click the `delete` icon.
|
|
123
129
|
*
|
|
124
|
-
* The `delete` icon
|
|
130
|
+
* The SchedulerItem shows the `delete` icon only when `editable` or `editable.remove` is `true`.
|
|
125
131
|
*/
|
|
126
132
|
onRemoveClick?: (event: SchedulerItemMouseEvent) => void;
|
|
127
133
|
/**
|
|
128
|
-
*
|
|
134
|
+
* Fires each time a `keydown` event reaches the wrapping element.
|
|
129
135
|
*/
|
|
130
136
|
onKeyDown?: (event: SchedulerItemKeyboardEvent) => void;
|
|
131
137
|
/**
|
|
132
|
-
*
|
|
138
|
+
* Fires each time a `keypress` event reaches the wrapping element.
|
|
133
139
|
*/
|
|
134
140
|
onKeyPress?: (event: SchedulerItemKeyboardEvent) => void;
|
|
135
141
|
/**
|
|
136
|
-
*
|
|
142
|
+
* Fires each time a `keyup` event reaches the wrapping element.
|
|
137
143
|
*/
|
|
138
144
|
onKeyUp?: (event: SchedulerItemKeyboardEvent) => void;
|
|
139
145
|
/**
|
|
140
|
-
*
|
|
146
|
+
* Fires each time the element receives a `press` event.
|
|
141
147
|
*
|
|
142
|
-
*
|
|
148
|
+
* The [`Drag & Drop`](slug:editing_scheduler) feature of the SchedulerItem uses this event.
|
|
143
149
|
*/
|
|
144
150
|
onPress?: (event: SchedulerItemDragEvent) => void;
|
|
145
151
|
/**
|
|
146
|
-
*
|
|
152
|
+
* Fires each time you drag the element.
|
|
147
153
|
*
|
|
148
|
-
*
|
|
154
|
+
* The [`Drag & Drop`](slug:editing_scheduler) feature of the SchedulerItem uses this event.
|
|
149
155
|
*/
|
|
150
156
|
onDrag?: (event: SchedulerItemDragEvent) => void;
|
|
151
157
|
/**
|
|
152
|
-
*
|
|
158
|
+
* Fires when you release the dragged element.
|
|
153
159
|
*
|
|
154
|
-
*
|
|
160
|
+
* The [`Drag & Drop`](slug:editing_scheduler) feature of the SchedulerItem uses this event.
|
|
155
161
|
*/
|
|
156
162
|
onRelease?: (event: SchedulerItemDragEvent) => void;
|
|
157
163
|
/**
|
|
158
|
-
*
|
|
164
|
+
* Fires each time any of the resize handles receives a `press` event.
|
|
159
165
|
*
|
|
160
|
-
*
|
|
166
|
+
* The [`Resize`](slug:editing_scheduler) feature of the SchedulerItem uses this event.
|
|
161
167
|
*/
|
|
162
168
|
onResizePress?: (event: SchedulerItemDragEvent) => void;
|
|
163
169
|
/**
|
|
164
|
-
*
|
|
170
|
+
* Fires each time you drag the resize handle of the item `start`.
|
|
165
171
|
*
|
|
166
|
-
*
|
|
172
|
+
* The [`Resize`](slug:editing_scheduler) feature of the SchedulerItem uses this event.
|
|
167
173
|
*/
|
|
168
174
|
onResizeStartDrag?: (event: SchedulerItemDragEvent) => void;
|
|
169
175
|
/**
|
|
170
|
-
*
|
|
176
|
+
* Fires each time you drag the resize handle of the item `end`.
|
|
171
177
|
*
|
|
172
|
-
*
|
|
178
|
+
* The [`Resize`](slug:editing_scheduler) feature of the SchedulerItem uses this event.
|
|
173
179
|
*/
|
|
174
180
|
onResizeEndDrag?: (event: SchedulerItemDragEvent) => void;
|
|
175
181
|
/**
|
|
176
|
-
*
|
|
182
|
+
* Fires when you release the dragged resize handle.
|
|
177
183
|
*
|
|
178
|
-
*
|
|
184
|
+
* The [`Resize`](slug:editing_scheduler) feature of the SchedulerItem uses this event.
|
|
179
185
|
*/
|
|
180
186
|
onResizeRelease?: (event: SchedulerItemDragEvent) => void;
|
|
181
187
|
/** @hidden */
|
|
@@ -205,7 +211,13 @@ export interface SchedulerItemHandle {
|
|
|
205
211
|
props: SchedulerItemProps;
|
|
206
212
|
}
|
|
207
213
|
/**
|
|
208
|
-
*
|
|
214
|
+
* Represents the Kendo UI for Vue SchedulerItem component.
|
|
215
|
+
* Use it in a custom item template to change how the Scheduler shows a single event ([see example](slug:scheduler_custom_event)).
|
|
216
|
+
*
|
|
217
|
+
* @example
|
|
218
|
+
* ```vue
|
|
219
|
+
* <SchedulerItem v-bind="props" :item-style="{ backgroundColor: '#56ca85' }" />
|
|
220
|
+
* ```
|
|
209
221
|
*/
|
|
210
222
|
declare const SchedulerItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
211
223
|
uid: PropType<string | number>;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { PropType } from 'vue';
|
|
9
9
|
/**
|
|
10
|
-
* Represents the props of the [SchedulerItemContent](
|
|
10
|
+
* Represents the props of the [SchedulerItemContent](slug:api_scheduler_scheduleritemcontentprops) component.
|
|
11
11
|
* Extends the [native `div` props`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDivElement).
|
|
12
12
|
*/
|
|
13
13
|
export interface SchedulerItemContentProps {
|
|
@@ -9,7 +9,7 @@ import { SchedulerItemProps, SchedulerItemHandle } from './SchedulerItem';
|
|
|
9
9
|
import { SchedulerSlotProps } from '../slots/SchedulerSlot';
|
|
10
10
|
import { PropType } from 'vue';
|
|
11
11
|
/**
|
|
12
|
-
* Represents the props of the Kendo UI for Vue [SchedulerViewItem](
|
|
12
|
+
* Represents the props of the Kendo UI for Vue [SchedulerViewItem](slug:api_scheduler_schedulerviewitemprops) component.
|
|
13
13
|
*/
|
|
14
14
|
export interface SchedulerViewItemProps extends SchedulerItemProps {
|
|
15
15
|
/** @hidden */
|
|
@@ -45,9 +45,9 @@ export interface SchedulerViewItemProps extends SchedulerItemProps {
|
|
|
45
45
|
/** @hidden */
|
|
46
46
|
onResizerelease?: (e: any) => void;
|
|
47
47
|
/**
|
|
48
|
-
* Overrides the default component
|
|
48
|
+
* Overrides the default component that shows a single item. Set it to a component or to the name of a slot template.
|
|
49
49
|
*
|
|
50
|
-
* The default
|
|
50
|
+
* The default component is: [SchedulerItem](slug:api_scheduler_scheduleritemprops).
|
|
51
51
|
*/
|
|
52
52
|
item?: any;
|
|
53
53
|
}
|
|
@@ -57,7 +57,13 @@ export interface SchedulerViewItemHandle {
|
|
|
57
57
|
props: SchedulerViewItemProps;
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* Represents the Kendo UI for Vue SchedulerViewItem component.
|
|
61
|
+
* Use it in a custom view item template to change the view-specific layout of a Scheduler event, such as its size and position ([see example](slug:auto_item_height_scheduler)).
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* ```vue
|
|
65
|
+
* <SchedulerViewItem v-bind="props" :item-style="{ height: 'auto' }" />
|
|
66
|
+
* ```
|
|
61
67
|
*/
|
|
62
68
|
declare const SchedulerViewItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
63
69
|
ignoreIsAllDay: PropType<boolean>;
|
package/models/DataItem.d.ts
CHANGED
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
|
-
* Represents the items which the [`dataItems`](
|
|
9
|
+
* Represents the items which the [`dataItems`](slug:api_scheduler_schedulerprops#toc-dataitems) property accepts.
|
|
10
10
|
* The `data` has no strict type. However, to visualize it correctly,
|
|
11
|
-
* use it in combination with the [`modelFields`](
|
|
11
|
+
* use it in combination with the [`modelFields`](slug:api_scheduler_schedulerprops#toc-modelfields) property.
|
|
12
12
|
* For more information, refer to the article on
|
|
13
|
-
* [binding the Scheduler to data](
|
|
13
|
+
* [binding the Scheduler to data](slug:data_binding_scheduler).
|
|
14
14
|
*/
|
|
15
15
|
export type DataItem = any;
|
package/models/Fields.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
|
-
* Represents the combined object of the default and custom [modelFields](
|
|
9
|
+
* Represents the combined object of the default and custom [modelFields](slug:api_scheduler_schedulerprops#toc)
|
|
10
10
|
*/
|
|
11
11
|
export interface Fields {
|
|
12
12
|
id: string;
|
package/models/Group.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { SchedulerResource } from './SchedulerResource';
|
|
9
9
|
/**
|
|
10
|
-
* Represents the Scheduler `Group` object, calculated based on the [group](
|
|
10
|
+
* Represents the Scheduler `Group` object, calculated based on the [group](slug:api_scheduler_schedulerprops#toc-group) and [resources](slug:api_scheduler_schedulerprops#toc-resources)
|
|
11
11
|
*/
|
|
12
12
|
export interface Group {
|
|
13
13
|
index: number;
|
package/models/Item.d.ts
CHANGED
|
@@ -15,55 +15,55 @@ export interface Item extends Occurrence {
|
|
|
15
15
|
/** @hidden */
|
|
16
16
|
refTo?: any;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* The `ref` of the actual `item`.
|
|
19
19
|
*/
|
|
20
20
|
itemRef?: any;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Specifies if the `end` of the item is outside the current visible range.
|
|
23
23
|
*/
|
|
24
24
|
head: boolean;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Specifies if the `start` of the item is outside the current visible range.
|
|
27
27
|
*/
|
|
28
28
|
tail: boolean;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* The order of the item among its siblings.
|
|
31
31
|
*/
|
|
32
32
|
order: number | null;
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* The `start` date in the provided timezone.
|
|
35
35
|
*
|
|
36
|
-
* For more information about timezones, refer to the [Scheduler
|
|
36
|
+
* For more information about timezones, refer to the [Scheduler Timezones](slug:timezones_scheduler) article.
|
|
37
37
|
*/
|
|
38
38
|
zonedStart: ZonedDate;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* The `end` date in the provided timezone.
|
|
41
41
|
*
|
|
42
|
-
* For more information about timezones, refer to the [Scheduler
|
|
42
|
+
* For more information about timezones, refer to the [Scheduler Timezones](slug:timezones_scheduler) article.
|
|
43
43
|
*/
|
|
44
44
|
zonedEnd: ZonedDate;
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* The collection of all `slots` in which the item fits.
|
|
47
47
|
*/
|
|
48
48
|
slots: Slot[];
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* The group in which the Scheduler shows the item.
|
|
51
51
|
*/
|
|
52
52
|
group: Group;
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* The range in which the Scheduler shows the item.
|
|
55
55
|
*/
|
|
56
56
|
range: Range;
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* Specifies if the item is an exception to a recurrence rule.
|
|
59
59
|
*/
|
|
60
60
|
isException: boolean;
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* Specifies if the item is a single occurrence of a recurring `DataItem`.
|
|
63
63
|
*/
|
|
64
64
|
isRecurring: boolean;
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
66
|
+
* Specifies if the item lasts the whole day.
|
|
67
67
|
*/
|
|
68
68
|
isAllDay: boolean;
|
|
69
69
|
/** @hidden */
|
package/models/Occurrence.d.ts
CHANGED
|
@@ -55,7 +55,7 @@ export interface Occurrence {
|
|
|
55
55
|
/**
|
|
56
56
|
* Represents the original `DataItem` from which the item was created.
|
|
57
57
|
*
|
|
58
|
-
* For more information about the `data` collection, refer to the [Scheduler Data Binding](
|
|
58
|
+
* For more information about the `data` collection, refer to the [Scheduler Data Binding](slug:data_binding_scheduler) article.
|
|
59
59
|
*/
|
|
60
60
|
dataItem: DataItem;
|
|
61
61
|
}
|
|
@@ -10,7 +10,7 @@ import { DateRange } from './DateRange';
|
|
|
10
10
|
import { Day } from '@progress/kendo-date-math';
|
|
11
11
|
import { DataAction } from '../Scheduler';
|
|
12
12
|
/**
|
|
13
|
-
* Represents the arguments which are passed to the [dateRange](
|
|
13
|
+
* Represents the arguments which are passed to the [dateRange](slug:api_scheduler_schedulerviewprops#toc-daterange) function.
|
|
14
14
|
*/
|
|
15
15
|
export interface SchedulerViewDateRangeArgs {
|
|
16
16
|
date: Date;
|
|
@@ -23,7 +23,7 @@ export interface SchedulerViewDateRangeArgs {
|
|
|
23
23
|
/** @hidden */
|
|
24
24
|
export type SchedulerViewDateRangeFunction = (args: SchedulerViewDateRangeArgs) => DateRange;
|
|
25
25
|
/**
|
|
26
|
-
* Represents the required props which every [SchedulerView](
|
|
26
|
+
* Represents the required props which every [SchedulerView](slug:api_scheduler_schedulerviewprops) must accept.
|
|
27
27
|
*/
|
|
28
28
|
export interface SchedulerViewProps {
|
|
29
29
|
/**
|
|
@@ -60,7 +60,7 @@ export interface SchedulerViewProps {
|
|
|
60
60
|
/**
|
|
61
61
|
* Overrides the `dateRange` calculated by the `Scheduler` component.
|
|
62
62
|
*
|
|
63
|
-
* If a function is passed, an object of type [SchedulerViewDateRangeArgs](
|
|
63
|
+
* If a function is passed, an object of type [SchedulerViewDateRangeArgs](slug:api_scheduler_schedulerviewdaterangeargs) will be passed.
|
|
64
64
|
*/
|
|
65
65
|
dateRange?: DateRange | ((args: SchedulerViewDateRangeArgs) => DateRange);
|
|
66
66
|
/** @hidden */
|
package/models/Slot.d.ts
CHANGED
|
@@ -16,11 +16,11 @@ export interface Slot {
|
|
|
16
16
|
/** @hidden */
|
|
17
17
|
cSlot?: any;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The sequence number of the slot in the current range.
|
|
20
20
|
*/
|
|
21
21
|
index: number;
|
|
22
22
|
/**
|
|
23
|
-
* The `
|
|
23
|
+
* The `start` date of the slot.
|
|
24
24
|
*/
|
|
25
25
|
start: Date;
|
|
26
26
|
/**
|
|
@@ -28,31 +28,31 @@ export interface Slot {
|
|
|
28
28
|
*/
|
|
29
29
|
end: Date;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* The `start` date in the provided timezone.
|
|
32
32
|
*
|
|
33
|
-
* For more information about timezones, refer to the [Scheduler
|
|
33
|
+
* For more information about timezones, refer to the [Scheduler Timezones](slug:timezones_scheduler) article.
|
|
34
34
|
*/
|
|
35
35
|
zonedStart: ZonedDate;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* The `end` date in the provided timezone.
|
|
38
38
|
*
|
|
39
|
-
* For more information about timezones, refer to the [Scheduler
|
|
39
|
+
* For more information about timezones, refer to the [Scheduler Timezones](slug:timezones_scheduler) article.
|
|
40
40
|
*/
|
|
41
41
|
zonedEnd: ZonedDate;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* The collection of all `items` that fit in the slot.
|
|
44
44
|
*/
|
|
45
45
|
items: Item[];
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* The group in which the Scheduler shows the slot.
|
|
48
48
|
*/
|
|
49
49
|
group: Group;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* The range in which the Scheduler shows the slot.
|
|
52
52
|
*/
|
|
53
53
|
range: Range;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* Specifies if the slot is an all-day slot.
|
|
56
56
|
*/
|
|
57
57
|
isAllDay?: boolean;
|
|
58
58
|
}
|
package/package-metadata.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-scheduler",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate:
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-scheduler",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate: 1794913802,version:"11.0.1-develop.1",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=vue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"};exports.packageMetadata=e;
|
package/package-metadata.mjs
CHANGED
|
@@ -10,8 +10,8 @@ const e = {
|
|
|
10
10
|
productName: "Kendo UI for Vue",
|
|
11
11
|
productCode: "KENDOUIVUE",
|
|
12
12
|
productCodes: ["KENDOUIVUE"],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: "11.0.
|
|
13
|
+
publishDate: 1794913802,
|
|
14
|
+
version: "11.0.1-develop.1",
|
|
15
15
|
licensingDocsUrl: "https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=vue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
|
|
16
16
|
};
|
|
17
17
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-scheduler",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.1-develop.1",
|
|
4
4
|
"description": "TODO",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -26,18 +26,18 @@
|
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"@progress/kendo-date-math": "^1.5.13",
|
|
28
28
|
"@progress/kendo-drawing": "^1.20.1",
|
|
29
|
-
"@progress/kendo-licensing": "^1.13.
|
|
30
|
-
"@progress/kendo-vue-common": "11.0.
|
|
31
|
-
"@progress/kendo-vue-buttons": "11.0.
|
|
32
|
-
"@progress/kendo-vue-dateinputs": "11.0.
|
|
33
|
-
"@progress/kendo-vue-dialogs": "11.0.
|
|
34
|
-
"@progress/kendo-vue-dropdowns": "11.0.
|
|
35
|
-
"@progress/kendo-vue-form": "11.0.
|
|
36
|
-
"@progress/kendo-vue-inputs": "11.0.
|
|
37
|
-
"@progress/kendo-vue-intl": "11.0.
|
|
38
|
-
"@progress/kendo-vue-labels": "11.0.
|
|
39
|
-
"@progress/kendo-vue-popup": "11.0.
|
|
40
|
-
"@progress/kendo-vue-tooltip": "11.0.
|
|
29
|
+
"@progress/kendo-licensing": "^1.13.1",
|
|
30
|
+
"@progress/kendo-vue-common": "11.0.1-develop.1",
|
|
31
|
+
"@progress/kendo-vue-buttons": "11.0.1-develop.1",
|
|
32
|
+
"@progress/kendo-vue-dateinputs": "11.0.1-develop.1",
|
|
33
|
+
"@progress/kendo-vue-dialogs": "11.0.1-develop.1",
|
|
34
|
+
"@progress/kendo-vue-dropdowns": "11.0.1-develop.1",
|
|
35
|
+
"@progress/kendo-vue-form": "11.0.1-develop.1",
|
|
36
|
+
"@progress/kendo-vue-inputs": "11.0.1-develop.1",
|
|
37
|
+
"@progress/kendo-vue-intl": "11.0.1-develop.1",
|
|
38
|
+
"@progress/kendo-vue-labels": "11.0.1-develop.1",
|
|
39
|
+
"@progress/kendo-vue-popup": "11.0.1-develop.1",
|
|
40
|
+
"@progress/kendo-vue-tooltip": "11.0.1-develop.1",
|
|
41
41
|
"@progress/kendo-svg-icons": "^4.9.0 || ^5.0.0",
|
|
42
42
|
"vue": "^3.0.2"
|
|
43
43
|
},
|
|
@@ -135,6 +135,11 @@
|
|
|
135
135
|
"file": "codemods/v11/scheduler-data-action-prop-rename",
|
|
136
136
|
"prompt": false,
|
|
137
137
|
"instructionsOnly": true
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"description": "Renames SchedulerFormEditor.recurrenceButtonTextTemplate to recurrenceSummaryTemplate and RecurrenceButtonTextTemplateProps to RecurrenceSummaryTemplateProps.",
|
|
141
|
+
"file": "codemods/v11/scheduler-recurrence-template-deprecation",
|
|
142
|
+
"prompt": false
|
|
138
143
|
}
|
|
139
144
|
]
|
|
140
145
|
}
|
|
@@ -142,7 +147,7 @@
|
|
|
142
147
|
"package": {
|
|
143
148
|
"productName": "Kendo UI for Vue",
|
|
144
149
|
"productCode": "KENDOUIVUE",
|
|
145
|
-
"publishDate":
|
|
150
|
+
"publishDate": 1794913802,
|
|
146
151
|
"licensingDocsUrl": "https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=vue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
|
|
147
152
|
}
|
|
148
153
|
},
|
|
@@ -12,19 +12,19 @@ import { SchedulerQuickCreateFormStateChangeEvent } from '../components/Schedule
|
|
|
12
12
|
import { SchedulerViewSlotProps } from './SchedulerViewSlot';
|
|
13
13
|
import { h, PropType, VNodeChild } from 'vue';
|
|
14
14
|
/**
|
|
15
|
-
* Represents the props of the Kendo UI for Vue [SchedulerEditSlot](
|
|
15
|
+
* Represents the props of the Kendo UI for Vue [SchedulerEditSlot](slug:api_scheduler_schedulereditslotprops) component.
|
|
16
16
|
*/
|
|
17
17
|
export interface SchedulerEditSlotProps extends SchedulerViewSlotProps {
|
|
18
18
|
/**
|
|
19
19
|
* Overrides the default component responsible for view-specific functionality.
|
|
20
20
|
*
|
|
21
|
-
* The default Component is: [SchedulerViewSlot](
|
|
21
|
+
* The default Component is: [SchedulerViewSlot](slug:api_scheduler_schedulerviewslotprops).
|
|
22
22
|
*/
|
|
23
23
|
viewSlot?: any;
|
|
24
24
|
/**
|
|
25
25
|
* Overrides the default component responsible for visualizing the `formItem`.
|
|
26
26
|
*
|
|
27
|
-
* The default Component is: [SchedulerForm](
|
|
27
|
+
* The default Component is: [SchedulerForm](slug:api_scheduler_schedulerformprops).
|
|
28
28
|
*/
|
|
29
29
|
form?: any;
|
|
30
30
|
/**
|