@bryntum/schedulerpro-vue-3-thin 7.1.2 → 7.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -13
- package/lib/chunks/B12rdbvL.js.map +1 -1
- package/lib/chunks/{DDRoO9aB.js → B2O8rS3_.js} +14 -6
- package/lib/chunks/B2O8rS3_.js.map +1 -0
- package/lib/chunks/{VUn0v9mh.js → B7sV8_zC.js} +18 -10
- package/lib/chunks/B7sV8_zC.js.map +1 -0
- package/lib/chunks/BBN-5eeI.js.map +1 -1
- package/lib/chunks/{yCHi3rZC.js → BMF41dEG.js} +8 -6
- package/lib/chunks/BMF41dEG.js.map +1 -0
- package/lib/chunks/BrUxjEMx.js.map +1 -1
- package/lib/chunks/{DQYJMaQ_.js → ByS5_-RM.js} +6 -4
- package/lib/chunks/ByS5_-RM.js.map +1 -0
- package/lib/chunks/CDbPwyl3.js.map +1 -1
- package/lib/chunks/{BaiH7rub.js → CoYhPB2e.js} +12 -5
- package/lib/chunks/CoYhPB2e.js.map +1 -0
- package/lib/chunks/Ct_m9O9h.js.map +1 -1
- package/lib/chunks/{D45V9XRN.js → D4JDuI0s.js} +12 -10
- package/lib/chunks/D4JDuI0s.js.map +1 -0
- package/lib/chunks/{BtVT0xgl.js → DC4Xw3gK.js} +3 -1
- package/lib/chunks/DC4Xw3gK.js.map +1 -0
- package/lib/chunks/{C9qY739P.js → DRVdzy6g.js} +3 -1
- package/lib/chunks/DRVdzy6g.js.map +1 -0
- package/lib/chunks/DgESZupU.js.map +1 -1
- package/lib/chunks/{DKsnWqxn.js → DghqseiN.js} +38 -16
- package/lib/chunks/DghqseiN.js.map +1 -0
- package/lib/chunks/DvFm-5Hh.js.map +1 -1
- package/lib/chunks/{C0N8aq7Y.js → H_iWW1r0.js} +8 -6
- package/lib/chunks/H_iWW1r0.js.map +1 -0
- package/lib/chunks/{jMa0fiOL.js → N6QbiUPO.js} +45 -21
- package/lib/chunks/N6QbiUPO.js.map +1 -0
- package/lib/chunks/{CKdojoDl.js → OtE4hpSS.js} +45 -21
- package/lib/chunks/OtE4hpSS.js.map +1 -0
- package/lib/chunks/ggN9GDPJ.js.map +1 -1
- package/lib/chunks/qKNUUeE0.js.map +1 -1
- package/lib/chunks/{xk_S9thL.js → sUi9pfNu.js} +12 -5
- package/lib/chunks/sUi9pfNu.js.map +1 -0
- package/lib/components/BryntumCalendarEditor.js +1 -1
- package/lib/components/BryntumDependencyTypePicker.js +1 -1
- package/lib/components/BryntumEndDateField.js +1 -1
- package/lib/components/BryntumResourceEditor.js +1 -1
- package/lib/components/BryntumResourceGrid.js +1 -1
- package/lib/components/BryntumResourceHistogram.js +1 -1
- package/lib/components/BryntumResourceUtilization.js +1 -1
- package/lib/components/BryntumSchedulerPro.js +1 -1
- package/lib/components/BryntumSchedulerProBase.js +1 -1
- package/lib/components/BryntumSchedulerProProjectModel.js +1 -1
- package/lib/components/BryntumStartDateField.js +1 -1
- package/lib/components/BryntumTimeline.js +1 -1
- package/lib/components/BryntumVersionGrid.js +1 -1
- package/lib/helper/WrapperHelper.js +42 -42
- package/lib/helper/WrapperHelper.js.map +1 -1
- package/lib/index.js +13 -13
- package/package.json +1 -1
- package/src/components/BryntumCalendarEditor.vue +7 -2
- package/src/components/BryntumCalendarEditorProps.ts +6 -2
- package/src/components/BryntumCalendarField.vue +2 -2
- package/src/components/BryntumCalendarFieldProps.ts +2 -2
- package/src/components/BryntumConstraintTypePicker.vue +2 -2
- package/src/components/BryntumConstraintTypePickerProps.ts +2 -2
- package/src/components/BryntumCostAccrualField.vue +2 -2
- package/src/components/BryntumCostAccrualFieldProps.ts +2 -2
- package/src/components/BryntumDependencyTypePicker.vue +9 -2
- package/src/components/BryntumDependencyTypePickerProps.ts +8 -2
- package/src/components/BryntumEffortField.vue +2 -2
- package/src/components/BryntumEffortFieldProps.ts +2 -2
- package/src/components/BryntumEndDateField.vue +13 -3
- package/src/components/BryntumEndDateFieldProps.ts +12 -3
- package/src/components/BryntumModelCombo.vue +2 -2
- package/src/components/BryntumModelComboProps.ts +2 -2
- package/src/components/BryntumRateTableField.vue +2 -2
- package/src/components/BryntumRateTableFieldProps.ts +2 -2
- package/src/components/BryntumResourceEditor.vue +7 -2
- package/src/components/BryntumResourceEditorProps.ts +6 -2
- package/src/components/BryntumResourceGrid.vue +67 -25
- package/src/components/BryntumResourceGridProps.ts +16 -3
- package/src/components/BryntumResourceHistogram.vue +69 -26
- package/src/components/BryntumResourceHistogramProps.ts +17 -4
- package/src/components/BryntumResourceTypeField.vue +2 -2
- package/src/components/BryntumResourceTypeFieldProps.ts +2 -2
- package/src/components/BryntumResourceUtilization.vue +69 -26
- package/src/components/BryntumResourceUtilizationProps.ts +17 -4
- package/src/components/BryntumSchedulerPro.vue +183 -26
- package/src/components/BryntumSchedulerProBase.vue +183 -26
- package/src/components/BryntumSchedulerProBaseProps.ts +29 -4
- package/src/components/BryntumSchedulerProProjectModel.vue +9 -0
- package/src/components/BryntumSchedulerProProjectModelProps.ts +8 -0
- package/src/components/BryntumSchedulerProProps.ts +29 -4
- package/src/components/BryntumSchedulingDirectionPicker.vue +2 -2
- package/src/components/BryntumSchedulingDirectionPickerProps.ts +2 -2
- package/src/components/BryntumSchedulingModePicker.vue +2 -2
- package/src/components/BryntumSchedulingModePickerProps.ts +2 -2
- package/src/components/BryntumStartDateField.vue +13 -3
- package/src/components/BryntumStartDateFieldProps.ts +12 -3
- package/src/components/BryntumTimeline.vue +181 -26
- package/src/components/BryntumTimelineProps.ts +29 -4
- package/src/components/BryntumVersionGrid.vue +67 -25
- package/src/components/BryntumVersionGridProps.ts +16 -3
- package/src/helper/WrapperHelper.ts +5 -1
- package/lib/chunks/BaiH7rub.js.map +0 -1
- package/lib/chunks/BtVT0xgl.js.map +0 -1
- package/lib/chunks/C0N8aq7Y.js.map +0 -1
- package/lib/chunks/C9qY739P.js.map +0 -1
- package/lib/chunks/CKdojoDl.js.map +0 -1
- package/lib/chunks/D45V9XRN.js.map +0 -1
- package/lib/chunks/DDRoO9aB.js.map +0 -1
- package/lib/chunks/DKsnWqxn.js.map +0 -1
- package/lib/chunks/DQYJMaQ_.js.map +0 -1
- package/lib/chunks/VUn0v9mh.js.map +0 -1
- package/lib/chunks/jMa0fiOL.js.map +0 -1
- package/lib/chunks/xk_S9thL.js.map +0 -1
- package/lib/chunks/yCHi3rZC.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, 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 as SchedulerAssignmentModel, ColumnLines, ColumnLinesConfig, CrudManager, CrudManagerConfig, DateConstraint, DependencyBaseModel, DependencyEdit as SchedulerDependencyEdit, DependencyMenu, DependencyMenuConfig, DependencyModel as SchedulerDependencyModel, DropData, EventColor, EventCopyPaste, EventCopyPasteConfig, EventDrag, EventDragConfig, EventDragCreate, EventDragCreateConfig, EventDragSelect, EventDragSelectConfig, EventEdit, EventEditConfig, EventFilter, EventFilterConfig, EventMenu, EventMenuConfig, EventModel as SchedulerEventModel, EventNonWorkingTime, EventNonWorkingTimeConfig, EventResizeData, EventTooltip, EventTooltipConfig, ExcelExporter, ExcelExporterConfig, GroupSummary, GroupSummaryConfig, HeaderZoom, HeaderZoomConfig, Labels, LabelsConfig, LockRows, LockRowsConfig, NonWorkingTime, NonWorkingTimeConfig, Pan, PanConfig, PdfExport, PdfExportConfig, Print, PrintConfig, RecurrenceConfirmationPopup, RecurrenceConfirmationPopupConfig, ResourceHeaderConfig, ResourceMarginConfig, ResourceMenu, ResourceMenuConfig, ResourceModel as SchedulerResourceModel, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, ResourceTimeRanges, ResourceTimeRangesConfig, RowReorder, RowReorderConfig, RowResize, RowResizeConfig, ScheduleContext, ScheduleContextConfig, ScheduleMenu, ScheduleMenuConfig, ScheduleTooltip, ScheduleTooltipConfig, Scheduler, SchedulerBase, 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 as SchedulerAssignmentModel, ColumnLines, ColumnLinesConfig, CrudManager, CrudManagerConfig, DateConstraint, DependencyBaseModel, DependencyEdit as SchedulerDependencyEdit, DependencyMenu, DependencyMenuConfig, DependencyModel as SchedulerDependencyModel, DropData, EventColor, EventCopyPaste, EventCopyPasteConfig, EventDrag, EventDragConfig, EventDragCreate, EventDragCreateConfig, EventDragSelect, EventDragSelectConfig, EventEdit, EventEditConfig, EventFilter, EventFilterConfig, EventMenu, EventMenuConfig, EventModel as SchedulerEventModel, EventNonWorkingTime, EventNonWorkingTimeConfig, EventResizeData, EventTooltip, EventTooltipConfig, ExcelExporter, ExcelExporterConfig, GroupSummary, GroupSummaryConfig, HeaderZoom, HeaderZoomConfig, Labels, LabelsConfig, LockRows, LockRowsConfig, NonWorkingTime, NonWorkingTimeConfig, Pan, PanConfig, PdfExport, PdfExportConfig, Print, PrintConfig, RecurrenceConfirmationPopup, RecurrenceConfirmationPopupConfig, ResourceColumnReorder, ResourceColumnReorderConfig, ResourceHeaderConfig, ResourceMarginConfig, ResourceMenu, ResourceMenuConfig, ResourceModel as SchedulerResourceModel, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, ResourceTimeRanges, ResourceTimeRangesConfig, RowReorder, RowReorderConfig, RowResize, RowResizeConfig, ScheduleContext, ScheduleContextConfig, ScheduleMenu, ScheduleMenuConfig, ScheduleTooltip, ScheduleTooltipConfig, Scheduler, SchedulerBase, 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 type { AssignmentModel, AssignmentModelConfig, AssignmentStore, AssignmentStoreConfig, CalendarHighlight, CalendarHighlightConfig, CalendarModel, CalendarModelConfig, CellEdit, CellEditConfig, SchedulerProContainerItemConfig, CycleResolutionPopup, Dependencies, DependenciesConfig, DependencyEdit, DependencyEditConfig, DependencyModel, DependencyModelConfig, DependencyStore, DependencyStoreConfig, EventBuffer, EventBufferConfig, EventLayoutConfig, EventModel, EventModelConfig, EventResize, EventResizeConfig, EventSegmentDrag, EventSegmentDragConfig, EventSegmentResize, EventSegmentResizeConfig, EventSegments, EventSegmentsConfig, EventStore, EventStoreConfig, SchedulerProColumnConfig, NestedEvents, NestedEventsConfig, PercentBar, PercentBarConfig, ProjectModel, ProjectModelConfig, ResourceEdit, ResourceEditConfig, ResourceEditor, ResourceGrid, ResourceModel, ResourceModelConfig, ResourceNonWorkingTime, ResourceNonWorkingTimeConfig, ResourceStore, ResourceStoreConfig, SchedulerPro, SchedulerProBaseListeners, SchedulingIssueResolutionPopup, TaskEdit, TaskEditConfig, TaskEditorBase, TimeSpanHighlight, TimeSpanHighlightConfig, Versions, VersionsConfig } from '@bryntum/schedulerpro-thin';
|
|
40
40
|
import { SchedulerProBase } from '@bryntum/schedulerpro-thin';
|
|
41
41
|
|
|
@@ -167,6 +167,10 @@ defineProps<{
|
|
|
167
167
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/SchedulerProBase#config-bodyCls)
|
|
168
168
|
*/
|
|
169
169
|
bodyCls ? : string|object
|
|
170
|
+
/**
|
|
171
|
+
* Set `true` to add a border to this container's element.
|
|
172
|
+
*/
|
|
173
|
+
border ? : Boolean
|
|
170
174
|
/**
|
|
171
175
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
172
176
|
* hierarchy when triggered.
|
|
@@ -236,7 +240,7 @@ defineProps<{
|
|
|
236
240
|
* ...
|
|
237
241
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/SchedulerProBase#config-color)
|
|
238
242
|
*/
|
|
239
|
-
color ? :
|
|
243
|
+
color ? : Color
|
|
240
244
|
/**
|
|
241
245
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
242
246
|
*/
|
|
@@ -749,6 +753,10 @@ defineProps<{
|
|
|
749
753
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/SchedulerProBase#config-infiniteScroll)
|
|
750
754
|
*/
|
|
751
755
|
infiniteScroll ? : Boolean
|
|
756
|
+
/**
|
|
757
|
+
* Set to true for child nodes in a tree store to inherit their parent´s `eventColor`
|
|
758
|
+
*/
|
|
759
|
+
inheritEventColor ? : Boolean
|
|
752
760
|
/**
|
|
753
761
|
* Maximum duration (in milliseconds) for the initial animation controlled by [useInitialAnimation](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/SchedulerEventRendering#config-useInitialAnimation).
|
|
754
762
|
*/
|
|
@@ -994,7 +1002,7 @@ defineProps<{
|
|
|
994
1002
|
* ...
|
|
995
1003
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/SchedulerProBase#config-partner)
|
|
996
1004
|
*/
|
|
997
|
-
partner ? : TimelineBase
|
|
1005
|
+
partner ? : TimelineBase|string
|
|
998
1006
|
/**
|
|
999
1007
|
* Set to `true` to include `startDate` and `endDate` params indicating the currently viewed date range in
|
|
1000
1008
|
* `EventStore` load requests (when loading using `AjaxStore` or `CrudManager` functionality).
|
|
@@ -1638,6 +1646,15 @@ defineProps<{
|
|
|
1638
1646
|
zoomOnTimeAxisDoubleClick ? : Boolean
|
|
1639
1647
|
|
|
1640
1648
|
// Features
|
|
1649
|
+
/**
|
|
1650
|
+
* This feature provides an AI agent for the Scheduler and SchedulerPro. It provides a chat panel that allows the user
|
|
1651
|
+
* to send messages to the agent and see the responses. Which allows the user to use natural language to interact with
|
|
1652
|
+
* the Scheduler in different ways. For example, the user can ask the agent to filter the data, sort it, or select
|
|
1653
|
+
* specific records. The agent can also perform data manipulation operations such as adding, updating, deleting records.
|
|
1654
|
+
* ...
|
|
1655
|
+
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/AI)
|
|
1656
|
+
*/
|
|
1657
|
+
aiFeature ? : object|Boolean|string|AI|AIConfig
|
|
1641
1658
|
/**
|
|
1642
1659
|
* AI-powered filter feature for Grid. Allows users to type natural language queries to filter grid data.
|
|
1643
1660
|
* ...
|
|
@@ -1994,6 +2011,14 @@ defineProps<{
|
|
|
1994
2011
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/RegionResize)
|
|
1995
2012
|
*/
|
|
1996
2013
|
regionResizeFeature ? : object|Boolean|string|RegionResize|RegionResizeConfig
|
|
2014
|
+
/**
|
|
2015
|
+
* Allows user to reorder resource columns in vertical mode by dragging them. The feature fires various events
|
|
2016
|
+
* during the drag operation (see events below). To get notified about the actual resource reorder, you can also
|
|
2017
|
+
* listen to the `change` event on the scheduler [ResourceStore](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/data/ResourceStore).
|
|
2018
|
+
* ...
|
|
2019
|
+
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/ResourceColumnReorder)
|
|
2020
|
+
*/
|
|
2021
|
+
resourceColumnReorderFeature ? : object|Boolean|string|ResourceColumnReorder|ResourceColumnReorderConfig
|
|
1997
2022
|
/**
|
|
1998
2023
|
* Feature that displays a popup containing widgets for editing resource data.
|
|
1999
2024
|
* ...
|
|
@@ -2455,6 +2480,18 @@ const emit = defineEmits<{
|
|
|
2455
2480
|
* @param {any} params.params.event.value The value being set
|
|
2456
2481
|
*/
|
|
2457
2482
|
(e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
2483
|
+
/**
|
|
2484
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
2485
|
+
* @param {string} e Event name
|
|
2486
|
+
* @param {object} params Event parameters
|
|
2487
|
+
* @param {string} params.e Event name
|
|
2488
|
+
* @param {object} params.params Event parameters
|
|
2489
|
+
* @param {object} params.params.event Event object
|
|
2490
|
+
* @param {Grid.view.GridBase} params.params.event.source The grid instance
|
|
2491
|
+
* @param {Grid.column.Column} params.params.event.column The column
|
|
2492
|
+
* @param {boolean} params.params.event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
2493
|
+
*/
|
|
2494
|
+
(e: 'beforeColumnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
|
|
2458
2495
|
/**
|
|
2459
2496
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
2460
2497
|
* @param {string} e Event name
|
|
@@ -3049,12 +3086,12 @@ const emit = defineEmits<{
|
|
|
3049
3086
|
* @param {string} params.e Event name
|
|
3050
3087
|
* @param {object} params.params Event parameters
|
|
3051
3088
|
* @param {object} params.params.event Event object
|
|
3052
|
-
* @param {Grid.view.
|
|
3053
|
-
* @param {Grid.row.Row} params.params.event.row The row about to be rendered
|
|
3054
|
-
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
3055
|
-
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
3089
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
3090
|
+
* @param {Grid.row.Row} params.params.event.row The row about to be rendered
|
|
3091
|
+
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
3092
|
+
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
3056
3093
|
*/
|
|
3057
|
-
(e: 'beforeRenderRow', params: ((event: { source:
|
|
3094
|
+
(e: 'beforeRenderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
|
|
3058
3095
|
/**
|
|
3059
3096
|
* Grid rows are about to be rendered
|
|
3060
3097
|
* @param {string} e Event name
|
|
@@ -3062,9 +3099,9 @@ const emit = defineEmits<{
|
|
|
3062
3099
|
* @param {string} params.e Event name
|
|
3063
3100
|
* @param {object} params.params Event parameters
|
|
3064
3101
|
* @param {object} params.params.event Event object
|
|
3065
|
-
* @param {Grid.view.
|
|
3102
|
+
* @param {Grid.view.GridBase} params.params.event.source This grid.
|
|
3066
3103
|
*/
|
|
3067
|
-
(e: 'beforeRenderRows', params: ((event: { source:
|
|
3104
|
+
(e: 'beforeRenderRows', params: ((event: { source: GridBase }) => void)|string): void
|
|
3068
3105
|
/**
|
|
3069
3106
|
* Fires on the owning grid before a resource editing starts.
|
|
3070
3107
|
* This may be listened for to allow an application to take over event editing duties.
|
|
@@ -3495,6 +3532,18 @@ const emit = defineEmits<{
|
|
|
3495
3532
|
* @param {Core.data.Model} params.params.event.record The record which has been collapsed.
|
|
3496
3533
|
*/
|
|
3497
3534
|
(e: 'collapseNode', params: ((event: { source: Grid, record: Model }) => void)|string): void
|
|
3535
|
+
/**
|
|
3536
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
3537
|
+
* @param {string} e Event name
|
|
3538
|
+
* @param {object} params Event parameters
|
|
3539
|
+
* @param {string} params.e Event name
|
|
3540
|
+
* @param {object} params.params Event parameters
|
|
3541
|
+
* @param {object} params.params.event Event object
|
|
3542
|
+
* @param {Grid.view.GridBase} params.params.event.source The Grid instance
|
|
3543
|
+
* @param {Grid.column.Column} params.params.event.column The column being toggled
|
|
3544
|
+
* @param {boolean} params.params.event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
3545
|
+
*/
|
|
3546
|
+
(e: 'columnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
|
|
3498
3547
|
/**
|
|
3499
3548
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
3500
3549
|
* to indicate whether the drop position is valid or not.
|
|
@@ -3623,14 +3672,14 @@ const emit = defineEmits<{
|
|
|
3623
3672
|
* @param {string} params.e Event name
|
|
3624
3673
|
* @param {object} params.params Event parameters
|
|
3625
3674
|
* @param {object} params.params.event Event object
|
|
3626
|
-
* @param {Grid.view.
|
|
3675
|
+
* @param {Grid.view.GridBase} params.params.event.source Owning grid
|
|
3627
3676
|
* @param {Core.data.Store} params.params.event.store The originating store
|
|
3628
3677
|
* @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'`
|
|
3629
3678
|
* @param {Core.data.Model} params.params.event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
3630
3679
|
* @param {Core.data.Model[]} params.params.event.records Changed records, passed for all actions except `'removeAll'`
|
|
3631
3680
|
* @param {object} params.params.event.changes Passed for the `'update'` action, info on which record fields changed
|
|
3632
3681
|
*/
|
|
3633
|
-
(e: 'dataChange', params: ((event: { source:
|
|
3682
|
+
(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
|
|
3634
3683
|
/**
|
|
3635
3684
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
3636
3685
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -4968,12 +5017,12 @@ const emit = defineEmits<{
|
|
|
4968
5017
|
* @param {string} params.e Event name
|
|
4969
5018
|
* @param {object} params.params Event parameters
|
|
4970
5019
|
* @param {object} params.params.event Event object
|
|
4971
|
-
* @param {Grid.view.
|
|
4972
|
-
* @param {Grid.row.Row} params.params.event.row The row that has been rendered
|
|
4973
|
-
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
4974
|
-
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
5020
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
5021
|
+
* @param {Grid.row.Row} params.params.event.row The row that has been rendered
|
|
5022
|
+
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
5023
|
+
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
4975
5024
|
*/
|
|
4976
|
-
(e: 'renderRow', params: ((event: { source:
|
|
5025
|
+
(e: 'renderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
|
|
4977
5026
|
/**
|
|
4978
5027
|
* Grid rows have been rendered
|
|
4979
5028
|
* @param {string} e Event name
|
|
@@ -4981,9 +5030,9 @@ const emit = defineEmits<{
|
|
|
4981
5030
|
* @param {string} params.e Event name
|
|
4982
5031
|
* @param {object} params.params Event parameters
|
|
4983
5032
|
* @param {object} params.params.event Event object
|
|
4984
|
-
* @param {Grid.view.
|
|
5033
|
+
* @param {Grid.view.GridBase} params.params.event.source This grid.
|
|
4985
5034
|
*/
|
|
4986
|
-
(e: 'renderRows', params: ((event: { source:
|
|
5035
|
+
(e: 'renderRows', params: ((event: { source: GridBase }) => void)|string): void
|
|
4987
5036
|
/**
|
|
4988
5037
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
4989
5038
|
* @param {string} e Event name
|
|
@@ -4998,6 +5047,94 @@ const emit = defineEmits<{
|
|
|
4998
5047
|
* @param {number} params.params.event.oldHeight The old height
|
|
4999
5048
|
*/
|
|
5000
5049
|
(e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
|
|
5050
|
+
/**
|
|
5051
|
+
* Fired before dragging starts, return `false` to prevent the drag operation.
|
|
5052
|
+
* @param {string} e Event name
|
|
5053
|
+
* @param {object} params Event parameters
|
|
5054
|
+
* @param {string} params.e Event name
|
|
5055
|
+
* @param {object} params.params Event parameters
|
|
5056
|
+
* @param {object} params.params.event Event object
|
|
5057
|
+
* @param {Scheduler.view.Scheduler} params.params.event.source
|
|
5058
|
+
* @param {object} params.params.event.context
|
|
5059
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.context.resource The dragged resource
|
|
5060
|
+
* @param {MouseEvent,TouchEvent} params.params.event.event
|
|
5061
|
+
*/
|
|
5062
|
+
(e: 'resourceColumnBeforeDragStart', params: ((event: { source: Scheduler, context: { resource: SchedulerResourceModel }, event: MouseEvent|TouchEvent }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
5063
|
+
/**
|
|
5064
|
+
* Fired before the drop is finalized. You can return `false` or a Promise that resolves to `false`
|
|
5065
|
+
* to cancel the drop operation.
|
|
5066
|
+
* @param {string} e Event name
|
|
5067
|
+
* @param {object} params Event parameters
|
|
5068
|
+
* @param {string} params.e Event name
|
|
5069
|
+
* @param {object} params.params Event parameters
|
|
5070
|
+
* @param {object} params.params.event Event object
|
|
5071
|
+
* @param {Scheduler.view.Scheduler} params.params.event.source
|
|
5072
|
+
* @param {object} params.params.event.context
|
|
5073
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.context.resource The dragged resource
|
|
5074
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.context.insertBefore The resource to insert before
|
|
5075
|
+
* @param {Core.data.Model} params.params.event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
|
|
5076
|
+
* @param {MouseEvent} params.params.event.event
|
|
5077
|
+
*/
|
|
5078
|
+
(e: 'resourceColumnBeforeDropFinalize', params: ((event: { source: Scheduler, context: { resource: SchedulerResourceModel, insertBefore: SchedulerResourceModel, targetGroup: Model }, event: MouseEvent }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
5079
|
+
/**
|
|
5080
|
+
* Fired while the resource column is being dragged. You can signal that the drop position is
|
|
5081
|
+
* valid or invalid by setting `context.valid = false;`
|
|
5082
|
+
* @param {string} e Event name
|
|
5083
|
+
* @param {object} params Event parameters
|
|
5084
|
+
* @param {string} params.e Event name
|
|
5085
|
+
* @param {object} params.params Event parameters
|
|
5086
|
+
* @param {object} params.params.event Event object
|
|
5087
|
+
* @param {Scheduler.view.Scheduler} params.params.event.source
|
|
5088
|
+
* @param {object} params.params.event.context
|
|
5089
|
+
* @param {boolean} params.params.event.context.valid Set this to `true` or `false` to indicate whether the drop position is valid
|
|
5090
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.context.insertBefore The resource to insert before (`null` if inserting at last position)
|
|
5091
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.context.resource The dragged resource
|
|
5092
|
+
* @param {Core.data.Model} params.params.event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
|
|
5093
|
+
* @param {MouseEvent} params.params.event.event
|
|
5094
|
+
*/
|
|
5095
|
+
(e: 'resourceColumnDrag', params: ((event: { source: Scheduler, context: { valid: boolean, insertBefore: SchedulerResourceModel, resource: SchedulerResourceModel, targetGroup: Model }, event: MouseEvent }) => void)|string): void
|
|
5096
|
+
/**
|
|
5097
|
+
* Fired when drag is aborted
|
|
5098
|
+
* @param {string} e Event name
|
|
5099
|
+
* @param {object} params Event parameters
|
|
5100
|
+
* @param {string} params.e Event name
|
|
5101
|
+
* @param {object} params.params Event parameters
|
|
5102
|
+
* @param {object} params.params.event Event object
|
|
5103
|
+
* @param {Scheduler.view.Scheduler} params.params.event.source
|
|
5104
|
+
* @param {object} params.params.event.context
|
|
5105
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.context.resource The dragged resource
|
|
5106
|
+
* @param {MouseEvent} params.params.event.event
|
|
5107
|
+
*/
|
|
5108
|
+
(e: 'resourceColumnDragAbort', params: ((event: { source: Scheduler, context: { resource: SchedulerResourceModel }, event: MouseEvent }) => void)|string): void
|
|
5109
|
+
/**
|
|
5110
|
+
* Fired when dragging starts.
|
|
5111
|
+
* @param {string} e Event name
|
|
5112
|
+
* @param {object} params Event parameters
|
|
5113
|
+
* @param {string} params.e Event name
|
|
5114
|
+
* @param {object} params.params Event parameters
|
|
5115
|
+
* @param {object} params.params.event Event object
|
|
5116
|
+
* @param {Scheduler.view.Scheduler} params.params.event.source
|
|
5117
|
+
* @param {object} params.params.event.context
|
|
5118
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.context.resource The dragged resource
|
|
5119
|
+
* @param {MouseEvent,TouchEvent} params.params.event.event
|
|
5120
|
+
*/
|
|
5121
|
+
(e: 'resourceColumnDragStart', params: ((event: { source: Scheduler, context: { resource: SchedulerResourceModel }, event: MouseEvent|TouchEvent }) => void)|string): void
|
|
5122
|
+
/**
|
|
5123
|
+
* Fired after drop
|
|
5124
|
+
* @param {string} e Event name
|
|
5125
|
+
* @param {object} params Event parameters
|
|
5126
|
+
* @param {string} params.e Event name
|
|
5127
|
+
* @param {object} params.params Event parameters
|
|
5128
|
+
* @param {object} params.params.event Event object
|
|
5129
|
+
* @param {Scheduler.view.Scheduler} params.params.event.source
|
|
5130
|
+
* @param {object} params.params.event.context
|
|
5131
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.context.resource The dragged resource
|
|
5132
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.context.insertBefore The resource that was inserted before
|
|
5133
|
+
* @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.
|
|
5134
|
+
* @param {boolean} params.params.event.context.valid `true` if the drop was valid, `false` otherwise
|
|
5135
|
+
* @param {MouseEvent} params.params.event.event
|
|
5136
|
+
*/
|
|
5137
|
+
(e: 'resourceColumnDrop', params: ((event: { source: Scheduler, context: { resource: SchedulerResourceModel, insertBefore: SchedulerResourceModel, targetGroup: Model, valid: boolean }, event: MouseEvent }) => void)|string): void
|
|
5001
5138
|
/**
|
|
5002
5139
|
* Fires before the resource editor removes a resource.
|
|
5003
5140
|
* @param {string} e Event name
|
|
@@ -5603,10 +5740,10 @@ const emit = defineEmits<{
|
|
|
5603
5740
|
* @param {string} params.e Event name
|
|
5604
5741
|
* @param {object} params.params Event parameters
|
|
5605
5742
|
* @param {object} params.params.event Event object
|
|
5606
|
-
* @param {Grid.view.
|
|
5743
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance.
|
|
5607
5744
|
* @param {number} params.params.event.scrollTop The vertical scroll position.
|
|
5608
5745
|
*/
|
|
5609
|
-
(e: 'scroll', params: ((event: { source:
|
|
5746
|
+
(e: 'scroll', params: ((event: { source: GridBase, scrollTop: number }) => void)|string): void
|
|
5610
5747
|
/**
|
|
5611
5748
|
* Fires on owner when the scroll button is clicked, return `false` to prevent default scroll behavior
|
|
5612
5749
|
* @param {string} e Event name
|
|
@@ -5762,10 +5899,10 @@ const emit = defineEmits<{
|
|
|
5762
5899
|
* @param {string} params.e Event name
|
|
5763
5900
|
* @param {object} params.params Event parameters
|
|
5764
5901
|
* @param {object} params.params.event Event object
|
|
5765
|
-
* @param {Grid.view.
|
|
5902
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
5766
5903
|
* @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
|
|
5767
5904
|
*/
|
|
5768
|
-
(e: 'subGridCollapse', params: ((event: { source:
|
|
5905
|
+
(e: 'subGridCollapse', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
|
|
5769
5906
|
/**
|
|
5770
5907
|
* Fires after a sub grid is expanded.
|
|
5771
5908
|
* @param {string} e Event name
|
|
@@ -5773,10 +5910,10 @@ const emit = defineEmits<{
|
|
|
5773
5910
|
* @param {string} params.e Event name
|
|
5774
5911
|
* @param {object} params.params Event parameters
|
|
5775
5912
|
* @param {object} params.params.event Event object
|
|
5776
|
-
* @param {Grid.view.
|
|
5913
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
5777
5914
|
* @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
|
|
5778
5915
|
*/
|
|
5779
|
-
(e: 'subGridExpand', params: ((event: { source:
|
|
5916
|
+
(e: 'subGridExpand', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
|
|
5780
5917
|
/**
|
|
5781
5918
|
* Fires on the owning Scheduler or Gantt widget when the editor for an event is canceled.
|
|
5782
5919
|
* @param {string} e Event name
|
|
@@ -6162,6 +6299,7 @@ const widgetData = {
|
|
|
6162
6299
|
},
|
|
6163
6300
|
projectStores : true,
|
|
6164
6301
|
featureNames : [
|
|
6302
|
+
'aiFeature',
|
|
6165
6303
|
'aiFilterFeature',
|
|
6166
6304
|
'calendarHighlightFeature',
|
|
6167
6305
|
'cellCopyPasteFeature',
|
|
@@ -6214,6 +6352,7 @@ const widgetData = {
|
|
|
6214
6352
|
'printFeature',
|
|
6215
6353
|
'quickFindFeature',
|
|
6216
6354
|
'regionResizeFeature',
|
|
6355
|
+
'resourceColumnReorderFeature',
|
|
6217
6356
|
'resourceEditFeature',
|
|
6218
6357
|
'resourceMenuFeature',
|
|
6219
6358
|
'resourceNonWorkingTimeFeature',
|
|
@@ -6258,6 +6397,7 @@ const widgetData = {
|
|
|
6258
6397
|
'autoHeight',
|
|
6259
6398
|
'bbar',
|
|
6260
6399
|
'bodyCls',
|
|
6400
|
+
'border',
|
|
6261
6401
|
'bubbleEvents',
|
|
6262
6402
|
'bufferCoef',
|
|
6263
6403
|
'bufferThreshold',
|
|
@@ -6434,6 +6574,7 @@ const widgetData = {
|
|
|
6434
6574
|
'hideRowHover',
|
|
6435
6575
|
'id',
|
|
6436
6576
|
'infiniteScroll',
|
|
6577
|
+
'inheritEventColor',
|
|
6437
6578
|
'initialAnimationDuration',
|
|
6438
6579
|
'inputFieldAlign',
|
|
6439
6580
|
'insertBefore',
|
|
@@ -6476,6 +6617,7 @@ const widgetData = {
|
|
|
6476
6617
|
'onBeforeCellEditStart',
|
|
6477
6618
|
'onBeforeCellRangeDelete',
|
|
6478
6619
|
'onBeforeCellRangeEdit',
|
|
6620
|
+
'onBeforeColumnCollapseToggle',
|
|
6479
6621
|
'onBeforeColumnDragStart',
|
|
6480
6622
|
'onBeforeColumnDropFinalize',
|
|
6481
6623
|
'onBeforeColumnResize',
|
|
@@ -6551,6 +6693,7 @@ const widgetData = {
|
|
|
6551
6693
|
'onCellMouseOver',
|
|
6552
6694
|
'onCollapse',
|
|
6553
6695
|
'onCollapseNode',
|
|
6696
|
+
'onColumnCollapseToggle',
|
|
6554
6697
|
'onColumnDrag',
|
|
6555
6698
|
'onColumnDragStart',
|
|
6556
6699
|
'onColumnDrop',
|
|
@@ -6661,6 +6804,12 @@ const widgetData = {
|
|
|
6661
6804
|
'onRenderRow',
|
|
6662
6805
|
'onRenderRows',
|
|
6663
6806
|
'onResize',
|
|
6807
|
+
'onResourceColumnBeforeDragStart',
|
|
6808
|
+
'onResourceColumnBeforeDropFinalize',
|
|
6809
|
+
'onResourceColumnDrag',
|
|
6810
|
+
'onResourceColumnDragAbort',
|
|
6811
|
+
'onResourceColumnDragStart',
|
|
6812
|
+
'onResourceColumnDrop',
|
|
6664
6813
|
'onResourceEditBeforeRemove',
|
|
6665
6814
|
'onResourceEditBeforeSave',
|
|
6666
6815
|
'onResourceEditRemove',
|
|
@@ -6837,6 +6986,7 @@ const widgetData = {
|
|
|
6837
6986
|
'beforeCellEditStart',
|
|
6838
6987
|
'beforeCellRangeDelete',
|
|
6839
6988
|
'beforeCellRangeEdit',
|
|
6989
|
+
'beforeColumnCollapseToggle',
|
|
6840
6990
|
'beforeColumnDragStart',
|
|
6841
6991
|
'beforeColumnDropFinalize',
|
|
6842
6992
|
'beforeColumnResize',
|
|
@@ -6912,6 +7062,7 @@ const widgetData = {
|
|
|
6912
7062
|
'cellMouseOver',
|
|
6913
7063
|
'collapse',
|
|
6914
7064
|
'collapseNode',
|
|
7065
|
+
'columnCollapseToggle',
|
|
6915
7066
|
'columnDrag',
|
|
6916
7067
|
'columnDragStart',
|
|
6917
7068
|
'columnDrop',
|
|
@@ -7022,6 +7173,12 @@ const widgetData = {
|
|
|
7022
7173
|
'renderRow',
|
|
7023
7174
|
'renderRows',
|
|
7024
7175
|
'resize',
|
|
7176
|
+
'resourceColumnBeforeDragStart',
|
|
7177
|
+
'resourceColumnBeforeDropFinalize',
|
|
7178
|
+
'resourceColumnDrag',
|
|
7179
|
+
'resourceColumnDragAbort',
|
|
7180
|
+
'resourceColumnDragStart',
|
|
7181
|
+
'resourceColumnDrop',
|
|
7025
7182
|
'resourceEditBeforeRemove',
|
|
7026
7183
|
'resourceEditBeforeSave',
|
|
7027
7184
|
'resourceEditRemove',
|
|
@@ -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, 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 as SchedulerAssignmentModel, ColumnLines, ColumnLinesConfig, CrudManager, CrudManagerConfig, DateConstraint, DependencyBaseModel, DependencyMenu, DependencyMenuConfig, EventColor, EventCopyPaste, EventCopyPasteConfig, EventDrag, EventDragConfig, EventDragCreate, EventDragCreateConfig, EventDragSelect, EventDragSelectConfig, EventEdit, EventEditConfig, EventFilter, EventFilterConfig, EventMenu, EventMenuConfig, EventModel as SchedulerEventModel, EventNonWorkingTime, EventNonWorkingTimeConfig, EventTooltip, EventTooltipConfig, ExcelExporter, ExcelExporterConfig, GroupSummary, GroupSummaryConfig, HeaderZoom, HeaderZoomConfig, Labels, LabelsConfig, LockRows, LockRowsConfig, NonWorkingTime, NonWorkingTimeConfig, Pan, PanConfig, PdfExport, PdfExportConfig, Print, PrintConfig, RecurrenceConfirmationPopup, RecurrenceConfirmationPopupConfig, ResourceHeaderConfig, ResourceMarginConfig, ResourceMenu, ResourceMenuConfig, ResourceModel as SchedulerResourceModel, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, ResourceTimeRanges, ResourceTimeRangesConfig, RowReorder, RowReorderConfig, RowResize, RowResizeConfig, ScheduleContext, ScheduleContextConfig, ScheduleMenu, ScheduleMenuConfig, ScheduleTooltip, ScheduleTooltipConfig, Scheduler, 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 as SchedulerAssignmentModel, ColumnLines, ColumnLinesConfig, CrudManager, CrudManagerConfig, DateConstraint, DependencyBaseModel, DependencyMenu, DependencyMenuConfig, EventColor, EventCopyPaste, EventCopyPasteConfig, EventDrag, EventDragConfig, EventDragCreate, EventDragCreateConfig, EventDragSelect, EventDragSelectConfig, EventEdit, EventEditConfig, EventFilter, EventFilterConfig, EventMenu, EventMenuConfig, EventModel as SchedulerEventModel, EventNonWorkingTime, EventNonWorkingTimeConfig, EventTooltip, EventTooltipConfig, ExcelExporter, ExcelExporterConfig, GroupSummary, GroupSummaryConfig, HeaderZoom, HeaderZoomConfig, Labels, LabelsConfig, LockRows, LockRowsConfig, NonWorkingTime, NonWorkingTimeConfig, Pan, PanConfig, PdfExport, PdfExportConfig, Print, PrintConfig, RecurrenceConfirmationPopup, RecurrenceConfirmationPopupConfig, ResourceColumnReorder, ResourceColumnReorderConfig, ResourceHeaderConfig, ResourceMarginConfig, ResourceMenu, ResourceMenuConfig, ResourceModel as SchedulerResourceModel, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, ResourceTimeRanges, ResourceTimeRangesConfig, RowReorder, RowReorderConfig, RowResize, RowResizeConfig, ScheduleContext, ScheduleContextConfig, ScheduleMenu, ScheduleMenuConfig, ScheduleTooltip, ScheduleTooltipConfig, Scheduler, 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
|
import type { AssignmentModel, AssignmentModelConfig, AssignmentStore, AssignmentStoreConfig, CalendarHighlight, CalendarHighlightConfig, CalendarModel, CalendarModelConfig, CellEdit, CellEditConfig, SchedulerProContainerItemConfig, CycleResolutionPopup, Dependencies, DependenciesConfig, DependencyEdit, DependencyEditConfig, DependencyModel, DependencyModelConfig, DependencyStore, DependencyStoreConfig, EventBuffer, EventBufferConfig, EventLayoutConfig, EventModel, EventModelConfig, EventResize, EventResizeConfig, EventSegmentDrag, EventSegmentDragConfig, EventSegmentResize, EventSegmentResizeConfig, EventSegments, EventSegmentsConfig, EventStore, EventStoreConfig, SchedulerProColumnConfig, NestedEvents, NestedEventsConfig, PercentBar, PercentBarConfig, ProjectModel, ProjectModelConfig, ResourceEdit, ResourceEditConfig, ResourceModel, ResourceModelConfig, ResourceNonWorkingTime, ResourceNonWorkingTimeConfig, ResourceStore, ResourceStoreConfig, SchedulerProBaseListeners, SchedulingIssueResolutionPopup, TaskEdit, TaskEditConfig, TimeSpanHighlight, TimeSpanHighlightConfig, Versions, VersionsConfig } from '@bryntum/schedulerpro-thin';
|
|
5
5
|
|
|
6
6
|
export declare type BryntumSchedulerProBaseProps = {
|
|
@@ -129,6 +129,10 @@ export declare type BryntumSchedulerProBaseProps = {
|
|
|
129
129
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/SchedulerProBase#config-bodyCls)
|
|
130
130
|
*/
|
|
131
131
|
bodyCls ? : string|object
|
|
132
|
+
/**
|
|
133
|
+
* Set `true` to add a border to this container's element.
|
|
134
|
+
*/
|
|
135
|
+
border ? : Boolean
|
|
132
136
|
/**
|
|
133
137
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
134
138
|
* hierarchy when triggered.
|
|
@@ -198,7 +202,7 @@ export declare type BryntumSchedulerProBaseProps = {
|
|
|
198
202
|
* ...
|
|
199
203
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/SchedulerProBase#config-color)
|
|
200
204
|
*/
|
|
201
|
-
color ? :
|
|
205
|
+
color ? : Color
|
|
202
206
|
/**
|
|
203
207
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
204
208
|
*/
|
|
@@ -711,6 +715,10 @@ export declare type BryntumSchedulerProBaseProps = {
|
|
|
711
715
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/SchedulerProBase#config-infiniteScroll)
|
|
712
716
|
*/
|
|
713
717
|
infiniteScroll ? : Boolean
|
|
718
|
+
/**
|
|
719
|
+
* Set to true for child nodes in a tree store to inherit their parent´s `eventColor`
|
|
720
|
+
*/
|
|
721
|
+
inheritEventColor ? : Boolean
|
|
714
722
|
/**
|
|
715
723
|
* Maximum duration (in milliseconds) for the initial animation controlled by [useInitialAnimation](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/SchedulerEventRendering#config-useInitialAnimation).
|
|
716
724
|
*/
|
|
@@ -956,7 +964,7 @@ export declare type BryntumSchedulerProBaseProps = {
|
|
|
956
964
|
* ...
|
|
957
965
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/SchedulerProBase#config-partner)
|
|
958
966
|
*/
|
|
959
|
-
partner ? : TimelineBase
|
|
967
|
+
partner ? : TimelineBase|string
|
|
960
968
|
/**
|
|
961
969
|
* Set to `true` to include `startDate` and `endDate` params indicating the currently viewed date range in
|
|
962
970
|
* `EventStore` load requests (when loading using `AjaxStore` or `CrudManager` functionality).
|
|
@@ -1600,6 +1608,15 @@ export declare type BryntumSchedulerProBaseProps = {
|
|
|
1600
1608
|
zoomOnTimeAxisDoubleClick ? : Boolean
|
|
1601
1609
|
|
|
1602
1610
|
// Features
|
|
1611
|
+
/**
|
|
1612
|
+
* This feature provides an AI agent for the Scheduler and SchedulerPro. It provides a chat panel that allows the user
|
|
1613
|
+
* to send messages to the agent and see the responses. Which allows the user to use natural language to interact with
|
|
1614
|
+
* the Scheduler in different ways. For example, the user can ask the agent to filter the data, sort it, or select
|
|
1615
|
+
* specific records. The agent can also perform data manipulation operations such as adding, updating, deleting records.
|
|
1616
|
+
* ...
|
|
1617
|
+
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/AI)
|
|
1618
|
+
*/
|
|
1619
|
+
aiFeature ? : object|Boolean|string|AI|AIConfig
|
|
1603
1620
|
/**
|
|
1604
1621
|
* AI-powered filter feature for Grid. Allows users to type natural language queries to filter grid data.
|
|
1605
1622
|
* ...
|
|
@@ -1956,6 +1973,14 @@ export declare type BryntumSchedulerProBaseProps = {
|
|
|
1956
1973
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/RegionResize)
|
|
1957
1974
|
*/
|
|
1958
1975
|
regionResizeFeature ? : object|Boolean|string|RegionResize|RegionResizeConfig
|
|
1976
|
+
/**
|
|
1977
|
+
* Allows user to reorder resource columns in vertical mode by dragging them. The feature fires various events
|
|
1978
|
+
* during the drag operation (see events below). To get notified about the actual resource reorder, you can also
|
|
1979
|
+
* listen to the `change` event on the scheduler [ResourceStore](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/data/ResourceStore).
|
|
1980
|
+
* ...
|
|
1981
|
+
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/ResourceColumnReorder)
|
|
1982
|
+
*/
|
|
1983
|
+
resourceColumnReorderFeature ? : object|Boolean|string|ResourceColumnReorder|ResourceColumnReorderConfig
|
|
1959
1984
|
/**
|
|
1960
1985
|
* Feature that displays a popup containing widgets for editing resource data.
|
|
1961
1986
|
* ...
|
|
@@ -356,6 +356,14 @@ defineProps<{
|
|
|
356
356
|
* Field name to be used to transfer a phantom parent record identifier.
|
|
357
357
|
*/
|
|
358
358
|
phantomParentIdField ? : string
|
|
359
|
+
/**
|
|
360
|
+
* Setting this to `true` (default) vetoes [silenceInitialCommit](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-silenceInitialCommit) effect
|
|
361
|
+
* by preventing silent changes accepting
|
|
362
|
+
* on initial data loading if some scheduling issue gets resolved during it.
|
|
363
|
+
* ...
|
|
364
|
+
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-preventSilencingOnIssueResolve)
|
|
365
|
+
*/
|
|
366
|
+
preventSilencingOnIssueResolve ? : Boolean
|
|
359
367
|
/**
|
|
360
368
|
* Flag the record as read-only on the UI level, preventing the end user from manipulating it using editing
|
|
361
369
|
* features such as cell editing and event dragging.
|
|
@@ -1008,6 +1016,7 @@ const widgetData = {
|
|
|
1008
1016
|
'parentIndex',
|
|
1009
1017
|
'phantomIdField',
|
|
1010
1018
|
'phantomParentIdField',
|
|
1019
|
+
'preventSilencingOnIssueResolve',
|
|
1011
1020
|
'remotePaging',
|
|
1012
1021
|
'requestData',
|
|
1013
1022
|
'resetIdsBeforeSync',
|
|
@@ -341,6 +341,14 @@ export declare type BryntumSchedulerProProjectModelProps = {
|
|
|
341
341
|
* Field name to be used to transfer a phantom parent record identifier.
|
|
342
342
|
*/
|
|
343
343
|
phantomParentIdField ? : string
|
|
344
|
+
/**
|
|
345
|
+
* Setting this to `true` (default) vetoes [silenceInitialCommit](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-silenceInitialCommit) effect
|
|
346
|
+
* by preventing silent changes accepting
|
|
347
|
+
* on initial data loading if some scheduling issue gets resolved during it.
|
|
348
|
+
* ...
|
|
349
|
+
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-preventSilencingOnIssueResolve)
|
|
350
|
+
*/
|
|
351
|
+
preventSilencingOnIssueResolve ? : Boolean
|
|
344
352
|
/**
|
|
345
353
|
* Flag the record as read-only on the UI level, preventing the end user from manipulating it using editing
|
|
346
354
|
* features such as cell editing and event dragging.
|