@bryntum/scheduler-vue-3-thin 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 (33) hide show
  1. package/README.md +6 -6
  2. package/lib/chunks/{Bbpvg_hf.js → BnIvHHwd.js} +4 -2
  3. package/lib/chunks/BnIvHHwd.js.map +1 -0
  4. package/lib/chunks/{FtY3iMiN.js → BxULlQlr.js} +4 -2
  5. package/lib/chunks/BxULlQlr.js.map +1 -0
  6. package/lib/chunks/C-Z2zn9r.js.map +1 -1
  7. package/lib/chunks/COu_0bRA.js.map +1 -1
  8. package/lib/chunks/DxeM4HUm.js.map +1 -1
  9. package/lib/chunks/ga9EWphl.js.map +1 -1
  10. package/lib/chunks/{qTXsCzE5.js → rsYNcstx.js} +7 -5
  11. package/lib/chunks/rsYNcstx.js.map +1 -0
  12. package/lib/components/BryntumScheduler.js +1 -1
  13. package/lib/components/BryntumSchedulerBase.js +1 -1
  14. package/lib/components/BryntumTimelineHistogram.js +1 -1
  15. package/lib/index.js +3 -3
  16. package/package.json +1 -1
  17. package/src/components/BryntumEventColorField.vue +1 -1
  18. package/src/components/BryntumEventColorFieldProps.ts +1 -1
  19. package/src/components/BryntumProjectCombo.vue +2 -2
  20. package/src/components/BryntumProjectComboProps.ts +2 -2
  21. package/src/components/BryntumResourceCombo.vue +2 -2
  22. package/src/components/BryntumResourceComboProps.ts +2 -2
  23. package/src/components/BryntumResourceFilter.vue +1 -1
  24. package/src/components/BryntumResourceFilterProps.ts +1 -1
  25. package/src/components/BryntumScheduler.vue +29 -14
  26. package/src/components/BryntumSchedulerBase.vue +29 -14
  27. package/src/components/BryntumSchedulerBaseProps.ts +8 -8
  28. package/src/components/BryntumSchedulerProps.ts +8 -8
  29. package/src/components/BryntumTimelineHistogram.vue +22 -8
  30. package/src/components/BryntumTimelineHistogramProps.ts +4 -4
  31. package/lib/chunks/Bbpvg_hf.js.map +0 -1
  32. package/lib/chunks/FtY3iMiN.js.map +0 -1
  33. package/lib/chunks/qTXsCzE5.js.map +0 -1
@@ -916,7 +916,7 @@ defineProps<{
916
916
  rootElement ? : ShadowRoot|HTMLElement
917
917
  /**
918
918
  * Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
919
- * overriden by specifying a [rowHeight](https://bryntum.com/products/scheduler/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
919
+ * overridden by specifying a [rowHeight](https://bryntum.com/products/scheduler/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
920
920
  * a column [renderer](https://bryntum.com/products/scheduler/docs/api/Grid/column/Column#config-renderer).
921
921
  * ...
922
922
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogram#config-rowHeight)
@@ -1290,7 +1290,7 @@ defineProps<{
1290
1290
  cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
1291
1291
  /**
1292
1292
  * Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
1293
- * `SPACE` key when the cell is focused.
1293
+ * <kbd>Space</kbd> key when the cell is focused.
1294
1294
  * ...
1295
1295
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Grid/feature/CellMenu)
1296
1296
  */
@@ -1398,8 +1398,8 @@ defineProps<{
1398
1398
  filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
1399
1399
  /**
1400
1400
  * Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
1401
- * <kbd>shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
1402
- * one anywhere on grid). Use <kbd>shift</kbd> + <kbd>alt</kbd> + click, or the context menu, to remove a column
1401
+ * <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
1402
+ * one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
1403
1403
  * grouper.
1404
1404
  * ...
1405
1405
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Grid/feature/Group)
@@ -1613,7 +1613,7 @@ defineProps<{
1613
1613
 
1614
1614
  const emit = defineEmits<{
1615
1615
  /**
1616
- * Fires before an assignment is removed. Can be triggered by user pressing [DELETE] or [BACKSPACE] or
1616
+ * Fires before an assignment is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or
1617
1617
  * by the event editor. Can for example be used to display a custom dialog to confirm deletion, in which
1618
1618
  * case records should be "manually" removed after confirmation:
1619
1619
  * ...
@@ -1666,7 +1666,7 @@ const emit = defineEmits<{
1666
1666
  */
1667
1667
  (e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1668
1668
  /**
1669
- * Fires on the owning Grid before deleting a range of selected cell values by pressing `Backspace` or `Del`
1669
+ * Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
1670
1670
  * buttons while [autoEdit](https://bryntum.com/products/scheduler/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
1671
1671
  * @param {string} e Event name
1672
1672
  * @param {object} params Event parameters
@@ -1780,7 +1780,7 @@ const emit = defineEmits<{
1780
1780
  */
1781
1781
  (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
1782
1782
  /**
1783
- * Fires before an event is removed. Can be triggered by user pressing [DELETE] or [BACKSPACE] or by the
1783
+ * Fires before an event is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or by the
1784
1784
  * event editor. Return `false` to immediately veto the removal (or a `Promise` yielding `true` or `false`
1785
1785
  * for async vetoing).
1786
1786
  * ...
@@ -2916,7 +2916,7 @@ const emit = defineEmits<{
2916
2916
  * @param {Response} params.params.event.response Optional response, if received
2917
2917
  * @param {Error} params.params.event.error Optional error, if exception occurred
2918
2918
  */
2919
- (e: 'pdfExport', params: ((event: { response?: any, error?: Error }) => void)|string): void
2919
+ (e: 'pdfExport', params: ((event: { response?: Response, error?: Error }) => void)|string): void
2920
2920
  /**
2921
2921
  * Fired after the [viewPreset](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/TimelineViewPresets#config-viewPreset) has changed.
2922
2922
  * @param {string} e Event name
@@ -3574,6 +3574,18 @@ const emit = defineEmits<{
3574
3574
  * @param {Core.widget.Tool} params.params.event.tool The tool which is being clicked.
3575
3575
  */
3576
3576
  (e: 'toolClick', params: ((event: { source: Tool, tool: Tool }) => void)|string): void
3577
+ /**
3578
+ * Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
3579
+ * @param {string} e Event name
3580
+ * @param {object} params Event parameters
3581
+ * @param {string} params.e Event name
3582
+ * @param {object} params.params Event parameters
3583
+ * @param {object} params.params.event Event object
3584
+ * @param {Grid.view.Grid} params.params.event.source The grid instance
3585
+ * @param {(string|Function)[]} params.params.event.groupers Array of field names or functions representing the current grouping levels
3586
+ * @param {(string|Function)[]} params.params.event.oldGroupers Array of field names or functions representing the previous grouping levels
3587
+ */
3588
+ (e: 'treeGroup', params: ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string): void
3577
3589
  /**
3578
3590
  * Fires when row locking is disabled.
3579
3591
  * @param {string} e Event name
@@ -3983,6 +3995,7 @@ const widgetData = {
3983
3995
  'onToggleGroup',
3984
3996
  'onToggleNode',
3985
3997
  'onToolClick',
3998
+ 'onTreeGroup',
3986
3999
  'onUnlockRows',
3987
4000
  'onUnsplit',
3988
4001
  'onVisibleDateRangeChange',
@@ -4186,6 +4199,7 @@ const widgetData = {
4186
4199
  'toggleGroup',
4187
4200
  'toggleNode',
4188
4201
  'toolClick',
4202
+ 'treeGroup',
4189
4203
  'unlockRows',
4190
4204
  'unsplit',
4191
4205
  'visibleDateRangeChange'
@@ -878,7 +878,7 @@ export declare type BryntumTimelineHistogramProps = {
878
878
  rootElement ? : ShadowRoot|HTMLElement
879
879
  /**
880
880
  * Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
881
- * overriden by specifying a [rowHeight](https://bryntum.com/products/scheduler/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
881
+ * overridden by specifying a [rowHeight](https://bryntum.com/products/scheduler/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
882
882
  * a column [renderer](https://bryntum.com/products/scheduler/docs/api/Grid/column/Column#config-renderer).
883
883
  * ...
884
884
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogram#config-rowHeight)
@@ -1252,7 +1252,7 @@ export declare type BryntumTimelineHistogramProps = {
1252
1252
  cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
1253
1253
  /**
1254
1254
  * Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
1255
- * `SPACE` key when the cell is focused.
1255
+ * <kbd>Space</kbd> key when the cell is focused.
1256
1256
  * ...
1257
1257
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Grid/feature/CellMenu)
1258
1258
  */
@@ -1360,8 +1360,8 @@ export declare type BryntumTimelineHistogramProps = {
1360
1360
  filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
1361
1361
  /**
1362
1362
  * Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
1363
- * <kbd>shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
1364
- * one anywhere on grid). Use <kbd>shift</kbd> + <kbd>alt</kbd> + click, or the context menu, to remove a column
1363
+ * <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
1364
+ * one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
1365
1365
  * grouper.
1366
1366
  * ...
1367
1367
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Grid/feature/Group)