@bryntum/scheduler-vue-3-thin 7.1.2 → 7.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -12
- package/lib/chunks/BIDAJ9KI.js.map +1 -1
- package/lib/chunks/{dnU2pCDo.js → Bbpvg_hf.js} +45 -21
- package/lib/chunks/Bbpvg_hf.js.map +1 -0
- package/lib/chunks/COu_0bRA.js.map +1 -1
- package/lib/chunks/{C8aIKZog.js → CQl8vwrU.js} +4 -2
- package/lib/chunks/CQl8vwrU.js.map +1 -0
- package/lib/chunks/{V0ER-Huj.js → DgB_l35T.js} +6 -4
- package/lib/chunks/DgB_l35T.js.map +1 -0
- package/lib/chunks/{fiUsZcET.js → DxeM4HUm.js} +3 -3
- package/lib/chunks/DxeM4HUm.js.map +1 -0
- package/lib/chunks/{Cz79kyyi.js → FtY3iMiN.js} +48 -24
- package/lib/chunks/FtY3iMiN.js.map +1 -0
- package/lib/chunks/ga9EWphl.js.map +1 -1
- package/lib/chunks/{DDnFIp_o.js → qTXsCzE5.js} +21 -13
- package/lib/chunks/qTXsCzE5.js.map +1 -0
- package/lib/components/BryntumResourceFilter.js +1 -1
- package/lib/components/BryntumScheduler.js +1 -1
- package/lib/components/BryntumSchedulerBase.js +1 -1
- package/lib/components/BryntumSchedulerDatePicker.js +1 -1
- package/lib/components/BryntumTimelineHistogram.js +1 -1
- package/lib/components/BryntumUndoRedo.js +1 -1
- package/lib/helper/WrapperHelper.js +42 -42
- package/lib/helper/WrapperHelper.js.map +1 -1
- package/lib/index.js +6 -6
- package/package.json +1 -1
- package/src/components/BryntumProjectCombo.vue +2 -2
- package/src/components/BryntumProjectComboProps.ts +2 -2
- package/src/components/BryntumResourceCombo.vue +2 -2
- package/src/components/BryntumResourceComboProps.ts +2 -2
- package/src/components/BryntumResourceFilter.vue +4 -4
- package/src/components/BryntumResourceFilterProps.ts +2 -2
- package/src/components/BryntumScheduler.vue +183 -26
- package/src/components/BryntumSchedulerBase.vue +183 -26
- package/src/components/BryntumSchedulerBaseProps.ts +29 -4
- package/src/components/BryntumSchedulerDatePicker.vue +8 -3
- package/src/components/BryntumSchedulerDatePickerProps.ts +6 -2
- package/src/components/BryntumSchedulerProps.ts +29 -4
- package/src/components/BryntumTimelineHistogram.vue +69 -26
- package/src/components/BryntumTimelineHistogramProps.ts +17 -4
- package/src/components/BryntumUndoRedo.vue +5 -0
- package/src/components/BryntumUndoRedoProps.ts +4 -0
- package/src/components/BryntumViewPresetCombo.vue +2 -2
- package/src/components/BryntumViewPresetComboProps.ts +2 -2
- package/src/helper/WrapperHelper.ts +5 -1
- package/lib/chunks/C8aIKZog.js.map +0 -1
- package/lib/chunks/Cz79kyyi.js.map +0 -1
- package/lib/chunks/DDnFIp_o.js.map +0 -1
- package/lib/chunks/V0ER-Huj.js.map +0 -1
- package/lib/chunks/dnU2pCDo.js.map +0 -1
- package/lib/chunks/fiUsZcET.js.map +0 -1
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
|
|
34
34
|
import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
|
|
35
35
|
|
|
36
|
-
import type { AjaxStore, AjaxStoreConfig, Base, Container, DomClassList, DomConfig, DurationConfig, DurationUnit, FormulaProviderConfig, KeyMapConfig, Mask, MaskConfig, Menu, MenuConfig, MenuItem, MenuItemEntry, Model, ModelConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Popup, Rectangle, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
36
|
+
import type { AjaxStore, AjaxStoreConfig, Base, Color, Container, DomClassList, DomConfig, DurationConfig, DurationUnit, FormulaProviderConfig, KeyMapConfig, Mask, MaskConfig, Menu, MenuConfig, MenuItem, MenuItemEntry, Model, ModelConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Popup, Rectangle, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
37
37
|
import type { AIFilter, AIFilterConfig, CellCopyPaste, CellCopyPasteConfig, CellEdit, CellEditConfig, CellEditorContext, CellMenu, CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, Column, ColumnAutoWidth, ColumnAutoWidthConfig, ColumnDragToolbar, ColumnDragToolbarConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder, ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, EmptyTextDomConfig, ExportConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, Grid, GridBase, GridLocation, GridLocationConfig, GridSelectionMode, Group, GroupConfig, HeaderMenu, HeaderMenuConfig, MergeCells, MergeCellsConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, QuickFind, QuickFindConfig, RecordPositionContext, RegionResize, RegionResizeConfig, Row, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowEditorContext, RowExpander, RowExpanderConfig, Search, SearchConfig, Sort, SortConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGrid, SubGridConfig, Tree, TreeConfig, TreeGroup, TreeGroupConfig, XLSColumn } from '@bryntum/grid-thin';
|
|
38
|
-
import type { AssignmentModel, AssignmentModelConfig, AssignmentStore, AssignmentStoreConfig, ColumnLines, ColumnLinesConfig, SchedulerContainerItemConfig, CrudManager, CrudManagerConfig, DateConstraint, Dependencies, DependenciesConfig, DependencyBaseModel, DependencyEdit, DependencyEditConfig, DependencyMenu, DependencyMenuConfig, DependencyModel, DependencyModelConfig, DependencyStore, DependencyStoreConfig, DropData, EventColor, EventCopyPaste, EventCopyPasteConfig, EventDrag, EventDragConfig, EventDragCreate, EventDragCreateConfig, EventDragSelect, EventDragSelectConfig, EventEdit, EventEditConfig, EventFilter, EventFilterConfig, EventMenu, EventMenuConfig, EventModel, EventModelConfig, EventNonWorkingTime, EventNonWorkingTimeConfig, EventResize, EventResizeConfig, EventResizeData, EventStore, EventStoreConfig, EventTooltip, EventTooltipConfig, ExcelExporter, ExcelExporterConfig, SchedulerColumnConfig, GroupSummary, GroupSummaryConfig, HeaderZoom, HeaderZoomConfig, Labels, LabelsConfig, LockRows, LockRowsConfig, NonWorkingTime, NonWorkingTimeConfig, Pan, PanConfig, PdfExport, PdfExportConfig, Print, PrintConfig, ProjectModel, ProjectModelConfig, RecurrenceConfirmationPopup, RecurrenceConfirmationPopupConfig, ResourceHeaderConfig, ResourceMarginConfig, ResourceMenu, ResourceMenuConfig, ResourceModel, ResourceModelConfig, ResourceStore, ResourceStoreConfig, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, ResourceTimeRanges, ResourceTimeRangesConfig, RowReorder, RowReorderConfig, RowResize, RowResizeConfig, ScheduleContext, ScheduleContextConfig, ScheduleMenu, ScheduleMenuConfig, ScheduleTooltip, ScheduleTooltipConfig, Scheduler, SchedulerBaseListeners, SchedulerResponsiveLevelConfig, SchedulerStateInfo, ScrollButtons, ScrollButtonsConfig, SimpleEventEdit, SimpleEventEditConfig, Split, SplitConfig, StickyEvents, StickyEventsConfig, Summary, SummaryConfig, TimeAxis, TimeAxisColumn, TimeAxisConfig, TimeAxisHeaderMenu, TimeAxisHeaderMenuConfig, TimeRanges, TimeRangesConfig, TimeSelection, TimeSelectionConfig, TimeSpan, TimeSpanConfig, TimelineBase, TimelineContext, TreeSummary, TreeSummaryConfig, VerticalTimeAxisColumn, VerticalTimeAxisColumnConfig, ViewPreset, ViewPresetConfig, VisibleDate } from '@bryntum/scheduler-thin';
|
|
38
|
+
import type { AI, AIConfig, AssignmentModel, AssignmentModelConfig, AssignmentStore, AssignmentStoreConfig, ColumnLines, ColumnLinesConfig, SchedulerContainerItemConfig, CrudManager, CrudManagerConfig, DateConstraint, Dependencies, DependenciesConfig, DependencyBaseModel, DependencyEdit, DependencyEditConfig, DependencyMenu, DependencyMenuConfig, DependencyModel, DependencyModelConfig, DependencyStore, DependencyStoreConfig, DropData, EventColor, EventCopyPaste, EventCopyPasteConfig, EventDrag, EventDragConfig, EventDragCreate, EventDragCreateConfig, EventDragSelect, EventDragSelectConfig, EventEdit, EventEditConfig, EventFilter, EventFilterConfig, EventMenu, EventMenuConfig, EventModel, EventModelConfig, EventNonWorkingTime, EventNonWorkingTimeConfig, EventResize, EventResizeConfig, EventResizeData, EventStore, EventStoreConfig, EventTooltip, EventTooltipConfig, ExcelExporter, ExcelExporterConfig, SchedulerColumnConfig, GroupSummary, GroupSummaryConfig, HeaderZoom, HeaderZoomConfig, Labels, LabelsConfig, LockRows, LockRowsConfig, NonWorkingTime, NonWorkingTimeConfig, Pan, PanConfig, PdfExport, PdfExportConfig, Print, PrintConfig, ProjectModel, ProjectModelConfig, RecurrenceConfirmationPopup, RecurrenceConfirmationPopupConfig, ResourceColumnReorder, ResourceColumnReorderConfig, ResourceHeaderConfig, ResourceMarginConfig, ResourceMenu, ResourceMenuConfig, ResourceModel, ResourceModelConfig, ResourceStore, ResourceStoreConfig, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, ResourceTimeRanges, ResourceTimeRangesConfig, RowReorder, RowReorderConfig, RowResize, RowResizeConfig, ScheduleContext, ScheduleContextConfig, ScheduleMenu, ScheduleMenuConfig, ScheduleTooltip, ScheduleTooltipConfig, Scheduler, SchedulerBaseListeners, SchedulerResponsiveLevelConfig, SchedulerStateInfo, ScrollButtons, ScrollButtonsConfig, SimpleEventEdit, SimpleEventEditConfig, Split, SplitConfig, StickyEvents, StickyEventsConfig, Summary, SummaryConfig, TimeAxis, TimeAxisColumn, TimeAxisConfig, TimeAxisHeaderMenu, TimeAxisHeaderMenuConfig, TimeRanges, TimeRangesConfig, TimeSelection, TimeSelectionConfig, TimeSpan, TimeSpanConfig, TimelineBase, TimelineContext, TreeSummary, TreeSummaryConfig, VerticalTimeAxisColumn, VerticalTimeAxisColumnConfig, ViewPreset, ViewPresetConfig, VisibleDate } from '@bryntum/scheduler-thin';
|
|
39
39
|
import { SchedulerBase } from '@bryntum/scheduler-thin';
|
|
40
40
|
|
|
41
41
|
import { WrapperHelper } from '../helper/WrapperHelper';
|
|
@@ -166,6 +166,10 @@ defineProps<{
|
|
|
166
166
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/SchedulerBase#config-bodyCls)
|
|
167
167
|
*/
|
|
168
168
|
bodyCls ? : string|object
|
|
169
|
+
/**
|
|
170
|
+
* Set `true` to add a border to this container's element.
|
|
171
|
+
*/
|
|
172
|
+
border ? : Boolean
|
|
169
173
|
/**
|
|
170
174
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
171
175
|
* hierarchy when triggered.
|
|
@@ -231,7 +235,7 @@ defineProps<{
|
|
|
231
235
|
* ...
|
|
232
236
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/SchedulerBase#config-color)
|
|
233
237
|
*/
|
|
234
|
-
color ? :
|
|
238
|
+
color ? : Color
|
|
235
239
|
/**
|
|
236
240
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
237
241
|
*/
|
|
@@ -729,6 +733,10 @@ defineProps<{
|
|
|
729
733
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/SchedulerBase#config-infiniteScroll)
|
|
730
734
|
*/
|
|
731
735
|
infiniteScroll ? : Boolean
|
|
736
|
+
/**
|
|
737
|
+
* Set to true for child nodes in a tree store to inherit their parent´s `eventColor`
|
|
738
|
+
*/
|
|
739
|
+
inheritEventColor ? : Boolean
|
|
732
740
|
/**
|
|
733
741
|
* Maximum duration (in milliseconds) for the initial animation controlled by [useInitialAnimation](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/SchedulerEventRendering#config-useInitialAnimation).
|
|
734
742
|
*/
|
|
@@ -974,7 +982,7 @@ defineProps<{
|
|
|
974
982
|
* ...
|
|
975
983
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/SchedulerBase#config-partner)
|
|
976
984
|
*/
|
|
977
|
-
partner ? : TimelineBase
|
|
985
|
+
partner ? : TimelineBase|string
|
|
978
986
|
/**
|
|
979
987
|
* Set to `true` to include `startDate` and `endDate` params indicating the currently viewed date range in
|
|
980
988
|
* `EventStore` load requests (when loading using `AjaxStore` or `CrudManager` functionality).
|
|
@@ -1601,6 +1609,15 @@ defineProps<{
|
|
|
1601
1609
|
zoomOnTimeAxisDoubleClick ? : Boolean
|
|
1602
1610
|
|
|
1603
1611
|
// Features
|
|
1612
|
+
/**
|
|
1613
|
+
* This feature provides an AI agent for the Scheduler and SchedulerPro. It provides a chat panel that allows the user
|
|
1614
|
+
* to send messages to the agent and see the responses. Which allows the user to use natural language to interact with
|
|
1615
|
+
* the Scheduler in different ways. For example, the user can ask the agent to filter the data, sort it, or select
|
|
1616
|
+
* specific records. The agent can also perform data manipulation operations such as adding, updating, deleting records.
|
|
1617
|
+
* ...
|
|
1618
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI)
|
|
1619
|
+
*/
|
|
1620
|
+
aiFeature ? : object|Boolean|string|AI|AIConfig
|
|
1604
1621
|
/**
|
|
1605
1622
|
* AI-powered filter feature for Grid. Allows users to type natural language queries to filter grid data.
|
|
1606
1623
|
* ...
|
|
@@ -1911,6 +1928,14 @@ defineProps<{
|
|
|
1911
1928
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Grid/feature/RegionResize)
|
|
1912
1929
|
*/
|
|
1913
1930
|
regionResizeFeature ? : object|Boolean|string|RegionResize|RegionResizeConfig
|
|
1931
|
+
/**
|
|
1932
|
+
* Allows user to reorder resource columns in vertical mode by dragging them. The feature fires various events
|
|
1933
|
+
* during the drag operation (see events below). To get notified about the actual resource reorder, you can also
|
|
1934
|
+
* listen to the `change` event on the scheduler [ResourceStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/ResourceStore).
|
|
1935
|
+
* ...
|
|
1936
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder)
|
|
1937
|
+
*/
|
|
1938
|
+
resourceColumnReorderFeature ? : object|Boolean|string|ResourceColumnReorder|ResourceColumnReorderConfig
|
|
1914
1939
|
/**
|
|
1915
1940
|
* Applicable only for Scheduler in `vertical` mode. Right click resource header cells to display a context menu.
|
|
1916
1941
|
* ...
|
|
@@ -2299,6 +2324,18 @@ const emit = defineEmits<{
|
|
|
2299
2324
|
* @param {any} params.params.event.value The value being set
|
|
2300
2325
|
*/
|
|
2301
2326
|
(e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
2327
|
+
/**
|
|
2328
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
2329
|
+
* @param {string} e Event name
|
|
2330
|
+
* @param {object} params Event parameters
|
|
2331
|
+
* @param {string} params.e Event name
|
|
2332
|
+
* @param {object} params.params Event parameters
|
|
2333
|
+
* @param {object} params.params.event Event object
|
|
2334
|
+
* @param {Grid.view.GridBase} params.params.event.source The grid instance
|
|
2335
|
+
* @param {Grid.column.Column} params.params.event.column The column
|
|
2336
|
+
* @param {boolean} params.params.event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
2337
|
+
*/
|
|
2338
|
+
(e: 'beforeColumnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
|
|
2302
2339
|
/**
|
|
2303
2340
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
2304
2341
|
* @param {string} e Event name
|
|
@@ -2820,12 +2857,12 @@ const emit = defineEmits<{
|
|
|
2820
2857
|
* @param {string} params.e Event name
|
|
2821
2858
|
* @param {object} params.params Event parameters
|
|
2822
2859
|
* @param {object} params.params.event Event object
|
|
2823
|
-
* @param {Grid.view.
|
|
2824
|
-
* @param {Grid.row.Row} params.params.event.row The row about to be rendered
|
|
2825
|
-
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
2826
|
-
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
2860
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
2861
|
+
* @param {Grid.row.Row} params.params.event.row The row about to be rendered
|
|
2862
|
+
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
2863
|
+
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
2827
2864
|
*/
|
|
2828
|
-
(e: 'beforeRenderRow', params: ((event: { source:
|
|
2865
|
+
(e: 'beforeRenderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
|
|
2829
2866
|
/**
|
|
2830
2867
|
* Grid rows are about to be rendered
|
|
2831
2868
|
* @param {string} e Event name
|
|
@@ -2833,9 +2870,9 @@ const emit = defineEmits<{
|
|
|
2833
2870
|
* @param {string} params.e Event name
|
|
2834
2871
|
* @param {object} params.params Event parameters
|
|
2835
2872
|
* @param {object} params.params.event Event object
|
|
2836
|
-
* @param {Grid.view.
|
|
2873
|
+
* @param {Grid.view.GridBase} params.params.event.source This grid.
|
|
2837
2874
|
*/
|
|
2838
|
-
(e: 'beforeRenderRows', params: ((event: { source:
|
|
2875
|
+
(e: 'beforeRenderRows', params: ((event: { source: GridBase }) => void)|string): void
|
|
2839
2876
|
/**
|
|
2840
2877
|
* This event fires before row collapse is started.
|
|
2841
2878
|
* ...
|
|
@@ -3192,6 +3229,18 @@ const emit = defineEmits<{
|
|
|
3192
3229
|
* @param {Core.data.Model} params.params.event.record The record which has been collapsed.
|
|
3193
3230
|
*/
|
|
3194
3231
|
(e: 'collapseNode', params: ((event: { source: Grid, record: Model }) => void)|string): void
|
|
3232
|
+
/**
|
|
3233
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
3234
|
+
* @param {string} e Event name
|
|
3235
|
+
* @param {object} params Event parameters
|
|
3236
|
+
* @param {string} params.e Event name
|
|
3237
|
+
* @param {object} params.params Event parameters
|
|
3238
|
+
* @param {object} params.params.event Event object
|
|
3239
|
+
* @param {Grid.view.GridBase} params.params.event.source The Grid instance
|
|
3240
|
+
* @param {Grid.column.Column} params.params.event.column The column being toggled
|
|
3241
|
+
* @param {boolean} params.params.event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
3242
|
+
*/
|
|
3243
|
+
(e: 'columnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
|
|
3195
3244
|
/**
|
|
3196
3245
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
3197
3246
|
* to indicate whether the drop position is valid or not.
|
|
@@ -3320,14 +3369,14 @@ const emit = defineEmits<{
|
|
|
3320
3369
|
* @param {string} params.e Event name
|
|
3321
3370
|
* @param {object} params.params Event parameters
|
|
3322
3371
|
* @param {object} params.params.event Event object
|
|
3323
|
-
* @param {Grid.view.
|
|
3372
|
+
* @param {Grid.view.GridBase} params.params.event.source Owning grid
|
|
3324
3373
|
* @param {Core.data.Store} params.params.event.store The originating store
|
|
3325
3374
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} params.params.event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
3326
3375
|
* @param {Core.data.Model} params.params.event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
3327
3376
|
* @param {Core.data.Model[]} params.params.event.records Changed records, passed for all actions except `'removeAll'`
|
|
3328
3377
|
* @param {object} params.params.event.changes Passed for the `'update'` action, info on which record fields changed
|
|
3329
3378
|
*/
|
|
3330
|
-
(e: 'dataChange', params: ((event: { source:
|
|
3379
|
+
(e: 'dataChange', params: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string): void
|
|
3331
3380
|
/**
|
|
3332
3381
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
3333
3382
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -4518,12 +4567,12 @@ const emit = defineEmits<{
|
|
|
4518
4567
|
* @param {string} params.e Event name
|
|
4519
4568
|
* @param {object} params.params Event parameters
|
|
4520
4569
|
* @param {object} params.params.event Event object
|
|
4521
|
-
* @param {Grid.view.
|
|
4522
|
-
* @param {Grid.row.Row} params.params.event.row The row that has been rendered
|
|
4523
|
-
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
4524
|
-
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
4570
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
4571
|
+
* @param {Grid.row.Row} params.params.event.row The row that has been rendered
|
|
4572
|
+
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
4573
|
+
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
4525
4574
|
*/
|
|
4526
|
-
(e: 'renderRow', params: ((event: { source:
|
|
4575
|
+
(e: 'renderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
|
|
4527
4576
|
/**
|
|
4528
4577
|
* Grid rows have been rendered
|
|
4529
4578
|
* @param {string} e Event name
|
|
@@ -4531,9 +4580,9 @@ const emit = defineEmits<{
|
|
|
4531
4580
|
* @param {string} params.e Event name
|
|
4532
4581
|
* @param {object} params.params Event parameters
|
|
4533
4582
|
* @param {object} params.params.event Event object
|
|
4534
|
-
* @param {Grid.view.
|
|
4583
|
+
* @param {Grid.view.GridBase} params.params.event.source This grid.
|
|
4535
4584
|
*/
|
|
4536
|
-
(e: 'renderRows', params: ((event: { source:
|
|
4585
|
+
(e: 'renderRows', params: ((event: { source: GridBase }) => void)|string): void
|
|
4537
4586
|
/**
|
|
4538
4587
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
4539
4588
|
* @param {string} e Event name
|
|
@@ -4548,6 +4597,94 @@ const emit = defineEmits<{
|
|
|
4548
4597
|
* @param {number} params.params.event.oldHeight The old height
|
|
4549
4598
|
*/
|
|
4550
4599
|
(e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
|
|
4600
|
+
/**
|
|
4601
|
+
* Fired before dragging starts, return `false` to prevent the drag operation.
|
|
4602
|
+
* @param {string} e Event name
|
|
4603
|
+
* @param {object} params Event parameters
|
|
4604
|
+
* @param {string} params.e Event name
|
|
4605
|
+
* @param {object} params.params Event parameters
|
|
4606
|
+
* @param {object} params.params.event Event object
|
|
4607
|
+
* @param {Scheduler.view.Scheduler} params.params.event.source
|
|
4608
|
+
* @param {object} params.params.event.context
|
|
4609
|
+
* @param {Scheduler.model.ResourceModel} params.params.event.context.resource The dragged resource
|
|
4610
|
+
* @param {MouseEvent,TouchEvent} params.params.event.event
|
|
4611
|
+
*/
|
|
4612
|
+
(e: 'resourceColumnBeforeDragStart', params: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
4613
|
+
/**
|
|
4614
|
+
* Fired before the drop is finalized. You can return `false` or a Promise that resolves to `false`
|
|
4615
|
+
* to cancel the drop operation.
|
|
4616
|
+
* @param {string} e Event name
|
|
4617
|
+
* @param {object} params Event parameters
|
|
4618
|
+
* @param {string} params.e Event name
|
|
4619
|
+
* @param {object} params.params Event parameters
|
|
4620
|
+
* @param {object} params.params.event Event object
|
|
4621
|
+
* @param {Scheduler.view.Scheduler} params.params.event.source
|
|
4622
|
+
* @param {object} params.params.event.context
|
|
4623
|
+
* @param {Scheduler.model.ResourceModel} params.params.event.context.resource The dragged resource
|
|
4624
|
+
* @param {Scheduler.model.ResourceModel} params.params.event.context.insertBefore The resource to insert before
|
|
4625
|
+
* @param {Core.data.Model} params.params.event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
|
|
4626
|
+
* @param {MouseEvent} params.params.event.event
|
|
4627
|
+
*/
|
|
4628
|
+
(e: 'resourceColumnBeforeDropFinalize', params: ((event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model }, event: MouseEvent }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
4629
|
+
/**
|
|
4630
|
+
* Fired while the resource column is being dragged. You can signal that the drop position is
|
|
4631
|
+
* valid or invalid by setting `context.valid = false;`
|
|
4632
|
+
* @param {string} e Event name
|
|
4633
|
+
* @param {object} params Event parameters
|
|
4634
|
+
* @param {string} params.e Event name
|
|
4635
|
+
* @param {object} params.params Event parameters
|
|
4636
|
+
* @param {object} params.params.event Event object
|
|
4637
|
+
* @param {Scheduler.view.Scheduler} params.params.event.source
|
|
4638
|
+
* @param {object} params.params.event.context
|
|
4639
|
+
* @param {boolean} params.params.event.context.valid Set this to `true` or `false` to indicate whether the drop position is valid
|
|
4640
|
+
* @param {Scheduler.model.ResourceModel} params.params.event.context.insertBefore The resource to insert before (`null` if inserting at last position)
|
|
4641
|
+
* @param {Scheduler.model.ResourceModel} params.params.event.context.resource The dragged resource
|
|
4642
|
+
* @param {Core.data.Model} params.params.event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
|
|
4643
|
+
* @param {MouseEvent} params.params.event.event
|
|
4644
|
+
*/
|
|
4645
|
+
(e: 'resourceColumnDrag', params: ((event: { source: Scheduler, context: { valid: boolean, insertBefore: ResourceModel, resource: ResourceModel, targetGroup: Model }, event: MouseEvent }) => void)|string): void
|
|
4646
|
+
/**
|
|
4647
|
+
* Fired when drag is aborted
|
|
4648
|
+
* @param {string} e Event name
|
|
4649
|
+
* @param {object} params Event parameters
|
|
4650
|
+
* @param {string} params.e Event name
|
|
4651
|
+
* @param {object} params.params Event parameters
|
|
4652
|
+
* @param {object} params.params.event Event object
|
|
4653
|
+
* @param {Scheduler.view.Scheduler} params.params.event.source
|
|
4654
|
+
* @param {object} params.params.event.context
|
|
4655
|
+
* @param {Scheduler.model.ResourceModel} params.params.event.context.resource The dragged resource
|
|
4656
|
+
* @param {MouseEvent} params.params.event.event
|
|
4657
|
+
*/
|
|
4658
|
+
(e: 'resourceColumnDragAbort', params: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent }) => void)|string): void
|
|
4659
|
+
/**
|
|
4660
|
+
* Fired when dragging starts.
|
|
4661
|
+
* @param {string} e Event name
|
|
4662
|
+
* @param {object} params Event parameters
|
|
4663
|
+
* @param {string} params.e Event name
|
|
4664
|
+
* @param {object} params.params Event parameters
|
|
4665
|
+
* @param {object} params.params.event Event object
|
|
4666
|
+
* @param {Scheduler.view.Scheduler} params.params.event.source
|
|
4667
|
+
* @param {object} params.params.event.context
|
|
4668
|
+
* @param {Scheduler.model.ResourceModel} params.params.event.context.resource The dragged resource
|
|
4669
|
+
* @param {MouseEvent,TouchEvent} params.params.event.event
|
|
4670
|
+
*/
|
|
4671
|
+
(e: 'resourceColumnDragStart', params: ((event: { source: Scheduler, context: { resource: ResourceModel }, event: MouseEvent|TouchEvent }) => void)|string): void
|
|
4672
|
+
/**
|
|
4673
|
+
* Fired after drop
|
|
4674
|
+
* @param {string} e Event name
|
|
4675
|
+
* @param {object} params Event parameters
|
|
4676
|
+
* @param {string} params.e Event name
|
|
4677
|
+
* @param {object} params.params Event parameters
|
|
4678
|
+
* @param {object} params.params.event Event object
|
|
4679
|
+
* @param {Scheduler.view.Scheduler} params.params.event.source
|
|
4680
|
+
* @param {object} params.params.event.context
|
|
4681
|
+
* @param {Scheduler.model.ResourceModel} params.params.event.context.resource The dragged resource
|
|
4682
|
+
* @param {Scheduler.model.ResourceModel} params.params.event.context.insertBefore The resource that was inserted before
|
|
4683
|
+
* @param {Core.data.Model} params.params.event.context.targetGroup When the resourceStore is grouped, the group header record of the target group. The resource's group field has been updated if moved between groups.
|
|
4684
|
+
* @param {boolean} params.params.event.context.valid `true` if the drop was valid, `false` otherwise
|
|
4685
|
+
* @param {MouseEvent} params.params.event.event
|
|
4686
|
+
*/
|
|
4687
|
+
(e: 'resourceColumnDrop', params: ((event: { source: Scheduler, context: { resource: ResourceModel, insertBefore: ResourceModel, targetGroup: Model, valid: boolean }, event: MouseEvent }) => void)|string): void
|
|
4551
4688
|
/**
|
|
4552
4689
|
* Fired when clicking a resource header cell
|
|
4553
4690
|
* @param {string} e Event name
|
|
@@ -5003,10 +5140,10 @@ const emit = defineEmits<{
|
|
|
5003
5140
|
* @param {string} params.e Event name
|
|
5004
5141
|
* @param {object} params.params Event parameters
|
|
5005
5142
|
* @param {object} params.params.event Event object
|
|
5006
|
-
* @param {Grid.view.
|
|
5143
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance.
|
|
5007
5144
|
* @param {number} params.params.event.scrollTop The vertical scroll position.
|
|
5008
5145
|
*/
|
|
5009
|
-
(e: 'scroll', params: ((event: { source:
|
|
5146
|
+
(e: 'scroll', params: ((event: { source: GridBase, scrollTop: number }) => void)|string): void
|
|
5010
5147
|
/**
|
|
5011
5148
|
* Fires on owner when the scroll button is clicked, return `false` to prevent default scroll behavior
|
|
5012
5149
|
* @param {string} e Event name
|
|
@@ -5162,10 +5299,10 @@ const emit = defineEmits<{
|
|
|
5162
5299
|
* @param {string} params.e Event name
|
|
5163
5300
|
* @param {object} params.params Event parameters
|
|
5164
5301
|
* @param {object} params.params.event Event object
|
|
5165
|
-
* @param {Grid.view.
|
|
5302
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
5166
5303
|
* @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
|
|
5167
5304
|
*/
|
|
5168
|
-
(e: 'subGridCollapse', params: ((event: { source:
|
|
5305
|
+
(e: 'subGridCollapse', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
|
|
5169
5306
|
/**
|
|
5170
5307
|
* Fires after a sub grid is expanded.
|
|
5171
5308
|
* @param {string} e Event name
|
|
@@ -5173,10 +5310,10 @@ const emit = defineEmits<{
|
|
|
5173
5310
|
* @param {string} params.e Event name
|
|
5174
5311
|
* @param {object} params.params Event parameters
|
|
5175
5312
|
* @param {object} params.params.event Event object
|
|
5176
|
-
* @param {Grid.view.
|
|
5313
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
5177
5314
|
* @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
|
|
5178
5315
|
*/
|
|
5179
|
-
(e: 'subGridExpand', params: ((event: { source:
|
|
5316
|
+
(e: 'subGridExpand', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
|
|
5180
5317
|
/**
|
|
5181
5318
|
* Triggered for click on a tick cell. Only triggered if the TreeSummary feature is configured with
|
|
5182
5319
|
* `[enableMouseEvents](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/TreeSummary#config-enableMouseEvents): true`.
|
|
@@ -5537,6 +5674,7 @@ const widgetData = {
|
|
|
5537
5674
|
},
|
|
5538
5675
|
projectStores : true,
|
|
5539
5676
|
featureNames : [
|
|
5677
|
+
'aiFeature',
|
|
5540
5678
|
'aiFilterFeature',
|
|
5541
5679
|
'cellCopyPasteFeature',
|
|
5542
5680
|
'cellEditFeature',
|
|
@@ -5582,6 +5720,7 @@ const widgetData = {
|
|
|
5582
5720
|
'printFeature',
|
|
5583
5721
|
'quickFindFeature',
|
|
5584
5722
|
'regionResizeFeature',
|
|
5723
|
+
'resourceColumnReorderFeature',
|
|
5585
5724
|
'resourceMenuFeature',
|
|
5586
5725
|
'resourceTimeRangesFeature',
|
|
5587
5726
|
'rowCopyPasteFeature',
|
|
@@ -5621,6 +5760,7 @@ const widgetData = {
|
|
|
5621
5760
|
'autoHeight',
|
|
5622
5761
|
'bbar',
|
|
5623
5762
|
'bodyCls',
|
|
5763
|
+
'border',
|
|
5624
5764
|
'bubbleEvents',
|
|
5625
5765
|
'bufferCoef',
|
|
5626
5766
|
'bufferThreshold',
|
|
@@ -5790,6 +5930,7 @@ const widgetData = {
|
|
|
5790
5930
|
'hideRowHover',
|
|
5791
5931
|
'id',
|
|
5792
5932
|
'infiniteScroll',
|
|
5933
|
+
'inheritEventColor',
|
|
5793
5934
|
'initialAnimationDuration',
|
|
5794
5935
|
'inputFieldAlign',
|
|
5795
5936
|
'insertBefore',
|
|
@@ -5829,6 +5970,7 @@ const widgetData = {
|
|
|
5829
5970
|
'onBeforeCellEditStart',
|
|
5830
5971
|
'onBeforeCellRangeDelete',
|
|
5831
5972
|
'onBeforeCellRangeEdit',
|
|
5973
|
+
'onBeforeColumnCollapseToggle',
|
|
5832
5974
|
'onBeforeColumnDragStart',
|
|
5833
5975
|
'onBeforeColumnDropFinalize',
|
|
5834
5976
|
'onBeforeColumnResize',
|
|
@@ -5894,6 +6036,7 @@ const widgetData = {
|
|
|
5894
6036
|
'onCellMouseOver',
|
|
5895
6037
|
'onCollapse',
|
|
5896
6038
|
'onCollapseNode',
|
|
6039
|
+
'onColumnCollapseToggle',
|
|
5897
6040
|
'onColumnDrag',
|
|
5898
6041
|
'onColumnDragStart',
|
|
5899
6042
|
'onColumnDrop',
|
|
@@ -5992,6 +6135,12 @@ const widgetData = {
|
|
|
5992
6135
|
'onRenderRow',
|
|
5993
6136
|
'onRenderRows',
|
|
5994
6137
|
'onResize',
|
|
6138
|
+
'onResourceColumnBeforeDragStart',
|
|
6139
|
+
'onResourceColumnBeforeDropFinalize',
|
|
6140
|
+
'onResourceColumnDrag',
|
|
6141
|
+
'onResourceColumnDragAbort',
|
|
6142
|
+
'onResourceColumnDragStart',
|
|
6143
|
+
'onResourceColumnDrop',
|
|
5995
6144
|
'onResourceHeaderClick',
|
|
5996
6145
|
'onResourceHeaderContextmenu',
|
|
5997
6146
|
'onResourceHeaderDblclick',
|
|
@@ -6152,6 +6301,7 @@ const widgetData = {
|
|
|
6152
6301
|
'beforeCellEditStart',
|
|
6153
6302
|
'beforeCellRangeDelete',
|
|
6154
6303
|
'beforeCellRangeEdit',
|
|
6304
|
+
'beforeColumnCollapseToggle',
|
|
6155
6305
|
'beforeColumnDragStart',
|
|
6156
6306
|
'beforeColumnDropFinalize',
|
|
6157
6307
|
'beforeColumnResize',
|
|
@@ -6217,6 +6367,7 @@ const widgetData = {
|
|
|
6217
6367
|
'cellMouseOver',
|
|
6218
6368
|
'collapse',
|
|
6219
6369
|
'collapseNode',
|
|
6370
|
+
'columnCollapseToggle',
|
|
6220
6371
|
'columnDrag',
|
|
6221
6372
|
'columnDragStart',
|
|
6222
6373
|
'columnDrop',
|
|
@@ -6315,6 +6466,12 @@ const widgetData = {
|
|
|
6315
6466
|
'renderRow',
|
|
6316
6467
|
'renderRows',
|
|
6317
6468
|
'resize',
|
|
6469
|
+
'resourceColumnBeforeDragStart',
|
|
6470
|
+
'resourceColumnBeforeDropFinalize',
|
|
6471
|
+
'resourceColumnDrag',
|
|
6472
|
+
'resourceColumnDragAbort',
|
|
6473
|
+
'resourceColumnDragStart',
|
|
6474
|
+
'resourceColumnDrop',
|
|
6318
6475
|
'resourceHeaderClick',
|
|
6319
6476
|
'resourceHeaderContextmenu',
|
|
6320
6477
|
'resourceHeaderDblclick',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { AjaxStore, AjaxStoreConfig, DomClassList, DomConfig, DurationConfig, DurationUnit, FormulaProviderConfig, KeyMapConfig, Mask, MaskConfig, MenuConfig, Model, ModelConfig, PagingToolbarConfig, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
1
|
+
import type { AjaxStore, AjaxStoreConfig, Color, DomClassList, DomConfig, DurationConfig, DurationUnit, FormulaProviderConfig, KeyMapConfig, Mask, MaskConfig, MenuConfig, Model, ModelConfig, PagingToolbarConfig, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
2
2
|
import type { AIFilter, AIFilterConfig, CellCopyPaste, CellCopyPasteConfig, CellEdit, CellEditConfig, CellMenu, CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, ColumnAutoWidth, ColumnAutoWidthConfig, ColumnDragToolbar, ColumnDragToolbarConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder, ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, EmptyTextDomConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, GridSelectionMode, Group, GroupConfig, HeaderMenu, HeaderMenuConfig, MergeCells, MergeCellsConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, QuickFind, QuickFindConfig, RegionResize, RegionResizeConfig, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowExpander, RowExpanderConfig, Search, SearchConfig, Sort, SortConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGridConfig, Tree, TreeConfig, TreeGroup, TreeGroupConfig } from '@bryntum/grid-thin';
|
|
3
|
-
import type { AssignmentModel, AssignmentModelConfig, AssignmentStore, AssignmentStoreConfig, ColumnLines, ColumnLinesConfig, SchedulerContainerItemConfig, CrudManager, CrudManagerConfig, DateConstraint, Dependencies, DependenciesConfig, DependencyBaseModel, DependencyEdit, DependencyEditConfig, DependencyMenu, DependencyMenuConfig, DependencyModel, DependencyModelConfig, DependencyStore, DependencyStoreConfig, EventColor, EventCopyPaste, EventCopyPasteConfig, EventDrag, EventDragConfig, EventDragCreate, EventDragCreateConfig, EventDragSelect, EventDragSelectConfig, EventEdit, EventEditConfig, EventFilter, EventFilterConfig, EventMenu, EventMenuConfig, EventModel, EventModelConfig, EventNonWorkingTime, EventNonWorkingTimeConfig, EventResize, EventResizeConfig, EventStore, EventStoreConfig, EventTooltip, EventTooltipConfig, ExcelExporter, ExcelExporterConfig, SchedulerColumnConfig, GroupSummary, GroupSummaryConfig, HeaderZoom, HeaderZoomConfig, Labels, LabelsConfig, LockRows, LockRowsConfig, NonWorkingTime, NonWorkingTimeConfig, Pan, PanConfig, PdfExport, PdfExportConfig, Print, PrintConfig, ProjectModel, ProjectModelConfig, RecurrenceConfirmationPopup, RecurrenceConfirmationPopupConfig, ResourceHeaderConfig, ResourceMarginConfig, ResourceMenu, ResourceMenuConfig, ResourceModel, ResourceModelConfig, ResourceStore, ResourceStoreConfig, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, ResourceTimeRanges, ResourceTimeRangesConfig, RowReorder, RowReorderConfig, RowResize, RowResizeConfig, ScheduleContext, ScheduleContextConfig, ScheduleMenu, ScheduleMenuConfig, ScheduleTooltip, ScheduleTooltipConfig, Scheduler, SchedulerBaseListeners, SchedulerResponsiveLevelConfig, ScrollButtons, ScrollButtonsConfig, SimpleEventEdit, SimpleEventEditConfig, Split, SplitConfig, StickyEvents, StickyEventsConfig, Summary, SummaryConfig, TimeAxis, TimeAxisConfig, TimeAxisHeaderMenu, TimeAxisHeaderMenuConfig, TimeRanges, TimeRangesConfig, TimeSelection, TimeSelectionConfig, TimeSpan, TimeSpanConfig, TimelineBase, TreeSummary, TreeSummaryConfig, VerticalTimeAxisColumnConfig, ViewPresetConfig, VisibleDate } from '@bryntum/scheduler-thin';
|
|
3
|
+
import type { AI, AIConfig, AssignmentModel, AssignmentModelConfig, AssignmentStore, AssignmentStoreConfig, ColumnLines, ColumnLinesConfig, SchedulerContainerItemConfig, CrudManager, CrudManagerConfig, DateConstraint, Dependencies, DependenciesConfig, DependencyBaseModel, DependencyEdit, DependencyEditConfig, DependencyMenu, DependencyMenuConfig, DependencyModel, DependencyModelConfig, DependencyStore, DependencyStoreConfig, EventColor, EventCopyPaste, EventCopyPasteConfig, EventDrag, EventDragConfig, EventDragCreate, EventDragCreateConfig, EventDragSelect, EventDragSelectConfig, EventEdit, EventEditConfig, EventFilter, EventFilterConfig, EventMenu, EventMenuConfig, EventModel, EventModelConfig, EventNonWorkingTime, EventNonWorkingTimeConfig, EventResize, EventResizeConfig, EventStore, EventStoreConfig, EventTooltip, EventTooltipConfig, ExcelExporter, ExcelExporterConfig, SchedulerColumnConfig, GroupSummary, GroupSummaryConfig, HeaderZoom, HeaderZoomConfig, Labels, LabelsConfig, LockRows, LockRowsConfig, NonWorkingTime, NonWorkingTimeConfig, Pan, PanConfig, PdfExport, PdfExportConfig, Print, PrintConfig, ProjectModel, ProjectModelConfig, RecurrenceConfirmationPopup, RecurrenceConfirmationPopupConfig, ResourceColumnReorder, ResourceColumnReorderConfig, ResourceHeaderConfig, ResourceMarginConfig, ResourceMenu, ResourceMenuConfig, ResourceModel, ResourceModelConfig, ResourceStore, ResourceStoreConfig, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, ResourceTimeRanges, ResourceTimeRangesConfig, RowReorder, RowReorderConfig, RowResize, RowResizeConfig, ScheduleContext, ScheduleContextConfig, ScheduleMenu, ScheduleMenuConfig, ScheduleTooltip, ScheduleTooltipConfig, Scheduler, SchedulerBaseListeners, SchedulerResponsiveLevelConfig, ScrollButtons, ScrollButtonsConfig, SimpleEventEdit, SimpleEventEditConfig, Split, SplitConfig, StickyEvents, StickyEventsConfig, Summary, SummaryConfig, TimeAxis, TimeAxisConfig, TimeAxisHeaderMenu, TimeAxisHeaderMenuConfig, TimeRanges, TimeRangesConfig, TimeSelection, TimeSelectionConfig, TimeSpan, TimeSpanConfig, TimelineBase, TreeSummary, TreeSummaryConfig, VerticalTimeAxisColumnConfig, ViewPresetConfig, VisibleDate } from '@bryntum/scheduler-thin';
|
|
4
4
|
|
|
5
5
|
export declare type BryntumSchedulerBaseProps = {
|
|
6
6
|
// Configs
|
|
@@ -128,6 +128,10 @@ export declare type BryntumSchedulerBaseProps = {
|
|
|
128
128
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/SchedulerBase#config-bodyCls)
|
|
129
129
|
*/
|
|
130
130
|
bodyCls ? : string|object
|
|
131
|
+
/**
|
|
132
|
+
* Set `true` to add a border to this container's element.
|
|
133
|
+
*/
|
|
134
|
+
border ? : Boolean
|
|
131
135
|
/**
|
|
132
136
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
133
137
|
* hierarchy when triggered.
|
|
@@ -193,7 +197,7 @@ export declare type BryntumSchedulerBaseProps = {
|
|
|
193
197
|
* ...
|
|
194
198
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/SchedulerBase#config-color)
|
|
195
199
|
*/
|
|
196
|
-
color ? :
|
|
200
|
+
color ? : Color
|
|
197
201
|
/**
|
|
198
202
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
199
203
|
*/
|
|
@@ -691,6 +695,10 @@ export declare type BryntumSchedulerBaseProps = {
|
|
|
691
695
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/SchedulerBase#config-infiniteScroll)
|
|
692
696
|
*/
|
|
693
697
|
infiniteScroll ? : Boolean
|
|
698
|
+
/**
|
|
699
|
+
* Set to true for child nodes in a tree store to inherit their parent´s `eventColor`
|
|
700
|
+
*/
|
|
701
|
+
inheritEventColor ? : Boolean
|
|
694
702
|
/**
|
|
695
703
|
* Maximum duration (in milliseconds) for the initial animation controlled by [useInitialAnimation](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/SchedulerEventRendering#config-useInitialAnimation).
|
|
696
704
|
*/
|
|
@@ -936,7 +944,7 @@ export declare type BryntumSchedulerBaseProps = {
|
|
|
936
944
|
* ...
|
|
937
945
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/SchedulerBase#config-partner)
|
|
938
946
|
*/
|
|
939
|
-
partner ? : TimelineBase
|
|
947
|
+
partner ? : TimelineBase|string
|
|
940
948
|
/**
|
|
941
949
|
* Set to `true` to include `startDate` and `endDate` params indicating the currently viewed date range in
|
|
942
950
|
* `EventStore` load requests (when loading using `AjaxStore` or `CrudManager` functionality).
|
|
@@ -1563,6 +1571,15 @@ export declare type BryntumSchedulerBaseProps = {
|
|
|
1563
1571
|
zoomOnTimeAxisDoubleClick ? : Boolean
|
|
1564
1572
|
|
|
1565
1573
|
// Features
|
|
1574
|
+
/**
|
|
1575
|
+
* This feature provides an AI agent for the Scheduler and SchedulerPro. It provides a chat panel that allows the user
|
|
1576
|
+
* to send messages to the agent and see the responses. Which allows the user to use natural language to interact with
|
|
1577
|
+
* the Scheduler in different ways. For example, the user can ask the agent to filter the data, sort it, or select
|
|
1578
|
+
* specific records. The agent can also perform data manipulation operations such as adding, updating, deleting records.
|
|
1579
|
+
* ...
|
|
1580
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/AI)
|
|
1581
|
+
*/
|
|
1582
|
+
aiFeature ? : object|Boolean|string|AI|AIConfig
|
|
1566
1583
|
/**
|
|
1567
1584
|
* AI-powered filter feature for Grid. Allows users to type natural language queries to filter grid data.
|
|
1568
1585
|
* ...
|
|
@@ -1873,6 +1890,14 @@ export declare type BryntumSchedulerBaseProps = {
|
|
|
1873
1890
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Grid/feature/RegionResize)
|
|
1874
1891
|
*/
|
|
1875
1892
|
regionResizeFeature ? : object|Boolean|string|RegionResize|RegionResizeConfig
|
|
1893
|
+
/**
|
|
1894
|
+
* Allows user to reorder resource columns in vertical mode by dragging them. The feature fires various events
|
|
1895
|
+
* during the drag operation (see events below). To get notified about the actual resource reorder, you can also
|
|
1896
|
+
* listen to the `change` event on the scheduler [ResourceStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/ResourceStore).
|
|
1897
|
+
* ...
|
|
1898
|
+
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/ResourceColumnReorder)
|
|
1899
|
+
*/
|
|
1900
|
+
resourceColumnReorderFeature ? : object|Boolean|string|ResourceColumnReorder|ResourceColumnReorderConfig
|
|
1876
1901
|
/**
|
|
1877
1902
|
* Applicable only for Scheduler in `vertical` mode. Right click resource header cells to display a context menu.
|
|
1878
1903
|
* ...
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
|
|
12
12
|
|
|
13
|
-
import type { AlignSpec, Base, CalendarPanel, Container, DatePicker, DomConfig, KeyMapConfig, MaskConfig, MenuItemEntry, Model, Month, MonthConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
13
|
+
import type { AlignSpec, Base, CalendarPanel, Color, Container, DatePicker, DomConfig, KeyMapConfig, MaskConfig, MenuItemEntry, Model, Month, MonthConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
14
14
|
import type { SchedulerContainerItemConfig, SchedulerContainerLayoutConfig, EventModel, EventStore, SchedulerDatePickerListeners } from '@bryntum/scheduler-thin';
|
|
15
15
|
import { SchedulerDatePicker } from '@bryntum/scheduler-thin';
|
|
16
16
|
|
|
@@ -93,6 +93,10 @@ defineProps<{
|
|
|
93
93
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-bodyCls)
|
|
94
94
|
*/
|
|
95
95
|
bodyCls ? : string|object
|
|
96
|
+
/**
|
|
97
|
+
* Set `true` to add a border to this container's element.
|
|
98
|
+
*/
|
|
99
|
+
border ? : Boolean
|
|
96
100
|
/**
|
|
97
101
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
98
102
|
* hierarchy when triggered.
|
|
@@ -162,7 +166,7 @@ defineProps<{
|
|
|
162
166
|
* ...
|
|
163
167
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-color)
|
|
164
168
|
*/
|
|
165
|
-
color ? :
|
|
169
|
+
color ? : Color
|
|
166
170
|
/**
|
|
167
171
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
168
172
|
*/
|
|
@@ -1250,6 +1254,7 @@ const widgetData = {
|
|
|
1250
1254
|
'autoUpdateRecord',
|
|
1251
1255
|
'bbar',
|
|
1252
1256
|
'bodyCls',
|
|
1257
|
+
'border',
|
|
1253
1258
|
'bubbleEvents',
|
|
1254
1259
|
'cellRenderer',
|
|
1255
1260
|
'centered',
|
|
@@ -1318,7 +1323,6 @@ const widgetData = {
|
|
|
1318
1323
|
'showAnimation',
|
|
1319
1324
|
'showEvents',
|
|
1320
1325
|
'showTooltipWhenDisabled',
|
|
1321
|
-
'showWeekColumn',
|
|
1322
1326
|
'sixWeeks',
|
|
1323
1327
|
'stateful',
|
|
1324
1328
|
'statefulEvents',
|
|
@@ -1410,6 +1414,7 @@ const widgetData = {
|
|
|
1410
1414
|
'scrollable',
|
|
1411
1415
|
'selection',
|
|
1412
1416
|
'shadePastDates',
|
|
1417
|
+
'showWeekColumn',
|
|
1413
1418
|
'span',
|
|
1414
1419
|
'strictRecordMapping',
|
|
1415
1420
|
'title',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AlignSpec, Base, CalendarPanel, DomConfig, KeyMapConfig, MaskConfig, MenuItemEntry, Model, Month, MonthConfig, PagingToolbarConfig, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
1
|
+
import type { AlignSpec, Base, CalendarPanel, Color, DomConfig, KeyMapConfig, MaskConfig, MenuItemEntry, Model, Month, MonthConfig, PagingToolbarConfig, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
2
2
|
import type { SchedulerContainerItemConfig, SchedulerContainerLayoutConfig, EventModel, EventStore, SchedulerDatePickerListeners } from '@bryntum/scheduler-thin';
|
|
3
3
|
|
|
4
4
|
export declare type BryntumSchedulerDatePickerProps = {
|
|
@@ -78,6 +78,10 @@ export declare type BryntumSchedulerDatePickerProps = {
|
|
|
78
78
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-bodyCls)
|
|
79
79
|
*/
|
|
80
80
|
bodyCls ? : string|object
|
|
81
|
+
/**
|
|
82
|
+
* Set `true` to add a border to this container's element.
|
|
83
|
+
*/
|
|
84
|
+
border ? : Boolean
|
|
81
85
|
/**
|
|
82
86
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
83
87
|
* hierarchy when triggered.
|
|
@@ -147,7 +151,7 @@ export declare type BryntumSchedulerDatePickerProps = {
|
|
|
147
151
|
* ...
|
|
148
152
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-color)
|
|
149
153
|
*/
|
|
150
|
-
color ? :
|
|
154
|
+
color ? : Color
|
|
151
155
|
/**
|
|
152
156
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
153
157
|
*/
|