@progress/kendo-vue-scheduler 3.5.0 → 3.5.1-dev.202208150613

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 (441) hide show
  1. package/README.md +2 -2
  2. package/dist/cdn/js/kendo-vue-scheduler.js +2 -16
  3. package/dist/cdn/js/kendo-vue-scheduler.js.LICENSE.txt +14 -0
  4. package/dist/es/Scheduler.js +9 -13
  5. package/dist/es/components/CurrentTimeMarker.js +3 -3
  6. package/dist/es/components/CurrentTimeMarkerArrow.js +2 -2
  7. package/dist/es/hooks/use-items-selection.js +9 -13
  8. package/dist/es/hooks/use-slots-selection.js +7 -11
  9. package/dist/es/hooks/useCellSync.js +1 -1
  10. package/dist/es/items/SchedulerItem.js +1 -1
  11. package/dist/es/items/SchedulerViewItem.js +1 -1
  12. package/dist/es/items/hooks/use-drag-item.js +7 -11
  13. package/dist/es/items/hooks/use-form-item.d.ts +5 -1
  14. package/dist/es/items/hooks/use-remove-item.d.ts +5 -1
  15. package/dist/es/items/hooks/use-resize-item.js +8 -12
  16. package/dist/es/models/DataItem.js +1 -0
  17. package/dist/es/models/DateRange.js +1 -0
  18. package/dist/es/models/EditableProp.js +1 -0
  19. package/dist/es/models/Fields.js +1 -0
  20. package/dist/es/models/Group.js +1 -0
  21. package/dist/es/models/Item.js +1 -0
  22. package/dist/es/models/NavigationAction.js +1 -0
  23. package/dist/es/models/Occurrence.js +1 -0
  24. package/dist/es/models/Omit.js +1 -0
  25. package/dist/es/models/Orientation.js +1 -0
  26. package/dist/es/models/Range.js +1 -0
  27. package/dist/es/models/Rect.js +1 -0
  28. package/dist/es/models/Resource.js +1 -0
  29. package/dist/es/models/SchedulerGroup.js +1 -0
  30. package/dist/es/models/SchedulerHandle.js +1 -0
  31. package/dist/es/models/SchedulerModelFields.js +1 -0
  32. package/dist/es/models/SchedulerResource.js +1 -0
  33. package/dist/es/models/SchedulerView.js +1 -0
  34. package/dist/es/models/Slot.js +1 -0
  35. package/dist/es/models/events.js +1 -0
  36. package/dist/es/package-metadata.js +1 -1
  37. package/dist/es/recurrence/RecurrenceRepeatOnWeekEditor.js +7 -11
  38. package/dist/es/recurrence/types/EndRule.js +1 -0
  39. package/dist/es/recurrence/types/Frequency.js +1 -0
  40. package/dist/es/recurrence/types/FrequencyEntity.js +1 -0
  41. package/dist/es/recurrence/types/MonthEntity.js +1 -0
  42. package/dist/es/recurrence/types/OffsetPosition.js +1 -0
  43. package/dist/es/recurrence/types/OffsetPositionEntity.js +1 -0
  44. package/dist/es/recurrence/types/RepeatOnRule.js +1 -0
  45. package/dist/es/recurrence/types/WeekDayEntity.js +1 -0
  46. package/dist/es/recurrence/types/WeekDayRule.js +1 -0
  47. package/dist/es/services/itemsService.js +1 -7
  48. package/dist/es/services/occurrenceService.js +10 -8
  49. package/dist/es/slots/SchedulerSlot.js +1 -1
  50. package/dist/es/utils/index.js +14 -12
  51. package/dist/es/views/agenda/AgendaView.js +2 -1
  52. package/dist/es/views/agenda/AgendaViewBody.js +2 -2
  53. package/dist/es/views/common/utils.js +14 -12
  54. package/dist/es/views/day/DayViewAllDaySlots.js +1 -1
  55. package/dist/es/views/day/DayViewMiddleRow.js +1 -1
  56. package/dist/es/views/day/DayViewVerticalRow.js +1 -1
  57. package/dist/es/views/day/DayViewVerticalSlotsRow.js +1 -1
  58. package/dist/es/views/day/MultiDayView.js +16 -20
  59. package/dist/es/views/month/MonthView.js +2 -2
  60. package/dist/es/views/time/MultiDayTimelineView.js +10 -14
  61. package/dist/es/views/time/TimelineViewBody.js +1 -1
  62. package/dist/esm/Scheduler.d.ts +341 -0
  63. package/dist/esm/Scheduler.js +656 -0
  64. package/dist/esm/additionalTypes.ts +21 -0
  65. package/dist/esm/components/BaseView.d.ts +51 -0
  66. package/dist/esm/components/BaseView.js +145 -0
  67. package/dist/esm/components/CurrentTimeMarker.d.ts +50 -0
  68. package/dist/esm/components/CurrentTimeMarker.js +168 -0
  69. package/dist/esm/components/CurrentTimeMarkerArrow.d.ts +47 -0
  70. package/dist/esm/components/CurrentTimeMarkerArrow.js +141 -0
  71. package/dist/esm/components/DateHeaderCell.d.ts +76 -0
  72. package/dist/esm/components/DateHeaderCell.js +67 -0
  73. package/dist/esm/components/SchedulerActionButtons.d.ts +48 -0
  74. package/dist/esm/components/SchedulerActionButtons.js +103 -0
  75. package/dist/esm/components/SchedulerForm.d.ts +73 -0
  76. package/dist/esm/components/SchedulerForm.js +234 -0
  77. package/dist/esm/components/SchedulerOccurrenceDialog.d.ts +76 -0
  78. package/dist/esm/components/SchedulerOccurrenceDialog.js +185 -0
  79. package/dist/esm/components/SchedulerRemoveDialog.d.ts +72 -0
  80. package/dist/esm/components/SchedulerRemoveDialog.js +166 -0
  81. package/dist/esm/components/ShowMoreItemsButton.d.ts +56 -0
  82. package/dist/esm/components/ShowMoreItemsButton.js +69 -0
  83. package/dist/esm/components/TimeHeaderCell.d.ts +76 -0
  84. package/dist/esm/components/TimeHeaderCell.js +65 -0
  85. package/dist/esm/components/footer/SchedulerFooter.d.ts +52 -0
  86. package/dist/esm/components/footer/SchedulerFooter.js +43 -0
  87. package/dist/esm/components/footer/bussiness-hours/BusinessHours.d.ts +50 -0
  88. package/dist/esm/components/footer/bussiness-hours/BusinessHours.js +96 -0
  89. package/dist/esm/components/header/SchedulerHeader.d.ts +49 -0
  90. package/dist/esm/components/header/SchedulerHeader.js +35 -0
  91. package/dist/esm/components/header/navigation/DatePickerToggleButton.d.ts +42 -0
  92. package/dist/esm/components/header/navigation/DatePickerToggleButton.js +102 -0
  93. package/dist/esm/components/header/navigation/NavigationDatePicker.d.ts +42 -0
  94. package/dist/esm/components/header/navigation/NavigationDatePicker.js +97 -0
  95. package/dist/esm/components/header/navigation/SchedulerNavigation.d.ts +49 -0
  96. package/dist/esm/components/header/navigation/SchedulerNavigation.js +354 -0
  97. package/dist/esm/components/header/view-selector/SchedulerViewSelector.d.ts +49 -0
  98. package/dist/esm/components/header/view-selector/SchedulerViewSelector.js +42 -0
  99. package/dist/esm/components/header/view-selector/ViewSelectorItem.d.ts +47 -0
  100. package/dist/esm/components/header/view-selector/ViewSelectorItem.js +79 -0
  101. package/dist/esm/components/header/view-selector/ViewSelectorList.d.ts +42 -0
  102. package/dist/esm/components/header/view-selector/ViewSelectorList.js +176 -0
  103. package/dist/esm/constants/index.d.ts +49 -0
  104. package/dist/esm/constants/index.js +55 -0
  105. package/dist/esm/context/SchedulerContext.d.ts +22 -0
  106. package/dist/esm/context/SchedulerContext.js +4 -0
  107. package/dist/esm/context/SchedulerEditItemContext.d.ts +16 -0
  108. package/dist/esm/context/SchedulerEditItemContext.js +4 -0
  109. package/dist/esm/context/SchedulerEditSlotContext.d.ts +11 -0
  110. package/dist/esm/context/SchedulerEditSlotContext.js +4 -0
  111. package/dist/esm/context/SchedulerEditTaskContext.d.ts +12 -0
  112. package/dist/esm/context/SchedulerEditTaskContext.js +4 -0
  113. package/dist/esm/context/SchedulerResourceIteratorContext.d.ts +43 -0
  114. package/dist/esm/context/SchedulerResourceIteratorContext.js +57 -0
  115. package/dist/esm/context/SchedulerViewContext.d.ts +18 -0
  116. package/dist/esm/context/SchedulerViewContext.js +4 -0
  117. package/dist/esm/context/index.d.ts +5 -0
  118. package/dist/esm/context/index.js +5 -0
  119. package/dist/esm/editors/FilterableComboBox.d.ts +42 -0
  120. package/dist/esm/editors/FilterableComboBox.js +94 -0
  121. package/dist/esm/editors/ResourceEditor.d.ts +53 -0
  122. package/dist/esm/editors/ResourceEditor.js +149 -0
  123. package/dist/esm/editors/SchedulerFormEditor.d.ts +262 -0
  124. package/dist/esm/editors/SchedulerFormEditor.js +1079 -0
  125. package/dist/esm/editors/ZonedDateTime.d.ts +51 -0
  126. package/dist/esm/editors/ZonedDateTime.js +117 -0
  127. package/dist/esm/editors/common.d.ts +12 -0
  128. package/dist/esm/editors/common.js +29 -0
  129. package/dist/esm/hooks/index.d.ts +9 -0
  130. package/dist/esm/hooks/index.js +9 -0
  131. package/dist/esm/hooks/use-items-focus.d.ts +23 -0
  132. package/dist/esm/hooks/use-items-focus.js +73 -0
  133. package/dist/esm/hooks/use-items-selection.d.ts +30 -0
  134. package/dist/esm/hooks/use-items-selection.js +109 -0
  135. package/dist/esm/hooks/use-slots-focus.d.ts +33 -0
  136. package/dist/esm/hooks/use-slots-focus.js +118 -0
  137. package/dist/esm/hooks/use-slots-selection.d.ts +23 -0
  138. package/dist/esm/hooks/use-slots-selection.js +60 -0
  139. package/dist/esm/hooks/useAsyncMouseEnterLeave.d.ts +10 -0
  140. package/dist/esm/hooks/useAsyncMouseEnterLeave.js +29 -0
  141. package/dist/esm/hooks/useCellSync.d.ts +9 -0
  142. package/dist/esm/hooks/useCellSync.js +51 -0
  143. package/dist/esm/hooks/useEditable.d.ts +3 -0
  144. package/dist/esm/hooks/useEditable.js +19 -0
  145. package/dist/esm/hooks/usePropOrState.d.ts +2 -0
  146. package/dist/esm/hooks/usePropOrState.js +8 -0
  147. package/dist/esm/hooks/useRowSync.d.ts +10 -0
  148. package/dist/esm/hooks/useRowSync.js +55 -0
  149. package/dist/esm/hooks/useSchedulerSlot.d.ts +6 -0
  150. package/dist/esm/hooks/useSchedulerSlot.js +7 -0
  151. package/dist/esm/hooks/useSlotExpand.d.ts +3 -0
  152. package/dist/esm/hooks/useSlotExpand.js +70 -0
  153. package/dist/esm/hooks/useWorkHours.d.ts +2 -0
  154. package/dist/esm/hooks/useWorkHours.js +4 -0
  155. package/dist/esm/items/SchedulerEditItem.d.ts +357 -0
  156. package/dist/esm/items/SchedulerEditItem.js +1127 -0
  157. package/dist/esm/items/SchedulerItem.d.ts +236 -0
  158. package/dist/esm/items/SchedulerItem.js +861 -0
  159. package/dist/esm/items/SchedulerItemContent.d.ts +47 -0
  160. package/dist/esm/items/SchedulerItemContent.js +37 -0
  161. package/dist/esm/items/SchedulerViewItem.d.ts +61 -0
  162. package/dist/esm/items/SchedulerViewItem.js +596 -0
  163. package/dist/esm/items/hooks/use-drag-item.d.ts +34 -0
  164. package/dist/esm/items/hooks/use-drag-item.js +255 -0
  165. package/dist/esm/items/hooks/use-form-item.d.ts +22 -0
  166. package/dist/esm/items/hooks/use-form-item.js +50 -0
  167. package/dist/esm/items/hooks/use-remove-item.d.ts +30 -0
  168. package/dist/esm/items/hooks/use-remove-item.js +48 -0
  169. package/dist/esm/items/hooks/use-resize-item.d.ts +39 -0
  170. package/dist/esm/items/hooks/use-resize-item.js +307 -0
  171. package/dist/esm/items/hooks/use-series.d.ts +25 -0
  172. package/dist/esm/items/hooks/use-series.js +44 -0
  173. package/dist/esm/items/hooks/use-show-occurrence-dialog.d.ts +29 -0
  174. package/dist/esm/items/hooks/use-show-occurrence-dialog.js +55 -0
  175. package/dist/esm/items/hooks/use-show-remove-item-dialog.d.ts +29 -0
  176. package/dist/esm/items/hooks/use-show-remove-item-dialog.js +54 -0
  177. package/dist/esm/main.d.ts +43 -0
  178. package/dist/esm/main.js +49 -0
  179. package/dist/esm/messages/index.d.ts +233 -0
  180. package/dist/esm/messages/index.js +234 -0
  181. package/dist/esm/models/DataItem.d.ts +8 -0
  182. package/dist/esm/models/DataItem.js +1 -0
  183. package/dist/esm/models/DateRange.d.ts +18 -0
  184. package/dist/esm/models/DateRange.js +1 -0
  185. package/dist/esm/models/EditableProp.d.ts +29 -0
  186. package/dist/esm/models/EditableProp.js +1 -0
  187. package/dist/esm/models/Fields.d.ts +17 -0
  188. package/dist/esm/models/Fields.js +1 -0
  189. package/dist/esm/models/Group.d.ts +8 -0
  190. package/dist/esm/models/Group.js +1 -0
  191. package/dist/esm/models/Item.d.ts +62 -0
  192. package/dist/esm/models/Item.js +1 -0
  193. package/dist/esm/models/NavigationAction.d.ts +17 -0
  194. package/dist/esm/models/NavigationAction.js +1 -0
  195. package/dist/esm/models/Occurrence.d.ts +52 -0
  196. package/dist/esm/models/Occurrence.js +1 -0
  197. package/dist/esm/models/Omit.d.ts +4 -0
  198. package/dist/esm/models/Omit.js +1 -0
  199. package/dist/esm/models/Orientation.d.ts +2 -0
  200. package/dist/esm/models/Orientation.js +1 -0
  201. package/dist/esm/models/Range.d.ts +10 -0
  202. package/dist/esm/models/Range.js +1 -0
  203. package/dist/esm/models/Rect.d.ts +15 -0
  204. package/dist/esm/models/Rect.js +1 -0
  205. package/dist/esm/models/Resource.d.ts +8 -0
  206. package/dist/esm/models/Resource.js +1 -0
  207. package/dist/esm/models/SchedulerGroup.d.ts +13 -0
  208. package/dist/esm/models/SchedulerGroup.js +1 -0
  209. package/dist/esm/models/SchedulerHandle.d.ts +6 -0
  210. package/dist/esm/models/SchedulerHandle.js +1 -0
  211. package/dist/esm/models/SchedulerModelFields.d.ts +62 -0
  212. package/dist/esm/models/SchedulerModelFields.js +1 -0
  213. package/dist/esm/models/SchedulerResource.d.ts +33 -0
  214. package/dist/esm/models/SchedulerResource.js +1 -0
  215. package/dist/esm/models/SchedulerView.d.ts +83 -0
  216. package/dist/esm/models/SchedulerView.js +1 -0
  217. package/dist/esm/models/Slot.d.ts +49 -0
  218. package/dist/esm/models/Slot.js +1 -0
  219. package/dist/esm/models/events.d.ts +81 -0
  220. package/dist/esm/models/events.js +1 -0
  221. package/dist/esm/models/index.d.ts +17 -0
  222. package/dist/esm/models/index.js +17 -0
  223. package/dist/esm/package-metadata.d.ts +5 -0
  224. package/dist/esm/package-metadata.js +11 -0
  225. package/dist/esm/package.json +3 -0
  226. package/dist/esm/recurrence/RecurrenceEditor.d.ts +54 -0
  227. package/dist/esm/recurrence/RecurrenceEditor.js +772 -0
  228. package/dist/esm/recurrence/RecurrenceFrequencyEditor.d.ts +48 -0
  229. package/dist/esm/recurrence/RecurrenceFrequencyEditor.js +101 -0
  230. package/dist/esm/recurrence/RecurrenceRepeatOnWeekEditor.d.ts +51 -0
  231. package/dist/esm/recurrence/RecurrenceRepeatOnWeekEditor.js +135 -0
  232. package/dist/esm/recurrence/common.d.ts +57 -0
  233. package/dist/esm/recurrence/common.js +212 -0
  234. package/dist/esm/recurrence/types/EndRule.d.ts +4 -0
  235. package/dist/esm/recurrence/types/EndRule.js +1 -0
  236. package/dist/esm/recurrence/types/Frequency.d.ts +4 -0
  237. package/dist/esm/recurrence/types/Frequency.js +1 -0
  238. package/dist/esm/recurrence/types/FrequencyEntity.d.ts +8 -0
  239. package/dist/esm/recurrence/types/FrequencyEntity.js +1 -0
  240. package/dist/esm/recurrence/types/MonthEntity.d.ts +7 -0
  241. package/dist/esm/recurrence/types/MonthEntity.js +1 -0
  242. package/dist/esm/recurrence/types/OffsetPosition.d.ts +4 -0
  243. package/dist/esm/recurrence/types/OffsetPosition.js +1 -0
  244. package/dist/esm/recurrence/types/OffsetPositionEntity.d.ts +7 -0
  245. package/dist/esm/recurrence/types/OffsetPositionEntity.js +1 -0
  246. package/dist/esm/recurrence/types/RepeatOnRule.d.ts +4 -0
  247. package/dist/esm/recurrence/types/RepeatOnRule.js +1 -0
  248. package/dist/esm/recurrence/types/WeekDayEntity.d.ts +7 -0
  249. package/dist/esm/recurrence/types/WeekDayEntity.js +1 -0
  250. package/dist/esm/recurrence/types/WeekDayRule.d.ts +8 -0
  251. package/dist/esm/recurrence/types/WeekDayRule.js +1 -0
  252. package/dist/esm/recurrence/utils/index.d.ts +1 -0
  253. package/dist/esm/recurrence/utils/index.js +0 -0
  254. package/dist/esm/reducers/editReducer.d.ts +33 -0
  255. package/dist/esm/reducers/editReducer.js +65 -0
  256. package/dist/esm/reducers/index.d.ts +1 -0
  257. package/dist/esm/reducers/index.js +1 -0
  258. package/dist/esm/services/index.d.ts +4 -0
  259. package/dist/esm/services/index.js +4 -0
  260. package/dist/esm/services/itemsService.d.ts +14 -0
  261. package/dist/esm/services/itemsService.js +76 -0
  262. package/dist/esm/services/occurrenceService.d.ts +7 -0
  263. package/dist/esm/services/occurrenceService.js +92 -0
  264. package/dist/esm/services/rangeService.d.ts +6 -0
  265. package/dist/esm/services/rangeService.js +23 -0
  266. package/dist/esm/services/slotsService.d.ts +8 -0
  267. package/dist/esm/services/slotsService.js +42 -0
  268. package/dist/esm/slots/SchedulerEditSlot.d.ts +80 -0
  269. package/dist/esm/slots/SchedulerEditSlot.js +375 -0
  270. package/dist/esm/slots/SchedulerSlot.d.ts +144 -0
  271. package/dist/esm/slots/SchedulerSlot.js +345 -0
  272. package/dist/esm/slots/SchedulerViewSlot.d.ts +73 -0
  273. package/dist/esm/slots/SchedulerViewSlot.js +220 -0
  274. package/dist/esm/tasks/SchedulerEditTask.d.ts +113 -0
  275. package/dist/esm/tasks/SchedulerEditTask.js +330 -0
  276. package/dist/esm/tasks/SchedulerTask.d.ts +82 -0
  277. package/dist/esm/tasks/SchedulerTask.js +223 -0
  278. package/dist/esm/tasks/SchedulerViewTask.d.ts +58 -0
  279. package/dist/esm/tasks/SchedulerViewTask.js +160 -0
  280. package/dist/esm/utils/index.d.ts +185 -0
  281. package/dist/esm/utils/index.js +591 -0
  282. package/dist/esm/views/agenda/AgendaView.d.ts +107 -0
  283. package/dist/esm/views/agenda/AgendaView.js +342 -0
  284. package/dist/esm/views/agenda/AgendaViewBody.d.ts +50 -0
  285. package/dist/esm/views/agenda/AgendaViewBody.js +225 -0
  286. package/dist/esm/views/agenda/AgendaViewHead.d.ts +46 -0
  287. package/dist/esm/views/agenda/AgendaViewHead.js +58 -0
  288. package/dist/esm/views/agenda/AgendaViewHeaderItem.d.ts +46 -0
  289. package/dist/esm/views/agenda/AgendaViewHeaderItem.js +49 -0
  290. package/dist/esm/views/common/HorizontalResourceIterator.d.ts +61 -0
  291. package/dist/esm/views/common/HorizontalResourceIterator.js +185 -0
  292. package/dist/esm/views/common/SchedulerDrag.d.ts +64 -0
  293. package/dist/esm/views/common/SchedulerDrag.js +147 -0
  294. package/dist/esm/views/common/SchedulerResize.d.ts +67 -0
  295. package/dist/esm/views/common/SchedulerResize.js +152 -0
  296. package/dist/esm/views/common/VerticalResourceIterator.d.ts +56 -0
  297. package/dist/esm/views/common/VerticalResourceIterator.js +382 -0
  298. package/dist/esm/views/common/utils.d.ts +34 -0
  299. package/dist/esm/views/common/utils.js +189 -0
  300. package/dist/esm/views/day/DayView.d.ts +43 -0
  301. package/dist/esm/views/day/DayView.js +193 -0
  302. package/dist/esm/views/day/DayViewAllDayRowContent.d.ts +41 -0
  303. package/dist/esm/views/day/DayViewAllDayRowContent.js +42 -0
  304. package/dist/esm/views/day/DayViewAllDaySlots.d.ts +48 -0
  305. package/dist/esm/views/day/DayViewAllDaySlots.js +111 -0
  306. package/dist/esm/views/day/DayViewGroupRowContent.d.ts +41 -0
  307. package/dist/esm/views/day/DayViewGroupRowContent.js +35 -0
  308. package/dist/esm/views/day/DayViewHead.d.ts +42 -0
  309. package/dist/esm/views/day/DayViewHead.js +64 -0
  310. package/dist/esm/views/day/DayViewMiddleRow.d.ts +53 -0
  311. package/dist/esm/views/day/DayViewMiddleRow.js +118 -0
  312. package/dist/esm/views/day/DayViewRowContent.d.ts +45 -0
  313. package/dist/esm/views/day/DayViewRowContent.js +53 -0
  314. package/dist/esm/views/day/DayViewVerticalRow.d.ts +44 -0
  315. package/dist/esm/views/day/DayViewVerticalRow.js +108 -0
  316. package/dist/esm/views/day/DayViewVerticalSlotsRow.d.ts +56 -0
  317. package/dist/esm/views/day/DayViewVerticalSlotsRow.js +157 -0
  318. package/dist/esm/views/day/MultiDayView.d.ts +181 -0
  319. package/dist/esm/views/day/MultiDayView.js +1461 -0
  320. package/dist/esm/views/month/MonthView.d.ts +102 -0
  321. package/dist/esm/views/month/MonthView.js +658 -0
  322. package/dist/esm/views/month/MonthViewBody.d.ts +48 -0
  323. package/dist/esm/views/month/MonthViewBody.js +143 -0
  324. package/dist/esm/views/month/MonthViewHead.d.ts +42 -0
  325. package/dist/esm/views/month/MonthViewHead.js +72 -0
  326. package/dist/esm/views/time/MultiDayTimelineView.d.ts +175 -0
  327. package/dist/esm/views/time/MultiDayTimelineView.js +859 -0
  328. package/dist/esm/views/time/TimelineView.d.ts +43 -0
  329. package/dist/esm/views/time/TimelineView.js +201 -0
  330. package/dist/esm/views/time/TimelineViewAllEventsRowContent.d.ts +40 -0
  331. package/dist/esm/views/time/TimelineViewAllEventsRowContent.js +44 -0
  332. package/dist/esm/views/time/TimelineViewBody.d.ts +49 -0
  333. package/dist/esm/views/time/TimelineViewBody.js +119 -0
  334. package/dist/esm/views/time/TimelineViewRowContent.d.ts +40 -0
  335. package/dist/esm/views/time/TimelineViewRowContent.js +31 -0
  336. package/dist/esm/views/week/WeekView.d.ts +114 -0
  337. package/dist/esm/views/week/WeekView.js +219 -0
  338. package/dist/esm/views/week/WorkWeekView.d.ts +40 -0
  339. package/dist/esm/views/week/WorkWeekView.js +208 -0
  340. package/dist/npm/Scheduler.js +52 -56
  341. package/dist/npm/components/BaseView.js +3 -3
  342. package/dist/npm/components/CurrentTimeMarker.js +10 -10
  343. package/dist/npm/components/CurrentTimeMarkerArrow.js +8 -8
  344. package/dist/npm/components/DateHeaderCell.js +1 -1
  345. package/dist/npm/components/SchedulerForm.js +2 -2
  346. package/dist/npm/components/SchedulerOccurrenceDialog.js +2 -2
  347. package/dist/npm/components/SchedulerRemoveDialog.js +2 -2
  348. package/dist/npm/components/TimeHeaderCell.js +1 -1
  349. package/dist/npm/components/footer/SchedulerFooter.js +1 -1
  350. package/dist/npm/components/footer/bussiness-hours/BusinessHours.js +2 -2
  351. package/dist/npm/components/header/SchedulerHeader.js +1 -1
  352. package/dist/npm/components/header/navigation/DatePickerToggleButton.js +1 -1
  353. package/dist/npm/components/header/navigation/NavigationDatePicker.js +2 -2
  354. package/dist/npm/components/header/navigation/SchedulerNavigation.js +2 -2
  355. package/dist/npm/components/header/view-selector/SchedulerViewSelector.js +1 -1
  356. package/dist/npm/components/header/view-selector/ViewSelectorItem.js +1 -1
  357. package/dist/npm/components/header/view-selector/ViewSelectorList.js +1 -1
  358. package/dist/npm/constants/index.js +1 -1
  359. package/dist/npm/context/SchedulerContext.js +4 -2
  360. package/dist/npm/context/SchedulerEditItemContext.js +4 -2
  361. package/dist/npm/context/SchedulerEditSlotContext.js +4 -2
  362. package/dist/npm/context/SchedulerEditTaskContext.js +4 -2
  363. package/dist/npm/context/SchedulerResourceIteratorContext.js +1 -1
  364. package/dist/npm/context/SchedulerViewContext.js +4 -2
  365. package/dist/npm/context/index.js +6 -2
  366. package/dist/npm/editors/FilterableComboBox.js +1 -1
  367. package/dist/npm/editors/ResourceEditor.js +1 -1
  368. package/dist/npm/editors/SchedulerFormEditor.js +3 -3
  369. package/dist/npm/editors/ZonedDateTime.js +1 -1
  370. package/dist/npm/editors/common.js +6 -4
  371. package/dist/npm/hooks/index.js +6 -2
  372. package/dist/npm/hooks/use-items-focus.js +7 -5
  373. package/dist/npm/hooks/use-items-selection.js +15 -17
  374. package/dist/npm/hooks/use-slots-focus.js +20 -14
  375. package/dist/npm/hooks/use-slots-selection.js +11 -13
  376. package/dist/npm/hooks/useAsyncMouseEnterLeave.js +4 -2
  377. package/dist/npm/hooks/useCellSync.js +7 -5
  378. package/dist/npm/hooks/useEditable.js +4 -2
  379. package/dist/npm/hooks/usePropOrState.js +4 -2
  380. package/dist/npm/hooks/useRowSync.js +6 -4
  381. package/dist/npm/hooks/useSchedulerSlot.js +4 -2
  382. package/dist/npm/hooks/useSlotExpand.js +8 -6
  383. package/dist/npm/hooks/useWorkHours.js +4 -2
  384. package/dist/npm/items/SchedulerEditItem.js +10 -10
  385. package/dist/npm/items/SchedulerItem.js +6 -6
  386. package/dist/npm/items/SchedulerItemContent.js +1 -1
  387. package/dist/npm/items/SchedulerViewItem.js +12 -12
  388. package/dist/npm/items/hooks/use-drag-item.js +32 -34
  389. package/dist/npm/items/hooks/use-form-item.d.ts +5 -1
  390. package/dist/npm/items/hooks/use-form-item.js +4 -2
  391. package/dist/npm/items/hooks/use-remove-item.d.ts +5 -1
  392. package/dist/npm/items/hooks/use-remove-item.js +4 -2
  393. package/dist/npm/items/hooks/use-resize-item.js +40 -42
  394. package/dist/npm/items/hooks/use-series.js +7 -4
  395. package/dist/npm/items/hooks/use-show-occurrence-dialog.js +7 -4
  396. package/dist/npm/items/hooks/use-show-remove-item-dialog.js +7 -4
  397. package/dist/npm/messages/index.js +2 -1
  398. package/dist/npm/models/index.js +6 -2
  399. package/dist/npm/package-metadata.js +1 -1
  400. package/dist/npm/recurrence/RecurrenceEditor.js +25 -25
  401. package/dist/npm/recurrence/RecurrenceRepeatOnWeekEditor.js +11 -15
  402. package/dist/npm/recurrence/common.js +50 -32
  403. package/dist/npm/reducers/editReducer.js +2 -1
  404. package/dist/npm/reducers/index.js +6 -2
  405. package/dist/npm/services/index.js +6 -2
  406. package/dist/npm/services/itemsService.js +14 -16
  407. package/dist/npm/services/occurrenceService.js +37 -34
  408. package/dist/npm/services/rangeService.js +2 -1
  409. package/dist/npm/services/slotsService.js +2 -1
  410. package/dist/npm/slots/SchedulerEditSlot.js +13 -13
  411. package/dist/npm/slots/SchedulerSlot.js +3 -3
  412. package/dist/npm/slots/SchedulerViewSlot.js +4 -4
  413. package/dist/npm/tasks/SchedulerEditTask.js +3 -3
  414. package/dist/npm/tasks/SchedulerTask.js +3 -3
  415. package/dist/npm/tasks/SchedulerViewTask.js +1 -1
  416. package/dist/npm/utils/index.js +142 -95
  417. package/dist/npm/views/agenda/AgendaView.js +20 -19
  418. package/dist/npm/views/agenda/AgendaViewBody.js +4 -4
  419. package/dist/npm/views/agenda/AgendaViewHead.js +1 -1
  420. package/dist/npm/views/agenda/AgendaViewHeaderItem.js +1 -1
  421. package/dist/npm/views/common/HorizontalResourceIterator.js +7 -6
  422. package/dist/npm/views/common/SchedulerDrag.js +3 -3
  423. package/dist/npm/views/common/SchedulerResize.js +3 -3
  424. package/dist/npm/views/common/VerticalResourceIterator.js +2 -2
  425. package/dist/npm/views/common/utils.js +34 -23
  426. package/dist/npm/views/day/DayView.js +1 -1
  427. package/dist/npm/views/day/DayViewAllDayRowContent.js +1 -1
  428. package/dist/npm/views/day/DayViewAllDaySlots.js +1 -1
  429. package/dist/npm/views/day/DayViewMiddleRow.js +4 -4
  430. package/dist/npm/views/day/DayViewRowContent.js +1 -1
  431. package/dist/npm/views/day/DayViewVerticalRow.js +1 -1
  432. package/dist/npm/views/day/DayViewVerticalSlotsRow.js +4 -4
  433. package/dist/npm/views/day/MultiDayView.js +40 -44
  434. package/dist/npm/views/month/MonthView.js +15 -15
  435. package/dist/npm/views/month/MonthViewBody.js +1 -1
  436. package/dist/npm/views/time/MultiDayTimelineView.js +29 -33
  437. package/dist/npm/views/time/TimelineViewAllEventsRowContent.js +1 -1
  438. package/dist/npm/views/time/TimelineViewBody.js +4 -4
  439. package/dist/npm/views/week/WeekView.js +6 -6
  440. package/dist/npm/views/week/WorkWeekView.js +5 -5
  441. package/package.json +18 -12
@@ -9,12 +9,14 @@ var __assign = (this && this.__assign) || function () {
9
9
  };
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
- var __spreadArrays = (this && this.__spreadArrays) || function () {
13
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
14
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
15
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
16
- r[k] = a[j];
17
- return r;
12
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
13
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
14
+ if (ar || !(i in from)) {
15
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
16
+ ar[i] = from[i];
17
+ }
18
+ }
19
+ return to.concat(ar || Array.prototype.slice.call(from));
18
20
  };
19
21
  /** @hidden */
20
22
  export var last = function (arr) { return arr[arr.length - 1]; };
@@ -28,7 +30,7 @@ export var toFlatGroupResources = function (resources, index, depth, parents) {
28
30
  }
29
31
  var result = [];
30
32
  resources[index].data.map(function (item) {
31
- result.push.apply(result, toFlatGroupResources(resources, index + 1, depth + 1, __spreadArrays(parents, [__assign(__assign({}, item), { field: resources[index].field, valueField: resources[index].valueField, colorField: resources[index].colorField, multiple: resources[index].multiple })])));
33
+ result.push.apply(result, toFlatGroupResources(resources, index + 1, depth + 1, __spreadArray(__spreadArray([], parents, true), [__assign(__assign({}, item), { field: resources[index].field, valueField: resources[index].valueField, colorField: resources[index].colorField, multiple: resources[index].multiple })], false)));
32
34
  });
33
35
  return result;
34
36
  };
@@ -170,18 +172,18 @@ export var setRect = function (el, rect, minHeightInsteadOfHeight) {
170
172
  return;
171
173
  }
172
174
  if (rect.top !== undefined) {
173
- el.style.top = rect.top + "px";
175
+ el.style.top = "".concat(rect.top, "px");
174
176
  }
175
177
  if (rect.left !== undefined) {
176
- el.style.left = rect.left + "px";
178
+ el.style.left = "".concat(rect.left, "px");
177
179
  }
178
180
  if (rect.width !== undefined) {
179
- el.style.width = rect.width + "px";
181
+ el.style.width = "".concat(rect.width, "px");
180
182
  }
181
183
  if (rect.height !== undefined && !minHeightInsteadOfHeight) {
182
- el.style.height = typeof rect.height === 'number' ? rect.height + "px" : rect.height;
184
+ el.style.height = typeof rect.height === 'number' ? "".concat(rect.height, "px") : rect.height;
183
185
  }
184
186
  if (minHeightInsteadOfHeight) {
185
- el.style.minHeight = rect.height !== undefined && rect.height > 0 ? rect.height + "px" : '';
187
+ el.style.minHeight = rect.height !== undefined && rect.height > 0 ? "".concat(rect.height, "px") : '';
186
188
  }
187
189
  };
@@ -89,7 +89,7 @@ var DayViewAllDaySlotsVue2 = {
89
89
  form: this.$props.form,
90
90
  slotRender: this.$props.slotRender,
91
91
  viewSlot: this.$props.viewSlot,
92
- key: slot.start.getTime() + ":" + slot.group.index,
92
+ key: "".concat(slot.start.getTime(), ":").concat(slot.group.index),
93
93
  row: 0,
94
94
  col: this.ks.orientation === 'horizontal' ? filtered.length * (this.ri.groupIndex || 0) + slotIndex : slotIndex,
95
95
  isWorkDay: 0 <= slot.zonedStart.getDay() + (numberOfDays - workWeekStart) && (slot.zonedStart.getDay() + (numberOfDays - workWeekStart)) % numberOfDays <= workWeekEnd + (numberOfDays - workWeekStart),
@@ -61,7 +61,7 @@ var DayViewMiddleRowVue2 = {
61
61
  return s.index === _this.root.index && s.range.index === rangeIndex && s.group.index === _this.ri.groupIndex;
62
62
  }).map(function (slot) {
63
63
  return h(EditSlot, {
64
- key: slot.start.getTime() + ":" + slot.group.index,
64
+ key: "".concat(slot.start.getTime(), ":").concat(slot.group.index),
65
65
  index: slot.index,
66
66
  attrs: this.v3 ? undefined : {
67
67
  index: slot.index,
@@ -86,7 +86,7 @@ var DayViewVerticalRowVue2 = {
86
86
  on: this.v3 ? undefined : {
87
87
  "dataaction": this.handleDataAction
88
88
  },
89
- key: slot.start.getTime() + ":" + slot.group.index,
89
+ key: "".concat(slot.start.getTime(), ":").concat(slot.group.index),
90
90
  "class": 'k-scheduler-alldays-slot',
91
91
  row: groupOffset * (groupIndex || 0) + (groupIndex || 0) * GRID_OFFSET,
92
92
  col: slotIndex,
@@ -125,7 +125,7 @@ var DayViewVerticalSlotsRowVue2 = {
125
125
  group: slot.group,
126
126
  range: slot.range,
127
127
  isAllDay: slot.isAllDay,
128
- key: slot.start.getTime() + ":" + slot.group.index,
128
+ key: "".concat(slot.start.getTime(), ":").concat(slot.group.index),
129
129
  row: filtered.length * (groupIndex || 0) + rootIndex + (groupIndex || 0) * GRID_OFFSET + GRID_OFFSET,
130
130
  col: rangeIndex,
131
131
  editable: editable,
@@ -14,18 +14,14 @@ var __assign = this && this.__assign || function () {
14
14
  return __assign.apply(this, arguments);
15
15
  };
16
16
 
17
- var __spreadArrays = this && this.__spreadArrays || function () {
18
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) {
19
- s += arguments[i].length;
20
- }
21
-
22
- for (var r = Array(s), k = 0, i = 0; i < il; i++) {
23
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {
24
- r[k] = a[j];
17
+ var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
18
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
19
+ if (ar || !(i in from)) {
20
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
21
+ ar[i] = from[i];
25
22
  }
26
23
  }
27
-
28
- return r;
24
+ return to.concat(ar || Array.prototype.slice.call(from));
29
25
  }; // @ts-ignore
30
26
 
31
27
 
@@ -383,13 +379,13 @@ var MultiDayViewVue2 = {
383
379
  attrs: this.v3 ? undefined : {
384
380
  id: this.$props.id,
385
381
  viewProps: __assign({}, this.$props),
386
- ranges: __spreadArrays(this.dayRanges, this.timeRanges),
387
- baseSlots: __spreadArrays(daySlots, timeSlots)
382
+ ranges: __spreadArray(__spreadArray([], this.dayRanges, true), this.timeRanges, true),
383
+ baseSlots: __spreadArray(__spreadArray([], daySlots, true), timeSlots, true)
388
384
  },
389
385
  viewProps: __assign({}, this.$props),
390
386
  "class": 'k-scheduler-day-view',
391
- ranges: __spreadArrays(this.dayRanges, this.timeRanges),
392
- baseSlots: __spreadArrays(daySlots, timeSlots)
387
+ ranges: __spreadArray(__spreadArray([], this.dayRanges, true), this.timeRanges, true),
388
+ baseSlots: __spreadArray(__spreadArray([], daySlots, true), timeSlots, true)
393
389
  }, this.v3 ? function () {
394
390
  return [h("div", {
395
391
  "class": "k-scheduler-head"
@@ -485,7 +481,7 @@ var MultiDayViewVue2 = {
485
481
  }
486
482
  })]), dayItems.map(function (item) {
487
483
  return h(EditItem, {
488
- key: item.isRecurring ? item.uid + ":" + item.group.index + ":" + item.range.index + ":" + item.originalStart : item.uid + ":" + item.group.index + ":" + item.range.index,
484
+ key: item.isRecurring ? "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index, ":").concat(item.originalStart) : "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index),
489
485
  uid: item.uid,
490
486
  attrs: this.v3 ? undefined : {
491
487
  uid: item.uid,
@@ -761,7 +757,7 @@ var MultiDayViewVue2 = {
761
757
  editable: _this2.$props.editable
762
758
  })]), dayItems.map(function (item) {
763
759
  return h(EditItem, {
764
- key: item.isRecurring ? item.uid + ":" + item.group.index + " : " + item.range.index + " : " + item.originalStart : item.uid + ":" + item.group.index + " : " + item.range.index,
760
+ key: item.isRecurring ? "".concat(item.uid, ":").concat(item.group.index, " : ").concat(item.range.index, " : ").concat(item.originalStart) : "".concat(item.uid, ":").concat(item.group.index, " : ").concat(item.range.index),
765
761
  uid: item.uid,
766
762
  attrs: this.v3 ? undefined : {
767
763
  uid: item.uid,
@@ -835,7 +831,7 @@ var MultiDayViewVue2 = {
835
831
  });
836
832
  }, _this2), _this2.compDragItem && _this2.compDragItem.isAllDay && dragItemClue.call(_this2, true), _this2.compResizeItem && _this2.compResizeItem.isAllDay && resizeItemClue.call(_this2, true)], timeItems.map(function (item) {
837
833
  return h(EditItem, {
838
- key: item.isRecurring ? item.uid + ":" + item.group.index + ":" + item.range.index + ":" + item.originalStart : item.uid + ":" + item.group.index + ":" + item.range.index,
834
+ key: item.isRecurring ? "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index, ":").concat(item.originalStart) : "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index),
839
835
  uid: item.uid,
840
836
  attrs: this.v3 ? undefined : {
841
837
  uid: item.uid,
@@ -1002,7 +998,7 @@ var MultiDayViewVue2 = {
1002
998
  }
1003
999
  })]), dayItems.map(function (item) {
1004
1000
  return h(EditItem, {
1005
- key: item.isRecurring ? item.uid + ":" + item.group.index + ":" + item.range.index + ":" + item.originalStart : item.uid + ":" + item.group.index + ":" + item.range.index,
1001
+ key: item.isRecurring ? "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index, ":").concat(item.originalStart) : "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index),
1006
1002
  uid: item.uid,
1007
1003
  attrs: this.v3 ? undefined : {
1008
1004
  uid: item.uid,
@@ -1274,7 +1270,7 @@ var MultiDayViewVue2 = {
1274
1270
  editable: _this2.$props.editable
1275
1271
  })]), dayItems.map(function (item) {
1276
1272
  return h(EditItem, {
1277
- key: item.isRecurring ? item.uid + ":" + item.group.index + " : " + item.range.index + " : " + item.originalStart : item.uid + ":" + item.group.index + " : " + item.range.index,
1273
+ key: item.isRecurring ? "".concat(item.uid, ":").concat(item.group.index, " : ").concat(item.range.index, " : ").concat(item.originalStart) : "".concat(item.uid, ":").concat(item.group.index, " : ").concat(item.range.index),
1278
1274
  uid: item.uid,
1279
1275
  attrs: this.v3 ? undefined : {
1280
1276
  uid: item.uid,
@@ -1348,7 +1344,7 @@ var MultiDayViewVue2 = {
1348
1344
  });
1349
1345
  }, _this2), _this2.compDragItem && _this2.compDragItem.isAllDay && dragItemClue.call(_this2, true), _this2.compResizeItem && _this2.compResizeItem.isAllDay && resizeItemClue.call(_this2, true)], timeItems.map(function (item) {
1350
1346
  return h(EditItem, {
1351
- key: item.isRecurring ? item.uid + ":" + item.group.index + ":" + item.range.index + ":" + item.originalStart : item.uid + ":" + item.group.index + ":" + item.range.index,
1347
+ key: item.isRecurring ? "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index, ":").concat(item.originalStart) : "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index),
1352
1348
  uid: item.uid,
1353
1349
  attrs: this.v3 ? undefined : {
1354
1350
  uid: item.uid,
@@ -441,7 +441,7 @@ var MonthViewVue2 = {
441
441
  },
442
442
  viewItem: this.$props.viewItem,
443
443
  form: this.$props.form,
444
- key: item.isRecurring ? item.uid + ":" + item.group.index + ":" + item.range.index + ":" + item.originalStart : item.uid + ":" + item.group.index + ":" + item.range.index,
444
+ key: item.isRecurring ? "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index, ":").concat(item.originalStart) : "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index),
445
445
  uid: item.uid,
446
446
  start: item.start,
447
447
  end: item.end,
@@ -575,7 +575,7 @@ var MonthViewVue2 = {
575
575
  },
576
576
  viewItem: this.$props.viewItem,
577
577
  form: this.$props.form,
578
- key: item.isRecurring ? item.uid + ":" + item.group.index + ":" + item.range.index + ":" + item.originalStart : item.uid + ":" + item.group.index + ":" + item.range.index,
578
+ key: item.isRecurring ? "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index, ":").concat(item.originalStart) : "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index),
579
579
  uid: item.uid,
580
580
  start: item.start,
581
581
  end: item.end,
@@ -14,18 +14,14 @@ var __assign = this && this.__assign || function () {
14
14
  return __assign.apply(this, arguments);
15
15
  };
16
16
 
17
- var __spreadArrays = this && this.__spreadArrays || function () {
18
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) {
19
- s += arguments[i].length;
20
- }
21
-
22
- for (var r = Array(s), k = 0, i = 0; i < il; i++) {
23
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {
24
- r[k] = a[j];
17
+ var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
18
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
19
+ if (ar || !(i in from)) {
20
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
21
+ ar[i] = from[i];
25
22
  }
26
23
  }
27
-
28
- return r;
24
+ return to.concat(ar || Array.prototype.slice.call(from));
29
25
  }; // @ts-ignore
30
26
 
31
27
 
@@ -289,9 +285,9 @@ var MultiDayTimelineViewVue2 = {
289
285
  var workDayStart = intl.parseDate(this.$props.workDayStart);
290
286
  var workDayEnd = intl.parseDate(this.$props.workDayEnd);
291
287
 
292
- var items = __spreadArrays(this.items);
288
+ var items = __spreadArray([], this.items, true);
293
289
 
294
- var timelineSlots = __spreadArrays(this.timelineSlots);
290
+ var timelineSlots = __spreadArray([], this.timelineSlots, true);
295
291
 
296
292
  var width = (this.ks.orientation === 'horizontal' ? timelineSlots.length : timelineSlots.length / this.ks.groups.length) * (this.$props.columnWidth + BORDER_WIDTH);
297
293
 
@@ -545,7 +541,7 @@ var MultiDayTimelineViewVue2 = {
545
541
  }
546
542
  }), items.sort(orderSort).map(function (item) {
547
543
  return h(SchedulerEditItem, {
548
- key: item.isRecurring ? item.uid + ":" + item.group.index + ":" + item.range.index + ":" + item.originalStart : item.uid + ":" + item.group.index + ":" + item.range.index,
544
+ key: item.isRecurring ? "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index, ":").concat(item.originalStart) : "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index),
549
545
  uid: item.uid,
550
546
  attrs: this.v3 ? undefined : {
551
547
  uid: item.uid,
@@ -745,7 +741,7 @@ var MultiDayTimelineViewVue2 = {
745
741
  }
746
742
  }), items.sort(orderSort).map(function (item) {
747
743
  return h(SchedulerEditItem, {
748
- key: item.isRecurring ? item.uid + ":" + item.group.index + ":" + item.range.index + ":" + item.originalStart : item.uid + ":" + item.group.index + ":" + item.range.index,
744
+ key: item.isRecurring ? "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index, ":").concat(item.originalStart) : "".concat(item.uid, ":").concat(item.group.index, ":").concat(item.range.index),
749
745
  uid: item.uid,
750
746
  attrs: this.v3 ? undefined : {
751
747
  uid: item.uid,
@@ -55,7 +55,7 @@ var TimelineViewBodyVue2 = {
55
55
  return s.group.index === groupIndex && s.range.index === rangeIndex;
56
56
  }).map(function (slot, slotIndex, filtered) {
57
57
  return h(SchedulerEditSlot, {
58
- key: slot.start.getTime() + ":" + slot.group.index,
58
+ key: "".concat(slot.start.getTime(), ":").concat(slot.group.index),
59
59
  slotRender: that.$props.slotRender,
60
60
  attrs: this.v3 ? undefined : {
61
61
  slotRender: that.$props.slotRender,
@@ -0,0 +1,341 @@
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from './additionalTypes';
2
+ declare type DefaultData<V> = object | ((this: V) => {});
3
+ declare type DefaultMethods<V> = {
4
+ [key: string]: (this: V, ...args: any[]) => any;
5
+ };
6
+ import { DataItem, SchedulerView, EditableProp, SchedulerGroup, SchedulerResource, SchedulerModelFields, SchedulerViewProps } from './models';
7
+ /**
8
+ * Represents the props of the [Kendo UI for Vue Scheduler component]({% slug overview_scheduler %}).
9
+ */
10
+ export interface SchedulerProps {
11
+ /**
12
+ * Specifies the `id` of the wrapping element of the Scheduler.
13
+ */
14
+ id?: string;
15
+ /**
16
+ * Specifies the `tabIndex` attribute of the wrapping element of the Scheduler.
17
+ */
18
+ tabIndex?: number;
19
+ /**
20
+ * Specifies the `role` attribute of the Scheduler wrapping element.
21
+ *
22
+ * For more information, refer to the [Scheduler Accessibility Compliance]({% slug accessibility_scheduler %}) article
23
+ */
24
+ role?: string;
25
+ /**
26
+ * The `aria-labelledby` attribute to be applied to the Scheduler component.
27
+ *
28
+ * For more information, refer to the [Scheduler Accessibility Compliance]({% slug accessibility_scheduler %}) article
29
+ */
30
+ ariaLabelledby?: string;
31
+ /**
32
+ * The `aria-label` attribute to be applied to the Scheduler component.
33
+ *
34
+ * For more information, refer to the [Scheduler Accessibility Compliance]({% slug accessibility_scheduler %}) article
35
+ */
36
+ ariaLabel?: string;
37
+ /**
38
+ * Specifies the `className` attribute of the wrapping element of the Scheduler.
39
+ */
40
+ className?: string;
41
+ /**
42
+ * Overrides the default item. Specifying the `item` property of a specific view will override this property.
43
+ *
44
+ * The default component is: [SchedulerItem]({% slug api_scheduler_scheduleritemprops %})
45
+ *
46
+ * For more information on customizing the scheduler items, refer to the [Item Customization]({% slug scheduler_custom_event %}) article.
47
+ */
48
+ item?: any;
49
+ /**
50
+ * Overrides the default viewItem. Specifying the `viewItem` property of a specific view will override this property.
51
+ *
52
+ * The default component is: [SchedulerViewItem]({% slug api_scheduler_schedulerviewitem %})
53
+ *
54
+ * For more information on customizing the scheduler items, refer to the [Item Customization]({% slug scheduler_custom_event %}) article.
55
+ */
56
+ viewItem?: any;
57
+ /**
58
+ * Overrides the default editItem. Specifying the `editItem` property of a specific view will override this property.
59
+ *
60
+ * The default component is: [SchedulerEditItem]({% slug api_scheduler_scheduleredititem %})
61
+ *
62
+ * For more information on customizing the scheduler items, refer to the [Item Customization]({% slug scheduler_custom_event %}) article.
63
+ */
64
+ editItem?: any;
65
+ /**
66
+ * Overrides the default task. Specifying the `task` property of a specific view will override this property.
67
+ * Currently, the `task` is being used in the [AgendaView]({% slug agenda_view_scheduler %}) only.
68
+ *
69
+ * The default component is: [SchedulerTask]({% slug api_scheduler_schedulertaskprops %})
70
+ *
71
+ * For more information on customizing the scheduler tasks, refer to the [Task Customization]({% slug overview_agenda_view_scheduler %}) article.
72
+ */
73
+ task?: any;
74
+ /**
75
+ *
76
+ * Represents component based on the DateHeaderCellProps.
77
+ */
78
+ dateHeaderCell?: any;
79
+ /**
80
+ *
81
+ * Represents component based on the TimeHeaderCellProps.
82
+ */
83
+ timeHeaderCell?: any;
84
+ /**
85
+ * Overrides the default viewTask. Specifying the `viewTask` property of a specific view will override this property.
86
+ * Currently, the `viewTask` is being used in the [AgendaView]({% slug agenda_view_scheduler %}) only.
87
+ *
88
+ * The default component is: [SchedulerViewTask]({% slug api_scheduler_schedulerviewtask %})
89
+ *
90
+ * For more information on customizing the scheduler tasks, refer to the [Task Customization]({% slug overview_agenda_view_scheduler %}) article.
91
+ */
92
+ viewTask?: any;
93
+ /**
94
+ * Overrides the default editTask. Specifying the `editTask` property of a specific view will override this property.
95
+ * Currently, the `viewTask` is being used in the [AgendaView]({% slug agenda_view_scheduler %}) only.
96
+ *
97
+ * The default component is: [SchedulerEditTask]({% slug api_scheduler_scheduleredittaskprops %})
98
+ *
99
+ * For more information on customizing the scheduler tasks, refer to the [Task Customization]({% slug overview_agenda_view_scheduler %}) article.
100
+ */
101
+ editTask?: any;
102
+ /**
103
+ * Overrides the default header component of the Scheduler.
104
+ *
105
+ * The default component is: [SchedulerHeader]({% slug api_scheduler_schedulerheader %})
106
+ *
107
+ * For more information on customizing the scheduler header, refer to the [Header Customization]({% slug overview_header_footer_scheduler %}) article.
108
+ */
109
+ header?: any;
110
+ /**
111
+ * Overrides the default footer component of the Scheduler.
112
+ *
113
+ * The default component is: [Scheduler]({% slug api_scheduler_schedulerfooter %})
114
+ *
115
+ * For more information on customizing the scheduler footer, refer to the [Footer Customization]({% slug overview_header_footer_scheduler %}) article.
116
+ */
117
+ footer?: any;
118
+ /**
119
+ * Overrides the default slot component. Specifying the `slot` property of a specific view will override this property.
120
+ *
121
+ * The default component is: [SchedulerSlot]({% slug api_scheduler_schedulerslotprops %})
122
+ *
123
+ * For more information on customizing the scheduler slots, refer to the [Slot Customization]({% slug overview_slots_scheduler %}) article.
124
+ */
125
+ slotRender?: any;
126
+ /**
127
+ * Overrides the default viewSlot component. Specifying the `viewSlot` property of a specific view will override this property.
128
+ *
129
+ * The default component is: [SchedulerViewSlot]({% slug api_scheduler_schedulerviewslotprops %})
130
+ *
131
+ * For more information on customizing the scheduler slots, refer to the [Slot Customization]({% slug overview_slots_scheduler %}) article.
132
+ */
133
+ viewSlot?: any;
134
+ /**
135
+ * Overrides the default editSlot component. Specifying the `editSlot` property of a specific view will override this property.
136
+ *
137
+ * The default component is: [SchedulerEditSlot]({% slug api_scheduler_schedulereditslot %})
138
+ *
139
+ * For more information on customizing the scheduler slots, refer to the [Slot Customization]({% slug overview_slots_scheduler %}) article.
140
+ */
141
+ editSlot?: any;
142
+ /** @hidden */
143
+ form?: any;
144
+ /** @hidden */
145
+ resizeHint?: any;
146
+ /** @hidden */
147
+ dialogProps?: any;
148
+ /** @hidden */
149
+ formProps?: any;
150
+ /**
151
+ * Sets the currently visible views.
152
+ */
153
+ views?: SchedulerViewProps[];
154
+ /**
155
+ * Sets the currently selected view. The value is matched with the `name` property of the view.
156
+ */
157
+ view?: string;
158
+ /**
159
+ * Sets the data of the Scheduler component. The data is then parsed and rendered as a visual Scheduler items.
160
+ */
161
+ dataItems?: DataItem[];
162
+ /**
163
+ * Sets if the Scheduler component is editable. The value can be either a `boolean` or an Object to specify different types of editing.
164
+ */
165
+ editable?: EditableProp | boolean;
166
+ /**
167
+ * Sets the initially selected view.
168
+ *
169
+ * For more information refer to the [Scheduler Views]({% slug views_scheduler %}) article.
170
+ *
171
+ * Sets the initially selected view. The available values are:
172
+ * * `day`
173
+ * * `week`
174
+ * * `month`
175
+ * * `agenda`
176
+ * * `timeline`
177
+ */
178
+ defaultView?: string;
179
+ /**
180
+ * Sets the current selected `Date`. The current selected date is passed to the selected view and transformed in to a range.
181
+ */
182
+ date?: Date;
183
+ /**
184
+ * Sets a default selected `Date`. The `defaultDate` property is used to specify the initial rendered date, while still remaining in an uncontrolled mode.
185
+ */
186
+ defaultDate?: Date;
187
+ /**
188
+ * Function that returns custom validator for the form.
189
+ */
190
+ validator?: Function;
191
+ /**
192
+ * Function that returns custom initial values for the fields of the form.
193
+ */
194
+ modifyInitialFormValues?: Function;
195
+ /**
196
+ * Force a `rtl` mode. For more information refer to [RTL Support]({% slug globalization_scheduler %}#toc-right-to-left-support)
197
+ */
198
+ rtl?: boolean;
199
+ /**
200
+ * Sets the `height` of the Scheduler.
201
+ */
202
+ height?: number | string;
203
+ /**
204
+ * Specify the available `view` components as `children` and the Scheduler will match the currently selected view and render it.
205
+ */
206
+ children?: SchedulerView[] | SchedulerView;
207
+ /**
208
+ * Specifies the id of the timezone that will be displayed in the Scheduler.
209
+ * For example, `Europe/Sofia`.
210
+ *
211
+ * Defaults to `Etc/UTC`.
212
+ */
213
+ timezone?: string;
214
+ /**
215
+ * Specifies the groups of the Scheduler.
216
+ */
217
+ group?: SchedulerGroup;
218
+ /**
219
+ * Specifies the resources of the Scheduler.
220
+ */
221
+ resources?: SchedulerResource[];
222
+ /**
223
+ * The names of the model fields from which the Scheduler will read its data
224
+ * ([see example]({% slug data_binding_scheduler %})).
225
+ */
226
+ modelFields?: SchedulerModelFields;
227
+ /**
228
+ * Called when new `date` is selected.
229
+ */
230
+ onDateChange?: (args: SchedulerDateChangeEvent) => void;
231
+ /**
232
+ * Called when new `view` is selected. [(see example)]({% slug views_scheduler %}#toc-controlling-the-selected-view)
233
+ */
234
+ onViewChange?: (args: SchedulerViewChangeEvent) => void;
235
+ /**
236
+ * Called each time when editing occurs.
237
+ * To enable editing set the `editable` property to `true` or an [`EditableProp`]({% slug api_scheduler_editableprop %})
238
+ *
239
+ * For more information refer to the [Scheduler Editing]({% slug editing_scheduler %}) article.
240
+ */
241
+ onDataChange?: (event: SchedulerDataChangeEvent) => void;
242
+ }
243
+ /**
244
+ * Specifies the available [DataAction]({% slug api_scheduler_data_action %}) types.
245
+ */
246
+ export declare enum DATA_ACTION {
247
+ create = 0,
248
+ update = 1,
249
+ remove = 2
250
+ }
251
+ /**
252
+ * Specifies the action which can be dispatched through the [SchedulerDataContext]({% slug api_scheduler_schedulerdatacontext %}).
253
+ *
254
+ * For more information refer to the [Scheduler Context]({% slug context_scheduler %}) article.
255
+ */
256
+ export interface DataAction {
257
+ /**
258
+ * The `type` of the action. The available types are:
259
+ * - `create`
260
+ * - `update`
261
+ * - `remove`
262
+ */
263
+ type: DATA_ACTION;
264
+ /**
265
+ * Specifies if the action should be applied to the whole series of a recurring item. If the item is not recurring, set `series` to `false`.
266
+ */
267
+ series: boolean;
268
+ /**
269
+ * Specifies the `dataItem` being edited.
270
+ */
271
+ dataItem: DataItem;
272
+ }
273
+ /** @hidden */
274
+ export interface DateChangeEvent {
275
+ target: any;
276
+ event: any;
277
+ }
278
+ /**
279
+ * Called every time the user changes the selected `date`.
280
+ * The value is a JavaScript `Date` object.
281
+ * For more information, refer to the article on
282
+ * [date selection]({% slug date_selection_scheduler %}).
283
+ */
284
+ export interface SchedulerDateChangeEvent {
285
+ value: Date;
286
+ }
287
+ /**
288
+ * Called every time the user changes the provided `data`.
289
+ *
290
+ * For more information, refer to the [Scheduler Data Binding]({% slug data_binding_scheduler %}) article.
291
+ */
292
+ export interface SchedulerDataChangeEvent {
293
+ created: DataItem[];
294
+ updated: DataItem[];
295
+ deleted: DataItem[];
296
+ }
297
+ /** @hidden */
298
+ export interface ActiveViewNameChangeEvent {
299
+ event: any;
300
+ target: any;
301
+ }
302
+ /**
303
+ * Called every time the user changes the active `view`.
304
+ *
305
+ * For more information, refer to the [Scheduler Views]({% slug views_scheduler %}) article.
306
+ */
307
+ export interface SchedulerViewChangeEvent {
308
+ value: string;
309
+ }
310
+ /**
311
+ * @hidden
312
+ */
313
+ export interface SchedulerState {
314
+ }
315
+ /**
316
+ * @hidden
317
+ */
318
+ export interface SchedulerComputed {
319
+ [key: string]: any;
320
+ }
321
+ /**
322
+ * @hidden
323
+ */
324
+ export interface SchedulerMethods {
325
+ [key: string]: any;
326
+ }
327
+ /**
328
+ * @hidden
329
+ */
330
+ export interface SchedulerData {
331
+ }
332
+ /**
333
+ * @hidden
334
+ */
335
+ export interface SchedulerAll extends Vue2type, SchedulerMethods, SchedulerData, SchedulerComputed, SchedulerState {
336
+ }
337
+ /** @hidden */
338
+ declare let SchedulerVue2: ComponentOptions<SchedulerAll, DefaultData<SchedulerData>, DefaultMethods<SchedulerAll>, SchedulerComputed, RecordPropsDefinition<SchedulerProps>>;
339
+ /** @hidden */
340
+ declare const Scheduler: DefineComponent<SchedulerProps, any, SchedulerData, SchedulerComputed, SchedulerMethods, {}, {}, {}, string, SchedulerProps, SchedulerProps, {}>;
341
+ export { Scheduler, SchedulerVue2 };