@bryntum/scheduler-thin-trial 7.1.3 → 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 (116) hide show
  1. package/README.md +1 -1
  2. package/entry.js +3 -0
  3. package/lib/column/ResourceInfoColumn.css +20 -0
  4. package/lib/column/ResourceInfoColumn.js +1 -1
  5. package/lib/crud/AbstractCrudManagerMixin.js +1 -1
  6. package/lib/data/AISettingsModel.js +1 -0
  7. package/lib/data/mixin/DependencyStoreMixin.js +1 -1
  8. package/lib/data/mixin/EventStoreMixin.js +1 -1
  9. package/lib/data/mixin/GetEventsMixin.js +1 -1
  10. package/lib/feature/AI.js +1 -0
  11. package/lib/feature/AbstractTimeRanges.js +1 -1
  12. package/lib/feature/Dependencies.js +1 -1
  13. package/lib/feature/DependencyEdit.js +1 -1
  14. package/lib/feature/DependencyMenu.js +1 -1
  15. package/lib/feature/EventCopyPaste.js +1 -1
  16. package/lib/feature/EventDragSelect.js +1 -1
  17. package/lib/feature/EventEdit.js +1 -1
  18. package/lib/feature/EventFilter.js +1 -1
  19. package/lib/feature/EventMenu.js +1 -1
  20. package/lib/feature/EventNonWorkingTime.js +1 -1
  21. package/lib/feature/EventResize.js +1 -1
  22. package/lib/feature/GroupSummary.js +1 -1
  23. package/lib/feature/Labels.js +1 -1
  24. package/lib/feature/NonWorkingTime.js +1 -1
  25. package/lib/feature/Pan.js +1 -1
  26. package/lib/feature/ResourceColumnReorder.css +78 -0
  27. package/lib/feature/ResourceColumnReorder.js +1 -0
  28. package/lib/feature/ResourceMenu.js +1 -1
  29. package/lib/feature/ScheduleContext.js +1 -1
  30. package/lib/feature/ScheduleMenu.js +1 -1
  31. package/lib/feature/ScheduleTooltip.js +1 -1
  32. package/lib/feature/ScrollButtons.js +1 -1
  33. package/lib/feature/SimpleEventEdit.js +1 -1
  34. package/lib/feature/Split.js +1 -1
  35. package/lib/feature/StickyEvents.js +1 -1
  36. package/lib/feature/Summary.js +1 -1
  37. package/lib/feature/TimeAxisHeaderMenu.js +1 -1
  38. package/lib/feature/TimelineSummary.js +1 -1
  39. package/lib/feature/TreeSummary.js +1 -1
  40. package/lib/feature/ai/agents/DefaultSchedulerAgent.js +18 -0
  41. package/lib/feature/ai/agents/trainingData.js +1 -0
  42. package/lib/feature/base/DragBase.js +1 -1
  43. package/lib/feature/base/DragCreateBase.js +1 -1
  44. package/lib/feature/base/EditBase.js +1 -1
  45. package/lib/feature/base/ResourceTimeRangesBase.js +1 -1
  46. package/lib/feature/base/TooltipBase.js +1 -1
  47. package/lib/feature/mixin/DependencyCreation.js +1 -1
  48. package/lib/feature/mixin/HeaderDragSelect.js +1 -1
  49. package/lib/feature/mixin/RecurringEventEdit.js +1 -1
  50. package/lib/model/DependencyBaseModel.js +1 -1
  51. package/lib/model/TimeSpan.js +1 -1
  52. package/lib/model/mixin/EventModelMixin.js +1 -1
  53. package/lib/model/mixin/RecurringTimeSpan.js +1 -1
  54. package/lib/model/mixin/ResourceModelMixin.js +1 -1
  55. package/lib/view/ResourceHeader.js +1 -1
  56. package/lib/view/SchedulerBase.js +1 -1
  57. package/lib/view/TimelineBase.js +1 -1
  58. package/lib/view/mixin/EventNavigation.js +1 -1
  59. package/lib/view/mixin/SchedulerDom.js +1 -1
  60. package/lib/view/mixin/SchedulerEventRendering.js +1 -1
  61. package/lib/view/mixin/SchedulerState.js +1 -1
  62. package/lib/view/mixin/TimelineDomEvents.js +1 -1
  63. package/lib/view/mixin/TimelineEventRendering.js +1 -1
  64. package/lib/view/mixin/TimelineViewPresets.js +1 -1
  65. package/lib/view/orientation/HorizontalRendering.js +1 -1
  66. package/lib/view/orientation/VerticalRendering.js +1 -1
  67. package/lib/widget/DayButtons.js +1 -1
  68. package/locales/scheduler.locale.Ar.js +1 -1
  69. package/locales/scheduler.locale.Bg.js +1 -1
  70. package/locales/scheduler.locale.Ca.js +1 -1
  71. package/locales/scheduler.locale.Cs.js +1 -1
  72. package/locales/scheduler.locale.Da.js +1 -1
  73. package/locales/scheduler.locale.De.js +1 -1
  74. package/locales/scheduler.locale.El.js +1 -1
  75. package/locales/scheduler.locale.En.js +1 -1
  76. package/locales/scheduler.locale.EnGb.js +1 -1
  77. package/locales/scheduler.locale.Es.js +1 -1
  78. package/locales/scheduler.locale.Et.js +1 -1
  79. package/locales/scheduler.locale.Eu.js +1 -1
  80. package/locales/scheduler.locale.Fi.js +1 -1
  81. package/locales/scheduler.locale.FrFr.js +1 -1
  82. package/locales/scheduler.locale.Gl.js +1 -1
  83. package/locales/scheduler.locale.He.js +1 -1
  84. package/locales/scheduler.locale.Hi.js +1 -1
  85. package/locales/scheduler.locale.Hr.js +1 -1
  86. package/locales/scheduler.locale.Hu.js +1 -1
  87. package/locales/scheduler.locale.Id.js +1 -1
  88. package/locales/scheduler.locale.It.js +1 -1
  89. package/locales/scheduler.locale.Ja.js +1 -1
  90. package/locales/scheduler.locale.Kk.js +1 -1
  91. package/locales/scheduler.locale.Ko.js +1 -1
  92. package/locales/scheduler.locale.Lt.js +1 -1
  93. package/locales/scheduler.locale.Lv.js +1 -1
  94. package/locales/scheduler.locale.Ms.js +1 -1
  95. package/locales/scheduler.locale.Nl.js +1 -1
  96. package/locales/scheduler.locale.No.js +1 -1
  97. package/locales/scheduler.locale.Pl.js +1 -1
  98. package/locales/scheduler.locale.Pt.js +1 -1
  99. package/locales/scheduler.locale.PtBr.js +1 -1
  100. package/locales/scheduler.locale.Ro.js +1 -1
  101. package/locales/scheduler.locale.Ru.js +1 -1
  102. package/locales/scheduler.locale.Sk.js +1 -1
  103. package/locales/scheduler.locale.Sl.js +1 -1
  104. package/locales/scheduler.locale.Sr.js +1 -1
  105. package/locales/scheduler.locale.SrRs.js +1 -1
  106. package/locales/scheduler.locale.SvSE.js +1 -1
  107. package/locales/scheduler.locale.Th.js +1 -1
  108. package/locales/scheduler.locale.Tr.js +1 -1
  109. package/locales/scheduler.locale.Uk.js +1 -1
  110. package/locales/scheduler.locale.Vi.js +1 -1
  111. package/locales/scheduler.locale.ZhCn.js +1 -1
  112. package/locales/scheduler.locale.ZhTw.js +1 -1
  113. package/package.json +1 -1
  114. package/scheduler.css +55 -0
  115. package/scheduler.css.map +3 -3
  116. package/scheduler.d.ts +1669 -342
package/scheduler.d.ts CHANGED
@@ -1,35 +1,37 @@
1
- import { AjaxStore, AjaxStoreConfig, AlignSpec, AnimateScrollOptions, Base, BryntumListenerConfig, BryntumScrollOptions, Button,
2
- ButtonGroup, CalendarPanel, CellWidgetContext, ChipView, ChipViewConfig, Collection, CollectionCompareOperator, CollectionConfig,
3
- CollectionFilter, CollectionFilterConfig, CollectionSorter, CollectionSorterConfig, ColorDescriptor, ColorField, ColorPicker, Combo,
4
- ComboModel, Container, ContextMenuBase, DataField, DataLoadRequestResponse, DateField, DatePicker, DisplayField, DomClassList,
5
- DomConfig, DragHelper, DragHelperConfig, Duration, DurationConfig, DurationField, DurationUnit, DurationUnitShort, Editor, EditorConfig,
6
- EventsClass, FetchOptions, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, FormulaProvider, FormulaProviderConfig,
7
- Grouper, Histogram, HistogramConfig, HistogramSeries, HttpMethods, InstancePlugin, KeyMap, KeyMapConfig, LazyLoadRequestParams, List,
8
- ListConfig, LoadMaskableClass, LocaleHelper, LocaleManager, Mask, MaskConfig, Menu, MenuConfig, MenuContext, MenuItem, MenuItemEntry,
9
- Model, Month, MonthConfig, NumberFormat, NumberFormatConfig, PagingRequestParams, PagingToolbar, PagingToolbarConfig, Panel,
10
- PanelCollapser, PanelCollapserConfig, PanelCollapserOverlay, PanelCollapserOverlayConfig, PanelHeader, Popup, PopupConfig, Rectangle,
11
- RelationConfig, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, Sorter, StateProvider, StateTrackingManager,
12
- StateTrackingManagerConfig, Store, StoreConfig, SyncDataOnLoadOptions, Tab, TabConfig, TextField, TimeField, Tool, ToolConfig, Toolbar,
13
- ToolbarConfig, ToolbarItems, Tooltip, TooltipConfig, UndoRedoBase, VueConfig, Widget } from '@bryntum/core-thin'
1
+ import { AIModelConfiguration, AIModelSelector, AITool, AIToolConfig, AIVoiceActivationConfig, AbstractApiPlugin, AjaxStore,
2
+ AjaxStoreConfig, AlignSpec, AnimateScrollOptions, Base, BryntumListenerConfig, BryntumScrollOptions, Button, ButtonGroup, CalendarPanel,
3
+ CellWidgetContext, ChatButton, ChatButtonConfig, ChipView, ChipViewConfig, Collection, CollectionCompareOperator, CollectionConfig,
4
+ CollectionFilter, CollectionFilterConfig, CollectionSorter, CollectionSorterConfig, Color, ColorDescriptor, ColorField, ColorPicker,
5
+ Combo, ComboModel, Container, ContextMenuBase, AISettingsModel as CoreAISettingsModel, DataField, DataLoadRequestResponse, DateField,
6
+ DatePicker, DisplayField, DomClassList, DomConfig, DragHelper, DragHelperConfig, Duration, DurationConfig, DurationField, DurationUnit,
7
+ DurationUnitShort, Editor, EditorConfig, EventsClass, FetchOptions, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig,
8
+ FormulaProvider, FormulaProviderConfig, Grouper, Histogram, HistogramConfig, HistogramSeries, HttpMethods, InstancePlugin, KeyMap,
9
+ KeyMapConfig, LazyLoadRequestParams, List, ListConfig, LoadMaskableClass, LocaleHelper, LocaleManager, Mask, MaskConfig, Menu,
10
+ MenuConfig, MenuContext, MenuItem, MenuItemEntry, Model, Month, MonthConfig, NumberFormat, NumberFormatConfig, PagingRequestParams,
11
+ PagingToolbar, PagingToolbarConfig, Panel, PanelCollapser, PanelCollapserConfig, PanelCollapserOverlay, PanelCollapserOverlayConfig,
12
+ PanelHeader, Popup, PopupConfig, Rectangle, RelationConfig, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, Sorter,
13
+ StateProvider, StateTrackingManager, StateTrackingManagerConfig, Store, StoreConfig, SyncDataOnLoadOptions, Tab, TabConfig, TextField,
14
+ TimeField, Tool, ToolConfig, Toolbar, ToolbarConfig, ToolbarItems, Tooltip, TooltipConfig, UndoRedoBase, VueConfig, Widget } from
15
+ '@bryntum/core-thin'
14
16
  import { AIFilter, AIFilterConfig, CellCopyPaste, CellCopyPasteConfig, CellEdit, CellEditConfig, CellEditorContext, CellMenu,
15
17
  CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, ColorColumn, Column, ColumnAutoWidth, ColumnAutoWidthConfig,
16
18
  ColumnDragToolbar, ColumnDragToolbarConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder,
17
19
  ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, ColumnSummaryConfig, CopyPasteBase,
18
20
  EmptyTextDomConfig, ExportConfig, ExportDialog, Exporter, ExporterBase, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter,
19
- FilterBar, FilterBarConfig, FilterConfig, Grid, GridBase, GridColumn, GridColumnConfig, GridConfig, GridContainerItem,
20
- GridContainerItemConfig, GridContainerLayoutConfig, ExcelExporter as GridExcelExporter, ExcelExporterConfig as GridExcelExporterConfig,
21
- GroupSummary as GridGroupSummary, GroupSummaryConfig as GridGroupSummaryConfig, GridInputFieldConfig, GridLocation, GridLocationConfig,
22
- LockRows as GridLockRows, LockRowsConfig as GridLockRowsConfig, GridModelFieldConfig, MultiPageExporter as GridMultiPageExporter,
23
- MultiPageVerticalExporter as GridMultiPageVerticalExporter, PdfExport as GridPdfExport, PdfExportConfig as GridPdfExportConfig, Print as
24
- GridPrint, PrintConfig as GridPrintConfig, GridRowModel, RowReorder as GridRowReorder, RowReorderConfig as GridRowReorderConfig,
25
- RowResize as GridRowResize, RowResizeConfig as GridRowResizeConfig, GridScrollOptions, GridSelectionMode, SinglePageExporter as
26
- GridSinglePageExporter, SinglePageUnscaledExporter as GridSinglePageUnscaledExporter, Split as GridSplit, SplitConfig as
27
- GridSplitConfig, GridStateInfo, Summary as GridSummary, SummaryConfig as GridSummaryConfig, Group, GroupConfig, HeaderMenu,
28
- HeaderMenuConfig, MergeCells, MergeCellsConfig, NumberColumn, PinColumns, PinColumnsConfig, PreserveScrollOptions, QuickFind,
29
- QuickFindConfig, RecordPositionContext, RegionResize, RegionResizeConfig, ResponsiveLevelConfig, Row, RowCopyPaste, RowCopyPasteConfig,
30
- RowEdit, RowEditConfig, RowEditorContext, RowExpander, RowExpanderConfig, Search, SearchConfig, Sort, SortConfig, StickyCells,
31
- StickyCellsConfig, Stripe, StripeConfig, SubGrid, SubGridConfig, TableExporter, Tree, TreeConfig, TreeGroup, TreeGroupConfig,
32
- WidgetColumn, XLSColumn, XlsProviderBase } from '@bryntum/grid-thin'
21
+ FilterBar, FilterBarConfig, FilterConfig, Grid, AI as GridAI, AIConfig as GridAIConfig, GridBase, GridColumn, GridColumnConfig,
22
+ GridConfig, GridContainerItem, GridContainerItemConfig, GridContainerLayoutConfig, ExcelExporter as GridExcelExporter,
23
+ ExcelExporterConfig as GridExcelExporterConfig, GroupSummary as GridGroupSummary, GroupSummaryConfig as GridGroupSummaryConfig,
24
+ GridInputFieldConfig, GridLocation, GridLocationConfig, LockRows as GridLockRows, LockRowsConfig as GridLockRowsConfig,
25
+ GridModelFieldConfig, MultiPageExporter as GridMultiPageExporter, MultiPageVerticalExporter as GridMultiPageVerticalExporter, PdfExport
26
+ as GridPdfExport, PdfExportConfig as GridPdfExportConfig, Print as GridPrint, PrintConfig as GridPrintConfig, GridRowModel, RowReorder
27
+ as GridRowReorder, RowReorderConfig as GridRowReorderConfig, RowResize as GridRowResize, RowResizeConfig as GridRowResizeConfig,
28
+ GridScrollOptions, GridSelectionMode, SinglePageExporter as GridSinglePageExporter, SinglePageUnscaledExporter as
29
+ GridSinglePageUnscaledExporter, Split as GridSplit, SplitConfig as GridSplitConfig, GridStateInfo, Summary as GridSummary, SummaryConfig
30
+ as GridSummaryConfig, Group, GroupConfig, HeaderMenu, HeaderMenuConfig, MergeCells, MergeCellsConfig, NumberColumn, PinColumns,
31
+ PinColumnsConfig, PreserveScrollOptions, QuickFind, QuickFindConfig, RecordPositionContext, RegionResize, RegionResizeConfig,
32
+ ResponsiveLevelConfig, Row, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowEditorContext, RowExpander, RowExpanderConfig,
33
+ Search, SearchConfig, Sort, SortConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGrid, SubGridConfig, TableExporter,
34
+ Tree, TreeConfig, TreeGroup, TreeGroupConfig, WidgetColumn, XLSColumn, XlsProviderBase } from '@bryntum/grid-thin'
33
35
 
34
36
  type AnyConstructor<A = any> = new (...input: any[]) => A
35
37
 
@@ -8207,6 +8209,125 @@ export abstract class AjaxTransportClass {
8207
8209
 
8208
8210
  export const AjaxTransport : <T extends AnyConstructor<Base>>(base : T) => AnyConstructor<InstanceType<T> & AjaxTransportClass>
8209
8211
 
8212
+ /**
8213
+ * Type with configuration options for [AISettingsModel](https://bryntum.com/products/grid/docs/api/Scheduler/data/AISettingsModel) class.
8214
+ */
8215
+ type AISettingsModelConfig = {
8216
+ /**
8217
+ * Sets [autoStart](https://bryntum.com/products/scheduler/docs/api/Core/feature/ai/AIBase#config-voiceActivation) value
8218
+ */
8219
+ autoStart?: boolean
8220
+ /**
8221
+ * Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf
8222
+ * tasks.
8223
+ * ...
8224
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/AISettingsModel#config-children)
8225
+ */
8226
+ children?: boolean|object[]|Model[]
8227
+ /**
8228
+ * Start expanded or not (only valid for tree data)
8229
+ */
8230
+ expanded?: boolean
8231
+ /**
8232
+ * Sets [highlightRelatedItems](https://bryntum.com/products/scheduler/docs/api/Core/feature/ai/AIBase#config-highlightRelatedItems) value
8233
+ */
8234
+ highlight?: boolean
8235
+ /**
8236
+ * Unique identifier for the record. Might be mapped to another dataSource using idField, but always exposed as
8237
+ * record.id. Will get a generated value if none is specified in records data.
8238
+ * ...
8239
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/AISettingsModel#config-id)
8240
+ */
8241
+ id?: string|number
8242
+ /**
8243
+ * This field is added to the class at runtime when the Store is configured with
8244
+ * [lazyLoad](https://bryntum.com/products/scheduler/docs/api/Core/data/Store#config-lazyLoad). If set on a parent record at load time, that parent will not cause any
8245
+ * more child load requests. If omitted, it will be automatically set to `true` when a load request receives fewer
8246
+ * child records than requested.
8247
+ * ...
8248
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/AISettingsModel#config-isFullyLoaded)
8249
+ */
8250
+ isFullyLoaded?: boolean
8251
+ /**
8252
+ * Sets [defaultRange](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI#config-defaultRange) value
8253
+ */
8254
+ model?: string
8255
+ /**
8256
+ * This is a read-only field provided in server synchronization packets to specify
8257
+ * which position the node takes in the parent's ordered children array.
8258
+ * This index is set on load and gets updated on reordering nodes in tree. Sorting and filtering
8259
+ * have no effect on it.
8260
+ */
8261
+ orderedParentIndex?: number
8262
+ /**
8263
+ * This is a read-only field provided in server synchronization packets to specify
8264
+ * which record id is the parent of the record.
8265
+ */
8266
+ parentId?: string|number|null
8267
+ /**
8268
+ * This is a read-only field provided in server synchronization packets to specify
8269
+ * which position the node takes in the parent's children array.
8270
+ * This index is set on load and gets updated automatically after row reordering, sorting, etc.
8271
+ * To save the order, need to persist the field on the server and when data is fetched to be loaded,
8272
+ * need to sort by this field.
8273
+ */
8274
+ parentIndex?: number
8275
+ /**
8276
+ * Flag the record as read-only on the UI level, preventing the end user from manipulating it using editing
8277
+ * features such as cell editing and event dragging.
8278
+ * ...
8279
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/AISettingsModel#config-readOnly)
8280
+ */
8281
+ readOnly?: boolean
8282
+ /**
8283
+ * This field is added to the class at runtime when the Store is configured with
8284
+ * [lazyLoad](https://bryntum.com/products/scheduler/docs/api/Core/data/Store#config-lazyLoad). The
8285
+ * number specified should reflect the <strong>total</strong> amount of children of a parent node, including nested descendants.
8286
+ * @deprecated This field has been deprecated. Please read the [guide](https://bryntum.com/products/scheduler/docs/api/Grid/guides/data/lazyloading.md) to find out if your app needs to use the new [isFullyLoaded](https://bryntum.com/products/scheduler/docs/api/Core/data/mixin/TreeNode#field-isFullyLoaded) field.
8287
+ */
8288
+ remoteChildCount?: number
8289
+ /**
8290
+ * Sets [requireConfirmationOnAdds](https://bryntum.com/products/scheduler/docs/api/Core/feature/ai/AIBase#config-requireConfirmationOnAdds) value
8291
+ */
8292
+ requireConfirmationOnAdds?: boolean
8293
+ /**
8294
+ * Sets [requireConfirmationOnRemovals](https://bryntum.com/products/scheduler/docs/api/Core/feature/ai/AIBase#config-requireConfirmationOnRemovals) value
8295
+ */
8296
+ requireConfirmationOnRemovals?: boolean
8297
+ /**
8298
+ * Sets [requireConfirmationOnUpdates](https://bryntum.com/products/scheduler/docs/api/Core/feature/ai/AIBase#config-requireConfirmationOnUpdates) value
8299
+ */
8300
+ requireConfirmationOnUpdates?: boolean
8301
+ /**
8302
+ * Sets [verbosityLevel](https://bryntum.com/products/scheduler/docs/api/Core/feature/ai/AIBase#config-verbosityLevel) value
8303
+ */
8304
+ verbosity?: string
8305
+ /**
8306
+ * Sets [voiceOnly](https://bryntum.com/products/scheduler/docs/api/Core/feature/ai/AIBase#config-voiceActivation) value
8307
+ */
8308
+ voiceOnly?: boolean
8309
+ }
8310
+
8311
+ /**
8312
+ * An AISettingsModel defines the user settings for the Scheduler AI feature.
8313
+ * ...
8314
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/AISettingsModel)
8315
+ */
8316
+ export class AISettingsModel extends CoreAISettingsModel {
8317
+ /**
8318
+ * Identifies an object as an instance of [AISettingsModel](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/AISettingsModel) class, or subclass thereof.
8319
+ */
8320
+ static readonly isAISettingsModel: boolean
8321
+ /**
8322
+ * Identifies an object as an instance of [AISettingsModel](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/AISettingsModel) class, or subclass thereof.
8323
+ */
8324
+ readonly isAISettingsModel: boolean
8325
+ /**
8326
+ * Sets [defaultRange](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI#config-defaultRange) value
8327
+ */
8328
+ model: string
8329
+ }
8330
+
8210
8331
  /**
8211
8332
  * Type with available listeners functions for [AssignmentStore](https://bryntum.com/products/grid/docs/api/Scheduler/data/AssignmentStore) class.
8212
8333
  * Could be used for callbacks typings in TypeScript application.
@@ -12333,6 +12454,13 @@ type DependencyStoreConfig = {
12333
12454
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/DependencyStore#config-allowNoId)
12334
12455
  */
12335
12456
  allowNoId?: boolean
12457
+ /**
12458
+ * An array of allowed dependency types. When set, only the specified dependency types can be created.
12459
+ * Use values from [DependencyModel.Type](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/DependencyBaseModel#property-Type-static):
12460
+ * ...
12461
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/DependencyStore#config-allowedDependencyTypes)
12462
+ */
12463
+ allowedDependencyTypes?: number[]
12336
12464
  /**
12337
12465
  * Specifies target to filter and sort after applying changeset:
12338
12466
  * ...
@@ -13466,6 +13594,12 @@ export class DependencyStore extends AjaxStore {
13466
13594
  * @param {string} cls
13467
13595
  */
13468
13596
  getHighlightedDependencies(cls: string): DependencyBaseModel[];
13597
+ /**
13598
+ * Returns `true` if the specified dependency type is allowed according to the
13599
+ * [allowedDependencyTypes](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/mixin/DependencyStoreMixin#config-allowedDependencyTypes) configuration.
13600
+ * @param {number} type Dependency [Type](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/DependencyBaseModel#property-Type-static)
13601
+ */
13602
+ isDependencyTypeAllowed(type: number): boolean;
13469
13603
  /**
13470
13604
  * Validation method used to validate a dependency. Override and return `true` to indicate that an
13471
13605
  * existing dependency between two tasks is valid. For a new dependency being created please see
@@ -15608,6 +15742,22 @@ export class EventStore extends AjaxStore {
15608
15742
  * @param {Scheduler.model.ResourceModel,string,number} resource Resource or resource id.
15609
15743
  */
15610
15744
  getEventsForResource(resource: ResourceModel|string|number): EventModel[];
15745
+ /**
15746
+ * This function will find the next available start date where the provided duration fits without causing any
15747
+ * conflicts. It begins by checking the provided `resources` on the provided `startDate`. And if any conflicting
15748
+ * events is found, it restarts searching from the last of the conflicting events and continues like this until a
15749
+ * matching time slot is found.
15750
+ * @param {object} options
15751
+ */
15752
+ getNextAvailableDateRange(options: {
15753
+ startDate: Date
15754
+ duration: DurationConfig|string
15755
+ resources: ResourceModel[]
15756
+ matchAllResources?: boolean
15757
+ stopDate?: Date
15758
+ isConflict?: Function
15759
+ getValidDate?: Function
15760
+ }): object|undefined;
15611
15761
  /**
15612
15762
  * Returns all the recurring events.
15613
15763
  */
@@ -23339,6 +23489,19 @@ export class AttachToProjectMixinClass {
23339
23489
 
23340
23490
  export const AttachToProjectMixin : <T extends AnyConstructor<Base>>(base : T) => AnyConstructor<InstanceType<T> & AttachToProjectMixinClass>
23341
23491
 
23492
+ /**
23493
+ * Type with configuration options for [DependencyStoreMixin](https://bryntum.com/products/grid/docs/api/Scheduler/data/mixin/DependencyStoreMixin) class.
23494
+ */
23495
+ type DependencyStoreMixinClassConfig = {
23496
+ /**
23497
+ * An array of allowed dependency types. When set, only the specified dependency types can be created.
23498
+ * Use values from [DependencyModel.Type](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/DependencyBaseModel#property-Type-static):
23499
+ * ...
23500
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/mixin/DependencyStoreMixin#config-allowedDependencyTypes)
23501
+ */
23502
+ allowedDependencyTypes?: number[]
23503
+ }
23504
+
23342
23505
  export class DependencyStoreMixinClass {
23343
23506
  /**
23344
23507
  * Identifies an object as an instance of [DependencyStoreMixin](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/mixin/DependencyStoreMixin) class, or subclass thereof.
@@ -23352,6 +23515,11 @@ export class DependencyStoreMixinClass {
23352
23515
  * Identifies an object as an instance of [DependencyStoreMixin](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/mixin/DependencyStoreMixin) class, or subclass thereof.
23353
23516
  */
23354
23517
  readonly isDependencyStoreMixin: boolean
23518
+ /**
23519
+ * Creates an instance of the class using the supplied configuration
23520
+ * @param {DependencyStoreMixinClassConfig} config
23521
+ */
23522
+ constructor(config?: DependencyStoreMixinClassConfig);
23355
23523
  /**
23356
23524
  * Add dependencies to the store.
23357
23525
  * @param {Scheduler.model.DependencyModel,Scheduler.model.DependencyModel[],DependencyModelConfig,DependencyModelConfig[]} records Array of records/data or a single record/data to add to store
@@ -23389,6 +23557,12 @@ export class DependencyStoreMixinClass {
23389
23557
  * @param {string} cls
23390
23558
  */
23391
23559
  getHighlightedDependencies(cls: string): DependencyBaseModel[];
23560
+ /**
23561
+ * Returns `true` if the specified dependency type is allowed according to the
23562
+ * [allowedDependencyTypes](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/mixin/DependencyStoreMixin#config-allowedDependencyTypes) configuration.
23563
+ * @param {number} type Dependency [Type](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/DependencyBaseModel#property-Type-static)
23564
+ */
23565
+ isDependencyTypeAllowed(type: number): boolean;
23392
23566
  /**
23393
23567
  * Validation method used to validate a dependency. Override and return `true` to indicate that an
23394
23568
  * existing dependency between two tasks is valid. For a new dependency being created please see
@@ -23694,6 +23868,22 @@ export class GetEventsMixinClass {
23694
23868
  onlyAssigned?: boolean
23695
23869
  dateMap?: boolean|Map<any, any>
23696
23870
  }): EventModel[]|Map<any, any>;
23871
+ /**
23872
+ * This function will find the next available start date where the provided duration fits without causing any
23873
+ * conflicts. It begins by checking the provided `resources` on the provided `startDate`. And if any conflicting
23874
+ * events is found, it restarts searching from the last of the conflicting events and continues like this until a
23875
+ * matching time slot is found.
23876
+ * @param {object} options
23877
+ */
23878
+ getNextAvailableDateRange(options: {
23879
+ startDate: Date
23880
+ duration: DurationConfig|string
23881
+ resources: ResourceModel[]
23882
+ matchAllResources?: boolean
23883
+ stopDate?: Date
23884
+ isConflict?: Function
23885
+ getValidDate?: Function
23886
+ }): object|undefined;
23697
23887
  /**
23698
23888
  * Checks if a date range is available for a given resource.
23699
23889
  * @param {Date} startDate The start date
@@ -25241,6 +25431,352 @@ export class RecurrenceLegend {
25241
25431
  updateLocalization(): void;
25242
25432
  }
25243
25433
 
25434
+ /**
25435
+ * Type with available listeners functions for [AI](https://bryntum.com/products/grid/docs/api/Scheduler/feature/AI) class.
25436
+ * Could be used for callbacks typings in TypeScript application.
25437
+ */
25438
+ type AIListenersTypes = {
25439
+ /**
25440
+ * Fires before an object is destroyed.
25441
+ * @param {object} event Event object
25442
+ * @param {Core.Base} event.source The Object that is being destroyed.
25443
+ */
25444
+ beforeDestroy: (event: { source: Base }) => void
25445
+ /**
25446
+ * Fires when any other event is fired from the object.
25447
+ * ...
25448
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI#event-catchAll)
25449
+ * @param {object} event Event object
25450
+ * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
25451
+ * @param {string} event.event.type The type of the event which is caught by the listener
25452
+ */
25453
+ catchAll: (event: {[key: string]: any, type: string}) => void
25454
+ /**
25455
+ * Fires when an object is destroyed.
25456
+ * @param {object} event Event object
25457
+ * @param {Core.Base} event.source The Object that is being destroyed.
25458
+ */
25459
+ destroy: (event: { source: Base }) => void
25460
+ /**
25461
+ * Fired when the plugin/feature is disabled.
25462
+ * @param {object} event Event object
25463
+ * @param {Core.mixin.InstancePlugin} event.source
25464
+ */
25465
+ disable: (event: { source: InstancePlugin }) => void
25466
+ /**
25467
+ * Fired when the plugin/feature is enabled.
25468
+ * @param {object} event Event object
25469
+ * @param {Core.mixin.InstancePlugin} event.source
25470
+ */
25471
+ enable: (event: { source: InstancePlugin }) => void
25472
+ /**
25473
+ * Fired when the user changes it's settings via the settings panel
25474
+ * @param {object} event Event object
25475
+ * @param {Core.data.CoreAISettingsModel} event.userSettings The user settings record
25476
+ * @param {object} event.changes The changed properties and the new value
25477
+ */
25478
+ userSettingsUpdate: (event: { userSettings: CoreAISettingsModel, changes: object }) => void
25479
+ }
25480
+
25481
+ /**
25482
+ * Type with listeners options for [AI](https://bryntum.com/products/grid/docs/api/Scheduler/feature/AI) class.
25483
+ */
25484
+ type AIListeners = {
25485
+ /**
25486
+ * The `this` object for listener methods
25487
+ */
25488
+ thisObj?: object
25489
+ /**
25490
+ * Fires before an object is destroyed.
25491
+ * @param {object} event Event object
25492
+ * @param {Core.Base} event.source The Object that is being destroyed.
25493
+ */
25494
+ beforeDestroy?: ((event: { source: Base }) => void)|string
25495
+ /**
25496
+ * Fires when any other event is fired from the object.
25497
+ * ...
25498
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI#event-catchAll)
25499
+ * @param {object} event Event object
25500
+ * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
25501
+ * @param {string} event.event.type The type of the event which is caught by the listener
25502
+ */
25503
+ catchAll?: ((event: {[key: string]: any, type: string}) => void)|string
25504
+ /**
25505
+ * Fires when an object is destroyed.
25506
+ * @param {object} event Event object
25507
+ * @param {Core.Base} event.source The Object that is being destroyed.
25508
+ */
25509
+ destroy?: ((event: { source: Base }) => void)|string
25510
+ /**
25511
+ * Fired when the plugin/feature is disabled.
25512
+ * @param {object} event Event object
25513
+ * @param {Core.mixin.InstancePlugin} event.source
25514
+ */
25515
+ disable?: ((event: { source: InstancePlugin }) => void)|string
25516
+ /**
25517
+ * Fired when the plugin/feature is enabled.
25518
+ * @param {object} event Event object
25519
+ * @param {Core.mixin.InstancePlugin} event.source
25520
+ */
25521
+ enable?: ((event: { source: InstancePlugin }) => void)|string
25522
+ /**
25523
+ * Fired when the user changes it's settings via the settings panel
25524
+ * @param {object} event Event object
25525
+ * @param {Core.data.CoreAISettingsModel} event.userSettings The user settings record
25526
+ * @param {object} event.changes The changed properties and the new value
25527
+ */
25528
+ userSettingsUpdate?: ((event: { userSettings: CoreAISettingsModel, changes: object }) => void)|string
25529
+ }
25530
+
25531
+ /**
25532
+ * Type with configuration options for [AI](https://bryntum.com/products/grid/docs/api/Scheduler/feature/AI) class.
25533
+ */
25534
+ type AIConfig = {
25535
+ type?: 'ai'
25536
+ /**
25537
+ * AI plugin to use. Provide the class here. Available plugins are:
25538
+ * ...
25539
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI#config-apiPlugin)
25540
+ */
25541
+ apiPlugin?: typeof AbstractApiPlugin
25542
+ /**
25543
+ * Shows an AI model selector in the SettingsPanel where the user can select between the available API:s
25544
+ */
25545
+ availableApis?: AIModelSelector[]
25546
+ /**
25547
+ * Set this to `true` or a config object to add a [ChatButton](https://bryntum.com/products/scheduler/docs/api/Core/widget/chat/ChatButton)
25548
+ */
25549
+ chatButton?: boolean|ChatButtonConfig
25550
+ /**
25551
+ * Set to `true` to automatically console.log things that happen internally. AI responses and audio processing
25552
+ * for example.
25553
+ */
25554
+ debugMode?: boolean
25555
+ /**
25556
+ * The date range to use for agent "conditions", when the user doesn't specify a given date range in the prompt.
25557
+ * Available options are:
25558
+ * ...
25559
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI#config-defaultRange)
25560
+ */
25561
+ defaultRange?: string
25562
+ /**
25563
+ * An array of strings which will be circulated as waiting status texts when awaiting long AI responses
25564
+ * Defaults to `['Waiting', 'Waiting ...', 'Still waiting', 'Still waiting ...']`
25565
+ */
25566
+ delayStatusTexts?: string[]
25567
+ /**
25568
+ * The plugin/feature `disabled` state.
25569
+ * ...
25570
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI#config-disabled)
25571
+ */
25572
+ disabled?: boolean|'inert'
25573
+ /**
25574
+ * The URL to send feedback (thumbs up/thumbs down) to
25575
+ */
25576
+ feedbackUrl?: string
25577
+ /**
25578
+ * Additional options to pass to fetch requests
25579
+ */
25580
+ fetchOptions?: object
25581
+ /**
25582
+ * By default, data item which are targeted in an AI action will be highlighted in the UI. Set this to `false`
25583
+ * to prevent this behavior.
25584
+ */
25585
+ highlightRelatedItems?: boolean
25586
+ /**
25587
+ * The listener set for this object.
25588
+ * ...
25589
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI#config-listeners)
25590
+ */
25591
+ listeners?: AIListeners
25592
+ /**
25593
+ * Set to `false` to not manage chat history on the client
25594
+ */
25595
+ manageChatHistory?: boolean
25596
+ /**
25597
+ * Max tokens setting (if applicable)
25598
+ */
25599
+ max_tokens?: number
25600
+ /**
25601
+ * AI model name (if applicable)
25602
+ */
25603
+ model?: string
25604
+ /**
25605
+ * Use this to provide more details of data models currently available for the AI agent to work with. Provide
25606
+ * an object with model class names as keys and configuration objects as values.
25607
+ * ...
25608
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI#config-models)
25609
+ */
25610
+ models?: Record<string, AIModelConfiguration>
25611
+ /**
25612
+ * The URL to send text prompts to
25613
+ */
25614
+ promptUrl?: string
25615
+ /**
25616
+ * Enables support for redoing data modifying actions performed by the AI. Shows a redo icon under the last
25617
+ * redoable message in the ChatPanel. Requires undo to be enabled.
25618
+ */
25619
+ redo?: boolean
25620
+ /**
25621
+ * Set to `true` to always prompt the user for confirmation before allowing the AI to add records
25622
+ */
25623
+ requireConfirmationOnAdds?: boolean
25624
+ /**
25625
+ * Set to `true` to always prompt the user for confirmation before allowing the AI to remove records
25626
+ */
25627
+ requireConfirmationOnRemovals?: boolean
25628
+ /**
25629
+ * Set to `true` to always prompt the user for confirmation before allowing the AI to update records
25630
+ */
25631
+ requireConfirmationOnUpdates?: boolean
25632
+ /**
25633
+ * A configuration object containing the user's preferred AI feature settings. If there is a matching AI feature
25634
+ * class config, the user setting will take precedence
25635
+ * JSON.
25636
+ */
25637
+ settings?: AISettingsModelConfig|AISettingsModel
25638
+ /**
25639
+ * Set to `true` to upon creation, send a test prompt to verify the connection to the AI backend. If the test
25640
+ * fails, a warning icon will be shown on the chat panel.
25641
+ */
25642
+ showNoConnectionIcon?: boolean
25643
+ /**
25644
+ * Temperature setting (if applicable). Overrides the default temperature set by the apiPlugin.
25645
+ */
25646
+ temperature?: number
25647
+ /**
25648
+ * The URL to send text for speech synthesizing
25649
+ */
25650
+ textToSpeechUrl?: string
25651
+ /**
25652
+ * A number of milliseconds a prompt is allowed to take before being aborted. Defaults to `60000` (1 minute).
25653
+ */
25654
+ timeout?: number
25655
+ /**
25656
+ * Use this to add custom tools to the AI model's tool list or to remove existing tools. Provide an object
25657
+ * with the tool names as keys and configuration objects as values. Please note that modifying existing tools is
25658
+ * not supported, only removing them.
25659
+ * ...
25660
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI#config-tools)
25661
+ */
25662
+ tools?: Record<string, AIToolConfig>
25663
+ /**
25664
+ * Use this to provide example prompt scenarios to "teach" the AI of more complex tasks. Must be configured as
25665
+ * an array containing arrays which contains the AI messages for the complete conversation.
25666
+ * ...
25667
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI#config-trainingData)
25668
+ */
25669
+ trainingData?: any[]
25670
+ /**
25671
+ * The URL to send audio for transcribing
25672
+ */
25673
+ transcribeUrl?: string
25674
+ /**
25675
+ * Enables support for undoing data modifying actions performed by the AI. Shows an undo icon under the last
25676
+ * undoable message in the ChatPanel.
25677
+ */
25678
+ undo?: boolean
25679
+ /**
25680
+ * A configuration object containing the user's preferred AI feature settings. If there is a matching AI feature
25681
+ * class config, the user setting will take precedence
25682
+ * JSON.
25683
+ */
25684
+ userSettings?: AISettingsModelConfig|CoreAISettingsModel
25685
+ /**
25686
+ * Experimental configuration of the AI verbosity. Valid values are `"1"`, `"2"` and `"3"`, where `"1"` is
25687
+ * lowest.
25688
+ */
25689
+ verbosityLevel?: string
25690
+ /**
25691
+ * Configuration settings for voice activation
25692
+ */
25693
+ voiceActivation?: AIVoiceActivationConfig
25694
+ /**
25695
+ * Forces voice only mode, which hides the chat panel and only shows a record chat button.
25696
+ */
25697
+ voiceOnly?: boolean
25698
+ /**
25699
+ * Fires before an object is destroyed.
25700
+ * @param {object} event Event object
25701
+ * @param {Core.Base} event.source The Object that is being destroyed.
25702
+ */
25703
+ onBeforeDestroy?: ((event: { source: Base }) => void)|string
25704
+ /**
25705
+ * Fires when any other event is fired from the object.
25706
+ * ...
25707
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI#event-catchAll)
25708
+ * @param {object} event Event object
25709
+ * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
25710
+ * @param {string} event.event.type The type of the event which is caught by the listener
25711
+ */
25712
+ onCatchAll?: ((event: {[key: string]: any, type: string}) => void)|string
25713
+ /**
25714
+ * Fires when an object is destroyed.
25715
+ * @param {object} event Event object
25716
+ * @param {Core.Base} event.source The Object that is being destroyed.
25717
+ */
25718
+ onDestroy?: ((event: { source: Base }) => void)|string
25719
+ /**
25720
+ * Fired when the plugin/feature is disabled.
25721
+ * @param {object} event Event object
25722
+ * @param {Core.mixin.InstancePlugin} event.source
25723
+ */
25724
+ onDisable?: ((event: { source: InstancePlugin }) => void)|string
25725
+ /**
25726
+ * Fired when the plugin/feature is enabled.
25727
+ * @param {object} event Event object
25728
+ * @param {Core.mixin.InstancePlugin} event.source
25729
+ */
25730
+ onEnable?: ((event: { source: InstancePlugin }) => void)|string
25731
+ /**
25732
+ * Fired when the user changes it's settings via the settings panel
25733
+ * @param {object} event Event object
25734
+ * @param {Core.data.CoreAISettingsModel} event.userSettings The user settings record
25735
+ * @param {object} event.changes The changed properties and the new value
25736
+ */
25737
+ onUserSettingsUpdate?: ((event: { userSettings: CoreAISettingsModel, changes: object }) => void)|string
25738
+ }
25739
+
25740
+ /**
25741
+ * This feature provides an AI agent for the Scheduler and SchedulerPro. It provides a chat panel that allows the user
25742
+ * to send messages to the agent and see the responses. Which allows the user to use natural language to interact with
25743
+ * the Scheduler in different ways. For example, the user can ask the agent to filter the data, sort it, or select
25744
+ * specific records. The agent can also perform data manipulation operations such as adding, updating, deleting records.
25745
+ * ...
25746
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI)
25747
+ */
25748
+ export class AI extends GridAI {
25749
+ /**
25750
+ * Identifies an object as an instance of [AI](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI) class, or subclass thereof.
25751
+ */
25752
+ static readonly isAI: boolean
25753
+ /**
25754
+ * Identifies an object as an instance of [AI](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI) class, or subclass thereof.
25755
+ */
25756
+ readonly isAI: boolean
25757
+ /**
25758
+ * Fires before an object is destroyed.
25759
+ * @param {object} event Event object
25760
+ * @param {Core.Base} event.source The Object that is being destroyed.
25761
+ */
25762
+ onBeforeDestroy: ((event: { source: Base }) => void)|string
25763
+ /**
25764
+ * Fires when any other event is fired from the object.
25765
+ * ...
25766
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI#event-catchAll)
25767
+ * @param {object} event Event object
25768
+ * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
25769
+ * @param {string} event.event.type The type of the event which is caught by the listener
25770
+ */
25771
+ onCatchAll: ((event: {[key: string]: any, type: string}) => void)|string
25772
+ /**
25773
+ * Fires when an object is destroyed.
25774
+ * @param {object} event Event object
25775
+ * @param {Core.Base} event.source The Object that is being destroyed.
25776
+ */
25777
+ onDestroy: ((event: { source: Base }) => void)|string
25778
+ }
25779
+
25244
25780
  /**
25245
25781
  * Type with available listeners functions for [AbstractTimeRanges](https://bryntum.com/products/grid/docs/api/Scheduler/feature/AbstractTimeRanges) class.
25246
25782
  * Could be used for callbacks typings in TypeScript application.
@@ -28781,11 +29317,11 @@ export class EventEdit extends EditBase {
28781
29317
  /**
28782
29318
  * Opens an editor for the passed event. This function is exposed on Scheduler and can be called as
28783
29319
  * `scheduler.editEvent()`.
28784
- * @param {Scheduler.model.EventModel} eventRecord Event to edit
29320
+ * @param {Scheduler.model.EventModel,string,number} eventRecord Event to edit or the id of the eventRecord. When a String or Number is passed, it must be the id of an event that exists in the Scheduler's event store.
28785
29321
  * @param {Scheduler.model.ResourceModel} resourceRecord The Resource record for the event. This parameter is needed if the event is newly created for a resource and has not been assigned, or when using multi assignment.
28786
29322
  * @param {HTMLElement} element Element to anchor editor to (defaults to events element)
28787
29323
  */
28788
- editEvent(eventRecord: EventModel, resourceRecord?: ResourceModel, element?: HTMLElement): void;
29324
+ editEvent(eventRecord: EventModel|string|number, resourceRecord?: ResourceModel, element?: HTMLElement): void;
28789
29325
  }
28790
29326
 
28791
29327
  /**
@@ -30067,6 +30603,10 @@ type EventTooltipConfig = {
30067
30603
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/EventTooltip#config-bodyCls)
30068
30604
  */
30069
30605
  bodyCls?: string|object
30606
+ /**
30607
+ * Set `true` to add a border to this container's element.
30608
+ */
30609
+ border?: boolean
30070
30610
  /**
30071
30611
  * An object where property names with a truthy value indicate which events should bubble up the ownership
30072
30612
  * hierarchy when triggered.
@@ -30139,7 +30679,7 @@ type EventTooltipConfig = {
30139
30679
  * ...
30140
30680
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/EventTooltip#config-color)
30141
30681
  */
30142
- color?: string
30682
+ color?: Color
30143
30683
  /**
30144
30684
  * Programmatic control over which column to start in when used in a grid layout.
30145
30685
  */
@@ -31405,20 +31945,282 @@ type HeaderZoomConfig = {
31405
31945
  }
31406
31946
 
31407
31947
  /**
31408
- * Enables users to click and drag to zoom to a date range in Scheduler's header time axis. Only supported in horizontal
31409
- * mode.
31948
+ * Enables users to click and drag to zoom to a date range in Scheduler's header time axis. Only supported in horizontal
31949
+ * mode.
31950
+ * ...
31951
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/HeaderZoom)
31952
+ */
31953
+ export class HeaderZoom extends InstancePlugin {
31954
+ /**
31955
+ * Identifies an object as an instance of [HeaderZoom](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/HeaderZoom) class, or subclass thereof.
31956
+ */
31957
+ static readonly isHeaderZoom: boolean
31958
+ /**
31959
+ * Identifies an object as an instance of [HeaderZoom](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/HeaderZoom) class, or subclass thereof.
31960
+ */
31961
+ readonly isHeaderZoom: boolean
31962
+ /**
31963
+ * Fires before an object is destroyed.
31964
+ * @param {object} event Event object
31965
+ * @param {Core.Base} event.source The Object that is being destroyed.
31966
+ */
31967
+ onBeforeDestroy: ((event: { source: Base }) => void)|string
31968
+ /**
31969
+ * Fires when any other event is fired from the object.
31970
+ * ...
31971
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/HeaderZoom#event-catchAll)
31972
+ * @param {object} event Event object
31973
+ * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
31974
+ * @param {string} event.event.type The type of the event which is caught by the listener
31975
+ */
31976
+ onCatchAll: ((event: {[key: string]: any, type: string}) => void)|string
31977
+ /**
31978
+ * Fires when an object is destroyed.
31979
+ * @param {object} event Event object
31980
+ * @param {Core.Base} event.source The Object that is being destroyed.
31981
+ */
31982
+ onDestroy: ((event: { source: Base }) => void)|string
31983
+ }
31984
+
31985
+ /**
31986
+ * Type with available listeners functions for [Labels](https://bryntum.com/products/grid/docs/api/Scheduler/feature/Labels) class.
31987
+ * Could be used for callbacks typings in TypeScript application.
31988
+ */
31989
+ type LabelsListenersTypes = {
31990
+ /**
31991
+ * Fires before an object is destroyed.
31992
+ * @param {object} event Event object
31993
+ * @param {Core.Base} event.source The Object that is being destroyed.
31994
+ */
31995
+ beforeDestroy: (event: { source: Base }) => void
31996
+ /**
31997
+ * Fires when any other event is fired from the object.
31998
+ * ...
31999
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#event-catchAll)
32000
+ * @param {object} event Event object
32001
+ * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
32002
+ * @param {string} event.event.type The type of the event which is caught by the listener
32003
+ */
32004
+ catchAll: (event: {[key: string]: any, type: string}) => void
32005
+ /**
32006
+ * Fires when an object is destroyed.
32007
+ * @param {object} event Event object
32008
+ * @param {Core.Base} event.source The Object that is being destroyed.
32009
+ */
32010
+ destroy: (event: { source: Base }) => void
32011
+ /**
32012
+ * Fired when the plugin/feature is disabled.
32013
+ * @param {object} event Event object
32014
+ * @param {Core.mixin.InstancePlugin} event.source
32015
+ */
32016
+ disable: (event: { source: InstancePlugin }) => void
32017
+ /**
32018
+ * Fired when the plugin/feature is enabled.
32019
+ * @param {object} event Event object
32020
+ * @param {Core.mixin.InstancePlugin} event.source
32021
+ */
32022
+ enable: (event: { source: InstancePlugin }) => void
32023
+ }
32024
+
32025
+ /**
32026
+ * Type with listeners options for [Labels](https://bryntum.com/products/grid/docs/api/Scheduler/feature/Labels) class.
32027
+ */
32028
+ type LabelsListeners = {
32029
+ /**
32030
+ * The `this` object for listener methods
32031
+ */
32032
+ thisObj?: object
32033
+ /**
32034
+ * Fires before an object is destroyed.
32035
+ * @param {object} event Event object
32036
+ * @param {Core.Base} event.source The Object that is being destroyed.
32037
+ */
32038
+ beforeDestroy?: ((event: { source: Base }) => void)|string
32039
+ /**
32040
+ * Fires when any other event is fired from the object.
32041
+ * ...
32042
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#event-catchAll)
32043
+ * @param {object} event Event object
32044
+ * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
32045
+ * @param {string} event.event.type The type of the event which is caught by the listener
32046
+ */
32047
+ catchAll?: ((event: {[key: string]: any, type: string}) => void)|string
32048
+ /**
32049
+ * Fires when an object is destroyed.
32050
+ * @param {object} event Event object
32051
+ * @param {Core.Base} event.source The Object that is being destroyed.
32052
+ */
32053
+ destroy?: ((event: { source: Base }) => void)|string
32054
+ /**
32055
+ * Fired when the plugin/feature is disabled.
32056
+ * @param {object} event Event object
32057
+ * @param {Core.mixin.InstancePlugin} event.source
32058
+ */
32059
+ disable?: ((event: { source: InstancePlugin }) => void)|string
32060
+ /**
32061
+ * Fired when the plugin/feature is enabled.
32062
+ * @param {object} event Event object
32063
+ * @param {Core.mixin.InstancePlugin} event.source
32064
+ */
32065
+ enable?: ((event: { source: InstancePlugin }) => void)|string
32066
+ }
32067
+
32068
+ /**
32069
+ * Type with configuration options for [Labels](https://bryntum.com/products/grid/docs/api/Scheduler/feature/Labels) class.
32070
+ */
32071
+ type LabelsConfig = {
32072
+ type?: 'labels'
32073
+ /**
32074
+ * Configuration object for the label which appears *after* the event bar in the current writing direction.
32075
+ */
32076
+ after?: SchedulerLabelConfig
32077
+ /**
32078
+ * Configuration object for the label which appears *before* the event bar in the current writing direction.
32079
+ */
32080
+ before?: SchedulerLabelConfig
32081
+ /**
32082
+ * What action should be taken when focus moves leaves the cell editor, for example when clicking outside.
32083
+ * May be `'complete'` or `'cancel`'.
32084
+ */
32085
+ blurAction?: 'complete'|'cancel'
32086
+ /**
32087
+ * Bottom label configuration object.
32088
+ */
32089
+ bottom?: SchedulerLabelConfig
32090
+ /**
32091
+ * An object where property names with a truthy value indicate which events should bubble up the ownership
32092
+ * hierarchy when triggered.
32093
+ * ...
32094
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#config-bubbleEvents)
32095
+ */
32096
+ bubbleEvents?: object
32097
+ /**
32098
+ * Set to `true` to call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
32099
+ * ...
32100
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#config-callOnFunctions)
32101
+ */
32102
+ callOnFunctions?: boolean
32103
+ /**
32104
+ * By default, if an event handler throws an exception, the error propagates up the stack and the
32105
+ * application state is undefined. Code which follows the event handler will *not* be executed.
32106
+ * ...
32107
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#config-catchEventHandlerExceptions)
32108
+ */
32109
+ catchEventHandlerExceptions?: boolean
32110
+ /**
32111
+ * The widget which this plugin is to attach to.
32112
+ */
32113
+ client?: Widget
32114
+ /**
32115
+ * The plugin/feature `disabled` state.
32116
+ * ...
32117
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#config-disabled)
32118
+ */
32119
+ disabled?: boolean|'inert'
32120
+ /**
32121
+ * Factor representing the average char width in pixels used to determine label width when configured
32122
+ * with `labelLayoutMode: 'estimate'`.
32123
+ */
32124
+ labelCharWidth?: number
32125
+ /**
32126
+ * CSS class to apply to label elements
32127
+ */
32128
+ labelCls?: string
32129
+ /**
32130
+ * How to handle labels during event layout. Options are:
32131
+ * ...
32132
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#config-labelLayoutMode)
32133
+ */
32134
+ labelLayoutMode?: 'default'|'estimate'|'measure'
32135
+ /**
32136
+ * Left label configuration object.
32137
+ */
32138
+ left?: SchedulerLabelConfig
32139
+ /**
32140
+ * The listener set for this object.
32141
+ * ...
32142
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#config-listeners)
32143
+ */
32144
+ listeners?: LabelsListeners
32145
+ /**
32146
+ * A class translations of which are used for translating this entity.
32147
+ * This is often used when translations of an item are defined on its container class.
32148
+ * For example:
32149
+ * ...
32150
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#config-localeClass)
32151
+ */
32152
+ localeClass?: typeof Base
32153
+ /**
32154
+ * Set to `false` to disable localization of this object.
32155
+ */
32156
+ localizable?: boolean
32157
+ /**
32158
+ * List of properties which values should be translated automatically upon a locale applying.
32159
+ * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
32160
+ * you could use 'localeKey' meta configuration.
32161
+ * Example:
32162
+ * ...
32163
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#config-localizableProperties)
32164
+ */
32165
+ localizableProperties?: string[]
32166
+ /**
32167
+ * Right label configuration object.
32168
+ */
32169
+ right?: SchedulerLabelConfig
32170
+ /**
32171
+ * Top label configuration object.
32172
+ */
32173
+ top?: SchedulerLabelConfig
32174
+ /**
32175
+ * Fires before an object is destroyed.
32176
+ * @param {object} event Event object
32177
+ * @param {Core.Base} event.source The Object that is being destroyed.
32178
+ */
32179
+ onBeforeDestroy?: ((event: { source: Base }) => void)|string
32180
+ /**
32181
+ * Fires when any other event is fired from the object.
32182
+ * ...
32183
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#event-catchAll)
32184
+ * @param {object} event Event object
32185
+ * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
32186
+ * @param {string} event.event.type The type of the event which is caught by the listener
32187
+ */
32188
+ onCatchAll?: ((event: {[key: string]: any, type: string}) => void)|string
32189
+ /**
32190
+ * Fires when an object is destroyed.
32191
+ * @param {object} event Event object
32192
+ * @param {Core.Base} event.source The Object that is being destroyed.
32193
+ */
32194
+ onDestroy?: ((event: { source: Base }) => void)|string
32195
+ /**
32196
+ * Fired when the plugin/feature is disabled.
32197
+ * @param {object} event Event object
32198
+ * @param {Core.mixin.InstancePlugin} event.source
32199
+ */
32200
+ onDisable?: ((event: { source: InstancePlugin }) => void)|string
32201
+ /**
32202
+ * Fired when the plugin/feature is enabled.
32203
+ * @param {object} event Event object
32204
+ * @param {Core.mixin.InstancePlugin} event.source
32205
+ */
32206
+ onEnable?: ((event: { source: InstancePlugin }) => void)|string
32207
+ }
32208
+
32209
+ /**
32210
+ * Displays labels at positions [top](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#config-top), [right](#Scheduler/feature/Labels#config-right), [bottom](#Scheduler/feature/Labels#config-bottom) and
32211
+ * [left](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#config-left).
31410
32212
  * ...
31411
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/HeaderZoom)
32213
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels)
31412
32214
  */
31413
- export class HeaderZoom extends InstancePlugin {
32215
+ export class Labels extends InstancePlugin {
31414
32216
  /**
31415
- * Identifies an object as an instance of [HeaderZoom](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/HeaderZoom) class, or subclass thereof.
32217
+ * Identifies an object as an instance of [Labels](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels) class, or subclass thereof.
31416
32218
  */
31417
- static readonly isHeaderZoom: boolean
32219
+ static readonly isLabels: boolean
31418
32220
  /**
31419
- * Identifies an object as an instance of [HeaderZoom](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/HeaderZoom) class, or subclass thereof.
32221
+ * Identifies an object as an instance of [Labels](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels) class, or subclass thereof.
31420
32222
  */
31421
- readonly isHeaderZoom: boolean
32223
+ readonly isLabels: boolean
31422
32224
  /**
31423
32225
  * Fires before an object is destroyed.
31424
32226
  * @param {object} event Event object
@@ -31428,7 +32230,7 @@ export class HeaderZoom extends InstancePlugin {
31428
32230
  /**
31429
32231
  * Fires when any other event is fired from the object.
31430
32232
  * ...
31431
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/HeaderZoom#event-catchAll)
32233
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#event-catchAll)
31432
32234
  * @param {object} event Event object
31433
32235
  * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
31434
32236
  * @param {string} event.event.type The type of the event which is caught by the listener
@@ -31440,13 +32242,18 @@ export class HeaderZoom extends InstancePlugin {
31440
32242
  * @param {Core.Base} event.source The Object that is being destroyed.
31441
32243
  */
31442
32244
  onDestroy: ((event: { source: Base }) => void)|string
32245
+ /**
32246
+ * Creates an instance of the class using the supplied configuration
32247
+ * @param {LabelsConfig} config
32248
+ */
32249
+ constructor(config?: LabelsConfig);
31443
32250
  }
31444
32251
 
31445
32252
  /**
31446
- * Type with available listeners functions for [Labels](https://bryntum.com/products/grid/docs/api/Scheduler/feature/Labels) class.
32253
+ * Type with available listeners functions for [LockRows](https://bryntum.com/products/grid/docs/api/Scheduler/feature/LockRows) class.
31447
32254
  * Could be used for callbacks typings in TypeScript application.
31448
32255
  */
31449
- type LabelsListenersTypes = {
32256
+ type LockRowsListenersTypes = {
31450
32257
  /**
31451
32258
  * Fires before an object is destroyed.
31452
32259
  * @param {object} event Event object
@@ -31456,7 +32263,7 @@ type LabelsListenersTypes = {
31456
32263
  /**
31457
32264
  * Fires when any other event is fired from the object.
31458
32265
  * ...
31459
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#event-catchAll)
32266
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#event-catchAll)
31460
32267
  * @param {object} event Event object
31461
32268
  * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
31462
32269
  * @param {string} event.event.type The type of the event which is caught by the listener
@@ -31483,9 +32290,9 @@ type LabelsListenersTypes = {
31483
32290
  }
31484
32291
 
31485
32292
  /**
31486
- * Type with listeners options for [Labels](https://bryntum.com/products/grid/docs/api/Scheduler/feature/Labels) class.
32293
+ * Type with listeners options for [LockRows](https://bryntum.com/products/grid/docs/api/Scheduler/feature/LockRows) class.
31487
32294
  */
31488
- type LabelsListeners = {
32295
+ type LockRowsListeners = {
31489
32296
  /**
31490
32297
  * The `this` object for listener methods
31491
32298
  */
@@ -31499,7 +32306,7 @@ type LabelsListeners = {
31499
32306
  /**
31500
32307
  * Fires when any other event is fired from the object.
31501
32308
  * ...
31502
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#event-catchAll)
32309
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#event-catchAll)
31503
32310
  * @param {object} event Event object
31504
32311
  * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
31505
32312
  * @param {string} event.event.type The type of the event which is caught by the listener
@@ -31526,45 +32333,34 @@ type LabelsListeners = {
31526
32333
  }
31527
32334
 
31528
32335
  /**
31529
- * Type with configuration options for [Labels](https://bryntum.com/products/grid/docs/api/Scheduler/feature/Labels) class.
32336
+ * Type with configuration options for [LockRows](https://bryntum.com/products/grid/docs/api/Scheduler/feature/LockRows) class.
31530
32337
  */
31531
- type LabelsConfig = {
31532
- type?: 'labels'
31533
- /**
31534
- * Configuration object for the label which appears *after* the event bar in the current writing direction.
31535
- */
31536
- after?: SchedulerLabelConfig
31537
- /**
31538
- * Configuration object for the label which appears *before* the event bar in the current writing direction.
31539
- */
31540
- before?: SchedulerLabelConfig
31541
- /**
31542
- * What action should be taken when focus moves leaves the cell editor, for example when clicking outside.
31543
- * May be `'complete'` or `'cancel`'.
31544
- */
31545
- blurAction?: 'complete'|'cancel'
32338
+ type LockRowsConfig = {
32339
+ type?: 'lockRows'|'lockrows'
31546
32340
  /**
31547
- * Bottom label configuration object.
32341
+ * An object containing grid configuration for the bottom grid instance.
32342
+ * ...
32343
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#config-bottomGridConfig)
31548
32344
  */
31549
- bottom?: SchedulerLabelConfig
32345
+ bottomGridConfig?: GridConfig
31550
32346
  /**
31551
32347
  * An object where property names with a truthy value indicate which events should bubble up the ownership
31552
32348
  * hierarchy when triggered.
31553
32349
  * ...
31554
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#config-bubbleEvents)
32350
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#config-bubbleEvents)
31555
32351
  */
31556
32352
  bubbleEvents?: object
31557
32353
  /**
31558
32354
  * Set to `true` to call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
31559
32355
  * ...
31560
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#config-callOnFunctions)
32356
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#config-callOnFunctions)
31561
32357
  */
31562
32358
  callOnFunctions?: boolean
31563
32359
  /**
31564
32360
  * By default, if an event handler throws an exception, the error propagates up the stack and the
31565
32361
  * application state is undefined. Code which follows the event handler will *not* be executed.
31566
32362
  * ...
31567
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#config-catchEventHandlerExceptions)
32363
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#config-catchEventHandlerExceptions)
31568
32364
  */
31569
32365
  catchEventHandlerExceptions?: boolean
31570
32366
  /**
@@ -31574,40 +32370,36 @@ type LabelsConfig = {
31574
32370
  /**
31575
32371
  * The plugin/feature `disabled` state.
31576
32372
  * ...
31577
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#config-disabled)
32373
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#config-disabled)
31578
32374
  */
31579
32375
  disabled?: boolean|'inert'
31580
32376
  /**
31581
- * Factor representing the average char width in pixels used to determine label width when configured
31582
- * with `labelLayoutMode: 'estimate'`.
31583
- */
31584
- labelCharWidth?: number
31585
- /**
31586
- * CSS class to apply to label elements
31587
- */
31588
- labelCls?: string
31589
- /**
31590
- * How to handle labels during event layout. Options are:
32377
+ * The field name whose truthy/falsy state decides whether a record is locked at the top of the grid.
31591
32378
  * ...
31592
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#config-labelLayoutMode)
32379
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#config-fieldName)
31593
32380
  */
31594
- labelLayoutMode?: 'default'|'estimate'|'measure'
32381
+ fieldName?: string
31595
32382
  /**
31596
- * Left label configuration object.
32383
+ * A function, or the name of a function in the Grid's ownership hierarchy, that decides whether a record is
32384
+ * locked at the top of the grid.
32385
+ * ...
32386
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#config-filterFn)
32387
+ * @param {Core.data.Model} record The record to decide upon.
32388
+ * @returns {boolean} Return `true` to lock the record at the top.
31597
32389
  */
31598
- left?: SchedulerLabelConfig
32390
+ filterFn?: ((record: Model) => boolean)|string
31599
32391
  /**
31600
32392
  * The listener set for this object.
31601
32393
  * ...
31602
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#config-listeners)
32394
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#config-listeners)
31603
32395
  */
31604
- listeners?: LabelsListeners
32396
+ listeners?: LockRowsListeners
31605
32397
  /**
31606
32398
  * A class translations of which are used for translating this entity.
31607
32399
  * This is often used when translations of an item are defined on its container class.
31608
32400
  * For example:
31609
32401
  * ...
31610
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#config-localeClass)
32402
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#config-localeClass)
31611
32403
  */
31612
32404
  localeClass?: typeof Base
31613
32405
  /**
@@ -31620,17 +32412,15 @@ type LabelsConfig = {
31620
32412
  * you could use 'localeKey' meta configuration.
31621
32413
  * Example:
31622
32414
  * ...
31623
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#config-localizableProperties)
32415
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#config-localizableProperties)
31624
32416
  */
31625
32417
  localizableProperties?: string[]
31626
32418
  /**
31627
- * Right label configuration object.
31628
- */
31629
- right?: SchedulerLabelConfig
31630
- /**
31631
- * Top label configuration object.
32419
+ * Properties whose changes should be relayed to sub-views at runtime.
32420
+ * ...
32421
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#config-relayProperties)
31632
32422
  */
31633
- top?: SchedulerLabelConfig
32423
+ relayProperties?: Record<string, boolean>
31634
32424
  /**
31635
32425
  * Fires before an object is destroyed.
31636
32426
  * @param {object} event Event object
@@ -31640,7 +32430,7 @@ type LabelsConfig = {
31640
32430
  /**
31641
32431
  * Fires when any other event is fired from the object.
31642
32432
  * ...
31643
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#event-catchAll)
32433
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#event-catchAll)
31644
32434
  * @param {object} event Event object
31645
32435
  * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
31646
32436
  * @param {string} event.event.type The type of the event which is caught by the listener
@@ -31667,20 +32457,19 @@ type LabelsConfig = {
31667
32457
  }
31668
32458
 
31669
32459
  /**
31670
- * Displays labels at positions [top](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#config-top), [right](#Scheduler/feature/Labels#config-right), [bottom](#Scheduler/feature/Labels#config-bottom) and
31671
- * [left](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#config-left).
32460
+ * This feature allows resources which satisfy a certain condition to be locked at the top of the scheduler.
31672
32461
  * ...
31673
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels)
32462
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows)
31674
32463
  */
31675
- export class Labels extends InstancePlugin {
32464
+ export class LockRows extends GridLockRows {
31676
32465
  /**
31677
- * Identifies an object as an instance of [Labels](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels) class, or subclass thereof.
32466
+ * Identifies an object as an instance of [LockRows](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows) class, or subclass thereof.
31678
32467
  */
31679
- static readonly isLabels: boolean
32468
+ static readonly isLockRows: boolean
31680
32469
  /**
31681
- * Identifies an object as an instance of [Labels](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels) class, or subclass thereof.
32470
+ * Identifies an object as an instance of [LockRows](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows) class, or subclass thereof.
31682
32471
  */
31683
- readonly isLabels: boolean
32472
+ readonly isLockRows: boolean
31684
32473
  /**
31685
32474
  * Fires before an object is destroyed.
31686
32475
  * @param {object} event Event object
@@ -31690,7 +32479,7 @@ export class Labels extends InstancePlugin {
31690
32479
  /**
31691
32480
  * Fires when any other event is fired from the object.
31692
32481
  * ...
31693
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Labels#event-catchAll)
32482
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#event-catchAll)
31694
32483
  * @param {object} event Event object
31695
32484
  * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
31696
32485
  * @param {string} event.event.type The type of the event which is caught by the listener
@@ -31702,18 +32491,13 @@ export class Labels extends InstancePlugin {
31702
32491
  * @param {Core.Base} event.source The Object that is being destroyed.
31703
32492
  */
31704
32493
  onDestroy: ((event: { source: Base }) => void)|string
31705
- /**
31706
- * Creates an instance of the class using the supplied configuration
31707
- * @param {LabelsConfig} config
31708
- */
31709
- constructor(config?: LabelsConfig);
31710
32494
  }
31711
32495
 
31712
32496
  /**
31713
- * Type with available listeners functions for [LockRows](https://bryntum.com/products/grid/docs/api/Scheduler/feature/LockRows) class.
32497
+ * Type with available listeners functions for [NonWorkingTime](https://bryntum.com/products/grid/docs/api/Scheduler/feature/NonWorkingTime) class.
31714
32498
  * Could be used for callbacks typings in TypeScript application.
31715
32499
  */
31716
- type LockRowsListenersTypes = {
32500
+ type NonWorkingTimeListenersTypes = {
31717
32501
  /**
31718
32502
  * Fires before an object is destroyed.
31719
32503
  * @param {object} event Event object
@@ -31723,7 +32507,7 @@ type LockRowsListenersTypes = {
31723
32507
  /**
31724
32508
  * Fires when any other event is fired from the object.
31725
32509
  * ...
31726
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#event-catchAll)
32510
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#event-catchAll)
31727
32511
  * @param {object} event Event object
31728
32512
  * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
31729
32513
  * @param {string} event.event.type The type of the event which is caught by the listener
@@ -31750,9 +32534,9 @@ type LockRowsListenersTypes = {
31750
32534
  }
31751
32535
 
31752
32536
  /**
31753
- * Type with listeners options for [LockRows](https://bryntum.com/products/grid/docs/api/Scheduler/feature/LockRows) class.
32537
+ * Type with listeners options for [NonWorkingTime](https://bryntum.com/products/grid/docs/api/Scheduler/feature/NonWorkingTime) class.
31754
32538
  */
31755
- type LockRowsListeners = {
32539
+ type NonWorkingTimeListeners = {
31756
32540
  /**
31757
32541
  * The `this` object for listener methods
31758
32542
  */
@@ -31766,7 +32550,7 @@ type LockRowsListeners = {
31766
32550
  /**
31767
32551
  * Fires when any other event is fired from the object.
31768
32552
  * ...
31769
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#event-catchAll)
32553
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#event-catchAll)
31770
32554
  * @param {object} event Event object
31771
32555
  * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
31772
32556
  * @param {string} event.event.type The type of the event which is caught by the listener
@@ -31793,34 +32577,37 @@ type LockRowsListeners = {
31793
32577
  }
31794
32578
 
31795
32579
  /**
31796
- * Type with configuration options for [LockRows](https://bryntum.com/products/grid/docs/api/Scheduler/feature/LockRows) class.
32580
+ * Type with configuration options for [NonWorkingTime](https://bryntum.com/products/grid/docs/api/Scheduler/feature/NonWorkingTime) class.
31797
32581
  */
31798
- type LockRowsConfig = {
31799
- type?: 'lockRows'|'lockrows'
32582
+ type NonWorkingTimeConfig = {
32583
+ type?: 'nonWorkingTime'|'nonworkingtime'
31800
32584
  /**
31801
- * An object containing grid configuration for the bottom grid instance.
32585
+ * Function used to generate the HTML content for a time range body element.
31802
32586
  * ...
31803
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#config-bottomGridConfig)
32587
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#config-bodyRenderer)
32588
+ * @param {object} data Render data
32589
+ * @param {Scheduler.model.TimeSpan} data.timeRange
32590
+ * @returns {string} String representing the HTML markup
31804
32591
  */
31805
- bottomGridConfig?: GridConfig
32592
+ bodyRenderer?: (data: { timeRange: TimeSpan }) => string
31806
32593
  /**
31807
32594
  * An object where property names with a truthy value indicate which events should bubble up the ownership
31808
32595
  * hierarchy when triggered.
31809
32596
  * ...
31810
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#config-bubbleEvents)
32597
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#config-bubbleEvents)
31811
32598
  */
31812
32599
  bubbleEvents?: object
31813
32600
  /**
31814
32601
  * Set to `true` to call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
31815
32602
  * ...
31816
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#config-callOnFunctions)
32603
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#config-callOnFunctions)
31817
32604
  */
31818
32605
  callOnFunctions?: boolean
31819
32606
  /**
31820
32607
  * By default, if an event handler throws an exception, the error propagates up the stack and the
31821
32608
  * application state is undefined. Code which follows the event handler will *not* be executed.
31822
32609
  * ...
31823
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#config-catchEventHandlerExceptions)
32610
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#config-catchEventHandlerExceptions)
31824
32611
  */
31825
32612
  catchEventHandlerExceptions?: boolean
31826
32613
  /**
@@ -31830,36 +32617,42 @@ type LockRowsConfig = {
31830
32617
  /**
31831
32618
  * The plugin/feature `disabled` state.
31832
32619
  * ...
31833
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#config-disabled)
32620
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#config-disabled)
31834
32621
  */
31835
32622
  disabled?: boolean|'inert'
31836
32623
  /**
31837
- * The field name whose truthy/falsy state decides whether a record is locked at the top of the grid.
32624
+ * Function used to generate the HTML content for a time range header element.
31838
32625
  * ...
31839
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#config-fieldName)
32626
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#config-headerRenderer)
32627
+ * @param {object} data Render data
32628
+ * @param {Scheduler.model.TimeSpan} data.timeRange
32629
+ * @returns {string} String representing the HTML markup
31840
32630
  */
31841
- fieldName?: string
32631
+ headerRenderer?: (data: { timeRange: TimeSpan }) => string
31842
32632
  /**
31843
- * A function, or the name of a function in the Grid's ownership hierarchy, that decides whether a record is
31844
- * locked at the top of the grid.
32633
+ * The feature by default does not render ranges smaller than the base unit used by the time axis.
32634
+ * Set this config to `false` to disable this behavior.
31845
32635
  * ...
31846
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#config-filterFn)
31847
- * @param {Core.data.Model} record The record to decide upon.
31848
- * @returns {boolean} Return `true` to lock the record at the top.
32636
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#config-hideRangesOnZooming)
31849
32637
  */
31850
- filterFn?: ((record: Model) => boolean)|string
32638
+ hideRangesOnZooming?: boolean
32639
+ /**
32640
+ * A [Tooltip](https://bryntum.com/products/scheduler/docs/api/Core/widget/Tooltip) config object which is applied to the tooltip shown when hovering a
32641
+ * TimeRange header element
32642
+ */
32643
+ hoverTooltip?: TooltipConfig
31851
32644
  /**
31852
32645
  * The listener set for this object.
31853
32646
  * ...
31854
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#config-listeners)
32647
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#config-listeners)
31855
32648
  */
31856
- listeners?: LockRowsListeners
32649
+ listeners?: NonWorkingTimeListeners
31857
32650
  /**
31858
32651
  * A class translations of which are used for translating this entity.
31859
32652
  * This is often used when translations of an item are defined on its container class.
31860
32653
  * For example:
31861
32654
  * ...
31862
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#config-localeClass)
32655
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#config-localeClass)
31863
32656
  */
31864
32657
  localeClass?: typeof Base
31865
32658
  /**
@@ -31872,15 +32665,38 @@ type LockRowsConfig = {
31872
32665
  * you could use 'localeKey' meta configuration.
31873
32666
  * Example:
31874
32667
  * ...
31875
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#config-localizableProperties)
32668
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#config-localizableProperties)
31876
32669
  */
31877
32670
  localizableProperties?: string[]
31878
32671
  /**
31879
- * Properties whose changes should be relayed to sub-views at runtime.
32672
+ * The maximum time axis unit to display non-working ranges for ('hour' or 'day' etc).
32673
+ * When zooming to a view with a larger unit, no non-working time elements will be rendered.
31880
32674
  * ...
31881
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#config-relayProperties)
32675
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#config-maxTimeAxisUnit)
31882
32676
  */
31883
- relayProperties?: Record<string, boolean>
32677
+ maxTimeAxisUnit?: DurationUnit
32678
+ /**
32679
+ * Set to `false` to not render range elements into the time axis header. Note that header elements are
32680
+ * required for interaction such as dragging/resizing, so enabling [enableResizing](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AbstractTimeRanges#config-enableResizing) will
32681
+ * automatically enable this setting.
32682
+ */
32683
+ showHeaderElements?: boolean
32684
+ /**
32685
+ * A Boolean specifying whether to show tooltip while resizing range elements, or a
32686
+ * [Tooltip](https://bryntum.com/products/scheduler/docs/api/Core/widget/Tooltip) config object which is applied to the tooltip
32687
+ */
32688
+ showTooltip?: boolean|TooltipConfig
32689
+ /**
32690
+ * Template used to generate the tooltip contents when hovering a time range header element.
32691
+ * ...
32692
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#config-tooltipTemplate)
32693
+ * @param {object} data Tooltip data
32694
+ * @param {Scheduler.model.TimeSpan} data.timeRange
32695
+ * @param {string} data.startClockHtml Predefined HTML to show the start time
32696
+ * @param {string} data.endClockHtml Predefined HTML to show the end time
32697
+ * @returns {string} String representing the HTML markup
32698
+ */
32699
+ tooltipTemplate?: (data: { timeRange: TimeSpan, startClockHtml: string, endClockHtml: string }) => string
31884
32700
  /**
31885
32701
  * Fires before an object is destroyed.
31886
32702
  * @param {object} event Event object
@@ -31890,7 +32706,7 @@ type LockRowsConfig = {
31890
32706
  /**
31891
32707
  * Fires when any other event is fired from the object.
31892
32708
  * ...
31893
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#event-catchAll)
32709
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#event-catchAll)
31894
32710
  * @param {object} event Event object
31895
32711
  * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
31896
32712
  * @param {string} event.event.type The type of the event which is caught by the listener
@@ -31917,19 +32733,27 @@ type LockRowsConfig = {
31917
32733
  }
31918
32734
 
31919
32735
  /**
31920
- * This feature allows resources which satisfy a certain condition to be locked at the top of the scheduler.
32736
+ * Feature that allows styling of weekends (and other non-working time) by adding timeRanges for those days.
31921
32737
  * ...
31922
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows)
32738
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime)
31923
32739
  */
31924
- export class LockRows extends GridLockRows {
32740
+ export class NonWorkingTime extends AbstractTimeRanges {
31925
32741
  /**
31926
- * Identifies an object as an instance of [LockRows](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows) class, or subclass thereof.
32742
+ * Identifies an object as an instance of [NonWorkingTime](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime) class, or subclass thereof.
31927
32743
  */
31928
- static readonly isLockRows: boolean
32744
+ static readonly isNonWorkingTime: boolean
31929
32745
  /**
31930
- * Identifies an object as an instance of [LockRows](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows) class, or subclass thereof.
32746
+ * Identifies an object as an instance of [NonWorkingTimeMixin](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/mixin/NonWorkingTimeMixin) class, or subclass thereof.
31931
32747
  */
31932
- readonly isLockRows: boolean
32748
+ static readonly isNonWorkingTimeMixin: boolean
32749
+ /**
32750
+ * Identifies an object as an instance of [NonWorkingTime](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime) class, or subclass thereof.
32751
+ */
32752
+ readonly isNonWorkingTime: boolean
32753
+ /**
32754
+ * Identifies an object as an instance of [NonWorkingTimeMixin](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/mixin/NonWorkingTimeMixin) class, or subclass thereof.
32755
+ */
32756
+ readonly isNonWorkingTimeMixin: boolean
31933
32757
  /**
31934
32758
  * Fires before an object is destroyed.
31935
32759
  * @param {object} event Event object
@@ -31939,7 +32763,7 @@ export class LockRows extends GridLockRows {
31939
32763
  /**
31940
32764
  * Fires when any other event is fired from the object.
31941
32765
  * ...
31942
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/LockRows#event-catchAll)
32766
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#event-catchAll)
31943
32767
  * @param {object} event Event object
31944
32768
  * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
31945
32769
  * @param {string} event.event.type The type of the event which is caught by the listener
@@ -31951,13 +32775,27 @@ export class LockRows extends GridLockRows {
31951
32775
  * @param {Core.Base} event.source The Object that is being destroyed.
31952
32776
  */
31953
32777
  onDestroy: ((event: { source: Base }) => void)|string
32778
+ /**
32779
+ * Creates an instance of the class using the supplied configuration
32780
+ * @param {NonWorkingTimeConfig} config
32781
+ */
32782
+ constructor(config?: NonWorkingTimeConfig);
32783
+ /**
32784
+ * Based on this method result the feature decides whether the provided non-working period should
32785
+ * be rendered or not.
32786
+ * The method checks that the range has non-zero [duration](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/TimeSpan#field-duration),
32787
+ * lays in the visible timespan and its duration is longer or equal the base timeaxis unit
32788
+ * (if [hideRangesOnZooming](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#config-hideRangesOnZooming) is `true`).
32789
+ * @param {Scheduler.model.TimeSpan} range Range to render.
32790
+ */
32791
+ shouldRenderRange(range: TimeSpan): boolean;
31954
32792
  }
31955
32793
 
31956
32794
  /**
31957
- * Type with available listeners functions for [NonWorkingTime](https://bryntum.com/products/grid/docs/api/Scheduler/feature/NonWorkingTime) class.
32795
+ * Type with available listeners functions for [Pan](https://bryntum.com/products/grid/docs/api/Scheduler/feature/Pan) class.
31958
32796
  * Could be used for callbacks typings in TypeScript application.
31959
32797
  */
31960
- type NonWorkingTimeListenersTypes = {
32798
+ type PanListenersTypes = {
31961
32799
  /**
31962
32800
  * Fires before an object is destroyed.
31963
32801
  * @param {object} event Event object
@@ -31967,7 +32805,7 @@ type NonWorkingTimeListenersTypes = {
31967
32805
  /**
31968
32806
  * Fires when any other event is fired from the object.
31969
32807
  * ...
31970
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#event-catchAll)
32808
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan#event-catchAll)
31971
32809
  * @param {object} event Event object
31972
32810
  * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
31973
32811
  * @param {string} event.event.type The type of the event which is caught by the listener
@@ -31994,9 +32832,9 @@ type NonWorkingTimeListenersTypes = {
31994
32832
  }
31995
32833
 
31996
32834
  /**
31997
- * Type with listeners options for [NonWorkingTime](https://bryntum.com/products/grid/docs/api/Scheduler/feature/NonWorkingTime) class.
32835
+ * Type with listeners options for [Pan](https://bryntum.com/products/grid/docs/api/Scheduler/feature/Pan) class.
31998
32836
  */
31999
- type NonWorkingTimeListeners = {
32837
+ type PanListeners = {
32000
32838
  /**
32001
32839
  * The `this` object for listener methods
32002
32840
  */
@@ -32010,7 +32848,7 @@ type NonWorkingTimeListeners = {
32010
32848
  /**
32011
32849
  * Fires when any other event is fired from the object.
32012
32850
  * ...
32013
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#event-catchAll)
32851
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan#event-catchAll)
32014
32852
  * @param {object} event Event object
32015
32853
  * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
32016
32854
  * @param {string} event.event.type The type of the event which is caught by the listener
@@ -32037,37 +32875,28 @@ type NonWorkingTimeListeners = {
32037
32875
  }
32038
32876
 
32039
32877
  /**
32040
- * Type with configuration options for [NonWorkingTime](https://bryntum.com/products/grid/docs/api/Scheduler/feature/NonWorkingTime) class.
32878
+ * Type with configuration options for [Pan](https://bryntum.com/products/grid/docs/api/Scheduler/feature/Pan) class.
32041
32879
  */
32042
- type NonWorkingTimeConfig = {
32043
- type?: 'nonWorkingTime'|'nonworkingtime'
32044
- /**
32045
- * Function used to generate the HTML content for a time range body element.
32046
- * ...
32047
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#config-bodyRenderer)
32048
- * @param {object} data Render data
32049
- * @param {Scheduler.model.TimeSpan} data.timeRange
32050
- * @returns {string} String representing the HTML markup
32051
- */
32052
- bodyRenderer?: (data: { timeRange: TimeSpan }) => string
32880
+ type PanConfig = {
32881
+ type?: 'pan'
32053
32882
  /**
32054
32883
  * An object where property names with a truthy value indicate which events should bubble up the ownership
32055
32884
  * hierarchy when triggered.
32056
32885
  * ...
32057
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#config-bubbleEvents)
32886
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan#config-bubbleEvents)
32058
32887
  */
32059
32888
  bubbleEvents?: object
32060
32889
  /**
32061
32890
  * Set to `true` to call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
32062
32891
  * ...
32063
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#config-callOnFunctions)
32892
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan#config-callOnFunctions)
32064
32893
  */
32065
32894
  callOnFunctions?: boolean
32066
32895
  /**
32067
32896
  * By default, if an event handler throws an exception, the error propagates up the stack and the
32068
32897
  * application state is undefined. Code which follows the event handler will *not* be executed.
32069
32898
  * ...
32070
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#config-catchEventHandlerExceptions)
32899
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan#config-catchEventHandlerExceptions)
32071
32900
  */
32072
32901
  catchEventHandlerExceptions?: boolean
32073
32902
  /**
@@ -32077,42 +32906,29 @@ type NonWorkingTimeConfig = {
32077
32906
  /**
32078
32907
  * The plugin/feature `disabled` state.
32079
32908
  * ...
32080
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#config-disabled)
32909
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan#config-disabled)
32081
32910
  */
32082
32911
  disabled?: boolean|'inert'
32083
32912
  /**
32084
- * Function used to generate the HTML content for a time range header element.
32085
- * ...
32086
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#config-headerRenderer)
32087
- * @param {object} data Render data
32088
- * @param {Scheduler.model.TimeSpan} data.timeRange
32089
- * @returns {string} String representing the HTML markup
32090
- */
32091
- headerRenderer?: (data: { timeRange: TimeSpan }) => string
32092
- /**
32093
- * The feature by default does not render ranges smaller than the base unit used by the time axis.
32094
- * Set this config to `false` to disable this behavior.
32095
- * ...
32096
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#config-hideRangesOnZooming)
32913
+ * Set to `false` to not pan horizontally when dragging in the time axis header
32097
32914
  */
32098
- hideRangesOnZooming?: boolean
32915
+ enableInHeader?: boolean
32099
32916
  /**
32100
- * A [Tooltip](https://bryntum.com/products/scheduler/docs/api/Core/widget/Tooltip) config object which is applied to the tooltip shown when hovering a
32101
- * TimeRange header element
32917
+ * Set to `false` to not pan horizontally
32102
32918
  */
32103
- hoverTooltip?: TooltipConfig
32919
+ horizontal?: boolean
32104
32920
  /**
32105
32921
  * The listener set for this object.
32106
32922
  * ...
32107
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#config-listeners)
32923
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan#config-listeners)
32108
32924
  */
32109
- listeners?: NonWorkingTimeListeners
32925
+ listeners?: PanListeners
32110
32926
  /**
32111
32927
  * A class translations of which are used for translating this entity.
32112
32928
  * This is often used when translations of an item are defined on its container class.
32113
32929
  * For example:
32114
32930
  * ...
32115
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#config-localeClass)
32931
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan#config-localeClass)
32116
32932
  */
32117
32933
  localeClass?: typeof Base
32118
32934
  /**
@@ -32125,38 +32941,13 @@ type NonWorkingTimeConfig = {
32125
32941
  * you could use 'localeKey' meta configuration.
32126
32942
  * Example:
32127
32943
  * ...
32128
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#config-localizableProperties)
32944
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan#config-localizableProperties)
32129
32945
  */
32130
32946
  localizableProperties?: string[]
32131
32947
  /**
32132
- * The maximum time axis unit to display non-working ranges for ('hour' or 'day' etc).
32133
- * When zooming to a view with a larger unit, no non-working time elements will be rendered.
32134
- * ...
32135
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#config-maxTimeAxisUnit)
32136
- */
32137
- maxTimeAxisUnit?: DurationUnit
32138
- /**
32139
- * Set to `false` to not render range elements into the time axis header. Note that header elements are
32140
- * required for interaction such as dragging/resizing, so enabling [enableResizing](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AbstractTimeRanges#config-enableResizing) will
32141
- * automatically enable this setting.
32142
- */
32143
- showHeaderElements?: boolean
32144
- /**
32145
- * A Boolean specifying whether to show tooltip while resizing range elements, or a
32146
- * [Tooltip](https://bryntum.com/products/scheduler/docs/api/Core/widget/Tooltip) config object which is applied to the tooltip
32147
- */
32148
- showTooltip?: boolean|TooltipConfig
32149
- /**
32150
- * Template used to generate the tooltip contents when hovering a time range header element.
32151
- * ...
32152
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#config-tooltipTemplate)
32153
- * @param {object} data Tooltip data
32154
- * @param {Scheduler.model.TimeSpan} data.timeRange
32155
- * @param {string} data.startClockHtml Predefined HTML to show the start time
32156
- * @param {string} data.endClockHtml Predefined HTML to show the end time
32157
- * @returns {string} String representing the HTML markup
32948
+ * Set to `false` to not pan vertically
32158
32949
  */
32159
- tooltipTemplate?: (data: { timeRange: TimeSpan, startClockHtml: string, endClockHtml: string }) => string
32950
+ vertical?: boolean
32160
32951
  /**
32161
32952
  * Fires before an object is destroyed.
32162
32953
  * @param {object} event Event object
@@ -32166,7 +32957,7 @@ type NonWorkingTimeConfig = {
32166
32957
  /**
32167
32958
  * Fires when any other event is fired from the object.
32168
32959
  * ...
32169
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#event-catchAll)
32960
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan#event-catchAll)
32170
32961
  * @param {object} event Event object
32171
32962
  * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
32172
32963
  * @param {string} event.event.type The type of the event which is caught by the listener
@@ -32193,27 +32984,35 @@ type NonWorkingTimeConfig = {
32193
32984
  }
32194
32985
 
32195
32986
  /**
32196
- * Feature that allows styling of weekends (and other non-working time) by adding timeRanges for those days.
32987
+ * Makes the scheduler's timeline pannable by dragging with the mouse. Try it out in the demo below.
32197
32988
  * ...
32198
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime)
32989
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan)
32199
32990
  */
32200
- export class NonWorkingTime extends AbstractTimeRanges {
32991
+ export class Pan extends InstancePlugin {
32201
32992
  /**
32202
- * Identifies an object as an instance of [NonWorkingTime](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime) class, or subclass thereof.
32993
+ * Identifies an object as an instance of [Pan](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan) class, or subclass thereof.
32203
32994
  */
32204
- static readonly isNonWorkingTime: boolean
32995
+ static readonly isPan: boolean
32205
32996
  /**
32206
- * Identifies an object as an instance of [NonWorkingTimeMixin](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/mixin/NonWorkingTimeMixin) class, or subclass thereof.
32997
+ * Set to `false` to not pan horizontally when dragging in the time axis header
32207
32998
  */
32208
- static readonly isNonWorkingTimeMixin: boolean
32999
+ enableInHeader: boolean
32209
33000
  /**
32210
- * Identifies an object as an instance of [NonWorkingTime](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime) class, or subclass thereof.
33001
+ * Set to `false` to not pan horizontally
32211
33002
  */
32212
- readonly isNonWorkingTime: boolean
33003
+ horizontal: boolean
32213
33004
  /**
32214
- * Identifies an object as an instance of [NonWorkingTimeMixin](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/mixin/NonWorkingTimeMixin) class, or subclass thereof.
33005
+ * Yields `true` if a pan gesture is in process.
32215
33006
  */
32216
- readonly isNonWorkingTimeMixin: boolean
33007
+ readonly isActive: boolean
33008
+ /**
33009
+ * Identifies an object as an instance of [Pan](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan) class, or subclass thereof.
33010
+ */
33011
+ readonly isPan: boolean
33012
+ /**
33013
+ * Set to `false` to not pan vertically
33014
+ */
33015
+ vertical: boolean
32217
33016
  /**
32218
33017
  * Fires before an object is destroyed.
32219
33018
  * @param {object} event Event object
@@ -32223,7 +33022,7 @@ export class NonWorkingTime extends AbstractTimeRanges {
32223
33022
  /**
32224
33023
  * Fires when any other event is fired from the object.
32225
33024
  * ...
32226
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#event-catchAll)
33025
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan#event-catchAll)
32227
33026
  * @param {object} event Event object
32228
33027
  * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
32229
33028
  * @param {string} event.event.type The type of the event which is caught by the listener
@@ -32237,25 +33036,16 @@ export class NonWorkingTime extends AbstractTimeRanges {
32237
33036
  onDestroy: ((event: { source: Base }) => void)|string
32238
33037
  /**
32239
33038
  * Creates an instance of the class using the supplied configuration
32240
- * @param {NonWorkingTimeConfig} config
32241
- */
32242
- constructor(config?: NonWorkingTimeConfig);
32243
- /**
32244
- * Based on this method result the feature decides whether the provided non-working period should
32245
- * be rendered or not.
32246
- * The method checks that the range has non-zero [duration](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/TimeSpan#field-duration),
32247
- * lays in the visible timespan and its duration is longer or equal the base timeaxis unit
32248
- * (if [hideRangesOnZooming](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/NonWorkingTime#config-hideRangesOnZooming) is `true`).
32249
- * @param {Scheduler.model.TimeSpan} range Range to render.
33039
+ * @param {PanConfig} config
32250
33040
  */
32251
- shouldRenderRange(range: TimeSpan): boolean;
33041
+ constructor(config?: PanConfig);
32252
33042
  }
32253
33043
 
32254
33044
  /**
32255
- * Type with available listeners functions for [Pan](https://bryntum.com/products/grid/docs/api/Scheduler/feature/Pan) class.
33045
+ * Type with available listeners functions for [ResourceColumnReorder](https://bryntum.com/products/grid/docs/api/Scheduler/feature/ResourceColumnReorder) class.
32256
33046
  * Could be used for callbacks typings in TypeScript application.
32257
33047
  */
32258
- type PanListenersTypes = {
33048
+ type ResourceColumnReorderListenersTypes = {
32259
33049
  /**
32260
33050
  * Fires before an object is destroyed.
32261
33051
  * @param {object} event Event object
@@ -32265,7 +33055,7 @@ type PanListenersTypes = {
32265
33055
  /**
32266
33056
  * Fires when any other event is fired from the object.
32267
33057
  * ...
32268
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan#event-catchAll)
33058
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder#event-catchAll)
32269
33059
  * @param {object} event Event object
32270
33060
  * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
32271
33061
  * @param {string} event.event.type The type of the event which is caught by the listener
@@ -32292,9 +33082,9 @@ type PanListenersTypes = {
32292
33082
  }
32293
33083
 
32294
33084
  /**
32295
- * Type with listeners options for [Pan](https://bryntum.com/products/grid/docs/api/Scheduler/feature/Pan) class.
33085
+ * Type with listeners options for [ResourceColumnReorder](https://bryntum.com/products/grid/docs/api/Scheduler/feature/ResourceColumnReorder) class.
32296
33086
  */
32297
- type PanListeners = {
33087
+ type ResourceColumnReorderListeners = {
32298
33088
  /**
32299
33089
  * The `this` object for listener methods
32300
33090
  */
@@ -32308,7 +33098,7 @@ type PanListeners = {
32308
33098
  /**
32309
33099
  * Fires when any other event is fired from the object.
32310
33100
  * ...
32311
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan#event-catchAll)
33101
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder#event-catchAll)
32312
33102
  * @param {object} event Event object
32313
33103
  * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
32314
33104
  * @param {string} event.event.type The type of the event which is caught by the listener
@@ -32335,28 +33125,28 @@ type PanListeners = {
32335
33125
  }
32336
33126
 
32337
33127
  /**
32338
- * Type with configuration options for [Pan](https://bryntum.com/products/grid/docs/api/Scheduler/feature/Pan) class.
33128
+ * Type with configuration options for [ResourceColumnReorder](https://bryntum.com/products/grid/docs/api/Scheduler/feature/ResourceColumnReorder) class.
32339
33129
  */
32340
- type PanConfig = {
32341
- type?: 'pan'
33130
+ type ResourceColumnReorderConfig = {
33131
+ type?: 'resourceColumnReorder'|'resourcecolumnreorder'
32342
33132
  /**
32343
33133
  * An object where property names with a truthy value indicate which events should bubble up the ownership
32344
33134
  * hierarchy when triggered.
32345
33135
  * ...
32346
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan#config-bubbleEvents)
33136
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder#config-bubbleEvents)
32347
33137
  */
32348
33138
  bubbleEvents?: object
32349
33139
  /**
32350
33140
  * Set to `true` to call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
32351
33141
  * ...
32352
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan#config-callOnFunctions)
33142
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder#config-callOnFunctions)
32353
33143
  */
32354
33144
  callOnFunctions?: boolean
32355
33145
  /**
32356
33146
  * By default, if an event handler throws an exception, the error propagates up the stack and the
32357
33147
  * application state is undefined. Code which follows the event handler will *not* be executed.
32358
33148
  * ...
32359
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan#config-catchEventHandlerExceptions)
33149
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder#config-catchEventHandlerExceptions)
32360
33150
  */
32361
33151
  catchEventHandlerExceptions?: boolean
32362
33152
  /**
@@ -32366,29 +33156,21 @@ type PanConfig = {
32366
33156
  /**
32367
33157
  * The plugin/feature `disabled` state.
32368
33158
  * ...
32369
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan#config-disabled)
33159
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder#config-disabled)
32370
33160
  */
32371
33161
  disabled?: boolean|'inert'
32372
- /**
32373
- * Set to `false` to not pan horizontally when dragging in the time axis header
32374
- */
32375
- enableInHeader?: boolean
32376
- /**
32377
- * Set to `false` to not pan horizontally
32378
- */
32379
- horizontal?: boolean
32380
33162
  /**
32381
33163
  * The listener set for this object.
32382
33164
  * ...
32383
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan#config-listeners)
33165
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder#config-listeners)
32384
33166
  */
32385
- listeners?: PanListeners
33167
+ listeners?: ResourceColumnReorderListeners
32386
33168
  /**
32387
33169
  * A class translations of which are used for translating this entity.
32388
33170
  * This is often used when translations of an item are defined on its container class.
32389
33171
  * For example:
32390
33172
  * ...
32391
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan#config-localeClass)
33173
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder#config-localeClass)
32392
33174
  */
32393
33175
  localeClass?: typeof Base
32394
33176
  /**
@@ -32401,13 +33183,9 @@ type PanConfig = {
32401
33183
  * you could use 'localeKey' meta configuration.
32402
33184
  * Example:
32403
33185
  * ...
32404
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan#config-localizableProperties)
33186
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder#config-localizableProperties)
32405
33187
  */
32406
33188
  localizableProperties?: string[]
32407
- /**
32408
- * Set to `false` to not pan vertically
32409
- */
32410
- vertical?: boolean
32411
33189
  /**
32412
33190
  * Fires before an object is destroyed.
32413
33191
  * @param {object} event Event object
@@ -32417,7 +33195,7 @@ type PanConfig = {
32417
33195
  /**
32418
33196
  * Fires when any other event is fired from the object.
32419
33197
  * ...
32420
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan#event-catchAll)
33198
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder#event-catchAll)
32421
33199
  * @param {object} event Event object
32422
33200
  * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
32423
33201
  * @param {string} event.event.type The type of the event which is caught by the listener
@@ -32444,35 +33222,21 @@ type PanConfig = {
32444
33222
  }
32445
33223
 
32446
33224
  /**
32447
- * Makes the scheduler's timeline pannable by dragging with the mouse. Try it out in the demo below.
33225
+ * Allows user to reorder resource columns in vertical mode by dragging them. The feature fires various events
33226
+ * during the drag operation (see events below). To get notified about the actual resource reorder, you can also
33227
+ * listen to the `change` event on the scheduler [ResourceStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/ResourceStore).
32448
33228
  * ...
32449
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan)
33229
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder)
32450
33230
  */
32451
- export class Pan extends InstancePlugin {
32452
- /**
32453
- * Identifies an object as an instance of [Pan](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan) class, or subclass thereof.
32454
- */
32455
- static readonly isPan: boolean
32456
- /**
32457
- * Set to `false` to not pan horizontally when dragging in the time axis header
32458
- */
32459
- enableInHeader: boolean
32460
- /**
32461
- * Set to `false` to not pan horizontally
32462
- */
32463
- horizontal: boolean
32464
- /**
32465
- * Yields `true` if a pan gesture is in process.
32466
- */
32467
- readonly isActive: boolean
33231
+ export class ResourceColumnReorder extends InstancePlugin {
32468
33232
  /**
32469
- * Identifies an object as an instance of [Pan](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan) class, or subclass thereof.
33233
+ * Identifies an object as an instance of [ResourceColumnReorder](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder) class, or subclass thereof.
32470
33234
  */
32471
- readonly isPan: boolean
33235
+ static readonly isResourceColumnReorder: boolean
32472
33236
  /**
32473
- * Set to `false` to not pan vertically
33237
+ * Identifies an object as an instance of [ResourceColumnReorder](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder) class, or subclass thereof.
32474
33238
  */
32475
- vertical: boolean
33239
+ readonly isResourceColumnReorder: boolean
32476
33240
  /**
32477
33241
  * Fires before an object is destroyed.
32478
33242
  * @param {object} event Event object
@@ -32482,7 +33246,7 @@ export class Pan extends InstancePlugin {
32482
33246
  /**
32483
33247
  * Fires when any other event is fired from the object.
32484
33248
  * ...
32485
- * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/Pan#event-catchAll)
33249
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder#event-catchAll)
32486
33250
  * @param {object} event Event object
32487
33251
  * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
32488
33252
  * @param {string} event.event.type The type of the event which is caught by the listener
@@ -32496,9 +33260,9 @@ export class Pan extends InstancePlugin {
32496
33260
  onDestroy: ((event: { source: Base }) => void)|string
32497
33261
  /**
32498
33262
  * Creates an instance of the class using the supplied configuration
32499
- * @param {PanConfig} config
33263
+ * @param {ResourceColumnReorderConfig} config
32500
33264
  */
32501
- constructor(config?: PanConfig);
33265
+ constructor(config?: ResourceColumnReorderConfig);
32502
33266
  }
32503
33267
 
32504
33268
  /**
@@ -35074,10 +35838,10 @@ export class SimpleEventEdit extends InstancePlugin {
35074
35838
  /**
35075
35839
  * Opens an Editor for the passed event. This function is exposed on Scheduler and can be called as
35076
35840
  * `scheduler.editEvent()`.
35077
- * @param {Scheduler.model.EventModel} eventRecord The Event to edit
35841
+ * @param {Scheduler.model.EventModel,string,number} eventRecord Event to edit or the id of the eventRecord. When a String or Number is passed, it must be the id of an event that exists in the Scheduler's event store.
35078
35842
  * @param {Scheduler.model.ResourceModel} resourceRecord The Resource record for the event.
35079
35843
  */
35080
- editEvent(eventRecord: EventModel, resourceRecord?: ResourceModel): Promise<void>;
35844
+ editEvent(eventRecord: EventModel|string|number, resourceRecord?: ResourceModel): Promise<void>;
35081
35845
  }
35082
35846
 
35083
35847
  /**
@@ -38741,6 +39505,10 @@ type TooltipBaseConfig = {
38741
39505
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/base/TooltipBase#config-bodyCls)
38742
39506
  */
38743
39507
  bodyCls?: string|object
39508
+ /**
39509
+ * Set `true` to add a border to this container's element.
39510
+ */
39511
+ border?: boolean
38744
39512
  /**
38745
39513
  * An object where property names with a truthy value indicate which events should bubble up the ownership
38746
39514
  * hierarchy when triggered.
@@ -38813,7 +39581,7 @@ type TooltipBaseConfig = {
38813
39581
  * ...
38814
39582
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/base/TooltipBase#config-color)
38815
39583
  */
38816
- color?: string
39584
+ color?: Color
38817
39585
  /**
38818
39586
  * Programmatic control over which column to start in when used in a grid layout.
38819
39587
  */
@@ -42975,6 +43743,10 @@ export class DependencyBaseModel extends Model {
42975
43743
  * Dependency type, see static property [Type](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/DependencyBaseModel#property-Type-static)
42976
43744
  */
42977
43745
  type: number
43746
+ /**
43747
+ * Returns the default dependency type value from the model's field definition.
43748
+ */
43749
+ static getDefaultType(): number;
42978
43750
  /**
42979
43751
  * Returns dependency hard type, see [hardType](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/DependencyBaseModel#property-hardType).
42980
43752
  */
@@ -43894,6 +44666,12 @@ type ProjectModelConfig = {
43894
44666
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel)
43895
44667
  */
43896
44668
  export class ProjectModel extends Model {
44669
+ /**
44670
+ * Class name getter.
44671
+ * Used when original ES6 class name is minified or mangled during production build.
44672
+ * Should be overridden in each class which extends Model or it descendants.
44673
+ */
44674
+ static $name: string
43897
44675
  /**
43898
44676
  * An array containing all the *defined* fields for this Model class. This will include all superclass's
43899
44677
  * defined fields.
@@ -44003,6 +44781,11 @@ export class ProjectModel extends Model {
44003
44781
  * tasks.
44004
44782
  */
44005
44783
  readonly children: boolean|object[]|Model[]
44784
+ /**
44785
+ * Returns the string value for display purposes of an instance of this Model class. Needs to be overridden in
44786
+ * subclasses.
44787
+ */
44788
+ readonly classDisplayName: string
44006
44789
  /**
44007
44790
  * Returns a *copy* of the full configuration which was used to configure this object.
44008
44791
  */
@@ -45141,7 +45924,7 @@ export class ResourceModel extends GridRowModel {
45141
45924
  */
45142
45925
  resourceMargin: number|ResourceMarginConfig
45143
45926
  /**
45144
- * Base height of this resource, in px. When unset, Schedulers configured rowHeight is used.
45927
+ * The base height of this resource, in px. When unset, Schedulers configured rowHeight is used.
45145
45928
  */
45146
45929
  rowHeight: number
45147
45930
  /**
@@ -46814,7 +47597,7 @@ type ResourceModelMixinClassConfig = {
46814
47597
  */
46815
47598
  resourceMargin?: number|ResourceMarginConfig
46816
47599
  /**
46817
- * Base height of this resource, in px. When unset, Schedulers configured rowHeight is used.
47600
+ * The base height of this resource, in px. When unset, Schedulers configured rowHeight is used.
46818
47601
  * ...
46819
47602
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/mixin/ResourceModelMixin#config-rowHeight)
46820
47603
  */
@@ -46907,7 +47690,7 @@ export class ResourceModelMixinClass {
46907
47690
  */
46908
47691
  resourceMargin: number|ResourceMarginConfig
46909
47692
  /**
46910
- * Base height of this resource, in px. When unset, Schedulers configured rowHeight is used.
47693
+ * The base height of this resource, in px. When unset, Schedulers configured rowHeight is used.
46911
47694
  */
46912
47695
  rowHeight: number
46913
47696
  /**
@@ -50120,6 +50903,10 @@ type EventEditorConfig = {
50120
50903
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/EventEditor#config-bodyCls)
50121
50904
  */
50122
50905
  bodyCls?: string|object
50906
+ /**
50907
+ * Set `true` to add a border to this container's element.
50908
+ */
50909
+ border?: boolean
50123
50910
  /**
50124
50911
  * An object where property names with a truthy value indicate which events should bubble up the ownership
50125
50912
  * hierarchy when triggered.
@@ -50188,7 +50975,7 @@ type EventEditorConfig = {
50188
50975
  * ...
50189
50976
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/EventEditor#config-color)
50190
50977
  */
50191
- color?: string
50978
+ color?: Color
50192
50979
  /**
50193
50980
  * Programmatic control over which column to start in when used in a grid layout.
50194
50981
  */
@@ -51339,7 +52126,7 @@ type ResourceHeaderConfig = {
51339
52126
  * ...
51340
52127
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/ResourceHeader#config-color)
51341
52128
  */
51342
- color?: string
52129
+ color?: Color
51343
52130
  /**
51344
52131
  * Programmatic control over which column to start in when used in a grid layout.
51345
52132
  */
@@ -53692,6 +54479,70 @@ type SchedulerListenersTypes = {
53692
54479
  * @param {number} event.oldHeight The old height
53693
54480
  */
53694
54481
  resize: (event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void
54482
+ /**
54483
+ * Fired before dragging starts, return `false` to prevent the drag operation.
54484
+ * @param {object} event Event object
54485
+ * @param {Scheduler.view.Scheduler} event.source
54486
+ * @param {object} event.context
54487
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
54488
+ * @param {MouseEvent,TouchEvent} event.event
54489
+ */
54490
+ resourceColumnBeforeDragStart: (event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => Promise<boolean>|boolean|void
54491
+ /**
54492
+ * Fired before the drop is finalized. You can return `false` or a Promise that resolves to `false`
54493
+ * to cancel the drop operation.
54494
+ * @param {object} event Event object
54495
+ * @param {Scheduler.view.Scheduler} event.source
54496
+ * @param {object} event.context
54497
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
54498
+ * @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before
54499
+ * @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
54500
+ * @param {MouseEvent} event.event
54501
+ */
54502
+ resourceColumnBeforeDropFinalize: (event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model }, event: MouseEvent }) => Promise<boolean>|boolean|void
54503
+ /**
54504
+ * Fired while the resource column is being dragged. You can signal that the drop position is
54505
+ * valid or invalid by setting `context.valid = false;`
54506
+ * @param {object} event Event object
54507
+ * @param {Scheduler.view.Scheduler} event.source
54508
+ * @param {object} event.context
54509
+ * @param {boolean} event.context.valid Set this to `true` or `false` to indicate whether the drop position is valid
54510
+ * @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before (`null` if inserting at last position)
54511
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
54512
+ * @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
54513
+ * @param {MouseEvent} event.event
54514
+ */
54515
+ resourceColumnDrag: (event: { source: Scheduler, context: { valid: boolean, insertBefore: ResourceModel, resource: ResourceModel, targetGroup: Model }, event: MouseEvent }) => void
54516
+ /**
54517
+ * Fired when drag is aborted
54518
+ * @param {object} event Event object
54519
+ * @param {Scheduler.view.Scheduler} event.source
54520
+ * @param {object} event.context
54521
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
54522
+ * @param {MouseEvent} event.event
54523
+ */
54524
+ resourceColumnDragAbort: (event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent }) => void
54525
+ /**
54526
+ * Fired when dragging starts.
54527
+ * @param {object} event Event object
54528
+ * @param {Scheduler.view.Scheduler} event.source
54529
+ * @param {object} event.context
54530
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
54531
+ * @param {MouseEvent,TouchEvent} event.event
54532
+ */
54533
+ resourceColumnDragStart: (event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => void
54534
+ /**
54535
+ * Fired after drop
54536
+ * @param {object} event Event object
54537
+ * @param {Scheduler.view.Scheduler} event.source
54538
+ * @param {object} event.context
54539
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
54540
+ * @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource that was inserted before
54541
+ * @param {Core.data.Model} 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.
54542
+ * @param {boolean} event.context.valid `true` if the drop was valid, `false` otherwise
54543
+ * @param {MouseEvent} event.event
54544
+ */
54545
+ resourceColumnDrop: (event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model, valid: boolean }, event: MouseEvent }) => void
53695
54546
  /**
53696
54547
  * Fired when clicking a resource header cell
53697
54548
  * @param {object} event Event object
@@ -56165,6 +57016,70 @@ type SchedulerListeners = {
56165
57016
  * @param {number} event.oldHeight The old height
56166
57017
  */
56167
57018
  resize?: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string
57019
+ /**
57020
+ * Fired before dragging starts, return `false` to prevent the drag operation.
57021
+ * @param {object} event Event object
57022
+ * @param {Scheduler.view.Scheduler} event.source
57023
+ * @param {object} event.context
57024
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
57025
+ * @param {MouseEvent,TouchEvent} event.event
57026
+ */
57027
+ resourceColumnBeforeDragStart?: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => Promise<boolean>|boolean|void)|string
57028
+ /**
57029
+ * Fired before the drop is finalized. You can return `false` or a Promise that resolves to `false`
57030
+ * to cancel the drop operation.
57031
+ * @param {object} event Event object
57032
+ * @param {Scheduler.view.Scheduler} event.source
57033
+ * @param {object} event.context
57034
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
57035
+ * @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before
57036
+ * @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
57037
+ * @param {MouseEvent} event.event
57038
+ */
57039
+ resourceColumnBeforeDropFinalize?: ((event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model }, event: MouseEvent }) => Promise<boolean>|boolean|void)|string
57040
+ /**
57041
+ * Fired while the resource column is being dragged. You can signal that the drop position is
57042
+ * valid or invalid by setting `context.valid = false;`
57043
+ * @param {object} event Event object
57044
+ * @param {Scheduler.view.Scheduler} event.source
57045
+ * @param {object} event.context
57046
+ * @param {boolean} event.context.valid Set this to `true` or `false` to indicate whether the drop position is valid
57047
+ * @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before (`null` if inserting at last position)
57048
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
57049
+ * @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
57050
+ * @param {MouseEvent} event.event
57051
+ */
57052
+ resourceColumnDrag?: ((event: { source: Scheduler, context: { valid: boolean, insertBefore: ResourceModel, resource: ResourceModel, targetGroup: Model }, event: MouseEvent }) => void)|string
57053
+ /**
57054
+ * Fired when drag is aborted
57055
+ * @param {object} event Event object
57056
+ * @param {Scheduler.view.Scheduler} event.source
57057
+ * @param {object} event.context
57058
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
57059
+ * @param {MouseEvent} event.event
57060
+ */
57061
+ resourceColumnDragAbort?: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent }) => void)|string
57062
+ /**
57063
+ * Fired when dragging starts.
57064
+ * @param {object} event Event object
57065
+ * @param {Scheduler.view.Scheduler} event.source
57066
+ * @param {object} event.context
57067
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
57068
+ * @param {MouseEvent,TouchEvent} event.event
57069
+ */
57070
+ resourceColumnDragStart?: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => void)|string
57071
+ /**
57072
+ * Fired after drop
57073
+ * @param {object} event Event object
57074
+ * @param {Scheduler.view.Scheduler} event.source
57075
+ * @param {object} event.context
57076
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
57077
+ * @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource that was inserted before
57078
+ * @param {Core.data.Model} 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.
57079
+ * @param {boolean} event.context.valid `true` if the drop was valid, `false` otherwise
57080
+ * @param {MouseEvent} event.event
57081
+ */
57082
+ resourceColumnDrop?: ((event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model, valid: boolean }, event: MouseEvent }) => void)|string
56168
57083
  /**
56169
57084
  * Fired when clicking a resource header cell
56170
57085
  * @param {object} event Event object
@@ -56860,6 +57775,7 @@ type SchedulerListeners = {
56860
57775
  }
56861
57776
 
56862
57777
  type SchedulerFeaturesType = {
57778
+ ai: AI
56863
57779
  aiFilter: AIFilter
56864
57780
  cellCopyPaste: CellCopyPaste
56865
57781
  cellEdit: CellEdit
@@ -56905,6 +57821,7 @@ type SchedulerFeaturesType = {
56905
57821
  print: Print
56906
57822
  quickFind: QuickFind
56907
57823
  regionResize: RegionResize
57824
+ resourceColumnReorder: ResourceColumnReorder
56908
57825
  resourceMenu: ResourceMenu
56909
57826
  resourceTimeRanges: ResourceTimeRanges
56910
57827
  rowCopyPaste: RowCopyPaste
@@ -56933,6 +57850,7 @@ type SchedulerFeaturesType = {
56933
57850
  }
56934
57851
 
56935
57852
  type SchedulerFeaturesConfigType = {
57853
+ ai?: string|boolean|AIConfig
56936
57854
  aiFilter?: string|boolean|AIFilterConfig
56937
57855
  cellCopyPaste?: string|boolean|CellCopyPasteConfig
56938
57856
  cellEdit?: string|boolean|CellEditConfig
@@ -56978,6 +57896,7 @@ type SchedulerFeaturesConfigType = {
56978
57896
  print?: string|boolean|PrintConfig
56979
57897
  quickFind?: string|boolean|QuickFindConfig
56980
57898
  regionResize?: string|boolean|RegionResizeConfig
57899
+ resourceColumnReorder?: string|boolean|ResourceColumnReorderConfig
56981
57900
  resourceMenu?: string|boolean|ResourceMenuConfig
56982
57901
  resourceTimeRanges?: string|boolean|ResourceTimeRangesConfig
56983
57902
  rowCopyPaste?: string|boolean|RowCopyPasteConfig
@@ -57134,6 +58053,10 @@ type SchedulerConfig = {
57134
58053
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/Scheduler#config-bodyCls)
57135
58054
  */
57136
58055
  bodyCls?: string|object
58056
+ /**
58057
+ * Set `true` to add a border to this container's element.
58058
+ */
58059
+ border?: boolean
57137
58060
  /**
57138
58061
  * An object where property names with a truthy value indicate which events should bubble up the ownership
57139
58062
  * hierarchy when triggered.
@@ -57199,7 +58122,7 @@ type SchedulerConfig = {
57199
58122
  * ...
57200
58123
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/Scheduler#config-color)
57201
58124
  */
57202
- color?: string
58125
+ color?: Color
57203
58126
  /**
57204
58127
  * Programmatic control over which column to start in when used in a grid layout.
57205
58128
  */
@@ -57700,6 +58623,10 @@ type SchedulerConfig = {
57700
58623
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/Scheduler#config-infiniteScroll)
57701
58624
  */
57702
58625
  infiniteScroll?: boolean
58626
+ /**
58627
+ * Set to true for child nodes in a tree store to inherit their parent´s `eventColor`
58628
+ */
58629
+ inheritEventColor?: boolean
57703
58630
  /**
57704
58631
  * Maximum duration (in milliseconds) for the initial animation controlled by [useInitialAnimation](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/SchedulerEventRendering#config-useInitialAnimation).
57705
58632
  */
@@ -57945,7 +58872,7 @@ type SchedulerConfig = {
57945
58872
  * ...
57946
58873
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/Scheduler#config-partner)
57947
58874
  */
57948
- partner?: TimelineBase
58875
+ partner?: TimelineBase|string
57949
58876
  /**
57950
58877
  * Set to `true` to include `startDate` and `endDate` params indicating the currently viewed date range in
57951
58878
  * `EventStore` load requests (when loading using `AjaxStore` or `CrudManager` functionality).
@@ -60351,6 +61278,70 @@ type SchedulerConfig = {
60351
61278
  * @param {number} event.oldHeight The old height
60352
61279
  */
60353
61280
  onResize?: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string
61281
+ /**
61282
+ * Fired before dragging starts, return `false` to prevent the drag operation.
61283
+ * @param {object} event Event object
61284
+ * @param {Scheduler.view.Scheduler} event.source
61285
+ * @param {object} event.context
61286
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
61287
+ * @param {MouseEvent,TouchEvent} event.event
61288
+ */
61289
+ onResourceColumnBeforeDragStart?: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => Promise<boolean>|boolean|void)|string
61290
+ /**
61291
+ * Fired before the drop is finalized. You can return `false` or a Promise that resolves to `false`
61292
+ * to cancel the drop operation.
61293
+ * @param {object} event Event object
61294
+ * @param {Scheduler.view.Scheduler} event.source
61295
+ * @param {object} event.context
61296
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
61297
+ * @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before
61298
+ * @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
61299
+ * @param {MouseEvent} event.event
61300
+ */
61301
+ onResourceColumnBeforeDropFinalize?: ((event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model }, event: MouseEvent }) => Promise<boolean>|boolean|void)|string
61302
+ /**
61303
+ * Fired while the resource column is being dragged. You can signal that the drop position is
61304
+ * valid or invalid by setting `context.valid = false;`
61305
+ * @param {object} event Event object
61306
+ * @param {Scheduler.view.Scheduler} event.source
61307
+ * @param {object} event.context
61308
+ * @param {boolean} event.context.valid Set this to `true` or `false` to indicate whether the drop position is valid
61309
+ * @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before (`null` if inserting at last position)
61310
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
61311
+ * @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
61312
+ * @param {MouseEvent} event.event
61313
+ */
61314
+ onResourceColumnDrag?: ((event: { source: Scheduler, context: { valid: boolean, insertBefore: ResourceModel, resource: ResourceModel, targetGroup: Model }, event: MouseEvent }) => void)|string
61315
+ /**
61316
+ * Fired when drag is aborted
61317
+ * @param {object} event Event object
61318
+ * @param {Scheduler.view.Scheduler} event.source
61319
+ * @param {object} event.context
61320
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
61321
+ * @param {MouseEvent} event.event
61322
+ */
61323
+ onResourceColumnDragAbort?: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent }) => void)|string
61324
+ /**
61325
+ * Fired when dragging starts.
61326
+ * @param {object} event Event object
61327
+ * @param {Scheduler.view.Scheduler} event.source
61328
+ * @param {object} event.context
61329
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
61330
+ * @param {MouseEvent,TouchEvent} event.event
61331
+ */
61332
+ onResourceColumnDragStart?: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => void)|string
61333
+ /**
61334
+ * Fired after drop
61335
+ * @param {object} event Event object
61336
+ * @param {Scheduler.view.Scheduler} event.source
61337
+ * @param {object} event.context
61338
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
61339
+ * @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource that was inserted before
61340
+ * @param {Core.data.Model} 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.
61341
+ * @param {boolean} event.context.valid `true` if the drop was valid, `false` otherwise
61342
+ * @param {MouseEvent} event.event
61343
+ */
61344
+ onResourceColumnDrop?: ((event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model, valid: boolean }, event: MouseEvent }) => void)|string
60354
61345
  /**
60355
61346
  * Fired when clicking a resource header cell
60356
61347
  * @param {object} event Event object
@@ -63457,6 +64448,70 @@ type SchedulerBaseListenersTypes = {
63457
64448
  * @param {number} event.oldHeight The old height
63458
64449
  */
63459
64450
  resize: (event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void
64451
+ /**
64452
+ * Fired before dragging starts, return `false` to prevent the drag operation.
64453
+ * @param {object} event Event object
64454
+ * @param {Scheduler.view.Scheduler} event.source
64455
+ * @param {object} event.context
64456
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
64457
+ * @param {MouseEvent,TouchEvent} event.event
64458
+ */
64459
+ resourceColumnBeforeDragStart: (event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => Promise<boolean>|boolean|void
64460
+ /**
64461
+ * Fired before the drop is finalized. You can return `false` or a Promise that resolves to `false`
64462
+ * to cancel the drop operation.
64463
+ * @param {object} event Event object
64464
+ * @param {Scheduler.view.Scheduler} event.source
64465
+ * @param {object} event.context
64466
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
64467
+ * @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before
64468
+ * @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
64469
+ * @param {MouseEvent} event.event
64470
+ */
64471
+ resourceColumnBeforeDropFinalize: (event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model }, event: MouseEvent }) => Promise<boolean>|boolean|void
64472
+ /**
64473
+ * Fired while the resource column is being dragged. You can signal that the drop position is
64474
+ * valid or invalid by setting `context.valid = false;`
64475
+ * @param {object} event Event object
64476
+ * @param {Scheduler.view.Scheduler} event.source
64477
+ * @param {object} event.context
64478
+ * @param {boolean} event.context.valid Set this to `true` or `false` to indicate whether the drop position is valid
64479
+ * @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before (`null` if inserting at last position)
64480
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
64481
+ * @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
64482
+ * @param {MouseEvent} event.event
64483
+ */
64484
+ resourceColumnDrag: (event: { source: Scheduler, context: { valid: boolean, insertBefore: ResourceModel, resource: ResourceModel, targetGroup: Model }, event: MouseEvent }) => void
64485
+ /**
64486
+ * Fired when drag is aborted
64487
+ * @param {object} event Event object
64488
+ * @param {Scheduler.view.Scheduler} event.source
64489
+ * @param {object} event.context
64490
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
64491
+ * @param {MouseEvent} event.event
64492
+ */
64493
+ resourceColumnDragAbort: (event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent }) => void
64494
+ /**
64495
+ * Fired when dragging starts.
64496
+ * @param {object} event Event object
64497
+ * @param {Scheduler.view.Scheduler} event.source
64498
+ * @param {object} event.context
64499
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
64500
+ * @param {MouseEvent,TouchEvent} event.event
64501
+ */
64502
+ resourceColumnDragStart: (event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => void
64503
+ /**
64504
+ * Fired after drop
64505
+ * @param {object} event Event object
64506
+ * @param {Scheduler.view.Scheduler} event.source
64507
+ * @param {object} event.context
64508
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
64509
+ * @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource that was inserted before
64510
+ * @param {Core.data.Model} 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.
64511
+ * @param {boolean} event.context.valid `true` if the drop was valid, `false` otherwise
64512
+ * @param {MouseEvent} event.event
64513
+ */
64514
+ resourceColumnDrop: (event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model, valid: boolean }, event: MouseEvent }) => void
63460
64515
  /**
63461
64516
  * Fired when clicking a resource header cell
63462
64517
  * @param {object} event Event object
@@ -65930,6 +66985,70 @@ type SchedulerBaseListeners = {
65930
66985
  * @param {number} event.oldHeight The old height
65931
66986
  */
65932
66987
  resize?: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string
66988
+ /**
66989
+ * Fired before dragging starts, return `false` to prevent the drag operation.
66990
+ * @param {object} event Event object
66991
+ * @param {Scheduler.view.Scheduler} event.source
66992
+ * @param {object} event.context
66993
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
66994
+ * @param {MouseEvent,TouchEvent} event.event
66995
+ */
66996
+ resourceColumnBeforeDragStart?: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => Promise<boolean>|boolean|void)|string
66997
+ /**
66998
+ * Fired before the drop is finalized. You can return `false` or a Promise that resolves to `false`
66999
+ * to cancel the drop operation.
67000
+ * @param {object} event Event object
67001
+ * @param {Scheduler.view.Scheduler} event.source
67002
+ * @param {object} event.context
67003
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
67004
+ * @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before
67005
+ * @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
67006
+ * @param {MouseEvent} event.event
67007
+ */
67008
+ resourceColumnBeforeDropFinalize?: ((event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model }, event: MouseEvent }) => Promise<boolean>|boolean|void)|string
67009
+ /**
67010
+ * Fired while the resource column is being dragged. You can signal that the drop position is
67011
+ * valid or invalid by setting `context.valid = false;`
67012
+ * @param {object} event Event object
67013
+ * @param {Scheduler.view.Scheduler} event.source
67014
+ * @param {object} event.context
67015
+ * @param {boolean} event.context.valid Set this to `true` or `false` to indicate whether the drop position is valid
67016
+ * @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before (`null` if inserting at last position)
67017
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
67018
+ * @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
67019
+ * @param {MouseEvent} event.event
67020
+ */
67021
+ resourceColumnDrag?: ((event: { source: Scheduler, context: { valid: boolean, insertBefore: ResourceModel, resource: ResourceModel, targetGroup: Model }, event: MouseEvent }) => void)|string
67022
+ /**
67023
+ * Fired when drag is aborted
67024
+ * @param {object} event Event object
67025
+ * @param {Scheduler.view.Scheduler} event.source
67026
+ * @param {object} event.context
67027
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
67028
+ * @param {MouseEvent} event.event
67029
+ */
67030
+ resourceColumnDragAbort?: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent }) => void)|string
67031
+ /**
67032
+ * Fired when dragging starts.
67033
+ * @param {object} event Event object
67034
+ * @param {Scheduler.view.Scheduler} event.source
67035
+ * @param {object} event.context
67036
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
67037
+ * @param {MouseEvent,TouchEvent} event.event
67038
+ */
67039
+ resourceColumnDragStart?: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => void)|string
67040
+ /**
67041
+ * Fired after drop
67042
+ * @param {object} event Event object
67043
+ * @param {Scheduler.view.Scheduler} event.source
67044
+ * @param {object} event.context
67045
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
67046
+ * @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource that was inserted before
67047
+ * @param {Core.data.Model} 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.
67048
+ * @param {boolean} event.context.valid `true` if the drop was valid, `false` otherwise
67049
+ * @param {MouseEvent} event.event
67050
+ */
67051
+ resourceColumnDrop?: ((event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model, valid: boolean }, event: MouseEvent }) => void)|string
65933
67052
  /**
65934
67053
  * Fired when clicking a resource header cell
65935
67054
  * @param {object} event Event object
@@ -66625,6 +67744,7 @@ type SchedulerBaseListeners = {
66625
67744
  }
66626
67745
 
66627
67746
  type SchedulerBaseFeaturesType = {
67747
+ ai: AI
66628
67748
  aiFilter: AIFilter
66629
67749
  cellCopyPaste: CellCopyPaste
66630
67750
  cellEdit: CellEdit
@@ -66670,6 +67790,7 @@ type SchedulerBaseFeaturesType = {
66670
67790
  print: Print
66671
67791
  quickFind: QuickFind
66672
67792
  regionResize: RegionResize
67793
+ resourceColumnReorder: ResourceColumnReorder
66673
67794
  resourceMenu: ResourceMenu
66674
67795
  resourceTimeRanges: ResourceTimeRanges
66675
67796
  rowCopyPaste: RowCopyPaste
@@ -66698,6 +67819,7 @@ type SchedulerBaseFeaturesType = {
66698
67819
  }
66699
67820
 
66700
67821
  type SchedulerBaseFeaturesConfigType = {
67822
+ ai?: string|boolean|AIConfig
66701
67823
  aiFilter?: string|boolean|AIFilterConfig
66702
67824
  cellCopyPaste?: string|boolean|CellCopyPasteConfig
66703
67825
  cellEdit?: string|boolean|CellEditConfig
@@ -66743,6 +67865,7 @@ type SchedulerBaseFeaturesConfigType = {
66743
67865
  print?: string|boolean|PrintConfig
66744
67866
  quickFind?: string|boolean|QuickFindConfig
66745
67867
  regionResize?: string|boolean|RegionResizeConfig
67868
+ resourceColumnReorder?: string|boolean|ResourceColumnReorderConfig
66746
67869
  resourceMenu?: string|boolean|ResourceMenuConfig
66747
67870
  resourceTimeRanges?: string|boolean|ResourceTimeRangesConfig
66748
67871
  rowCopyPaste?: string|boolean|RowCopyPasteConfig
@@ -66898,6 +68021,10 @@ type SchedulerBaseConfig = {
66898
68021
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/SchedulerBase#config-bodyCls)
66899
68022
  */
66900
68023
  bodyCls?: string|object
68024
+ /**
68025
+ * Set `true` to add a border to this container's element.
68026
+ */
68027
+ border?: boolean
66901
68028
  /**
66902
68029
  * An object where property names with a truthy value indicate which events should bubble up the ownership
66903
68030
  * hierarchy when triggered.
@@ -66963,7 +68090,7 @@ type SchedulerBaseConfig = {
66963
68090
  * ...
66964
68091
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/SchedulerBase#config-color)
66965
68092
  */
66966
- color?: string
68093
+ color?: Color
66967
68094
  /**
66968
68095
  * Programmatic control over which column to start in when used in a grid layout.
66969
68096
  */
@@ -67464,6 +68591,10 @@ type SchedulerBaseConfig = {
67464
68591
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/SchedulerBase#config-infiniteScroll)
67465
68592
  */
67466
68593
  infiniteScroll?: boolean
68594
+ /**
68595
+ * Set to true for child nodes in a tree store to inherit their parent´s `eventColor`
68596
+ */
68597
+ inheritEventColor?: boolean
67467
68598
  /**
67468
68599
  * Maximum duration (in milliseconds) for the initial animation controlled by [useInitialAnimation](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/SchedulerEventRendering#config-useInitialAnimation).
67469
68600
  */
@@ -67709,7 +68840,7 @@ type SchedulerBaseConfig = {
67709
68840
  * ...
67710
68841
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/SchedulerBase#config-partner)
67711
68842
  */
67712
- partner?: TimelineBase
68843
+ partner?: TimelineBase|string
67713
68844
  /**
67714
68845
  * Set to `true` to include `startDate` and `endDate` params indicating the currently viewed date range in
67715
68846
  * `EventStore` load requests (when loading using `AjaxStore` or `CrudManager` functionality).
@@ -70115,6 +71246,70 @@ type SchedulerBaseConfig = {
70115
71246
  * @param {number} event.oldHeight The old height
70116
71247
  */
70117
71248
  onResize?: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string
71249
+ /**
71250
+ * Fired before dragging starts, return `false` to prevent the drag operation.
71251
+ * @param {object} event Event object
71252
+ * @param {Scheduler.view.Scheduler} event.source
71253
+ * @param {object} event.context
71254
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
71255
+ * @param {MouseEvent,TouchEvent} event.event
71256
+ */
71257
+ onResourceColumnBeforeDragStart?: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => Promise<boolean>|boolean|void)|string
71258
+ /**
71259
+ * Fired before the drop is finalized. You can return `false` or a Promise that resolves to `false`
71260
+ * to cancel the drop operation.
71261
+ * @param {object} event Event object
71262
+ * @param {Scheduler.view.Scheduler} event.source
71263
+ * @param {object} event.context
71264
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
71265
+ * @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before
71266
+ * @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
71267
+ * @param {MouseEvent} event.event
71268
+ */
71269
+ onResourceColumnBeforeDropFinalize?: ((event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model }, event: MouseEvent }) => Promise<boolean>|boolean|void)|string
71270
+ /**
71271
+ * Fired while the resource column is being dragged. You can signal that the drop position is
71272
+ * valid or invalid by setting `context.valid = false;`
71273
+ * @param {object} event Event object
71274
+ * @param {Scheduler.view.Scheduler} event.source
71275
+ * @param {object} event.context
71276
+ * @param {boolean} event.context.valid Set this to `true` or `false` to indicate whether the drop position is valid
71277
+ * @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before (`null` if inserting at last position)
71278
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
71279
+ * @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
71280
+ * @param {MouseEvent} event.event
71281
+ */
71282
+ onResourceColumnDrag?: ((event: { source: Scheduler, context: { valid: boolean, insertBefore: ResourceModel, resource: ResourceModel, targetGroup: Model }, event: MouseEvent }) => void)|string
71283
+ /**
71284
+ * Fired when drag is aborted
71285
+ * @param {object} event Event object
71286
+ * @param {Scheduler.view.Scheduler} event.source
71287
+ * @param {object} event.context
71288
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
71289
+ * @param {MouseEvent} event.event
71290
+ */
71291
+ onResourceColumnDragAbort?: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent }) => void)|string
71292
+ /**
71293
+ * Fired when dragging starts.
71294
+ * @param {object} event Event object
71295
+ * @param {Scheduler.view.Scheduler} event.source
71296
+ * @param {object} event.context
71297
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
71298
+ * @param {MouseEvent,TouchEvent} event.event
71299
+ */
71300
+ onResourceColumnDragStart?: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => void)|string
71301
+ /**
71302
+ * Fired after drop
71303
+ * @param {object} event Event object
71304
+ * @param {Scheduler.view.Scheduler} event.source
71305
+ * @param {object} event.context
71306
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
71307
+ * @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource that was inserted before
71308
+ * @param {Core.data.Model} 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.
71309
+ * @param {boolean} event.context.valid `true` if the drop was valid, `false` otherwise
71310
+ * @param {MouseEvent} event.event
71311
+ */
71312
+ onResourceColumnDrop?: ((event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model, valid: boolean }, event: MouseEvent }) => void)|string
70118
71313
  /**
70119
71314
  * Fired when clicking a resource header cell
70120
71315
  * @param {object} event Event object
@@ -71081,6 +72276,10 @@ export class SchedulerBase extends TimelineBase {
71081
72276
  * when the scroller comes close to the start/end edges.
71082
72277
  */
71083
72278
  infiniteScroll: boolean
72279
+ /**
72280
+ * Set to true for child nodes in a tree store to inherit their parent´s `eventColor`
72281
+ */
72282
+ inheritEventColor: boolean
71084
72283
  /**
71085
72284
  * Maximum duration (in milliseconds) for the initial animation controlled by [useInitialAnimation](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/SchedulerEventRendering#config-useInitialAnimation).
71086
72285
  */
@@ -72508,6 +73707,70 @@ export class SchedulerBase extends TimelineBase {
72508
73707
  * @param {HTMLElement} event.element The event bar element
72509
73708
  */
72510
73709
  onRenderEvent: ((event: { source: Scheduler, eventRecord: EventModel, resourceRecord: ResourceModel, assignmentRecord: AssignmentModel, renderData: object, isRepaint: boolean, isReusingElement: boolean, element: HTMLElement }) => void)|string
73710
+ /**
73711
+ * Fired before dragging starts, return `false` to prevent the drag operation.
73712
+ * @param {object} event Event object
73713
+ * @param {Scheduler.view.Scheduler} event.source
73714
+ * @param {object} event.context
73715
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
73716
+ * @param {MouseEvent,TouchEvent} event.event
73717
+ */
73718
+ onResourceColumnBeforeDragStart: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => Promise<boolean>|boolean|void)|string
73719
+ /**
73720
+ * Fired before the drop is finalized. You can return `false` or a Promise that resolves to `false`
73721
+ * to cancel the drop operation.
73722
+ * @param {object} event Event object
73723
+ * @param {Scheduler.view.Scheduler} event.source
73724
+ * @param {object} event.context
73725
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
73726
+ * @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before
73727
+ * @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
73728
+ * @param {MouseEvent} event.event
73729
+ */
73730
+ onResourceColumnBeforeDropFinalize: ((event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model }, event: MouseEvent }) => Promise<boolean>|boolean|void)|string
73731
+ /**
73732
+ * Fired while the resource column is being dragged. You can signal that the drop position is
73733
+ * valid or invalid by setting `context.valid = false;`
73734
+ * @param {object} event Event object
73735
+ * @param {Scheduler.view.Scheduler} event.source
73736
+ * @param {object} event.context
73737
+ * @param {boolean} event.context.valid Set this to `true` or `false` to indicate whether the drop position is valid
73738
+ * @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource to insert before (`null` if inserting at last position)
73739
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
73740
+ * @param {Core.data.Model} event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
73741
+ * @param {MouseEvent} event.event
73742
+ */
73743
+ onResourceColumnDrag: ((event: { source: Scheduler, context: { valid: boolean, insertBefore: ResourceModel, resource: ResourceModel, targetGroup: Model }, event: MouseEvent }) => void)|string
73744
+ /**
73745
+ * Fired when drag is aborted
73746
+ * @param {object} event Event object
73747
+ * @param {Scheduler.view.Scheduler} event.source
73748
+ * @param {object} event.context
73749
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
73750
+ * @param {MouseEvent} event.event
73751
+ */
73752
+ onResourceColumnDragAbort: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent }) => void)|string
73753
+ /**
73754
+ * Fired when dragging starts.
73755
+ * @param {object} event Event object
73756
+ * @param {Scheduler.view.Scheduler} event.source
73757
+ * @param {object} event.context
73758
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
73759
+ * @param {MouseEvent,TouchEvent} event.event
73760
+ */
73761
+ onResourceColumnDragStart: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => void)|string
73762
+ /**
73763
+ * Fired after drop
73764
+ * @param {object} event Event object
73765
+ * @param {Scheduler.view.Scheduler} event.source
73766
+ * @param {object} event.context
73767
+ * @param {Scheduler.model.ResourceModel} event.context.resource The dragged resource
73768
+ * @param {Scheduler.model.ResourceModel} event.context.insertBefore The resource that was inserted before
73769
+ * @param {Core.data.Model} 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.
73770
+ * @param {boolean} event.context.valid `true` if the drop was valid, `false` otherwise
73771
+ * @param {MouseEvent} event.event
73772
+ */
73773
+ onResourceColumnDrop: ((event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model, valid: boolean }, event: MouseEvent }) => void)|string
72511
73774
  /**
72512
73775
  * Fired when clicking a resource header cell
72513
73776
  * @param {object} event Event object
@@ -73100,11 +74363,11 @@ export class SchedulerBase extends TimelineBase {
73100
74363
  deselectEvents(events: EventModel[]): void;
73101
74364
  /**
73102
74365
  * Opens an editor UI to edit the passed event, or a config object for a new event.
73103
- * @param {Scheduler.model.EventModel,EventModelConfig} eventRecord Event to edit
74366
+ * @param {Scheduler.model.EventModel,EventModelConfig,string,number} eventRecord Event to edit
73104
74367
  * @param {Scheduler.model.ResourceModel} resourceRecord The Resource record for the event. This parameter is needed if the event is newly created for a resource and has not been assigned, or when using multi assignment.
73105
74368
  * @param {HTMLElement} element Element to anchor editor to (defaults to events element)
73106
74369
  */
73107
- editEvent(eventRecord: EventModel|EventModelConfig, resourceRecord?: ResourceModel, element?: HTMLElement): void;
74370
+ editEvent(eventRecord: EventModel|EventModelConfig|string|number, resourceRecord?: ResourceModel, element?: HTMLElement): void;
73108
74371
  /**
73109
74372
  * Gets the x or y coordinate relative to the scheduler element, or page coordinate (based on the 'local' flag)
73110
74373
  * If the coordinate is not in the currently rendered view, -1 will be returned.
@@ -73161,6 +74424,24 @@ export class SchedulerBase extends TimelineBase {
73161
74424
  * @param {Scheduler.model.ResourceModel} resourceRecord A resource record
73162
74425
  */
73163
74426
  getElementsFromEventRecord(eventRecord: EventModel, resourceRecord?: ResourceModel): HTMLElement[];
74427
+ /**
74428
+ * Returns an array of events for the date range specified by the `startDate` and `endDate` options.
74429
+ * @param {object} options An options object determining which events to return
74430
+ */
74431
+ getEvents(options: {
74432
+ date?: Date
74433
+ startDate: Date
74434
+ endDate?: Date
74435
+ resourceRecord?: ResourceModel
74436
+ filter?: Function
74437
+ ignoreFilters?: boolean
74438
+ includeOccurrences?: boolean
74439
+ allowPartial?: boolean
74440
+ startOnly?: boolean
74441
+ silent?: boolean
74442
+ onlyAssigned?: boolean
74443
+ dateMap?: boolean|Map<any, any>
74444
+ }): EventModel[]|Map<any, any>;
73164
74445
  /**
73165
74446
  * Determines width of a milestones label. How width is determined is decided by configuring
73166
74447
  * [milestoneLayoutMode](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/SchedulerEventRendering#config-milestoneLayoutMode). Please note that text width is always determined using the events
@@ -75965,6 +77246,7 @@ type TimelineBaseListeners = {
75965
77246
  }
75966
77247
 
75967
77248
  type TimelineBaseFeaturesType = {
77249
+ ai: GridAI
75968
77250
  aiFilter: AIFilter
75969
77251
  cellCopyPaste: CellCopyPaste
75970
77252
  cellEdit: CellEdit
@@ -76008,6 +77290,7 @@ type TimelineBaseFeaturesType = {
76008
77290
  }
76009
77291
 
76010
77292
  type TimelineBaseFeaturesConfigType = {
77293
+ ai?: string|boolean|GridAIConfig
76011
77294
  aiFilter?: string|boolean|AIFilterConfig
76012
77295
  cellCopyPaste?: string|boolean|CellCopyPasteConfig
76013
77296
  cellEdit?: string|boolean|CellEditConfig
@@ -76134,6 +77417,10 @@ type TimelineBaseConfig = {
76134
77417
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-bodyCls)
76135
77418
  */
76136
77419
  bodyCls?: string|object
77420
+ /**
77421
+ * Set `true` to add a border to this container's element.
77422
+ */
77423
+ border?: boolean
76137
77424
  /**
76138
77425
  * An object where property names with a truthy value indicate which events should bubble up the ownership
76139
77426
  * hierarchy when triggered.
@@ -76199,7 +77486,7 @@ type TimelineBaseConfig = {
76199
77486
  * ...
76200
77487
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-color)
76201
77488
  */
76202
- color?: string
77489
+ color?: Color
76203
77490
  /**
76204
77491
  * Programmatic control over which column to start in when used in a grid layout.
76205
77492
  */
@@ -76664,7 +77951,7 @@ type TimelineBaseConfig = {
76664
77951
  * ...
76665
77952
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-partner)
76666
77953
  */
76667
- partner?: TimelineBase
77954
+ partner?: TimelineBase|string
76668
77955
  /**
76669
77956
  * Specify plugins (an array of classes) in config
76670
77957
  */
@@ -81935,6 +83222,7 @@ type TimelineHistogramListeners = {
81935
83222
  }
81936
83223
 
81937
83224
  type TimelineHistogramFeaturesType = {
83225
+ ai: GridAI
81938
83226
  aiFilter: AIFilter
81939
83227
  cellCopyPaste: CellCopyPaste
81940
83228
  cellEdit: CellEdit
@@ -81987,6 +83275,7 @@ type TimelineHistogramFeaturesType = {
81987
83275
  }
81988
83276
 
81989
83277
  type TimelineHistogramFeaturesConfigType = {
83278
+ ai?: string|boolean|GridAIConfig
81990
83279
  aiFilter?: string|boolean|AIFilterConfig
81991
83280
  cellCopyPaste?: string|boolean|CellCopyPasteConfig
81992
83281
  cellEdit?: string|boolean|CellEditConfig
@@ -82152,6 +83441,10 @@ type TimelineHistogramConfig = {
82152
83441
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogram#config-bodyCls)
82153
83442
  */
82154
83443
  bodyCls?: string|object
83444
+ /**
83445
+ * Set `true` to add a border to this container's element.
83446
+ */
83447
+ border?: boolean
82155
83448
  /**
82156
83449
  * An object where property names with a truthy value indicate which events should bubble up the ownership
82157
83450
  * hierarchy when triggered.
@@ -82217,7 +83510,7 @@ type TimelineHistogramConfig = {
82217
83510
  * ...
82218
83511
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogram#config-color)
82219
83512
  */
82220
- color?: string
83513
+ color?: Color
82221
83514
  /**
82222
83515
  * Programmatic control over which column to start in when used in a grid layout.
82223
83516
  */
@@ -82810,7 +84103,7 @@ type TimelineHistogramConfig = {
82810
84103
  * ...
82811
84104
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogram#config-partner)
82812
84105
  */
82813
- partner?: TimelineBase
84106
+ partner?: TimelineBase|string
82814
84107
  /**
82815
84108
  * Specify plugins (an array of classes) in config
82816
84109
  */
@@ -86199,17 +87492,15 @@ export class TimelineHistogram extends TimelineHistogramBase {
86199
87492
  static optionalL(text: string, templateData?: any): string;
86200
87493
  /**
86201
87494
  * Analogous to `document.querySelector`, finds the first Bryntum widget matching the passed
86202
- * selector. Right now, only class name (lowercased) selector strings, or
86203
- * a filter function which returns `true` for required object are allowed:
86204
- * @param {string,Function} selector A lowercased class name, or a filter function.
87495
+ * selector. Supported selector formats:
87496
+ * @param {Core.widget.Widget,string,Function} selector A widget instance, widget type, id selector (#id), attribute selector ([attr=value]), or filter function.
86205
87497
  * @param {boolean} deep Specify `true` to search the prototype chain (requires supplying a string `selector`). For example 'widget' would then find a Grid
86206
87498
  */
86207
- static query(selector: string|Function, deep?: boolean): Widget;
87499
+ static query(selector: Widget|string|Function, deep?: boolean): Widget;
86208
87500
  /**
86209
- * Analogous to document.querySelectorAll, finds all Bryntum widgets matching the passed
86210
- * selector. Right now, only registered widget `type` strings, or a filter function which
86211
- * returns `true` for required object are allowed:
86212
- * @param {string,Function} selector A lowercased class name, or a filter function.
87501
+ * Analogous to `document.querySelectorAll`, finds all Bryntum widgets matching the passed
87502
+ * selector. Supported selector formats:
87503
+ * @param {string,Function} selector A widget type, id selector (#id), attribute selector ([attr=value]), or filter function.
86213
87504
  * @param {boolean} deep Specify `true` to search the prototype chain (requires supplying a string `selector`). For example 'widget' would then find a Grid
86214
87505
  */
86215
87506
  static queryAll(selector: string|Function, deep?: boolean): Widget[];
@@ -89699,6 +90990,7 @@ type TimelineHistogramBaseListeners = {
89699
90990
  }
89700
90991
 
89701
90992
  type TimelineHistogramBaseFeaturesType = {
90993
+ ai: GridAI
89702
90994
  aiFilter: AIFilter
89703
90995
  cellCopyPaste: CellCopyPaste
89704
90996
  cellEdit: CellEdit
@@ -89742,6 +91034,7 @@ type TimelineHistogramBaseFeaturesType = {
89742
91034
  }
89743
91035
 
89744
91036
  type TimelineHistogramBaseFeaturesConfigType = {
91037
+ ai?: string|boolean|GridAIConfig
89745
91038
  aiFilter?: string|boolean|AIFilterConfig
89746
91039
  cellCopyPaste?: string|boolean|CellCopyPasteConfig
89747
91040
  cellEdit?: string|boolean|CellEditConfig
@@ -89881,6 +91174,10 @@ type TimelineHistogramBaseConfig = {
89881
91174
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogramBase#config-bodyCls)
89882
91175
  */
89883
91176
  bodyCls?: string|object
91177
+ /**
91178
+ * Set `true` to add a border to this container's element.
91179
+ */
91180
+ border?: boolean
89884
91181
  /**
89885
91182
  * An object where property names with a truthy value indicate which events should bubble up the ownership
89886
91183
  * hierarchy when triggered.
@@ -89946,7 +91243,7 @@ type TimelineHistogramBaseConfig = {
89946
91243
  * ...
89947
91244
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogramBase#config-color)
89948
91245
  */
89949
- color?: string
91246
+ color?: Color
89950
91247
  /**
89951
91248
  * Programmatic control over which column to start in when used in a grid layout.
89952
91249
  */
@@ -90515,7 +91812,7 @@ type TimelineHistogramBaseConfig = {
90515
91812
  * ...
90516
91813
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogramBase#config-partner)
90517
91814
  */
90518
- partner?: TimelineBase
91815
+ partner?: TimelineBase|string
90519
91816
  /**
90520
91817
  * Specify plugins (an array of classes) in config
90521
91818
  */
@@ -92993,6 +94290,10 @@ type SchedulerExportDialogConfig = {
92993
94290
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/export/SchedulerExportDialog#config-bodyCls)
92994
94291
  */
92995
94292
  bodyCls?: string|object
94293
+ /**
94294
+ * Set `true` to add a border to this container's element.
94295
+ */
94296
+ border?: boolean
92996
94297
  /**
92997
94298
  * An object where property names with a truthy value indicate which events should bubble up the ownership
92998
94299
  * hierarchy when triggered.
@@ -93065,7 +94366,7 @@ type SchedulerExportDialogConfig = {
93065
94366
  * ...
93066
94367
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/export/SchedulerExportDialog#config-color)
93067
94368
  */
93068
- color?: string
94369
+ color?: Color
93069
94370
  /**
93070
94371
  * Programmatic control over which column to start in when used in a grid layout.
93071
94372
  */
@@ -98355,6 +99656,7 @@ type TimelineHistogramGroupingClassListeners = {
98355
99656
  }
98356
99657
 
98357
99658
  type TimelineHistogramGroupingClassFeaturesType = {
99659
+ ai: GridAI
98358
99660
  aiFilter: AIFilter
98359
99661
  cellCopyPaste: CellCopyPaste
98360
99662
  cellEdit: CellEdit
@@ -98398,6 +99700,7 @@ type TimelineHistogramGroupingClassFeaturesType = {
98398
99700
  }
98399
99701
 
98400
99702
  type TimelineHistogramGroupingClassFeaturesConfigType = {
99703
+ ai?: string|boolean|GridAIConfig
98401
99704
  aiFilter?: string|boolean|AIFilterConfig
98402
99705
  cellCopyPaste?: string|boolean|CellCopyPasteConfig
98403
99706
  cellEdit?: string|boolean|CellEditConfig
@@ -98553,6 +99856,10 @@ type TimelineHistogramGroupingClassConfig = {
98553
99856
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/TimelineHistogramGrouping#config-bodyCls)
98554
99857
  */
98555
99858
  bodyCls?: string|object
99859
+ /**
99860
+ * Set `true` to add a border to this container's element.
99861
+ */
99862
+ border?: boolean
98556
99863
  /**
98557
99864
  * An object where property names with a truthy value indicate which events should bubble up the ownership
98558
99865
  * hierarchy when triggered.
@@ -98618,7 +99925,7 @@ type TimelineHistogramGroupingClassConfig = {
98618
99925
  * ...
98619
99926
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/TimelineHistogramGrouping#config-color)
98620
99927
  */
98621
- color?: string
99928
+ color?: Color
98622
99929
  /**
98623
99930
  * Programmatic control over which column to start in when used in a grid layout.
98624
99931
  */
@@ -99204,7 +100511,7 @@ type TimelineHistogramGroupingClassConfig = {
99204
100511
  * ...
99205
100512
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/TimelineHistogramGrouping#config-partner)
99206
100513
  */
99207
- partner?: TimelineBase
100514
+ partner?: TimelineBase|string
99208
100515
  /**
99209
100516
  * Specify plugins (an array of classes) in config
99210
100517
  */
@@ -102304,6 +103611,10 @@ type RecurrenceConfirmationPopupConfig = {
102304
103611
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/recurrence/RecurrenceConfirmationPopup#config-bodyCls)
102305
103612
  */
102306
103613
  bodyCls?: string|object
103614
+ /**
103615
+ * Set `true` to add a border to this container's element.
103616
+ */
103617
+ border?: boolean
102307
103618
  /**
102308
103619
  * An object where property names with a truthy value indicate which events should bubble up the ownership
102309
103620
  * hierarchy when triggered.
@@ -102372,7 +103683,7 @@ type RecurrenceConfirmationPopupConfig = {
102372
103683
  * ...
102373
103684
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/recurrence/RecurrenceConfirmationPopup#config-color)
102374
103685
  */
102375
- color?: string
103686
+ color?: Color
102376
103687
  /**
102377
103688
  * Programmatic control over which column to start in when used in a grid layout.
102378
103689
  */
@@ -103657,6 +104968,10 @@ type RecurrenceEditorConfig = {
103657
104968
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/recurrence/RecurrenceEditor#config-bodyCls)
103658
104969
  */
103659
104970
  bodyCls?: string|object
104971
+ /**
104972
+ * Set `true` to add a border to this container's element.
104973
+ */
104974
+ border?: boolean
103660
104975
  /**
103661
104976
  * An object where property names with a truthy value indicate which events should bubble up the ownership
103662
104977
  * hierarchy when triggered.
@@ -103725,7 +105040,7 @@ type RecurrenceEditorConfig = {
103725
105040
  * ...
103726
105041
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/recurrence/RecurrenceEditor#config-color)
103727
105042
  */
103728
- color?: string
105043
+ color?: Color
103729
105044
  /**
103730
105045
  * Programmatic control over which column to start in when used in a grid layout.
103731
105046
  */
@@ -104971,7 +106286,7 @@ type RecurrenceLegendButtonConfig = {
104971
106286
  * ...
104972
106287
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/recurrence/RecurrenceLegendButton#config-color)
104973
106288
  */
104974
- color?: string
106289
+ color?: Color
104975
106290
  /**
104976
106291
  * Programmatic control over which column to start in when used in a grid layout.
104977
106292
  */
@@ -106112,7 +107427,7 @@ type RecurrenceComboConfig = {
106112
107427
  * ...
106113
107428
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/recurrence/field/RecurrenceCombo#config-color)
106114
107429
  */
106115
- color?: string
107430
+ color?: Color
106116
107431
  /**
106117
107432
  * Programmatic control over which column to start in when used in a grid layout.
106118
107433
  */
@@ -107495,7 +108810,7 @@ type RecurrenceDaysComboConfig = {
107495
108810
  * ...
107496
108811
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/recurrence/field/RecurrenceDaysCombo#config-color)
107497
108812
  */
107498
- color?: string
108813
+ color?: Color
107499
108814
  /**
107500
108815
  * Programmatic control over which column to start in when used in a grid layout.
107501
108816
  */
@@ -108877,7 +110192,7 @@ type RecurrenceFrequencyComboConfig = {
108877
110192
  * ...
108878
110193
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/recurrence/field/RecurrenceFrequencyCombo#config-color)
108879
110194
  */
108880
- color?: string
110195
+ color?: Color
108881
110196
  /**
108882
110197
  * Programmatic control over which column to start in when used in a grid layout.
108883
110198
  */
@@ -110259,7 +111574,7 @@ type RecurrencePositionsComboConfig = {
110259
111574
  * ...
110260
111575
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/recurrence/field/RecurrencePositionsCombo#config-color)
110261
111576
  */
110262
- color?: string
111577
+ color?: Color
110263
111578
  /**
110264
111579
  * Programmatic control over which column to start in when used in a grid layout.
110265
111580
  */
@@ -111641,7 +112956,7 @@ type RecurrenceStopConditionComboConfig = {
111641
112956
  * ...
111642
112957
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/recurrence/field/RecurrenceStopConditionCombo#config-color)
111643
112958
  */
111644
- color?: string
112959
+ color?: Color
111645
112960
  /**
111646
112961
  * Programmatic control over which column to start in when used in a grid layout.
111647
112962
  */
@@ -112902,6 +114217,10 @@ type DayButtonsConfig = {
112902
114217
  * Update assigned [record](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#config-record) automatically on field changes
112903
114218
  */
112904
114219
  autoUpdateRecord?: boolean
114220
+ /**
114221
+ * Set `true` to add a border to this container's element.
114222
+ */
114223
+ border?: boolean
112905
114224
  /**
112906
114225
  * An object where property names with a truthy value indicate which events should bubble up the ownership
112907
114226
  * hierarchy when triggered.
@@ -115234,7 +116553,7 @@ type EventColorPickerConfig = {
115234
116553
  * ...
115235
116554
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/EventColorPicker#config-color)
115236
116555
  */
115237
- color?: string
116556
+ color?: Color
115238
116557
  /**
115239
116558
  * A callback function that will be called when the user selects a color in the picker.
115240
116559
  * @param {object} event Object containing event data
@@ -116389,7 +117708,7 @@ type ProjectComboConfig = {
116389
117708
  * ...
116390
117709
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ProjectCombo#config-color)
116391
117710
  */
116392
- color?: string
117711
+ color?: Color
116393
117712
  /**
116394
117713
  * Programmatic control over which column to start in when used in a grid layout.
116395
117714
  */
@@ -117778,7 +119097,7 @@ type ResourceComboConfig = {
117778
119097
  * ...
117779
119098
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceCombo#config-color)
117780
119099
  */
117781
- color?: string
119100
+ color?: Color
117782
119101
  /**
117783
119102
  * Programmatic control over which column to start in when used in a grid layout.
117784
119103
  */
@@ -119130,7 +120449,7 @@ type ResourceFilterConfig = {
119130
120449
  * ...
119131
120450
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceFilter#config-color)
119132
120451
  */
119133
- color?: string
120452
+ color?: Color
119134
120453
  /**
119135
120454
  * Programmatic control over which column to start in when used in a grid layout.
119136
120455
  */
@@ -120335,6 +121654,10 @@ type SchedulerDatePickerConfig = {
120335
121654
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-bodyCls)
120336
121655
  */
120337
121656
  bodyCls?: string|object
121657
+ /**
121658
+ * Set `true` to add a border to this container's element.
121659
+ */
121660
+ border?: boolean
120338
121661
  /**
120339
121662
  * An object where property names with a truthy value indicate which events should bubble up the ownership
120340
121663
  * hierarchy when triggered.
@@ -120404,7 +121727,7 @@ type SchedulerDatePickerConfig = {
120404
121727
  * ...
120405
121728
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-color)
120406
121729
  */
120407
- color?: string
121730
+ color?: Color
120408
121731
  /**
120409
121732
  * Programmatic control over which column to start in when used in a grid layout.
120410
121733
  */
@@ -121748,6 +123071,10 @@ type UndoRedoConfig = {
121748
123071
  * Update assigned [record](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#config-record) automatically on field changes
121749
123072
  */
121750
123073
  autoUpdateRecord?: boolean
123074
+ /**
123075
+ * Set `true` to add a border to this container's element.
123076
+ */
123077
+ border?: boolean
121751
123078
  /**
121752
123079
  * An object where property names with a truthy value indicate which events should bubble up the ownership
121753
123080
  * hierarchy when triggered.
@@ -122878,7 +124205,7 @@ type ViewPresetComboConfig = {
122878
124205
  * ...
122879
124206
  * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-color)
122880
124207
  */
122881
- color?: string
124208
+ color?: Color
122882
124209
  /**
122883
124210
  * Programmatic control over which column to start in when used in a grid layout.
122884
124211
  */