@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,8 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
|
|
12
12
|
|
|
13
|
-
import type { Base, Container, DomConfig, FormulaProviderConfig, KeyMapConfig, Mask, MaskConfig, Menu, MenuItem, MenuItemEntry, Model, ModelConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, Widget } from '@bryntum/core-thin';
|
|
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, ExcelExporter as GridExcelExporter, ExcelExporterConfig as GridExcelExporterConfig, ExportConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, Grid, GridBase, GridLocation, GridLocationConfig, GridSelectionMode, GridStateInfo, Group, GroupConfig, GroupSummary as GridGroupSummary, GroupSummaryConfig as GridGroupSummaryConfig, HeaderMenu, HeaderMenuConfig, LockRows as GridLockRows, LockRowsConfig as GridLockRowsConfig, MergeCells, MergeCellsConfig, PdfExport as GridPdfExport, PdfExportConfig as GridPdfExportConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, Print as GridPrint, PrintConfig as GridPrintConfig, QuickFind, QuickFindConfig, RecordPositionContext, RegionResize, RegionResizeConfig, ResponsiveLevelConfig, Row, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowEditorContext, RowExpander, RowExpanderConfig, RowReorder as GridRowReorder, RowReorderConfig as GridRowReorderConfig, RowResize as GridRowResize, RowResizeConfig as GridRowResizeConfig, Search, SearchConfig, Sort, SortConfig, Split as GridSplit, SplitConfig as GridSplitConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGrid, SubGridConfig, Summary as GridSummary, SummaryConfig as GridSummaryConfig, Tree, TreeConfig, TreeGroup, TreeGroupConfig, XLSColumn } from '@bryntum/grid-thin';
|
|
13
|
+
import type { Base, Color, Container, DomConfig, FormulaProviderConfig, KeyMapConfig, Mask, MaskConfig, Menu, MenuItem, MenuItemEntry, Model, ModelConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, Widget } from '@bryntum/core-thin';
|
|
14
|
+
import type { AI as GridAI, AIConfig as GridAIConfig, 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, ExcelExporter as GridExcelExporter, ExcelExporterConfig as GridExcelExporterConfig, ExportConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, Grid, GridBase, GridLocation, GridLocationConfig, GridSelectionMode, GridStateInfo, Group, GroupConfig, GroupSummary as GridGroupSummary, GroupSummaryConfig as GridGroupSummaryConfig, HeaderMenu, HeaderMenuConfig, LockRows as GridLockRows, LockRowsConfig as GridLockRowsConfig, MergeCells, MergeCellsConfig, PdfExport as GridPdfExport, PdfExportConfig as GridPdfExportConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, Print as GridPrint, PrintConfig as GridPrintConfig, QuickFind, QuickFindConfig, RecordPositionContext, RegionResize, RegionResizeConfig, ResponsiveLevelConfig, Row, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowEditorContext, RowExpander, RowExpanderConfig, RowReorder as GridRowReorder, RowReorderConfig as GridRowReorderConfig, RowResize as GridRowResize, RowResizeConfig as GridRowResizeConfig, Search, SearchConfig, Sort, SortConfig, Split as GridSplit, SplitConfig as GridSplitConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGrid, SubGridConfig, Summary as GridSummary, SummaryConfig as GridSummaryConfig, Tree, TreeConfig, TreeGroup, TreeGroupConfig, XLSColumn } from '@bryntum/grid-thin';
|
|
15
15
|
import type { PdfExportConfig } from '@bryntum/scheduler-thin';
|
|
16
16
|
import type { SchedulerProContainerItemConfig, SchedulerProColumnConfig, ProjectModel, VersionGridListeners, VersionModel } from '@bryntum/schedulerpro-thin';
|
|
17
17
|
import { VersionGrid } from '@bryntum/schedulerpro-thin';
|
|
@@ -89,6 +89,10 @@ defineProps<{
|
|
|
89
89
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/VersionGrid#config-bodyCls)
|
|
90
90
|
*/
|
|
91
91
|
bodyCls ? : string|object
|
|
92
|
+
/**
|
|
93
|
+
* Set `true` to add a border to this container's element.
|
|
94
|
+
*/
|
|
95
|
+
border ? : Boolean
|
|
92
96
|
/**
|
|
93
97
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
94
98
|
* hierarchy when triggered.
|
|
@@ -140,7 +144,7 @@ defineProps<{
|
|
|
140
144
|
* ...
|
|
141
145
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/VersionGrid#config-color)
|
|
142
146
|
*/
|
|
143
|
-
color ? :
|
|
147
|
+
color ? : Color
|
|
144
148
|
/**
|
|
145
149
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
146
150
|
*/
|
|
@@ -786,6 +790,15 @@ defineProps<{
|
|
|
786
790
|
width ? : string|number
|
|
787
791
|
|
|
788
792
|
// Features
|
|
793
|
+
/**
|
|
794
|
+
* This feature provides an AI agent for Grid. It provides a chat panel that allows the user to send messages to the
|
|
795
|
+
* agent and see the responses. Which allows the user to use natural language to interact with the Grid in different
|
|
796
|
+
* ways. For example, the user can ask the agent to filter the data, sort it, or select specific records. The agent can
|
|
797
|
+
* also perform data manipulation operations such as adding, updating, deleting records.
|
|
798
|
+
* ...
|
|
799
|
+
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/AI)
|
|
800
|
+
*/
|
|
801
|
+
aiFeature ? : object|Boolean|string|GridAI|GridAIConfig
|
|
789
802
|
/**
|
|
790
803
|
* AI-powered filter feature for Grid. Allows users to type natural language queries to filter grid data.
|
|
791
804
|
* ...
|
|
@@ -1128,6 +1141,18 @@ const emit = defineEmits<{
|
|
|
1128
1141
|
* @param {any} params.params.event.value The value being set
|
|
1129
1142
|
*/
|
|
1130
1143
|
(e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1144
|
+
/**
|
|
1145
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
1146
|
+
* @param {string} e Event name
|
|
1147
|
+
* @param {object} params Event parameters
|
|
1148
|
+
* @param {string} params.e Event name
|
|
1149
|
+
* @param {object} params.params Event parameters
|
|
1150
|
+
* @param {object} params.params.event Event object
|
|
1151
|
+
* @param {Grid.view.GridBase} params.params.event.source The grid instance
|
|
1152
|
+
* @param {Grid.column.Column} params.params.event.column The column
|
|
1153
|
+
* @param {boolean} params.params.event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
1154
|
+
*/
|
|
1155
|
+
(e: 'beforeColumnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
|
|
1131
1156
|
/**
|
|
1132
1157
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
1133
1158
|
* @param {string} e Event name
|
|
@@ -1294,12 +1319,12 @@ const emit = defineEmits<{
|
|
|
1294
1319
|
* @param {string} params.e Event name
|
|
1295
1320
|
* @param {object} params.params Event parameters
|
|
1296
1321
|
* @param {object} params.params.event Event object
|
|
1297
|
-
* @param {Grid.view.
|
|
1298
|
-
* @param {Grid.row.Row} params.params.event.row The row about to be rendered
|
|
1299
|
-
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
1300
|
-
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
1322
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
1323
|
+
* @param {Grid.row.Row} params.params.event.row The row about to be rendered
|
|
1324
|
+
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
1325
|
+
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
1301
1326
|
*/
|
|
1302
|
-
(e: 'beforeRenderRow', params: ((event: { source:
|
|
1327
|
+
(e: 'beforeRenderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
|
|
1303
1328
|
/**
|
|
1304
1329
|
* Grid rows are about to be rendered
|
|
1305
1330
|
* @param {string} e Event name
|
|
@@ -1307,9 +1332,9 @@ const emit = defineEmits<{
|
|
|
1307
1332
|
* @param {string} params.e Event name
|
|
1308
1333
|
* @param {object} params.params Event parameters
|
|
1309
1334
|
* @param {object} params.params.event Event object
|
|
1310
|
-
* @param {Grid.view.
|
|
1335
|
+
* @param {Grid.view.GridBase} params.params.event.source This grid.
|
|
1311
1336
|
*/
|
|
1312
|
-
(e: 'beforeRenderRows', params: ((event: { source:
|
|
1337
|
+
(e: 'beforeRenderRows', params: ((event: { source: GridBase }) => void)|string): void
|
|
1313
1338
|
/**
|
|
1314
1339
|
* This event fires before row collapse is started.
|
|
1315
1340
|
* ...
|
|
@@ -1640,6 +1665,18 @@ const emit = defineEmits<{
|
|
|
1640
1665
|
* @param {Core.data.Model} params.params.event.record The record which has been collapsed.
|
|
1641
1666
|
*/
|
|
1642
1667
|
(e: 'collapseNode', params: ((event: { source: Grid, record: Model }) => void)|string): void
|
|
1668
|
+
/**
|
|
1669
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
1670
|
+
* @param {string} e Event name
|
|
1671
|
+
* @param {object} params Event parameters
|
|
1672
|
+
* @param {string} params.e Event name
|
|
1673
|
+
* @param {object} params.params Event parameters
|
|
1674
|
+
* @param {object} params.params.event Event object
|
|
1675
|
+
* @param {Grid.view.GridBase} params.params.event.source The Grid instance
|
|
1676
|
+
* @param {Grid.column.Column} params.params.event.column The column being toggled
|
|
1677
|
+
* @param {boolean} params.params.event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
1678
|
+
*/
|
|
1679
|
+
(e: 'columnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
|
|
1643
1680
|
/**
|
|
1644
1681
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
1645
1682
|
* to indicate whether the drop position is valid or not.
|
|
@@ -1767,14 +1804,14 @@ const emit = defineEmits<{
|
|
|
1767
1804
|
* @param {string} params.e Event name
|
|
1768
1805
|
* @param {object} params.params Event parameters
|
|
1769
1806
|
* @param {object} params.params.event Event object
|
|
1770
|
-
* @param {Grid.view.
|
|
1807
|
+
* @param {Grid.view.GridBase} params.params.event.source Owning grid
|
|
1771
1808
|
* @param {Core.data.Store} params.params.event.store The originating store
|
|
1772
1809
|
* @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'`
|
|
1773
1810
|
* @param {Core.data.Model} params.params.event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
1774
1811
|
* @param {Core.data.Model[]} params.params.event.records Changed records, passed for all actions except `'removeAll'`
|
|
1775
1812
|
* @param {object} params.params.event.changes Passed for the `'update'` action, info on which record fields changed
|
|
1776
1813
|
*/
|
|
1777
|
-
(e: 'dataChange', params: ((event: { source:
|
|
1814
|
+
(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
|
|
1778
1815
|
/**
|
|
1779
1816
|
* Fires when an object is destroyed.
|
|
1780
1817
|
* @param {string} e Event name
|
|
@@ -2222,12 +2259,12 @@ const emit = defineEmits<{
|
|
|
2222
2259
|
* @param {string} params.e Event name
|
|
2223
2260
|
* @param {object} params.params Event parameters
|
|
2224
2261
|
* @param {object} params.params.event Event object
|
|
2225
|
-
* @param {Grid.view.
|
|
2226
|
-
* @param {Grid.row.Row} params.params.event.row The row that has been rendered
|
|
2227
|
-
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
2228
|
-
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
2262
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
2263
|
+
* @param {Grid.row.Row} params.params.event.row The row that has been rendered
|
|
2264
|
+
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
2265
|
+
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
2229
2266
|
*/
|
|
2230
|
-
(e: 'renderRow', params: ((event: { source:
|
|
2267
|
+
(e: 'renderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
|
|
2231
2268
|
/**
|
|
2232
2269
|
* Grid rows have been rendered
|
|
2233
2270
|
* @param {string} e Event name
|
|
@@ -2235,9 +2272,9 @@ const emit = defineEmits<{
|
|
|
2235
2272
|
* @param {string} params.e Event name
|
|
2236
2273
|
* @param {object} params.params Event parameters
|
|
2237
2274
|
* @param {object} params.params.event Event object
|
|
2238
|
-
* @param {Grid.view.
|
|
2275
|
+
* @param {Grid.view.GridBase} params.params.event.source This grid.
|
|
2239
2276
|
*/
|
|
2240
|
-
(e: 'renderRows', params: ((event: { source:
|
|
2277
|
+
(e: 'renderRows', params: ((event: { source: GridBase }) => void)|string): void
|
|
2241
2278
|
/**
|
|
2242
2279
|
* 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`*.
|
|
2243
2280
|
* @param {string} e Event name
|
|
@@ -2335,10 +2372,10 @@ const emit = defineEmits<{
|
|
|
2335
2372
|
* @param {string} params.e Event name
|
|
2336
2373
|
* @param {object} params.params Event parameters
|
|
2337
2374
|
* @param {object} params.params.event Event object
|
|
2338
|
-
* @param {Grid.view.
|
|
2375
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance.
|
|
2339
2376
|
* @param {number} params.params.event.scrollTop The vertical scroll position.
|
|
2340
2377
|
*/
|
|
2341
|
-
(e: 'scroll', params: ((event: { source:
|
|
2378
|
+
(e: 'scroll', params: ((event: { source: GridBase, scrollTop: number }) => void)|string): void
|
|
2342
2379
|
/**
|
|
2343
2380
|
* The selection has been changed.
|
|
2344
2381
|
* @param {string} e Event name
|
|
@@ -2474,10 +2511,10 @@ const emit = defineEmits<{
|
|
|
2474
2511
|
* @param {string} params.e Event name
|
|
2475
2512
|
* @param {object} params.params Event parameters
|
|
2476
2513
|
* @param {object} params.params.event Event object
|
|
2477
|
-
* @param {Grid.view.
|
|
2514
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
2478
2515
|
* @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
|
|
2479
2516
|
*/
|
|
2480
|
-
(e: 'subGridCollapse', params: ((event: { source:
|
|
2517
|
+
(e: 'subGridCollapse', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
|
|
2481
2518
|
/**
|
|
2482
2519
|
* Fires after a sub grid is expanded.
|
|
2483
2520
|
* @param {string} e Event name
|
|
@@ -2485,10 +2522,10 @@ const emit = defineEmits<{
|
|
|
2485
2522
|
* @param {string} params.e Event name
|
|
2486
2523
|
* @param {object} params.params Event parameters
|
|
2487
2524
|
* @param {object} params.params.event Event object
|
|
2488
|
-
* @param {Grid.view.
|
|
2525
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
2489
2526
|
* @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
|
|
2490
2527
|
*/
|
|
2491
|
-
(e: 'subGridExpand', params: ((event: { source:
|
|
2528
|
+
(e: 'subGridExpand', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
|
|
2492
2529
|
/**
|
|
2493
2530
|
* Fired when one or more groups are expanded or collapsed
|
|
2494
2531
|
* @param {string} e Event name
|
|
@@ -2553,6 +2590,7 @@ const widgetData = {
|
|
|
2553
2590
|
'autoHeight',
|
|
2554
2591
|
'bbar',
|
|
2555
2592
|
'bodyCls',
|
|
2593
|
+
'border',
|
|
2556
2594
|
'bubbleEvents',
|
|
2557
2595
|
'collapsible',
|
|
2558
2596
|
'color',
|
|
@@ -2660,6 +2698,7 @@ const widgetData = {
|
|
|
2660
2698
|
'onBeforeCellEditStart',
|
|
2661
2699
|
'onBeforeCellRangeDelete',
|
|
2662
2700
|
'onBeforeCellRangeEdit',
|
|
2701
|
+
'onBeforeColumnCollapseToggle',
|
|
2663
2702
|
'onBeforeColumnDragStart',
|
|
2664
2703
|
'onBeforeColumnDropFinalize',
|
|
2665
2704
|
'onBeforeColumnResize',
|
|
@@ -2700,6 +2739,7 @@ const widgetData = {
|
|
|
2700
2739
|
'onCellMouseOver',
|
|
2701
2740
|
'onCollapse',
|
|
2702
2741
|
'onCollapseNode',
|
|
2742
|
+
'onColumnCollapseToggle',
|
|
2703
2743
|
'onColumnDrag',
|
|
2704
2744
|
'onColumnDragStart',
|
|
2705
2745
|
'onColumnDrop',
|
|
@@ -2813,6 +2853,7 @@ const widgetData = {
|
|
|
2813
2853
|
'beforeCellEditStart',
|
|
2814
2854
|
'beforeCellRangeDelete',
|
|
2815
2855
|
'beforeCellRangeEdit',
|
|
2856
|
+
'beforeColumnCollapseToggle',
|
|
2816
2857
|
'beforeColumnDragStart',
|
|
2817
2858
|
'beforeColumnDropFinalize',
|
|
2818
2859
|
'beforeColumnResize',
|
|
@@ -2853,6 +2894,7 @@ const widgetData = {
|
|
|
2853
2894
|
'cellMouseOver',
|
|
2854
2895
|
'collapse',
|
|
2855
2896
|
'collapseNode',
|
|
2897
|
+
'columnCollapseToggle',
|
|
2856
2898
|
'columnDrag',
|
|
2857
2899
|
'columnDragStart',
|
|
2858
2900
|
'columnDrop',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { DomConfig, FormulaProviderConfig, KeyMapConfig, Mask, MaskConfig, Model, ModelConfig, PagingToolbarConfig, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, ToolConfig, ToolbarConfig, ToolbarItems, Widget } from '@bryntum/core-thin';
|
|
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, ExcelExporter as GridExcelExporter, ExcelExporterConfig as GridExcelExporterConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, GridSelectionMode, Group, GroupConfig, GroupSummary as GridGroupSummary, GroupSummaryConfig as GridGroupSummaryConfig, HeaderMenu, HeaderMenuConfig, LockRows as GridLockRows, LockRowsConfig as GridLockRowsConfig, MergeCells, MergeCellsConfig, PdfExport as GridPdfExport, PdfExportConfig as GridPdfExportConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, Print as GridPrint, PrintConfig as GridPrintConfig, QuickFind, QuickFindConfig, RegionResize, RegionResizeConfig, ResponsiveLevelConfig, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowExpander, RowExpanderConfig, RowReorder as GridRowReorder, RowReorderConfig as GridRowReorderConfig, RowResize as GridRowResize, RowResizeConfig as GridRowResizeConfig, Search, SearchConfig, Sort, SortConfig, Split as GridSplit, SplitConfig as GridSplitConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGridConfig, Summary as GridSummary, SummaryConfig as GridSummaryConfig, Tree, TreeConfig, TreeGroup, TreeGroupConfig } from '@bryntum/grid-thin';
|
|
1
|
+
import type { Color, DomConfig, FormulaProviderConfig, KeyMapConfig, Mask, MaskConfig, Model, ModelConfig, PagingToolbarConfig, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, ToolConfig, ToolbarConfig, ToolbarItems, Widget } from '@bryntum/core-thin';
|
|
2
|
+
import type { AI as GridAI, AIConfig as GridAIConfig, 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, ExcelExporter as GridExcelExporter, ExcelExporterConfig as GridExcelExporterConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, GridSelectionMode, Group, GroupConfig, GroupSummary as GridGroupSummary, GroupSummaryConfig as GridGroupSummaryConfig, HeaderMenu, HeaderMenuConfig, LockRows as GridLockRows, LockRowsConfig as GridLockRowsConfig, MergeCells, MergeCellsConfig, PdfExport as GridPdfExport, PdfExportConfig as GridPdfExportConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, Print as GridPrint, PrintConfig as GridPrintConfig, QuickFind, QuickFindConfig, RegionResize, RegionResizeConfig, ResponsiveLevelConfig, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowExpander, RowExpanderConfig, RowReorder as GridRowReorder, RowReorderConfig as GridRowReorderConfig, RowResize as GridRowResize, RowResizeConfig as GridRowResizeConfig, Search, SearchConfig, Sort, SortConfig, Split as GridSplit, SplitConfig as GridSplitConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGridConfig, Summary as GridSummary, SummaryConfig as GridSummaryConfig, Tree, TreeConfig, TreeGroup, TreeGroupConfig } from '@bryntum/grid-thin';
|
|
3
3
|
import type { SchedulerProContainerItemConfig, SchedulerProColumnConfig, ProjectModel, VersionGridListeners } from '@bryntum/schedulerpro-thin';
|
|
4
4
|
|
|
5
5
|
export declare type BryntumVersionGridProps = {
|
|
@@ -73,6 +73,10 @@ export declare type BryntumVersionGridProps = {
|
|
|
73
73
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/VersionGrid#config-bodyCls)
|
|
74
74
|
*/
|
|
75
75
|
bodyCls ? : string|object
|
|
76
|
+
/**
|
|
77
|
+
* Set `true` to add a border to this container's element.
|
|
78
|
+
*/
|
|
79
|
+
border ? : Boolean
|
|
76
80
|
/**
|
|
77
81
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
78
82
|
* hierarchy when triggered.
|
|
@@ -124,7 +128,7 @@ export declare type BryntumVersionGridProps = {
|
|
|
124
128
|
* ...
|
|
125
129
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/VersionGrid#config-color)
|
|
126
130
|
*/
|
|
127
|
-
color ? :
|
|
131
|
+
color ? : Color
|
|
128
132
|
/**
|
|
129
133
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
130
134
|
*/
|
|
@@ -770,6 +774,15 @@ export declare type BryntumVersionGridProps = {
|
|
|
770
774
|
width ? : string|number
|
|
771
775
|
|
|
772
776
|
// Features
|
|
777
|
+
/**
|
|
778
|
+
* This feature provides an AI agent for Grid. It provides a chat panel that allows the user to send messages to the
|
|
779
|
+
* agent and see the responses. Which allows the user to use natural language to interact with the Grid in different
|
|
780
|
+
* ways. For example, the user can ask the agent to filter the data, sort it, or select specific records. The agent can
|
|
781
|
+
* also perform data manipulation operations such as adding, updating, deleting records.
|
|
782
|
+
* ...
|
|
783
|
+
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/AI)
|
|
784
|
+
*/
|
|
785
|
+
aiFeature ? : object|Boolean|string|GridAI|GridAIConfig
|
|
773
786
|
/**
|
|
774
787
|
* AI-powered filter feature for Grid. Allows users to type natural language queries to filter grid data.
|
|
775
788
|
* ...
|
|
@@ -469,9 +469,13 @@ export class WrapperHelper {
|
|
|
469
469
|
isRecurring = eventRecord.isRecurring || eventRecord.isOccurrence,
|
|
470
470
|
key = `assignment-${assignmentRecord?.id}${isRecurring ? '-' + eventRecord.id : ''}`;
|
|
471
471
|
|
|
472
|
-
if
|
|
472
|
+
// Only delete the teleport if it's rendering into this specific targetElement.
|
|
473
|
+
// Prevents issues when elements are reused during scrolling with LockRows feature.
|
|
474
|
+
if (wrap.vueKey && teleports.get(wrap.vueKey)?.to === targetElement) {
|
|
475
|
+
// Only delete if the existing teleport is rendering into this specific targetElement
|
|
473
476
|
teleports.delete(wrap.vueKey);
|
|
474
477
|
}
|
|
478
|
+
|
|
475
479
|
const
|
|
476
480
|
bind = { ...rendererConfig },
|
|
477
481
|
{ is, on = {} } = bind;
|