@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
|
@@ -1380,7 +1380,7 @@ const emit = defineEmits<{
|
|
|
1380
1380
|
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The resource if the UI includes a resource.
|
|
1381
1381
|
* @param {CalendarView} params.event.view This view.
|
|
1382
1382
|
*/
|
|
1383
|
-
(e: 'beforeAutoCreate', params: ((event: { domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel, view: CalendarView }) =>
|
|
1383
|
+
(e: 'beforeAutoCreate', params: ((event: { domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel, view: CalendarView }) => boolean|void)|string): boolean|void
|
|
1384
1384
|
/**
|
|
1385
1385
|
* Fires on the owning Grid before the cell editing is canceled, return `false` to prevent cancellation.
|
|
1386
1386
|
* @param {string} e Event name
|
|
@@ -1389,7 +1389,7 @@ const emit = defineEmits<{
|
|
|
1389
1389
|
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
1390
1390
|
* @param {Grid.util.GridLocation} params.event.editorContext Editing context
|
|
1391
1391
|
*/
|
|
1392
|
-
(e: 'beforeCancelCellEdit', params: ((event: { source: Grid, editorContext: GridLocation }) =>
|
|
1392
|
+
(e: 'beforeCancelCellEdit', params: ((event: { source: Grid, editorContext: GridLocation }) => boolean|void)|string): boolean|void
|
|
1393
1393
|
/**
|
|
1394
1394
|
* 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.
|
|
1395
1395
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/AgendaView#event-beforeCancelRowEdit)
|
|
@@ -1408,7 +1408,7 @@ const emit = defineEmits<{
|
|
|
1408
1408
|
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
1409
1409
|
* @param {CellEditorContext} params.event.editorContext Editing context
|
|
1410
1410
|
*/
|
|
1411
|
-
(e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) =>
|
|
1411
|
+
(e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => boolean|void)|string): boolean|void
|
|
1412
1412
|
/**
|
|
1413
1413
|
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
1414
1414
|
* buttons while [autoEdit](https://bryntum.com/products/calendar/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
@@ -1418,7 +1418,7 @@ const emit = defineEmits<{
|
|
|
1418
1418
|
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
1419
1419
|
* @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).
|
|
1420
1420
|
*/
|
|
1421
|
-
(e: 'beforeCellRangeDelete', params: ((event: { source: Grid, gridSelection: (GridLocation|Model)[] }) =>
|
|
1421
|
+
(e: 'beforeCellRangeDelete', params: ((event: { source: Grid, gridSelection: (GridLocation|Model)[] }) => boolean|void)|string): boolean|void
|
|
1422
1422
|
/**
|
|
1423
1423
|
* Fires for each selected record on the owning Grid before editing a range of selected cell values
|
|
1424
1424
|
* @param {string} e Event name
|
|
@@ -1428,7 +1428,7 @@ const emit = defineEmits<{
|
|
|
1428
1428
|
* @param {string} params.event.field The field being changed
|
|
1429
1429
|
* @param {any} params.event.value The value being set
|
|
1430
1430
|
*/
|
|
1431
|
-
(e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) =>
|
|
1431
|
+
(e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) => boolean|void)|string): boolean|void
|
|
1432
1432
|
/**
|
|
1433
1433
|
* Triggered before a view's orientating date changes.
|
|
1434
1434
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/AgendaView#event-beforeChangeDate)
|
|
@@ -1438,7 +1438,7 @@ const emit = defineEmits<{
|
|
|
1438
1438
|
* @param {Date} params.event.oldDate The current orientating date of this view.
|
|
1439
1439
|
* @param {Date} params.event.date The new date to which this view is to be orientated.
|
|
1440
1440
|
*/
|
|
1441
|
-
(e: 'beforeChangeDate', params: ((event: { oldDate: Date, date: Date }) =>
|
|
1441
|
+
(e: 'beforeChangeDate', params: ((event: { oldDate: Date, date: Date }) => boolean|void)|string): boolean|void
|
|
1442
1442
|
/**
|
|
1443
1443
|
* This event is triggered before a parent column is collapsed or expanded.
|
|
1444
1444
|
* @param {string} e Event name
|
|
@@ -1458,7 +1458,7 @@ const emit = defineEmits<{
|
|
|
1458
1458
|
* @param {Grid.column.Column} params.event.column The dragged column.
|
|
1459
1459
|
* @param {Event} params.event.event The browser event.
|
|
1460
1460
|
*/
|
|
1461
|
-
(e: 'beforeColumnDragStart', params: ((event: { source: Grid, column: Column, event: Event }) =>
|
|
1461
|
+
(e: 'beforeColumnDragStart', params: ((event: { source: Grid, column: Column, event: Event }) => boolean|void)|string): boolean|void
|
|
1462
1462
|
/**
|
|
1463
1463
|
* This event is fired when a column is dropped, and you can return false from a listener to abort the operation.
|
|
1464
1464
|
* @param {string} e Event name
|
|
@@ -1471,7 +1471,7 @@ const emit = defineEmits<{
|
|
|
1471
1471
|
* @param {Event} params.event.event The browser event.
|
|
1472
1472
|
* @param {string} params.event.region The region where the column was dropped.
|
|
1473
1473
|
*/
|
|
1474
|
-
(e: 'beforeColumnDropFinalize', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, event: Event, region: string }) =>
|
|
1474
|
+
(e: 'beforeColumnDropFinalize', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, event: Event, region: string }) => boolean|void)|string): boolean|void
|
|
1475
1475
|
/**
|
|
1476
1476
|
* This event is fired prior to starting a column resize gesture. The resize is canceled if a listener returns
|
|
1477
1477
|
* `false`.
|
|
@@ -1482,7 +1482,7 @@ const emit = defineEmits<{
|
|
|
1482
1482
|
* @param {Grid.column.Column} params.event.column The column
|
|
1483
1483
|
* @param {Event} params.event.domEvent The browser event
|
|
1484
1484
|
*/
|
|
1485
|
-
(e: 'beforeColumnResize', params: ((event: { source: Grid, column: Column, domEvent: Event }) =>
|
|
1485
|
+
(e: 'beforeColumnResize', params: ((event: { source: Grid, column: Column, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
1486
1486
|
/**
|
|
1487
1487
|
* Fires on the owning Grid before a copy action is performed, return `false` to prevent the action
|
|
1488
1488
|
* @param {string} e Event name
|
|
@@ -1506,7 +1506,7 @@ const emit = defineEmits<{
|
|
|
1506
1506
|
* @param {string} params.event.lineDelimiter The CSV delimiter to separate lines
|
|
1507
1507
|
* @param {string} params.event.columnDelimiter The CSV delimiter to separate values on one line
|
|
1508
1508
|
*/
|
|
1509
|
-
(e: 'beforeCSVExport', params: ((event: { config: ExportConfig, columns: Column[], rows: Model[], lineDelimiter: string, columnDelimiter: string }) =>
|
|
1509
|
+
(e: 'beforeCSVExport', params: ((event: { config: ExportConfig, columns: Column[], rows: Model[], lineDelimiter: string, columnDelimiter: string }) => boolean|void)|string): boolean|void
|
|
1510
1510
|
/**
|
|
1511
1511
|
* Fires before an object is destroyed.
|
|
1512
1512
|
* @param {string} e Event name
|
|
@@ -1524,7 +1524,7 @@ const emit = defineEmits<{
|
|
|
1524
1524
|
* @param {XLSColumn[]} params.event.columns An array of columns to export
|
|
1525
1525
|
* @param {any[][]} params.event.rows An array of records to export
|
|
1526
1526
|
*/
|
|
1527
|
-
(e: 'beforeExcelExport', params: ((event: { config: ExportConfig, columns: XLSColumn[], rows: any[] }) =>
|
|
1527
|
+
(e: 'beforeExcelExport', params: ((event: { config: ExportConfig, columns: XLSColumn[], rows: any[] }) => boolean|void)|string): boolean|void
|
|
1528
1528
|
/**
|
|
1529
1529
|
* Fired before dragging of the FillHandle starts, return `false` to prevent the drag operation.
|
|
1530
1530
|
* @param {string} e Event name
|
|
@@ -1533,7 +1533,7 @@ const emit = defineEmits<{
|
|
|
1533
1533
|
* @param {Grid.util.GridLocation} params.event.cell Information about the column / record
|
|
1534
1534
|
* @param {MouseEvent} params.event.domEvent The raw DOM event
|
|
1535
1535
|
*/
|
|
1536
|
-
(e: 'beforeFillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) =>
|
|
1536
|
+
(e: 'beforeFillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) => boolean|void)|string): boolean|void
|
|
1537
1537
|
/**
|
|
1538
1538
|
* 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.
|
|
1539
1539
|
* @param {string} e Event name
|
|
@@ -1560,7 +1560,7 @@ const emit = defineEmits<{
|
|
|
1560
1560
|
* @param {object} params.event Event object
|
|
1561
1561
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
1562
1562
|
*/
|
|
1563
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
1563
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
1564
1564
|
/**
|
|
1565
1565
|
* Fires on the owning Grid before a paste action is performed, return `false` to prevent the action
|
|
1566
1566
|
* @param {string} e Event name
|
|
@@ -1580,7 +1580,7 @@ const emit = defineEmits<{
|
|
|
1580
1580
|
* @param {object} params.event Event object
|
|
1581
1581
|
* @param {PdfExportConfig} params.event.config Export config
|
|
1582
1582
|
*/
|
|
1583
|
-
(e: 'beforePdfExport', params: ((event: { config: PdfExportConfig }) =>
|
|
1583
|
+
(e: 'beforePdfExport', params: ((event: { config: PdfExportConfig }) => boolean|void)|string): boolean|void
|
|
1584
1584
|
/**
|
|
1585
1585
|
* Fires before a row is rendered.
|
|
1586
1586
|
* @param {string} e Event name
|
|
@@ -1643,7 +1643,7 @@ const emit = defineEmits<{
|
|
|
1643
1643
|
* @param {Grid.util.GridLocation[]} params.event.selectedCells The cells to be selected in this operation.
|
|
1644
1644
|
* @param {Grid.util.GridLocation[]} params.event.cellSelection The cells in the current selection, before applying `selectedCells` and `deselectedCells`
|
|
1645
1645
|
*/
|
|
1646
|
-
(e: 'beforeSelectionChange', params: ((event: { action: string, mode: 'row'|'cell', source: Grid, deselected: Model[], selected: Model[], selection: Model[], deselectedCells: GridLocation[], selectedCells: GridLocation[], cellSelection: GridLocation[] }) =>
|
|
1646
|
+
(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
|
|
1647
1647
|
/**
|
|
1648
1648
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
1649
1649
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -1670,7 +1670,7 @@ const emit = defineEmits<{
|
|
|
1670
1670
|
* @param {Grid.view.Grid} params.event.source Owner grid
|
|
1671
1671
|
* @param {RowEditorContext} params.event.editorContext Editing context
|
|
1672
1672
|
*/
|
|
1673
|
-
(e: 'beforeStartRowEdit', params: ((event: { source: Grid, editorContext: RowEditorContext }) =>
|
|
1673
|
+
(e: 'beforeStartRowEdit', params: ((event: { source: Grid, editorContext: RowEditorContext }) => boolean|void)|string): boolean|void
|
|
1674
1674
|
/**
|
|
1675
1675
|
* Fired before state is applied to the source. Allows editing the state object or preventing the operation.
|
|
1676
1676
|
* @param {string} e Event name
|
|
@@ -1678,7 +1678,7 @@ const emit = defineEmits<{
|
|
|
1678
1678
|
* @param {object} params.event Event object
|
|
1679
1679
|
* @param {GridStateInfo} params.event.state State object config
|
|
1680
1680
|
*/
|
|
1681
|
-
(e: 'beforeStateApply', params: ((event: { state: GridStateInfo }) =>
|
|
1681
|
+
(e: 'beforeStateApply', params: ((event: { state: GridStateInfo }) => boolean|void)|string): boolean|void
|
|
1682
1682
|
/**
|
|
1683
1683
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
1684
1684
|
* @param {string} e Event name
|
|
@@ -1686,7 +1686,7 @@ const emit = defineEmits<{
|
|
|
1686
1686
|
* @param {object} params.event Event object
|
|
1687
1687
|
* @param {GridStateInfo} params.event.state State object config
|
|
1688
1688
|
*/
|
|
1689
|
-
(e: 'beforeStateSave', params: ((event: { state: GridStateInfo }) =>
|
|
1689
|
+
(e: 'beforeStateSave', params: ((event: { state: GridStateInfo }) => boolean|void)|string): boolean|void
|
|
1690
1690
|
/**
|
|
1691
1691
|
* Fired when a group is going to be expanded or collapsed using the UI.
|
|
1692
1692
|
* Returning `false` from a listener prevents the operation
|
|
@@ -1698,7 +1698,7 @@ const emit = defineEmits<{
|
|
|
1698
1698
|
* @param {boolean} params.event.collapse Collapsed (true) or expanded (false)
|
|
1699
1699
|
* @param {Event} params.event.domEvent The user interaction event (eg a `click` event) if the toggle request was instigated by user interaction.
|
|
1700
1700
|
*/
|
|
1701
|
-
(e: 'beforeToggleGroup', params: ((event: { groupRecord: Model, groupRecords: Model[], collapse: boolean, domEvent: Event }) =>
|
|
1701
|
+
(e: 'beforeToggleGroup', params: ((event: { groupRecord: Model, groupRecords: Model[], collapse: boolean, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
1702
1702
|
/**
|
|
1703
1703
|
* Fired before a parent node record toggles its collapsed state.
|
|
1704
1704
|
* @param {string} e Event name
|
|
@@ -1789,7 +1789,7 @@ const emit = defineEmits<{
|
|
|
1789
1789
|
* @param {Grid.column.Column} params.event.column Column
|
|
1790
1790
|
* @param {Core.data.Model} params.event.record Record
|
|
1791
1791
|
*/
|
|
1792
|
-
(e: 'cellMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column, record: Model }) =>
|
|
1792
|
+
(e: 'cellMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column, record: Model }) => boolean|void)|string): boolean|void
|
|
1793
1793
|
/**
|
|
1794
1794
|
* This event fires on the owning grid when an item is selected in the cell context menu.
|
|
1795
1795
|
* @param {string} e Event name
|
|
@@ -1942,7 +1942,7 @@ const emit = defineEmits<{
|
|
|
1942
1942
|
* @param {Event} params.event.event The browser event.
|
|
1943
1943
|
* @param {string} params.event.region The region where the column was dropped.
|
|
1944
1944
|
*/
|
|
1945
|
-
(e: 'columnDrop', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, valid: boolean, event: Event, region: string }) =>
|
|
1945
|
+
(e: 'columnDrop', params: ((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, valid: boolean, event: Event, region: string }) => boolean|void)|string): boolean|void
|
|
1946
1946
|
/**
|
|
1947
1947
|
* This event is fired after a resize gesture is completed.
|
|
1948
1948
|
* @param {string} e Event name
|
|
@@ -2154,7 +2154,7 @@ const emit = defineEmits<{
|
|
|
2154
2154
|
* @param {Grid.util.GridLocation} params.event.cell Information about the column / record
|
|
2155
2155
|
* @param {MouseEvent} params.event.domEvent The raw DOM event
|
|
2156
2156
|
*/
|
|
2157
|
-
(e: 'fillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) =>
|
|
2157
|
+
(e: 'fillHandleDragStart', params: ((event: { cell: GridLocation, domEvent: MouseEvent }) => boolean|void)|string): boolean|void
|
|
2158
2158
|
/**
|
|
2159
2159
|
* Fires on the owning Grid when cell editing is finished
|
|
2160
2160
|
* @param {string} e Event name
|
|
@@ -2212,7 +2212,7 @@ const emit = defineEmits<{
|
|
|
2212
2212
|
* @param {Core.data.Model[]} params.event.context.records The dragged row records
|
|
2213
2213
|
* @param {MouseEvent,TouchEvent} params.event.event
|
|
2214
2214
|
*/
|
|
2215
|
-
(e: 'gridRowBeforeDragStart', params: ((event: { source: GridBase, context: { records: Model[] }, event: MouseEvent|TouchEvent }) =>
|
|
2215
|
+
(e: 'gridRowBeforeDragStart', params: ((event: { source: GridBase, context: { records: Model[] }, event: MouseEvent|TouchEvent }) => boolean|void)|string): boolean|void
|
|
2216
2216
|
/**
|
|
2217
2217
|
* Fired before the row drop operation is finalized. You can return false to abort the drop operation, or a
|
|
2218
2218
|
* Promise yielding `true` / `false` which allows for asynchronous abort (e.g. first show user a confirmation dialog).
|
|
@@ -2291,7 +2291,7 @@ const emit = defineEmits<{
|
|
|
2291
2291
|
* @param {Event} params.event.domEvent The triggering DOM event.
|
|
2292
2292
|
* @param {Grid.column.Column} params.event.column The column clicked on.
|
|
2293
2293
|
*/
|
|
2294
|
-
(e: 'headerClick', params: ((event: { domEvent: Event, column: Column }) =>
|
|
2294
|
+
(e: 'headerClick', params: ((event: { domEvent: Event, column: Column }) => boolean|void)|string): boolean|void
|
|
2295
2295
|
/**
|
|
2296
2296
|
* This event fires on the owning Grid before the context menu is shown for a header.
|
|
2297
2297
|
* 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).
|
|
@@ -2304,7 +2304,7 @@ const emit = defineEmits<{
|
|
|
2304
2304
|
* @param {Record<string, MenuItemEntry>} params.event.items Menu item configs
|
|
2305
2305
|
* @param {Grid.column.Column} params.event.column Column
|
|
2306
2306
|
*/
|
|
2307
|
-
(e: 'headerMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) =>
|
|
2307
|
+
(e: 'headerMenuBeforeShow', params: ((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) => boolean|void)|string): boolean|void
|
|
2308
2308
|
/**
|
|
2309
2309
|
* This event fires on the owning Grid when an item is selected in the header context menu.
|
|
2310
2310
|
* @param {string} e Event name
|
|
@@ -2607,7 +2607,7 @@ const emit = defineEmits<{
|
|
|
2607
2607
|
* @param {Grid.view.SubGrid} params.event.subGrid The subgrid
|
|
2608
2608
|
* @param {Event} params.event.domEvent The native DOM event
|
|
2609
2609
|
*/
|
|
2610
|
-
(e: 'splitterCollapseClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) =>
|
|
2610
|
+
(e: 'splitterCollapseClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
2611
2611
|
/**
|
|
2612
2612
|
* Fired by the Grid after a sub-grid has been resized using the splitter
|
|
2613
2613
|
* @param {string} e Event name
|
|
@@ -2638,7 +2638,7 @@ const emit = defineEmits<{
|
|
|
2638
2638
|
* @param {Grid.view.SubGrid} params.event.subGrid The subgrid
|
|
2639
2639
|
* @param {Event} params.event.domEvent The native DOM event
|
|
2640
2640
|
*/
|
|
2641
|
-
(e: 'splitterExpandClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) =>
|
|
2641
|
+
(e: 'splitterExpandClick', params: ((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
2642
2642
|
/**
|
|
2643
2643
|
* Fires on the owning Grid when editing starts
|
|
2644
2644
|
* @param {string} e Event name
|
|
@@ -104,6 +104,15 @@ defineProps<{
|
|
|
104
104
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
105
105
|
*/
|
|
106
106
|
centered ? : Boolean
|
|
107
|
+
/**
|
|
108
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
109
|
+
* 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)
|
|
110
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
111
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/BooleanCombo#config-checkValidity)
|
|
112
|
+
* @param {Core.widget.Field} field The field being validated
|
|
113
|
+
* @returns {void}
|
|
114
|
+
*/
|
|
115
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
107
116
|
/**
|
|
108
117
|
* A config object to configure the [ChipView](https://bryntum.com/products/calendar/docs/api/Core/widget/ChipView) to display the
|
|
109
118
|
* selected value set when [multiSelect](https://bryntum.com/products/calendar/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
|
|
@@ -830,7 +839,7 @@ const emit = defineEmits<{
|
|
|
830
839
|
* @param {object} params.event Event object
|
|
831
840
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
832
841
|
*/
|
|
833
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
842
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
834
843
|
/**
|
|
835
844
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
836
845
|
* @param {string} e Event name
|
|
@@ -1018,6 +1027,7 @@ const widgetData = {
|
|
|
1018
1027
|
'cacheLastResult',
|
|
1019
1028
|
'caseSensitive',
|
|
1020
1029
|
'centered',
|
|
1030
|
+
'checkValidity',
|
|
1021
1031
|
'chipView',
|
|
1022
1032
|
'clearable',
|
|
1023
1033
|
'clearTextOnPickerHide',
|
|
@@ -90,6 +90,15 @@ export declare type BryntumBooleanComboProps = {
|
|
|
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/Core/widget/BooleanCombo#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`.
|
|
@@ -544,7 +544,7 @@ const emit = defineEmits<{
|
|
|
544
544
|
* @param {object} params.event Event object
|
|
545
545
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
546
546
|
*/
|
|
547
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
547
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
548
548
|
/**
|
|
549
549
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
550
550
|
* @param {string} e Event name
|
|
@@ -563,7 +563,7 @@ const emit = defineEmits<{
|
|
|
563
563
|
* @param {boolean} params.event.userAction `true` if the toggle was triggered by a user action (click), `false` if it was triggered programmatically.
|
|
564
564
|
* @param {Event} params.event.domEvent The original DOM event that triggered the action, if any. Using the `pointerType` property of this event can help determine if it was a mouse, touch or pen action.
|
|
565
565
|
*/
|
|
566
|
-
(e: 'beforeShowMenu', params: ((event: { source: Button, menu: Menu, userAction: boolean, domEvent: Event }) =>
|
|
566
|
+
(e: 'beforeShowMenu', params: ((event: { source: Button, menu: Menu, userAction: boolean, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
567
567
|
/**
|
|
568
568
|
* Fires before the button is toggled (the [pressed](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#property-pressed) state is changed). If the button is part of
|
|
569
569
|
* a [toggleGroup](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-toggleGroup) and you need to process the pressed button only, consider using
|
|
@@ -577,7 +577,7 @@ const emit = defineEmits<{
|
|
|
577
577
|
* @param {boolean} params.event.userAction `true` if the toggle was triggered by a user action (click), `false` if it was triggered programmatically.
|
|
578
578
|
* @param {Event} params.event.domEvent The original DOM event that triggered the action, if any. Using the `pointerType` property of this event can help determine if it was a mouse, touch or pen action.
|
|
579
579
|
*/
|
|
580
|
-
(e: 'beforeToggle', params: ((event: { source: Button, pressed: boolean, userAction: boolean, domEvent: Event }) =>
|
|
580
|
+
(e: 'beforeToggle', params: ((event: { source: Button, pressed: boolean, userAction: boolean, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
581
581
|
/**
|
|
582
582
|
* Fires when any other event is fired from the object.
|
|
583
583
|
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#event-catchAll)
|
|
@@ -569,7 +569,7 @@ const emit = defineEmits<{
|
|
|
569
569
|
* @param {object} params.event Event object
|
|
570
570
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
571
571
|
*/
|
|
572
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
572
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
573
573
|
/**
|
|
574
574
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
575
575
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -239,7 +239,7 @@ defineProps<{
|
|
|
239
239
|
* or [drag-create](https://bryntum.com/products/calendar/docs/api/Calendar/feature/CalendarDrag), or [dragging in](#Calendar/feature/ExternalEventSource).
|
|
240
240
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-defaultCalendar)
|
|
241
241
|
*/
|
|
242
|
-
defaultCalendar ? : string|ResourceModel
|
|
242
|
+
defaultCalendar ? : string|number|ResourceModel
|
|
243
243
|
/**
|
|
244
244
|
* A [query](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
|
|
245
245
|
* focus should be directed by default.
|
|
@@ -676,6 +676,11 @@ defineProps<{
|
|
|
676
676
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-project)
|
|
677
677
|
*/
|
|
678
678
|
project ? : ProjectModel|ProjectModelConfig|object
|
|
679
|
+
/**
|
|
680
|
+
* The project model class to use when creating the project instance. Override this to use a custom project
|
|
681
|
+
* model class. In SchedulerPro and Gantt, this is overridden to use their respective project model classes.
|
|
682
|
+
*/
|
|
683
|
+
projectModelClass ? : typeof ProjectModel
|
|
679
684
|
/**
|
|
680
685
|
* The names of properties which are propagated down from the Calendar to child views
|
|
681
686
|
* unless the view has its own value for that property.
|
|
@@ -1126,7 +1131,7 @@ const emit = defineEmits<{
|
|
|
1126
1131
|
* @param {CalendarView} params.event.prevActiveItem The previously active view.
|
|
1127
1132
|
* @param {CalendarView} params.event.activeItem The new active view.
|
|
1128
1133
|
*/
|
|
1129
|
-
(e: 'beforeActiveItemChange', params: ((event: { source: Calendar, prevActiveItem: CalendarView, activeItem: CalendarView }) =>
|
|
1134
|
+
(e: 'beforeActiveItemChange', params: ((event: { source: Calendar, prevActiveItem: CalendarView, activeItem: CalendarView }) => boolean|void)|string): boolean|void
|
|
1130
1135
|
/**
|
|
1131
1136
|
* Fires before an assignment is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or
|
|
1132
1137
|
* by the event editor. Can for example be used to display a custom dialog to confirm deletion, in which
|
|
@@ -1154,7 +1159,7 @@ const emit = defineEmits<{
|
|
|
1154
1159
|
* @param {Scheduler.model.AssignmentModel[]} params.event.deselected An array of assignments that will be removed from the selection.
|
|
1155
1160
|
* @param {Scheduler.model.AssignmentModel[]} params.event.selection The currently selected assignments, before applying `selected` and `deselected`.
|
|
1156
1161
|
*/
|
|
1157
|
-
(e: 'beforeAssignmentSelectionChange', params: ((event: { source: Scheduler, action: 'select'|'deselect'|'update'|'clear', selected: AssignmentModel[], deselected: AssignmentModel[], selection: AssignmentModel[] }) =>
|
|
1162
|
+
(e: 'beforeAssignmentSelectionChange', params: ((event: { source: Scheduler, action: 'select'|'deselect'|'update'|'clear', selected: AssignmentModel[], deselected: AssignmentModel[], selection: AssignmentModel[] }) => boolean|void)|string): boolean|void
|
|
1158
1163
|
/**
|
|
1159
1164
|
* This event fires whenever a child view's [autoCreate gesture](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-autoCreate) is detected and also when a [drag-create](#Calendar/feature/CalendarDrag) gesture is detected.
|
|
1160
1165
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-beforeAutoCreate)
|
|
@@ -1168,7 +1173,7 @@ const emit = defineEmits<{
|
|
|
1168
1173
|
* @param {Date} params.event.endDate The ending time of the event to be created.
|
|
1169
1174
|
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The resource if the UI includes a resource.
|
|
1170
1175
|
*/
|
|
1171
|
-
(e: 'beforeAutoCreate', params: ((event: { source: CalendarView, domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel }) =>
|
|
1176
|
+
(e: 'beforeAutoCreate', params: ((event: { source: CalendarView, domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel }) => boolean|void)|string): boolean|void
|
|
1172
1177
|
/**
|
|
1173
1178
|
* Fires on the owning Scheduler before a copy action is performed, return `false` to prevent the action
|
|
1174
1179
|
* @param {string} e Event name
|
|
@@ -1189,7 +1194,7 @@ const emit = defineEmits<{
|
|
|
1189
1194
|
* @param {Calendar.view.Calendar} params.event.source This Calendar
|
|
1190
1195
|
* @param {AgendaViewConfig,DayResourceViewConfig,DayViewConfig,EventListConfig,MonthViewConfig,ResourceViewConfig,WeekViewConfig,YearViewConfig,DayAgendaViewConfig,MonthAgendaViewConfig,ContainerItemConfig} params.event.config The configuration block of the mode about to be created. Any property, including the `type` may be changed.
|
|
1191
1196
|
*/
|
|
1192
|
-
(e: 'beforeCreateMode', params: ((event: { source: Calendar, config: AgendaViewConfig|DayResourceViewConfig|DayViewConfig|EventListConfig|MonthViewConfig|ResourceViewConfig|WeekViewConfig|YearViewConfig|DayAgendaViewConfig|MonthAgendaViewConfig|ContainerItemConfig }) =>
|
|
1197
|
+
(e: 'beforeCreateMode', params: ((event: { source: Calendar, config: AgendaViewConfig|DayResourceViewConfig|DayViewConfig|EventListConfig|MonthViewConfig|ResourceViewConfig|WeekViewConfig|YearViewConfig|DayAgendaViewConfig|MonthAgendaViewConfig|ContainerItemConfig }) => boolean|void)|string): boolean|void
|
|
1193
1198
|
/**
|
|
1194
1199
|
* Fires on the owning Grid before CSV export starts. Return `false` to cancel the export.
|
|
1195
1200
|
* @param {string} e Event name
|
|
@@ -1201,7 +1206,7 @@ const emit = defineEmits<{
|
|
|
1201
1206
|
* @param {string} params.event.lineDelimiter The CSV delimiter to separate lines
|
|
1202
1207
|
* @param {string} params.event.columnDelimiter The CSV delimiter to separate values on one line
|
|
1203
1208
|
*/
|
|
1204
|
-
(e: 'beforeCSVExport', params: ((event: { config: ExportConfig, columns: Column[], rows: Model[], lineDelimiter: string, columnDelimiter: string }) =>
|
|
1209
|
+
(e: 'beforeCSVExport', params: ((event: { config: ExportConfig, columns: Column[], rows: Model[], lineDelimiter: string, columnDelimiter: string }) => boolean|void)|string): boolean|void
|
|
1205
1210
|
/**
|
|
1206
1211
|
* Fires before an object is destroyed.
|
|
1207
1212
|
* @param {string} e Event name
|
|
@@ -1224,7 +1229,7 @@ const emit = defineEmits<{
|
|
|
1224
1229
|
* @param {Calendar.feature.CalendarDrag} params.event.feature The Calendar drag feature instance.
|
|
1225
1230
|
* @param {CalendarView} params.event.view The Calendar widget in which the drag is being started.
|
|
1226
1231
|
*/
|
|
1227
|
-
(e: 'beforeDragCreate', params: ((event: { source: Calendar, drag: DragContext, domEvent: Event, date: Date, resourceRecord?: ResourceModel, feature: CalendarDrag, view: CalendarView }) =>
|
|
1232
|
+
(e: 'beforeDragCreate', params: ((event: { source: Calendar, drag: DragContext, domEvent: Event, date: Date, resourceRecord?: ResourceModel, feature: CalendarDrag, view: CalendarView }) => boolean|void)|string): boolean|void
|
|
1228
1233
|
/**
|
|
1229
1234
|
* This event fires on the owning Calendar before a drag creation gesture is completed. Return `false` to
|
|
1230
1235
|
* immediately veto the operation or a Promise yielding `true` or `false` for async vetoing.
|
|
@@ -1258,7 +1263,7 @@ const emit = defineEmits<{
|
|
|
1258
1263
|
* @param {Calendar.feature.CalendarDrag} params.event.feature The Calendar drag feature instance.
|
|
1259
1264
|
* @param {CalendarView} params.event.view The Calendar widget in which the drag is being started.
|
|
1260
1265
|
*/
|
|
1261
|
-
(e: 'beforeDragMove', params: ((event: { source: Calendar, drag: DragContext, domEvent: Event, eventRecord: EventModel, date: Date, resourceRecord?: ResourceModel, feature: CalendarDrag, view: CalendarView }) =>
|
|
1266
|
+
(e: 'beforeDragMove', params: ((event: { source: Calendar, drag: DragContext, domEvent: Event, eventRecord: EventModel, date: Date, resourceRecord?: ResourceModel, feature: CalendarDrag, view: CalendarView }) => boolean|void)|string): boolean|void
|
|
1262
1267
|
/**
|
|
1263
1268
|
* This event fires on the owning Calendar before a drag move gesture is completed. Return `false` to immediately veto the operation
|
|
1264
1269
|
* or a Promise yielding `true` or `false` for async vetoing.
|
|
@@ -1293,7 +1298,7 @@ const emit = defineEmits<{
|
|
|
1293
1298
|
* @param {Calendar.feature.CalendarDrag} params.event.feature The Calendar drag feature instance.
|
|
1294
1299
|
* @param {CalendarView} params.event.view The Calendar widget in which the drag is being started.
|
|
1295
1300
|
*/
|
|
1296
|
-
(e: 'beforeDragResize', params: ((event: { source: Calendar, drag: DragContext, domEvent: Event, eventRecord: EventModel, date: Date, resourceRecord?: ResourceModel, feature: CalendarDrag, view: CalendarView }) =>
|
|
1301
|
+
(e: 'beforeDragResize', params: ((event: { source: Calendar, drag: DragContext, domEvent: Event, eventRecord: EventModel, date: Date, resourceRecord?: ResourceModel, feature: CalendarDrag, view: CalendarView }) => boolean|void)|string): boolean|void
|
|
1297
1302
|
/**
|
|
1298
1303
|
* This event fires on the owning Calendar before a drag resize gesture is completed. Return `false` to immediately veto the operation
|
|
1299
1304
|
* or a Promise yielding `true` or `false` for async vetoing.
|
|
@@ -1333,7 +1338,7 @@ const emit = defineEmits<{
|
|
|
1333
1338
|
* @param {boolean} params.event.metaKey `true` if the Meta key was down when the last event was processed.
|
|
1334
1339
|
* @param {boolean} params.event.shiftKey `true` if the Shift key was down when the last event was processed.
|
|
1335
1340
|
*/
|
|
1336
|
-
(e: 'beforeDropExternal', params: ((event: { eventRecord: EventModel, dropOnCalendar: boolean, itemElement: HTMLElement, targetElement: HTMLElement, domEvent: Event, overIndex: number, overRecord: Model, isAbove: boolean, altKey: boolean, ctrlKey: boolean, metaKey: boolean, shiftKey: boolean }) =>
|
|
1341
|
+
(e: 'beforeDropExternal', params: ((event: { eventRecord: EventModel, dropOnCalendar: boolean, itemElement: HTMLElement, targetElement: HTMLElement, domEvent: Event, overIndex: number, overRecord: Model, isAbove: boolean, altKey: boolean, ctrlKey: boolean, metaKey: boolean, shiftKey: boolean }) => boolean|void)|string): boolean|void
|
|
1337
1342
|
/**
|
|
1338
1343
|
* Fires before an event is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or by the
|
|
1339
1344
|
* event editor. Can for example be used to display a custom dialog to confirm deletion, in which case
|
|
@@ -1348,7 +1353,7 @@ const emit = defineEmits<{
|
|
|
1348
1353
|
* @param {Function} params.event.context.finalize Function to call to finalize the removal. Used to asynchronously decide to remove the records or not. Provide `false` to the function to prevent the removal.
|
|
1349
1354
|
* @param {boolean} [params.event.context.finalize.removeRecords] Provide `false` to the function to prevent the removal.
|
|
1350
1355
|
*/
|
|
1351
|
-
(e: 'beforeEventDelete', params: ((event: { source: Calendar, eventRecords: EventModel[], context: { finalize: { removeRecords?: boolean } } }) =>
|
|
1356
|
+
(e: 'beforeEventDelete', params: ((event: { source: Calendar, eventRecords: EventModel[], context: { finalize: { removeRecords?: boolean } } }) => boolean|void)|string): boolean|void
|
|
1352
1357
|
/**
|
|
1353
1358
|
* Fires on the owning Scheduler before an event is displayed in an editor.
|
|
1354
1359
|
* This may be listened for to allow an application to take over event editing duties. Returning `false`
|
|
@@ -1363,7 +1368,7 @@ const emit = defineEmits<{
|
|
|
1363
1368
|
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The Resource record for the event. If the event is being created, it will not contain a resource, so this parameter specifies the resource the event is being created for.
|
|
1364
1369
|
* @param {HTMLElement} params.event.eventElement The element which represents the event in the scheduler display.
|
|
1365
1370
|
*/
|
|
1366
|
-
(e: 'beforeEventEdit', params: ((event: { source: Scheduler, eventEdit: SchedulerEventEdit, eventRecord: EventModel, resourceRecord: ResourceModel, eventElement: HTMLElement }) =>
|
|
1371
|
+
(e: 'beforeEventEdit', params: ((event: { source: Scheduler, eventEdit: SchedulerEventEdit, eventRecord: EventModel, resourceRecord: ResourceModel, eventElement: HTMLElement }) => boolean|void)|string): boolean|void
|
|
1367
1372
|
/**
|
|
1368
1373
|
* Fires on the owning Scheduler when the editor for an event is available but before it is populated with
|
|
1369
1374
|
* data and shown. Allows manipulating fields etc.
|
|
@@ -1406,7 +1411,7 @@ const emit = defineEmits<{
|
|
|
1406
1411
|
* @param {Scheduler.model.EventModel[]} params.event.deselected An array of events that will be removed from the selection.
|
|
1407
1412
|
* @param {Scheduler.model.EventModel[]} params.event.selection The currently selected events, before applying `selected` and `deselected`.
|
|
1408
1413
|
*/
|
|
1409
|
-
(e: 'beforeEventSelectionChange', params: ((event: { source: Scheduler, action: 'select'|'deselect'|'update'|'clear', selected: EventModel[], deselected: EventModel[], selection: EventModel[] }) =>
|
|
1414
|
+
(e: 'beforeEventSelectionChange', params: ((event: { source: Scheduler, action: 'select'|'deselect'|'update'|'clear', selected: EventModel[], deselected: EventModel[], selection: EventModel[] }) => boolean|void)|string): boolean|void
|
|
1410
1415
|
/**
|
|
1411
1416
|
* Fires on the owning Grid before Excel export starts. Return `false` to cancel the export.
|
|
1412
1417
|
* @param {string} e Event name
|
|
@@ -1416,7 +1421,7 @@ const emit = defineEmits<{
|
|
|
1416
1421
|
* @param {XLSColumn[]} params.event.columns An array of columns to export
|
|
1417
1422
|
* @param {any[][]} params.event.rows An array of records to export
|
|
1418
1423
|
*/
|
|
1419
|
-
(e: 'beforeExcelExport', params: ((event: { config: ExportConfig, columns: XLSColumn[], rows: any[] }) =>
|
|
1424
|
+
(e: 'beforeExcelExport', params: ((event: { config: ExportConfig, columns: XLSColumn[], rows: any[] }) => boolean|void)|string): boolean|void
|
|
1420
1425
|
/**
|
|
1421
1426
|
* Triggered before a widget is hidden. Return `false` to prevent the action.
|
|
1422
1427
|
* @param {string} e Event name
|
|
@@ -1424,7 +1429,7 @@ const emit = defineEmits<{
|
|
|
1424
1429
|
* @param {object} params.event Event object
|
|
1425
1430
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
1426
1431
|
*/
|
|
1427
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
1432
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
1428
1433
|
/**
|
|
1429
1434
|
* Fires on the owning Scheduler before a paste action is performed, return `false` to prevent the action.
|
|
1430
1435
|
* Depending on if the EventStore is using [singleAssignment](https://bryntum.com/products/calendar/docs/api/Scheduler/data/EventStore#config-singleAssignment) or the
|
|
@@ -1452,7 +1457,7 @@ const emit = defineEmits<{
|
|
|
1452
1457
|
* @param {object} params.event Event object
|
|
1453
1458
|
* @param {object} params.event.config Print config
|
|
1454
1459
|
*/
|
|
1455
|
-
(e: 'beforePrint', params: ((event: { config: object }) =>
|
|
1460
|
+
(e: 'beforePrint', params: ((event: { config: object }) => boolean|void)|string): boolean|void
|
|
1456
1461
|
/**
|
|
1457
1462
|
* Triggered before a new [responsiveState](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveState) is applied.
|
|
1458
1463
|
* @param {string} e Event name
|
|
@@ -1488,7 +1493,7 @@ const emit = defineEmits<{
|
|
|
1488
1493
|
* @param {object} params.event Event object
|
|
1489
1494
|
* @param {any} params.event.state State object config
|
|
1490
1495
|
*/
|
|
1491
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
1496
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
1492
1497
|
/**
|
|
1493
1498
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
1494
1499
|
* @param {string} e Event name
|
|
@@ -1496,7 +1501,7 @@ const emit = defineEmits<{
|
|
|
1496
1501
|
* @param {object} params.event Event object
|
|
1497
1502
|
* @param {any} params.event.state State object config
|
|
1498
1503
|
*/
|
|
1499
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
1504
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
1500
1505
|
/**
|
|
1501
1506
|
* Fires when any other event is fired from the object.
|
|
1502
1507
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-catchAll)
|
|
@@ -1682,7 +1687,7 @@ const emit = defineEmits<{
|
|
|
1682
1687
|
* @param {DayCell} params.event.cellData An object that contains data about the calendar cell for the date.
|
|
1683
1688
|
* @param {boolean} params.event.fromOverflowPopup `true` if the interaction was through the source view's [overflowPopup](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DayCellRenderer#property-overflowPopup).
|
|
1684
1689
|
*/
|
|
1685
|
-
(e: 'dayNumberClick', params: ((event: { source: CalendarView, domEvent: Event, date: Date, cellData: DayCell, fromOverflowPopup: boolean }) =>
|
|
1690
|
+
(e: 'dayNumberClick', params: ((event: { source: CalendarView, domEvent: Event, date: Date, cellData: DayCell, fromOverflowPopup: boolean }) => boolean|void)|string): boolean|void
|
|
1686
1691
|
/**
|
|
1687
1692
|
* Fires when an object is destroyed.
|
|
1688
1693
|
* @param {string} e Event name
|
|
@@ -1897,7 +1902,7 @@ const emit = defineEmits<{
|
|
|
1897
1902
|
* @param {HTMLElement} params.event.eventElement
|
|
1898
1903
|
* @param {MouseEvent} [params.event.event] Pointer event which triggered the context menu (if any)
|
|
1899
1904
|
*/
|
|
1900
|
-
(e: 'eventMenuBeforeShow', params: ((event: { source: Scheduler, items: Record<string, MenuItemEntry>, eventRecord: EventModel, resourceRecord: ResourceModel, assignmentRecord: AssignmentModel, eventElement: HTMLElement, event?: MouseEvent }) =>
|
|
1905
|
+
(e: 'eventMenuBeforeShow', params: ((event: { source: Scheduler, items: Record<string, MenuItemEntry>, eventRecord: EventModel, resourceRecord: ResourceModel, assignmentRecord: AssignmentModel, eventElement: HTMLElement, event?: MouseEvent }) => boolean|void)|string): boolean|void
|
|
1901
1906
|
/**
|
|
1902
1907
|
* This event fires on the owning Scheduler when an item is selected in the context menu.
|
|
1903
1908
|
* @param {string} e Event name
|
|
@@ -2093,7 +2098,7 @@ const emit = defineEmits<{
|
|
|
2093
2098
|
* @param {number} params.event.month The month index *(zero based)* clicked on.
|
|
2094
2099
|
* @param {Date} params.event.date The date of the first of the month clicked on.
|
|
2095
2100
|
*/
|
|
2096
|
-
(e: 'monthNameClick', params: ((event: { source: CalendarView, domEvent: Event, month: number, date: Date }) =>
|
|
2101
|
+
(e: 'monthNameClick', params: ((event: { source: CalendarView, domEvent: Event, month: number, date: Date }) => boolean|void)|string): boolean|void
|
|
2097
2102
|
/**
|
|
2098
2103
|
* Fired when a user gesture causes the active item to change.
|
|
2099
2104
|
* @param {string} e Event name
|
|
@@ -2260,7 +2265,7 @@ const emit = defineEmits<{
|
|
|
2260
2265
|
* @param {Scheduler.model.AssignmentModel} params.event.assignmentRecord Assignment record, if assignments are used
|
|
2261
2266
|
* @param {HTMLElement} params.event.eventElement
|
|
2262
2267
|
*/
|
|
2263
|
-
(e: 'scheduleMenuBeforeShow', params: ((event: { source: Scheduler, items: Record<string, MenuItemEntry>, resourceRecord: ResourceModel, date: Date, assignmentRecord: AssignmentModel, eventElement: HTMLElement }) =>
|
|
2268
|
+
(e: 'scheduleMenuBeforeShow', params: ((event: { source: Scheduler, items: Record<string, MenuItemEntry>, resourceRecord: ResourceModel, date: Date, assignmentRecord: AssignmentModel, eventElement: HTMLElement }) => boolean|void)|string): boolean|void
|
|
2264
2269
|
/**
|
|
2265
2270
|
* This event fires on the owning Scheduler or Gantt widget when an item is selected in the context menu.
|
|
2266
2271
|
* @param {string} e Event name
|
|
@@ -2441,7 +2446,7 @@ const emit = defineEmits<{
|
|
|
2441
2446
|
* @param {number[]} params.event.week The `[year, week]` clicked on.
|
|
2442
2447
|
* @param {Date} params.event.date The date clicked on.
|
|
2443
2448
|
*/
|
|
2444
|
-
(e: 'weekNumberClick', params: ((event: { source: CalendarView, domEvent: Event, week: number[], date: Date }) =>
|
|
2449
|
+
(e: 'weekNumberClick', params: ((event: { source: CalendarView, domEvent: Event, week: number[], date: Date }) => boolean|void)|string): boolean|void
|
|
2445
2450
|
}>();
|
|
2446
2451
|
|
|
2447
2452
|
const widgetData = {
|
|
@@ -2499,7 +2504,6 @@ const widgetData = {
|
|
|
2499
2504
|
'dataField',
|
|
2500
2505
|
'datePicker',
|
|
2501
2506
|
'defaultBindProperty',
|
|
2502
|
-
'defaultCalendar',
|
|
2503
2507
|
'defaultFocus',
|
|
2504
2508
|
'defaults',
|
|
2505
2509
|
'deselectOnClick',
|
|
@@ -2545,6 +2549,7 @@ const widgetData = {
|
|
|
2545
2549
|
'overlaySidebar',
|
|
2546
2550
|
'positioned',
|
|
2547
2551
|
'preventTooltipOnTouch',
|
|
2552
|
+
'projectModelClass',
|
|
2548
2553
|
'propagatedConfigs',
|
|
2549
2554
|
'relayStoreEvents',
|
|
2550
2555
|
'resourceImagePath',
|
|
@@ -2597,6 +2602,7 @@ const widgetData = {
|
|
|
2597
2602
|
'dataset',
|
|
2598
2603
|
'date',
|
|
2599
2604
|
'dateFormat',
|
|
2605
|
+
'defaultCalendar',
|
|
2600
2606
|
'deselectAllOnScheduleClick',
|
|
2601
2607
|
'disabled',
|
|
2602
2608
|
'events',
|
|
@@ -950,7 +950,7 @@ const emit = defineEmits<{
|
|
|
950
950
|
* @param {object} params.event Event object
|
|
951
951
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
952
952
|
*/
|
|
953
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
953
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
954
954
|
/**
|
|
955
955
|
* Fires before this CalendarPanel refreshes in response to changes in its month.
|
|
956
956
|
* @param {string} e Event name
|
|
@@ -984,7 +984,7 @@ const emit = defineEmits<{
|
|
|
984
984
|
* @param {object} params.event Event object
|
|
985
985
|
* @param {any} params.event.state State object config
|
|
986
986
|
*/
|
|
987
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
987
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
988
988
|
/**
|
|
989
989
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
990
990
|
* @param {string} e Event name
|
|
@@ -992,7 +992,7 @@ const emit = defineEmits<{
|
|
|
992
992
|
* @param {object} params.event Event object
|
|
993
993
|
* @param {any} params.event.state State object config
|
|
994
994
|
*/
|
|
995
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
995
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
996
996
|
/**
|
|
997
997
|
* Fires when any other event is fired from the object.
|
|
998
998
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/CalendarDatePicker#event-catchAll)
|