@bryntum/calendar-vue-3 7.3.0 → 7.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +17 -1
- package/src/components/BryntumAIFilterFieldProps.ts +15 -0
- package/src/components/BryntumAgendaView.vue +33 -27
- package/src/components/BryntumAgendaViewProps.ts +6 -0
- package/src/components/BryntumBooleanCombo.vue +17 -1
- package/src/components/BryntumBooleanComboProps.ts +15 -0
- package/src/components/BryntumButton.vue +9 -3
- package/src/components/BryntumButtonGroup.vue +7 -1
- package/src/components/BryntumButtonGroupProps.ts +6 -0
- package/src/components/BryntumButtonProps.ts +6 -0
- package/src/components/BryntumCalendar.vue +37 -25
- package/src/components/BryntumCalendarDatePicker.vue +9 -3
- package/src/components/BryntumCalendarDatePickerProps.ts +6 -0
- package/src/components/BryntumCalendarProps.ts +13 -2
- package/src/components/BryntumChatPanel.vue +9 -3
- package/src/components/BryntumChatPanelProps.ts +6 -0
- package/src/components/BryntumCheckbox.vue +18 -2
- package/src/components/BryntumCheckboxGroup.vue +9 -3
- package/src/components/BryntumCheckboxGroupProps.ts +6 -0
- package/src/components/BryntumCheckboxProps.ts +15 -0
- package/src/components/BryntumChecklistFilterCombo.vue +17 -1
- package/src/components/BryntumChecklistFilterComboProps.ts +15 -0
- package/src/components/BryntumChipView.vue +11 -3
- package/src/components/BryntumChipViewProps.ts +9 -1
- package/src/components/BryntumCodeEditor.vue +9 -3
- package/src/components/BryntumCodeEditorProps.ts +6 -0
- package/src/components/BryntumColorField.vue +17 -1
- package/src/components/BryntumColorFieldProps.ts +15 -0
- package/src/components/BryntumCombo.vue +17 -1
- package/src/components/BryntumComboProps.ts +15 -0
- package/src/components/BryntumContainer.vue +7 -1
- package/src/components/BryntumContainerProps.ts +6 -0
- package/src/components/BryntumDateField.vue +17 -1
- package/src/components/BryntumDateFieldProps.ts +15 -0
- package/src/components/BryntumDatePicker.vue +9 -3
- package/src/components/BryntumDatePickerProps.ts +6 -0
- package/src/components/BryntumDateRangeField.vue +17 -1
- package/src/components/BryntumDateRangeFieldProps.ts +15 -0
- package/src/components/BryntumDateTimeField.vue +17 -1
- package/src/components/BryntumDateTimeFieldProps.ts +15 -0
- package/src/components/BryntumDayAgendaView.vue +11 -5
- package/src/components/BryntumDayAgendaViewProps.ts +6 -0
- package/src/components/BryntumDayResourceView.vue +17 -7
- package/src/components/BryntumDayResourceViewProps.ts +12 -2
- package/src/components/BryntumDayView.vue +17 -7
- package/src/components/BryntumDayViewProps.ts +12 -2
- package/src/components/BryntumDemoCodeEditor.vue +9 -3
- package/src/components/BryntumDemoCodeEditorProps.ts +6 -0
- package/src/components/BryntumDisplayField.vue +17 -1
- package/src/components/BryntumDisplayFieldProps.ts +15 -0
- package/src/components/BryntumDurationField.vue +17 -1
- package/src/components/BryntumDurationFieldProps.ts +15 -0
- package/src/components/BryntumEditor.vue +11 -5
- package/src/components/BryntumEditorProps.ts +6 -0
- package/src/components/BryntumEventColorField.vue +17 -1
- package/src/components/BryntumEventColorFieldProps.ts +15 -0
- package/src/components/BryntumEventList.vue +33 -27
- package/src/components/BryntumEventListProps.ts +6 -0
- package/src/components/BryntumFieldFilterPicker.vue +7 -1
- package/src/components/BryntumFieldFilterPickerGroup.vue +8 -2
- package/src/components/BryntumFieldFilterPickerGroupProps.ts +6 -0
- package/src/components/BryntumFieldFilterPickerProps.ts +6 -0
- package/src/components/BryntumFieldSet.vue +9 -3
- package/src/components/BryntumFieldSetProps.ts +6 -0
- package/src/components/BryntumFileField.vue +17 -1
- package/src/components/BryntumFileFieldProps.ts +15 -0
- package/src/components/BryntumFilePicker.vue +7 -1
- package/src/components/BryntumFilePickerProps.ts +6 -0
- package/src/components/BryntumFilterField.vue +17 -1
- package/src/components/BryntumFilterFieldProps.ts +15 -0
- package/src/components/BryntumGrid.vue +31 -25
- package/src/components/BryntumGridBase.vue +31 -25
- package/src/components/BryntumGridBaseProps.ts +6 -0
- package/src/components/BryntumGridChartDesigner.vue +7 -1
- package/src/components/BryntumGridChartDesignerProps.ts +6 -0
- package/src/components/BryntumGridFieldFilterPicker.vue +7 -1
- package/src/components/BryntumGridFieldFilterPickerGroup.vue +8 -2
- package/src/components/BryntumGridFieldFilterPickerGroupProps.ts +6 -0
- package/src/components/BryntumGridFieldFilterPickerProps.ts +6 -0
- package/src/components/BryntumGridProps.ts +6 -0
- package/src/components/BryntumGroupBar.vue +11 -3
- package/src/components/BryntumGroupBarProps.ts +9 -1
- package/src/components/BryntumHint.vue +9 -3
- package/src/components/BryntumHintProps.ts +6 -0
- package/src/components/BryntumLabel.vue +7 -1
- package/src/components/BryntumLabelProps.ts +6 -0
- package/src/components/BryntumList.vue +8 -2
- package/src/components/BryntumListProps.ts +6 -0
- package/src/components/BryntumMenu.vue +9 -3
- package/src/components/BryntumMenuProps.ts +6 -0
- package/src/components/BryntumModeSelector.vue +7 -1
- package/src/components/BryntumModeSelectorProps.ts +6 -0
- package/src/components/BryntumMonthAgendaView.vue +11 -5
- package/src/components/BryntumMonthAgendaViewProps.ts +6 -0
- package/src/components/BryntumMonthGrid.vue +13 -7
- package/src/components/BryntumMonthGridProps.ts +6 -0
- package/src/components/BryntumMonthPicker.vue +9 -3
- package/src/components/BryntumMonthPickerProps.ts +6 -0
- package/src/components/BryntumMonthView.vue +12 -6
- package/src/components/BryntumMonthViewProps.ts +6 -0
- package/src/components/BryntumNumberField.vue +17 -1
- package/src/components/BryntumNumberFieldProps.ts +15 -0
- package/src/components/BryntumPagingToolbar.vue +8 -2
- package/src/components/BryntumPagingToolbarProps.ts +6 -0
- package/src/components/BryntumPanel.vue +9 -3
- package/src/components/BryntumPanelProps.ts +6 -0
- package/src/components/BryntumPasswordField.vue +17 -1
- package/src/components/BryntumPasswordFieldProps.ts +15 -0
- package/src/components/BryntumProgressBar.vue +7 -1
- package/src/components/BryntumProgressBarProps.ts +6 -0
- package/src/components/BryntumProjectCombo.vue +18 -2
- package/src/components/BryntumProjectComboProps.ts +16 -1
- package/src/components/BryntumRadio.vue +18 -2
- package/src/components/BryntumRadioGroup.vue +9 -3
- package/src/components/BryntumRadioGroupProps.ts +6 -0
- package/src/components/BryntumRadioProps.ts +15 -0
- package/src/components/BryntumRangeMenu.vue +9 -3
- package/src/components/BryntumRangeMenuProps.ts +6 -0
- package/src/components/BryntumResourceCombo.vue +17 -1
- package/src/components/BryntumResourceComboProps.ts +15 -0
- package/src/components/BryntumResourceFilter.vue +8 -2
- package/src/components/BryntumResourceFilterProps.ts +6 -0
- package/src/components/BryntumResourceView.vue +11 -5
- package/src/components/BryntumResourceViewProps.ts +6 -0
- package/src/components/BryntumScheduler.vue +67 -51
- package/src/components/BryntumSchedulerBase.vue +67 -51
- package/src/components/BryntumSchedulerBaseProps.ts +12 -1
- package/src/components/BryntumSchedulerDatePicker.vue +9 -3
- package/src/components/BryntumSchedulerDatePickerProps.ts +6 -0
- package/src/components/BryntumSchedulerProps.ts +12 -1
- package/src/components/BryntumSlideToggle.vue +18 -2
- package/src/components/BryntumSlideToggleProps.ts +15 -0
- package/src/components/BryntumSlider.vue +7 -1
- package/src/components/BryntumSliderProps.ts +6 -0
- package/src/components/BryntumSplitter.vue +7 -1
- package/src/components/BryntumSplitterProps.ts +6 -0
- package/src/components/BryntumTabPanel.vue +10 -4
- package/src/components/BryntumTabPanelProps.ts +6 -0
- package/src/components/BryntumTextAreaField.vue +17 -1
- package/src/components/BryntumTextAreaFieldProps.ts +15 -0
- package/src/components/BryntumTextAreaPickerField.vue +17 -1
- package/src/components/BryntumTextAreaPickerFieldProps.ts +15 -0
- package/src/components/BryntumTextField.vue +17 -1
- package/src/components/BryntumTextFieldProps.ts +15 -0
- package/src/components/BryntumTimeField.vue +17 -1
- package/src/components/BryntumTimeFieldProps.ts +15 -0
- package/src/components/BryntumTimePicker.vue +7 -1
- package/src/components/BryntumTimePickerProps.ts +6 -0
- package/src/components/BryntumTimeVisualizingEditor.vue +9 -3
- package/src/components/BryntumTimeVisualizingEditorProps.ts +6 -0
- package/src/components/BryntumTimeZoomSlider.vue +7 -1
- package/src/components/BryntumTimeZoomSliderProps.ts +6 -0
- package/src/components/BryntumTimelineHistogram.vue +36 -30
- package/src/components/BryntumTimelineHistogramProps.ts +6 -0
- package/src/components/BryntumToolbar.vue +8 -2
- package/src/components/BryntumToolbarProps.ts +6 -0
- package/src/components/BryntumTreeCombo.vue +17 -1
- package/src/components/BryntumTreeComboProps.ts +15 -0
- package/src/components/BryntumTreeGrid.vue +31 -25
- package/src/components/BryntumTreeGridProps.ts +6 -0
- package/src/components/BryntumUndoRedo.vue +8 -2
- package/src/components/BryntumUndoRedoProps.ts +7 -1
- package/src/components/BryntumViewPresetCombo.vue +17 -1
- package/src/components/BryntumViewPresetComboProps.ts +15 -0
- package/src/components/BryntumWeekView.vue +17 -7
- package/src/components/BryntumWeekViewProps.ts +12 -2
- package/src/components/BryntumWidget.vue +7 -1
- package/src/components/BryntumWidgetProps.ts +6 -0
- package/src/components/BryntumYearPicker.vue +9 -3
- package/src/components/BryntumYearPickerProps.ts +6 -0
- package/src/components/BryntumYearPlanner.vue +11 -5
- package/src/components/BryntumYearPlannerProps.ts +6 -0
- package/src/components/BryntumYearView.vue +12 -6
- package/src/components/BryntumYearViewProps.ts +6 -0
- 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
|
@@ -69,6 +69,8 @@ export declare type BryntumDayViewProps = {
|
|
|
69
69
|
/**
|
|
70
70
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
71
71
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).
|
|
72
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
73
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-appendTo)
|
|
72
74
|
*/
|
|
73
75
|
appendTo ? : HTMLElement|string
|
|
74
76
|
/**
|
|
@@ -455,9 +457,13 @@ export declare type BryntumDayViewProps = {
|
|
|
455
457
|
*/
|
|
456
458
|
eventSorter ? : (lhs: EventModel|EventBar, rhs: EventModel|EventBar) => number
|
|
457
459
|
/**
|
|
458
|
-
*
|
|
460
|
+
* The amount of vertical spacing applied to events. May be a single number giving the
|
|
461
|
+
* bottom spacing in pixels, or an object specifying both top and bottom spacings:
|
|
462
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-eventSpacing)
|
|
463
|
+
* @property {number} [top] The top spacing in pixels.
|
|
464
|
+
* @property {number} [bottom] The bottom spacing in pixels.
|
|
459
465
|
*/
|
|
460
|
-
eventSpacing ? : number
|
|
466
|
+
eventSpacing ? : number|object
|
|
461
467
|
/**
|
|
462
468
|
* By default, the end date of an all day event is displayed in the UI as
|
|
463
469
|
* the last calendar date on which the event falls. For most end users, this is the
|
|
@@ -592,10 +598,14 @@ export declare type BryntumDayViewProps = {
|
|
|
592
598
|
inputFieldAlign ? : 'start'|'end'
|
|
593
599
|
/**
|
|
594
600
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
601
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
602
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-insertBefore)
|
|
595
603
|
*/
|
|
596
604
|
insertBefore ? : HTMLElement|string
|
|
597
605
|
/**
|
|
598
606
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
607
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
608
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-insertFirst)
|
|
599
609
|
*/
|
|
600
610
|
insertFirst ? : HTMLElement|string
|
|
601
611
|
/**
|
|
@@ -42,6 +42,8 @@ defineProps<{
|
|
|
42
42
|
/**
|
|
43
43
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
44
44
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).
|
|
45
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
46
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DemoCodeEditor#config-appendTo)
|
|
45
47
|
*/
|
|
46
48
|
appendTo ? : HTMLElement|string
|
|
47
49
|
/**
|
|
@@ -312,10 +314,14 @@ defineProps<{
|
|
|
312
314
|
inputFieldAlign ? : 'start'|'end'
|
|
313
315
|
/**
|
|
314
316
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
317
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
318
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DemoCodeEditor#config-insertBefore)
|
|
315
319
|
*/
|
|
316
320
|
insertBefore ? : HTMLElement|string
|
|
317
321
|
/**
|
|
318
322
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
323
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
324
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DemoCodeEditor#config-insertFirst)
|
|
319
325
|
*/
|
|
320
326
|
insertFirst ? : HTMLElement|string
|
|
321
327
|
/**
|
|
@@ -690,7 +696,7 @@ const emit = defineEmits<{
|
|
|
690
696
|
* @param {object} params.event Event object
|
|
691
697
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
692
698
|
*/
|
|
693
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
699
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
694
700
|
/**
|
|
695
701
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
696
702
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -716,7 +722,7 @@ const emit = defineEmits<{
|
|
|
716
722
|
* @param {object} params.event Event object
|
|
717
723
|
* @param {any} params.event.state State object config
|
|
718
724
|
*/
|
|
719
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
725
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
720
726
|
/**
|
|
721
727
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
722
728
|
* @param {string} e Event name
|
|
@@ -724,7 +730,7 @@ const emit = defineEmits<{
|
|
|
724
730
|
* @param {object} params.event Event object
|
|
725
731
|
* @param {any} params.event.state State object config
|
|
726
732
|
*/
|
|
727
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
733
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
728
734
|
/**
|
|
729
735
|
* Fires when any other event is fired from the object.
|
|
730
736
|
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DemoCodeEditor#event-catchAll)
|
|
@@ -28,6 +28,8 @@ export declare type BryntumDemoCodeEditorProps = {
|
|
|
28
28
|
/**
|
|
29
29
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
30
30
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).
|
|
31
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
32
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DemoCodeEditor#config-appendTo)
|
|
31
33
|
*/
|
|
32
34
|
appendTo ? : HTMLElement|string
|
|
33
35
|
/**
|
|
@@ -298,10 +300,14 @@ export declare type BryntumDemoCodeEditorProps = {
|
|
|
298
300
|
inputFieldAlign ? : 'start'|'end'
|
|
299
301
|
/**
|
|
300
302
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
303
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
304
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DemoCodeEditor#config-insertBefore)
|
|
301
305
|
*/
|
|
302
306
|
insertBefore ? : HTMLElement|string
|
|
303
307
|
/**
|
|
304
308
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
309
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
310
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DemoCodeEditor#config-insertFirst)
|
|
305
311
|
*/
|
|
306
312
|
insertFirst ? : HTMLElement|string
|
|
307
313
|
/**
|
|
@@ -42,6 +42,8 @@ defineProps<{
|
|
|
42
42
|
/**
|
|
43
43
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
44
44
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).
|
|
45
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
46
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DisplayField#config-appendTo)
|
|
45
47
|
*/
|
|
46
48
|
appendTo ? : HTMLElement|string
|
|
47
49
|
/**
|
|
@@ -91,6 +93,15 @@ defineProps<{
|
|
|
91
93
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
92
94
|
*/
|
|
93
95
|
centered ? : Boolean
|
|
96
|
+
/**
|
|
97
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
98
|
+
* 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)
|
|
99
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
100
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DisplayField#config-checkValidity)
|
|
101
|
+
* @param {Core.widget.Field} field The field being validated
|
|
102
|
+
* @returns {void}
|
|
103
|
+
*/
|
|
104
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
94
105
|
/**
|
|
95
106
|
* 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
107
|
* 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
|
|
@@ -294,10 +305,14 @@ defineProps<{
|
|
|
294
305
|
inputWidth ? : string|number
|
|
295
306
|
/**
|
|
296
307
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
308
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
309
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DisplayField#config-insertBefore)
|
|
297
310
|
*/
|
|
298
311
|
insertBefore ? : HTMLElement|string
|
|
299
312
|
/**
|
|
300
313
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
314
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
315
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DisplayField#config-insertFirst)
|
|
301
316
|
*/
|
|
302
317
|
insertFirst ? : HTMLElement|string
|
|
303
318
|
/**
|
|
@@ -628,7 +643,7 @@ const emit = defineEmits<{
|
|
|
628
643
|
* @param {object} params.event Event object
|
|
629
644
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
630
645
|
*/
|
|
631
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
646
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
632
647
|
/**
|
|
633
648
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
634
649
|
* @param {string} e Event name
|
|
@@ -801,6 +816,7 @@ const widgetData = {
|
|
|
801
816
|
'autoSelect',
|
|
802
817
|
'bubbleEvents',
|
|
803
818
|
'centered',
|
|
819
|
+
'checkValidity',
|
|
804
820
|
'clearable',
|
|
805
821
|
'color',
|
|
806
822
|
'config',
|
|
@@ -28,6 +28,8 @@ export declare type BryntumDisplayFieldProps = {
|
|
|
28
28
|
/**
|
|
29
29
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
30
30
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).
|
|
31
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
32
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DisplayField#config-appendTo)
|
|
31
33
|
*/
|
|
32
34
|
appendTo ? : HTMLElement|string
|
|
33
35
|
/**
|
|
@@ -77,6 +79,15 @@ export declare type BryntumDisplayFieldProps = {
|
|
|
77
79
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
78
80
|
*/
|
|
79
81
|
centered ? : Boolean
|
|
82
|
+
/**
|
|
83
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
84
|
+
* 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)
|
|
85
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
86
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DisplayField#config-checkValidity)
|
|
87
|
+
* @param {Core.widget.Field} field The field being validated
|
|
88
|
+
* @returns {void}
|
|
89
|
+
*/
|
|
90
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
80
91
|
/**
|
|
81
92
|
* 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
93
|
* 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
|
|
@@ -280,10 +291,14 @@ export declare type BryntumDisplayFieldProps = {
|
|
|
280
291
|
inputWidth ? : string|number
|
|
281
292
|
/**
|
|
282
293
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
294
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
295
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DisplayField#config-insertBefore)
|
|
283
296
|
*/
|
|
284
297
|
insertBefore ? : HTMLElement|string
|
|
285
298
|
/**
|
|
286
299
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
300
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
301
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DisplayField#config-insertFirst)
|
|
287
302
|
*/
|
|
288
303
|
insertFirst ? : HTMLElement|string
|
|
289
304
|
/**
|
|
@@ -51,6 +51,8 @@ defineProps<{
|
|
|
51
51
|
/**
|
|
52
52
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
53
53
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).
|
|
54
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
55
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-appendTo)
|
|
54
56
|
*/
|
|
55
57
|
appendTo ? : HTMLElement|string
|
|
56
58
|
/**
|
|
@@ -100,6 +102,15 @@ defineProps<{
|
|
|
100
102
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
101
103
|
*/
|
|
102
104
|
centered ? : Boolean
|
|
105
|
+
/**
|
|
106
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
107
|
+
* 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)
|
|
108
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
109
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-checkValidity)
|
|
110
|
+
* @param {Core.widget.Field} field The field being validated
|
|
111
|
+
* @returns {void}
|
|
112
|
+
*/
|
|
113
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
103
114
|
/**
|
|
104
115
|
* 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
|
|
105
116
|
* 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
|
|
@@ -307,10 +318,14 @@ defineProps<{
|
|
|
307
318
|
inputWidth ? : string|number
|
|
308
319
|
/**
|
|
309
320
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
321
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
322
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-insertBefore)
|
|
310
323
|
*/
|
|
311
324
|
insertBefore ? : HTMLElement|string
|
|
312
325
|
/**
|
|
313
326
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
327
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
328
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-insertFirst)
|
|
314
329
|
*/
|
|
315
330
|
insertFirst ? : HTMLElement|string
|
|
316
331
|
/**
|
|
@@ -676,7 +691,7 @@ const emit = defineEmits<{
|
|
|
676
691
|
* @param {object} params.event Event object
|
|
677
692
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
678
693
|
*/
|
|
679
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
694
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
680
695
|
/**
|
|
681
696
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
682
697
|
* @param {string} e Event name
|
|
@@ -849,6 +864,7 @@ const widgetData = {
|
|
|
849
864
|
'autoSelect',
|
|
850
865
|
'bubbleEvents',
|
|
851
866
|
'centered',
|
|
867
|
+
'checkValidity',
|
|
852
868
|
'clearable',
|
|
853
869
|
'color',
|
|
854
870
|
'config',
|
|
@@ -37,6 +37,8 @@ export declare type BryntumDurationFieldProps = {
|
|
|
37
37
|
/**
|
|
38
38
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
39
39
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).
|
|
40
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
41
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-appendTo)
|
|
40
42
|
*/
|
|
41
43
|
appendTo ? : HTMLElement|string
|
|
42
44
|
/**
|
|
@@ -86,6 +88,15 @@ export declare type BryntumDurationFieldProps = {
|
|
|
86
88
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
87
89
|
*/
|
|
88
90
|
centered ? : Boolean
|
|
91
|
+
/**
|
|
92
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
93
|
+
* 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)
|
|
94
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
95
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-checkValidity)
|
|
96
|
+
* @param {Core.widget.Field} field The field being validated
|
|
97
|
+
* @returns {void}
|
|
98
|
+
*/
|
|
99
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
89
100
|
/**
|
|
90
101
|
* 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
102
|
* 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
|
|
@@ -293,10 +304,14 @@ export declare type BryntumDurationFieldProps = {
|
|
|
293
304
|
inputWidth ? : string|number
|
|
294
305
|
/**
|
|
295
306
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
307
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
308
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-insertBefore)
|
|
296
309
|
*/
|
|
297
310
|
insertBefore ? : HTMLElement|string
|
|
298
311
|
/**
|
|
299
312
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
313
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
314
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-insertFirst)
|
|
300
315
|
*/
|
|
301
316
|
insertFirst ? : HTMLElement|string
|
|
302
317
|
/**
|
|
@@ -41,6 +41,8 @@ defineProps<{
|
|
|
41
41
|
/**
|
|
42
42
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
43
43
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).
|
|
44
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
45
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/Editor#config-appendTo)
|
|
44
46
|
*/
|
|
45
47
|
appendTo ? : HTMLElement|string
|
|
46
48
|
/**
|
|
@@ -284,10 +286,14 @@ defineProps<{
|
|
|
284
286
|
inputFieldAlign ? : 'start'|'end'
|
|
285
287
|
/**
|
|
286
288
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
289
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
290
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/Editor#config-insertBefore)
|
|
287
291
|
*/
|
|
288
292
|
insertBefore ? : HTMLElement|string
|
|
289
293
|
/**
|
|
290
294
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
295
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
296
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/Editor#config-insertFirst)
|
|
291
297
|
*/
|
|
292
298
|
insertFirst ? : HTMLElement|string
|
|
293
299
|
/**
|
|
@@ -607,7 +613,7 @@ const emit = defineEmits<{
|
|
|
607
613
|
* @param {Event} params.event.event Included if the cancellation was triggered by a DOM event
|
|
608
614
|
* @param {Core.widget.Editor} params.event.source The Editor that triggered the event.
|
|
609
615
|
*/
|
|
610
|
-
(e: 'beforeCancel', params: ((event: { oldValue: object, value: object, event: Event, source: Editor }) =>
|
|
616
|
+
(e: 'beforeCancel', params: ((event: { oldValue: object, value: object, event: Event, source: Editor }) => boolean|void)|string): boolean|void
|
|
611
617
|
/**
|
|
612
618
|
* Fired when an edit completion has been requested, either by <kbd>Enter</kbd>, or focus loss (if configured to complete on blur).
|
|
613
619
|
* The completion may be vetoed, in which case, focus is moved back into the editor.
|
|
@@ -620,7 +626,7 @@ const emit = defineEmits<{
|
|
|
620
626
|
* @param {Function} [params.event.finalize] An async function may be injected into this property which performs asynchronous finalization tasks such as complex validation of confirmation. The value `true` or `false` must be returned.
|
|
621
627
|
* @param {object} [params.event.finalize.context] An object describing the editing context upon requested completion of the edit.
|
|
622
628
|
*/
|
|
623
|
-
(e: 'beforeComplete', params: ((event: { oldValue: object, value: object, source: Editor, finalize: { context?: object } }) =>
|
|
629
|
+
(e: 'beforeComplete', params: ((event: { oldValue: object, value: object, source: Editor, finalize: { context?: object } }) => boolean|void)|string): boolean|void
|
|
624
630
|
/**
|
|
625
631
|
* Fires before an object is destroyed.
|
|
626
632
|
* @param {string} e Event name
|
|
@@ -636,7 +642,7 @@ const emit = defineEmits<{
|
|
|
636
642
|
* @param {object} params.event Event object
|
|
637
643
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
638
644
|
*/
|
|
639
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
645
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
640
646
|
/**
|
|
641
647
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
642
648
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -660,7 +666,7 @@ const emit = defineEmits<{
|
|
|
660
666
|
* @param {string} e Event name
|
|
661
667
|
* @param {object} params Event parameters
|
|
662
668
|
* @param {object} params.event Event object
|
|
663
|
-
* @param {
|
|
669
|
+
* @param {Element} params.event.target The element which the Editor is to overlay to edit its content.
|
|
664
670
|
* @param {Core.data.Model} [params.event.record] The record being edited.
|
|
665
671
|
* @param {string} [params.event.field] The name of the field if a record is being edited.
|
|
666
672
|
* @param {object} params.event.value The value to be edited.
|
|
@@ -672,7 +678,7 @@ const emit = defineEmits<{
|
|
|
672
678
|
* @param {boolean} params.event.matchFont Whether to match the target's font. See [matchFont](https://bryntum.com/products/calendar/docs/api/Core/widget/Editor#config-matchFont)
|
|
673
679
|
* @param {boolean} params.event.focus Whether to focus the editor's field.
|
|
674
680
|
*/
|
|
675
|
-
(e: 'beforeStart', params: ((event: { target:
|
|
681
|
+
(e: 'beforeStart', params: ((event: { target: Element, record?: Model, field?: string, value: object, align: string|AlignSpec, hideTarget: boolean, matchSize: { width: boolean, height: boolean }, matchFont: boolean, focus: boolean }) => boolean|void)|string): boolean|void
|
|
676
682
|
/**
|
|
677
683
|
* Edit has been canceled without updating the associated record or element.
|
|
678
684
|
* @param {string} e Event name
|
|
@@ -27,6 +27,8 @@ export declare type BryntumEditorProps = {
|
|
|
27
27
|
/**
|
|
28
28
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
29
29
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).
|
|
30
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
31
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/Editor#config-appendTo)
|
|
30
32
|
*/
|
|
31
33
|
appendTo ? : HTMLElement|string
|
|
32
34
|
/**
|
|
@@ -270,10 +272,14 @@ export declare type BryntumEditorProps = {
|
|
|
270
272
|
inputFieldAlign ? : 'start'|'end'
|
|
271
273
|
/**
|
|
272
274
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
275
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
276
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/Editor#config-insertBefore)
|
|
273
277
|
*/
|
|
274
278
|
insertBefore ? : HTMLElement|string
|
|
275
279
|
/**
|
|
276
280
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
281
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
282
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/Editor#config-insertFirst)
|
|
277
283
|
*/
|
|
278
284
|
insertFirst ? : HTMLElement|string
|
|
279
285
|
/**
|
|
@@ -46,6 +46,8 @@ defineProps<{
|
|
|
46
46
|
/**
|
|
47
47
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
48
48
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).
|
|
49
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
50
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-appendTo)
|
|
49
51
|
*/
|
|
50
52
|
appendTo ? : HTMLElement|string
|
|
51
53
|
/**
|
|
@@ -99,6 +101,15 @@ defineProps<{
|
|
|
99
101
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
100
102
|
*/
|
|
101
103
|
centered ? : Boolean
|
|
104
|
+
/**
|
|
105
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
106
|
+
* 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)
|
|
107
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
108
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-checkValidity)
|
|
109
|
+
* @param {Core.widget.Field} field The field being validated
|
|
110
|
+
* @returns {void}
|
|
111
|
+
*/
|
|
112
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
102
113
|
/**
|
|
103
114
|
* 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
115
|
* 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
|
|
@@ -296,10 +307,14 @@ defineProps<{
|
|
|
296
307
|
inputWidth ? : string|number
|
|
297
308
|
/**
|
|
298
309
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
310
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
311
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-insertBefore)
|
|
299
312
|
*/
|
|
300
313
|
insertBefore ? : HTMLElement|string
|
|
301
314
|
/**
|
|
302
315
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
316
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
317
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-insertFirst)
|
|
303
318
|
*/
|
|
304
319
|
insertFirst ? : HTMLElement|string
|
|
305
320
|
/**
|
|
@@ -639,7 +654,7 @@ const emit = defineEmits<{
|
|
|
639
654
|
* @param {object} params.event Event object
|
|
640
655
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
641
656
|
*/
|
|
642
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
657
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
643
658
|
/**
|
|
644
659
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
645
660
|
* @param {string} e Event name
|
|
@@ -813,6 +828,7 @@ const widgetData = {
|
|
|
813
828
|
'autoSelect',
|
|
814
829
|
'bubbleEvents',
|
|
815
830
|
'centered',
|
|
831
|
+
'checkValidity',
|
|
816
832
|
'clearable',
|
|
817
833
|
'config',
|
|
818
834
|
'constrainTo',
|
|
@@ -32,6 +32,8 @@ export declare type BryntumEventColorFieldProps = {
|
|
|
32
32
|
/**
|
|
33
33
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
34
34
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).
|
|
35
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
36
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-appendTo)
|
|
35
37
|
*/
|
|
36
38
|
appendTo ? : HTMLElement|string
|
|
37
39
|
/**
|
|
@@ -85,6 +87,15 @@ export declare type BryntumEventColorFieldProps = {
|
|
|
85
87
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
86
88
|
*/
|
|
87
89
|
centered ? : Boolean
|
|
90
|
+
/**
|
|
91
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
92
|
+
* 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)
|
|
93
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
94
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-checkValidity)
|
|
95
|
+
* @param {Core.widget.Field} field The field being validated
|
|
96
|
+
* @returns {void}
|
|
97
|
+
*/
|
|
98
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
88
99
|
/**
|
|
89
100
|
* 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
101
|
* 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
|
|
@@ -282,10 +293,14 @@ export declare type BryntumEventColorFieldProps = {
|
|
|
282
293
|
inputWidth ? : string|number
|
|
283
294
|
/**
|
|
284
295
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
296
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
297
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-insertBefore)
|
|
285
298
|
*/
|
|
286
299
|
insertBefore ? : HTMLElement|string
|
|
287
300
|
/**
|
|
288
301
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
302
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
303
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-insertFirst)
|
|
289
304
|
*/
|
|
290
305
|
insertFirst ? : HTMLElement|string
|
|
291
306
|
/**
|