@bryntum/calendar-vue-3 7.3.0 → 7.3.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 (296) hide show
  1. package/README.md +1 -1
  2. package/lib/chunks/-gfCfICt.js.map +1 -1
  3. package/lib/chunks/{BBmKbcBm.js → 0OZOSj3K.js} +11 -9
  4. package/lib/chunks/0OZOSj3K.js.map +1 -0
  5. package/lib/chunks/{DQEdPoQo.js → 6ysIOAeQ.js} +9 -7
  6. package/lib/chunks/6ysIOAeQ.js.map +1 -0
  7. package/lib/chunks/8f6XqGsD.js.map +1 -1
  8. package/lib/chunks/9tApH0if.js.map +1 -1
  9. package/lib/chunks/AVadRojY.js.map +1 -1
  10. package/lib/chunks/B4eYsje_.js.map +1 -1
  11. package/lib/chunks/{CPHxjIqw.js → B7wodVs1.js} +9 -7
  12. package/lib/chunks/B7wodVs1.js.map +1 -0
  13. package/lib/chunks/BBc3kJ2l.js.map +1 -1
  14. package/lib/chunks/BD3V-SxA.js.map +1 -1
  15. package/lib/chunks/{DURERga3.js → BFQMFysc.js} +6 -4
  16. package/lib/chunks/BFQMFysc.js.map +1 -0
  17. package/lib/chunks/BHB_Xr7B.js.map +1 -1
  18. package/lib/chunks/BRHH9-fs.js.map +1 -1
  19. package/lib/chunks/{DxT4VIUT.js → BSTFzAku.js} +3 -1
  20. package/lib/chunks/BSTFzAku.js.map +1 -0
  21. package/lib/chunks/BUTdFPf9.js.map +1 -1
  22. package/lib/chunks/BVEipTu4.js.map +1 -1
  23. package/lib/chunks/BYLyV5Qz.js.map +1 -1
  24. package/lib/chunks/BbOrQ8ft.js.map +1 -1
  25. package/lib/chunks/{DzuHthMw.js → BdoTFJhe.js} +9 -7
  26. package/lib/chunks/BdoTFJhe.js.map +1 -0
  27. package/lib/chunks/{j6GbzQ11.js → BeA4Wx8Y.js} +12 -10
  28. package/lib/chunks/BeA4Wx8Y.js.map +1 -0
  29. package/lib/chunks/{JKRtgYCJ.js → BeiCK7f8.js} +9 -7
  30. package/lib/chunks/BeiCK7f8.js.map +1 -0
  31. package/lib/chunks/BoILvqhB.js.map +1 -1
  32. package/lib/chunks/{BKPgz4z1.js → C-rJdjwM.js} +14 -12
  33. package/lib/chunks/C-rJdjwM.js.map +1 -0
  34. package/lib/chunks/C1e81geK.js.map +1 -1
  35. package/lib/chunks/C3im5F6T.js.map +1 -1
  36. package/lib/chunks/C4_EvmHb.js.map +1 -1
  37. package/lib/chunks/{BI8wQGwJ.js → C8FspEDS.js} +7 -5
  38. package/lib/chunks/C8FspEDS.js.map +1 -0
  39. package/lib/chunks/{CWM22e1v.js → CI4tLO9K.js} +6 -4
  40. package/lib/chunks/CI4tLO9K.js.map +1 -0
  41. package/lib/chunks/{kCsdJsDp.js → CIV2Plgi.js} +5 -3
  42. package/lib/chunks/CIV2Plgi.js.map +1 -0
  43. package/lib/chunks/CK8pVkWO.js.map +1 -1
  44. package/lib/chunks/{fCOl6gGe.js → CL2aSYwL.js} +4 -2
  45. package/lib/chunks/CL2aSYwL.js.map +1 -0
  46. package/lib/chunks/COQRF4O2.js.map +1 -1
  47. package/lib/chunks/CObxLUVv.js.map +1 -1
  48. package/lib/chunks/CYO0U3xG.js.map +1 -1
  49. package/lib/chunks/{QXeRMnaM.js → CZmKZOXs.js} +11 -9
  50. package/lib/chunks/CZmKZOXs.js.map +1 -0
  51. package/lib/chunks/{uBR9aAgk.js → CbvZfQIb.js} +6 -4
  52. package/lib/chunks/CbvZfQIb.js.map +1 -0
  53. package/lib/chunks/{BWhkyANY.js → CeQqNQur.js} +12 -10
  54. package/lib/chunks/CeQqNQur.js.map +1 -0
  55. package/lib/chunks/{VUkGxEQX.js → CeiQfFj4.js} +9 -7
  56. package/lib/chunks/CeiQfFj4.js.map +1 -0
  57. package/lib/chunks/CfyHmkPe.js.map +1 -1
  58. package/lib/chunks/CiecGioc.js.map +1 -1
  59. package/lib/chunks/CjfHlzPr.js.map +1 -1
  60. package/lib/chunks/{JkqrKvFU.js → Cl2RaLEy.js} +10 -8
  61. package/lib/chunks/Cl2RaLEy.js.map +1 -0
  62. package/lib/chunks/Cpmv-8CX.js.map +1 -1
  63. package/lib/chunks/CsRtPonL.js.map +1 -1
  64. package/lib/chunks/Ct9WYKLH.js.map +1 -1
  65. package/lib/chunks/{C6c2zNh0.js → CuaZAnUQ.js} +9 -7
  66. package/lib/chunks/CuaZAnUQ.js.map +1 -0
  67. package/lib/chunks/D2Rp5DqD.js.map +1 -1
  68. package/lib/chunks/D8LFX3Si.js.map +1 -1
  69. package/lib/chunks/DCeVwori.js.map +1 -1
  70. package/lib/chunks/DFdgK5Ff.js.map +1 -1
  71. package/lib/chunks/DGNDLzjC.js.map +1 -1
  72. package/lib/chunks/DKh1JBaq.js.map +1 -1
  73. package/lib/chunks/DQ2aBJ55.js.map +1 -1
  74. package/lib/chunks/{DI98porG.js → DSTwKMaq.js} +11 -9
  75. package/lib/chunks/DSTwKMaq.js.map +1 -0
  76. package/lib/chunks/DTAFonQW.js.map +1 -1
  77. package/lib/chunks/{B8gQABN9.js → DUaUWLyw.js} +3 -1
  78. package/lib/chunks/DUaUWLyw.js.map +1 -0
  79. package/lib/chunks/DUsiYkFK.js.map +1 -1
  80. package/lib/chunks/DdpHkb3E.js.map +1 -1
  81. package/lib/chunks/DgIBeET0.js.map +1 -1
  82. package/lib/chunks/DgJZ6ZlB.js.map +1 -1
  83. package/lib/chunks/DhwKNWjD.js.map +1 -1
  84. package/lib/chunks/{C19d7e9r.js → DoFyfMXF.js} +7 -5
  85. package/lib/chunks/DoFyfMXF.js.map +1 -0
  86. package/lib/chunks/DpVMBZKg.js.map +1 -1
  87. package/lib/chunks/DpX76W8R.js.map +1 -1
  88. package/lib/chunks/{FzMaadW6.js → Dw8g2KwQ.js} +9 -7
  89. package/lib/chunks/Dw8g2KwQ.js.map +1 -0
  90. package/lib/chunks/DwfSxgDx.js.map +1 -1
  91. package/lib/chunks/{CNs1dLtt.js → DxoJlWU3.js} +8 -6
  92. package/lib/chunks/DxoJlWU3.js.map +1 -0
  93. package/lib/chunks/DyrhHazx.js.map +1 -1
  94. package/lib/chunks/{CvRb-PD8.js → DzXzhdwr.js} +13 -11
  95. package/lib/chunks/DzXzhdwr.js.map +1 -0
  96. package/lib/chunks/Ffj7MYiP.js.map +1 -1
  97. package/lib/chunks/{E1AHpT8W.js → GFug45r8.js} +9 -7
  98. package/lib/chunks/GFug45r8.js.map +1 -0
  99. package/lib/chunks/KzCo7H0B.js.map +1 -1
  100. package/lib/chunks/PBX4P85B.js.map +1 -1
  101. package/lib/chunks/Tt3YRLoT.js.map +1 -1
  102. package/lib/chunks/UIRN-9Gk.js.map +1 -1
  103. package/lib/chunks/Uub1pbHE.js.map +1 -1
  104. package/lib/chunks/VxQFGAPu.js.map +1 -1
  105. package/lib/chunks/cT-MuN_z.js.map +1 -1
  106. package/lib/chunks/{3pMrXrSV.js → dSkHfi4J.js} +10 -8
  107. package/lib/chunks/dSkHfi4J.js.map +1 -0
  108. package/lib/chunks/gdOjznoN.js.map +1 -1
  109. package/lib/chunks/lkmEYnvD.js.map +1 -1
  110. package/lib/chunks/mzLGzWY5.js.map +1 -1
  111. package/lib/chunks/{7r3BIYih.js → nMvWDbO6.js} +9 -7
  112. package/lib/chunks/nMvWDbO6.js.map +1 -0
  113. package/lib/chunks/qmIX92PW.js.map +1 -1
  114. package/lib/chunks/{BspGLrQY.js → r66Wz1km.js} +6 -4
  115. package/lib/chunks/r66Wz1km.js.map +1 -0
  116. package/lib/chunks/rg6JAh_X.js.map +1 -1
  117. package/lib/chunks/wPKCUEuQ.js.map +1 -1
  118. package/lib/components/BryntumAIFilterField.js +1 -1
  119. package/lib/components/BryntumBooleanCombo.js +1 -1
  120. package/lib/components/BryntumCalendar.js +1 -1
  121. package/lib/components/BryntumCheckbox.js +1 -1
  122. package/lib/components/BryntumChecklistFilterCombo.js +1 -1
  123. package/lib/components/BryntumColorField.js +1 -1
  124. package/lib/components/BryntumCombo.js +1 -1
  125. package/lib/components/BryntumDateField.js +1 -1
  126. package/lib/components/BryntumDateRangeField.js +1 -1
  127. package/lib/components/BryntumDateTimeField.js +1 -1
  128. package/lib/components/BryntumDisplayField.js +1 -1
  129. package/lib/components/BryntumDurationField.js +1 -1
  130. package/lib/components/BryntumEventColorField.js +1 -1
  131. package/lib/components/BryntumFileField.js +1 -1
  132. package/lib/components/BryntumFilterField.js +1 -1
  133. package/lib/components/BryntumNumberField.js +1 -1
  134. package/lib/components/BryntumPasswordField.js +1 -1
  135. package/lib/components/BryntumProjectCombo.js +1 -1
  136. package/lib/components/BryntumRadio.js +1 -1
  137. package/lib/components/BryntumResourceCombo.js +1 -1
  138. package/lib/components/BryntumScheduler.js +1 -1
  139. package/lib/components/BryntumSchedulerBase.js +1 -1
  140. package/lib/components/BryntumSlideToggle.js +1 -1
  141. package/lib/components/BryntumTextAreaField.js +1 -1
  142. package/lib/components/BryntumTextAreaPickerField.js +1 -1
  143. package/lib/components/BryntumTextField.js +1 -1
  144. package/lib/components/BryntumTimeField.js +1 -1
  145. package/lib/components/BryntumTreeCombo.js +1 -1
  146. package/lib/components/BryntumViewPresetCombo.js +1 -1
  147. package/lib/index.js +29 -29
  148. package/package.json +1 -1
  149. package/src/components/BryntumAIFilterField.vue +11 -1
  150. package/src/components/BryntumAIFilterFieldProps.ts +9 -0
  151. package/src/components/BryntumAgendaView.vue +27 -27
  152. package/src/components/BryntumBooleanCombo.vue +11 -1
  153. package/src/components/BryntumBooleanComboProps.ts +9 -0
  154. package/src/components/BryntumButton.vue +3 -3
  155. package/src/components/BryntumButtonGroup.vue +1 -1
  156. package/src/components/BryntumCalendar.vue +30 -24
  157. package/src/components/BryntumCalendarDatePicker.vue +3 -3
  158. package/src/components/BryntumCalendarProps.ts +6 -1
  159. package/src/components/BryntumChatPanel.vue +3 -3
  160. package/src/components/BryntumCheckbox.vue +12 -2
  161. package/src/components/BryntumCheckboxGroup.vue +3 -3
  162. package/src/components/BryntumCheckboxProps.ts +9 -0
  163. package/src/components/BryntumChecklistFilterCombo.vue +11 -1
  164. package/src/components/BryntumChecklistFilterComboProps.ts +9 -0
  165. package/src/components/BryntumChipView.vue +2 -2
  166. package/src/components/BryntumCodeEditor.vue +3 -3
  167. package/src/components/BryntumColorField.vue +11 -1
  168. package/src/components/BryntumColorFieldProps.ts +9 -0
  169. package/src/components/BryntumCombo.vue +11 -1
  170. package/src/components/BryntumComboProps.ts +9 -0
  171. package/src/components/BryntumContainer.vue +1 -1
  172. package/src/components/BryntumDateField.vue +11 -1
  173. package/src/components/BryntumDateFieldProps.ts +9 -0
  174. package/src/components/BryntumDatePicker.vue +3 -3
  175. package/src/components/BryntumDateRangeField.vue +11 -1
  176. package/src/components/BryntumDateRangeFieldProps.ts +9 -0
  177. package/src/components/BryntumDateTimeField.vue +11 -1
  178. package/src/components/BryntumDateTimeFieldProps.ts +9 -0
  179. package/src/components/BryntumDayAgendaView.vue +5 -5
  180. package/src/components/BryntumDayResourceView.vue +11 -7
  181. package/src/components/BryntumDayResourceViewProps.ts +6 -2
  182. package/src/components/BryntumDayView.vue +11 -7
  183. package/src/components/BryntumDayViewProps.ts +6 -2
  184. package/src/components/BryntumDemoCodeEditor.vue +3 -3
  185. package/src/components/BryntumDisplayField.vue +11 -1
  186. package/src/components/BryntumDisplayFieldProps.ts +9 -0
  187. package/src/components/BryntumDurationField.vue +11 -1
  188. package/src/components/BryntumDurationFieldProps.ts +9 -0
  189. package/src/components/BryntumEditor.vue +5 -5
  190. package/src/components/BryntumEventColorField.vue +11 -1
  191. package/src/components/BryntumEventColorFieldProps.ts +9 -0
  192. package/src/components/BryntumEventList.vue +27 -27
  193. package/src/components/BryntumFieldFilterPicker.vue +1 -1
  194. package/src/components/BryntumFieldFilterPickerGroup.vue +2 -2
  195. package/src/components/BryntumFieldSet.vue +3 -3
  196. package/src/components/BryntumFileField.vue +11 -1
  197. package/src/components/BryntumFileFieldProps.ts +9 -0
  198. package/src/components/BryntumFilePicker.vue +1 -1
  199. package/src/components/BryntumFilterField.vue +11 -1
  200. package/src/components/BryntumFilterFieldProps.ts +9 -0
  201. package/src/components/BryntumGrid.vue +25 -25
  202. package/src/components/BryntumGridBase.vue +25 -25
  203. package/src/components/BryntumGridChartDesigner.vue +1 -1
  204. package/src/components/BryntumGridFieldFilterPicker.vue +1 -1
  205. package/src/components/BryntumGridFieldFilterPickerGroup.vue +2 -2
  206. package/src/components/BryntumGroupBar.vue +2 -2
  207. package/src/components/BryntumHint.vue +3 -3
  208. package/src/components/BryntumLabel.vue +1 -1
  209. package/src/components/BryntumList.vue +2 -2
  210. package/src/components/BryntumMenu.vue +3 -3
  211. package/src/components/BryntumModeSelector.vue +1 -1
  212. package/src/components/BryntumMonthAgendaView.vue +5 -5
  213. package/src/components/BryntumMonthGrid.vue +7 -7
  214. package/src/components/BryntumMonthPicker.vue +3 -3
  215. package/src/components/BryntumMonthView.vue +6 -6
  216. package/src/components/BryntumNumberField.vue +11 -1
  217. package/src/components/BryntumNumberFieldProps.ts +9 -0
  218. package/src/components/BryntumPagingToolbar.vue +2 -2
  219. package/src/components/BryntumPanel.vue +3 -3
  220. package/src/components/BryntumPasswordField.vue +11 -1
  221. package/src/components/BryntumPasswordFieldProps.ts +9 -0
  222. package/src/components/BryntumProgressBar.vue +1 -1
  223. package/src/components/BryntumProjectCombo.vue +11 -1
  224. package/src/components/BryntumProjectComboProps.ts +9 -0
  225. package/src/components/BryntumRadio.vue +12 -2
  226. package/src/components/BryntumRadioGroup.vue +3 -3
  227. package/src/components/BryntumRadioProps.ts +9 -0
  228. package/src/components/BryntumRangeMenu.vue +3 -3
  229. package/src/components/BryntumResourceCombo.vue +11 -1
  230. package/src/components/BryntumResourceComboProps.ts +9 -0
  231. package/src/components/BryntumResourceFilter.vue +2 -2
  232. package/src/components/BryntumResourceView.vue +5 -5
  233. package/src/components/BryntumScheduler.vue +60 -50
  234. package/src/components/BryntumSchedulerBase.vue +60 -50
  235. package/src/components/BryntumSchedulerBaseProps.ts +5 -0
  236. package/src/components/BryntumSchedulerDatePicker.vue +3 -3
  237. package/src/components/BryntumSchedulerProps.ts +5 -0
  238. package/src/components/BryntumSlideToggle.vue +12 -2
  239. package/src/components/BryntumSlideToggleProps.ts +9 -0
  240. package/src/components/BryntumSlider.vue +1 -1
  241. package/src/components/BryntumSplitter.vue +1 -1
  242. package/src/components/BryntumTabPanel.vue +4 -4
  243. package/src/components/BryntumTextAreaField.vue +11 -1
  244. package/src/components/BryntumTextAreaFieldProps.ts +9 -0
  245. package/src/components/BryntumTextAreaPickerField.vue +11 -1
  246. package/src/components/BryntumTextAreaPickerFieldProps.ts +9 -0
  247. package/src/components/BryntumTextField.vue +11 -1
  248. package/src/components/BryntumTextFieldProps.ts +9 -0
  249. package/src/components/BryntumTimeField.vue +11 -1
  250. package/src/components/BryntumTimeFieldProps.ts +9 -0
  251. package/src/components/BryntumTimePicker.vue +1 -1
  252. package/src/components/BryntumTimeVisualizingEditor.vue +3 -3
  253. package/src/components/BryntumTimeZoomSlider.vue +1 -1
  254. package/src/components/BryntumTimelineHistogram.vue +30 -30
  255. package/src/components/BryntumToolbar.vue +2 -2
  256. package/src/components/BryntumTreeCombo.vue +11 -1
  257. package/src/components/BryntumTreeComboProps.ts +9 -0
  258. package/src/components/BryntumTreeGrid.vue +25 -25
  259. package/src/components/BryntumUndoRedo.vue +1 -1
  260. package/src/components/BryntumViewPresetCombo.vue +11 -1
  261. package/src/components/BryntumViewPresetComboProps.ts +9 -0
  262. package/src/components/BryntumWeekView.vue +11 -7
  263. package/src/components/BryntumWeekViewProps.ts +6 -2
  264. package/src/components/BryntumWidget.vue +1 -1
  265. package/src/components/BryntumYearPicker.vue +3 -3
  266. package/src/components/BryntumYearPlanner.vue +5 -5
  267. package/src/components/BryntumYearView.vue +6 -6
  268. package/lib/chunks/3pMrXrSV.js.map +0 -1
  269. package/lib/chunks/7r3BIYih.js.map +0 -1
  270. package/lib/chunks/B8gQABN9.js.map +0 -1
  271. package/lib/chunks/BBmKbcBm.js.map +0 -1
  272. package/lib/chunks/BI8wQGwJ.js.map +0 -1
  273. package/lib/chunks/BKPgz4z1.js.map +0 -1
  274. package/lib/chunks/BWhkyANY.js.map +0 -1
  275. package/lib/chunks/BspGLrQY.js.map +0 -1
  276. package/lib/chunks/C19d7e9r.js.map +0 -1
  277. package/lib/chunks/C6c2zNh0.js.map +0 -1
  278. package/lib/chunks/CNs1dLtt.js.map +0 -1
  279. package/lib/chunks/CPHxjIqw.js.map +0 -1
  280. package/lib/chunks/CWM22e1v.js.map +0 -1
  281. package/lib/chunks/CvRb-PD8.js.map +0 -1
  282. package/lib/chunks/DI98porG.js.map +0 -1
  283. package/lib/chunks/DQEdPoQo.js.map +0 -1
  284. package/lib/chunks/DURERga3.js.map +0 -1
  285. package/lib/chunks/DxT4VIUT.js.map +0 -1
  286. package/lib/chunks/DzuHthMw.js.map +0 -1
  287. package/lib/chunks/E1AHpT8W.js.map +0 -1
  288. package/lib/chunks/FzMaadW6.js.map +0 -1
  289. package/lib/chunks/JKRtgYCJ.js.map +0 -1
  290. package/lib/chunks/JkqrKvFU.js.map +0 -1
  291. package/lib/chunks/QXeRMnaM.js.map +0 -1
  292. package/lib/chunks/VUkGxEQX.js.map +0 -1
  293. package/lib/chunks/fCOl6gGe.js.map +0 -1
  294. package/lib/chunks/j6GbzQ11.js.map +0 -1
  295. package/lib/chunks/kCsdJsDp.js.map +0 -1
  296. package/lib/chunks/uBR9aAgk.js.map +0 -1
@@ -469,9 +469,13 @@ defineProps<{
469
469
  */
470
470
  eventSorter ? : (lhs: EventModel|EventBar, rhs: EventModel|EventBar) => number
471
471
  /**
472
- * Number of pixels to reduce the height of events by, to leave a gap between them.
472
+ * The amount of vertical spacing applied to events. May be a single number giving the
473
+ * bottom spacing in pixels, or an object specifying both top and bottom spacings:
474
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayResourceView#config-eventSpacing)
475
+ * @property {number} [top] The top spacing in pixels.
476
+ * @property {number} [bottom] The bottom spacing in pixels.
473
477
  */
474
- eventSpacing ? : number
478
+ eventSpacing ? : number|object
475
479
  /**
476
480
  * By default, the end date of an all day event is displayed in the UI as
477
481
  * the last calendar date on which the event falls. For most end users, this is the
@@ -1249,7 +1253,7 @@ const emit = defineEmits<{
1249
1253
  * @param {Scheduler.model.ResourceModel} params.event.resourceRecord The resource if the UI includes a resource.
1250
1254
  * @param {CalendarView} params.event.view This view.
1251
1255
  */
1252
- (e: 'beforeAutoCreate', params: ((event: { domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel, view: CalendarView }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1256
+ (e: 'beforeAutoCreate', params: ((event: { domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel, view: CalendarView }) => boolean|void)|string): boolean|void
1253
1257
  /**
1254
1258
  * Triggered before a view's orientating date changes.
1255
1259
  * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayResourceView#event-beforeChangeDate)
@@ -1259,7 +1263,7 @@ const emit = defineEmits<{
1259
1263
  * @param {Date} params.event.oldDate The current orientating date of this view.
1260
1264
  * @param {Date} params.event.date The new date to which this view is to be orientated.
1261
1265
  */
1262
- (e: 'beforeChangeDate', params: ((event: { oldDate: Date, date: Date }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1266
+ (e: 'beforeChangeDate', params: ((event: { oldDate: Date, date: Date }) => boolean|void)|string): boolean|void
1263
1267
  /**
1264
1268
  * Fires before an object is destroyed.
1265
1269
  * @param {string} e Event name
@@ -1275,7 +1279,7 @@ const emit = defineEmits<{
1275
1279
  * @param {object} params.event Event object
1276
1280
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
1277
1281
  */
1278
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1282
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
1279
1283
  /**
1280
1284
  * Triggered before a new [responsiveState](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveState) is applied.
1281
1285
  * @param {string} e Event name
@@ -1311,7 +1315,7 @@ const emit = defineEmits<{
1311
1315
  * @param {object} params.event Event object
1312
1316
  * @param {any} params.event.state State object config
1313
1317
  */
1314
- (e: 'beforeStateApply', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1318
+ (e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
1315
1319
  /**
1316
1320
  * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
1317
1321
  * @param {string} e Event name
@@ -1319,7 +1323,7 @@ const emit = defineEmits<{
1319
1323
  * @param {object} params.event Event object
1320
1324
  * @param {any} params.event.state State object config
1321
1325
  */
1322
- (e: 'beforeStateSave', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1326
+ (e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
1323
1327
  /**
1324
1328
  * Fires when any other event is fired from the object.
1325
1329
  * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayResourceView#event-catchAll)
@@ -455,9 +455,13 @@ export declare type BryntumDayResourceViewProps = {
455
455
  */
456
456
  eventSorter ? : (lhs: EventModel|EventBar, rhs: EventModel|EventBar) => number
457
457
  /**
458
- * Number of pixels to reduce the height of events by, to leave a gap between them.
458
+ * The amount of vertical spacing applied to events. May be a single number giving the
459
+ * bottom spacing in pixels, or an object specifying both top and bottom spacings:
460
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayResourceView#config-eventSpacing)
461
+ * @property {number} [top] The top spacing in pixels.
462
+ * @property {number} [bottom] The bottom spacing in pixels.
459
463
  */
460
- eventSpacing ? : number
464
+ eventSpacing ? : number|object
461
465
  /**
462
466
  * By default, the end date of an all day event is displayed in the UI as
463
467
  * the last calendar date on which the event falls. For most end users, this is the
@@ -469,9 +469,13 @@ defineProps<{
469
469
  */
470
470
  eventSorter ? : (lhs: EventModel|EventBar, rhs: EventModel|EventBar) => number
471
471
  /**
472
- * Number of pixels to reduce the height of events by, to leave a gap between them.
472
+ * The amount of vertical spacing applied to events. May be a single number giving the
473
+ * bottom spacing in pixels, or an object specifying both top and bottom spacings:
474
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-eventSpacing)
475
+ * @property {number} [top] The top spacing in pixels.
476
+ * @property {number} [bottom] The bottom spacing in pixels.
473
477
  */
474
- eventSpacing ? : number
478
+ eventSpacing ? : number|object
475
479
  /**
476
480
  * By default, the end date of an all day event is displayed in the UI as
477
481
  * the last calendar date on which the event falls. For most end users, this is the
@@ -1214,7 +1218,7 @@ const emit = defineEmits<{
1214
1218
  * @param {Scheduler.model.ResourceModel} params.event.resourceRecord The resource if the UI includes a resource.
1215
1219
  * @param {CalendarView} params.event.view This view.
1216
1220
  */
1217
- (e: 'beforeAutoCreate', params: ((event: { domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel, view: CalendarView }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1221
+ (e: 'beforeAutoCreate', params: ((event: { domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel, view: CalendarView }) => boolean|void)|string): boolean|void
1218
1222
  /**
1219
1223
  * Triggered before a view's orientating date changes.
1220
1224
  * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#event-beforeChangeDate)
@@ -1224,7 +1228,7 @@ const emit = defineEmits<{
1224
1228
  * @param {Date} params.event.oldDate The current orientating date of this view.
1225
1229
  * @param {Date} params.event.date The new date to which this view is to be orientated.
1226
1230
  */
1227
- (e: 'beforeChangeDate', params: ((event: { oldDate: Date, date: Date }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1231
+ (e: 'beforeChangeDate', params: ((event: { oldDate: Date, date: Date }) => boolean|void)|string): boolean|void
1228
1232
  /**
1229
1233
  * Fires before an object is destroyed.
1230
1234
  * @param {string} e Event name
@@ -1240,7 +1244,7 @@ const emit = defineEmits<{
1240
1244
  * @param {object} params.event Event object
1241
1245
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
1242
1246
  */
1243
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1247
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
1244
1248
  /**
1245
1249
  * Triggered before a new [responsiveState](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveState) is applied.
1246
1250
  * @param {string} e Event name
@@ -1276,7 +1280,7 @@ const emit = defineEmits<{
1276
1280
  * @param {object} params.event Event object
1277
1281
  * @param {any} params.event.state State object config
1278
1282
  */
1279
- (e: 'beforeStateApply', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1283
+ (e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
1280
1284
  /**
1281
1285
  * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
1282
1286
  * @param {string} e Event name
@@ -1284,7 +1288,7 @@ const emit = defineEmits<{
1284
1288
  * @param {object} params.event Event object
1285
1289
  * @param {any} params.event.state State object config
1286
1290
  */
1287
- (e: 'beforeStateSave', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1291
+ (e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
1288
1292
  /**
1289
1293
  * Fires when any other event is fired from the object.
1290
1294
  * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#event-catchAll)
@@ -455,9 +455,13 @@ export declare type BryntumDayViewProps = {
455
455
  */
456
456
  eventSorter ? : (lhs: EventModel|EventBar, rhs: EventModel|EventBar) => number
457
457
  /**
458
- * Number of pixels to reduce the height of events by, to leave a gap between them.
458
+ * The amount of vertical spacing applied to events. May be a single number giving the
459
+ * bottom spacing in pixels, or an object specifying both top and bottom spacings:
460
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-eventSpacing)
461
+ * @property {number} [top] The top spacing in pixels.
462
+ * @property {number} [bottom] The bottom spacing in pixels.
459
463
  */
460
- eventSpacing ? : number
464
+ eventSpacing ? : number|object
461
465
  /**
462
466
  * By default, the end date of an all day event is displayed in the UI as
463
467
  * the last calendar date on which the event falls. For most end users, this is the
@@ -690,7 +690,7 @@ const emit = defineEmits<{
690
690
  * @param {object} params.event Event object
691
691
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
692
692
  */
693
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
693
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
694
694
  /**
695
695
  * Fired before this container will load record values into its child fields. This is useful if you
696
696
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -716,7 +716,7 @@ const emit = defineEmits<{
716
716
  * @param {object} params.event Event object
717
717
  * @param {any} params.event.state State object config
718
718
  */
719
- (e: 'beforeStateApply', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
719
+ (e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
720
720
  /**
721
721
  * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
722
722
  * @param {string} e Event name
@@ -724,7 +724,7 @@ const emit = defineEmits<{
724
724
  * @param {object} params.event Event object
725
725
  * @param {any} params.event.state State object config
726
726
  */
727
- (e: 'beforeStateSave', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
727
+ (e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
728
728
  /**
729
729
  * Fires when any other event is fired from the object.
730
730
  * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DemoCodeEditor#event-catchAll)
@@ -91,6 +91,15 @@ defineProps<{
91
91
  * Set to `true` to centre the Widget in browser viewport space.
92
92
  */
93
93
  centered ? : Boolean
94
+ /**
95
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
96
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-isValid)
97
+ * evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
98
+ * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DisplayField#config-checkValidity)
99
+ * @param {Core.widget.Field} field The field being validated
100
+ * @returns {void}
101
+ */
102
+ checkValidity ? : ((field: Field) => void)|string
94
103
  /**
95
104
  * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly). The trigger is available
96
105
  * in the [triggers](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
@@ -628,7 +637,7 @@ const emit = defineEmits<{
628
637
  * @param {object} params.event Event object
629
638
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
630
639
  */
631
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
640
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
632
641
  /**
633
642
  * Triggered before a widget is shown. Return `false` to prevent the action.
634
643
  * @param {string} e Event name
@@ -801,6 +810,7 @@ const widgetData = {
801
810
  'autoSelect',
802
811
  'bubbleEvents',
803
812
  'centered',
813
+ 'checkValidity',
804
814
  'clearable',
805
815
  'color',
806
816
  'config',
@@ -77,6 +77,15 @@ export declare type BryntumDisplayFieldProps = {
77
77
  * Set to `true` to centre the Widget in browser viewport space.
78
78
  */
79
79
  centered ? : Boolean
80
+ /**
81
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
82
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-isValid)
83
+ * evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
84
+ * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DisplayField#config-checkValidity)
85
+ * @param {Core.widget.Field} field The field being validated
86
+ * @returns {void}
87
+ */
88
+ checkValidity ? : ((field: Field) => void)|string
80
89
  /**
81
90
  * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly). The trigger is available
82
91
  * in the [triggers](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
@@ -100,6 +100,15 @@ defineProps<{
100
100
  * Set to `true` to centre the Widget in browser viewport space.
101
101
  */
102
102
  centered ? : Boolean
103
+ /**
104
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
105
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-isValid)
106
+ * evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
107
+ * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-checkValidity)
108
+ * @param {Core.widget.Field} field The field being validated
109
+ * @returns {void}
110
+ */
111
+ checkValidity ? : ((field: Field) => void)|string
103
112
  /**
104
113
  * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly). The trigger is available
105
114
  * in the [triggers](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
@@ -676,7 +685,7 @@ const emit = defineEmits<{
676
685
  * @param {object} params.event Event object
677
686
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
678
687
  */
679
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
688
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
680
689
  /**
681
690
  * Triggered before a widget is shown. Return `false` to prevent the action.
682
691
  * @param {string} e Event name
@@ -849,6 +858,7 @@ const widgetData = {
849
858
  'autoSelect',
850
859
  'bubbleEvents',
851
860
  'centered',
861
+ 'checkValidity',
852
862
  'clearable',
853
863
  'color',
854
864
  'config',
@@ -86,6 +86,15 @@ export declare type BryntumDurationFieldProps = {
86
86
  * Set to `true` to centre the Widget in browser viewport space.
87
87
  */
88
88
  centered ? : Boolean
89
+ /**
90
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
91
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-isValid)
92
+ * evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
93
+ * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-checkValidity)
94
+ * @param {Core.widget.Field} field The field being validated
95
+ * @returns {void}
96
+ */
97
+ checkValidity ? : ((field: Field) => void)|string
89
98
  /**
90
99
  * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly). The trigger is available
91
100
  * in the [triggers](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
@@ -607,7 +607,7 @@ const emit = defineEmits<{
607
607
  * @param {Event} params.event.event Included if the cancellation was triggered by a DOM event
608
608
  * @param {Core.widget.Editor} params.event.source The Editor that triggered the event.
609
609
  */
610
- (e: 'beforeCancel', params: ((event: { oldValue: object, value: object, event: Event, source: Editor }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
610
+ (e: 'beforeCancel', params: ((event: { oldValue: object, value: object, event: Event, source: Editor }) => boolean|void)|string): boolean|void
611
611
  /**
612
612
  * Fired when an edit completion has been requested, either by <kbd>Enter</kbd>, or focus loss (if configured to complete on blur).
613
613
  * The completion may be vetoed, in which case, focus is moved back into the editor.
@@ -620,7 +620,7 @@ const emit = defineEmits<{
620
620
  * @param {Function} [params.event.finalize] An async function may be injected into this property which performs asynchronous finalization tasks such as complex validation of confirmation. The value `true` or `false` must be returned.
621
621
  * @param {object} [params.event.finalize.context] An object describing the editing context upon requested completion of the edit.
622
622
  */
623
- (e: 'beforeComplete', params: ((event: { oldValue: object, value: object, source: Editor, finalize: { context?: object } }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
623
+ (e: 'beforeComplete', params: ((event: { oldValue: object, value: object, source: Editor, finalize: { context?: object } }) => boolean|void)|string): boolean|void
624
624
  /**
625
625
  * Fires before an object is destroyed.
626
626
  * @param {string} e Event name
@@ -636,7 +636,7 @@ const emit = defineEmits<{
636
636
  * @param {object} params.event Event object
637
637
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
638
638
  */
639
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
639
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
640
640
  /**
641
641
  * Fired before this container will load record values into its child fields. This is useful if you
642
642
  * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
@@ -660,7 +660,7 @@ const emit = defineEmits<{
660
660
  * @param {string} e Event name
661
661
  * @param {object} params Event parameters
662
662
  * @param {object} params.event Event object
663
- * @param {HTMLElement} params.event.target The element which the Editor is to overlay to edit its content.
663
+ * @param {Element} params.event.target The element which the Editor is to overlay to edit its content.
664
664
  * @param {Core.data.Model} [params.event.record] The record being edited.
665
665
  * @param {string} [params.event.field] The name of the field if a record is being edited.
666
666
  * @param {object} params.event.value The value to be edited.
@@ -672,7 +672,7 @@ const emit = defineEmits<{
672
672
  * @param {boolean} params.event.matchFont Whether to match the target's font. See [matchFont](https://bryntum.com/products/calendar/docs/api/Core/widget/Editor#config-matchFont)
673
673
  * @param {boolean} params.event.focus Whether to focus the editor's field.
674
674
  */
675
- (e: 'beforeStart', params: ((event: { target: HTMLElement, record?: Model, field?: string, value: object, align: string|AlignSpec, hideTarget: boolean, matchSize: { width: boolean, height: boolean }, matchFont: boolean, focus: boolean }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
675
+ (e: 'beforeStart', params: ((event: { target: Element, record?: Model, field?: string, value: object, align: string|AlignSpec, hideTarget: boolean, matchSize: { width: boolean, height: boolean }, matchFont: boolean, focus: boolean }) => boolean|void)|string): boolean|void
676
676
  /**
677
677
  * Edit has been canceled without updating the associated record or element.
678
678
  * @param {string} e Event name
@@ -99,6 +99,15 @@ defineProps<{
99
99
  * Set to `true` to centre the Widget in browser viewport space.
100
100
  */
101
101
  centered ? : Boolean
102
+ /**
103
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
104
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-isValid)
105
+ * evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
106
+ * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-checkValidity)
107
+ * @param {Core.widget.Field} field The field being validated
108
+ * @returns {void}
109
+ */
110
+ checkValidity ? : ((field: Field) => void)|string
102
111
  /**
103
112
  * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly). The trigger is available
104
113
  * in the [triggers](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
@@ -639,7 +648,7 @@ const emit = defineEmits<{
639
648
  * @param {object} params.event Event object
640
649
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
641
650
  */
642
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
651
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
643
652
  /**
644
653
  * Triggered before a widget is shown. Return `false` to prevent the action.
645
654
  * @param {string} e Event name
@@ -813,6 +822,7 @@ const widgetData = {
813
822
  'autoSelect',
814
823
  'bubbleEvents',
815
824
  'centered',
825
+ 'checkValidity',
816
826
  'clearable',
817
827
  'config',
818
828
  'constrainTo',
@@ -85,6 +85,15 @@ export declare type BryntumEventColorFieldProps = {
85
85
  * Set to `true` to centre the Widget in browser viewport space.
86
86
  */
87
87
  centered ? : Boolean
88
+ /**
89
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
90
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-isValid)
91
+ * evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
92
+ * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-checkValidity)
93
+ * @param {Core.widget.Field} field The field being validated
94
+ * @returns {void}
95
+ */
96
+ checkValidity ? : ((field: Field) => void)|string
88
97
  /**
89
98
  * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly). The trigger is available
90
99
  * in the [triggers](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which