@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
@@ -1,1039 +0,0 @@
1
- var __assign = this && this.__assign || function () {
2
- __assign = Object.assign || function (t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) {
6
- if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
7
- }
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- // @ts-ignore
14
- import * as Vue from 'vue';
15
- var allVue = Vue;
16
- var gh = allVue.h;
17
- var isV3 = allVue.version && allVue.version[0] === '3';
18
- import { DATA_ACTION } from '../Scheduler';
19
- import { clone, Keys, getDefaultSlots, getTemplate } from '@progress/kendo-vue-common';
20
- import { SchedulerViewItem } from './SchedulerViewItem';
21
- import { ITEMS_FOCUS_ACTION, SLOTS_FOCUS_ACTION } from '../hooks/main';
22
- import { FORM_ITEM_ACTION } from './hooks/use-form-item';
23
- import { showOccurrenceDialogReducer, SHOW_OCCURRENCE_DIALOG_ACTION } from './hooks/use-show-occurrence-dialog';
24
- import { REMOVE_ITEM_ACTION } from './hooks/use-remove-item';
25
- import { showRemoveDialogReducer, SHOW_REMOVE_DIALOG_ACTION } from './hooks/use-show-remove-item-dialog';
26
- import { DRAG_ITEM_ACTION, useDragItem } from './hooks/use-drag-item';
27
- import { RESIZE_ITEM_ACTION, useResizeItem } from './hooks/use-resize-item';
28
- import { seriesReducer, SERIES_ACTION } from './hooks/use-series';
29
- import { ITEMS_SELECT_ACTION } from '../hooks/use-items-selection';
30
- import { compareItems, compareSlots, findMaster } from '../utils/main';
31
- /**
32
- * @hidden
33
- */
34
- var SchedulerEditItemVue2 = {
35
- name: 'KendoSchedulerEditItem',
36
- inheritAttrs: false,
37
- props: {
38
- tabIndex: {
39
- type: Number,
40
- default: undefined
41
- },
42
- item: [String, Function, Object],
43
- viewItem: [String, Function, Object],
44
- drag: [String, Function, Object],
45
- resize: [String, Function, Object],
46
- form: [String, Function, Object],
47
- removeDialog: [String, Function, Object],
48
- occurrenceDialog: [String, Function, Object],
49
- formItem: Object,
50
- dragItem: Object,
51
- resizeItem: Object,
52
- removeItem: Object,
53
- showOccurrenceDialog: {
54
- type: Boolean,
55
- default: undefined
56
- },
57
- showRemoveDialog: {
58
- type: Boolean,
59
- default: undefined
60
- },
61
- series: {
62
- type: Boolean,
63
- default: undefined
64
- },
65
- uid: [String, Number],
66
- start: Date,
67
- end: Date,
68
- originalStart: Date,
69
- startTimezone: String,
70
- endTimezone: String,
71
- isAllDay: Boolean,
72
- title: String,
73
- description: String,
74
- occurrenceId: String,
75
- recurrenceExceptions: Array,
76
- recurrenceRule: String,
77
- recurrenceId: [String, Number],
78
- dataItem: Object,
79
- head: Boolean,
80
- tail: Boolean,
81
- order: Number,
82
- zonedStart: Object,
83
- zonedEnd: Object,
84
- slots: Array,
85
- group: Object,
86
- range: Object,
87
- isException: Boolean,
88
- isRecurring: Boolean,
89
- id: String,
90
- className: String,
91
- itemStyle: Object,
92
- editable: [Object, Boolean],
93
- selected: Boolean,
94
- vertical: Boolean,
95
- dragHint: Boolean,
96
- resizeHint: Boolean,
97
- format: String,
98
- ignoreIsAllDay: Boolean
99
- },
100
- inject: {
101
- bv: {
102
- default: null
103
- },
104
- ks: {
105
- default: null
106
- },
107
- dispatchFocusedItems: {
108
- default: null
109
- },
110
- dispatchFocusedSlots: {
111
- default: null
112
- },
113
- dispatchSelectedItems: {
114
- default: null
115
- }
116
- },
117
- provide: function provide() {
118
- return {
119
- ei: this.ei,
120
- ksCancel: this.handleCancel,
121
- ksFormSubmit: this.handleFormSubmit,
122
- ksOccurrenceClick: this.handleOccurrenceClick,
123
- ksSeriesClick: this.handleSeriesClick,
124
- ksRemoveConfirm: this.handleRemoveConfirm
125
- };
126
- },
127
- data: function data() {
128
- return {
129
- ei: {
130
- props: this.$props,
131
- form: this.$props.formItem,
132
- drag: this.drag,
133
- resize: this.resize,
134
- remove: this.remove,
135
- showRemoveDialog: this.showRemoveDialog,
136
- showOccurrenceDialog: this.showOccurrenceDialog
137
- },
138
- currentFormItem: null,
139
- currentSelected: null,
140
- currentSeries: null,
141
- currentRemoveItem: null,
142
- currentDragItem: null,
143
- currentResizeItem: null,
144
- currentShowRemoveDialog: null,
145
- currentShowOccurrenceDialog: null
146
- // item: null
147
- };
148
- },
149
-
150
- computed: {
151
- currentTabIndex: function currentTabIndex() {
152
- var isFirst = this.bv.items.length && this.bv.items[0].dataItem.id === this.dataItem.id;
153
- return this.$props.tabIndex !== undefined ? this.$props.tabIndex === null ? undefined : this.$props.tabIndex : this.bv.selectedItems.length === 0 ? isFirst ? 0 : undefined : undefined;
154
- },
155
- compSelected: function compSelected() {
156
- return this.selected !== undefined ? this.selected : this.currentSelected;
157
- },
158
- compSeries: function compSeries() {
159
- return this.series !== undefined ? this.series : this.currentSeries;
160
- },
161
- compFormItem: function compFormItem() {
162
- return this.formItem !== undefined ? this.formItem : this.currentFormItem;
163
- },
164
- compRemoveItem: function compRemoveItem() {
165
- return this.removeItem !== undefined ? this.removeItem : this.currentRemoveItem;
166
- },
167
- compDragItem: function compDragItem() {
168
- return this.dragItem !== undefined ? this.dragItem : this.currentDragItem;
169
- },
170
- compResizeItem: function compResizeItem() {
171
- return this.resizeItem !== undefined ? this.resizeItem : this.currentResizeItem;
172
- },
173
- compShowRemoveDialog: function compShowRemoveDialog() {
174
- return this.showRemoveDialog !== undefined ? this.showRemoveDialog : this.currentShowRemoveDialog;
175
- },
176
- compShowOccurrenceDialog: function compShowOccurrenceDialog() {
177
- return this.showOccurrenceDialog !== undefined ? this.showOccurrenceDialog : this.currentShowOccurrenceDialog;
178
- },
179
- actionsReducerMap: function actionsReducerMap() {
180
- var _a;
181
- return _a = {}, _a[SERIES_ACTION.set] = this.dispatchSeries, _a[SERIES_ACTION.toggle] = this.dispatchSeries, _a[SERIES_ACTION.reset] = this.dispatchSeries, _a[ITEMS_SELECT_ACTION.select] = this.dispatchItemSelection, _a[ITEMS_SELECT_ACTION.add] = this.dispatchItemSelection, _a[ITEMS_SELECT_ACTION.remove] = this.dispatchItemSelection, _a[ITEMS_SELECT_ACTION.reset] = this.dispatchItemSelection, _a[ITEMS_SELECT_ACTION.selectNext] = this.dispatchItemSelection, _a[ITEMS_SELECT_ACTION.selectPrev] = this.dispatchItemSelection, _a[FORM_ITEM_ACTION.set] = this.dispatchFormItem, _a[FORM_ITEM_ACTION.setMaster] = this.dispatchFormItem, _a[FORM_ITEM_ACTION.reset] = this.dispatchFormItem, _a[FORM_ITEM_ACTION.complete] = this.dispatchFormItem, _a[REMOVE_ITEM_ACTION.set] = this.dispatchRemoveItem, _a[REMOVE_ITEM_ACTION.reset] = this.dispatchRemoveItem, _a[REMOVE_ITEM_ACTION.complete] = this.dispatchRemoveItem, _a[SHOW_OCCURRENCE_DIALOG_ACTION.close] = this.dispatchShowOccurrenceDialog, _a[SHOW_OCCURRENCE_DIALOG_ACTION.open] = this.dispatchShowOccurrenceDialog, _a[SHOW_OCCURRENCE_DIALOG_ACTION.set] = this.dispatchShowOccurrenceDialog, _a[SHOW_OCCURRENCE_DIALOG_ACTION.toggle] = this.dispatchShowOccurrenceDialog, _a[SHOW_OCCURRENCE_DIALOG_ACTION.reset] = this.dispatchShowOccurrenceDialog, _a[SHOW_REMOVE_DIALOG_ACTION.close] = this.dispatchShowRemoveDialog, _a[SHOW_REMOVE_DIALOG_ACTION.open] = this.dispatchShowRemoveDialog, _a[SHOW_REMOVE_DIALOG_ACTION.set] = this.dispatchShowRemoveDialog, _a[SHOW_REMOVE_DIALOG_ACTION.toggle] = this.dispatchShowRemoveDialog, _a[SHOW_REMOVE_DIALOG_ACTION.reset] = this.dispatchShowRemoveDialog, _a[DRAG_ITEM_ACTION.start] = this.dispatchDragItem, _a[DRAG_ITEM_ACTION.drag] = this.dispatchDragItem, _a[DRAG_ITEM_ACTION.complete] = this.dispatchDragItem, _a[DRAG_ITEM_ACTION.completeOccurrence] = this.dispatchDragItem, _a[DRAG_ITEM_ACTION.completeSeries] = this.dispatchDragItem, _a[DRAG_ITEM_ACTION.set] = this.dispatchDragItem, _a[DRAG_ITEM_ACTION.reset] = this.dispatchDragItem, _a[DRAG_ITEM_ACTION.dragSelected] = this.dispatchDragItem, _a[RESIZE_ITEM_ACTION.start] = this.dispatchResizeItem, _a[RESIZE_ITEM_ACTION.startDrag] = this.dispatchResizeItem, _a[RESIZE_ITEM_ACTION.startDragSelected] = this.dispatchResizeItem, _a[RESIZE_ITEM_ACTION.endDrag] = this.dispatchResizeItem, _a[RESIZE_ITEM_ACTION.endDragSelected] = this.dispatchResizeItem, _a[RESIZE_ITEM_ACTION.complete] = this.dispatchResizeItem, _a[RESIZE_ITEM_ACTION.completeOccurrence] = this.dispatchResizeItem, _a[RESIZE_ITEM_ACTION.completeSeries] = this.dispatchResizeItem, _a[RESIZE_ITEM_ACTION.set] = this.dispatchResizeItem, _a[RESIZE_ITEM_ACTION.reset] = this.dispatchResizeItem, _a[ITEMS_FOCUS_ACTION.next] = this.dispatchViewItemsFocus, _a[ITEMS_FOCUS_ACTION.prev] = this.dispatchViewItemsFocus, _a[SLOTS_FOCUS_ACTION.left] = this.dispatchViewSlotsFocus, _a[SLOTS_FOCUS_ACTION.right] = this.dispatchViewSlotsFocus, _a[SLOTS_FOCUS_ACTION.up] = this.dispatchViewSlotsFocus, _a[SLOTS_FOCUS_ACTION.down] = this.dispatchViewSlotsFocus, _a.null = function () {}, _a;
182
- }
183
- },
184
- // @ts-ignore
185
- setup: !isV3 ? undefined : function () {
186
- var v3 = !!isV3;
187
- return {
188
- v3: v3
189
- };
190
- },
191
- // @ts-ignore
192
- render: function render(createElement) {
193
- var _this = this;
194
- var h = gh || createElement;
195
- var defaultSlot = getDefaultSlots(this);
196
- // tslint:enable:max-line-length
197
- var selected = Boolean(this.bv.selectedItems && this.bv.selectedItems.some(function (si) {
198
- return compareItems(si, _this, _this.ignoreIsAllDay);
199
- }));
200
- var itemRender;
201
- var itemRenderDefaultRendering =
202
- // @ts-ignore function children
203
- h(SchedulerViewItem, {
204
- ignoreIsAllDay: this.ignoreIsAllDay,
205
- attrs: this.v3 ? undefined : {
206
- ignoreIsAllDay: this.ignoreIsAllDay,
207
- item: this.item,
208
- uid: this.uid,
209
- start: this.start,
210
- end: this.end,
211
- originalStart: this.originalStart,
212
- startTimezone: this.startTimezone,
213
- endTimezone: this.endTimezone,
214
- isAllDay: this.isAllDay,
215
- title: this.title,
216
- description: this.description,
217
- occurrenceId: this.occurrenceId,
218
- recurrenceExceptions: this.recurrenceExceptions,
219
- recurrenceRule: this.recurrenceRule,
220
- recurrenceId: this.recurrenceId,
221
- dataItem: this.dataItem,
222
- head: this.head,
223
- tail: this.tail,
224
- order: this.order,
225
- zonedStart: this.zonedStart,
226
- zonedEnd: this.zonedEnd,
227
- slots: this.slots,
228
- group: this.group,
229
- range: this.range,
230
- isException: this.isException,
231
- isRecurring: this.isRecurring,
232
- id: this.id,
233
- className: this.className,
234
- itemStyle: this.itemStyle,
235
- editable: this.editable,
236
- vertical: this.vertical,
237
- dragHint: this.dragHint,
238
- resizeHint: this.resizeHint,
239
- format: this.format,
240
- showOccurrenceDialog: this.compShowOccurrenceDialog,
241
- showRemoveDialog: this.compShowRemoveDialog,
242
- formItem: this.compFormItem,
243
- dragItem: this.compDragItem,
244
- resizeItem: this.compResizeItem,
245
- removeItem: this.compRemoveItem,
246
- itemRef: this.item,
247
- selected: selected,
248
- tabIndex: this.currentTabIndex
249
- // Keyboard
250
- },
251
- item: this.item,
252
- uid: this.uid,
253
- start: this.start,
254
- end: this.end,
255
- originalStart: this.originalStart,
256
- startTimezone: this.startTimezone,
257
- endTimezone: this.endTimezone,
258
- isAllDay: this.isAllDay,
259
- title: this.title,
260
- description: this.description,
261
- occurrenceId: this.occurrenceId,
262
- recurrenceExceptions: this.recurrenceExceptions,
263
- recurrenceRule: this.recurrenceRule,
264
- recurrenceId: this.recurrenceId,
265
- dataItem: this.dataItem,
266
- head: this.head,
267
- tail: this.tail,
268
- order: this.order,
269
- zonedStart: this.zonedStart,
270
- zonedEnd: this.zonedEnd,
271
- slots: this.slots,
272
- group: this.group,
273
- range: this.range,
274
- isException: this.isException,
275
- isRecurring: this.isRecurring,
276
- id: this.id,
277
- className: this.className,
278
- itemStyle: this.itemStyle,
279
- editable: this.editable,
280
- vertical: this.vertical,
281
- dragHint: this.dragHint,
282
- resizeHint: this.resizeHint,
283
- format: this.format,
284
- showOccurrenceDialog: this.compShowOccurrenceDialog,
285
- showRemoveDialog: this.compShowRemoveDialog,
286
- formItem: this.compFormItem,
287
- dragItem: this.compDragItem,
288
- resizeItem: this.compResizeItem,
289
- removeItem: this.compRemoveItem,
290
- itemRef: this.item,
291
- selected: selected,
292
- tabIndex: this.currentTabIndex,
293
- onKeydown: this.handleKeyDown,
294
- on: this.v3 ? undefined : {
295
- "keydown": this.handleKeyDown,
296
- "keyup": this.handleKeyUp,
297
- "focus": this.handleFocus,
298
- "mouseup": this.handleMouseUp,
299
- "mousedown": this.handleMouseDown,
300
- "click": this.handleClick,
301
- "doubleclick": this.handleDoubleClick,
302
- "removeclick": this.handleRemoveClick,
303
- "press": this.handlePress,
304
- "drag": this.handleDrag,
305
- "release": this.handleRelease,
306
- "resizepress": this.handleResizePress,
307
- "resizeenddrag": this.handleResizeEndDrag,
308
- "resizestartdrag": this.handleResizeStartDrag,
309
- "resizerelease": this.handleResizeRelease
310
- },
311
- onKeyup: this.handleKeyUp
312
- // Focus
313
- ,
314
- onFocus: this.handleFocus
315
- // Mouse
316
- ,
317
- onMouseup: this.handleMouseUp,
318
- onMousedown: this.handleMouseDown,
319
- onClick: this.handleClick,
320
- onDoubleclick: this.handleDoubleClick,
321
- onRemoveclick: this.handleRemoveClick
322
- // Drag
323
- ,
324
- onPress: this.handlePress,
325
- onDrag: this.handleDrag,
326
- onRelease: this.handleRelease
327
- // Resize
328
- ,
329
- onResizepress: this.handleResizePress,
330
- onResizeenddrag: this.handleResizeEndDrag,
331
- onResizestartdrag: this.handleResizeStartDrag,
332
- onResizerelease: this.handleResizeRelease
333
- });
334
- itemRender = getTemplate.call(this, {
335
- h: h,
336
- template: this.$props.viewItem,
337
- defaultRendering: itemRenderDefaultRendering,
338
- defaultSlots: defaultSlot,
339
- additionalListeners: {
340
- // keydown: this.handleKeyDown,
341
- // keyup: this.handleKeyUp,
342
- // Focus
343
- // focus: this.handleFocus,
344
- // Mouse
345
- // mouseup: this.handleMouseUp,
346
- // mousedown: this.handleMouseDown,
347
- // click: this.handleClick,
348
- doubleclick: this.handleDoubleClick,
349
- removeclick: this.handleRemoveClick,
350
- // Drag
351
- press: this.handlePress,
352
- drag: this.handleDrag,
353
- release: this.handleRelease,
354
- // Resize
355
- resizepress: this.handleResizePress,
356
- resizeenddrag: this.handleResizeEndDrag,
357
- resizestartdrag: this.handleResizeStartDrag,
358
- resizerelease: this.handleResizeRelease
359
- }
360
- });
361
- return itemRender;
362
- },
363
- methods: {
364
- dispatchSeries: function dispatchSeries(action, _event) {
365
- var newSeries = seriesReducer(this.compSeries, action);
366
- this.currentSeries = newSeries;
367
- this.$emit('serieschange', newSeries);
368
- },
369
- dispatchItemSelection: function dispatchItemSelection(action, event) {
370
- this.dispatchSelectedItems(action, event);
371
- },
372
- dispatchRemoveItem: function dispatchRemoveItem(action, _event) {
373
- var newRemoveItem;
374
- switch (action.type) {
375
- case REMOVE_ITEM_ACTION.set:
376
- newRemoveItem = action.payload;
377
- break;
378
- case REMOVE_ITEM_ACTION.reset:
379
- newRemoveItem = null;
380
- break;
381
- case REMOVE_ITEM_ACTION.complete:
382
- if (this.compRemoveItem) {
383
- this.$emit('dataaction', {
384
- type: DATA_ACTION.remove,
385
- series: this.compSeries,
386
- dataItem: this.compRemoveItem
387
- });
388
- }
389
- newRemoveItem = null;
390
- break;
391
- default:
392
- newRemoveItem = this.compRemoveItem;
393
- break;
394
- }
395
- this.currentRemoveItem = newRemoveItem;
396
- this.$emit('removeitemchange', newRemoveItem);
397
- },
398
- dispatchShowOccurrenceDialog: function dispatchShowOccurrenceDialog(action, _event) {
399
- var newShowOccurrenceDialog = showOccurrenceDialogReducer(this.compShowOccurrenceDialog, action);
400
- this.currentShowOccurrenceDialog = newShowOccurrenceDialog;
401
- this.$emit('showremovedialogchange', newShowOccurrenceDialog);
402
- },
403
- dispatchShowRemoveDialog: function dispatchShowRemoveDialog(action, _event) {
404
- var newShowRemoveDialog = showRemoveDialogReducer(this.compShowRemoveDialog, action);
405
- this.currentShowRemoveDialog = newShowRemoveDialog;
406
- this.$emit('showremovedialogchange', newShowRemoveDialog);
407
- },
408
- dispatchDragItem: function dispatchDragItem(action, _event) {
409
- useDragItem.call(this, action);
410
- },
411
- dispatchResizeItem: function dispatchResizeItem(action, event) {
412
- useResizeItem.call(this, action, event);
413
- },
414
- dispatchViewSlotsFocus: function dispatchViewSlotsFocus(action, event) {
415
- this.dispatchFocusedSlots(action, event);
416
- },
417
- dispatchViewItemsFocus: function dispatchViewItemsFocus(action, event) {
418
- this.dispatchFocusedItems(action, event);
419
- },
420
- dispatchFormItem: function dispatchFormItem(action, _event) {
421
- var newFormItem;
422
- switch (action.type) {
423
- case FORM_ITEM_ACTION.set:
424
- newFormItem = action.payload;
425
- break;
426
- case FORM_ITEM_ACTION.reset:
427
- newFormItem = null;
428
- break;
429
- case FORM_ITEM_ACTION.setMaster:
430
- newFormItem = clone(findMaster(action.payload, this.ks.fields, this.ks.dataItems));
431
- break;
432
- case FORM_ITEM_ACTION.complete:
433
- if (this.compFormItem) {
434
- this.$emit('dataaction', {
435
- type: DATA_ACTION.update,
436
- series: this.compSeries,
437
- dataItem: action.payload
438
- });
439
- newFormItem = null;
440
- }
441
- break;
442
- default:
443
- newFormItem = this.compFormItem;
444
- break;
445
- }
446
- this.currentFormItem = newFormItem;
447
- this.$emit('formitemchange', newFormItem);
448
- },
449
- handleFocus: function handleFocus(event) {
450
- var _this = this;
451
- if (this.onFocusAction) {
452
- var actions = this.onFocusAction(event, this.$props);
453
- if (actions) {
454
- Array.isArray(actions) ? actions.filter(Boolean).map(function (action) {
455
- return action && _this.actionsReducerMap[action.type](__assign(__assign({}, action), {
456
- item: _this.dataItem
457
- }), event);
458
- }) : this.actionsReducerMap[actions.type](__assign(__assign({}, actions), {
459
- item: this.dataItem
460
- }));
461
- }
462
- }
463
- this.$emit('focus', event);
464
- },
465
- handleMouseDown: function handleMouseDown(event) {
466
- var _this = this;
467
- if (this.onMouseDownAction) {
468
- var actions = this.onMouseDownAction(event, this.$props);
469
- if (actions) {
470
- Array.isArray(actions) ? actions.filter(Boolean).map(function (action) {
471
- return action && _this.actionsReducerMap[action.type](__assign(__assign({}, action), {
472
- item: _this.dataItem
473
- }), event);
474
- }) : this.actionsReducerMap[actions.type](__assign(__assign({}, actions), {
475
- item: this.dataItem
476
- }));
477
- }
478
- }
479
- this.$emit('mousedown', event);
480
- },
481
- handleMouseUp: function handleMouseUp(event) {
482
- var _this = this;
483
- if (this.onMouseUpAction) {
484
- var actions = this.onMouseUpAction(event, this.$props);
485
- if (actions) {
486
- Array.isArray(actions) ? actions.filter(Boolean).map(function (action) {
487
- return action && _this.actionsReducerMap[action.type](__assign(__assign({}, action), {
488
- item: _this.dataItem
489
- }), event);
490
- }) : this.actionsReducerMap[actions.type](__assign(__assign({}, actions), {
491
- item: this.dataItem
492
- }));
493
- }
494
- }
495
- this.$emit('mouseup', event);
496
- },
497
- handleClick: function handleClick(event) {
498
- var _this = this;
499
- if (this.onClickAction) {
500
- var actions = this.onClickAction(event, this.$props);
501
- if (actions) {
502
- Array.isArray(actions) ? actions.filter(Boolean).map(function (action) {
503
- return action && _this.actionsReducerMap[action.type](__assign(__assign({}, action), {
504
- item: _this.dataItem
505
- }), event);
506
- }) : this.actionsReducerMap[actions.type](__assign(__assign({}, actions), {
507
- item: this.dataItem
508
- }));
509
- }
510
- }
511
- this.$emit('click', event);
512
- },
513
- handleDoubleClick: function handleDoubleClick(event) {
514
- if (this.onDoubleClickAction) {
515
- var actions = this.onDoubleClickAction(event, this.$props);
516
- var that_1 = this;
517
- if (actions) {
518
- Array.isArray(actions) ? actions.filter(Boolean).map(function (action) {
519
- return action && that_1.actionsReducerMap[action.type](__assign(__assign({}, action), {
520
- item: that_1.dataItem
521
- }), event);
522
- }) : that_1.actionsReducerMap[actions.type](__assign(__assign({}, actions), {
523
- item: that_1.dataItem
524
- }));
525
- }
526
- }
527
- this.$emit('doubleclick', event);
528
- },
529
- handleRemoveClick: function handleRemoveClick(event) {
530
- var _this = this;
531
- if (this.onRemoveClickAction) {
532
- var actions = this.onRemoveClickAction(event, this.$props);
533
- if (actions) {
534
- Array.isArray(actions) ? actions.filter(Boolean).map(function (action) {
535
- return action && _this.actionsReducerMap[action.type](__assign(__assign({}, action), {
536
- item: _this.dataItem
537
- }), event);
538
- }) : this.actionsReducerMap[actions.type](__assign(__assign({}, actions), {
539
- item: this.dataItem
540
- }));
541
- }
542
- }
543
- this.$emit('removeclick', event);
544
- },
545
- handlePress: function handlePress(event) {
546
- var _this = this;
547
- if (this.onPressAction) {
548
- var actions = this.onPressAction(event, this.$props);
549
- if (actions) {
550
- Array.isArray(actions) ? actions.filter(Boolean).map(function (action) {
551
- return action && _this.actionsReducerMap[action.type](__assign(__assign({}, action), {
552
- item: _this.dataItem
553
- }), event);
554
- }) : this.actionsReducerMap[actions.type](__assign(__assign({}, actions), {
555
- item: this.dataItem
556
- }), event);
557
- }
558
- }
559
- this.$emit('press', event);
560
- },
561
- handleDrag: function handleDrag(event) {
562
- var _this = this;
563
- if (this.onDragAction) {
564
- var actions = this.onDragAction(event, this.$props);
565
- if (actions) {
566
- Array.isArray(actions) ? actions.filter(Boolean).map(function (action) {
567
- return action && _this.actionsReducerMap[action.type](__assign(__assign({}, action), {
568
- item: _this.dataItem
569
- }), event.dragEvent.originalEvent);
570
- }) : this.actionsReducerMap[actions.type](__assign(__assign({}, actions), {
571
- item: this.dataItem
572
- }), event.dragEvent.originalEvent);
573
- }
574
- }
575
- this.$emit('drag', event);
576
- },
577
- handleRelease: function handleRelease(event) {
578
- var _this = this;
579
- if (this.onReleaseAction) {
580
- var actions = this.onReleaseAction(event, this.$props);
581
- if (actions) {
582
- Array.isArray(actions) ? actions.filter(Boolean).map(function (action) {
583
- return action && _this.actionsReducerMap[action.type](__assign(__assign({}, action), {
584
- item: _this.dataItem
585
- }), event.dragEvent.originalEvent);
586
- }) : this.actionsReducerMap[actions.type](__assign(__assign({}, actions), {
587
- item: this.dataItem
588
- }), event.dragEvent.originalEvent);
589
- }
590
- }
591
- this.$emit('release', event);
592
- },
593
- handleResizePress: function handleResizePress(event) {
594
- var _this = this;
595
- if (this.onResizePressAction) {
596
- var actions = this.onResizePressAction(event, this.$props);
597
- if (actions) {
598
- Array.isArray(actions) ? actions.filter(Boolean).map(function (action) {
599
- return action && _this.actionsReducerMap[action.type](__assign(__assign({}, action), {
600
- item: _this.dataItem
601
- }), event.dragEvent.originalEvent);
602
- }) : this.actionsReducerMap[actions.type](__assign(__assign({}, actions), {
603
- item: this.dataItem
604
- }), event.dragEvent.originalEvent);
605
- }
606
- }
607
- this.$emit('resizepress', event);
608
- },
609
- handleResizeStartDrag: function handleResizeStartDrag(event) {
610
- var _this = this;
611
- if (this.onResizeStartDragAction) {
612
- var actions = this.onResizeStartDragAction(event, this.$props);
613
- if (actions) {
614
- Array.isArray(actions) ? actions.filter(Boolean).map(function (action) {
615
- return action && _this.actionsReducerMap[action.type](__assign(__assign({}, action), {
616
- item: _this.dataItem
617
- }), event.dragEvent.originalEvent);
618
- }) : this.actionsReducerMap[actions.type](__assign(__assign({}, actions), {
619
- item: this.dataItem
620
- }), event.dragEvent.originalEvent);
621
- }
622
- }
623
- this.$emit('resizestartdrag', event);
624
- },
625
- handleResizeEndDrag: function handleResizeEndDrag(event) {
626
- var _this = this;
627
- if (this.onResizeEndDragAction) {
628
- var actions = this.onResizeEndDragAction(event, this.$props);
629
- if (actions) {
630
- Array.isArray(actions) ? actions.filter(Boolean).map(function (action) {
631
- return action && _this.actionsReducerMap[action.type](__assign(__assign({}, action), {
632
- item: _this.dataItem
633
- }), event.dragEvent.originalEvent);
634
- }) : this.actionsReducerMap[actions.type](__assign(__assign({}, actions), {
635
- item: this.dataItem
636
- }), event.dragEvent.originalEvent);
637
- }
638
- }
639
- this.$emit('resizeenddrag', event);
640
- },
641
- handleResizeRelease: function handleResizeRelease(event) {
642
- var _this = this;
643
- if (this.onResizeReleaseAction) {
644
- var actions = this.onResizeReleaseAction(event, this.$props);
645
- if (actions) {
646
- Array.isArray(actions) ? actions.filter(Boolean).map(function (action) {
647
- return action && _this.actionsReducerMap[action.type](__assign(__assign({}, action), {
648
- item: _this.dataItem
649
- }), event.dragEvent.originalEvent);
650
- }) : this.actionsReducerMap[actions.type](__assign(__assign({}, actions), {
651
- item: this.dataItem
652
- }), event.dragEvent.originalEvent);
653
- }
654
- }
655
- this.$emit('resizerelease', event);
656
- },
657
- handleFormSubmit: function handleFormSubmit(event) {
658
- var _this = this;
659
- if (this.onFormSubmitAction) {
660
- var actions = this.onFormSubmitAction(event, this.$props);
661
- if (actions) {
662
- Array.isArray(actions) ? actions.filter(Boolean).map(function (action) {
663
- return action && _this.actionsReducerMap[action.type](__assign(__assign({}, action), {
664
- item: _this.dataItem
665
- }), event);
666
- }) : this.actionsReducerMap[actions.type](__assign(__assign({}, actions), {
667
- item: this.dataItem
668
- }), event);
669
- }
670
- }
671
- this.$emit('formsubmit', event);
672
- },
673
- handleCancel: function handleCancel(event) {
674
- var _this = this;
675
- if (this.onCancelAction) {
676
- var actions = this.onCancelAction(event, this.$props);
677
- if (actions) {
678
- Array.isArray(actions) ? actions.filter(Boolean).map(function (action) {
679
- return action && _this.actionsReducerMap[action.type](__assign(__assign({}, action), {
680
- item: _this.dataItem
681
- }), event);
682
- }) : this.actionsReducerMap[actions.type](__assign(__assign({}, actions), {
683
- item: this.dataItem
684
- }), event);
685
- }
686
- }
687
- this.$emit('cancel', event);
688
- },
689
- handleOccurrenceClick: function handleOccurrenceClick(event) {
690
- var _this = this;
691
- if (this.onOccurrenceClickAction) {
692
- var actions = this.onOccurrenceClickAction(event, this.$props);
693
- if (actions) {
694
- Array.isArray(actions) ? actions.filter(Boolean).map(function (action) {
695
- return action && _this.actionsReducerMap[action.type](__assign(__assign({}, action), {
696
- item: _this.dataItem
697
- }), event);
698
- }) : this.actionsReducerMap[actions.type](__assign(__assign({}, actions), {
699
- item: this.dataItem
700
- }), event);
701
- }
702
- }
703
- this.$emit('occurrenceclick', event);
704
- },
705
- handleSeriesClick: function handleSeriesClick(event) {
706
- var _this = this;
707
- if (this.onSeriesClickAction) {
708
- var actions = this.onSeriesClickAction(event, this.$props);
709
- if (actions) {
710
- Array.isArray(actions) ? actions.filter(Boolean).map(function (action) {
711
- return action && _this.actionsReducerMap[action.type](__assign(__assign({}, action), {
712
- item: _this.dataItem
713
- }), event);
714
- }) : this.actionsReducerMap[actions.type](__assign(__assign({}, actions), {
715
- item: this.dataItem
716
- }), event);
717
- }
718
- }
719
- this.$emit('seriesclick', event);
720
- },
721
- handleKeyDown: function handleKeyDown(event) {
722
- var _this = this;
723
- if (this.onKeyDownAction) {
724
- var actions = this.onKeyDownAction(event, this.$props);
725
- if (actions) {
726
- Array.isArray(actions) ? actions.filter(Boolean).map(function (action) {
727
- return action && _this.actionsReducerMap[action.type](__assign(__assign({}, action), {
728
- item: _this
729
- }), event.event);
730
- }) : this.actionsReducerMap[actions.type](__assign(__assign({}, actions), {
731
- item: this
732
- }), event.event);
733
- }
734
- }
735
- this.$emit('keydown', event);
736
- },
737
- handleKeyUp: function handleKeyUp(event) {
738
- var _this = this;
739
- if (this.onKeyUpAction) {
740
- var actions = this.onKeyUpAction(event, this.$props);
741
- if (actions) {
742
- Array.isArray(actions) ? actions.filter(Boolean).map(function (action) {
743
- return action && _this.actionsReducerMap[action.type](__assign(__assign({}, action), {
744
- item: _this.dataItem
745
- }), event.event);
746
- }) : this.actionsReducerMap[actions.type](__assign(__assign({}, actions), {
747
- item: this.dataItem
748
- }), event.event);
749
- }
750
- }
751
- this.$emit('keyup', event);
752
- },
753
- handleRemoveConfirm: function handleRemoveConfirm(event) {
754
- var _this = this;
755
- if (this.onRemoveConfirmAction) {
756
- var actions = this.onRemoveConfirmAction(event, this.$props);
757
- if (actions) {
758
- Array.isArray(actions) ? actions.filter(Boolean).map(function (action) {
759
- return action && _this.actionsReducerMap[action.type](__assign(__assign({}, action), {
760
- item: _this.dataItem
761
- }), event.event);
762
- }) : this.actionsReducerMap[actions.type](__assign(__assign({}, actions), {
763
- item: this.dataItem
764
- }), event.event);
765
- }
766
- }
767
- this.$emit('removeconfirm', event);
768
- },
769
- onClickAction: function onClickAction(event, _) {
770
- return [{
771
- type: event.event.metaKey || event.event.ctrlKey ? this.compSelected && !this.compDragItem && !this.compResizeItem ? ITEMS_SELECT_ACTION.remove : ITEMS_SELECT_ACTION.add : ITEMS_SELECT_ACTION.select
772
- }];
773
- },
774
- onDoubleClickAction: function onDoubleClickAction(_, props) {
775
- return props.editable ? [{
776
- type: FORM_ITEM_ACTION.set,
777
- payload: props.dataItem
778
- }, props.isRecurring && {
779
- type: SHOW_OCCURRENCE_DIALOG_ACTION.open
780
- }].filter(Boolean) : [];
781
- },
782
- onRemoveClickAction: function onRemoveClickAction(_, props) {
783
- return props.editable ? [{
784
- type: REMOVE_ITEM_ACTION.set,
785
- payload: props.dataItem
786
- }, props.isRecurring ? {
787
- type: SHOW_OCCURRENCE_DIALOG_ACTION.open
788
- } : {
789
- type: SHOW_REMOVE_DIALOG_ACTION.open
790
- }] : [];
791
- },
792
- onPressAction: function onPressAction(event, props) {
793
- return props.editable ? {
794
- type: DRAG_ITEM_ACTION.start,
795
- payload: {
796
- x: event.dragEvent.clientX,
797
- y: event.dragEvent.clientY
798
- }
799
- } : [];
800
- },
801
- onDragAction: function onDragAction(event, props) {
802
- return props.editable ? {
803
- type: event.dragEvent.originalEvent.metaKey || event.dragEvent.originalEvent.ctrlKey ? DRAG_ITEM_ACTION.dragSelected : DRAG_ITEM_ACTION.drag,
804
- payload: {
805
- x: event.dragEvent.clientX,
806
- y: event.dragEvent.clientY
807
- }
808
- } : [];
809
- },
810
- onReleaseAction: function onReleaseAction(event, props) {
811
- return props.editable && this.compDragItem ? props.isRecurring && !props.isException && this.compSeries === null ? {
812
- type: SHOW_OCCURRENCE_DIALOG_ACTION.open
813
- } : {
814
- type: props.isRecurring ? this.compSeries ? DRAG_ITEM_ACTION.completeSeries : DRAG_ITEM_ACTION.completeOccurrence : DRAG_ITEM_ACTION.complete,
815
- payload: {
816
- x: event.dragEvent.clientX,
817
- y: event.dragEvent.clientY
818
- }
819
- } : [];
820
- },
821
- onResizePressAction: function onResizePressAction(event, props) {
822
- return props.editable ? {
823
- type: RESIZE_ITEM_ACTION.start,
824
- payload: {
825
- x: event.dragEvent.clientX,
826
- y: event.dragEvent.clientY
827
- }
828
- } : [];
829
- },
830
- onResizeStartDragAction: function onResizeStartDragAction(event, props) {
831
- return props.editable ? {
832
- type: event.dragEvent.originalEvent.metaKey || event.dragEvent.originalEvent.ctrlKey ? RESIZE_ITEM_ACTION.startDragSelected : RESIZE_ITEM_ACTION.startDrag,
833
- payload: {
834
- x: event.dragEvent.clientX,
835
- y: event.dragEvent.clientY
836
- }
837
- } : [];
838
- },
839
- onResizeEndDragAction: function onResizeEndDragAction(event, props) {
840
- return props.editable ? {
841
- type: event.dragEvent.originalEvent.metaKey || event.dragEvent.originalEvent.ctrlKey ? RESIZE_ITEM_ACTION.endDragSelected : RESIZE_ITEM_ACTION.endDrag,
842
- payload: {
843
- x: event.dragEvent.clientX,
844
- y: event.dragEvent.clientY
845
- }
846
- } : [];
847
- },
848
- onResizeReleaseAction: function onResizeReleaseAction(event, props) {
849
- return props.editable && this.compResizeItem ? props.isRecurring && !props.isException && this.compSeries === null ? {
850
- type: SHOW_OCCURRENCE_DIALOG_ACTION.open
851
- } : {
852
- type: props.isRecurring ? this.compSeries ? RESIZE_ITEM_ACTION.completeSeries : RESIZE_ITEM_ACTION.completeOccurrence : RESIZE_ITEM_ACTION.complete,
853
- payload: {
854
- x: event.dragEvent.clientX,
855
- y: event.dragEvent.clientY
856
- }
857
- } : [];
858
- },
859
- onOccurrenceClickAction: function onOccurrenceClickAction(_event, props) {
860
- if (this.compDragItem) {
861
- return [{
862
- type: DRAG_ITEM_ACTION.completeOccurrence
863
- }, {
864
- type: SHOW_OCCURRENCE_DIALOG_ACTION.close
865
- }];
866
- }
867
- if (this.compResizeItem) {
868
- return [{
869
- type: RESIZE_ITEM_ACTION.completeOccurrence
870
- }, {
871
- type: SHOW_OCCURRENCE_DIALOG_ACTION.close
872
- }];
873
- }
874
- if (this.compFormItem) {
875
- return [{
876
- type: SERIES_ACTION.set,
877
- payload: false
878
- }, {
879
- type: FORM_ITEM_ACTION.set,
880
- payload: props.dataItem
881
- }, {
882
- type: SHOW_OCCURRENCE_DIALOG_ACTION.close
883
- }];
884
- }
885
- if (this.compRemoveItem) {
886
- return [{
887
- type: SERIES_ACTION.set,
888
- payload: false
889
- }, {
890
- type: REMOVE_ITEM_ACTION.set,
891
- payload: props.dataItem
892
- }, {
893
- type: SHOW_REMOVE_DIALOG_ACTION.open
894
- }, {
895
- type: SHOW_OCCURRENCE_DIALOG_ACTION.close
896
- }];
897
- }
898
- },
899
- onSeriesClickAction: function onSeriesClickAction(_event, props) {
900
- if (this.compDragItem) {
901
- return [{
902
- type: DRAG_ITEM_ACTION.completeSeries
903
- }, {
904
- type: SHOW_OCCURRENCE_DIALOG_ACTION.close
905
- }];
906
- }
907
- if (this.compResizeItem) {
908
- return [{
909
- type: RESIZE_ITEM_ACTION.completeSeries
910
- }, {
911
- type: SHOW_OCCURRENCE_DIALOG_ACTION.close
912
- }];
913
- }
914
- if (this.compFormItem) {
915
- return [{
916
- type: SERIES_ACTION.set,
917
- payload: true
918
- }, {
919
- type: FORM_ITEM_ACTION.setMaster,
920
- payload: props.dataItem
921
- }, {
922
- type: SHOW_OCCURRENCE_DIALOG_ACTION.close
923
- }];
924
- }
925
- if (this.compRemoveItem) {
926
- return [{
927
- type: SERIES_ACTION.set,
928
- payload: true
929
- }, {
930
- type: REMOVE_ITEM_ACTION.set,
931
- payload: props.dataItem
932
- }, {
933
- type: SHOW_REMOVE_DIALOG_ACTION.open
934
- }, {
935
- type: SHOW_OCCURRENCE_DIALOG_ACTION.close
936
- }];
937
- }
938
- },
939
- onKeyDownAction: function onKeyDownAction(event, props) {
940
- var nextSlot;
941
- switch (event.event.keyCode) {
942
- case Keys.enter:
943
- return [{
944
- type: FORM_ITEM_ACTION.set,
945
- payload: props.dataItem
946
- }, props.isRecurring && {
947
- type: SHOW_OCCURRENCE_DIALOG_ACTION.open
948
- }];
949
- case Keys.tab:
950
- return [{
951
- type: event.event.shiftKey ? ITEMS_FOCUS_ACTION.prev : ITEMS_FOCUS_ACTION.next,
952
- ignoreIsAllDay: props.ignoreIsAllDay
953
- }, {
954
- type: event.event.shiftKey ? ITEMS_SELECT_ACTION.selectPrev : ITEMS_SELECT_ACTION.selectNext,
955
- ignoreIsAllDay: props.ignoreIsAllDay
956
- }];
957
- case Keys.up:
958
- nextSlot = this.bv.slots.find(function (s) {
959
- return compareSlots(s.cSlot, props.slots[0]);
960
- });
961
- return [Boolean(props.slots.length && nextSlot) && {
962
- type: SLOTS_FOCUS_ACTION.up,
963
- slot: nextSlot
964
- }];
965
- case Keys.right:
966
- nextSlot = this.bv.slots.find(function (s) {
967
- return compareSlots(s.cSlot, props.slots[0]);
968
- });
969
- return [Boolean(props.slots.length && nextSlot) && {
970
- type: SLOTS_FOCUS_ACTION.right,
971
- slot: nextSlot
972
- }];
973
- case Keys.down:
974
- nextSlot = this.bv.slots.find(function (s) {
975
- return compareSlots(s.cSlot, props.slots[props.slots.length - 1]);
976
- });
977
- return [Boolean(props.slots.length && nextSlot) && {
978
- type: SLOTS_FOCUS_ACTION.down,
979
- slot: nextSlot
980
- }];
981
- case Keys.left:
982
- nextSlot = this.bv.slots.find(function (s) {
983
- return compareSlots(s.cSlot.cSlot, props.slots[0]);
984
- });
985
- return [Boolean(props.slots.length && nextSlot) && {
986
- type: SLOTS_FOCUS_ACTION.left,
987
- slot: nextSlot
988
- }];
989
- case Keys.delete:
990
- case Keys.backspace:
991
- return [{
992
- type: REMOVE_ITEM_ACTION.set,
993
- payload: props.dataItem
994
- }, props.isRecurring ? {
995
- type: SHOW_OCCURRENCE_DIALOG_ACTION.open
996
- } : {
997
- type: SHOW_REMOVE_DIALOG_ACTION.open
998
- }];
999
- default:
1000
- return;
1001
- }
1002
- },
1003
- onFormSubmitAction: function onFormSubmitAction(event) {
1004
- return {
1005
- type: FORM_ITEM_ACTION.complete,
1006
- payload: event.value
1007
- };
1008
- },
1009
- onRemoveConfirmAction: function onRemoveConfirmAction() {
1010
- return [{
1011
- type: REMOVE_ITEM_ACTION.complete
1012
- }, {
1013
- type: SHOW_OCCURRENCE_DIALOG_ACTION.close
1014
- }];
1015
- },
1016
- onCancelAction: function onCancelAction() {
1017
- return [{
1018
- type: SERIES_ACTION.reset
1019
- }, {
1020
- type: REMOVE_ITEM_ACTION.reset
1021
- }, {
1022
- type: FORM_ITEM_ACTION.reset
1023
- }, {
1024
- type: DRAG_ITEM_ACTION.reset
1025
- }, {
1026
- type: RESIZE_ITEM_ACTION.reset
1027
- }, {
1028
- type: SHOW_REMOVE_DIALOG_ACTION.reset
1029
- }, {
1030
- type: SHOW_OCCURRENCE_DIALOG_ACTION.reset
1031
- }];
1032
- }
1033
- }
1034
- };
1035
- /**
1036
- * @hidden
1037
- */
1038
- var SchedulerEditItem = SchedulerEditItemVue2;
1039
- export { SchedulerEditItem, SchedulerEditItemVue2 };