@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
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
|
|
11
11
|
import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
|
|
12
12
|
|
|
13
|
-
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';
|
|
13
|
+
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';
|
|
14
14
|
import type { AIFilter, AIFilterConfig, CellCopyPaste, CellCopyPasteConfig, CellEdit as GridCellEdit, CellEditConfig as GridCellEditConfig, 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';
|
|
15
|
-
import type { AssignmentModel as SchedulerAssignmentModel, AssignmentModelConfig as SchedulerAssignmentModelConfig, AssignmentStore as SchedulerAssignmentStore, AssignmentStoreConfig as SchedulerAssignmentStoreConfig, ColumnLines, ColumnLinesConfig, CrudManager, CrudManagerConfig, DateConstraint, Dependencies as SchedulerDependencies, DependenciesConfig as SchedulerDependenciesConfig, DependencyBaseModel, DependencyEdit as SchedulerDependencyEdit, DependencyEditConfig as SchedulerDependencyEditConfig, DependencyMenu, DependencyMenuConfig, DependencyModel as SchedulerDependencyModel, DependencyModelConfig as SchedulerDependencyModelConfig, DependencyStore as SchedulerDependencyStore, DropData, EventColor, EventCopyPaste, EventCopyPasteConfig, EventDrag, EventDragConfig, EventDragCreate, EventDragCreateConfig, EventDragSelect, EventDragSelectConfig, EventEdit, EventEditConfig, EventFilter, EventFilterConfig, EventMenu, EventMenuConfig, EventModel as SchedulerEventModel, EventModelConfig as SchedulerEventModelConfig, EventNonWorkingTime, EventNonWorkingTimeConfig, EventResize as SchedulerEventResize, EventResizeConfig as SchedulerEventResizeConfig, EventResizeData, EventStore as SchedulerEventStore, EventStoreConfig as SchedulerEventStoreConfig, 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, ResourceModelConfig as SchedulerResourceModelConfig, ResourceStore as SchedulerResourceStore, ResourceStoreConfig as SchedulerResourceStoreConfig, 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';
|
|
15
|
+
import type { AI, AIConfig, AssignmentModel as SchedulerAssignmentModel, AssignmentModelConfig as SchedulerAssignmentModelConfig, AssignmentStore as SchedulerAssignmentStore, AssignmentStoreConfig as SchedulerAssignmentStoreConfig, ColumnLines, ColumnLinesConfig, CrudManager, CrudManagerConfig, DateConstraint, Dependencies as SchedulerDependencies, DependenciesConfig as SchedulerDependenciesConfig, DependencyBaseModel, DependencyEdit as SchedulerDependencyEdit, DependencyEditConfig as SchedulerDependencyEditConfig, DependencyMenu, DependencyMenuConfig, DependencyModel as SchedulerDependencyModel, DependencyModelConfig as SchedulerDependencyModelConfig, DependencyStore as SchedulerDependencyStore, DropData, EventColor, EventCopyPaste, EventCopyPasteConfig, EventDrag, EventDragConfig, EventDragCreate, EventDragCreateConfig, EventDragSelect, EventDragSelectConfig, EventEdit, EventEditConfig, EventFilter, EventFilterConfig, EventMenu, EventMenuConfig, EventModel as SchedulerEventModel, EventModelConfig as SchedulerEventModelConfig, EventNonWorkingTime, EventNonWorkingTimeConfig, EventResize as SchedulerEventResize, EventResizeConfig as SchedulerEventResizeConfig, EventResizeData, EventStore as SchedulerEventStore, EventStoreConfig as SchedulerEventStoreConfig, 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, ResourceModelConfig as SchedulerResourceModelConfig, ResourceStore as SchedulerResourceStore, ResourceStoreConfig as SchedulerResourceStoreConfig, 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';
|
|
16
16
|
import type { SchedulerProContainerItemConfig, DependencyStoreConfig, SchedulerProColumnConfig, ProjectModel, ProjectModelConfig, TimelineListeners } from '@bryntum/schedulerpro-thin';
|
|
17
17
|
import { Timeline } from '@bryntum/schedulerpro-thin';
|
|
18
18
|
|
|
@@ -144,6 +144,10 @@ defineProps<{
|
|
|
144
144
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/Timeline#config-bodyCls)
|
|
145
145
|
*/
|
|
146
146
|
bodyCls ? : string|object
|
|
147
|
+
/**
|
|
148
|
+
* Set `true` to add a border to this container's element.
|
|
149
|
+
*/
|
|
150
|
+
border ? : Boolean
|
|
147
151
|
/**
|
|
148
152
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
149
153
|
* hierarchy when triggered.
|
|
@@ -209,7 +213,7 @@ defineProps<{
|
|
|
209
213
|
* ...
|
|
210
214
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/Timeline#config-color)
|
|
211
215
|
*/
|
|
212
|
-
color ? :
|
|
216
|
+
color ? : Color
|
|
213
217
|
/**
|
|
214
218
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
215
219
|
*/
|
|
@@ -707,6 +711,10 @@ defineProps<{
|
|
|
707
711
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/Timeline#config-infiniteScroll)
|
|
708
712
|
*/
|
|
709
713
|
infiniteScroll ? : Boolean
|
|
714
|
+
/**
|
|
715
|
+
* Set to true for child nodes in a tree store to inherit their parent´s `eventColor`
|
|
716
|
+
*/
|
|
717
|
+
inheritEventColor ? : Boolean
|
|
710
718
|
/**
|
|
711
719
|
* Maximum duration (in milliseconds) for the initial animation controlled by [useInitialAnimation](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/SchedulerEventRendering#config-useInitialAnimation).
|
|
712
720
|
*/
|
|
@@ -952,7 +960,7 @@ defineProps<{
|
|
|
952
960
|
* ...
|
|
953
961
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/Timeline#config-partner)
|
|
954
962
|
*/
|
|
955
|
-
partner ? : TimelineBase
|
|
963
|
+
partner ? : TimelineBase|string
|
|
956
964
|
/**
|
|
957
965
|
* Set to `true` to include `startDate` and `endDate` params indicating the currently viewed date range in
|
|
958
966
|
* `EventStore` load requests (when loading using `AjaxStore` or `CrudManager` functionality).
|
|
@@ -1568,6 +1576,15 @@ defineProps<{
|
|
|
1568
1576
|
zoomOnTimeAxisDoubleClick ? : Boolean
|
|
1569
1577
|
|
|
1570
1578
|
// Features
|
|
1579
|
+
/**
|
|
1580
|
+
* This feature provides an AI agent for the Scheduler and SchedulerPro. It provides a chat panel that allows the user
|
|
1581
|
+
* to send messages to the agent and see the responses. Which allows the user to use natural language to interact with
|
|
1582
|
+
* the Scheduler in different ways. For example, the user can ask the agent to filter the data, sort it, or select
|
|
1583
|
+
* specific records. The agent can also perform data manipulation operations such as adding, updating, deleting records.
|
|
1584
|
+
* ...
|
|
1585
|
+
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/AI)
|
|
1586
|
+
*/
|
|
1587
|
+
aiFeature ? : object|Boolean|string|AI|AIConfig
|
|
1571
1588
|
/**
|
|
1572
1589
|
* AI-powered filter feature for Grid. Allows users to type natural language queries to filter grid data.
|
|
1573
1590
|
* ...
|
|
@@ -1878,6 +1895,14 @@ defineProps<{
|
|
|
1878
1895
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/RegionResize)
|
|
1879
1896
|
*/
|
|
1880
1897
|
regionResizeFeature ? : object|Boolean|string|RegionResize|RegionResizeConfig
|
|
1898
|
+
/**
|
|
1899
|
+
* Allows user to reorder resource columns in vertical mode by dragging them. The feature fires various events
|
|
1900
|
+
* during the drag operation (see events below). To get notified about the actual resource reorder, you can also
|
|
1901
|
+
* listen to the `change` event on the scheduler [ResourceStore](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/data/ResourceStore).
|
|
1902
|
+
* ...
|
|
1903
|
+
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/ResourceColumnReorder)
|
|
1904
|
+
*/
|
|
1905
|
+
resourceColumnReorderFeature ? : object|Boolean|string|ResourceColumnReorder|ResourceColumnReorderConfig
|
|
1881
1906
|
/**
|
|
1882
1907
|
* Applicable only for Scheduler in `vertical` mode. Right click resource header cells to display a context menu.
|
|
1883
1908
|
* ...
|
|
@@ -2266,6 +2291,18 @@ const emit = defineEmits<{
|
|
|
2266
2291
|
* @param {any} params.params.event.value The value being set
|
|
2267
2292
|
*/
|
|
2268
2293
|
(e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
2294
|
+
/**
|
|
2295
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
2296
|
+
* @param {string} e Event name
|
|
2297
|
+
* @param {object} params Event parameters
|
|
2298
|
+
* @param {string} params.e Event name
|
|
2299
|
+
* @param {object} params.params Event parameters
|
|
2300
|
+
* @param {object} params.params.event Event object
|
|
2301
|
+
* @param {Grid.view.GridBase} params.params.event.source The grid instance
|
|
2302
|
+
* @param {Grid.column.Column} params.params.event.column The column
|
|
2303
|
+
* @param {boolean} params.params.event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
2304
|
+
*/
|
|
2305
|
+
(e: 'beforeColumnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
|
|
2269
2306
|
/**
|
|
2270
2307
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
2271
2308
|
* @param {string} e Event name
|
|
@@ -2787,12 +2824,12 @@ const emit = defineEmits<{
|
|
|
2787
2824
|
* @param {string} params.e Event name
|
|
2788
2825
|
* @param {object} params.params Event parameters
|
|
2789
2826
|
* @param {object} params.params.event Event object
|
|
2790
|
-
* @param {Grid.view.
|
|
2791
|
-
* @param {Grid.row.Row} params.params.event.row The row about to be rendered
|
|
2792
|
-
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
2793
|
-
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
2827
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
2828
|
+
* @param {Grid.row.Row} params.params.event.row The row about to be rendered
|
|
2829
|
+
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
2830
|
+
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
2794
2831
|
*/
|
|
2795
|
-
(e: 'beforeRenderRow', params: ((event: { source:
|
|
2832
|
+
(e: 'beforeRenderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
|
|
2796
2833
|
/**
|
|
2797
2834
|
* Grid rows are about to be rendered
|
|
2798
2835
|
* @param {string} e Event name
|
|
@@ -2800,9 +2837,9 @@ const emit = defineEmits<{
|
|
|
2800
2837
|
* @param {string} params.e Event name
|
|
2801
2838
|
* @param {object} params.params Event parameters
|
|
2802
2839
|
* @param {object} params.params.event Event object
|
|
2803
|
-
* @param {Grid.view.
|
|
2840
|
+
* @param {Grid.view.GridBase} params.params.event.source This grid.
|
|
2804
2841
|
*/
|
|
2805
|
-
(e: 'beforeRenderRows', params: ((event: { source:
|
|
2842
|
+
(e: 'beforeRenderRows', params: ((event: { source: GridBase }) => void)|string): void
|
|
2806
2843
|
/**
|
|
2807
2844
|
* This event fires before row collapse is started.
|
|
2808
2845
|
* ...
|
|
@@ -3159,6 +3196,18 @@ const emit = defineEmits<{
|
|
|
3159
3196
|
* @param {Core.data.Model} params.params.event.record The record which has been collapsed.
|
|
3160
3197
|
*/
|
|
3161
3198
|
(e: 'collapseNode', params: ((event: { source: Grid, record: Model }) => void)|string): void
|
|
3199
|
+
/**
|
|
3200
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
3201
|
+
* @param {string} e Event name
|
|
3202
|
+
* @param {object} params Event parameters
|
|
3203
|
+
* @param {string} params.e Event name
|
|
3204
|
+
* @param {object} params.params Event parameters
|
|
3205
|
+
* @param {object} params.params.event Event object
|
|
3206
|
+
* @param {Grid.view.GridBase} params.params.event.source The Grid instance
|
|
3207
|
+
* @param {Grid.column.Column} params.params.event.column The column being toggled
|
|
3208
|
+
* @param {boolean} params.params.event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
3209
|
+
*/
|
|
3210
|
+
(e: 'columnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
|
|
3162
3211
|
/**
|
|
3163
3212
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
3164
3213
|
* to indicate whether the drop position is valid or not.
|
|
@@ -3287,14 +3336,14 @@ const emit = defineEmits<{
|
|
|
3287
3336
|
* @param {string} params.e Event name
|
|
3288
3337
|
* @param {object} params.params Event parameters
|
|
3289
3338
|
* @param {object} params.params.event Event object
|
|
3290
|
-
* @param {Grid.view.
|
|
3339
|
+
* @param {Grid.view.GridBase} params.params.event.source Owning grid
|
|
3291
3340
|
* @param {Core.data.Store} params.params.event.store The originating store
|
|
3292
3341
|
* @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'`
|
|
3293
3342
|
* @param {Core.data.Model} params.params.event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
3294
3343
|
* @param {Core.data.Model[]} params.params.event.records Changed records, passed for all actions except `'removeAll'`
|
|
3295
3344
|
* @param {object} params.params.event.changes Passed for the `'update'` action, info on which record fields changed
|
|
3296
3345
|
*/
|
|
3297
|
-
(e: 'dataChange', params: ((event: { source:
|
|
3346
|
+
(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
|
|
3298
3347
|
/**
|
|
3299
3348
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
3300
3349
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -4485,12 +4534,12 @@ const emit = defineEmits<{
|
|
|
4485
4534
|
* @param {string} params.e Event name
|
|
4486
4535
|
* @param {object} params.params Event parameters
|
|
4487
4536
|
* @param {object} params.params.event Event object
|
|
4488
|
-
* @param {Grid.view.
|
|
4489
|
-
* @param {Grid.row.Row} params.params.event.row The row that has been rendered
|
|
4490
|
-
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
4491
|
-
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
4537
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
4538
|
+
* @param {Grid.row.Row} params.params.event.row The row that has been rendered
|
|
4539
|
+
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
4540
|
+
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
4492
4541
|
*/
|
|
4493
|
-
(e: 'renderRow', params: ((event: { source:
|
|
4542
|
+
(e: 'renderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
|
|
4494
4543
|
/**
|
|
4495
4544
|
* Grid rows have been rendered
|
|
4496
4545
|
* @param {string} e Event name
|
|
@@ -4498,9 +4547,9 @@ const emit = defineEmits<{
|
|
|
4498
4547
|
* @param {string} params.e Event name
|
|
4499
4548
|
* @param {object} params.params Event parameters
|
|
4500
4549
|
* @param {object} params.params.event Event object
|
|
4501
|
-
* @param {Grid.view.
|
|
4550
|
+
* @param {Grid.view.GridBase} params.params.event.source This grid.
|
|
4502
4551
|
*/
|
|
4503
|
-
(e: 'renderRows', params: ((event: { source:
|
|
4552
|
+
(e: 'renderRows', params: ((event: { source: GridBase }) => void)|string): void
|
|
4504
4553
|
/**
|
|
4505
4554
|
* 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`*.
|
|
4506
4555
|
* @param {string} e Event name
|
|
@@ -4515,6 +4564,94 @@ const emit = defineEmits<{
|
|
|
4515
4564
|
* @param {number} params.params.event.oldHeight The old height
|
|
4516
4565
|
*/
|
|
4517
4566
|
(e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
|
|
4567
|
+
/**
|
|
4568
|
+
* Fired before dragging starts, return `false` to prevent the drag operation.
|
|
4569
|
+
* @param {string} e Event name
|
|
4570
|
+
* @param {object} params Event parameters
|
|
4571
|
+
* @param {string} params.e Event name
|
|
4572
|
+
* @param {object} params.params Event parameters
|
|
4573
|
+
* @param {object} params.params.event Event object
|
|
4574
|
+
* @param {Scheduler.view.Scheduler} params.params.event.source
|
|
4575
|
+
* @param {object} params.params.event.context
|
|
4576
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.context.resource The dragged resource
|
|
4577
|
+
* @param {MouseEvent,TouchEvent} params.params.event.event
|
|
4578
|
+
*/
|
|
4579
|
+
(e: 'resourceColumnBeforeDragStart', params: ((event: { source: Scheduler, context: { resource: SchedulerResourceModel }, event: MouseEvent|TouchEvent }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
4580
|
+
/**
|
|
4581
|
+
* Fired before the drop is finalized. You can return `false` or a Promise that resolves to `false`
|
|
4582
|
+
* to cancel the drop operation.
|
|
4583
|
+
* @param {string} e Event name
|
|
4584
|
+
* @param {object} params Event parameters
|
|
4585
|
+
* @param {string} params.e Event name
|
|
4586
|
+
* @param {object} params.params Event parameters
|
|
4587
|
+
* @param {object} params.params.event Event object
|
|
4588
|
+
* @param {Scheduler.view.Scheduler} params.params.event.source
|
|
4589
|
+
* @param {object} params.params.event.context
|
|
4590
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.context.resource The dragged resource
|
|
4591
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.context.insertBefore The resource to insert before
|
|
4592
|
+
* @param {Core.data.Model} params.params.event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
|
|
4593
|
+
* @param {MouseEvent} params.params.event.event
|
|
4594
|
+
*/
|
|
4595
|
+
(e: 'resourceColumnBeforeDropFinalize', params: ((event: { source: Scheduler, context: { resource: SchedulerResourceModel, insertBefore: SchedulerResourceModel, targetGroup: Model }, event: MouseEvent }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
4596
|
+
/**
|
|
4597
|
+
* Fired while the resource column is being dragged. You can signal that the drop position is
|
|
4598
|
+
* valid or invalid by setting `context.valid = false;`
|
|
4599
|
+
* @param {string} e Event name
|
|
4600
|
+
* @param {object} params Event parameters
|
|
4601
|
+
* @param {string} params.e Event name
|
|
4602
|
+
* @param {object} params.params Event parameters
|
|
4603
|
+
* @param {object} params.params.event Event object
|
|
4604
|
+
* @param {Scheduler.view.Scheduler} params.params.event.source
|
|
4605
|
+
* @param {object} params.params.event.context
|
|
4606
|
+
* @param {boolean} params.params.event.context.valid Set this to `true` or `false` to indicate whether the drop position is valid
|
|
4607
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.context.insertBefore The resource to insert before (`null` if inserting at last position)
|
|
4608
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.context.resource The dragged resource
|
|
4609
|
+
* @param {Core.data.Model} params.params.event.context.targetGroup When the resourceStore is grouped, the group header record of the target group
|
|
4610
|
+
* @param {MouseEvent} params.params.event.event
|
|
4611
|
+
*/
|
|
4612
|
+
(e: 'resourceColumnDrag', params: ((event: { source: Scheduler, context: { valid: boolean, insertBefore: SchedulerResourceModel, resource: SchedulerResourceModel, targetGroup: Model }, event: MouseEvent }) => void)|string): void
|
|
4613
|
+
/**
|
|
4614
|
+
* Fired when drag is aborted
|
|
4615
|
+
* @param {string} e Event name
|
|
4616
|
+
* @param {object} params Event parameters
|
|
4617
|
+
* @param {string} params.e Event name
|
|
4618
|
+
* @param {object} params.params Event parameters
|
|
4619
|
+
* @param {object} params.params.event Event object
|
|
4620
|
+
* @param {Scheduler.view.Scheduler} params.params.event.source
|
|
4621
|
+
* @param {object} params.params.event.context
|
|
4622
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.context.resource The dragged resource
|
|
4623
|
+
* @param {MouseEvent} params.params.event.event
|
|
4624
|
+
*/
|
|
4625
|
+
(e: 'resourceColumnDragAbort', params: ((event: { source: Scheduler, context: { resource: SchedulerResourceModel }, event: MouseEvent }) => void)|string): void
|
|
4626
|
+
/**
|
|
4627
|
+
* Fired when dragging starts.
|
|
4628
|
+
* @param {string} e Event name
|
|
4629
|
+
* @param {object} params Event parameters
|
|
4630
|
+
* @param {string} params.e Event name
|
|
4631
|
+
* @param {object} params.params Event parameters
|
|
4632
|
+
* @param {object} params.params.event Event object
|
|
4633
|
+
* @param {Scheduler.view.Scheduler} params.params.event.source
|
|
4634
|
+
* @param {object} params.params.event.context
|
|
4635
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.context.resource The dragged resource
|
|
4636
|
+
* @param {MouseEvent,TouchEvent} params.params.event.event
|
|
4637
|
+
*/
|
|
4638
|
+
(e: 'resourceColumnDragStart', params: ((event: { source: Scheduler, context: { resource: SchedulerResourceModel }, event: MouseEvent|TouchEvent }) => void)|string): void
|
|
4639
|
+
/**
|
|
4640
|
+
* Fired after drop
|
|
4641
|
+
* @param {string} e Event name
|
|
4642
|
+
* @param {object} params Event parameters
|
|
4643
|
+
* @param {string} params.e Event name
|
|
4644
|
+
* @param {object} params.params Event parameters
|
|
4645
|
+
* @param {object} params.params.event Event object
|
|
4646
|
+
* @param {Scheduler.view.Scheduler} params.params.event.source
|
|
4647
|
+
* @param {object} params.params.event.context
|
|
4648
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.context.resource The dragged resource
|
|
4649
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.context.insertBefore The resource that was inserted before
|
|
4650
|
+
* @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.
|
|
4651
|
+
* @param {boolean} params.params.event.context.valid `true` if the drop was valid, `false` otherwise
|
|
4652
|
+
* @param {MouseEvent} params.params.event.event
|
|
4653
|
+
*/
|
|
4654
|
+
(e: 'resourceColumnDrop', params: ((event: { source: Scheduler, context: { resource: SchedulerResourceModel, insertBefore: SchedulerResourceModel, targetGroup: Model, valid: boolean }, event: MouseEvent }) => void)|string): void
|
|
4518
4655
|
/**
|
|
4519
4656
|
* Fired when clicking a resource header cell
|
|
4520
4657
|
* @param {string} e Event name
|
|
@@ -4970,10 +5107,10 @@ const emit = defineEmits<{
|
|
|
4970
5107
|
* @param {string} params.e Event name
|
|
4971
5108
|
* @param {object} params.params Event parameters
|
|
4972
5109
|
* @param {object} params.params.event Event object
|
|
4973
|
-
* @param {Grid.view.
|
|
5110
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance.
|
|
4974
5111
|
* @param {number} params.params.event.scrollTop The vertical scroll position.
|
|
4975
5112
|
*/
|
|
4976
|
-
(e: 'scroll', params: ((event: { source:
|
|
5113
|
+
(e: 'scroll', params: ((event: { source: GridBase, scrollTop: number }) => void)|string): void
|
|
4977
5114
|
/**
|
|
4978
5115
|
* Fires on owner when the scroll button is clicked, return `false` to prevent default scroll behavior
|
|
4979
5116
|
* @param {string} e Event name
|
|
@@ -5129,10 +5266,10 @@ const emit = defineEmits<{
|
|
|
5129
5266
|
* @param {string} params.e Event name
|
|
5130
5267
|
* @param {object} params.params Event parameters
|
|
5131
5268
|
* @param {object} params.params.event Event object
|
|
5132
|
-
* @param {Grid.view.
|
|
5269
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
5133
5270
|
* @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
|
|
5134
5271
|
*/
|
|
5135
|
-
(e: 'subGridCollapse', params: ((event: { source:
|
|
5272
|
+
(e: 'subGridCollapse', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
|
|
5136
5273
|
/**
|
|
5137
5274
|
* Fires after a sub grid is expanded.
|
|
5138
5275
|
* @param {string} e Event name
|
|
@@ -5140,10 +5277,10 @@ const emit = defineEmits<{
|
|
|
5140
5277
|
* @param {string} params.e Event name
|
|
5141
5278
|
* @param {object} params.params Event parameters
|
|
5142
5279
|
* @param {object} params.params.event Event object
|
|
5143
|
-
* @param {Grid.view.
|
|
5280
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
5144
5281
|
* @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
|
|
5145
5282
|
*/
|
|
5146
|
-
(e: 'subGridExpand', params: ((event: { source:
|
|
5283
|
+
(e: 'subGridExpand', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
|
|
5147
5284
|
/**
|
|
5148
5285
|
* Triggered for click on a tick cell. Only triggered if the TreeSummary feature is configured with
|
|
5149
5286
|
* `[enableMouseEvents](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/TreeSummary#config-enableMouseEvents): true`.
|
|
@@ -5505,6 +5642,7 @@ const widgetData = {
|
|
|
5505
5642
|
'autoHeight',
|
|
5506
5643
|
'bbar',
|
|
5507
5644
|
'bodyCls',
|
|
5645
|
+
'border',
|
|
5508
5646
|
'bubbleEvents',
|
|
5509
5647
|
'bufferCoef',
|
|
5510
5648
|
'bufferThreshold',
|
|
@@ -5675,6 +5813,7 @@ const widgetData = {
|
|
|
5675
5813
|
'hideRowHover',
|
|
5676
5814
|
'id',
|
|
5677
5815
|
'infiniteScroll',
|
|
5816
|
+
'inheritEventColor',
|
|
5678
5817
|
'initialAnimationDuration',
|
|
5679
5818
|
'inputFieldAlign',
|
|
5680
5819
|
'insertBefore',
|
|
@@ -5714,6 +5853,7 @@ const widgetData = {
|
|
|
5714
5853
|
'onBeforeCellEditStart',
|
|
5715
5854
|
'onBeforeCellRangeDelete',
|
|
5716
5855
|
'onBeforeCellRangeEdit',
|
|
5856
|
+
'onBeforeColumnCollapseToggle',
|
|
5717
5857
|
'onBeforeColumnDragStart',
|
|
5718
5858
|
'onBeforeColumnDropFinalize',
|
|
5719
5859
|
'onBeforeColumnResize',
|
|
@@ -5779,6 +5919,7 @@ const widgetData = {
|
|
|
5779
5919
|
'onCellMouseOver',
|
|
5780
5920
|
'onCollapse',
|
|
5781
5921
|
'onCollapseNode',
|
|
5922
|
+
'onColumnCollapseToggle',
|
|
5782
5923
|
'onColumnDrag',
|
|
5783
5924
|
'onColumnDragStart',
|
|
5784
5925
|
'onColumnDrop',
|
|
@@ -5877,6 +6018,12 @@ const widgetData = {
|
|
|
5877
6018
|
'onRenderRow',
|
|
5878
6019
|
'onRenderRows',
|
|
5879
6020
|
'onResize',
|
|
6021
|
+
'onResourceColumnBeforeDragStart',
|
|
6022
|
+
'onResourceColumnBeforeDropFinalize',
|
|
6023
|
+
'onResourceColumnDrag',
|
|
6024
|
+
'onResourceColumnDragAbort',
|
|
6025
|
+
'onResourceColumnDragStart',
|
|
6026
|
+
'onResourceColumnDrop',
|
|
5880
6027
|
'onResourceHeaderClick',
|
|
5881
6028
|
'onResourceHeaderContextmenu',
|
|
5882
6029
|
'onResourceHeaderDblclick',
|
|
@@ -6037,6 +6184,7 @@ const widgetData = {
|
|
|
6037
6184
|
'beforeCellEditStart',
|
|
6038
6185
|
'beforeCellRangeDelete',
|
|
6039
6186
|
'beforeCellRangeEdit',
|
|
6187
|
+
'beforeColumnCollapseToggle',
|
|
6040
6188
|
'beforeColumnDragStart',
|
|
6041
6189
|
'beforeColumnDropFinalize',
|
|
6042
6190
|
'beforeColumnResize',
|
|
@@ -6102,6 +6250,7 @@ const widgetData = {
|
|
|
6102
6250
|
'cellMouseOver',
|
|
6103
6251
|
'collapse',
|
|
6104
6252
|
'collapseNode',
|
|
6253
|
+
'columnCollapseToggle',
|
|
6105
6254
|
'columnDrag',
|
|
6106
6255
|
'columnDragStart',
|
|
6107
6256
|
'columnDrop',
|
|
@@ -6200,6 +6349,12 @@ const widgetData = {
|
|
|
6200
6349
|
'renderRow',
|
|
6201
6350
|
'renderRows',
|
|
6202
6351
|
'resize',
|
|
6352
|
+
'resourceColumnBeforeDragStart',
|
|
6353
|
+
'resourceColumnBeforeDropFinalize',
|
|
6354
|
+
'resourceColumnDrag',
|
|
6355
|
+
'resourceColumnDragAbort',
|
|
6356
|
+
'resourceColumnDragStart',
|
|
6357
|
+
'resourceColumnDrop',
|
|
6203
6358
|
'resourceHeaderClick',
|
|
6204
6359
|
'resourceHeaderContextmenu',
|
|
6205
6360
|
'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 as GridCellEdit, CellEditConfig as GridCellEditConfig, 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, AssignmentModelConfig as SchedulerAssignmentModelConfig, AssignmentStore as SchedulerAssignmentStore, AssignmentStoreConfig as SchedulerAssignmentStoreConfig, ColumnLines, ColumnLinesConfig, CrudManager, CrudManagerConfig, DateConstraint, Dependencies as SchedulerDependencies, DependenciesConfig as SchedulerDependenciesConfig, DependencyBaseModel, DependencyEdit as SchedulerDependencyEdit, DependencyEditConfig as SchedulerDependencyEditConfig, DependencyMenu, DependencyMenuConfig, DependencyModel as SchedulerDependencyModel, DependencyModelConfig as SchedulerDependencyModelConfig, DependencyStore as SchedulerDependencyStore, EventColor, EventCopyPaste, EventCopyPasteConfig, EventDrag, EventDragConfig, EventDragCreate, EventDragCreateConfig, EventDragSelect, EventDragSelectConfig, EventEdit, EventEditConfig, EventFilter, EventFilterConfig, EventMenu, EventMenuConfig, EventModel as SchedulerEventModel, EventModelConfig as SchedulerEventModelConfig, EventNonWorkingTime, EventNonWorkingTimeConfig, EventResize as SchedulerEventResize, EventResizeConfig as SchedulerEventResizeConfig, EventStore as SchedulerEventStore, EventStoreConfig as SchedulerEventStoreConfig, 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, ResourceModelConfig as SchedulerResourceModelConfig, ResourceStore as SchedulerResourceStore, ResourceStoreConfig as SchedulerResourceStoreConfig, 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, AssignmentModelConfig as SchedulerAssignmentModelConfig, AssignmentStore as SchedulerAssignmentStore, AssignmentStoreConfig as SchedulerAssignmentStoreConfig, ColumnLines, ColumnLinesConfig, CrudManager, CrudManagerConfig, DateConstraint, Dependencies as SchedulerDependencies, DependenciesConfig as SchedulerDependenciesConfig, DependencyBaseModel, DependencyEdit as SchedulerDependencyEdit, DependencyEditConfig as SchedulerDependencyEditConfig, DependencyMenu, DependencyMenuConfig, DependencyModel as SchedulerDependencyModel, DependencyModelConfig as SchedulerDependencyModelConfig, DependencyStore as SchedulerDependencyStore, EventColor, EventCopyPaste, EventCopyPasteConfig, EventDrag, EventDragConfig, EventDragCreate, EventDragCreateConfig, EventDragSelect, EventDragSelectConfig, EventEdit, EventEditConfig, EventFilter, EventFilterConfig, EventMenu, EventMenuConfig, EventModel as SchedulerEventModel, EventModelConfig as SchedulerEventModelConfig, EventNonWorkingTime, EventNonWorkingTimeConfig, EventResize as SchedulerEventResize, EventResizeConfig as SchedulerEventResizeConfig, EventStore as SchedulerEventStore, EventStoreConfig as SchedulerEventStoreConfig, 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, ResourceModelConfig as SchedulerResourceModelConfig, ResourceStore as SchedulerResourceStore, ResourceStoreConfig as SchedulerResourceStoreConfig, 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 { SchedulerProContainerItemConfig, DependencyStoreConfig, SchedulerProColumnConfig, ProjectModel, ProjectModelConfig, TimelineListeners } from '@bryntum/schedulerpro-thin';
|
|
5
5
|
|
|
6
6
|
export declare type BryntumTimelineProps = {
|
|
@@ -129,6 +129,10 @@ export declare type BryntumTimelineProps = {
|
|
|
129
129
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/Timeline#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.
|
|
@@ -194,7 +198,7 @@ export declare type BryntumTimelineProps = {
|
|
|
194
198
|
* ...
|
|
195
199
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/Timeline#config-color)
|
|
196
200
|
*/
|
|
197
|
-
color ? :
|
|
201
|
+
color ? : Color
|
|
198
202
|
/**
|
|
199
203
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
200
204
|
*/
|
|
@@ -692,6 +696,10 @@ export declare type BryntumTimelineProps = {
|
|
|
692
696
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/Timeline#config-infiniteScroll)
|
|
693
697
|
*/
|
|
694
698
|
infiniteScroll ? : Boolean
|
|
699
|
+
/**
|
|
700
|
+
* Set to true for child nodes in a tree store to inherit their parent´s `eventColor`
|
|
701
|
+
*/
|
|
702
|
+
inheritEventColor ? : Boolean
|
|
695
703
|
/**
|
|
696
704
|
* Maximum duration (in milliseconds) for the initial animation controlled by [useInitialAnimation](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/SchedulerEventRendering#config-useInitialAnimation).
|
|
697
705
|
*/
|
|
@@ -937,7 +945,7 @@ export declare type BryntumTimelineProps = {
|
|
|
937
945
|
* ...
|
|
938
946
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/Timeline#config-partner)
|
|
939
947
|
*/
|
|
940
|
-
partner ? : TimelineBase
|
|
948
|
+
partner ? : TimelineBase|string
|
|
941
949
|
/**
|
|
942
950
|
* Set to `true` to include `startDate` and `endDate` params indicating the currently viewed date range in
|
|
943
951
|
* `EventStore` load requests (when loading using `AjaxStore` or `CrudManager` functionality).
|
|
@@ -1553,6 +1561,15 @@ export declare type BryntumTimelineProps = {
|
|
|
1553
1561
|
zoomOnTimeAxisDoubleClick ? : Boolean
|
|
1554
1562
|
|
|
1555
1563
|
// Features
|
|
1564
|
+
/**
|
|
1565
|
+
* This feature provides an AI agent for the Scheduler and SchedulerPro. It provides a chat panel that allows the user
|
|
1566
|
+
* to send messages to the agent and see the responses. Which allows the user to use natural language to interact with
|
|
1567
|
+
* the Scheduler in different ways. For example, the user can ask the agent to filter the data, sort it, or select
|
|
1568
|
+
* specific records. The agent can also perform data manipulation operations such as adding, updating, deleting records.
|
|
1569
|
+
* ...
|
|
1570
|
+
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/AI)
|
|
1571
|
+
*/
|
|
1572
|
+
aiFeature ? : object|Boolean|string|AI|AIConfig
|
|
1556
1573
|
/**
|
|
1557
1574
|
* AI-powered filter feature for Grid. Allows users to type natural language queries to filter grid data.
|
|
1558
1575
|
* ...
|
|
@@ -1863,6 +1880,14 @@ export declare type BryntumTimelineProps = {
|
|
|
1863
1880
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/RegionResize)
|
|
1864
1881
|
*/
|
|
1865
1882
|
regionResizeFeature ? : object|Boolean|string|RegionResize|RegionResizeConfig
|
|
1883
|
+
/**
|
|
1884
|
+
* Allows user to reorder resource columns in vertical mode by dragging them. The feature fires various events
|
|
1885
|
+
* during the drag operation (see events below). To get notified about the actual resource reorder, you can also
|
|
1886
|
+
* listen to the `change` event on the scheduler [ResourceStore](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/data/ResourceStore).
|
|
1887
|
+
* ...
|
|
1888
|
+
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/ResourceColumnReorder)
|
|
1889
|
+
*/
|
|
1890
|
+
resourceColumnReorderFeature ? : object|Boolean|string|ResourceColumnReorder|ResourceColumnReorderConfig
|
|
1866
1891
|
/**
|
|
1867
1892
|
* Applicable only for Scheduler in `vertical` mode. Right click resource header cells to display a context menu.
|
|
1868
1893
|
* ...
|