@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
|
@@ -1105,7 +1105,7 @@ const emit = defineEmits<{
|
|
|
1105
1105
|
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The resource if the UI includes a resource.
|
|
1106
1106
|
* @param {CalendarView} params.event.view This view.
|
|
1107
1107
|
*/
|
|
1108
|
-
(e: 'beforeAutoCreate', params: ((event: { domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel, view: CalendarView }) =>
|
|
1108
|
+
(e: 'beforeAutoCreate', params: ((event: { domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel, view: CalendarView }) => boolean|void)|string): boolean|void
|
|
1109
1109
|
/**
|
|
1110
1110
|
* Triggered before a view's orientating date changes.
|
|
1111
1111
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthAgendaView#event-beforeChangeDate)
|
|
@@ -1115,7 +1115,7 @@ const emit = defineEmits<{
|
|
|
1115
1115
|
* @param {Date} params.event.oldDate The current orientating date of this view.
|
|
1116
1116
|
* @param {Date} params.event.date The new date to which this view is to be orientated.
|
|
1117
1117
|
*/
|
|
1118
|
-
(e: 'beforeChangeDate', params: ((event: { oldDate: Date, date: Date }) =>
|
|
1118
|
+
(e: 'beforeChangeDate', params: ((event: { oldDate: Date, date: Date }) => boolean|void)|string): boolean|void
|
|
1119
1119
|
/**
|
|
1120
1120
|
* Fires before an object is destroyed.
|
|
1121
1121
|
* @param {string} e Event name
|
|
@@ -1131,7 +1131,7 @@ const emit = defineEmits<{
|
|
|
1131
1131
|
* @param {object} params.event Event object
|
|
1132
1132
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
1133
1133
|
*/
|
|
1134
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
1134
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
1135
1135
|
/**
|
|
1136
1136
|
* Fires before this CalendarPanel refreshes in response to changes in its month.
|
|
1137
1137
|
* @param {string} e Event name
|
|
@@ -1165,7 +1165,7 @@ const emit = defineEmits<{
|
|
|
1165
1165
|
* @param {object} params.event Event object
|
|
1166
1166
|
* @param {any} params.event.state State object config
|
|
1167
1167
|
*/
|
|
1168
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
1168
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
1169
1169
|
/**
|
|
1170
1170
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
1171
1171
|
* @param {string} e Event name
|
|
@@ -1173,7 +1173,7 @@ const emit = defineEmits<{
|
|
|
1173
1173
|
* @param {object} params.event Event object
|
|
1174
1174
|
* @param {any} params.event.state State object config
|
|
1175
1175
|
*/
|
|
1176
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
1176
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
1177
1177
|
/**
|
|
1178
1178
|
* Fires when any other event is fired from the object.
|
|
1179
1179
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthAgendaView#event-catchAll)
|
|
@@ -976,7 +976,7 @@ const emit = defineEmits<{
|
|
|
976
976
|
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The resource if the UI includes a resource.
|
|
977
977
|
* @param {CalendarView} params.event.view This view.
|
|
978
978
|
*/
|
|
979
|
-
(e: 'beforeAutoCreate', params: ((event: { domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel, view: CalendarView }) =>
|
|
979
|
+
(e: 'beforeAutoCreate', params: ((event: { domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel, view: CalendarView }) => boolean|void)|string): boolean|void
|
|
980
980
|
/**
|
|
981
981
|
* Triggered before a view's orientating date changes.
|
|
982
982
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthGrid#event-beforeChangeDate)
|
|
@@ -986,7 +986,7 @@ const emit = defineEmits<{
|
|
|
986
986
|
* @param {Date} params.event.oldDate The current orientating date of this view.
|
|
987
987
|
* @param {Date} params.event.date The new date to which this view is to be orientated.
|
|
988
988
|
*/
|
|
989
|
-
(e: 'beforeChangeDate', params: ((event: { oldDate: Date, date: Date }) =>
|
|
989
|
+
(e: 'beforeChangeDate', params: ((event: { oldDate: Date, date: Date }) => boolean|void)|string): boolean|void
|
|
990
990
|
/**
|
|
991
991
|
* Fires before an object is destroyed.
|
|
992
992
|
* @param {string} e Event name
|
|
@@ -1002,7 +1002,7 @@ const emit = defineEmits<{
|
|
|
1002
1002
|
* @param {object} params.event Event object
|
|
1003
1003
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
1004
1004
|
*/
|
|
1005
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
1005
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
1006
1006
|
/**
|
|
1007
1007
|
* Triggered before a new [responsiveState](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveState) is applied.
|
|
1008
1008
|
* @param {string} e Event name
|
|
@@ -1042,7 +1042,7 @@ const emit = defineEmits<{
|
|
|
1042
1042
|
* @param {Date} params.event.date The date which has overflowing events
|
|
1043
1043
|
* @param {Calendar.widget.OverflowPopup} params.event.overflowPopup The overflow `Popup`.
|
|
1044
1044
|
*/
|
|
1045
|
-
(e: 'beforeShowOverflowPopup', params: ((event: { cell: HTMLElement, cellData: DayCell, date: Date, overflowPopup: OverflowPopup }) =>
|
|
1045
|
+
(e: 'beforeShowOverflowPopup', params: ((event: { cell: HTMLElement, cellData: DayCell, date: Date, overflowPopup: OverflowPopup }) => boolean|void)|string): boolean|void
|
|
1046
1046
|
/**
|
|
1047
1047
|
* Fired before state is applied to the source. Allows editing the state object or preventing the operation.
|
|
1048
1048
|
* @param {string} e Event name
|
|
@@ -1050,7 +1050,7 @@ const emit = defineEmits<{
|
|
|
1050
1050
|
* @param {object} params.event Event object
|
|
1051
1051
|
* @param {any} params.event.state State object config
|
|
1052
1052
|
*/
|
|
1053
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
1053
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
1054
1054
|
/**
|
|
1055
1055
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
1056
1056
|
* @param {string} e Event name
|
|
@@ -1058,7 +1058,7 @@ const emit = defineEmits<{
|
|
|
1058
1058
|
* @param {object} params.event Event object
|
|
1059
1059
|
* @param {any} params.event.state State object config
|
|
1060
1060
|
*/
|
|
1061
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
1061
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
1062
1062
|
/**
|
|
1063
1063
|
* Fires when any other event is fired from the object.
|
|
1064
1064
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthGrid#event-catchAll)
|
|
@@ -1215,7 +1215,7 @@ const emit = defineEmits<{
|
|
|
1215
1215
|
* @param {Core.data.Model} params.event.groupRecord The group record that was clicked.
|
|
1216
1216
|
* @param {Event} params.event.domEvent The intigating DOM event.
|
|
1217
1217
|
*/
|
|
1218
|
-
(e: 'groupRecordClick', params: ((event: { source: MonthGrid, groupBar: HTMLElement, groupRecord: Model, domEvent: Event }) =>
|
|
1218
|
+
(e: 'groupRecordClick', params: ((event: { source: MonthGrid, groupBar: HTMLElement, groupRecord: Model, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
1219
1219
|
/**
|
|
1220
1220
|
* Fires when a group record is right clicked.
|
|
1221
1221
|
* @param {string} e Event name
|
|
@@ -657,7 +657,7 @@ const emit = defineEmits<{
|
|
|
657
657
|
* @param {object} params.event Event object
|
|
658
658
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
659
659
|
*/
|
|
660
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
660
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
661
661
|
/**
|
|
662
662
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
663
663
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -683,7 +683,7 @@ const emit = defineEmits<{
|
|
|
683
683
|
* @param {object} params.event Event object
|
|
684
684
|
* @param {any} params.event.state State object config
|
|
685
685
|
*/
|
|
686
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
686
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
687
687
|
/**
|
|
688
688
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
689
689
|
* @param {string} e Event name
|
|
@@ -691,7 +691,7 @@ const emit = defineEmits<{
|
|
|
691
691
|
* @param {object} params.event Event object
|
|
692
692
|
* @param {any} params.event.state State object config
|
|
693
693
|
*/
|
|
694
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
694
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
695
695
|
/**
|
|
696
696
|
* Fires when any other event is fired from the object.
|
|
697
697
|
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/MonthPicker#event-catchAll)
|
|
@@ -1135,7 +1135,7 @@ const emit = defineEmits<{
|
|
|
1135
1135
|
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The resource if the UI includes a resource.
|
|
1136
1136
|
* @param {CalendarView} params.event.view This view.
|
|
1137
1137
|
*/
|
|
1138
|
-
(e: 'beforeAutoCreate', params: ((event: { domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel, view: CalendarView }) =>
|
|
1138
|
+
(e: 'beforeAutoCreate', params: ((event: { domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel, view: CalendarView }) => boolean|void)|string): boolean|void
|
|
1139
1139
|
/**
|
|
1140
1140
|
* Triggered before a view's orientating date changes.
|
|
1141
1141
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#event-beforeChangeDate)
|
|
@@ -1145,7 +1145,7 @@ const emit = defineEmits<{
|
|
|
1145
1145
|
* @param {Date} params.event.oldDate The current orientating date of this view.
|
|
1146
1146
|
* @param {Date} params.event.date The new date to which this view is to be orientated.
|
|
1147
1147
|
*/
|
|
1148
|
-
(e: 'beforeChangeDate', params: ((event: { oldDate: Date, date: Date }) =>
|
|
1148
|
+
(e: 'beforeChangeDate', params: ((event: { oldDate: Date, date: Date }) => boolean|void)|string): boolean|void
|
|
1149
1149
|
/**
|
|
1150
1150
|
* Fires before an object is destroyed.
|
|
1151
1151
|
* @param {string} e Event name
|
|
@@ -1161,7 +1161,7 @@ const emit = defineEmits<{
|
|
|
1161
1161
|
* @param {object} params.event Event object
|
|
1162
1162
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
1163
1163
|
*/
|
|
1164
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
1164
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
1165
1165
|
/**
|
|
1166
1166
|
* Fires before this CalendarPanel refreshes in response to changes in its month.
|
|
1167
1167
|
* @param {string} e Event name
|
|
@@ -1209,7 +1209,7 @@ const emit = defineEmits<{
|
|
|
1209
1209
|
* @param {Date} params.event.date The date which has overflowing events
|
|
1210
1210
|
* @param {Calendar.widget.OverflowPopup} params.event.overflowPopup The overflow `Popup`.
|
|
1211
1211
|
*/
|
|
1212
|
-
(e: 'beforeShowOverflowPopup', params: ((event: { cell: HTMLElement, cellData: DayCell, date: Date, overflowPopup: OverflowPopup }) =>
|
|
1212
|
+
(e: 'beforeShowOverflowPopup', params: ((event: { cell: HTMLElement, cellData: DayCell, date: Date, overflowPopup: OverflowPopup }) => boolean|void)|string): boolean|void
|
|
1213
1213
|
/**
|
|
1214
1214
|
* Fired before state is applied to the source. Allows editing the state object or preventing the operation.
|
|
1215
1215
|
* @param {string} e Event name
|
|
@@ -1217,7 +1217,7 @@ const emit = defineEmits<{
|
|
|
1217
1217
|
* @param {object} params.event Event object
|
|
1218
1218
|
* @param {any} params.event.state State object config
|
|
1219
1219
|
*/
|
|
1220
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
1220
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
1221
1221
|
/**
|
|
1222
1222
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
1223
1223
|
* @param {string} e Event name
|
|
@@ -1225,7 +1225,7 @@ const emit = defineEmits<{
|
|
|
1225
1225
|
* @param {object} params.event Event object
|
|
1226
1226
|
* @param {any} params.event.state State object config
|
|
1227
1227
|
*/
|
|
1228
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
1228
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
1229
1229
|
/**
|
|
1230
1230
|
* Fires when any other event is fired from the object.
|
|
1231
1231
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#event-catchAll)
|
|
@@ -97,6 +97,15 @@ defineProps<{
|
|
|
97
97
|
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/NumberField#config-changeOnSpin)
|
|
98
98
|
*/
|
|
99
99
|
changeOnSpin ? : Boolean|number
|
|
100
|
+
/**
|
|
101
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
102
|
+
* 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)
|
|
103
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
104
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/NumberField#config-checkValidity)
|
|
105
|
+
* @param {Core.widget.Field} field The field being validated
|
|
106
|
+
* @returns {void}
|
|
107
|
+
*/
|
|
108
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
100
109
|
/**
|
|
101
110
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
102
111
|
* in the [triggers](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|
|
@@ -668,7 +677,7 @@ const emit = defineEmits<{
|
|
|
668
677
|
* @param {object} params.event Event object
|
|
669
678
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
670
679
|
*/
|
|
671
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
680
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
672
681
|
/**
|
|
673
682
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
674
683
|
* @param {string} e Event name
|
|
@@ -842,6 +851,7 @@ const widgetData = {
|
|
|
842
851
|
'bubbleEvents',
|
|
843
852
|
'centered',
|
|
844
853
|
'changeOnSpin',
|
|
854
|
+
'checkValidity',
|
|
845
855
|
'clearable',
|
|
846
856
|
'color',
|
|
847
857
|
'config',
|
|
@@ -83,6 +83,15 @@ export declare type BryntumNumberFieldProps = {
|
|
|
83
83
|
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/NumberField#config-changeOnSpin)
|
|
84
84
|
*/
|
|
85
85
|
changeOnSpin ? : Boolean|number
|
|
86
|
+
/**
|
|
87
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
88
|
+
* 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)
|
|
89
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
90
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/NumberField#config-checkValidity)
|
|
91
|
+
* @param {Core.widget.Field} field The field being validated
|
|
92
|
+
* @returns {void}
|
|
93
|
+
*/
|
|
94
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
86
95
|
/**
|
|
87
96
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
88
97
|
* in the [triggers](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|
|
@@ -575,7 +575,7 @@ const emit = defineEmits<{
|
|
|
575
575
|
* @param {object} params.event Event object
|
|
576
576
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
577
577
|
*/
|
|
578
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
578
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
579
579
|
/**
|
|
580
580
|
* This event is fired on the owning Toolbar prior to starting a drag gesture. The drag is canceled if
|
|
581
581
|
* a listener returns `false`.
|
|
@@ -586,7 +586,7 @@ const emit = defineEmits<{
|
|
|
586
586
|
* @param {Core.widget.Widget} params.event.item The dragged item.
|
|
587
587
|
* @param {Event} params.event.domEvent The browser event.
|
|
588
588
|
*/
|
|
589
|
-
(e: 'beforeItemDragStart', params: ((event: { source: Toolbar, item: Widget, domEvent: Event }) =>
|
|
589
|
+
(e: 'beforeItemDragStart', params: ((event: { source: Toolbar, item: Widget, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
590
590
|
/**
|
|
591
591
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
592
592
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -653,7 +653,7 @@ const emit = defineEmits<{
|
|
|
653
653
|
* @param {object} params.event Event object
|
|
654
654
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
655
655
|
*/
|
|
656
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
656
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
657
657
|
/**
|
|
658
658
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
659
659
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -679,7 +679,7 @@ const emit = defineEmits<{
|
|
|
679
679
|
* @param {object} params.event Event object
|
|
680
680
|
* @param {any} params.event.state State object config
|
|
681
681
|
*/
|
|
682
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
682
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
683
683
|
/**
|
|
684
684
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
685
685
|
* @param {string} e Event name
|
|
@@ -687,7 +687,7 @@ const emit = defineEmits<{
|
|
|
687
687
|
* @param {object} params.event Event object
|
|
688
688
|
* @param {any} params.event.state State object config
|
|
689
689
|
*/
|
|
690
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
690
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
691
691
|
/**
|
|
692
692
|
* Fires when any other event is fired from the object.
|
|
693
693
|
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#event-catchAll)
|
|
@@ -91,6 +91,15 @@ defineProps<{
|
|
|
91
91
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
92
92
|
*/
|
|
93
93
|
centered ? : Boolean
|
|
94
|
+
/**
|
|
95
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
96
|
+
* 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)
|
|
97
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
98
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/PasswordField#config-checkValidity)
|
|
99
|
+
* @param {Core.widget.Field} field The field being validated
|
|
100
|
+
* @returns {void}
|
|
101
|
+
*/
|
|
102
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
94
103
|
/**
|
|
95
104
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
96
105
|
* in the [triggers](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|
|
@@ -620,7 +629,7 @@ const emit = defineEmits<{
|
|
|
620
629
|
* @param {object} params.event Event object
|
|
621
630
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
622
631
|
*/
|
|
623
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
632
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
624
633
|
/**
|
|
625
634
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
626
635
|
* @param {string} e Event name
|
|
@@ -793,6 +802,7 @@ const widgetData = {
|
|
|
793
802
|
'autoSelect',
|
|
794
803
|
'bubbleEvents',
|
|
795
804
|
'centered',
|
|
805
|
+
'checkValidity',
|
|
796
806
|
'clearable',
|
|
797
807
|
'color',
|
|
798
808
|
'config',
|
|
@@ -77,6 +77,15 @@ export declare type BryntumPasswordFieldProps = {
|
|
|
77
77
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
78
78
|
*/
|
|
79
79
|
centered ? : Boolean
|
|
80
|
+
/**
|
|
81
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
82
|
+
* 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)
|
|
83
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
84
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/PasswordField#config-checkValidity)
|
|
85
|
+
* @param {Core.widget.Field} field The field being validated
|
|
86
|
+
* @returns {void}
|
|
87
|
+
*/
|
|
88
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
80
89
|
/**
|
|
81
90
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
82
91
|
* in the [triggers](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|
|
@@ -466,7 +466,7 @@ const emit = defineEmits<{
|
|
|
466
466
|
* @param {object} params.event Event object
|
|
467
467
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
468
468
|
*/
|
|
469
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
469
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
470
470
|
/**
|
|
471
471
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
472
472
|
* @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/Scheduler/widget/ProjectCombo#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`.
|
|
@@ -817,7 +826,7 @@ const emit = defineEmits<{
|
|
|
817
826
|
* @param {object} params.event Event object
|
|
818
827
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
819
828
|
*/
|
|
820
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
829
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
821
830
|
/**
|
|
822
831
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
823
832
|
* @param {string} e Event name
|
|
@@ -1005,6 +1014,7 @@ const widgetData = {
|
|
|
1005
1014
|
'cacheLastResult',
|
|
1006
1015
|
'caseSensitive',
|
|
1007
1016
|
'centered',
|
|
1017
|
+
'checkValidity',
|
|
1008
1018
|
'chipView',
|
|
1009
1019
|
'clearable',
|
|
1010
1020
|
'clearTextOnPickerHide',
|
|
@@ -90,6 +90,15 @@ export declare type BryntumProjectComboProps = {
|
|
|
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/Scheduler/widget/ProjectCombo#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`.
|
|
@@ -108,6 +108,15 @@ defineProps<{
|
|
|
108
108
|
* A value of `undefined` will cause this widget not to include its value when checked.
|
|
109
109
|
*/
|
|
110
110
|
checkedValue ? : any
|
|
111
|
+
/**
|
|
112
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
113
|
+
* 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)
|
|
114
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
115
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/Radio#config-checkValidity)
|
|
116
|
+
* @param {Core.widget.Field} field The field being validated
|
|
117
|
+
* @returns {void}
|
|
118
|
+
*/
|
|
119
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
111
120
|
/**
|
|
112
121
|
* Custom CSS classes to add to element.
|
|
113
122
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -624,7 +633,7 @@ const emit = defineEmits<{
|
|
|
624
633
|
* @param {boolean} params.event.valid True if this field is in a valid state.
|
|
625
634
|
* @param {Event} params.event.event The triggering DOM event if any
|
|
626
635
|
*/
|
|
627
|
-
(e: 'beforeChange', params: ((event: { source: Checkbox, checked: boolean, value: boolean, oldValue: boolean, userAction: boolean, valid: boolean, event: Event }) =>
|
|
636
|
+
(e: 'beforeChange', params: ((event: { source: Checkbox, checked: boolean, value: boolean, oldValue: boolean, userAction: boolean, valid: boolean, event: Event }) => boolean|void)|string): boolean|void
|
|
628
637
|
/**
|
|
629
638
|
* Fires before an object is destroyed.
|
|
630
639
|
* @param {string} e Event name
|
|
@@ -640,7 +649,7 @@ const emit = defineEmits<{
|
|
|
640
649
|
* @param {object} params.event Event object
|
|
641
650
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
642
651
|
*/
|
|
643
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
652
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
644
653
|
/**
|
|
645
654
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
646
655
|
* @param {string} e Event name
|
|
@@ -824,6 +833,7 @@ const widgetData = {
|
|
|
824
833
|
'bubbleEvents',
|
|
825
834
|
'centered',
|
|
826
835
|
'checkedValue',
|
|
836
|
+
'checkValidity',
|
|
827
837
|
'color',
|
|
828
838
|
'config',
|
|
829
839
|
'constrainTo',
|
|
@@ -691,7 +691,7 @@ const emit = defineEmits<{
|
|
|
691
691
|
* @param {object} params.event Event object
|
|
692
692
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
693
693
|
*/
|
|
694
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
694
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
695
695
|
/**
|
|
696
696
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
697
697
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -717,7 +717,7 @@ const emit = defineEmits<{
|
|
|
717
717
|
* @param {object} params.event Event object
|
|
718
718
|
* @param {any} params.event.state State object config
|
|
719
719
|
*/
|
|
720
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
720
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
721
721
|
/**
|
|
722
722
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
723
723
|
* @param {string} e Event name
|
|
@@ -725,7 +725,7 @@ const emit = defineEmits<{
|
|
|
725
725
|
* @param {object} params.event Event object
|
|
726
726
|
* @param {any} params.event.state State object config
|
|
727
727
|
*/
|
|
728
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
728
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
729
729
|
/**
|
|
730
730
|
* Fires when any other event is fired from the object.
|
|
731
731
|
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/RadioGroup#event-catchAll)
|
|
@@ -94,6 +94,15 @@ export declare type BryntumRadioProps = {
|
|
|
94
94
|
* A value of `undefined` will cause this widget not to include its value when checked.
|
|
95
95
|
*/
|
|
96
96
|
checkedValue ? : any
|
|
97
|
+
/**
|
|
98
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
99
|
+
* 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)
|
|
100
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
101
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/Radio#config-checkValidity)
|
|
102
|
+
* @param {Core.widget.Field} field The field being validated
|
|
103
|
+
* @returns {void}
|
|
104
|
+
*/
|
|
105
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
97
106
|
/**
|
|
98
107
|
* Custom CSS classes to add to element.
|
|
99
108
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -731,7 +731,7 @@ const emit = defineEmits<{
|
|
|
731
731
|
* @param {object} params.event Event object
|
|
732
732
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
733
733
|
*/
|
|
734
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
734
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
735
735
|
/**
|
|
736
736
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
737
737
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -757,7 +757,7 @@ const emit = defineEmits<{
|
|
|
757
757
|
* @param {object} params.event Event object
|
|
758
758
|
* @param {any} params.event.state State object config
|
|
759
759
|
*/
|
|
760
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
760
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
761
761
|
/**
|
|
762
762
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
763
763
|
* @param {string} e Event name
|
|
@@ -765,7 +765,7 @@ const emit = defineEmits<{
|
|
|
765
765
|
* @param {object} params.event Event object
|
|
766
766
|
* @param {any} params.event.state State object config
|
|
767
767
|
*/
|
|
768
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
768
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
769
769
|
/**
|
|
770
770
|
* Fires when any other event is fired from the object.
|
|
771
771
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/RangeMenu#event-catchAll)
|
|
@@ -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/Scheduler/widget/ResourceCombo#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`.
|
|
@@ -819,7 +828,7 @@ const emit = defineEmits<{
|
|
|
819
828
|
* @param {object} params.event Event object
|
|
820
829
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
821
830
|
*/
|
|
822
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
831
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
823
832
|
/**
|
|
824
833
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
825
834
|
* @param {string} e Event name
|
|
@@ -1007,6 +1016,7 @@ const widgetData = {
|
|
|
1007
1016
|
'cacheLastResult',
|
|
1008
1017
|
'caseSensitive',
|
|
1009
1018
|
'centered',
|
|
1019
|
+
'checkValidity',
|
|
1010
1020
|
'chipView',
|
|
1011
1021
|
'clearable',
|
|
1012
1022
|
'clearTextOnPickerHide',
|
|
@@ -90,6 +90,15 @@ export declare type BryntumResourceComboProps = {
|
|
|
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/Scheduler/widget/ResourceCombo#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`.
|
|
@@ -572,7 +572,7 @@ const emit = defineEmits<{
|
|
|
572
572
|
* @param {object} params.event Event object
|
|
573
573
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
574
574
|
*/
|
|
575
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
575
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
576
576
|
/**
|
|
577
577
|
* User going to activate an item in the list either by pointer or keyboard.
|
|
578
578
|
* The active record, list item index, and the triggering event are passed.
|
|
@@ -586,7 +586,7 @@ const emit = defineEmits<{
|
|
|
586
586
|
* @param {number} params.event.index List item index
|
|
587
587
|
* @param {Event} params.event.event Triggering event
|
|
588
588
|
*/
|
|
589
|
-
(e: 'beforeItem', params: ((event: { source: List, item: HTMLElement, record: Model, index: number, event: Event }) =>
|
|
589
|
+
(e: 'beforeItem', params: ((event: { source: List, item: HTMLElement, record: Model, index: number, event: Event }) => boolean|void)|string): boolean|void
|
|
590
590
|
/**
|
|
591
591
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
592
592
|
* @param {string} e Event name
|