@bryntum/schedulerpro-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 (111) hide show
  1. package/README.md +19 -13
  2. package/lib/chunks/B12rdbvL.js.map +1 -1
  3. package/lib/chunks/{DDRoO9aB.js → B2O8rS3_.js} +14 -6
  4. package/lib/chunks/B2O8rS3_.js.map +1 -0
  5. package/lib/chunks/{VUn0v9mh.js → B7sV8_zC.js} +18 -10
  6. package/lib/chunks/B7sV8_zC.js.map +1 -0
  7. package/lib/chunks/BBN-5eeI.js.map +1 -1
  8. package/lib/chunks/{yCHi3rZC.js → BMF41dEG.js} +8 -6
  9. package/lib/chunks/BMF41dEG.js.map +1 -0
  10. package/lib/chunks/BrUxjEMx.js.map +1 -1
  11. package/lib/chunks/{DQYJMaQ_.js → ByS5_-RM.js} +6 -4
  12. package/lib/chunks/ByS5_-RM.js.map +1 -0
  13. package/lib/chunks/CDbPwyl3.js.map +1 -1
  14. package/lib/chunks/{BaiH7rub.js → CoYhPB2e.js} +12 -5
  15. package/lib/chunks/CoYhPB2e.js.map +1 -0
  16. package/lib/chunks/Ct_m9O9h.js.map +1 -1
  17. package/lib/chunks/{D45V9XRN.js → D4JDuI0s.js} +12 -10
  18. package/lib/chunks/D4JDuI0s.js.map +1 -0
  19. package/lib/chunks/{BtVT0xgl.js → DC4Xw3gK.js} +3 -1
  20. package/lib/chunks/DC4Xw3gK.js.map +1 -0
  21. package/lib/chunks/{C9qY739P.js → DRVdzy6g.js} +3 -1
  22. package/lib/chunks/DRVdzy6g.js.map +1 -0
  23. package/lib/chunks/DgESZupU.js.map +1 -1
  24. package/lib/chunks/{DKsnWqxn.js → DghqseiN.js} +38 -16
  25. package/lib/chunks/DghqseiN.js.map +1 -0
  26. package/lib/chunks/DvFm-5Hh.js.map +1 -1
  27. package/lib/chunks/{C0N8aq7Y.js → H_iWW1r0.js} +8 -6
  28. package/lib/chunks/H_iWW1r0.js.map +1 -0
  29. package/lib/chunks/{jMa0fiOL.js → N6QbiUPO.js} +45 -21
  30. package/lib/chunks/N6QbiUPO.js.map +1 -0
  31. package/lib/chunks/{CKdojoDl.js → OtE4hpSS.js} +45 -21
  32. package/lib/chunks/OtE4hpSS.js.map +1 -0
  33. package/lib/chunks/ggN9GDPJ.js.map +1 -1
  34. package/lib/chunks/qKNUUeE0.js.map +1 -1
  35. package/lib/chunks/{xk_S9thL.js → sUi9pfNu.js} +12 -5
  36. package/lib/chunks/sUi9pfNu.js.map +1 -0
  37. package/lib/components/BryntumCalendarEditor.js +1 -1
  38. package/lib/components/BryntumDependencyTypePicker.js +1 -1
  39. package/lib/components/BryntumEndDateField.js +1 -1
  40. package/lib/components/BryntumResourceEditor.js +1 -1
  41. package/lib/components/BryntumResourceGrid.js +1 -1
  42. package/lib/components/BryntumResourceHistogram.js +1 -1
  43. package/lib/components/BryntumResourceUtilization.js +1 -1
  44. package/lib/components/BryntumSchedulerPro.js +1 -1
  45. package/lib/components/BryntumSchedulerProBase.js +1 -1
  46. package/lib/components/BryntumSchedulerProProjectModel.js +1 -1
  47. package/lib/components/BryntumStartDateField.js +1 -1
  48. package/lib/components/BryntumTimeline.js +1 -1
  49. package/lib/components/BryntumVersionGrid.js +1 -1
  50. package/lib/helper/WrapperHelper.js +42 -42
  51. package/lib/helper/WrapperHelper.js.map +1 -1
  52. package/lib/index.js +13 -13
  53. package/package.json +1 -1
  54. package/src/components/BryntumCalendarEditor.vue +7 -2
  55. package/src/components/BryntumCalendarEditorProps.ts +6 -2
  56. package/src/components/BryntumCalendarField.vue +2 -2
  57. package/src/components/BryntumCalendarFieldProps.ts +2 -2
  58. package/src/components/BryntumConstraintTypePicker.vue +2 -2
  59. package/src/components/BryntumConstraintTypePickerProps.ts +2 -2
  60. package/src/components/BryntumCostAccrualField.vue +2 -2
  61. package/src/components/BryntumCostAccrualFieldProps.ts +2 -2
  62. package/src/components/BryntumDependencyTypePicker.vue +9 -2
  63. package/src/components/BryntumDependencyTypePickerProps.ts +8 -2
  64. package/src/components/BryntumEffortField.vue +2 -2
  65. package/src/components/BryntumEffortFieldProps.ts +2 -2
  66. package/src/components/BryntumEndDateField.vue +13 -3
  67. package/src/components/BryntumEndDateFieldProps.ts +12 -3
  68. package/src/components/BryntumModelCombo.vue +2 -2
  69. package/src/components/BryntumModelComboProps.ts +2 -2
  70. package/src/components/BryntumRateTableField.vue +2 -2
  71. package/src/components/BryntumRateTableFieldProps.ts +2 -2
  72. package/src/components/BryntumResourceEditor.vue +7 -2
  73. package/src/components/BryntumResourceEditorProps.ts +6 -2
  74. package/src/components/BryntumResourceGrid.vue +67 -25
  75. package/src/components/BryntumResourceGridProps.ts +16 -3
  76. package/src/components/BryntumResourceHistogram.vue +69 -26
  77. package/src/components/BryntumResourceHistogramProps.ts +17 -4
  78. package/src/components/BryntumResourceTypeField.vue +2 -2
  79. package/src/components/BryntumResourceTypeFieldProps.ts +2 -2
  80. package/src/components/BryntumResourceUtilization.vue +69 -26
  81. package/src/components/BryntumResourceUtilizationProps.ts +17 -4
  82. package/src/components/BryntumSchedulerPro.vue +183 -26
  83. package/src/components/BryntumSchedulerProBase.vue +183 -26
  84. package/src/components/BryntumSchedulerProBaseProps.ts +29 -4
  85. package/src/components/BryntumSchedulerProProjectModel.vue +9 -0
  86. package/src/components/BryntumSchedulerProProjectModelProps.ts +8 -0
  87. package/src/components/BryntumSchedulerProProps.ts +29 -4
  88. package/src/components/BryntumSchedulingDirectionPicker.vue +2 -2
  89. package/src/components/BryntumSchedulingDirectionPickerProps.ts +2 -2
  90. package/src/components/BryntumSchedulingModePicker.vue +2 -2
  91. package/src/components/BryntumSchedulingModePickerProps.ts +2 -2
  92. package/src/components/BryntumStartDateField.vue +13 -3
  93. package/src/components/BryntumStartDateFieldProps.ts +12 -3
  94. package/src/components/BryntumTimeline.vue +181 -26
  95. package/src/components/BryntumTimelineProps.ts +29 -4
  96. package/src/components/BryntumVersionGrid.vue +67 -25
  97. package/src/components/BryntumVersionGridProps.ts +16 -3
  98. package/src/helper/WrapperHelper.ts +5 -1
  99. package/lib/chunks/BaiH7rub.js.map +0 -1
  100. package/lib/chunks/BtVT0xgl.js.map +0 -1
  101. package/lib/chunks/C0N8aq7Y.js.map +0 -1
  102. package/lib/chunks/C9qY739P.js.map +0 -1
  103. package/lib/chunks/CKdojoDl.js.map +0 -1
  104. package/lib/chunks/D45V9XRN.js.map +0 -1
  105. package/lib/chunks/DDRoO9aB.js.map +0 -1
  106. package/lib/chunks/DKsnWqxn.js.map +0 -1
  107. package/lib/chunks/DQYJMaQ_.js.map +0 -1
  108. package/lib/chunks/VUn0v9mh.js.map +0 -1
  109. package/lib/chunks/jMa0fiOL.js.map +0 -1
  110. package/lib/chunks/xk_S9thL.js.map +0 -1
  111. package/lib/chunks/yCHi3rZC.js.map +0 -1
@@ -33,8 +33,8 @@
33
33
 
34
34
  import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
35
35
 
36
- import type { AjaxStore, AjaxStoreConfig, Base, Container, DomConfig, DurationUnit, FormulaProviderConfig, Histogram, HistogramConfig, HistogramSeries, KeyMapConfig, Mask, MaskConfig, Menu, MenuItem, MenuItemEntry, Model, ModelConfig, NumberFormatConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, Tooltip, TooltipConfig, Widget } from '@bryntum/core-thin';
37
- import type { AIFilter, AIFilterConfig, CellCopyPaste, CellCopyPasteConfig, CellEditorContext, CellMenu, CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, Column, ColumnAutoWidth, ColumnAutoWidthConfig, ColumnDragToolbar, ColumnDragToolbarConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder, ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, EmptyTextDomConfig, ExcelExporter as GridExcelExporter, ExcelExporterConfig as GridExcelExporterConfig, ExportConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, Grid, GridBase, GridLocation, GridLocationConfig, GridSelectionMode, GridStateInfo, Group, GroupConfig, HeaderMenu, HeaderMenuConfig, LockRows as GridLockRows, LockRowsConfig as GridLockRowsConfig, MergeCells, MergeCellsConfig, PdfExport as GridPdfExport, PdfExportConfig as GridPdfExportConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, Print as GridPrint, PrintConfig as GridPrintConfig, QuickFind, QuickFindConfig, RecordPositionContext, RegionResize, RegionResizeConfig, ResponsiveLevelConfig, Row, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowEditorContext, RowExpander, RowExpanderConfig, RowResize as GridRowResize, RowResizeConfig as GridRowResizeConfig, Search, SearchConfig, Sort, SortConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGrid, SubGridConfig, Tree, TreeConfig, TreeGroup, TreeGroupConfig, XLSColumn } from '@bryntum/grid-thin';
36
+ import type { AjaxStore, AjaxStoreConfig, Base, Color, Container, DomConfig, DurationUnit, FormulaProviderConfig, Histogram, HistogramConfig, HistogramSeries, KeyMapConfig, Mask, MaskConfig, Menu, MenuItem, MenuItemEntry, Model, ModelConfig, NumberFormatConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, Tooltip, TooltipConfig, Widget } from '@bryntum/core-thin';
37
+ import type { AI as GridAI, AIConfig as GridAIConfig, AIFilter, AIFilterConfig, CellCopyPaste, CellCopyPasteConfig, CellEditorContext, CellMenu, CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, Column, ColumnAutoWidth, ColumnAutoWidthConfig, ColumnDragToolbar, ColumnDragToolbarConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder, ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, EmptyTextDomConfig, ExcelExporter as GridExcelExporter, ExcelExporterConfig as GridExcelExporterConfig, ExportConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, Grid, GridBase, GridLocation, GridLocationConfig, GridSelectionMode, GridStateInfo, Group, GroupConfig, HeaderMenu, HeaderMenuConfig, LockRows as GridLockRows, LockRowsConfig as GridLockRowsConfig, MergeCells, MergeCellsConfig, PdfExport as GridPdfExport, PdfExportConfig as GridPdfExportConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, Print as GridPrint, PrintConfig as GridPrintConfig, QuickFind, QuickFindConfig, RecordPositionContext, RegionResize, RegionResizeConfig, ResponsiveLevelConfig, Row, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowEditorContext, RowExpander, RowExpanderConfig, RowResize as GridRowResize, RowResizeConfig as GridRowResizeConfig, Search, SearchConfig, Sort, SortConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGrid, SubGridConfig, Tree, TreeConfig, TreeGroup, TreeGroupConfig, XLSColumn } from '@bryntum/grid-thin';
38
38
  import type { AssignmentModel as SchedulerAssignmentModel, ColumnLines, ColumnLinesConfig, CrudManager, CrudManagerConfig, EventModel as SchedulerEventModel, GroupSummary, GroupSummaryConfig, HeaderZoom, HeaderZoomConfig, NonWorkingTime, NonWorkingTimeConfig, Pan, PanConfig, PdfExportConfig, RecurrenceConfirmationPopup, RecurrenceConfirmationPopupConfig, ResourceMarginConfig, ResourceMenu, ResourceMenuConfig, ResourceModel as SchedulerResourceModel, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, ResourceTimeRanges, ResourceTimeRangesConfig, RowReorder, RowReorderConfig, ScaleColumnConfig, ScalePoint, ScheduleTooltip, ScheduleTooltipConfig, Scheduler, Split, SplitConfig, Summary, SummaryConfig, TimeAxis, TimeAxisColumn, TimeAxisConfig, TimeAxisHeaderMenu, TimeAxisHeaderMenuConfig, TimeRanges, TimeRangesConfig, TimeSpan, TimeSpanConfig, TimelineBase, TimelineContext, TimelineHistogram, VerticalTimeAxisColumn, ViewPreset, ViewPresetConfig, VisibleDate } from '@bryntum/scheduler-thin';
39
39
  import type { AssignmentModel, CellEdit, CellEditConfig, SchedulerProContainerItemConfig, SchedulerProColumnConfig, ProjectModel, ProjectModelConfig, ResourceAllocationInfo, ResourceAllocationInterval, ResourceHistogramListeners, ResourceHistogramRenderData, ResourceModel, ResourceNonWorkingTime, ResourceNonWorkingTimeConfig, SchedulerPro, TimeSpanHighlight, TimeSpanHighlightConfig } from '@bryntum/schedulerpro-thin';
40
40
  import { ResourceHistogram } from '@bryntum/schedulerpro-thin';
@@ -178,6 +178,10 @@ defineProps<{
178
178
  * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceHistogram#config-bodyCls)
179
179
  */
180
180
  bodyCls ? : string|object
181
+ /**
182
+ * Set `true` to add a border to this container's element.
183
+ */
184
+ border ? : Boolean
181
185
  /**
182
186
  * An object where property names with a truthy value indicate which events should bubble up the ownership
183
187
  * hierarchy when triggered.
@@ -243,7 +247,7 @@ defineProps<{
243
247
  * ...
244
248
  * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceHistogram#config-color)
245
249
  */
246
- color ? : string
250
+ color ? : Color
247
251
  /**
248
252
  * Programmatic control over which column to start in when used in a grid layout.
249
253
  */
@@ -852,7 +856,7 @@ defineProps<{
852
856
  * ...
853
857
  * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceHistogram#config-partner)
854
858
  */
855
- partner ? : TimelineBase
859
+ partner ? : TimelineBase|string
856
860
  /**
857
861
  * Set to `true` to include `startDate` and `endDate` params indicating the currently viewed date range in
858
862
  * `EventStore` load requests (when loading using `AjaxStore` or `CrudManager` functionality).
@@ -1376,6 +1380,15 @@ defineProps<{
1376
1380
  zoomOnTimeAxisDoubleClick ? : Boolean
1377
1381
 
1378
1382
  // Features
1383
+ /**
1384
+ * This feature provides an AI agent for Grid. It provides a chat panel that allows the user to send messages to the
1385
+ * agent and see the responses. Which allows the user to use natural language to interact with the Grid in different
1386
+ * ways. For example, the user can ask the agent to filter the data, sort it, or select specific records. The agent can
1387
+ * also perform data manipulation operations such as adding, updating, deleting records.
1388
+ * ...
1389
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/AI)
1390
+ */
1391
+ aiFeature ? : object|Boolean|string|GridAI|GridAIConfig
1379
1392
  /**
1380
1393
  * AI-powered filter feature for Grid. Allows users to type natural language queries to filter grid data.
1381
1394
  * ...
@@ -1812,6 +1825,18 @@ const emit = defineEmits<{
1812
1825
  * @param {any} params.params.event.value The value being set
1813
1826
  */
1814
1827
  (e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1828
+ /**
1829
+ * This event is triggered before a parent column is collapsed or expanded.
1830
+ * @param {string} e Event name
1831
+ * @param {object} params Event parameters
1832
+ * @param {string} params.e Event name
1833
+ * @param {object} params.params Event parameters
1834
+ * @param {object} params.params.event Event object
1835
+ * @param {Grid.view.GridBase} params.params.event.source The grid instance
1836
+ * @param {Grid.column.Column} params.params.event.column The column
1837
+ * @param {boolean} params.params.event.collapsed `true` if the column is being collapsed, `false` if expanded
1838
+ */
1839
+ (e: 'beforeColumnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
1815
1840
  /**
1816
1841
  * This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
1817
1842
  * @param {string} e Event name
@@ -2062,12 +2087,12 @@ const emit = defineEmits<{
2062
2087
  * @param {string} params.e Event name
2063
2088
  * @param {object} params.params Event parameters
2064
2089
  * @param {object} params.params.event Event object
2065
- * @param {Grid.view.Grid} params.params.event.source The firing Grid instance.
2066
- * @param {Grid.row.Row} params.params.event.row The row about to be rendered.
2067
- * @param {Core.data.Model} params.params.event.record The record for the row.
2068
- * @param {number} params.params.event.recordIndex The zero-based index of the record.
2090
+ * @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
2091
+ * @param {Grid.row.Row} params.params.event.row The row about to be rendered
2092
+ * @param {Core.data.Model} params.params.event.record The record for the row
2093
+ * @param {number} params.params.event.recordIndex The zero-based index of the record
2069
2094
  */
2070
- (e: 'beforeRenderRow', params: ((event: { source: Grid, row: Row, record: Model, recordIndex: number }) => void)|string): void
2095
+ (e: 'beforeRenderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
2071
2096
  /**
2072
2097
  * Grid rows are about to be rendered
2073
2098
  * @param {string} e Event name
@@ -2075,9 +2100,9 @@ const emit = defineEmits<{
2075
2100
  * @param {string} params.e Event name
2076
2101
  * @param {object} params.params Event parameters
2077
2102
  * @param {object} params.params.event Event object
2078
- * @param {Grid.view.Grid} params.params.event.source This grid.
2103
+ * @param {Grid.view.GridBase} params.params.event.source This grid.
2079
2104
  */
2080
- (e: 'beforeRenderRows', params: ((event: { source: Grid }) => void)|string): void
2105
+ (e: 'beforeRenderRows', params: ((event: { source: GridBase }) => void)|string): void
2081
2106
  /**
2082
2107
  * This event fires before row collapse is started.
2083
2108
  * ...
@@ -2408,6 +2433,18 @@ const emit = defineEmits<{
2408
2433
  * @param {Core.data.Model} params.params.event.record The record which has been collapsed.
2409
2434
  */
2410
2435
  (e: 'collapseNode', params: ((event: { source: Grid, record: Model }) => void)|string): void
2436
+ /**
2437
+ * This event is triggered after a parent column has been collapsed or expanded.
2438
+ * @param {string} e Event name
2439
+ * @param {object} params Event parameters
2440
+ * @param {string} params.e Event name
2441
+ * @param {object} params.params Event parameters
2442
+ * @param {object} params.params.event Event object
2443
+ * @param {Grid.view.GridBase} params.params.event.source The Grid instance
2444
+ * @param {Grid.column.Column} params.params.event.column The column being toggled
2445
+ * @param {boolean} params.params.event.collapsed `true` if the column is now collapsed, `false` if expanded
2446
+ */
2447
+ (e: 'columnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
2411
2448
  /**
2412
2449
  * This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
2413
2450
  * to indicate whether the drop position is valid or not.
@@ -2536,14 +2573,14 @@ const emit = defineEmits<{
2536
2573
  * @param {string} params.e Event name
2537
2574
  * @param {object} params.params Event parameters
2538
2575
  * @param {object} params.params.event Event object
2539
- * @param {Grid.view.Grid} params.params.event.source Owning grid
2576
+ * @param {Grid.view.GridBase} params.params.event.source Owning grid
2540
2577
  * @param {Core.data.Store} params.params.event.store The originating store
2541
2578
  * @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'`
2542
2579
  * @param {Core.data.Model} params.params.event.record Changed record, for actions that affects exactly one record (`'update'`)
2543
2580
  * @param {Core.data.Model[]} params.params.event.records Changed records, passed for all actions except `'removeAll'`
2544
2581
  * @param {object} params.params.event.changes Passed for the `'update'` action, info on which record fields changed
2545
2582
  */
2546
- (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
2583
+ (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
2547
2584
  /**
2548
2585
  * Fired when the range of dates encapsulated by the UI changes. This will be when
2549
2586
  * moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
@@ -3066,12 +3103,12 @@ const emit = defineEmits<{
3066
3103
  * @param {string} params.e Event name
3067
3104
  * @param {object} params.params Event parameters
3068
3105
  * @param {object} params.params.event Event object
3069
- * @param {Grid.view.Grid} params.params.event.source The firing Grid instance.
3070
- * @param {Grid.row.Row} params.params.event.row The row that has been rendered.
3071
- * @param {Core.data.Model} params.params.event.record The record for the row.
3072
- * @param {number} params.params.event.recordIndex The zero-based index of the record.
3106
+ * @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
3107
+ * @param {Grid.row.Row} params.params.event.row The row that has been rendered
3108
+ * @param {Core.data.Model} params.params.event.record The record for the row
3109
+ * @param {number} params.params.event.recordIndex The zero-based index of the record
3073
3110
  */
3074
- (e: 'renderRow', params: ((event: { source: Grid, row: Row, record: Model, recordIndex: number }) => void)|string): void
3111
+ (e: 'renderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
3075
3112
  /**
3076
3113
  * Grid rows have been rendered
3077
3114
  * @param {string} e Event name
@@ -3079,9 +3116,9 @@ const emit = defineEmits<{
3079
3116
  * @param {string} params.e Event name
3080
3117
  * @param {object} params.params Event parameters
3081
3118
  * @param {object} params.params.event Event object
3082
- * @param {Grid.view.Grid} params.params.event.source This grid.
3119
+ * @param {Grid.view.GridBase} params.params.event.source This grid.
3083
3120
  */
3084
- (e: 'renderRows', params: ((event: { source: Grid }) => void)|string): void
3121
+ (e: 'renderRows', params: ((event: { source: GridBase }) => void)|string): void
3085
3122
  /**
3086
3123
  * Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
3087
3124
  * @param {string} e Event name
@@ -3436,10 +3473,10 @@ const emit = defineEmits<{
3436
3473
  * @param {string} params.e Event name
3437
3474
  * @param {object} params.params Event parameters
3438
3475
  * @param {object} params.params.event Event object
3439
- * @param {Grid.view.Grid} params.params.event.source The firing Grid instance.
3476
+ * @param {Grid.view.GridBase} params.params.event.source The firing Grid instance.
3440
3477
  * @param {number} params.params.event.scrollTop The vertical scroll position.
3441
3478
  */
3442
- (e: 'scroll', params: ((event: { source: Grid, scrollTop: number }) => void)|string): void
3479
+ (e: 'scroll', params: ((event: { source: GridBase, scrollTop: number }) => void)|string): void
3443
3480
  /**
3444
3481
  * The selection has been changed.
3445
3482
  * @param {string} e Event name
@@ -3571,10 +3608,10 @@ const emit = defineEmits<{
3571
3608
  * @param {string} params.e Event name
3572
3609
  * @param {object} params.params Event parameters
3573
3610
  * @param {object} params.params.event Event object
3574
- * @param {Grid.view.Grid} params.params.event.source The firing Grid instance
3611
+ * @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
3575
3612
  * @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
3576
3613
  */
3577
- (e: 'subGridCollapse', params: ((event: { source: Grid, subGrid: SubGrid }) => void)|string): void
3614
+ (e: 'subGridCollapse', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
3578
3615
  /**
3579
3616
  * Fires after a sub grid is expanded.
3580
3617
  * @param {string} e Event name
@@ -3582,10 +3619,10 @@ const emit = defineEmits<{
3582
3619
  * @param {string} params.e Event name
3583
3620
  * @param {object} params.params Event parameters
3584
3621
  * @param {object} params.params.event Event object
3585
- * @param {Grid.view.Grid} params.params.event.source The firing Grid instance
3622
+ * @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
3586
3623
  * @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
3587
3624
  */
3588
- (e: 'subGridExpand', params: ((event: { source: Grid, subGrid: SubGrid }) => void)|string): void
3625
+ (e: 'subGridExpand', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
3589
3626
  /**
3590
3627
  * Fired when the tick size changes.
3591
3628
  * ...
@@ -3838,6 +3875,7 @@ const widgetData = {
3838
3875
  },
3839
3876
  projectStores : false,
3840
3877
  featureNames : [
3878
+ 'aiFeature',
3841
3879
  'aiFilterFeature',
3842
3880
  'cellCopyPasteFeature',
3843
3881
  'cellEditFeature',
@@ -3907,6 +3945,7 @@ const widgetData = {
3907
3945
  'barTooltipTemplate',
3908
3946
  'bbar',
3909
3947
  'bodyCls',
3948
+ 'border',
3910
3949
  'bubbleEvents',
3911
3950
  'bufferCoef',
3912
3951
  'bufferThreshold',
@@ -4073,6 +4112,7 @@ const widgetData = {
4073
4112
  'onBeforeCellEditStart',
4074
4113
  'onBeforeCellRangeDelete',
4075
4114
  'onBeforeCellRangeEdit',
4115
+ 'onBeforeColumnCollapseToggle',
4076
4116
  'onBeforeColumnDragStart',
4077
4117
  'onBeforeColumnDropFinalize',
4078
4118
  'onBeforeColumnResize',
@@ -4119,6 +4159,7 @@ const widgetData = {
4119
4159
  'onCellMouseOver',
4120
4160
  'onCollapse',
4121
4161
  'onCollapseNode',
4162
+ 'onColumnCollapseToggle',
4122
4163
  'onColumnDrag',
4123
4164
  'onColumnDragStart',
4124
4165
  'onColumnDrop',
@@ -4291,6 +4332,7 @@ const widgetData = {
4291
4332
  'beforeCellEditStart',
4292
4333
  'beforeCellRangeDelete',
4293
4334
  'beforeCellRangeEdit',
4335
+ 'beforeColumnCollapseToggle',
4294
4336
  'beforeColumnDragStart',
4295
4337
  'beforeColumnDropFinalize',
4296
4338
  'beforeColumnResize',
@@ -4337,6 +4379,7 @@ const widgetData = {
4337
4379
  'cellMouseOver',
4338
4380
  'collapse',
4339
4381
  'collapseNode',
4382
+ 'columnCollapseToggle',
4340
4383
  'columnDrag',
4341
4384
  'columnDragStart',
4342
4385
  'columnDrop',
@@ -1,5 +1,5 @@
1
- import type { AjaxStore, AjaxStoreConfig, DomConfig, DurationUnit, FormulaProviderConfig, Histogram, HistogramConfig, HistogramSeries, KeyMapConfig, Mask, MaskConfig, Model, ModelConfig, NumberFormatConfig, PagingToolbarConfig, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, ToolConfig, ToolbarConfig, ToolbarItems, Tooltip, TooltipConfig, Widget } from '@bryntum/core-thin';
2
- import type { AIFilter, AIFilterConfig, CellCopyPaste, CellCopyPasteConfig, CellMenu, CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, ColumnAutoWidth, ColumnAutoWidthConfig, ColumnDragToolbar, ColumnDragToolbarConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder, ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, EmptyTextDomConfig, ExcelExporter as GridExcelExporter, ExcelExporterConfig as GridExcelExporterConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, GridSelectionMode, Group, GroupConfig, HeaderMenu, HeaderMenuConfig, LockRows as GridLockRows, LockRowsConfig as GridLockRowsConfig, MergeCells, MergeCellsConfig, PdfExport as GridPdfExport, PdfExportConfig as GridPdfExportConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, Print as GridPrint, PrintConfig as GridPrintConfig, QuickFind, QuickFindConfig, RegionResize, RegionResizeConfig, ResponsiveLevelConfig, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowExpander, RowExpanderConfig, RowResize as GridRowResize, RowResizeConfig as GridRowResizeConfig, Search, SearchConfig, Sort, SortConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGridConfig, Tree, TreeConfig, TreeGroup, TreeGroupConfig } from '@bryntum/grid-thin';
1
+ import type { AjaxStore, AjaxStoreConfig, Color, DomConfig, DurationUnit, FormulaProviderConfig, Histogram, HistogramConfig, HistogramSeries, KeyMapConfig, Mask, MaskConfig, Model, ModelConfig, NumberFormatConfig, PagingToolbarConfig, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, ToolConfig, ToolbarConfig, ToolbarItems, Tooltip, TooltipConfig, Widget } from '@bryntum/core-thin';
2
+ import type { AI as GridAI, AIConfig as GridAIConfig, AIFilter, AIFilterConfig, CellCopyPaste, CellCopyPasteConfig, CellMenu, CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, ColumnAutoWidth, ColumnAutoWidthConfig, ColumnDragToolbar, ColumnDragToolbarConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder, ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, EmptyTextDomConfig, ExcelExporter as GridExcelExporter, ExcelExporterConfig as GridExcelExporterConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, GridSelectionMode, Group, GroupConfig, HeaderMenu, HeaderMenuConfig, LockRows as GridLockRows, LockRowsConfig as GridLockRowsConfig, MergeCells, MergeCellsConfig, PdfExport as GridPdfExport, PdfExportConfig as GridPdfExportConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, Print as GridPrint, PrintConfig as GridPrintConfig, QuickFind, QuickFindConfig, RegionResize, RegionResizeConfig, ResponsiveLevelConfig, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowExpander, RowExpanderConfig, RowResize as GridRowResize, RowResizeConfig as GridRowResizeConfig, Search, SearchConfig, Sort, SortConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGridConfig, Tree, TreeConfig, TreeGroup, TreeGroupConfig } from '@bryntum/grid-thin';
3
3
  import type { ColumnLines, ColumnLinesConfig, CrudManager, CrudManagerConfig, GroupSummary, GroupSummaryConfig, HeaderZoom, HeaderZoomConfig, NonWorkingTime, NonWorkingTimeConfig, Pan, PanConfig, RecurrenceConfirmationPopup, RecurrenceConfirmationPopupConfig, ResourceMarginConfig, ResourceMenu, ResourceMenuConfig, ResourceModel as SchedulerResourceModel, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, ResourceTimeRanges, ResourceTimeRangesConfig, RowReorder, RowReorderConfig, ScaleColumnConfig, ScalePoint, ScheduleTooltip, ScheduleTooltipConfig, Split, SplitConfig, Summary, SummaryConfig, TimeAxis, TimeAxisConfig, TimeAxisHeaderMenu, TimeAxisHeaderMenuConfig, TimeRanges, TimeRangesConfig, TimeSpan, TimeSpanConfig, TimelineBase, ViewPresetConfig, VisibleDate } from '@bryntum/scheduler-thin';
4
4
  import type { AssignmentModel, CellEdit, CellEditConfig, SchedulerProContainerItemConfig, SchedulerProColumnConfig, ProjectModel, ProjectModelConfig, ResourceAllocationInfo, ResourceAllocationInterval, ResourceHistogramListeners, ResourceHistogramRenderData, ResourceModel, ResourceNonWorkingTime, ResourceNonWorkingTimeConfig, TimeSpanHighlight, TimeSpanHighlightConfig } from '@bryntum/schedulerpro-thin';
5
5
 
@@ -140,6 +140,10 @@ export declare type BryntumResourceHistogramProps = {
140
140
  * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceHistogram#config-bodyCls)
141
141
  */
142
142
  bodyCls ? : string|object
143
+ /**
144
+ * Set `true` to add a border to this container's element.
145
+ */
146
+ border ? : Boolean
143
147
  /**
144
148
  * An object where property names with a truthy value indicate which events should bubble up the ownership
145
149
  * hierarchy when triggered.
@@ -205,7 +209,7 @@ export declare type BryntumResourceHistogramProps = {
205
209
  * ...
206
210
  * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceHistogram#config-color)
207
211
  */
208
- color ? : string
212
+ color ? : Color
209
213
  /**
210
214
  * Programmatic control over which column to start in when used in a grid layout.
211
215
  */
@@ -814,7 +818,7 @@ export declare type BryntumResourceHistogramProps = {
814
818
  * ...
815
819
  * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceHistogram#config-partner)
816
820
  */
817
- partner ? : TimelineBase
821
+ partner ? : TimelineBase|string
818
822
  /**
819
823
  * Set to `true` to include `startDate` and `endDate` params indicating the currently viewed date range in
820
824
  * `EventStore` load requests (when loading using `AjaxStore` or `CrudManager` functionality).
@@ -1338,6 +1342,15 @@ export declare type BryntumResourceHistogramProps = {
1338
1342
  zoomOnTimeAxisDoubleClick ? : Boolean
1339
1343
 
1340
1344
  // Features
1345
+ /**
1346
+ * This feature provides an AI agent for Grid. It provides a chat panel that allows the user to send messages to the
1347
+ * agent and see the responses. Which allows the user to use natural language to interact with the Grid in different
1348
+ * ways. For example, the user can ask the agent to filter the data, sort it, or select specific records. The agent can
1349
+ * also perform data manipulation operations such as adding, updating, deleting records.
1350
+ * ...
1351
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/AI)
1352
+ */
1353
+ aiFeature ? : object|Boolean|string|GridAI|GridAIConfig
1341
1354
  /**
1342
1355
  * AI-powered filter feature for Grid. Allows users to type natural language queries to filter grid data.
1343
1356
  * ...
@@ -10,7 +10,7 @@
10
10
 
11
11
  import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
12
12
 
13
- import type { AlignSpec, Base, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Combo, ComboModel, Duration, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, List, ListConfig, MaskConfig, Model, Rectangle, Store, StoreConfig, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
13
+ import type { AlignSpec, Base, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Color, Combo, ComboModel, Duration, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, List, ListConfig, MaskConfig, Model, Rectangle, Store, StoreConfig, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
14
14
  import type { SchedulerProContainerItemConfig, ResourceTypeFieldListeners } from '@bryntum/schedulerpro-thin';
15
15
  import { ResourceTypeField } from '@bryntum/schedulerpro-thin';
16
16
 
@@ -152,7 +152,7 @@ defineProps<{
152
152
  * ...
153
153
  * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-color)
154
154
  */
155
- color ? : string
155
+ color ? : Color
156
156
  /**
157
157
  * Programmatic control over which column to start in when used in a grid layout.
158
158
  */
@@ -1,4 +1,4 @@
1
- import type { AlignSpec, Base, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Combo, ComboModel, Duration, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, List, ListConfig, MaskConfig, Model, Rectangle, Store, StoreConfig, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
1
+ import type { AlignSpec, Base, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Color, Combo, ComboModel, Duration, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, List, ListConfig, MaskConfig, Model, Rectangle, Store, StoreConfig, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
2
2
  import type { SchedulerProContainerItemConfig, ResourceTypeFieldListeners } from '@bryntum/schedulerpro-thin';
3
3
 
4
4
  export declare type BryntumResourceTypeFieldProps = {
@@ -137,7 +137,7 @@ export declare type BryntumResourceTypeFieldProps = {
137
137
  * ...
138
138
  * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-color)
139
139
  */
140
- color ? : string
140
+ color ? : Color
141
141
  /**
142
142
  * Programmatic control over which column to start in when used in a grid layout.
143
143
  */
@@ -33,8 +33,8 @@
33
33
 
34
34
  import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
35
35
 
36
- import type { AjaxStore, AjaxStoreConfig, Base, Container, DomConfig, DurationUnit, FormulaProviderConfig, Histogram, HistogramConfig, HistogramSeries, KeyMapConfig, Mask, MaskConfig, Menu, MenuItem, MenuItemEntry, Model, NumberFormatConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/core-thin';
37
- import type { AIFilter, AIFilterConfig, CellCopyPaste, CellCopyPasteConfig, CellEditorContext, CellMenu, CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, Column, ColumnAutoWidth, ColumnAutoWidthConfig, ColumnDragToolbar, ColumnDragToolbarConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder, ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, EmptyTextDomConfig, ExcelExporter as GridExcelExporter, ExcelExporterConfig as GridExcelExporterConfig, ExportConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, Grid, GridBase, GridLocation, GridLocationConfig, GridSelectionMode, GridStateInfo, Group, GroupConfig, HeaderMenu, HeaderMenuConfig, LockRows as GridLockRows, LockRowsConfig as GridLockRowsConfig, MergeCells, MergeCellsConfig, PdfExport as GridPdfExport, PdfExportConfig as GridPdfExportConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, Print as GridPrint, PrintConfig as GridPrintConfig, QuickFind, QuickFindConfig, RecordPositionContext, RegionResize, RegionResizeConfig, ResponsiveLevelConfig, Row, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowEditorContext, RowExpander, RowExpanderConfig, RowResize as GridRowResize, RowResizeConfig as GridRowResizeConfig, Search, SearchConfig, Sort, SortConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGrid, SubGridConfig, Tree, TreeConfig, TreeGroup, TreeGroupConfig, XLSColumn } from '@bryntum/grid-thin';
36
+ import type { AjaxStore, AjaxStoreConfig, Base, Color, Container, DomConfig, DurationUnit, FormulaProviderConfig, Histogram, HistogramConfig, HistogramSeries, KeyMapConfig, Mask, MaskConfig, Menu, MenuItem, MenuItemEntry, Model, NumberFormatConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/core-thin';
37
+ import type { AI as GridAI, AIConfig as GridAIConfig, AIFilter, AIFilterConfig, CellCopyPaste, CellCopyPasteConfig, CellEditorContext, CellMenu, CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, Column, ColumnAutoWidth, ColumnAutoWidthConfig, ColumnDragToolbar, ColumnDragToolbarConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder, ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, EmptyTextDomConfig, ExcelExporter as GridExcelExporter, ExcelExporterConfig as GridExcelExporterConfig, ExportConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, Grid, GridBase, GridLocation, GridLocationConfig, GridSelectionMode, GridStateInfo, Group, GroupConfig, HeaderMenu, HeaderMenuConfig, LockRows as GridLockRows, LockRowsConfig as GridLockRowsConfig, MergeCells, MergeCellsConfig, PdfExport as GridPdfExport, PdfExportConfig as GridPdfExportConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, Print as GridPrint, PrintConfig as GridPrintConfig, QuickFind, QuickFindConfig, RecordPositionContext, RegionResize, RegionResizeConfig, ResponsiveLevelConfig, Row, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowEditorContext, RowExpander, RowExpanderConfig, RowResize as GridRowResize, RowResizeConfig as GridRowResizeConfig, Search, SearchConfig, Sort, SortConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGrid, SubGridConfig, Tree, TreeConfig, TreeGroup, TreeGroupConfig, XLSColumn } from '@bryntum/grid-thin';
38
38
  import type { AssignmentModel as SchedulerAssignmentModel, ColumnLines, ColumnLinesConfig, EventModel as SchedulerEventModel, GroupSummary, GroupSummaryConfig, HeaderZoom, HeaderZoomConfig, NonWorkingTime, NonWorkingTimeConfig, Pan, PanConfig, PdfExportConfig, RecurrenceConfirmationPopup, RecurrenceConfirmationPopupConfig, ResourceMarginConfig, ResourceMenu, ResourceMenuConfig, ResourceModel as SchedulerResourceModel, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, ResourceTimeRanges, ResourceTimeRangesConfig, RowReorder, RowReorderConfig, ScaleColumnConfig, ScalePoint, ScheduleTooltip, ScheduleTooltipConfig, Scheduler, Split, SplitConfig, Summary, SummaryConfig, TimeAxis, TimeAxisColumn, TimeAxisConfig, TimeAxisHeaderMenu, TimeAxisHeaderMenuConfig, TimeRanges, TimeRangesConfig, TimeSpan, TimeSpanConfig, TimelineBase, TimelineContext, TimelineHistogram, VerticalTimeAxisColumn, ViewPreset, ViewPresetConfig, VisibleDate } from '@bryntum/scheduler-thin';
39
39
  import type { AllocationCellEdit, AllocationCellEditConfig, AllocationCopyPaste, AllocationCopyPasteConfig, AssignmentAllocationInterval, AssignmentModel, CellEdit, CellEditConfig, SchedulerProContainerItemConfig, SchedulerProColumnConfig, ProjectModel, ProjectModelConfig, ResourceAllocationInfo, ResourceAllocationInterval, ResourceHistogramRenderData, ResourceNonWorkingTime, ResourceNonWorkingTimeConfig, ResourceUtilizationListeners, ResourceUtilizationModel, ResourceUtilizationRenderData, SchedulerPro, TimeSpanHighlight, TimeSpanHighlightConfig } from '@bryntum/schedulerpro-thin';
40
40
  import { ResourceUtilization } from '@bryntum/schedulerpro-thin';
@@ -176,6 +176,10 @@ defineProps<{
176
176
  * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-bodyCls)
177
177
  */
178
178
  bodyCls ? : string|object
179
+ /**
180
+ * Set `true` to add a border to this container's element.
181
+ */
182
+ border ? : Boolean
179
183
  /**
180
184
  * An object where property names with a truthy value indicate which events should bubble up the ownership
181
185
  * hierarchy when triggered.
@@ -241,7 +245,7 @@ defineProps<{
241
245
  * ...
242
246
  * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-color)
243
247
  */
244
- color ? : string
248
+ color ? : Color
245
249
  /**
246
250
  * Programmatic control over which column to start in when used in a grid layout.
247
251
  */
@@ -830,7 +834,7 @@ defineProps<{
830
834
  * ...
831
835
  * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-partner)
832
836
  */
833
- partner ? : TimelineBase
837
+ partner ? : TimelineBase|string
834
838
  /**
835
839
  * Set to `true` to include `startDate` and `endDate` params indicating the currently viewed date range in
836
840
  * `EventStore` load requests (when loading using `AjaxStore` or `CrudManager` functionality).
@@ -1349,6 +1353,15 @@ defineProps<{
1349
1353
  zoomOnTimeAxisDoubleClick ? : Boolean
1350
1354
 
1351
1355
  // Features
1356
+ /**
1357
+ * This feature provides an AI agent for Grid. It provides a chat panel that allows the user to send messages to the
1358
+ * agent and see the responses. Which allows the user to use natural language to interact with the Grid in different
1359
+ * ways. For example, the user can ask the agent to filter the data, sort it, or select specific records. The agent can
1360
+ * also perform data manipulation operations such as adding, updating, deleting records.
1361
+ * ...
1362
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/AI)
1363
+ */
1364
+ aiFeature ? : object|Boolean|string|GridAI|GridAIConfig
1352
1365
  /**
1353
1366
  * AI-powered filter feature for Grid. Allows users to type natural language queries to filter grid data.
1354
1367
  * ...
@@ -1798,6 +1811,18 @@ const emit = defineEmits<{
1798
1811
  * @param {any} params.params.event.value The value being set
1799
1812
  */
1800
1813
  (e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1814
+ /**
1815
+ * This event is triggered before a parent column is collapsed or expanded.
1816
+ * @param {string} e Event name
1817
+ * @param {object} params Event parameters
1818
+ * @param {string} params.e Event name
1819
+ * @param {object} params.params Event parameters
1820
+ * @param {object} params.params.event Event object
1821
+ * @param {Grid.view.GridBase} params.params.event.source The grid instance
1822
+ * @param {Grid.column.Column} params.params.event.column The column
1823
+ * @param {boolean} params.params.event.collapsed `true` if the column is being collapsed, `false` if expanded
1824
+ */
1825
+ (e: 'beforeColumnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
1801
1826
  /**
1802
1827
  * This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
1803
1828
  * @param {string} e Event name
@@ -2073,12 +2098,12 @@ const emit = defineEmits<{
2073
2098
  * @param {string} params.e Event name
2074
2099
  * @param {object} params.params Event parameters
2075
2100
  * @param {object} params.params.event Event object
2076
- * @param {Grid.view.Grid} params.params.event.source The firing Grid instance.
2077
- * @param {Grid.row.Row} params.params.event.row The row about to be rendered.
2078
- * @param {Core.data.Model} params.params.event.record The record for the row.
2079
- * @param {number} params.params.event.recordIndex The zero-based index of the record.
2101
+ * @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
2102
+ * @param {Grid.row.Row} params.params.event.row The row about to be rendered
2103
+ * @param {Core.data.Model} params.params.event.record The record for the row
2104
+ * @param {number} params.params.event.recordIndex The zero-based index of the record
2080
2105
  */
2081
- (e: 'beforeRenderRow', params: ((event: { source: Grid, row: Row, record: Model, recordIndex: number }) => void)|string): void
2106
+ (e: 'beforeRenderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
2082
2107
  /**
2083
2108
  * Grid rows are about to be rendered
2084
2109
  * @param {string} e Event name
@@ -2086,9 +2111,9 @@ const emit = defineEmits<{
2086
2111
  * @param {string} params.e Event name
2087
2112
  * @param {object} params.params Event parameters
2088
2113
  * @param {object} params.params.event Event object
2089
- * @param {Grid.view.Grid} params.params.event.source This grid.
2114
+ * @param {Grid.view.GridBase} params.params.event.source This grid.
2090
2115
  */
2091
- (e: 'beforeRenderRows', params: ((event: { source: Grid }) => void)|string): void
2116
+ (e: 'beforeRenderRows', params: ((event: { source: GridBase }) => void)|string): void
2092
2117
  /**
2093
2118
  * This event fires before row collapse is started.
2094
2119
  * ...
@@ -2419,6 +2444,18 @@ const emit = defineEmits<{
2419
2444
  * @param {Core.data.Model} params.params.event.record The record which has been collapsed.
2420
2445
  */
2421
2446
  (e: 'collapseNode', params: ((event: { source: Grid, record: Model }) => void)|string): void
2447
+ /**
2448
+ * This event is triggered after a parent column has been collapsed or expanded.
2449
+ * @param {string} e Event name
2450
+ * @param {object} params Event parameters
2451
+ * @param {string} params.e Event name
2452
+ * @param {object} params.params Event parameters
2453
+ * @param {object} params.params.event Event object
2454
+ * @param {Grid.view.GridBase} params.params.event.source The Grid instance
2455
+ * @param {Grid.column.Column} params.params.event.column The column being toggled
2456
+ * @param {boolean} params.params.event.collapsed `true` if the column is now collapsed, `false` if expanded
2457
+ */
2458
+ (e: 'columnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
2422
2459
  /**
2423
2460
  * This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
2424
2461
  * to indicate whether the drop position is valid or not.
@@ -2560,14 +2597,14 @@ const emit = defineEmits<{
2560
2597
  * @param {string} params.e Event name
2561
2598
  * @param {object} params.params Event parameters
2562
2599
  * @param {object} params.params.event Event object
2563
- * @param {Grid.view.Grid} params.params.event.source Owning grid
2600
+ * @param {Grid.view.GridBase} params.params.event.source Owning grid
2564
2601
  * @param {Core.data.Store} params.params.event.store The originating store
2565
2602
  * @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'`
2566
2603
  * @param {Core.data.Model} params.params.event.record Changed record, for actions that affects exactly one record (`'update'`)
2567
2604
  * @param {Core.data.Model[]} params.params.event.records Changed records, passed for all actions except `'removeAll'`
2568
2605
  * @param {object} params.params.event.changes Passed for the `'update'` action, info on which record fields changed
2569
2606
  */
2570
- (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
2607
+ (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
2571
2608
  /**
2572
2609
  * Fired when the range of dates encapsulated by the UI changes. This will be when
2573
2610
  * moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
@@ -3090,12 +3127,12 @@ const emit = defineEmits<{
3090
3127
  * @param {string} params.e Event name
3091
3128
  * @param {object} params.params Event parameters
3092
3129
  * @param {object} params.params.event Event object
3093
- * @param {Grid.view.Grid} params.params.event.source The firing Grid instance.
3094
- * @param {Grid.row.Row} params.params.event.row The row that has been rendered.
3095
- * @param {Core.data.Model} params.params.event.record The record for the row.
3096
- * @param {number} params.params.event.recordIndex The zero-based index of the record.
3130
+ * @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
3131
+ * @param {Grid.row.Row} params.params.event.row The row that has been rendered
3132
+ * @param {Core.data.Model} params.params.event.record The record for the row
3133
+ * @param {number} params.params.event.recordIndex The zero-based index of the record
3097
3134
  */
3098
- (e: 'renderRow', params: ((event: { source: Grid, row: Row, record: Model, recordIndex: number }) => void)|string): void
3135
+ (e: 'renderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
3099
3136
  /**
3100
3137
  * Grid rows have been rendered
3101
3138
  * @param {string} e Event name
@@ -3103,9 +3140,9 @@ const emit = defineEmits<{
3103
3140
  * @param {string} params.e Event name
3104
3141
  * @param {object} params.params Event parameters
3105
3142
  * @param {object} params.params.event Event object
3106
- * @param {Grid.view.Grid} params.params.event.source This grid.
3143
+ * @param {Grid.view.GridBase} params.params.event.source This grid.
3107
3144
  */
3108
- (e: 'renderRows', params: ((event: { source: Grid }) => void)|string): void
3145
+ (e: 'renderRows', params: ((event: { source: GridBase }) => void)|string): void
3109
3146
  /**
3110
3147
  * Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
3111
3148
  * @param {string} e Event name
@@ -3460,10 +3497,10 @@ const emit = defineEmits<{
3460
3497
  * @param {string} params.e Event name
3461
3498
  * @param {object} params.params Event parameters
3462
3499
  * @param {object} params.params.event Event object
3463
- * @param {Grid.view.Grid} params.params.event.source The firing Grid instance.
3500
+ * @param {Grid.view.GridBase} params.params.event.source The firing Grid instance.
3464
3501
  * @param {number} params.params.event.scrollTop The vertical scroll position.
3465
3502
  */
3466
- (e: 'scroll', params: ((event: { source: Grid, scrollTop: number }) => void)|string): void
3503
+ (e: 'scroll', params: ((event: { source: GridBase, scrollTop: number }) => void)|string): void
3467
3504
  /**
3468
3505
  * The selection has been changed.
3469
3506
  * @param {string} e Event name
@@ -3595,10 +3632,10 @@ const emit = defineEmits<{
3595
3632
  * @param {string} params.e Event name
3596
3633
  * @param {object} params.params Event parameters
3597
3634
  * @param {object} params.params.event Event object
3598
- * @param {Grid.view.Grid} params.params.event.source The firing Grid instance
3635
+ * @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
3599
3636
  * @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
3600
3637
  */
3601
- (e: 'subGridCollapse', params: ((event: { source: Grid, subGrid: SubGrid }) => void)|string): void
3638
+ (e: 'subGridCollapse', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
3602
3639
  /**
3603
3640
  * Fires after a sub grid is expanded.
3604
3641
  * @param {string} e Event name
@@ -3606,10 +3643,10 @@ const emit = defineEmits<{
3606
3643
  * @param {string} params.e Event name
3607
3644
  * @param {object} params.params Event parameters
3608
3645
  * @param {object} params.params.event Event object
3609
- * @param {Grid.view.Grid} params.params.event.source The firing Grid instance
3646
+ * @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
3610
3647
  * @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
3611
3648
  */
3612
- (e: 'subGridExpand', params: ((event: { source: Grid, subGrid: SubGrid }) => void)|string): void
3649
+ (e: 'subGridExpand', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
3613
3650
  /**
3614
3651
  * Fired when the tick size changes.
3615
3652
  * ...
@@ -3862,6 +3899,7 @@ const widgetData = {
3862
3899
  },
3863
3900
  projectStores : false,
3864
3901
  featureNames : [
3902
+ 'aiFeature',
3865
3903
  'aiFilterFeature',
3866
3904
  'allocationCellEditFeature',
3867
3905
  'allocationCopyPasteFeature',
@@ -3933,6 +3971,7 @@ const widgetData = {
3933
3971
  'barTooltipTemplate',
3934
3972
  'bbar',
3935
3973
  'bodyCls',
3974
+ 'border',
3936
3975
  'bubbleEvents',
3937
3976
  'bufferCoef',
3938
3977
  'bufferThreshold',
@@ -4095,6 +4134,7 @@ const widgetData = {
4095
4134
  'onBeforeCellEditStart',
4096
4135
  'onBeforeCellRangeDelete',
4097
4136
  'onBeforeCellRangeEdit',
4137
+ 'onBeforeColumnCollapseToggle',
4098
4138
  'onBeforeColumnDragStart',
4099
4139
  'onBeforeColumnDropFinalize',
4100
4140
  'onBeforeColumnResize',
@@ -4143,6 +4183,7 @@ const widgetData = {
4143
4183
  'onCellMouseOver',
4144
4184
  'onCollapse',
4145
4185
  'onCollapseNode',
4186
+ 'onColumnCollapseToggle',
4146
4187
  'onColumnDrag',
4147
4188
  'onColumnDragStart',
4148
4189
  'onColumnDrop',
@@ -4318,6 +4359,7 @@ const widgetData = {
4318
4359
  'beforeCellEditStart',
4319
4360
  'beforeCellRangeDelete',
4320
4361
  'beforeCellRangeEdit',
4362
+ 'beforeColumnCollapseToggle',
4321
4363
  'beforeColumnDragStart',
4322
4364
  'beforeColumnDropFinalize',
4323
4365
  'beforeColumnResize',
@@ -4366,6 +4408,7 @@ const widgetData = {
4366
4408
  'cellMouseOver',
4367
4409
  'collapse',
4368
4410
  'collapseNode',
4411
+ 'columnCollapseToggle',
4369
4412
  'columnDrag',
4370
4413
  'columnDragStart',
4371
4414
  'columnDrop',