@bryntum/schedulerpro-vue-3 7.2.0 → 7.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (221) hide show
  1. package/lib/chunks/0olytZFM.js.map +1 -1
  2. package/lib/chunks/{BtnHwfMc.js → 1kk86g62.js} +4 -2
  3. package/lib/chunks/1kk86g62.js.map +1 -0
  4. package/lib/chunks/5k_sYXVC.js.map +1 -1
  5. package/lib/chunks/9secuDmk.js.map +1 -1
  6. package/lib/chunks/B-LWWa6R.js.map +1 -1
  7. package/lib/chunks/B0QmpaFq.js.map +1 -1
  8. package/lib/chunks/B4mE3tZC.js.map +1 -1
  9. package/lib/chunks/BAQlLz-Q.js.map +1 -1
  10. package/lib/chunks/BWAHKp3x.js.map +1 -1
  11. package/lib/chunks/BYiGvL75.js.map +1 -1
  12. package/lib/chunks/BZbwSmK_.js.map +1 -1
  13. package/lib/chunks/Bblgr6QM.js.map +1 -1
  14. package/lib/chunks/{Ch3BmNCK.js → BcA885Zm.js} +6 -4
  15. package/lib/chunks/BcA885Zm.js.map +1 -0
  16. package/lib/chunks/{z-VELSJ3.js → BeOhakKo.js} +7 -5
  17. package/lib/chunks/BeOhakKo.js.map +1 -0
  18. package/lib/chunks/BiiFbNLx.js.map +1 -1
  19. package/lib/chunks/Bk0RWa-T.js.map +1 -1
  20. package/lib/chunks/{CmIGXWXG.js → BkRl4a9t.js} +4 -2
  21. package/lib/chunks/BkRl4a9t.js.map +1 -0
  22. package/lib/chunks/BtiE9_6C.js.map +1 -1
  23. package/lib/chunks/ByoIubnX.js.map +1 -1
  24. package/lib/chunks/{Cqwyqs4q.js → C8hM6eQZ.js} +7 -5
  25. package/lib/chunks/C8hM6eQZ.js.map +1 -0
  26. package/lib/chunks/{BQc-p8Q-.js → CAQaUxmN.js} +4 -2
  27. package/lib/chunks/CAQaUxmN.js.map +1 -0
  28. package/lib/chunks/CO9XHBHh.js.map +1 -1
  29. package/lib/chunks/COlngFKF.js.map +1 -1
  30. package/lib/chunks/CTAYSKIJ.js.map +1 -1
  31. package/lib/chunks/CbEiBV-6.js.map +1 -1
  32. package/lib/chunks/{BWiLsA0R.js → CfrpRVxZ.js} +4 -2
  33. package/lib/chunks/CfrpRVxZ.js.map +1 -0
  34. package/lib/chunks/{DPVUcDJS.js → ChZnbZ0w.js} +6 -4
  35. package/lib/chunks/ChZnbZ0w.js.map +1 -0
  36. package/lib/chunks/CjD78FXZ.js.map +1 -1
  37. package/lib/chunks/{UNvArD6f.js → CjqxuKLG.js} +6 -4
  38. package/lib/chunks/CjqxuKLG.js.map +1 -0
  39. package/lib/chunks/CmlZ87eo.js.map +1 -1
  40. package/lib/chunks/Cun3FOGF.js.map +1 -1
  41. package/lib/chunks/D-3-wbEV.js.map +1 -1
  42. package/lib/chunks/D7ayIg-g.js.map +1 -1
  43. package/lib/chunks/DCKgZKwG.js.map +1 -1
  44. package/lib/chunks/DDX5eIyI.js.map +1 -1
  45. package/lib/chunks/{BOl6XkVb.js → DFMIs8i5.js} +9 -7
  46. package/lib/chunks/DFMIs8i5.js.map +1 -0
  47. package/lib/chunks/DGZhI5QE.js.map +1 -1
  48. package/lib/chunks/DKUkg1MY.js.map +1 -1
  49. package/lib/chunks/DLrZZFmw.js.map +1 -1
  50. package/lib/chunks/DQNumK4y.js.map +1 -1
  51. package/lib/chunks/DSjbe09s.js.map +1 -1
  52. package/lib/chunks/{CUJJ7pLa.js → DTVRXvAv.js} +102 -31
  53. package/lib/chunks/DTVRXvAv.js.map +1 -0
  54. package/lib/chunks/DYTpfWXF.js.map +1 -1
  55. package/lib/chunks/DZcx1jia.js.map +1 -1
  56. package/lib/chunks/DsUmYUD6.js.map +1 -1
  57. package/lib/chunks/Du02SV9M.js.map +1 -1
  58. package/lib/chunks/E4Vvno-M.js.map +1 -1
  59. package/lib/chunks/H-LzkVlM.js.map +1 -1
  60. package/lib/chunks/Slkwd7o6.js.map +1 -1
  61. package/lib/chunks/{Cz7CgR0P.js → T_OXMN22.js} +4 -2
  62. package/lib/chunks/T_OXMN22.js.map +1 -0
  63. package/lib/chunks/d1EoG2QK.js.map +1 -1
  64. package/lib/chunks/g9ykHbL-.js.map +1 -1
  65. package/lib/chunks/gjaro4yA.js.map +1 -1
  66. package/lib/chunks/gp1g7KXE.js.map +1 -1
  67. package/lib/chunks/jIHFqxTe.js.map +1 -1
  68. package/lib/chunks/kprm1HNA.js.map +1 -1
  69. package/lib/chunks/{C11XaWt6.js → oqBQwmVK.js} +4 -2
  70. package/lib/chunks/oqBQwmVK.js.map +1 -0
  71. package/lib/chunks/qr_ZeTgF.js.map +1 -1
  72. package/lib/chunks/uAWYQq1B.js.map +1 -1
  73. package/lib/chunks/xCPoBFXA.js.map +1 -1
  74. package/lib/components/BryntumGrid.js +1 -1
  75. package/lib/components/BryntumGridBase.js +1 -1
  76. package/lib/components/BryntumResourceGrid.js +1 -1
  77. package/lib/components/BryntumResourceHistogram.js +1 -1
  78. package/lib/components/BryntumResourceUtilization.js +1 -1
  79. package/lib/components/BryntumScheduler.js +1 -1
  80. package/lib/components/BryntumSchedulerBase.js +1 -1
  81. package/lib/components/BryntumSchedulerPro.js +1 -1
  82. package/lib/components/BryntumSchedulerProBase.js +1 -1
  83. package/lib/components/BryntumTimeline.js +1 -1
  84. package/lib/components/BryntumTimelineHistogram.js +1 -1
  85. package/lib/components/BryntumTreeGrid.js +1 -1
  86. package/lib/components/BryntumVersionGrid.js +1 -1
  87. package/lib/index.js +13 -13
  88. package/package.json +1 -1
  89. package/src/components/BryntumAIFilterField.vue +1 -1
  90. package/src/components/BryntumAIFilterFieldProps.ts +1 -1
  91. package/src/components/BryntumCalendarEditor.vue +1 -1
  92. package/src/components/BryntumCalendarEditorProps.ts +1 -1
  93. package/src/components/BryntumCalendarField.vue +2 -2
  94. package/src/components/BryntumCalendarFieldProps.ts +2 -2
  95. package/src/components/BryntumCheckbox.vue +1 -1
  96. package/src/components/BryntumCheckboxProps.ts +1 -1
  97. package/src/components/BryntumChecklistFilterCombo.vue +2 -2
  98. package/src/components/BryntumChecklistFilterComboProps.ts +2 -2
  99. package/src/components/BryntumChipView.vue +1 -1
  100. package/src/components/BryntumChipViewProps.ts +1 -1
  101. package/src/components/BryntumColorField.vue +1 -1
  102. package/src/components/BryntumColorFieldProps.ts +1 -1
  103. package/src/components/BryntumCombo.vue +2 -2
  104. package/src/components/BryntumComboProps.ts +2 -2
  105. package/src/components/BryntumConstraintTypePicker.vue +2 -2
  106. package/src/components/BryntumConstraintTypePickerProps.ts +2 -2
  107. package/src/components/BryntumCostAccrualField.vue +2 -2
  108. package/src/components/BryntumCostAccrualFieldProps.ts +2 -2
  109. package/src/components/BryntumDateField.vue +1 -1
  110. package/src/components/BryntumDateFieldProps.ts +1 -1
  111. package/src/components/BryntumDateRangeField.vue +1 -1
  112. package/src/components/BryntumDateRangeFieldProps.ts +1 -1
  113. package/src/components/BryntumDateTimeField.vue +1 -1
  114. package/src/components/BryntumDateTimeFieldProps.ts +1 -1
  115. package/src/components/BryntumDependencyTypePicker.vue +2 -2
  116. package/src/components/BryntumDependencyTypePickerProps.ts +2 -2
  117. package/src/components/BryntumDisplayField.vue +1 -1
  118. package/src/components/BryntumDisplayFieldProps.ts +1 -1
  119. package/src/components/BryntumDurationField.vue +1 -1
  120. package/src/components/BryntumDurationFieldProps.ts +1 -1
  121. package/src/components/BryntumEditor.vue +3 -3
  122. package/src/components/BryntumEditorProps.ts +1 -1
  123. package/src/components/BryntumEffortField.vue +1 -1
  124. package/src/components/BryntumEffortFieldProps.ts +1 -1
  125. package/src/components/BryntumEndDateField.vue +1 -1
  126. package/src/components/BryntumEndDateFieldProps.ts +1 -1
  127. package/src/components/BryntumEventColorField.vue +1 -1
  128. package/src/components/BryntumEventColorFieldProps.ts +1 -1
  129. package/src/components/BryntumFileField.vue +1 -1
  130. package/src/components/BryntumFileFieldProps.ts +1 -1
  131. package/src/components/BryntumFilterField.vue +1 -1
  132. package/src/components/BryntumFilterFieldProps.ts +1 -1
  133. package/src/components/BryntumGrid.vue +18 -6
  134. package/src/components/BryntumGridBase.vue +18 -6
  135. package/src/components/BryntumGridBaseProps.ts +4 -4
  136. package/src/components/BryntumGridProps.ts +4 -4
  137. package/src/components/BryntumGroupBar.vue +1 -1
  138. package/src/components/BryntumGroupBarProps.ts +1 -1
  139. package/src/components/BryntumHint.vue +1 -1
  140. package/src/components/BryntumHintProps.ts +1 -1
  141. package/src/components/BryntumList.vue +1 -1
  142. package/src/components/BryntumListProps.ts +1 -1
  143. package/src/components/BryntumMenu.vue +1 -1
  144. package/src/components/BryntumMenuProps.ts +1 -1
  145. package/src/components/BryntumModelCombo.vue +2 -2
  146. package/src/components/BryntumModelComboProps.ts +2 -2
  147. package/src/components/BryntumNumberField.vue +1 -1
  148. package/src/components/BryntumNumberFieldProps.ts +1 -1
  149. package/src/components/BryntumPasswordField.vue +1 -1
  150. package/src/components/BryntumPasswordFieldProps.ts +1 -1
  151. package/src/components/BryntumProjectCombo.vue +2 -2
  152. package/src/components/BryntumProjectComboProps.ts +2 -2
  153. package/src/components/BryntumRadio.vue +1 -1
  154. package/src/components/BryntumRadioProps.ts +1 -1
  155. package/src/components/BryntumRateTableField.vue +2 -2
  156. package/src/components/BryntumRateTableFieldProps.ts +2 -2
  157. package/src/components/BryntumResourceCombo.vue +2 -2
  158. package/src/components/BryntumResourceComboProps.ts +2 -2
  159. package/src/components/BryntumResourceEditor.vue +1 -1
  160. package/src/components/BryntumResourceEditorProps.ts +1 -1
  161. package/src/components/BryntumResourceFilter.vue +1 -1
  162. package/src/components/BryntumResourceFilterProps.ts +1 -1
  163. package/src/components/BryntumResourceGrid.vue +96 -7
  164. package/src/components/BryntumResourceGridProps.ts +4 -4
  165. package/src/components/BryntumResourceHistogram.vue +20 -8
  166. package/src/components/BryntumResourceHistogramProps.ts +4 -4
  167. package/src/components/BryntumResourceTypeField.vue +2 -2
  168. package/src/components/BryntumResourceTypeFieldProps.ts +2 -2
  169. package/src/components/BryntumResourceUtilization.vue +21 -9
  170. package/src/components/BryntumResourceUtilizationProps.ts +5 -5
  171. package/src/components/BryntumScheduler.vue +27 -14
  172. package/src/components/BryntumSchedulerBase.vue +27 -14
  173. package/src/components/BryntumSchedulerBaseProps.ts +8 -8
  174. package/src/components/BryntumSchedulerPro.vue +27 -14
  175. package/src/components/BryntumSchedulerProBase.vue +27 -14
  176. package/src/components/BryntumSchedulerProBaseProps.ts +8 -8
  177. package/src/components/BryntumSchedulerProProjectModel.vue +7 -7
  178. package/src/components/BryntumSchedulerProProjectModelProps.ts +1 -1
  179. package/src/components/BryntumSchedulerProProps.ts +8 -8
  180. package/src/components/BryntumSchedulerProps.ts +8 -8
  181. package/src/components/BryntumSchedulingDirectionPicker.vue +2 -2
  182. package/src/components/BryntumSchedulingDirectionPickerProps.ts +2 -2
  183. package/src/components/BryntumSchedulingModePicker.vue +2 -2
  184. package/src/components/BryntumSchedulingModePickerProps.ts +2 -2
  185. package/src/components/BryntumSlideToggle.vue +1 -1
  186. package/src/components/BryntumSlideToggleProps.ts +1 -1
  187. package/src/components/BryntumSlider.vue +1 -1
  188. package/src/components/BryntumSliderProps.ts +1 -1
  189. package/src/components/BryntumStartDateField.vue +1 -1
  190. package/src/components/BryntumStartDateFieldProps.ts +1 -1
  191. package/src/components/BryntumTextAreaField.vue +1 -1
  192. package/src/components/BryntumTextAreaFieldProps.ts +1 -1
  193. package/src/components/BryntumTextAreaPickerField.vue +1 -1
  194. package/src/components/BryntumTextAreaPickerFieldProps.ts +1 -1
  195. package/src/components/BryntumTextField.vue +1 -1
  196. package/src/components/BryntumTextFieldProps.ts +1 -1
  197. package/src/components/BryntumTimeField.vue +1 -1
  198. package/src/components/BryntumTimeFieldProps.ts +1 -1
  199. package/src/components/BryntumTimeline.vue +27 -14
  200. package/src/components/BryntumTimelineHistogram.vue +20 -8
  201. package/src/components/BryntumTimelineHistogramProps.ts +4 -4
  202. package/src/components/BryntumTimelineProps.ts +8 -8
  203. package/src/components/BryntumTreeCombo.vue +2 -2
  204. package/src/components/BryntumTreeComboProps.ts +2 -2
  205. package/src/components/BryntumTreeGrid.vue +18 -6
  206. package/src/components/BryntumTreeGridProps.ts +4 -4
  207. package/src/components/BryntumVersionGrid.vue +18 -6
  208. package/src/components/BryntumVersionGridProps.ts +4 -4
  209. package/lib/chunks/BOl6XkVb.js.map +0 -1
  210. package/lib/chunks/BQc-p8Q-.js.map +0 -1
  211. package/lib/chunks/BWiLsA0R.js.map +0 -1
  212. package/lib/chunks/BtnHwfMc.js.map +0 -1
  213. package/lib/chunks/C11XaWt6.js.map +0 -1
  214. package/lib/chunks/CUJJ7pLa.js.map +0 -1
  215. package/lib/chunks/Ch3BmNCK.js.map +0 -1
  216. package/lib/chunks/CmIGXWXG.js.map +0 -1
  217. package/lib/chunks/Cqwyqs4q.js.map +0 -1
  218. package/lib/chunks/Cz7CgR0P.js.map +0 -1
  219. package/lib/chunks/DPVUcDJS.js.map +0 -1
  220. package/lib/chunks/UNvArD6f.js.map +0 -1
  221. package/lib/chunks/z-VELSJ3.js.map +0 -1
@@ -450,7 +450,7 @@ defineProps<{
450
450
  */
451
451
  emptyText ? : string|EmptyTextDomConfig
452
452
  /**
453
- * Allow using [Delete] and [Backspace] to remove events/assignments
453
+ * Allow using <kbd>Delete</kbd> and <kbd>Backspace</kbd> to remove events/assignments
454
454
  */
455
455
  enableDeleteKey ? : Boolean
456
456
  /**
@@ -551,8 +551,8 @@ defineProps<{
551
551
  * @param {'tonal','filled','bordered','traced','outlined','indented','line','dashed','minimal','rounded','calendar','interday','gantt',null} detail.renderData.eventStyle The `eventStyle` of the event. Use this to apply custom styles to the event DOM element
552
552
  * @param {string} detail.renderData.eventColor The `eventColor` of the event. Use this to set a custom color for the rendered event
553
553
  * @param {string} detail.renderData.ariaLabel A description of the event details used for screen readers
554
- * @param {DomConfig[]} detail.renderData.children An array of DOM configs used as children to the `b-sch-event` element. Can be populated with additional DOM configs to have more control over contents.
555
- * @returns {string,DomConfig,DomConfig[]} A simple string, or a DomConfig (or array thereof)
554
+ * @param {DomConfig[]} detail.renderData.children An array of DOM configs used as children to the `b-sch-event` element. Can be populated with additional DOM configs to have more control over contents. <h3>Using JSX (React)</h3> When using the Bryntum React wrapper, the event renderer can return JSX elements: ```javascript eventRenderer({ eventRecord, resourceRecord, renderData }) { return &lt;MyEventComponent event={eventRecord} resource={resourceRecord} />; } ``` *Using JSX in the event renderer creates a React portal for each rendered event. For schedulers with many visible events or frequently re-rendered views, this may impact scrolling performance compared to returning plain strings or [DomConfig](https://bryntum.com/products/schedulerpro/docs/api/Core/helper/DomHelper#typedef-DomConfig) objects. Consider using JSX primarily for events that require complex interactive React components.*
555
+ * @returns {string,DomConfig,DomConfig[]} A simple string, a DomConfig (or array thereof), or a JSX element when using React
556
556
  */
557
557
  eventRenderer ? : (detail: { eventRecord: SchedulerEventModel, resourceRecord: SchedulerResourceModel, assignmentRecord: SchedulerAssignmentModel, scheduler: Scheduler, renderData: { event: SchedulerEventModel, cls: DomClassList|string, wrapperCls: DomClassList|string, iconCls: DomClassList|string, left: number, width: number, height: number, style: string|Record<string, string>, wrapperStyle: string|Record<string, string>, eventStyle: 'tonal'|'filled'|'bordered'|'traced'|'outlined'|'indented'|'line'|'dashed'|'minimal'|'rounded'|'calendar'|'interday'|'gantt'|null, eventColor: string, ariaLabel: string, children: DomConfig[] } }) => string|DomConfig|DomConfig[]
558
558
  /**
@@ -1640,7 +1640,7 @@ defineProps<{
1640
1640
  cellEditFeature ? : object|Boolean|string|GridCellEdit|GridCellEditConfig
1641
1641
  /**
1642
1642
  * Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
1643
- * `SPACE` key when the cell is focused.
1643
+ * <kbd>Space</kbd> key when the cell is focused.
1644
1644
  * ...
1645
1645
  * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellMenu)
1646
1646
  */
@@ -1732,8 +1732,8 @@ defineProps<{
1732
1732
  */
1733
1733
  dependencyMenuFeature ? : object|Boolean|string|DependencyMenu|DependencyMenuConfig
1734
1734
  /**
1735
- * Allow using <kbd>Ctrl</kbd>/<kbd>CMD</kbd> + <kbd>C</kbd>/<kbd>X</kbd> and <kbd>Ctrl</kbd>/<kbd>CMD</kbd> +
1736
- * <kbd>V</kbd> to copy/cut and paste events.
1735
+ * Allow using <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>C</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>X</kbd> and
1736
+ * <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>V</kbd> to copy/cut and paste events.
1737
1737
  * ...
1738
1738
  * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/EventCopyPaste)
1739
1739
  */
@@ -1835,8 +1835,8 @@ defineProps<{
1835
1835
  filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
1836
1836
  /**
1837
1837
  * Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
1838
- * <kbd>shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
1839
- * one anywhere on grid). Use <kbd>shift</kbd> + <kbd>alt</kbd> + click, or the context menu, to remove a column
1838
+ * <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
1839
+ * one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
1840
1840
  * grouper.
1841
1841
  * ...
1842
1842
  * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Group)
@@ -2202,7 +2202,7 @@ const emit = defineEmits<{
2202
2202
  */
2203
2203
  (e: 'assignmentSelectionChange', params: ((event: { source: Scheduler, action: 'select'|'deselect'|'update'|'clear', selected: SchedulerAssignmentModel[], deselected: SchedulerAssignmentModel[], selection: SchedulerAssignmentModel[] }) => void)|string): void
2204
2204
  /**
2205
- * Fires before an assignment is removed. Can be triggered by user pressing [DELETE] or [BACKSPACE] or
2205
+ * Fires before an assignment is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or
2206
2206
  * by the event editor. Can for example be used to display a custom dialog to confirm deletion, in which
2207
2207
  * case records should be "manually" removed after confirmation:
2208
2208
  * ...
@@ -2272,7 +2272,7 @@ const emit = defineEmits<{
2272
2272
  */
2273
2273
  (e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2274
2274
  /**
2275
- * Fires on the owning Grid before deleting a range of selected cell values by pressing `Backspace` or `Del`
2275
+ * Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
2276
2276
  * buttons while [autoEdit](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
2277
2277
  * @param {string} e Event name
2278
2278
  * @param {object} params Event parameters
@@ -2504,7 +2504,7 @@ const emit = defineEmits<{
2504
2504
  */
2505
2505
  (e: 'beforeEventAdd', params: ((event: { source: Scheduler, eventRecord: SchedulerEventModel, resourceRecords: SchedulerResourceModel[], assignmentRecords: SchedulerAssignmentModel[] }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2506
2506
  /**
2507
- * Fires before an event is removed. Can be triggered by user pressing [DELETE] or [BACKSPACE] or by the
2507
+ * Fires before an event is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or by the
2508
2508
  * event editor. Return `false` to immediately veto the removal (or a `Promise` yielding `true` or `false`
2509
2509
  * for async vetoing).
2510
2510
  * ...
@@ -4140,12 +4140,13 @@ const emit = defineEmits<{
4140
4140
  * @param {Scheduler.model.SchedulerEventModel[]} params.event.originalEventRecords The event records that were copied
4141
4141
  * @param {Scheduler.model.SchedulerAssignmentModel[]} params.event.originalAssignmentRecords The assignment records that were copied
4142
4142
  * @param {Date} params.event.date The paste date
4143
- * @param {Scheduler.model.SchedulerResourceModel} params.event.resourceRecord The target resource record
4143
+ * @param {Scheduler.model.SchedulerResourceModel} params.event.resourceRecord The target resource record. When multiple resources are pasted to, this will be the top resource
4144
+ * @param {Scheduler.model.SchedulerResourceModel[]} params.event.resourceRecords All target resource records that the events would be pasted to
4144
4145
  * @param {boolean} params.event.isCut `true` if this is a cut action
4145
4146
  * @param {string} params.event.entityName 'event' to distinguish this event from other `pasteNotAllowed` events
4146
4147
  * @param {'overlappingEvents','resourceReadOnly'} params.event.reason A string id to use for displaying an error message to the user.
4147
4148
  */
4148
- (e: 'pasteNotAllowed', params: ((event: { source: Scheduler, eventRecords: SchedulerEventModel[], assignmentRecords: SchedulerAssignmentModel[], originalEventRecords: SchedulerEventModel[], originalAssignmentRecords: SchedulerAssignmentModel[], date: Date, resourceRecord: SchedulerResourceModel, isCut: boolean, entityName: string, reason: 'overlappingEvents'|'resourceReadOnly' }) => void)|string): void
4149
+ (e: 'pasteNotAllowed', params: ((event: { source: Scheduler, eventRecords: SchedulerEventModel[], assignmentRecords: SchedulerAssignmentModel[], originalEventRecords: SchedulerEventModel[], originalAssignmentRecords: SchedulerAssignmentModel[], date: Date, resourceRecord: SchedulerResourceModel, resourceRecords: SchedulerResourceModel[], isCut: boolean, entityName: string, reason: 'overlappingEvents'|'resourceReadOnly' }) => void)|string): void
4149
4150
  /**
4150
4151
  * Fires on the owning Grid when export has finished
4151
4152
  * @param {string} e Event name
@@ -4154,7 +4155,7 @@ const emit = defineEmits<{
4154
4155
  * @param {Response} params.event.response Optional response, if received
4155
4156
  * @param {Error} params.event.error Optional error, if exception occurred
4156
4157
  */
4157
- (e: 'pdfExport', params: ((event: { response?: any, error?: Error }) => void)|string): void
4158
+ (e: 'pdfExport', params: ((event: { response?: Response, error?: Error }) => void)|string): void
4158
4159
  /**
4159
4160
  * Fired after the [viewPreset](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineViewPresets#config-viewPreset) has changed.
4160
4161
  * @param {string} e Event name
@@ -5119,6 +5120,16 @@ const emit = defineEmits<{
5119
5120
  * @param {Core.widget.Tool} params.event.tool The tool which is being clicked.
5120
5121
  */
5121
5122
  (e: 'toolClick', params: ((event: { source: Tool, tool: Tool }) => void)|string): void
5123
+ /**
5124
+ * Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
5125
+ * @param {string} e Event name
5126
+ * @param {object} params Event parameters
5127
+ * @param {object} params.event Event object
5128
+ * @param {Grid.view.Grid} params.event.source The grid instance
5129
+ * @param {(string|Function)[]} params.event.groupers Array of field names or functions representing the current grouping levels
5130
+ * @param {(string|Function)[]} params.event.oldGroupers Array of field names or functions representing the previous grouping levels
5131
+ */
5132
+ (e: 'treeGroup', params: ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string): void
5122
5133
  /**
5123
5134
  * Fires when row locking is disabled.
5124
5135
  * @param {string} e Event name
@@ -5702,6 +5713,7 @@ const widgetData = {
5702
5713
  'onToggleGroup',
5703
5714
  'onToggleNode',
5704
5715
  'onToolClick',
5716
+ 'onTreeGroup',
5705
5717
  'onUnlockRows',
5706
5718
  'onUnsplit',
5707
5719
  'onVisibleDateRangeChange',
@@ -6033,6 +6045,7 @@ const widgetData = {
6033
6045
  'toggleGroup',
6034
6046
  'toggleNode',
6035
6047
  'toolClick',
6048
+ 'treeGroup',
6036
6049
  'unlockRows',
6037
6050
  'unsplit',
6038
6051
  'visibleDateRangeChange'
@@ -450,7 +450,7 @@ defineProps<{
450
450
  */
451
451
  emptyText ? : string|EmptyTextDomConfig
452
452
  /**
453
- * Allow using [Delete] and [Backspace] to remove events/assignments
453
+ * Allow using <kbd>Delete</kbd> and <kbd>Backspace</kbd> to remove events/assignments
454
454
  */
455
455
  enableDeleteKey ? : Boolean
456
456
  /**
@@ -551,8 +551,8 @@ defineProps<{
551
551
  * @param {'tonal','filled','bordered','traced','outlined','indented','line','dashed','minimal','rounded','calendar','interday','gantt',null} detail.renderData.eventStyle The `eventStyle` of the event. Use this to apply custom styles to the event DOM element
552
552
  * @param {string} detail.renderData.eventColor The `eventColor` of the event. Use this to set a custom color for the rendered event
553
553
  * @param {string} detail.renderData.ariaLabel A description of the event details used for screen readers
554
- * @param {DomConfig[]} detail.renderData.children An array of DOM configs used as children to the `b-sch-event` element. Can be populated with additional DOM configs to have more control over contents.
555
- * @returns {string,DomConfig,DomConfig[]} A simple string, or a DomConfig (or array thereof)
554
+ * @param {DomConfig[]} detail.renderData.children An array of DOM configs used as children to the `b-sch-event` element. Can be populated with additional DOM configs to have more control over contents. <h3>Using JSX (React)</h3> When using the Bryntum React wrapper, the event renderer can return JSX elements: ```javascript eventRenderer({ eventRecord, resourceRecord, renderData }) { return &lt;MyEventComponent event={eventRecord} resource={resourceRecord} />; } ``` *Using JSX in the event renderer creates a React portal for each rendered event. For schedulers with many visible events or frequently re-rendered views, this may impact scrolling performance compared to returning plain strings or [DomConfig](https://bryntum.com/products/schedulerpro/docs/api/Core/helper/DomHelper#typedef-DomConfig) objects. Consider using JSX primarily for events that require complex interactive React components.*
555
+ * @returns {string,DomConfig,DomConfig[]} A simple string, a DomConfig (or array thereof), or a JSX element when using React
556
556
  */
557
557
  eventRenderer ? : (detail: { eventRecord: SchedulerEventModel, resourceRecord: SchedulerResourceModel, assignmentRecord: SchedulerAssignmentModel, scheduler: Scheduler, renderData: { event: SchedulerEventModel, cls: DomClassList|string, wrapperCls: DomClassList|string, iconCls: DomClassList|string, left: number, width: number, height: number, style: string|Record<string, string>, wrapperStyle: string|Record<string, string>, eventStyle: 'tonal'|'filled'|'bordered'|'traced'|'outlined'|'indented'|'line'|'dashed'|'minimal'|'rounded'|'calendar'|'interday'|'gantt'|null, eventColor: string, ariaLabel: string, children: DomConfig[] } }) => string|DomConfig|DomConfig[]
558
558
  /**
@@ -1639,7 +1639,7 @@ defineProps<{
1639
1639
  cellEditFeature ? : object|Boolean|string|GridCellEdit|GridCellEditConfig
1640
1640
  /**
1641
1641
  * Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
1642
- * `SPACE` key when the cell is focused.
1642
+ * <kbd>Space</kbd> key when the cell is focused.
1643
1643
  * ...
1644
1644
  * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellMenu)
1645
1645
  */
@@ -1731,8 +1731,8 @@ defineProps<{
1731
1731
  */
1732
1732
  dependencyMenuFeature ? : object|Boolean|string|DependencyMenu|DependencyMenuConfig
1733
1733
  /**
1734
- * Allow using <kbd>Ctrl</kbd>/<kbd>CMD</kbd> + <kbd>C</kbd>/<kbd>X</kbd> and <kbd>Ctrl</kbd>/<kbd>CMD</kbd> +
1735
- * <kbd>V</kbd> to copy/cut and paste events.
1734
+ * Allow using <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>C</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>X</kbd> and
1735
+ * <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>V</kbd> to copy/cut and paste events.
1736
1736
  * ...
1737
1737
  * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/EventCopyPaste)
1738
1738
  */
@@ -1834,8 +1834,8 @@ defineProps<{
1834
1834
  filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
1835
1835
  /**
1836
1836
  * Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
1837
- * <kbd>shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
1838
- * one anywhere on grid). Use <kbd>shift</kbd> + <kbd>alt</kbd> + click, or the context menu, to remove a column
1837
+ * <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
1838
+ * one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
1839
1839
  * grouper.
1840
1840
  * ...
1841
1841
  * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Group)
@@ -2201,7 +2201,7 @@ const emit = defineEmits<{
2201
2201
  */
2202
2202
  (e: 'assignmentSelectionChange', params: ((event: { source: Scheduler, action: 'select'|'deselect'|'update'|'clear', selected: SchedulerAssignmentModel[], deselected: SchedulerAssignmentModel[], selection: SchedulerAssignmentModel[] }) => void)|string): void
2203
2203
  /**
2204
- * Fires before an assignment is removed. Can be triggered by user pressing [DELETE] or [BACKSPACE] or
2204
+ * Fires before an assignment is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or
2205
2205
  * by the event editor. Can for example be used to display a custom dialog to confirm deletion, in which
2206
2206
  * case records should be "manually" removed after confirmation:
2207
2207
  * ...
@@ -2271,7 +2271,7 @@ const emit = defineEmits<{
2271
2271
  */
2272
2272
  (e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2273
2273
  /**
2274
- * Fires on the owning Grid before deleting a range of selected cell values by pressing `Backspace` or `Del`
2274
+ * Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
2275
2275
  * buttons while [autoEdit](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
2276
2276
  * @param {string} e Event name
2277
2277
  * @param {object} params Event parameters
@@ -2503,7 +2503,7 @@ const emit = defineEmits<{
2503
2503
  */
2504
2504
  (e: 'beforeEventAdd', params: ((event: { source: Scheduler, eventRecord: SchedulerEventModel, resourceRecords: SchedulerResourceModel[], assignmentRecords: SchedulerAssignmentModel[] }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2505
2505
  /**
2506
- * Fires before an event is removed. Can be triggered by user pressing [DELETE] or [BACKSPACE] or by the
2506
+ * Fires before an event is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or by the
2507
2507
  * event editor. Return `false` to immediately veto the removal (or a `Promise` yielding `true` or `false`
2508
2508
  * for async vetoing).
2509
2509
  * ...
@@ -4139,12 +4139,13 @@ const emit = defineEmits<{
4139
4139
  * @param {Scheduler.model.SchedulerEventModel[]} params.event.originalEventRecords The event records that were copied
4140
4140
  * @param {Scheduler.model.SchedulerAssignmentModel[]} params.event.originalAssignmentRecords The assignment records that were copied
4141
4141
  * @param {Date} params.event.date The paste date
4142
- * @param {Scheduler.model.SchedulerResourceModel} params.event.resourceRecord The target resource record
4142
+ * @param {Scheduler.model.SchedulerResourceModel} params.event.resourceRecord The target resource record. When multiple resources are pasted to, this will be the top resource
4143
+ * @param {Scheduler.model.SchedulerResourceModel[]} params.event.resourceRecords All target resource records that the events would be pasted to
4143
4144
  * @param {boolean} params.event.isCut `true` if this is a cut action
4144
4145
  * @param {string} params.event.entityName 'event' to distinguish this event from other `pasteNotAllowed` events
4145
4146
  * @param {'overlappingEvents','resourceReadOnly'} params.event.reason A string id to use for displaying an error message to the user.
4146
4147
  */
4147
- (e: 'pasteNotAllowed', params: ((event: { source: Scheduler, eventRecords: SchedulerEventModel[], assignmentRecords: SchedulerAssignmentModel[], originalEventRecords: SchedulerEventModel[], originalAssignmentRecords: SchedulerAssignmentModel[], date: Date, resourceRecord: SchedulerResourceModel, isCut: boolean, entityName: string, reason: 'overlappingEvents'|'resourceReadOnly' }) => void)|string): void
4148
+ (e: 'pasteNotAllowed', params: ((event: { source: Scheduler, eventRecords: SchedulerEventModel[], assignmentRecords: SchedulerAssignmentModel[], originalEventRecords: SchedulerEventModel[], originalAssignmentRecords: SchedulerAssignmentModel[], date: Date, resourceRecord: SchedulerResourceModel, resourceRecords: SchedulerResourceModel[], isCut: boolean, entityName: string, reason: 'overlappingEvents'|'resourceReadOnly' }) => void)|string): void
4148
4149
  /**
4149
4150
  * Fires on the owning Grid when export has finished
4150
4151
  * @param {string} e Event name
@@ -4153,7 +4154,7 @@ const emit = defineEmits<{
4153
4154
  * @param {Response} params.event.response Optional response, if received
4154
4155
  * @param {Error} params.event.error Optional error, if exception occurred
4155
4156
  */
4156
- (e: 'pdfExport', params: ((event: { response?: any, error?: Error }) => void)|string): void
4157
+ (e: 'pdfExport', params: ((event: { response?: Response, error?: Error }) => void)|string): void
4157
4158
  /**
4158
4159
  * Fired after the [viewPreset](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineViewPresets#config-viewPreset) has changed.
4159
4160
  * @param {string} e Event name
@@ -5118,6 +5119,16 @@ const emit = defineEmits<{
5118
5119
  * @param {Core.widget.Tool} params.event.tool The tool which is being clicked.
5119
5120
  */
5120
5121
  (e: 'toolClick', params: ((event: { source: Tool, tool: Tool }) => void)|string): void
5122
+ /**
5123
+ * Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
5124
+ * @param {string} e Event name
5125
+ * @param {object} params Event parameters
5126
+ * @param {object} params.event Event object
5127
+ * @param {Grid.view.Grid} params.event.source The grid instance
5128
+ * @param {(string|Function)[]} params.event.groupers Array of field names or functions representing the current grouping levels
5129
+ * @param {(string|Function)[]} params.event.oldGroupers Array of field names or functions representing the previous grouping levels
5130
+ */
5131
+ (e: 'treeGroup', params: ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string): void
5121
5132
  /**
5122
5133
  * Fires when row locking is disabled.
5123
5134
  * @param {string} e Event name
@@ -5700,6 +5711,7 @@ const widgetData = {
5700
5711
  'onToggleGroup',
5701
5712
  'onToggleNode',
5702
5713
  'onToolClick',
5714
+ 'onTreeGroup',
5703
5715
  'onUnlockRows',
5704
5716
  'onUnsplit',
5705
5717
  'onVisibleDateRangeChange',
@@ -6031,6 +6043,7 @@ const widgetData = {
6031
6043
  'toggleGroup',
6032
6044
  'toggleNode',
6033
6045
  'toolClick',
6046
+ 'treeGroup',
6034
6047
  'unlockRows',
6035
6048
  'unsplit',
6036
6049
  'visibleDateRangeChange'
@@ -413,7 +413,7 @@ export declare type BryntumSchedulerBaseProps = {
413
413
  */
414
414
  emptyText ? : string|EmptyTextDomConfig
415
415
  /**
416
- * Allow using [Delete] and [Backspace] to remove events/assignments
416
+ * Allow using <kbd>Delete</kbd> and <kbd>Backspace</kbd> to remove events/assignments
417
417
  */
418
418
  enableDeleteKey ? : Boolean
419
419
  /**
@@ -514,8 +514,8 @@ export declare type BryntumSchedulerBaseProps = {
514
514
  * @param {'tonal','filled','bordered','traced','outlined','indented','line','dashed','minimal','rounded','calendar','interday','gantt',null} detail.renderData.eventStyle The `eventStyle` of the event. Use this to apply custom styles to the event DOM element
515
515
  * @param {string} detail.renderData.eventColor The `eventColor` of the event. Use this to set a custom color for the rendered event
516
516
  * @param {string} detail.renderData.ariaLabel A description of the event details used for screen readers
517
- * @param {DomConfig[]} detail.renderData.children An array of DOM configs used as children to the `b-sch-event` element. Can be populated with additional DOM configs to have more control over contents.
518
- * @returns {string,DomConfig,DomConfig[]} A simple string, or a DomConfig (or array thereof)
517
+ * @param {DomConfig[]} detail.renderData.children An array of DOM configs used as children to the `b-sch-event` element. Can be populated with additional DOM configs to have more control over contents. <h3>Using JSX (React)</h3> When using the Bryntum React wrapper, the event renderer can return JSX elements: ```javascript eventRenderer({ eventRecord, resourceRecord, renderData }) { return &lt;MyEventComponent event={eventRecord} resource={resourceRecord} />; } ``` *Using JSX in the event renderer creates a React portal for each rendered event. For schedulers with many visible events or frequently re-rendered views, this may impact scrolling performance compared to returning plain strings or [DomConfig](https://bryntum.com/products/schedulerpro/docs/api/Core/helper/DomHelper#typedef-DomConfig) objects. Consider using JSX primarily for events that require complex interactive React components.*
518
+ * @returns {string,DomConfig,DomConfig[]} A simple string, a DomConfig (or array thereof), or a JSX element when using React
519
519
  */
520
520
  eventRenderer ? : (detail: { eventRecord: SchedulerEventModel, resourceRecord: SchedulerResourceModel, assignmentRecord: SchedulerAssignmentModel, scheduler: Scheduler, renderData: { event: SchedulerEventModel, cls: DomClassList|string, wrapperCls: DomClassList|string, iconCls: DomClassList|string, left: number, width: number, height: number, style: string|Record<string, string>, wrapperStyle: string|Record<string, string>, eventStyle: 'tonal'|'filled'|'bordered'|'traced'|'outlined'|'indented'|'line'|'dashed'|'minimal'|'rounded'|'calendar'|'interday'|'gantt'|null, eventColor: string, ariaLabel: string, children: DomConfig[] } }) => string|DomConfig|DomConfig[]
521
521
  /**
@@ -1602,7 +1602,7 @@ export declare type BryntumSchedulerBaseProps = {
1602
1602
  cellEditFeature ? : object|Boolean|string|GridCellEdit|GridCellEditConfig
1603
1603
  /**
1604
1604
  * Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
1605
- * `SPACE` key when the cell is focused.
1605
+ * <kbd>Space</kbd> key when the cell is focused.
1606
1606
  * ...
1607
1607
  * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellMenu)
1608
1608
  */
@@ -1694,8 +1694,8 @@ export declare type BryntumSchedulerBaseProps = {
1694
1694
  */
1695
1695
  dependencyMenuFeature ? : object|Boolean|string|DependencyMenu|DependencyMenuConfig
1696
1696
  /**
1697
- * Allow using <kbd>Ctrl</kbd>/<kbd>CMD</kbd> + <kbd>C</kbd>/<kbd>X</kbd> and <kbd>Ctrl</kbd>/<kbd>CMD</kbd> +
1698
- * <kbd>V</kbd> to copy/cut and paste events.
1697
+ * Allow using <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>C</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>X</kbd> and
1698
+ * <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>V</kbd> to copy/cut and paste events.
1699
1699
  * ...
1700
1700
  * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/EventCopyPaste)
1701
1701
  */
@@ -1797,8 +1797,8 @@ export declare type BryntumSchedulerBaseProps = {
1797
1797
  filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
1798
1798
  /**
1799
1799
  * Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
1800
- * <kbd>shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
1801
- * one anywhere on grid). Use <kbd>shift</kbd> + <kbd>alt</kbd> + click, or the context menu, to remove a column
1800
+ * <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
1801
+ * one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
1802
1802
  * grouper.
1803
1803
  * ...
1804
1804
  * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Group)
@@ -471,7 +471,7 @@ defineProps<{
471
471
  */
472
472
  emptyText ? : string|EmptyTextDomConfig
473
473
  /**
474
- * Allow using [Delete] and [Backspace] to remove events/assignments
474
+ * Allow using <kbd>Delete</kbd> and <kbd>Backspace</kbd> to remove events/assignments
475
475
  */
476
476
  enableDeleteKey ? : Boolean
477
477
  /**
@@ -570,8 +570,8 @@ defineProps<{
570
570
  * @param {'tonal','filled','bordered','traced','outlined','indented','line','dashed','minimal','rounded','calendar','interday','gantt',null} detail.renderData.eventStyle The `eventStyle` of the event. Use this to apply custom styles to the event DOM element
571
571
  * @param {string} detail.renderData.eventColor The `eventColor` of the event. Use this to set a custom color for the rendered event
572
572
  * @param {string} detail.renderData.ariaLabel A description of the event details used for screen readers
573
- * @param {DomConfig[]} detail.renderData.children An array of DOM configs used as children to the `b-sch-event` element. Can be populated with additional DOM configs to have more control over contents.
574
- * @returns {string,DomConfig,DomConfig[]} A simple string, or a DomConfig (or array thereof)
573
+ * @param {DomConfig[]} detail.renderData.children An array of DOM configs used as children to the `b-sch-event` element. Can be populated with additional DOM configs to have more control over contents. <h3>Using JSX (React)</h3> When using the Bryntum React wrapper, the event renderer can return JSX elements: ```javascript eventRenderer({ eventRecord, resourceRecord, renderData }) { return &lt;MyEventComponent event={eventRecord} resource={resourceRecord} />; } ``` *Using JSX in the event renderer creates a React portal for each rendered event. For schedulers with many visible events or frequently re-rendered views, this may impact scrolling performance compared to returning plain strings or [DomConfig](https://bryntum.com/products/schedulerpro/docs/api/Core/helper/DomHelper#typedef-DomConfig) objects. Consider using JSX primarily for events that require complex interactive React components.*
574
+ * @returns {string,DomConfig,DomConfig[]} A simple string, a DomConfig (or array thereof), or a JSX element when using React
575
575
  */
576
576
  eventRenderer ? : (detail: { eventRecord: SchedulerEventModel, resourceRecord: SchedulerResourceModel, assignmentRecord: SchedulerAssignmentModel, scheduler: Scheduler, renderData: { event: SchedulerEventModel, cls: DomClassList|string, wrapperCls: DomClassList|string, iconCls: DomClassList|string, left: number, width: number, height: number, style: string|Record<string, string>, wrapperStyle: string|Record<string, string>, eventStyle: 'tonal'|'filled'|'bordered'|'traced'|'outlined'|'indented'|'line'|'dashed'|'minimal'|'rounded'|'calendar'|'interday'|'gantt'|null, eventColor: string, ariaLabel: string, children: DomConfig[] } }) => string|DomConfig|DomConfig[]
577
577
  /**
@@ -1683,7 +1683,7 @@ defineProps<{
1683
1683
  cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
1684
1684
  /**
1685
1685
  * Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
1686
- * `SPACE` key when the cell is focused.
1686
+ * <kbd>Space</kbd> key when the cell is focused.
1687
1687
  * ...
1688
1688
  * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellMenu)
1689
1689
  */
@@ -1780,8 +1780,8 @@ defineProps<{
1780
1780
  */
1781
1781
  eventBufferFeature ? : object|Boolean|string|EventBuffer|EventBufferConfig
1782
1782
  /**
1783
- * Allow using <kbd>Ctrl</kbd>/<kbd>CMD</kbd> + <kbd>C</kbd>/<kbd>X</kbd> and <kbd>Ctrl</kbd>/<kbd>CMD</kbd> +
1784
- * <kbd>V</kbd> to copy/cut and paste events.
1783
+ * Allow using <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>C</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>X</kbd> and
1784
+ * <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>V</kbd> to copy/cut and paste events.
1785
1785
  * ...
1786
1786
  * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/EventCopyPaste)
1787
1787
  */
@@ -1902,8 +1902,8 @@ defineProps<{
1902
1902
  filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
1903
1903
  /**
1904
1904
  * Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
1905
- * <kbd>shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
1906
- * one anywhere on grid). Use <kbd>shift</kbd> + <kbd>alt</kbd> + click, or the context menu, to remove a column
1905
+ * <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
1906
+ * one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
1907
1907
  * grouper.
1908
1908
  * ...
1909
1909
  * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Group)
@@ -2351,7 +2351,7 @@ const emit = defineEmits<{
2351
2351
  */
2352
2352
  (e: 'assignmentSelectionChange', params: ((event: { source: Scheduler, action: 'select'|'deselect'|'update'|'clear', selected: SchedulerAssignmentModel[], deselected: SchedulerAssignmentModel[], selection: SchedulerAssignmentModel[] }) => void)|string): void
2353
2353
  /**
2354
- * Fires before an assignment is removed. Can be triggered by user pressing [DELETE] or [BACKSPACE] or
2354
+ * Fires before an assignment is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or
2355
2355
  * by the event editor. Can for example be used to display a custom dialog to confirm deletion, in which
2356
2356
  * case records should be "manually" removed after confirmation:
2357
2357
  * ...
@@ -2421,7 +2421,7 @@ const emit = defineEmits<{
2421
2421
  */
2422
2422
  (e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2423
2423
  /**
2424
- * Fires on the owning Grid before deleting a range of selected cell values by pressing `Backspace` or `Del`
2424
+ * Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
2425
2425
  * buttons while [autoEdit](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
2426
2426
  * @param {string} e Event name
2427
2427
  * @param {object} params Event parameters
@@ -2653,7 +2653,7 @@ const emit = defineEmits<{
2653
2653
  */
2654
2654
  (e: 'beforeEventAdd', params: ((event: { source: Scheduler, eventRecord: SchedulerEventModel, resourceRecords: SchedulerResourceModel[], assignmentRecords: SchedulerAssignmentModel[] }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2655
2655
  /**
2656
- * Fires before an event is removed. Can be triggered by user pressing [DELETE] or [BACKSPACE] or by the
2656
+ * Fires before an event is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or by the
2657
2657
  * event editor. Return `false` to immediately veto the removal (or a `Promise` yielding `true` or `false`
2658
2658
  * for async vetoing).
2659
2659
  * ...
@@ -4499,12 +4499,13 @@ const emit = defineEmits<{
4499
4499
  * @param {Scheduler.model.SchedulerEventModel[]} params.event.originalEventRecords The event records that were copied
4500
4500
  * @param {Scheduler.model.SchedulerAssignmentModel[]} params.event.originalAssignmentRecords The assignment records that were copied
4501
4501
  * @param {Date} params.event.date The paste date
4502
- * @param {Scheduler.model.SchedulerResourceModel} params.event.resourceRecord The target resource record
4502
+ * @param {Scheduler.model.SchedulerResourceModel} params.event.resourceRecord The target resource record. When multiple resources are pasted to, this will be the top resource
4503
+ * @param {Scheduler.model.SchedulerResourceModel[]} params.event.resourceRecords All target resource records that the events would be pasted to
4503
4504
  * @param {boolean} params.event.isCut `true` if this is a cut action
4504
4505
  * @param {string} params.event.entityName 'event' to distinguish this event from other `pasteNotAllowed` events
4505
4506
  * @param {'overlappingEvents','resourceReadOnly'} params.event.reason A string id to use for displaying an error message to the user.
4506
4507
  */
4507
- (e: 'pasteNotAllowed', params: ((event: { source: Scheduler, eventRecords: SchedulerEventModel[], assignmentRecords: SchedulerAssignmentModel[], originalEventRecords: SchedulerEventModel[], originalAssignmentRecords: SchedulerAssignmentModel[], date: Date, resourceRecord: SchedulerResourceModel, isCut: boolean, entityName: string, reason: 'overlappingEvents'|'resourceReadOnly' }) => void)|string): void
4508
+ (e: 'pasteNotAllowed', params: ((event: { source: Scheduler, eventRecords: SchedulerEventModel[], assignmentRecords: SchedulerAssignmentModel[], originalEventRecords: SchedulerEventModel[], originalAssignmentRecords: SchedulerAssignmentModel[], date: Date, resourceRecord: SchedulerResourceModel, resourceRecords: SchedulerResourceModel[], isCut: boolean, entityName: string, reason: 'overlappingEvents'|'resourceReadOnly' }) => void)|string): void
4508
4509
  /**
4509
4510
  * Fires on the owning Grid when export has finished
4510
4511
  * @param {string} e Event name
@@ -4513,7 +4514,7 @@ const emit = defineEmits<{
4513
4514
  * @param {Response} params.event.response Optional response, if received
4514
4515
  * @param {Error} params.event.error Optional error, if exception occurred
4515
4516
  */
4516
- (e: 'pdfExport', params: ((event: { response?: any, error?: Error }) => void)|string): void
4517
+ (e: 'pdfExport', params: ((event: { response?: Response, error?: Error }) => void)|string): void
4517
4518
  /**
4518
4519
  * Fired on the owning Scheduler or Gantt widget when dragging the percent bar
4519
4520
  * @param {string} e Event name
@@ -5666,6 +5667,16 @@ const emit = defineEmits<{
5666
5667
  * @param {boolean} params.event.hasChanges Whether any changes are recorded that are not yet attached to a version.
5667
5668
  */
5668
5669
  (e: 'transactionChange', params: ((event: { hasChanges: boolean }) => void)|string): void
5670
+ /**
5671
+ * Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
5672
+ * @param {string} e Event name
5673
+ * @param {object} params Event parameters
5674
+ * @param {object} params.event Event object
5675
+ * @param {Grid.view.Grid} params.event.source The grid instance
5676
+ * @param {(string|Function)[]} params.event.groupers Array of field names or functions representing the current grouping levels
5677
+ * @param {(string|Function)[]} params.event.oldGroupers Array of field names or functions representing the previous grouping levels
5678
+ */
5679
+ (e: 'treeGroup', params: ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string): void
5669
5680
  /**
5670
5681
  * Fires when row locking is disabled.
5671
5682
  * @param {string} e Event name
@@ -6306,6 +6317,7 @@ const widgetData = {
6306
6317
  'onToggleNode',
6307
6318
  'onToolClick',
6308
6319
  'onTransactionChange',
6320
+ 'onTreeGroup',
6309
6321
  'onUnlockRows',
6310
6322
  'onUnsplit',
6311
6323
  'onVisibleDateRangeChange',
@@ -6675,6 +6687,7 @@ const widgetData = {
6675
6687
  'toggleNode',
6676
6688
  'toolClick',
6677
6689
  'transactionChange',
6690
+ 'treeGroup',
6678
6691
  'unlockRows',
6679
6692
  'unsplit',
6680
6693
  'visibleDateRangeChange'
@@ -471,7 +471,7 @@ defineProps<{
471
471
  */
472
472
  emptyText ? : string|EmptyTextDomConfig
473
473
  /**
474
- * Allow using [Delete] and [Backspace] to remove events/assignments
474
+ * Allow using <kbd>Delete</kbd> and <kbd>Backspace</kbd> to remove events/assignments
475
475
  */
476
476
  enableDeleteKey ? : Boolean
477
477
  /**
@@ -570,8 +570,8 @@ defineProps<{
570
570
  * @param {'tonal','filled','bordered','traced','outlined','indented','line','dashed','minimal','rounded','calendar','interday','gantt',null} detail.renderData.eventStyle The `eventStyle` of the event. Use this to apply custom styles to the event DOM element
571
571
  * @param {string} detail.renderData.eventColor The `eventColor` of the event. Use this to set a custom color for the rendered event
572
572
  * @param {string} detail.renderData.ariaLabel A description of the event details used for screen readers
573
- * @param {DomConfig[]} detail.renderData.children An array of DOM configs used as children to the `b-sch-event` element. Can be populated with additional DOM configs to have more control over contents.
574
- * @returns {string,DomConfig,DomConfig[]} A simple string, or a DomConfig (or array thereof)
573
+ * @param {DomConfig[]} detail.renderData.children An array of DOM configs used as children to the `b-sch-event` element. Can be populated with additional DOM configs to have more control over contents. <h3>Using JSX (React)</h3> When using the Bryntum React wrapper, the event renderer can return JSX elements: ```javascript eventRenderer({ eventRecord, resourceRecord, renderData }) { return &lt;MyEventComponent event={eventRecord} resource={resourceRecord} />; } ``` *Using JSX in the event renderer creates a React portal for each rendered event. For schedulers with many visible events or frequently re-rendered views, this may impact scrolling performance compared to returning plain strings or [DomConfig](https://bryntum.com/products/schedulerpro/docs/api/Core/helper/DomHelper#typedef-DomConfig) objects. Consider using JSX primarily for events that require complex interactive React components.*
574
+ * @returns {string,DomConfig,DomConfig[]} A simple string, a DomConfig (or array thereof), or a JSX element when using React
575
575
  */
576
576
  eventRenderer ? : (detail: { eventRecord: SchedulerEventModel, resourceRecord: SchedulerResourceModel, assignmentRecord: SchedulerAssignmentModel, scheduler: Scheduler, renderData: { event: SchedulerEventModel, cls: DomClassList|string, wrapperCls: DomClassList|string, iconCls: DomClassList|string, left: number, width: number, height: number, style: string|Record<string, string>, wrapperStyle: string|Record<string, string>, eventStyle: 'tonal'|'filled'|'bordered'|'traced'|'outlined'|'indented'|'line'|'dashed'|'minimal'|'rounded'|'calendar'|'interday'|'gantt'|null, eventColor: string, ariaLabel: string, children: DomConfig[] } }) => string|DomConfig|DomConfig[]
577
577
  /**
@@ -1682,7 +1682,7 @@ defineProps<{
1682
1682
  cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
1683
1683
  /**
1684
1684
  * Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
1685
- * `SPACE` key when the cell is focused.
1685
+ * <kbd>Space</kbd> key when the cell is focused.
1686
1686
  * ...
1687
1687
  * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellMenu)
1688
1688
  */
@@ -1779,8 +1779,8 @@ defineProps<{
1779
1779
  */
1780
1780
  eventBufferFeature ? : object|Boolean|string|EventBuffer|EventBufferConfig
1781
1781
  /**
1782
- * Allow using <kbd>Ctrl</kbd>/<kbd>CMD</kbd> + <kbd>C</kbd>/<kbd>X</kbd> and <kbd>Ctrl</kbd>/<kbd>CMD</kbd> +
1783
- * <kbd>V</kbd> to copy/cut and paste events.
1782
+ * Allow using <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>C</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>X</kbd> and
1783
+ * <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>V</kbd> to copy/cut and paste events.
1784
1784
  * ...
1785
1785
  * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/EventCopyPaste)
1786
1786
  */
@@ -1901,8 +1901,8 @@ defineProps<{
1901
1901
  filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
1902
1902
  /**
1903
1903
  * Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
1904
- * <kbd>shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
1905
- * one anywhere on grid). Use <kbd>shift</kbd> + <kbd>alt</kbd> + click, or the context menu, to remove a column
1904
+ * <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
1905
+ * one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
1906
1906
  * grouper.
1907
1907
  * ...
1908
1908
  * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Group)
@@ -2350,7 +2350,7 @@ const emit = defineEmits<{
2350
2350
  */
2351
2351
  (e: 'assignmentSelectionChange', params: ((event: { source: Scheduler, action: 'select'|'deselect'|'update'|'clear', selected: SchedulerAssignmentModel[], deselected: SchedulerAssignmentModel[], selection: SchedulerAssignmentModel[] }) => void)|string): void
2352
2352
  /**
2353
- * Fires before an assignment is removed. Can be triggered by user pressing [DELETE] or [BACKSPACE] or
2353
+ * Fires before an assignment is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or
2354
2354
  * by the event editor. Can for example be used to display a custom dialog to confirm deletion, in which
2355
2355
  * case records should be "manually" removed after confirmation:
2356
2356
  * ...
@@ -2420,7 +2420,7 @@ const emit = defineEmits<{
2420
2420
  */
2421
2421
  (e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2422
2422
  /**
2423
- * Fires on the owning Grid before deleting a range of selected cell values by pressing `Backspace` or `Del`
2423
+ * Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
2424
2424
  * buttons while [autoEdit](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
2425
2425
  * @param {string} e Event name
2426
2426
  * @param {object} params Event parameters
@@ -2652,7 +2652,7 @@ const emit = defineEmits<{
2652
2652
  */
2653
2653
  (e: 'beforeEventAdd', params: ((event: { source: Scheduler, eventRecord: SchedulerEventModel, resourceRecords: SchedulerResourceModel[], assignmentRecords: SchedulerAssignmentModel[] }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2654
2654
  /**
2655
- * Fires before an event is removed. Can be triggered by user pressing [DELETE] or [BACKSPACE] or by the
2655
+ * Fires before an event is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or by the
2656
2656
  * event editor. Return `false` to immediately veto the removal (or a `Promise` yielding `true` or `false`
2657
2657
  * for async vetoing).
2658
2658
  * ...
@@ -4498,12 +4498,13 @@ const emit = defineEmits<{
4498
4498
  * @param {Scheduler.model.SchedulerEventModel[]} params.event.originalEventRecords The event records that were copied
4499
4499
  * @param {Scheduler.model.SchedulerAssignmentModel[]} params.event.originalAssignmentRecords The assignment records that were copied
4500
4500
  * @param {Date} params.event.date The paste date
4501
- * @param {Scheduler.model.SchedulerResourceModel} params.event.resourceRecord The target resource record
4501
+ * @param {Scheduler.model.SchedulerResourceModel} params.event.resourceRecord The target resource record. When multiple resources are pasted to, this will be the top resource
4502
+ * @param {Scheduler.model.SchedulerResourceModel[]} params.event.resourceRecords All target resource records that the events would be pasted to
4502
4503
  * @param {boolean} params.event.isCut `true` if this is a cut action
4503
4504
  * @param {string} params.event.entityName 'event' to distinguish this event from other `pasteNotAllowed` events
4504
4505
  * @param {'overlappingEvents','resourceReadOnly'} params.event.reason A string id to use for displaying an error message to the user.
4505
4506
  */
4506
- (e: 'pasteNotAllowed', params: ((event: { source: Scheduler, eventRecords: SchedulerEventModel[], assignmentRecords: SchedulerAssignmentModel[], originalEventRecords: SchedulerEventModel[], originalAssignmentRecords: SchedulerAssignmentModel[], date: Date, resourceRecord: SchedulerResourceModel, isCut: boolean, entityName: string, reason: 'overlappingEvents'|'resourceReadOnly' }) => void)|string): void
4507
+ (e: 'pasteNotAllowed', params: ((event: { source: Scheduler, eventRecords: SchedulerEventModel[], assignmentRecords: SchedulerAssignmentModel[], originalEventRecords: SchedulerEventModel[], originalAssignmentRecords: SchedulerAssignmentModel[], date: Date, resourceRecord: SchedulerResourceModel, resourceRecords: SchedulerResourceModel[], isCut: boolean, entityName: string, reason: 'overlappingEvents'|'resourceReadOnly' }) => void)|string): void
4507
4508
  /**
4508
4509
  * Fires on the owning Grid when export has finished
4509
4510
  * @param {string} e Event name
@@ -4512,7 +4513,7 @@ const emit = defineEmits<{
4512
4513
  * @param {Response} params.event.response Optional response, if received
4513
4514
  * @param {Error} params.event.error Optional error, if exception occurred
4514
4515
  */
4515
- (e: 'pdfExport', params: ((event: { response?: any, error?: Error }) => void)|string): void
4516
+ (e: 'pdfExport', params: ((event: { response?: Response, error?: Error }) => void)|string): void
4516
4517
  /**
4517
4518
  * Fired on the owning Scheduler or Gantt widget when dragging the percent bar
4518
4519
  * @param {string} e Event name
@@ -5665,6 +5666,16 @@ const emit = defineEmits<{
5665
5666
  * @param {boolean} params.event.hasChanges Whether any changes are recorded that are not yet attached to a version.
5666
5667
  */
5667
5668
  (e: 'transactionChange', params: ((event: { hasChanges: boolean }) => void)|string): void
5669
+ /**
5670
+ * Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
5671
+ * @param {string} e Event name
5672
+ * @param {object} params Event parameters
5673
+ * @param {object} params.event Event object
5674
+ * @param {Grid.view.Grid} params.event.source The grid instance
5675
+ * @param {(string|Function)[]} params.event.groupers Array of field names or functions representing the current grouping levels
5676
+ * @param {(string|Function)[]} params.event.oldGroupers Array of field names or functions representing the previous grouping levels
5677
+ */
5678
+ (e: 'treeGroup', params: ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string): void
5668
5679
  /**
5669
5680
  * Fires when row locking is disabled.
5670
5681
  * @param {string} e Event name
@@ -6304,6 +6315,7 @@ const widgetData = {
6304
6315
  'onToggleNode',
6305
6316
  'onToolClick',
6306
6317
  'onTransactionChange',
6318
+ 'onTreeGroup',
6307
6319
  'onUnlockRows',
6308
6320
  'onUnsplit',
6309
6321
  'onVisibleDateRangeChange',
@@ -6673,6 +6685,7 @@ const widgetData = {
6673
6685
  'toggleNode',
6674
6686
  'toolClick',
6675
6687
  'transactionChange',
6688
+ 'treeGroup',
6676
6689
  'unlockRows',
6677
6690
  'unsplit',
6678
6691
  'visibleDateRangeChange'