@bryntum/calendar-vue-3 7.3.0 → 7.3.1
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 +1 -1
- package/lib/chunks/-gfCfICt.js.map +1 -1
- package/lib/chunks/{BBmKbcBm.js → 0OZOSj3K.js} +11 -9
- package/lib/chunks/0OZOSj3K.js.map +1 -0
- package/lib/chunks/{DQEdPoQo.js → 6ysIOAeQ.js} +9 -7
- package/lib/chunks/6ysIOAeQ.js.map +1 -0
- package/lib/chunks/8f6XqGsD.js.map +1 -1
- package/lib/chunks/9tApH0if.js.map +1 -1
- package/lib/chunks/AVadRojY.js.map +1 -1
- package/lib/chunks/B4eYsje_.js.map +1 -1
- package/lib/chunks/{CPHxjIqw.js → B7wodVs1.js} +9 -7
- package/lib/chunks/B7wodVs1.js.map +1 -0
- package/lib/chunks/BBc3kJ2l.js.map +1 -1
- package/lib/chunks/BD3V-SxA.js.map +1 -1
- package/lib/chunks/{DURERga3.js → BFQMFysc.js} +6 -4
- package/lib/chunks/BFQMFysc.js.map +1 -0
- package/lib/chunks/BHB_Xr7B.js.map +1 -1
- package/lib/chunks/BRHH9-fs.js.map +1 -1
- package/lib/chunks/{DxT4VIUT.js → BSTFzAku.js} +3 -1
- package/lib/chunks/BSTFzAku.js.map +1 -0
- package/lib/chunks/BUTdFPf9.js.map +1 -1
- package/lib/chunks/BVEipTu4.js.map +1 -1
- package/lib/chunks/BYLyV5Qz.js.map +1 -1
- package/lib/chunks/BbOrQ8ft.js.map +1 -1
- package/lib/chunks/{DzuHthMw.js → BdoTFJhe.js} +9 -7
- package/lib/chunks/BdoTFJhe.js.map +1 -0
- package/lib/chunks/{j6GbzQ11.js → BeA4Wx8Y.js} +12 -10
- package/lib/chunks/BeA4Wx8Y.js.map +1 -0
- package/lib/chunks/{JKRtgYCJ.js → BeiCK7f8.js} +9 -7
- package/lib/chunks/BeiCK7f8.js.map +1 -0
- package/lib/chunks/BoILvqhB.js.map +1 -1
- package/lib/chunks/{BKPgz4z1.js → C-rJdjwM.js} +14 -12
- package/lib/chunks/C-rJdjwM.js.map +1 -0
- package/lib/chunks/C1e81geK.js.map +1 -1
- package/lib/chunks/C3im5F6T.js.map +1 -1
- package/lib/chunks/C4_EvmHb.js.map +1 -1
- package/lib/chunks/{BI8wQGwJ.js → C8FspEDS.js} +7 -5
- package/lib/chunks/C8FspEDS.js.map +1 -0
- package/lib/chunks/{CWM22e1v.js → CI4tLO9K.js} +6 -4
- package/lib/chunks/CI4tLO9K.js.map +1 -0
- package/lib/chunks/{kCsdJsDp.js → CIV2Plgi.js} +5 -3
- package/lib/chunks/CIV2Plgi.js.map +1 -0
- package/lib/chunks/CK8pVkWO.js.map +1 -1
- package/lib/chunks/{fCOl6gGe.js → CL2aSYwL.js} +4 -2
- package/lib/chunks/CL2aSYwL.js.map +1 -0
- package/lib/chunks/COQRF4O2.js.map +1 -1
- package/lib/chunks/CObxLUVv.js.map +1 -1
- package/lib/chunks/CYO0U3xG.js.map +1 -1
- package/lib/chunks/{QXeRMnaM.js → CZmKZOXs.js} +11 -9
- package/lib/chunks/CZmKZOXs.js.map +1 -0
- package/lib/chunks/{uBR9aAgk.js → CbvZfQIb.js} +6 -4
- package/lib/chunks/CbvZfQIb.js.map +1 -0
- package/lib/chunks/{BWhkyANY.js → CeQqNQur.js} +12 -10
- package/lib/chunks/CeQqNQur.js.map +1 -0
- package/lib/chunks/{VUkGxEQX.js → CeiQfFj4.js} +9 -7
- package/lib/chunks/CeiQfFj4.js.map +1 -0
- package/lib/chunks/CfyHmkPe.js.map +1 -1
- package/lib/chunks/CiecGioc.js.map +1 -1
- package/lib/chunks/CjfHlzPr.js.map +1 -1
- package/lib/chunks/{JkqrKvFU.js → Cl2RaLEy.js} +10 -8
- package/lib/chunks/Cl2RaLEy.js.map +1 -0
- package/lib/chunks/Cpmv-8CX.js.map +1 -1
- package/lib/chunks/CsRtPonL.js.map +1 -1
- package/lib/chunks/Ct9WYKLH.js.map +1 -1
- package/lib/chunks/{C6c2zNh0.js → CuaZAnUQ.js} +9 -7
- package/lib/chunks/CuaZAnUQ.js.map +1 -0
- package/lib/chunks/D2Rp5DqD.js.map +1 -1
- package/lib/chunks/D8LFX3Si.js.map +1 -1
- package/lib/chunks/DCeVwori.js.map +1 -1
- package/lib/chunks/DFdgK5Ff.js.map +1 -1
- package/lib/chunks/DGNDLzjC.js.map +1 -1
- package/lib/chunks/DKh1JBaq.js.map +1 -1
- package/lib/chunks/DQ2aBJ55.js.map +1 -1
- package/lib/chunks/{DI98porG.js → DSTwKMaq.js} +11 -9
- package/lib/chunks/DSTwKMaq.js.map +1 -0
- package/lib/chunks/DTAFonQW.js.map +1 -1
- package/lib/chunks/{B8gQABN9.js → DUaUWLyw.js} +3 -1
- package/lib/chunks/DUaUWLyw.js.map +1 -0
- package/lib/chunks/DUsiYkFK.js.map +1 -1
- package/lib/chunks/DdpHkb3E.js.map +1 -1
- package/lib/chunks/DgIBeET0.js.map +1 -1
- package/lib/chunks/DgJZ6ZlB.js.map +1 -1
- package/lib/chunks/DhwKNWjD.js.map +1 -1
- package/lib/chunks/{C19d7e9r.js → DoFyfMXF.js} +7 -5
- package/lib/chunks/DoFyfMXF.js.map +1 -0
- package/lib/chunks/DpVMBZKg.js.map +1 -1
- package/lib/chunks/DpX76W8R.js.map +1 -1
- package/lib/chunks/{FzMaadW6.js → Dw8g2KwQ.js} +9 -7
- package/lib/chunks/Dw8g2KwQ.js.map +1 -0
- package/lib/chunks/DwfSxgDx.js.map +1 -1
- package/lib/chunks/{CNs1dLtt.js → DxoJlWU3.js} +8 -6
- package/lib/chunks/DxoJlWU3.js.map +1 -0
- package/lib/chunks/DyrhHazx.js.map +1 -1
- package/lib/chunks/{CvRb-PD8.js → DzXzhdwr.js} +13 -11
- package/lib/chunks/DzXzhdwr.js.map +1 -0
- package/lib/chunks/Ffj7MYiP.js.map +1 -1
- package/lib/chunks/{E1AHpT8W.js → GFug45r8.js} +9 -7
- package/lib/chunks/GFug45r8.js.map +1 -0
- package/lib/chunks/KzCo7H0B.js.map +1 -1
- package/lib/chunks/PBX4P85B.js.map +1 -1
- package/lib/chunks/Tt3YRLoT.js.map +1 -1
- package/lib/chunks/UIRN-9Gk.js.map +1 -1
- package/lib/chunks/Uub1pbHE.js.map +1 -1
- package/lib/chunks/VxQFGAPu.js.map +1 -1
- package/lib/chunks/cT-MuN_z.js.map +1 -1
- package/lib/chunks/{3pMrXrSV.js → dSkHfi4J.js} +10 -8
- package/lib/chunks/dSkHfi4J.js.map +1 -0
- package/lib/chunks/gdOjznoN.js.map +1 -1
- package/lib/chunks/lkmEYnvD.js.map +1 -1
- package/lib/chunks/mzLGzWY5.js.map +1 -1
- package/lib/chunks/{7r3BIYih.js → nMvWDbO6.js} +9 -7
- package/lib/chunks/nMvWDbO6.js.map +1 -0
- package/lib/chunks/qmIX92PW.js.map +1 -1
- package/lib/chunks/{BspGLrQY.js → r66Wz1km.js} +6 -4
- package/lib/chunks/r66Wz1km.js.map +1 -0
- package/lib/chunks/rg6JAh_X.js.map +1 -1
- package/lib/chunks/wPKCUEuQ.js.map +1 -1
- package/lib/components/BryntumAIFilterField.js +1 -1
- package/lib/components/BryntumBooleanCombo.js +1 -1
- package/lib/components/BryntumCalendar.js +1 -1
- package/lib/components/BryntumCheckbox.js +1 -1
- package/lib/components/BryntumChecklistFilterCombo.js +1 -1
- package/lib/components/BryntumColorField.js +1 -1
- package/lib/components/BryntumCombo.js +1 -1
- package/lib/components/BryntumDateField.js +1 -1
- package/lib/components/BryntumDateRangeField.js +1 -1
- package/lib/components/BryntumDateTimeField.js +1 -1
- package/lib/components/BryntumDisplayField.js +1 -1
- package/lib/components/BryntumDurationField.js +1 -1
- package/lib/components/BryntumEventColorField.js +1 -1
- package/lib/components/BryntumFileField.js +1 -1
- package/lib/components/BryntumFilterField.js +1 -1
- package/lib/components/BryntumNumberField.js +1 -1
- package/lib/components/BryntumPasswordField.js +1 -1
- package/lib/components/BryntumProjectCombo.js +1 -1
- package/lib/components/BryntumRadio.js +1 -1
- package/lib/components/BryntumResourceCombo.js +1 -1
- package/lib/components/BryntumScheduler.js +1 -1
- package/lib/components/BryntumSchedulerBase.js +1 -1
- package/lib/components/BryntumSlideToggle.js +1 -1
- package/lib/components/BryntumTextAreaField.js +1 -1
- package/lib/components/BryntumTextAreaPickerField.js +1 -1
- package/lib/components/BryntumTextField.js +1 -1
- package/lib/components/BryntumTimeField.js +1 -1
- package/lib/components/BryntumTreeCombo.js +1 -1
- package/lib/components/BryntumViewPresetCombo.js +1 -1
- package/lib/index.js +29 -29
- package/package.json +1 -1
- package/src/components/BryntumAIFilterField.vue +11 -1
- package/src/components/BryntumAIFilterFieldProps.ts +9 -0
- package/src/components/BryntumAgendaView.vue +27 -27
- package/src/components/BryntumBooleanCombo.vue +11 -1
- package/src/components/BryntumBooleanComboProps.ts +9 -0
- package/src/components/BryntumButton.vue +3 -3
- package/src/components/BryntumButtonGroup.vue +1 -1
- package/src/components/BryntumCalendar.vue +30 -24
- package/src/components/BryntumCalendarDatePicker.vue +3 -3
- package/src/components/BryntumCalendarProps.ts +6 -1
- package/src/components/BryntumChatPanel.vue +3 -3
- package/src/components/BryntumCheckbox.vue +12 -2
- package/src/components/BryntumCheckboxGroup.vue +3 -3
- package/src/components/BryntumCheckboxProps.ts +9 -0
- package/src/components/BryntumChecklistFilterCombo.vue +11 -1
- package/src/components/BryntumChecklistFilterComboProps.ts +9 -0
- package/src/components/BryntumChipView.vue +2 -2
- package/src/components/BryntumCodeEditor.vue +3 -3
- package/src/components/BryntumColorField.vue +11 -1
- package/src/components/BryntumColorFieldProps.ts +9 -0
- package/src/components/BryntumCombo.vue +11 -1
- package/src/components/BryntumComboProps.ts +9 -0
- package/src/components/BryntumContainer.vue +1 -1
- package/src/components/BryntumDateField.vue +11 -1
- package/src/components/BryntumDateFieldProps.ts +9 -0
- package/src/components/BryntumDatePicker.vue +3 -3
- package/src/components/BryntumDateRangeField.vue +11 -1
- package/src/components/BryntumDateRangeFieldProps.ts +9 -0
- package/src/components/BryntumDateTimeField.vue +11 -1
- package/src/components/BryntumDateTimeFieldProps.ts +9 -0
- package/src/components/BryntumDayAgendaView.vue +5 -5
- package/src/components/BryntumDayResourceView.vue +11 -7
- package/src/components/BryntumDayResourceViewProps.ts +6 -2
- package/src/components/BryntumDayView.vue +11 -7
- package/src/components/BryntumDayViewProps.ts +6 -2
- package/src/components/BryntumDemoCodeEditor.vue +3 -3
- package/src/components/BryntumDisplayField.vue +11 -1
- package/src/components/BryntumDisplayFieldProps.ts +9 -0
- package/src/components/BryntumDurationField.vue +11 -1
- package/src/components/BryntumDurationFieldProps.ts +9 -0
- package/src/components/BryntumEditor.vue +5 -5
- package/src/components/BryntumEventColorField.vue +11 -1
- package/src/components/BryntumEventColorFieldProps.ts +9 -0
- package/src/components/BryntumEventList.vue +27 -27
- package/src/components/BryntumFieldFilterPicker.vue +1 -1
- package/src/components/BryntumFieldFilterPickerGroup.vue +2 -2
- package/src/components/BryntumFieldSet.vue +3 -3
- package/src/components/BryntumFileField.vue +11 -1
- package/src/components/BryntumFileFieldProps.ts +9 -0
- package/src/components/BryntumFilePicker.vue +1 -1
- package/src/components/BryntumFilterField.vue +11 -1
- package/src/components/BryntumFilterFieldProps.ts +9 -0
- package/src/components/BryntumGrid.vue +25 -25
- package/src/components/BryntumGridBase.vue +25 -25
- package/src/components/BryntumGridChartDesigner.vue +1 -1
- package/src/components/BryntumGridFieldFilterPicker.vue +1 -1
- package/src/components/BryntumGridFieldFilterPickerGroup.vue +2 -2
- package/src/components/BryntumGroupBar.vue +2 -2
- package/src/components/BryntumHint.vue +3 -3
- package/src/components/BryntumLabel.vue +1 -1
- package/src/components/BryntumList.vue +2 -2
- package/src/components/BryntumMenu.vue +3 -3
- package/src/components/BryntumModeSelector.vue +1 -1
- package/src/components/BryntumMonthAgendaView.vue +5 -5
- package/src/components/BryntumMonthGrid.vue +7 -7
- package/src/components/BryntumMonthPicker.vue +3 -3
- package/src/components/BryntumMonthView.vue +6 -6
- package/src/components/BryntumNumberField.vue +11 -1
- package/src/components/BryntumNumberFieldProps.ts +9 -0
- package/src/components/BryntumPagingToolbar.vue +2 -2
- package/src/components/BryntumPanel.vue +3 -3
- package/src/components/BryntumPasswordField.vue +11 -1
- package/src/components/BryntumPasswordFieldProps.ts +9 -0
- package/src/components/BryntumProgressBar.vue +1 -1
- package/src/components/BryntumProjectCombo.vue +11 -1
- package/src/components/BryntumProjectComboProps.ts +9 -0
- package/src/components/BryntumRadio.vue +12 -2
- package/src/components/BryntumRadioGroup.vue +3 -3
- package/src/components/BryntumRadioProps.ts +9 -0
- package/src/components/BryntumRangeMenu.vue +3 -3
- package/src/components/BryntumResourceCombo.vue +11 -1
- package/src/components/BryntumResourceComboProps.ts +9 -0
- package/src/components/BryntumResourceFilter.vue +2 -2
- package/src/components/BryntumResourceView.vue +5 -5
- package/src/components/BryntumScheduler.vue +60 -50
- package/src/components/BryntumSchedulerBase.vue +60 -50
- package/src/components/BryntumSchedulerBaseProps.ts +5 -0
- package/src/components/BryntumSchedulerDatePicker.vue +3 -3
- package/src/components/BryntumSchedulerProps.ts +5 -0
- package/src/components/BryntumSlideToggle.vue +12 -2
- package/src/components/BryntumSlideToggleProps.ts +9 -0
- package/src/components/BryntumSlider.vue +1 -1
- package/src/components/BryntumSplitter.vue +1 -1
- package/src/components/BryntumTabPanel.vue +4 -4
- package/src/components/BryntumTextAreaField.vue +11 -1
- package/src/components/BryntumTextAreaFieldProps.ts +9 -0
- package/src/components/BryntumTextAreaPickerField.vue +11 -1
- package/src/components/BryntumTextAreaPickerFieldProps.ts +9 -0
- package/src/components/BryntumTextField.vue +11 -1
- package/src/components/BryntumTextFieldProps.ts +9 -0
- package/src/components/BryntumTimeField.vue +11 -1
- package/src/components/BryntumTimeFieldProps.ts +9 -0
- package/src/components/BryntumTimePicker.vue +1 -1
- package/src/components/BryntumTimeVisualizingEditor.vue +3 -3
- package/src/components/BryntumTimeZoomSlider.vue +1 -1
- package/src/components/BryntumTimelineHistogram.vue +30 -30
- package/src/components/BryntumToolbar.vue +2 -2
- package/src/components/BryntumTreeCombo.vue +11 -1
- package/src/components/BryntumTreeComboProps.ts +9 -0
- package/src/components/BryntumTreeGrid.vue +25 -25
- package/src/components/BryntumUndoRedo.vue +1 -1
- package/src/components/BryntumViewPresetCombo.vue +11 -1
- package/src/components/BryntumViewPresetComboProps.ts +9 -0
- package/src/components/BryntumWeekView.vue +11 -7
- package/src/components/BryntumWeekViewProps.ts +6 -2
- package/src/components/BryntumWidget.vue +1 -1
- package/src/components/BryntumYearPicker.vue +3 -3
- package/src/components/BryntumYearPlanner.vue +5 -5
- package/src/components/BryntumYearView.vue +6 -6
- package/lib/chunks/3pMrXrSV.js.map +0 -1
- package/lib/chunks/7r3BIYih.js.map +0 -1
- package/lib/chunks/B8gQABN9.js.map +0 -1
- package/lib/chunks/BBmKbcBm.js.map +0 -1
- package/lib/chunks/BI8wQGwJ.js.map +0 -1
- package/lib/chunks/BKPgz4z1.js.map +0 -1
- package/lib/chunks/BWhkyANY.js.map +0 -1
- package/lib/chunks/BspGLrQY.js.map +0 -1
- package/lib/chunks/C19d7e9r.js.map +0 -1
- package/lib/chunks/C6c2zNh0.js.map +0 -1
- package/lib/chunks/CNs1dLtt.js.map +0 -1
- package/lib/chunks/CPHxjIqw.js.map +0 -1
- package/lib/chunks/CWM22e1v.js.map +0 -1
- package/lib/chunks/CvRb-PD8.js.map +0 -1
- package/lib/chunks/DI98porG.js.map +0 -1
- package/lib/chunks/DQEdPoQo.js.map +0 -1
- package/lib/chunks/DURERga3.js.map +0 -1
- package/lib/chunks/DxT4VIUT.js.map +0 -1
- package/lib/chunks/DzuHthMw.js.map +0 -1
- package/lib/chunks/E1AHpT8W.js.map +0 -1
- package/lib/chunks/FzMaadW6.js.map +0 -1
- package/lib/chunks/JKRtgYCJ.js.map +0 -1
- package/lib/chunks/JkqrKvFU.js.map +0 -1
- package/lib/chunks/QXeRMnaM.js.map +0 -1
- package/lib/chunks/VUkGxEQX.js.map +0 -1
- package/lib/chunks/fCOl6gGe.js.map +0 -1
- package/lib/chunks/j6GbzQ11.js.map +0 -1
- package/lib/chunks/kCsdJsDp.js.map +0 -1
- package/lib/chunks/uBR9aAgk.js.map +0 -1
|
@@ -90,6 +90,15 @@ export declare type BryntumTreeComboProps = {
|
|
|
90
90
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
91
91
|
*/
|
|
92
92
|
centered ? : Boolean
|
|
93
|
+
/**
|
|
94
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
95
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-isValid)
|
|
96
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
97
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Grid/widget/TreeCombo#config-checkValidity)
|
|
98
|
+
* @param {Core.widget.Field} field The field being validated
|
|
99
|
+
* @returns {void}
|
|
100
|
+
*/
|
|
101
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
93
102
|
/**
|
|
94
103
|
* A config object to configure the [ChipView](https://bryntum.com/products/calendar/docs/api/Core/widget/ChipView) to display the
|
|
95
104
|
* selected value set when [multiSelect](https://bryntum.com/products/calendar/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
|
|
@@ -1003,7 +1003,7 @@ const emit = defineEmits<{
|
|
|
1003
1003
|
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
1004
1004
|
* @param {Grid.util.GridLocation} params.event.editorContext Editing context
|
|
1005
1005
|
*/
|
|
1006
|
-
(e: 'beforeCancelCellEdit', params: ((event: { source: Grid, editorContext: GridLocation }) =>
|
|
1006
|
+
(e: 'beforeCancelCellEdit', params: ((event: { source: Grid, editorContext: GridLocation }) => boolean|void)|string): boolean|void
|
|
1007
1007
|
/**
|
|
1008
1008
|
* Fires on the owning Grid before the row editing is canceled, return false to signal that the value is invalid and editing should not be finalized.
|
|
1009
1009
|
* [More...](https://bryntum.com/products/calendar/docs/api/Grid/view/TreeGrid#event-beforeCancelRowEdit)
|
|
@@ -1022,7 +1022,7 @@ const emit = defineEmits<{
|
|
|
1022
1022
|
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
1023
1023
|
* @param {CellEditorContext} params.event.editorContext Editing context
|
|
1024
1024
|
*/
|
|
1025
|
-
(e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) =>
|
|
1025
|
+
(e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => boolean|void)|string): boolean|void
|
|
1026
1026
|
/**
|
|
1027
1027
|
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
1028
1028
|
* buttons while [autoEdit](https://bryntum.com/products/calendar/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
@@ -1032,7 +1032,7 @@ const emit = defineEmits<{
|
|
|
1032
1032
|
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
1033
1033
|
* @param {(Grid.util.GridLocation|Core.data.Model)[]} params.event.gridSelection An array of cell selectors or records that will have their values deleted (the records themselves will not get deleted, only visible column values).
|
|
1034
1034
|
*/
|
|
1035
|
-
(e: 'beforeCellRangeDelete', params: ((event: { source: Grid, gridSelection: (GridLocation|Model)[] }) =>
|
|
1035
|
+
(e: 'beforeCellRangeDelete', params: ((event: { source: Grid, gridSelection: (GridLocation|Model)[] }) => boolean|void)|string): boolean|void
|
|
1036
1036
|
/**
|
|
1037
1037
|
* Fires for each selected record on the owning Grid before editing a range of selected cell values
|
|
1038
1038
|
* @param {string} e Event name
|
|
@@ -1042,7 +1042,7 @@ const emit = defineEmits<{
|
|
|
1042
1042
|
* @param {string} params.event.field The field being changed
|
|
1043
1043
|
* @param {any} params.event.value The value being set
|
|
1044
1044
|
*/
|
|
1045
|
-
(e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) =>
|
|
1045
|
+
(e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) => boolean|void)|string): boolean|void
|
|
1046
1046
|
/**
|
|
1047
1047
|
* This event is triggered before a parent column is collapsed or expanded.
|
|
1048
1048
|
* @param {string} e Event name
|
|
@@ -1062,7 +1062,7 @@ const emit = defineEmits<{
|
|
|
1062
1062
|
* @param {Grid.column.Column} params.event.column The dragged column.
|
|
1063
1063
|
* @param {Event} params.event.event The browser event.
|
|
1064
1064
|
*/
|
|
1065
|
-
(e: 'beforeColumnDragStart', params: ((event: { source: Grid, column: Column, event: Event }) =>
|
|
1065
|
+
(e: 'beforeColumnDragStart', params: ((event: { source: Grid, column: Column, event: Event }) => boolean|void)|string): boolean|void
|
|
1066
1066
|
/**
|
|
1067
1067
|
* This event is fired when a column is dropped, and you can return false from a listener to abort the operation.
|
|
1068
1068
|
* @param {string} e Event name
|
|
@@ -1075,7 +1075,7 @@ const emit = defineEmits<{
|
|
|
1075
1075
|
* @param {Event} params.event.event The browser event.
|
|
1076
1076
|
* @param {string} params.event.region The region where the column was dropped.
|
|
1077
1077
|
*/
|
|
1078
|
-
(e: 'beforeColumnDropFinalize', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, event: Event, region: string }) =>
|
|
1078
|
+
(e: 'beforeColumnDropFinalize', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, event: Event, region: string }) => boolean|void)|string): boolean|void
|
|
1079
1079
|
/**
|
|
1080
1080
|
* This event is fired prior to starting a column resize gesture. The resize is canceled if a listener returns
|
|
1081
1081
|
* `false`.
|
|
@@ -1086,7 +1086,7 @@ const emit = defineEmits<{
|
|
|
1086
1086
|
* @param {Grid.column.Column} params.event.column The column
|
|
1087
1087
|
* @param {Event} params.event.domEvent The browser event
|
|
1088
1088
|
*/
|
|
1089
|
-
(e: 'beforeColumnResize', params: ((event: { source: Grid, column: Column, domEvent: Event }) =>
|
|
1089
|
+
(e: 'beforeColumnResize', params: ((event: { source: Grid, column: Column, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
1090
1090
|
/**
|
|
1091
1091
|
* Fires on the owning Grid before a copy action is performed, return `false` to prevent the action
|
|
1092
1092
|
* @param {string} e Event name
|
|
@@ -1110,7 +1110,7 @@ const emit = defineEmits<{
|
|
|
1110
1110
|
* @param {string} params.event.lineDelimiter The CSV delimiter to separate lines
|
|
1111
1111
|
* @param {string} params.event.columnDelimiter The CSV delimiter to separate values on one line
|
|
1112
1112
|
*/
|
|
1113
|
-
(e: 'beforeCSVExport', params: ((event: { config: ExportConfig, columns: Column[], rows: Model[], lineDelimiter: string, columnDelimiter: string }) =>
|
|
1113
|
+
(e: 'beforeCSVExport', params: ((event: { config: ExportConfig, columns: Column[], rows: Model[], lineDelimiter: string, columnDelimiter: string }) => boolean|void)|string): boolean|void
|
|
1114
1114
|
/**
|
|
1115
1115
|
* Fires before an object is destroyed.
|
|
1116
1116
|
* @param {string} e Event name
|
|
@@ -1128,7 +1128,7 @@ const emit = defineEmits<{
|
|
|
1128
1128
|
* @param {XLSColumn[]} params.event.columns An array of columns to export
|
|
1129
1129
|
* @param {any[][]} params.event.rows An array of records to export
|
|
1130
1130
|
*/
|
|
1131
|
-
(e: 'beforeExcelExport', params: ((event: { config: ExportConfig, columns: XLSColumn[], rows: any[] }) =>
|
|
1131
|
+
(e: 'beforeExcelExport', params: ((event: { config: ExportConfig, columns: XLSColumn[], rows: any[] }) => boolean|void)|string): boolean|void
|
|
1132
1132
|
/**
|
|
1133
1133
|
* Fired before dragging of the FillHandle starts, return `false` to prevent the drag operation.
|
|
1134
1134
|
* @param {string} e Event name
|
|
@@ -1137,7 +1137,7 @@ const emit = defineEmits<{
|
|
|
1137
1137
|
* @param {Grid.util.GridLocation} params.event.cell Information about the column / record
|
|
1138
1138
|
* @param {MouseEvent} params.event.domEvent The raw DOM event
|
|
1139
1139
|
*/
|
|
1140
|
-
(e: 'beforeFillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) =>
|
|
1140
|
+
(e: 'beforeFillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) => boolean|void)|string): boolean|void
|
|
1141
1141
|
/**
|
|
1142
1142
|
* Fires on the owning Grid before the cell editing is finished, return false to signal that the value is invalid and editing should not be finalized.
|
|
1143
1143
|
* @param {string} e Event name
|
|
@@ -1164,7 +1164,7 @@ const emit = defineEmits<{
|
|
|
1164
1164
|
* @param {object} params.event Event object
|
|
1165
1165
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
1166
1166
|
*/
|
|
1167
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
1167
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
1168
1168
|
/**
|
|
1169
1169
|
* Fires on the owning Grid before a paste action is performed, return `false` to prevent the action
|
|
1170
1170
|
* @param {string} e Event name
|
|
@@ -1184,7 +1184,7 @@ const emit = defineEmits<{
|
|
|
1184
1184
|
* @param {object} params.event Event object
|
|
1185
1185
|
* @param {PdfExportConfig} params.event.config Export config
|
|
1186
1186
|
*/
|
|
1187
|
-
(e: 'beforePdfExport', params: ((event: { config: PdfExportConfig }) =>
|
|
1187
|
+
(e: 'beforePdfExport', params: ((event: { config: PdfExportConfig }) => boolean|void)|string): boolean|void
|
|
1188
1188
|
/**
|
|
1189
1189
|
* Fires before a row is rendered.
|
|
1190
1190
|
* @param {string} e Event name
|
|
@@ -1237,7 +1237,7 @@ const emit = defineEmits<{
|
|
|
1237
1237
|
* @param {Grid.util.GridLocation[]} params.event.selectedCells The cells to be selected in this operation.
|
|
1238
1238
|
* @param {Grid.util.GridLocation[]} params.event.cellSelection The cells in the current selection, before applying `selectedCells` and `deselectedCells`
|
|
1239
1239
|
*/
|
|
1240
|
-
(e: 'beforeSelectionChange', params: ((event: { action: string, mode: 'row'|'cell', source: Grid, deselected: Model[], selected: Model[], selection: Model[], deselectedCells: GridLocation[], selectedCells: GridLocation[], cellSelection: GridLocation[] }) =>
|
|
1240
|
+
(e: 'beforeSelectionChange', params: ((event: { action: string, mode: 'row'|'cell', source: Grid, deselected: Model[], selected: Model[], selection: Model[], deselectedCells: GridLocation[], selectedCells: GridLocation[], cellSelection: GridLocation[] }) => boolean|void)|string): boolean|void
|
|
1241
1241
|
/**
|
|
1242
1242
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
1243
1243
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -1264,7 +1264,7 @@ const emit = defineEmits<{
|
|
|
1264
1264
|
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
1265
1265
|
* @param {RowEditorContext} params.event.editorContext Editing context
|
|
1266
1266
|
*/
|
|
1267
|
-
(e: 'beforeStartRowEdit', params: ((event: { source: Grid, editorContext: RowEditorContext }) =>
|
|
1267
|
+
(e: 'beforeStartRowEdit', params: ((event: { source: Grid, editorContext: RowEditorContext }) => boolean|void)|string): boolean|void
|
|
1268
1268
|
/**
|
|
1269
1269
|
* Fired before state is applied to the source. Allows editing the state object or preventing the operation.
|
|
1270
1270
|
* @param {string} e Event name
|
|
@@ -1272,7 +1272,7 @@ const emit = defineEmits<{
|
|
|
1272
1272
|
* @param {object} params.event Event object
|
|
1273
1273
|
* @param {GridStateInfo} params.event.state State object config
|
|
1274
1274
|
*/
|
|
1275
|
-
(e: 'beforeStateApply', params: ((event: { state: GridStateInfo }) =>
|
|
1275
|
+
(e: 'beforeStateApply', params: ((event: { state: GridStateInfo }) => boolean|void)|string): boolean|void
|
|
1276
1276
|
/**
|
|
1277
1277
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
1278
1278
|
* @param {string} e Event name
|
|
@@ -1280,7 +1280,7 @@ const emit = defineEmits<{
|
|
|
1280
1280
|
* @param {object} params.event Event object
|
|
1281
1281
|
* @param {GridStateInfo} params.event.state State object config
|
|
1282
1282
|
*/
|
|
1283
|
-
(e: 'beforeStateSave', params: ((event: { state: GridStateInfo }) =>
|
|
1283
|
+
(e: 'beforeStateSave', params: ((event: { state: GridStateInfo }) => boolean|void)|string): boolean|void
|
|
1284
1284
|
/**
|
|
1285
1285
|
* Fired when a group is going to be expanded or collapsed using the UI.
|
|
1286
1286
|
* Returning `false` from a listener prevents the operation
|
|
@@ -1292,7 +1292,7 @@ const emit = defineEmits<{
|
|
|
1292
1292
|
* @param {boolean} params.event.collapse Collapsed (true) or expanded (false)
|
|
1293
1293
|
* @param {Event} params.event.domEvent The user interaction event (eg a `click` event) if the toggle request was instigated by user interaction.
|
|
1294
1294
|
*/
|
|
1295
|
-
(e: 'beforeToggleGroup', params: ((event: { groupRecord: Model, groupRecords: Model[], collapse: boolean, domEvent: Event }) =>
|
|
1295
|
+
(e: 'beforeToggleGroup', params: ((event: { groupRecord: Model, groupRecords: Model[], collapse: boolean, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
1296
1296
|
/**
|
|
1297
1297
|
* Fired before a parent node record toggles its collapsed state.
|
|
1298
1298
|
* @param {string} e Event name
|
|
@@ -1375,7 +1375,7 @@ const emit = defineEmits<{
|
|
|
1375
1375
|
* @param {Grid.column.Column} params.event.column Column
|
|
1376
1376
|
* @param {Core.data.Model} params.event.record Record
|
|
1377
1377
|
*/
|
|
1378
|
-
(e: 'cellMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column, record: Model }) =>
|
|
1378
|
+
(e: 'cellMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column, record: Model }) => boolean|void)|string): boolean|void
|
|
1379
1379
|
/**
|
|
1380
1380
|
* This event fires on the owning grid when an item is selected in the cell context menu.
|
|
1381
1381
|
* @param {string} e Event name
|
|
@@ -1528,7 +1528,7 @@ const emit = defineEmits<{
|
|
|
1528
1528
|
* @param {Event} params.event.event The browser event.
|
|
1529
1529
|
* @param {string} params.event.region The region where the column was dropped.
|
|
1530
1530
|
*/
|
|
1531
|
-
(e: 'columnDrop', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, valid: boolean, event: Event, region: string }) =>
|
|
1531
|
+
(e: 'columnDrop', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, valid: boolean, event: Event, region: string }) => boolean|void)|string): boolean|void
|
|
1532
1532
|
/**
|
|
1533
1533
|
* This event is fired after a resize gesture is completed.
|
|
1534
1534
|
* @param {string} e Event name
|
|
@@ -1702,7 +1702,7 @@ const emit = defineEmits<{
|
|
|
1702
1702
|
* @param {Grid.util.GridLocation} params.event.cell Information about the column / record
|
|
1703
1703
|
* @param {MouseEvent} params.event.domEvent The raw DOM event
|
|
1704
1704
|
*/
|
|
1705
|
-
(e: 'fillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) =>
|
|
1705
|
+
(e: 'fillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) => boolean|void)|string): boolean|void
|
|
1706
1706
|
/**
|
|
1707
1707
|
* Fires on the owning Grid when cell editing is finished
|
|
1708
1708
|
* @param {string} e Event name
|
|
@@ -1760,7 +1760,7 @@ const emit = defineEmits<{
|
|
|
1760
1760
|
* @param {Core.data.Model[]} params.event.context.records The dragged row records
|
|
1761
1761
|
* @param {MouseEvent,TouchEvent} params.event.event
|
|
1762
1762
|
*/
|
|
1763
|
-
(e: 'gridRowBeforeDragStart', params: ((event: { source: GridBase, context: { records: Model[] }, event: MouseEvent|TouchEvent }) =>
|
|
1763
|
+
(e: 'gridRowBeforeDragStart', params: ((event: { source: GridBase, context: { records: Model[] }, event: MouseEvent|TouchEvent }) => boolean|void)|string): boolean|void
|
|
1764
1764
|
/**
|
|
1765
1765
|
* Fired before the row drop operation is finalized. You can return false to abort the drop operation, or a
|
|
1766
1766
|
* Promise yielding `true` / `false` which allows for asynchronous abort (e.g. first show user a confirmation dialog).
|
|
@@ -1839,7 +1839,7 @@ const emit = defineEmits<{
|
|
|
1839
1839
|
* @param {Event} params.event.domEvent The triggering DOM event.
|
|
1840
1840
|
* @param {Grid.column.Column} params.event.column The column clicked on.
|
|
1841
1841
|
*/
|
|
1842
|
-
(e: 'headerClick', params: ((event: { domEvent: Event, column: Column }) =>
|
|
1842
|
+
(e: 'headerClick', params: ((event: { domEvent: Event, column: Column }) => boolean|void)|string): boolean|void
|
|
1843
1843
|
/**
|
|
1844
1844
|
* This event fires on the owning Grid before the context menu is shown for a header.
|
|
1845
1845
|
* Allows manipulation of the items to show in the same way as in the [processItems](https://bryntum.com/products/calendar/docs/api/Grid/feature/HeaderMenu#config-processItems).
|
|
@@ -1852,7 +1852,7 @@ const emit = defineEmits<{
|
|
|
1852
1852
|
* @param {Record<string, MenuItemEntry>} params.event.items Menu item configs
|
|
1853
1853
|
* @param {Grid.column.Column} params.event.column Column
|
|
1854
1854
|
*/
|
|
1855
|
-
(e: 'headerMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) =>
|
|
1855
|
+
(e: 'headerMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) => boolean|void)|string): boolean|void
|
|
1856
1856
|
/**
|
|
1857
1857
|
* This event fires on the owning Grid when an item is selected in the header context menu.
|
|
1858
1858
|
* @param {string} e Event name
|
|
@@ -2113,7 +2113,7 @@ const emit = defineEmits<{
|
|
|
2113
2113
|
* @param {Grid.view.SubGrid} params.event.subGrid The subgrid
|
|
2114
2114
|
* @param {Event} params.event.domEvent The native DOM event
|
|
2115
2115
|
*/
|
|
2116
|
-
(e: 'splitterCollapseClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) =>
|
|
2116
|
+
(e: 'splitterCollapseClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
2117
2117
|
/**
|
|
2118
2118
|
* Fired by the Grid after a sub-grid has been resized using the splitter
|
|
2119
2119
|
* @param {string} e Event name
|
|
@@ -2144,7 +2144,7 @@ const emit = defineEmits<{
|
|
|
2144
2144
|
* @param {Grid.view.SubGrid} params.event.subGrid The subgrid
|
|
2145
2145
|
* @param {Event} params.event.domEvent The native DOM event
|
|
2146
2146
|
*/
|
|
2147
|
-
(e: 'splitterExpandClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) =>
|
|
2147
|
+
(e: 'splitterExpandClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
2148
2148
|
/**
|
|
2149
2149
|
* Fires on the owning Grid when editing starts
|
|
2150
2150
|
* @param {string} e Event name
|
|
@@ -566,7 +566,7 @@ const emit = defineEmits<{
|
|
|
566
566
|
* @param {object} params.event Event object
|
|
567
567
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
568
568
|
*/
|
|
569
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
569
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
570
570
|
/**
|
|
571
571
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
572
572
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -81,6 +81,15 @@ defineProps<{
|
|
|
81
81
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
82
82
|
*/
|
|
83
83
|
centered ? : Boolean
|
|
84
|
+
/**
|
|
85
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
86
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-isValid)
|
|
87
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
88
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/ViewPresetCombo#config-checkValidity)
|
|
89
|
+
* @param {Core.widget.Field} field The field being validated
|
|
90
|
+
* @returns {void}
|
|
91
|
+
*/
|
|
92
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
84
93
|
/**
|
|
85
94
|
* Specify `false` to not clear value typed to a multiselect combo when an item is selected.
|
|
86
95
|
*/
|
|
@@ -572,7 +581,7 @@ const emit = defineEmits<{
|
|
|
572
581
|
* @param {object} params.event Event object
|
|
573
582
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
574
583
|
*/
|
|
575
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
584
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
576
585
|
/**
|
|
577
586
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
578
587
|
* @param {string} e Event name
|
|
@@ -744,6 +753,7 @@ const widgetData = {
|
|
|
744
753
|
'bubbleEvents',
|
|
745
754
|
'cacheLastResult',
|
|
746
755
|
'centered',
|
|
756
|
+
'checkValidity',
|
|
747
757
|
'clearTextOnSelection',
|
|
748
758
|
'clearWhenInputEmpty',
|
|
749
759
|
'client',
|
|
@@ -67,6 +67,15 @@ export declare type BryntumViewPresetComboProps = {
|
|
|
67
67
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
68
68
|
*/
|
|
69
69
|
centered ? : Boolean
|
|
70
|
+
/**
|
|
71
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
72
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-isValid)
|
|
73
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
74
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/ViewPresetCombo#config-checkValidity)
|
|
75
|
+
* @param {Core.widget.Field} field The field being validated
|
|
76
|
+
* @returns {void}
|
|
77
|
+
*/
|
|
78
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
70
79
|
/**
|
|
71
80
|
* Specify `false` to not clear value typed to a multiselect combo when an item is selected.
|
|
72
81
|
*/
|
|
@@ -469,9 +469,13 @@ defineProps<{
|
|
|
469
469
|
*/
|
|
470
470
|
eventSorter ? : (lhs: EventModel|EventBar, rhs: EventModel|EventBar) => number
|
|
471
471
|
/**
|
|
472
|
-
*
|
|
472
|
+
* The amount of vertical spacing applied to events. May be a single number giving the
|
|
473
|
+
* bottom spacing in pixels, or an object specifying both top and bottom spacings:
|
|
474
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/WeekView#config-eventSpacing)
|
|
475
|
+
* @property {number} [top] The top spacing in pixels.
|
|
476
|
+
* @property {number} [bottom] The bottom spacing in pixels.
|
|
473
477
|
*/
|
|
474
|
-
eventSpacing ? : number
|
|
478
|
+
eventSpacing ? : number|object
|
|
475
479
|
/**
|
|
476
480
|
* By default, the end date of an all day event is displayed in the UI as
|
|
477
481
|
* the last calendar date on which the event falls. For most end users, this is the
|
|
@@ -1214,7 +1218,7 @@ const emit = defineEmits<{
|
|
|
1214
1218
|
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The resource if the UI includes a resource.
|
|
1215
1219
|
* @param {CalendarView} params.event.view This view.
|
|
1216
1220
|
*/
|
|
1217
|
-
(e: 'beforeAutoCreate', params: ((event: { domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel, view: CalendarView }) =>
|
|
1221
|
+
(e: 'beforeAutoCreate', params: ((event: { domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel, view: CalendarView }) => boolean|void)|string): boolean|void
|
|
1218
1222
|
/**
|
|
1219
1223
|
* Triggered before a view's orientating date changes.
|
|
1220
1224
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/WeekView#event-beforeChangeDate)
|
|
@@ -1224,7 +1228,7 @@ const emit = defineEmits<{
|
|
|
1224
1228
|
* @param {Date} params.event.oldDate The current orientating date of this view.
|
|
1225
1229
|
* @param {Date} params.event.date The new date to which this view is to be orientated.
|
|
1226
1230
|
*/
|
|
1227
|
-
(e: 'beforeChangeDate', params: ((event: { oldDate: Date, date: Date }) =>
|
|
1231
|
+
(e: 'beforeChangeDate', params: ((event: { oldDate: Date, date: Date }) => boolean|void)|string): boolean|void
|
|
1228
1232
|
/**
|
|
1229
1233
|
* Fires before an object is destroyed.
|
|
1230
1234
|
* @param {string} e Event name
|
|
@@ -1240,7 +1244,7 @@ const emit = defineEmits<{
|
|
|
1240
1244
|
* @param {object} params.event Event object
|
|
1241
1245
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
1242
1246
|
*/
|
|
1243
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
1247
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
1244
1248
|
/**
|
|
1245
1249
|
* Triggered before a new [responsiveState](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveState) is applied.
|
|
1246
1250
|
* @param {string} e Event name
|
|
@@ -1276,7 +1280,7 @@ const emit = defineEmits<{
|
|
|
1276
1280
|
* @param {object} params.event Event object
|
|
1277
1281
|
* @param {any} params.event.state State object config
|
|
1278
1282
|
*/
|
|
1279
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
1283
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
1280
1284
|
/**
|
|
1281
1285
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
1282
1286
|
* @param {string} e Event name
|
|
@@ -1284,7 +1288,7 @@ const emit = defineEmits<{
|
|
|
1284
1288
|
* @param {object} params.event Event object
|
|
1285
1289
|
* @param {any} params.event.state State object config
|
|
1286
1290
|
*/
|
|
1287
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
1291
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
1288
1292
|
/**
|
|
1289
1293
|
* Fires when any other event is fired from the object.
|
|
1290
1294
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/WeekView#event-catchAll)
|
|
@@ -455,9 +455,13 @@ export declare type BryntumWeekViewProps = {
|
|
|
455
455
|
*/
|
|
456
456
|
eventSorter ? : (lhs: EventModel|EventBar, rhs: EventModel|EventBar) => number
|
|
457
457
|
/**
|
|
458
|
-
*
|
|
458
|
+
* The amount of vertical spacing applied to events. May be a single number giving the
|
|
459
|
+
* bottom spacing in pixels, or an object specifying both top and bottom spacings:
|
|
460
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/WeekView#config-eventSpacing)
|
|
461
|
+
* @property {number} [top] The top spacing in pixels.
|
|
462
|
+
* @property {number} [bottom] The bottom spacing in pixels.
|
|
459
463
|
*/
|
|
460
|
-
eventSpacing ? : number
|
|
464
|
+
eventSpacing ? : number|object
|
|
461
465
|
/**
|
|
462
466
|
* By default, the end date of an all day event is displayed in the UI as
|
|
463
467
|
* the last calendar date on which the event falls. For most end users, this is the
|
|
@@ -443,7 +443,7 @@ const emit = defineEmits<{
|
|
|
443
443
|
* @param {object} params.event Event object
|
|
444
444
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
445
445
|
*/
|
|
446
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
446
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
447
447
|
/**
|
|
448
448
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
449
449
|
* @param {string} e Event name
|
|
@@ -673,7 +673,7 @@ const emit = defineEmits<{
|
|
|
673
673
|
* @param {object} params.event Event object
|
|
674
674
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
675
675
|
*/
|
|
676
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
676
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
677
677
|
/**
|
|
678
678
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
679
679
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -699,7 +699,7 @@ const emit = defineEmits<{
|
|
|
699
699
|
* @param {object} params.event Event object
|
|
700
700
|
* @param {any} params.event.state State object config
|
|
701
701
|
*/
|
|
702
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
702
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
703
703
|
/**
|
|
704
704
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
705
705
|
* @param {string} e Event name
|
|
@@ -707,7 +707,7 @@ const emit = defineEmits<{
|
|
|
707
707
|
* @param {object} params.event Event object
|
|
708
708
|
* @param {any} params.event.state State object config
|
|
709
709
|
*/
|
|
710
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
710
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
711
711
|
/**
|
|
712
712
|
* Fires when any other event is fired from the object.
|
|
713
713
|
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/YearPicker#event-catchAll)
|
|
@@ -902,7 +902,7 @@ const emit = defineEmits<{
|
|
|
902
902
|
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The resource if the UI includes a resource.
|
|
903
903
|
* @param {CalendarView} params.event.view This view.
|
|
904
904
|
*/
|
|
905
|
-
(e: 'beforeAutoCreate', params: ((event: { domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel, view: CalendarView }) =>
|
|
905
|
+
(e: 'beforeAutoCreate', params: ((event: { domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel, view: CalendarView }) => boolean|void)|string): boolean|void
|
|
906
906
|
/**
|
|
907
907
|
* Triggered before a view's orientating date changes.
|
|
908
908
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#event-beforeChangeDate)
|
|
@@ -912,7 +912,7 @@ const emit = defineEmits<{
|
|
|
912
912
|
* @param {Date} params.event.oldDate The current orientating date of this view.
|
|
913
913
|
* @param {Date} params.event.date The new date to which this view is to be orientated.
|
|
914
914
|
*/
|
|
915
|
-
(e: 'beforeChangeDate', params: ((event: { oldDate: Date, date: Date }) =>
|
|
915
|
+
(e: 'beforeChangeDate', params: ((event: { oldDate: Date, date: Date }) => boolean|void)|string): boolean|void
|
|
916
916
|
/**
|
|
917
917
|
* Fires before an object is destroyed.
|
|
918
918
|
* @param {string} e Event name
|
|
@@ -928,7 +928,7 @@ const emit = defineEmits<{
|
|
|
928
928
|
* @param {object} params.event Event object
|
|
929
929
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
930
930
|
*/
|
|
931
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
931
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
932
932
|
/**
|
|
933
933
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
934
934
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -954,7 +954,7 @@ const emit = defineEmits<{
|
|
|
954
954
|
* @param {object} params.event Event object
|
|
955
955
|
* @param {any} params.event.state State object config
|
|
956
956
|
*/
|
|
957
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
957
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
958
958
|
/**
|
|
959
959
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
960
960
|
* @param {string} e Event name
|
|
@@ -962,7 +962,7 @@ const emit = defineEmits<{
|
|
|
962
962
|
* @param {object} params.event Event object
|
|
963
963
|
* @param {any} params.event.state State object config
|
|
964
964
|
*/
|
|
965
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
965
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
966
966
|
/**
|
|
967
967
|
* Fires when any other event is fired from the object.
|
|
968
968
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#event-catchAll)
|
|
@@ -1004,7 +1004,7 @@ const emit = defineEmits<{
|
|
|
1004
1004
|
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The resource if the UI includes a resource.
|
|
1005
1005
|
* @param {CalendarView} params.event.view This view.
|
|
1006
1006
|
*/
|
|
1007
|
-
(e: 'beforeAutoCreate', params: ((event: { domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel, view: CalendarView }) =>
|
|
1007
|
+
(e: 'beforeAutoCreate', params: ((event: { domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel, view: CalendarView }) => boolean|void)|string): boolean|void
|
|
1008
1008
|
/**
|
|
1009
1009
|
* Triggered before a view's orientating date changes.
|
|
1010
1010
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#event-beforeChangeDate)
|
|
@@ -1014,7 +1014,7 @@ const emit = defineEmits<{
|
|
|
1014
1014
|
* @param {Date} params.event.oldDate The current orientating date of this view.
|
|
1015
1015
|
* @param {Date} params.event.date The new date to which this view is to be orientated.
|
|
1016
1016
|
*/
|
|
1017
|
-
(e: 'beforeChangeDate', params: ((event: { oldDate: Date, date: Date }) =>
|
|
1017
|
+
(e: 'beforeChangeDate', params: ((event: { oldDate: Date, date: Date }) => boolean|void)|string): boolean|void
|
|
1018
1018
|
/**
|
|
1019
1019
|
* Fires before an object is destroyed.
|
|
1020
1020
|
* @param {string} e Event name
|
|
@@ -1030,7 +1030,7 @@ const emit = defineEmits<{
|
|
|
1030
1030
|
* @param {object} params.event Event object
|
|
1031
1031
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
1032
1032
|
*/
|
|
1033
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
1033
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
1034
1034
|
/**
|
|
1035
1035
|
* Triggered before a new [responsiveState](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveState) is applied.
|
|
1036
1036
|
* @param {string} e Event name
|
|
@@ -1070,7 +1070,7 @@ const emit = defineEmits<{
|
|
|
1070
1070
|
* @param {Date} params.event.date The date which has overflowing events
|
|
1071
1071
|
* @param {Calendar.widget.OverflowPopup} params.event.overflowPopup The overflow `Popup`.
|
|
1072
1072
|
*/
|
|
1073
|
-
(e: 'beforeShowOverflowPopup', params: ((event: { cell: HTMLElement, cellData: DayCell, date: Date, overflowPopup: OverflowPopup }) =>
|
|
1073
|
+
(e: 'beforeShowOverflowPopup', params: ((event: { cell: HTMLElement, cellData: DayCell, date: Date, overflowPopup: OverflowPopup }) => boolean|void)|string): boolean|void
|
|
1074
1074
|
/**
|
|
1075
1075
|
* Fired before state is applied to the source. Allows editing the state object or preventing the operation.
|
|
1076
1076
|
* @param {string} e Event name
|
|
@@ -1078,7 +1078,7 @@ const emit = defineEmits<{
|
|
|
1078
1078
|
* @param {object} params.event Event object
|
|
1079
1079
|
* @param {any} params.event.state State object config
|
|
1080
1080
|
*/
|
|
1081
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
1081
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
1082
1082
|
/**
|
|
1083
1083
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
1084
1084
|
* @param {string} e Event name
|
|
@@ -1086,7 +1086,7 @@ const emit = defineEmits<{
|
|
|
1086
1086
|
* @param {object} params.event Event object
|
|
1087
1087
|
* @param {any} params.event.state State object config
|
|
1088
1088
|
*/
|
|
1089
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
1089
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
1090
1090
|
/**
|
|
1091
1091
|
* Fires when any other event is fired from the object.
|
|
1092
1092
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#event-catchAll)
|