@bryntum/schedulerpro-vue-3 7.2.0 → 7.2.2
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/lib/chunks/0olytZFM.js.map +1 -1
- package/lib/chunks/{BtnHwfMc.js → 1kk86g62.js} +4 -2
- package/lib/chunks/1kk86g62.js.map +1 -0
- package/lib/chunks/5k_sYXVC.js.map +1 -1
- package/lib/chunks/9secuDmk.js.map +1 -1
- package/lib/chunks/B-LWWa6R.js.map +1 -1
- package/lib/chunks/B0QmpaFq.js.map +1 -1
- package/lib/chunks/B4mE3tZC.js.map +1 -1
- package/lib/chunks/BAQlLz-Q.js.map +1 -1
- package/lib/chunks/BWAHKp3x.js.map +1 -1
- package/lib/chunks/BYiGvL75.js.map +1 -1
- package/lib/chunks/BZbwSmK_.js.map +1 -1
- package/lib/chunks/Bblgr6QM.js.map +1 -1
- package/lib/chunks/{Ch3BmNCK.js → BcA885Zm.js} +6 -4
- package/lib/chunks/BcA885Zm.js.map +1 -0
- package/lib/chunks/{z-VELSJ3.js → BeOhakKo.js} +7 -5
- package/lib/chunks/BeOhakKo.js.map +1 -0
- package/lib/chunks/BiiFbNLx.js.map +1 -1
- package/lib/chunks/Bk0RWa-T.js.map +1 -1
- package/lib/chunks/{CmIGXWXG.js → BkRl4a9t.js} +4 -2
- package/lib/chunks/BkRl4a9t.js.map +1 -0
- package/lib/chunks/BtiE9_6C.js.map +1 -1
- package/lib/chunks/ByoIubnX.js.map +1 -1
- package/lib/chunks/{Cqwyqs4q.js → C8hM6eQZ.js} +7 -5
- package/lib/chunks/C8hM6eQZ.js.map +1 -0
- package/lib/chunks/{BQc-p8Q-.js → CAQaUxmN.js} +4 -2
- package/lib/chunks/CAQaUxmN.js.map +1 -0
- package/lib/chunks/CO9XHBHh.js.map +1 -1
- package/lib/chunks/COlngFKF.js.map +1 -1
- package/lib/chunks/CTAYSKIJ.js.map +1 -1
- package/lib/chunks/CbEiBV-6.js.map +1 -1
- package/lib/chunks/{BWiLsA0R.js → CfrpRVxZ.js} +4 -2
- package/lib/chunks/CfrpRVxZ.js.map +1 -0
- package/lib/chunks/{DPVUcDJS.js → ChZnbZ0w.js} +6 -4
- package/lib/chunks/ChZnbZ0w.js.map +1 -0
- package/lib/chunks/CjD78FXZ.js.map +1 -1
- package/lib/chunks/{UNvArD6f.js → CjqxuKLG.js} +6 -4
- package/lib/chunks/CjqxuKLG.js.map +1 -0
- package/lib/chunks/CmlZ87eo.js.map +1 -1
- package/lib/chunks/Cun3FOGF.js.map +1 -1
- package/lib/chunks/D-3-wbEV.js.map +1 -1
- package/lib/chunks/D7ayIg-g.js.map +1 -1
- package/lib/chunks/DCKgZKwG.js.map +1 -1
- package/lib/chunks/DDX5eIyI.js.map +1 -1
- package/lib/chunks/{BOl6XkVb.js → DFMIs8i5.js} +9 -7
- package/lib/chunks/DFMIs8i5.js.map +1 -0
- package/lib/chunks/DGZhI5QE.js.map +1 -1
- package/lib/chunks/DKUkg1MY.js.map +1 -1
- package/lib/chunks/DLrZZFmw.js.map +1 -1
- package/lib/chunks/DQNumK4y.js.map +1 -1
- package/lib/chunks/DSjbe09s.js.map +1 -1
- package/lib/chunks/{CUJJ7pLa.js → DTVRXvAv.js} +102 -31
- package/lib/chunks/DTVRXvAv.js.map +1 -0
- package/lib/chunks/DYTpfWXF.js.map +1 -1
- package/lib/chunks/DZcx1jia.js.map +1 -1
- package/lib/chunks/DsUmYUD6.js.map +1 -1
- package/lib/chunks/Du02SV9M.js.map +1 -1
- package/lib/chunks/E4Vvno-M.js.map +1 -1
- package/lib/chunks/H-LzkVlM.js.map +1 -1
- package/lib/chunks/Slkwd7o6.js.map +1 -1
- package/lib/chunks/{Cz7CgR0P.js → T_OXMN22.js} +4 -2
- package/lib/chunks/T_OXMN22.js.map +1 -0
- package/lib/chunks/d1EoG2QK.js.map +1 -1
- package/lib/chunks/g9ykHbL-.js.map +1 -1
- package/lib/chunks/gjaro4yA.js.map +1 -1
- package/lib/chunks/gp1g7KXE.js.map +1 -1
- package/lib/chunks/jIHFqxTe.js.map +1 -1
- package/lib/chunks/kprm1HNA.js.map +1 -1
- package/lib/chunks/{C11XaWt6.js → oqBQwmVK.js} +4 -2
- package/lib/chunks/oqBQwmVK.js.map +1 -0
- package/lib/chunks/qr_ZeTgF.js.map +1 -1
- package/lib/chunks/uAWYQq1B.js.map +1 -1
- package/lib/chunks/xCPoBFXA.js.map +1 -1
- package/lib/components/BryntumGrid.js +1 -1
- package/lib/components/BryntumGridBase.js +1 -1
- package/lib/components/BryntumResourceGrid.js +1 -1
- package/lib/components/BryntumResourceHistogram.js +1 -1
- package/lib/components/BryntumResourceUtilization.js +1 -1
- package/lib/components/BryntumScheduler.js +1 -1
- package/lib/components/BryntumSchedulerBase.js +1 -1
- package/lib/components/BryntumSchedulerPro.js +1 -1
- package/lib/components/BryntumSchedulerProBase.js +1 -1
- package/lib/components/BryntumTimeline.js +1 -1
- package/lib/components/BryntumTimelineHistogram.js +1 -1
- package/lib/components/BryntumTreeGrid.js +1 -1
- package/lib/components/BryntumVersionGrid.js +1 -1
- package/lib/index.js +13 -13
- package/package.json +1 -1
- package/src/components/BryntumAIFilterField.vue +1 -1
- package/src/components/BryntumAIFilterFieldProps.ts +1 -1
- package/src/components/BryntumCalendarEditor.vue +1 -1
- package/src/components/BryntumCalendarEditorProps.ts +1 -1
- package/src/components/BryntumCalendarField.vue +2 -2
- package/src/components/BryntumCalendarFieldProps.ts +2 -2
- package/src/components/BryntumCheckbox.vue +1 -1
- package/src/components/BryntumCheckboxProps.ts +1 -1
- package/src/components/BryntumChecklistFilterCombo.vue +2 -2
- package/src/components/BryntumChecklistFilterComboProps.ts +2 -2
- package/src/components/BryntumChipView.vue +1 -1
- package/src/components/BryntumChipViewProps.ts +1 -1
- package/src/components/BryntumColorField.vue +1 -1
- package/src/components/BryntumColorFieldProps.ts +1 -1
- package/src/components/BryntumCombo.vue +2 -2
- package/src/components/BryntumComboProps.ts +2 -2
- package/src/components/BryntumConstraintTypePicker.vue +2 -2
- package/src/components/BryntumConstraintTypePickerProps.ts +2 -2
- package/src/components/BryntumCostAccrualField.vue +2 -2
- package/src/components/BryntumCostAccrualFieldProps.ts +2 -2
- package/src/components/BryntumDateField.vue +1 -1
- package/src/components/BryntumDateFieldProps.ts +1 -1
- package/src/components/BryntumDateRangeField.vue +1 -1
- package/src/components/BryntumDateRangeFieldProps.ts +1 -1
- package/src/components/BryntumDateTimeField.vue +1 -1
- package/src/components/BryntumDateTimeFieldProps.ts +1 -1
- package/src/components/BryntumDependencyTypePicker.vue +2 -2
- package/src/components/BryntumDependencyTypePickerProps.ts +2 -2
- package/src/components/BryntumDisplayField.vue +1 -1
- package/src/components/BryntumDisplayFieldProps.ts +1 -1
- package/src/components/BryntumDurationField.vue +1 -1
- package/src/components/BryntumDurationFieldProps.ts +1 -1
- package/src/components/BryntumEditor.vue +3 -3
- package/src/components/BryntumEditorProps.ts +1 -1
- package/src/components/BryntumEffortField.vue +1 -1
- package/src/components/BryntumEffortFieldProps.ts +1 -1
- package/src/components/BryntumEndDateField.vue +1 -1
- package/src/components/BryntumEndDateFieldProps.ts +1 -1
- package/src/components/BryntumEventColorField.vue +1 -1
- package/src/components/BryntumEventColorFieldProps.ts +1 -1
- package/src/components/BryntumFileField.vue +1 -1
- package/src/components/BryntumFileFieldProps.ts +1 -1
- package/src/components/BryntumFilterField.vue +1 -1
- package/src/components/BryntumFilterFieldProps.ts +1 -1
- package/src/components/BryntumGrid.vue +18 -6
- package/src/components/BryntumGridBase.vue +18 -6
- package/src/components/BryntumGridBaseProps.ts +4 -4
- package/src/components/BryntumGridProps.ts +4 -4
- package/src/components/BryntumGroupBar.vue +1 -1
- package/src/components/BryntumGroupBarProps.ts +1 -1
- package/src/components/BryntumHint.vue +1 -1
- package/src/components/BryntumHintProps.ts +1 -1
- package/src/components/BryntumList.vue +1 -1
- package/src/components/BryntumListProps.ts +1 -1
- package/src/components/BryntumMenu.vue +1 -1
- package/src/components/BryntumMenuProps.ts +1 -1
- package/src/components/BryntumModelCombo.vue +2 -2
- package/src/components/BryntumModelComboProps.ts +2 -2
- package/src/components/BryntumNumberField.vue +1 -1
- package/src/components/BryntumNumberFieldProps.ts +1 -1
- package/src/components/BryntumPasswordField.vue +1 -1
- package/src/components/BryntumPasswordFieldProps.ts +1 -1
- package/src/components/BryntumProjectCombo.vue +2 -2
- package/src/components/BryntumProjectComboProps.ts +2 -2
- package/src/components/BryntumRadio.vue +1 -1
- package/src/components/BryntumRadioProps.ts +1 -1
- package/src/components/BryntumRateTableField.vue +2 -2
- package/src/components/BryntumRateTableFieldProps.ts +2 -2
- package/src/components/BryntumResourceCombo.vue +2 -2
- package/src/components/BryntumResourceComboProps.ts +2 -2
- package/src/components/BryntumResourceEditor.vue +1 -1
- package/src/components/BryntumResourceEditorProps.ts +1 -1
- package/src/components/BryntumResourceFilter.vue +1 -1
- package/src/components/BryntumResourceFilterProps.ts +1 -1
- package/src/components/BryntumResourceGrid.vue +96 -7
- package/src/components/BryntumResourceGridProps.ts +4 -4
- package/src/components/BryntumResourceHistogram.vue +20 -8
- package/src/components/BryntumResourceHistogramProps.ts +4 -4
- package/src/components/BryntumResourceTypeField.vue +2 -2
- package/src/components/BryntumResourceTypeFieldProps.ts +2 -2
- package/src/components/BryntumResourceUtilization.vue +21 -9
- package/src/components/BryntumResourceUtilizationProps.ts +5 -5
- package/src/components/BryntumScheduler.vue +27 -14
- package/src/components/BryntumSchedulerBase.vue +27 -14
- package/src/components/BryntumSchedulerBaseProps.ts +8 -8
- package/src/components/BryntumSchedulerPro.vue +27 -14
- package/src/components/BryntumSchedulerProBase.vue +27 -14
- package/src/components/BryntumSchedulerProBaseProps.ts +8 -8
- package/src/components/BryntumSchedulerProProjectModel.vue +7 -7
- package/src/components/BryntumSchedulerProProjectModelProps.ts +1 -1
- package/src/components/BryntumSchedulerProProps.ts +8 -8
- package/src/components/BryntumSchedulerProps.ts +8 -8
- package/src/components/BryntumSchedulingDirectionPicker.vue +2 -2
- package/src/components/BryntumSchedulingDirectionPickerProps.ts +2 -2
- package/src/components/BryntumSchedulingModePicker.vue +2 -2
- package/src/components/BryntumSchedulingModePickerProps.ts +2 -2
- package/src/components/BryntumSlideToggle.vue +1 -1
- package/src/components/BryntumSlideToggleProps.ts +1 -1
- package/src/components/BryntumSlider.vue +1 -1
- package/src/components/BryntumSliderProps.ts +1 -1
- package/src/components/BryntumStartDateField.vue +1 -1
- package/src/components/BryntumStartDateFieldProps.ts +1 -1
- package/src/components/BryntumTextAreaField.vue +1 -1
- package/src/components/BryntumTextAreaFieldProps.ts +1 -1
- package/src/components/BryntumTextAreaPickerField.vue +1 -1
- package/src/components/BryntumTextAreaPickerFieldProps.ts +1 -1
- package/src/components/BryntumTextField.vue +1 -1
- package/src/components/BryntumTextFieldProps.ts +1 -1
- package/src/components/BryntumTimeField.vue +1 -1
- package/src/components/BryntumTimeFieldProps.ts +1 -1
- package/src/components/BryntumTimeline.vue +27 -14
- package/src/components/BryntumTimelineHistogram.vue +20 -8
- package/src/components/BryntumTimelineHistogramProps.ts +4 -4
- package/src/components/BryntumTimelineProps.ts +8 -8
- package/src/components/BryntumTreeCombo.vue +2 -2
- package/src/components/BryntumTreeComboProps.ts +2 -2
- package/src/components/BryntumTreeGrid.vue +18 -6
- package/src/components/BryntumTreeGridProps.ts +4 -4
- package/src/components/BryntumVersionGrid.vue +18 -6
- package/src/components/BryntumVersionGridProps.ts +4 -4
- package/lib/chunks/BOl6XkVb.js.map +0 -1
- package/lib/chunks/BQc-p8Q-.js.map +0 -1
- package/lib/chunks/BWiLsA0R.js.map +0 -1
- package/lib/chunks/BtnHwfMc.js.map +0 -1
- package/lib/chunks/C11XaWt6.js.map +0 -1
- package/lib/chunks/CUJJ7pLa.js.map +0 -1
- package/lib/chunks/Ch3BmNCK.js.map +0 -1
- package/lib/chunks/CmIGXWXG.js.map +0 -1
- package/lib/chunks/Cqwyqs4q.js.map +0 -1
- package/lib/chunks/Cz7CgR0P.js.map +0 -1
- package/lib/chunks/DPVUcDJS.js.map +0 -1
- package/lib/chunks/UNvArD6f.js.map +0 -1
- package/lib/chunks/z-VELSJ3.js.map +0 -1
|
@@ -434,7 +434,7 @@ export declare type BryntumSchedulerProBaseProps = {
|
|
|
434
434
|
*/
|
|
435
435
|
emptyText ? : string|EmptyTextDomConfig
|
|
436
436
|
/**
|
|
437
|
-
* Allow using
|
|
437
|
+
* Allow using <kbd>Delete</kbd> and <kbd>Backspace</kbd> to remove events/assignments
|
|
438
438
|
*/
|
|
439
439
|
enableDeleteKey ? : Boolean
|
|
440
440
|
/**
|
|
@@ -533,8 +533,8 @@ export declare type BryntumSchedulerProBaseProps = {
|
|
|
533
533
|
* @param {'tonal','filled','bordered','traced','outlined','indented','line','dashed','minimal','rounded','calendar','interday','gantt',null} detail.renderData.eventStyle The `eventStyle` of the event. Use this to apply custom styles to the event DOM element
|
|
534
534
|
* @param {string} detail.renderData.eventColor The `eventColor` of the event. Use this to set a custom color for the rendered event
|
|
535
535
|
* @param {string} detail.renderData.ariaLabel A description of the event details used for screen readers
|
|
536
|
-
* @param {DomConfig[]} detail.renderData.children An array of DOM configs used as children to the `b-sch-event` element. Can be populated with additional DOM configs to have more control over contents.
|
|
537
|
-
* @returns {string,DomConfig,DomConfig[]} A simple string,
|
|
536
|
+
* @param {DomConfig[]} detail.renderData.children An array of DOM configs used as children to the `b-sch-event` element. Can be populated with additional DOM configs to have more control over contents. <h3>Using JSX (React)</h3> When using the Bryntum React wrapper, the event renderer can return JSX elements: ```javascript eventRenderer({ eventRecord, resourceRecord, renderData }) { return <MyEventComponent event={eventRecord} resource={resourceRecord} />; } ``` *Using JSX in the event renderer creates a React portal for each rendered event. For schedulers with many visible events or frequently re-rendered views, this may impact scrolling performance compared to returning plain strings or [DomConfig](https://bryntum.com/products/schedulerpro/docs/api/Core/helper/DomHelper#typedef-DomConfig) objects. Consider using JSX primarily for events that require complex interactive React components.*
|
|
537
|
+
* @returns {string,DomConfig,DomConfig[]} A simple string, a DomConfig (or array thereof), or a JSX element when using React
|
|
538
538
|
*/
|
|
539
539
|
eventRenderer ? : (detail: { eventRecord: SchedulerEventModel, resourceRecord: SchedulerResourceModel, assignmentRecord: SchedulerAssignmentModel, scheduler: Scheduler, renderData: { event: SchedulerEventModel, cls: DomClassList|string, wrapperCls: DomClassList|string, iconCls: DomClassList|string, left: number, width: number, height: number, style: string|Record<string, string>, wrapperStyle: string|Record<string, string>, eventStyle: 'tonal'|'filled'|'bordered'|'traced'|'outlined'|'indented'|'line'|'dashed'|'minimal'|'rounded'|'calendar'|'interday'|'gantt'|null, eventColor: string, ariaLabel: string, children: DomConfig[] } }) => string|DomConfig|DomConfig[]
|
|
540
540
|
/**
|
|
@@ -1645,7 +1645,7 @@ export declare type BryntumSchedulerProBaseProps = {
|
|
|
1645
1645
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
1646
1646
|
/**
|
|
1647
1647
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
1648
|
-
*
|
|
1648
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
1649
1649
|
* ...
|
|
1650
1650
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellMenu)
|
|
1651
1651
|
*/
|
|
@@ -1742,8 +1742,8 @@ export declare type BryntumSchedulerProBaseProps = {
|
|
|
1742
1742
|
*/
|
|
1743
1743
|
eventBufferFeature ? : object|Boolean|string|EventBuffer|EventBufferConfig
|
|
1744
1744
|
/**
|
|
1745
|
-
* Allow using <kbd>Ctrl</kbd>/<kbd>
|
|
1746
|
-
* <kbd>V</kbd> to copy/cut and paste events.
|
|
1745
|
+
* Allow using <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>C</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>X</kbd> and
|
|
1746
|
+
* <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>V</kbd> to copy/cut and paste events.
|
|
1747
1747
|
* ...
|
|
1748
1748
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/EventCopyPaste)
|
|
1749
1749
|
*/
|
|
@@ -1864,8 +1864,8 @@ export declare type BryntumSchedulerProBaseProps = {
|
|
|
1864
1864
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
1865
1865
|
/**
|
|
1866
1866
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
1867
|
-
* <kbd>
|
|
1868
|
-
* one anywhere on grid). Use <kbd>
|
|
1867
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
1868
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
1869
1869
|
* grouper.
|
|
1870
1870
|
* ...
|
|
1871
1871
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Group)
|
|
@@ -118,7 +118,7 @@ defineProps<{
|
|
|
118
118
|
calendars ? : CalendarModel[]|CalendarModelConfig[]
|
|
119
119
|
/**
|
|
120
120
|
* The initial data, to fill the [calendarManagerStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#property-calendarManagerStore) with.
|
|
121
|
-
* Should be an array of [CalendarModel](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/CalendarModel) or
|
|
121
|
+
* Should be an array of [CalendarModel](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/CalendarModel) or its configuration objects.
|
|
122
122
|
*/
|
|
123
123
|
calendarsData ? : CalendarModel[]
|
|
124
124
|
/**
|
|
@@ -783,7 +783,7 @@ const emit = defineEmits<{
|
|
|
783
783
|
* @param {object} params.event.requestOptions The request options passed to the request.
|
|
784
784
|
* @param {Response} params.event.rawResponse The native Response object
|
|
785
785
|
*/
|
|
786
|
-
(e: 'load', params: ((event: { source: AbstractCrudManager, response: object, responseOptions: object, requestOptions: object, rawResponse:
|
|
786
|
+
(e: 'load', params: ((event: { source: AbstractCrudManager, response: object, responseOptions: object, requestOptions: object, rawResponse: Response }) => void)|string): void
|
|
787
787
|
/**
|
|
788
788
|
* 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)
|
|
789
789
|
* listener or due to incomplete prior load request.
|
|
@@ -806,7 +806,7 @@ const emit = defineEmits<{
|
|
|
806
806
|
* @param {object} params.event.requestOptions The request options passed to the request.
|
|
807
807
|
* @param {Response} params.event.rawResponse The native Response object
|
|
808
808
|
*/
|
|
809
|
-
(e: 'loadFail', params: ((event: { source: AbstractCrudManager, response: object, responseText: string, responseOptions: object, requestOptions: object, rawResponse:
|
|
809
|
+
(e: 'loadFail', params: ((event: { source: AbstractCrudManager, response: object, responseText: string, responseOptions: object, requestOptions: object, rawResponse: Response }) => void)|string): void
|
|
810
810
|
/**
|
|
811
811
|
* Fires when registered stores get into state when they don't have any
|
|
812
812
|
* 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
|
|
@@ -842,7 +842,7 @@ const emit = defineEmits<{
|
|
|
842
842
|
* @param {object} params.event.requestOptions The request options passed to the request.
|
|
843
843
|
* @param {Response} params.event.rawResponse The native Response object
|
|
844
844
|
*/
|
|
845
|
-
(e: 'requestDone', params: ((event: { source: AbstractCrudManager, requestType: 'sync'|'load', response: object, responseOptions: object, requestOptions: object, rawResponse:
|
|
845
|
+
(e: 'requestDone', params: ((event: { source: AbstractCrudManager, requestType: 'sync'|'load', response: object, responseOptions: object, requestOptions: object, rawResponse: Response }) => void)|string): void
|
|
846
846
|
/**
|
|
847
847
|
* Fires when a request fails.
|
|
848
848
|
* @param {string} e Event name
|
|
@@ -856,7 +856,7 @@ const emit = defineEmits<{
|
|
|
856
856
|
* @param {object} params.event.requestOptions The request options passed to the request.
|
|
857
857
|
* @param {Response} params.event.rawResponse The native Response object
|
|
858
858
|
*/
|
|
859
|
-
(e: 'requestFail', params: ((event: { source: AbstractCrudManager, requestType: 'sync'|'load', response: object, responseText: string, responseOptions: object, requestOptions: object, rawResponse:
|
|
859
|
+
(e: 'requestFail', params: ((event: { source: AbstractCrudManager, requestType: 'sync'|'load', response: object, responseText: string, responseOptions: object, requestOptions: object, rawResponse: Response }) => void)|string): void
|
|
860
860
|
/**
|
|
861
861
|
* This event triggers when a new revision is added to the project. It is used to notify the backend about the
|
|
862
862
|
* new revision.
|
|
@@ -892,7 +892,7 @@ const emit = defineEmits<{
|
|
|
892
892
|
* @param {object} params.event.requestOptions The request options passed to the request.
|
|
893
893
|
* @param {Response} params.event.rawResponse The native Response object
|
|
894
894
|
*/
|
|
895
|
-
(e: 'sync', params: ((event: { source: AbstractCrudManager, response: object, responseOptions: object, requestOptions: object, rawResponse:
|
|
895
|
+
(e: 'sync', params: ((event: { source: AbstractCrudManager, response: object, responseOptions: object, requestOptions: object, rawResponse: Response }) => void)|string): void
|
|
896
896
|
/**
|
|
897
897
|
* 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.
|
|
898
898
|
* @param {string} e Event name
|
|
@@ -923,7 +923,7 @@ const emit = defineEmits<{
|
|
|
923
923
|
* @param {object} params.event.requestOptions The request options passed to the request.
|
|
924
924
|
* @param {Response} params.event.rawResponse The native Response object
|
|
925
925
|
*/
|
|
926
|
-
(e: 'syncFail', params: ((event: { source: AbstractCrudManager, response: object, responseText: string, responseOptions: object, requestOptions: object, rawResponse:
|
|
926
|
+
(e: 'syncFail', params: ((event: { source: AbstractCrudManager, response: object, responseText: string, responseOptions: object, requestOptions: object, rawResponse: Response }) => void)|string): void
|
|
927
927
|
}>();
|
|
928
928
|
|
|
929
929
|
const widgetData = {
|
|
@@ -104,7 +104,7 @@ export declare type BryntumSchedulerProProjectModelProps = {
|
|
|
104
104
|
calendars ? : CalendarModel[]|CalendarModelConfig[]
|
|
105
105
|
/**
|
|
106
106
|
* The initial data, to fill the [calendarManagerStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#property-calendarManagerStore) with.
|
|
107
|
-
* Should be an array of [CalendarModel](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/CalendarModel) or
|
|
107
|
+
* Should be an array of [CalendarModel](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/CalendarModel) or its configuration objects.
|
|
108
108
|
*/
|
|
109
109
|
calendarsData ? : CalendarModel[]
|
|
110
110
|
/**
|
|
@@ -434,7 +434,7 @@ export declare type BryntumSchedulerProProps = {
|
|
|
434
434
|
*/
|
|
435
435
|
emptyText ? : string|EmptyTextDomConfig
|
|
436
436
|
/**
|
|
437
|
-
* Allow using
|
|
437
|
+
* Allow using <kbd>Delete</kbd> and <kbd>Backspace</kbd> to remove events/assignments
|
|
438
438
|
*/
|
|
439
439
|
enableDeleteKey ? : Boolean
|
|
440
440
|
/**
|
|
@@ -533,8 +533,8 @@ export declare type BryntumSchedulerProProps = {
|
|
|
533
533
|
* @param {'tonal','filled','bordered','traced','outlined','indented','line','dashed','minimal','rounded','calendar','interday','gantt',null} detail.renderData.eventStyle The `eventStyle` of the event. Use this to apply custom styles to the event DOM element
|
|
534
534
|
* @param {string} detail.renderData.eventColor The `eventColor` of the event. Use this to set a custom color for the rendered event
|
|
535
535
|
* @param {string} detail.renderData.ariaLabel A description of the event details used for screen readers
|
|
536
|
-
* @param {DomConfig[]} detail.renderData.children An array of DOM configs used as children to the `b-sch-event` element. Can be populated with additional DOM configs to have more control over contents.
|
|
537
|
-
* @returns {string,DomConfig,DomConfig[]} A simple string,
|
|
536
|
+
* @param {DomConfig[]} detail.renderData.children An array of DOM configs used as children to the `b-sch-event` element. Can be populated with additional DOM configs to have more control over contents. <h3>Using JSX (React)</h3> When using the Bryntum React wrapper, the event renderer can return JSX elements: ```javascript eventRenderer({ eventRecord, resourceRecord, renderData }) { return <MyEventComponent event={eventRecord} resource={resourceRecord} />; } ``` *Using JSX in the event renderer creates a React portal for each rendered event. For schedulers with many visible events or frequently re-rendered views, this may impact scrolling performance compared to returning plain strings or [DomConfig](https://bryntum.com/products/schedulerpro/docs/api/Core/helper/DomHelper#typedef-DomConfig) objects. Consider using JSX primarily for events that require complex interactive React components.*
|
|
537
|
+
* @returns {string,DomConfig,DomConfig[]} A simple string, a DomConfig (or array thereof), or a JSX element when using React
|
|
538
538
|
*/
|
|
539
539
|
eventRenderer ? : (detail: { eventRecord: SchedulerEventModel, resourceRecord: SchedulerResourceModel, assignmentRecord: SchedulerAssignmentModel, scheduler: Scheduler, renderData: { event: SchedulerEventModel, cls: DomClassList|string, wrapperCls: DomClassList|string, iconCls: DomClassList|string, left: number, width: number, height: number, style: string|Record<string, string>, wrapperStyle: string|Record<string, string>, eventStyle: 'tonal'|'filled'|'bordered'|'traced'|'outlined'|'indented'|'line'|'dashed'|'minimal'|'rounded'|'calendar'|'interday'|'gantt'|null, eventColor: string, ariaLabel: string, children: DomConfig[] } }) => string|DomConfig|DomConfig[]
|
|
540
540
|
/**
|
|
@@ -1646,7 +1646,7 @@ export declare type BryntumSchedulerProProps = {
|
|
|
1646
1646
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
1647
1647
|
/**
|
|
1648
1648
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
1649
|
-
*
|
|
1649
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
1650
1650
|
* ...
|
|
1651
1651
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellMenu)
|
|
1652
1652
|
*/
|
|
@@ -1743,8 +1743,8 @@ export declare type BryntumSchedulerProProps = {
|
|
|
1743
1743
|
*/
|
|
1744
1744
|
eventBufferFeature ? : object|Boolean|string|EventBuffer|EventBufferConfig
|
|
1745
1745
|
/**
|
|
1746
|
-
* Allow using <kbd>Ctrl</kbd>/<kbd>
|
|
1747
|
-
* <kbd>V</kbd> to copy/cut and paste events.
|
|
1746
|
+
* Allow using <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>C</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>X</kbd> and
|
|
1747
|
+
* <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>V</kbd> to copy/cut and paste events.
|
|
1748
1748
|
* ...
|
|
1749
1749
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/EventCopyPaste)
|
|
1750
1750
|
*/
|
|
@@ -1865,8 +1865,8 @@ export declare type BryntumSchedulerProProps = {
|
|
|
1865
1865
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
1866
1866
|
/**
|
|
1867
1867
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
1868
|
-
* <kbd>
|
|
1869
|
-
* one anywhere on grid). Use <kbd>
|
|
1868
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
1869
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
1870
1870
|
* grouper.
|
|
1871
1871
|
* ...
|
|
1872
1872
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Group)
|
|
@@ -413,7 +413,7 @@ export declare type BryntumSchedulerProps = {
|
|
|
413
413
|
*/
|
|
414
414
|
emptyText ? : string|EmptyTextDomConfig
|
|
415
415
|
/**
|
|
416
|
-
* Allow using
|
|
416
|
+
* Allow using <kbd>Delete</kbd> and <kbd>Backspace</kbd> to remove events/assignments
|
|
417
417
|
*/
|
|
418
418
|
enableDeleteKey ? : Boolean
|
|
419
419
|
/**
|
|
@@ -514,8 +514,8 @@ export declare type BryntumSchedulerProps = {
|
|
|
514
514
|
* @param {'tonal','filled','bordered','traced','outlined','indented','line','dashed','minimal','rounded','calendar','interday','gantt',null} detail.renderData.eventStyle The `eventStyle` of the event. Use this to apply custom styles to the event DOM element
|
|
515
515
|
* @param {string} detail.renderData.eventColor The `eventColor` of the event. Use this to set a custom color for the rendered event
|
|
516
516
|
* @param {string} detail.renderData.ariaLabel A description of the event details used for screen readers
|
|
517
|
-
* @param {DomConfig[]} detail.renderData.children An array of DOM configs used as children to the `b-sch-event` element. Can be populated with additional DOM configs to have more control over contents.
|
|
518
|
-
* @returns {string,DomConfig,DomConfig[]} A simple string,
|
|
517
|
+
* @param {DomConfig[]} detail.renderData.children An array of DOM configs used as children to the `b-sch-event` element. Can be populated with additional DOM configs to have more control over contents. <h3>Using JSX (React)</h3> When using the Bryntum React wrapper, the event renderer can return JSX elements: ```javascript eventRenderer({ eventRecord, resourceRecord, renderData }) { return <MyEventComponent event={eventRecord} resource={resourceRecord} />; } ``` *Using JSX in the event renderer creates a React portal for each rendered event. For schedulers with many visible events or frequently re-rendered views, this may impact scrolling performance compared to returning plain strings or [DomConfig](https://bryntum.com/products/schedulerpro/docs/api/Core/helper/DomHelper#typedef-DomConfig) objects. Consider using JSX primarily for events that require complex interactive React components.*
|
|
518
|
+
* @returns {string,DomConfig,DomConfig[]} A simple string, a DomConfig (or array thereof), or a JSX element when using React
|
|
519
519
|
*/
|
|
520
520
|
eventRenderer ? : (detail: { eventRecord: SchedulerEventModel, resourceRecord: SchedulerResourceModel, assignmentRecord: SchedulerAssignmentModel, scheduler: Scheduler, renderData: { event: SchedulerEventModel, cls: DomClassList|string, wrapperCls: DomClassList|string, iconCls: DomClassList|string, left: number, width: number, height: number, style: string|Record<string, string>, wrapperStyle: string|Record<string, string>, eventStyle: 'tonal'|'filled'|'bordered'|'traced'|'outlined'|'indented'|'line'|'dashed'|'minimal'|'rounded'|'calendar'|'interday'|'gantt'|null, eventColor: string, ariaLabel: string, children: DomConfig[] } }) => string|DomConfig|DomConfig[]
|
|
521
521
|
/**
|
|
@@ -1603,7 +1603,7 @@ export declare type BryntumSchedulerProps = {
|
|
|
1603
1603
|
cellEditFeature ? : object|Boolean|string|GridCellEdit|GridCellEditConfig
|
|
1604
1604
|
/**
|
|
1605
1605
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
1606
|
-
*
|
|
1606
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
1607
1607
|
* ...
|
|
1608
1608
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellMenu)
|
|
1609
1609
|
*/
|
|
@@ -1695,8 +1695,8 @@ export declare type BryntumSchedulerProps = {
|
|
|
1695
1695
|
*/
|
|
1696
1696
|
dependencyMenuFeature ? : object|Boolean|string|DependencyMenu|DependencyMenuConfig
|
|
1697
1697
|
/**
|
|
1698
|
-
* Allow using <kbd>Ctrl</kbd>/<kbd>
|
|
1699
|
-
* <kbd>V</kbd> to copy/cut and paste events.
|
|
1698
|
+
* Allow using <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>C</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>X</kbd> and
|
|
1699
|
+
* <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>V</kbd> to copy/cut and paste events.
|
|
1700
1700
|
* ...
|
|
1701
1701
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/EventCopyPaste)
|
|
1702
1702
|
*/
|
|
@@ -1798,8 +1798,8 @@ export declare type BryntumSchedulerProps = {
|
|
|
1798
1798
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
1799
1799
|
/**
|
|
1800
1800
|
* 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>
|
|
1801
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
1802
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
1803
1803
|
* grouper.
|
|
1804
1804
|
* ...
|
|
1805
1805
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Group)
|
|
@@ -189,7 +189,7 @@ defineProps<{
|
|
|
189
189
|
contentElementCls ? : string|object
|
|
190
190
|
/**
|
|
191
191
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
192
|
-
* combo's input field, and
|
|
192
|
+
* combo's input field, and <kbd>Enter</kbd>, or the [multiValueSeparator](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
|
|
193
193
|
* a new record will be created using the typed string as the [displayField](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-displayField).
|
|
194
194
|
* ...
|
|
195
195
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingDirectionPicker#config-createOnUnmatched)
|
|
@@ -684,7 +684,7 @@ defineProps<{
|
|
|
684
684
|
required ? : Boolean
|
|
685
685
|
/**
|
|
686
686
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
687
|
-
* the
|
|
687
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
688
688
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
689
689
|
* behaviour will be activated.
|
|
690
690
|
*/
|
|
@@ -175,7 +175,7 @@ export declare type BryntumSchedulingDirectionPickerProps = {
|
|
|
175
175
|
contentElementCls ? : string|object
|
|
176
176
|
/**
|
|
177
177
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
178
|
-
* combo's input field, and
|
|
178
|
+
* combo's input field, and <kbd>Enter</kbd>, or the [multiValueSeparator](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
|
|
179
179
|
* a new record will be created using the typed string as the [displayField](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-displayField).
|
|
180
180
|
* ...
|
|
181
181
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingDirectionPicker#config-createOnUnmatched)
|
|
@@ -670,7 +670,7 @@ export declare type BryntumSchedulingDirectionPickerProps = {
|
|
|
670
670
|
required ? : Boolean
|
|
671
671
|
/**
|
|
672
672
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
673
|
-
* the
|
|
673
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
674
674
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
675
675
|
* behaviour will be activated.
|
|
676
676
|
*/
|
|
@@ -196,7 +196,7 @@ defineProps<{
|
|
|
196
196
|
contentElementCls ? : string|object
|
|
197
197
|
/**
|
|
198
198
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
199
|
-
* combo's input field, and
|
|
199
|
+
* combo's input field, and <kbd>Enter</kbd>, or the [multiValueSeparator](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
|
|
200
200
|
* a new record will be created using the typed string as the [displayField](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-displayField).
|
|
201
201
|
* ...
|
|
202
202
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-createOnUnmatched)
|
|
@@ -691,7 +691,7 @@ defineProps<{
|
|
|
691
691
|
required ? : Boolean
|
|
692
692
|
/**
|
|
693
693
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
694
|
-
* the
|
|
694
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
695
695
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
696
696
|
* behaviour will be activated.
|
|
697
697
|
*/
|
|
@@ -182,7 +182,7 @@ export declare type BryntumSchedulingModePickerProps = {
|
|
|
182
182
|
contentElementCls ? : string|object
|
|
183
183
|
/**
|
|
184
184
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
185
|
-
* combo's input field, and
|
|
185
|
+
* combo's input field, and <kbd>Enter</kbd>, or the [multiValueSeparator](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
|
|
186
186
|
* a new record will be created using the typed string as the [displayField](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-displayField).
|
|
187
187
|
* ...
|
|
188
188
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-createOnUnmatched)
|
|
@@ -677,7 +677,7 @@ export declare type BryntumSchedulingModePickerProps = {
|
|
|
677
677
|
required ? : Boolean
|
|
678
678
|
/**
|
|
679
679
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
680
|
-
* the
|
|
680
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
681
681
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
682
682
|
* behaviour will be activated.
|
|
683
683
|
*/
|
|
@@ -488,7 +488,7 @@ defineProps<{
|
|
|
488
488
|
required ? : Boolean
|
|
489
489
|
/**
|
|
490
490
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
491
|
-
* the
|
|
491
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
492
492
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
493
493
|
* behaviour will be activated.
|
|
494
494
|
*/
|
|
@@ -474,7 +474,7 @@ export declare type BryntumSlideToggleProps = {
|
|
|
474
474
|
required ? : Boolean
|
|
475
475
|
/**
|
|
476
476
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
477
|
-
* the
|
|
477
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
478
478
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
479
479
|
* behaviour will be activated.
|
|
480
480
|
*/
|
|
@@ -499,7 +499,7 @@ defineProps<{
|
|
|
499
499
|
unit ? : string
|
|
500
500
|
/**
|
|
501
501
|
* Initial value.
|
|
502
|
-
* `String` value allows
|
|
502
|
+
* `String` value allows linking value by reference name.
|
|
503
503
|
* ...
|
|
504
504
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Slider#config-value)
|
|
505
505
|
*/
|
|
@@ -485,7 +485,7 @@ export declare type BryntumSliderProps = {
|
|
|
485
485
|
unit ? : string
|
|
486
486
|
/**
|
|
487
487
|
* Initial value.
|
|
488
|
-
* `String` value allows
|
|
488
|
+
* `String` value allows linking value by reference name.
|
|
489
489
|
* ...
|
|
490
490
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Slider#config-value)
|
|
491
491
|
*/
|
|
@@ -570,7 +570,7 @@ defineProps<{
|
|
|
570
570
|
required ? : Boolean
|
|
571
571
|
/**
|
|
572
572
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
573
|
-
* the
|
|
573
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
574
574
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
575
575
|
* behaviour will be activated.
|
|
576
576
|
*/
|
|
@@ -556,7 +556,7 @@ export declare type BryntumStartDateFieldProps = {
|
|
|
556
556
|
required ? : Boolean
|
|
557
557
|
/**
|
|
558
558
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
559
|
-
* the
|
|
559
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
560
560
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
561
561
|
* behaviour will be activated.
|
|
562
562
|
*/
|
|
@@ -501,7 +501,7 @@ defineProps<{
|
|
|
501
501
|
resize ? : 'none'|'both'|'horizontal'|'vertical'
|
|
502
502
|
/**
|
|
503
503
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
504
|
-
* the
|
|
504
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
505
505
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
506
506
|
* behaviour will be activated.
|
|
507
507
|
*/
|
|
@@ -487,7 +487,7 @@ export declare type BryntumTextAreaFieldProps = {
|
|
|
487
487
|
resize ? : 'none'|'both'|'horizontal'|'vertical'
|
|
488
488
|
/**
|
|
489
489
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
490
|
-
* the
|
|
490
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
491
491
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
492
492
|
* behaviour will be activated.
|
|
493
493
|
*/
|
|
@@ -516,7 +516,7 @@ defineProps<{
|
|
|
516
516
|
resize ? : 'none'|'both'|'horizontal'|'vertical'
|
|
517
517
|
/**
|
|
518
518
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
519
|
-
* the
|
|
519
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
520
520
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
521
521
|
* behaviour will be activated.
|
|
522
522
|
*/
|
|
@@ -502,7 +502,7 @@ export declare type BryntumTextAreaPickerFieldProps = {
|
|
|
502
502
|
resize ? : 'none'|'both'|'horizontal'|'vertical'
|
|
503
503
|
/**
|
|
504
504
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
505
|
-
* the
|
|
505
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
506
506
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
507
507
|
* behaviour will be activated.
|
|
508
508
|
*/
|
|
@@ -505,7 +505,7 @@ defineProps<{
|
|
|
505
505
|
required ? : Boolean
|
|
506
506
|
/**
|
|
507
507
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
508
|
-
* the
|
|
508
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
509
509
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
510
510
|
* behaviour will be activated.
|
|
511
511
|
*/
|
|
@@ -491,7 +491,7 @@ export declare type BryntumTextFieldProps = {
|
|
|
491
491
|
required ? : Boolean
|
|
492
492
|
/**
|
|
493
493
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
494
|
-
* the
|
|
494
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
495
495
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
496
496
|
* behaviour will be activated.
|
|
497
497
|
*/
|
|
@@ -542,7 +542,7 @@ defineProps<{
|
|
|
542
542
|
required ? : Boolean
|
|
543
543
|
/**
|
|
544
544
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
545
|
-
* the
|
|
545
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
546
546
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
547
547
|
* behaviour will be activated.
|
|
548
548
|
*/
|
|
@@ -528,7 +528,7 @@ export declare type BryntumTimeFieldProps = {
|
|
|
528
528
|
required ? : Boolean
|
|
529
529
|
/**
|
|
530
530
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
531
|
-
* the
|
|
531
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
532
532
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
533
533
|
* behaviour will be activated.
|
|
534
534
|
*/
|
|
@@ -427,7 +427,7 @@ defineProps<{
|
|
|
427
427
|
*/
|
|
428
428
|
emptyText ? : string|EmptyTextDomConfig
|
|
429
429
|
/**
|
|
430
|
-
* Allow using
|
|
430
|
+
* Allow using <kbd>Delete</kbd> and <kbd>Backspace</kbd> to remove events/assignments
|
|
431
431
|
*/
|
|
432
432
|
enableDeleteKey ? : Boolean
|
|
433
433
|
/**
|
|
@@ -528,8 +528,8 @@ defineProps<{
|
|
|
528
528
|
* @param {'tonal','filled','bordered','traced','outlined','indented','line','dashed','minimal','rounded','calendar','interday','gantt',null} detail.renderData.eventStyle The `eventStyle` of the event. Use this to apply custom styles to the event DOM element
|
|
529
529
|
* @param {string} detail.renderData.eventColor The `eventColor` of the event. Use this to set a custom color for the rendered event
|
|
530
530
|
* @param {string} detail.renderData.ariaLabel A description of the event details used for screen readers
|
|
531
|
-
* @param {DomConfig[]} detail.renderData.children An array of DOM configs used as children to the `b-sch-event` element. Can be populated with additional DOM configs to have more control over contents.
|
|
532
|
-
* @returns {string,DomConfig,DomConfig[]} A simple string,
|
|
531
|
+
* @param {DomConfig[]} detail.renderData.children An array of DOM configs used as children to the `b-sch-event` element. Can be populated with additional DOM configs to have more control over contents. <h3>Using JSX (React)</h3> When using the Bryntum React wrapper, the event renderer can return JSX elements: ```javascript eventRenderer({ eventRecord, resourceRecord, renderData }) { return <MyEventComponent event={eventRecord} resource={resourceRecord} />; } ``` *Using JSX in the event renderer creates a React portal for each rendered event. For schedulers with many visible events or frequently re-rendered views, this may impact scrolling performance compared to returning plain strings or [DomConfig](https://bryntum.com/products/schedulerpro/docs/api/Core/helper/DomHelper#typedef-DomConfig) objects. Consider using JSX primarily for events that require complex interactive React components.*
|
|
532
|
+
* @returns {string,DomConfig,DomConfig[]} A simple string, a DomConfig (or array thereof), or a JSX element when using React
|
|
533
533
|
*/
|
|
534
534
|
eventRenderer ? : (detail: { eventRecord: SchedulerEventModel, resourceRecord: SchedulerResourceModel, assignmentRecord: SchedulerAssignmentModel, scheduler: Scheduler, renderData: { event: SchedulerEventModel, cls: DomClassList|string, wrapperCls: DomClassList|string, iconCls: DomClassList|string, left: number, width: number, height: number, style: string|Record<string, string>, wrapperStyle: string|Record<string, string>, eventStyle: 'tonal'|'filled'|'bordered'|'traced'|'outlined'|'indented'|'line'|'dashed'|'minimal'|'rounded'|'calendar'|'interday'|'gantt'|null, eventColor: string, ariaLabel: string, children: DomConfig[] } }) => string|DomConfig|DomConfig[]
|
|
535
535
|
/**
|
|
@@ -1605,7 +1605,7 @@ defineProps<{
|
|
|
1605
1605
|
cellEditFeature ? : object|Boolean|string|GridCellEdit|GridCellEditConfig
|
|
1606
1606
|
/**
|
|
1607
1607
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
1608
|
-
*
|
|
1608
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
1609
1609
|
* ...
|
|
1610
1610
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellMenu)
|
|
1611
1611
|
*/
|
|
@@ -1697,8 +1697,8 @@ defineProps<{
|
|
|
1697
1697
|
*/
|
|
1698
1698
|
dependencyMenuFeature ? : object|Boolean|string|DependencyMenu|DependencyMenuConfig
|
|
1699
1699
|
/**
|
|
1700
|
-
* Allow using <kbd>Ctrl</kbd>/<kbd>
|
|
1701
|
-
* <kbd>V</kbd> to copy/cut and paste events.
|
|
1700
|
+
* Allow using <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>C</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>X</kbd> and
|
|
1701
|
+
* <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>V</kbd> to copy/cut and paste events.
|
|
1702
1702
|
* ...
|
|
1703
1703
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/feature/EventCopyPaste)
|
|
1704
1704
|
*/
|
|
@@ -1800,8 +1800,8 @@ defineProps<{
|
|
|
1800
1800
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
1801
1801
|
/**
|
|
1802
1802
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
1803
|
-
* <kbd>
|
|
1804
|
-
* one anywhere on grid). Use <kbd>
|
|
1803
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
1804
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
1805
1805
|
* grouper.
|
|
1806
1806
|
* ...
|
|
1807
1807
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Group)
|
|
@@ -2167,7 +2167,7 @@ const emit = defineEmits<{
|
|
|
2167
2167
|
*/
|
|
2168
2168
|
(e: 'assignmentSelectionChange', params: ((event: { source: Scheduler, action: 'select'|'deselect'|'update'|'clear', selected: SchedulerAssignmentModel[], deselected: SchedulerAssignmentModel[], selection: SchedulerAssignmentModel[] }) => void)|string): void
|
|
2169
2169
|
/**
|
|
2170
|
-
* Fires before an assignment is removed. Can be triggered by user pressing
|
|
2170
|
+
* Fires before an assignment is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or
|
|
2171
2171
|
* by the event editor. Can for example be used to display a custom dialog to confirm deletion, in which
|
|
2172
2172
|
* case records should be "manually" removed after confirmation:
|
|
2173
2173
|
* ...
|
|
@@ -2237,7 +2237,7 @@ const emit = defineEmits<{
|
|
|
2237
2237
|
*/
|
|
2238
2238
|
(e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
2239
2239
|
/**
|
|
2240
|
-
* Fires on the owning Grid before deleting a range of selected cell values by pressing
|
|
2240
|
+
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
2241
2241
|
* buttons while [autoEdit](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
2242
2242
|
* @param {string} e Event name
|
|
2243
2243
|
* @param {object} params Event parameters
|
|
@@ -2469,7 +2469,7 @@ const emit = defineEmits<{
|
|
|
2469
2469
|
*/
|
|
2470
2470
|
(e: 'beforeEventAdd', params: ((event: { source: Scheduler, eventRecord: SchedulerEventModel, resourceRecords: SchedulerResourceModel[], assignmentRecords: SchedulerAssignmentModel[] }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
2471
2471
|
/**
|
|
2472
|
-
* Fires before an event is removed. Can be triggered by user pressing
|
|
2472
|
+
* Fires before an event is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or by the
|
|
2473
2473
|
* event editor. Return `false` to immediately veto the removal (or a `Promise` yielding `true` or `false`
|
|
2474
2474
|
* for async vetoing).
|
|
2475
2475
|
* ...
|
|
@@ -4105,12 +4105,13 @@ const emit = defineEmits<{
|
|
|
4105
4105
|
* @param {Scheduler.model.SchedulerEventModel[]} params.event.originalEventRecords The event records that were copied
|
|
4106
4106
|
* @param {Scheduler.model.SchedulerAssignmentModel[]} params.event.originalAssignmentRecords The assignment records that were copied
|
|
4107
4107
|
* @param {Date} params.event.date The paste date
|
|
4108
|
-
* @param {Scheduler.model.SchedulerResourceModel} params.event.resourceRecord The target resource record
|
|
4108
|
+
* @param {Scheduler.model.SchedulerResourceModel} params.event.resourceRecord The target resource record. When multiple resources are pasted to, this will be the top resource
|
|
4109
|
+
* @param {Scheduler.model.SchedulerResourceModel[]} params.event.resourceRecords All target resource records that the events would be pasted to
|
|
4109
4110
|
* @param {boolean} params.event.isCut `true` if this is a cut action
|
|
4110
4111
|
* @param {string} params.event.entityName 'event' to distinguish this event from other `pasteNotAllowed` events
|
|
4111
4112
|
* @param {'overlappingEvents','resourceReadOnly'} params.event.reason A string id to use for displaying an error message to the user.
|
|
4112
4113
|
*/
|
|
4113
|
-
(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
|
|
4114
|
+
(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
|
|
4114
4115
|
/**
|
|
4115
4116
|
* Fires on the owning Grid when export has finished
|
|
4116
4117
|
* @param {string} e Event name
|
|
@@ -4119,7 +4120,7 @@ const emit = defineEmits<{
|
|
|
4119
4120
|
* @param {Response} params.event.response Optional response, if received
|
|
4120
4121
|
* @param {Error} params.event.error Optional error, if exception occurred
|
|
4121
4122
|
*/
|
|
4122
|
-
(e: 'pdfExport', params: ((event: { response?:
|
|
4123
|
+
(e: 'pdfExport', params: ((event: { response?: Response, error?: Error }) => void)|string): void
|
|
4123
4124
|
/**
|
|
4124
4125
|
* Fired after the [viewPreset](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineViewPresets#config-viewPreset) has changed.
|
|
4125
4126
|
* @param {string} e Event name
|
|
@@ -5084,6 +5085,16 @@ const emit = defineEmits<{
|
|
|
5084
5085
|
* @param {Core.widget.Tool} params.event.tool The tool which is being clicked.
|
|
5085
5086
|
*/
|
|
5086
5087
|
(e: 'toolClick', params: ((event: { source: Tool, tool: Tool }) => void)|string): void
|
|
5088
|
+
/**
|
|
5089
|
+
* Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
|
|
5090
|
+
* @param {string} e Event name
|
|
5091
|
+
* @param {object} params Event parameters
|
|
5092
|
+
* @param {object} params.event Event object
|
|
5093
|
+
* @param {Grid.view.Grid} params.event.source The grid instance
|
|
5094
|
+
* @param {(string|Function)[]} params.event.groupers Array of field names or functions representing the current grouping levels
|
|
5095
|
+
* @param {(string|Function)[]} params.event.oldGroupers Array of field names or functions representing the previous grouping levels
|
|
5096
|
+
*/
|
|
5097
|
+
(e: 'treeGroup', params: ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string): void
|
|
5087
5098
|
/**
|
|
5088
5099
|
* Fires when row locking is disabled.
|
|
5089
5100
|
* @param {string} e Event name
|
|
@@ -5581,6 +5592,7 @@ const widgetData = {
|
|
|
5581
5592
|
'onToggleGroup',
|
|
5582
5593
|
'onToggleNode',
|
|
5583
5594
|
'onToolClick',
|
|
5595
|
+
'onTreeGroup',
|
|
5584
5596
|
'onUnlockRows',
|
|
5585
5597
|
'onUnsplit',
|
|
5586
5598
|
'onVisibleDateRangeChange',
|
|
@@ -5912,6 +5924,7 @@ const widgetData = {
|
|
|
5912
5924
|
'toggleGroup',
|
|
5913
5925
|
'toggleNode',
|
|
5914
5926
|
'toolClick',
|
|
5927
|
+
'treeGroup',
|
|
5915
5928
|
'unlockRows',
|
|
5916
5929
|
'unsplit',
|
|
5917
5930
|
'visibleDateRangeChange'
|