@bryntum/scheduler-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 +6 -6
- package/lib/chunks/{BIDAJ9KI.js → B0m0r-NV.js} +1 -3
- package/lib/chunks/B0m0r-NV.js.map +1 -0
- package/lib/chunks/{COu_0bRA.js → BNGLBrCN.js} +3 -5
- package/lib/chunks/BNGLBrCN.js.map +1 -0
- package/lib/chunks/{DxeM4HUm.js → C0UqC4Uj.js} +6 -8
- package/lib/chunks/C0UqC4Uj.js.map +1 -0
- package/lib/chunks/{DgB_l35T.js → C2PT-Ukt.js} +6 -8
- package/lib/chunks/C2PT-Ukt.js.map +1 -0
- package/lib/chunks/{Bbpvg_hf.js → C7ZFK2B7.js} +4 -4
- package/lib/chunks/C7ZFK2B7.js.map +1 -0
- package/lib/chunks/{CQl8vwrU.js → CP1Mm_Ak.js} +4 -6
- package/lib/chunks/{CQl8vwrU.js.map → CP1Mm_Ak.js.map} +1 -1
- package/lib/chunks/{ga9EWphl.js → CsoS615B.js} +3 -5
- package/lib/chunks/CsoS615B.js.map +1 -0
- package/lib/chunks/{FtY3iMiN.js → DerP_qo7.js} +4 -4
- package/lib/chunks/DerP_qo7.js.map +1 -0
- package/lib/chunks/{qTXsCzE5.js → DmQj0tBi.js} +7 -7
- package/lib/chunks/DmQj0tBi.js.map +1 -0
- package/lib/chunks/{C-Z2zn9r.js → mKqb8_2f.js} +1 -3
- package/lib/chunks/mKqb8_2f.js.map +1 -0
- package/lib/components/BryntumEventColorField.js +1 -1
- package/lib/components/BryntumProjectCombo.js +1 -1
- package/lib/components/BryntumResourceCombo.js +1 -1
- package/lib/components/BryntumResourceFilter.js +1 -1
- package/lib/components/BryntumScheduler.js +1 -1
- package/lib/components/BryntumSchedulerBase.js +1 -1
- package/lib/components/BryntumSchedulerDatePicker.js +1 -1
- package/lib/components/BryntumTimelineHistogram.js +1 -1
- package/lib/components/BryntumUndoRedo.js +1 -1
- package/lib/components/BryntumViewPresetCombo.js +1 -1
- package/lib/index.js +10 -10
- package/package.json +1 -1
- package/src/components/BryntumEventColorField.vue +1 -10
- package/src/components/BryntumEventColorFieldProps.ts +1 -9
- package/src/components/BryntumProjectCombo.vue +2 -11
- package/src/components/BryntumProjectComboProps.ts +2 -10
- package/src/components/BryntumResourceCombo.vue +2 -11
- package/src/components/BryntumResourceComboProps.ts +2 -10
- package/src/components/BryntumResourceFilter.vue +1 -10
- package/src/components/BryntumResourceFilterProps.ts +1 -9
- package/src/components/BryntumScheduler.vue +27 -21
- package/src/components/BryntumSchedulerBase.vue +27 -21
- package/src/components/BryntumSchedulerBaseProps.ts +6 -14
- package/src/components/BryntumSchedulerDatePicker.vue +0 -9
- package/src/components/BryntumSchedulerDatePickerProps.ts +0 -8
- package/src/components/BryntumSchedulerProps.ts +6 -14
- package/src/components/BryntumTimelineHistogram.vue +22 -17
- package/src/components/BryntumTimelineHistogramProps.ts +4 -12
- package/src/components/BryntumUndoRedo.vue +0 -9
- package/src/components/BryntumUndoRedoProps.ts +0 -8
- package/src/components/BryntumViewPresetCombo.vue +0 -9
- package/src/components/BryntumViewPresetComboProps.ts +0 -8
- package/lib/chunks/BIDAJ9KI.js.map +0 -1
- package/lib/chunks/Bbpvg_hf.js.map +0 -1
- package/lib/chunks/C-Z2zn9r.js.map +0 -1
- package/lib/chunks/COu_0bRA.js.map +0 -1
- package/lib/chunks/DgB_l35T.js.map +0 -1
- package/lib/chunks/DxeM4HUm.js.map +0 -1
- package/lib/chunks/FtY3iMiN.js.map +0 -1
- package/lib/chunks/ga9EWphl.js.map +0 -1
- package/lib/chunks/qTXsCzE5.js.map +0 -1
|
@@ -452,7 +452,7 @@ defineProps<{
|
|
|
452
452
|
*/
|
|
453
453
|
emptyText ? : string|EmptyTextDomConfig
|
|
454
454
|
/**
|
|
455
|
-
* Allow using
|
|
455
|
+
* Allow using <kbd>Delete</kbd> and <kbd>Backspace</kbd> to remove events/assignments
|
|
456
456
|
*/
|
|
457
457
|
enableDeleteKey ? : Boolean
|
|
458
458
|
/**
|
|
@@ -968,14 +968,6 @@ defineProps<{
|
|
|
968
968
|
* @returns {number} Return -1 to display `a` above `b`, 1 for `b` above `a`
|
|
969
969
|
*/
|
|
970
970
|
overlappingEventSorter ? : (a: EventModel, b: EventModel) => number
|
|
971
|
-
/**
|
|
972
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
973
|
-
* [items](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
974
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
975
|
-
* ...
|
|
976
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/Scheduler#config-owner)
|
|
977
|
-
*/
|
|
978
|
-
owner ? : Widget|any
|
|
979
971
|
/**
|
|
980
972
|
* Partners this Timeline panel with another Timeline in order to sync their region sizes (sub-grids like locked, normal will get the same width),
|
|
981
973
|
* start and end dates, view preset, zoom level and scrolling position. All these values will be synced with the timeline defined as the `partner`.
|
|
@@ -1642,7 +1634,7 @@ defineProps<{
|
|
|
1642
1634
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
1643
1635
|
/**
|
|
1644
1636
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
1645
|
-
*
|
|
1637
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
1646
1638
|
* ...
|
|
1647
1639
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Grid/feature/CellMenu)
|
|
1648
1640
|
*/
|
|
@@ -1734,8 +1726,8 @@ defineProps<{
|
|
|
1734
1726
|
*/
|
|
1735
1727
|
dependencyMenuFeature ? : object|Boolean|string|DependencyMenu|DependencyMenuConfig
|
|
1736
1728
|
/**
|
|
1737
|
-
* Allow using <kbd>Ctrl</kbd>/<kbd>
|
|
1738
|
-
* <kbd>V</kbd> to copy/cut and paste events.
|
|
1729
|
+
* Allow using <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>C</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>X</kbd> and
|
|
1730
|
+
* <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>V</kbd> to copy/cut and paste events.
|
|
1739
1731
|
* ...
|
|
1740
1732
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/EventCopyPaste)
|
|
1741
1733
|
*/
|
|
@@ -1837,8 +1829,8 @@ defineProps<{
|
|
|
1837
1829
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
1838
1830
|
/**
|
|
1839
1831
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
1840
|
-
* <kbd>
|
|
1841
|
-
* one anywhere on grid). Use <kbd>
|
|
1832
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
1833
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
1842
1834
|
* grouper.
|
|
1843
1835
|
* ...
|
|
1844
1836
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Grid/feature/Group)
|
|
@@ -2220,7 +2212,7 @@ const emit = defineEmits<{
|
|
|
2220
2212
|
*/
|
|
2221
2213
|
(e: 'assignmentSelectionChange', params: ((event: { source: Scheduler, action: 'select'|'deselect'|'update'|'clear', selected: AssignmentModel[], deselected: AssignmentModel[], selection: AssignmentModel[] }) => void)|string): void
|
|
2222
2214
|
/**
|
|
2223
|
-
* Fires before an assignment is removed. Can be triggered by user pressing
|
|
2215
|
+
* Fires before an assignment is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or
|
|
2224
2216
|
* by the event editor. Can for example be used to display a custom dialog to confirm deletion, in which
|
|
2225
2217
|
* case records should be "manually" removed after confirmation:
|
|
2226
2218
|
* ...
|
|
@@ -2302,7 +2294,7 @@ const emit = defineEmits<{
|
|
|
2302
2294
|
*/
|
|
2303
2295
|
(e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
2304
2296
|
/**
|
|
2305
|
-
* Fires on the owning Grid before deleting a range of selected cell values by pressing
|
|
2297
|
+
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
2306
2298
|
* buttons while [autoEdit](https://bryntum.com/products/scheduler/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
2307
2299
|
* @param {string} e Event name
|
|
2308
2300
|
* @param {object} params Event parameters
|
|
@@ -2574,7 +2566,7 @@ const emit = defineEmits<{
|
|
|
2574
2566
|
*/
|
|
2575
2567
|
(e: 'beforeEventAdd', params: ((event: { source: Scheduler, eventRecord: EventModel, resourceRecords: ResourceModel[], assignmentRecords: AssignmentModel[] }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
2576
2568
|
/**
|
|
2577
|
-
* Fires before an event is removed. Can be triggered by user pressing
|
|
2569
|
+
* Fires before an event is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or by the
|
|
2578
2570
|
* event editor. Return `false` to immediately veto the removal (or a `Promise` yielding `true` or `false`
|
|
2579
2571
|
* for async vetoing).
|
|
2580
2572
|
* ...
|
|
@@ -4482,12 +4474,13 @@ const emit = defineEmits<{
|
|
|
4482
4474
|
* @param {Scheduler.model.EventModel[]} params.params.event.originalEventRecords The event records that were copied
|
|
4483
4475
|
* @param {Scheduler.model.AssignmentModel[]} params.params.event.originalAssignmentRecords The assignment records that were copied
|
|
4484
4476
|
* @param {Date} params.params.event.date The paste date
|
|
4485
|
-
* @param {Scheduler.model.ResourceModel} params.params.event.resourceRecord The target resource record
|
|
4477
|
+
* @param {Scheduler.model.ResourceModel} params.params.event.resourceRecord The target resource record. When multiple resources are pasted to, this will be the top resource
|
|
4478
|
+
* @param {Scheduler.model.ResourceModel[]} params.params.event.resourceRecords All target resource records that the events would be pasted to
|
|
4486
4479
|
* @param {boolean} params.params.event.isCut `true` if this is a cut action
|
|
4487
4480
|
* @param {string} params.params.event.entityName 'event' to distinguish this event from other `pasteNotAllowed` events
|
|
4488
4481
|
* @param {'overlappingEvents','resourceReadOnly'} params.params.event.reason A string id to use for displaying an error message to the user.
|
|
4489
4482
|
*/
|
|
4490
|
-
(e: 'pasteNotAllowed', params: ((event: { source: Scheduler, eventRecords: EventModel[], assignmentRecords: AssignmentModel[], originalEventRecords: EventModel[], originalAssignmentRecords: AssignmentModel[], date: Date, resourceRecord: ResourceModel, isCut: boolean, entityName: string, reason: 'overlappingEvents'|'resourceReadOnly' }) => void)|string): void
|
|
4483
|
+
(e: 'pasteNotAllowed', params: ((event: { source: Scheduler, eventRecords: EventModel[], assignmentRecords: AssignmentModel[], originalEventRecords: EventModel[], originalAssignmentRecords: AssignmentModel[], date: Date, resourceRecord: ResourceModel, resourceRecords: ResourceModel[], isCut: boolean, entityName: string, reason: 'overlappingEvents'|'resourceReadOnly' }) => void)|string): void
|
|
4491
4484
|
/**
|
|
4492
4485
|
* Fires on the owning Grid when export has finished
|
|
4493
4486
|
* @param {string} e Event name
|
|
@@ -4498,7 +4491,7 @@ const emit = defineEmits<{
|
|
|
4498
4491
|
* @param {Response} params.params.event.response Optional response, if received
|
|
4499
4492
|
* @param {Error} params.params.event.error Optional error, if exception occurred
|
|
4500
4493
|
*/
|
|
4501
|
-
(e: 'pdfExport', params: ((event: { response?:
|
|
4494
|
+
(e: 'pdfExport', params: ((event: { response?: Response, error?: Error }) => void)|string): void
|
|
4502
4495
|
/**
|
|
4503
4496
|
* Fired after the [viewPreset](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/TimelineViewPresets#config-viewPreset) has changed.
|
|
4504
4497
|
* @param {string} e Event name
|
|
@@ -5625,6 +5618,18 @@ const emit = defineEmits<{
|
|
|
5625
5618
|
* @param {Core.widget.Tool} params.params.event.tool The tool which is being clicked.
|
|
5626
5619
|
*/
|
|
5627
5620
|
(e: 'toolClick', params: ((event: { source: Tool, tool: Tool }) => void)|string): void
|
|
5621
|
+
/**
|
|
5622
|
+
* Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
|
|
5623
|
+
* @param {string} e Event name
|
|
5624
|
+
* @param {object} params Event parameters
|
|
5625
|
+
* @param {string} params.e Event name
|
|
5626
|
+
* @param {object} params.params Event parameters
|
|
5627
|
+
* @param {object} params.params.event Event object
|
|
5628
|
+
* @param {Grid.view.Grid} params.params.event.source The grid instance
|
|
5629
|
+
* @param {(string|Function)[]} params.params.event.groupers Array of field names or functions representing the current grouping levels
|
|
5630
|
+
* @param {(string|Function)[]} params.params.event.oldGroupers Array of field names or functions representing the previous grouping levels
|
|
5631
|
+
*/
|
|
5632
|
+
(e: 'treeGroup', params: ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string): void
|
|
5628
5633
|
/**
|
|
5629
5634
|
* Fires when row locking is disabled.
|
|
5630
5635
|
* @param {string} e Event name
|
|
@@ -5827,7 +5832,6 @@ const widgetData = {
|
|
|
5827
5832
|
'monitorResize',
|
|
5828
5833
|
'multiEventSelect',
|
|
5829
5834
|
'narrowEventWidth',
|
|
5830
|
-
'owner',
|
|
5831
5835
|
'partner',
|
|
5832
5836
|
'passStartEndParameters',
|
|
5833
5837
|
'plugins',
|
|
@@ -6211,6 +6215,7 @@ const widgetData = {
|
|
|
6211
6215
|
'onToggleGroup',
|
|
6212
6216
|
'onToggleNode',
|
|
6213
6217
|
'onToolClick',
|
|
6218
|
+
'onTreeGroup',
|
|
6214
6219
|
'onUnlockRows',
|
|
6215
6220
|
'onUnsplit',
|
|
6216
6221
|
'onVisibleDateRangeChange',
|
|
@@ -6542,6 +6547,7 @@ const widgetData = {
|
|
|
6542
6547
|
'toggleGroup',
|
|
6543
6548
|
'toggleNode',
|
|
6544
6549
|
'toolClick',
|
|
6550
|
+
'treeGroup',
|
|
6545
6551
|
'unlockRows',
|
|
6546
6552
|
'unsplit',
|
|
6547
6553
|
'visibleDateRangeChange'
|
|
@@ -452,7 +452,7 @@ defineProps<{
|
|
|
452
452
|
*/
|
|
453
453
|
emptyText ? : string|EmptyTextDomConfig
|
|
454
454
|
/**
|
|
455
|
-
* Allow using
|
|
455
|
+
* Allow using <kbd>Delete</kbd> and <kbd>Backspace</kbd> to remove events/assignments
|
|
456
456
|
*/
|
|
457
457
|
enableDeleteKey ? : Boolean
|
|
458
458
|
/**
|
|
@@ -968,14 +968,6 @@ defineProps<{
|
|
|
968
968
|
* @returns {number} Return -1 to display `a` above `b`, 1 for `b` above `a`
|
|
969
969
|
*/
|
|
970
970
|
overlappingEventSorter ? : (a: EventModel, b: EventModel) => number
|
|
971
|
-
/**
|
|
972
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
973
|
-
* [items](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
974
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
975
|
-
* ...
|
|
976
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/SchedulerBase#config-owner)
|
|
977
|
-
*/
|
|
978
|
-
owner ? : Widget|any
|
|
979
971
|
/**
|
|
980
972
|
* Partners this Timeline panel with another Timeline in order to sync their region sizes (sub-grids like locked, normal will get the same width),
|
|
981
973
|
* start and end dates, view preset, zoom level and scrolling position. All these values will be synced with the timeline defined as the `partner`.
|
|
@@ -1641,7 +1633,7 @@ defineProps<{
|
|
|
1641
1633
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
1642
1634
|
/**
|
|
1643
1635
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
1644
|
-
*
|
|
1636
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
1645
1637
|
* ...
|
|
1646
1638
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Grid/feature/CellMenu)
|
|
1647
1639
|
*/
|
|
@@ -1733,8 +1725,8 @@ defineProps<{
|
|
|
1733
1725
|
*/
|
|
1734
1726
|
dependencyMenuFeature ? : object|Boolean|string|DependencyMenu|DependencyMenuConfig
|
|
1735
1727
|
/**
|
|
1736
|
-
* Allow using <kbd>Ctrl</kbd>/<kbd>
|
|
1737
|
-
* <kbd>V</kbd> to copy/cut and paste events.
|
|
1728
|
+
* Allow using <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>C</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>X</kbd> and
|
|
1729
|
+
* <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>V</kbd> to copy/cut and paste events.
|
|
1738
1730
|
* ...
|
|
1739
1731
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/EventCopyPaste)
|
|
1740
1732
|
*/
|
|
@@ -1836,8 +1828,8 @@ defineProps<{
|
|
|
1836
1828
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
1837
1829
|
/**
|
|
1838
1830
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
1839
|
-
* <kbd>
|
|
1840
|
-
* one anywhere on grid). Use <kbd>
|
|
1831
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
1832
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
1841
1833
|
* grouper.
|
|
1842
1834
|
* ...
|
|
1843
1835
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Grid/feature/Group)
|
|
@@ -2219,7 +2211,7 @@ const emit = defineEmits<{
|
|
|
2219
2211
|
*/
|
|
2220
2212
|
(e: 'assignmentSelectionChange', params: ((event: { source: Scheduler, action: 'select'|'deselect'|'update'|'clear', selected: AssignmentModel[], deselected: AssignmentModel[], selection: AssignmentModel[] }) => void)|string): void
|
|
2221
2213
|
/**
|
|
2222
|
-
* Fires before an assignment is removed. Can be triggered by user pressing
|
|
2214
|
+
* Fires before an assignment is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or
|
|
2223
2215
|
* by the event editor. Can for example be used to display a custom dialog to confirm deletion, in which
|
|
2224
2216
|
* case records should be "manually" removed after confirmation:
|
|
2225
2217
|
* ...
|
|
@@ -2301,7 +2293,7 @@ const emit = defineEmits<{
|
|
|
2301
2293
|
*/
|
|
2302
2294
|
(e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
2303
2295
|
/**
|
|
2304
|
-
* Fires on the owning Grid before deleting a range of selected cell values by pressing
|
|
2296
|
+
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
2305
2297
|
* buttons while [autoEdit](https://bryntum.com/products/scheduler/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
2306
2298
|
* @param {string} e Event name
|
|
2307
2299
|
* @param {object} params Event parameters
|
|
@@ -2573,7 +2565,7 @@ const emit = defineEmits<{
|
|
|
2573
2565
|
*/
|
|
2574
2566
|
(e: 'beforeEventAdd', params: ((event: { source: Scheduler, eventRecord: EventModel, resourceRecords: ResourceModel[], assignmentRecords: AssignmentModel[] }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
2575
2567
|
/**
|
|
2576
|
-
* Fires before an event is removed. Can be triggered by user pressing
|
|
2568
|
+
* Fires before an event is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or by the
|
|
2577
2569
|
* event editor. Return `false` to immediately veto the removal (or a `Promise` yielding `true` or `false`
|
|
2578
2570
|
* for async vetoing).
|
|
2579
2571
|
* ...
|
|
@@ -4481,12 +4473,13 @@ const emit = defineEmits<{
|
|
|
4481
4473
|
* @param {Scheduler.model.EventModel[]} params.params.event.originalEventRecords The event records that were copied
|
|
4482
4474
|
* @param {Scheduler.model.AssignmentModel[]} params.params.event.originalAssignmentRecords The assignment records that were copied
|
|
4483
4475
|
* @param {Date} params.params.event.date The paste date
|
|
4484
|
-
* @param {Scheduler.model.ResourceModel} params.params.event.resourceRecord The target resource record
|
|
4476
|
+
* @param {Scheduler.model.ResourceModel} params.params.event.resourceRecord The target resource record. When multiple resources are pasted to, this will be the top resource
|
|
4477
|
+
* @param {Scheduler.model.ResourceModel[]} params.params.event.resourceRecords All target resource records that the events would be pasted to
|
|
4485
4478
|
* @param {boolean} params.params.event.isCut `true` if this is a cut action
|
|
4486
4479
|
* @param {string} params.params.event.entityName 'event' to distinguish this event from other `pasteNotAllowed` events
|
|
4487
4480
|
* @param {'overlappingEvents','resourceReadOnly'} params.params.event.reason A string id to use for displaying an error message to the user.
|
|
4488
4481
|
*/
|
|
4489
|
-
(e: 'pasteNotAllowed', params: ((event: { source: Scheduler, eventRecords: EventModel[], assignmentRecords: AssignmentModel[], originalEventRecords: EventModel[], originalAssignmentRecords: AssignmentModel[], date: Date, resourceRecord: ResourceModel, isCut: boolean, entityName: string, reason: 'overlappingEvents'|'resourceReadOnly' }) => void)|string): void
|
|
4482
|
+
(e: 'pasteNotAllowed', params: ((event: { source: Scheduler, eventRecords: EventModel[], assignmentRecords: AssignmentModel[], originalEventRecords: EventModel[], originalAssignmentRecords: AssignmentModel[], date: Date, resourceRecord: ResourceModel, resourceRecords: ResourceModel[], isCut: boolean, entityName: string, reason: 'overlappingEvents'|'resourceReadOnly' }) => void)|string): void
|
|
4490
4483
|
/**
|
|
4491
4484
|
* Fires on the owning Grid when export has finished
|
|
4492
4485
|
* @param {string} e Event name
|
|
@@ -4497,7 +4490,7 @@ const emit = defineEmits<{
|
|
|
4497
4490
|
* @param {Response} params.params.event.response Optional response, if received
|
|
4498
4491
|
* @param {Error} params.params.event.error Optional error, if exception occurred
|
|
4499
4492
|
*/
|
|
4500
|
-
(e: 'pdfExport', params: ((event: { response?:
|
|
4493
|
+
(e: 'pdfExport', params: ((event: { response?: Response, error?: Error }) => void)|string): void
|
|
4501
4494
|
/**
|
|
4502
4495
|
* Fired after the [viewPreset](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/TimelineViewPresets#config-viewPreset) has changed.
|
|
4503
4496
|
* @param {string} e Event name
|
|
@@ -5624,6 +5617,18 @@ const emit = defineEmits<{
|
|
|
5624
5617
|
* @param {Core.widget.Tool} params.params.event.tool The tool which is being clicked.
|
|
5625
5618
|
*/
|
|
5626
5619
|
(e: 'toolClick', params: ((event: { source: Tool, tool: Tool }) => void)|string): void
|
|
5620
|
+
/**
|
|
5621
|
+
* Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
|
|
5622
|
+
* @param {string} e Event name
|
|
5623
|
+
* @param {object} params Event parameters
|
|
5624
|
+
* @param {string} params.e Event name
|
|
5625
|
+
* @param {object} params.params Event parameters
|
|
5626
|
+
* @param {object} params.params.event Event object
|
|
5627
|
+
* @param {Grid.view.Grid} params.params.event.source The grid instance
|
|
5628
|
+
* @param {(string|Function)[]} params.params.event.groupers Array of field names or functions representing the current grouping levels
|
|
5629
|
+
* @param {(string|Function)[]} params.params.event.oldGroupers Array of field names or functions representing the previous grouping levels
|
|
5630
|
+
*/
|
|
5631
|
+
(e: 'treeGroup', params: ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string): void
|
|
5627
5632
|
/**
|
|
5628
5633
|
* Fires when row locking is disabled.
|
|
5629
5634
|
* @param {string} e Event name
|
|
@@ -5826,7 +5831,6 @@ const widgetData = {
|
|
|
5826
5831
|
'monitorResize',
|
|
5827
5832
|
'multiEventSelect',
|
|
5828
5833
|
'narrowEventWidth',
|
|
5829
|
-
'owner',
|
|
5830
5834
|
'partner',
|
|
5831
5835
|
'passStartEndParameters',
|
|
5832
5836
|
'plugins',
|
|
@@ -6209,6 +6213,7 @@ const widgetData = {
|
|
|
6209
6213
|
'onToggleGroup',
|
|
6210
6214
|
'onToggleNode',
|
|
6211
6215
|
'onToolClick',
|
|
6216
|
+
'onTreeGroup',
|
|
6212
6217
|
'onUnlockRows',
|
|
6213
6218
|
'onUnsplit',
|
|
6214
6219
|
'onVisibleDateRangeChange',
|
|
@@ -6540,6 +6545,7 @@ const widgetData = {
|
|
|
6540
6545
|
'toggleGroup',
|
|
6541
6546
|
'toggleNode',
|
|
6542
6547
|
'toolClick',
|
|
6548
|
+
'treeGroup',
|
|
6543
6549
|
'unlockRows',
|
|
6544
6550
|
'unsplit',
|
|
6545
6551
|
'visibleDateRangeChange'
|
|
@@ -414,7 +414,7 @@ export declare type BryntumSchedulerBaseProps = {
|
|
|
414
414
|
*/
|
|
415
415
|
emptyText ? : string|EmptyTextDomConfig
|
|
416
416
|
/**
|
|
417
|
-
* Allow using
|
|
417
|
+
* Allow using <kbd>Delete</kbd> and <kbd>Backspace</kbd> to remove events/assignments
|
|
418
418
|
*/
|
|
419
419
|
enableDeleteKey ? : Boolean
|
|
420
420
|
/**
|
|
@@ -930,14 +930,6 @@ export declare type BryntumSchedulerBaseProps = {
|
|
|
930
930
|
* @returns {number} Return -1 to display `a` above `b`, 1 for `b` above `a`
|
|
931
931
|
*/
|
|
932
932
|
overlappingEventSorter ? : (a: EventModel, b: EventModel) => number
|
|
933
|
-
/**
|
|
934
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
935
|
-
* [items](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
936
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
937
|
-
* ...
|
|
938
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/SchedulerBase#config-owner)
|
|
939
|
-
*/
|
|
940
|
-
owner ? : Widget|any
|
|
941
933
|
/**
|
|
942
934
|
* Partners this Timeline panel with another Timeline in order to sync their region sizes (sub-grids like locked, normal will get the same width),
|
|
943
935
|
* start and end dates, view preset, zoom level and scrolling position. All these values will be synced with the timeline defined as the `partner`.
|
|
@@ -1603,7 +1595,7 @@ export declare type BryntumSchedulerBaseProps = {
|
|
|
1603
1595
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
1604
1596
|
/**
|
|
1605
1597
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
1606
|
-
*
|
|
1598
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
1607
1599
|
* ...
|
|
1608
1600
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Grid/feature/CellMenu)
|
|
1609
1601
|
*/
|
|
@@ -1695,8 +1687,8 @@ export declare type BryntumSchedulerBaseProps = {
|
|
|
1695
1687
|
*/
|
|
1696
1688
|
dependencyMenuFeature ? : object|Boolean|string|DependencyMenu|DependencyMenuConfig
|
|
1697
1689
|
/**
|
|
1698
|
-
* Allow using <kbd>Ctrl</kbd>/<kbd>
|
|
1699
|
-
* <kbd>V</kbd> to copy/cut and paste events.
|
|
1690
|
+
* Allow using <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>C</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>X</kbd> and
|
|
1691
|
+
* <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>V</kbd> to copy/cut and paste events.
|
|
1700
1692
|
* ...
|
|
1701
1693
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/EventCopyPaste)
|
|
1702
1694
|
*/
|
|
@@ -1798,8 +1790,8 @@ export declare type BryntumSchedulerBaseProps = {
|
|
|
1798
1790
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
1799
1791
|
/**
|
|
1800
1792
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
1801
|
-
* <kbd>
|
|
1802
|
-
* one anywhere on grid). Use <kbd>
|
|
1793
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
1794
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
1803
1795
|
* grouper.
|
|
1804
1796
|
* ...
|
|
1805
1797
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Grid/feature/Group)
|
|
@@ -642,14 +642,6 @@ defineProps<{
|
|
|
642
642
|
* The class name to add to calendar cells which are in the previous or next month.
|
|
643
643
|
*/
|
|
644
644
|
otherMonthCls ? : string
|
|
645
|
-
/**
|
|
646
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
647
|
-
* [items](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
648
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
649
|
-
* ...
|
|
650
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-owner)
|
|
651
|
-
*/
|
|
652
|
-
owner ? : Widget|any
|
|
653
645
|
/**
|
|
654
646
|
* Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement), but must
|
|
655
647
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
@@ -1313,7 +1305,6 @@ const widgetData = {
|
|
|
1313
1305
|
'nonWorkingDayCls',
|
|
1314
1306
|
'nonWorkingDays',
|
|
1315
1307
|
'otherMonthCls',
|
|
1316
|
-
'owner',
|
|
1317
1308
|
'positioned',
|
|
1318
1309
|
'preventTooltipOnTouch',
|
|
1319
1310
|
'relayStoreEvents',
|
|
@@ -627,14 +627,6 @@ export declare type BryntumSchedulerDatePickerProps = {
|
|
|
627
627
|
* The class name to add to calendar cells which are in the previous or next month.
|
|
628
628
|
*/
|
|
629
629
|
otherMonthCls ? : string
|
|
630
|
-
/**
|
|
631
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
632
|
-
* [items](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
633
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
634
|
-
* ...
|
|
635
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/SchedulerDatePicker#config-owner)
|
|
636
|
-
*/
|
|
637
|
-
owner ? : Widget|any
|
|
638
630
|
/**
|
|
639
631
|
* Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement), but must
|
|
640
632
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
@@ -414,7 +414,7 @@ export declare type BryntumSchedulerProps = {
|
|
|
414
414
|
*/
|
|
415
415
|
emptyText ? : string|EmptyTextDomConfig
|
|
416
416
|
/**
|
|
417
|
-
* Allow using
|
|
417
|
+
* Allow using <kbd>Delete</kbd> and <kbd>Backspace</kbd> to remove events/assignments
|
|
418
418
|
*/
|
|
419
419
|
enableDeleteKey ? : Boolean
|
|
420
420
|
/**
|
|
@@ -930,14 +930,6 @@ export declare type BryntumSchedulerProps = {
|
|
|
930
930
|
* @returns {number} Return -1 to display `a` above `b`, 1 for `b` above `a`
|
|
931
931
|
*/
|
|
932
932
|
overlappingEventSorter ? : (a: EventModel, b: EventModel) => number
|
|
933
|
-
/**
|
|
934
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
935
|
-
* [items](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
936
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
937
|
-
* ...
|
|
938
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/Scheduler#config-owner)
|
|
939
|
-
*/
|
|
940
|
-
owner ? : Widget|any
|
|
941
933
|
/**
|
|
942
934
|
* Partners this Timeline panel with another Timeline in order to sync their region sizes (sub-grids like locked, normal will get the same width),
|
|
943
935
|
* start and end dates, view preset, zoom level and scrolling position. All these values will be synced with the timeline defined as the `partner`.
|
|
@@ -1604,7 +1596,7 @@ export declare type BryntumSchedulerProps = {
|
|
|
1604
1596
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
1605
1597
|
/**
|
|
1606
1598
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
1607
|
-
*
|
|
1599
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
1608
1600
|
* ...
|
|
1609
1601
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Grid/feature/CellMenu)
|
|
1610
1602
|
*/
|
|
@@ -1696,8 +1688,8 @@ export declare type BryntumSchedulerProps = {
|
|
|
1696
1688
|
*/
|
|
1697
1689
|
dependencyMenuFeature ? : object|Boolean|string|DependencyMenu|DependencyMenuConfig
|
|
1698
1690
|
/**
|
|
1699
|
-
* Allow using <kbd>Ctrl</kbd>/<kbd>
|
|
1700
|
-
* <kbd>V</kbd> to copy/cut and paste events.
|
|
1691
|
+
* Allow using <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>C</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>X</kbd> and
|
|
1692
|
+
* <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>V</kbd> to copy/cut and paste events.
|
|
1701
1693
|
* ...
|
|
1702
1694
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/EventCopyPaste)
|
|
1703
1695
|
*/
|
|
@@ -1799,8 +1791,8 @@ export declare type BryntumSchedulerProps = {
|
|
|
1799
1791
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
1800
1792
|
/**
|
|
1801
1793
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
1802
|
-
* <kbd>
|
|
1803
|
-
* one anywhere on grid). Use <kbd>
|
|
1794
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
1795
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
1804
1796
|
* grouper.
|
|
1805
1797
|
* ...
|
|
1806
1798
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Grid/feature/Group)
|
|
@@ -796,14 +796,6 @@ defineProps<{
|
|
|
796
796
|
* Grid monitors window resize by default.
|
|
797
797
|
*/
|
|
798
798
|
monitorResize ? : Boolean
|
|
799
|
-
/**
|
|
800
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
801
|
-
* [items](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
802
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
803
|
-
* ...
|
|
804
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogram#config-owner)
|
|
805
|
-
*/
|
|
806
|
-
owner ? : Widget|any
|
|
807
799
|
/**
|
|
808
800
|
* Partners this Timeline panel with another Timeline in order to sync their region sizes (sub-grids like locked, normal will get the same width),
|
|
809
801
|
* start and end dates, view preset, zoom level and scrolling position. All these values will be synced with the timeline defined as the `partner`.
|
|
@@ -916,7 +908,7 @@ defineProps<{
|
|
|
916
908
|
rootElement ? : ShadowRoot|HTMLElement
|
|
917
909
|
/**
|
|
918
910
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
919
|
-
*
|
|
911
|
+
* overridden by specifying a [rowHeight](https://bryntum.com/products/scheduler/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
|
|
920
912
|
* a column [renderer](https://bryntum.com/products/scheduler/docs/api/Grid/column/Column#config-renderer).
|
|
921
913
|
* ...
|
|
922
914
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogram#config-rowHeight)
|
|
@@ -1290,7 +1282,7 @@ defineProps<{
|
|
|
1290
1282
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
1291
1283
|
/**
|
|
1292
1284
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
1293
|
-
*
|
|
1285
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
1294
1286
|
* ...
|
|
1295
1287
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Grid/feature/CellMenu)
|
|
1296
1288
|
*/
|
|
@@ -1398,8 +1390,8 @@ defineProps<{
|
|
|
1398
1390
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
1399
1391
|
/**
|
|
1400
1392
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
1401
|
-
* <kbd>
|
|
1402
|
-
* one anywhere on grid). Use <kbd>
|
|
1393
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
1394
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
1403
1395
|
* grouper.
|
|
1404
1396
|
* ...
|
|
1405
1397
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Grid/feature/Group)
|
|
@@ -1613,7 +1605,7 @@ defineProps<{
|
|
|
1613
1605
|
|
|
1614
1606
|
const emit = defineEmits<{
|
|
1615
1607
|
/**
|
|
1616
|
-
* Fires before an assignment is removed. Can be triggered by user pressing
|
|
1608
|
+
* Fires before an assignment is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or
|
|
1617
1609
|
* by the event editor. Can for example be used to display a custom dialog to confirm deletion, in which
|
|
1618
1610
|
* case records should be "manually" removed after confirmation:
|
|
1619
1611
|
* ...
|
|
@@ -1666,7 +1658,7 @@ const emit = defineEmits<{
|
|
|
1666
1658
|
*/
|
|
1667
1659
|
(e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1668
1660
|
/**
|
|
1669
|
-
* Fires on the owning Grid before deleting a range of selected cell values by pressing
|
|
1661
|
+
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
1670
1662
|
* buttons while [autoEdit](https://bryntum.com/products/scheduler/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
1671
1663
|
* @param {string} e Event name
|
|
1672
1664
|
* @param {object} params Event parameters
|
|
@@ -1780,7 +1772,7 @@ const emit = defineEmits<{
|
|
|
1780
1772
|
*/
|
|
1781
1773
|
(e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
|
|
1782
1774
|
/**
|
|
1783
|
-
* Fires before an event is removed. Can be triggered by user pressing
|
|
1775
|
+
* Fires before an event is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or by the
|
|
1784
1776
|
* event editor. Return `false` to immediately veto the removal (or a `Promise` yielding `true` or `false`
|
|
1785
1777
|
* for async vetoing).
|
|
1786
1778
|
* ...
|
|
@@ -2916,7 +2908,7 @@ const emit = defineEmits<{
|
|
|
2916
2908
|
* @param {Response} params.params.event.response Optional response, if received
|
|
2917
2909
|
* @param {Error} params.params.event.error Optional error, if exception occurred
|
|
2918
2910
|
*/
|
|
2919
|
-
(e: 'pdfExport', params: ((event: { response?:
|
|
2911
|
+
(e: 'pdfExport', params: ((event: { response?: Response, error?: Error }) => void)|string): void
|
|
2920
2912
|
/**
|
|
2921
2913
|
* Fired after the [viewPreset](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/TimelineViewPresets#config-viewPreset) has changed.
|
|
2922
2914
|
* @param {string} e Event name
|
|
@@ -3574,6 +3566,18 @@ const emit = defineEmits<{
|
|
|
3574
3566
|
* @param {Core.widget.Tool} params.params.event.tool The tool which is being clicked.
|
|
3575
3567
|
*/
|
|
3576
3568
|
(e: 'toolClick', params: ((event: { source: Tool, tool: Tool }) => void)|string): void
|
|
3569
|
+
/**
|
|
3570
|
+
* Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
|
|
3571
|
+
* @param {string} e Event name
|
|
3572
|
+
* @param {object} params Event parameters
|
|
3573
|
+
* @param {string} params.e Event name
|
|
3574
|
+
* @param {object} params.params Event parameters
|
|
3575
|
+
* @param {object} params.params.event Event object
|
|
3576
|
+
* @param {Grid.view.Grid} params.params.event.source The grid instance
|
|
3577
|
+
* @param {(string|Function)[]} params.params.event.groupers Array of field names or functions representing the current grouping levels
|
|
3578
|
+
* @param {(string|Function)[]} params.params.event.oldGroupers Array of field names or functions representing the previous grouping levels
|
|
3579
|
+
*/
|
|
3580
|
+
(e: 'treeGroup', params: ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string): void
|
|
3577
3581
|
/**
|
|
3578
3582
|
* Fires when row locking is disabled.
|
|
3579
3583
|
* @param {string} e Event name
|
|
@@ -3740,7 +3744,6 @@ const widgetData = {
|
|
|
3740
3744
|
'masked',
|
|
3741
3745
|
'maxTimeAxisUnit',
|
|
3742
3746
|
'monitorResize',
|
|
3743
|
-
'owner',
|
|
3744
3747
|
'partner',
|
|
3745
3748
|
'plugins',
|
|
3746
3749
|
'preserveFocusOnDatasetChange',
|
|
@@ -3983,6 +3986,7 @@ const widgetData = {
|
|
|
3983
3986
|
'onToggleGroup',
|
|
3984
3987
|
'onToggleNode',
|
|
3985
3988
|
'onToolClick',
|
|
3989
|
+
'onTreeGroup',
|
|
3986
3990
|
'onUnlockRows',
|
|
3987
3991
|
'onUnsplit',
|
|
3988
3992
|
'onVisibleDateRangeChange',
|
|
@@ -4186,6 +4190,7 @@ const widgetData = {
|
|
|
4186
4190
|
'toggleGroup',
|
|
4187
4191
|
'toggleNode',
|
|
4188
4192
|
'toolClick',
|
|
4193
|
+
'treeGroup',
|
|
4189
4194
|
'unlockRows',
|
|
4190
4195
|
'unsplit',
|
|
4191
4196
|
'visibleDateRangeChange'
|
|
@@ -758,14 +758,6 @@ export declare type BryntumTimelineHistogramProps = {
|
|
|
758
758
|
* Grid monitors window resize by default.
|
|
759
759
|
*/
|
|
760
760
|
monitorResize ? : Boolean
|
|
761
|
-
/**
|
|
762
|
-
* The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
|
|
763
|
-
* [items](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
|
|
764
|
-
* the owner is <strong>always</strong> the encapsulating Container.
|
|
765
|
-
* ...
|
|
766
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogram#config-owner)
|
|
767
|
-
*/
|
|
768
|
-
owner ? : Widget|any
|
|
769
761
|
/**
|
|
770
762
|
* Partners this Timeline panel with another Timeline in order to sync their region sizes (sub-grids like locked, normal will get the same width),
|
|
771
763
|
* start and end dates, view preset, zoom level and scrolling position. All these values will be synced with the timeline defined as the `partner`.
|
|
@@ -878,7 +870,7 @@ export declare type BryntumTimelineHistogramProps = {
|
|
|
878
870
|
rootElement ? : ShadowRoot|HTMLElement
|
|
879
871
|
/**
|
|
880
872
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
881
|
-
*
|
|
873
|
+
* overridden by specifying a [rowHeight](https://bryntum.com/products/scheduler/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
|
|
882
874
|
* a column [renderer](https://bryntum.com/products/scheduler/docs/api/Grid/column/Column#config-renderer).
|
|
883
875
|
* ...
|
|
884
876
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineHistogram#config-rowHeight)
|
|
@@ -1252,7 +1244,7 @@ export declare type BryntumTimelineHistogramProps = {
|
|
|
1252
1244
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
1253
1245
|
/**
|
|
1254
1246
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
1255
|
-
*
|
|
1247
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
1256
1248
|
* ...
|
|
1257
1249
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Grid/feature/CellMenu)
|
|
1258
1250
|
*/
|
|
@@ -1360,8 +1352,8 @@ export declare type BryntumTimelineHistogramProps = {
|
|
|
1360
1352
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
1361
1353
|
/**
|
|
1362
1354
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
1363
|
-
* <kbd>
|
|
1364
|
-
* one anywhere on grid). Use <kbd>
|
|
1355
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
1356
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
1365
1357
|
* grouper.
|
|
1366
1358
|
* ...
|
|
1367
1359
|
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Grid/feature/Group)
|