@bryntum/calendar-vue-3 7.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (520) hide show
  1. package/README.md +53 -0
  2. package/lib/chunks/6e5LeSJU.js +348 -0
  3. package/lib/chunks/6e5LeSJU.js.map +1 -0
  4. package/lib/chunks/Au1iuOl5.js +231 -0
  5. package/lib/chunks/Au1iuOl5.js.map +1 -0
  6. package/lib/chunks/AuFgCdLX.js +265 -0
  7. package/lib/chunks/AuFgCdLX.js.map +1 -0
  8. package/lib/chunks/B4_IqbDS.js +313 -0
  9. package/lib/chunks/B4_IqbDS.js.map +1 -0
  10. package/lib/chunks/B7YXa-I1.js +315 -0
  11. package/lib/chunks/B7YXa-I1.js.map +1 -0
  12. package/lib/chunks/B8gugSPH.js +303 -0
  13. package/lib/chunks/B8gugSPH.js.map +1 -0
  14. package/lib/chunks/B9IN35xb.js +722 -0
  15. package/lib/chunks/B9IN35xb.js.map +1 -0
  16. package/lib/chunks/BCQU3pVW.js +332 -0
  17. package/lib/chunks/BCQU3pVW.js.map +1 -0
  18. package/lib/chunks/BCapNDrC.js +1138 -0
  19. package/lib/chunks/BCapNDrC.js.map +1 -0
  20. package/lib/chunks/BGB1Jol1.js +420 -0
  21. package/lib/chunks/BGB1Jol1.js.map +1 -0
  22. package/lib/chunks/BI1N0MIj.js +233 -0
  23. package/lib/chunks/BI1N0MIj.js.map +1 -0
  24. package/lib/chunks/BNOuYpbo.js +324 -0
  25. package/lib/chunks/BNOuYpbo.js.map +1 -0
  26. package/lib/chunks/BO4n9DQP.js +308 -0
  27. package/lib/chunks/BO4n9DQP.js.map +1 -0
  28. package/lib/chunks/BOcV1Utm.js +311 -0
  29. package/lib/chunks/BOcV1Utm.js.map +1 -0
  30. package/lib/chunks/BPTCZ6IE.js +385 -0
  31. package/lib/chunks/BPTCZ6IE.js.map +1 -0
  32. package/lib/chunks/BPonWkID.js +283 -0
  33. package/lib/chunks/BPonWkID.js.map +1 -0
  34. package/lib/chunks/BUN4Rk5-.js +287 -0
  35. package/lib/chunks/BUN4Rk5-.js.map +1 -0
  36. package/lib/chunks/BXimBVRa.js +515 -0
  37. package/lib/chunks/BXimBVRa.js.map +1 -0
  38. package/lib/chunks/Baux7HCy.js +157 -0
  39. package/lib/chunks/Baux7HCy.js.map +1 -0
  40. package/lib/chunks/BhoSqDZl.js +382 -0
  41. package/lib/chunks/BhoSqDZl.js.map +1 -0
  42. package/lib/chunks/BmShyJT9.js +283 -0
  43. package/lib/chunks/BmShyJT9.js.map +1 -0
  44. package/lib/chunks/Bpz21Q9F.js +279 -0
  45. package/lib/chunks/Bpz21Q9F.js.map +1 -0
  46. package/lib/chunks/Br_UPlga.js +322 -0
  47. package/lib/chunks/Br_UPlga.js.map +1 -0
  48. package/lib/chunks/BtTswK-2.js +380 -0
  49. package/lib/chunks/BtTswK-2.js.map +1 -0
  50. package/lib/chunks/BuuryInq.js +284 -0
  51. package/lib/chunks/BuuryInq.js.map +1 -0
  52. package/lib/chunks/BwlMnX42.js +273 -0
  53. package/lib/chunks/BwlMnX42.js.map +1 -0
  54. package/lib/chunks/BxJmG96S.js +673 -0
  55. package/lib/chunks/BxJmG96S.js.map +1 -0
  56. package/lib/chunks/BzUFQEuh.js +865 -0
  57. package/lib/chunks/BzUFQEuh.js.map +1 -0
  58. package/lib/chunks/C04gcDe3.js +90 -0
  59. package/lib/chunks/C04gcDe3.js.map +1 -0
  60. package/lib/chunks/C0MrmpSO.js +304 -0
  61. package/lib/chunks/C0MrmpSO.js.map +1 -0
  62. package/lib/chunks/C3SXPZJJ.js +332 -0
  63. package/lib/chunks/C3SXPZJJ.js.map +1 -0
  64. package/lib/chunks/CIQAmaY-.js +311 -0
  65. package/lib/chunks/CIQAmaY-.js.map +1 -0
  66. package/lib/chunks/CMw4TMDz.js +285 -0
  67. package/lib/chunks/CMw4TMDz.js.map +1 -0
  68. package/lib/chunks/COlyo1Wo.js +340 -0
  69. package/lib/chunks/COlyo1Wo.js.map +1 -0
  70. package/lib/chunks/COpeCHCq.js +331 -0
  71. package/lib/chunks/COpeCHCq.js.map +1 -0
  72. package/lib/chunks/CS4HSz2w.js +289 -0
  73. package/lib/chunks/CS4HSz2w.js.map +1 -0
  74. package/lib/chunks/C_mtEjpv.js +382 -0
  75. package/lib/chunks/C_mtEjpv.js.map +1 -0
  76. package/lib/chunks/ChCStTku.js +480 -0
  77. package/lib/chunks/ChCStTku.js.map +1 -0
  78. package/lib/chunks/CkcPGhiH.js +332 -0
  79. package/lib/chunks/CkcPGhiH.js.map +1 -0
  80. package/lib/chunks/Cl4Odf2t.js +316 -0
  81. package/lib/chunks/Cl4Odf2t.js.map +1 -0
  82. package/lib/chunks/ClGqwKHp.js +422 -0
  83. package/lib/chunks/ClGqwKHp.js.map +1 -0
  84. package/lib/chunks/CnJKO_p1.js +408 -0
  85. package/lib/chunks/CnJKO_p1.js.map +1 -0
  86. package/lib/chunks/CocHPfxT.js +305 -0
  87. package/lib/chunks/CocHPfxT.js.map +1 -0
  88. package/lib/chunks/Cpsh5wb1.js +326 -0
  89. package/lib/chunks/Cpsh5wb1.js.map +1 -0
  90. package/lib/chunks/CrReHJfD.js +641 -0
  91. package/lib/chunks/CrReHJfD.js.map +1 -0
  92. package/lib/chunks/Cz07volV.js +293 -0
  93. package/lib/chunks/Cz07volV.js.map +1 -0
  94. package/lib/chunks/D2pGT64x.js +318 -0
  95. package/lib/chunks/D2pGT64x.js.map +1 -0
  96. package/lib/chunks/D65UKHfq.js +301 -0
  97. package/lib/chunks/D65UKHfq.js.map +1 -0
  98. package/lib/chunks/DAPG7Ryp.js +506 -0
  99. package/lib/chunks/DAPG7Ryp.js.map +1 -0
  100. package/lib/chunks/DRBud7Vf.js +329 -0
  101. package/lib/chunks/DRBud7Vf.js.map +1 -0
  102. package/lib/chunks/DRk05Cde.js +28 -0
  103. package/lib/chunks/DRk05Cde.js.map +1 -0
  104. package/lib/chunks/DSQuUUDN.js +642 -0
  105. package/lib/chunks/DSQuUUDN.js.map +1 -0
  106. package/lib/chunks/DUc7x35-.js +285 -0
  107. package/lib/chunks/DUc7x35-.js.map +1 -0
  108. package/lib/chunks/DWa9zkiz.js +317 -0
  109. package/lib/chunks/DWa9zkiz.js.map +1 -0
  110. package/lib/chunks/DXlCOnqx.js +312 -0
  111. package/lib/chunks/DXlCOnqx.js.map +1 -0
  112. package/lib/chunks/DYF0breI.js +334 -0
  113. package/lib/chunks/DYF0breI.js.map +1 -0
  114. package/lib/chunks/DaG1s_Iy.js +299 -0
  115. package/lib/chunks/DaG1s_Iy.js.map +1 -0
  116. package/lib/chunks/Dcppz32C.js +311 -0
  117. package/lib/chunks/Dcppz32C.js.map +1 -0
  118. package/lib/chunks/Dehw9x4O.js +289 -0
  119. package/lib/chunks/Dehw9x4O.js.map +1 -0
  120. package/lib/chunks/DfqTiRbh.js +328 -0
  121. package/lib/chunks/DfqTiRbh.js.map +1 -0
  122. package/lib/chunks/DlS1ldri.js +326 -0
  123. package/lib/chunks/DlS1ldri.js.map +1 -0
  124. package/lib/chunks/Dn19CjWt.js +235 -0
  125. package/lib/chunks/Dn19CjWt.js.map +1 -0
  126. package/lib/chunks/DnHfXxVT.js +301 -0
  127. package/lib/chunks/DnHfXxVT.js.map +1 -0
  128. package/lib/chunks/DngkKfCU.js +302 -0
  129. package/lib/chunks/DngkKfCU.js.map +1 -0
  130. package/lib/chunks/DpOsHkDw.js +241 -0
  131. package/lib/chunks/DpOsHkDw.js.map +1 -0
  132. package/lib/chunks/Dr5r7W-p.js +348 -0
  133. package/lib/chunks/Dr5r7W-p.js.map +1 -0
  134. package/lib/chunks/Dw-ylqNh.js +311 -0
  135. package/lib/chunks/Dw-ylqNh.js.map +1 -0
  136. package/lib/chunks/Dxf58SvP.js +334 -0
  137. package/lib/chunks/Dxf58SvP.js.map +1 -0
  138. package/lib/chunks/H4veMHX5.js +1140 -0
  139. package/lib/chunks/H4veMHX5.js.map +1 -0
  140. package/lib/chunks/HdbtMGp9.js +285 -0
  141. package/lib/chunks/HdbtMGp9.js.map +1 -0
  142. package/lib/chunks/IO_Vc2Ew.js +446 -0
  143. package/lib/chunks/IO_Vc2Ew.js.map +1 -0
  144. package/lib/chunks/Jjh0qb7k.js +702 -0
  145. package/lib/chunks/Jjh0qb7k.js.map +1 -0
  146. package/lib/chunks/Ma6QaT97.js +515 -0
  147. package/lib/chunks/Ma6QaT97.js.map +1 -0
  148. package/lib/chunks/Ot6TFUU0.js +380 -0
  149. package/lib/chunks/Ot6TFUU0.js.map +1 -0
  150. package/lib/chunks/YwcGSX-M.js +289 -0
  151. package/lib/chunks/YwcGSX-M.js.map +1 -0
  152. package/lib/chunks/bCzZXC7O.js +277 -0
  153. package/lib/chunks/bCzZXC7O.js.map +1 -0
  154. package/lib/chunks/dR8Qrbh-.js +402 -0
  155. package/lib/chunks/dR8Qrbh-.js.map +1 -0
  156. package/lib/chunks/fKCtMbe3.js +281 -0
  157. package/lib/chunks/fKCtMbe3.js.map +1 -0
  158. package/lib/chunks/hHtgT0eU.js +520 -0
  159. package/lib/chunks/hHtgT0eU.js.map +1 -0
  160. package/lib/chunks/hfgcSOCj.js +305 -0
  161. package/lib/chunks/hfgcSOCj.js.map +1 -0
  162. package/lib/chunks/jvLNe3VS.js +639 -0
  163. package/lib/chunks/jvLNe3VS.js.map +1 -0
  164. package/lib/chunks/kRnC6m7g.js +461 -0
  165. package/lib/chunks/kRnC6m7g.js.map +1 -0
  166. package/lib/chunks/lsEyA_FU.js +313 -0
  167. package/lib/chunks/lsEyA_FU.js.map +1 -0
  168. package/lib/chunks/nuMBkhIE.js +527 -0
  169. package/lib/chunks/nuMBkhIE.js.map +1 -0
  170. package/lib/chunks/q6v1OTTI.js +344 -0
  171. package/lib/chunks/q6v1OTTI.js.map +1 -0
  172. package/lib/components/BryntumAIFilterField.js +5 -0
  173. package/lib/components/BryntumAIFilterField.js.map +1 -0
  174. package/lib/components/BryntumAgendaView.js +5 -0
  175. package/lib/components/BryntumAgendaView.js.map +1 -0
  176. package/lib/components/BryntumButton.js +5 -0
  177. package/lib/components/BryntumButton.js.map +1 -0
  178. package/lib/components/BryntumButtonGroup.js +5 -0
  179. package/lib/components/BryntumButtonGroup.js.map +1 -0
  180. package/lib/components/BryntumCalendar.js +5 -0
  181. package/lib/components/BryntumCalendar.js.map +1 -0
  182. package/lib/components/BryntumCalendarDatePicker.js +5 -0
  183. package/lib/components/BryntumCalendarDatePicker.js.map +1 -0
  184. package/lib/components/BryntumCalendarProjectModel.js +5 -0
  185. package/lib/components/BryntumCalendarProjectModel.js.map +1 -0
  186. package/lib/components/BryntumChatPanel.js +5 -0
  187. package/lib/components/BryntumChatPanel.js.map +1 -0
  188. package/lib/components/BryntumCheckbox.js +5 -0
  189. package/lib/components/BryntumCheckbox.js.map +1 -0
  190. package/lib/components/BryntumCheckboxGroup.js +5 -0
  191. package/lib/components/BryntumCheckboxGroup.js.map +1 -0
  192. package/lib/components/BryntumChecklistFilterCombo.js +5 -0
  193. package/lib/components/BryntumChecklistFilterCombo.js.map +1 -0
  194. package/lib/components/BryntumChipView.js +5 -0
  195. package/lib/components/BryntumChipView.js.map +1 -0
  196. package/lib/components/BryntumCodeEditor.js +5 -0
  197. package/lib/components/BryntumCodeEditor.js.map +1 -0
  198. package/lib/components/BryntumColorField.js +5 -0
  199. package/lib/components/BryntumColorField.js.map +1 -0
  200. package/lib/components/BryntumCombo.js +5 -0
  201. package/lib/components/BryntumCombo.js.map +1 -0
  202. package/lib/components/BryntumContainer.js +5 -0
  203. package/lib/components/BryntumContainer.js.map +1 -0
  204. package/lib/components/BryntumDateField.js +5 -0
  205. package/lib/components/BryntumDateField.js.map +1 -0
  206. package/lib/components/BryntumDatePicker.js +5 -0
  207. package/lib/components/BryntumDatePicker.js.map +1 -0
  208. package/lib/components/BryntumDateRangeField.js +5 -0
  209. package/lib/components/BryntumDateRangeField.js.map +1 -0
  210. package/lib/components/BryntumDateTimeField.js +5 -0
  211. package/lib/components/BryntumDateTimeField.js.map +1 -0
  212. package/lib/components/BryntumDayAgendaView.js +5 -0
  213. package/lib/components/BryntumDayAgendaView.js.map +1 -0
  214. package/lib/components/BryntumDayResourceView.js +5 -0
  215. package/lib/components/BryntumDayResourceView.js.map +1 -0
  216. package/lib/components/BryntumDayView.js +5 -0
  217. package/lib/components/BryntumDayView.js.map +1 -0
  218. package/lib/components/BryntumDemoCodeEditor.js +5 -0
  219. package/lib/components/BryntumDemoCodeEditor.js.map +1 -0
  220. package/lib/components/BryntumDemoHeader.js +5 -0
  221. package/lib/components/BryntumDemoHeader.js.map +1 -0
  222. package/lib/components/BryntumDisplayField.js +5 -0
  223. package/lib/components/BryntumDisplayField.js.map +1 -0
  224. package/lib/components/BryntumDurationField.js +5 -0
  225. package/lib/components/BryntumDurationField.js.map +1 -0
  226. package/lib/components/BryntumEditor.js +5 -0
  227. package/lib/components/BryntumEditor.js.map +1 -0
  228. package/lib/components/BryntumEventColorField.js +5 -0
  229. package/lib/components/BryntumEventColorField.js.map +1 -0
  230. package/lib/components/BryntumEventList.js +5 -0
  231. package/lib/components/BryntumEventList.js.map +1 -0
  232. package/lib/components/BryntumFieldFilterPicker.js +5 -0
  233. package/lib/components/BryntumFieldFilterPicker.js.map +1 -0
  234. package/lib/components/BryntumFieldFilterPickerGroup.js +5 -0
  235. package/lib/components/BryntumFieldFilterPickerGroup.js.map +1 -0
  236. package/lib/components/BryntumFieldSet.js +5 -0
  237. package/lib/components/BryntumFieldSet.js.map +1 -0
  238. package/lib/components/BryntumFileField.js +5 -0
  239. package/lib/components/BryntumFileField.js.map +1 -0
  240. package/lib/components/BryntumFilePicker.js +5 -0
  241. package/lib/components/BryntumFilePicker.js.map +1 -0
  242. package/lib/components/BryntumFilterField.js +5 -0
  243. package/lib/components/BryntumFilterField.js.map +1 -0
  244. package/lib/components/BryntumFullscreenButton.js +5 -0
  245. package/lib/components/BryntumFullscreenButton.js.map +1 -0
  246. package/lib/components/BryntumGrid.js +5 -0
  247. package/lib/components/BryntumGrid.js.map +1 -0
  248. package/lib/components/BryntumGridBase.js +5 -0
  249. package/lib/components/BryntumGridBase.js.map +1 -0
  250. package/lib/components/BryntumGridChartDesigner.js +5 -0
  251. package/lib/components/BryntumGridChartDesigner.js.map +1 -0
  252. package/lib/components/BryntumGridFieldFilterPicker.js +5 -0
  253. package/lib/components/BryntumGridFieldFilterPicker.js.map +1 -0
  254. package/lib/components/BryntumGridFieldFilterPickerGroup.js +5 -0
  255. package/lib/components/BryntumGridFieldFilterPickerGroup.js.map +1 -0
  256. package/lib/components/BryntumGroupBar.js +5 -0
  257. package/lib/components/BryntumGroupBar.js.map +1 -0
  258. package/lib/components/BryntumHint.js +5 -0
  259. package/lib/components/BryntumHint.js.map +1 -0
  260. package/lib/components/BryntumLabel.js +5 -0
  261. package/lib/components/BryntumLabel.js.map +1 -0
  262. package/lib/components/BryntumList.js +5 -0
  263. package/lib/components/BryntumList.js.map +1 -0
  264. package/lib/components/BryntumMenu.js +5 -0
  265. package/lib/components/BryntumMenu.js.map +1 -0
  266. package/lib/components/BryntumModeSelector.js +5 -0
  267. package/lib/components/BryntumModeSelector.js.map +1 -0
  268. package/lib/components/BryntumMonthAgendaView.js +5 -0
  269. package/lib/components/BryntumMonthAgendaView.js.map +1 -0
  270. package/lib/components/BryntumMonthGrid.js +5 -0
  271. package/lib/components/BryntumMonthGrid.js.map +1 -0
  272. package/lib/components/BryntumMonthPicker.js +5 -0
  273. package/lib/components/BryntumMonthPicker.js.map +1 -0
  274. package/lib/components/BryntumMonthView.js +5 -0
  275. package/lib/components/BryntumMonthView.js.map +1 -0
  276. package/lib/components/BryntumNumberField.js +5 -0
  277. package/lib/components/BryntumNumberField.js.map +1 -0
  278. package/lib/components/BryntumPagingToolbar.js +5 -0
  279. package/lib/components/BryntumPagingToolbar.js.map +1 -0
  280. package/lib/components/BryntumPanel.js +5 -0
  281. package/lib/components/BryntumPanel.js.map +1 -0
  282. package/lib/components/BryntumPasswordField.js +5 -0
  283. package/lib/components/BryntumPasswordField.js.map +1 -0
  284. package/lib/components/BryntumProjectCombo.js +5 -0
  285. package/lib/components/BryntumProjectCombo.js.map +1 -0
  286. package/lib/components/BryntumRadio.js +5 -0
  287. package/lib/components/BryntumRadio.js.map +1 -0
  288. package/lib/components/BryntumRadioGroup.js +5 -0
  289. package/lib/components/BryntumRadioGroup.js.map +1 -0
  290. package/lib/components/BryntumRangeMenu.js +5 -0
  291. package/lib/components/BryntumRangeMenu.js.map +1 -0
  292. package/lib/components/BryntumResourceCombo.js +5 -0
  293. package/lib/components/BryntumResourceCombo.js.map +1 -0
  294. package/lib/components/BryntumResourceFilter.js +5 -0
  295. package/lib/components/BryntumResourceFilter.js.map +1 -0
  296. package/lib/components/BryntumResourceView.js +5 -0
  297. package/lib/components/BryntumResourceView.js.map +1 -0
  298. package/lib/components/BryntumScheduler.js +5 -0
  299. package/lib/components/BryntumScheduler.js.map +1 -0
  300. package/lib/components/BryntumSchedulerBase.js +5 -0
  301. package/lib/components/BryntumSchedulerBase.js.map +1 -0
  302. package/lib/components/BryntumSchedulerDatePicker.js +5 -0
  303. package/lib/components/BryntumSchedulerDatePicker.js.map +1 -0
  304. package/lib/components/BryntumSlideToggle.js +5 -0
  305. package/lib/components/BryntumSlideToggle.js.map +1 -0
  306. package/lib/components/BryntumSlider.js +5 -0
  307. package/lib/components/BryntumSlider.js.map +1 -0
  308. package/lib/components/BryntumSplitter.js +5 -0
  309. package/lib/components/BryntumSplitter.js.map +1 -0
  310. package/lib/components/BryntumTabPanel.js +5 -0
  311. package/lib/components/BryntumTabPanel.js.map +1 -0
  312. package/lib/components/BryntumTextAreaField.js +5 -0
  313. package/lib/components/BryntumTextAreaField.js.map +1 -0
  314. package/lib/components/BryntumTextAreaPickerField.js +5 -0
  315. package/lib/components/BryntumTextAreaPickerField.js.map +1 -0
  316. package/lib/components/BryntumTextField.js +5 -0
  317. package/lib/components/BryntumTextField.js.map +1 -0
  318. package/lib/components/BryntumTimeField.js +5 -0
  319. package/lib/components/BryntumTimeField.js.map +1 -0
  320. package/lib/components/BryntumTimePicker.js +5 -0
  321. package/lib/components/BryntumTimePicker.js.map +1 -0
  322. package/lib/components/BryntumTimelineHistogram.js +5 -0
  323. package/lib/components/BryntumTimelineHistogram.js.map +1 -0
  324. package/lib/components/BryntumToolbar.js +5 -0
  325. package/lib/components/BryntumToolbar.js.map +1 -0
  326. package/lib/components/BryntumTreeCombo.js +5 -0
  327. package/lib/components/BryntumTreeCombo.js.map +1 -0
  328. package/lib/components/BryntumTreeGrid.js +5 -0
  329. package/lib/components/BryntumTreeGrid.js.map +1 -0
  330. package/lib/components/BryntumUndoRedo.js +5 -0
  331. package/lib/components/BryntumUndoRedo.js.map +1 -0
  332. package/lib/components/BryntumViewPresetCombo.js +5 -0
  333. package/lib/components/BryntumViewPresetCombo.js.map +1 -0
  334. package/lib/components/BryntumWeekView.js +5 -0
  335. package/lib/components/BryntumWeekView.js.map +1 -0
  336. package/lib/components/BryntumWidget.js +5 -0
  337. package/lib/components/BryntumWidget.js.map +1 -0
  338. package/lib/components/BryntumYearPicker.js +5 -0
  339. package/lib/components/BryntumYearPicker.js.map +1 -0
  340. package/lib/components/BryntumYearView.js +5 -0
  341. package/lib/components/BryntumYearView.js.map +1 -0
  342. package/lib/helper/WrapperHelper.js +291 -0
  343. package/lib/helper/WrapperHelper.js.map +1 -0
  344. package/lib/index.d.ts +5 -0
  345. package/lib/index.js +174 -0
  346. package/lib/index.js.map +1 -0
  347. package/license.pdf +0 -0
  348. package/licenses.md +310 -0
  349. package/package.json +27 -0
  350. package/src/components/BryntumAIFilterField.vue +1063 -0
  351. package/src/components/BryntumAIFilterFieldProps.ts +646 -0
  352. package/src/components/BryntumAgendaView.vue +3328 -0
  353. package/src/components/BryntumAgendaViewProps.ts +1448 -0
  354. package/src/components/BryntumButton.vue +952 -0
  355. package/src/components/BryntumButtonGroup.vue +967 -0
  356. package/src/components/BryntumButtonGroupProps.ts +575 -0
  357. package/src/components/BryntumButtonProps.ts +556 -0
  358. package/src/components/BryntumCalendar.vue +3027 -0
  359. package/src/components/BryntumCalendarDatePicker.vue +1540 -0
  360. package/src/components/BryntumCalendarDatePickerProps.ts +1002 -0
  361. package/src/components/BryntumCalendarProjectModel.vue +439 -0
  362. package/src/components/BryntumCalendarProjectModelProps.ts +279 -0
  363. package/src/components/BryntumCalendarProps.ts +1137 -0
  364. package/src/components/BryntumChatPanel.vue +1159 -0
  365. package/src/components/BryntumChatPanelProps.ts +707 -0
  366. package/src/components/BryntumCheckbox.vue +1071 -0
  367. package/src/components/BryntumCheckboxGroup.vue +1193 -0
  368. package/src/components/BryntumCheckboxGroupProps.ts +739 -0
  369. package/src/components/BryntumCheckboxProps.ts +631 -0
  370. package/src/components/BryntumChecklistFilterCombo.vue +1309 -0
  371. package/src/components/BryntumChecklistFilterComboProps.ts +846 -0
  372. package/src/components/BryntumChipView.vue +979 -0
  373. package/src/components/BryntumChipViewProps.ts +583 -0
  374. package/src/components/BryntumCodeEditor.vue +1136 -0
  375. package/src/components/BryntumCodeEditorProps.ts +708 -0
  376. package/src/components/BryntumColorField.vue +1060 -0
  377. package/src/components/BryntumColorFieldProps.ts +642 -0
  378. package/src/components/BryntumCombo.vue +1298 -0
  379. package/src/components/BryntumComboProps.ts +838 -0
  380. package/src/components/BryntumContainer.vue +917 -0
  381. package/src/components/BryntumContainerProps.ts +563 -0
  382. package/src/components/BryntumDateField.vue +1120 -0
  383. package/src/components/BryntumDateFieldProps.ts +693 -0
  384. package/src/components/BryntumDatePicker.vue +1427 -0
  385. package/src/components/BryntumDatePickerProps.ts +898 -0
  386. package/src/components/BryntumDateRangeField.vue +1122 -0
  387. package/src/components/BryntumDateRangeFieldProps.ts +694 -0
  388. package/src/components/BryntumDateTimeField.vue +1007 -0
  389. package/src/components/BryntumDateTimeFieldProps.ts +600 -0
  390. package/src/components/BryntumDayAgendaView.vue +1979 -0
  391. package/src/components/BryntumDayAgendaViewProps.ts +1270 -0
  392. package/src/components/BryntumDayResourceView.vue +2044 -0
  393. package/src/components/BryntumDayResourceViewProps.ts +1334 -0
  394. package/src/components/BryntumDayView.vue +1999 -0
  395. package/src/components/BryntumDayViewProps.ts +1295 -0
  396. package/src/components/BryntumDemoCodeEditor.vue +1152 -0
  397. package/src/components/BryntumDemoCodeEditorProps.ts +721 -0
  398. package/src/components/BryntumDemoHeader.vue +131 -0
  399. package/src/components/BryntumDisplayField.vue +1044 -0
  400. package/src/components/BryntumDisplayFieldProps.ts +632 -0
  401. package/src/components/BryntumDurationField.vue +1103 -0
  402. package/src/components/BryntumDurationFieldProps.ts +683 -0
  403. package/src/components/BryntumEditor.vue +1093 -0
  404. package/src/components/BryntumEditorProps.ts +622 -0
  405. package/src/components/BryntumEventColorField.vue +1060 -0
  406. package/src/components/BryntumEventColorFieldProps.ts +642 -0
  407. package/src/components/BryntumEventList.vue +3255 -0
  408. package/src/components/BryntumEventListProps.ts +1403 -0
  409. package/src/components/BryntumFieldFilterPicker.vue +1002 -0
  410. package/src/components/BryntumFieldFilterPickerGroup.vue +1038 -0
  411. package/src/components/BryntumFieldFilterPickerGroupProps.ts +646 -0
  412. package/src/components/BryntumFieldFilterPickerProps.ts +624 -0
  413. package/src/components/BryntumFieldSet.vue +1129 -0
  414. package/src/components/BryntumFieldSetProps.ts +703 -0
  415. package/src/components/BryntumFileField.vue +1047 -0
  416. package/src/components/BryntumFileFieldProps.ts +634 -0
  417. package/src/components/BryntumFilePicker.vue +948 -0
  418. package/src/components/BryntumFilePickerProps.ts +575 -0
  419. package/src/components/BryntumFilterField.vue +1088 -0
  420. package/src/components/BryntumFilterFieldProps.ts +668 -0
  421. package/src/components/BryntumFullscreenButton.vue +38 -0
  422. package/src/components/BryntumGrid.vue +2759 -0
  423. package/src/components/BryntumGridBase.vue +2756 -0
  424. package/src/components/BryntumGridBaseProps.ts +1027 -0
  425. package/src/components/BryntumGridChartDesigner.vue +778 -0
  426. package/src/components/BryntumGridChartDesignerProps.ts +466 -0
  427. package/src/components/BryntumGridFieldFilterPicker.vue +1015 -0
  428. package/src/components/BryntumGridFieldFilterPickerGroup.vue +1032 -0
  429. package/src/components/BryntumGridFieldFilterPickerGroupProps.ts +641 -0
  430. package/src/components/BryntumGridFieldFilterPickerProps.ts +636 -0
  431. package/src/components/BryntumGridProps.ts +1028 -0
  432. package/src/components/BryntumGroupBar.vue +979 -0
  433. package/src/components/BryntumGroupBarProps.ts +583 -0
  434. package/src/components/BryntumHint.vue +1199 -0
  435. package/src/components/BryntumHintProps.ts +753 -0
  436. package/src/components/BryntumLabel.vue +770 -0
  437. package/src/components/BryntumLabelProps.ts +459 -0
  438. package/src/components/BryntumList.vue +956 -0
  439. package/src/components/BryntumListProps.ts +563 -0
  440. package/src/components/BryntumMenu.vue +1223 -0
  441. package/src/components/BryntumMenuProps.ts +749 -0
  442. package/src/components/BryntumModeSelector.vue +945 -0
  443. package/src/components/BryntumModeSelectorProps.ts +586 -0
  444. package/src/components/BryntumMonthAgendaView.vue +1775 -0
  445. package/src/components/BryntumMonthAgendaViewProps.ts +1162 -0
  446. package/src/components/BryntumMonthGrid.vue +1767 -0
  447. package/src/components/BryntumMonthGridProps.ts +1028 -0
  448. package/src/components/BryntumMonthPicker.vue +1133 -0
  449. package/src/components/BryntumMonthPickerProps.ts +688 -0
  450. package/src/components/BryntumMonthView.vue +1939 -0
  451. package/src/components/BryntumMonthViewProps.ts +1189 -0
  452. package/src/components/BryntumNumberField.vue +1090 -0
  453. package/src/components/BryntumNumberFieldProps.ts +671 -0
  454. package/src/components/BryntumPagingToolbar.vue +989 -0
  455. package/src/components/BryntumPagingToolbarProps.ts +592 -0
  456. package/src/components/BryntumPanel.vue +1106 -0
  457. package/src/components/BryntumPanelProps.ts +684 -0
  458. package/src/components/BryntumPasswordField.vue +1034 -0
  459. package/src/components/BryntumPasswordFieldProps.ts +623 -0
  460. package/src/components/BryntumProjectCombo.vue +1300 -0
  461. package/src/components/BryntumProjectComboProps.ts +839 -0
  462. package/src/components/BryntumRadio.vue +1071 -0
  463. package/src/components/BryntumRadioGroup.vue +1159 -0
  464. package/src/components/BryntumRadioGroupProps.ts +729 -0
  465. package/src/components/BryntumRadioProps.ts +631 -0
  466. package/src/components/BryntumRangeMenu.vue +1223 -0
  467. package/src/components/BryntumRangeMenuProps.ts +749 -0
  468. package/src/components/BryntumResourceCombo.vue +1303 -0
  469. package/src/components/BryntumResourceComboProps.ts +842 -0
  470. package/src/components/BryntumResourceFilter.vue +998 -0
  471. package/src/components/BryntumResourceFilterProps.ts +589 -0
  472. package/src/components/BryntumResourceView.vue +1556 -0
  473. package/src/components/BryntumResourceViewProps.ts +995 -0
  474. package/src/components/BryntumScheduler.vue +5828 -0
  475. package/src/components/BryntumSchedulerBase.vue +5826 -0
  476. package/src/components/BryntumSchedulerBaseProps.ts +2050 -0
  477. package/src/components/BryntumSchedulerDatePicker.vue +1451 -0
  478. package/src/components/BryntumSchedulerDatePickerProps.ts +919 -0
  479. package/src/components/BryntumSchedulerProps.ts +2051 -0
  480. package/src/components/BryntumSlideToggle.vue +1071 -0
  481. package/src/components/BryntumSlideToggleProps.ts +631 -0
  482. package/src/components/BryntumSlider.vue +871 -0
  483. package/src/components/BryntumSliderProps.ts +523 -0
  484. package/src/components/BryntumSplitter.vue +813 -0
  485. package/src/components/BryntumSplitterProps.ts +468 -0
  486. package/src/components/BryntumTabPanel.vue +1164 -0
  487. package/src/components/BryntumTabPanelProps.ts +710 -0
  488. package/src/components/BryntumTextAreaField.vue +1046 -0
  489. package/src/components/BryntumTextAreaFieldProps.ts +633 -0
  490. package/src/components/BryntumTextAreaPickerField.vue +1067 -0
  491. package/src/components/BryntumTextAreaPickerFieldProps.ts +648 -0
  492. package/src/components/BryntumTextField.vue +1052 -0
  493. package/src/components/BryntumTextFieldProps.ts +637 -0
  494. package/src/components/BryntumTimeField.vue +1101 -0
  495. package/src/components/BryntumTimeFieldProps.ts +677 -0
  496. package/src/components/BryntumTimePicker.vue +952 -0
  497. package/src/components/BryntumTimePickerProps.ts +583 -0
  498. package/src/components/BryntumTimelineHistogram.vue +3893 -0
  499. package/src/components/BryntumTimelineHistogramProps.ts +1560 -0
  500. package/src/components/BryntumToolbar.vue +982 -0
  501. package/src/components/BryntumToolbarProps.ts +586 -0
  502. package/src/components/BryntumTreeCombo.vue +1298 -0
  503. package/src/components/BryntumTreeComboProps.ts +838 -0
  504. package/src/components/BryntumTreeGrid.vue +2758 -0
  505. package/src/components/BryntumTreeGridProps.ts +1028 -0
  506. package/src/components/BryntumUndoRedo.vue +941 -0
  507. package/src/components/BryntumUndoRedoProps.ts +583 -0
  508. package/src/components/BryntumViewPresetCombo.vue +979 -0
  509. package/src/components/BryntumViewPresetComboProps.ts +575 -0
  510. package/src/components/BryntumWeekView.vue +1999 -0
  511. package/src/components/BryntumWeekViewProps.ts +1295 -0
  512. package/src/components/BryntumWidget.vue +765 -0
  513. package/src/components/BryntumWidgetProps.ts +455 -0
  514. package/src/components/BryntumYearPicker.vue +1144 -0
  515. package/src/components/BryntumYearPickerProps.ts +705 -0
  516. package/src/components/BryntumYearView.vue +1701 -0
  517. package/src/components/BryntumYearViewProps.ts +1061 -0
  518. package/src/helper/WrapperHelper.ts +573 -0
  519. package/src/index.ts +173 -0
  520. package/src/vite-env.d.ts +1 -0
@@ -0,0 +1,3893 @@
1
+ <!-- Vue 3 wrapper for Bryntum TimelineHistogram -->
2
+
3
+ <template>
4
+ <div ref="refElement">
5
+
6
+ <!-- Container for Vue components used in cells, hidden from view -->
7
+ <div
8
+ ref="teleportsHolder"
9
+ style="display: none"
10
+ >
11
+ <!-- Vue components rendered in the grid cells -->
12
+ <teleport
13
+ v-for="item in teleports.values()"
14
+ :key="item.key"
15
+ :to="item.to"
16
+ >
17
+ <component
18
+ :is="item.is"
19
+ :ref="item.key"
20
+ :data-key="item.key"
21
+ :data-generation="item.generation"
22
+ v-bind="item.bind"
23
+ data-vue
24
+ v-on="item.on"
25
+ />
26
+ </teleport>
27
+ </div>
28
+
29
+ </div>
30
+ </template>
31
+
32
+ <script setup lang="ts">
33
+
34
+ import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
35
+
36
+ import type { AIFilter, AIFilterConfig, AjaxStore, AjaxStoreConfig, AssignmentModel, Base, CellCopyPaste, CellCopyPasteConfig, CellEdit, CellEditConfig, CellEditorContext, CellMenu, CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, Column, ColumnAutoWidth, ColumnAutoWidthConfig, ColumnDragToolbar, ColumnDragToolbarConfig, ColumnLines, ColumnLinesConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder, ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, Container, ContainerItemConfig, DomConfig, DurationUnit, EmptyTextDomConfig, EventColor, EventModel, ExportConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, FormulaProviderConfig, Grid, GridBase, GridColumnConfig, GridExcelExporter, GridExcelExporterConfig, GridLocation, GridLocationConfig, GridLockRows, GridLockRowsConfig, GridPdfExport, GridPdfExportConfig, GridPrint, GridPrintConfig, GridRowResize, GridRowResizeConfig, GridSelectionMode, GridStateInfo, Group, GroupConfig, GroupSummary, GroupSummaryConfig, HeaderMenu, HeaderMenuConfig, HeaderZoom, HeaderZoomConfig, Histogram, HistogramConfig, HistogramRenderData, HistogramSeries, KeyMapConfig, Mask, MaskConfig, Menu, MenuItem, MenuItemEntry, MergeCells, MergeCellsConfig, Model, ModelConfig, NonWorkingTime, NonWorkingTimeConfig, PagingToolbarConfig, Pan, PanConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, PinColumns, PinColumnsConfig, PreserveScrollOptions, QuickFind, QuickFindConfig, RecordPositionContext, RecurrenceConfirmationPopup, RecurrenceConfirmationPopupConfig, RegionResize, RegionResizeConfig, ResourceMenu, ResourceMenuConfig, ResourceModel, ResourceTimeRangeModel, ResourceTimeRanges, ResourceTimeRangesConfig, ResponsiveLevelConfig, Row, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowEditorContext, RowExpander, RowExpanderConfig, RowReorder, RowReorderConfig, ScaleColumnConfig, ScalePoint, Scheduler, SchedulerScheduleTooltip, SchedulerScheduleTooltipConfig, SchedulerTimeRanges, SchedulerTimeRangesConfig, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, Search, SearchConfig, Sort, SortConfig, Split, SplitConfig, StateProvider, StickyCells, StickyCellsConfig, Store, StoreConfig, Stripe, StripeConfig, SubGrid, SubGridConfig, Summary, SummaryConfig, TabConfig, TimeAxis, TimeAxisColumn, TimeAxisConfig, TimeAxisHeaderMenu, TimeAxisHeaderMenuConfig, TimeSpan, TimelineBase, TimelineContext, TimelineHistogramListeners, Tool, ToolConfig, ToolbarConfig, ToolbarItems, Tooltip, TooltipConfig, Tree, TreeConfig, TreeGroup, TreeGroupConfig, VerticalTimeAxisColumn, ViewPreset, ViewPresetConfig, VisibleDate, Widget, XLSColumn } from '@bryntum/calendar';
37
+ import { TimelineHistogram } from '@bryntum/calendar';
38
+
39
+ import { WrapperHelper } from '../helper/WrapperHelper';
40
+
41
+ defineProps<{
42
+ // Configs
43
+ /**
44
+ * Element (or element id) to adopt as this Widget's encapsulating element. The widget's
45
+ * content will be placed inside this element.
46
+ * ...
47
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-adopt)
48
+ */
49
+ adopt ? : HTMLElement|string
50
+ /**
51
+ * A function used for aggregating child records histogram data entries to their parent entry.
52
+ * ...
53
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-aggregateDataEntry)
54
+ * @param {object} aggregateDataEntry.aggregated Target parent data entry to aggregate the entry into.
55
+ * @param {object} aggregateDataEntry.entry Current entry to aggregate into `aggregated`.
56
+ * @param {number} aggregateDataEntry.arrayIndex Index of current array (index of the record among other records being aggregated).
57
+ * @param {object[]} aggregateDataEntry.entryIndex Index of `entry` in the current array.
58
+ * @returns {object} Return value becomes the value of the `aggregated` parameter on the next invocation of this function.
59
+ */
60
+ aggregateDataEntry ? : ((aggregateDataEntry: { aggregated: object, entry: object, arrayIndex: number, entryIndex: object[] }) => object)|string
61
+ /**
62
+ * When `true` the component will automatically calculate data for group records
63
+ * based on the groups members data by calling [getGroupRecordHistogramData](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/TimelineHistogramGrouping#function-getGroupRecordHistogramData) method.
64
+ */
65
+ aggregateHistogramDataForGroups ? : Boolean
66
+ /**
67
+ * When this widget is a child of a [Container](https://bryntum.com/products/calendar/docs/api/Core/widget/Container), it will by default be participating in a
68
+ * flexbox layout. This config allows you to set this widget's
69
+ * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.
70
+ */
71
+ alignSelf ? : string
72
+ /**
73
+ * Set to `true` to animate row removals caused by filtering.
74
+ * @deprecated 7.0.0 Deprecated `animateFilterRemovals`. Use `transition.filterRemoval` instead
75
+ */
76
+ animateFilterRemovals ? : Boolean
77
+ /**
78
+ * Controls if removing and inserting rows should be animated. Set to `false` to prevent those animations,
79
+ * removing the related delays.
80
+ * @deprecated 7.0.0 Deprecated `animateRemovingRows`. Use `transition.removeRecord` instead
81
+ */
82
+ animateRemovingRows ? : Boolean
83
+ /**
84
+ * When the [Tree](https://bryntum.com/products/calendar/docs/api/Grid/feature/Tree) feature is in use and the Store is a tree store, this
85
+ * config may be set to `true` to visually animate branch node expand and collapse operations.
86
+ * *This is not supported in Scheduler and Gantt*
87
+ * @deprecated 7.0.0 Deprecated `animateTreeNodeToggle`. Use `transition.toggleTreeNode` instead
88
+ */
89
+ animateTreeNodeToggle ? : Boolean
90
+ /**
91
+ * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
92
+ * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).
93
+ */
94
+ appendTo ? : HTMLElement|string
95
+ /**
96
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
97
+ * into an element which will be linked using the `aria-describedby` attribute.
98
+ * ...
99
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-ariaDescription)
100
+ */
101
+ ariaDescription ? : string
102
+ /**
103
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
104
+ * the `aria-label` attribute.
105
+ * ...
106
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-ariaLabel)
107
+ */
108
+ ariaLabel ? : string
109
+ /**
110
+ * You can set this option to `false` to make the timeline panel start and end on the exact provided
111
+ * [startDate](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineBase#config-startDate)/[endDate](#Scheduler/view/TimelineBase#config-endDate) w/o adjusting them.
112
+ */
113
+ autoAdjustTimeAxis ? : Boolean
114
+ /**
115
+ * Automatically set grids height to fit all rows (no scrolling in the grid). In general you should avoid
116
+ * using `autoHeight: true`, since it will bypass Grids virtual rendering and render all rows at once, which
117
+ * in a larger grid is really bad for performance.
118
+ */
119
+ autoHeight ? : Boolean
120
+ /**
121
+ * Controls how much space to leave between stacked event bars in px.
122
+ * ...
123
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-barMargin)
124
+ */
125
+ barMargin ? : number
126
+ /**
127
+ * A Function which returns the tooltip text to display when hovering a bar.
128
+ * The following parameters are passed:
129
+ * @param {object} context The tooltip context info
130
+ * @param {object} context.datum The histogram bar being hovered info
131
+ * @param {Core.widget.Tooltip} context.tip The tooltip instance
132
+ * @param {HTMLElement} context.element The Element for which the Tooltip is monitoring mouse movement
133
+ * @param {HTMLElement} context.activeTarget The target element that triggered the show
134
+ * @param {Event} context.event The raw DOM event
135
+ * @param {Core.data.Model} context.record The record which value the hovered bar displays.
136
+ * @returns {string} Tooltip HTML content
137
+ */
138
+ barTooltipTemplate ? : (context: { datum: object, tip: Tooltip, element: HTMLElement, activeTarget: HTMLElement, event: Event, record: Model }) => string
139
+ /**
140
+ * A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/calendar/docs/api/Core/widget/Toolbar),
141
+ * or array of config objects representing the child items of a Toolbar. Another way to add a bbar is to use [strips](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-strips).
142
+ * ...
143
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-bbar)
144
+ */
145
+ bbar ? : (ContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
146
+ /**
147
+ * Custom CSS classes to add to the panel's body element.
148
+ * ...
149
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-bodyCls)
150
+ */
151
+ bodyCls ? : string|object
152
+ /**
153
+ * An object where property names with a truthy value indicate which events should bubble up the ownership
154
+ * hierarchy when triggered.
155
+ * ...
156
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-bubbleEvents)
157
+ */
158
+ bubbleEvents ? : object
159
+ /**
160
+ * This config defines the size of the start and end invisible parts of the timespan when [infiniteScroll](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/TimelineScroll#config-infiniteScroll) set to `true`.
161
+ * ...
162
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-bufferCoef)
163
+ */
164
+ bufferCoef ? : number
165
+ /**
166
+ * This config defines the scroll limit, which, when exceeded will cause a timespan shift.
167
+ * The limit is calculated as the `panelWidth * [bufferCoef](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/TimelineScroll#config-bufferCoef) * bufferThreshold`. During scrolling, if the left or right side
168
+ * has less than that of the rendered content - a shift is triggered.
169
+ * ...
170
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-bufferThreshold)
171
+ */
172
+ bufferThreshold ? : number
173
+ /**
174
+ * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
175
+ * ...
176
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-callOnFunctions)
177
+ */
178
+ callOnFunctions ? : Boolean
179
+ /**
180
+ * By default, if an event handler throws an exception, the error propagates up the stack and the
181
+ * application state is undefined. Code which follows the event handler will *not* be executed.
182
+ * ...
183
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-catchEventHandlerExceptions)
184
+ */
185
+ catchEventHandlerExceptions ? : Boolean
186
+ /**
187
+ * Set to `false` to crop text in grid cells without ellipsis (...). When enabled, cells containing pure
188
+ * use `display : block`, instead of `display : flex` to allow ellipsis to work.
189
+ * <strong>NOTE</strong> Only supported in browsers that support `:has()` CSS selector
190
+ */
191
+ cellEllipsis ? : Boolean
192
+ /**
193
+ * Custom CSS classes to add to element.
194
+ * May be specified as a space separated string, or as an object in which property names
195
+ * with truthy values are used as the class names:
196
+ * ...
197
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-cls)
198
+ */
199
+ cls ? : string|object
200
+ /**
201
+ * Controls whether the panel is collapsed (the body of the panel is hidden while only the header is
202
+ * visible). Only valid if the panel is [collapsible](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsible).
203
+ */
204
+ collapsed ? : Boolean
205
+ /**
206
+ * This config enables collapsibility for the panel. See [collapsed](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsed).
207
+ * ...
208
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-collapsible)
209
+ */
210
+ collapsible ? : Boolean|PanelCollapserConfig|PanelCollapserOverlayConfig
211
+ /**
212
+ * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
213
+ * `style` block.
214
+ * ...
215
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-color)
216
+ */
217
+ color ? : string
218
+ /**
219
+ * Programmatic control over which column to start in when used in a grid layout.
220
+ */
221
+ column ? : number
222
+ /**
223
+ * Set to `false` to not show column lines. End result might be overruled by/differ between themes.
224
+ */
225
+ columnLines ? : Boolean
226
+ /**
227
+ * Accepts column definitions for the grid during initialization. They will be used to create
228
+ * [Column](https://bryntum.com/products/calendar/docs/api/Grid/column/Column) instances that are added to a [ColumnStore](#Grid/data/ColumnStore).
229
+ * ...
230
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-columns)
231
+ */
232
+ columns ? : ColumnStore|GridColumnConfig[]|ColumnStoreConfig
233
+ config ? : object
234
+ /**
235
+ * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).
236
+ * May be specified as a space separated string, or as an object in which property names
237
+ * with truthy values are used as the class names:
238
+ * ...
239
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-contentElementCls)
240
+ */
241
+ contentElementCls ? : string|object
242
+ /**
243
+ * Event which is used to show context menus.
244
+ * Available options are: 'contextmenu', 'click', 'dblclick'.
245
+ */
246
+ contextMenuTriggerEvent ? : 'contextmenu'|'click'|'dblclick'
247
+ /**
248
+ * Convenient shortcut to set data in grids store both during initialization and at runtime. Can also be
249
+ * used to retrieve data at runtime, although we do recommend interacting with Grids store instead using
250
+ * the [store](https://bryntum.com/products/calendar/docs/api/Grid/view/GridBase#property-store) property.
251
+ * ...
252
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-data)
253
+ */
254
+ data ? : object[]|Model[]|ModelConfig[]
255
+ /**
256
+ * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the
257
+ * field on the expanded record to use for populating this widget's store (if applicable)
258
+ */
259
+ dataField ? : string
260
+ /**
261
+ * Record field from which the histogram data will be collected.
262
+ * ...
263
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-dataModelField)
264
+ */
265
+ dataModelField ? : string
266
+ /**
267
+ * Object to apply to elements dataset (each key will be used as a data-attribute on the element)
268
+ */
269
+ dataset ? : Record<string, string>
270
+ /**
271
+ * Region to which columns are added when they have none specified
272
+ */
273
+ defaultRegion ? : string
274
+ /**
275
+ * Set to `true` to destroy the store when the grid is destroyed.
276
+ */
277
+ destroyStore ? : Boolean
278
+ /**
279
+ * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
280
+ * ...
281
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-detectCSSCompatibilityIssues)
282
+ */
283
+ detectCSSCompatibilityIssues ? : Boolean
284
+ /**
285
+ * Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget
286
+ * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
287
+ * ...
288
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-disabled)
289
+ */
290
+ disabled ? : Boolean|'inert'
291
+ /**
292
+ * Set to `true` to not get a warning when calling [getState](https://bryntum.com/products/calendar/docs/api/Grid/view/GridBase#function-getState) when there is a column
293
+ * configured without an `id`. But the recommended action is to always configure columns with an `id` when
294
+ * using states.
295
+ */
296
+ disableGridColumnIdWarning ? : Boolean
297
+ /**
298
+ * Set to `true` to not get a warning when using another base class than GridRowModel for your grid data. If
299
+ * you do, and would like to use the full feature set of the grid then include the fields from GridRowModel
300
+ * in your model definition.
301
+ */
302
+ disableGridRowModelWarning ? : Boolean
303
+ /**
304
+ * Defines how dates will be formatted in tooltips etc. This config has priority over similar config on the
305
+ * view preset. For allowed values see [format](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper#function-format-static).
306
+ * ...
307
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-displayDateFormat)
308
+ */
309
+ displayDateFormat ? : string
310
+ /**
311
+ * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel)
312
+ * [strips collection](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
313
+ * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
314
+ * body. Such widgets are called "edge strips".
315
+ * ...
316
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-dock)
317
+ */
318
+ dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
319
+ /**
320
+ * Make this Panel a docked drawer which slides out from one side of the browser viewport by default.
321
+ * ...
322
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-drawer)
323
+ * @param {'start','left','end','right','top','bottom'} side The side of the viewport to dock the drawer to. * `'start'` means the `inline-start` side. * `'end'` means the `inline-end` side.
324
+ * @param {string,number} size The size of the drawer in its collapsible axis.
325
+ * @param {boolean} inline If using the [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-appendTo) config to place the drawer inside a host widget, this may be set to `true` to make the drawer inline within that host. Note that, if using this, the layout of the host element must have `flex-direction` set appropriately.
326
+ * @param {boolean,object} autoClose Specifies what user actions should automatically close the drawer. Defaults to closing when the user clicks outside of the drawer or when focus moves outside of the drawer.
327
+ * @param {boolean,string} autoClose.mousedown If the user clicks outside of the drawer, the drawer will automatically be hidden. If the value is a string, it is used as a CSS selector to filter clicks which should close the drawer.
328
+ * @param {boolean,string} autoClose.focusout If focus moves outside of the drawer, the drawer will automatically be hidden.
329
+ * @param {string} autoClose.mouseout Hides the drawer when the mouse leaves the drawer after the `autoCloseDelay` period.
330
+ * @param {number} autoCloseDelay When using `mouseout`, this is the delay in milliseconds
331
+ */
332
+ drawer ? : Boolean|{side?: 'start'|'left'|'end'|'right'|'top'|'bottom', size?: string|number, inline?: Boolean, autoClose: { mousedown?: Boolean|string, focusout?: Boolean|string, mouseout?: string }, autoCloseDelay?: number}
333
+ /**
334
+ * Decimal precision used when displaying durations, used by tooltips and DurationColumn.
335
+ * Specify `false` to use raw value
336
+ */
337
+ durationDisplayPrecision ? : number|Boolean
338
+ /**
339
+ * An object specifying attributes to assign to the root element of this widget.
340
+ * Set `null` value to attribute to remove it.
341
+ * ...
342
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-elementAttributes)
343
+ */
344
+ elementAttributes ? : Record<string, string|null>
345
+ /**
346
+ * Text or HTML, or a [EmptyTextDomConfig](https://bryntum.com/products/calendar/docs/api/Grid/view/GridBase#typedef-EmptyTextDomConfig) block to display when there is no data to display in the grid.
347
+ * When using multiple Grid regions, provide the `region` property to decide where the text is shown.
348
+ * By default, it is shown in the first region.
349
+ * ...
350
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-emptyText)
351
+ */
352
+ emptyText ? : string|EmptyTextDomConfig
353
+ /**
354
+ * Set to `false` if you don't want event bar DOM updates to animate.
355
+ * @deprecated 7.0.0 Deprecated `enableEventAnimations`. Use `transition.changeEvent` instead
356
+ */
357
+ enableEventAnimations ? : Boolean
358
+ /**
359
+ * Enables showing occurrences of recurring events across the scheduler's time axis. If you want to disable
360
+ * the recurrence popup, you can choose set the `defaultAction` to `future` to affect all future
361
+ * occurrences, or `single` to just affect the currently selected event.
362
+ * ...
363
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-enableRecurringEvents)
364
+ */
365
+ enableRecurringEvents ? : Boolean|{
366
+ defaultAction?: 'single'|'future'
367
+ }
368
+ /**
369
+ * Configure this as `true` to allow elements within cells to be styled as `position: sticky`.
370
+ * ...
371
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-enableSticky)
372
+ */
373
+ enableSticky ? : Boolean
374
+ /**
375
+ * Set to `true` to allow text selection in the grid cells. Note, this cannot be used simultaneously with the
376
+ * `RowReorder` feature.
377
+ */
378
+ enableTextSelection ? : Boolean
379
+ /**
380
+ * Set to `true` to listen for CTRL-Z (CMD-Z on Mac OS) keyboard event and trigger undo (redo when SHIFT is
381
+ * pressed). Only applicable when using a [StateTrackingManager](https://bryntum.com/products/calendar/docs/api/Core/data/stm/StateTrackingManager).
382
+ */
383
+ enableUndoRedoKeys ? : Boolean
384
+ /**
385
+ * The end date of the timeline (if not configure with [infiniteScroll](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineBase#config-infiniteScroll)).
386
+ * ...
387
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-endDate)
388
+ */
389
+ endDate ? : Date|string
390
+ /**
391
+ * Event color used by default. Events and resources can specify their own color, with priority order being:
392
+ * Event -&gt; Resource -&gt; Scheduler default.
393
+ * ...
394
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-eventColor)
395
+ */
396
+ eventColor ? : EventColor
397
+ /**
398
+ * Event style used by default. Events and resources can specify their own style, with priority order being:
399
+ * Event -&gt; Resource -&gt; Scheduler default. Determines the appearance of the event by assigning a CSS class
400
+ * to it. Available styles are:
401
+ * ...
402
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-eventStyle)
403
+ */
404
+ eventStyle ? : 'tonal'|'filled'|'bordered'|'traced'|'outlined'|'indented'|'line'|'dashed'|'minimal'|'rounded'|'calendar'|'interday'|'gantt'|null
405
+ extraData ? : any
406
+ /**
407
+ * Set to `true` to stretch the last column in a grid with all fixed width columns
408
+ * to fill extra available space if the grid's width is wider than the sum of all
409
+ * configured column widths.
410
+ */
411
+ fillLastColumn ? : Boolean
412
+ /**
413
+ * Specify `true` to force rendered events/tasks to fill entire ticks. This only affects rendering, start
414
+ * and end dates retain their value on the data level.
415
+ * ...
416
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-fillTicks)
417
+ */
418
+ fillTicks ? : Boolean
419
+ /**
420
+ * Use fixed row height. Setting this to `true` will configure the underlying RowManager to use fixed row
421
+ * height, which sacrifices the ability to use rows with variable height to gain a fraction better
422
+ * performance.
423
+ * ...
424
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-fixedRowHeight)
425
+ */
426
+ fixedRowHeight ? : Boolean
427
+ /**
428
+ * When this widget is a child of a [Container](https://bryntum.com/products/calendar/docs/api/Core/widget/Container), it will by default be participating in a
429
+ * flexbox layout. This config allows you to set this widget's
430
+ * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.
431
+ * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.
432
+ * numeric-only values are interpreted as the `flex-grow` value.
433
+ */
434
+ flex ? : number|string
435
+ /**
436
+ * Config object of a footer. May contain a `dock`, `html` and a `cls` property. A footer is not a widget,
437
+ * but rather plain HTML that follows the last element of the panel's body and [strips](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-strips).
438
+ * ...
439
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-footer)
440
+ */
441
+ footer ? : {
442
+ dock?: 'top'|'right'|'bottom'|'left'|'start'|'end'
443
+ html?: string
444
+ cls?: string
445
+ }|string
446
+ /**
447
+ * Set to `true` to force the time columns to fit to the available space (horizontal or vertical depends on mode).
448
+ * Note that setting [suppressFit](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineBase#config-suppressFit) to `true`, will disable `forceFit` functionality. Zooming
449
+ * cannot be used when `forceFit` is set.
450
+ */
451
+ forceFit ? : Boolean
452
+ /**
453
+ * An object which names formula prefixes which will be applied to all columns configured with
454
+ * `formula : true`.
455
+ * ...
456
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-formulaProviders)
457
+ */
458
+ formulaProviders ? : Record<string, FormulaProviderConfig>
459
+ /**
460
+ * Refresh entire row when a record changes (`true`) or, if possible, only the cells affected (`false`).
461
+ * ...
462
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-fullRowRefresh)
463
+ */
464
+ fullRowRefresh ? : Boolean
465
+ /**
466
+ * A Function which returns a CSS class name to add to a rectangle element.
467
+ * The following parameters are passed:
468
+ * @param {HistogramSeries} series The series being rendered
469
+ * @param {DomConfig} domConfig The rectangle configuration object
470
+ * @param {object} datum The datum being rendered
471
+ * @param {number} index The index of the datum being rendered
472
+ * @param {HistogramRenderData} renderData Current render data giving access to the record, row and cell being rendered.
473
+ * @returns {string} CSS classes of the rectangle element
474
+ */
475
+ getBarClass ? : (series: HistogramSeries, domConfig: DomConfig, datum: object, index: number, renderData: HistogramRenderData) => string
476
+ /**
477
+ * A Function which if provided should return a DOM configuration object for a bar
478
+ * (a `RECT` element representing a single "bar"-type value).
479
+ * The function is passed a default prepared DOM configuration
480
+ * in an argument which then can be processed and returned.
481
+ * ...
482
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-getBarDOMConfig)
483
+ * @param {HistogramSeries} series The series being rendered
484
+ * @param {DomConfig} domConfig The rectangle DOM configuration object
485
+ * @param {object} datum The datum being rendered
486
+ * @param {number} index The index of the datum being rendered
487
+ * @param {HistogramRenderData} renderData Current render data giving access to the record, row and cell being rendered.
488
+ * @returns {object} Resulting DOM configuration object. If no value returned the bar is not displayed.
489
+ */
490
+ getBarDOMConfig ? : (series: HistogramSeries, domConfig: DomConfig, datum: object, index: number, renderData: HistogramRenderData) => object
491
+ /**
492
+ * A Function which returns the text to render inside a bar.
493
+ * ...
494
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-getBarText)
495
+ * @param {object} datum The datum being rendered
496
+ * @param {number} index The index of the datum being rendered
497
+ * @param {HistogramSeries} series The series (provided if histogram widget [singleTextForAllBars](https://bryntum.com/products/calendar/docs/api/Core/widget/graph/Histogram#config-singleTextForAllBars) is `false`)
498
+ * @param {HistogramRenderData} renderData Current render data giving access to the record, row and cell being rendered.
499
+ * @returns {string} Text to render inside the bar
500
+ */
501
+ getBarText ? : (datum: object, index: number, series: HistogramSeries, renderData: HistogramRenderData) => string
502
+ /**
503
+ * A Function which returns a DOM configuration object for text elements.
504
+ * ...
505
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-getBarTextDOMConfig)
506
+ * @param {DomConfig} domConfig The `TEXT` element DOM configuration object
507
+ * @param {object} datum The datum being rendered
508
+ * @param {number} index The index of the datum being rendered
509
+ * @param {HistogramSeries} series The series (provided if histogram widget [singleTextForAllBars](https://bryntum.com/products/calendar/docs/api/Core/widget/graph/Histogram#config-singleTextForAllBars) is `false`)
510
+ * @param {HistogramRenderData} renderData Current render data giving access to the record, row and cell being rendered.
511
+ * @returns {object} The `TEXT` element DOM configuration object. If no value returned the text element is not displayed.
512
+ */
513
+ getBarTextDOMConfig ? : (domConfig: DomConfig, datum: object, index: number, series: HistogramSeries, renderData: HistogramRenderData) => object
514
+ /**
515
+ * Function that extracts a record histogram data entry for aggregating.
516
+ * By default it returns the entry as is. Override the function if you need a more complex way
517
+ * to retrieve the value for aggregating.
518
+ * ...
519
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-getDataEntryForAggregating)
520
+ * @param {object} getDataEntryForAggregating.entry Current data entry.
521
+ * @returns {object} Entry to aggregate
522
+ */
523
+ getDataEntryForAggregating ? : ((getDataEntryForAggregating: { entry: object }) => object)|string
524
+ /**
525
+ * A Function which returns a CSS class name to add to a path element
526
+ * built for an `outline` type series.
527
+ * The following parameters are passed:
528
+ * @param {HistogramSeries} series The series being rendered
529
+ * @param {object[]} data The series data
530
+ * @param {HistogramRenderData} renderData Current render data giving access to the record, row and cell being rendered.
531
+ * @returns {string} CSS class name of the path element
532
+ */
533
+ getOutlineClass ? : (series: HistogramSeries, data: object[], renderData: HistogramRenderData) => string
534
+ /**
535
+ * A Function which if provided should return a DOM configuration object for
536
+ * a `path` element built for an `outline` type series.
537
+ * The function accepts a default prepared DOM configuration
538
+ * in an argument which then can be processed and returned.
539
+ * ...
540
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-getOutlineDOMConfig)
541
+ * @param {HistogramSeries} series The series being rendered
542
+ * @param {DomConfig} domConfig The `path` element DOM configuration object
543
+ * @param {object[]} data The series data
544
+ * @returns {object} Resulting DOM configuration object. If no value returned the path is not displayed.
545
+ */
546
+ getOutlineDOMConfig ? : (series: HistogramSeries, domConfig: DomConfig, data: object[]) => object
547
+ /**
548
+ * A function, or name of a function which builds histogram data for the provided record.
549
+ * ...
550
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-getRecordData)
551
+ * @param {Core.data.Model} getRecordData.record Record to get histogram data for.
552
+ * @param {object} aggregationContext Context object passed in case the data is being retrieved as a part of some parent record data collecting.
553
+ * @returns {object} Histogram data.
554
+ */
555
+ getRecordData ? : ((getRecordData: { record: Model }, aggregationContext?: object) => object)|string
556
+ /**
557
+ * A function called for each row to determine its height. It is passed a [record](https://bryntum.com/products/calendar/docs/api/Core/data/Model) and
558
+ * expected to return the desired height of that records row. If the function returns a falsy value, Grids
559
+ * configured [rowHeight](https://bryntum.com/products/calendar/docs/api/Grid/view/GridBase#config-rowHeight) is used.
560
+ * ...
561
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-getRowHeight)
562
+ * @param {Core.data.Model} getRowHeight.record Record to determine row height for
563
+ * @returns {number} Desired row height
564
+ */
565
+ getRowHeight ? : (getRowHeight: { record: Model }) => number
566
+ /**
567
+ * When set to `true` (default) the component reacts on time axis changes
568
+ * (zooming or changing the displayed time span), clears the histogram data cache of the records
569
+ * and then refreshes the view.
570
+ */
571
+ hardRefreshOnTimeAxisReconfigure ? : Boolean
572
+ /**
573
+ * A config [object](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#typedef-PanelHeader) for the panel's header or a string in place of a `title`.
574
+ * ...
575
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-header)
576
+ */
577
+ header ? : string|Boolean|PanelHeader
578
+ /**
579
+ * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,
580
+ * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some
581
+ * cases this config is convenient.
582
+ */
583
+ height ? : string|number
584
+ /**
585
+ * Configure with true to make widget initially hidden.
586
+ */
587
+ hidden ? : Boolean
588
+ /**
589
+ * Set to `true` to hide the footer elements
590
+ */
591
+ hideFooters ? : Boolean
592
+ /**
593
+ * Set to `true` to hide the column header elements
594
+ */
595
+ hideHeaders ? : Boolean
596
+ /**
597
+ * Set to `true` to hide the Grid's horizontal scrollbar(s)
598
+ */
599
+ hideHorizontalScrollbar ? : Boolean
600
+ /**
601
+ * By default the row hover effect is not visible in the Scheduler part of the grid.
602
+ * ...
603
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-hideRowHover)
604
+ */
605
+ hideRowHover ? : Boolean
606
+ /**
607
+ * An instance or a configuration object of the underlying [Histogram](https://bryntum.com/products/calendar/docs/api/Core/widget/graph/Histogram)
608
+ * component that is used under the hood to render actual charts.
609
+ * In case a configuration object is provided the built class is defined with
610
+ * [histogramWidgetClass](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogramBase#config-histogramWidgetClass) config.
611
+ */
612
+ histogramWidget ? : Histogram|HistogramConfig
613
+ /**
614
+ * The class used for building the [histogram widget](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogramBase#property-histogramWidget)
615
+ */
616
+ histogramWidgetClass ? : Histogram
617
+ /**
618
+ * A CSS class to add to hovered row elements
619
+ */
620
+ hoverCls ? : string
621
+ /**
622
+ * An icon to show before the [title](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-title). Either pass a CSS class as a string, or pass a
623
+ * [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) object describing an element to represent the icon.
624
+ */
625
+ icon ? : string|DomConfig
626
+ /**
627
+ * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById
628
+ */
629
+ id ? : string
630
+ /**
631
+ * Set to `true` to ignore reacting to DOM events (mouseover/mouseout etc) while scrolling. Useful if you
632
+ * want to maximize scroll performance.
633
+ */
634
+ ignoreDomEventsWhileScrolling ? : Boolean
635
+ /**
636
+ * Determines if the widgets read-only state should be controlled by its parent.
637
+ * ...
638
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-ignoreParentReadOnly)
639
+ */
640
+ ignoreParentReadOnly ? : Boolean
641
+ /**
642
+ * Set to `true` to automatically adjust the panel timespan during scrolling in the time dimension,
643
+ * when the scroller comes close to the start/end edges.
644
+ * ...
645
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-infiniteScroll)
646
+ */
647
+ infiniteScroll ? : Boolean
648
+ /**
649
+ * A function that initializes a target group record entry.
650
+ * ...
651
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-initAggregatedDataEntry)
652
+ * @returns {object} Target aggregated entry
653
+ */
654
+ initAggregatedDataEntry ? : (() => object)|string
655
+ /**
656
+ * Convenience setting to align input fields of child widgets. By default, the Field input element is
657
+ * placed immediately following the `label`. If you prefer to have all input fields aligned to the
658
+ * right, set this config to `'end'`.
659
+ * ...
660
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-inputFieldAlign)
661
+ */
662
+ inputFieldAlign ? : 'start'|'end'
663
+ /**
664
+ * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
665
+ */
666
+ insertBefore ? : HTMLElement|string
667
+ /**
668
+ * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
669
+ */
670
+ insertFirst ? : HTMLElement|string
671
+ /**
672
+ * See [Keyboard shortcuts](https://bryntum.com/products/calendar/docs/api/Grid/view/Grid#keyboard-shortcuts) for details
673
+ */
674
+ keyMap ? : Record<string, KeyMapConfig>
675
+ /**
676
+ * Convenience setting to use same label placement on all child widgets.
677
+ * ...
678
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-labelPosition)
679
+ */
680
+ labelPosition ? : 'before'|'above'|'align-before'|'auto'|null
681
+ /**
682
+ * The listener set for this object.
683
+ * ...
684
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-listeners)
685
+ */
686
+ listeners ? : TimelineHistogramListeners
687
+ /**
688
+ * A [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) config object, or a message to be shown when a store is performing a remote
689
+ * operation, or Crud Manager is loading data from the sever. Set to `null` to disable default load mask.
690
+ */
691
+ loadMask ? : string|MaskConfig|null
692
+ /**
693
+ * A [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) config object to adjust the [maskDefaults](#Core/widget/Widget#config-maskDefaults)
694
+ * when data is loading. The message and optional configuration from the
695
+ * [loadMask](https://bryntum.com/products/calendar/docs/api/Core/mixin/LoadMaskable#config-loadMask) config take priority over these options, just as they do
696
+ * for `maskDefaults`, respectively.
697
+ * ...
698
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-loadMaskDefaults)
699
+ */
700
+ loadMaskDefaults ? : MaskConfig
701
+ /**
702
+ * A [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) config object to adjust the [maskDefaults](#Core/widget/Widget#config-maskDefaults)
703
+ * when an error occurs loading data.
704
+ * ...
705
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-loadMaskError)
706
+ */
707
+ loadMaskError ? : MaskConfig|Mask|Boolean
708
+ /**
709
+ * Set to `false` to disable localization of this object.
710
+ */
711
+ localizable ? : Boolean
712
+ /**
713
+ * Time in ms until a longpress is triggered
714
+ */
715
+ longPressTime ? : number
716
+ /**
717
+ * When `true`, events are sized and positioned based on rowHeight, resourceMargin and barMargin settings.
718
+ * Set this to `false` if you want to control height and vertical position using CSS instead.
719
+ * ...
720
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-managedEventSizing)
721
+ */
722
+ managedEventSizing ? : Boolean
723
+ /**
724
+ * Widget's margin. This may be configured as a single number or a `TRBL` format string.
725
+ * numeric-only values are interpreted as pixels.
726
+ */
727
+ margin ? : number|string
728
+ /**
729
+ * Grids change the `maskDefaults` to cover only their `body` element.
730
+ */
731
+ maskDefaults ? : MaskConfig
732
+ /**
733
+ * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a
734
+ * [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) config object.
735
+ */
736
+ masked ? : Boolean|string|MaskConfig
737
+ /**
738
+ * Get/set end date limit of the timeline.
739
+ * Actions such as timeline scrolling, all types of timeline zooms and shifts
740
+ * will respect this limit.
741
+ */
742
+ maxDate ? : Date|string
743
+ /**
744
+ * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that
745
+ * like [height](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
746
+ */
747
+ maxHeight ? : string|number
748
+ /**
749
+ * The maximum time axis unit to display non-working ranges for ('hour' or 'day' etc).
750
+ * When zooming to a view with a larger unit, no non-working time elements will be rendered.
751
+ * ...
752
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-maxTimeAxisUnit)
753
+ */
754
+ maxTimeAxisUnit ? : DurationUnit
755
+ /**
756
+ * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that
757
+ * like [width](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
758
+ */
759
+ maxWidth ? : string|number
760
+ /**
761
+ * The maximum zoom level to which [zoomIn](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/TimelineZoomable#function-zoomIn) will work. Defaults to the number of
762
+ * [ViewPresets](https://bryntum.com/products/calendar/docs/api/Scheduler/preset/ViewPreset) available, see [presets](#Scheduler/view/mixin/TimelineViewPresets#property-presets)
763
+ * for information. Unless you have modified the collection of available presets, the max zoom level is
764
+ * milliseconds.
765
+ */
766
+ maxZoomLevel ? : number
767
+ /**
768
+ * Get/set start date limit of the timeline.
769
+ * Actions such as timeline scrolling, all types of timeline zooms and shifts
770
+ * will respect this limit.
771
+ */
772
+ minDate ? : Date|string
773
+ /**
774
+ * Grid's `min-height`. Defaults to `10em` to be sure that the Grid always has a height wherever it is
775
+ * inserted.
776
+ * ...
777
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-minHeight)
778
+ */
779
+ minHeight ? : string|number
780
+ /**
781
+ * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that
782
+ * like [width](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
783
+ */
784
+ minWidth ? : string|number
785
+ /**
786
+ * The minimum zoom level to which [zoomOut](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/TimelineZoomable#function-zoomOut) will work. Defaults to 0 (year ticks)
787
+ */
788
+ minZoomLevel ? : number
789
+ /**
790
+ * Grid monitors window resize by default.
791
+ */
792
+ monitorResize ? : Boolean
793
+ /**
794
+ * The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
795
+ * [items](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
796
+ * the owner is <strong>always</strong> the encapsulating Container.
797
+ * ...
798
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-owner)
799
+ */
800
+ owner ? : Widget|any
801
+ /**
802
+ * Partners this Timeline panel with another Timeline in order to sync their region sizes (sub-grids like locked, normal will get the same width),
803
+ * start and end dates, view preset, zoom level and scrolling position. All these values will be synced with the timeline defined as the `partner`.
804
+ * ...
805
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-partner)
806
+ */
807
+ partner ? : TimelineBase
808
+ /**
809
+ * Specify plugins (an array of classes) in config
810
+ */
811
+ plugins ? : Function[]
812
+ /**
813
+ * True to preserve focused cell after loading new data
814
+ */
815
+ preserveFocusOnDatasetChange ? : Boolean
816
+ /**
817
+ * Preserve the grid's vertical scroll position when changesets are applied, as in the case of remote
818
+ * changes, or when stores are configured with [syncDataOnLoad](https://bryntum.com/products/calendar/docs/api/Core/data/Store#config-syncDataOnLoad).
819
+ */
820
+ preserveScroll ? : PreserveScrollOptions|Boolean
821
+ /**
822
+ * Specify `true` to preserve vertical scroll position after store actions that trigger a `refresh` event,
823
+ * such as loading new data and filtering.
824
+ */
825
+ preserveScrollOnDatasetChange ? : Boolean
826
+ /**
827
+ * An array of [ViewPreset](https://bryntum.com/products/calendar/docs/api/Scheduler/preset/ViewPreset) config objects
828
+ * which describes the available timeline layouts for this scheduler.
829
+ * ...
830
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-presets)
831
+ */
832
+ presets ? : ViewPresetConfig[]
833
+ /**
834
+ * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a
835
+ * menu on click etc, since the tooltip would be displayed at the same time.
836
+ */
837
+ preventTooltipOnTouch ? : Boolean
838
+ /**
839
+ * Set to `true` to make the grid read-only, by disabling any UIs for modifying data.
840
+ * ...
841
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-readOnly)
842
+ */
843
+ readOnly ? : Boolean
844
+ /**
845
+ * The confirmation dialog shown when a recurring event is edited.
846
+ * ...
847
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-recurrenceConfirmationPopup)
848
+ */
849
+ recurrenceConfirmationPopup ? : RecurrenceConfirmationPopupConfig|RecurrenceConfirmationPopup
850
+ relayStoreEvents ? : Boolean
851
+ /**
852
+ * Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
853
+ * `type`.
854
+ * ...
855
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-rendition)
856
+ */
857
+ rendition ? : string|Record<string, string>|null
858
+ /**
859
+ * Configure this property to allow the widget/component to be resized. Pressing <kbd>Shift</kbd> while resizing will
860
+ * constrain the aspect ratio.
861
+ * ...
862
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-resizable)
863
+ */
864
+ resizable ? : Boolean|{
865
+ minWidth?: number
866
+ maxWidth?: number
867
+ minHeight?: number
868
+ maxHeight?: number
869
+ handles?: object
870
+ }
871
+ /**
872
+ * Set to `false` to only measure cell contents when double-clicking the edge between column headers.
873
+ */
874
+ resizeToFitIncludesHeader ? : Boolean
875
+ /**
876
+ * An empty function by default, but provided so that you can override it. This function is called each time
877
+ * a resource time range is rendered into the schedule. It's called with `resourceTimeRangeRecord`, `resourceRecord`,
878
+ * and `renderData` params.
879
+ * ...
880
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-resourceTimeRangeRenderer)
881
+ * @param {object} detail An object containing the information needed to render a ResourceTimeRangeModel.
882
+ * @param {Scheduler.model.ResourceTimeRangeModel} detail.resourceTimeRangeRecord The resource time range record.
883
+ * @param {Scheduler.model.ResourceModel} detail.resourceRecord The resource record.
884
+ * @param {object} detail.renderData An object containing details about the event rendering.
885
+ * @returns {string,DomConfig,DomConfig[]} A simple string, or a DomConfig object describing the markup
886
+ */
887
+ resourceTimeRangeRenderer ? : (detail: { resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: ResourceModel, renderData: object }) => string|DomConfig|DomConfig[]
888
+ /**
889
+ * "Break points" for which responsive config to use for columns and css.
890
+ * ...
891
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-responsiveLevels)
892
+ */
893
+ responsiveLevels ? : Record<string, number|string|ResponsiveLevelConfig>
894
+ /**
895
+ * Configure as `true` to have the component display a translucent ripple when its
896
+ * [focusElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the
897
+ * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
898
+ * ...
899
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-ripple)
900
+ */
901
+ ripple ? : Boolean|{
902
+ delegate?: string
903
+ color?: string
904
+ radius?: number
905
+ clip?: string
906
+ }
907
+ /**
908
+ * If you are rendering this widget to a shadow root inside a web component, set this config to the shadowRoot. If not inside a web component, set it to `document.body`
909
+ */
910
+ rootElement ? : ShadowRoot|HTMLElement
911
+ /**
912
+ * Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
913
+ * overriden by specifying a [rowHeight](https://bryntum.com/products/calendar/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
914
+ * a column [renderer](https://bryntum.com/products/calendar/docs/api/Grid/column/Column#config-renderer).
915
+ * ...
916
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-rowHeight)
917
+ */
918
+ rowHeight ? : number
919
+ /**
920
+ * Set to `false` to not show row lines. End result might be overruled by/differ between themes.
921
+ */
922
+ rowLines ? : Boolean
923
+ /**
924
+ * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
925
+ * ...
926
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-rtl)
927
+ */
928
+ rtl ? : Boolean
929
+ /**
930
+ * An object with configuration for the [ScaleColumn](https://bryntum.com/products/calendar/docs/api/Scheduler/column/ScaleColumn).
931
+ * ...
932
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-scaleColumn)
933
+ */
934
+ scaleColumn ? : ScaleColumnConfig
935
+ /**
936
+ * Array of objects representing the [scale column](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/TimelineHistogramScaleColumn#config-scaleColumn) scale points.
937
+ * The config basically is a mapping to the column [scalePoints](https://bryntum.com/products/calendar/docs/api/Scheduler/column/ScaleColumn#config-scalePoints)
938
+ * config.
939
+ * ...
940
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-scalePoints)
941
+ */
942
+ scalePoints ? : ScalePoint[]
943
+ /**
944
+ * Configures whether the grid is scrollable in the `Y` axis. This is used to configure a [Scroller](https://bryntum.com/products/calendar/docs/api/Core/helper/util/Scroller).
945
+ * See the [scrollerClass](https://bryntum.com/products/calendar/docs/api/Grid/view/GridBase#config-scrollerClass) config option.
946
+ * ...
947
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-scrollable)
948
+ */
949
+ scrollable ? : Boolean|ScrollerConfig|Scroller
950
+ /**
951
+ * The class to instantiate to use as the [scrollable](https://bryntum.com/products/calendar/docs/api/Grid/view/GridBase#config-scrollable). Defaults to [Scroller](#Core/helper/util/Scroller).
952
+ */
953
+ scrollerClass ? : typeof Scroller
954
+ /**
955
+ * Configuration values for the [ScrollManager](https://bryntum.com/products/calendar/docs/api/Core/util/ScrollManager) class on initialization. Returns the
956
+ * [ScrollManager](https://bryntum.com/products/calendar/docs/api/Core/util/ScrollManager) at runtime.
957
+ */
958
+ scrollManager ? : ScrollManagerConfig|ScrollManager
959
+ /**
960
+ * Selection configuration settings, change these properties to control how selection works and what can be
961
+ * selected.
962
+ * ...
963
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-selectionMode)
964
+ */
965
+ selectionMode ? : GridSelectionMode
966
+ /**
967
+ * Object enumerating data series for the histogram.
968
+ * The object keys are treated as the series identifiers and values are objects that
969
+ * must contain two properties:
970
+ * ...
971
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-series)
972
+ */
973
+ series ? : Record<string, HistogramSeries>
974
+ /**
975
+ * Set to `true` if you want to display a tooltip when hovering an allocation bar. You can also pass a
976
+ * [Tooltip#configs](https://bryntum.com/products/calendar/docs/api/Core/widget/Tooltip#configs) config object.
977
+ * Please use [barTooltipTemplate](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogramBase#config-barTooltipTemplate) function to customize the tooltip contents.
978
+ */
979
+ showBarTip ? : Boolean|TooltipConfig
980
+ /**
981
+ * Set to `true` to display the [bar tooltip](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogramBase#config-showBarTip) when navigating the timeaxis cells
982
+ * using [ScheduleContext](https://bryntum.com/products/calendar/docs/api/Scheduler/feature/ScheduleContext) feature.
983
+ * The tooltip is disabled by default when navigating to make the navigation easier.
984
+ */
985
+ showBarTipWhenNavigatingTimeAxis ? : Boolean
986
+ /**
987
+ * Configure as `true` to have the grid show a red "changed" tag in cells whose
988
+ * field value has changed and not yet been committed.
989
+ * ...
990
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-showDirty)
991
+ */
992
+ showDirty ? : Boolean|{
993
+ duringEdit?: Boolean
994
+ newRecord?: Boolean
995
+ }
996
+ /**
997
+ * Set to `true` to snap to the current time resolution increment while interacting with scheduled events.
998
+ * ...
999
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-snap)
1000
+ */
1001
+ snap ? : Boolean
1002
+ /**
1003
+ * Affects drag drop and resizing of events when [snap](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/TimelineDateMapper#config-snap)
1004
+ * is enabled.
1005
+ * ...
1006
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-snapRelativeToEventStartDate)
1007
+ */
1008
+ snapRelativeToEventStartDate ? : Boolean
1009
+ /**
1010
+ * Programmatic control over how many columns to span when used in a grid layout.
1011
+ */
1012
+ span ? : number
1013
+ /**
1014
+ * The start date of the timeline (if not configure with [infiniteScroll](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineBase#config-infiniteScroll)).
1015
+ * ...
1016
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-startDate)
1017
+ */
1018
+ startDate ? : Date|string
1019
+ /**
1020
+ * This value can be one of the following:
1021
+ * ...
1022
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-stateful)
1023
+ */
1024
+ stateful ? : Boolean|object|string[]
1025
+ /**
1026
+ * The events that, when fired by this component, should trigger it to save its state by calling
1027
+ * [saveState](https://bryntum.com/products/calendar/docs/api/Core/mixin/State#function-saveState).
1028
+ * ...
1029
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-statefulEvents)
1030
+ */
1031
+ statefulEvents ? : object|string[]
1032
+ /**
1033
+ * The key to use when saving this object's state in the [stateProvider](https://bryntum.com/products/calendar/docs/api/Core/mixin/State#config-stateProvider). If this config is
1034
+ * not assigned, and [stateful](https://bryntum.com/products/calendar/docs/api/Core/mixin/State#config-stateful) is not set to `false`, the [id](#Core/widget/Widget#config-id)
1035
+ * (if explicitly specified) will be used as the `stateId`.
1036
+ * ...
1037
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-stateId)
1038
+ */
1039
+ stateId ? : string
1040
+ /**
1041
+ * The `StateProvider` to use to save and restore this object's [state](https://bryntum.com/products/calendar/docs/api/Core/mixin/State#property-state). By default, `state`
1042
+ * will be saved using the [default state provider](https://bryntum.com/products/calendar/docs/api/Core/state/StateProvider#property-instance-static).
1043
+ * ...
1044
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-stateProvider)
1045
+ */
1046
+ stateProvider ? : StateProvider
1047
+ /**
1048
+ * The properties of this settings object controls how grid is restored from state data.
1049
+ * ...
1050
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-stateSettings)
1051
+ */
1052
+ stateSettings ? : {
1053
+ restoreUnconfiguredColumns?: Boolean
1054
+ }
1055
+ /**
1056
+ * When set, the text in the major time axis header sticks in the scrolling viewport as long as possible.
1057
+ */
1058
+ stickyHeaders ? : Boolean
1059
+ /**
1060
+ * Store that holds records to display in the grid, or a store config object. If the configuration contains
1061
+ * a `readUrl`, an `AjaxStore` will be created.
1062
+ * ...
1063
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-store)
1064
+ */
1065
+ store ? : Store|StoreConfig|AjaxStore|AjaxStoreConfig
1066
+ /**
1067
+ * An object containing widgets keyed by name. By default (when no `type` is given), strips are
1068
+ * [toolbars](https://bryntum.com/products/calendar/docs/api/Core/widget/Toolbar). If you want to pass an array, you can use
1069
+ * the toolbar's [items](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#config-items).
1070
+ * ...
1071
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-strips)
1072
+ */
1073
+ strips ? : Record<string, ContainerItemConfig>
1074
+ /**
1075
+ * An object containing sub grid configuration objects keyed by a `region` property.
1076
+ * By default, grid has a 'locked' region (if configured with locked columns) and a 'normal' region.
1077
+ * The 'normal' region defaults to use `flex: 1`.
1078
+ * ...
1079
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-subGridConfigs)
1080
+ */
1081
+ subGridConfigs ? : Record<string, SubGridConfig>
1082
+ /**
1083
+ * Set to `true` to prevent auto calculating of a minimal [tickSize](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/TimelineEventRendering#property-tickSize)
1084
+ * to always fit the content to the screen size. Setting this property on `true` will disable [forceFit](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineBase#config-forceFit) behaviour.
1085
+ */
1086
+ suppressFit ? : Boolean
1087
+ /**
1088
+ * A [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) config object, or a message to be shown when Crud Manager
1089
+ * is persisting changes on the server. Set to `null` to disable default sync mask.
1090
+ * ...
1091
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-syncMask)
1092
+ */
1093
+ syncMask ? : string|MaskConfig|null
1094
+ /**
1095
+ * A configuration for the [tab](https://bryntum.com/products/calendar/docs/api/Core/widget/Tab) created for this widget when it is placed in a
1096
+ * [TabPanel](https://bryntum.com/products/calendar/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for
1097
+ * this widget:
1098
+ * ...
1099
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-tab)
1100
+ */
1101
+ tab ? : Boolean|TabConfig
1102
+ /**
1103
+ * When this container is used as a tab in a TabPanel, these items are added to the
1104
+ * [TabBar](https://bryntum.com/products/calendar/docs/api/Core/widget/TabBar) when this container is the active tab.
1105
+ * ...
1106
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-tabBarItems)
1107
+ */
1108
+ tabBarItems ? : ToolbarItems[]|Widget[]
1109
+ /**
1110
+ * A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/calendar/docs/api/Core/widget/Toolbar),
1111
+ * or array of config objects representing the child items of a Toolbar.
1112
+ * This creates a toolbar docked to the top of the panel immediately below the header.
1113
+ * ...
1114
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-tbar)
1115
+ */
1116
+ tbar ? : (ContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
1117
+ /**
1118
+ * The width/height (depending on vertical / horizontal mode) of all the time columns.
1119
+ * ...
1120
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-tickSize)
1121
+ */
1122
+ tickSize ? : number
1123
+ /**
1124
+ * A [TimeAxis](https://bryntum.com/products/calendar/docs/api/Scheduler/data/TimeAxis) config object or instance, used to create a backing data store of
1125
+ * 'ticks' providing the input date data for the time axis of timeline panel. Created automatically if none
1126
+ * supplied.
1127
+ */
1128
+ timeAxis ? : TimeAxisConfig|TimeAxis
1129
+ /**
1130
+ * Gets/sets the current time resolution object, which contains a unit identifier and an increment count
1131
+ * `{ unit, increment }`. This value means minimal task duration you can create using UI.
1132
+ * ...
1133
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-timeResolution)
1134
+ */
1135
+ timeResolution ? : {
1136
+ increment?: number
1137
+ unit?: DurationUnit
1138
+ }|number
1139
+ /**
1140
+ * Set to a time zone or a UTC offset. This will set the projects
1141
+ * [timeZone](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#config-timeZone) config accordingly. As this config is only a referer,
1142
+ * please see project's config [documentation](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#config-timeZone) for more
1143
+ * information.
1144
+ * ...
1145
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-timeZone)
1146
+ */
1147
+ timeZone ? : string|number
1148
+ /**
1149
+ * A title to display in the header or owning TabPanel. Causes creation and docking of a header
1150
+ * to the top if no header is configured.
1151
+ * ...
1152
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-title)
1153
+ */
1154
+ title ? : string
1155
+ /**
1156
+ * The [tools](https://bryntum.com/products/calendar/docs/api/Core/widget/Tool) to add either before or after the `title` in the Panel header. Each
1157
+ * property name is the reference by which an instantiated tool may be retrieved from the live
1158
+ * `[tools](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Toolable#property-tools)` property.
1159
+ * ...
1160
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-tools)
1161
+ */
1162
+ tools ? : Record<string, ToolConfig>|null
1163
+ /**
1164
+ * Configure UI transitions for various actions in the grid.
1165
+ */
1166
+ transition ? : {
1167
+ insertRecord?: Boolean
1168
+ removeRecord?: Boolean
1169
+ toggleColumn?: Boolean
1170
+ expandCollapseColumn?: Boolean
1171
+ toggleRegion?: Boolean
1172
+ toggleTreeNode?: Boolean
1173
+ toggleGroup?: Boolean
1174
+ filterRemoval?: Boolean
1175
+ }
1176
+ /**
1177
+ * Animation transition duration in milliseconds.
1178
+ */
1179
+ transitionDuration ? : number
1180
+ type ? : 'timelinehistogram'
1181
+ /**
1182
+ * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
1183
+ * as a space separated string, an array of strings, or as an object in which property names with truthy
1184
+ * values are used as the class names.
1185
+ * ...
1186
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-ui)
1187
+ */
1188
+ ui ? : 'plain'|'toolbar'|string|object
1189
+ /**
1190
+ * A string key used to lookup a predefined [ViewPreset](https://bryntum.com/products/calendar/docs/api/Scheduler/preset/ViewPreset) (e.g. 'weekAndDay', 'hourAndDay'),
1191
+ * managed by [PresetManager](https://bryntum.com/products/calendar/docs/api/Scheduler/preset/PresetManager). See [PresetManager](#Scheduler/preset/PresetManager) for more information.
1192
+ * Or a config object for a viewPreset.
1193
+ * ...
1194
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-viewPreset)
1195
+ */
1196
+ viewPreset ? : string|ViewPresetConfig
1197
+ /**
1198
+ * A date to bring into view initially on the scrollable timeline.
1199
+ * ...
1200
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-visibleDate)
1201
+ */
1202
+ visibleDate ? : Date|VisibleDate
1203
+ /**
1204
+ * Integer number indicating the size of timespan during zooming. When zooming, the timespan is adjusted to make
1205
+ * the scrolling area `visibleZoomFactor` times wider than the timeline area itself. Used in
1206
+ * [zoomToSpan](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/TimelineZoomable#function-zoomToSpan) and [zoomToLevel](#Scheduler/view/mixin/TimelineZoomable#function-zoomToLevel) functions.
1207
+ */
1208
+ visibleZoomFactor ? : number
1209
+ /**
1210
+ * A valid JS day index between 0-6 (0: Sunday, 1: Monday etc.) to be considered the start day of the week.
1211
+ * When omitted, the week start day is retrieved from the active locale class.
1212
+ */
1213
+ weekStartDay ? : number
1214
+ /**
1215
+ * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/calendar/docs/api/Core/widget/Container).
1216
+ * Higher weights go further down.
1217
+ */
1218
+ weight ? : number
1219
+ /**
1220
+ * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which
1221
+ * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases
1222
+ * this config is convenient.
1223
+ */
1224
+ width ? : string|number
1225
+ /**
1226
+ * An object with format `{ fromDay, toDay, fromHour, toHour }` that describes the working days and hours.
1227
+ * This object will be used to populate TimeAxis [include](https://bryntum.com/products/calendar/docs/api/Scheduler/data/TimeAxis#config-include) property.
1228
+ * ...
1229
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#config-workingTime)
1230
+ */
1231
+ workingTime ? : {
1232
+ fromDay?: number
1233
+ toDay?: number
1234
+ fromHour?: number
1235
+ toHour?: number
1236
+ }
1237
+ /**
1238
+ * Whether the originally rendered timespan should be preserved while zooming. By default, it is set to `false`,
1239
+ * meaning the timeline panel will adjust the currently rendered timespan to limit the amount of HTML content to
1240
+ * render. When setting this option to `true`, be careful not to allow to zoom a big timespan in seconds
1241
+ * resolution for example. That will cause <strong>a lot</strong> of HTML content to be rendered and affect performance. You
1242
+ * can use [minZoomLevel](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/TimelineZoomable#config-minZoomLevel) and [maxZoomLevel](#Scheduler/view/mixin/TimelineZoomable#config-maxZoomLevel) config options for that.
1243
+ */
1244
+ zoomKeepsOriginalTimespan ? : Boolean
1245
+ /**
1246
+ * If true, you can zoom in and out on the time axis using CTRL-key + mouse wheel.
1247
+ */
1248
+ zoomOnMouseWheel ? : Boolean
1249
+ /**
1250
+ * True to zoom to time span when double-clicking a time axis cell.
1251
+ */
1252
+ zoomOnTimeAxisDoubleClick ? : Boolean
1253
+
1254
+ // Features
1255
+ /**
1256
+ * AI-powered filter feature for Grid. Allows users to type natural language queries to filter grid data.
1257
+ * ...
1258
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/ai/AIFilter)
1259
+ */
1260
+ aiFilterFeature ? : object|Boolean|string|AIFilter|AIFilterConfig
1261
+ /**
1262
+ * Allows using `[Ctrl/CMD + C]`, `[Ctrl/CMD + X]` and `[Ctrl/CMD + V]` to cut, copy and paste cell or cell ranges. Also
1263
+ * makes cut, copy and paste actions available via the cell context menu.
1264
+ * ...
1265
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/CellCopyPaste)
1266
+ */
1267
+ cellCopyPasteFeature ? : object|Boolean|string|CellCopyPaste|CellCopyPasteConfig
1268
+ /**
1269
+ * Adding this feature to the grid and other Bryntum products which are based on the Grid (i.e. Scheduler, SchedulerPro, and Gantt)
1270
+ * enables cell editing. Any subclass of [Field](https://bryntum.com/products/calendar/docs/api/Core/widget/Field) can be used
1271
+ * as editor for the [Column](https://bryntum.com/products/calendar/docs/api/Grid/column/Column). The most popular are:
1272
+ * ...
1273
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/CellEdit)
1274
+ */
1275
+ cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
1276
+ /**
1277
+ * Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
1278
+ * `SPACE` key when the cell is focused.
1279
+ * ...
1280
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/CellMenu)
1281
+ */
1282
+ cellMenuFeature ? : object|Boolean|string|CellMenu|CellMenuConfig
1283
+ /**
1284
+ * Displays a tooltip when hovering cells.
1285
+ * ...
1286
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/CellTooltip)
1287
+ */
1288
+ cellTooltipFeature ? : object|Boolean|string|CellTooltip|CellTooltipConfig
1289
+ /**
1290
+ * Adds interactive charting to a Grid. [Charts](https://bryntum.com/products/calendar/docs/api/Chart/widget/Chart) can be created from a selection of Grid data
1291
+ * and updated in realtime as data changes. Supports many common chart types with extensive styling and customization
1292
+ * options.
1293
+ * ...
1294
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/Charts)
1295
+ */
1296
+ chartsFeature ? : object|Boolean|string|Charts|ChartsConfig
1297
+ /**
1298
+ * Enables the [autoWidth](https://bryntum.com/products/calendar/docs/api/Grid/column/Column#config-autoWidth) config for a grid's columns.
1299
+ * ...
1300
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/ColumnAutoWidth)
1301
+ */
1302
+ columnAutoWidthFeature ? : object|Boolean|string|ColumnAutoWidth|ColumnAutoWidthConfig
1303
+ /**
1304
+ * Displays a toolbar while dragging column headers. Drop on a button in the toolbar to activate a certain function,
1305
+ * for example to group by that column. This feature simplifies certain operations on touch devices.
1306
+ * ...
1307
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/ColumnDragToolbar)
1308
+ */
1309
+ columnDragToolbarFeature ? : object|Boolean|string|ColumnDragToolbar|ColumnDragToolbarConfig
1310
+ /**
1311
+ * Displays column lines for ticks, with a different styling for major ticks (by default they are darker). If this
1312
+ * feature is disabled, no lines are shown. If it's enabled, line are shown for the tick level which is set in current
1313
+ * ViewPreset. Please see [columnLinesFor](https://bryntum.com/products/calendar/docs/api/Scheduler/preset/ViewPreset#field-columnLinesFor) config for details.
1314
+ * ...
1315
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/feature/ColumnLines)
1316
+ */
1317
+ columnLinesFeature ? : object|Boolean|string|ColumnLines|ColumnLinesConfig
1318
+ /**
1319
+ * Displays a column picker (to show/hide columns) in the header context menu. Columns can be displayed in sub menus
1320
+ * by region or tag. Grouped headers are displayed as menu hierarchies.
1321
+ * ...
1322
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/ColumnPicker)
1323
+ */
1324
+ columnPickerFeature ? : object|Boolean|string|ColumnPicker|ColumnPickerConfig
1325
+ /**
1326
+ * Allows user to rename columns by either right-clicking column header or using keyboard shortcuts when column header
1327
+ * is focused.
1328
+ * ...
1329
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/ColumnRename)
1330
+ */
1331
+ columnRenameFeature ? : object|Boolean|string|ColumnRename|ColumnRenameConfig
1332
+ /**
1333
+ * Allows user to reorder columns by dragging headers. To get notified about column reorder listen to `change` event
1334
+ * on [columns](https://bryntum.com/products/calendar/docs/api/Grid/data/ColumnStore) store.
1335
+ * ...
1336
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/ColumnReorder)
1337
+ */
1338
+ columnReorderFeature ? : object|Boolean|string|ColumnReorder|ColumnReorderConfig
1339
+ /**
1340
+ * Enables user to resize columns by dragging a handle on the right hand side of the header. To get notified about column
1341
+ * resize listen to `change` event on [columns](https://bryntum.com/products/calendar/docs/api/Grid/data/ColumnStore) store.
1342
+ * ...
1343
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/ColumnResize)
1344
+ */
1345
+ columnResizeFeature ? : object|Boolean|string|ColumnResize|ColumnResizeConfig
1346
+ /**
1347
+ * A feature that allows exporting Grid data to Excel or CSV without involving the server. It uses
1348
+ * [TableExporter](https://bryntum.com/products/calendar/docs/api/Grid/util/TableExporter) class as data provider, 3rd party provider to generate XLS files, and
1349
+ * [Microsoft XML specification](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.spreadsheet.aspx).
1350
+ * ...
1351
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/experimental/ExcelExporter)
1352
+ */
1353
+ excelExporterFeature ? : object|Boolean|string|GridExcelExporter|GridExcelExporterConfig
1354
+ /**
1355
+ * An experimental feature that lets users drop files on a Widget. The widget fires an event when a file is dropped onto it.
1356
+ * In the event, you get access to the raw files as strings, that were parsed by calling `readAsBinaryString`.
1357
+ * ...
1358
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/experimental/FileDrop)
1359
+ */
1360
+ fileDropFeature ? : object|Boolean|string|FileDrop|FileDropConfig
1361
+ /**
1362
+ * This feature adds a fill handle to a Grid range selection, which when dragged, fills the cells being dragged over
1363
+ * with values based on the values in the original selected range. This is similar to functionality normally seen in
1364
+ * various spreadsheet applications.
1365
+ * ...
1366
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/FillHandle)
1367
+ */
1368
+ fillHandleFeature ? : object|Boolean|string|FillHandle|FillHandleConfig
1369
+ /**
1370
+ * Feature that allows filtering of the grid by settings filters on columns. The actual filtering is done by the store.
1371
+ * For info on programmatically handling filters, see [StoreFilter](https://bryntum.com/products/calendar/docs/api/Core/data/mixin/StoreFilter).
1372
+ * ...
1373
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/Filter)
1374
+ */
1375
+ filterFeature ? : object|Boolean|string|Filter|FilterConfig
1376
+ /**
1377
+ * Feature that allows filtering of the grid by entering filters on column headers.
1378
+ * The actual filtering is done by the store.
1379
+ * For info on programmatically handling filters, see [StoreFilter](https://bryntum.com/products/calendar/docs/api/Core/data/mixin/StoreFilter).
1380
+ * ...
1381
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/FilterBar)
1382
+ */
1383
+ filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
1384
+ /**
1385
+ * Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
1386
+ * <kbd>shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
1387
+ * one anywhere on grid). Use <kbd>shift</kbd> + <kbd>alt</kbd> + click, or the context menu, to remove a column
1388
+ * grouper.
1389
+ * ...
1390
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/Group)
1391
+ */
1392
+ groupFeature ? : object|Boolean|string|Group|GroupConfig
1393
+ /**
1394
+ * A special version of the Grid GroupSummary feature that enables summaries within scheduler. To use a single summary
1395
+ * it is easiest to configure [renderer](https://bryntum.com/products/calendar/docs/api/Scheduler/feature/GroupSummary#config-renderer), for multiple summaries see [summaries](#Scheduler/feature/GroupSummary#config-summaries).
1396
+ * ...
1397
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/feature/GroupSummary)
1398
+ */
1399
+ groupSummaryFeature ? : object|Boolean|string|GroupSummary|GroupSummaryConfig
1400
+ /**
1401
+ * Right click column header or focus it and press SPACE key to show the context menu for headers.
1402
+ * ...
1403
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/HeaderMenu)
1404
+ */
1405
+ headerMenuFeature ? : object|Boolean|string|HeaderMenu|HeaderMenuConfig
1406
+ /**
1407
+ * Enables users to click and drag to zoom to a date range in Scheduler's header time axis. Only supported in horizontal
1408
+ * mode.
1409
+ * ...
1410
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/feature/HeaderZoom)
1411
+ */
1412
+ headerZoomFeature ? : object|Boolean|string|HeaderZoom|HeaderZoomConfig
1413
+ /**
1414
+ * This feature allows records which satisfy a certain condition to be locked at the top of the grid.
1415
+ * ...
1416
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/LockRows)
1417
+ */
1418
+ lockRowsFeature ? : object|Boolean|string|GridLockRows|GridLockRowsConfig
1419
+ /**
1420
+ * This feature merges cells that have the same value in sorted (or [optionally](https://bryntum.com/products/calendar/docs/api/Grid/feature/MergeCells#config-sortedOnly) any) columns
1421
+ * configured to [mergeCells](https://bryntum.com/products/calendar/docs/api/Grid/column/Column#config-mergeCells).
1422
+ * ...
1423
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/MergeCells)
1424
+ */
1425
+ mergeCellsFeature ? : object|Boolean|string|MergeCells|MergeCellsConfig
1426
+ /**
1427
+ * Feature that allows styling of weekends (and other non-working time) by adding timeRanges for those days.
1428
+ * ...
1429
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/feature/NonWorkingTime)
1430
+ */
1431
+ nonWorkingTimeFeature ? : object|Boolean|string|NonWorkingTime|NonWorkingTimeConfig
1432
+ /**
1433
+ * Makes the scheduler's timeline pannable by dragging with the mouse. Try it out in the demo below.
1434
+ * ...
1435
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/feature/Pan)
1436
+ */
1437
+ panFeature ? : object|Boolean|string|Pan|PanConfig
1438
+ /**
1439
+ * Generates PDF/PNG files from the Grid component.
1440
+ * ...
1441
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/export/PdfExport)
1442
+ */
1443
+ pdfExportFeature ? : object|Boolean|string|GridPdfExport|GridPdfExportConfig
1444
+ /**
1445
+ * Allows pinning columns to the start or end region of the grid without any additional subGrid configurations.
1446
+ * When pinning to a region that does not yet exist, the feature creates the required subGrid on the fly.
1447
+ * ...
1448
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/PinColumns)
1449
+ */
1450
+ pinColumnsFeature ? : object|Boolean|string|PinColumns|PinColumnsConfig
1451
+ /**
1452
+ * Allows printing Grid contents using browser print dialog.
1453
+ * ...
1454
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/export/GridPrint)
1455
+ */
1456
+ printFeature ? : object|Boolean|string|GridPrint|GridPrintConfig
1457
+ /**
1458
+ * Feature that allows the user to search in a column by focusing a cell and typing. Navigate between hits using the
1459
+ * keyboard, [f3] or [ctrl]/[cmd] + [g] moves to next, also pressing [shift] moves to previous.
1460
+ * ...
1461
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/QuickFind)
1462
+ */
1463
+ quickFindFeature ? : object|Boolean|string|QuickFind|QuickFindConfig
1464
+ /**
1465
+ * Makes the splitter between grid [sections](https://bryntum.com/products/calendar/docs/api/Grid/view/SubGrid) draggable, to let users resize, and
1466
+ * collapse/expand the sections.
1467
+ * ...
1468
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/RegionResize)
1469
+ */
1470
+ regionResizeFeature ? : object|Boolean|string|RegionResize|RegionResizeConfig
1471
+ /**
1472
+ * Applicable only for Scheduler in `vertical` mode. Right click resource header cells to display a context menu.
1473
+ * ...
1474
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/feature/ResourceMenu)
1475
+ */
1476
+ resourceMenuFeature ? : object|Boolean|string|ResourceMenu|ResourceMenuConfig
1477
+ /**
1478
+ * Feature that draws resource time ranges, shaded areas displayed behind events. These zones are similar to events in
1479
+ * that they have a start and end date but different in that they do not take part in the event layout, and they always
1480
+ * occupy full row height.
1481
+ * ...
1482
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/feature/ResourceTimeRanges)
1483
+ */
1484
+ resourceTimeRangesFeature ? : object|Boolean|string|ResourceTimeRanges|ResourceTimeRangesConfig
1485
+ /**
1486
+ * Allow using [Ctrl/CMD + C/X] and [Ctrl/CMD + V] to copy/cut-and-paste rows. Also makes cut, copy and paste actions
1487
+ * available via the cell context menu.
1488
+ * ...
1489
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/RowCopyPaste)
1490
+ */
1491
+ rowCopyPasteFeature ? : object|Boolean|string|RowCopyPaste|RowCopyPasteConfig
1492
+ /**
1493
+ * This feature allows editing of entire rows in a grid in a docked panel which by default slides out from the right.
1494
+ * ...
1495
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/RowEdit)
1496
+ */
1497
+ rowEditFeature ? : object|Boolean|string|RowEdit|RowEditConfig
1498
+ /**
1499
+ * Enables expanding of Grid rows by either row click or double click, or by adding a separate Grid column which renders
1500
+ * a button that expands or collapses the row.
1501
+ * ...
1502
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/RowExpander)
1503
+ */
1504
+ rowExpanderFeature ? : object|Boolean|string|RowExpander|RowExpanderConfig
1505
+ /**
1506
+ * This feature implements support for project transactions and used by default in Gantt. For general RowReorder feature
1507
+ * documentation see [RowReorder](https://bryntum.com/products/calendar/docs/api/Grid/feature/RowReorder).
1508
+ * ...
1509
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/feature/RowReorder)
1510
+ */
1511
+ rowReorderFeature ? : object|Boolean|string|RowReorder|RowReorderConfig
1512
+ /**
1513
+ * Enables user to change row height by dragging the bottom row border. After a resize operation, the [rowHeight](https://bryntum.com/products/calendar/docs/api/Grid/data/GridRowModel#field-rowHeight)
1514
+ * field of the record is updated (when [applyToAllRows](https://bryntum.com/products/calendar/docs/api/Grid/feature/RowResize#config-applyToAllRows) is `false`).
1515
+ * ...
1516
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/RowResize)
1517
+ */
1518
+ rowResizeFeature ? : object|Boolean|string|GridRowResize|GridRowResizeConfig
1519
+ /**
1520
+ * Feature that displays a tooltip containing the time at the mouse position when hovering empty parts of the schedule.
1521
+ * ...
1522
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/feature/ScheduleTooltip)
1523
+ */
1524
+ scheduleTooltipFeature ? : object|Boolean|string|SchedulerScheduleTooltip|SchedulerScheduleTooltipConfig
1525
+ /**
1526
+ * <div class="external-example vertical" data-file="Grid/feature/Search.js"></div>
1527
+ * ...
1528
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/Search)
1529
+ */
1530
+ searchFeature ? : object|Boolean|string|Search|SearchConfig
1531
+ /**
1532
+ * Allows sorting of grid by clicking (or tapping) headers, also displays which columns grid is sorted by (numbered if
1533
+ * using multisort). Use modifier keys for multisorting: [Ctrl/CMD + click] to add sorter, [Ctrl/CMD + Alt + click] to remove sorter.
1534
+ * The actual sorting is done by the store, see [Store.sort()](https://bryntum.com/products/calendar/docs/api/Core/data/mixin/StoreSort#function-sort).
1535
+ * ...
1536
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/Sort)
1537
+ */
1538
+ sortFeature ? : object|Boolean|string|Sort|SortConfig
1539
+ /**
1540
+ * This feature allows splitting the Scheduler into multiple views, either by using the cell context menu, or
1541
+ * programmatically by calling [split()](https://bryntum.com/products/calendar/docs/api/Scheduler/feature/Split#function-split).
1542
+ * ...
1543
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/feature/Split)
1544
+ */
1545
+ splitFeature ? : object|Boolean|string|Split|SplitConfig
1546
+ /**
1547
+ * A feature which pins configurable content from a grid row to the top of the grid
1548
+ * while the row scrolls off the top but is still visible.
1549
+ * ...
1550
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/StickyCells)
1551
+ */
1552
+ stickyCellsFeature ? : object|Boolean|string|StickyCells|StickyCellsConfig
1553
+ /**
1554
+ * Stripes rows by adding alternating CSS classes to all row elements (`b-even` and `b-odd`).
1555
+ * ...
1556
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/Stripe)
1557
+ */
1558
+ stripeFeature ? : object|Boolean|string|Stripe|StripeConfig
1559
+ /**
1560
+ * A special version of the Grid Summary feature. This feature displays a summary row in the grid footer.
1561
+ * ...
1562
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/feature/Summary)
1563
+ */
1564
+ summaryFeature ? : object|Boolean|string|Summary|SummaryConfig
1565
+ /**
1566
+ * Adds scheduler specific menu items to the timeline header context menu.
1567
+ * ...
1568
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/feature/TimeAxisHeaderMenu)
1569
+ */
1570
+ timeAxisHeaderMenuFeature ? : object|Boolean|string|TimeAxisHeaderMenu|TimeAxisHeaderMenuConfig
1571
+ /**
1572
+ * Feature that renders global ranges of time in the timeline. Use this feature to visualize a `range` like a 1 hr lunch
1573
+ * or some important point in time (a `line`, i.e. a range with 0 duration). This feature can also show a current time
1574
+ * indicator if you set [showCurrentTimeLine](https://bryntum.com/products/calendar/docs/api/Scheduler/feature/TimeRanges#config-showCurrentTimeLine) to true. To style the rendered elements, use the
1575
+ * [cls](https://bryntum.com/products/calendar/docs/api/Scheduler/model/TimeSpan#field-cls) field of the `TimeSpan` class.
1576
+ * ...
1577
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/feature/TimeRanges)
1578
+ */
1579
+ timeRangesFeature ? : object|Boolean|string|SchedulerTimeRanges|SchedulerTimeRangesConfig
1580
+ /**
1581
+ * Feature that makes the grid work more like a tree. Included by default in [TreeGrid](https://bryntum.com/products/calendar/docs/api/Grid/view/TreeGrid). Requires
1582
+ * exactly one [TreeColumn](https://bryntum.com/products/calendar/docs/api/Grid/column/TreeColumn) among grids columns. That column will have its renderer replaced with a
1583
+ * tree renderer that adds padding and icon to give the appearance of a tree. The original renderer is preserved and
1584
+ * also called.
1585
+ * ...
1586
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/Tree)
1587
+ */
1588
+ treeFeature ? : object|Boolean|string|Tree|TreeConfig
1589
+ /**
1590
+ * A feature that allows transforming a flat dataset (or the leaves of a hierarchical) into a tree by specifying a
1591
+ * record field per parent level. Parents are generated based on each leaf's value for those fields.
1592
+ * ...
1593
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Grid/feature/TreeGroup)
1594
+ */
1595
+ treeGroupFeature ? : object|Boolean|string|TreeGroup|TreeGroupConfig
1596
+
1597
+ }>();
1598
+
1599
+ const emit = defineEmits<{
1600
+ /**
1601
+ * Fires before an assignment is removed. Can be triggered by user pressing [DELETE] or [BACKSPACE] or
1602
+ * by the event editor. Can for example be used to display a custom dialog to confirm deletion, in which
1603
+ * case records should be "manually" removed after confirmation:
1604
+ * ...
1605
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#event-beforeAssignmentDelete)
1606
+ * @param {string} e Event name
1607
+ * @param {object} params Event parameters
1608
+ * @param {object} params.event Event object
1609
+ * @param {Scheduler.view.Scheduler} params.event.source The Scheduler instance
1610
+ * @param {Scheduler.model.AssignmentModel[]} params.event.assignmentRecords The assignment records about to be deleted
1611
+ * @param {object} params.event.context Additional removal context:
1612
+ * @param {Function} params.event.context.finalize Function to call to finalize the removal. Used to asynchronously decide to remove the records or not. Provide `false` to the function to prevent the removal.
1613
+ * @param {boolean} params.event.context.finalize.removeRecords Provide `false` to the function to prevent the removal.
1614
+ */
1615
+ (e: 'beforeAssignmentDelete', params: ((event: { source: Scheduler, assignmentRecords: AssignmentModel[], context: { finalize: { removeRecords?: boolean } } }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1616
+ /**
1617
+ * Fires on the owning Grid before the cell editing is canceled, return `false` to prevent cancellation.
1618
+ * @param {string} e Event name
1619
+ * @param {object} params Event parameters
1620
+ * @param {object} params.event Event object
1621
+ * @param {Grid.view.Grid} params.event.source Owner grid
1622
+ * @param {Grid.util.GridLocation} params.event.editorContext Editing context
1623
+ */
1624
+ (e: 'beforeCancelCellEdit', params: ((event: { source: Grid, editorContext: GridLocation }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1625
+ /**
1626
+ * Fires on the owning Grid before the row editing is canceled, return false to signal that the value is invalid and editing should not be finalized.
1627
+ * ...
1628
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#event-beforeCancelRowEdit)
1629
+ * @param {string} e Event name
1630
+ * @param {object} params Event parameters
1631
+ * @param {object} params.event Event object
1632
+ * @param {Grid.view.Grid} params.event.grid Target grid
1633
+ * @param {RowEditorContext} params.event.editorContext Editing context
1634
+ */
1635
+ (e: 'beforeCancelRowEdit', params: ((event: { grid: Grid, editorContext: RowEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1636
+ /**
1637
+ * Fires on the owning Grid before editing starts, return `false` to prevent editing
1638
+ * @param {string} e Event name
1639
+ * @param {object} params Event parameters
1640
+ * @param {object} params.event Event object
1641
+ * @param {Grid.view.Grid} params.event.source Owner grid
1642
+ * @param {CellEditorContext} params.event.editorContext Editing context
1643
+ */
1644
+ (e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1645
+ /**
1646
+ * Fires on the owning Grid before deleting a range of selected cell values by pressing `Backspace` or `Del`
1647
+ * buttons while [autoEdit](https://bryntum.com/products/calendar/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
1648
+ * @param {string} e Event name
1649
+ * @param {object} params Event parameters
1650
+ * @param {object} params.event Event object
1651
+ * @param {Grid.view.Grid} params.event.source Owner grid
1652
+ * @param {(Grid.util.GridLocation|Core.data.Model)[]} params.event.gridSelection An array of cell selectors or records that will have their values deleted (the records themselves will not get deleted, only visible column values).
1653
+ */
1654
+ (e: 'beforeCellRangeDelete', params: ((event: { source: Grid, gridSelection: (GridLocation|Model)[] }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1655
+ /**
1656
+ * Fires for each selected record on the owning Grid before editing a range of selected cell values
1657
+ * @param {string} e Event name
1658
+ * @param {object} params Event parameters
1659
+ * @param {object} params.event Event object
1660
+ * @param {Core.data.Model} params.event.record Current selected record from the range
1661
+ * @param {string} params.event.field The field being changed
1662
+ * @param {any} params.event.value The value being set
1663
+ */
1664
+ (e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1665
+ /**
1666
+ * This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
1667
+ * @param {string} e Event name
1668
+ * @param {object} params Event parameters
1669
+ * @param {object} params.event Event object
1670
+ * @param {Grid.view.Grid} params.event.source The grid instance.
1671
+ * @param {Grid.column.Column} params.event.column The dragged column.
1672
+ * @param {Event} params.event.event The browser event.
1673
+ */
1674
+ (e: 'beforeColumnDragStart', params: ((event: { source: Grid, column: Column, event: Event }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1675
+ /**
1676
+ * This event is fired when a column is dropped, and you can return false from a listener to abort the operation.
1677
+ * @param {string} e Event name
1678
+ * @param {object} params Event parameters
1679
+ * @param {object} params.event Event object
1680
+ * @param {Grid.view.Grid} params.event.source The grid instance.
1681
+ * @param {Grid.column.Column} params.event.column The dragged column.
1682
+ * @param {Grid.column.Column} params.event.insertBefore The column before which the dragged column will be inserted.
1683
+ * @param {Grid.column.Column} params.event.newParent The new parent column.
1684
+ * @param {Event} params.event.event The browser event.
1685
+ * @param {string} params.event.region The region where the column was dropped.
1686
+ */
1687
+ (e: 'beforeColumnDropFinalize', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, event: Event, region: string }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1688
+ /**
1689
+ * This event is fired prior to starting a column resize gesture. The resize is canceled if a listener returns
1690
+ * `false`.
1691
+ * @param {string} e Event name
1692
+ * @param {object} params Event parameters
1693
+ * @param {object} params.event Event object
1694
+ * @param {Grid.view.Grid} params.event.source The grid instance
1695
+ * @param {Grid.column.Column} params.event.column The column
1696
+ * @param {Event} params.event.domEvent The browser event
1697
+ */
1698
+ (e: 'beforeColumnResize', params: ((event: { source: Grid, column: Column, domEvent: Event }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1699
+ /**
1700
+ * Fires on the owning Grid before a copy action is performed, return `false` to prevent the action
1701
+ * @param {string} e Event name
1702
+ * @param {object} params Event parameters
1703
+ * @param {object} params.event Event object
1704
+ * @param {Grid.view.Grid} params.event.source Owner grid
1705
+ * @param {Grid.util.GridLocation[]} params.event.cells The cells about to be copied or cut
1706
+ * @param {string} params.event.data The string data about to be copied or cut
1707
+ * @param {boolean} params.event.isCut `true` if this is a cut action
1708
+ * @param {string} params.event.entityName 'cell' to distinguish this event from other beforeCopy events
1709
+ */
1710
+ (e: 'beforeCopy', params: ((event: { source: Grid, cells: GridLocation[], data: string, isCut: boolean, entityName: string }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1711
+ /**
1712
+ * Fires on the owning Grid before CSV export starts. Return `false` to cancel the export.
1713
+ * @param {string} e Event name
1714
+ * @param {object} params Event parameters
1715
+ * @param {object} params.event Event object
1716
+ * @param {ExportConfig} params.event.config Export config
1717
+ * @param {Grid.column.Column[]} params.event.columns An array of columns to export
1718
+ * @param {Core.data.Model[]} params.event.rows An array of records to export
1719
+ * @param {string} params.event.lineDelimiter The CSV delimiter to separate lines
1720
+ * @param {string} params.event.columnDelimiter The CSV delimiter to separate values on one line
1721
+ */
1722
+ (e: 'beforeCSVExport', params: ((event: { config: ExportConfig, columns: Column[], rows: Model[], lineDelimiter: string, columnDelimiter: string }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1723
+ /**
1724
+ * Fires before an object is destroyed.
1725
+ * @param {string} e Event name
1726
+ * @param {object} params Event parameters
1727
+ * @param {object} params.event Event object
1728
+ * @param {Core.Base} params.event.source The Object that is being destroyed.
1729
+ */
1730
+ (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
1731
+ /**
1732
+ * Fires before an event is removed. Can be triggered by user pressing [DELETE] or [BACKSPACE] or by the
1733
+ * event editor. Return `false` to immediately veto the removal (or a `Promise` yielding `true` or `false`
1734
+ * for async vetoing).
1735
+ * ...
1736
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#event-beforeEventDelete)
1737
+ * @param {string} e Event name
1738
+ * @param {object} params Event parameters
1739
+ * @param {object} params.event Event object
1740
+ * @param {Scheduler.view.Scheduler,any} params.event.source The Scheduler instance
1741
+ * @param {Scheduler.model.EventModel[]} params.event.eventRecords The records about to be deleted
1742
+ * @param {object} params.event.context Additional removal context:
1743
+ * @param {Function} params.event.context.finalize Function to call to finalize the removal. Used to asynchronously decide to remove the records or not. Provide `false` to the function to prevent the removal.
1744
+ * @param {boolean} params.event.context.finalize.removeRecords Provide `false` to the function to prevent the removal.
1745
+ */
1746
+ (e: 'beforeEventDelete', params: ((event: { source: Scheduler|any, eventRecords: EventModel[], context: { finalize: { removeRecords?: boolean } } }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1747
+ /**
1748
+ * Fires on the owning Grid before Excel export starts. Return `false` to cancel the export.
1749
+ * @param {string} e Event name
1750
+ * @param {object} params Event parameters
1751
+ * @param {object} params.event Event object
1752
+ * @param {ExportConfig} params.event.config Export config
1753
+ * @param {XLSColumn[]} params.event.columns An array of columns to export
1754
+ * @param {any[][]} params.event.rows An array of records to export
1755
+ */
1756
+ (e: 'beforeExcelExport', params: ((event: { config: ExportConfig, columns: XLSColumn[], rows: any[] }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1757
+ /**
1758
+ * Fired before dragging of the FillHandle starts, return `false` to prevent the drag operation.
1759
+ * @param {string} e Event name
1760
+ * @param {object} params Event parameters
1761
+ * @param {object} params.event Event object
1762
+ * @param {Grid.util.GridLocation} params.event.cell Information about the column / record
1763
+ * @param {MouseEvent} params.event.domEvent The raw DOM event
1764
+ */
1765
+ (e: 'beforeFillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1766
+ /**
1767
+ * Fires on the owning Grid before the cell editing is finished, return false to signal that the value is invalid and editing should not be finalized.
1768
+ * @param {string} e Event name
1769
+ * @param {object} params Event parameters
1770
+ * @param {object} params.event Event object
1771
+ * @param {Grid.view.Grid} params.event.grid Target grid
1772
+ * @param {CellEditorContext} params.event.editorContext Editing context
1773
+ */
1774
+ (e: 'beforeFinishCellEdit', params: ((event: { grid: Grid, editorContext: CellEditorContext }) => void)|string): void
1775
+ /**
1776
+ * Fires on the owning Grid before the row editing is finished, return false to signal that the value is invalid and editing should not be finalized.
1777
+ * ...
1778
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#event-beforeFinishRowEdit)
1779
+ * @param {string} e Event name
1780
+ * @param {object} params Event parameters
1781
+ * @param {object} params.event Event object
1782
+ * @param {Grid.view.Grid} params.event.grid Target grid
1783
+ * @param {RowEditorContext} params.event.editorContext Editing context
1784
+ */
1785
+ (e: 'beforeFinishRowEdit', params: ((event: { grid: Grid, editorContext: RowEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1786
+ /**
1787
+ * Triggered before a widget is hidden. Return `false` to prevent the action.
1788
+ * @param {string} e Event name
1789
+ * @param {object} params Event parameters
1790
+ * @param {object} params.event Event object
1791
+ * @param {Core.widget.Widget} params.event.source The widget being hidden.
1792
+ */
1793
+ (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1794
+ /**
1795
+ * Fires before the component stores a record's histogram data into the cache.
1796
+ * ...
1797
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#event-beforeHistogramDataCacheSet)
1798
+ * @param {string} e Event name
1799
+ * @param {object} params Event parameters
1800
+ * @param {object} params.event Event object
1801
+ * @param {Scheduler.view.TimelineHistogram} params.event.source The component instance
1802
+ * @param {Core.data.Model} params.event.record Record the histogram data of which is ready.
1803
+ * @param {object} params.event.data The record histogram data.
1804
+ */
1805
+ (e: 'beforeHistogramDataCacheSet', params: ((event: { source: TimelineHistogram, record: Model, data: object }) => void)|string): void
1806
+ /**
1807
+ * Fires on the owning Scheduler or Gantt widget before pan starts. Return `false` to prevent the operation.
1808
+ * @param {string} e Event name
1809
+ * @param {object} params Event parameters
1810
+ * @param {object} params.event Event object
1811
+ * @param {Event} params.event.event The native browser DOM event
1812
+ */
1813
+ (e: 'beforePan', params: ((event: { event: Event }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1814
+ /**
1815
+ * Fires on the owning Grid before a paste action is performed, return `false` to prevent the action
1816
+ * @param {string} e Event name
1817
+ * @param {object} params Event parameters
1818
+ * @param {object} params.event Event object
1819
+ * @param {Grid.view.Grid} params.event.source Owner grid
1820
+ * @param {string} params.event.clipboardData The clipboardData about to be pasted
1821
+ * @param {Grid.util.GridLocation} params.event.targetCell The cell from which the paste will be started
1822
+ * @param {string} params.event.entityName 'cell' to distinguish this event from other beforePaste events
1823
+ * @param {string} params.event.text The raw text from clipboard
1824
+ */
1825
+ (e: 'beforePaste', params: ((event: { source: Grid, clipboardData: string, targetCell: GridLocation, entityName: string, text: string }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1826
+ /**
1827
+ * Fires on the owning Grid before export started. Return `false` to cancel the export.
1828
+ * @param {string} e Event name
1829
+ * @param {object} params Event parameters
1830
+ * @param {object} params.event Event object
1831
+ * @param {object} params.event.config Export config
1832
+ */
1833
+ (e: 'beforePdfExport', params: ((event: { config: object }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1834
+ /**
1835
+ * Fired before the [viewPreset](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/TimelineViewPresets#config-viewPreset) is changed.
1836
+ * @param {string} e Event name
1837
+ * @param {object} params Event parameters
1838
+ * @param {object} params.event Event object
1839
+ * @param {Scheduler.view.Scheduler} params.event.source This Scheduler instance.
1840
+ * @param {Date} params.event.startDate The new start date of the timeline.
1841
+ * @param {Date} params.event.endDate The new end date of the timeline.
1842
+ * @param {Scheduler.preset.ViewPreset} params.event.from The outgoing ViewPreset.
1843
+ * @param {Scheduler.preset.ViewPreset} params.event.to The ViewPreset being switched to.
1844
+ */
1845
+ (e: 'beforePresetChange', params: ((event: { source: Scheduler, startDate: Date, endDate: Date, from: ViewPreset, to: ViewPreset }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1846
+ /**
1847
+ * Fires before the component renders a row.
1848
+ * ...
1849
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#event-beforeRenderHistogramRow)
1850
+ * @param {string} e Event name
1851
+ * @param {object} params Event parameters
1852
+ * @param {object} params.event Event object
1853
+ * @param {Scheduler.view.TimelineHistogram} params.event.source The component instance
1854
+ * @param {Core.data.Model} params.event.record Record the histogram data of which is ready.
1855
+ * @param {HistogramConfig} params.event.histogramConfig Configuration object that will be applied to `histogramWidget`.
1856
+ * @param {Core.widget.graph.Histogram} params.event.histogramWidget The underlying widget that is used to render a chart.
1857
+ */
1858
+ (e: 'beforeRenderHistogramRow', params: ((event: { source: TimelineHistogram, record: Model, histogramConfig: HistogramConfig, histogramWidget: Histogram }) => void)|string): void
1859
+ /**
1860
+ * Fires before the component renders a histogram in a cell.
1861
+ * @param {string} e Event name
1862
+ * @param {object} params Event parameters
1863
+ * @param {object} params.event Event object
1864
+ * @param {Scheduler.view.TimelineHistogram} params.event.source The component instance
1865
+ * @param {Core.data.Model} params.event.record Record the histogram data of which is ready.
1866
+ * @param {HistogramConfig} params.event.histogramConfig Configuration object that will be applied to `histogramWidget`.
1867
+ * @param {Core.widget.graph.Histogram} params.event.histogramWidget The underlying widget that is used to render a chart.
1868
+ */
1869
+ (e: 'beforeRenderRecordHistogram', params: ((event: { source: TimelineHistogram, record: Model, histogramConfig: HistogramConfig, histogramWidget: Histogram }) => void)|string): void
1870
+ /**
1871
+ * Fires before a row is rendered.
1872
+ * @param {string} e Event name
1873
+ * @param {object} params Event parameters
1874
+ * @param {object} params.event Event object
1875
+ * @param {Grid.view.Grid} params.event.source The firing Grid instance.
1876
+ * @param {Grid.row.Row} params.event.row The row about to be rendered.
1877
+ * @param {Core.data.Model} params.event.record The record for the row.
1878
+ * @param {number} params.event.recordIndex The zero-based index of the record.
1879
+ */
1880
+ (e: 'beforeRenderRow', params: ((event: { source: Grid, row: Row, record: Model, recordIndex: number }) => void)|string): void
1881
+ /**
1882
+ * Grid rows are about to be rendered
1883
+ * @param {string} e Event name
1884
+ * @param {object} params Event parameters
1885
+ * @param {object} params.event Event object
1886
+ * @param {Grid.view.Grid} params.event.source This grid.
1887
+ */
1888
+ (e: 'beforeRenderRows', params: ((event: { source: Grid }) => void)|string): void
1889
+ /**
1890
+ * This event fires before row collapse is started.
1891
+ * ...
1892
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#event-beforeRowCollapse)
1893
+ * @param {string} e Event name
1894
+ * @param {object} params Event parameters
1895
+ * @param {object} params.event Event object
1896
+ * @param {Core.data.Model} params.event.record Record
1897
+ */
1898
+ (e: 'beforeRowCollapse', params: ((event: { record: Model }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1899
+ /**
1900
+ * This event fires before row expand is started.
1901
+ * ...
1902
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#event-beforeRowExpand)
1903
+ * @param {string} e Event name
1904
+ * @param {object} params Event parameters
1905
+ * @param {object} params.event Event object
1906
+ * @param {Core.data.Model} params.event.record Record
1907
+ */
1908
+ (e: 'beforeRowExpand', params: ((event: { record: Model }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1909
+ /**
1910
+ * Fires before the selection changes. Returning `false` from a listener prevents the change
1911
+ * @param {string} e Event name
1912
+ * @param {object} params Event parameters
1913
+ * @param {object} params.event Event object
1914
+ * @param {string} params.event.action `'select'`/`'deselect'`
1915
+ * @param {'row','cell'} params.event.mode `'row'`/`'cell'`
1916
+ * @param {Grid.view.Grid} params.event.source
1917
+ * @param {Core.data.Model[]} params.event.deselected The records to be deselected in this operation.
1918
+ * @param {Core.data.Model[]} params.event.selected The records to be selected in this operation.
1919
+ * @param {Core.data.Model[]} params.event.selection The records in the current selection, before applying `selected` and `deselected`
1920
+ * @param {Grid.util.GridLocation[]} params.event.deselectedCells The cells to be deselected in this operation.
1921
+ * @param {Grid.util.GridLocation[]} params.event.selectedCells The cells to be selected in this operation.
1922
+ * @param {Grid.util.GridLocation[]} params.event.cellSelection The cells in the current selection, before applying `selectedCells` and `deselectedCells`
1923
+ */
1924
+ (e: 'beforeSelectionChange', params: ((event: { action: string, mode: 'row'|'cell', source: Grid, deselected: Model[], selected: Model[], selection: Model[], deselectedCells: GridLocation[], selectedCells: GridLocation[], cellSelection: GridLocation[] }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1925
+ /**
1926
+ * Fired before this container will load record values into its child fields. This is useful if you
1927
+ * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
1928
+ * @param {string} e Event name
1929
+ * @param {object} params Event parameters
1930
+ * @param {object} params.event Event object
1931
+ * @param {Core.widget.Container} params.event.source The container
1932
+ * @param {Core.data.Model} params.event.record The record
1933
+ */
1934
+ (e: 'beforeSetRecord', params: ((event: { source: Container, record: Model }) => void)|string): void
1935
+ /**
1936
+ * Triggered before a widget is shown. Return `false` to prevent the action.
1937
+ * @param {string} e Event name
1938
+ * @param {object} params Event parameters
1939
+ * @param {object} params.event Event object
1940
+ * @param {Core.widget.Widget,any} params.event.source The widget being shown
1941
+ */
1942
+ (e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1943
+ /**
1944
+ * Fires on the owning Grid before editing starts, return `false` to prevent editing
1945
+ * @param {string} e Event name
1946
+ * @param {object} params Event parameters
1947
+ * @param {object} params.event Event object
1948
+ * @param {Grid.view.Grid} params.event.source Owner grid
1949
+ * @param {RowEditorContext} params.event.editorContext Editing context
1950
+ */
1951
+ (e: 'beforeStartRowEdit', params: ((event: { source: Grid, editorContext: RowEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1952
+ /**
1953
+ * Fired before state is applied to the source. Allows editing the state object or preventing the operation.
1954
+ * @param {string} e Event name
1955
+ * @param {object} params Event parameters
1956
+ * @param {object} params.event Event object
1957
+ * @param {GridStateInfo} params.event.state State object config
1958
+ */
1959
+ (e: 'beforeStateApply', params: ((event: { state: GridStateInfo }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1960
+ /**
1961
+ * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
1962
+ * @param {string} e Event name
1963
+ * @param {object} params Event parameters
1964
+ * @param {object} params.event Event object
1965
+ * @param {GridStateInfo} params.event.state State object config
1966
+ */
1967
+ (e: 'beforeStateSave', params: ((event: { state: GridStateInfo }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1968
+ /**
1969
+ * Fired when a group is going to be expanded or collapsed using the UI.
1970
+ * Returning `false` from a listener prevents the operation
1971
+ * @param {string} e Event name
1972
+ * @param {object} params Event parameters
1973
+ * @param {object} params.event Event object
1974
+ * @param {Core.data.Model} params.event.groupRecord [DEPRECATED] Use `groupRecords` param instead
1975
+ * @param {Core.data.Model[]} params.event.groupRecords The group records being toggled
1976
+ * @param {boolean} params.event.collapse Collapsed (true) or expanded (false)
1977
+ * @param {Event} params.event.domEvent The user interaction event (eg a `click` event) if the toggle request was instigated by user interaction.
1978
+ */
1979
+ (e: 'beforeToggleGroup', params: ((event: { groupRecord: Model, groupRecords: Model[], collapse: boolean, domEvent: Event }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1980
+ /**
1981
+ * Fired before a parent node record toggles its collapsed state.
1982
+ * @param {string} e Event name
1983
+ * @param {object} params Event parameters
1984
+ * @param {object} params.event Event object
1985
+ * @param {Grid.view.Grid} params.event.source The firing Grid instance.
1986
+ * @param {Core.data.Model} params.event.record The record being toggled.
1987
+ * @param {boolean} params.event.collapse `true` if the node is being collapsed.
1988
+ */
1989
+ (e: 'beforeToggleNode', params: ((event: { source: Grid, record: Model, collapse: boolean }) => void)|string): void
1990
+ /**
1991
+ * Fires on the owning Grid when editing is cancelled
1992
+ * @param {string} e Event name
1993
+ * @param {object} params Event parameters
1994
+ * @param {object} params.event Event object
1995
+ * @param {Grid.view.Grid} params.event.source Owner grid
1996
+ * @param {Grid.util.GridLocation} params.event.editorContext Editing context
1997
+ * @param {Event} params.event.event Included if the cancellation was triggered by a DOM event
1998
+ */
1999
+ (e: 'cancelCellEdit', params: ((event: { source: Grid, editorContext: GridLocation, event: Event }) => void)|string): void
2000
+ /**
2001
+ * Fires when any other event is fired from the object.
2002
+ * ...
2003
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#event-catchAll)
2004
+ * @param {string} e Event name
2005
+ * @param {object} params Event parameters
2006
+ * @param {object} params.event Event object
2007
+ * @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details
2008
+ * @param {string} params.event.event.type The type of the event which is caught by the listener
2009
+ */
2010
+ (e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
2011
+ /**
2012
+ * Fired when user clicks in a grid cell
2013
+ * @param {string} e Event name
2014
+ * @param {object} params Event parameters
2015
+ * @param {object} params.event Event object
2016
+ * @param {Grid.view.Grid} params.event.grid The grid instance
2017
+ * @param {Core.data.Model} params.event.record The record representing the row
2018
+ * @param {Grid.column.Column} params.event.column The column to which the cell belongs
2019
+ * @param {HTMLElement} params.event.cellElement The cell HTML element
2020
+ * @param {HTMLElement} params.event.target The target element
2021
+ * @param {MouseEvent} params.event.event The native DOM event
2022
+ */
2023
+ (e: 'cellClick', params: ((event: { grid: Grid, record: Model, column: Column, cellElement: HTMLElement, target: HTMLElement, event: MouseEvent }) => void)|string): void
2024
+ /**
2025
+ * Fired when user activates contextmenu in a grid cell
2026
+ * @param {string} e Event name
2027
+ * @param {object} params Event parameters
2028
+ * @param {object} params.event Event object
2029
+ * @param {Grid.view.Grid} params.event.grid The grid instance
2030
+ * @param {Core.data.Model} params.event.record The record representing the row
2031
+ * @param {Grid.column.Column} params.event.column The column to which the cell belongs
2032
+ * @param {HTMLElement} params.event.cellElement The cell HTML element
2033
+ * @param {HTMLElement} params.event.target The target element
2034
+ * @param {MouseEvent} params.event.event The native DOM event
2035
+ */
2036
+ (e: 'cellContextMenu', params: ((event: { grid: Grid, record: Model, column: Column, cellElement: HTMLElement, target: HTMLElement, event: MouseEvent }) => void)|string): void
2037
+ /**
2038
+ * Fired when user double clicks a grid cell
2039
+ * @param {string} e Event name
2040
+ * @param {object} params Event parameters
2041
+ * @param {object} params.event Event object
2042
+ * @param {Grid.view.Grid} params.event.grid The grid instance
2043
+ * @param {Core.data.Model} params.event.record The record representing the row
2044
+ * @param {Grid.column.Column} params.event.column The column to which the cell belongs
2045
+ * @param {HTMLElement} params.event.cellElement The cell HTML element
2046
+ * @param {HTMLElement} params.event.target The target element
2047
+ * @param {MouseEvent} params.event.event The native DOM event
2048
+ */
2049
+ (e: 'cellDblClick', params: ((event: { grid: Grid, record: Model, column: Column, cellElement: HTMLElement, target: HTMLElement, event: MouseEvent }) => void)|string): void
2050
+ /**
2051
+ * This event fires on the owning grid before the context menu is shown for a cell.
2052
+ * Allows manipulation of the items to show in the same way as in the [processItems](https://bryntum.com/products/calendar/docs/api/Grid/feature/CellMenu#config-processItems).
2053
+ * ...
2054
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#event-cellMenuBeforeShow)
2055
+ * @param {string} e Event name
2056
+ * @param {object} params Event parameters
2057
+ * @param {object} params.event Event object
2058
+ * @param {Grid.view.Grid} params.event.source The grid
2059
+ * @param {Core.widget.Menu} params.event.menu The menu
2060
+ * @param {Record<string, MenuItemEntry>} params.event.items Menu item configs
2061
+ * @param {Grid.column.Column} params.event.column Column
2062
+ * @param {Core.data.Model} params.event.record Record
2063
+ */
2064
+ (e: 'cellMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column, record: Model }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2065
+ /**
2066
+ * This event fires on the owning grid when an item is selected in the cell context menu.
2067
+ * @param {string} e Event name
2068
+ * @param {object} params Event parameters
2069
+ * @param {object} params.event Event object
2070
+ * @param {Grid.view.Grid} params.event.source The grid
2071
+ * @param {Core.widget.Menu} params.event.menu The menu
2072
+ * @param {Core.widget.MenuItem} params.event.item Selected menu item
2073
+ * @param {Grid.column.Column} params.event.column Column
2074
+ * @param {Core.data.Model} params.event.record Record
2075
+ */
2076
+ (e: 'cellMenuItem', params: ((event: { source: Grid, menu: Menu, item: MenuItem, column: Column, record: Model }) => void)|string): void
2077
+ /**
2078
+ * This event fires on the owning grid after the context menu is shown for a cell.
2079
+ * @param {string} e Event name
2080
+ * @param {object} params Event parameters
2081
+ * @param {object} params.event Event object
2082
+ * @param {Grid.view.Grid} params.event.source The grid
2083
+ * @param {Core.widget.Menu} params.event.menu The menu
2084
+ * @param {Record<string, MenuItemEntry>} params.event.items Menu item configs
2085
+ * @param {Grid.column.Column} params.event.column Column
2086
+ * @param {Core.data.Model} params.event.record Record
2087
+ */
2088
+ (e: 'cellMenuShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column, record: Model }) => void)|string): void
2089
+ /**
2090
+ * This event fires on the owning grid when a check item is toggled in the cell context menu.
2091
+ * @param {string} e Event name
2092
+ * @param {object} params Event parameters
2093
+ * @param {object} params.event Event object
2094
+ * @param {Grid.view.Grid} params.event.source The grid
2095
+ * @param {Core.widget.Menu} params.event.menu The menu
2096
+ * @param {Core.widget.MenuItem} params.event.item Selected menu item
2097
+ * @param {Grid.column.Column} params.event.column Column
2098
+ * @param {Core.data.Model} params.event.record Record
2099
+ * @param {boolean} params.event.checked Checked or not
2100
+ */
2101
+ (e: 'cellMenuToggleItem', params: ((event: { source: Grid, menu: Menu, item: MenuItem, column: Column, record: Model, checked: boolean }) => void)|string): void
2102
+ /**
2103
+ * Fired when the mouse enters a cell
2104
+ * @param {string} e Event name
2105
+ * @param {object} params Event parameters
2106
+ * @param {object} params.event Event object
2107
+ * @param {Grid.view.Grid} params.event.source The grid instance
2108
+ * @param {Core.data.Model} params.event.record The record representing the hovered cell
2109
+ * @param {Grid.column.Column} params.event.column The column currently hovered
2110
+ * @param {HTMLElement} params.event.cellElement The cell HTML element
2111
+ * @param {MouseEvent} params.event.event The native DOM event
2112
+ */
2113
+ (e: 'cellMouseEnter', params: ((event: { source: Grid, record: Model, column: Column, cellElement: HTMLElement, event: MouseEvent }) => void)|string): void
2114
+ /**
2115
+ * Fired when the mouse leaves a cell
2116
+ * @param {string} e Event name
2117
+ * @param {object} params Event parameters
2118
+ * @param {object} params.event Event object
2119
+ * @param {Grid.view.Grid} params.event.source The grid instance
2120
+ * @param {Core.data.Model} params.event.record The record representing the cell that the mouse left
2121
+ * @param {Grid.column.Column} params.event.column The column representing the cell that the mouse left
2122
+ * @param {HTMLElement} params.event.cellElement The cell HTML element that the mouse left
2123
+ * @param {MouseEvent} params.event.event The native DOM event
2124
+ */
2125
+ (e: 'cellMouseLeave', params: ((event: { source: Grid, record: Model, column: Column, cellElement: HTMLElement, event: MouseEvent }) => void)|string): void
2126
+ /**
2127
+ * Fired when a user moves the mouse out of a grid cell
2128
+ * @param {string} e Event name
2129
+ * @param {object} params Event parameters
2130
+ * @param {object} params.event Event object
2131
+ * @param {Grid.view.Grid} params.event.grid The grid instance
2132
+ * @param {Core.data.Model} params.event.record The record representing the row
2133
+ * @param {Grid.column.Column} params.event.column The column to which the cell belongs
2134
+ * @param {HTMLElement} params.event.cellElement The cell HTML element
2135
+ * @param {HTMLElement} params.event.target The target element
2136
+ * @param {MouseEvent} params.event.event The native DOM event
2137
+ */
2138
+ (e: 'cellMouseOut', params: ((event: { grid: Grid, record: Model, column: Column, cellElement: HTMLElement, target: HTMLElement, event: MouseEvent }) => void)|string): void
2139
+ /**
2140
+ * Fired when user moves the mouse over a grid cell
2141
+ * @param {string} e Event name
2142
+ * @param {object} params Event parameters
2143
+ * @param {object} params.event Event object
2144
+ * @param {Grid.view.Grid} params.event.grid The grid instance
2145
+ * @param {Core.data.Model} params.event.record The record representing the row
2146
+ * @param {Grid.column.Column} params.event.column The column to which the cell belongs
2147
+ * @param {HTMLElement} params.event.cellElement The cell HTML element
2148
+ * @param {HTMLElement} params.event.target The target element
2149
+ * @param {MouseEvent} params.event.event The native DOM event
2150
+ */
2151
+ (e: 'cellMouseOver', params: ((event: { grid: Grid, record: Model, column: Column, cellElement: HTMLElement, target: HTMLElement, event: MouseEvent }) => void)|string): void
2152
+ /**
2153
+ * Fires when a Panel is collapsed using the [collapsible](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsible) setting.
2154
+ * @param {string} e Event name
2155
+ * @param {object} params Event parameters
2156
+ * @param {object} params.event Event object
2157
+ * @param {Core.widget.Panel} params.event.source This Panel.
2158
+ */
2159
+ (e: 'collapse', params: ((event: { source: Panel }) => void)|string): void
2160
+ /**
2161
+ * Fired before a parent node record is collapsed.
2162
+ * @param {string} e Event name
2163
+ * @param {object} params Event parameters
2164
+ * @param {object} params.event Event object
2165
+ * @param {Grid.view.Grid} params.event.source The firing Grid instance.
2166
+ * @param {Core.data.Model} params.event.record The record which has been collapsed.
2167
+ */
2168
+ (e: 'collapseNode', params: ((event: { source: Grid, record: Model }) => void)|string): void
2169
+ /**
2170
+ * This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
2171
+ * to indicate whether the drop position is valid or not.
2172
+ * @param {string} e Event name
2173
+ * @param {object} params Event parameters
2174
+ * @param {object} params.event Event object
2175
+ * @param {Grid.view.Grid} params.event.source The grid instance.
2176
+ * @param {Grid.column.Column} params.event.column The dragged column.
2177
+ * @param {Grid.column.Column} params.event.insertBefore The column before which the dragged column will be inserted (if not last).
2178
+ * @param {Event} params.event.event The browser event.
2179
+ * @param {object} params.event.context
2180
+ * @param {boolean} params.event.context.valid Set this to `true` or `false` to indicate whether the drop position is valid.
2181
+ */
2182
+ (e: 'columnDrag', params: ((event: { source: Grid, column: Column, insertBefore: Column, event: Event, context: { valid: boolean } }) => void)|string): void
2183
+ /**
2184
+ * This event is fired when a column drag gesture has started.
2185
+ * @param {string} e Event name
2186
+ * @param {object} params Event parameters
2187
+ * @param {object} params.event Event object
2188
+ * @param {Grid.view.Grid} params.event.source The grid instance.
2189
+ * @param {Grid.column.Column} params.event.column The dragged column.
2190
+ * @param {Event} params.event.event The browser event.
2191
+ */
2192
+ (e: 'columnDragStart', params: ((event: { source: Grid, column: Column, event: Event }) => void)|string): void
2193
+ /**
2194
+ * This event is always fired after a column is dropped. The `valid` param is `true` if the operation was not
2195
+ * vetoed and the column was moved in the column store.
2196
+ * @param {string} e Event name
2197
+ * @param {object} params Event parameters
2198
+ * @param {object} params.event Event object
2199
+ * @param {Grid.view.Grid} params.event.source The grid instance.
2200
+ * @param {Grid.column.Column} params.event.column The dragged column.
2201
+ * @param {Grid.column.Column} params.event.insertBefore The column before which the dragged column will be inserted.
2202
+ * @param {Grid.column.Column} params.event.newParent The new parent column.
2203
+ * @param {boolean} params.event.valid `true` if the operation was not vetoed.
2204
+ * @param {Event} params.event.event The browser event.
2205
+ * @param {string} params.event.region The region where the column was dropped.
2206
+ */
2207
+ (e: 'columnDrop', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, valid: boolean, event: Event, region: string }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2208
+ /**
2209
+ * This event is fired after a resize gesture is completed.
2210
+ * @param {string} e Event name
2211
+ * @param {object} params Event parameters
2212
+ * @param {object} params.event Event object
2213
+ * @param {Grid.view.Grid} params.event.source The grid instance
2214
+ * @param {Grid.column.Column} params.event.column The resized column
2215
+ * @param {Event} params.event.domEvent The browser event
2216
+ */
2217
+ (e: 'columnResize', params: ((event: { source: Grid, column: Column, domEvent: Event }) => void)|string): void
2218
+ /**
2219
+ * This event is fired when a column resize gesture starts.
2220
+ * @param {string} e Event name
2221
+ * @param {object} params Event parameters
2222
+ * @param {object} params.event Event object
2223
+ * @param {Grid.view.Grid} params.event.source The grid instance
2224
+ * @param {Grid.column.Column} params.event.column The column
2225
+ * @param {Event} params.event.domEvent The browser event
2226
+ */
2227
+ (e: 'columnResizeStart', params: ((event: { source: Grid, column: Column, domEvent: Event }) => void)|string): void
2228
+ /**
2229
+ * This event fires on the owning widget when an item is selected in the context menu.
2230
+ * @param {string} e Event name
2231
+ * @param {object} params Event parameters
2232
+ * @param {object} params.event Event object
2233
+ * @param {Core.widget.Widget} params.event.source The owning widget
2234
+ * @param {Core.widget.Menu} params.event.menu The menu
2235
+ * @param {Core.widget.MenuItem} params.event.item Selected menu item
2236
+ */
2237
+ (e: 'contextMenuItem', params: ((event: { source: Widget, menu: Menu, item: MenuItem }) => void)|string): void
2238
+ /**
2239
+ * This event fires on the owning widget when a check item is toggled in the context menu.
2240
+ * @param {string} e Event name
2241
+ * @param {object} params Event parameters
2242
+ * @param {object} params.event Event object
2243
+ * @param {Core.widget.Widget} params.event.source The owning widget
2244
+ * @param {Core.widget.Menu} params.event.menu The menu
2245
+ * @param {Core.widget.MenuItem} params.event.item Selected menu item
2246
+ * @param {boolean} params.event.checked Checked or not
2247
+ */
2248
+ (e: 'contextMenuToggleItem', params: ((event: { source: Widget, menu: Menu, item: MenuItem, checked: boolean }) => void)|string): void
2249
+ /**
2250
+ * Fires on the owning Grid after a copy action is performed.
2251
+ * @param {string} e Event name
2252
+ * @param {object} params Event parameters
2253
+ * @param {object} params.event Event object
2254
+ * @param {Grid.view.Grid} params.event.source Owner grid
2255
+ * @param {Grid.util.GridLocation[]} params.event.cells The cells about to be copied or cut
2256
+ * @param {string} params.event.copiedDataString The concatenated data string that was copied or cut
2257
+ * @param {boolean} params.event.isCut `true` if this was a cut action
2258
+ * @param {string} params.event.entityName 'cell' to distinguish this event from other copy events
2259
+ */
2260
+ (e: 'copy', params: ((event: { source: Grid, cells: GridLocation[], copiedDataString: string, isCut: boolean, entityName: string }) => void)|string): void
2261
+ /**
2262
+ * Fires on the owning Scheduler/Gantt when the line indicating the current time is updated (see [currentTimeLineUpdateInterval](https://bryntum.com/products/calendar/docs/api/Scheduler/feature/TimeRanges#config-currentTimeLineUpdateInterval)).
2263
+ * @param {string} e Event name
2264
+ * @param {object} params Event parameters
2265
+ * @param {object} params.event Event object
2266
+ * @param {Scheduler.view.Scheduler} params.event.source The scheduler
2267
+ * @param {Date} params.event.date The current date
2268
+ */
2269
+ (e: 'currentTimelineUpdate', params: ((event: { source: Scheduler, date: Date }) => void)|string): void
2270
+ /**
2271
+ * Fired when data in the store changes.
2272
+ * ...
2273
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#event-dataChange)
2274
+ * @param {string} e Event name
2275
+ * @param {object} params Event parameters
2276
+ * @param {object} params.event Event object
2277
+ * @param {Grid.view.Grid} params.event.source Owning grid
2278
+ * @param {Core.data.Store} params.event.store The originating store
2279
+ * @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} params.event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
2280
+ * @param {Core.data.Model} params.event.record Changed record, for actions that affects exactly one record (`'update'`)
2281
+ * @param {Core.data.Model[]} params.event.records Changed records, passed for all actions except `'removeAll'`
2282
+ * @param {object} params.event.changes Passed for the `'update'` action, info on which record fields changed
2283
+ */
2284
+ (e: 'dataChange', params: ((event: { source: Grid, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string): void
2285
+ /**
2286
+ * Fired when the range of dates encapsulated by the UI changes. This will be when
2287
+ * moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
2288
+ * when zooming, or changing [viewPreset](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineBase#config-viewPreset).
2289
+ * ...
2290
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#event-dateRangeChange)
2291
+ * @param {string} e Event name
2292
+ * @param {object} params Event parameters
2293
+ * @param {object} params.event Event object
2294
+ * @param {Scheduler.view.TimelineBase} params.event.source This Scheduler/Gantt instance.
2295
+ * @param {object} params.event.old The old date range
2296
+ * @param {Date} params.event.old.startDate the old start date.
2297
+ * @param {Date} params.event.old.endDate the old end date.
2298
+ * @param {object} params.event.new The new date range
2299
+ * @param {Date} params.event.new.startDate the new start date.
2300
+ * @param {Date} params.event.new.endDate the new end date.
2301
+ */
2302
+ (e: 'dateRangeChange', params: ((event: { source: TimelineBase, old: { startDate: Date, endDate: Date }, new: { startDate: Date, endDate: Date } }) => void)|string): void
2303
+ /**
2304
+ * Fires when an object is destroyed.
2305
+ * @param {string} e Event name
2306
+ * @param {object} params Event parameters
2307
+ * @param {object} params.event Event object
2308
+ * @param {Core.Base} params.event.source The Object that is being destroyed.
2309
+ */
2310
+ (e: 'destroy', params: ((event: { source: Base }) => void)|string): void
2311
+ /**
2312
+ * Fires when a field is mutated and the state of the [hasChanges](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#property-hasChanges) property changes
2313
+ * @param {string} e Event name
2314
+ * @param {object} params Event parameters
2315
+ * @param {object} params.event Event object
2316
+ * @param {Core.widget.Container} params.event.source The container.
2317
+ * @param {boolean} params.event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.
2318
+ */
2319
+ (e: 'dirtyStateChange', params: ((event: { source: Container, dirty: boolean }) => void)|string): void
2320
+ /**
2321
+ * Fires while drag selecting. UI will update with current range, but the cells will not be selected until
2322
+ * mouse up. This event can be listened for to perform actions while drag selecting.
2323
+ * @param {string} e Event name
2324
+ * @param {object} params Event parameters
2325
+ * @param {object} params.event Event object
2326
+ * @param {Grid.view.Grid} params.event.source
2327
+ * @param {GridLocationConfig[],Grid.util.GridLocation[]} params.event.selectedCells The cells that is currently being dragged over
2328
+ * @param {Core.data.Model[]} params.event.selectedRecords The records that is currently being dragged over
2329
+ */
2330
+ (e: 'dragSelecting', params: ((event: { source: Grid, selectedCells: GridLocationConfig[]|GridLocation[], selectedRecords: Model[] }) => void)|string): void
2331
+ /**
2332
+ * Triggered when a widget's [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element) is available.
2333
+ * @param {string} e Event name
2334
+ * @param {object} params Event parameters
2335
+ * @param {object} params.event Event object
2336
+ * @param {HTMLElement} params.event.element The Widget's element.
2337
+ */
2338
+ (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
2339
+ /**
2340
+ * Fires when a Panel is expanded using the [collapsible](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsible) setting.
2341
+ * @param {string} e Event name
2342
+ * @param {object} params Event parameters
2343
+ * @param {object} params.event Event object
2344
+ * @param {Core.widget.Panel} params.event.source This Panel.
2345
+ */
2346
+ (e: 'expand', params: ((event: { source: Panel }) => void)|string): void
2347
+ /**
2348
+ * Fired after a parent node record is expanded.
2349
+ * @param {string} e Event name
2350
+ * @param {object} params Event parameters
2351
+ * @param {object} params.event Event object
2352
+ * @param {Grid.view.Grid} params.event.source The firing Grid instance.
2353
+ * @param {Core.data.Model} params.event.record The record which has been expanded.
2354
+ */
2355
+ (e: 'expandNode', params: ((event: { source: Grid, record: Model }) => void)|string): void
2356
+ /**
2357
+ * Fired when a file is dropped on the widget element
2358
+ * @param {string} e Event name
2359
+ * @param {object} params Event parameters
2360
+ * @param {object} params.event Event object
2361
+ * @param {Grid.view.Grid} params.event.source The owning Grid instance
2362
+ * @param {DataTransferItem} params.event.file The dropped file descriptor
2363
+ * @param {DragEvent} params.event.domEvent The native DragEvent
2364
+ */
2365
+ (e: 'fileDrop', params: ((event: { source: Grid, file: DataTransferItem, domEvent: DragEvent }) => void)|string): void
2366
+ /**
2367
+ * Fired before the FillHandle dragging is finalized and values are applied to cells, return `false` to prevent the
2368
+ * drag operation from applying data changes.
2369
+ * @param {string} e Event name
2370
+ * @param {object} params Event parameters
2371
+ * @param {object} params.event Event object
2372
+ * @param {Grid.util.GridLocation} params.event.from The from cell
2373
+ * @param {Grid.util.GridLocation} params.event.to The to cell
2374
+ * @param {MouseEvent} params.event.domEvent The raw DOM event
2375
+ */
2376
+ (e: 'fillHandleBeforeDragFinalize', params: ((event: { from: GridLocation, to: GridLocation, domEvent: MouseEvent }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2377
+ /**
2378
+ * Fired while dragging the FillHandle.
2379
+ * @param {string} e Event name
2380
+ * @param {object} params Event parameters
2381
+ * @param {object} params.event Event object
2382
+ * @param {Grid.util.GridLocation} params.event.from The from cell
2383
+ * @param {Grid.util.GridLocation} params.event.to The to cell
2384
+ * @param {MouseEvent} params.event.domEvent The raw DOM event
2385
+ */
2386
+ (e: 'fillHandleDrag', params: ((event: { from: GridLocation, to: GridLocation, domEvent: MouseEvent }) => void)|string): void
2387
+ /**
2388
+ * Fired when a FillHandle drag operation is aborted.
2389
+ */
2390
+ (e: 'fillHandleDragAbort', params: (() => void)|string): void
2391
+ /**
2392
+ * Fired after a FillHandle drag operation.
2393
+ * @param {string} e Event name
2394
+ * @param {object} params Event parameters
2395
+ * @param {object} params.event Event object
2396
+ * @param {Grid.util.GridLocation} params.event.from The from cell
2397
+ * @param {Grid.util.GridLocation} params.event.to The to cell
2398
+ * @param {MouseEvent} params.event.domEvent The raw DOM event
2399
+ */
2400
+ (e: 'fillHandleDragEnd', params: ((event: { from: GridLocation, to: GridLocation, domEvent: MouseEvent }) => void)|string): void
2401
+ /**
2402
+ * Fired when dragging of the FillHandle starts.
2403
+ * @param {string} e Event name
2404
+ * @param {object} params Event parameters
2405
+ * @param {object} params.event Event object
2406
+ * @param {Grid.util.GridLocation} params.event.cell Information about the column / record
2407
+ * @param {MouseEvent} params.event.domEvent The raw DOM event
2408
+ */
2409
+ (e: 'fillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2410
+ /**
2411
+ * Fires on the owning Grid when cell editing is finished
2412
+ * @param {string} e Event name
2413
+ * @param {object} params Event parameters
2414
+ * @param {object} params.event Event object
2415
+ * @param {Grid.view.Grid} params.event.grid Target grid
2416
+ * @param {CellEditorContext} params.event.editorContext Editing context
2417
+ */
2418
+ (e: 'finishCellEdit', params: ((event: { grid: Grid, editorContext: CellEditorContext }) => void)|string): void
2419
+ /**
2420
+ * Fires on the owning Grid before the row editing is finished, return false to signal that the value is invalid and editing should not be finalized.
2421
+ * ...
2422
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#event-finishRowEdit)
2423
+ * @param {string} e Event name
2424
+ * @param {object} params Event parameters
2425
+ * @param {object} params.event Event object
2426
+ * @param {Grid.view.Grid} params.event.grid Target grid
2427
+ * @param {RowEditorContext} params.event.editorContext Editing context
2428
+ */
2429
+ (e: 'finishRowEdit', params: ((event: { grid: Grid, editorContext: RowEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2430
+ /**
2431
+ * Fired when focus enters this Widget.
2432
+ * @param {string} e Event name
2433
+ * @param {object} params Event parameters
2434
+ * @param {object} params.event Event object
2435
+ * @param {Core.widget.Widget} params.event.source This Widget
2436
+ * @param {HTMLElement} params.event.fromElement The element which lost focus.
2437
+ * @param {HTMLElement} params.event.toElement The element which gained focus.
2438
+ * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
2439
+ * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
2440
+ * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
2441
+ */
2442
+ (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
2443
+ /**
2444
+ * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
2445
+ * focus moving from within this Widget's ownership tree, even if there are floating widgets
2446
+ * will not trigger this event. This is when focus exits this widget completely.
2447
+ * @param {string} e Event name
2448
+ * @param {object} params Event parameters
2449
+ * @param {object} params.event Event object
2450
+ * @param {Core.widget.Widget} params.event.source This Widget
2451
+ * @param {HTMLElement} params.event.fromElement The element which lost focus.
2452
+ * @param {HTMLElement} params.event.toElement The element which gained focus.
2453
+ * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
2454
+ * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
2455
+ * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
2456
+ */
2457
+ (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
2458
+ /**
2459
+ * Fired before dragging starts, return false to prevent the drag operation.
2460
+ * @param {string} e Event name
2461
+ * @param {object} params Event parameters
2462
+ * @param {object} params.event Event object
2463
+ * @param {Grid.view.GridBase} params.event.source
2464
+ * @param {object} params.event.context
2465
+ * @param {Core.data.Model[]} params.event.context.records The dragged row records
2466
+ * @param {MouseEvent,TouchEvent} params.event.event
2467
+ */
2468
+ (e: 'gridRowBeforeDragStart', params: ((event: { source: GridBase, context: { records: Model[] }, event: MouseEvent|TouchEvent }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2469
+ /**
2470
+ * Fired before the row drop operation is finalized. You can return false to abort the drop operation, or a
2471
+ * Promise yielding `true` / `false` which allows for asynchronous abort (e.g. first show user a confirmation dialog).
2472
+ * @param {string} e Event name
2473
+ * @param {object} params Event parameters
2474
+ * @param {object} params.event Event object
2475
+ * @param {Grid.view.GridBase} params.event.source
2476
+ * @param {object} params.event.context
2477
+ * @param {boolean} params.event.context.valid Set this to true or false to indicate whether the drop position is valid
2478
+ * @param {Core.data.Model} params.event.context.insertBefore The record to insert before (`null` if inserting at last position of a parent node)
2479
+ * @param {Core.data.Model} params.event.context.parent The parent record of the current drop position (only applicable for trees)
2480
+ * @param {Core.data.Model[]} params.event.context.records The dragged row records
2481
+ * @param {RecordPositionContext[]} params.event.context.oldPositionContext An array of objects with information about the previous tree position. Objects contain the `record`, and its original `parentIndex` and `parentId` values
2482
+ * @param {MouseEvent} params.event.event
2483
+ */
2484
+ (e: 'gridRowBeforeDropFinalize', params: ((event: { source: GridBase, context: { valid: boolean, insertBefore: Model, parent: Model, records: Model[], oldPositionContext: RecordPositionContext[] }, event: MouseEvent }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2485
+ /**
2486
+ * Fired while the row is being dragged, in the listener function you have access to `context.insertBefore` a grid /
2487
+ * tree record, and additionally `context.parent` (a TreeNode) for trees. You can signal that the drop position is
2488
+ * valid or invalid by setting `context.valid = false;`
2489
+ * @param {string} e Event name
2490
+ * @param {object} params Event parameters
2491
+ * @param {object} params.event Event object
2492
+ * @param {Grid.view.GridBase} params.event.source
2493
+ * @param {object} params.event.context
2494
+ * @param {boolean} params.event.context.valid Set this to true or false to indicate whether the drop position is valid.
2495
+ * @param {Core.data.Model} params.event.context.insertBefore The record to insert before (`null` if inserting at last position of a parent node)
2496
+ * @param {Core.data.Model} params.event.context.parent The parent record of the current drop position (only applicable for trees)
2497
+ * @param {Core.data.Model[]} params.event.context.records The dragged row records
2498
+ * @param {MouseEvent} params.event.event
2499
+ */
2500
+ (e: 'gridRowDrag', params: ((event: { source: GridBase, context: { valid: boolean, insertBefore: Model, parent: Model, records: Model[] }, event: MouseEvent }) => void)|string): void
2501
+ /**
2502
+ * Fired when a row drag operation is aborted
2503
+ * @param {string} e Event name
2504
+ * @param {object} params Event parameters
2505
+ * @param {object} params.event Event object
2506
+ * @param {Grid.view.GridBase} params.event.source
2507
+ * @param {object} params.event.context
2508
+ * @param {Core.data.Model[]} params.event.context.records The dragged row records
2509
+ * @param {MouseEvent} params.event.event
2510
+ */
2511
+ (e: 'gridRowDragAbort', params: ((event: { source: GridBase, context: { records: Model[] }, event: MouseEvent }) => void)|string): void
2512
+ /**
2513
+ * Fired when dragging starts.
2514
+ * @param {string} e Event name
2515
+ * @param {object} params Event parameters
2516
+ * @param {object} params.event Event object
2517
+ * @param {Grid.view.GridBase} params.event.source
2518
+ * @param {object} params.event.context
2519
+ * @param {Core.data.Model[]} params.event.context.records The dragged row records
2520
+ * @param {MouseEvent,TouchEvent} params.event.event
2521
+ */
2522
+ (e: 'gridRowDragStart', params: ((event: { source: GridBase, context: { records: Model[] }, event: MouseEvent|TouchEvent }) => void)|string): void
2523
+ /**
2524
+ * Fired after the row drop operation has completed, regardless of validity
2525
+ * @param {string} e Event name
2526
+ * @param {object} params Event parameters
2527
+ * @param {object} params.event Event object
2528
+ * @param {Grid.view.GridBase} params.event.source
2529
+ * @param {object} params.event.context
2530
+ * @param {boolean} params.event.context.valid true or false depending on whether the drop position was valid
2531
+ * @param {Core.data.Model} params.event.context.insertBefore The record to insert before (`null` if inserting at last position of a parent node)
2532
+ * @param {Core.data.Model} params.event.context.parent The parent record of the current drop position (only applicable for trees)
2533
+ * @param {Core.data.Model[]} params.event.context.records The dragged row records
2534
+ * @param {RecordPositionContext[]} params.event.context.oldPositionContext An array of objects with information about the previous tree position. Objects contain the record, and its original `parentIndex` and `parentId` values
2535
+ * @param {MouseEvent} params.event.event
2536
+ */
2537
+ (e: 'gridRowDrop', params: ((event: { source: GridBase, context: { valid: boolean, insertBefore: Model, parent: Model, records: Model[], oldPositionContext: RecordPositionContext[] }, event: MouseEvent }) => void)|string): void
2538
+ /**
2539
+ * Fired when a grid header is clicked on.
2540
+ * ...
2541
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#event-headerClick)
2542
+ * @param {string} e Event name
2543
+ * @param {object} params Event parameters
2544
+ * @param {object} params.event Event object
2545
+ * @param {Event} params.event.domEvent The triggering DOM event.
2546
+ * @param {Grid.column.Column} params.event.column The column clicked on.
2547
+ */
2548
+ (e: 'headerClick', params: ((event: { domEvent: Event, column: Column }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2549
+ /**
2550
+ * This event fires on the owning Grid before the context menu is shown for a header.
2551
+ * Allows manipulation of the items to show in the same way as in the [processItems](https://bryntum.com/products/calendar/docs/api/Grid/feature/HeaderMenu#config-processItems).
2552
+ * ...
2553
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#event-headerMenuBeforeShow)
2554
+ * @param {string} e Event name
2555
+ * @param {object} params Event parameters
2556
+ * @param {object} params.event Event object
2557
+ * @param {Grid.view.Grid} params.event.source The grid
2558
+ * @param {Core.widget.Menu} params.event.menu The menu
2559
+ * @param {Record<string, MenuItemEntry>} params.event.items Menu item configs
2560
+ * @param {Grid.column.Column} params.event.column Column
2561
+ */
2562
+ (e: 'headerMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2563
+ /**
2564
+ * This event fires on the owning Grid when an item is selected in the header context menu.
2565
+ * @param {string} e Event name
2566
+ * @param {object} params Event parameters
2567
+ * @param {object} params.event Event object
2568
+ * @param {Grid.view.Grid} params.event.source The grid
2569
+ * @param {Core.widget.Menu} params.event.menu The menu
2570
+ * @param {Core.widget.MenuItem} params.event.item Selected menu item
2571
+ * @param {Grid.column.Column} params.event.column Column
2572
+ */
2573
+ (e: 'headerMenuItem', params: ((event: { source: Grid, menu: Menu, item: MenuItem, column: Column }) => void)|string): void
2574
+ /**
2575
+ * This event fires on the owning Grid after the context menu is shown for a header
2576
+ * @param {string} e Event name
2577
+ * @param {object} params Event parameters
2578
+ * @param {object} params.event Event object
2579
+ * @param {Grid.view.Grid} params.event.source The grid
2580
+ * @param {Core.widget.Menu} params.event.menu The menu
2581
+ * @param {Record<string, MenuItemEntry>} params.event.items Menu item configs
2582
+ * @param {Grid.column.Column} params.event.column Column
2583
+ */
2584
+ (e: 'headerMenuShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) => void)|string): void
2585
+ /**
2586
+ * This event fires on the owning Grid when a check item is toggled in the header context menu.
2587
+ * @param {string} e Event name
2588
+ * @param {object} params Event parameters
2589
+ * @param {object} params.event Event object
2590
+ * @param {Grid.view.Grid} params.event.source The grid
2591
+ * @param {Core.widget.Menu} params.event.menu The menu
2592
+ * @param {Core.widget.MenuItem} params.event.item Selected menu item
2593
+ * @param {Grid.column.Column} params.event.column Column
2594
+ * @param {boolean} params.event.checked Checked or not
2595
+ */
2596
+ (e: 'headerMenuToggleItem', params: ((event: { source: Grid, menu: Menu, item: MenuItem, column: Column, checked: boolean }) => void)|string): void
2597
+ /**
2598
+ * Triggered after a widget was hidden
2599
+ * @param {string} e Event name
2600
+ * @param {object} params Event parameters
2601
+ * @param {object} params.event Event object
2602
+ * @param {Core.widget.Widget} params.event.source The widget
2603
+ */
2604
+ (e: 'hide', params: ((event: { source: Widget }) => void)|string): void
2605
+ /**
2606
+ * Fires after the component retrieves a record's histogram data and stores
2607
+ * it into the cache.
2608
+ * ...
2609
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#event-histogramDataCacheSet)
2610
+ * @param {string} e Event name
2611
+ * @param {object} params Event parameters
2612
+ * @param {object} params.event Event object
2613
+ * @param {Scheduler.view.TimelineHistogram} params.event.source The component instance
2614
+ * @param {Core.data.Model} params.event.record Record the histogram data of which is ready.
2615
+ * @param {object} params.event.data The record histogram data.
2616
+ */
2617
+ (e: 'histogramDataCacheSet', params: ((event: { source: TimelineHistogram, record: Model, data: object }) => void)|string): void
2618
+ /**
2619
+ * Fires when row locking is enabled.
2620
+ * @param {string} e Event name
2621
+ * @param {object} params Event parameters
2622
+ * @param {object} params.event Event object
2623
+ * @param {Grid.view.GridBase} params.event.clone The created clone
2624
+ */
2625
+ (e: 'lockRows', params: ((event: { clone: GridBase }) => void)|string): void
2626
+ /**
2627
+ * Mouse moved out from element in grid
2628
+ * @param {string} e Event name
2629
+ * @param {object} params Event parameters
2630
+ * @param {object} params.event Event object
2631
+ * @param {MouseEvent} params.event.event The native browser event
2632
+ */
2633
+ (e: 'mouseOut', params: ((event: { event: MouseEvent }) => void)|string): void
2634
+ /**
2635
+ * Mouse moved in over element in grid
2636
+ * @param {string} e Event name
2637
+ * @param {object} params Event parameters
2638
+ * @param {object} params.event Event object
2639
+ * @param {MouseEvent} params.event.event The native browser event
2640
+ */
2641
+ (e: 'mouseOver', params: ((event: { event: MouseEvent }) => void)|string): void
2642
+ /**
2643
+ * Fires when the requested date range cannot fit into any zoom level higher than the current level.
2644
+ * @param {string} e Event name
2645
+ * @param {object} params Event parameters
2646
+ * @param {object} params.event Event object
2647
+ * @param {number} params.event.currentZoomLevel The current zoom level
2648
+ * @param {Date} params.event.startDate The requested start date
2649
+ * @param {Date} params.event.endDate The requested end date
2650
+ */
2651
+ (e: 'noZoomChange', params: ((event: { currentZoomLevel: number, startDate: Date, endDate: Date }) => void)|string): void
2652
+ /**
2653
+ * Triggered when a widget which had been in a non-visible state for any reason
2654
+ * achieves visibility.
2655
+ * ...
2656
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#event-paint)
2657
+ * @param {string} e Event name
2658
+ * @param {object} params Event parameters
2659
+ * @param {object} params.event Event object
2660
+ * @param {Core.widget.Widget} params.event.source The widget being painted.
2661
+ * @param {boolean} params.event.firstPaint `true` if this is the first paint.
2662
+ */
2663
+ (e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
2664
+ /**
2665
+ * Fires on the owning Grid after a paste action is performed.
2666
+ * @param {string} e Event name
2667
+ * @param {object} params Event parameters
2668
+ * @param {object} params.event Event object
2669
+ * @param {Grid.view.Grid} params.event.source Owner grid
2670
+ * @param {string} params.event.clipboardData The clipboardData that was pasted
2671
+ * @param {Core.data.Model[]} params.event.modifiedRecords The records which have been modified due to the paste action
2672
+ * @param {Grid.util.GridLocation} params.event.targetCell The cell from which the paste will be started
2673
+ * @param {string} params.event.entityName 'cell' to distinguish this event from other paste events
2674
+ */
2675
+ (e: 'paste', params: ((event: { source: Grid, clipboardData: string, modifiedRecords: Model[], targetCell: GridLocation, entityName: string }) => void)|string): void
2676
+ /**
2677
+ * Fires on the owning Grid when export has finished
2678
+ * @param {string} e Event name
2679
+ * @param {object} params Event parameters
2680
+ * @param {object} params.event Event object
2681
+ * @param {Response} params.event.response Optional response, if received
2682
+ * @param {Error} params.event.error Optional error, if exception occurred
2683
+ */
2684
+ (e: 'pdfExport', params: ((event: { response?: any, error?: Error }) => void)|string): void
2685
+ /**
2686
+ * Fired after the [viewPreset](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/TimelineViewPresets#config-viewPreset) has changed.
2687
+ * @param {string} e Event name
2688
+ * @param {object} params Event parameters
2689
+ * @param {object} params.event Event object
2690
+ * @param {Scheduler.view.Scheduler} params.event.source This Scheduler instance.
2691
+ * @param {Date} params.event.startDate The new start date of the timeline.
2692
+ * @param {Date} params.event.centerDate The new center date of the timeline.
2693
+ * @param {Date} params.event.endDate The new end date of the timeline.
2694
+ * @param {Scheduler.preset.ViewPreset} params.event.from The outgoing ViewPreset.
2695
+ * @param {Scheduler.preset.ViewPreset} params.event.to The ViewPreset being switched to.
2696
+ */
2697
+ (e: 'presetChange', params: ((event: { source: Scheduler, startDate: Date, centerDate: Date, endDate: Date, from: ViewPreset, to: ViewPreset }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2698
+ /**
2699
+ * Fired when a Widget's read only state is toggled
2700
+ * @param {string} e Event name
2701
+ * @param {object} params Event parameters
2702
+ * @param {object} params.event Event object
2703
+ * @param {boolean} params.event.readOnly Read only or not
2704
+ */
2705
+ (e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
2706
+ /**
2707
+ * This event is fired after a widget's elements have been synchronized due to a direct or indirect call
2708
+ * to [recompose](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#function-recompose), if this results in some change to the widget's rendered DOM elements.
2709
+ */
2710
+ (e: 'recompose', params: (() => void)|string): void
2711
+ /**
2712
+ * Fires after a row is rendered.
2713
+ * @param {string} e Event name
2714
+ * @param {object} params Event parameters
2715
+ * @param {object} params.event Event object
2716
+ * @param {Grid.view.Grid} params.event.source The firing Grid instance.
2717
+ * @param {Grid.row.Row} params.event.row The row that has been rendered.
2718
+ * @param {Core.data.Model} params.event.record The record for the row.
2719
+ * @param {number} params.event.recordIndex The zero-based index of the record.
2720
+ */
2721
+ (e: 'renderRow', params: ((event: { source: Grid, row: Row, record: Model, recordIndex: number }) => void)|string): void
2722
+ /**
2723
+ * Grid rows have been rendered
2724
+ * @param {string} e Event name
2725
+ * @param {object} params Event parameters
2726
+ * @param {object} params.event Event object
2727
+ * @param {Grid.view.Grid} params.event.source This grid.
2728
+ */
2729
+ (e: 'renderRows', params: ((event: { source: Grid }) => void)|string): void
2730
+ /**
2731
+ * Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
2732
+ * @param {string} e Event name
2733
+ * @param {object} params Event parameters
2734
+ * @param {object} params.event Event object
2735
+ * @param {Core.widget.Widget} params.event.source This Widget
2736
+ * @param {number} params.event.width The new width
2737
+ * @param {number} params.event.height The new height
2738
+ * @param {number} params.event.oldWidth The old width
2739
+ * @param {number} params.event.oldHeight The old height
2740
+ */
2741
+ (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
2742
+ /**
2743
+ * This event fires on the owning scheduler before the context menu is shown for a resource.
2744
+ * Allows manipulation of the items to show in the same way as in the [processItems](https://bryntum.com/products/calendar/docs/api/Scheduler/feature/ResourceMenu#config-processItems).
2745
+ * ...
2746
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#event-resourceMenuBeforeShow)
2747
+ * @param {string} e Event name
2748
+ * @param {object} params Event parameters
2749
+ * @param {object} params.event Event object
2750
+ * @param {Scheduler.view.Scheduler} params.event.source The grid
2751
+ * @param {Core.widget.Menu} params.event.menu The menu
2752
+ * @param {Record<string, MenuItemEntry>} params.event.items Menu item configs
2753
+ * @param {Grid.column.Column} params.event.column Column
2754
+ * @param {Scheduler.model.ResourceModel} params.event.resourceRecord Record
2755
+ */
2756
+ (e: 'resourceMenuBeforeShow', params: ((event: { source: Scheduler, menu: Menu, items: Record<string, MenuItemEntry>, column: Column, resourceRecord: ResourceModel }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2757
+ /**
2758
+ * This event fires on the owning scheduler when an item is selected in the context menu.
2759
+ * @param {string} e Event name
2760
+ * @param {object} params Event parameters
2761
+ * @param {object} params.event Event object
2762
+ * @param {Scheduler.view.Scheduler} params.event.source The grid
2763
+ * @param {Core.widget.Menu} params.event.menu The menu
2764
+ * @param {Core.widget.MenuItem} params.event.item Selected menu item
2765
+ * @param {Scheduler.model.ResourceModel} params.event.record Record
2766
+ */
2767
+ (e: 'resourceMenuItem', params: ((event: { source: Scheduler, menu: Menu, item: MenuItem, record: ResourceModel }) => void)|string): void
2768
+ /**
2769
+ * This event fires on the owning scheduler after the context menu is shown for a resource.
2770
+ * @param {string} e Event name
2771
+ * @param {object} params Event parameters
2772
+ * @param {object} params.event Event object
2773
+ * @param {Scheduler.view.Scheduler} params.event.source The grid
2774
+ * @param {Core.widget.Menu} params.event.menu The menu
2775
+ * @param {Record<string, MenuItemEntry>} params.event.items Menu item configs
2776
+ * @param {Scheduler.model.ResourceModel} params.event.record Record
2777
+ */
2778
+ (e: 'resourceMenuShow', params: ((event: { source: Scheduler, menu: Menu, items: Record<string, MenuItemEntry>, record: ResourceModel }) => void)|string): void
2779
+ /**
2780
+ * This event fires on the owning grid when a check item is toggled in the context menu.
2781
+ * @param {string} e Event name
2782
+ * @param {object} params Event parameters
2783
+ * @param {object} params.event Event object
2784
+ * @param {Scheduler.view.Scheduler} params.event.source The grid
2785
+ * @param {Core.widget.Menu} params.event.menu The menu
2786
+ * @param {Core.widget.MenuItem} params.event.item Selected menu item
2787
+ * @param {Scheduler.model.ResourceModel} params.event.resourceRecord Record
2788
+ * @param {boolean} params.event.checked Checked or not
2789
+ */
2790
+ (e: 'resourceMenuToggleItem', params: ((event: { source: Scheduler, menu: Menu, item: MenuItem, resourceRecord: ResourceModel, checked: boolean }) => void)|string): void
2791
+ /**
2792
+ * Triggered for click on a resource time range. Only triggered if the ResourceTimeRange feature is configured with
2793
+ * `enableMouseEvents: true`.
2794
+ * @param {string} e Event name
2795
+ * @param {object} params Event parameters
2796
+ * @param {object} params.event Event object
2797
+ * @param {Scheduler.view.Scheduler} params.event.source This Scheduler
2798
+ * @param {Scheduler.feature.ResourceTimeRanges} params.event.feature The ResourceTimeRange feature
2799
+ * @param {Scheduler.model.ResourceTimeRangeModel} params.event.resourceTimeRangeRecord Resource time range record
2800
+ * @param {Scheduler.model.ResourceModel} params.event.resourceRecord Resource record
2801
+ * @param {MouseEvent} params.event.domEvent Browser event
2802
+ */
2803
+ (e: 'resourceTimeRangeClick', params: ((event: { source: Scheduler, feature: ResourceTimeRanges, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: ResourceModel, domEvent: MouseEvent }) => void)|string): void
2804
+ /**
2805
+ * Triggered for right-click on a resource time range. Only triggered if the ResourceTimeRange feature is configured
2806
+ * with `enableMouseEvents: true`.
2807
+ * @param {string} e Event name
2808
+ * @param {object} params Event parameters
2809
+ * @param {object} params.event Event object
2810
+ * @param {Scheduler.view.Scheduler} params.event.source This Scheduler
2811
+ * @param {Scheduler.feature.ResourceTimeRanges} params.event.feature The ResourceTimeRange feature
2812
+ * @param {Scheduler.model.ResourceTimeRangeModel} params.event.resourceTimeRangeRecord Resource time range record
2813
+ * @param {Scheduler.model.ResourceModel} params.event.resourceRecord Resource record
2814
+ * @param {MouseEvent} params.event.domEvent Browser event
2815
+ */
2816
+ (e: 'resourceTimeRangeContextMenu', params: ((event: { source: Scheduler, feature: ResourceTimeRanges, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: ResourceModel, domEvent: MouseEvent }) => void)|string): void
2817
+ /**
2818
+ * Triggered for double-click on a resource time range. Only triggered if the ResourceTimeRange feature is configured
2819
+ * with `enableMouseEvents: true`.
2820
+ * @param {string} e Event name
2821
+ * @param {object} params Event parameters
2822
+ * @param {object} params.event Event object
2823
+ * @param {Scheduler.view.Scheduler} params.event.source This Scheduler
2824
+ * @param {Scheduler.feature.ResourceTimeRanges} params.event.feature The ResourceTimeRange feature
2825
+ * @param {Scheduler.model.ResourceTimeRangeModel} params.event.resourceTimeRangeRecord Resource time range record
2826
+ * @param {Scheduler.model.ResourceModel} params.event.resourceRecord Resource record
2827
+ * @param {MouseEvent} params.event.domEvent Browser event
2828
+ */
2829
+ (e: 'resourceTimeRangeDblClick', params: ((event: { source: Scheduler, feature: ResourceTimeRanges, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: ResourceModel, domEvent: MouseEvent }) => void)|string): void
2830
+ /**
2831
+ * Triggered for mouse down ona resource time range. Only triggered if the ResourceTimeRange feature is configured
2832
+ * with `enableMouseEvents: true`.
2833
+ * @param {string} e Event name
2834
+ * @param {object} params Event parameters
2835
+ * @param {object} params.event Event object
2836
+ * @param {Scheduler.view.Scheduler} params.event.source This Scheduler
2837
+ * @param {Scheduler.feature.ResourceTimeRanges} params.event.feature The ResourceTimeRange feature
2838
+ * @param {Scheduler.model.ResourceTimeRangeModel} params.event.resourceTimeRangeRecord Resource time range record
2839
+ * @param {Scheduler.model.ResourceModel} params.event.resourceRecord Resource record
2840
+ * @param {MouseEvent} params.event.domEvent Browser event
2841
+ */
2842
+ (e: 'resourceTimeRangeMouseDown', params: ((event: { source: Scheduler, feature: ResourceTimeRanges, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: ResourceModel, domEvent: MouseEvent }) => void)|string): void
2843
+ /**
2844
+ * Triggered for mouse out of a resource time range. Only triggered if the ResourceTimeRange feature is configured
2845
+ * with `enableMouseEvents: true`.
2846
+ * @param {string} e Event name
2847
+ * @param {object} params Event parameters
2848
+ * @param {object} params.event Event object
2849
+ * @param {Scheduler.view.Scheduler} params.event.source This Scheduler
2850
+ * @param {Scheduler.feature.ResourceTimeRanges} params.event.feature The ResourceTimeRange feature
2851
+ * @param {Scheduler.model.ResourceTimeRangeModel} params.event.resourceTimeRangeRecord Resource time range record
2852
+ * @param {Scheduler.model.ResourceModel} params.event.resourceRecord Resource record
2853
+ * @param {MouseEvent} params.event.domEvent Browser event
2854
+ */
2855
+ (e: 'resourceTimeRangeMouseOut', params: ((event: { source: Scheduler, feature: ResourceTimeRanges, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: ResourceModel, domEvent: MouseEvent }) => void)|string): void
2856
+ /**
2857
+ * Triggered for mouse over on a resource time range. Only triggered if the ResourceTimeRange feature is configured
2858
+ * with `enableMouseEvents: true`.
2859
+ * @param {string} e Event name
2860
+ * @param {object} params Event parameters
2861
+ * @param {object} params.event Event object
2862
+ * @param {Scheduler.view.Scheduler} params.event.source This Scheduler
2863
+ * @param {Scheduler.feature.ResourceTimeRanges} params.event.feature The ResourceTimeRange feature
2864
+ * @param {Scheduler.model.ResourceTimeRangeModel} params.event.resourceTimeRangeRecord Resource time range record
2865
+ * @param {Scheduler.model.ResourceModel} params.event.resourceRecord Resource record
2866
+ * @param {MouseEvent} params.event.domEvent Browser event
2867
+ */
2868
+ (e: 'resourceTimeRangeMouseOver', params: ((event: { source: Scheduler, feature: ResourceTimeRanges, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: ResourceModel, domEvent: MouseEvent }) => void)|string): void
2869
+ /**
2870
+ * Triggered for mouse up ona resource time range. Only triggered if the ResourceTimeRange feature is configured
2871
+ * with `enableMouseEvents: true`.
2872
+ * @param {string} e Event name
2873
+ * @param {object} params Event parameters
2874
+ * @param {object} params.event Event object
2875
+ * @param {Scheduler.view.Scheduler} params.event.source This Scheduler
2876
+ * @param {Scheduler.feature.ResourceTimeRanges} params.event.feature The ResourceTimeRange feature
2877
+ * @param {Scheduler.model.ResourceTimeRangeModel} params.event.resourceTimeRangeRecord Resource time range record
2878
+ * @param {Scheduler.model.ResourceModel} params.event.resourceRecord Resource record
2879
+ * @param {MouseEvent} params.event.domEvent Browser event
2880
+ */
2881
+ (e: 'resourceTimeRangeMouseUp', params: ((event: { source: Scheduler, feature: ResourceTimeRanges, resourceTimeRangeRecord: ResourceTimeRangeModel, resourceRecord: ResourceModel, domEvent: MouseEvent }) => void)|string): void
2882
+ /**
2883
+ * Grid resize lead to a new responsive level being applied
2884
+ * @param {string} e Event name
2885
+ * @param {object} params Event parameters
2886
+ * @param {object} params.event Event object
2887
+ * @param {Grid.view.Grid} params.event.grid Grid that was resized
2888
+ * @param {string} params.event.level New responsive level (small, large, etc)
2889
+ * @param {number} params.event.width New width in px
2890
+ * @param {string} params.event.oldLevel Old responsive level
2891
+ * @param {number} params.event.oldWidth Old width in px
2892
+ */
2893
+ (e: 'responsive', params: ((event: { grid: Grid, level: string, width: number, oldLevel: string, oldWidth: number }) => void)|string): void
2894
+ /**
2895
+ * This event fires when a row has finished collapsing.
2896
+ * @param {string} e Event name
2897
+ * @param {object} params Event parameters
2898
+ * @param {object} params.event Event object
2899
+ * @param {Core.data.Model} params.event.record Record
2900
+ */
2901
+ (e: 'rowCollapse', params: ((event: { record: Model }) => void)|string): void
2902
+ /**
2903
+ * This event fires when a row expand has finished expanding.
2904
+ * ...
2905
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#event-rowExpand)
2906
+ * @param {string} e Event name
2907
+ * @param {object} params Event parameters
2908
+ * @param {object} params.event Event object
2909
+ * @param {Core.data.Model} params.event.record Record
2910
+ * @param {object} params.event.expandedElements An object with the Grid region name as property and the expanded body element as value
2911
+ * @param {Core.widget.Widget} params.event.widget In case of expanding a Widget, this will be a reference to the instance created by the actual expansion. If there is multiple Grid regions, use the `widgets` param instead.
2912
+ * @param {object} params.event.widgets In case of expanding a Widget, this will be an object with the Grid region name as property and the reference to the widget instance created by the actual expansion
2913
+ */
2914
+ (e: 'rowExpand', params: ((event: { record: Model, expandedElements: object, widget: Widget, widgets: object }) => void)|string): void
2915
+ /**
2916
+ * Fired when the mouse enters a row
2917
+ * @param {string} e Event name
2918
+ * @param {object} params Event parameters
2919
+ * @param {object} params.event Event object
2920
+ * @param {Grid.view.Grid} params.event.source The grid instance
2921
+ * @param {Core.data.Model} params.event.record The record representing the hovered row
2922
+ * @param {Grid.column.Column} params.event.column The column currently hovered
2923
+ * @param {HTMLElement} params.event.cellElement The cell HTML element
2924
+ * @param {MouseEvent} params.event.event The native DOM event
2925
+ */
2926
+ (e: 'rowMouseEnter', params: ((event: { source: Grid, record: Model, column: Column, cellElement: HTMLElement, event: MouseEvent }) => void)|string): void
2927
+ /**
2928
+ * Fired when the mouse leaves a row
2929
+ * @param {string} e Event name
2930
+ * @param {object} params Event parameters
2931
+ * @param {object} params.event Event object
2932
+ * @param {Grid.view.Grid} params.event.source The grid instance
2933
+ * @param {Core.data.Model} params.event.record The record representing the row that the mouse left
2934
+ * @param {HTMLElement} params.event.cellElement The cell HTML element that the mouse left
2935
+ * @param {MouseEvent} params.event.event The native DOM event
2936
+ */
2937
+ (e: 'rowMouseLeave', params: ((event: { source: Grid, record: Model, cellElement: HTMLElement, event: MouseEvent }) => void)|string): void
2938
+ /**
2939
+ * Grid has scrolled vertically
2940
+ * @param {string} e Event name
2941
+ * @param {object} params Event parameters
2942
+ * @param {object} params.event Event object
2943
+ * @param {Grid.view.Grid} params.event.source The firing Grid instance.
2944
+ * @param {number} params.event.scrollTop The vertical scroll position.
2945
+ */
2946
+ (e: 'scroll', params: ((event: { source: Grid, scrollTop: number }) => void)|string): void
2947
+ /**
2948
+ * The selection has been changed.
2949
+ * @param {string} e Event name
2950
+ * @param {object} params Event parameters
2951
+ * @param {object} params.event Event object
2952
+ * @param {'select','deselect'} params.event.action `'select'`/`'deselect'`
2953
+ * @param {'row','cell'} params.event.mode `'row'`/`'cell'`
2954
+ * @param {Grid.view.Grid} params.event.source
2955
+ * @param {Core.data.Model[]} params.event.deselected The records deselected in this operation.
2956
+ * @param {Core.data.Model[]} params.event.selected The records selected in this operation.
2957
+ * @param {Core.data.Model[]} params.event.selection The records in the new selection.
2958
+ * @param {Grid.util.GridLocation[]} params.event.deselectedCells The cells deselected in this operation.
2959
+ * @param {Grid.util.GridLocation[]} params.event.selectedCells The cells selected in this operation.
2960
+ * @param {Grid.util.GridLocation[]} params.event.cellSelection The cells in the new selection.
2961
+ */
2962
+ (e: 'selectionChange', params: ((event: { action: 'select'|'deselect', mode: 'row'|'cell', source: Grid, deselected: Model[], selected: Model[], selection: Model[], deselectedCells: GridLocation[], selectedCells: GridLocation[], cellSelection: GridLocation[] }) => void)|string): void
2963
+ /**
2964
+ * The selectionMode configuration has been changed.
2965
+ * @param {string} e Event name
2966
+ * @param {object} params Event parameters
2967
+ * @param {object} params.event Event object
2968
+ * @param {object} params.event.selectionMode The new [selectionMode](https://bryntum.com/products/calendar/docs/api/Grid/view/mixin/GridSelection#config-selectionMode)
2969
+ */
2970
+ (e: 'selectionModeChange', params: ((event: { selectionMode: object }) => void)|string): void
2971
+ /**
2972
+ * Triggered after a widget is shown.
2973
+ * @param {string} e Event name
2974
+ * @param {object} params Event parameters
2975
+ * @param {object} params.event Event object
2976
+ * @param {Core.widget.Widget} params.event.source The widget
2977
+ */
2978
+ (e: 'show', params: ((event: { source: Widget }) => void)|string): void
2979
+ /**
2980
+ * Fires when splitting the Grid.
2981
+ * @param {string} e Event name
2982
+ * @param {object} params Event parameters
2983
+ * @param {object} params.event Event object
2984
+ * @param {Grid.view.GridBase[]} params.event.subViews The sub views created by the split
2985
+ * @param {object} params.event.options The options passed to the split call
2986
+ * @param {'horizontal','vertical','both'} params.event.options.direction The direction of the split
2987
+ * @param {Grid.column.Column} params.event.options.atColumn The column to split at
2988
+ * @param {Core.data.Model} params.event.options.atRecord The record to split at
2989
+ */
2990
+ (e: 'split', params: ((event: { subViews: GridBase[], options: { direction: 'horizontal'|'vertical'|'both', atColumn: Column, atRecord: Model } }) => void)|string): void
2991
+ /**
2992
+ * Fired by the Grid when the collapse icon is clicked. Return `false` to prevent the default collapse action,
2993
+ * if you want to implement your own behavior.
2994
+ * @param {string} e Event name
2995
+ * @param {object} params Event parameters
2996
+ * @param {object} params.event Event object
2997
+ * @param {Grid.view.Grid} params.event.source The Grid instance.
2998
+ * @param {Grid.view.SubGrid} params.event.subGrid The subgrid
2999
+ * @param {Event} params.event.domEvent The native DOM event
3000
+ */
3001
+ (e: 'splitterCollapseClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
3002
+ /**
3003
+ * Fired by the Grid after a sub-grid has been resized using the splitter
3004
+ * @param {string} e Event name
3005
+ * @param {object} params Event parameters
3006
+ * @param {object} params.event Event object
3007
+ * @param {Grid.view.Grid} params.event.source The Grid instance.
3008
+ * @param {Grid.view.SubGrid} params.event.subGrid The resized subgrid
3009
+ * @param {Event} params.event.domEvent The native DOM event
3010
+ */
3011
+ (e: 'splitterDragEnd', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => void)|string): void
3012
+ /**
3013
+ * Fired by the Grid when a sub-grid resize gesture starts
3014
+ * @param {string} e Event name
3015
+ * @param {object} params Event parameters
3016
+ * @param {object} params.event Event object
3017
+ * @param {Grid.view.Grid} params.event.source The Grid instance.
3018
+ * @param {Grid.view.SubGrid} params.event.subGrid The subgrid about to be resized
3019
+ * @param {Event} params.event.domEvent The native DOM event
3020
+ */
3021
+ (e: 'splitterDragStart', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => void)|string): void
3022
+ /**
3023
+ * Fired by the Grid when the expand icon is clicked. Return `false` to prevent the default expand action,
3024
+ * if you want to implement your own behavior.
3025
+ * @param {string} e Event name
3026
+ * @param {object} params Event parameters
3027
+ * @param {object} params.event Event object
3028
+ * @param {Grid.view.Grid} params.event.source The Grid instance.
3029
+ * @param {Grid.view.SubGrid} params.event.subGrid The subgrid
3030
+ * @param {Event} params.event.domEvent The native DOM event
3031
+ */
3032
+ (e: 'splitterExpandClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
3033
+ /**
3034
+ * Fires on the owning Grid when editing starts
3035
+ * @param {string} e Event name
3036
+ * @param {object} params Event parameters
3037
+ * @param {object} params.event Event object
3038
+ * @param {Grid.view.Grid} params.event.source Owner grid
3039
+ * @param {CellEditorContext} params.event.editorContext Editing context
3040
+ */
3041
+ (e: 'startCellEdit', params: ((event: { source: Grid, editorContext: CellEditorContext }) => void)|string): void
3042
+ /**
3043
+ * Fires on the owning Grid when editing starts
3044
+ * @param {string} e Event name
3045
+ * @param {object} params Event parameters
3046
+ * @param {object} params.event Event object
3047
+ * @param {Grid.view.Grid} params.event.source Owner grid
3048
+ * @param {RowEditorContext} params.event.editorContext Editing context
3049
+ */
3050
+ (e: 'startRowEdit', params: ((event: { source: Grid, editorContext: RowEditorContext }) => void)|string): void
3051
+ /**
3052
+ * Fires after a sub grid is collapsed.
3053
+ * @param {string} e Event name
3054
+ * @param {object} params Event parameters
3055
+ * @param {object} params.event Event object
3056
+ * @param {Grid.view.Grid} params.event.source The firing Grid instance
3057
+ * @param {Grid.view.SubGrid} params.event.subGrid The sub grid instance
3058
+ */
3059
+ (e: 'subGridCollapse', params: ((event: { source: Grid, subGrid: SubGrid }) => void)|string): void
3060
+ /**
3061
+ * Fires after a sub grid is expanded.
3062
+ * @param {string} e Event name
3063
+ * @param {object} params Event parameters
3064
+ * @param {object} params.event Event object
3065
+ * @param {Grid.view.Grid} params.event.source The firing Grid instance
3066
+ * @param {Grid.view.SubGrid} params.event.subGrid The sub grid instance
3067
+ */
3068
+ (e: 'subGridExpand', params: ((event: { source: Grid, subGrid: SubGrid }) => void)|string): void
3069
+ /**
3070
+ * Fired when the tick size changes.
3071
+ * ...
3072
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#event-tickSizeChange)
3073
+ * @param {string} e Event name
3074
+ * @param {object} params Event parameters
3075
+ * @param {object} params.event Event object
3076
+ * @param {Scheduler.view.Scheduler} params.event.source This Scheduler instance.
3077
+ * @param {number} params.event.tickSize The tick size in pixels
3078
+ */
3079
+ (e: 'tickSizeChange', params: ((event: { source: Scheduler, tickSize: number }) => void)|string): void
3080
+ /**
3081
+ * Fired when the timeaxis has changed, for example by zooming or configuring a new time span.
3082
+ * @param {string} e Event name
3083
+ * @param {object} params Event parameters
3084
+ * @param {object} params.event Event object
3085
+ * @param {Scheduler.view.Scheduler} params.event.source This Scheduler
3086
+ * @param {object} params.event.config Config object used to reconfigure the time axis.
3087
+ * @param {Date} params.event.config.startDate New start date (if supplied)
3088
+ * @param {Date} params.event.config.endDate New end date (if supplied)
3089
+ */
3090
+ (e: 'timeAxisChange', params: ((event: { source: Scheduler, config: { startDate: Date, endDate: Date } }) => void)|string): void
3091
+ /**
3092
+ * Fires after a click on a time axis cell
3093
+ * @param {string} e Event name
3094
+ * @param {object} params Event parameters
3095
+ * @param {object} params.event Event object
3096
+ * @param {Scheduler.column.TimeAxisColumn,Scheduler.column.VerticalTimeAxisColumn} params.event.source The column object
3097
+ * @param {Date} params.event.startDate The start date of the header cell
3098
+ * @param {Date} params.event.endDate The end date of the header cell
3099
+ * @param {Event} params.event.event The event object
3100
+ */
3101
+ (e: 'timeAxisHeaderClick', params: ((event: { source: TimeAxisColumn|VerticalTimeAxisColumn, startDate: Date, endDate: Date, event: Event }) => void)|string): void
3102
+ /**
3103
+ * Fires after a right click on a time axis cell
3104
+ * @param {string} e Event name
3105
+ * @param {object} params Event parameters
3106
+ * @param {object} params.event Event object
3107
+ * @param {Scheduler.column.TimeAxisColumn,Scheduler.column.VerticalTimeAxisColumn} params.event.source The column object
3108
+ * @param {Date} params.event.startDate The start date of the header cell
3109
+ * @param {Date} params.event.endDate The end date of the header cell
3110
+ * @param {Event} params.event.event The event object
3111
+ */
3112
+ (e: 'timeAxisHeaderContextMenu', params: ((event: { source: TimeAxisColumn|VerticalTimeAxisColumn, startDate: Date, endDate: Date, event: Event }) => void)|string): void
3113
+ /**
3114
+ * Fires after a double click on a time axis cell
3115
+ * @param {string} e Event name
3116
+ * @param {object} params Event parameters
3117
+ * @param {object} params.event Event object
3118
+ * @param {Scheduler.column.TimeAxisColumn,Scheduler.column.VerticalTimeAxisColumn} params.event.source The column object
3119
+ * @param {Date} params.event.startDate The start date of the header cell
3120
+ * @param {Date} params.event.endDate The end date of the header cell
3121
+ * @param {Event} params.event.event The event object
3122
+ */
3123
+ (e: 'timeAxisHeaderDblClick', params: ((event: { source: TimeAxisColumn|VerticalTimeAxisColumn, startDate: Date, endDate: Date, event: Event }) => void)|string): void
3124
+ /**
3125
+ * This event fires on the owning Scheduler or Gantt widget before the context menu is shown for the time axis header.
3126
+ * Allows manipulation of the items to show in the same way as in the [processItems](https://bryntum.com/products/calendar/docs/api/Scheduler/feature/TimeAxisHeaderMenu#config-processItems).
3127
+ * ...
3128
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#event-timeAxisHeaderMenuBeforeShow)
3129
+ * @param {string} e Event name
3130
+ * @param {object} params Event parameters
3131
+ * @param {object} params.event Event object
3132
+ * @param {Scheduler.view.Scheduler} params.event.source The scheduler
3133
+ * @param {Core.widget.Menu} params.event.menu The menu
3134
+ * @param {Record<string, MenuItemEntry>} params.event.items Menu item configs
3135
+ * @param {Grid.column.Column} params.event.column Time axis column
3136
+ */
3137
+ (e: 'timeAxisHeaderMenuBeforeShow', params: ((event: { source: Scheduler, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
3138
+ /**
3139
+ * This event fires on the owning Scheduler or Gantt widget when an item is selected in the header context menu.
3140
+ * @param {string} e Event name
3141
+ * @param {object} params Event parameters
3142
+ * @param {object} params.event Event object
3143
+ * @param {Scheduler.view.Scheduler} params.event.source The scheduler
3144
+ * @param {Core.widget.Menu} params.event.menu The menu
3145
+ * @param {Core.widget.MenuItem} params.event.item Selected menu item
3146
+ * @param {Grid.column.Column} params.event.column Time axis column
3147
+ */
3148
+ (e: 'timeAxisHeaderMenuItem', params: ((event: { source: Scheduler, menu: Menu, item: MenuItem, column: Column }) => void)|string): void
3149
+ /**
3150
+ * This event fires on the owning Scheduler or Gantt widget after the context menu is shown for a header
3151
+ * @param {string} e Event name
3152
+ * @param {object} params Event parameters
3153
+ * @param {object} params.event Event object
3154
+ * @param {Scheduler.view.Scheduler} params.event.source The scheduler
3155
+ * @param {Core.widget.Menu} params.event.menu The menu
3156
+ * @param {Record<string, MenuItemEntry>} params.event.items Menu item configs
3157
+ * @param {Grid.column.Column} params.event.column Time axis column
3158
+ */
3159
+ (e: 'timeAxisHeaderMenuShow', params: ((event: { source: Scheduler, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) => void)|string): void
3160
+ /**
3161
+ * Fired when the pointer-activated [timelineContext](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/TimelineDomEvents#property-timelineContext) has changed.
3162
+ * @param {string} e Event name
3163
+ * @param {object} params Event parameters
3164
+ * @param {object} params.event Event object
3165
+ * @param {Scheduler.util.TimelineContext} params.event.oldContext The tick/resource context being deactivated.
3166
+ * @param {Scheduler.util.TimelineContext} params.event.context The tick/resource context being activated.
3167
+ */
3168
+ (e: 'timelineContextChange', params: ((event: { oldContext: TimelineContext, context: TimelineContext }) => void)|string): void
3169
+ /**
3170
+ * Fired when the *scheduler* viewport (not the overall Scheduler element) changes size.
3171
+ * This happens when the grid changes height, or when the subgrid which encapsulates the
3172
+ * scheduler column changes width.
3173
+ * @param {string} e Event name
3174
+ * @param {object} params Event parameters
3175
+ * @param {object} params.event Event object
3176
+ * @param {Core.widget.Widget} params.event.source This Scheduler
3177
+ * @param {number} params.event.width The new width
3178
+ * @param {number} params.event.height The new height
3179
+ * @param {number} params.event.oldWidth The old width
3180
+ * @param {number} params.event.oldHeight The old height
3181
+ */
3182
+ (e: 'timelineViewportResize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
3183
+ /**
3184
+ * Fired on the owning Scheduler or Gantt widget when a click happens on a time range header element
3185
+ * @param {string} e Event name
3186
+ * @param {object} params Event parameters
3187
+ * @param {object} params.event Event object
3188
+ * @param {Scheduler.view.Scheduler} params.event.source Scheduler instance
3189
+ * @param {Scheduler.model.TimeSpan} params.event.timeRangeRecord The record
3190
+ * @param {MouseEvent} params.event.domEvent Browser event
3191
+ */
3192
+ (e: 'timeRangeHeaderClick', params: ((event: { source: Scheduler, timeRangeRecord: TimeSpan, domEvent: MouseEvent }) => void)|string): void
3193
+ /**
3194
+ * Fired on the owning Scheduler or Gantt widget when a right click happens on a time range header element
3195
+ * @param {string} e Event name
3196
+ * @param {object} params Event parameters
3197
+ * @param {object} params.event Event object
3198
+ * @param {Scheduler.view.Scheduler} params.event.source Scheduler instance
3199
+ * @param {Scheduler.model.TimeSpan} params.event.timeRangeRecord The record
3200
+ * @param {MouseEvent} params.event.domEvent Browser event
3201
+ */
3202
+ (e: 'timeRangeHeaderContextMenu', params: ((event: { source: Scheduler, timeRangeRecord: TimeSpan, domEvent: MouseEvent }) => void)|string): void
3203
+ /**
3204
+ * Fired on the owning Scheduler or Gantt widget when a double click happens on a time range header element
3205
+ * @param {string} e Event name
3206
+ * @param {object} params Event parameters
3207
+ * @param {object} params.event Event object
3208
+ * @param {Scheduler.view.Scheduler} params.event.source Scheduler instance
3209
+ * @param {Scheduler.model.TimeSpan} params.event.timeRangeRecord The record
3210
+ * @param {MouseEvent} params.event.domEvent Browser event
3211
+ */
3212
+ (e: 'timeRangeHeaderDblClick', params: ((event: { source: Scheduler, timeRangeRecord: TimeSpan, domEvent: MouseEvent }) => void)|string): void
3213
+ /**
3214
+ * Fired when one or more groups are expanded or collapsed
3215
+ * @param {string} e Event name
3216
+ * @param {object} params Event parameters
3217
+ * @param {object} params.event Event object
3218
+ * @param {Core.data.Model} params.event.groupRecord [DEPRECATED] Use `groupRecords` param instead
3219
+ * @param {Core.data.Model[]} params.event.groupRecords The group records being toggled
3220
+ * @param {boolean} params.event.collapse Collapsed (true) or expanded (false)
3221
+ * @param {boolean} params.event.allRecords True if this event is part of toggling all groups
3222
+ */
3223
+ (e: 'toggleGroup', params: ((event: { groupRecord: Model, groupRecords: Model[], collapse: boolean, allRecords?: boolean }) => void)|string): void
3224
+ /**
3225
+ * Fired after a parent node record toggles its collapsed state.
3226
+ * @param {string} e Event name
3227
+ * @param {object} params Event parameters
3228
+ * @param {object} params.event Event object
3229
+ * @param {Core.data.Model} params.event.record The record being toggled.
3230
+ * @param {boolean} params.event.collapse `true` if the node is being collapsed.
3231
+ */
3232
+ (e: 'toggleNode', params: ((event: { record: Model, collapse: boolean }) => void)|string): void
3233
+ /**
3234
+ * A header [tool](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-tools) has been clicked.
3235
+ * @param {string} e Event name
3236
+ * @param {object} params Event parameters
3237
+ * @param {object} params.event Event object
3238
+ * @param {Core.widget.Tool} params.event.source This Panel.
3239
+ * @param {Core.widget.Tool} params.event.tool The tool which is being clicked.
3240
+ */
3241
+ (e: 'toolClick', params: ((event: { source: Tool, tool: Tool }) => void)|string): void
3242
+ /**
3243
+ * Fires when row locking is disabled.
3244
+ * @param {string} e Event name
3245
+ * @param {object} params Event parameters
3246
+ * @param {object} params.event Event object
3247
+ * @param {Grid.view.GridBase} params.event.clone The locked clone that will be destroyed
3248
+ */
3249
+ (e: 'unlockRows', params: ((event: { clone: GridBase }) => void)|string): void
3250
+ /**
3251
+ * Fires when un-splitting the Grid.
3252
+ */
3253
+ (e: 'unsplit', params: (() => void)|string): void
3254
+ /**
3255
+ * Fired when the range of dates visible within the viewport changes. This will be when
3256
+ * scrolling along a time axis.
3257
+ * ...
3258
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Scheduler/view/TimelineHistogram#event-visibleDateRangeChange)
3259
+ * @param {string} e Event name
3260
+ * @param {object} params Event parameters
3261
+ * @param {object} params.event Event object
3262
+ * @param {Scheduler.view.Scheduler} params.event.source This Scheduler instance.
3263
+ * @param {object} params.event.old The old date range
3264
+ * @param {Date} params.event.old.startDate the old start date.
3265
+ * @param {Date} params.event.old.endDate the old end date.
3266
+ * @param {object} params.event.new The new date range
3267
+ * @param {Date} params.event.new.startDate the new start date.
3268
+ * @param {Date} params.event.new.endDate the new end date.
3269
+ */
3270
+ (e: 'visibleDateRangeChange', params: ((event: { source: Scheduler, old: { startDate: Date, endDate: Date }, new: { startDate: Date, endDate: Date } }) => void)|string): void
3271
+ }>();
3272
+
3273
+ const widgetData = {
3274
+ instanceClass : TimelineHistogram,
3275
+ instanceName : 'TimelineHistogram',
3276
+
3277
+ isView : true,
3278
+ dataStores : {
3279
+ 'originalStore': 'originals'
3280
+ },
3281
+ projectStores : false,
3282
+ featureNames : [
3283
+ 'aiFilterFeature',
3284
+ 'cellCopyPasteFeature',
3285
+ 'cellEditFeature',
3286
+ 'cellMenuFeature',
3287
+ 'cellTooltipFeature',
3288
+ 'chartsFeature',
3289
+ 'columnAutoWidthFeature',
3290
+ 'columnDragToolbarFeature',
3291
+ 'columnLinesFeature',
3292
+ 'columnPickerFeature',
3293
+ 'columnRenameFeature',
3294
+ 'columnReorderFeature',
3295
+ 'columnResizeFeature',
3296
+ 'excelExporterFeature',
3297
+ 'fileDropFeature',
3298
+ 'fillHandleFeature',
3299
+ 'filterFeature',
3300
+ 'filterBarFeature',
3301
+ 'groupFeature',
3302
+ 'groupSummaryFeature',
3303
+ 'headerMenuFeature',
3304
+ 'headerZoomFeature',
3305
+ 'lockRowsFeature',
3306
+ 'mergeCellsFeature',
3307
+ 'nonWorkingTimeFeature',
3308
+ 'panFeature',
3309
+ 'pdfExportFeature',
3310
+ 'pinColumnsFeature',
3311
+ 'printFeature',
3312
+ 'quickFindFeature',
3313
+ 'regionResizeFeature',
3314
+ 'resourceMenuFeature',
3315
+ 'resourceTimeRangesFeature',
3316
+ 'rowCopyPasteFeature',
3317
+ 'rowEditFeature',
3318
+ 'rowExpanderFeature',
3319
+ 'rowReorderFeature',
3320
+ 'rowResizeFeature',
3321
+ 'scheduleTooltipFeature',
3322
+ 'searchFeature',
3323
+ 'sortFeature',
3324
+ 'splitFeature',
3325
+ 'stickyCellsFeature',
3326
+ 'stripeFeature',
3327
+ 'summaryFeature',
3328
+ 'timeAxisHeaderMenuFeature',
3329
+ 'timeRangesFeature',
3330
+ 'treeFeature',
3331
+ 'treeGroupFeature'
3332
+ ],
3333
+
3334
+ configNames : [
3335
+ 'adopt',
3336
+ 'aggregateDataEntry',
3337
+ 'aggregateHistogramDataForGroups',
3338
+ 'animateFilterRemovals',
3339
+ 'animateRemovingRows',
3340
+ 'ariaDescription',
3341
+ 'ariaLabel',
3342
+ 'autoAdjustTimeAxis',
3343
+ 'autoHeight',
3344
+ 'barTooltipTemplate',
3345
+ 'bbar',
3346
+ 'bodyCls',
3347
+ 'bubbleEvents',
3348
+ 'bufferCoef',
3349
+ 'bufferThreshold',
3350
+ 'collapsible',
3351
+ 'color',
3352
+ 'config',
3353
+ 'contentElementCls',
3354
+ 'contextMenuTriggerEvent',
3355
+ 'dataField',
3356
+ 'dataModelField',
3357
+ 'defaultRegion',
3358
+ 'destroyStore',
3359
+ 'detectCSSCompatibilityIssues',
3360
+ 'disableGridColumnIdWarning',
3361
+ 'disableGridRowModelWarning',
3362
+ 'dock',
3363
+ 'drawer',
3364
+ 'durationDisplayPrecision',
3365
+ 'elementAttributes',
3366
+ 'enableRecurringEvents',
3367
+ 'enableSticky',
3368
+ 'enableTextSelection',
3369
+ 'fillLastColumn',
3370
+ 'fixedRowHeight',
3371
+ 'footer',
3372
+ 'formulaProviders',
3373
+ 'fullRowRefresh',
3374
+ 'getBarClass',
3375
+ 'getBarDOMConfig',
3376
+ 'getBarText',
3377
+ 'getBarTextDOMConfig',
3378
+ 'getDataEntryForAggregating',
3379
+ 'getOutlineClass',
3380
+ 'getOutlineDOMConfig',
3381
+ 'getRecordData',
3382
+ 'getRowHeight',
3383
+ 'hardRefreshOnTimeAxisReconfigure',
3384
+ 'header',
3385
+ 'hideHorizontalScrollbar',
3386
+ 'histogramWidgetClass',
3387
+ 'hoverCls',
3388
+ 'icon',
3389
+ 'ignoreDomEventsWhileScrolling',
3390
+ 'ignoreParentReadOnly',
3391
+ 'initAggregatedDataEntry',
3392
+ 'listeners',
3393
+ 'loadMask',
3394
+ 'loadMaskDefaults',
3395
+ 'loadMaskError',
3396
+ 'localizable',
3397
+ 'managedEventSizing',
3398
+ 'maskDefaults',
3399
+ 'masked',
3400
+ 'maxDate',
3401
+ 'maxTimeAxisUnit',
3402
+ 'minDate',
3403
+ 'monitorResize',
3404
+ 'owner',
3405
+ 'partner',
3406
+ 'plugins',
3407
+ 'preserveFocusOnDatasetChange',
3408
+ 'preserveScrollOnDatasetChange',
3409
+ 'preventTooltipOnTouch',
3410
+ 'relayStoreEvents',
3411
+ 'resizable',
3412
+ 'resizeToFitIncludesHeader',
3413
+ 'resourceTimeRangeRenderer',
3414
+ 'responsiveLevels',
3415
+ 'ripple',
3416
+ 'rootElement',
3417
+ 'scaleColumn',
3418
+ 'scrollerClass',
3419
+ 'scrollManager',
3420
+ 'series',
3421
+ 'showBarTipWhenNavigatingTimeAxis',
3422
+ 'showDirty',
3423
+ 'snapRelativeToEventStartDate',
3424
+ 'stateful',
3425
+ 'statefulEvents',
3426
+ 'stateId',
3427
+ 'stateProvider',
3428
+ 'stickyHeaders',
3429
+ 'strips',
3430
+ 'subGridConfigs',
3431
+ 'syncMask',
3432
+ 'tab',
3433
+ 'tabBarItems',
3434
+ 'tbar',
3435
+ 'timeAxis',
3436
+ 'type',
3437
+ 'ui',
3438
+ 'visibleZoomFactor',
3439
+ 'weekStartDay',
3440
+ 'weight',
3441
+ 'zoomKeepsOriginalTimespan',
3442
+ 'zoomOnMouseWheel',
3443
+ 'zoomOnTimeAxisDoubleClick'
3444
+ ],
3445
+ propertyConfigNames : [
3446
+ 'alignSelf',
3447
+ 'animateTreeNodeToggle',
3448
+ 'appendTo',
3449
+ 'barMargin',
3450
+ 'callOnFunctions',
3451
+ 'catchEventHandlerExceptions',
3452
+ 'cellEllipsis',
3453
+ 'cls',
3454
+ 'collapsed',
3455
+ 'column',
3456
+ 'columnLines',
3457
+ 'columns',
3458
+ 'data',
3459
+ 'dataset',
3460
+ 'disabled',
3461
+ 'displayDateFormat',
3462
+ 'emptyText',
3463
+ 'enableEventAnimations',
3464
+ 'enableUndoRedoKeys',
3465
+ 'endDate',
3466
+ 'eventColor',
3467
+ 'eventStyle',
3468
+ 'extraData',
3469
+ 'fillTicks',
3470
+ 'flex',
3471
+ 'forceFit',
3472
+ 'height',
3473
+ 'hidden',
3474
+ 'hideFooters',
3475
+ 'hideHeaders',
3476
+ 'hideRowHover',
3477
+ 'histogramWidget',
3478
+ 'id',
3479
+ 'infiniteScroll',
3480
+ 'inputFieldAlign',
3481
+ 'insertBefore',
3482
+ 'insertFirst',
3483
+ 'keyMap',
3484
+ 'labelPosition',
3485
+ 'longPressTime',
3486
+ 'margin',
3487
+ 'maxHeight',
3488
+ 'maxWidth',
3489
+ 'maxZoomLevel',
3490
+ 'minHeight',
3491
+ 'minWidth',
3492
+ 'minZoomLevel',
3493
+ 'onBeforeAssignmentDelete',
3494
+ 'onBeforeCancelCellEdit',
3495
+ 'onBeforeCancelRowEdit',
3496
+ 'onBeforeCellEditStart',
3497
+ 'onBeforeCellRangeDelete',
3498
+ 'onBeforeCellRangeEdit',
3499
+ 'onBeforeColumnDragStart',
3500
+ 'onBeforeColumnDropFinalize',
3501
+ 'onBeforeColumnResize',
3502
+ 'onBeforeCopy',
3503
+ 'onBeforeCSVExport',
3504
+ 'onBeforeDestroy',
3505
+ 'onBeforeEventDelete',
3506
+ 'onBeforeExcelExport',
3507
+ 'onBeforeFillHandleDragStart',
3508
+ 'onBeforeFinishCellEdit',
3509
+ 'onBeforeFinishRowEdit',
3510
+ 'onBeforeHide',
3511
+ 'onBeforeHistogramDataCacheSet',
3512
+ 'onBeforePan',
3513
+ 'onBeforePaste',
3514
+ 'onBeforePdfExport',
3515
+ 'onBeforePresetChange',
3516
+ 'onBeforeRenderHistogramRow',
3517
+ 'onBeforeRenderRecordHistogram',
3518
+ 'onBeforeRenderRow',
3519
+ 'onBeforeRenderRows',
3520
+ 'onBeforeRowCollapse',
3521
+ 'onBeforeRowExpand',
3522
+ 'onBeforeSelectionChange',
3523
+ 'onBeforeSetRecord',
3524
+ 'onBeforeShow',
3525
+ 'onBeforeStartRowEdit',
3526
+ 'onBeforeStateApply',
3527
+ 'onBeforeStateSave',
3528
+ 'onBeforeToggleGroup',
3529
+ 'onBeforeToggleNode',
3530
+ 'onCancelCellEdit',
3531
+ 'onCatchAll',
3532
+ 'onCellClick',
3533
+ 'onCellContextMenu',
3534
+ 'onCellDblClick',
3535
+ 'onCellMenuBeforeShow',
3536
+ 'onCellMenuItem',
3537
+ 'onCellMenuShow',
3538
+ 'onCellMenuToggleItem',
3539
+ 'onCellMouseEnter',
3540
+ 'onCellMouseLeave',
3541
+ 'onCellMouseOut',
3542
+ 'onCellMouseOver',
3543
+ 'onCollapse',
3544
+ 'onCollapseNode',
3545
+ 'onColumnDrag',
3546
+ 'onColumnDragStart',
3547
+ 'onColumnDrop',
3548
+ 'onColumnResize',
3549
+ 'onColumnResizeStart',
3550
+ 'onContextMenuItem',
3551
+ 'onContextMenuToggleItem',
3552
+ 'onCopy',
3553
+ 'onCurrentTimelineUpdate',
3554
+ 'onDataChange',
3555
+ 'onDateRangeChange',
3556
+ 'onDestroy',
3557
+ 'onDirtyStateChange',
3558
+ 'onDragSelecting',
3559
+ 'onElementCreated',
3560
+ 'onExpand',
3561
+ 'onExpandNode',
3562
+ 'onFileDrop',
3563
+ 'onFillHandleBeforeDragFinalize',
3564
+ 'onFillHandleDrag',
3565
+ 'onFillHandleDragAbort',
3566
+ 'onFillHandleDragEnd',
3567
+ 'onFillHandleDragStart',
3568
+ 'onFinishCellEdit',
3569
+ 'onFinishRowEdit',
3570
+ 'onFocusIn',
3571
+ 'onFocusOut',
3572
+ 'onGridRowBeforeDragStart',
3573
+ 'onGridRowBeforeDropFinalize',
3574
+ 'onGridRowDrag',
3575
+ 'onGridRowDragAbort',
3576
+ 'onGridRowDragStart',
3577
+ 'onGridRowDrop',
3578
+ 'onHeaderClick',
3579
+ 'onHeaderMenuBeforeShow',
3580
+ 'onHeaderMenuItem',
3581
+ 'onHeaderMenuShow',
3582
+ 'onHeaderMenuToggleItem',
3583
+ 'onHide',
3584
+ 'onHistogramDataCacheSet',
3585
+ 'onLockRows',
3586
+ 'onMouseOut',
3587
+ 'onMouseOver',
3588
+ 'onNoZoomChange',
3589
+ 'onPaint',
3590
+ 'onPaste',
3591
+ 'onPdfExport',
3592
+ 'onPresetChange',
3593
+ 'onReadOnly',
3594
+ 'onRecompose',
3595
+ 'onRenderRow',
3596
+ 'onRenderRows',
3597
+ 'onResize',
3598
+ 'onResourceMenuBeforeShow',
3599
+ 'onResourceMenuItem',
3600
+ 'onResourceMenuShow',
3601
+ 'onResourceMenuToggleItem',
3602
+ 'onResourceTimeRangeClick',
3603
+ 'onResourceTimeRangeContextMenu',
3604
+ 'onResourceTimeRangeDblClick',
3605
+ 'onResourceTimeRangeMouseDown',
3606
+ 'onResourceTimeRangeMouseOut',
3607
+ 'onResourceTimeRangeMouseOver',
3608
+ 'onResourceTimeRangeMouseUp',
3609
+ 'onResponsive',
3610
+ 'onRowCollapse',
3611
+ 'onRowExpand',
3612
+ 'onRowMouseEnter',
3613
+ 'onRowMouseLeave',
3614
+ 'onScroll',
3615
+ 'onSelectionChange',
3616
+ 'onSelectionModeChange',
3617
+ 'onShow',
3618
+ 'onSplit',
3619
+ 'onSplitterCollapseClick',
3620
+ 'onSplitterDragEnd',
3621
+ 'onSplitterDragStart',
3622
+ 'onSplitterExpandClick',
3623
+ 'onStartCellEdit',
3624
+ 'onStartRowEdit',
3625
+ 'onSubGridCollapse',
3626
+ 'onSubGridExpand',
3627
+ 'onTickSizeChange',
3628
+ 'onTimeAxisChange',
3629
+ 'onTimeAxisHeaderClick',
3630
+ 'onTimeAxisHeaderContextMenu',
3631
+ 'onTimeAxisHeaderDblClick',
3632
+ 'onTimeAxisHeaderMenuBeforeShow',
3633
+ 'onTimeAxisHeaderMenuItem',
3634
+ 'onTimeAxisHeaderMenuShow',
3635
+ 'onTimelineContextChange',
3636
+ 'onTimelineViewportResize',
3637
+ 'onTimeRangeHeaderClick',
3638
+ 'onTimeRangeHeaderContextMenu',
3639
+ 'onTimeRangeHeaderDblClick',
3640
+ 'onToggleGroup',
3641
+ 'onToggleNode',
3642
+ 'onToolClick',
3643
+ 'onUnlockRows',
3644
+ 'onUnsplit',
3645
+ 'onVisibleDateRangeChange',
3646
+ 'preserveScroll',
3647
+ 'presets',
3648
+ 'readOnly',
3649
+ 'recurrenceConfirmationPopup',
3650
+ 'rendition',
3651
+ 'rowHeight',
3652
+ 'rowLines',
3653
+ 'rtl',
3654
+ 'scalePoints',
3655
+ 'scrollable',
3656
+ 'selectionMode',
3657
+ 'showBarTip',
3658
+ 'snap',
3659
+ 'span',
3660
+ 'startDate',
3661
+ 'stateSettings',
3662
+ 'store',
3663
+ 'suppressFit',
3664
+ 'tickSize',
3665
+ 'timeResolution',
3666
+ 'timeZone',
3667
+ 'title',
3668
+ 'tools',
3669
+ 'transition',
3670
+ 'transitionDuration',
3671
+ 'viewPreset',
3672
+ 'visibleDate',
3673
+ 'width',
3674
+ 'workingTime'
3675
+ ],
3676
+ propertyNames : [
3677
+ 'focusVisible',
3678
+ 'hasChanges',
3679
+ 'originalStore',
3680
+ 'parent',
3681
+ 'scrollLeft',
3682
+ 'scrollTop',
3683
+ 'scrollX',
3684
+ 'selectedCell',
3685
+ 'selectedCells',
3686
+ 'selectedRecord',
3687
+ 'selectedRecords',
3688
+ 'selectedRows',
3689
+ 'state',
3690
+ 'tooltip',
3691
+ 'zoomLevel'
3692
+ ],
3693
+ eventNames : [
3694
+ 'beforeAssignmentDelete',
3695
+ 'beforeCancelCellEdit',
3696
+ 'beforeCancelRowEdit',
3697
+ 'beforeCellEditStart',
3698
+ 'beforeCellRangeDelete',
3699
+ 'beforeCellRangeEdit',
3700
+ 'beforeColumnDragStart',
3701
+ 'beforeColumnDropFinalize',
3702
+ 'beforeColumnResize',
3703
+ 'beforeCopy',
3704
+ 'beforeCSVExport',
3705
+ 'beforeDestroy',
3706
+ 'beforeEventDelete',
3707
+ 'beforeExcelExport',
3708
+ 'beforeFillHandleDragStart',
3709
+ 'beforeFinishCellEdit',
3710
+ 'beforeFinishRowEdit',
3711
+ 'beforeHide',
3712
+ 'beforeHistogramDataCacheSet',
3713
+ 'beforePan',
3714
+ 'beforePaste',
3715
+ 'beforePdfExport',
3716
+ 'beforePresetChange',
3717
+ 'beforeRenderHistogramRow',
3718
+ 'beforeRenderRecordHistogram',
3719
+ 'beforeRenderRow',
3720
+ 'beforeRenderRows',
3721
+ 'beforeRowCollapse',
3722
+ 'beforeRowExpand',
3723
+ 'beforeSelectionChange',
3724
+ 'beforeSetRecord',
3725
+ 'beforeShow',
3726
+ 'beforeStartRowEdit',
3727
+ 'beforeStateApply',
3728
+ 'beforeStateSave',
3729
+ 'beforeToggleGroup',
3730
+ 'beforeToggleNode',
3731
+ 'cancelCellEdit',
3732
+ 'catchAll',
3733
+ 'cellClick',
3734
+ 'cellContextMenu',
3735
+ 'cellDblClick',
3736
+ 'cellMenuBeforeShow',
3737
+ 'cellMenuItem',
3738
+ 'cellMenuShow',
3739
+ 'cellMenuToggleItem',
3740
+ 'cellMouseEnter',
3741
+ 'cellMouseLeave',
3742
+ 'cellMouseOut',
3743
+ 'cellMouseOver',
3744
+ 'collapse',
3745
+ 'collapseNode',
3746
+ 'columnDrag',
3747
+ 'columnDragStart',
3748
+ 'columnDrop',
3749
+ 'columnResize',
3750
+ 'columnResizeStart',
3751
+ 'contextMenuItem',
3752
+ 'contextMenuToggleItem',
3753
+ 'copy',
3754
+ 'currentTimelineUpdate',
3755
+ 'dataChange',
3756
+ 'dateRangeChange',
3757
+ 'destroy',
3758
+ 'dirtyStateChange',
3759
+ 'dragSelecting',
3760
+ 'elementCreated',
3761
+ 'expand',
3762
+ 'expandNode',
3763
+ 'fileDrop',
3764
+ 'fillHandleBeforeDragFinalize',
3765
+ 'fillHandleDrag',
3766
+ 'fillHandleDragAbort',
3767
+ 'fillHandleDragEnd',
3768
+ 'fillHandleDragStart',
3769
+ 'finishCellEdit',
3770
+ 'finishRowEdit',
3771
+ 'focusIn',
3772
+ 'focusOut',
3773
+ 'gridRowBeforeDragStart',
3774
+ 'gridRowBeforeDropFinalize',
3775
+ 'gridRowDrag',
3776
+ 'gridRowDragAbort',
3777
+ 'gridRowDragStart',
3778
+ 'gridRowDrop',
3779
+ 'headerClick',
3780
+ 'headerMenuBeforeShow',
3781
+ 'headerMenuItem',
3782
+ 'headerMenuShow',
3783
+ 'headerMenuToggleItem',
3784
+ 'hide',
3785
+ 'histogramDataCacheSet',
3786
+ 'lockRows',
3787
+ 'mouseOut',
3788
+ 'mouseOver',
3789
+ 'noZoomChange',
3790
+ 'paint',
3791
+ 'paste',
3792
+ 'pdfExport',
3793
+ 'presetChange',
3794
+ 'readOnly',
3795
+ 'recompose',
3796
+ 'renderRow',
3797
+ 'renderRows',
3798
+ 'resize',
3799
+ 'resourceMenuBeforeShow',
3800
+ 'resourceMenuItem',
3801
+ 'resourceMenuShow',
3802
+ 'resourceMenuToggleItem',
3803
+ 'resourceTimeRangeClick',
3804
+ 'resourceTimeRangeContextMenu',
3805
+ 'resourceTimeRangeDblClick',
3806
+ 'resourceTimeRangeMouseDown',
3807
+ 'resourceTimeRangeMouseOut',
3808
+ 'resourceTimeRangeMouseOver',
3809
+ 'resourceTimeRangeMouseUp',
3810
+ 'responsive',
3811
+ 'rowCollapse',
3812
+ 'rowExpand',
3813
+ 'rowMouseEnter',
3814
+ 'rowMouseLeave',
3815
+ 'scroll',
3816
+ 'selectionChange',
3817
+ 'selectionModeChange',
3818
+ 'show',
3819
+ 'split',
3820
+ 'splitterCollapseClick',
3821
+ 'splitterDragEnd',
3822
+ 'splitterDragStart',
3823
+ 'splitterExpandClick',
3824
+ 'startCellEdit',
3825
+ 'startRowEdit',
3826
+ 'subGridCollapse',
3827
+ 'subGridExpand',
3828
+ 'tickSizeChange',
3829
+ 'timeAxisChange',
3830
+ 'timeAxisHeaderClick',
3831
+ 'timeAxisHeaderContextMenu',
3832
+ 'timeAxisHeaderDblClick',
3833
+ 'timeAxisHeaderMenuBeforeShow',
3834
+ 'timeAxisHeaderMenuItem',
3835
+ 'timeAxisHeaderMenuShow',
3836
+ 'timelineContextChange',
3837
+ 'timelineViewportResize',
3838
+ 'timeRangeHeaderClick',
3839
+ 'timeRangeHeaderContextMenu',
3840
+ 'timeRangeHeaderDblClick',
3841
+ 'toggleGroup',
3842
+ 'toggleNode',
3843
+ 'toolClick',
3844
+ 'unlockRows',
3845
+ 'unsplit',
3846
+ 'visibleDateRangeChange'
3847
+ ]
3848
+ };
3849
+
3850
+ const instance: {
3851
+ value?: TimelineHistogram
3852
+ } = {};
3853
+
3854
+ const refElement = ref<HTMLDivElement>()!;
3855
+ // Storage for teleports (in-cell Vue component instances) automatically renderer by template
3856
+ const teleports = ref(new Map());
3857
+
3858
+ // Provide teleports for processCellContent
3859
+ provide('teleports', teleports);
3860
+
3861
+ onMounted(() => {
3862
+
3863
+ const me = getCurrentInstance()!;
3864
+
3865
+ instance.value = WrapperHelper.createWidget<typeof TimelineHistogram>({
3866
+ me,
3867
+ widgetData,
3868
+ emit,
3869
+ element : refElement.value!,
3870
+ processCellContent : WrapperHelper.processCellContent,
3871
+ processEventContent : WrapperHelper.processEventContent,
3872
+ processWidgetContent : WrapperHelper.processWidgetContent,
3873
+ hasFrameworkRenderer : WrapperHelper.hasFrameworkRenderer,
3874
+ toRaw
3875
+ });
3876
+ WrapperHelper.relayStores(me.data, instance.value);
3877
+
3878
+ const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);
3879
+ WrapperHelper.watchProps(instance.value, widgetData, watcher);
3880
+ });
3881
+
3882
+ onBeforeUnmount(() => {
3883
+ // @ts-ignore
3884
+ instance.value?.destroy?.();
3885
+ });
3886
+
3887
+ defineExpose({
3888
+ instance,
3889
+ refElement,
3890
+ teleports
3891
+ });
3892
+
3893
+ </script>