@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
|
@@ -202,7 +202,7 @@ export declare type BryntumCalendarProps = {
|
|
|
202
202
|
* or [drag-create](https://bryntum.com/products/calendar/docs/api/Calendar/feature/CalendarDrag), or [dragging in](#Calendar/feature/ExternalEventSource).
|
|
203
203
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-defaultCalendar)
|
|
204
204
|
*/
|
|
205
|
-
defaultCalendar ? : string|ResourceModel
|
|
205
|
+
defaultCalendar ? : string|number|ResourceModel
|
|
206
206
|
/**
|
|
207
207
|
* A [query](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
|
|
208
208
|
* focus should be directed by default.
|
|
@@ -639,6 +639,11 @@ export declare type BryntumCalendarProps = {
|
|
|
639
639
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-project)
|
|
640
640
|
*/
|
|
641
641
|
project ? : ProjectModel|ProjectModelConfig|object
|
|
642
|
+
/**
|
|
643
|
+
* The project model class to use when creating the project instance. Override this to use a custom project
|
|
644
|
+
* model class. In SchedulerPro and Gantt, this is overridden to use their respective project model classes.
|
|
645
|
+
*/
|
|
646
|
+
projectModelClass ? : typeof ProjectModel
|
|
642
647
|
/**
|
|
643
648
|
* The names of properties which are propagated down from the Calendar to child views
|
|
644
649
|
* unless the view has its own value for that property.
|
|
@@ -696,7 +696,7 @@ const emit = defineEmits<{
|
|
|
696
696
|
* @param {object} params.event Event object
|
|
697
697
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
698
698
|
*/
|
|
699
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
699
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
700
700
|
/**
|
|
701
701
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
702
702
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -722,7 +722,7 @@ const emit = defineEmits<{
|
|
|
722
722
|
* @param {object} params.event Event object
|
|
723
723
|
* @param {any} params.event.state State object config
|
|
724
724
|
*/
|
|
725
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
725
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
726
726
|
/**
|
|
727
727
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
728
728
|
* @param {string} e Event name
|
|
@@ -730,7 +730,7 @@ const emit = defineEmits<{
|
|
|
730
730
|
* @param {object} params.event Event object
|
|
731
731
|
* @param {any} params.event.state State object config
|
|
732
732
|
*/
|
|
733
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
733
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
734
734
|
/**
|
|
735
735
|
* Fired when the chat bubble tool icon is clicked.
|
|
736
736
|
* @param {string} e Event name
|
|
@@ -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/Checkbox#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',
|
|
@@ -709,7 +709,7 @@ const emit = defineEmits<{
|
|
|
709
709
|
* @param {object} params.event Event object
|
|
710
710
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
711
711
|
*/
|
|
712
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
712
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
713
713
|
/**
|
|
714
714
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
715
715
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -735,7 +735,7 @@ const emit = defineEmits<{
|
|
|
735
735
|
* @param {object} params.event Event object
|
|
736
736
|
* @param {any} params.event.state State object config
|
|
737
737
|
*/
|
|
738
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
738
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
739
739
|
/**
|
|
740
740
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
741
741
|
* @param {string} e Event name
|
|
@@ -743,7 +743,7 @@ const emit = defineEmits<{
|
|
|
743
743
|
* @param {object} params.event Event object
|
|
744
744
|
* @param {any} params.event.state State object config
|
|
745
745
|
*/
|
|
746
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
746
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
747
747
|
/**
|
|
748
748
|
* Fires when any other event is fired from the object.
|
|
749
749
|
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/CheckboxGroup#event-catchAll)
|
|
@@ -94,6 +94,15 @@ export declare type BryntumCheckboxProps = {
|
|
|
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/Checkbox#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
|
|
@@ -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/Grid/widget/ChecklistFilterCombo#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`.
|
|
@@ -824,7 +833,7 @@ const emit = defineEmits<{
|
|
|
824
833
|
* @param {object} params.event Event object
|
|
825
834
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
826
835
|
*/
|
|
827
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
836
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
828
837
|
/**
|
|
829
838
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
830
839
|
* @param {string} e Event name
|
|
@@ -1012,6 +1021,7 @@ const widgetData = {
|
|
|
1012
1021
|
'cacheLastResult',
|
|
1013
1022
|
'caseSensitive',
|
|
1014
1023
|
'centered',
|
|
1024
|
+
'checkValidity',
|
|
1015
1025
|
'chipView',
|
|
1016
1026
|
'clearable',
|
|
1017
1027
|
'clearTextOnPickerHide',
|
|
@@ -90,6 +90,15 @@ export declare type BryntumChecklistFilterComboProps = {
|
|
|
90
90
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
91
91
|
*/
|
|
92
92
|
centered ? : Boolean
|
|
93
|
+
/**
|
|
94
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
95
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-isValid)
|
|
96
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
97
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Grid/widget/ChecklistFilterCombo#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`.
|
|
@@ -567,7 +567,7 @@ const emit = defineEmits<{
|
|
|
567
567
|
* @param {object} params.event Event object
|
|
568
568
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
569
569
|
*/
|
|
570
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
570
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
571
571
|
/**
|
|
572
572
|
* User going to activate an item in the list either by pointer or keyboard.
|
|
573
573
|
* The active record, list item index, and the triggering event are passed.
|
|
@@ -581,7 +581,7 @@ const emit = defineEmits<{
|
|
|
581
581
|
* @param {number} params.event.index List item index
|
|
582
582
|
* @param {Event} params.event.event Triggering event
|
|
583
583
|
*/
|
|
584
|
-
(e: 'beforeItem', params: ((event: { source: List, item: HTMLElement, record: Model, index: number, event: Event }) =>
|
|
584
|
+
(e: 'beforeItem', params: ((event: { source: List, item: HTMLElement, record: Model, index: number, event: Event }) => boolean|void)|string): boolean|void
|
|
585
585
|
/**
|
|
586
586
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
587
587
|
* @param {string} e Event name
|
|
@@ -677,7 +677,7 @@ const emit = defineEmits<{
|
|
|
677
677
|
* @param {object} params.event Event object
|
|
678
678
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
679
679
|
*/
|
|
680
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
680
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
681
681
|
/**
|
|
682
682
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
683
683
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -703,7 +703,7 @@ const emit = defineEmits<{
|
|
|
703
703
|
* @param {object} params.event Event object
|
|
704
704
|
* @param {any} params.event.state State object config
|
|
705
705
|
*/
|
|
706
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
706
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
707
707
|
/**
|
|
708
708
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
709
709
|
* @param {string} e Event name
|
|
@@ -711,7 +711,7 @@ const emit = defineEmits<{
|
|
|
711
711
|
* @param {object} params.event Event object
|
|
712
712
|
* @param {any} params.event.state State object config
|
|
713
713
|
*/
|
|
714
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
714
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
715
715
|
/**
|
|
716
716
|
* Fires when any other event is fired from the object.
|
|
717
717
|
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/CodeEditor#event-catchAll)
|
|
@@ -99,6 +99,15 @@ defineProps<{
|
|
|
99
99
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
100
100
|
*/
|
|
101
101
|
centered ? : Boolean
|
|
102
|
+
/**
|
|
103
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
104
|
+
* 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)
|
|
105
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
106
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ColorField#config-checkValidity)
|
|
107
|
+
* @param {Core.widget.Field} field The field being validated
|
|
108
|
+
* @returns {void}
|
|
109
|
+
*/
|
|
110
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
102
111
|
/**
|
|
103
112
|
* 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
|
|
104
113
|
* 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
|
|
@@ -639,7 +648,7 @@ const emit = defineEmits<{
|
|
|
639
648
|
* @param {object} params.event Event object
|
|
640
649
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
641
650
|
*/
|
|
642
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
651
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
643
652
|
/**
|
|
644
653
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
645
654
|
* @param {string} e Event name
|
|
@@ -813,6 +822,7 @@ const widgetData = {
|
|
|
813
822
|
'autoSelect',
|
|
814
823
|
'bubbleEvents',
|
|
815
824
|
'centered',
|
|
825
|
+
'checkValidity',
|
|
816
826
|
'clearable',
|
|
817
827
|
'config',
|
|
818
828
|
'constrainTo',
|
|
@@ -85,6 +85,15 @@ export declare type BryntumColorFieldProps = {
|
|
|
85
85
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
86
86
|
*/
|
|
87
87
|
centered ? : Boolean
|
|
88
|
+
/**
|
|
89
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
90
|
+
* 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)
|
|
91
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
92
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ColorField#config-checkValidity)
|
|
93
|
+
* @param {Core.widget.Field} field The field being validated
|
|
94
|
+
* @returns {void}
|
|
95
|
+
*/
|
|
96
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
88
97
|
/**
|
|
89
98
|
* 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
|
|
90
99
|
* 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
|
|
@@ -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/Combo#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`.
|
|
@@ -815,7 +824,7 @@ const emit = defineEmits<{
|
|
|
815
824
|
* @param {object} params.event Event object
|
|
816
825
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
817
826
|
*/
|
|
818
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
827
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
819
828
|
/**
|
|
820
829
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
821
830
|
* @param {string} e Event name
|
|
@@ -1003,6 +1012,7 @@ const widgetData = {
|
|
|
1003
1012
|
'cacheLastResult',
|
|
1004
1013
|
'caseSensitive',
|
|
1005
1014
|
'centered',
|
|
1015
|
+
'checkValidity',
|
|
1006
1016
|
'chipView',
|
|
1007
1017
|
'clearable',
|
|
1008
1018
|
'clearTextOnPickerHide',
|
|
@@ -90,6 +90,15 @@ export declare type BryntumComboProps = {
|
|
|
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/Combo#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`.
|
|
@@ -547,7 +547,7 @@ const emit = defineEmits<{
|
|
|
547
547
|
* @param {object} params.event Event object
|
|
548
548
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
549
549
|
*/
|
|
550
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
550
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
551
551
|
/**
|
|
552
552
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
553
553
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -95,6 +95,15 @@ defineProps<{
|
|
|
95
95
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
96
96
|
*/
|
|
97
97
|
centered ? : Boolean
|
|
98
|
+
/**
|
|
99
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
100
|
+
* 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)
|
|
101
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
102
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateField#config-checkValidity)
|
|
103
|
+
* @param {Core.widget.Field} field The field being validated
|
|
104
|
+
* @returns {void}
|
|
105
|
+
*/
|
|
106
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
98
107
|
/**
|
|
99
108
|
* 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
|
|
100
109
|
* 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
|
|
@@ -700,7 +709,7 @@ const emit = defineEmits<{
|
|
|
700
709
|
* @param {object} params.event Event object
|
|
701
710
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
702
711
|
*/
|
|
703
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
712
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
704
713
|
/**
|
|
705
714
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
706
715
|
* @param {string} e Event name
|
|
@@ -874,6 +883,7 @@ const widgetData = {
|
|
|
874
883
|
'autoSelect',
|
|
875
884
|
'bubbleEvents',
|
|
876
885
|
'centered',
|
|
886
|
+
'checkValidity',
|
|
877
887
|
'clearable',
|
|
878
888
|
'color',
|
|
879
889
|
'config',
|
|
@@ -81,6 +81,15 @@ export declare type BryntumDateFieldProps = {
|
|
|
81
81
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
82
82
|
*/
|
|
83
83
|
centered ? : Boolean
|
|
84
|
+
/**
|
|
85
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
86
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-isValid)
|
|
87
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
88
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateField#config-checkValidity)
|
|
89
|
+
* @param {Core.widget.Field} field The field being validated
|
|
90
|
+
* @returns {void}
|
|
91
|
+
*/
|
|
92
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
84
93
|
/**
|
|
85
94
|
* 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
|
|
86
95
|
* 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
|
|
@@ -854,7 +854,7 @@ const emit = defineEmits<{
|
|
|
854
854
|
* @param {object} params.event Event object
|
|
855
855
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
856
856
|
*/
|
|
857
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
857
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
858
858
|
/**
|
|
859
859
|
* Fires before this CalendarPanel refreshes in response to changes in its month.
|
|
860
860
|
* @param {string} e Event name
|
|
@@ -888,7 +888,7 @@ const emit = defineEmits<{
|
|
|
888
888
|
* @param {object} params.event Event object
|
|
889
889
|
* @param {any} params.event.state State object config
|
|
890
890
|
*/
|
|
891
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
891
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
892
892
|
/**
|
|
893
893
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
894
894
|
* @param {string} e Event name
|
|
@@ -896,7 +896,7 @@ const emit = defineEmits<{
|
|
|
896
896
|
* @param {object} params.event Event object
|
|
897
897
|
* @param {any} params.event.state State object config
|
|
898
898
|
*/
|
|
899
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
899
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
900
900
|
/**
|
|
901
901
|
* Fires when any other event is fired from the object.
|
|
902
902
|
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#event-catchAll)
|
|
@@ -95,6 +95,15 @@ defineProps<{
|
|
|
95
95
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
96
96
|
*/
|
|
97
97
|
centered ? : Boolean
|
|
98
|
+
/**
|
|
99
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
100
|
+
* 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)
|
|
101
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
102
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateRangeField#config-checkValidity)
|
|
103
|
+
* @param {Core.widget.Field} field The field being validated
|
|
104
|
+
* @returns {void}
|
|
105
|
+
*/
|
|
106
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
98
107
|
/**
|
|
99
108
|
* 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
|
|
100
109
|
* 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
|
|
@@ -688,7 +697,7 @@ const emit = defineEmits<{
|
|
|
688
697
|
* @param {object} params.event Event object
|
|
689
698
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
690
699
|
*/
|
|
691
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
700
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
692
701
|
/**
|
|
693
702
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
694
703
|
* @param {string} e Event name
|
|
@@ -862,6 +871,7 @@ const widgetData = {
|
|
|
862
871
|
'autoSelect',
|
|
863
872
|
'bubbleEvents',
|
|
864
873
|
'centered',
|
|
874
|
+
'checkValidity',
|
|
865
875
|
'clearable',
|
|
866
876
|
'color',
|
|
867
877
|
'config',
|
|
@@ -81,6 +81,15 @@ export declare type BryntumDateRangeFieldProps = {
|
|
|
81
81
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
82
82
|
*/
|
|
83
83
|
centered ? : Boolean
|
|
84
|
+
/**
|
|
85
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
86
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-isValid)
|
|
87
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
88
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateRangeField#config-checkValidity)
|
|
89
|
+
* @param {Core.widget.Field} field The field being validated
|
|
90
|
+
* @returns {void}
|
|
91
|
+
*/
|
|
92
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
84
93
|
/**
|
|
85
94
|
* 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
|
|
86
95
|
* 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
|
|
@@ -86,6 +86,15 @@ defineProps<{
|
|
|
86
86
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
87
87
|
*/
|
|
88
88
|
centered ? : Boolean
|
|
89
|
+
/**
|
|
90
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
91
|
+
* 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)
|
|
92
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
93
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-checkValidity)
|
|
94
|
+
* @param {Core.widget.Field} field The field being validated
|
|
95
|
+
* @returns {void}
|
|
96
|
+
*/
|
|
97
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
89
98
|
/**
|
|
90
99
|
* 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
|
|
91
100
|
* 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
|
|
@@ -597,7 +606,7 @@ const emit = defineEmits<{
|
|
|
597
606
|
* @param {object} params.event Event object
|
|
598
607
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
599
608
|
*/
|
|
600
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
609
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
601
610
|
/**
|
|
602
611
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
603
612
|
* @param {string} e Event name
|
|
@@ -769,6 +778,7 @@ const widgetData = {
|
|
|
769
778
|
'autoSelect',
|
|
770
779
|
'bubbleEvents',
|
|
771
780
|
'centered',
|
|
781
|
+
'checkValidity',
|
|
772
782
|
'clearable',
|
|
773
783
|
'color',
|
|
774
784
|
'config',
|
|
@@ -72,6 +72,15 @@ export declare type BryntumDateTimeFieldProps = {
|
|
|
72
72
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
73
73
|
*/
|
|
74
74
|
centered ? : Boolean
|
|
75
|
+
/**
|
|
76
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
77
|
+
* 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)
|
|
78
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
79
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-checkValidity)
|
|
80
|
+
* @param {Core.widget.Field} field The field being validated
|
|
81
|
+
* @returns {void}
|
|
82
|
+
*/
|
|
83
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
75
84
|
/**
|
|
76
85
|
* 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
|
|
77
86
|
* 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
|
|
@@ -1196,7 +1196,7 @@ const emit = defineEmits<{
|
|
|
1196
1196
|
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The resource if the UI includes a resource.
|
|
1197
1197
|
* @param {CalendarView} params.event.view This view.
|
|
1198
1198
|
*/
|
|
1199
|
-
(e: 'beforeAutoCreate', params: ((event: { domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel, view: CalendarView }) =>
|
|
1199
|
+
(e: 'beforeAutoCreate', params: ((event: { domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel, view: CalendarView }) => boolean|void)|string): boolean|void
|
|
1200
1200
|
/**
|
|
1201
1201
|
* Triggered before a view's orientating date changes.
|
|
1202
1202
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayAgendaView#event-beforeChangeDate)
|
|
@@ -1206,7 +1206,7 @@ const emit = defineEmits<{
|
|
|
1206
1206
|
* @param {Date} params.event.oldDate The current orientating date of this view.
|
|
1207
1207
|
* @param {Date} params.event.date The new date to which this view is to be orientated.
|
|
1208
1208
|
*/
|
|
1209
|
-
(e: 'beforeChangeDate', params: ((event: { oldDate: Date, date: Date }) =>
|
|
1209
|
+
(e: 'beforeChangeDate', params: ((event: { oldDate: Date, date: Date }) => boolean|void)|string): boolean|void
|
|
1210
1210
|
/**
|
|
1211
1211
|
* Fires before an object is destroyed.
|
|
1212
1212
|
* @param {string} e Event name
|
|
@@ -1222,7 +1222,7 @@ const emit = defineEmits<{
|
|
|
1222
1222
|
* @param {object} params.event Event object
|
|
1223
1223
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
1224
1224
|
*/
|
|
1225
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
1225
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
1226
1226
|
/**
|
|
1227
1227
|
* Triggered before a new [responsiveState](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveState) is applied.
|
|
1228
1228
|
* @param {string} e Event name
|
|
@@ -1258,7 +1258,7 @@ const emit = defineEmits<{
|
|
|
1258
1258
|
* @param {object} params.event Event object
|
|
1259
1259
|
* @param {any} params.event.state State object config
|
|
1260
1260
|
*/
|
|
1261
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
1261
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
1262
1262
|
/**
|
|
1263
1263
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
1264
1264
|
* @param {string} e Event name
|
|
@@ -1266,7 +1266,7 @@ const emit = defineEmits<{
|
|
|
1266
1266
|
* @param {object} params.event Event object
|
|
1267
1267
|
* @param {any} params.event.state State object config
|
|
1268
1268
|
*/
|
|
1269
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
1269
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
1270
1270
|
/**
|
|
1271
1271
|
* Fires when any other event is fired from the object.
|
|
1272
1272
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayAgendaView#event-catchAll)
|