@progress/kendo-vue-scheduler 5.3.0-dev.202410141143 → 5.3.0-develop.2

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 (1018) hide show
  1. package/README.md +24 -34
  2. package/Scheduler.js +8 -0
  3. package/Scheduler.mjs +439 -0
  4. package/components/BaseView.js +8 -0
  5. package/components/BaseView.mjs +123 -0
  6. package/components/CurrentTimeMarker.js +8 -0
  7. package/components/CurrentTimeMarker.mjs +95 -0
  8. package/components/CurrentTimeMarkerArrow.js +8 -0
  9. package/components/CurrentTimeMarkerArrow.mjs +80 -0
  10. package/components/DateHeaderCell.js +8 -0
  11. package/components/DateHeaderCell.mjs +53 -0
  12. package/components/SchedulerActionButtons.js +8 -0
  13. package/components/SchedulerActionButtons.mjs +58 -0
  14. package/components/SchedulerForm.js +8 -0
  15. package/components/SchedulerForm.mjs +155 -0
  16. package/components/SchedulerOccurrenceDialog.js +8 -0
  17. package/components/SchedulerOccurrenceDialog.mjs +96 -0
  18. package/components/SchedulerRemoveDialog.js +8 -0
  19. package/components/SchedulerRemoveDialog.mjs +89 -0
  20. package/components/ShowMoreItemsButton.js +8 -0
  21. package/components/ShowMoreItemsButton.mjs +53 -0
  22. package/components/TimeHeaderCell.js +8 -0
  23. package/components/TimeHeaderCell.mjs +51 -0
  24. package/components/footer/SchedulerFooter.js +8 -0
  25. package/components/footer/SchedulerFooter.mjs +30 -0
  26. package/components/footer/bussiness-hours/BusinessHours.js +8 -0
  27. package/components/footer/bussiness-hours/BusinessHours.mjs +57 -0
  28. package/components/header/SchedulerHeader.js +8 -0
  29. package/components/header/SchedulerHeader.mjs +27 -0
  30. package/components/header/navigation/NavigationDatePicker.js +8 -0
  31. package/components/header/navigation/NavigationDatePicker.mjs +122 -0
  32. package/components/header/navigation/SchedulerNavigation.js +8 -0
  33. package/components/header/navigation/SchedulerNavigation.mjs +85 -0
  34. package/components/header/view-selector/SchedulerViewSelector.js +8 -0
  35. package/components/header/view-selector/SchedulerViewSelector.mjs +18 -0
  36. package/components/header/view-selector/ViewSelectorItem.js +8 -0
  37. package/components/header/view-selector/ViewSelectorItem.mjs +53 -0
  38. package/components/header/view-selector/ViewSelectorList.js +8 -0
  39. package/components/header/view-selector/ViewSelectorList.mjs +83 -0
  40. package/constants/main.js +8 -0
  41. package/constants/main.mjs +24 -0
  42. package/context/SchedulerResourceIteratorContext.js +8 -0
  43. package/context/SchedulerResourceIteratorContext.mjs +48 -0
  44. package/dist/cdn/js/kendo-vue-scheduler.js +8 -2
  45. package/editors/FilterableComboBox.js +8 -0
  46. package/editors/FilterableComboBox.mjs +53 -0
  47. package/editors/ResourceEditor.js +8 -0
  48. package/editors/ResourceEditor.mjs +86 -0
  49. package/editors/SchedulerFormEditor.js +8 -0
  50. package/editors/SchedulerFormEditor.mjs +484 -0
  51. package/editors/ZonedDateTime.js +8 -0
  52. package/editors/ZonedDateTime.mjs +57 -0
  53. package/hooks/use-items-focus.js +8 -0
  54. package/hooks/use-items-focus.mjs +40 -0
  55. package/hooks/use-items-selection.js +8 -0
  56. package/hooks/use-items-selection.mjs +51 -0
  57. package/hooks/use-slots-focus.js +8 -0
  58. package/hooks/use-slots-focus.mjs +50 -0
  59. package/hooks/use-slots-selection.js +8 -0
  60. package/hooks/use-slots-selection.mjs +31 -0
  61. package/hooks/useCellSync.js +8 -0
  62. package/hooks/useCellSync.mjs +29 -0
  63. package/hooks/useEditable.js +8 -0
  64. package/hooks/useEditable.mjs +21 -0
  65. package/hooks/useRowSync.js +8 -0
  66. package/hooks/useRowSync.mjs +12 -0
  67. package/hooks/useSlotExpand.js +8 -0
  68. package/hooks/useSlotExpand.mjs +45 -0
  69. package/index.d.mts +10899 -0
  70. package/index.d.ts +10899 -0
  71. package/index.js +8 -0
  72. package/index.mjs +95 -0
  73. package/items/SchedulerEditItem.js +8 -0
  74. package/items/SchedulerEditItem.mjs +904 -0
  75. package/items/SchedulerItem.js +8 -0
  76. package/items/SchedulerItem.mjs +580 -0
  77. package/items/SchedulerItemContent.js +8 -0
  78. package/items/SchedulerItemContent.mjs +24 -0
  79. package/items/SchedulerViewItem.js +8 -0
  80. package/items/SchedulerViewItem.mjs +377 -0
  81. package/items/hooks/use-drag-item.js +8 -0
  82. package/items/hooks/use-drag-item.mjs +115 -0
  83. package/items/hooks/use-form-item.js +8 -0
  84. package/items/hooks/use-form-item.mjs +13 -0
  85. package/items/hooks/use-remove-item.js +8 -0
  86. package/items/hooks/use-remove-item.mjs +13 -0
  87. package/items/hooks/use-resize-item.js +8 -0
  88. package/items/hooks/use-resize-item.mjs +138 -0
  89. package/items/hooks/use-series.js +8 -0
  90. package/items/hooks/use-series.mjs +26 -0
  91. package/items/hooks/use-show-occurrence-dialog.js +8 -0
  92. package/items/hooks/use-show-occurrence-dialog.mjs +30 -0
  93. package/items/hooks/use-show-remove-item-dialog.js +8 -0
  94. package/items/hooks/use-show-remove-item-dialog.mjs +30 -0
  95. package/messages/main.js +8 -0
  96. package/messages/main.mjs +166 -0
  97. package/package-metadata.js +8 -0
  98. package/package-metadata.mjs +18 -0
  99. package/package.json +39 -65
  100. package/recurrence/RecurrenceEditor.js +8 -0
  101. package/recurrence/RecurrenceEditor.mjs +460 -0
  102. package/recurrence/RecurrenceFrequencyEditor.js +8 -0
  103. package/recurrence/RecurrenceFrequencyEditor.mjs +54 -0
  104. package/recurrence/RecurrenceRepeatOnWeekEditor.js +8 -0
  105. package/recurrence/RecurrenceRepeatOnWeekEditor.mjs +66 -0
  106. package/recurrence/common.js +8 -0
  107. package/recurrence/common.mjs +124 -0
  108. package/services/itemsService.js +8 -0
  109. package/services/itemsService.mjs +54 -0
  110. package/services/occurrenceService.js +8 -0
  111. package/services/occurrenceService.mjs +48 -0
  112. package/services/rangeService.js +8 -0
  113. package/services/rangeService.mjs +25 -0
  114. package/services/slotsService.js +8 -0
  115. package/services/slotsService.mjs +37 -0
  116. package/slots/SchedulerEditSlot.js +8 -0
  117. package/slots/SchedulerEditSlot.mjs +306 -0
  118. package/slots/SchedulerSlot.js +8 -0
  119. package/slots/SchedulerSlot.mjs +312 -0
  120. package/slots/SchedulerViewSlot.js +8 -0
  121. package/slots/SchedulerViewSlot.mjs +179 -0
  122. package/tasks/SchedulerEditTask.js +8 -0
  123. package/tasks/SchedulerEditTask.mjs +213 -0
  124. package/tasks/SchedulerTask.js +8 -0
  125. package/tasks/SchedulerTask.mjs +160 -0
  126. package/tasks/SchedulerViewTask.js +8 -0
  127. package/tasks/SchedulerViewTask.mjs +113 -0
  128. package/utils/main.js +8 -0
  129. package/utils/main.mjs +186 -0
  130. package/views/agenda/AgendaView.js +8 -0
  131. package/views/agenda/AgendaView.mjs +193 -0
  132. package/views/agenda/AgendaViewBody.js +8 -0
  133. package/views/agenda/AgendaViewBody.mjs +158 -0
  134. package/views/agenda/AgendaViewHead.js +8 -0
  135. package/views/agenda/AgendaViewHead.mjs +44 -0
  136. package/views/common/HorizontalResourceIterator.js +8 -0
  137. package/views/common/HorizontalResourceIterator.mjs +128 -0
  138. package/views/common/SchedulerDrag.js +8 -0
  139. package/views/common/SchedulerDrag.mjs +95 -0
  140. package/views/common/SchedulerResize.js +8 -0
  141. package/views/common/SchedulerResize.mjs +97 -0
  142. package/views/common/VerticalResourceIterator.js +8 -0
  143. package/views/common/VerticalResourceIterator.mjs +230 -0
  144. package/views/common/utils.js +8 -0
  145. package/views/common/utils.mjs +77 -0
  146. package/views/day/DayView.js +8 -0
  147. package/views/day/DayView.mjs +148 -0
  148. package/views/day/DayViewAllDayRowContent.js +8 -0
  149. package/views/day/DayViewAllDayRowContent.mjs +33 -0
  150. package/views/day/DayViewAllDaySlots.js +8 -0
  151. package/views/day/DayViewAllDaySlots.mjs +98 -0
  152. package/views/day/DayViewGroupRowContent.js +8 -0
  153. package/views/day/DayViewGroupRowContent.mjs +23 -0
  154. package/views/day/DayViewHead.js +8 -0
  155. package/views/day/DayViewHead.mjs +45 -0
  156. package/views/day/DayViewMiddleRow.js +8 -0
  157. package/views/day/DayViewMiddleRow.mjs +102 -0
  158. package/views/day/DayViewRowContent.js +8 -0
  159. package/views/day/DayViewRowContent.mjs +39 -0
  160. package/views/day/DayViewVerticalRow.js +8 -0
  161. package/views/day/DayViewVerticalRow.mjs +90 -0
  162. package/views/day/DayViewVerticalSlotsRow.js +8 -0
  163. package/views/day/DayViewVerticalSlotsRow.mjs +130 -0
  164. package/views/day/MultiDayView.js +8 -0
  165. package/views/day/MultiDayView.mjs +532 -0
  166. package/views/month/MonthView.js +8 -0
  167. package/views/month/MonthView.mjs +316 -0
  168. package/views/month/MonthViewBody.js +8 -0
  169. package/views/month/MonthViewBody.mjs +113 -0
  170. package/views/month/MonthViewHead.js +8 -0
  171. package/views/month/MonthViewHead.mjs +68 -0
  172. package/views/time/MultiDayTimelineView.js +8 -0
  173. package/views/time/MultiDayTimelineView.mjs +422 -0
  174. package/views/time/TimelineView.js +8 -0
  175. package/views/time/TimelineView.mjs +155 -0
  176. package/views/time/TimelineViewAllEventsRowContent.js +8 -0
  177. package/views/time/TimelineViewAllEventsRowContent.mjs +31 -0
  178. package/views/time/TimelineViewBody.js +8 -0
  179. package/views/time/TimelineViewBody.mjs +97 -0
  180. package/views/time/TimelineViewRowContent.js +8 -0
  181. package/views/time/TimelineViewRowContent.mjs +22 -0
  182. package/views/week/WeekView.js +8 -0
  183. package/views/week/WeekView.mjs +158 -0
  184. package/views/week/WorkWeekView.js +8 -0
  185. package/views/week/WorkWeekView.mjs +134 -0
  186. package/dist/cdn/js/kendo-vue-scheduler.js.LICENSE.txt +0 -14
  187. package/dist/es/Scheduler.d.ts +0 -337
  188. package/dist/es/Scheduler.js +0 -656
  189. package/dist/es/additionalTypes.ts +0 -21
  190. package/dist/es/components/BaseView.d.ts +0 -52
  191. package/dist/es/components/BaseView.js +0 -143
  192. package/dist/es/components/CurrentTimeMarker.d.ts +0 -50
  193. package/dist/es/components/CurrentTimeMarker.js +0 -157
  194. package/dist/es/components/CurrentTimeMarkerArrow.d.ts +0 -47
  195. package/dist/es/components/CurrentTimeMarkerArrow.js +0 -130
  196. package/dist/es/components/DateHeaderCell.d.ts +0 -76
  197. package/dist/es/components/DateHeaderCell.js +0 -65
  198. package/dist/es/components/SchedulerActionButtons.d.ts +0 -48
  199. package/dist/es/components/SchedulerActionButtons.js +0 -128
  200. package/dist/es/components/SchedulerForm.d.ts +0 -73
  201. package/dist/es/components/SchedulerForm.js +0 -225
  202. package/dist/es/components/SchedulerOccurrenceDialog.d.ts +0 -76
  203. package/dist/es/components/SchedulerOccurrenceDialog.js +0 -185
  204. package/dist/es/components/SchedulerRemoveDialog.d.ts +0 -72
  205. package/dist/es/components/SchedulerRemoveDialog.js +0 -166
  206. package/dist/es/components/ShowMoreItemsButton.d.ts +0 -56
  207. package/dist/es/components/ShowMoreItemsButton.js +0 -82
  208. package/dist/es/components/TimeHeaderCell.d.ts +0 -76
  209. package/dist/es/components/TimeHeaderCell.js +0 -63
  210. package/dist/es/components/footer/SchedulerFooter.d.ts +0 -49
  211. package/dist/es/components/footer/SchedulerFooter.js +0 -43
  212. package/dist/es/components/footer/bussiness-hours/BusinessHours.d.ts +0 -50
  213. package/dist/es/components/footer/bussiness-hours/BusinessHours.js +0 -97
  214. package/dist/es/components/header/SchedulerHeader.d.ts +0 -49
  215. package/dist/es/components/header/SchedulerHeader.js +0 -35
  216. package/dist/es/components/header/navigation/DatePickerToggleButton.d.ts +0 -42
  217. package/dist/es/components/header/navigation/DatePickerToggleButton.js +0 -101
  218. package/dist/es/components/header/navigation/NavigationDatePicker.d.ts +0 -42
  219. package/dist/es/components/header/navigation/NavigationDatePicker.js +0 -269
  220. package/dist/es/components/header/navigation/SchedulerNavigation.d.ts +0 -50
  221. package/dist/es/components/header/navigation/SchedulerNavigation.js +0 -315
  222. package/dist/es/components/header/view-selector/SchedulerViewSelector.d.ts +0 -49
  223. package/dist/es/components/header/view-selector/SchedulerViewSelector.js +0 -30
  224. package/dist/es/components/header/view-selector/ViewSelectorItem.d.ts +0 -47
  225. package/dist/es/components/header/view-selector/ViewSelectorItem.js +0 -79
  226. package/dist/es/components/header/view-selector/ViewSelectorList.d.ts +0 -42
  227. package/dist/es/components/header/view-selector/ViewSelectorList.js +0 -136
  228. package/dist/es/constants/main.d.ts +0 -49
  229. package/dist/es/constants/main.js +0 -55
  230. package/dist/es/context/SchedulerContext.d.ts +0 -22
  231. package/dist/es/context/SchedulerContext.js +0 -4
  232. package/dist/es/context/SchedulerEditItemContext.d.ts +0 -15
  233. package/dist/es/context/SchedulerEditItemContext.js +0 -4
  234. package/dist/es/context/SchedulerEditSlotContext.d.ts +0 -10
  235. package/dist/es/context/SchedulerEditSlotContext.js +0 -4
  236. package/dist/es/context/SchedulerEditTaskContext.d.ts +0 -11
  237. package/dist/es/context/SchedulerEditTaskContext.js +0 -4
  238. package/dist/es/context/SchedulerResourceIteratorContext.d.ts +0 -43
  239. package/dist/es/context/SchedulerResourceIteratorContext.js +0 -55
  240. package/dist/es/context/SchedulerViewContext.d.ts +0 -18
  241. package/dist/es/context/SchedulerViewContext.js +0 -4
  242. package/dist/es/context/main.d.ts +0 -5
  243. package/dist/es/context/main.js +0 -5
  244. package/dist/es/editors/FilterableComboBox.d.ts +0 -42
  245. package/dist/es/editors/FilterableComboBox.js +0 -87
  246. package/dist/es/editors/ResourceEditor.d.ts +0 -53
  247. package/dist/es/editors/ResourceEditor.js +0 -139
  248. package/dist/es/editors/SchedulerFormEditor.d.ts +0 -262
  249. package/dist/es/editors/SchedulerFormEditor.js +0 -1784
  250. package/dist/es/editors/ZonedDateTime.d.ts +0 -51
  251. package/dist/es/editors/ZonedDateTime.js +0 -102
  252. package/dist/es/editors/common.d.ts +0 -12
  253. package/dist/es/editors/common.js +0 -29
  254. package/dist/es/hooks/main.d.ts +0 -9
  255. package/dist/es/hooks/main.js +0 -9
  256. package/dist/es/hooks/use-items-focus.d.ts +0 -23
  257. package/dist/es/hooks/use-items-focus.js +0 -57
  258. package/dist/es/hooks/use-items-selection.d.ts +0 -30
  259. package/dist/es/hooks/use-items-selection.js +0 -88
  260. package/dist/es/hooks/use-slots-focus.d.ts +0 -33
  261. package/dist/es/hooks/use-slots-focus.js +0 -95
  262. package/dist/es/hooks/use-slots-selection.d.ts +0 -23
  263. package/dist/es/hooks/use-slots-selection.js +0 -49
  264. package/dist/es/hooks/useAsyncMouseEnterLeave.d.ts +0 -10
  265. package/dist/es/hooks/useAsyncMouseEnterLeave.js +0 -25
  266. package/dist/es/hooks/useCellSync.d.ts +0 -9
  267. package/dist/es/hooks/useCellSync.js +0 -41
  268. package/dist/es/hooks/useEditable.d.ts +0 -3
  269. package/dist/es/hooks/useEditable.js +0 -19
  270. package/dist/es/hooks/usePropOrState.d.ts +0 -2
  271. package/dist/es/hooks/usePropOrState.js +0 -7
  272. package/dist/es/hooks/useRowSync.d.ts +0 -10
  273. package/dist/es/hooks/useRowSync.js +0 -45
  274. package/dist/es/hooks/useSchedulerSlot.d.ts +0 -6
  275. package/dist/es/hooks/useSchedulerSlot.js +0 -4
  276. package/dist/es/hooks/useSlotExpand.d.ts +0 -3
  277. package/dist/es/hooks/useSlotExpand.js +0 -58
  278. package/dist/es/hooks/useWorkHours.d.ts +0 -2
  279. package/dist/es/hooks/useWorkHours.js +0 -4
  280. package/dist/es/items/SchedulerEditItem.d.ts +0 -357
  281. package/dist/es/items/SchedulerEditItem.js +0 -1039
  282. package/dist/es/items/SchedulerItem.d.ts +0 -236
  283. package/dist/es/items/SchedulerItem.js +0 -947
  284. package/dist/es/items/SchedulerItemContent.d.ts +0 -47
  285. package/dist/es/items/SchedulerItemContent.js +0 -35
  286. package/dist/es/items/SchedulerViewItem.d.ts +0 -61
  287. package/dist/es/items/SchedulerViewItem.js +0 -577
  288. package/dist/es/items/hooks/use-drag-item.d.ts +0 -34
  289. package/dist/es/items/hooks/use-drag-item.js +0 -207
  290. package/dist/es/items/hooks/use-form-item.d.ts +0 -22
  291. package/dist/es/items/hooks/use-form-item.js +0 -47
  292. package/dist/es/items/hooks/use-remove-item.d.ts +0 -30
  293. package/dist/es/items/hooks/use-remove-item.js +0 -45
  294. package/dist/es/items/hooks/use-resize-item.d.ts +0 -39
  295. package/dist/es/items/hooks/use-resize-item.js +0 -251
  296. package/dist/es/items/hooks/use-series.d.ts +0 -25
  297. package/dist/es/items/hooks/use-series.js +0 -37
  298. package/dist/es/items/hooks/use-show-occurrence-dialog.d.ts +0 -29
  299. package/dist/es/items/hooks/use-show-occurrence-dialog.js +0 -46
  300. package/dist/es/items/hooks/use-show-remove-item-dialog.d.ts +0 -29
  301. package/dist/es/items/hooks/use-show-remove-item-dialog.js +0 -45
  302. package/dist/es/main.d.ts +0 -43
  303. package/dist/es/main.js +0 -49
  304. package/dist/es/messages/main.d.ts +0 -236
  305. package/dist/es/messages/main.js +0 -237
  306. package/dist/es/models/DataItem.d.ts +0 -8
  307. package/dist/es/models/DataItem.js +0 -1
  308. package/dist/es/models/DateRange.d.ts +0 -18
  309. package/dist/es/models/DateRange.js +0 -1
  310. package/dist/es/models/EditableProp.d.ts +0 -29
  311. package/dist/es/models/EditableProp.js +0 -1
  312. package/dist/es/models/Fields.d.ts +0 -17
  313. package/dist/es/models/Fields.js +0 -1
  314. package/dist/es/models/Group.d.ts +0 -8
  315. package/dist/es/models/Group.js +0 -1
  316. package/dist/es/models/Item.d.ts +0 -62
  317. package/dist/es/models/Item.js +0 -1
  318. package/dist/es/models/NavigationAction.d.ts +0 -17
  319. package/dist/es/models/NavigationAction.js +0 -1
  320. package/dist/es/models/Occurrence.d.ts +0 -52
  321. package/dist/es/models/Occurrence.js +0 -1
  322. package/dist/es/models/Omit.d.ts +0 -4
  323. package/dist/es/models/Omit.js +0 -1
  324. package/dist/es/models/Orientation.d.ts +0 -2
  325. package/dist/es/models/Orientation.js +0 -1
  326. package/dist/es/models/Range.d.ts +0 -10
  327. package/dist/es/models/Range.js +0 -1
  328. package/dist/es/models/Rect.d.ts +0 -15
  329. package/dist/es/models/Rect.js +0 -1
  330. package/dist/es/models/Resource.d.ts +0 -8
  331. package/dist/es/models/Resource.js +0 -1
  332. package/dist/es/models/SchedulerGroup.d.ts +0 -13
  333. package/dist/es/models/SchedulerGroup.js +0 -1
  334. package/dist/es/models/SchedulerHandle.d.ts +0 -6
  335. package/dist/es/models/SchedulerHandle.js +0 -1
  336. package/dist/es/models/SchedulerModelFields.d.ts +0 -62
  337. package/dist/es/models/SchedulerModelFields.js +0 -1
  338. package/dist/es/models/SchedulerResource.d.ts +0 -33
  339. package/dist/es/models/SchedulerResource.js +0 -1
  340. package/dist/es/models/SchedulerView.d.ts +0 -83
  341. package/dist/es/models/SchedulerView.js +0 -1
  342. package/dist/es/models/Slot.d.ts +0 -51
  343. package/dist/es/models/Slot.js +0 -1
  344. package/dist/es/models/events.d.ts +0 -81
  345. package/dist/es/models/events.js +0 -1
  346. package/dist/es/models/main.d.ts +0 -17
  347. package/dist/es/models/main.js +0 -17
  348. package/dist/es/package-metadata.d.ts +0 -5
  349. package/dist/es/package-metadata.js +0 -11
  350. package/dist/es/recurrence/RecurrenceEditor.d.ts +0 -54
  351. package/dist/es/recurrence/RecurrenceEditor.js +0 -961
  352. package/dist/es/recurrence/RecurrenceFrequencyEditor.d.ts +0 -48
  353. package/dist/es/recurrence/RecurrenceFrequencyEditor.js +0 -101
  354. package/dist/es/recurrence/RecurrenceRepeatOnWeekEditor.d.ts +0 -51
  355. package/dist/es/recurrence/RecurrenceRepeatOnWeekEditor.js +0 -133
  356. package/dist/es/recurrence/common.d.ts +0 -57
  357. package/dist/es/recurrence/common.js +0 -212
  358. package/dist/es/recurrence/types/EndRule.d.ts +0 -4
  359. package/dist/es/recurrence/types/EndRule.js +0 -1
  360. package/dist/es/recurrence/types/Frequency.d.ts +0 -4
  361. package/dist/es/recurrence/types/Frequency.js +0 -1
  362. package/dist/es/recurrence/types/FrequencyEntity.d.ts +0 -8
  363. package/dist/es/recurrence/types/FrequencyEntity.js +0 -1
  364. package/dist/es/recurrence/types/MonthEntity.d.ts +0 -7
  365. package/dist/es/recurrence/types/MonthEntity.js +0 -1
  366. package/dist/es/recurrence/types/OffsetPosition.d.ts +0 -4
  367. package/dist/es/recurrence/types/OffsetPosition.js +0 -1
  368. package/dist/es/recurrence/types/OffsetPositionEntity.d.ts +0 -7
  369. package/dist/es/recurrence/types/OffsetPositionEntity.js +0 -1
  370. package/dist/es/recurrence/types/RepeatOnRule.d.ts +0 -4
  371. package/dist/es/recurrence/types/RepeatOnRule.js +0 -1
  372. package/dist/es/recurrence/types/WeekDayEntity.d.ts +0 -7
  373. package/dist/es/recurrence/types/WeekDayEntity.js +0 -1
  374. package/dist/es/recurrence/types/WeekDayRule.d.ts +0 -8
  375. package/dist/es/recurrence/types/WeekDayRule.js +0 -1
  376. package/dist/es/recurrence/utils/main.d.ts +0 -1
  377. package/dist/es/recurrence/utils/main.js +0 -0
  378. package/dist/es/reducers/editReducer.d.ts +0 -33
  379. package/dist/es/reducers/editReducer.js +0 -65
  380. package/dist/es/reducers/main.d.ts +0 -1
  381. package/dist/es/reducers/main.js +0 -1
  382. package/dist/es/services/itemsService.d.ts +0 -14
  383. package/dist/es/services/itemsService.js +0 -76
  384. package/dist/es/services/main.d.ts +0 -4
  385. package/dist/es/services/main.js +0 -4
  386. package/dist/es/services/occurrenceService.d.ts +0 -7
  387. package/dist/es/services/occurrenceService.js +0 -92
  388. package/dist/es/services/rangeService.d.ts +0 -6
  389. package/dist/es/services/rangeService.js +0 -23
  390. package/dist/es/services/slotsService.d.ts +0 -8
  391. package/dist/es/services/slotsService.js +0 -42
  392. package/dist/es/slots/SchedulerEditSlot.d.ts +0 -80
  393. package/dist/es/slots/SchedulerEditSlot.js +0 -395
  394. package/dist/es/slots/SchedulerSlot.d.ts +0 -146
  395. package/dist/es/slots/SchedulerSlot.js +0 -373
  396. package/dist/es/slots/SchedulerViewSlot.d.ts +0 -73
  397. package/dist/es/slots/SchedulerViewSlot.js +0 -232
  398. package/dist/es/tasks/SchedulerEditTask.d.ts +0 -113
  399. package/dist/es/tasks/SchedulerEditTask.js +0 -317
  400. package/dist/es/tasks/SchedulerTask.d.ts +0 -82
  401. package/dist/es/tasks/SchedulerTask.js +0 -233
  402. package/dist/es/tasks/SchedulerViewTask.d.ts +0 -58
  403. package/dist/es/tasks/SchedulerViewTask.js +0 -159
  404. package/dist/es/utils/main.d.ts +0 -185
  405. package/dist/es/utils/main.js +0 -593
  406. package/dist/es/views/agenda/AgendaView.d.ts +0 -107
  407. package/dist/es/views/agenda/AgendaView.js +0 -342
  408. package/dist/es/views/agenda/AgendaViewBody.d.ts +0 -50
  409. package/dist/es/views/agenda/AgendaViewBody.js +0 -243
  410. package/dist/es/views/agenda/AgendaViewHead.d.ts +0 -46
  411. package/dist/es/views/agenda/AgendaViewHead.js +0 -56
  412. package/dist/es/views/agenda/AgendaViewHeaderItem.d.ts +0 -46
  413. package/dist/es/views/agenda/AgendaViewHeaderItem.js +0 -47
  414. package/dist/es/views/common/HorizontalResourceIterator.d.ts +0 -61
  415. package/dist/es/views/common/HorizontalResourceIterator.js +0 -178
  416. package/dist/es/views/common/SchedulerDrag.d.ts +0 -64
  417. package/dist/es/views/common/SchedulerDrag.js +0 -138
  418. package/dist/es/views/common/SchedulerResize.d.ts +0 -67
  419. package/dist/es/views/common/SchedulerResize.js +0 -142
  420. package/dist/es/views/common/VerticalResourceIterator.d.ts +0 -56
  421. package/dist/es/views/common/VerticalResourceIterator.js +0 -367
  422. package/dist/es/views/common/utils.d.ts +0 -34
  423. package/dist/es/views/common/utils.js +0 -196
  424. package/dist/es/views/day/DayView.d.ts +0 -43
  425. package/dist/es/views/day/DayView.js +0 -191
  426. package/dist/es/views/day/DayViewAllDayRowContent.d.ts +0 -41
  427. package/dist/es/views/day/DayViewAllDayRowContent.js +0 -41
  428. package/dist/es/views/day/DayViewAllDaySlots.d.ts +0 -48
  429. package/dist/es/views/day/DayViewAllDaySlots.js +0 -125
  430. package/dist/es/views/day/DayViewGroupRowContent.d.ts +0 -41
  431. package/dist/es/views/day/DayViewGroupRowContent.js +0 -33
  432. package/dist/es/views/day/DayViewHead.d.ts +0 -42
  433. package/dist/es/views/day/DayViewHead.js +0 -62
  434. package/dist/es/views/day/DayViewMiddleRow.d.ts +0 -53
  435. package/dist/es/views/day/DayViewMiddleRow.js +0 -131
  436. package/dist/es/views/day/DayViewRowContent.d.ts +0 -45
  437. package/dist/es/views/day/DayViewRowContent.js +0 -51
  438. package/dist/es/views/day/DayViewVerticalRow.d.ts +0 -44
  439. package/dist/es/views/day/DayViewVerticalRow.js +0 -120
  440. package/dist/es/views/day/DayViewVerticalSlotsRow.d.ts +0 -56
  441. package/dist/es/views/day/DayViewVerticalSlotsRow.js +0 -171
  442. package/dist/es/views/day/MultiDayView.d.ts +0 -181
  443. package/dist/es/views/day/MultiDayView.js +0 -1459
  444. package/dist/es/views/month/MonthView.d.ts +0 -99
  445. package/dist/es/views/month/MonthView.js +0 -650
  446. package/dist/es/views/month/MonthViewBody.d.ts +0 -48
  447. package/dist/es/views/month/MonthViewBody.js +0 -162
  448. package/dist/es/views/month/MonthViewHead.d.ts +0 -42
  449. package/dist/es/views/month/MonthViewHead.js +0 -95
  450. package/dist/es/views/time/MultiDayTimelineView.d.ts +0 -175
  451. package/dist/es/views/time/MultiDayTimelineView.js +0 -854
  452. package/dist/es/views/time/TimelineView.d.ts +0 -43
  453. package/dist/es/views/time/TimelineView.js +0 -199
  454. package/dist/es/views/time/TimelineViewAllEventsRowContent.d.ts +0 -40
  455. package/dist/es/views/time/TimelineViewAllEventsRowContent.js +0 -42
  456. package/dist/es/views/time/TimelineViewBody.d.ts +0 -49
  457. package/dist/es/views/time/TimelineViewBody.js +0 -131
  458. package/dist/es/views/time/TimelineViewRowContent.d.ts +0 -40
  459. package/dist/es/views/time/TimelineViewRowContent.js +0 -29
  460. package/dist/es/views/week/WeekView.d.ts +0 -114
  461. package/dist/es/views/week/WeekView.js +0 -213
  462. package/dist/es/views/week/WorkWeekView.d.ts +0 -40
  463. package/dist/es/views/week/WorkWeekView.js +0 -195
  464. package/dist/esm/Scheduler.d.ts +0 -337
  465. package/dist/esm/Scheduler.js +0 -656
  466. package/dist/esm/additionalTypes.ts +0 -21
  467. package/dist/esm/components/BaseView.d.ts +0 -52
  468. package/dist/esm/components/BaseView.js +0 -143
  469. package/dist/esm/components/CurrentTimeMarker.d.ts +0 -50
  470. package/dist/esm/components/CurrentTimeMarker.js +0 -157
  471. package/dist/esm/components/CurrentTimeMarkerArrow.d.ts +0 -47
  472. package/dist/esm/components/CurrentTimeMarkerArrow.js +0 -130
  473. package/dist/esm/components/DateHeaderCell.d.ts +0 -76
  474. package/dist/esm/components/DateHeaderCell.js +0 -65
  475. package/dist/esm/components/SchedulerActionButtons.d.ts +0 -48
  476. package/dist/esm/components/SchedulerActionButtons.js +0 -128
  477. package/dist/esm/components/SchedulerForm.d.ts +0 -73
  478. package/dist/esm/components/SchedulerForm.js +0 -225
  479. package/dist/esm/components/SchedulerOccurrenceDialog.d.ts +0 -76
  480. package/dist/esm/components/SchedulerOccurrenceDialog.js +0 -185
  481. package/dist/esm/components/SchedulerRemoveDialog.d.ts +0 -72
  482. package/dist/esm/components/SchedulerRemoveDialog.js +0 -166
  483. package/dist/esm/components/ShowMoreItemsButton.d.ts +0 -56
  484. package/dist/esm/components/ShowMoreItemsButton.js +0 -82
  485. package/dist/esm/components/TimeHeaderCell.d.ts +0 -76
  486. package/dist/esm/components/TimeHeaderCell.js +0 -63
  487. package/dist/esm/components/footer/SchedulerFooter.d.ts +0 -49
  488. package/dist/esm/components/footer/SchedulerFooter.js +0 -43
  489. package/dist/esm/components/footer/bussiness-hours/BusinessHours.d.ts +0 -50
  490. package/dist/esm/components/footer/bussiness-hours/BusinessHours.js +0 -97
  491. package/dist/esm/components/header/SchedulerHeader.d.ts +0 -49
  492. package/dist/esm/components/header/SchedulerHeader.js +0 -35
  493. package/dist/esm/components/header/navigation/DatePickerToggleButton.d.ts +0 -42
  494. package/dist/esm/components/header/navigation/DatePickerToggleButton.js +0 -101
  495. package/dist/esm/components/header/navigation/NavigationDatePicker.d.ts +0 -42
  496. package/dist/esm/components/header/navigation/NavigationDatePicker.js +0 -269
  497. package/dist/esm/components/header/navigation/SchedulerNavigation.d.ts +0 -50
  498. package/dist/esm/components/header/navigation/SchedulerNavigation.js +0 -315
  499. package/dist/esm/components/header/view-selector/SchedulerViewSelector.d.ts +0 -49
  500. package/dist/esm/components/header/view-selector/SchedulerViewSelector.js +0 -30
  501. package/dist/esm/components/header/view-selector/ViewSelectorItem.d.ts +0 -47
  502. package/dist/esm/components/header/view-selector/ViewSelectorItem.js +0 -79
  503. package/dist/esm/components/header/view-selector/ViewSelectorList.d.ts +0 -42
  504. package/dist/esm/components/header/view-selector/ViewSelectorList.js +0 -136
  505. package/dist/esm/constants/main.d.ts +0 -49
  506. package/dist/esm/constants/main.js +0 -55
  507. package/dist/esm/context/SchedulerContext.d.ts +0 -22
  508. package/dist/esm/context/SchedulerContext.js +0 -4
  509. package/dist/esm/context/SchedulerEditItemContext.d.ts +0 -15
  510. package/dist/esm/context/SchedulerEditItemContext.js +0 -4
  511. package/dist/esm/context/SchedulerEditSlotContext.d.ts +0 -10
  512. package/dist/esm/context/SchedulerEditSlotContext.js +0 -4
  513. package/dist/esm/context/SchedulerEditTaskContext.d.ts +0 -11
  514. package/dist/esm/context/SchedulerEditTaskContext.js +0 -4
  515. package/dist/esm/context/SchedulerResourceIteratorContext.d.ts +0 -43
  516. package/dist/esm/context/SchedulerResourceIteratorContext.js +0 -55
  517. package/dist/esm/context/SchedulerViewContext.d.ts +0 -18
  518. package/dist/esm/context/SchedulerViewContext.js +0 -4
  519. package/dist/esm/context/main.d.ts +0 -5
  520. package/dist/esm/context/main.js +0 -5
  521. package/dist/esm/editors/FilterableComboBox.d.ts +0 -42
  522. package/dist/esm/editors/FilterableComboBox.js +0 -87
  523. package/dist/esm/editors/ResourceEditor.d.ts +0 -53
  524. package/dist/esm/editors/ResourceEditor.js +0 -139
  525. package/dist/esm/editors/SchedulerFormEditor.d.ts +0 -262
  526. package/dist/esm/editors/SchedulerFormEditor.js +0 -1784
  527. package/dist/esm/editors/ZonedDateTime.d.ts +0 -51
  528. package/dist/esm/editors/ZonedDateTime.js +0 -102
  529. package/dist/esm/editors/common.d.ts +0 -12
  530. package/dist/esm/editors/common.js +0 -29
  531. package/dist/esm/hooks/main.d.ts +0 -9
  532. package/dist/esm/hooks/main.js +0 -9
  533. package/dist/esm/hooks/use-items-focus.d.ts +0 -23
  534. package/dist/esm/hooks/use-items-focus.js +0 -57
  535. package/dist/esm/hooks/use-items-selection.d.ts +0 -30
  536. package/dist/esm/hooks/use-items-selection.js +0 -88
  537. package/dist/esm/hooks/use-slots-focus.d.ts +0 -33
  538. package/dist/esm/hooks/use-slots-focus.js +0 -95
  539. package/dist/esm/hooks/use-slots-selection.d.ts +0 -23
  540. package/dist/esm/hooks/use-slots-selection.js +0 -49
  541. package/dist/esm/hooks/useAsyncMouseEnterLeave.d.ts +0 -10
  542. package/dist/esm/hooks/useAsyncMouseEnterLeave.js +0 -25
  543. package/dist/esm/hooks/useCellSync.d.ts +0 -9
  544. package/dist/esm/hooks/useCellSync.js +0 -41
  545. package/dist/esm/hooks/useEditable.d.ts +0 -3
  546. package/dist/esm/hooks/useEditable.js +0 -19
  547. package/dist/esm/hooks/usePropOrState.d.ts +0 -2
  548. package/dist/esm/hooks/usePropOrState.js +0 -7
  549. package/dist/esm/hooks/useRowSync.d.ts +0 -10
  550. package/dist/esm/hooks/useRowSync.js +0 -45
  551. package/dist/esm/hooks/useSchedulerSlot.d.ts +0 -6
  552. package/dist/esm/hooks/useSchedulerSlot.js +0 -4
  553. package/dist/esm/hooks/useSlotExpand.d.ts +0 -3
  554. package/dist/esm/hooks/useSlotExpand.js +0 -58
  555. package/dist/esm/hooks/useWorkHours.d.ts +0 -2
  556. package/dist/esm/hooks/useWorkHours.js +0 -4
  557. package/dist/esm/items/SchedulerEditItem.d.ts +0 -357
  558. package/dist/esm/items/SchedulerEditItem.js +0 -1039
  559. package/dist/esm/items/SchedulerItem.d.ts +0 -236
  560. package/dist/esm/items/SchedulerItem.js +0 -947
  561. package/dist/esm/items/SchedulerItemContent.d.ts +0 -47
  562. package/dist/esm/items/SchedulerItemContent.js +0 -35
  563. package/dist/esm/items/SchedulerViewItem.d.ts +0 -61
  564. package/dist/esm/items/SchedulerViewItem.js +0 -577
  565. package/dist/esm/items/hooks/use-drag-item.d.ts +0 -34
  566. package/dist/esm/items/hooks/use-drag-item.js +0 -207
  567. package/dist/esm/items/hooks/use-form-item.d.ts +0 -22
  568. package/dist/esm/items/hooks/use-form-item.js +0 -47
  569. package/dist/esm/items/hooks/use-remove-item.d.ts +0 -30
  570. package/dist/esm/items/hooks/use-remove-item.js +0 -45
  571. package/dist/esm/items/hooks/use-resize-item.d.ts +0 -39
  572. package/dist/esm/items/hooks/use-resize-item.js +0 -251
  573. package/dist/esm/items/hooks/use-series.d.ts +0 -25
  574. package/dist/esm/items/hooks/use-series.js +0 -37
  575. package/dist/esm/items/hooks/use-show-occurrence-dialog.d.ts +0 -29
  576. package/dist/esm/items/hooks/use-show-occurrence-dialog.js +0 -46
  577. package/dist/esm/items/hooks/use-show-remove-item-dialog.d.ts +0 -29
  578. package/dist/esm/items/hooks/use-show-remove-item-dialog.js +0 -45
  579. package/dist/esm/main.d.ts +0 -43
  580. package/dist/esm/main.js +0 -49
  581. package/dist/esm/messages/main.d.ts +0 -236
  582. package/dist/esm/messages/main.js +0 -237
  583. package/dist/esm/models/DataItem.d.ts +0 -8
  584. package/dist/esm/models/DataItem.js +0 -1
  585. package/dist/esm/models/DateRange.d.ts +0 -18
  586. package/dist/esm/models/DateRange.js +0 -1
  587. package/dist/esm/models/EditableProp.d.ts +0 -29
  588. package/dist/esm/models/EditableProp.js +0 -1
  589. package/dist/esm/models/Fields.d.ts +0 -17
  590. package/dist/esm/models/Fields.js +0 -1
  591. package/dist/esm/models/Group.d.ts +0 -8
  592. package/dist/esm/models/Group.js +0 -1
  593. package/dist/esm/models/Item.d.ts +0 -62
  594. package/dist/esm/models/Item.js +0 -1
  595. package/dist/esm/models/NavigationAction.d.ts +0 -17
  596. package/dist/esm/models/NavigationAction.js +0 -1
  597. package/dist/esm/models/Occurrence.d.ts +0 -52
  598. package/dist/esm/models/Occurrence.js +0 -1
  599. package/dist/esm/models/Omit.d.ts +0 -4
  600. package/dist/esm/models/Omit.js +0 -1
  601. package/dist/esm/models/Orientation.d.ts +0 -2
  602. package/dist/esm/models/Orientation.js +0 -1
  603. package/dist/esm/models/Range.d.ts +0 -10
  604. package/dist/esm/models/Range.js +0 -1
  605. package/dist/esm/models/Rect.d.ts +0 -15
  606. package/dist/esm/models/Rect.js +0 -1
  607. package/dist/esm/models/Resource.d.ts +0 -8
  608. package/dist/esm/models/Resource.js +0 -1
  609. package/dist/esm/models/SchedulerGroup.d.ts +0 -13
  610. package/dist/esm/models/SchedulerGroup.js +0 -1
  611. package/dist/esm/models/SchedulerHandle.d.ts +0 -6
  612. package/dist/esm/models/SchedulerHandle.js +0 -1
  613. package/dist/esm/models/SchedulerModelFields.d.ts +0 -62
  614. package/dist/esm/models/SchedulerModelFields.js +0 -1
  615. package/dist/esm/models/SchedulerResource.d.ts +0 -33
  616. package/dist/esm/models/SchedulerResource.js +0 -1
  617. package/dist/esm/models/SchedulerView.d.ts +0 -83
  618. package/dist/esm/models/SchedulerView.js +0 -1
  619. package/dist/esm/models/Slot.d.ts +0 -51
  620. package/dist/esm/models/Slot.js +0 -1
  621. package/dist/esm/models/events.d.ts +0 -81
  622. package/dist/esm/models/events.js +0 -1
  623. package/dist/esm/models/main.d.ts +0 -17
  624. package/dist/esm/models/main.js +0 -17
  625. package/dist/esm/package-metadata.d.ts +0 -5
  626. package/dist/esm/package-metadata.js +0 -11
  627. package/dist/esm/package.json +0 -3
  628. package/dist/esm/recurrence/RecurrenceEditor.d.ts +0 -54
  629. package/dist/esm/recurrence/RecurrenceEditor.js +0 -961
  630. package/dist/esm/recurrence/RecurrenceFrequencyEditor.d.ts +0 -48
  631. package/dist/esm/recurrence/RecurrenceFrequencyEditor.js +0 -101
  632. package/dist/esm/recurrence/RecurrenceRepeatOnWeekEditor.d.ts +0 -51
  633. package/dist/esm/recurrence/RecurrenceRepeatOnWeekEditor.js +0 -133
  634. package/dist/esm/recurrence/common.d.ts +0 -57
  635. package/dist/esm/recurrence/common.js +0 -212
  636. package/dist/esm/recurrence/types/EndRule.d.ts +0 -4
  637. package/dist/esm/recurrence/types/EndRule.js +0 -1
  638. package/dist/esm/recurrence/types/Frequency.d.ts +0 -4
  639. package/dist/esm/recurrence/types/Frequency.js +0 -1
  640. package/dist/esm/recurrence/types/FrequencyEntity.d.ts +0 -8
  641. package/dist/esm/recurrence/types/FrequencyEntity.js +0 -1
  642. package/dist/esm/recurrence/types/MonthEntity.d.ts +0 -7
  643. package/dist/esm/recurrence/types/MonthEntity.js +0 -1
  644. package/dist/esm/recurrence/types/OffsetPosition.d.ts +0 -4
  645. package/dist/esm/recurrence/types/OffsetPosition.js +0 -1
  646. package/dist/esm/recurrence/types/OffsetPositionEntity.d.ts +0 -7
  647. package/dist/esm/recurrence/types/OffsetPositionEntity.js +0 -1
  648. package/dist/esm/recurrence/types/RepeatOnRule.d.ts +0 -4
  649. package/dist/esm/recurrence/types/RepeatOnRule.js +0 -1
  650. package/dist/esm/recurrence/types/WeekDayEntity.d.ts +0 -7
  651. package/dist/esm/recurrence/types/WeekDayEntity.js +0 -1
  652. package/dist/esm/recurrence/types/WeekDayRule.d.ts +0 -8
  653. package/dist/esm/recurrence/types/WeekDayRule.js +0 -1
  654. package/dist/esm/recurrence/utils/main.d.ts +0 -1
  655. package/dist/esm/recurrence/utils/main.js +0 -0
  656. package/dist/esm/reducers/editReducer.d.ts +0 -33
  657. package/dist/esm/reducers/editReducer.js +0 -65
  658. package/dist/esm/reducers/main.d.ts +0 -1
  659. package/dist/esm/reducers/main.js +0 -1
  660. package/dist/esm/services/itemsService.d.ts +0 -14
  661. package/dist/esm/services/itemsService.js +0 -76
  662. package/dist/esm/services/main.d.ts +0 -4
  663. package/dist/esm/services/main.js +0 -4
  664. package/dist/esm/services/occurrenceService.d.ts +0 -7
  665. package/dist/esm/services/occurrenceService.js +0 -92
  666. package/dist/esm/services/rangeService.d.ts +0 -6
  667. package/dist/esm/services/rangeService.js +0 -23
  668. package/dist/esm/services/slotsService.d.ts +0 -8
  669. package/dist/esm/services/slotsService.js +0 -42
  670. package/dist/esm/slots/SchedulerEditSlot.d.ts +0 -80
  671. package/dist/esm/slots/SchedulerEditSlot.js +0 -395
  672. package/dist/esm/slots/SchedulerSlot.d.ts +0 -146
  673. package/dist/esm/slots/SchedulerSlot.js +0 -373
  674. package/dist/esm/slots/SchedulerViewSlot.d.ts +0 -73
  675. package/dist/esm/slots/SchedulerViewSlot.js +0 -232
  676. package/dist/esm/tasks/SchedulerEditTask.d.ts +0 -113
  677. package/dist/esm/tasks/SchedulerEditTask.js +0 -317
  678. package/dist/esm/tasks/SchedulerTask.d.ts +0 -82
  679. package/dist/esm/tasks/SchedulerTask.js +0 -233
  680. package/dist/esm/tasks/SchedulerViewTask.d.ts +0 -58
  681. package/dist/esm/tasks/SchedulerViewTask.js +0 -159
  682. package/dist/esm/utils/main.d.ts +0 -185
  683. package/dist/esm/utils/main.js +0 -593
  684. package/dist/esm/views/agenda/AgendaView.d.ts +0 -107
  685. package/dist/esm/views/agenda/AgendaView.js +0 -342
  686. package/dist/esm/views/agenda/AgendaViewBody.d.ts +0 -50
  687. package/dist/esm/views/agenda/AgendaViewBody.js +0 -243
  688. package/dist/esm/views/agenda/AgendaViewHead.d.ts +0 -46
  689. package/dist/esm/views/agenda/AgendaViewHead.js +0 -56
  690. package/dist/esm/views/agenda/AgendaViewHeaderItem.d.ts +0 -46
  691. package/dist/esm/views/agenda/AgendaViewHeaderItem.js +0 -47
  692. package/dist/esm/views/common/HorizontalResourceIterator.d.ts +0 -61
  693. package/dist/esm/views/common/HorizontalResourceIterator.js +0 -178
  694. package/dist/esm/views/common/SchedulerDrag.d.ts +0 -64
  695. package/dist/esm/views/common/SchedulerDrag.js +0 -138
  696. package/dist/esm/views/common/SchedulerResize.d.ts +0 -67
  697. package/dist/esm/views/common/SchedulerResize.js +0 -142
  698. package/dist/esm/views/common/VerticalResourceIterator.d.ts +0 -56
  699. package/dist/esm/views/common/VerticalResourceIterator.js +0 -367
  700. package/dist/esm/views/common/utils.d.ts +0 -34
  701. package/dist/esm/views/common/utils.js +0 -196
  702. package/dist/esm/views/day/DayView.d.ts +0 -43
  703. package/dist/esm/views/day/DayView.js +0 -191
  704. package/dist/esm/views/day/DayViewAllDayRowContent.d.ts +0 -41
  705. package/dist/esm/views/day/DayViewAllDayRowContent.js +0 -41
  706. package/dist/esm/views/day/DayViewAllDaySlots.d.ts +0 -48
  707. package/dist/esm/views/day/DayViewAllDaySlots.js +0 -125
  708. package/dist/esm/views/day/DayViewGroupRowContent.d.ts +0 -41
  709. package/dist/esm/views/day/DayViewGroupRowContent.js +0 -33
  710. package/dist/esm/views/day/DayViewHead.d.ts +0 -42
  711. package/dist/esm/views/day/DayViewHead.js +0 -62
  712. package/dist/esm/views/day/DayViewMiddleRow.d.ts +0 -53
  713. package/dist/esm/views/day/DayViewMiddleRow.js +0 -131
  714. package/dist/esm/views/day/DayViewRowContent.d.ts +0 -45
  715. package/dist/esm/views/day/DayViewRowContent.js +0 -51
  716. package/dist/esm/views/day/DayViewVerticalRow.d.ts +0 -44
  717. package/dist/esm/views/day/DayViewVerticalRow.js +0 -120
  718. package/dist/esm/views/day/DayViewVerticalSlotsRow.d.ts +0 -56
  719. package/dist/esm/views/day/DayViewVerticalSlotsRow.js +0 -171
  720. package/dist/esm/views/day/MultiDayView.d.ts +0 -181
  721. package/dist/esm/views/day/MultiDayView.js +0 -1459
  722. package/dist/esm/views/month/MonthView.d.ts +0 -99
  723. package/dist/esm/views/month/MonthView.js +0 -650
  724. package/dist/esm/views/month/MonthViewBody.d.ts +0 -48
  725. package/dist/esm/views/month/MonthViewBody.js +0 -162
  726. package/dist/esm/views/month/MonthViewHead.d.ts +0 -42
  727. package/dist/esm/views/month/MonthViewHead.js +0 -95
  728. package/dist/esm/views/time/MultiDayTimelineView.d.ts +0 -175
  729. package/dist/esm/views/time/MultiDayTimelineView.js +0 -854
  730. package/dist/esm/views/time/TimelineView.d.ts +0 -43
  731. package/dist/esm/views/time/TimelineView.js +0 -199
  732. package/dist/esm/views/time/TimelineViewAllEventsRowContent.d.ts +0 -40
  733. package/dist/esm/views/time/TimelineViewAllEventsRowContent.js +0 -42
  734. package/dist/esm/views/time/TimelineViewBody.d.ts +0 -49
  735. package/dist/esm/views/time/TimelineViewBody.js +0 -131
  736. package/dist/esm/views/time/TimelineViewRowContent.d.ts +0 -40
  737. package/dist/esm/views/time/TimelineViewRowContent.js +0 -29
  738. package/dist/esm/views/week/WeekView.d.ts +0 -114
  739. package/dist/esm/views/week/WeekView.js +0 -213
  740. package/dist/esm/views/week/WorkWeekView.d.ts +0 -40
  741. package/dist/esm/views/week/WorkWeekView.js +0 -195
  742. package/dist/npm/Scheduler.d.ts +0 -337
  743. package/dist/npm/Scheduler.js +0 -663
  744. package/dist/npm/additionalTypes.ts +0 -21
  745. package/dist/npm/components/BaseView.d.ts +0 -52
  746. package/dist/npm/components/BaseView.js +0 -150
  747. package/dist/npm/components/CurrentTimeMarker.d.ts +0 -50
  748. package/dist/npm/components/CurrentTimeMarker.js +0 -164
  749. package/dist/npm/components/CurrentTimeMarkerArrow.d.ts +0 -47
  750. package/dist/npm/components/CurrentTimeMarkerArrow.js +0 -137
  751. package/dist/npm/components/DateHeaderCell.d.ts +0 -76
  752. package/dist/npm/components/DateHeaderCell.js +0 -72
  753. package/dist/npm/components/SchedulerActionButtons.d.ts +0 -48
  754. package/dist/npm/components/SchedulerActionButtons.js +0 -135
  755. package/dist/npm/components/SchedulerForm.d.ts +0 -73
  756. package/dist/npm/components/SchedulerForm.js +0 -232
  757. package/dist/npm/components/SchedulerOccurrenceDialog.d.ts +0 -76
  758. package/dist/npm/components/SchedulerOccurrenceDialog.js +0 -193
  759. package/dist/npm/components/SchedulerRemoveDialog.d.ts +0 -72
  760. package/dist/npm/components/SchedulerRemoveDialog.js +0 -173
  761. package/dist/npm/components/ShowMoreItemsButton.d.ts +0 -56
  762. package/dist/npm/components/ShowMoreItemsButton.js +0 -89
  763. package/dist/npm/components/TimeHeaderCell.d.ts +0 -76
  764. package/dist/npm/components/TimeHeaderCell.js +0 -70
  765. package/dist/npm/components/footer/SchedulerFooter.d.ts +0 -49
  766. package/dist/npm/components/footer/SchedulerFooter.js +0 -49
  767. package/dist/npm/components/footer/bussiness-hours/BusinessHours.d.ts +0 -50
  768. package/dist/npm/components/footer/bussiness-hours/BusinessHours.js +0 -103
  769. package/dist/npm/components/header/SchedulerHeader.d.ts +0 -49
  770. package/dist/npm/components/header/SchedulerHeader.js +0 -42
  771. package/dist/npm/components/header/navigation/DatePickerToggleButton.d.ts +0 -42
  772. package/dist/npm/components/header/navigation/DatePickerToggleButton.js +0 -108
  773. package/dist/npm/components/header/navigation/NavigationDatePicker.d.ts +0 -42
  774. package/dist/npm/components/header/navigation/NavigationDatePicker.js +0 -276
  775. package/dist/npm/components/header/navigation/SchedulerNavigation.d.ts +0 -50
  776. package/dist/npm/components/header/navigation/SchedulerNavigation.js +0 -322
  777. package/dist/npm/components/header/view-selector/SchedulerViewSelector.d.ts +0 -49
  778. package/dist/npm/components/header/view-selector/SchedulerViewSelector.js +0 -37
  779. package/dist/npm/components/header/view-selector/ViewSelectorItem.d.ts +0 -47
  780. package/dist/npm/components/header/view-selector/ViewSelectorItem.js +0 -86
  781. package/dist/npm/components/header/view-selector/ViewSelectorList.d.ts +0 -42
  782. package/dist/npm/components/header/view-selector/ViewSelectorList.js +0 -143
  783. package/dist/npm/constants/main.d.ts +0 -49
  784. package/dist/npm/constants/main.js +0 -59
  785. package/dist/npm/context/SchedulerContext.d.ts +0 -22
  786. package/dist/npm/context/SchedulerContext.js +0 -11
  787. package/dist/npm/context/SchedulerEditItemContext.d.ts +0 -15
  788. package/dist/npm/context/SchedulerEditItemContext.js +0 -11
  789. package/dist/npm/context/SchedulerEditSlotContext.d.ts +0 -10
  790. package/dist/npm/context/SchedulerEditSlotContext.js +0 -11
  791. package/dist/npm/context/SchedulerEditTaskContext.d.ts +0 -11
  792. package/dist/npm/context/SchedulerEditTaskContext.js +0 -11
  793. package/dist/npm/context/SchedulerResourceIteratorContext.d.ts +0 -43
  794. package/dist/npm/context/SchedulerResourceIteratorContext.js +0 -62
  795. package/dist/npm/context/SchedulerViewContext.d.ts +0 -18
  796. package/dist/npm/context/SchedulerViewContext.js +0 -11
  797. package/dist/npm/context/main.d.ts +0 -5
  798. package/dist/npm/context/main.js +0 -21
  799. package/dist/npm/editors/FilterableComboBox.d.ts +0 -42
  800. package/dist/npm/editors/FilterableComboBox.js +0 -94
  801. package/dist/npm/editors/ResourceEditor.d.ts +0 -53
  802. package/dist/npm/editors/ResourceEditor.js +0 -146
  803. package/dist/npm/editors/SchedulerFormEditor.d.ts +0 -262
  804. package/dist/npm/editors/SchedulerFormEditor.js +0 -1791
  805. package/dist/npm/editors/ZonedDateTime.d.ts +0 -51
  806. package/dist/npm/editors/ZonedDateTime.js +0 -109
  807. package/dist/npm/editors/common.d.ts +0 -12
  808. package/dist/npm/editors/common.js +0 -34
  809. package/dist/npm/hooks/main.d.ts +0 -9
  810. package/dist/npm/hooks/main.js +0 -25
  811. package/dist/npm/hooks/use-items-focus.d.ts +0 -23
  812. package/dist/npm/hooks/use-items-focus.js +0 -64
  813. package/dist/npm/hooks/use-items-selection.d.ts +0 -30
  814. package/dist/npm/hooks/use-items-selection.js +0 -95
  815. package/dist/npm/hooks/use-slots-focus.d.ts +0 -33
  816. package/dist/npm/hooks/use-slots-focus.js +0 -106
  817. package/dist/npm/hooks/use-slots-selection.d.ts +0 -23
  818. package/dist/npm/hooks/use-slots-selection.js +0 -56
  819. package/dist/npm/hooks/useAsyncMouseEnterLeave.d.ts +0 -10
  820. package/dist/npm/hooks/useAsyncMouseEnterLeave.js +0 -32
  821. package/dist/npm/hooks/useCellSync.d.ts +0 -9
  822. package/dist/npm/hooks/useCellSync.js +0 -48
  823. package/dist/npm/hooks/useEditable.d.ts +0 -3
  824. package/dist/npm/hooks/useEditable.js +0 -26
  825. package/dist/npm/hooks/usePropOrState.d.ts +0 -2
  826. package/dist/npm/hooks/usePropOrState.js +0 -14
  827. package/dist/npm/hooks/useRowSync.d.ts +0 -10
  828. package/dist/npm/hooks/useRowSync.js +0 -52
  829. package/dist/npm/hooks/useSchedulerSlot.d.ts +0 -6
  830. package/dist/npm/hooks/useSchedulerSlot.js +0 -11
  831. package/dist/npm/hooks/useSlotExpand.d.ts +0 -3
  832. package/dist/npm/hooks/useSlotExpand.js +0 -65
  833. package/dist/npm/hooks/useWorkHours.d.ts +0 -2
  834. package/dist/npm/hooks/useWorkHours.js +0 -11
  835. package/dist/npm/items/SchedulerEditItem.d.ts +0 -357
  836. package/dist/npm/items/SchedulerEditItem.js +0 -1046
  837. package/dist/npm/items/SchedulerItem.d.ts +0 -236
  838. package/dist/npm/items/SchedulerItem.js +0 -954
  839. package/dist/npm/items/SchedulerItemContent.d.ts +0 -47
  840. package/dist/npm/items/SchedulerItemContent.js +0 -42
  841. package/dist/npm/items/SchedulerViewItem.d.ts +0 -61
  842. package/dist/npm/items/SchedulerViewItem.js +0 -584
  843. package/dist/npm/items/hooks/use-drag-item.d.ts +0 -34
  844. package/dist/npm/items/hooks/use-drag-item.js +0 -214
  845. package/dist/npm/items/hooks/use-form-item.d.ts +0 -22
  846. package/dist/npm/items/hooks/use-form-item.js +0 -54
  847. package/dist/npm/items/hooks/use-remove-item.d.ts +0 -30
  848. package/dist/npm/items/hooks/use-remove-item.js +0 -52
  849. package/dist/npm/items/hooks/use-resize-item.d.ts +0 -39
  850. package/dist/npm/items/hooks/use-resize-item.js +0 -258
  851. package/dist/npm/items/hooks/use-series.d.ts +0 -25
  852. package/dist/npm/items/hooks/use-series.js +0 -45
  853. package/dist/npm/items/hooks/use-show-occurrence-dialog.d.ts +0 -29
  854. package/dist/npm/items/hooks/use-show-occurrence-dialog.js +0 -54
  855. package/dist/npm/items/hooks/use-show-remove-item-dialog.d.ts +0 -29
  856. package/dist/npm/items/hooks/use-show-remove-item-dialog.js +0 -53
  857. package/dist/npm/main.d.ts +0 -43
  858. package/dist/npm/main.js +0 -87
  859. package/dist/npm/messages/main.d.ts +0 -236
  860. package/dist/npm/messages/main.js +0 -241
  861. package/dist/npm/models/DataItem.d.ts +0 -8
  862. package/dist/npm/models/DataItem.js +0 -2
  863. package/dist/npm/models/DateRange.d.ts +0 -18
  864. package/dist/npm/models/DateRange.js +0 -2
  865. package/dist/npm/models/EditableProp.d.ts +0 -29
  866. package/dist/npm/models/EditableProp.js +0 -2
  867. package/dist/npm/models/Fields.d.ts +0 -17
  868. package/dist/npm/models/Fields.js +0 -2
  869. package/dist/npm/models/Group.d.ts +0 -8
  870. package/dist/npm/models/Group.js +0 -2
  871. package/dist/npm/models/Item.d.ts +0 -62
  872. package/dist/npm/models/Item.js +0 -2
  873. package/dist/npm/models/NavigationAction.d.ts +0 -17
  874. package/dist/npm/models/NavigationAction.js +0 -2
  875. package/dist/npm/models/Occurrence.d.ts +0 -52
  876. package/dist/npm/models/Occurrence.js +0 -2
  877. package/dist/npm/models/Omit.d.ts +0 -4
  878. package/dist/npm/models/Omit.js +0 -2
  879. package/dist/npm/models/Orientation.d.ts +0 -2
  880. package/dist/npm/models/Orientation.js +0 -2
  881. package/dist/npm/models/Range.d.ts +0 -10
  882. package/dist/npm/models/Range.js +0 -2
  883. package/dist/npm/models/Rect.d.ts +0 -15
  884. package/dist/npm/models/Rect.js +0 -2
  885. package/dist/npm/models/Resource.d.ts +0 -8
  886. package/dist/npm/models/Resource.js +0 -2
  887. package/dist/npm/models/SchedulerGroup.d.ts +0 -13
  888. package/dist/npm/models/SchedulerGroup.js +0 -2
  889. package/dist/npm/models/SchedulerHandle.d.ts +0 -6
  890. package/dist/npm/models/SchedulerHandle.js +0 -5
  891. package/dist/npm/models/SchedulerModelFields.d.ts +0 -62
  892. package/dist/npm/models/SchedulerModelFields.js +0 -2
  893. package/dist/npm/models/SchedulerResource.d.ts +0 -33
  894. package/dist/npm/models/SchedulerResource.js +0 -2
  895. package/dist/npm/models/SchedulerView.d.ts +0 -83
  896. package/dist/npm/models/SchedulerView.js +0 -2
  897. package/dist/npm/models/Slot.d.ts +0 -51
  898. package/dist/npm/models/Slot.js +0 -2
  899. package/dist/npm/models/events.d.ts +0 -81
  900. package/dist/npm/models/events.js +0 -2
  901. package/dist/npm/models/main.d.ts +0 -17
  902. package/dist/npm/models/main.js +0 -33
  903. package/dist/npm/package-metadata.d.ts +0 -5
  904. package/dist/npm/package-metadata.js +0 -14
  905. package/dist/npm/recurrence/RecurrenceEditor.d.ts +0 -54
  906. package/dist/npm/recurrence/RecurrenceEditor.js +0 -968
  907. package/dist/npm/recurrence/RecurrenceFrequencyEditor.d.ts +0 -48
  908. package/dist/npm/recurrence/RecurrenceFrequencyEditor.js +0 -108
  909. package/dist/npm/recurrence/RecurrenceRepeatOnWeekEditor.d.ts +0 -51
  910. package/dist/npm/recurrence/RecurrenceRepeatOnWeekEditor.js +0 -140
  911. package/dist/npm/recurrence/common.d.ts +0 -57
  912. package/dist/npm/recurrence/common.js +0 -233
  913. package/dist/npm/recurrence/types/EndRule.d.ts +0 -4
  914. package/dist/npm/recurrence/types/EndRule.js +0 -2
  915. package/dist/npm/recurrence/types/Frequency.d.ts +0 -4
  916. package/dist/npm/recurrence/types/Frequency.js +0 -2
  917. package/dist/npm/recurrence/types/FrequencyEntity.d.ts +0 -8
  918. package/dist/npm/recurrence/types/FrequencyEntity.js +0 -2
  919. package/dist/npm/recurrence/types/MonthEntity.d.ts +0 -7
  920. package/dist/npm/recurrence/types/MonthEntity.js +0 -2
  921. package/dist/npm/recurrence/types/OffsetPosition.d.ts +0 -4
  922. package/dist/npm/recurrence/types/OffsetPosition.js +0 -2
  923. package/dist/npm/recurrence/types/OffsetPositionEntity.d.ts +0 -7
  924. package/dist/npm/recurrence/types/OffsetPositionEntity.js +0 -2
  925. package/dist/npm/recurrence/types/RepeatOnRule.d.ts +0 -4
  926. package/dist/npm/recurrence/types/RepeatOnRule.js +0 -2
  927. package/dist/npm/recurrence/types/WeekDayEntity.d.ts +0 -7
  928. package/dist/npm/recurrence/types/WeekDayEntity.js +0 -2
  929. package/dist/npm/recurrence/types/WeekDayRule.d.ts +0 -8
  930. package/dist/npm/recurrence/types/WeekDayRule.js +0 -2
  931. package/dist/npm/recurrence/utils/main.d.ts +0 -1
  932. package/dist/npm/recurrence/utils/main.js +0 -0
  933. package/dist/npm/reducers/editReducer.d.ts +0 -33
  934. package/dist/npm/reducers/editReducer.js +0 -69
  935. package/dist/npm/reducers/main.d.ts +0 -1
  936. package/dist/npm/reducers/main.js +0 -17
  937. package/dist/npm/services/itemsService.d.ts +0 -14
  938. package/dist/npm/services/itemsService.js +0 -83
  939. package/dist/npm/services/main.d.ts +0 -4
  940. package/dist/npm/services/main.js +0 -20
  941. package/dist/npm/services/occurrenceService.d.ts +0 -7
  942. package/dist/npm/services/occurrenceService.js +0 -96
  943. package/dist/npm/services/rangeService.d.ts +0 -6
  944. package/dist/npm/services/rangeService.js +0 -27
  945. package/dist/npm/services/slotsService.d.ts +0 -8
  946. package/dist/npm/services/slotsService.js +0 -46
  947. package/dist/npm/slots/SchedulerEditSlot.d.ts +0 -80
  948. package/dist/npm/slots/SchedulerEditSlot.js +0 -402
  949. package/dist/npm/slots/SchedulerSlot.d.ts +0 -146
  950. package/dist/npm/slots/SchedulerSlot.js +0 -380
  951. package/dist/npm/slots/SchedulerViewSlot.d.ts +0 -73
  952. package/dist/npm/slots/SchedulerViewSlot.js +0 -239
  953. package/dist/npm/tasks/SchedulerEditTask.d.ts +0 -113
  954. package/dist/npm/tasks/SchedulerEditTask.js +0 -324
  955. package/dist/npm/tasks/SchedulerTask.d.ts +0 -82
  956. package/dist/npm/tasks/SchedulerTask.js +0 -240
  957. package/dist/npm/tasks/SchedulerViewTask.d.ts +0 -58
  958. package/dist/npm/tasks/SchedulerViewTask.js +0 -166
  959. package/dist/npm/utils/main.d.ts +0 -185
  960. package/dist/npm/utils/main.js +0 -648
  961. package/dist/npm/views/agenda/AgendaView.d.ts +0 -107
  962. package/dist/npm/views/agenda/AgendaView.js +0 -349
  963. package/dist/npm/views/agenda/AgendaViewBody.d.ts +0 -50
  964. package/dist/npm/views/agenda/AgendaViewBody.js +0 -250
  965. package/dist/npm/views/agenda/AgendaViewHead.d.ts +0 -46
  966. package/dist/npm/views/agenda/AgendaViewHead.js +0 -63
  967. package/dist/npm/views/agenda/AgendaViewHeaderItem.d.ts +0 -46
  968. package/dist/npm/views/agenda/AgendaViewHeaderItem.js +0 -54
  969. package/dist/npm/views/common/HorizontalResourceIterator.d.ts +0 -61
  970. package/dist/npm/views/common/HorizontalResourceIterator.js +0 -186
  971. package/dist/npm/views/common/SchedulerDrag.d.ts +0 -64
  972. package/dist/npm/views/common/SchedulerDrag.js +0 -145
  973. package/dist/npm/views/common/SchedulerResize.d.ts +0 -67
  974. package/dist/npm/views/common/SchedulerResize.js +0 -149
  975. package/dist/npm/views/common/VerticalResourceIterator.d.ts +0 -56
  976. package/dist/npm/views/common/VerticalResourceIterator.js +0 -374
  977. package/dist/npm/views/common/utils.d.ts +0 -34
  978. package/dist/npm/views/common/utils.js +0 -210
  979. package/dist/npm/views/day/DayView.d.ts +0 -43
  980. package/dist/npm/views/day/DayView.js +0 -198
  981. package/dist/npm/views/day/DayViewAllDayRowContent.d.ts +0 -41
  982. package/dist/npm/views/day/DayViewAllDayRowContent.js +0 -48
  983. package/dist/npm/views/day/DayViewAllDaySlots.d.ts +0 -48
  984. package/dist/npm/views/day/DayViewAllDaySlots.js +0 -132
  985. package/dist/npm/views/day/DayViewGroupRowContent.d.ts +0 -41
  986. package/dist/npm/views/day/DayViewGroupRowContent.js +0 -40
  987. package/dist/npm/views/day/DayViewHead.d.ts +0 -42
  988. package/dist/npm/views/day/DayViewHead.js +0 -69
  989. package/dist/npm/views/day/DayViewMiddleRow.d.ts +0 -53
  990. package/dist/npm/views/day/DayViewMiddleRow.js +0 -138
  991. package/dist/npm/views/day/DayViewRowContent.d.ts +0 -45
  992. package/dist/npm/views/day/DayViewRowContent.js +0 -58
  993. package/dist/npm/views/day/DayViewVerticalRow.d.ts +0 -44
  994. package/dist/npm/views/day/DayViewVerticalRow.js +0 -127
  995. package/dist/npm/views/day/DayViewVerticalSlotsRow.d.ts +0 -56
  996. package/dist/npm/views/day/DayViewVerticalSlotsRow.js +0 -178
  997. package/dist/npm/views/day/MultiDayView.d.ts +0 -181
  998. package/dist/npm/views/day/MultiDayView.js +0 -1466
  999. package/dist/npm/views/month/MonthView.d.ts +0 -99
  1000. package/dist/npm/views/month/MonthView.js +0 -657
  1001. package/dist/npm/views/month/MonthViewBody.d.ts +0 -48
  1002. package/dist/npm/views/month/MonthViewBody.js +0 -169
  1003. package/dist/npm/views/month/MonthViewHead.d.ts +0 -42
  1004. package/dist/npm/views/month/MonthViewHead.js +0 -102
  1005. package/dist/npm/views/time/MultiDayTimelineView.d.ts +0 -175
  1006. package/dist/npm/views/time/MultiDayTimelineView.js +0 -861
  1007. package/dist/npm/views/time/TimelineView.d.ts +0 -43
  1008. package/dist/npm/views/time/TimelineView.js +0 -206
  1009. package/dist/npm/views/time/TimelineViewAllEventsRowContent.d.ts +0 -40
  1010. package/dist/npm/views/time/TimelineViewAllEventsRowContent.js +0 -49
  1011. package/dist/npm/views/time/TimelineViewBody.d.ts +0 -49
  1012. package/dist/npm/views/time/TimelineViewBody.js +0 -138
  1013. package/dist/npm/views/time/TimelineViewRowContent.d.ts +0 -40
  1014. package/dist/npm/views/time/TimelineViewRowContent.js +0 -36
  1015. package/dist/npm/views/week/WeekView.d.ts +0 -114
  1016. package/dist/npm/views/week/WeekView.js +0 -220
  1017. package/dist/npm/views/week/WorkWeekView.d.ts +0 -40
  1018. package/dist/npm/views/week/WorkWeekView.js +0 -202
package/README.md CHANGED
@@ -1,56 +1,46 @@
1
- <a href="https://www.telerik.com/kendo-vue-ui/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-scheduler&utm_content=banner" target="_blank">
1
+ <a href="https://www.telerik.com/kendo-vue-ui/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-utils&utm_content=banner" target="_blank">
2
2
  <img src="https://www.telerik.com/kendo-vue-ui/npm-banner.svg" alt="Kendo UI for Vue NPM Banner">
3
3
  </a>
4
4
 
5
-
6
- # Kendo UI for Vue Scheduler Component for Vue
5
+ ## Kendo UI for Vue Scheduler Package for Vue
7
6
 
8
7
  > **Important**
9
- > * This package is а part of [Kendo UI for Vue](https://www.telerik.com/kendo-vue-ui/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-scheduler)&mdash;a commercial UI library.
10
- > * You will need to install a license key when adding the package to your project. For more information, please refer to the [Kendo UI for Vue My License page](https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-scheduler).
11
- > * To receive a license key, you need to either [purchase a license](https://www.telerik.com/purchase/kendo-ui/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-scheduler) or register for a [free trial](https://www.telerik.com/download-login-v2-kendo-vue-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-scheduler). Doing so indicates that you [accept the Kendo UI for Vue License Agreement](https://www.telerik.com/purchase/license-agreement/progress-kendovue?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-scheduler).
12
- > * The 30-day free trial gives you access to all the Kendo UI for Vue components and their full functionality. Additionally, for the period of your license, you get access to our legendary technical support provided directly by the Kendo UI for Vue dev team!
13
8
  >
14
- > [Start using Kendo UI for Vue](https://www.telerik.com/download-login-v2-kendo-vue-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-scheduler) and speed up your development process!
15
-
16
- The Kendo UI for Vue Scheduler provides out-of-the-box support for timezone conversion, resources visualization, grouping, editing, and recurring events.
9
+ > - This package is а part of [Kendo UI for Vue](https://www.telerik.com/kendo-vue-ui/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmscheduler)&mdash;a commercial UI library.
10
+ > - You will need to install a license key when adding the package to your project. For more information, please refer to the [Kendo UI for Vue My License page](https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmscheduler).
11
+ > - To receive a license key, you need to either [purchase a license](https://www.telerik.com/purchase/kendo-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmscheduler) or register for a [free trial](https://www.telerik.com/download-login-v2-kendo-vue-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmscheduler). Doing so indicates that you [accept the Kendo UI for Vue License Agreement](https://www.telerik.com/kendo-vue-ui-develop/my-license/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmscheduler).
12
+ > - The 30-day free trial gives you access to all the Kendo UI for Vue components and their full functionality. Additionally, for the period of your license, you get access to our legendary technical support provided directly by the Kendo UI for Vue dev team!
13
+ >
14
+ > [Start using Kendo UI for Vue](https://www.telerik.com/download-login-v2-kendo-vue-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmscheduler) and speed up your development process!
17
15
 
18
16
  ## Vue Scheduler
19
17
 
20
18
  > Historically, all Kendo UI for Vue Native components support both **Vue 2** and **Vue 3**, however, Vue 2 is currently in its end-of-support phase till Nov 2024. After our last major release for 2024, Vue 2 will no longer be supported in the new versions of the Kendo UI for Vue components. Please check our [Vue 2 End of Support article](https://www.telerik.com/kendo-vue-ui/components/vue2-deprecation/) for more details.
21
19
 
22
- The Kendo UI for Vue Scheduler component is built on Vue from the ground up by developers with 19+ years of experience in making enterprise-ready components. This results in a Vue scheduling component that delivers lightning fast performance and is highly customizable.
23
-
24
- Among the many features which the Kendo UI for Vue Scheduler delivers are:
20
+ Among the many features which the Kendo UI for Vue Scheduler deliver are:
25
21
 
26
- * [Multiple views](https://www.telerik.com/kendo-vue-ui/components/scheduler/views/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-scheduler)&mdash;You can display the Scheduler events in any of the available Timeline, Day, Week, Month, or Agenda views.
27
- * [Editing](https://www.telerik.com/kendo-vue-ui/components/scheduler/editing/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-scheduler)&mdash;You can create, update, and delete events displayed by the Scheduler allowing for a fast and easy rescheduling.
28
- * [Grouping](https://www.telerik.com/kendo-vue-ui/components/scheduler/grouping/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-scheduler)&mdash;The Scheduler enables grouping by different resources like meeting rooms, teams, and more, which provides a nice arrangement of the events within the same group.
29
- * [Resources](https://www.telerik.com/kendo-vue-ui/components/scheduler/resources/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-scheduler)&mdash;Define different custom resources such as available conference rooms or guest lists for the Scheduler to work with.
30
- * [Recurring events](https://www.telerik.com/kendo-vue-ui/components/scheduler/recurring/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-scheduler)&mdash;You can schedule a recurring event that will occur on a specific day, for example, each Monday during the next year.
31
- * [Controlled and uncontrolled mode for the date selection](https://www.telerik.com/kendo-vue-ui/components/scheduler/date-selection/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-scheduler)&mdash;This capability allows you to completely override the date selection from outside the Scheduler.
32
- * [Timezones](https://www.telerik.com/kendo-vue-ui/components/scheduler/timezones/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-scheduler)&mdash;You can display the events in the Scheduler in different timezones when building multinational applications.
33
- * [Globalization](https://www.telerik.com/kendo-vue-ui/components/scheduler/timezones/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-scheduler)&mdash;The globalization process combines the translation of component messages with adapting them to specific cultures
34
- * [Theme support](https://www.telerik.com/kendo-vue-ui/components/styling/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-scheduler)&mdash;The Kendo UI for Vue Scheduler, as well as all 100+ components in the Kendo UI for Vue suite, are styled in four polished themes (Bootstrap, Material, Default and Fluent) and can be further customized to match your specific design guidelines.
22
+ - TODO 1
23
+ - TODO 2
24
+ - TODO 3
35
25
 
36
26
  ## Support Options
37
27
 
38
28
  For any issues you might encounter while working with the Kendo UI for Vue Scheduler, use any of the available support channels:
39
29
 
40
- * Industry-leading technical support&mdash;Kendo UI for Vue paid license holders and users with an active (free) trial license can take advantage of our outstanding customer support. To submit a ticket, use [the dedicated Kendo UI for Vue support system](https://www.telerik.com/account/support-tickets?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-scheduler).
41
- * Product forums&mdash;The [Kendo UI for Vue forums](https://www.telerik.com/forums/kendo-ui-vue?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-scheduler) are part of the free support you can get from the community and from the Kendo UI for Vue team.
42
- * Feedback portal&mdash;The [Kendo UI for Vue feedback portal](https://feedback.telerik.com/kendo-vue-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-scheduler) is where you can request and vote for new features to be added.
30
+ - Industry-leading technical support&mdash;Kendo UI for Vue paid license holders and users with an active (free) trial license can take advantage of our outstanding customer support. To submit a ticket, use [the dedicated Kendo UI for Vue support system](https://www.telerik.com/account/support-tickets?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmscheduler).
31
+ - Product forums&mdash;The [Kendo UI for Vue forums](https://www.telerik.com/forums/kendo-ui-vue?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmscheduler) are part of the free support you can get from the community and from the Kendo UI for Vue team.
32
+ - Feedback portal&mdash;The [Kendo UI for Vue feedback portal](https://feedback.telerik.com/kendo-vue-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmscheduler) is where you can request and vote for new features to be added.
43
33
 
44
34
  ## Resources
45
35
 
46
- * [Getting Started with Kendo UI for Vue](https://www.telerik.com/kendo-vue-ui/getting-started/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-scheduler)
47
- * [Getting Started with the Kendo UI for Vue Scheduler](https://www.telerik.com/kendo-vue-ui/components/scheduler/get-started/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-scheduler)
48
- * [API Reference of the Kendo UI for Vue Scheduler](https://www.telerik.com/kendo-vue-ui/components/scheduler/api/SchedulerProps/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-scheduler)
49
- * [Kendo UI for Vue Roadmap](https://www.telerik.com/support/whats-new/kendo-vue-ui/roadmap/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-scheduler)
50
- * [Blogs](https://www.telerik.com/blogs/web-vue?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-scheduler)
51
- * [Demos, documentation, and component reference](https://www.telerik.com/kendo-vue-ui/components/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-scheduler)
52
- * [Kendo UI for Vue pricing and licensing](https://www.telerik.com/purchase/kendo-ui/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npm-scheduler)
36
+ - [Getting Started with Kendo UI for Vue](https://www.telerik.com/kendo-vue-ui/getting-started/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmscheduler)
37
+ - [Getting Started with the Kendo UI for Vue Scheduler](https://www.telerik.com/kendo-vue-ui/components/scheduler/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmscheduler)
38
+ - [API Reference of the Kendo UI for Vue Scheduler](https://www.telerik.com/kendo-vue-ui/components/scheduler/api/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmscheduler)
39
+ - [Kendo UI for Vue Roadmap](https://www.telerik.com/kendo-vue-ui/roadmap/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmscheduler)
40
+ - [Blogs](https://www.telerik.com/blogs/tag/vue?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmscheduler)
41
+ - [Demos, documentation, and component reference](https://www.telerik.com/kendo-vue-ui/components/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmscheduler)
42
+ - [Kendo UI for Vue pricing and licensing](https://www.telerik.com/purchase/kendo-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-vue-trial-npmscheduler)
53
43
 
54
- *Copyright © 2023 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.*
44
+ _Copyright © 2024 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved._
55
45
 
56
- *Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries.*
46
+ _Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries._
package/Scheduler.js ADDED
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),t=require("./utils/main.js"),a=require("@progress/kendo-vue-common"),N=require("./components/header/SchedulerHeader.js"),f=require("@progress/kendo-vue-intl"),P=require("./components/header/navigation/SchedulerNavigation.js"),c=require("@progress/kendo-date-math"),x=require("./components/footer/SchedulerFooter.js"),O=require("@progress/kendo-vue-buttons"),E=require("./components/header/navigation/NavigationDatePicker.js"),A=require("./components/header/view-selector/ViewSelectorList.js"),T=require("./components/footer/bussiness-hours/BusinessHours.js"),w=require("./package-metadata.js"),H=require("./views/agenda/AgendaView.js"),W=require("./views/time/TimelineView.js"),u=require("./views/day/DayView.js"),M=require("./views/week/WeekView.js"),q=require("./views/week/WorkWeekView.js"),j=require("./views/month/MonthView.js"),m=require("./constants/main.js"),z=require("./hooks/useEditable.js"),V="{0:D}",D="{0:d}",L=n.defineComponent({name:"KendoScheduler",props:{dataItems:{type:Array,default:function(){return[]}},views:{type:Array,default:function(){return[]}},view:String,defaultView:String,date:Date,rtl:Boolean,height:{type:[Number,String],default:600},timezone:String,group:Object,resources:[Object,Array],modelFields:Object,tabIndex:{type:Number,default:-1},editable:{type:[Boolean,Object],default:!1},defaultDate:{type:Date,default:function(){return new Date}},validator:{type:Function,default:()=>({})},modifyInitialFormValues:{type:Function,default:e=>e},header:[String,Function,Object],footer:[String,Function,Object],slotRender:[String,Function,Object],viewSlot:[String,Function,Object],item:[String,Function,Object],viewItem:[String,Function,Object],task:[String,Function,Object],form:[String,Function,Object],resizeHint:[String,Function,Object],dialogProps:Object,formProps:Object,dateHeaderCell:[String,Function,Object],timeHeaderCell:[String,Function,Object]},computed:{isRtl(){return this.$props.rtl!==void 0?this.$props.rtl:this.currentRtl},wrapperClassName(){return{"k-rtl":this.isRtl,"k-scheduler":!0}},fields(){return t.getModelFields(this.$props.modelFields).fields}},mounted(){this.currentRtl=a.isRtl(this.$el)},provide(){return{ks:this.ks,setActiveViewName:this.handleActiveViewNameChange,setActiveDate:this.handleDateChange,itemDoubleClick:this.handleItemDoubleClick,itemClick:this.handleItemClick,slotDoubleClick:this.handleSlotDoubleClick,slotClick:this.handleSlotClick,taskDoubleClick:this.handleTaskDoubleClick,taskClick:this.handleTaskClick,ksValidator:this.validator,ksModifyInitialFormValues:this.modifyInitialFormValues}},inject:{kendoLocalizationService:{default:null},kendoIntlService:{default:null}},data(){const e=f.provideIntlService(this),s=this.$props.date||this.$props.defaultDate,r=this.$props.view||this.$props.defaultView||this.views[0]&&this.views[0].name||"day",i=this.views.find(h=>h.name===r)||this.views[0]||n.createVNode(u.DayView,null,null),l=this.getViewPropValue(i,"selectedDateFormat",r)||V,o=this.getViewPropValue(i,"selectedShortDateFormat",r)||D,d=this.getViewComponentByName(r).props.dateRange.default()({intl:e,date:s,timezone:this.$props.timezone,numberOfDays:this.getViewPropValue(i,"numberOfDays",r),workWeekStart:this.getViewPropValue(i,"workWeekStart",r)||e.firstDay(),workWeekEnd:this.getViewPropValue(i,"workWeekEnd",r)||(e.firstDay()+this.getViewPropValue(i,"numberOfDays",r))%6});return{ks:{activeViewName:r,currentDate:s,showWorkHours:i.showWorkHours!==void 0?i.showWorkHours:!0,timezone:this.$props.timezone,props:{...this.$props},views:this.views,view:i,fields:t.getModelFields(this.$props.modelFields).fields,groups:t.toSchedulerGroups(this.$props.group,this.$props.resources),dateRange:d,orientation:this.$props.group&&this.$props.group.orientation?this.$props.group.orientation:"horizontal",dateFormat:l,shortDateFormat:o,scheduler:this,dataItems:this.dataItems}}},watch:{isRtl(e){this.ks.isRtl=e},view(e){this.updatePassedState(e)},date(e){this.ks.currentDate=e,this.updatePassedState()},timezone(e){this.ks.timezone=e,this.updatePassedState()},dataItems(e){this.ks.dataItems=e}},render(){a.validatePackage(w.packageMetadata),this.showLicenseWatermark=a.shouldShowValidationUI(w.packageMetadata),this.$props;const e=this.views.find($=>$.name===this.ks.activeViewName)||this.views[0]||n.createVNode(u.DayView,null,null),s=this.getViewPropValue(this.ks.view,"slotDuration",this.ks.activeViewName),r=a.templateRendering.call(this,e.header||this.$props.header,a.getListeners.call(this)),i=a.templateRendering.call(this,e.footer||this.$props.footer,a.getListeners.call(this)),l=a.templateRendering.call(this,e.slot||this.$props.slotRender,{}),o=a.templateRendering.call(this,e.viewSlot||this.$props.viewSlot,{}),d=a.templateRendering.call(this,e.item||this.$props.item,{}),h=a.templateRendering.call(this,e.viewItem||this.$props.viewItem,{}),p=a.templateRendering.call(this,e.task||this.$props.task,{}),v=a.templateRendering.call(this,e.dateHeaderCell||this.$props.dateHeaderCell,{}),F=a.templateRendering.call(this,e.timeHeaderCell||this.$props.timeHeaderCell,{}),C=a.templateRendering.call(this,e.resizeHint||this.$props.resizeHint,{});this.ks.form=a.templateRendering.call(this,e.form||this.$props.form,{}),this.ks.dialogProps=e.dialogProps||this.$props.dialogProps,this.ks.formProps=e.formProps||this.$props.formProps;const S=z.useEditable(e.editable!==void 0?e.editable:this.$props.editable),b=this.getViewComponentByName(this.ks.activeViewName||e.name);({...this.$props,...this.ks.view,showWorkHours:this.ks.showWorkHours,dateRange:this.ks.dateRange});let k;const I=n.createVNode(N.SchedulerHeader,null,{default:()=>[n.createVNode(P.SchedulerNavigation,{isRtl:this.isRtl,onPrevclick:this.handlePrevClick,onNextclick:this.handleNextClick,onTodayclick:this.handleTodayClick},null),n.createVNode(E.NavigationDatePicker,{value:this.ks.currentDate,onChange:this.handleDatePickerChange},null),n.createVNode(O.ToolbarSpacer,null,null),n.createVNode(A.ViewSelectorList,null,null)]});k=a.getTemplate.call(this,{h:n.h,template:r,defaultRendering:I,additionalProps:{currentDate:this.ks.currentDate},additionalListeners:{prevclick:this.handlePrevClick,nextclick:this.handleNextClick,todayclick:this.handleTodayClick,datepickerchange:this.handleDatePickerChange}});let g;const R=n.createVNode(x.SchedulerFooter,null,{default:()=>[n.createVNode(T.BusinessHours,{slotDuration:s,onClick:this.handleShowWorkHoursClick},null)]});g=a.getTemplate.call(this,{h:n.h,template:i,defaultRendering:R,additionalProps:{slotDuration:s},additionalListeners:{showworkhoursclick:this.handleShowWorkHoursClick}});const y=this.showLicenseWatermark?n.createVNode(a.WatermarkOverlay,null,null):null;return n.createVNode("div",{id:this.$props.id,style:{height:this.$props.height+"px"},class:this.wrapperClassName,tabindex:this.$props.tabIndex,dir:this.isRtl&&"rtl",role:this.$props.role||"application","aria-label":this.$props.ariaLabel,"aria-labelledby":this.$props.ariaLabelledby,onFocusin:this.handleFocus,onFocusout:this.handleBlur},[k,n.h(b,{key:this.ks.view.name,onDataaction:this.handleDataAction}),g,y])},methods:{getViewComponentByName(e){switch(e.toLowerCase()){case"week":return M.WeekView;case"workweek":return q.WorkWeekView;case"agenda":return H.AgendaView;case"timeline":return W.TimelineView;case"month":return j.MonthView;default:return u.DayView}},getViewPropValue(e,s,r){const i=this.getViewComponentByName(r).props[s];return e[s]||(i?i.default:void 0)},handleDataChange({created:e=[],updated:s=[],deleted:r=[]}){const i={created:e,updated:s,deleted:r};this.$emit("datachange",i)},handleCreate(e){const s=[e.dataItem];this.handleDataChange({created:s})},handleUpdate(e){const s=[],r=[];if(e.series)if(Array.isArray(e.dataItem))e.dataItem.map(i=>{const l=a.clone(t.findMaster(e.dataItem,this.fields,this.dataItems)),o=a.clone(i);t.setField(o,this.fields.originalStart,t.getField(l,this.fields.originalStart)),t.setField(o,this.fields.recurrenceId,t.getField(l,this.fields.recurrenceId)),t.setField(o,this.fields.recurrenceExceptions,t.getField(l,this.fields.recurrenceExceptions)),r.push(o)});else{const i=a.clone(t.findMaster(e.dataItem,this.fields,this.dataItems)),l=a.clone(e.dataItem);t.setField(l,this.fields.originalStart,t.getField(i,this.fields.originalStart)),t.setField(l,this.fields.recurrenceId,t.getField(i,this.fields.recurrenceId)),t.setField(l,this.fields.recurrenceExceptions,t.getField(i,this.fields.recurrenceExceptions)),r.push(l)}else if(Array.isArray(e.dataItem))e.dataItem.map(i=>{const l=t.getField(i,this.fields.recurrenceRule)!==null&&t.getField(i,this.fields.recurrenceRule)!==void 0;if(t.getField(i,this.fields.recurrenceId)!==null&&t.getField(i,this.fields.recurrenceId)!==void 0&&l){const d=a.clone(t.findMaster(i,this.fields,this.dataItems)),h=t.getField(i,this.fields.originalStart),p=t.getField(d,this.fields.recurrenceExceptions)||[];t.setField(d,this.fields.recurrenceExceptions,[...p,h]),t.setField(i,this.fields.recurrenceRule,null),r.push(d),s.push(i)}else r.push(i)});else{const i=t.getField(e.dataItem,this.fields.recurrenceRule)!==null&&t.getField(e.dataItem,this.fields.recurrenceRule)!==void 0;if(t.getField(e.dataItem,this.fields.recurrenceId)!==null&&t.getField(e.dataItem,this.fields.recurrenceId)!==void 0&&i){const o=a.clone(t.findMaster(e.dataItem,this.fields,this.dataItems)),d=t.getField(e.dataItem,this.fields.originalStart),h=t.getField(o,this.fields.recurrenceExceptions)||[];t.setField(o,this.fields.recurrenceExceptions,[...h,d]),t.setField(e.dataItem,this.fields.recurrenceRule,null),r.push(o),s.push(e.dataItem)}else r.push(e.dataItem)}this.handleDataChange({updated:r,created:s})},handleRemove(e){const s=[],r=[];if(e.series){const i=a.clone(t.findMaster(e.dataItem,this.fields,this.dataItems)),l=a.clone(e.dataItem);t.setField(l,this.fields.originalStart,t.getField(i,this.fields.originalStart)),t.setField(l,this.fields.recurrenceId,t.getField(i,this.fields.recurrenceId)),t.setField(l,this.fields.recurrenceRule,t.getField(i,this.fields.recurrenceRule)),t.setField(l,this.fields.recurrenceExceptions,t.getField(i,this.fields.recurrenceExceptions)),r.push(l)}else if(!(t.getField(e.dataItem,this.fields.recurrenceRule)!==null&&t.getField(e.dataItem,this.fields.recurrenceRule)!==void 0))r.push(e.dataItem);else{const l=a.clone(t.findMaster(e.dataItem,this.fields,this.dataItems)),o=t.getField(e.dataItem,this.fields.originalStart),d=t.getField(l,this.fields.recurrenceExceptions)||[];t.setField(l,this.fields.recurrenceExceptions,[...d,o]),t.setField(e.dataItem,this.fields.recurrenceRule,null),s.push(l)}this.handleDataChange({updated:s,deleted:r})},handleDataAction(e){switch(e.type){case m.DATA_ACTION.create:this.handleCreate(e);break;case m.DATA_ACTION.update:this.handleUpdate(e);break;case m.DATA_ACTION.remove:this.handleRemove(e);break}},handleActiveViewNameChange(e,s){this.updatePassedState(e),this.$emit("viewchange",{viewName:e,...s,target:this.ks.scheduler.$el})},handleDateChange(e,s){this.setDate(e,{...s,target:this.ks.scheduler.$el})},handleDatePickerChange(e){e.value&&this.setDate(e.value,{...e,target:this.ks.scheduler.$el,nativeEvent:e.event})},handleNextClick(e){e.preventDefault();const s=this.getViewPropValue(this.ks.view,"step",this.ks.activeViewName)||this.getViewPropValue(this.ks.view,"numberOfDays",this.ks.activeViewName)||1,i=s>27?c.addMonths(this.ks.currentDate,Math.round(s/27)):c.addDays(this.ks.currentDate,s);this.setDate(i,e)},handlePrevClick(e){e.preventDefault();const s=this.getViewPropValue(this.ks.view,"step",this.ks.activeViewName)||this.getViewPropValue(this.ks.view,"numberOfDays",this.ks.activeViewName)||1,i=s>27?c.addMonths(this.ks.currentDate,-Math.round(s/27)):c.addDays(this.ks.currentDate,-s);this.setDate(i,e)},handleTodayClick(e){e.preventDefault();const s=t.getToday();this.setDate(s,e)},handleShowWorkHoursClick(){this.ks.showWorkHours=!this.ks.showWorkHours},handleFocus(){this.$el&&(this.$el.style.boxShadow="0 0.5px 0.5px 0.5px rgba(0, 0, 0, .12)")},handleBlur(){this.$el&&(this.$el.style.boxShadow="")},handleItemClick(e){this.$emit("itemclick",e)},handleItemDoubleClick(e){this.$emit("itemdoubleclick",e)},handleSlotClick(e){this.$emit("slotclick",e)},handleSlotDoubleClick(e){this.$emit("slotdoubleclick",e)},handleTaskClick(e){this.$emit("taskclick",e)},handleTaskDoubleClick(e){this.$emit("taskdoubleclick",e)},setDate(e,s){this.ks.currentDate=e,this.updatePassedState(),this.$emit("datechange",{date:e,event:s})},updatePassedState(e){const s=f.provideIntlService(this),r=e||this.ks.activeViewName;this.ks.activeViewName=r,this.ks.view=this.views.find(i=>i.name===r)||this.views[0]||n.createVNode(u.DayView,null,null),this.ks.dateFormat=this.getViewPropValue(this.ks.view,"selectedDateFormat",r)||V,this.ks.shortDateFormat=this.getViewPropValue(this.ks.view,"selectedShortDateFormat",r)||D,this.ks.dateRange=this.getViewComponentByName(r).props.dateRange.default()({intl:s,date:this.ks.currentDate,timezone:this.$props.timezone,numberOfDays:this.getViewPropValue(this.ks.view,"numberOfDays",this.ks.activeViewName),workWeekStart:this.getViewPropValue(this.ks.view,"workWeekStart",this.ks.activeViewName)||s.firstDay(),workWeekEnd:this.getViewPropValue(this.ks.view,"workWeekEnd",this.ks.activeViewName)||(s.firstDay()+this.getViewPropValue(this.ks.view,"numberOfDays",this.ks.activeViewName))%6})}}});exports.Scheduler=L;
package/Scheduler.mjs ADDED
@@ -0,0 +1,439 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { defineComponent as T, createVNode as o, h as f } from "vue";
9
+ import { getModelFields as v, toSchedulerGroups as j, findMaster as p, setField as l, getField as r, getToday as z } from "./utils/main.mjs";
10
+ import { isRtl as M, validatePackage as L, shouldShowValidationUI as B, templateRendering as d, getListeners as V, getTemplate as C, WatermarkOverlay as _, clone as c } from "@progress/kendo-vue-common";
11
+ import { SchedulerHeader as U } from "./components/header/SchedulerHeader.mjs";
12
+ import { provideIntlService as S } from "@progress/kendo-vue-intl";
13
+ import { SchedulerNavigation as G } from "./components/header/navigation/SchedulerNavigation.mjs";
14
+ import { addMonths as b, addDays as I } from "@progress/kendo-date-math";
15
+ import { SchedulerFooter as K } from "./components/footer/SchedulerFooter.mjs";
16
+ import { ToolbarSpacer as q } from "@progress/kendo-vue-buttons";
17
+ import { NavigationDatePicker as J } from "./components/header/navigation/NavigationDatePicker.mjs";
18
+ import { ViewSelectorList as Q } from "./components/header/view-selector/ViewSelectorList.mjs";
19
+ import { BusinessHours as X } from "./components/footer/bussiness-hours/BusinessHours.mjs";
20
+ import { packageMetadata as $ } from "./package-metadata.mjs";
21
+ import { AgendaView as Y } from "./views/agenda/AgendaView.mjs";
22
+ import { TimelineView as Z } from "./views/time/TimelineView.mjs";
23
+ import { DayView as m } from "./views/day/DayView.mjs";
24
+ import { WeekView as ee } from "./views/week/WeekView.mjs";
25
+ import { WorkWeekView as te } from "./views/week/WorkWeekView.mjs";
26
+ import { MonthView as ie } from "./views/month/MonthView.mjs";
27
+ import { DATA_ACTION as w } from "./constants/main.mjs";
28
+ import { useEditable as se } from "./hooks/useEditable.mjs";
29
+ const y = "{0:D}", R = "{0:d}", Ie = /* @__PURE__ */ T({
30
+ name: "KendoScheduler",
31
+ props: {
32
+ dataItems: {
33
+ type: Array,
34
+ default: function() {
35
+ return [];
36
+ }
37
+ },
38
+ views: {
39
+ type: Array,
40
+ default: function() {
41
+ return [];
42
+ }
43
+ },
44
+ view: String,
45
+ defaultView: String,
46
+ date: Date,
47
+ rtl: Boolean,
48
+ height: {
49
+ type: [Number, String],
50
+ default: 600
51
+ },
52
+ timezone: String,
53
+ group: Object,
54
+ resources: [Object, Array],
55
+ modelFields: Object,
56
+ tabIndex: {
57
+ type: Number,
58
+ default: -1
59
+ },
60
+ editable: {
61
+ type: [Boolean, Object],
62
+ default: !1
63
+ },
64
+ defaultDate: {
65
+ type: Date,
66
+ default: function() {
67
+ return /* @__PURE__ */ new Date();
68
+ }
69
+ },
70
+ validator: {
71
+ type: Function,
72
+ default: () => ({})
73
+ },
74
+ modifyInitialFormValues: {
75
+ type: Function,
76
+ default: (e) => e
77
+ },
78
+ header: [String, Function, Object],
79
+ footer: [String, Function, Object],
80
+ slotRender: [String, Function, Object],
81
+ viewSlot: [String, Function, Object],
82
+ item: [String, Function, Object],
83
+ viewItem: [String, Function, Object],
84
+ task: [String, Function, Object],
85
+ form: [String, Function, Object],
86
+ resizeHint: [String, Function, Object],
87
+ dialogProps: Object,
88
+ formProps: Object,
89
+ dateHeaderCell: [String, Function, Object],
90
+ timeHeaderCell: [String, Function, Object]
91
+ },
92
+ computed: {
93
+ isRtl() {
94
+ return this.$props.rtl !== void 0 ? this.$props.rtl : this.currentRtl;
95
+ },
96
+ wrapperClassName() {
97
+ return {
98
+ "k-rtl": this.isRtl,
99
+ "k-scheduler": !0
100
+ };
101
+ },
102
+ fields() {
103
+ return v(this.$props.modelFields).fields;
104
+ }
105
+ },
106
+ mounted() {
107
+ this.currentRtl = M(this.$el);
108
+ },
109
+ provide() {
110
+ return {
111
+ ks: this.ks,
112
+ setActiveViewName: this.handleActiveViewNameChange,
113
+ setActiveDate: this.handleDateChange,
114
+ itemDoubleClick: this.handleItemDoubleClick,
115
+ itemClick: this.handleItemClick,
116
+ slotDoubleClick: this.handleSlotDoubleClick,
117
+ slotClick: this.handleSlotClick,
118
+ taskDoubleClick: this.handleTaskDoubleClick,
119
+ taskClick: this.handleTaskClick,
120
+ ksValidator: this.validator,
121
+ ksModifyInitialFormValues: this.modifyInitialFormValues
122
+ };
123
+ },
124
+ inject: {
125
+ kendoLocalizationService: {
126
+ default: null
127
+ },
128
+ kendoIntlService: {
129
+ default: null
130
+ }
131
+ },
132
+ data() {
133
+ const e = S(this), i = this.$props.date || this.$props.defaultDate, s = this.$props.view || this.$props.defaultView || this.views[0] && this.views[0].name || "day", t = this.views.find((u) => u.name === s) || this.views[0] || o(m, null, null), a = this.getViewPropValue(t, "selectedDateFormat", s) || y, n = this.getViewPropValue(t, "selectedShortDateFormat", s) || R, h = this.getViewComponentByName(s).props.dateRange.default()({
134
+ intl: e,
135
+ date: i,
136
+ timezone: this.$props.timezone,
137
+ numberOfDays: this.getViewPropValue(t, "numberOfDays", s),
138
+ workWeekStart: this.getViewPropValue(t, "workWeekStart", s) || e.firstDay(),
139
+ workWeekEnd: this.getViewPropValue(t, "workWeekEnd", s) || (e.firstDay() + this.getViewPropValue(t, "numberOfDays", s)) % 6
140
+ });
141
+ return {
142
+ ks: {
143
+ activeViewName: s,
144
+ currentDate: i,
145
+ showWorkHours: t.showWorkHours !== void 0 ? t.showWorkHours : !0,
146
+ timezone: this.$props.timezone,
147
+ props: {
148
+ ...this.$props
149
+ },
150
+ views: this.views,
151
+ view: t,
152
+ fields: v(this.$props.modelFields).fields,
153
+ groups: j(this.$props.group, this.$props.resources),
154
+ dateRange: h,
155
+ orientation: this.$props.group && this.$props.group.orientation ? this.$props.group.orientation : "horizontal",
156
+ dateFormat: a,
157
+ shortDateFormat: n,
158
+ scheduler: this,
159
+ dataItems: this.dataItems
160
+ }
161
+ };
162
+ },
163
+ watch: {
164
+ isRtl(e) {
165
+ this.ks.isRtl = e;
166
+ },
167
+ view(e) {
168
+ this.updatePassedState(e);
169
+ },
170
+ date(e) {
171
+ this.ks.currentDate = e, this.updatePassedState();
172
+ },
173
+ timezone(e) {
174
+ this.ks.timezone = e, this.updatePassedState();
175
+ },
176
+ dataItems(e) {
177
+ this.ks.dataItems = e;
178
+ }
179
+ },
180
+ render() {
181
+ L($), this.showLicenseWatermark = B($), this.$props;
182
+ const e = this.views.find((A) => A.name === this.ks.activeViewName) || this.views[0] || o(m, null, null), i = this.getViewPropValue(this.ks.view, "slotDuration", this.ks.activeViewName), s = d.call(this, e.header || this.$props.header, V.call(this)), t = d.call(this, e.footer || this.$props.footer, V.call(this)), a = d.call(this, e.slot || this.$props.slotRender, {}), n = d.call(this, e.viewSlot || this.$props.viewSlot, {}), h = d.call(this, e.item || this.$props.item, {}), u = d.call(this, e.viewItem || this.$props.viewItem, {}), k = d.call(this, e.task || this.$props.task, {}), P = d.call(this, e.dateHeaderCell || this.$props.dateHeaderCell, {}), F = d.call(this, e.timeHeaderCell || this.$props.timeHeaderCell, {}), x = d.call(this, e.resizeHint || this.$props.resizeHint, {});
183
+ this.ks.form = d.call(this, e.form || this.$props.form, {}), this.ks.dialogProps = e.dialogProps || this.$props.dialogProps, this.ks.formProps = e.formProps || this.$props.formProps;
184
+ const N = se(e.editable !== void 0 ? e.editable : this.$props.editable), E = this.getViewComponentByName(this.ks.activeViewName || e.name);
185
+ ({
186
+ ...this.$props,
187
+ ...this.ks.view,
188
+ showWorkHours: this.ks.showWorkHours,
189
+ dateRange: this.ks.dateRange
190
+ });
191
+ let g;
192
+ const O = o(U, null, {
193
+ default: () => [o(G, {
194
+ isRtl: this.isRtl,
195
+ onPrevclick: this.handlePrevClick,
196
+ onNextclick: this.handleNextClick,
197
+ onTodayclick: this.handleTodayClick
198
+ }, null), o(J, {
199
+ value: this.ks.currentDate,
200
+ onChange: this.handleDatePickerChange
201
+ }, null), o(q, null, null), o(Q, null, null)]
202
+ });
203
+ g = C.call(this, {
204
+ h: f,
205
+ template: s,
206
+ defaultRendering: O,
207
+ additionalProps: {
208
+ currentDate: this.ks.currentDate
209
+ },
210
+ additionalListeners: {
211
+ prevclick: this.handlePrevClick,
212
+ nextclick: this.handleNextClick,
213
+ todayclick: this.handleTodayClick,
214
+ datepickerchange: this.handleDatePickerChange
215
+ }
216
+ });
217
+ let D;
218
+ const H = o(K, null, {
219
+ default: () => [o(X, {
220
+ slotDuration: i,
221
+ onClick: this.handleShowWorkHoursClick
222
+ }, null)]
223
+ });
224
+ D = C.call(this, {
225
+ h: f,
226
+ template: t,
227
+ defaultRendering: H,
228
+ additionalProps: {
229
+ slotDuration: i
230
+ },
231
+ additionalListeners: {
232
+ showworkhoursclick: this.handleShowWorkHoursClick
233
+ }
234
+ });
235
+ const W = this.showLicenseWatermark ? o(_, null, null) : null;
236
+ return o("div", {
237
+ id: this.$props.id,
238
+ style: {
239
+ height: this.$props.height + "px"
240
+ },
241
+ class: this.wrapperClassName,
242
+ tabindex: this.$props.tabIndex,
243
+ dir: this.isRtl && "rtl",
244
+ role: this.$props.role || "application",
245
+ "aria-label": this.$props.ariaLabel,
246
+ "aria-labelledby": this.$props.ariaLabelledby,
247
+ onFocusin: this.handleFocus,
248
+ onFocusout: this.handleBlur
249
+ }, [g, f(E, {
250
+ key: this.ks.view.name,
251
+ onDataaction: this.handleDataAction
252
+ }), D, W]);
253
+ },
254
+ methods: {
255
+ getViewComponentByName(e) {
256
+ switch (e.toLowerCase()) {
257
+ case "week":
258
+ return ee;
259
+ case "workweek":
260
+ return te;
261
+ case "agenda":
262
+ return Y;
263
+ case "timeline":
264
+ return Z;
265
+ case "month":
266
+ return ie;
267
+ default:
268
+ return m;
269
+ }
270
+ },
271
+ getViewPropValue(e, i, s) {
272
+ const t = this.getViewComponentByName(s).props[i];
273
+ return e[i] || (t ? t.default : void 0);
274
+ },
275
+ handleDataChange({
276
+ created: e = [],
277
+ updated: i = [],
278
+ deleted: s = []
279
+ }) {
280
+ const t = {
281
+ created: e,
282
+ updated: i,
283
+ deleted: s
284
+ };
285
+ this.$emit("datachange", t);
286
+ },
287
+ handleCreate(e) {
288
+ const i = [e.dataItem];
289
+ this.handleDataChange({
290
+ created: i
291
+ });
292
+ },
293
+ handleUpdate(e) {
294
+ const i = [], s = [];
295
+ if (e.series)
296
+ if (Array.isArray(e.dataItem))
297
+ e.dataItem.map((t) => {
298
+ const a = c(p(e.dataItem, this.fields, this.dataItems)), n = c(t);
299
+ l(n, this.fields.originalStart, r(a, this.fields.originalStart)), l(n, this.fields.recurrenceId, r(a, this.fields.recurrenceId)), l(n, this.fields.recurrenceExceptions, r(a, this.fields.recurrenceExceptions)), s.push(n);
300
+ });
301
+ else {
302
+ const t = c(p(e.dataItem, this.fields, this.dataItems)), a = c(e.dataItem);
303
+ l(a, this.fields.originalStart, r(t, this.fields.originalStart)), l(a, this.fields.recurrenceId, r(t, this.fields.recurrenceId)), l(a, this.fields.recurrenceExceptions, r(t, this.fields.recurrenceExceptions)), s.push(a);
304
+ }
305
+ else if (Array.isArray(e.dataItem))
306
+ e.dataItem.map((t) => {
307
+ const a = r(t, this.fields.recurrenceRule) !== null && r(t, this.fields.recurrenceRule) !== void 0;
308
+ if (r(t, this.fields.recurrenceId) !== null && r(t, this.fields.recurrenceId) !== void 0 && a) {
309
+ const h = c(p(t, this.fields, this.dataItems)), u = r(t, this.fields.originalStart), k = r(h, this.fields.recurrenceExceptions) || [];
310
+ l(h, this.fields.recurrenceExceptions, [...k, u]), l(t, this.fields.recurrenceRule, null), s.push(h), i.push(t);
311
+ } else
312
+ s.push(t);
313
+ });
314
+ else {
315
+ const t = r(e.dataItem, this.fields.recurrenceRule) !== null && r(e.dataItem, this.fields.recurrenceRule) !== void 0;
316
+ if (r(e.dataItem, this.fields.recurrenceId) !== null && r(e.dataItem, this.fields.recurrenceId) !== void 0 && t) {
317
+ const n = c(p(e.dataItem, this.fields, this.dataItems)), h = r(e.dataItem, this.fields.originalStart), u = r(n, this.fields.recurrenceExceptions) || [];
318
+ l(n, this.fields.recurrenceExceptions, [...u, h]), l(e.dataItem, this.fields.recurrenceRule, null), s.push(n), i.push(e.dataItem);
319
+ } else
320
+ s.push(e.dataItem);
321
+ }
322
+ this.handleDataChange({
323
+ updated: s,
324
+ created: i
325
+ });
326
+ },
327
+ handleRemove(e) {
328
+ const i = [], s = [];
329
+ if (e.series) {
330
+ const t = c(p(e.dataItem, this.fields, this.dataItems)), a = c(e.dataItem);
331
+ l(a, this.fields.originalStart, r(t, this.fields.originalStart)), l(a, this.fields.recurrenceId, r(t, this.fields.recurrenceId)), l(a, this.fields.recurrenceRule, r(t, this.fields.recurrenceRule)), l(a, this.fields.recurrenceExceptions, r(t, this.fields.recurrenceExceptions)), s.push(a);
332
+ } else if (!(r(e.dataItem, this.fields.recurrenceRule) !== null && r(e.dataItem, this.fields.recurrenceRule) !== void 0))
333
+ s.push(e.dataItem);
334
+ else {
335
+ const a = c(p(e.dataItem, this.fields, this.dataItems)), n = r(e.dataItem, this.fields.originalStart), h = r(a, this.fields.recurrenceExceptions) || [];
336
+ l(a, this.fields.recurrenceExceptions, [...h, n]), l(e.dataItem, this.fields.recurrenceRule, null), i.push(a);
337
+ }
338
+ this.handleDataChange({
339
+ updated: i,
340
+ deleted: s
341
+ });
342
+ },
343
+ handleDataAction(e) {
344
+ switch (e.type) {
345
+ case w.create:
346
+ this.handleCreate(e);
347
+ break;
348
+ case w.update:
349
+ this.handleUpdate(e);
350
+ break;
351
+ case w.remove:
352
+ this.handleRemove(e);
353
+ break;
354
+ }
355
+ },
356
+ handleActiveViewNameChange(e, i) {
357
+ this.updatePassedState(e), this.$emit("viewchange", {
358
+ viewName: e,
359
+ ...i,
360
+ target: this.ks.scheduler.$el
361
+ });
362
+ },
363
+ handleDateChange(e, i) {
364
+ this.setDate(e, {
365
+ ...i,
366
+ target: this.ks.scheduler.$el
367
+ });
368
+ },
369
+ handleDatePickerChange(e) {
370
+ e.value && this.setDate(e.value, {
371
+ ...e,
372
+ target: this.ks.scheduler.$el,
373
+ nativeEvent: e.event
374
+ });
375
+ },
376
+ handleNextClick(e) {
377
+ e.preventDefault();
378
+ const i = this.getViewPropValue(this.ks.view, "step", this.ks.activeViewName) || this.getViewPropValue(this.ks.view, "numberOfDays", this.ks.activeViewName) || 1, t = i > 27 ? b(this.ks.currentDate, Math.round(i / 27)) : I(this.ks.currentDate, i);
379
+ this.setDate(t, e);
380
+ },
381
+ handlePrevClick(e) {
382
+ e.preventDefault();
383
+ const i = this.getViewPropValue(this.ks.view, "step", this.ks.activeViewName) || this.getViewPropValue(this.ks.view, "numberOfDays", this.ks.activeViewName) || 1, t = i > 27 ? b(this.ks.currentDate, -Math.round(i / 27)) : I(this.ks.currentDate, -i);
384
+ this.setDate(t, e);
385
+ },
386
+ handleTodayClick(e) {
387
+ e.preventDefault();
388
+ const i = z();
389
+ this.setDate(i, e);
390
+ },
391
+ handleShowWorkHoursClick() {
392
+ this.ks.showWorkHours = !this.ks.showWorkHours;
393
+ },
394
+ handleFocus() {
395
+ this.$el && (this.$el.style.boxShadow = "0 0.5px 0.5px 0.5px rgba(0, 0, 0, .12)");
396
+ },
397
+ handleBlur() {
398
+ this.$el && (this.$el.style.boxShadow = "");
399
+ },
400
+ handleItemClick(e) {
401
+ this.$emit("itemclick", e);
402
+ },
403
+ handleItemDoubleClick(e) {
404
+ this.$emit("itemdoubleclick", e);
405
+ },
406
+ handleSlotClick(e) {
407
+ this.$emit("slotclick", e);
408
+ },
409
+ handleSlotDoubleClick(e) {
410
+ this.$emit("slotdoubleclick", e);
411
+ },
412
+ handleTaskClick(e) {
413
+ this.$emit("taskclick", e);
414
+ },
415
+ handleTaskDoubleClick(e) {
416
+ this.$emit("taskdoubleclick", e);
417
+ },
418
+ setDate(e, i) {
419
+ this.ks.currentDate = e, this.updatePassedState(), this.$emit("datechange", {
420
+ date: e,
421
+ event: i
422
+ });
423
+ },
424
+ updatePassedState(e) {
425
+ const i = S(this), s = e || this.ks.activeViewName;
426
+ this.ks.activeViewName = s, this.ks.view = this.views.find((t) => t.name === s) || this.views[0] || o(m, null, null), this.ks.dateFormat = this.getViewPropValue(this.ks.view, "selectedDateFormat", s) || y, this.ks.shortDateFormat = this.getViewPropValue(this.ks.view, "selectedShortDateFormat", s) || R, this.ks.dateRange = this.getViewComponentByName(s).props.dateRange.default()({
427
+ intl: i,
428
+ date: this.ks.currentDate,
429
+ timezone: this.$props.timezone,
430
+ numberOfDays: this.getViewPropValue(this.ks.view, "numberOfDays", this.ks.activeViewName),
431
+ workWeekStart: this.getViewPropValue(this.ks.view, "workWeekStart", this.ks.activeViewName) || i.firstDay(),
432
+ workWeekEnd: this.getViewPropValue(this.ks.view, "workWeekEnd", this.ks.activeViewName) || (i.firstDay() + this.getViewPropValue(this.ks.view, "numberOfDays", this.ks.activeViewName)) % 6
433
+ });
434
+ }
435
+ }
436
+ });
437
+ export {
438
+ Ie as Scheduler
439
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("vue"),l=require("../hooks/use-items-selection.js"),i=require("../hooks/use-slots-selection.js"),o=require("@progress/kendo-vue-common"),s=require("../utils/main.js"),d=require("../hooks/useCellSync.js"),r=require("../hooks/use-items-focus.js"),a=require("../hooks/use-slots-focus.js"),h=c.defineComponent({name:"KendoBaseView",props:{viewProps:Object,baseSlots:Array,ranges:Array,id:String,isAgendaView:{type:Boolean,default:!1}},provide(){return{bv:this.bv,setItems:this.dispatchItems,setSlots:this.dispatchSlots,dispatchSelectedSlots:this.handleSchedulerSlotsSelectAction,dispatchSelectedItems:this.handleSchedulerItemsSelectAction,dispatchFocusedItems:this.setFocusedItems,dispatchFocusedSlots:this.setFocusedSlots}},data(){return{bv:{viewProps:this.viewProps,ranges:this.ranges,items:[],slots:[],focusedItems:[],focusedSlots:[],selectedItems:[],selectedSlots:[]}}},mounted(){this.syncCells()},updated(){this.syncCells()},render(){const e=o.getDefaultSlots(this);return c.createVNode("div",{class:"k-scheduler-layout k-scheduler-layout-flex",role:this.$props.isAgendaView?"grid":"presentation"},[e])},methods:{syncCells(){d.useCellSync({element:this.$el,selector:".k-group-cell",attribute:"data-depth-index",explicitDepth:!0}),d.useCellSync({element:this.$el,selector:".k-side-cell",attribute:"data-depth-index",explicitDepth:!1})},handleSchedulerItemsSelectAction(e,t){i.dispatchSelectedSlots.call(this,{type:i.SLOTS_SELECT_ACTION.reset}),l.dispatchSelectedItems.call(this,e,t)},handleSchedulerSlotsSelectAction(e,t){l.dispatchSelectedItems.call(this,{type:l.ITEMS_SELECT_ACTION.reset},t),i.dispatchSelectedSlots.call(this,e)},setFocusedItems(e,t){r.dispatchFocusedItems.call(this,e,t)},setFocusedSlots(e,t){a.dispatchFocusedSlots.call(this,e,t)},dispatchItems(e){let t;switch(e.type){case s.COLLECTION_ACTION.add:this.bv.items.push(e.item);break;case s.COLLECTION_ACTION.remove:t=this.bv.items.indexOf(e.item),this.bv.items.splice(t,1);break}},dispatchSlots(e){let t;switch(e.type){case s.COLLECTION_ACTION.add:this.bv.slots.push(e.item);break;case s.COLLECTION_ACTION.remove:t=this.bv.slots.indexOf(e.item),this.bv.slots.splice(t,1);break}}}});exports.BaseView=h;