@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
|
@@ -71,6 +71,8 @@ defineProps<{
|
|
|
71
71
|
/**
|
|
72
72
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
73
73
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).
|
|
74
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
75
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-appendTo)
|
|
74
76
|
*/
|
|
75
77
|
appendTo ? : HTMLElement|string
|
|
76
78
|
/**
|
|
@@ -239,7 +241,7 @@ defineProps<{
|
|
|
239
241
|
* or [drag-create](https://bryntum.com/products/calendar/docs/api/Calendar/feature/CalendarDrag), or [dragging in](#Calendar/feature/ExternalEventSource).
|
|
240
242
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-defaultCalendar)
|
|
241
243
|
*/
|
|
242
|
-
defaultCalendar ? : string|ResourceModel
|
|
244
|
+
defaultCalendar ? : string|number|ResourceModel
|
|
243
245
|
/**
|
|
244
246
|
* A [query](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
|
|
245
247
|
* focus should be directed by default.
|
|
@@ -444,10 +446,14 @@ defineProps<{
|
|
|
444
446
|
inputFieldAlign ? : 'start'|'end'
|
|
445
447
|
/**
|
|
446
448
|
* 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.
|
|
449
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
450
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-insertBefore)
|
|
447
451
|
*/
|
|
448
452
|
insertBefore ? : HTMLElement|string
|
|
449
453
|
/**
|
|
450
454
|
* 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.
|
|
455
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
456
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-insertFirst)
|
|
451
457
|
*/
|
|
452
458
|
insertFirst ? : HTMLElement|string
|
|
453
459
|
/**
|
|
@@ -675,7 +681,12 @@ defineProps<{
|
|
|
675
681
|
* Can be omitted in favor of individual store configs or [crudManager](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/SchedulerStores#config-crudManager) config.
|
|
676
682
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-project)
|
|
677
683
|
*/
|
|
678
|
-
project ? : ProjectModel|ProjectModelConfig|object
|
|
684
|
+
project ? : ProjectModel|ProjectModelConfig|object|null
|
|
685
|
+
/**
|
|
686
|
+
* The project model class to use when creating the project instance. Override this to use a custom project
|
|
687
|
+
* model class. In SchedulerPro and Gantt, this is overridden to use their respective project model classes.
|
|
688
|
+
*/
|
|
689
|
+
projectModelClass ? : typeof ProjectModel
|
|
679
690
|
/**
|
|
680
691
|
* The names of properties which are propagated down from the Calendar to child views
|
|
681
692
|
* unless the view has its own value for that property.
|
|
@@ -1126,7 +1137,7 @@ const emit = defineEmits<{
|
|
|
1126
1137
|
* @param {CalendarView} params.event.prevActiveItem The previously active view.
|
|
1127
1138
|
* @param {CalendarView} params.event.activeItem The new active view.
|
|
1128
1139
|
*/
|
|
1129
|
-
(e: 'beforeActiveItemChange', params: ((event: { source: Calendar, prevActiveItem: CalendarView, activeItem: CalendarView }) =>
|
|
1140
|
+
(e: 'beforeActiveItemChange', params: ((event: { source: Calendar, prevActiveItem: CalendarView, activeItem: CalendarView }) => boolean|void)|string): boolean|void
|
|
1130
1141
|
/**
|
|
1131
1142
|
* Fires before an assignment is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or
|
|
1132
1143
|
* by the event editor. Can for example be used to display a custom dialog to confirm deletion, in which
|
|
@@ -1154,7 +1165,7 @@ const emit = defineEmits<{
|
|
|
1154
1165
|
* @param {Scheduler.model.AssignmentModel[]} params.event.deselected An array of assignments that will be removed from the selection.
|
|
1155
1166
|
* @param {Scheduler.model.AssignmentModel[]} params.event.selection The currently selected assignments, before applying `selected` and `deselected`.
|
|
1156
1167
|
*/
|
|
1157
|
-
(e: 'beforeAssignmentSelectionChange', params: ((event: { source: Scheduler, action: 'select'|'deselect'|'update'|'clear', selected: AssignmentModel[], deselected: AssignmentModel[], selection: AssignmentModel[] }) =>
|
|
1168
|
+
(e: 'beforeAssignmentSelectionChange', params: ((event: { source: Scheduler, action: 'select'|'deselect'|'update'|'clear', selected: AssignmentModel[], deselected: AssignmentModel[], selection: AssignmentModel[] }) => boolean|void)|string): boolean|void
|
|
1158
1169
|
/**
|
|
1159
1170
|
* This event fires whenever a child view's [autoCreate gesture](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-autoCreate) is detected and also when a [drag-create](#Calendar/feature/CalendarDrag) gesture is detected.
|
|
1160
1171
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-beforeAutoCreate)
|
|
@@ -1168,7 +1179,7 @@ const emit = defineEmits<{
|
|
|
1168
1179
|
* @param {Date} params.event.endDate The ending time of the event to be created.
|
|
1169
1180
|
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The resource if the UI includes a resource.
|
|
1170
1181
|
*/
|
|
1171
|
-
(e: 'beforeAutoCreate', params: ((event: { source: CalendarView, domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel }) =>
|
|
1182
|
+
(e: 'beforeAutoCreate', params: ((event: { source: CalendarView, domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel }) => boolean|void)|string): boolean|void
|
|
1172
1183
|
/**
|
|
1173
1184
|
* Fires on the owning Scheduler before a copy action is performed, return `false` to prevent the action
|
|
1174
1185
|
* @param {string} e Event name
|
|
@@ -1189,7 +1200,7 @@ const emit = defineEmits<{
|
|
|
1189
1200
|
* @param {Calendar.view.Calendar} params.event.source This Calendar
|
|
1190
1201
|
* @param {AgendaViewConfig,DayResourceViewConfig,DayViewConfig,EventListConfig,MonthViewConfig,ResourceViewConfig,WeekViewConfig,YearViewConfig,DayAgendaViewConfig,MonthAgendaViewConfig,ContainerItemConfig} params.event.config The configuration block of the mode about to be created. Any property, including the `type` may be changed.
|
|
1191
1202
|
*/
|
|
1192
|
-
(e: 'beforeCreateMode', params: ((event: { source: Calendar, config: AgendaViewConfig|DayResourceViewConfig|DayViewConfig|EventListConfig|MonthViewConfig|ResourceViewConfig|WeekViewConfig|YearViewConfig|DayAgendaViewConfig|MonthAgendaViewConfig|ContainerItemConfig }) =>
|
|
1203
|
+
(e: 'beforeCreateMode', params: ((event: { source: Calendar, config: AgendaViewConfig|DayResourceViewConfig|DayViewConfig|EventListConfig|MonthViewConfig|ResourceViewConfig|WeekViewConfig|YearViewConfig|DayAgendaViewConfig|MonthAgendaViewConfig|ContainerItemConfig }) => boolean|void)|string): boolean|void
|
|
1193
1204
|
/**
|
|
1194
1205
|
* Fires on the owning Grid before CSV export starts. Return `false` to cancel the export.
|
|
1195
1206
|
* @param {string} e Event name
|
|
@@ -1201,7 +1212,7 @@ const emit = defineEmits<{
|
|
|
1201
1212
|
* @param {string} params.event.lineDelimiter The CSV delimiter to separate lines
|
|
1202
1213
|
* @param {string} params.event.columnDelimiter The CSV delimiter to separate values on one line
|
|
1203
1214
|
*/
|
|
1204
|
-
(e: 'beforeCSVExport', params: ((event: { config: ExportConfig, columns: Column[], rows: Model[], lineDelimiter: string, columnDelimiter: string }) =>
|
|
1215
|
+
(e: 'beforeCSVExport', params: ((event: { config: ExportConfig, columns: Column[], rows: Model[], lineDelimiter: string, columnDelimiter: string }) => boolean|void)|string): boolean|void
|
|
1205
1216
|
/**
|
|
1206
1217
|
* Fires before an object is destroyed.
|
|
1207
1218
|
* @param {string} e Event name
|
|
@@ -1224,7 +1235,7 @@ const emit = defineEmits<{
|
|
|
1224
1235
|
* @param {Calendar.feature.CalendarDrag} params.event.feature The Calendar drag feature instance.
|
|
1225
1236
|
* @param {CalendarView} params.event.view The Calendar widget in which the drag is being started.
|
|
1226
1237
|
*/
|
|
1227
|
-
(e: 'beforeDragCreate', params: ((event: { source: Calendar, drag: DragContext, domEvent: Event, date: Date, resourceRecord?: ResourceModel, feature: CalendarDrag, view: CalendarView }) =>
|
|
1238
|
+
(e: 'beforeDragCreate', params: ((event: { source: Calendar, drag: DragContext, domEvent: Event, date: Date, resourceRecord?: ResourceModel, feature: CalendarDrag, view: CalendarView }) => boolean|void)|string): boolean|void
|
|
1228
1239
|
/**
|
|
1229
1240
|
* This event fires on the owning Calendar before a drag creation gesture is completed. Return `false` to
|
|
1230
1241
|
* immediately veto the operation or a Promise yielding `true` or `false` for async vetoing.
|
|
@@ -1258,7 +1269,7 @@ const emit = defineEmits<{
|
|
|
1258
1269
|
* @param {Calendar.feature.CalendarDrag} params.event.feature The Calendar drag feature instance.
|
|
1259
1270
|
* @param {CalendarView} params.event.view The Calendar widget in which the drag is being started.
|
|
1260
1271
|
*/
|
|
1261
|
-
(e: 'beforeDragMove', params: ((event: { source: Calendar, drag: DragContext, domEvent: Event, eventRecord: EventModel, date: Date, resourceRecord?: ResourceModel, feature: CalendarDrag, view: CalendarView }) =>
|
|
1272
|
+
(e: 'beforeDragMove', params: ((event: { source: Calendar, drag: DragContext, domEvent: Event, eventRecord: EventModel, date: Date, resourceRecord?: ResourceModel, feature: CalendarDrag, view: CalendarView }) => boolean|void)|string): boolean|void
|
|
1262
1273
|
/**
|
|
1263
1274
|
* This event fires on the owning Calendar before a drag move gesture is completed. Return `false` to immediately veto the operation
|
|
1264
1275
|
* or a Promise yielding `true` or `false` for async vetoing.
|
|
@@ -1293,7 +1304,7 @@ const emit = defineEmits<{
|
|
|
1293
1304
|
* @param {Calendar.feature.CalendarDrag} params.event.feature The Calendar drag feature instance.
|
|
1294
1305
|
* @param {CalendarView} params.event.view The Calendar widget in which the drag is being started.
|
|
1295
1306
|
*/
|
|
1296
|
-
(e: 'beforeDragResize', params: ((event: { source: Calendar, drag: DragContext, domEvent: Event, eventRecord: EventModel, date: Date, resourceRecord?: ResourceModel, feature: CalendarDrag, view: CalendarView }) =>
|
|
1307
|
+
(e: 'beforeDragResize', params: ((event: { source: Calendar, drag: DragContext, domEvent: Event, eventRecord: EventModel, date: Date, resourceRecord?: ResourceModel, feature: CalendarDrag, view: CalendarView }) => boolean|void)|string): boolean|void
|
|
1297
1308
|
/**
|
|
1298
1309
|
* This event fires on the owning Calendar before a drag resize gesture is completed. Return `false` to immediately veto the operation
|
|
1299
1310
|
* or a Promise yielding `true` or `false` for async vetoing.
|
|
@@ -1333,7 +1344,7 @@ const emit = defineEmits<{
|
|
|
1333
1344
|
* @param {boolean} params.event.metaKey `true` if the Meta key was down when the last event was processed.
|
|
1334
1345
|
* @param {boolean} params.event.shiftKey `true` if the Shift key was down when the last event was processed.
|
|
1335
1346
|
*/
|
|
1336
|
-
(e: 'beforeDropExternal', params: ((event: { eventRecord: EventModel, dropOnCalendar: boolean, itemElement: HTMLElement, targetElement: HTMLElement, domEvent: Event, overIndex: number, overRecord: Model, isAbove: boolean, altKey: boolean, ctrlKey: boolean, metaKey: boolean, shiftKey: boolean }) =>
|
|
1347
|
+
(e: 'beforeDropExternal', params: ((event: { eventRecord: EventModel, dropOnCalendar: boolean, itemElement: HTMLElement, targetElement: HTMLElement, domEvent: Event, overIndex: number, overRecord: Model, isAbove: boolean, altKey: boolean, ctrlKey: boolean, metaKey: boolean, shiftKey: boolean }) => boolean|void)|string): boolean|void
|
|
1337
1348
|
/**
|
|
1338
1349
|
* Fires before an event is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or by the
|
|
1339
1350
|
* event editor. Can for example be used to display a custom dialog to confirm deletion, in which case
|
|
@@ -1348,7 +1359,7 @@ const emit = defineEmits<{
|
|
|
1348
1359
|
* @param {Function} params.event.context.finalize Function to call to finalize the removal. Used to asynchronously decide to remove the records or not. Provide `false` to the function to prevent the removal.
|
|
1349
1360
|
* @param {boolean} [params.event.context.finalize.removeRecords] Provide `false` to the function to prevent the removal.
|
|
1350
1361
|
*/
|
|
1351
|
-
(e: 'beforeEventDelete', params: ((event: { source: Calendar, eventRecords: EventModel[], context: { finalize: { removeRecords?: boolean } } }) =>
|
|
1362
|
+
(e: 'beforeEventDelete', params: ((event: { source: Calendar, eventRecords: EventModel[], context: { finalize: { removeRecords?: boolean } } }) => boolean|void)|string): boolean|void
|
|
1352
1363
|
/**
|
|
1353
1364
|
* Fires on the owning Scheduler before an event is displayed in an editor.
|
|
1354
1365
|
* This may be listened for to allow an application to take over event editing duties. Returning `false`
|
|
@@ -1363,7 +1374,7 @@ const emit = defineEmits<{
|
|
|
1363
1374
|
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The Resource record for the event. If the event is being created, it will not contain a resource, so this parameter specifies the resource the event is being created for.
|
|
1364
1375
|
* @param {HTMLElement} params.event.eventElement The element which represents the event in the scheduler display.
|
|
1365
1376
|
*/
|
|
1366
|
-
(e: 'beforeEventEdit', params: ((event: { source: Scheduler, eventEdit: SchedulerEventEdit, eventRecord: EventModel, resourceRecord: ResourceModel, eventElement: HTMLElement }) =>
|
|
1377
|
+
(e: 'beforeEventEdit', params: ((event: { source: Scheduler, eventEdit: SchedulerEventEdit, eventRecord: EventModel, resourceRecord: ResourceModel, eventElement: HTMLElement }) => boolean|void)|string): boolean|void
|
|
1367
1378
|
/**
|
|
1368
1379
|
* Fires on the owning Scheduler when the editor for an event is available but before it is populated with
|
|
1369
1380
|
* data and shown. Allows manipulating fields etc.
|
|
@@ -1406,7 +1417,7 @@ const emit = defineEmits<{
|
|
|
1406
1417
|
* @param {Scheduler.model.EventModel[]} params.event.deselected An array of events that will be removed from the selection.
|
|
1407
1418
|
* @param {Scheduler.model.EventModel[]} params.event.selection The currently selected events, before applying `selected` and `deselected`.
|
|
1408
1419
|
*/
|
|
1409
|
-
(e: 'beforeEventSelectionChange', params: ((event: { source: Scheduler, action: 'select'|'deselect'|'update'|'clear', selected: EventModel[], deselected: EventModel[], selection: EventModel[] }) =>
|
|
1420
|
+
(e: 'beforeEventSelectionChange', params: ((event: { source: Scheduler, action: 'select'|'deselect'|'update'|'clear', selected: EventModel[], deselected: EventModel[], selection: EventModel[] }) => boolean|void)|string): boolean|void
|
|
1410
1421
|
/**
|
|
1411
1422
|
* Fires on the owning Grid before Excel export starts. Return `false` to cancel the export.
|
|
1412
1423
|
* @param {string} e Event name
|
|
@@ -1416,7 +1427,7 @@ const emit = defineEmits<{
|
|
|
1416
1427
|
* @param {XLSColumn[]} params.event.columns An array of columns to export
|
|
1417
1428
|
* @param {any[][]} params.event.rows An array of records to export
|
|
1418
1429
|
*/
|
|
1419
|
-
(e: 'beforeExcelExport', params: ((event: { config: ExportConfig, columns: XLSColumn[], rows: any[] }) =>
|
|
1430
|
+
(e: 'beforeExcelExport', params: ((event: { config: ExportConfig, columns: XLSColumn[], rows: any[] }) => boolean|void)|string): boolean|void
|
|
1420
1431
|
/**
|
|
1421
1432
|
* Triggered before a widget is hidden. Return `false` to prevent the action.
|
|
1422
1433
|
* @param {string} e Event name
|
|
@@ -1424,7 +1435,7 @@ const emit = defineEmits<{
|
|
|
1424
1435
|
* @param {object} params.event Event object
|
|
1425
1436
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
1426
1437
|
*/
|
|
1427
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
1438
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
1428
1439
|
/**
|
|
1429
1440
|
* Fires on the owning Scheduler before a paste action is performed, return `false` to prevent the action.
|
|
1430
1441
|
* Depending on if the EventStore is using [singleAssignment](https://bryntum.com/products/calendar/docs/api/Scheduler/data/EventStore#config-singleAssignment) or the
|
|
@@ -1452,7 +1463,7 @@ const emit = defineEmits<{
|
|
|
1452
1463
|
* @param {object} params.event Event object
|
|
1453
1464
|
* @param {object} params.event.config Print config
|
|
1454
1465
|
*/
|
|
1455
|
-
(e: 'beforePrint', params: ((event: { config: object }) =>
|
|
1466
|
+
(e: 'beforePrint', params: ((event: { config: object }) => boolean|void)|string): boolean|void
|
|
1456
1467
|
/**
|
|
1457
1468
|
* Triggered before a new [responsiveState](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveState) is applied.
|
|
1458
1469
|
* @param {string} e Event name
|
|
@@ -1488,7 +1499,7 @@ const emit = defineEmits<{
|
|
|
1488
1499
|
* @param {object} params.event Event object
|
|
1489
1500
|
* @param {any} params.event.state State object config
|
|
1490
1501
|
*/
|
|
1491
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
1502
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
1492
1503
|
/**
|
|
1493
1504
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
1494
1505
|
* @param {string} e Event name
|
|
@@ -1496,7 +1507,7 @@ const emit = defineEmits<{
|
|
|
1496
1507
|
* @param {object} params.event Event object
|
|
1497
1508
|
* @param {any} params.event.state State object config
|
|
1498
1509
|
*/
|
|
1499
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
1510
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
1500
1511
|
/**
|
|
1501
1512
|
* Fires when any other event is fired from the object.
|
|
1502
1513
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-catchAll)
|
|
@@ -1682,7 +1693,7 @@ const emit = defineEmits<{
|
|
|
1682
1693
|
* @param {DayCell} params.event.cellData An object that contains data about the calendar cell for the date.
|
|
1683
1694
|
* @param {boolean} params.event.fromOverflowPopup `true` if the interaction was through the source view's [overflowPopup](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DayCellRenderer#property-overflowPopup).
|
|
1684
1695
|
*/
|
|
1685
|
-
(e: 'dayNumberClick', params: ((event: { source: CalendarView, domEvent: Event, date: Date, cellData: DayCell, fromOverflowPopup: boolean }) =>
|
|
1696
|
+
(e: 'dayNumberClick', params: ((event: { source: CalendarView, domEvent: Event, date: Date, cellData: DayCell, fromOverflowPopup: boolean }) => boolean|void)|string): boolean|void
|
|
1686
1697
|
/**
|
|
1687
1698
|
* Fires when an object is destroyed.
|
|
1688
1699
|
* @param {string} e Event name
|
|
@@ -1897,7 +1908,7 @@ const emit = defineEmits<{
|
|
|
1897
1908
|
* @param {HTMLElement} params.event.eventElement
|
|
1898
1909
|
* @param {MouseEvent} [params.event.event] Pointer event which triggered the context menu (if any)
|
|
1899
1910
|
*/
|
|
1900
|
-
(e: 'eventMenuBeforeShow', params: ((event: { source: Scheduler, items: Record<string, MenuItemEntry>, eventRecord: EventModel, resourceRecord: ResourceModel, assignmentRecord: AssignmentModel, eventElement: HTMLElement, event?: MouseEvent }) =>
|
|
1911
|
+
(e: 'eventMenuBeforeShow', params: ((event: { source: Scheduler, items: Record<string, MenuItemEntry>, eventRecord: EventModel, resourceRecord: ResourceModel, assignmentRecord: AssignmentModel, eventElement: HTMLElement, event?: MouseEvent }) => boolean|void)|string): boolean|void
|
|
1901
1912
|
/**
|
|
1902
1913
|
* This event fires on the owning Scheduler when an item is selected in the context menu.
|
|
1903
1914
|
* @param {string} e Event name
|
|
@@ -2093,7 +2104,7 @@ const emit = defineEmits<{
|
|
|
2093
2104
|
* @param {number} params.event.month The month index *(zero based)* clicked on.
|
|
2094
2105
|
* @param {Date} params.event.date The date of the first of the month clicked on.
|
|
2095
2106
|
*/
|
|
2096
|
-
(e: 'monthNameClick', params: ((event: { source: CalendarView, domEvent: Event, month: number, date: Date }) =>
|
|
2107
|
+
(e: 'monthNameClick', params: ((event: { source: CalendarView, domEvent: Event, month: number, date: Date }) => boolean|void)|string): boolean|void
|
|
2097
2108
|
/**
|
|
2098
2109
|
* Fired when a user gesture causes the active item to change.
|
|
2099
2110
|
* @param {string} e Event name
|
|
@@ -2260,7 +2271,7 @@ const emit = defineEmits<{
|
|
|
2260
2271
|
* @param {Scheduler.model.AssignmentModel} params.event.assignmentRecord Assignment record, if assignments are used
|
|
2261
2272
|
* @param {HTMLElement} params.event.eventElement
|
|
2262
2273
|
*/
|
|
2263
|
-
(e: 'scheduleMenuBeforeShow', params: ((event: { source: Scheduler, items: Record<string, MenuItemEntry>, resourceRecord: ResourceModel, date: Date, assignmentRecord: AssignmentModel, eventElement: HTMLElement }) =>
|
|
2274
|
+
(e: 'scheduleMenuBeforeShow', params: ((event: { source: Scheduler, items: Record<string, MenuItemEntry>, resourceRecord: ResourceModel, date: Date, assignmentRecord: AssignmentModel, eventElement: HTMLElement }) => boolean|void)|string): boolean|void
|
|
2264
2275
|
/**
|
|
2265
2276
|
* This event fires on the owning Scheduler or Gantt widget when an item is selected in the context menu.
|
|
2266
2277
|
* @param {string} e Event name
|
|
@@ -2441,7 +2452,7 @@ const emit = defineEmits<{
|
|
|
2441
2452
|
* @param {number[]} params.event.week The `[year, week]` clicked on.
|
|
2442
2453
|
* @param {Date} params.event.date The date clicked on.
|
|
2443
2454
|
*/
|
|
2444
|
-
(e: 'weekNumberClick', params: ((event: { source: CalendarView, domEvent: Event, week: number[], date: Date }) =>
|
|
2455
|
+
(e: 'weekNumberClick', params: ((event: { source: CalendarView, domEvent: Event, week: number[], date: Date }) => boolean|void)|string): boolean|void
|
|
2445
2456
|
}>();
|
|
2446
2457
|
|
|
2447
2458
|
const widgetData = {
|
|
@@ -2499,7 +2510,6 @@ const widgetData = {
|
|
|
2499
2510
|
'dataField',
|
|
2500
2511
|
'datePicker',
|
|
2501
2512
|
'defaultBindProperty',
|
|
2502
|
-
'defaultCalendar',
|
|
2503
2513
|
'defaultFocus',
|
|
2504
2514
|
'defaults',
|
|
2505
2515
|
'deselectOnClick',
|
|
@@ -2545,6 +2555,7 @@ const widgetData = {
|
|
|
2545
2555
|
'overlaySidebar',
|
|
2546
2556
|
'positioned',
|
|
2547
2557
|
'preventTooltipOnTouch',
|
|
2558
|
+
'projectModelClass',
|
|
2548
2559
|
'propagatedConfigs',
|
|
2549
2560
|
'relayStoreEvents',
|
|
2550
2561
|
'resourceImagePath',
|
|
@@ -2597,6 +2608,7 @@ const widgetData = {
|
|
|
2597
2608
|
'dataset',
|
|
2598
2609
|
'date',
|
|
2599
2610
|
'dateFormat',
|
|
2611
|
+
'defaultCalendar',
|
|
2600
2612
|
'deselectAllOnScheduleClick',
|
|
2601
2613
|
'disabled',
|
|
2602
2614
|
'events',
|
|
@@ -55,6 +55,8 @@ defineProps<{
|
|
|
55
55
|
/**
|
|
56
56
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
57
57
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).
|
|
58
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
59
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/CalendarDatePicker#config-appendTo)
|
|
58
60
|
*/
|
|
59
61
|
appendTo ? : HTMLElement|string
|
|
60
62
|
/**
|
|
@@ -492,10 +494,14 @@ defineProps<{
|
|
|
492
494
|
inputFieldAlign ? : 'start'|'end'
|
|
493
495
|
/**
|
|
494
496
|
* 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.
|
|
497
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
498
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/CalendarDatePicker#config-insertBefore)
|
|
495
499
|
*/
|
|
496
500
|
insertBefore ? : HTMLElement|string
|
|
497
501
|
/**
|
|
498
502
|
* 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.
|
|
503
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
504
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/CalendarDatePicker#config-insertFirst)
|
|
499
505
|
*/
|
|
500
506
|
insertFirst ? : HTMLElement|string
|
|
501
507
|
/**
|
|
@@ -950,7 +956,7 @@ const emit = defineEmits<{
|
|
|
950
956
|
* @param {object} params.event Event object
|
|
951
957
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
952
958
|
*/
|
|
953
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
959
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
954
960
|
/**
|
|
955
961
|
* Fires before this CalendarPanel refreshes in response to changes in its month.
|
|
956
962
|
* @param {string} e Event name
|
|
@@ -984,7 +990,7 @@ const emit = defineEmits<{
|
|
|
984
990
|
* @param {object} params.event Event object
|
|
985
991
|
* @param {any} params.event.state State object config
|
|
986
992
|
*/
|
|
987
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
993
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
988
994
|
/**
|
|
989
995
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
990
996
|
* @param {string} e Event name
|
|
@@ -992,7 +998,7 @@ const emit = defineEmits<{
|
|
|
992
998
|
* @param {object} params.event Event object
|
|
993
999
|
* @param {any} params.event.state State object config
|
|
994
1000
|
*/
|
|
995
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
1001
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
996
1002
|
/**
|
|
997
1003
|
* Fires when any other event is fired from the object.
|
|
998
1004
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/CalendarDatePicker#event-catchAll)
|
|
@@ -41,6 +41,8 @@ export declare type BryntumCalendarDatePickerProps = {
|
|
|
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/Calendar/widget/CalendarDatePicker#config-appendTo)
|
|
44
46
|
*/
|
|
45
47
|
appendTo ? : HTMLElement|string
|
|
46
48
|
/**
|
|
@@ -478,10 +480,14 @@ export declare type BryntumCalendarDatePickerProps = {
|
|
|
478
480
|
inputFieldAlign ? : 'start'|'end'
|
|
479
481
|
/**
|
|
480
482
|
* 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.
|
|
483
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
484
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/CalendarDatePicker#config-insertBefore)
|
|
481
485
|
*/
|
|
482
486
|
insertBefore ? : HTMLElement|string
|
|
483
487
|
/**
|
|
484
488
|
* 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.
|
|
489
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
490
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/CalendarDatePicker#config-insertFirst)
|
|
485
491
|
*/
|
|
486
492
|
insertFirst ? : HTMLElement|string
|
|
487
493
|
/**
|
|
@@ -34,6 +34,8 @@ export declare type BryntumCalendarProps = {
|
|
|
34
34
|
/**
|
|
35
35
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
36
36
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).
|
|
37
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
38
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo ? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -202,7 +204,7 @@ export declare type BryntumCalendarProps = {
|
|
|
202
204
|
* or [drag-create](https://bryntum.com/products/calendar/docs/api/Calendar/feature/CalendarDrag), or [dragging in](#Calendar/feature/ExternalEventSource).
|
|
203
205
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-defaultCalendar)
|
|
204
206
|
*/
|
|
205
|
-
defaultCalendar ? : string|ResourceModel
|
|
207
|
+
defaultCalendar ? : string|number|ResourceModel
|
|
206
208
|
/**
|
|
207
209
|
* 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
210
|
* focus should be directed by default.
|
|
@@ -407,10 +409,14 @@ export declare type BryntumCalendarProps = {
|
|
|
407
409
|
inputFieldAlign ? : 'start'|'end'
|
|
408
410
|
/**
|
|
409
411
|
* 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.
|
|
412
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
413
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-insertBefore)
|
|
410
414
|
*/
|
|
411
415
|
insertBefore ? : HTMLElement|string
|
|
412
416
|
/**
|
|
413
417
|
* 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.
|
|
418
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
419
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-insertFirst)
|
|
414
420
|
*/
|
|
415
421
|
insertFirst ? : HTMLElement|string
|
|
416
422
|
/**
|
|
@@ -638,7 +644,12 @@ export declare type BryntumCalendarProps = {
|
|
|
638
644
|
* Can be omitted in favor of individual store configs or [crudManager](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/SchedulerStores#config-crudManager) config.
|
|
639
645
|
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-project)
|
|
640
646
|
*/
|
|
641
|
-
project ? : ProjectModel|ProjectModelConfig|object
|
|
647
|
+
project ? : ProjectModel|ProjectModelConfig|object|null
|
|
648
|
+
/**
|
|
649
|
+
* The project model class to use when creating the project instance. Override this to use a custom project
|
|
650
|
+
* model class. In SchedulerPro and Gantt, this is overridden to use their respective project model classes.
|
|
651
|
+
*/
|
|
652
|
+
projectModelClass ? : typeof ProjectModel
|
|
642
653
|
/**
|
|
643
654
|
* The names of properties which are propagated down from the Calendar to child views
|
|
644
655
|
* unless the view has its own value for that property.
|
|
@@ -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/Core/widget/chat/ChatPanel#config-appendTo)
|
|
49
51
|
*/
|
|
50
52
|
appendTo ? : HTMLElement|string
|
|
51
53
|
/**
|
|
@@ -318,10 +320,14 @@ defineProps<{
|
|
|
318
320
|
inputFieldAlign ? : 'start'|'end'
|
|
319
321
|
/**
|
|
320
322
|
* 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.
|
|
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/chat/ChatPanel#config-insertBefore)
|
|
321
325
|
*/
|
|
322
326
|
insertBefore ? : HTMLElement|string
|
|
323
327
|
/**
|
|
324
328
|
* 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.
|
|
329
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
330
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/chat/ChatPanel#config-insertFirst)
|
|
325
331
|
*/
|
|
326
332
|
insertFirst ? : HTMLElement|string
|
|
327
333
|
/**
|
|
@@ -696,7 +702,7 @@ const emit = defineEmits<{
|
|
|
696
702
|
* @param {object} params.event Event object
|
|
697
703
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
698
704
|
*/
|
|
699
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
705
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
700
706
|
/**
|
|
701
707
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
702
708
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -722,7 +728,7 @@ const emit = defineEmits<{
|
|
|
722
728
|
* @param {object} params.event Event object
|
|
723
729
|
* @param {any} params.event.state State object config
|
|
724
730
|
*/
|
|
725
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
731
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
726
732
|
/**
|
|
727
733
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
728
734
|
* @param {string} e Event name
|
|
@@ -730,7 +736,7 @@ const emit = defineEmits<{
|
|
|
730
736
|
* @param {object} params.event Event object
|
|
731
737
|
* @param {any} params.event.state State object config
|
|
732
738
|
*/
|
|
733
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
739
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
734
740
|
/**
|
|
735
741
|
* Fired when the chat bubble tool icon is clicked.
|
|
736
742
|
* @param {string} e Event name
|
|
@@ -32,6 +32,8 @@ export declare type BryntumChatPanelProps = {
|
|
|
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/Core/widget/chat/ChatPanel#config-appendTo)
|
|
35
37
|
*/
|
|
36
38
|
appendTo ? : HTMLElement|string
|
|
37
39
|
/**
|
|
@@ -304,10 +306,14 @@ export declare type BryntumChatPanelProps = {
|
|
|
304
306
|
inputFieldAlign ? : 'start'|'end'
|
|
305
307
|
/**
|
|
306
308
|
* 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.
|
|
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/chat/ChatPanel#config-insertBefore)
|
|
307
311
|
*/
|
|
308
312
|
insertBefore ? : HTMLElement|string
|
|
309
313
|
/**
|
|
310
314
|
* 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.
|
|
315
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
316
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/chat/ChatPanel#config-insertFirst)
|
|
311
317
|
*/
|
|
312
318
|
insertFirst ? : HTMLElement|string
|
|
313
319
|
/**
|
|
@@ -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/Checkbox#config-appendTo)
|
|
45
47
|
*/
|
|
46
48
|
appendTo ? : HTMLElement|string
|
|
47
49
|
/**
|
|
@@ -108,6 +110,15 @@ defineProps<{
|
|
|
108
110
|
* A value of `undefined` will cause this widget not to include its value when checked.
|
|
109
111
|
*/
|
|
110
112
|
checkedValue ? : any
|
|
113
|
+
/**
|
|
114
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
115
|
+
* 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)
|
|
116
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.
|
|
117
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/Checkbox#config-checkValidity)
|
|
118
|
+
* @param {Core.widget.Field} field The field being validated
|
|
119
|
+
* @returns {void}
|
|
120
|
+
*/
|
|
121
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
111
122
|
/**
|
|
112
123
|
* Custom CSS classes to add to element.
|
|
113
124
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -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/Core/widget/Checkbox#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/Core/widget/Checkbox#config-insertFirst)
|
|
303
318
|
*/
|
|
304
319
|
insertFirst ? : HTMLElement|string
|
|
305
320
|
/**
|
|
@@ -624,7 +639,7 @@ const emit = defineEmits<{
|
|
|
624
639
|
* @param {boolean} params.event.valid True if this field is in a valid state.
|
|
625
640
|
* @param {Event} params.event.event The triggering DOM event if any
|
|
626
641
|
*/
|
|
627
|
-
(e: 'beforeChange', params: ((event: { source: Checkbox, checked: boolean, value: boolean, oldValue: boolean, userAction: boolean, valid: boolean, event: Event }) =>
|
|
642
|
+
(e: 'beforeChange', params: ((event: { source: Checkbox, checked: boolean, value: boolean, oldValue: boolean, userAction: boolean, valid: boolean, event: Event }) => boolean|void)|string): boolean|void
|
|
628
643
|
/**
|
|
629
644
|
* Fires before an object is destroyed.
|
|
630
645
|
* @param {string} e Event name
|
|
@@ -640,7 +655,7 @@ const emit = defineEmits<{
|
|
|
640
655
|
* @param {object} params.event Event object
|
|
641
656
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
642
657
|
*/
|
|
643
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
658
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
644
659
|
/**
|
|
645
660
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
646
661
|
* @param {string} e Event name
|
|
@@ -824,6 +839,7 @@ const widgetData = {
|
|
|
824
839
|
'bubbleEvents',
|
|
825
840
|
'centered',
|
|
826
841
|
'checkedValue',
|
|
842
|
+
'checkValidity',
|
|
827
843
|
'color',
|
|
828
844
|
'config',
|
|
829
845
|
'constrainTo',
|
|
@@ -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/CheckboxGroup#config-appendTo)
|
|
45
47
|
*/
|
|
46
48
|
appendTo ? : HTMLElement|string
|
|
47
49
|
/**
|
|
@@ -305,10 +307,14 @@ defineProps<{
|
|
|
305
307
|
inputFieldAlign ? : 'start'|'end'
|
|
306
308
|
/**
|
|
307
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/Core/widget/CheckboxGroup#config-insertBefore)
|
|
308
312
|
*/
|
|
309
313
|
insertBefore ? : HTMLElement|string
|
|
310
314
|
/**
|
|
311
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/Core/widget/CheckboxGroup#config-insertFirst)
|
|
312
318
|
*/
|
|
313
319
|
insertFirst ? : HTMLElement|string
|
|
314
320
|
/**
|
|
@@ -709,7 +715,7 @@ const emit = defineEmits<{
|
|
|
709
715
|
* @param {object} params.event Event object
|
|
710
716
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
711
717
|
*/
|
|
712
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
718
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
713
719
|
/**
|
|
714
720
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
715
721
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -735,7 +741,7 @@ const emit = defineEmits<{
|
|
|
735
741
|
* @param {object} params.event Event object
|
|
736
742
|
* @param {any} params.event.state State object config
|
|
737
743
|
*/
|
|
738
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
744
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
739
745
|
/**
|
|
740
746
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
741
747
|
* @param {string} e Event name
|
|
@@ -743,7 +749,7 @@ const emit = defineEmits<{
|
|
|
743
749
|
* @param {object} params.event Event object
|
|
744
750
|
* @param {any} params.event.state State object config
|
|
745
751
|
*/
|
|
746
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
752
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
747
753
|
/**
|
|
748
754
|
* Fires when any other event is fired from the object.
|
|
749
755
|
* [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/CheckboxGroup#event-catchAll)
|
|
@@ -28,6 +28,8 @@ export declare type BryntumCheckboxGroupProps = {
|
|
|
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/CheckboxGroup#config-appendTo)
|
|
31
33
|
*/
|
|
32
34
|
appendTo ? : HTMLElement|string
|
|
33
35
|
/**
|
|
@@ -291,10 +293,14 @@ export declare type BryntumCheckboxGroupProps = {
|
|
|
291
293
|
inputFieldAlign ? : 'start'|'end'
|
|
292
294
|
/**
|
|
293
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/Core/widget/CheckboxGroup#config-insertBefore)
|
|
294
298
|
*/
|
|
295
299
|
insertBefore ? : HTMLElement|string
|
|
296
300
|
/**
|
|
297
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/Core/widget/CheckboxGroup#config-insertFirst)
|
|
298
304
|
*/
|
|
299
305
|
insertFirst ? : HTMLElement|string
|
|
300
306
|
/**
|