@bryntum/schedulerpro-vue-3-thin 7.2.1 → 7.2.3
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 +8 -8
- package/lib/chunks/{DghqseiN.js → 9jfNe_y3.js} +4 -4
- package/lib/chunks/9jfNe_y3.js.map +1 -0
- package/lib/chunks/{BMF41dEG.js → BJPdcix1.js} +1 -3
- package/lib/chunks/BJPdcix1.js.map +1 -0
- package/lib/chunks/{DgESZupU.js → BO8FwQoh.js} +3 -5
- package/lib/chunks/BO8FwQoh.js.map +1 -0
- package/lib/chunks/{sUi9pfNu.js → BRGc8bUJ.js} +102 -33
- package/lib/chunks/BRGc8bUJ.js.map +1 -0
- package/lib/chunks/{DC4Xw3gK.js → BTT_cGQU.js} +6 -8
- package/lib/chunks/BTT_cGQU.js.map +1 -0
- package/lib/chunks/{CoYhPB2e.js → BbI7XKMd.js} +7 -7
- package/lib/chunks/BbI7XKMd.js.map +1 -0
- package/lib/chunks/{qKNUUeE0.js → BhUeT19h.js} +3 -5
- package/lib/chunks/BhUeT19h.js.map +1 -0
- package/lib/chunks/{BBN-5eeI.js → BjTPjWi9.js} +1 -3
- package/lib/chunks/BjTPjWi9.js.map +1 -0
- package/lib/chunks/{N6QbiUPO.js → BpAvqwr_.js} +4 -4
- package/lib/chunks/BpAvqwr_.js.map +1 -0
- package/lib/chunks/{B7sV8_zC.js → C41opZKx.js} +4 -4
- package/lib/chunks/C41opZKx.js.map +1 -0
- package/lib/chunks/{ByS5_-RM.js → CGbW6pgm.js} +6 -8
- package/lib/chunks/CGbW6pgm.js.map +1 -0
- package/lib/chunks/{OtE4hpSS.js → CJFZbm_i.js} +4 -4
- package/lib/chunks/CJFZbm_i.js.map +1 -0
- package/lib/chunks/{DRVdzy6g.js → CuODT2-U.js} +1 -3
- package/lib/chunks/CuODT2-U.js.map +1 -0
- package/lib/chunks/D4JDuI0s.js.map +1 -1
- package/lib/chunks/{BrUxjEMx.js → DGV7a5Xo.js} +1 -3
- package/lib/chunks/DGV7a5Xo.js.map +1 -0
- package/lib/chunks/{B2O8rS3_.js → DYBe70El.js} +6 -6
- package/lib/chunks/DYBe70El.js.map +1 -0
- package/lib/chunks/{DvFm-5Hh.js → DlNFp5e-.js} +3 -5
- package/lib/chunks/DlNFp5e-.js.map +1 -0
- package/lib/chunks/{Ct_m9O9h.js → DwzPrR90.js} +1 -3
- package/lib/chunks/DwzPrR90.js.map +1 -0
- package/lib/chunks/{B12rdbvL.js → Dz-up1_i.js} +1 -3
- package/lib/chunks/{B12rdbvL.js.map → Dz-up1_i.js.map} +1 -1
- package/lib/chunks/{ggN9GDPJ.js → M0cBUV91.js} +3 -5
- package/lib/chunks/M0cBUV91.js.map +1 -0
- package/lib/chunks/{CDbPwyl3.js → MOjUZ-Rj.js} +4 -6
- package/lib/chunks/MOjUZ-Rj.js.map +1 -0
- package/lib/chunks/{H_iWW1r0.js → j8JzZ-07.js} +2 -4
- package/lib/chunks/j8JzZ-07.js.map +1 -0
- package/lib/components/BryntumCalendarEditor.js +1 -1
- package/lib/components/BryntumCalendarField.js +1 -1
- package/lib/components/BryntumConstraintTypePicker.js +1 -1
- package/lib/components/BryntumCostAccrualField.js +1 -1
- package/lib/components/BryntumDependencyTypePicker.js +1 -1
- package/lib/components/BryntumEffortField.js +1 -1
- package/lib/components/BryntumEndDateField.js +1 -1
- package/lib/components/BryntumModelCombo.js +1 -1
- package/lib/components/BryntumRateTableField.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/BryntumResourceTypeField.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/BryntumSchedulingDirectionPicker.js +1 -1
- package/lib/components/BryntumSchedulingModePicker.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/index.js +21 -21
- package/package.json +1 -1
- package/src/components/BryntumCalendarEditor.vue +1 -10
- package/src/components/BryntumCalendarEditorProps.ts +1 -9
- package/src/components/BryntumCalendarField.vue +2 -11
- package/src/components/BryntumCalendarFieldProps.ts +2 -10
- package/src/components/BryntumConstraintTypePicker.vue +2 -11
- package/src/components/BryntumConstraintTypePickerProps.ts +2 -10
- package/src/components/BryntumCostAccrualField.vue +2 -11
- package/src/components/BryntumCostAccrualFieldProps.ts +2 -10
- package/src/components/BryntumDependencyTypePicker.vue +2 -11
- package/src/components/BryntumDependencyTypePickerProps.ts +2 -10
- package/src/components/BryntumEffortField.vue +1 -10
- package/src/components/BryntumEffortFieldProps.ts +1 -9
- package/src/components/BryntumEndDateField.vue +1 -10
- package/src/components/BryntumEndDateFieldProps.ts +1 -9
- package/src/components/BryntumModelCombo.vue +2 -11
- package/src/components/BryntumModelComboProps.ts +2 -10
- package/src/components/BryntumRateTableField.vue +2 -11
- package/src/components/BryntumRateTableFieldProps.ts +2 -10
- package/src/components/BryntumResourceEditor.vue +1 -10
- package/src/components/BryntumResourceEditorProps.ts +1 -9
- package/src/components/BryntumResourceGrid.vue +98 -16
- package/src/components/BryntumResourceGridProps.ts +4 -12
- package/src/components/BryntumResourceHistogram.vue +22 -17
- package/src/components/BryntumResourceHistogramProps.ts +4 -12
- package/src/components/BryntumResourceTypeField.vue +2 -11
- package/src/components/BryntumResourceTypeFieldProps.ts +2 -10
- package/src/components/BryntumResourceUtilization.vue +23 -18
- package/src/components/BryntumResourceUtilizationProps.ts +5 -13
- package/src/components/BryntumSchedulerPro.vue +27 -21
- package/src/components/BryntumSchedulerProBase.vue +27 -21
- package/src/components/BryntumSchedulerProBaseProps.ts +6 -14
- package/src/components/BryntumSchedulerProProjectModel.vue +7 -7
- package/src/components/BryntumSchedulerProProjectModelProps.ts +1 -1
- package/src/components/BryntumSchedulerProProps.ts +6 -14
- package/src/components/BryntumSchedulingDirectionPicker.vue +2 -11
- package/src/components/BryntumSchedulingDirectionPickerProps.ts +2 -10
- package/src/components/BryntumSchedulingModePicker.vue +2 -11
- package/src/components/BryntumSchedulingModePickerProps.ts +2 -10
- package/src/components/BryntumStartDateField.vue +1 -10
- package/src/components/BryntumStartDateFieldProps.ts +1 -9
- package/src/components/BryntumTimeline.vue +27 -21
- package/src/components/BryntumTimelineProps.ts +6 -14
- package/src/components/BryntumVersionGrid.vue +20 -15
- package/src/components/BryntumVersionGridProps.ts +4 -12
- package/lib/chunks/B2O8rS3_.js.map +0 -1
- package/lib/chunks/B7sV8_zC.js.map +0 -1
- package/lib/chunks/BBN-5eeI.js.map +0 -1
- package/lib/chunks/BMF41dEG.js.map +0 -1
- package/lib/chunks/BrUxjEMx.js.map +0 -1
- package/lib/chunks/ByS5_-RM.js.map +0 -1
- package/lib/chunks/CDbPwyl3.js.map +0 -1
- package/lib/chunks/CoYhPB2e.js.map +0 -1
- package/lib/chunks/Ct_m9O9h.js.map +0 -1
- package/lib/chunks/DC4Xw3gK.js.map +0 -1
- package/lib/chunks/DRVdzy6g.js.map +0 -1
- package/lib/chunks/DgESZupU.js.map +0 -1
- package/lib/chunks/DghqseiN.js.map +0 -1
- package/lib/chunks/DvFm-5Hh.js.map +0 -1
- package/lib/chunks/H_iWW1r0.js.map +0 -1
- package/lib/chunks/N6QbiUPO.js.map +0 -1
- package/lib/chunks/OtE4hpSS.js.map +0 -1
- package/lib/chunks/ggN9GDPJ.js.map +0 -1
- package/lib/chunks/qKNUUeE0.js.map +0 -1
- package/lib/chunks/sUi9pfNu.js.map +0 -1
|
@@ -820,14 +820,6 @@ defineProps<{
|
|
|
820
820
|
* Grid monitors window resize by default.
|
|
821
821
|
*/
|
|
822
822
|
monitorResize ? : Boolean
|
|
823
|
-
/**
|
|
824
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
825
|
-
* [items](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
826
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
827
|
-
* ...
|
|
828
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-owner)
|
|
829
|
-
*/
|
|
830
|
-
owner ? : Widget|any
|
|
831
823
|
/**
|
|
832
824
|
* Partners this Timeline panel with another Timeline in order to sync their region sizes (sub-grids like locked, normal will get the same width),
|
|
833
825
|
* start and end dates, view preset, zoom level and scrolling position. All these values will be synced with the timeline defined as the `partner`.
|
|
@@ -997,7 +989,7 @@ defineProps<{
|
|
|
997
989
|
rootElement ? : ShadowRoot|HTMLElement
|
|
998
990
|
/**
|
|
999
991
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
1000
|
-
*
|
|
992
|
+
* overridden by specifying a [rowHeight](https://bryntum.com/products/schedulerpro/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
|
|
1001
993
|
* a column [renderer](https://bryntum.com/products/schedulerpro/docs/api/Grid/column/Column#config-renderer).
|
|
1002
994
|
* ...
|
|
1003
995
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-rowHeight)
|
|
@@ -1375,7 +1367,7 @@ defineProps<{
|
|
|
1375
1367
|
*/
|
|
1376
1368
|
allocationCellEditFeature ? : object|Boolean|string|AllocationCellEdit|AllocationCellEditConfig
|
|
1377
1369
|
/**
|
|
1378
|
-
* This is a feature of [ResourceUtilization](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization) view that allows
|
|
1370
|
+
* This is a feature of [ResourceUtilization](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization) view that allows copy-pasting
|
|
1379
1371
|
* assignment time-phased effort values.
|
|
1380
1372
|
* ...
|
|
1381
1373
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/feature/AllocationCopyPaste)
|
|
@@ -1396,7 +1388,7 @@ defineProps<{
|
|
|
1396
1388
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
1397
1389
|
/**
|
|
1398
1390
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
1399
|
-
*
|
|
1391
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
1400
1392
|
* ...
|
|
1401
1393
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellMenu)
|
|
1402
1394
|
*/
|
|
@@ -1504,8 +1496,8 @@ defineProps<{
|
|
|
1504
1496
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
1505
1497
|
/**
|
|
1506
1498
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
1507
|
-
* <kbd>
|
|
1508
|
-
* one anywhere on grid). Use <kbd>
|
|
1499
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
1500
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
1509
1501
|
* grouper.
|
|
1510
1502
|
* ...
|
|
1511
1503
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Group)
|
|
@@ -1735,7 +1727,7 @@ defineProps<{
|
|
|
1735
1727
|
|
|
1736
1728
|
const emit = defineEmits<{
|
|
1737
1729
|
/**
|
|
1738
|
-
* Fires before an assignment is removed. Can be triggered by user pressing
|
|
1730
|
+
* Fires before an assignment is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or
|
|
1739
1731
|
* by the event editor. Can for example be used to display a custom dialog to confirm deletion, in which
|
|
1740
1732
|
* case records should be "manually" removed after confirmation:
|
|
1741
1733
|
* ...
|
|
@@ -1788,7 +1780,7 @@ const emit = defineEmits<{
|
|
|
1788
1780
|
*/
|
|
1789
1781
|
(e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1790
1782
|
/**
|
|
1791
|
-
* Fires on the owning Grid before deleting a range of selected cell values by pressing
|
|
1783
|
+
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
1792
1784
|
* buttons while [autoEdit](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
1793
1785
|
* @param {string} e Event name
|
|
1794
1786
|
* @param {object} params Event parameters
|
|
@@ -1915,7 +1907,7 @@ const emit = defineEmits<{
|
|
|
1915
1907
|
*/
|
|
1916
1908
|
(e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
|
|
1917
1909
|
/**
|
|
1918
|
-
* Fires before an event is removed. Can be triggered by user pressing
|
|
1910
|
+
* Fires before an event is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or by the
|
|
1919
1911
|
* event editor. Return `false` to immediately veto the removal (or a `Promise` yielding `true` or `false`
|
|
1920
1912
|
* for async vetoing).
|
|
1921
1913
|
* ...
|
|
@@ -3089,7 +3081,7 @@ const emit = defineEmits<{
|
|
|
3089
3081
|
* @param {Response} params.params.event.response Optional response, if received
|
|
3090
3082
|
* @param {Error} params.params.event.error Optional error, if exception occurred
|
|
3091
3083
|
*/
|
|
3092
|
-
(e: 'pdfExport', params: ((event: { response?:
|
|
3084
|
+
(e: 'pdfExport', params: ((event: { response?: Response, error?: Error }) => void)|string): void
|
|
3093
3085
|
/**
|
|
3094
3086
|
* Fired after the [viewPreset](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineViewPresets#config-viewPreset) has changed.
|
|
3095
3087
|
* @param {string} e Event name
|
|
@@ -3852,6 +3844,18 @@ const emit = defineEmits<{
|
|
|
3852
3844
|
* @param {Core.widget.Tool} params.params.event.tool The tool which is being clicked.
|
|
3853
3845
|
*/
|
|
3854
3846
|
(e: 'toolClick', params: ((event: { source: Tool, tool: Tool }) => void)|string): void
|
|
3847
|
+
/**
|
|
3848
|
+
* Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
|
|
3849
|
+
* @param {string} e Event name
|
|
3850
|
+
* @param {object} params Event parameters
|
|
3851
|
+
* @param {string} params.e Event name
|
|
3852
|
+
* @param {object} params.params Event parameters
|
|
3853
|
+
* @param {object} params.params.event Event object
|
|
3854
|
+
* @param {Grid.view.Grid} params.params.event.source The grid instance
|
|
3855
|
+
* @param {(string|Function)[]} params.params.event.groupers Array of field names or functions representing the current grouping levels
|
|
3856
|
+
* @param {(string|Function)[]} params.params.event.oldGroupers Array of field names or functions representing the previous grouping levels
|
|
3857
|
+
*/
|
|
3858
|
+
(e: 'treeGroup', params: ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string): void
|
|
3855
3859
|
/**
|
|
3856
3860
|
* Fires when row locking is disabled.
|
|
3857
3861
|
* @param {string} e Event name
|
|
@@ -4032,7 +4036,6 @@ const widgetData = {
|
|
|
4032
4036
|
'masked',
|
|
4033
4037
|
'maxTimeAxisUnit',
|
|
4034
4038
|
'monitorResize',
|
|
4035
|
-
'owner',
|
|
4036
4039
|
'partner',
|
|
4037
4040
|
'passStartEndParameters',
|
|
4038
4041
|
'plugins',
|
|
@@ -4291,6 +4294,7 @@ const widgetData = {
|
|
|
4291
4294
|
'onToggleGroup',
|
|
4292
4295
|
'onToggleNode',
|
|
4293
4296
|
'onToolClick',
|
|
4297
|
+
'onTreeGroup',
|
|
4294
4298
|
'onUnlockRows',
|
|
4295
4299
|
'onUnsplit',
|
|
4296
4300
|
'onVisibleDateRangeChange',
|
|
@@ -4516,6 +4520,7 @@ const widgetData = {
|
|
|
4516
4520
|
'toggleGroup',
|
|
4517
4521
|
'toggleNode',
|
|
4518
4522
|
'toolClick',
|
|
4523
|
+
'treeGroup',
|
|
4519
4524
|
'unlockRows',
|
|
4520
4525
|
'unsplit',
|
|
4521
4526
|
'visibleDateRangeChange'
|
|
@@ -782,14 +782,6 @@ export declare type BryntumResourceUtilizationProps = {
|
|
|
782
782
|
* Grid monitors window resize by default.
|
|
783
783
|
*/
|
|
784
784
|
monitorResize ? : Boolean
|
|
785
|
-
/**
|
|
786
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
787
|
-
* [items](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
788
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
789
|
-
* ...
|
|
790
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-owner)
|
|
791
|
-
*/
|
|
792
|
-
owner ? : Widget|any
|
|
793
785
|
/**
|
|
794
786
|
* Partners this Timeline panel with another Timeline in order to sync their region sizes (sub-grids like locked, normal will get the same width),
|
|
795
787
|
* start and end dates, view preset, zoom level and scrolling position. All these values will be synced with the timeline defined as the `partner`.
|
|
@@ -959,7 +951,7 @@ export declare type BryntumResourceUtilizationProps = {
|
|
|
959
951
|
rootElement ? : ShadowRoot|HTMLElement
|
|
960
952
|
/**
|
|
961
953
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
962
|
-
*
|
|
954
|
+
* overridden by specifying a [rowHeight](https://bryntum.com/products/schedulerpro/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
|
|
963
955
|
* a column [renderer](https://bryntum.com/products/schedulerpro/docs/api/Grid/column/Column#config-renderer).
|
|
964
956
|
* ...
|
|
965
957
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization#config-rowHeight)
|
|
@@ -1337,7 +1329,7 @@ export declare type BryntumResourceUtilizationProps = {
|
|
|
1337
1329
|
*/
|
|
1338
1330
|
allocationCellEditFeature ? : object|Boolean|string|AllocationCellEdit|AllocationCellEditConfig
|
|
1339
1331
|
/**
|
|
1340
|
-
* This is a feature of [ResourceUtilization](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization) view that allows
|
|
1332
|
+
* This is a feature of [ResourceUtilization](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization) view that allows copy-pasting
|
|
1341
1333
|
* assignment time-phased effort values.
|
|
1342
1334
|
* ...
|
|
1343
1335
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/feature/AllocationCopyPaste)
|
|
@@ -1358,7 +1350,7 @@ export declare type BryntumResourceUtilizationProps = {
|
|
|
1358
1350
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
1359
1351
|
/**
|
|
1360
1352
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
1361
|
-
*
|
|
1353
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
1362
1354
|
* ...
|
|
1363
1355
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellMenu)
|
|
1364
1356
|
*/
|
|
@@ -1466,8 +1458,8 @@ export declare type BryntumResourceUtilizationProps = {
|
|
|
1466
1458
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
1467
1459
|
/**
|
|
1468
1460
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
1469
|
-
* <kbd>
|
|
1470
|
-
* one anywhere on grid). Use <kbd>
|
|
1461
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
1462
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
1471
1463
|
* grouper.
|
|
1472
1464
|
* ...
|
|
1473
1465
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Group)
|
|
@@ -474,7 +474,7 @@ defineProps<{
|
|
|
474
474
|
*/
|
|
475
475
|
emptyText ? : string|EmptyTextDomConfig
|
|
476
476
|
/**
|
|
477
|
-
* Allow using
|
|
477
|
+
* Allow using <kbd>Delete</kbd> and <kbd>Backspace</kbd> to remove events/assignments
|
|
478
478
|
*/
|
|
479
479
|
enableDeleteKey ? : Boolean
|
|
480
480
|
/**
|
|
@@ -988,14 +988,6 @@ defineProps<{
|
|
|
988
988
|
* @returns {number} Return -1 to display `a` above `b`, 1 for `b` above `a`
|
|
989
989
|
*/
|
|
990
990
|
overlappingEventSorter ? : (a: SchedulerEventModel, b: SchedulerEventModel) => number
|
|
991
|
-
/**
|
|
992
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
993
|
-
* [items](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
994
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
995
|
-
* ...
|
|
996
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/SchedulerPro#config-owner)
|
|
997
|
-
*/
|
|
998
|
-
owner ? : Widget|any
|
|
999
991
|
/**
|
|
1000
992
|
* Partners this Timeline panel with another Timeline in order to sync their region sizes (sub-grids like locked, normal will get the same width),
|
|
1001
993
|
* start and end dates, view preset, zoom level and scrolling position. All these values will be synced with the timeline defined as the `partner`.
|
|
@@ -1686,7 +1678,7 @@ defineProps<{
|
|
|
1686
1678
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
1687
1679
|
/**
|
|
1688
1680
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
1689
|
-
*
|
|
1681
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
1690
1682
|
* ...
|
|
1691
1683
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellMenu)
|
|
1692
1684
|
*/
|
|
@@ -1783,8 +1775,8 @@ defineProps<{
|
|
|
1783
1775
|
*/
|
|
1784
1776
|
eventBufferFeature ? : object|Boolean|string|EventBuffer|EventBufferConfig
|
|
1785
1777
|
/**
|
|
1786
|
-
* Allow using <kbd>Ctrl</kbd>/<kbd>
|
|
1787
|
-
* <kbd>V</kbd> to copy/cut and paste events.
|
|
1778
|
+
* Allow using <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>C</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>X</kbd> and
|
|
1779
|
+
* <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>V</kbd> to copy/cut and paste events.
|
|
1788
1780
|
* ...
|
|
1789
1781
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/EventCopyPaste)
|
|
1790
1782
|
*/
|
|
@@ -1905,8 +1897,8 @@ defineProps<{
|
|
|
1905
1897
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
1906
1898
|
/**
|
|
1907
1899
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
1908
|
-
* <kbd>
|
|
1909
|
-
* one anywhere on grid). Use <kbd>
|
|
1900
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
1901
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
1910
1902
|
* grouper.
|
|
1911
1903
|
* ...
|
|
1912
1904
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Group)
|
|
@@ -2376,7 +2368,7 @@ const emit = defineEmits<{
|
|
|
2376
2368
|
*/
|
|
2377
2369
|
(e: 'assignmentSelectionChange', params: ((event: { source: Scheduler, action: 'select'|'deselect'|'update'|'clear', selected: SchedulerAssignmentModel[], deselected: SchedulerAssignmentModel[], selection: SchedulerAssignmentModel[] }) => void)|string): void
|
|
2378
2370
|
/**
|
|
2379
|
-
* Fires before an assignment is removed. Can be triggered by user pressing
|
|
2371
|
+
* Fires before an assignment is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or
|
|
2380
2372
|
* by the event editor. Can for example be used to display a custom dialog to confirm deletion, in which
|
|
2381
2373
|
* case records should be "manually" removed after confirmation:
|
|
2382
2374
|
* ...
|
|
@@ -2458,7 +2450,7 @@ const emit = defineEmits<{
|
|
|
2458
2450
|
*/
|
|
2459
2451
|
(e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
2460
2452
|
/**
|
|
2461
|
-
* Fires on the owning Grid before deleting a range of selected cell values by pressing
|
|
2453
|
+
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
2462
2454
|
* buttons while [autoEdit](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
2463
2455
|
* @param {string} e Event name
|
|
2464
2456
|
* @param {object} params Event parameters
|
|
@@ -2730,7 +2722,7 @@ const emit = defineEmits<{
|
|
|
2730
2722
|
*/
|
|
2731
2723
|
(e: 'beforeEventAdd', params: ((event: { source: Scheduler, eventRecord: SchedulerEventModel, resourceRecords: SchedulerResourceModel[], assignmentRecords: SchedulerAssignmentModel[] }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
2732
2724
|
/**
|
|
2733
|
-
* Fires before an event is removed. Can be triggered by user pressing
|
|
2725
|
+
* Fires before an event is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or by the
|
|
2734
2726
|
* event editor. Return `false` to immediately veto the removal (or a `Promise` yielding `true` or `false`
|
|
2735
2727
|
* for async vetoing).
|
|
2736
2728
|
* ...
|
|
@@ -4884,12 +4876,13 @@ const emit = defineEmits<{
|
|
|
4884
4876
|
* @param {Scheduler.model.SchedulerEventModel[]} params.params.event.originalEventRecords The event records that were copied
|
|
4885
4877
|
* @param {Scheduler.model.SchedulerAssignmentModel[]} params.params.event.originalAssignmentRecords The assignment records that were copied
|
|
4886
4878
|
* @param {Date} params.params.event.date The paste date
|
|
4887
|
-
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord The target resource record
|
|
4879
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord The target resource record. When multiple resources are pasted to, this will be the top resource
|
|
4880
|
+
* @param {Scheduler.model.SchedulerResourceModel[]} params.params.event.resourceRecords All target resource records that the events would be pasted to
|
|
4888
4881
|
* @param {boolean} params.params.event.isCut `true` if this is a cut action
|
|
4889
4882
|
* @param {string} params.params.event.entityName 'event' to distinguish this event from other `pasteNotAllowed` events
|
|
4890
4883
|
* @param {'overlappingEvents','resourceReadOnly'} params.params.event.reason A string id to use for displaying an error message to the user.
|
|
4891
4884
|
*/
|
|
4892
|
-
(e: 'pasteNotAllowed', params: ((event: { source: Scheduler, eventRecords: SchedulerEventModel[], assignmentRecords: SchedulerAssignmentModel[], originalEventRecords: SchedulerEventModel[], originalAssignmentRecords: SchedulerAssignmentModel[], date: Date, resourceRecord: SchedulerResourceModel, isCut: boolean, entityName: string, reason: 'overlappingEvents'|'resourceReadOnly' }) => void)|string): void
|
|
4885
|
+
(e: 'pasteNotAllowed', params: ((event: { source: Scheduler, eventRecords: SchedulerEventModel[], assignmentRecords: SchedulerAssignmentModel[], originalEventRecords: SchedulerEventModel[], originalAssignmentRecords: SchedulerAssignmentModel[], date: Date, resourceRecord: SchedulerResourceModel, resourceRecords: SchedulerResourceModel[], isCut: boolean, entityName: string, reason: 'overlappingEvents'|'resourceReadOnly' }) => void)|string): void
|
|
4893
4886
|
/**
|
|
4894
4887
|
* Fires on the owning Grid when export has finished
|
|
4895
4888
|
* @param {string} e Event name
|
|
@@ -4900,7 +4893,7 @@ const emit = defineEmits<{
|
|
|
4900
4893
|
* @param {Response} params.params.event.response Optional response, if received
|
|
4901
4894
|
* @param {Error} params.params.event.error Optional error, if exception occurred
|
|
4902
4895
|
*/
|
|
4903
|
-
(e: 'pdfExport', params: ((event: { response?:
|
|
4896
|
+
(e: 'pdfExport', params: ((event: { response?: Response, error?: Error }) => void)|string): void
|
|
4904
4897
|
/**
|
|
4905
4898
|
* Fired on the owning Scheduler or Gantt widget when dragging the percent bar
|
|
4906
4899
|
* @param {string} e Event name
|
|
@@ -6249,6 +6242,18 @@ const emit = defineEmits<{
|
|
|
6249
6242
|
* @param {boolean} params.params.event.hasChanges Whether any changes are recorded that are not yet attached to a version.
|
|
6250
6243
|
*/
|
|
6251
6244
|
(e: 'transactionChange', params: ((event: { hasChanges: boolean }) => void)|string): void
|
|
6245
|
+
/**
|
|
6246
|
+
* Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
|
|
6247
|
+
* @param {string} e Event name
|
|
6248
|
+
* @param {object} params Event parameters
|
|
6249
|
+
* @param {string} params.e Event name
|
|
6250
|
+
* @param {object} params.params Event parameters
|
|
6251
|
+
* @param {object} params.params.event Event object
|
|
6252
|
+
* @param {Grid.view.Grid} params.params.event.source The grid instance
|
|
6253
|
+
* @param {(string|Function)[]} params.params.event.groupers Array of field names or functions representing the current grouping levels
|
|
6254
|
+
* @param {(string|Function)[]} params.params.event.oldGroupers Array of field names or functions representing the previous grouping levels
|
|
6255
|
+
*/
|
|
6256
|
+
(e: 'treeGroup', params: ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string): void
|
|
6252
6257
|
/**
|
|
6253
6258
|
* Fires when row locking is disabled.
|
|
6254
6259
|
* @param {string} e Event name
|
|
@@ -6467,7 +6472,6 @@ const widgetData = {
|
|
|
6467
6472
|
'monitorResize',
|
|
6468
6473
|
'multiEventSelect',
|
|
6469
6474
|
'narrowEventWidth',
|
|
6470
|
-
'owner',
|
|
6471
6475
|
'partner',
|
|
6472
6476
|
'passStartEndParameters',
|
|
6473
6477
|
'plugins',
|
|
@@ -6893,6 +6897,7 @@ const widgetData = {
|
|
|
6893
6897
|
'onToggleNode',
|
|
6894
6898
|
'onToolClick',
|
|
6895
6899
|
'onTransactionChange',
|
|
6900
|
+
'onTreeGroup',
|
|
6896
6901
|
'onUnlockRows',
|
|
6897
6902
|
'onUnsplit',
|
|
6898
6903
|
'onVisibleDateRangeChange',
|
|
@@ -7262,6 +7267,7 @@ const widgetData = {
|
|
|
7262
7267
|
'toggleNode',
|
|
7263
7268
|
'toolClick',
|
|
7264
7269
|
'transactionChange',
|
|
7270
|
+
'treeGroup',
|
|
7265
7271
|
'unlockRows',
|
|
7266
7272
|
'unsplit',
|
|
7267
7273
|
'visibleDateRangeChange'
|
|
@@ -474,7 +474,7 @@ defineProps<{
|
|
|
474
474
|
*/
|
|
475
475
|
emptyText ? : string|EmptyTextDomConfig
|
|
476
476
|
/**
|
|
477
|
-
* Allow using
|
|
477
|
+
* Allow using <kbd>Delete</kbd> and <kbd>Backspace</kbd> to remove events/assignments
|
|
478
478
|
*/
|
|
479
479
|
enableDeleteKey ? : Boolean
|
|
480
480
|
/**
|
|
@@ -988,14 +988,6 @@ defineProps<{
|
|
|
988
988
|
* @returns {number} Return -1 to display `a` above `b`, 1 for `b` above `a`
|
|
989
989
|
*/
|
|
990
990
|
overlappingEventSorter ? : (a: SchedulerEventModel, b: SchedulerEventModel) => number
|
|
991
|
-
/**
|
|
992
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
993
|
-
* [items](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
994
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
995
|
-
* ...
|
|
996
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/SchedulerProBase#config-owner)
|
|
997
|
-
*/
|
|
998
|
-
owner ? : Widget|any
|
|
999
991
|
/**
|
|
1000
992
|
* Partners this Timeline panel with another Timeline in order to sync their region sizes (sub-grids like locked, normal will get the same width),
|
|
1001
993
|
* start and end dates, view preset, zoom level and scrolling position. All these values will be synced with the timeline defined as the `partner`.
|
|
@@ -1685,7 +1677,7 @@ defineProps<{
|
|
|
1685
1677
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
1686
1678
|
/**
|
|
1687
1679
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
1688
|
-
*
|
|
1680
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
1689
1681
|
* ...
|
|
1690
1682
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellMenu)
|
|
1691
1683
|
*/
|
|
@@ -1782,8 +1774,8 @@ defineProps<{
|
|
|
1782
1774
|
*/
|
|
1783
1775
|
eventBufferFeature ? : object|Boolean|string|EventBuffer|EventBufferConfig
|
|
1784
1776
|
/**
|
|
1785
|
-
* Allow using <kbd>Ctrl</kbd>/<kbd>
|
|
1786
|
-
* <kbd>V</kbd> to copy/cut and paste events.
|
|
1777
|
+
* Allow using <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>C</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>X</kbd> and
|
|
1778
|
+
* <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>V</kbd> to copy/cut and paste events.
|
|
1787
1779
|
* ...
|
|
1788
1780
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/EventCopyPaste)
|
|
1789
1781
|
*/
|
|
@@ -1904,8 +1896,8 @@ defineProps<{
|
|
|
1904
1896
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
1905
1897
|
/**
|
|
1906
1898
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
1907
|
-
* <kbd>
|
|
1908
|
-
* one anywhere on grid). Use <kbd>
|
|
1899
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
1900
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
1909
1901
|
* grouper.
|
|
1910
1902
|
* ...
|
|
1911
1903
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Group)
|
|
@@ -2375,7 +2367,7 @@ const emit = defineEmits<{
|
|
|
2375
2367
|
*/
|
|
2376
2368
|
(e: 'assignmentSelectionChange', params: ((event: { source: Scheduler, action: 'select'|'deselect'|'update'|'clear', selected: SchedulerAssignmentModel[], deselected: SchedulerAssignmentModel[], selection: SchedulerAssignmentModel[] }) => void)|string): void
|
|
2377
2369
|
/**
|
|
2378
|
-
* Fires before an assignment is removed. Can be triggered by user pressing
|
|
2370
|
+
* Fires before an assignment is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or
|
|
2379
2371
|
* by the event editor. Can for example be used to display a custom dialog to confirm deletion, in which
|
|
2380
2372
|
* case records should be "manually" removed after confirmation:
|
|
2381
2373
|
* ...
|
|
@@ -2457,7 +2449,7 @@ const emit = defineEmits<{
|
|
|
2457
2449
|
*/
|
|
2458
2450
|
(e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
2459
2451
|
/**
|
|
2460
|
-
* Fires on the owning Grid before deleting a range of selected cell values by pressing
|
|
2452
|
+
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
2461
2453
|
* buttons while [autoEdit](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
2462
2454
|
* @param {string} e Event name
|
|
2463
2455
|
* @param {object} params Event parameters
|
|
@@ -2729,7 +2721,7 @@ const emit = defineEmits<{
|
|
|
2729
2721
|
*/
|
|
2730
2722
|
(e: 'beforeEventAdd', params: ((event: { source: Scheduler, eventRecord: SchedulerEventModel, resourceRecords: SchedulerResourceModel[], assignmentRecords: SchedulerAssignmentModel[] }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
2731
2723
|
/**
|
|
2732
|
-
* Fires before an event is removed. Can be triggered by user pressing
|
|
2724
|
+
* Fires before an event is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or by the
|
|
2733
2725
|
* event editor. Return `false` to immediately veto the removal (or a `Promise` yielding `true` or `false`
|
|
2734
2726
|
* for async vetoing).
|
|
2735
2727
|
* ...
|
|
@@ -4883,12 +4875,13 @@ const emit = defineEmits<{
|
|
|
4883
4875
|
* @param {Scheduler.model.SchedulerEventModel[]} params.params.event.originalEventRecords The event records that were copied
|
|
4884
4876
|
* @param {Scheduler.model.SchedulerAssignmentModel[]} params.params.event.originalAssignmentRecords The assignment records that were copied
|
|
4885
4877
|
* @param {Date} params.params.event.date The paste date
|
|
4886
|
-
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord The target resource record
|
|
4878
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.params.event.resourceRecord The target resource record. When multiple resources are pasted to, this will be the top resource
|
|
4879
|
+
* @param {Scheduler.model.SchedulerResourceModel[]} params.params.event.resourceRecords All target resource records that the events would be pasted to
|
|
4887
4880
|
* @param {boolean} params.params.event.isCut `true` if this is a cut action
|
|
4888
4881
|
* @param {string} params.params.event.entityName 'event' to distinguish this event from other `pasteNotAllowed` events
|
|
4889
4882
|
* @param {'overlappingEvents','resourceReadOnly'} params.params.event.reason A string id to use for displaying an error message to the user.
|
|
4890
4883
|
*/
|
|
4891
|
-
(e: 'pasteNotAllowed', params: ((event: { source: Scheduler, eventRecords: SchedulerEventModel[], assignmentRecords: SchedulerAssignmentModel[], originalEventRecords: SchedulerEventModel[], originalAssignmentRecords: SchedulerAssignmentModel[], date: Date, resourceRecord: SchedulerResourceModel, isCut: boolean, entityName: string, reason: 'overlappingEvents'|'resourceReadOnly' }) => void)|string): void
|
|
4884
|
+
(e: 'pasteNotAllowed', params: ((event: { source: Scheduler, eventRecords: SchedulerEventModel[], assignmentRecords: SchedulerAssignmentModel[], originalEventRecords: SchedulerEventModel[], originalAssignmentRecords: SchedulerAssignmentModel[], date: Date, resourceRecord: SchedulerResourceModel, resourceRecords: SchedulerResourceModel[], isCut: boolean, entityName: string, reason: 'overlappingEvents'|'resourceReadOnly' }) => void)|string): void
|
|
4892
4885
|
/**
|
|
4893
4886
|
* Fires on the owning Grid when export has finished
|
|
4894
4887
|
* @param {string} e Event name
|
|
@@ -4899,7 +4892,7 @@ const emit = defineEmits<{
|
|
|
4899
4892
|
* @param {Response} params.params.event.response Optional response, if received
|
|
4900
4893
|
* @param {Error} params.params.event.error Optional error, if exception occurred
|
|
4901
4894
|
*/
|
|
4902
|
-
(e: 'pdfExport', params: ((event: { response?:
|
|
4895
|
+
(e: 'pdfExport', params: ((event: { response?: Response, error?: Error }) => void)|string): void
|
|
4903
4896
|
/**
|
|
4904
4897
|
* Fired on the owning Scheduler or Gantt widget when dragging the percent bar
|
|
4905
4898
|
* @param {string} e Event name
|
|
@@ -6248,6 +6241,18 @@ const emit = defineEmits<{
|
|
|
6248
6241
|
* @param {boolean} params.params.event.hasChanges Whether any changes are recorded that are not yet attached to a version.
|
|
6249
6242
|
*/
|
|
6250
6243
|
(e: 'transactionChange', params: ((event: { hasChanges: boolean }) => void)|string): void
|
|
6244
|
+
/**
|
|
6245
|
+
* Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
|
|
6246
|
+
* @param {string} e Event name
|
|
6247
|
+
* @param {object} params Event parameters
|
|
6248
|
+
* @param {string} params.e Event name
|
|
6249
|
+
* @param {object} params.params Event parameters
|
|
6250
|
+
* @param {object} params.params.event Event object
|
|
6251
|
+
* @param {Grid.view.Grid} params.params.event.source The grid instance
|
|
6252
|
+
* @param {(string|Function)[]} params.params.event.groupers Array of field names or functions representing the current grouping levels
|
|
6253
|
+
* @param {(string|Function)[]} params.params.event.oldGroupers Array of field names or functions representing the previous grouping levels
|
|
6254
|
+
*/
|
|
6255
|
+
(e: 'treeGroup', params: ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string): void
|
|
6251
6256
|
/**
|
|
6252
6257
|
* Fires when row locking is disabled.
|
|
6253
6258
|
* @param {string} e Event name
|
|
@@ -6466,7 +6471,6 @@ const widgetData = {
|
|
|
6466
6471
|
'monitorResize',
|
|
6467
6472
|
'multiEventSelect',
|
|
6468
6473
|
'narrowEventWidth',
|
|
6469
|
-
'owner',
|
|
6470
6474
|
'partner',
|
|
6471
6475
|
'passStartEndParameters',
|
|
6472
6476
|
'plugins',
|
|
@@ -6891,6 +6895,7 @@ const widgetData = {
|
|
|
6891
6895
|
'onToggleNode',
|
|
6892
6896
|
'onToolClick',
|
|
6893
6897
|
'onTransactionChange',
|
|
6898
|
+
'onTreeGroup',
|
|
6894
6899
|
'onUnlockRows',
|
|
6895
6900
|
'onUnsplit',
|
|
6896
6901
|
'onVisibleDateRangeChange',
|
|
@@ -7260,6 +7265,7 @@ const widgetData = {
|
|
|
7260
7265
|
'toggleNode',
|
|
7261
7266
|
'toolClick',
|
|
7262
7267
|
'transactionChange',
|
|
7268
|
+
'treeGroup',
|
|
7263
7269
|
'unlockRows',
|
|
7264
7270
|
'unsplit',
|
|
7265
7271
|
'visibleDateRangeChange'
|
|
@@ -436,7 +436,7 @@ export declare type BryntumSchedulerProBaseProps = {
|
|
|
436
436
|
*/
|
|
437
437
|
emptyText ? : string|EmptyTextDomConfig
|
|
438
438
|
/**
|
|
439
|
-
* Allow using
|
|
439
|
+
* Allow using <kbd>Delete</kbd> and <kbd>Backspace</kbd> to remove events/assignments
|
|
440
440
|
*/
|
|
441
441
|
enableDeleteKey ? : Boolean
|
|
442
442
|
/**
|
|
@@ -950,14 +950,6 @@ export declare type BryntumSchedulerProBaseProps = {
|
|
|
950
950
|
* @returns {number} Return -1 to display `a` above `b`, 1 for `b` above `a`
|
|
951
951
|
*/
|
|
952
952
|
overlappingEventSorter ? : (a: SchedulerEventModel, b: SchedulerEventModel) => number
|
|
953
|
-
/**
|
|
954
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
955
|
-
* [items](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
956
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
957
|
-
* ...
|
|
958
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/SchedulerProBase#config-owner)
|
|
959
|
-
*/
|
|
960
|
-
owner ? : Widget|any
|
|
961
953
|
/**
|
|
962
954
|
* Partners this Timeline panel with another Timeline in order to sync their region sizes (sub-grids like locked, normal will get the same width),
|
|
963
955
|
* start and end dates, view preset, zoom level and scrolling position. All these values will be synced with the timeline defined as the `partner`.
|
|
@@ -1647,7 +1639,7 @@ export declare type BryntumSchedulerProBaseProps = {
|
|
|
1647
1639
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
1648
1640
|
/**
|
|
1649
1641
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
1650
|
-
*
|
|
1642
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
1651
1643
|
* ...
|
|
1652
1644
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellMenu)
|
|
1653
1645
|
*/
|
|
@@ -1744,8 +1736,8 @@ export declare type BryntumSchedulerProBaseProps = {
|
|
|
1744
1736
|
*/
|
|
1745
1737
|
eventBufferFeature ? : object|Boolean|string|EventBuffer|EventBufferConfig
|
|
1746
1738
|
/**
|
|
1747
|
-
* Allow using <kbd>Ctrl</kbd>/<kbd>
|
|
1748
|
-
* <kbd>V</kbd> to copy/cut and paste events.
|
|
1739
|
+
* Allow using <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>C</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>X</kbd> and
|
|
1740
|
+
* <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>V</kbd> to copy/cut and paste events.
|
|
1749
1741
|
* ...
|
|
1750
1742
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/EventCopyPaste)
|
|
1751
1743
|
*/
|
|
@@ -1866,8 +1858,8 @@ export declare type BryntumSchedulerProBaseProps = {
|
|
|
1866
1858
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
1867
1859
|
/**
|
|
1868
1860
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
1869
|
-
* <kbd>
|
|
1870
|
-
* one anywhere on grid). Use <kbd>
|
|
1861
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
1862
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
1871
1863
|
* grouper.
|
|
1872
1864
|
* ...
|
|
1873
1865
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Group)
|
|
@@ -120,7 +120,7 @@ defineProps<{
|
|
|
120
120
|
calendars ? : CalendarModel[]|CalendarModelConfig[]
|
|
121
121
|
/**
|
|
122
122
|
* The initial data, to fill the [calendarManagerStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#property-calendarManagerStore) with.
|
|
123
|
-
* Should be an array of [CalendarModel](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/CalendarModel) or
|
|
123
|
+
* Should be an array of [CalendarModel](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/CalendarModel) or its configuration objects.
|
|
124
124
|
*/
|
|
125
125
|
calendarsData ? : CalendarModel[]
|
|
126
126
|
/**
|
|
@@ -815,7 +815,7 @@ const emit = defineEmits<{
|
|
|
815
815
|
* @param {object} params.params.event.requestOptions The request options passed to the request.
|
|
816
816
|
* @param {Response} params.params.event.rawResponse The native Response object
|
|
817
817
|
*/
|
|
818
|
-
(e: 'load', params: ((event: { source: AbstractCrudManager, response: object, responseOptions: object, requestOptions: object, rawResponse:
|
|
818
|
+
(e: 'load', params: ((event: { source: AbstractCrudManager, response: object, responseOptions: object, requestOptions: object, rawResponse: Response }) => void)|string): void
|
|
819
819
|
/**
|
|
820
820
|
* Fired after [load request](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/crud/AbstractCrudManagerMixin#function-load) was canceled by some [beforeLoad](#Scheduler/crud/AbstractCrudManagerMixin#event-beforeLoad)
|
|
821
821
|
* listener or due to incomplete prior load request.
|
|
@@ -842,7 +842,7 @@ const emit = defineEmits<{
|
|
|
842
842
|
* @param {object} params.params.event.requestOptions The request options passed to the request.
|
|
843
843
|
* @param {Response} params.params.event.rawResponse The native Response object
|
|
844
844
|
*/
|
|
845
|
-
(e: 'loadFail', params: ((event: { source: AbstractCrudManager, response: object, responseText: string, responseOptions: object, requestOptions: object, rawResponse:
|
|
845
|
+
(e: 'loadFail', params: ((event: { source: AbstractCrudManager, response: object, responseText: string, responseOptions: object, requestOptions: object, rawResponse: Response }) => void)|string): void
|
|
846
846
|
/**
|
|
847
847
|
* Fires when registered stores get into state when they don't have any
|
|
848
848
|
* not persisted change. This happens after [load](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/crud/AbstractCrudManagerMixin#function-load) or [sync](#Scheduler/crud/AbstractCrudManagerMixin#function-sync) request
|
|
@@ -884,7 +884,7 @@ const emit = defineEmits<{
|
|
|
884
884
|
* @param {object} params.params.event.requestOptions The request options passed to the request.
|
|
885
885
|
* @param {Response} params.params.event.rawResponse The native Response object
|
|
886
886
|
*/
|
|
887
|
-
(e: 'requestDone', params: ((event: { source: AbstractCrudManager, requestType: 'sync'|'load', response: object, responseOptions: object, requestOptions: object, rawResponse:
|
|
887
|
+
(e: 'requestDone', params: ((event: { source: AbstractCrudManager, requestType: 'sync'|'load', response: object, responseOptions: object, requestOptions: object, rawResponse: Response }) => void)|string): void
|
|
888
888
|
/**
|
|
889
889
|
* Fires when a request fails.
|
|
890
890
|
* @param {string} e Event name
|
|
@@ -900,7 +900,7 @@ const emit = defineEmits<{
|
|
|
900
900
|
* @param {object} params.params.event.requestOptions The request options passed to the request.
|
|
901
901
|
* @param {Response} params.params.event.rawResponse The native Response object
|
|
902
902
|
*/
|
|
903
|
-
(e: 'requestFail', params: ((event: { source: AbstractCrudManager, requestType: 'sync'|'load', response: object, responseText: string, responseOptions: object, requestOptions: object, rawResponse:
|
|
903
|
+
(e: 'requestFail', params: ((event: { source: AbstractCrudManager, requestType: 'sync'|'load', response: object, responseText: string, responseOptions: object, requestOptions: object, rawResponse: Response }) => void)|string): void
|
|
904
904
|
/**
|
|
905
905
|
* This event triggers when a new revision is added to the project. It is used to notify the backend about the
|
|
906
906
|
* new revision.
|
|
@@ -942,7 +942,7 @@ const emit = defineEmits<{
|
|
|
942
942
|
* @param {object} params.params.event.requestOptions The request options passed to the request.
|
|
943
943
|
* @param {Response} params.params.event.rawResponse The native Response object
|
|
944
944
|
*/
|
|
945
|
-
(e: 'sync', params: ((event: { source: AbstractCrudManager, response: object, responseOptions: object, requestOptions: object, rawResponse:
|
|
945
|
+
(e: 'sync', params: ((event: { source: AbstractCrudManager, response: object, responseOptions: object, requestOptions: object, rawResponse: Response }) => void)|string): void
|
|
946
946
|
/**
|
|
947
947
|
* Fires after [sync request](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/crud/AbstractCrudManagerMixin#function-sync) was canceled by some [beforeSync](#Scheduler/crud/AbstractCrudManagerMixin#event-beforeSync) listener.
|
|
948
948
|
* @param {string} e Event name
|
|
@@ -979,7 +979,7 @@ const emit = defineEmits<{
|
|
|
979
979
|
* @param {object} params.params.event.requestOptions The request options passed to the request.
|
|
980
980
|
* @param {Response} params.params.event.rawResponse The native Response object
|
|
981
981
|
*/
|
|
982
|
-
(e: 'syncFail', params: ((event: { source: AbstractCrudManager, response: object, responseText: string, responseOptions: object, requestOptions: object, rawResponse:
|
|
982
|
+
(e: 'syncFail', params: ((event: { source: AbstractCrudManager, response: object, responseText: string, responseOptions: object, requestOptions: object, rawResponse: Response }) => void)|string): void
|
|
983
983
|
}>();
|
|
984
984
|
|
|
985
985
|
const widgetData = {
|
|
@@ -105,7 +105,7 @@ export declare type BryntumSchedulerProProjectModelProps = {
|
|
|
105
105
|
calendars ? : CalendarModel[]|CalendarModelConfig[]
|
|
106
106
|
/**
|
|
107
107
|
* The initial data, to fill the [calendarManagerStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#property-calendarManagerStore) with.
|
|
108
|
-
* Should be an array of [CalendarModel](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/CalendarModel) or
|
|
108
|
+
* Should be an array of [CalendarModel](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/CalendarModel) or its configuration objects.
|
|
109
109
|
*/
|
|
110
110
|
calendarsData ? : CalendarModel[]
|
|
111
111
|
/**
|