@bryntum/scheduler-vue-3-thin 7.1.2 → 7.2.0

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 (51) hide show
  1. package/README.md +18 -12
  2. package/lib/chunks/BIDAJ9KI.js.map +1 -1
  3. package/lib/chunks/{dnU2pCDo.js → Bbpvg_hf.js} +45 -21
  4. package/lib/chunks/Bbpvg_hf.js.map +1 -0
  5. package/lib/chunks/COu_0bRA.js.map +1 -1
  6. package/lib/chunks/{C8aIKZog.js → CQl8vwrU.js} +4 -2
  7. package/lib/chunks/CQl8vwrU.js.map +1 -0
  8. package/lib/chunks/{V0ER-Huj.js → DgB_l35T.js} +6 -4
  9. package/lib/chunks/DgB_l35T.js.map +1 -0
  10. package/lib/chunks/{fiUsZcET.js → DxeM4HUm.js} +3 -3
  11. package/lib/chunks/DxeM4HUm.js.map +1 -0
  12. package/lib/chunks/{Cz79kyyi.js → FtY3iMiN.js} +48 -24
  13. package/lib/chunks/FtY3iMiN.js.map +1 -0
  14. package/lib/chunks/ga9EWphl.js.map +1 -1
  15. package/lib/chunks/{DDnFIp_o.js → qTXsCzE5.js} +21 -13
  16. package/lib/chunks/qTXsCzE5.js.map +1 -0
  17. package/lib/components/BryntumResourceFilter.js +1 -1
  18. package/lib/components/BryntumScheduler.js +1 -1
  19. package/lib/components/BryntumSchedulerBase.js +1 -1
  20. package/lib/components/BryntumSchedulerDatePicker.js +1 -1
  21. package/lib/components/BryntumTimelineHistogram.js +1 -1
  22. package/lib/components/BryntumUndoRedo.js +1 -1
  23. package/lib/helper/WrapperHelper.js +42 -42
  24. package/lib/helper/WrapperHelper.js.map +1 -1
  25. package/lib/index.js +6 -6
  26. package/package.json +1 -1
  27. package/src/components/BryntumProjectCombo.vue +2 -2
  28. package/src/components/BryntumProjectComboProps.ts +2 -2
  29. package/src/components/BryntumResourceCombo.vue +2 -2
  30. package/src/components/BryntumResourceComboProps.ts +2 -2
  31. package/src/components/BryntumResourceFilter.vue +4 -4
  32. package/src/components/BryntumResourceFilterProps.ts +2 -2
  33. package/src/components/BryntumScheduler.vue +183 -26
  34. package/src/components/BryntumSchedulerBase.vue +183 -26
  35. package/src/components/BryntumSchedulerBaseProps.ts +29 -4
  36. package/src/components/BryntumSchedulerDatePicker.vue +8 -3
  37. package/src/components/BryntumSchedulerDatePickerProps.ts +6 -2
  38. package/src/components/BryntumSchedulerProps.ts +29 -4
  39. package/src/components/BryntumTimelineHistogram.vue +69 -26
  40. package/src/components/BryntumTimelineHistogramProps.ts +17 -4
  41. package/src/components/BryntumUndoRedo.vue +5 -0
  42. package/src/components/BryntumUndoRedoProps.ts +4 -0
  43. package/src/components/BryntumViewPresetCombo.vue +2 -2
  44. package/src/components/BryntumViewPresetComboProps.ts +2 -2
  45. package/src/helper/WrapperHelper.ts +5 -1
  46. package/lib/chunks/C8aIKZog.js.map +0 -1
  47. package/lib/chunks/Cz79kyyi.js.map +0 -1
  48. package/lib/chunks/DDnFIp_o.js.map +0 -1
  49. package/lib/chunks/V0ER-Huj.js.map +0 -1
  50. package/lib/chunks/dnU2pCDo.js.map +0 -1
  51. package/lib/chunks/fiUsZcET.js.map +0 -1
@@ -33,9 +33,9 @@
33
33
 
34
34
  import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
35
35
 
36
- import type { AjaxStore, AjaxStoreConfig, Base, Container, DomClassList, DomConfig, DurationConfig, DurationUnit, FormulaProviderConfig, KeyMapConfig, Mask, MaskConfig, Menu, MenuConfig, MenuItem, MenuItemEntry, Model, ModelConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Popup, Rectangle, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/core-thin';
36
+ import type { AjaxStore, AjaxStoreConfig, Base, Color, Container, DomClassList, DomConfig, DurationConfig, DurationUnit, FormulaProviderConfig, KeyMapConfig, Mask, MaskConfig, Menu, MenuConfig, MenuItem, MenuItemEntry, Model, ModelConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Popup, Rectangle, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/core-thin';
37
37
  import type { AIFilter, AIFilterConfig, CellCopyPaste, CellCopyPasteConfig, CellEdit, CellEditConfig, CellEditorContext, CellMenu, CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, Column, ColumnAutoWidth, ColumnAutoWidthConfig, ColumnDragToolbar, ColumnDragToolbarConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder, ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, EmptyTextDomConfig, ExportConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, Grid, GridBase, GridLocation, GridLocationConfig, GridSelectionMode, Group, GroupConfig, HeaderMenu, HeaderMenuConfig, MergeCells, MergeCellsConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, QuickFind, QuickFindConfig, RecordPositionContext, RegionResize, RegionResizeConfig, Row, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowEditorContext, RowExpander, RowExpanderConfig, Search, SearchConfig, Sort, SortConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGrid, SubGridConfig, Tree, TreeConfig, TreeGroup, TreeGroupConfig, XLSColumn } from '@bryntum/grid-thin';
38
- import type { AssignmentModel, AssignmentModelConfig, AssignmentStore, AssignmentStoreConfig, ColumnLines, ColumnLinesConfig, SchedulerContainerItemConfig, CrudManager, CrudManagerConfig, DateConstraint, Dependencies, DependenciesConfig, DependencyBaseModel, DependencyEdit, DependencyEditConfig, DependencyMenu, DependencyMenuConfig, DependencyModel, DependencyModelConfig, DependencyStore, DependencyStoreConfig, DropData, EventColor, EventCopyPaste, EventCopyPasteConfig, EventDrag, EventDragConfig, EventDragCreate, EventDragCreateConfig, EventDragSelect, EventDragSelectConfig, EventEdit, EventEditConfig, EventFilter, EventFilterConfig, EventMenu, EventMenuConfig, EventModel, EventModelConfig, EventNonWorkingTime, EventNonWorkingTimeConfig, EventResize, EventResizeConfig, EventResizeData, EventStore, EventStoreConfig, EventTooltip, EventTooltipConfig, ExcelExporter, ExcelExporterConfig, SchedulerColumnConfig, GroupSummary, GroupSummaryConfig, HeaderZoom, HeaderZoomConfig, Labels, LabelsConfig, LockRows, LockRowsConfig, NonWorkingTime, NonWorkingTimeConfig, Pan, PanConfig, PdfExport, PdfExportConfig, Print, PrintConfig, ProjectModel, ProjectModelConfig, RecurrenceConfirmationPopup, RecurrenceConfirmationPopupConfig, ResourceHeaderConfig, ResourceMarginConfig, ResourceMenu, ResourceMenuConfig, ResourceModel, ResourceModelConfig, ResourceStore, ResourceStoreConfig, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, ResourceTimeRanges, ResourceTimeRangesConfig, RowReorder, RowReorderConfig, RowResize, RowResizeConfig, ScheduleContext, ScheduleContextConfig, ScheduleMenu, ScheduleMenuConfig, ScheduleTooltip, ScheduleTooltipConfig, SchedulerBase, SchedulerListeners, SchedulerResponsiveLevelConfig, SchedulerStateInfo, ScrollButtons, ScrollButtonsConfig, SimpleEventEdit, SimpleEventEditConfig, Split, SplitConfig, StickyEvents, StickyEventsConfig, Summary, SummaryConfig, TimeAxis, TimeAxisColumn, TimeAxisConfig, TimeAxisHeaderMenu, TimeAxisHeaderMenuConfig, TimeRanges, TimeRangesConfig, TimeSelection, TimeSelectionConfig, TimeSpan, TimeSpanConfig, TimelineBase, TimelineContext, TreeSummary, TreeSummaryConfig, VerticalTimeAxisColumn, VerticalTimeAxisColumnConfig, ViewPreset, ViewPresetConfig, VisibleDate } from '@bryntum/scheduler-thin';
38
+ import type { AI, AIConfig, AssignmentModel, AssignmentModelConfig, AssignmentStore, AssignmentStoreConfig, ColumnLines, ColumnLinesConfig, SchedulerContainerItemConfig, CrudManager, CrudManagerConfig, DateConstraint, Dependencies, DependenciesConfig, DependencyBaseModel, DependencyEdit, DependencyEditConfig, DependencyMenu, DependencyMenuConfig, DependencyModel, DependencyModelConfig, DependencyStore, DependencyStoreConfig, DropData, EventColor, EventCopyPaste, EventCopyPasteConfig, EventDrag, EventDragConfig, EventDragCreate, EventDragCreateConfig, EventDragSelect, EventDragSelectConfig, EventEdit, EventEditConfig, EventFilter, EventFilterConfig, EventMenu, EventMenuConfig, EventModel, EventModelConfig, EventNonWorkingTime, EventNonWorkingTimeConfig, EventResize, EventResizeConfig, EventResizeData, EventStore, EventStoreConfig, EventTooltip, EventTooltipConfig, ExcelExporter, ExcelExporterConfig, SchedulerColumnConfig, GroupSummary, GroupSummaryConfig, HeaderZoom, HeaderZoomConfig, Labels, LabelsConfig, LockRows, LockRowsConfig, NonWorkingTime, NonWorkingTimeConfig, Pan, PanConfig, PdfExport, PdfExportConfig, Print, PrintConfig, ProjectModel, ProjectModelConfig, RecurrenceConfirmationPopup, RecurrenceConfirmationPopupConfig, ResourceColumnReorder, ResourceColumnReorderConfig, ResourceHeaderConfig, ResourceMarginConfig, ResourceMenu, ResourceMenuConfig, ResourceModel, ResourceModelConfig, ResourceStore, ResourceStoreConfig, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, ResourceTimeRanges, ResourceTimeRangesConfig, RowReorder, RowReorderConfig, RowResize, RowResizeConfig, ScheduleContext, ScheduleContextConfig, ScheduleMenu, ScheduleMenuConfig, ScheduleTooltip, ScheduleTooltipConfig, SchedulerBase, SchedulerListeners, SchedulerResponsiveLevelConfig, SchedulerStateInfo, ScrollButtons, ScrollButtonsConfig, SimpleEventEdit, SimpleEventEditConfig, Split, SplitConfig, StickyEvents, StickyEventsConfig, Summary, SummaryConfig, TimeAxis, TimeAxisColumn, TimeAxisConfig, TimeAxisHeaderMenu, TimeAxisHeaderMenuConfig, TimeRanges, TimeRangesConfig, TimeSelection, TimeSelectionConfig, TimeSpan, TimeSpanConfig, TimelineBase, TimelineContext, TreeSummary, TreeSummaryConfig, VerticalTimeAxisColumn, VerticalTimeAxisColumnConfig, ViewPreset, ViewPresetConfig, VisibleDate } from '@bryntum/scheduler-thin';
39
39
  import { Scheduler } from '@bryntum/scheduler-thin';
40
40
 
41
41
  import { WrapperHelper } from '../helper/WrapperHelper';
@@ -166,6 +166,10 @@ defineProps<{
166
166
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/Scheduler#config-bodyCls)
167
167
  */
168
168
  bodyCls ? : string|object
169
+ /**
170
+ * Set `true` to add a border to this container's element.
171
+ */
172
+ border ? : Boolean
169
173
  /**
170
174
  * An object where property names with a truthy value indicate which events should bubble up the ownership
171
175
  * hierarchy when triggered.
@@ -231,7 +235,7 @@ defineProps<{
231
235
  * ...
232
236
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/Scheduler#config-color)
233
237
  */
234
- color ? : string
238
+ color ? : Color
235
239
  /**
236
240
  * Programmatic control over which column to start in when used in a grid layout.
237
241
  */
@@ -729,6 +733,10 @@ defineProps<{
729
733
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/Scheduler#config-infiniteScroll)
730
734
  */
731
735
  infiniteScroll ? : Boolean
736
+ /**
737
+ * Set to true for child nodes in a tree store to inherit their parent´s `eventColor`
738
+ */
739
+ inheritEventColor ? : Boolean
732
740
  /**
733
741
  * Maximum duration (in milliseconds) for the initial animation controlled by [useInitialAnimation](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/SchedulerEventRendering#config-useInitialAnimation).
734
742
  */
@@ -974,7 +982,7 @@ defineProps<{
974
982
  * ...
975
983
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/Scheduler#config-partner)
976
984
  */
977
- partner ? : TimelineBase
985
+ partner ? : TimelineBase|string
978
986
  /**
979
987
  * Set to `true` to include `startDate` and `endDate` params indicating the currently viewed date range in
980
988
  * `EventStore` load requests (when loading using `AjaxStore` or `CrudManager` functionality).
@@ -1602,6 +1610,15 @@ defineProps<{
1602
1610
  zoomOnTimeAxisDoubleClick ? : Boolean
1603
1611
 
1604
1612
  // Features
1613
+ /**
1614
+ * This feature provides an AI agent for the Scheduler and SchedulerPro. It provides a chat panel that allows the user
1615
+ * to send messages to the agent and see the responses. Which allows the user to use natural language to interact with
1616
+ * the Scheduler in different ways. For example, the user can ask the agent to filter the data, sort it, or select
1617
+ * specific records. The agent can also perform data manipulation operations such as adding, updating, deleting records.
1618
+ * ...
1619
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI)
1620
+ */
1621
+ aiFeature ? : object|Boolean|string|AI|AIConfig
1605
1622
  /**
1606
1623
  * AI-powered filter feature for Grid. Allows users to type natural language queries to filter grid data.
1607
1624
  * ...
@@ -1912,6 +1929,14 @@ defineProps<{
1912
1929
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Grid/feature/RegionResize)
1913
1930
  */
1914
1931
  regionResizeFeature ? : object|Boolean|string|RegionResize|RegionResizeConfig
1932
+ /**
1933
+ * Allows user to reorder resource columns in vertical mode by dragging them. The feature fires various events
1934
+ * during the drag operation (see events below). To get notified about the actual resource reorder, you can also
1935
+ * listen to the `change` event on the scheduler [ResourceStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/ResourceStore).
1936
+ * ...
1937
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder)
1938
+ */
1939
+ resourceColumnReorderFeature ? : object|Boolean|string|ResourceColumnReorder|ResourceColumnReorderConfig
1915
1940
  /**
1916
1941
  * Applicable only for Scheduler in `vertical` mode. Right click resource header cells to display a context menu.
1917
1942
  * ...
@@ -2300,6 +2325,18 @@ const emit = defineEmits<{
2300
2325
  * @param {any} params.params.event.value The value being set
2301
2326
  */
2302
2327
  (e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
2328
+ /**
2329
+ * This event is triggered before a parent column is collapsed or expanded.
2330
+ * @param {string} e Event name
2331
+ * @param {object} params Event parameters
2332
+ * @param {string} params.e Event name
2333
+ * @param {object} params.params Event parameters
2334
+ * @param {object} params.params.event Event object
2335
+ * @param {Grid.view.GridBase} params.params.event.source The grid instance
2336
+ * @param {Grid.column.Column} params.params.event.column The column
2337
+ * @param {boolean} params.params.event.collapsed `true` if the column is being collapsed, `false` if expanded
2338
+ */
2339
+ (e: 'beforeColumnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
2303
2340
  /**
2304
2341
  * This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
2305
2342
  * @param {string} e Event name
@@ -2821,12 +2858,12 @@ const emit = defineEmits<{
2821
2858
  * @param {string} params.e Event name
2822
2859
  * @param {object} params.params Event parameters
2823
2860
  * @param {object} params.params.event Event object
2824
- * @param {Grid.view.Grid} params.params.event.source The firing Grid instance.
2825
- * @param {Grid.row.Row} params.params.event.row The row about to be rendered.
2826
- * @param {Core.data.Model} params.params.event.record The record for the row.
2827
- * @param {number} params.params.event.recordIndex The zero-based index of the record.
2861
+ * @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
2862
+ * @param {Grid.row.Row} params.params.event.row The row about to be rendered
2863
+ * @param {Core.data.Model} params.params.event.record The record for the row
2864
+ * @param {number} params.params.event.recordIndex The zero-based index of the record
2828
2865
  */
2829
- (e: 'beforeRenderRow', params: ((event: { source: Grid, row: Row, record: Model, recordIndex: number }) => void)|string): void
2866
+ (e: 'beforeRenderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
2830
2867
  /**
2831
2868
  * Grid rows are about to be rendered
2832
2869
  * @param {string} e Event name
@@ -2834,9 +2871,9 @@ const emit = defineEmits<{
2834
2871
  * @param {string} params.e Event name
2835
2872
  * @param {object} params.params Event parameters
2836
2873
  * @param {object} params.params.event Event object
2837
- * @param {Grid.view.Grid} params.params.event.source This grid.
2874
+ * @param {Grid.view.GridBase} params.params.event.source This grid.
2838
2875
  */
2839
- (e: 'beforeRenderRows', params: ((event: { source: Grid }) => void)|string): void
2876
+ (e: 'beforeRenderRows', params: ((event: { source: GridBase }) => void)|string): void
2840
2877
  /**
2841
2878
  * This event fires before row collapse is started.
2842
2879
  * ...
@@ -3193,6 +3230,18 @@ const emit = defineEmits<{
3193
3230
  * @param {Core.data.Model} params.params.event.record The record which has been collapsed.
3194
3231
  */
3195
3232
  (e: 'collapseNode', params: ((event: { source: Grid, record: Model }) => void)|string): void
3233
+ /**
3234
+ * This event is triggered after a parent column has been collapsed or expanded.
3235
+ * @param {string} e Event name
3236
+ * @param {object} params Event parameters
3237
+ * @param {string} params.e Event name
3238
+ * @param {object} params.params Event parameters
3239
+ * @param {object} params.params.event Event object
3240
+ * @param {Grid.view.GridBase} params.params.event.source The Grid instance
3241
+ * @param {Grid.column.Column} params.params.event.column The column being toggled
3242
+ * @param {boolean} params.params.event.collapsed `true` if the column is now collapsed, `false` if expanded
3243
+ */
3244
+ (e: 'columnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
3196
3245
  /**
3197
3246
  * This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
3198
3247
  * to indicate whether the drop position is valid or not.
@@ -3321,14 +3370,14 @@ const emit = defineEmits<{
3321
3370
  * @param {string} params.e Event name
3322
3371
  * @param {object} params.params Event parameters
3323
3372
  * @param {object} params.params.event Event object
3324
- * @param {Grid.view.Grid} params.params.event.source Owning grid
3373
+ * @param {Grid.view.GridBase} params.params.event.source Owning grid
3325
3374
  * @param {Core.data.Store} params.params.event.store The originating store
3326
3375
  * @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} params.params.event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
3327
3376
  * @param {Core.data.Model} params.params.event.record Changed record, for actions that affects exactly one record (`'update'`)
3328
3377
  * @param {Core.data.Model[]} params.params.event.records Changed records, passed for all actions except `'removeAll'`
3329
3378
  * @param {object} params.params.event.changes Passed for the `'update'` action, info on which record fields changed
3330
3379
  */
3331
- (e: 'dataChange', params: ((event: { source: Grid, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string): void
3380
+ (e: 'dataChange', params: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string): void
3332
3381
  /**
3333
3382
  * Fired when the range of dates encapsulated by the UI changes. This will be when
3334
3383
  * moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
@@ -4519,12 +4568,12 @@ const emit = defineEmits<{
4519
4568
  * @param {string} params.e Event name
4520
4569
  * @param {object} params.params Event parameters
4521
4570
  * @param {object} params.params.event Event object
4522
- * @param {Grid.view.Grid} params.params.event.source The firing Grid instance.
4523
- * @param {Grid.row.Row} params.params.event.row The row that has been rendered.
4524
- * @param {Core.data.Model} params.params.event.record The record for the row.
4525
- * @param {number} params.params.event.recordIndex The zero-based index of the record.
4571
+ * @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
4572
+ * @param {Grid.row.Row} params.params.event.row The row that has been rendered
4573
+ * @param {Core.data.Model} params.params.event.record The record for the row
4574
+ * @param {number} params.params.event.recordIndex The zero-based index of the record
4526
4575
  */
4527
- (e: 'renderRow', params: ((event: { source: Grid, row: Row, record: Model, recordIndex: number }) => void)|string): void
4576
+ (e: 'renderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
4528
4577
  /**
4529
4578
  * Grid rows have been rendered
4530
4579
  * @param {string} e Event name
@@ -4532,9 +4581,9 @@ const emit = defineEmits<{
4532
4581
  * @param {string} params.e Event name
4533
4582
  * @param {object} params.params Event parameters
4534
4583
  * @param {object} params.params.event Event object
4535
- * @param {Grid.view.Grid} params.params.event.source This grid.
4584
+ * @param {Grid.view.GridBase} params.params.event.source This grid.
4536
4585
  */
4537
- (e: 'renderRows', params: ((event: { source: Grid }) => void)|string): void
4586
+ (e: 'renderRows', params: ((event: { source: GridBase }) => void)|string): void
4538
4587
  /**
4539
4588
  * Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
4540
4589
  * @param {string} e Event name
@@ -4549,6 +4598,94 @@ const emit = defineEmits<{
4549
4598
  * @param {number} params.params.event.oldHeight The old height
4550
4599
  */
4551
4600
  (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
4601
+ /**
4602
+ * Fired before dragging starts, return `false` to prevent the drag operation.
4603
+ * @param {string} e Event name
4604
+ * @param {object} params Event parameters
4605
+ * @param {string} params.e Event name
4606
+ * @param {object} params.params Event parameters
4607
+ * @param {object} params.params.event Event object
4608
+ * @param {Scheduler.view.Scheduler} params.params.event.source
4609
+ * @param {object} params.params.event.context
4610
+ * @param {Scheduler.model.ResourceModel} params.params.event.context.resource The dragged resource
4611
+ * @param {MouseEvent,TouchEvent} params.params.event.event
4612
+ */
4613
+ (e: 'resourceColumnBeforeDragStart', params: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
4614
+ /**
4615
+ * Fired before the drop is finalized. You can return `false` or a Promise that resolves to `false`
4616
+ * to cancel the drop operation.
4617
+ * @param {string} e Event name
4618
+ * @param {object} params Event parameters
4619
+ * @param {string} params.e Event name
4620
+ * @param {object} params.params Event parameters
4621
+ * @param {object} params.params.event Event object
4622
+ * @param {Scheduler.view.Scheduler} params.params.event.source
4623
+ * @param {object} params.params.event.context
4624
+ * @param {Scheduler.model.ResourceModel} params.params.event.context.resource The dragged resource
4625
+ * @param {Scheduler.model.ResourceModel} params.params.event.context.insertBefore The resource to insert before
4626
+ * @param {Core.data.Model} params.params.event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
4627
+ * @param {MouseEvent} params.params.event.event
4628
+ */
4629
+ (e: 'resourceColumnBeforeDropFinalize', params: ((event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model }, event: MouseEvent }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
4630
+ /**
4631
+ * Fired while the resource column is being dragged. You can signal that the drop position is
4632
+ * valid or invalid by setting `context.valid = false;`
4633
+ * @param {string} e Event name
4634
+ * @param {object} params Event parameters
4635
+ * @param {string} params.e Event name
4636
+ * @param {object} params.params Event parameters
4637
+ * @param {object} params.params.event Event object
4638
+ * @param {Scheduler.view.Scheduler} params.params.event.source
4639
+ * @param {object} params.params.event.context
4640
+ * @param {boolean} params.params.event.context.valid Set this to `true` or `false` to indicate whether the drop position is valid
4641
+ * @param {Scheduler.model.ResourceModel} params.params.event.context.insertBefore The resource to insert before (`null` if inserting at last position)
4642
+ * @param {Scheduler.model.ResourceModel} params.params.event.context.resource The dragged resource
4643
+ * @param {Core.data.Model} params.params.event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
4644
+ * @param {MouseEvent} params.params.event.event
4645
+ */
4646
+ (e: 'resourceColumnDrag', params: ((event: { source: Scheduler, context: { valid: boolean, insertBefore: ResourceModel, resource: ResourceModel, targetGroup: Model }, event: MouseEvent }) => void)|string): void
4647
+ /**
4648
+ * Fired when drag is aborted
4649
+ * @param {string} e Event name
4650
+ * @param {object} params Event parameters
4651
+ * @param {string} params.e Event name
4652
+ * @param {object} params.params Event parameters
4653
+ * @param {object} params.params.event Event object
4654
+ * @param {Scheduler.view.Scheduler} params.params.event.source
4655
+ * @param {object} params.params.event.context
4656
+ * @param {Scheduler.model.ResourceModel} params.params.event.context.resource The dragged resource
4657
+ * @param {MouseEvent} params.params.event.event
4658
+ */
4659
+ (e: 'resourceColumnDragAbort', params: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent }) => void)|string): void
4660
+ /**
4661
+ * Fired when dragging starts.
4662
+ * @param {string} e Event name
4663
+ * @param {object} params Event parameters
4664
+ * @param {string} params.e Event name
4665
+ * @param {object} params.params Event parameters
4666
+ * @param {object} params.params.event Event object
4667
+ * @param {Scheduler.view.Scheduler} params.params.event.source
4668
+ * @param {object} params.params.event.context
4669
+ * @param {Scheduler.model.ResourceModel} params.params.event.context.resource The dragged resource
4670
+ * @param {MouseEvent,TouchEvent} params.params.event.event
4671
+ */
4672
+ (e: 'resourceColumnDragStart', params: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => void)|string): void
4673
+ /**
4674
+ * Fired after drop
4675
+ * @param {string} e Event name
4676
+ * @param {object} params Event parameters
4677
+ * @param {string} params.e Event name
4678
+ * @param {object} params.params Event parameters
4679
+ * @param {object} params.params.event Event object
4680
+ * @param {Scheduler.view.Scheduler} params.params.event.source
4681
+ * @param {object} params.params.event.context
4682
+ * @param {Scheduler.model.ResourceModel} params.params.event.context.resource The dragged resource
4683
+ * @param {Scheduler.model.ResourceModel} params.params.event.context.insertBefore The resource that was inserted before
4684
+ * @param {Core.data.Model} params.params.event.context.targetGroup When the resourceStore is grouped, the group header record of the target group. The resource's group field has been updated if moved between groups.
4685
+ * @param {boolean} params.params.event.context.valid `true` if the drop was valid, `false` otherwise
4686
+ * @param {MouseEvent} params.params.event.event
4687
+ */
4688
+ (e: 'resourceColumnDrop', params: ((event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model, valid: boolean }, event: MouseEvent }) => void)|string): void
4552
4689
  /**
4553
4690
  * Fired when clicking a resource header cell
4554
4691
  * @param {string} e Event name
@@ -5004,10 +5141,10 @@ const emit = defineEmits<{
5004
5141
  * @param {string} params.e Event name
5005
5142
  * @param {object} params.params Event parameters
5006
5143
  * @param {object} params.params.event Event object
5007
- * @param {Grid.view.Grid} params.params.event.source The firing Grid instance.
5144
+ * @param {Grid.view.GridBase} params.params.event.source The firing Grid instance.
5008
5145
  * @param {number} params.params.event.scrollTop The vertical scroll position.
5009
5146
  */
5010
- (e: 'scroll', params: ((event: { source: Grid, scrollTop: number }) => void)|string): void
5147
+ (e: 'scroll', params: ((event: { source: GridBase, scrollTop: number }) => void)|string): void
5011
5148
  /**
5012
5149
  * Fires on owner when the scroll button is clicked, return `false` to prevent default scroll behavior
5013
5150
  * @param {string} e Event name
@@ -5163,10 +5300,10 @@ const emit = defineEmits<{
5163
5300
  * @param {string} params.e Event name
5164
5301
  * @param {object} params.params Event parameters
5165
5302
  * @param {object} params.params.event Event object
5166
- * @param {Grid.view.Grid} params.params.event.source The firing Grid instance
5303
+ * @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
5167
5304
  * @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
5168
5305
  */
5169
- (e: 'subGridCollapse', params: ((event: { source: Grid, subGrid: SubGrid }) => void)|string): void
5306
+ (e: 'subGridCollapse', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
5170
5307
  /**
5171
5308
  * Fires after a sub grid is expanded.
5172
5309
  * @param {string} e Event name
@@ -5174,10 +5311,10 @@ const emit = defineEmits<{
5174
5311
  * @param {string} params.e Event name
5175
5312
  * @param {object} params.params Event parameters
5176
5313
  * @param {object} params.params.event Event object
5177
- * @param {Grid.view.Grid} params.params.event.source The firing Grid instance
5314
+ * @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
5178
5315
  * @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
5179
5316
  */
5180
- (e: 'subGridExpand', params: ((event: { source: Grid, subGrid: SubGrid }) => void)|string): void
5317
+ (e: 'subGridExpand', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
5181
5318
  /**
5182
5319
  * Triggered for click on a tick cell. Only triggered if the TreeSummary feature is configured with
5183
5320
  * `[enableMouseEvents](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/TreeSummary#config-enableMouseEvents): true`.
@@ -5538,6 +5675,7 @@ const widgetData = {
5538
5675
  },
5539
5676
  projectStores : true,
5540
5677
  featureNames : [
5678
+ 'aiFeature',
5541
5679
  'aiFilterFeature',
5542
5680
  'cellCopyPasteFeature',
5543
5681
  'cellEditFeature',
@@ -5583,6 +5721,7 @@ const widgetData = {
5583
5721
  'printFeature',
5584
5722
  'quickFindFeature',
5585
5723
  'regionResizeFeature',
5724
+ 'resourceColumnReorderFeature',
5586
5725
  'resourceMenuFeature',
5587
5726
  'resourceTimeRangesFeature',
5588
5727
  'rowCopyPasteFeature',
@@ -5622,6 +5761,7 @@ const widgetData = {
5622
5761
  'autoHeight',
5623
5762
  'bbar',
5624
5763
  'bodyCls',
5764
+ 'border',
5625
5765
  'bubbleEvents',
5626
5766
  'bufferCoef',
5627
5767
  'bufferThreshold',
@@ -5792,6 +5932,7 @@ const widgetData = {
5792
5932
  'hideRowHover',
5793
5933
  'id',
5794
5934
  'infiniteScroll',
5935
+ 'inheritEventColor',
5795
5936
  'initialAnimationDuration',
5796
5937
  'inputFieldAlign',
5797
5938
  'insertBefore',
@@ -5831,6 +5972,7 @@ const widgetData = {
5831
5972
  'onBeforeCellEditStart',
5832
5973
  'onBeforeCellRangeDelete',
5833
5974
  'onBeforeCellRangeEdit',
5975
+ 'onBeforeColumnCollapseToggle',
5834
5976
  'onBeforeColumnDragStart',
5835
5977
  'onBeforeColumnDropFinalize',
5836
5978
  'onBeforeColumnResize',
@@ -5896,6 +6038,7 @@ const widgetData = {
5896
6038
  'onCellMouseOver',
5897
6039
  'onCollapse',
5898
6040
  'onCollapseNode',
6041
+ 'onColumnCollapseToggle',
5899
6042
  'onColumnDrag',
5900
6043
  'onColumnDragStart',
5901
6044
  'onColumnDrop',
@@ -5994,6 +6137,12 @@ const widgetData = {
5994
6137
  'onRenderRow',
5995
6138
  'onRenderRows',
5996
6139
  'onResize',
6140
+ 'onResourceColumnBeforeDragStart',
6141
+ 'onResourceColumnBeforeDropFinalize',
6142
+ 'onResourceColumnDrag',
6143
+ 'onResourceColumnDragAbort',
6144
+ 'onResourceColumnDragStart',
6145
+ 'onResourceColumnDrop',
5997
6146
  'onResourceHeaderClick',
5998
6147
  'onResourceHeaderContextmenu',
5999
6148
  'onResourceHeaderDblclick',
@@ -6154,6 +6303,7 @@ const widgetData = {
6154
6303
  'beforeCellEditStart',
6155
6304
  'beforeCellRangeDelete',
6156
6305
  'beforeCellRangeEdit',
6306
+ 'beforeColumnCollapseToggle',
6157
6307
  'beforeColumnDragStart',
6158
6308
  'beforeColumnDropFinalize',
6159
6309
  'beforeColumnResize',
@@ -6219,6 +6369,7 @@ const widgetData = {
6219
6369
  'cellMouseOver',
6220
6370
  'collapse',
6221
6371
  'collapseNode',
6372
+ 'columnCollapseToggle',
6222
6373
  'columnDrag',
6223
6374
  'columnDragStart',
6224
6375
  'columnDrop',
@@ -6317,6 +6468,12 @@ const widgetData = {
6317
6468
  'renderRow',
6318
6469
  'renderRows',
6319
6470
  'resize',
6471
+ 'resourceColumnBeforeDragStart',
6472
+ 'resourceColumnBeforeDropFinalize',
6473
+ 'resourceColumnDrag',
6474
+ 'resourceColumnDragAbort',
6475
+ 'resourceColumnDragStart',
6476
+ 'resourceColumnDrop',
6320
6477
  'resourceHeaderClick',
6321
6478
  'resourceHeaderContextmenu',
6322
6479
  'resourceHeaderDblclick',