@bryntum/calendar-vue-3 7.2.4 → 7.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/chunks/{Beyvc-Ee.js → -gfCfICt.js} +8 -9
- package/lib/chunks/-gfCfICt.js.map +1 -0
- package/lib/chunks/{DQaAhwXD.js → 0OZOSj3K.js} +12 -10
- package/lib/chunks/0OZOSj3K.js.map +1 -0
- package/lib/chunks/6ysIOAeQ.js +388 -0
- package/lib/chunks/6ysIOAeQ.js.map +1 -0
- package/lib/chunks/{CN4RrXCe.js → 8f6XqGsD.js} +16 -17
- package/lib/chunks/8f6XqGsD.js.map +1 -0
- package/lib/chunks/{D53p7Ank.js → 9tApH0if.js} +11 -12
- package/lib/chunks/9tApH0if.js.map +1 -0
- package/lib/chunks/{motDmuL4.js → AVadRojY.js} +14 -12
- package/lib/chunks/AVadRojY.js.map +1 -0
- package/lib/chunks/{u9zB9TJb.js → B4eYsje_.js} +11 -13
- package/lib/chunks/B4eYsje_.js.map +1 -0
- package/lib/chunks/{CSDGWXIc.js → B7wodVs1.js} +11 -9
- package/lib/chunks/B7wodVs1.js.map +1 -0
- package/lib/chunks/{Bvf00QYc.js → BBc3kJ2l.js} +16 -17
- package/lib/chunks/BBc3kJ2l.js.map +1 -0
- package/lib/chunks/{CrGY2ZuR.js → BD3V-SxA.js} +12 -13
- package/lib/chunks/BD3V-SxA.js.map +1 -0
- package/lib/chunks/{jimu0HjG.js → BFQMFysc.js} +11 -9
- package/lib/chunks/BFQMFysc.js.map +1 -0
- package/lib/chunks/{BwV4_Hj0.js → BHB_Xr7B.js} +10 -10
- package/lib/chunks/BHB_Xr7B.js.map +1 -0
- package/lib/chunks/{Baux7HCy.js → BIHU8niN.js} +17 -24
- package/lib/chunks/BIHU8niN.js.map +1 -0
- package/lib/chunks/BMxd9tFw.js +57 -0
- package/lib/chunks/BMxd9tFw.js.map +1 -0
- package/lib/chunks/{BDE_6JKK.js → BRHH9-fs.js} +15 -18
- package/lib/chunks/BRHH9-fs.js.map +1 -0
- package/lib/chunks/{BwSsnMqD.js → BSTFzAku.js} +16 -8
- package/lib/chunks/BSTFzAku.js.map +1 -0
- package/lib/chunks/{BO1go6ht.js → BUTdFPf9.js} +10 -11
- package/lib/chunks/BUTdFPf9.js.map +1 -0
- package/lib/chunks/{BWnGGswQ.js → BVEipTu4.js} +14 -6
- package/lib/chunks/BVEipTu4.js.map +1 -0
- package/lib/chunks/{D_Rke7J9.js → BYLyV5Qz.js} +10 -11
- package/lib/chunks/BYLyV5Qz.js.map +1 -0
- package/lib/chunks/{CrwTiLxz.js → BbOrQ8ft.js} +9 -10
- package/lib/chunks/BbOrQ8ft.js.map +1 -0
- package/lib/chunks/{Zehgfy1K.js → BdoTFJhe.js} +5 -3
- package/lib/chunks/BdoTFJhe.js.map +1 -0
- package/lib/chunks/{BjUhCoLJ.js → BeA4Wx8Y.js} +16 -14
- package/lib/chunks/BeA4Wx8Y.js.map +1 -0
- package/lib/chunks/{D_d9DDRC.js → BeiCK7f8.js} +11 -9
- package/lib/chunks/BeiCK7f8.js.map +1 -0
- package/lib/chunks/{D7lj1d87.js → BoILvqhB.js} +12 -13
- package/lib/chunks/BoILvqhB.js.map +1 -0
- package/lib/chunks/{D3e9xTyI.js → C-rJdjwM.js} +8 -6
- package/lib/chunks/C-rJdjwM.js.map +1 -0
- package/lib/chunks/{CbVp-KNL.js → C1e81geK.js} +10 -11
- package/lib/chunks/C1e81geK.js.map +1 -0
- package/lib/chunks/{BclPIY1S.js → C3im5F6T.js} +8 -8
- package/lib/chunks/C3im5F6T.js.map +1 -0
- package/lib/chunks/{643jpJkp.js → C4_EvmHb.js} +9 -9
- package/lib/chunks/C4_EvmHb.js.map +1 -0
- package/lib/chunks/{n-R-RzWM.js → C8FspEDS.js} +11 -9
- package/lib/chunks/C8FspEDS.js.map +1 -0
- package/lib/chunks/{DXxsDHKA.js → CI4tLO9K.js} +8 -6
- package/lib/chunks/CI4tLO9K.js.map +1 -0
- package/lib/chunks/{l0OEgSss.js → CIV2Plgi.js} +5 -3
- package/lib/chunks/CIV2Plgi.js.map +1 -0
- package/lib/chunks/{UBAf_gJR.js → CK8pVkWO.js} +8 -6
- package/lib/chunks/CK8pVkWO.js.map +1 -0
- package/lib/chunks/{C5iF2l6i.js → CL2aSYwL.js} +20 -21
- package/lib/chunks/CL2aSYwL.js.map +1 -0
- package/lib/chunks/{BZKqACKI.js → COQRF4O2.js} +8 -6
- package/lib/chunks/COQRF4O2.js.map +1 -0
- package/lib/chunks/{DVbWgkTx.js → CObxLUVv.js} +11 -11
- package/lib/chunks/CObxLUVv.js.map +1 -0
- package/lib/chunks/{iDCR6UCK.js → CYO0U3xG.js} +12 -15
- package/lib/chunks/CYO0U3xG.js.map +1 -0
- package/lib/chunks/{CjT2dcJr.js → CZmKZOXs.js} +11 -9
- package/lib/chunks/CZmKZOXs.js.map +1 -0
- package/lib/chunks/{D5Oj5xxW.js → CbvZfQIb.js} +7 -5
- package/lib/chunks/CbvZfQIb.js.map +1 -0
- package/lib/chunks/{CH6gj1Uh.js → CeQqNQur.js} +10 -8
- package/lib/chunks/CeQqNQur.js.map +1 -0
- package/lib/chunks/{D4SsmFK3.js → CeiQfFj4.js} +11 -9
- package/lib/chunks/CeiQfFj4.js.map +1 -0
- package/lib/chunks/{63XaN_s1.js → CfyHmkPe.js} +5 -6
- package/lib/chunks/CfyHmkPe.js.map +1 -0
- package/lib/chunks/{D9EcAnhT.js → CiecGioc.js} +18 -15
- package/lib/chunks/CiecGioc.js.map +1 -0
- package/lib/chunks/{CmjLe7_l.js → CjfHlzPr.js} +7 -12
- package/lib/chunks/CjfHlzPr.js.map +1 -0
- package/lib/chunks/{DumMjxRD.js → Cl2RaLEy.js} +12 -10
- package/lib/chunks/Cl2RaLEy.js.map +1 -0
- package/lib/chunks/{D_krOQ9f.js → Cpmv-8CX.js} +14 -15
- package/lib/chunks/Cpmv-8CX.js.map +1 -0
- package/lib/chunks/{XAfNTJB0.js → CsRtPonL.js} +4 -7
- package/lib/chunks/CsRtPonL.js.map +1 -0
- package/lib/chunks/{BIZkK5rf.js → Ct9WYKLH.js} +7 -10
- package/lib/chunks/Ct9WYKLH.js.map +1 -0
- package/lib/chunks/{BuRssXBn.js → CuaZAnUQ.js} +11 -9
- package/lib/chunks/CuaZAnUQ.js.map +1 -0
- package/lib/chunks/{BBEyHSQv.js → D2Rp5DqD.js} +9 -9
- package/lib/chunks/D2Rp5DqD.js.map +1 -0
- package/lib/chunks/{6QvAfis7.js → D8LFX3Si.js} +4 -7
- package/lib/chunks/D8LFX3Si.js.map +1 -0
- package/lib/chunks/{BqkxZjvs.js → DCeVwori.js} +11 -13
- package/lib/chunks/DCeVwori.js.map +1 -0
- package/lib/chunks/{CeTLs6kT.js → DFdgK5Ff.js} +9 -9
- package/lib/chunks/DFdgK5Ff.js.map +1 -0
- package/lib/chunks/{BnvmGTwR.js → DGNDLzjC.js} +15 -16
- package/lib/chunks/DGNDLzjC.js.map +1 -0
- package/lib/chunks/{BojPYCOr.js → DKh1JBaq.js} +5 -5
- package/lib/chunks/DKh1JBaq.js.map +1 -0
- package/lib/chunks/{bsJCyJ2h.js → DQ2aBJ55.js} +12 -13
- package/lib/chunks/DQ2aBJ55.js.map +1 -0
- package/lib/chunks/{DBwqeu_E.js → DSTwKMaq.js} +7 -5
- package/lib/chunks/DSTwKMaq.js.map +1 -0
- package/lib/chunks/DTAFonQW.js +396 -0
- package/lib/chunks/DTAFonQW.js.map +1 -0
- package/lib/chunks/{Ckl-wIwj.js → DUaUWLyw.js} +16 -8
- package/lib/chunks/DUaUWLyw.js.map +1 -0
- package/lib/chunks/{Bk3g9j2o.js → DUsiYkFK.js} +6 -4
- package/lib/chunks/DUsiYkFK.js.map +1 -0
- package/lib/chunks/{BDTNWR5N.js → DdpHkb3E.js} +13 -18
- package/lib/chunks/DdpHkb3E.js.map +1 -0
- package/lib/chunks/{Dqdy0S36.js → DgIBeET0.js} +15 -18
- package/lib/chunks/DgIBeET0.js.map +1 -0
- package/lib/chunks/{B6vtjeC9.js → DgJZ6ZlB.js} +8 -9
- package/lib/chunks/DgJZ6ZlB.js.map +1 -0
- package/lib/chunks/{LVVvAMYi.js → DhwKNWjD.js} +12 -12
- package/lib/chunks/DhwKNWjD.js.map +1 -0
- package/lib/chunks/{ONNloqHH.js → DoFyfMXF.js} +9 -7
- package/lib/chunks/DoFyfMXF.js.map +1 -0
- package/lib/chunks/{PL7a9wra.js → DpVMBZKg.js} +13 -14
- package/lib/chunks/DpVMBZKg.js.map +1 -0
- package/lib/chunks/{BtupEz7m.js → DpX76W8R.js} +5 -6
- package/lib/chunks/DpX76W8R.js.map +1 -0
- package/lib/chunks/{BlB6zzjK.js → Dw8g2KwQ.js} +10 -8
- package/lib/chunks/Dw8g2KwQ.js.map +1 -0
- package/lib/chunks/{B7fxD1Uc.js → DwfSxgDx.js} +13 -14
- package/lib/chunks/DwfSxgDx.js.map +1 -0
- package/lib/chunks/{BRyz2Jfr.js → DxoJlWU3.js} +11 -9
- package/lib/chunks/DxoJlWU3.js.map +1 -0
- package/lib/chunks/{C7_fI_a3.js → DyrhHazx.js} +9 -10
- package/lib/chunks/DyrhHazx.js.map +1 -0
- package/lib/chunks/{B_Vy1VXa.js → DzXzhdwr.js} +7 -5
- package/lib/chunks/DzXzhdwr.js.map +1 -0
- package/lib/chunks/{Cd6R23_2.js → Ffj7MYiP.js} +14 -15
- package/lib/chunks/Ffj7MYiP.js.map +1 -0
- package/lib/chunks/{BJfyI-uR.js → GFug45r8.js} +15 -11
- package/lib/chunks/GFug45r8.js.map +1 -0
- package/lib/chunks/{qTIhqjug.js → KzCo7H0B.js} +12 -12
- package/lib/chunks/KzCo7H0B.js.map +1 -0
- package/lib/chunks/{yujSBoDZ.js → PBX4P85B.js} +8 -8
- package/lib/chunks/PBX4P85B.js.map +1 -0
- package/lib/chunks/Tt3YRLoT.js +265 -0
- package/lib/chunks/Tt3YRLoT.js.map +1 -0
- package/lib/chunks/{B5PEus3p.js → UIRN-9Gk.js} +10 -11
- package/lib/chunks/UIRN-9Gk.js.map +1 -0
- package/lib/chunks/{BTBrE1_0.js → Uub1pbHE.js} +8 -9
- package/lib/chunks/Uub1pbHE.js.map +1 -0
- package/lib/chunks/{B2_F5Icl.js → VxQFGAPu.js} +7 -10
- package/lib/chunks/VxQFGAPu.js.map +1 -0
- package/lib/chunks/{QeGOhsbk.js → cT-MuN_z.js} +10 -15
- package/lib/chunks/cT-MuN_z.js.map +1 -0
- package/lib/chunks/{c2O0FAWQ.js → dSkHfi4J.js} +11 -9
- package/lib/chunks/dSkHfi4J.js.map +1 -0
- package/lib/chunks/{CLg19bQ0.js → gdOjznoN.js} +25 -17
- package/lib/chunks/gdOjznoN.js.map +1 -0
- package/lib/chunks/{D7MZMcK9.js → lkmEYnvD.js} +14 -15
- package/lib/chunks/lkmEYnvD.js.map +1 -0
- package/lib/chunks/{C2mWiGAY.js → mzLGzWY5.js} +12 -12
- package/lib/chunks/mzLGzWY5.js.map +1 -0
- package/lib/chunks/{-I8DJxf_.js → nMvWDbO6.js} +9 -7
- package/lib/chunks/nMvWDbO6.js.map +1 -0
- package/lib/chunks/{D3Y02MFI.js → nl7BnV3E.js} +33 -30
- package/lib/chunks/nl7BnV3E.js.map +1 -0
- package/lib/chunks/{DAw8jYZJ.js → qmIX92PW.js} +11 -14
- package/lib/chunks/qmIX92PW.js.map +1 -0
- package/lib/chunks/{oscppiH3.js → r66Wz1km.js} +8 -6
- package/lib/chunks/r66Wz1km.js.map +1 -0
- package/lib/chunks/{B_G0FwYy.js → rg6JAh_X.js} +10 -15
- package/lib/chunks/rg6JAh_X.js.map +1 -0
- package/lib/chunks/{CJiiKEHc.js → wPKCUEuQ.js} +3 -3
- package/lib/chunks/wPKCUEuQ.js.map +1 -0
- package/lib/components/BryntumAIFilterField.js +1 -1
- package/lib/components/BryntumAgendaView.js +1 -1
- package/lib/components/BryntumBooleanCombo.js +5 -0
- package/lib/components/BryntumBooleanCombo.js.map +1 -0
- package/lib/components/BryntumButton.js +1 -1
- package/lib/components/BryntumButtonGroup.js +1 -1
- package/lib/components/BryntumCalendar.js +1 -1
- package/lib/components/BryntumCalendarDatePicker.js +1 -1
- package/lib/components/BryntumCalendarProjectModel.js +1 -1
- package/lib/components/BryntumChatPanel.js +1 -1
- package/lib/components/BryntumCheckbox.js +1 -1
- package/lib/components/BryntumCheckboxGroup.js +1 -1
- package/lib/components/BryntumChecklistFilterCombo.js +1 -1
- package/lib/components/BryntumChipView.js +1 -1
- package/lib/components/BryntumCodeEditor.js +1 -1
- package/lib/components/BryntumColorField.js +1 -1
- package/lib/components/BryntumCombo.js +1 -1
- package/lib/components/BryntumContainer.js +1 -1
- package/lib/components/BryntumDateField.js +1 -1
- package/lib/components/BryntumDatePicker.js +1 -1
- package/lib/components/BryntumDateRangeField.js +1 -1
- package/lib/components/BryntumDateTimeField.js +1 -1
- package/lib/components/BryntumDayAgendaView.js +1 -1
- package/lib/components/BryntumDayResourceView.js +1 -1
- package/lib/components/BryntumDayView.js +1 -1
- package/lib/components/BryntumDemoCodeEditor.js +1 -1
- package/lib/components/BryntumDemoHeader.js +1 -1
- package/lib/components/BryntumDisplayField.js +1 -1
- package/lib/components/BryntumDurationField.js +1 -1
- package/lib/components/BryntumEditor.js +1 -1
- package/lib/components/BryntumEventColorField.js +1 -1
- package/lib/components/BryntumEventList.js +1 -1
- package/lib/components/BryntumFieldFilterPicker.js +1 -1
- package/lib/components/BryntumFieldFilterPickerGroup.js +1 -1
- package/lib/components/BryntumFieldSet.js +1 -1
- package/lib/components/BryntumFileField.js +1 -1
- package/lib/components/BryntumFilePicker.js +1 -1
- package/lib/components/BryntumFilterField.js +1 -1
- package/lib/components/BryntumGrid.js +1 -1
- package/lib/components/BryntumGridBase.js +1 -1
- package/lib/components/BryntumGridChartDesigner.js +1 -1
- package/lib/components/BryntumGridFieldFilterPicker.js +1 -1
- package/lib/components/BryntumGridFieldFilterPickerGroup.js +1 -1
- package/lib/components/BryntumGroupBar.js +1 -1
- package/lib/components/BryntumHint.js +1 -1
- package/lib/components/BryntumLabel.js +1 -1
- package/lib/components/BryntumList.js +1 -1
- package/lib/components/BryntumMenu.js +1 -1
- package/lib/components/BryntumModeSelector.js +1 -1
- package/lib/components/BryntumMonthAgendaView.js +1 -1
- package/lib/components/BryntumMonthGrid.js +1 -1
- package/lib/components/BryntumMonthPicker.js +1 -1
- package/lib/components/BryntumMonthView.js +1 -1
- package/lib/components/BryntumNumberField.js +1 -1
- package/lib/components/BryntumPagingToolbar.js +1 -1
- package/lib/components/BryntumPanel.js +1 -1
- package/lib/components/BryntumPasswordField.js +1 -1
- package/lib/components/BryntumProgressBar.js +1 -1
- package/lib/components/BryntumProjectCombo.js +1 -1
- package/lib/components/BryntumRadio.js +1 -1
- package/lib/components/BryntumRadioGroup.js +1 -1
- package/lib/components/BryntumRangeMenu.js +1 -1
- package/lib/components/BryntumResourceCombo.js +1 -1
- package/lib/components/BryntumResourceFilter.js +1 -1
- package/lib/components/BryntumResourceView.js +1 -1
- package/lib/components/BryntumScheduler.js +1 -1
- package/lib/components/BryntumSchedulerBase.js +1 -1
- package/lib/components/BryntumSchedulerDatePicker.js +1 -1
- package/lib/components/BryntumSlideToggle.js +1 -1
- package/lib/components/BryntumSlider.js +1 -1
- package/lib/components/BryntumSplitter.js +1 -1
- package/lib/components/BryntumTabPanel.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/BryntumThemeCombo.js +5 -0
- package/lib/components/BryntumThemeCombo.js.map +1 -0
- package/lib/components/BryntumTimeField.js +1 -1
- package/lib/components/BryntumTimePicker.js +1 -1
- package/lib/components/BryntumTimeVisualizingEditor.js +1 -1
- package/lib/components/BryntumTimeZoomSlider.js +5 -0
- package/lib/components/BryntumTimeZoomSlider.js.map +1 -0
- package/lib/components/BryntumTimelineHistogram.js +1 -1
- package/lib/components/BryntumToolbar.js +1 -1
- package/lib/components/BryntumTreeCombo.js +1 -1
- package/lib/components/BryntumTreeGrid.js +1 -1
- package/lib/components/BryntumUndoRedo.js +1 -1
- package/lib/components/BryntumViewPresetCombo.js +1 -1
- package/lib/components/BryntumWeekView.js +1 -1
- package/lib/components/BryntumWidget.js +1 -1
- package/lib/components/BryntumYearPicker.js +1 -1
- package/lib/components/BryntumYearPlanner.js +5 -0
- package/lib/components/BryntumYearPlanner.js.map +1 -0
- package/lib/components/BryntumYearView.js +1 -1
- package/lib/index.js +179 -171
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/BryntumAIFilterField.vue +84 -119
- package/src/components/BryntumAIFilterFieldProps.ts +78 -110
- package/src/components/BryntumAgendaView.vue +318 -441
- package/src/components/BryntumAgendaViewProps.ts +264 -366
- package/src/components/BryntumBooleanCombo.vue +1258 -0
- package/src/components/BryntumBooleanComboProps.ts +798 -0
- package/src/components/BryntumButton.vue +71 -117
- package/src/components/BryntumButtonGroup.vue +78 -123
- package/src/components/BryntumButtonGroupProps.ts +73 -113
- package/src/components/BryntumButtonProps.ts +65 -108
- package/src/components/BryntumCalendar.vue +260 -367
- package/src/components/BryntumCalendarDatePicker.vue +152 -234
- package/src/components/BryntumCalendarDatePickerProps.ts +145 -222
- package/src/components/BryntumCalendarProjectModel.vue +12 -31
- package/src/components/BryntumCalendarProjectModelProps.ts +10 -20
- package/src/components/BryntumCalendarProps.ts +187 -280
- package/src/components/BryntumChatPanel.vue +144 -171
- package/src/components/BryntumChatPanelProps.ts +121 -157
- package/src/components/BryntumCheckbox.vue +84 -118
- package/src/components/BryntumCheckboxGroup.vue +111 -181
- package/src/components/BryntumCheckboxGroupProps.ts +104 -168
- package/src/components/BryntumCheckboxProps.ts +77 -108
- package/src/components/BryntumChecklistFilterCombo.vue +101 -150
- package/src/components/BryntumChecklistFilterComboProps.ts +95 -141
- package/src/components/BryntumChipView.vue +66 -106
- package/src/components/BryntumChipViewProps.ts +61 -98
- package/src/components/BryntumCodeEditor.vue +108 -169
- package/src/components/BryntumCodeEditorProps.ts +101 -157
- package/src/components/BryntumColorField.vue +83 -117
- package/src/components/BryntumColorFieldProps.ts +77 -108
- package/src/components/BryntumCombo.vue +102 -152
- package/src/components/BryntumComboProps.ts +96 -143
- package/src/components/BryntumContainer.vue +78 -124
- package/src/components/BryntumContainerProps.ts +73 -114
- package/src/components/BryntumDateField.vue +90 -123
- package/src/components/BryntumDateFieldProps.ts +84 -114
- package/src/components/BryntumDatePicker.vue +121 -195
- package/src/components/BryntumDatePickerProps.ts +114 -183
- package/src/components/BryntumDateRangeField.vue +89 -126
- package/src/components/BryntumDateRangeFieldProps.ts +83 -117
- package/src/components/BryntumDateTimeField.vue +83 -117
- package/src/components/BryntumDateTimeFieldProps.ts +77 -108
- package/src/components/BryntumDayAgendaView.vue +219 -338
- package/src/components/BryntumDayAgendaViewProps.ts +199 -304
- package/src/components/BryntumDayResourceView.vue +240 -367
- package/src/components/BryntumDayResourceViewProps.ts +221 -334
- package/src/components/BryntumDayView.vue +236 -359
- package/src/components/BryntumDayViewProps.ts +217 -326
- package/src/components/BryntumDemoCodeEditor.vue +108 -169
- package/src/components/BryntumDemoCodeEditorProps.ts +101 -157
- package/src/components/BryntumDemoHeader.vue +7 -2
- package/src/components/BryntumDisplayField.vue +84 -119
- package/src/components/BryntumDisplayFieldProps.ts +78 -110
- package/src/components/BryntumDurationField.vue +90 -125
- package/src/components/BryntumDurationFieldProps.ts +82 -114
- package/src/components/BryntumEditor.vue +94 -144
- package/src/components/BryntumEditorProps.ts +80 -125
- package/src/components/BryntumEventColorField.vue +83 -117
- package/src/components/BryntumEventColorFieldProps.ts +77 -108
- package/src/components/BryntumEventList.vue +311 -430
- package/src/components/BryntumEventListProps.ts +257 -355
- package/src/components/BryntumFieldFilterPicker.vue +80 -128
- package/src/components/BryntumFieldFilterPickerGroup.vue +83 -133
- package/src/components/BryntumFieldFilterPickerGroupProps.ts +77 -122
- package/src/components/BryntumFieldFilterPickerProps.ts +75 -118
- package/src/components/BryntumFieldSet.vue +107 -174
- package/src/components/BryntumFieldSetProps.ts +100 -161
- package/src/components/BryntumFileField.vue +83 -117
- package/src/components/BryntumFileFieldProps.ts +77 -108
- package/src/components/BryntumFilePicker.vue +78 -124
- package/src/components/BryntumFilePickerProps.ts +73 -114
- package/src/components/BryntumFilterField.vue +86 -123
- package/src/components/BryntumFilterFieldProps.ts +80 -114
- package/src/components/BryntumGrid.vue +228 -315
- package/src/components/BryntumGridBase.vue +228 -315
- package/src/components/BryntumGridBaseProps.ts +186 -261
- package/src/components/BryntumGridChartDesigner.vue +59 -95
- package/src/components/BryntumGridChartDesignerProps.ts +55 -88
- package/src/components/BryntumGridFieldFilterPicker.vue +82 -132
- package/src/components/BryntumGridFieldFilterPickerGroup.vue +82 -131
- package/src/components/BryntumGridFieldFilterPickerGroupProps.ts +76 -120
- package/src/components/BryntumGridFieldFilterPickerProps.ts +77 -122
- package/src/components/BryntumGridProps.ts +186 -261
- package/src/components/BryntumGroupBar.vue +66 -106
- package/src/components/BryntumGroupBarProps.ts +61 -98
- package/src/components/BryntumHint.vue +135 -192
- package/src/components/BryntumHintProps.ts +128 -180
- package/src/components/BryntumLabel.vue +59 -95
- package/src/components/BryntumLabelProps.ts +55 -88
- package/src/components/BryntumList.vue +63 -102
- package/src/components/BryntumListProps.ts +58 -94
- package/src/components/BryntumMenu.vue +130 -190
- package/src/components/BryntumMenuProps.ts +121 -173
- package/src/components/BryntumModeSelector.vue +92 -126
- package/src/components/BryntumModeSelectorProps.ts +85 -116
- package/src/components/BryntumMonthAgendaView.vue +194 -286
- package/src/components/BryntumMonthAgendaViewProps.ts +180 -261
- package/src/components/BryntumMonthGrid.vue +182 -266
- package/src/components/BryntumMonthGridProps.ts +165 -236
- package/src/components/BryntumMonthPicker.vue +108 -169
- package/src/components/BryntumMonthPickerProps.ts +101 -157
- package/src/components/BryntumMonthView.vue +210 -306
- package/src/components/BryntumMonthViewProps.ts +191 -272
- package/src/components/BryntumNumberField.vue +87 -121
- package/src/components/BryntumNumberFieldProps.ts +81 -112
- package/src/components/BryntumPagingToolbar.vue +83 -130
- package/src/components/BryntumPagingToolbarProps.ts +77 -119
- package/src/components/BryntumPanel.vue +108 -169
- package/src/components/BryntumPanelProps.ts +101 -157
- package/src/components/BryntumPasswordField.vue +83 -117
- package/src/components/BryntumPasswordFieldProps.ts +77 -108
- package/src/components/BryntumProgressBar.vue +58 -93
- package/src/components/BryntumProgressBarProps.ts +54 -86
- package/src/components/BryntumProjectCombo.vue +101 -150
- package/src/components/BryntumProjectComboProps.ts +95 -141
- package/src/components/BryntumRadio.vue +84 -118
- package/src/components/BryntumRadioGroup.vue +111 -180
- package/src/components/BryntumRadioGroupProps.ts +104 -167
- package/src/components/BryntumRadioProps.ts +77 -108
- package/src/components/BryntumRangeMenu.vue +130 -190
- package/src/components/BryntumRangeMenuProps.ts +121 -173
- package/src/components/BryntumResourceCombo.vue +102 -152
- package/src/components/BryntumResourceComboProps.ts +96 -143
- package/src/components/BryntumResourceFilter.vue +65 -106
- package/src/components/BryntumResourceFilterProps.ts +60 -98
- package/src/components/BryntumResourceView.vue +175 -258
- package/src/components/BryntumResourceViewProps.ts +161 -233
- package/src/components/BryntumScheduler.vue +483 -646
- package/src/components/BryntumSchedulerBase.vue +483 -646
- package/src/components/BryntumSchedulerBaseProps.ts +371 -521
- package/src/components/BryntumSchedulerDatePicker.vue +123 -199
- package/src/components/BryntumSchedulerDatePickerProps.ts +116 -187
- package/src/components/BryntumSchedulerProps.ts +371 -521
- package/src/components/BryntumSlideToggle.vue +84 -118
- package/src/components/BryntumSlideToggleProps.ts +77 -108
- package/src/components/BryntumSlider.vue +67 -101
- package/src/components/BryntumSliderProps.ts +62 -94
- package/src/components/BryntumSplitter.vue +61 -99
- package/src/components/BryntumSplitterProps.ts +57 -92
- package/src/components/BryntumTabPanel.vue +110 -172
- package/src/components/BryntumTabPanelProps.ts +102 -159
- package/src/components/BryntumTextAreaField.vue +91 -119
- package/src/components/BryntumTextAreaFieldProps.ts +84 -110
- package/src/components/BryntumTextAreaPickerField.vue +85 -120
- package/src/components/BryntumTextAreaPickerFieldProps.ts +79 -111
- package/src/components/BryntumTextField.vue +84 -119
- package/src/components/BryntumTextFieldProps.ts +78 -110
- package/src/components/BryntumThemeCombo.vue +60 -0
- package/src/components/BryntumTimeField.vue +89 -120
- package/src/components/BryntumTimeFieldProps.ts +83 -111
- package/src/components/BryntumTimePicker.vue +78 -124
- package/src/components/BryntumTimePickerProps.ts +73 -114
- package/src/components/BryntumTimeVisualizingEditor.vue +133 -194
- package/src/components/BryntumTimeVisualizingEditorProps.ts +126 -182
- package/src/components/BryntumTimeZoomSlider.vue +828 -0
- package/src/components/BryntumTimeZoomSliderProps.ts +482 -0
- package/src/components/BryntumTimelineHistogram.vue +349 -470
- package/src/components/BryntumTimelineHistogramProps.ts +274 -387
- package/src/components/BryntumToolbar.vue +83 -130
- package/src/components/BryntumToolbarProps.ts +77 -119
- package/src/components/BryntumTreeCombo.vue +102 -152
- package/src/components/BryntumTreeComboProps.ts +96 -143
- package/src/components/BryntumTreeGrid.vue +228 -315
- package/src/components/BryntumTreeGridProps.ts +186 -261
- package/src/components/BryntumUndoRedo.vue +79 -126
- package/src/components/BryntumUndoRedoProps.ts +74 -116
- package/src/components/BryntumViewPresetCombo.vue +78 -108
- package/src/components/BryntumViewPresetComboProps.ts +72 -99
- package/src/components/BryntumWeekView.vue +236 -359
- package/src/components/BryntumWeekViewProps.ts +217 -326
- package/src/components/BryntumWidget.vue +59 -95
- package/src/components/BryntumWidgetProps.ts +55 -88
- package/src/components/BryntumYearPicker.vue +109 -171
- package/src/components/BryntumYearPickerProps.ts +102 -159
- package/src/components/BryntumYearPlanner.vue +1372 -0
- package/src/components/BryntumYearPlannerProps.ts +874 -0
- package/src/components/BryntumYearView.vue +191 -280
- package/src/components/BryntumYearViewProps.ts +175 -251
- package/src/index.ts +7 -0
- package/lib/chunks/-I8DJxf_.js.map +0 -1
- package/lib/chunks/63XaN_s1.js.map +0 -1
- package/lib/chunks/643jpJkp.js.map +0 -1
- package/lib/chunks/6QvAfis7.js.map +0 -1
- package/lib/chunks/B2_F5Icl.js.map +0 -1
- package/lib/chunks/B5PEus3p.js.map +0 -1
- package/lib/chunks/B6vtjeC9.js.map +0 -1
- package/lib/chunks/B7fxD1Uc.js.map +0 -1
- package/lib/chunks/BBEyHSQv.js.map +0 -1
- package/lib/chunks/BDE_6JKK.js.map +0 -1
- package/lib/chunks/BDTNWR5N.js.map +0 -1
- package/lib/chunks/BIZkK5rf.js.map +0 -1
- package/lib/chunks/BJfyI-uR.js.map +0 -1
- package/lib/chunks/BO1go6ht.js.map +0 -1
- package/lib/chunks/BRyz2Jfr.js.map +0 -1
- package/lib/chunks/BTBrE1_0.js.map +0 -1
- package/lib/chunks/BWnGGswQ.js.map +0 -1
- package/lib/chunks/BZKqACKI.js.map +0 -1
- package/lib/chunks/B_G0FwYy.js.map +0 -1
- package/lib/chunks/B_Vy1VXa.js.map +0 -1
- package/lib/chunks/Baux7HCy.js.map +0 -1
- package/lib/chunks/BclPIY1S.js.map +0 -1
- package/lib/chunks/Beyvc-Ee.js.map +0 -1
- package/lib/chunks/BjUhCoLJ.js.map +0 -1
- package/lib/chunks/Bk3g9j2o.js.map +0 -1
- package/lib/chunks/BlB6zzjK.js.map +0 -1
- package/lib/chunks/BnvmGTwR.js.map +0 -1
- package/lib/chunks/BojPYCOr.js.map +0 -1
- package/lib/chunks/BqkxZjvs.js.map +0 -1
- package/lib/chunks/BtupEz7m.js.map +0 -1
- package/lib/chunks/BuRssXBn.js.map +0 -1
- package/lib/chunks/Bvf00QYc.js.map +0 -1
- package/lib/chunks/BwSsnMqD.js.map +0 -1
- package/lib/chunks/BwV4_Hj0.js.map +0 -1
- package/lib/chunks/C2mWiGAY.js.map +0 -1
- package/lib/chunks/C5iF2l6i.js.map +0 -1
- package/lib/chunks/C7_fI_a3.js.map +0 -1
- package/lib/chunks/CH6gj1Uh.js.map +0 -1
- package/lib/chunks/CJiiKEHc.js.map +0 -1
- package/lib/chunks/CLg19bQ0.js.map +0 -1
- package/lib/chunks/CN4RrXCe.js.map +0 -1
- package/lib/chunks/CSDGWXIc.js.map +0 -1
- package/lib/chunks/CbVp-KNL.js.map +0 -1
- package/lib/chunks/Cd6R23_2.js.map +0 -1
- package/lib/chunks/CeTLs6kT.js.map +0 -1
- package/lib/chunks/CjT2dcJr.js.map +0 -1
- package/lib/chunks/Ckl-wIwj.js.map +0 -1
- package/lib/chunks/CmjLe7_l.js.map +0 -1
- package/lib/chunks/CrGY2ZuR.js.map +0 -1
- package/lib/chunks/CrwTiLxz.js.map +0 -1
- package/lib/chunks/D3Y02MFI.js.map +0 -1
- package/lib/chunks/D3e9xTyI.js.map +0 -1
- package/lib/chunks/D4SsmFK3.js.map +0 -1
- package/lib/chunks/D53p7Ank.js.map +0 -1
- package/lib/chunks/D5Oj5xxW.js.map +0 -1
- package/lib/chunks/D7MZMcK9.js.map +0 -1
- package/lib/chunks/D7lj1d87.js.map +0 -1
- package/lib/chunks/D9EcAnhT.js.map +0 -1
- package/lib/chunks/DAw8jYZJ.js.map +0 -1
- package/lib/chunks/DBwqeu_E.js.map +0 -1
- package/lib/chunks/DQaAhwXD.js.map +0 -1
- package/lib/chunks/DVbWgkTx.js.map +0 -1
- package/lib/chunks/DXxsDHKA.js.map +0 -1
- package/lib/chunks/D_Rke7J9.js.map +0 -1
- package/lib/chunks/D_d9DDRC.js.map +0 -1
- package/lib/chunks/D_krOQ9f.js.map +0 -1
- package/lib/chunks/Dqdy0S36.js.map +0 -1
- package/lib/chunks/DumMjxRD.js.map +0 -1
- package/lib/chunks/LVVvAMYi.js.map +0 -1
- package/lib/chunks/ONNloqHH.js.map +0 -1
- package/lib/chunks/PL7a9wra.js.map +0 -1
- package/lib/chunks/QeGOhsbk.js.map +0 -1
- package/lib/chunks/UBAf_gJR.js.map +0 -1
- package/lib/chunks/XAfNTJB0.js.map +0 -1
- package/lib/chunks/Zehgfy1K.js.map +0 -1
- package/lib/chunks/bsJCyJ2h.js.map +0 -1
- package/lib/chunks/c2O0FAWQ.js.map +0 -1
- package/lib/chunks/iDCR6UCK.js.map +0 -1
- package/lib/chunks/jimu0HjG.js.map +0 -1
- package/lib/chunks/l0OEgSss.js.map +0 -1
- package/lib/chunks/motDmuL4.js.map +0 -1
- package/lib/chunks/n-R-RzWM.js.map +0 -1
- package/lib/chunks/oscppiH3.js.map +0 -1
- package/lib/chunks/qTIhqjug.js.map +0 -1
- package/lib/chunks/u9zB9TJb.js.map +0 -1
- package/lib/chunks/yujSBoDZ.js.map +0 -1
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
|
|
34
34
|
import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
|
|
35
35
|
|
|
36
|
-
import type { AI, AIConfig, AgendaViewConfig, AlignSpec, AssignmentModel, AssignmentModelConfig, AssignmentStore, AssignmentStoreConfig, Base, ButtonConfig, CalendarDatePickerConfig, CalendarDrag, CalendarDragConfig, CalendarListeners, CalendarToolbarConfig, CalendarView, Color, Column, Container, ContainerConfig, ContainerItemConfig, ContainerLayoutConfig, CrudManagerConfig,
|
|
36
|
+
import type { AI, AIConfig, AgendaViewConfig, AlignSpec, AssignmentModel, AssignmentModelConfig, AssignmentStore, AssignmentStoreConfig, Base, ButtonConfig, CalendarDatePickerConfig, CalendarDrag, CalendarDragConfig, CalendarListeners, CalendarToolbarConfig, CalendarView, Color, Column, Container, ContainerConfig, ContainerItemConfig, ContainerLayoutConfig, CrudManagerConfig, DayAgendaViewConfig, DayCell, DayResourceViewConfig, DayViewConfig, DomConfig, DragContext, EventBuffer, EventBufferConfig, EventCopyPaste, EventCopyPasteConfig, EventEdit, EventEditConfig, EventListConfig, EventMenu, EventMenuConfig, EventModel, EventModelConfig, EventStore, EventStoreConfig, EventTooltip, EventTooltipConfig, ExcelExporter, ExcelExporterConfig, ExportConfig, ExternalEventSource, ExternalEventSourceConfig, KeyMapConfig, LoadOnDemand, LoadOnDemandConfig, Mask, MaskConfig, Menu, MenuItem, MenuItemEntry, Model, MonthAgendaViewConfig, MonthGridConfig, MonthViewConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Popup, Print, PrintConfig, ProjectConsumer, ProjectModel, ProjectModelConfig, ProjectModelMixin, Rectangle, RecurrenceConfirmationPopupConfig, ResourceModel, ResourceModelConfig, ResourceStore, ResourceStoreConfig, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, ResourceViewConfig, ScheduleMenu, ScheduleMenuConfig, ScheduleTooltip, ScheduleTooltipConfig, Scheduler, SchedulerCrudManager, SchedulerEventEdit, Scroller, ScrollerConfig, StateProvider, Store, TabConfig, TimeRangeModel, TimeRangeModelConfig, TimeRangeStore, TimeRangeStoreConfig, TimeRanges, TimeRangesConfig, TimeSpan, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, ValidateCreateResult, WeekExpander, WeekExpanderConfig, WeekViewConfig, Widget, XLSColumn, YearPlannerConfig, YearViewConfig } from '@bryntum/calendar';
|
|
37
37
|
import { Calendar } from '@bryntum/calendar';
|
|
38
38
|
|
|
39
39
|
import { WrapperHelper } from '../helper/WrapperHelper';
|
|
@@ -43,21 +43,18 @@ defineProps<{
|
|
|
43
43
|
/**
|
|
44
44
|
* An optional CSS class name to add to calendar date cells which encapsulate the calendar's
|
|
45
45
|
* active [date](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#property-date).
|
|
46
|
-
* ...
|
|
47
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-activeDateCls)
|
|
46
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-activeDateCls)
|
|
48
47
|
*/
|
|
49
48
|
activeDateCls ? : string
|
|
50
49
|
/**
|
|
51
50
|
* Element (or element id) to adopt as this Widget's encapsulating element. The widget's
|
|
52
51
|
* content will be placed inside this element.
|
|
53
|
-
* ...
|
|
54
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-adopt)
|
|
52
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-adopt)
|
|
55
53
|
*/
|
|
56
54
|
adopt ? : HTMLElement|string
|
|
57
55
|
/**
|
|
58
56
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
59
|
-
* ...
|
|
60
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-align)
|
|
57
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-align)
|
|
61
58
|
*/
|
|
62
59
|
align ? : AlignSpec|string
|
|
63
60
|
/**
|
|
@@ -79,15 +76,13 @@ defineProps<{
|
|
|
79
76
|
/**
|
|
80
77
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
|
|
81
78
|
* into an element which will be linked using the `aria-describedby` attribute.
|
|
82
|
-
* ...
|
|
83
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-ariaDescription)
|
|
79
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-ariaDescription)
|
|
84
80
|
*/
|
|
85
81
|
ariaDescription ? : string
|
|
86
82
|
/**
|
|
87
83
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
|
|
88
84
|
* the `aria-label` attribute.
|
|
89
|
-
* ...
|
|
90
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-ariaLabel)
|
|
85
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-ariaLabel)
|
|
91
86
|
*/
|
|
92
87
|
ariaLabel ? : string
|
|
93
88
|
/**
|
|
@@ -101,27 +96,23 @@ defineProps<{
|
|
|
101
96
|
/**
|
|
102
97
|
* If this config is set, then the `gesture` configured (which defaults to `dblclick`) creates a
|
|
103
98
|
* new event at the mouse or touch event's time point.
|
|
104
|
-
* ...
|
|
105
|
-
* [
|
|
99
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-autoCreate)
|
|
100
|
+
* @property {string} [gesture] The event name which should trigger event creation at the event's position.
|
|
101
|
+
* @property {Function,string} [newName] The name of an event created using `autoCreate` or a function to call which yields the name. The following parameters are passed: * <span class="name">view : <span class="type">CalendarMixin</span></span><div class="description">The view in which the event is being created.</div> * <span class="name">startDate : <span class="type">String</span></span><div class="description">The start date of the event being created.</div> * <span class="name">resourceRecord : <span class="type">ResourceModel</span></span><div class="description">The resource of the event being created.</div>
|
|
102
|
+
* @property {string} [step] The time unit by which to round the start click point of auto created events. *Only for views which have a granularity of less than one day such as `WeekView` and `DayView'*. For views which show whole days, the start defaults to 8am. This is a string in the format required by [parseDuration](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper#function-parseDuration-static). This value is also used for the [step](https://bryntum.com/products/calendar/docs/api/Core/widget/TimeField#property-step) value in the [EventEdit](https://bryntum.com/products/calendar/docs/api/Calendar/feature/EventEdit)'s time input field.
|
|
103
|
+
* @property {string} [duration] The default duration for auto created events.
|
|
104
|
+
* @property {number,string} [startHour] The default start hour for auto created events in views where the time granularity is one day. In a DayView or WeekView where a mouse event position will translate to a time of day, this is not used. This is the hour of the day to start the event at. It can be fractional or an HH:MM:SS time string.
|
|
106
105
|
*/
|
|
107
|
-
autoCreate ? :
|
|
108
|
-
gesture?: string
|
|
109
|
-
newName?: Function|string
|
|
110
|
-
step?: string
|
|
111
|
-
duration?: string
|
|
112
|
-
startHour?: number|string
|
|
113
|
-
}|string|Boolean
|
|
106
|
+
autoCreate ? : object|string|Boolean
|
|
114
107
|
/**
|
|
115
108
|
* A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/calendar/docs/api/Core/widget/Toolbar),
|
|
116
109
|
* or array of config objects representing the child items of a Toolbar. Another way to add a bbar is to use [strips](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-strips).
|
|
117
|
-
* ...
|
|
118
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-bbar)
|
|
110
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-bbar)
|
|
119
111
|
*/
|
|
120
112
|
bbar ? : (ContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
|
|
121
113
|
/**
|
|
122
114
|
* Custom CSS classes to add to the panel's body element.
|
|
123
|
-
* ...
|
|
124
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-bodyCls)
|
|
115
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-bodyCls)
|
|
125
116
|
*/
|
|
126
117
|
bodyCls ? : string|object
|
|
127
118
|
/**
|
|
@@ -131,21 +122,18 @@ defineProps<{
|
|
|
131
122
|
/**
|
|
132
123
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
133
124
|
* hierarchy when triggered.
|
|
134
|
-
* ...
|
|
135
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-bubbleEvents)
|
|
125
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-bubbleEvents)
|
|
136
126
|
*/
|
|
137
127
|
bubbleEvents ? : object
|
|
138
128
|
/**
|
|
139
129
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
140
|
-
* ...
|
|
141
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-callOnFunctions)
|
|
130
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-callOnFunctions)
|
|
142
131
|
*/
|
|
143
132
|
callOnFunctions ? : Boolean
|
|
144
133
|
/**
|
|
145
134
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
146
135
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
147
|
-
* ...
|
|
148
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-catchEventHandlerExceptions)
|
|
136
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-catchEventHandlerExceptions)
|
|
149
137
|
*/
|
|
150
138
|
catchEventHandlerExceptions ? : Boolean
|
|
151
139
|
/**
|
|
@@ -157,8 +145,7 @@ defineProps<{
|
|
|
157
145
|
* Custom CSS classes to add to element.
|
|
158
146
|
* May be specified as a space separated string, or as an object in which property names
|
|
159
147
|
* with truthy values are used as the class names:
|
|
160
|
-
* ...
|
|
161
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-cls)
|
|
148
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-cls)
|
|
162
149
|
*/
|
|
163
150
|
cls ? : string|object
|
|
164
151
|
/**
|
|
@@ -168,15 +155,13 @@ defineProps<{
|
|
|
168
155
|
collapsed ? : Boolean
|
|
169
156
|
/**
|
|
170
157
|
* This config enables collapsibility for the panel. See [collapsed](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsed).
|
|
171
|
-
* ...
|
|
172
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-collapsible)
|
|
158
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-collapsible)
|
|
173
159
|
*/
|
|
174
160
|
collapsible ? : Boolean|PanelCollapserConfig|PanelCollapserOverlayConfig
|
|
175
161
|
/**
|
|
176
162
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
177
163
|
* `style` block.
|
|
178
|
-
* ...
|
|
179
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-color)
|
|
164
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-color)
|
|
180
165
|
*/
|
|
181
166
|
color ? : Color
|
|
182
167
|
/**
|
|
@@ -193,8 +178,7 @@ defineProps<{
|
|
|
193
178
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).
|
|
194
179
|
* May be specified as a space separated string, or as an object in which property names
|
|
195
180
|
* with truthy values are used as the class names:
|
|
196
|
-
* ...
|
|
197
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-contentElementCls)
|
|
181
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-contentElementCls)
|
|
198
182
|
*/
|
|
199
183
|
contentElementCls ? : string|object
|
|
200
184
|
/**
|
|
@@ -225,8 +209,7 @@ defineProps<{
|
|
|
225
209
|
/**
|
|
226
210
|
* The date which the Calendar, its [sidebar](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#property-sidebar)'s date picker, and
|
|
227
211
|
* its active view should encapsulate upon creation.
|
|
228
|
-
* ...
|
|
229
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-date)
|
|
212
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-date)
|
|
230
213
|
*/
|
|
231
214
|
date ? : Date|string
|
|
232
215
|
/**
|
|
@@ -237,12 +220,11 @@ defineProps<{
|
|
|
237
220
|
/**
|
|
238
221
|
* An optional config object to configure the [CalendarDatePicker](https://bryntum.com/products/calendar/docs/api/Calendar/widget/CalendarDatePicker) which is
|
|
239
222
|
* shown in the [sidebar](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#property-sidebar) next to the calendar views.
|
|
240
|
-
* ...
|
|
241
|
-
* [
|
|
242
|
-
* @param {boolean
|
|
243
|
-
* @param {
|
|
244
|
-
* @param {
|
|
245
|
-
* @param {boolean} datePicker.editMonth `true` to enable setting the date using the controls in the DatePicker header.
|
|
223
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-datePicker)
|
|
224
|
+
* @param {boolean,'count','dots'} [datePicker.showEvents] Displays the presence of events in each cell. values may be: * `false` - Do not show events in cells. * `true` - Show a themeable bullet to indicate the presence of events for a date. * `'count'` - Show a themeable badge containing the event count for a date. * '`dots'` - Show small event-coloured bullets (to a maximum of three) below the date.
|
|
225
|
+
* @param {boolean} [datePicker.collapsible] `true` to enable collapse into a header.
|
|
226
|
+
* @param {string} [datePicker.title] The text to place in a header above the picker.
|
|
227
|
+
* @param {boolean} [datePicker.editMonth] `true` to enable setting the date using the controls in the DatePicker header.
|
|
246
228
|
* @param {boolean,'range'} multiSelect The DatePicker can select [multiple dates](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-multiSelect) in two modes: * `true` to mean many discontiguous dates may be selected. * `'range'` to mean that a start date and end date may be selected. If set up to multi select, views which are not fixed to a date duration will obey the date selection by using a [dateFilter](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#property-dateFilter) to skip days which are not selected. These include: * AgendaView (mode type `'agenda'`) * DayViews (view type `'dayview'`) which you add to the modes - The default `day` and `week` modes have a fixed duration. * ResourceView (view type `'resourceview'`) * DayResourceView (view type `'dayresourceview'`) The `MonthView`, and the `WeekView` and the built-in single day `DayView` <strong>mode</strong> all have fixed duration and will not participate in this. If you select a discontiguous range, then the views which are amenable to being controlled in this way will switch their range to encompass what you have selected. For example, if you select the first to the last days of a month, the view's [range](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DateRangeOwner#property-range) will be set to `'1 month'`. This choice will be maintained, and by navigating using the next and previous tbar buttons, the views will move by exactly one month. If your set of selected dates is enclosed within a two week block, then the [range](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DateRangeOwner#property-range) of the views will be set to `{ unit : 'week', magnitude : 2 }`. If you select the 1st, 3th and 5th of the month, and those days are all on one week row, the [range](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DateRangeOwner#property-range) of the views will be set to `{ unit : 'week', magnitude : 1 }`. For selection ranges other than exactly one month, navigation in time will be in increments of one week for intuitive navigation up and down the date picker. When navigating in time, the selected block of dates moves and *follows the time navigation* so that there are always dates in view, even if they are empty.
|
|
247
229
|
*/
|
|
248
230
|
datePicker ? : CalendarDatePickerConfig|Boolean|null
|
|
@@ -255,15 +237,13 @@ defineProps<{
|
|
|
255
237
|
* The calendar ([Resource](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ResourceModel)), (or its `id`) to use as the
|
|
256
238
|
* default calendar for new events created using [dblclick](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-autoCreate)
|
|
257
239
|
* or [drag-create](https://bryntum.com/products/calendar/docs/api/Calendar/feature/CalendarDrag), or [dragging in](#Calendar/feature/ExternalEventSource).
|
|
258
|
-
* ...
|
|
259
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-defaultCalendar)
|
|
240
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-defaultCalendar)
|
|
260
241
|
*/
|
|
261
|
-
defaultCalendar ? : string|ResourceModel
|
|
242
|
+
defaultCalendar ? : string|number|ResourceModel
|
|
262
243
|
/**
|
|
263
244
|
* A [query](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
|
|
264
245
|
* focus should be directed by default.
|
|
265
|
-
* ...
|
|
266
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-defaultFocus)
|
|
246
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-defaultFocus)
|
|
267
247
|
* @param {Core.widget.Widget} widget Widget passed to method
|
|
268
248
|
* @returns {boolean} truthy value if widget is the default one
|
|
269
249
|
*/
|
|
@@ -285,16 +265,15 @@ defineProps<{
|
|
|
285
265
|
*/
|
|
286
266
|
destroyStores ? : Boolean
|
|
287
267
|
/**
|
|
288
|
-
* Check for CSS compatibility issues
|
|
289
|
-
*
|
|
290
|
-
* [
|
|
268
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
269
|
+
* checks:
|
|
270
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-detectCSSCompatibilityIssues)
|
|
291
271
|
*/
|
|
292
272
|
detectCSSCompatibilityIssues ? : Boolean
|
|
293
273
|
/**
|
|
294
274
|
* Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget
|
|
295
275
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
296
|
-
* ...
|
|
297
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-disabled)
|
|
276
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-disabled)
|
|
298
277
|
*/
|
|
299
278
|
disabled ? : Boolean|'inert'
|
|
300
279
|
/**
|
|
@@ -302,39 +281,34 @@ defineProps<{
|
|
|
302
281
|
* [strips collection](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
303
282
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
304
283
|
* body. Such widgets are called "edge strips".
|
|
305
|
-
* ...
|
|
306
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-dock)
|
|
284
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-dock)
|
|
307
285
|
*/
|
|
308
286
|
dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
309
287
|
/**
|
|
310
288
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
311
289
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
312
290
|
* property which controls when a drag should start.
|
|
313
|
-
* ...
|
|
314
|
-
*
|
|
291
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-draggable)
|
|
292
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
315
293
|
*/
|
|
316
|
-
draggable ? : Boolean|
|
|
317
|
-
handleSelector?: string
|
|
318
|
-
}
|
|
294
|
+
draggable ? : Boolean|object
|
|
319
295
|
/**
|
|
320
296
|
* Make this Panel a docked drawer which slides out from one side of the browser viewport by default.
|
|
321
|
-
* ...
|
|
322
|
-
* [
|
|
323
|
-
* @param {
|
|
324
|
-
* @param {
|
|
325
|
-
* @param {boolean}
|
|
326
|
-
* @param {boolean,
|
|
327
|
-
* @param {boolean,string} autoClose.
|
|
328
|
-
* @param {
|
|
329
|
-
* @param {
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
drawer ? : Boolean|{side?: 'start'|'left'|'end'|'right'|'top'|'bottom', size?: string|number, inline?: Boolean, autoClose: { mousedown?: Boolean|string, focusout?: Boolean|string, mouseout?: string }, autoCloseDelay?: number}
|
|
297
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-drawer)
|
|
298
|
+
* @param {'start','left','end','right','top','bottom'} [side] The side of the viewport to dock the drawer to. * `'start'` means the `inline-start` side. * `'end'` means the `inline-end` side.
|
|
299
|
+
* @param {string,number} [size] The size of the drawer in its collapsible axis.
|
|
300
|
+
* @param {boolean} [inline] If using the [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-appendTo) config to place the drawer inside a host widget, this may be set to `true` to make the drawer inline within that host. Note that, if using this, the layout of the host element must have `flex-direction` set appropriately.
|
|
301
|
+
* @param {boolean,object} [autoClose] Specifies what user actions should automatically close the drawer. Defaults to closing when the user clicks outside of the drawer or when focus moves outside of the drawer.
|
|
302
|
+
* @param {boolean,string} [autoClose.mousedown] If the user clicks outside of the drawer, the drawer will automatically be hidden. If the value is a string, it is used as a CSS selector to filter clicks which should close the drawer.
|
|
303
|
+
* @param {boolean,string} [autoClose.focusout] If focus moves outside of the drawer, the drawer will automatically be hidden.
|
|
304
|
+
* @param {string} [autoClose.mouseout] Hides the drawer when the mouse leaves the drawer after the `autoCloseDelay` period.
|
|
305
|
+
* @param {number} [autoCloseDelay] When using `mouseout`, this is the delay in milliseconds
|
|
306
|
+
*/
|
|
307
|
+
drawer ? : Boolean|{ side?: 'start'|'left'|'end'|'right'|'top'|'bottom', size?: string|number, inline?: Boolean, autoClose?: Boolean|{ mousedown?: Boolean|string, focusout?: Boolean|string, mouseout?: string }, autoCloseDelay?: number }
|
|
333
308
|
/**
|
|
334
309
|
* An object specifying attributes to assign to the root element of this widget.
|
|
335
310
|
* Set `null` value to attribute to remove it.
|
|
336
|
-
* ...
|
|
337
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-elementAttributes)
|
|
311
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-elementAttributes)
|
|
338
312
|
*/
|
|
339
313
|
elementAttributes ? : Record<string, string|null>
|
|
340
314
|
/**
|
|
@@ -343,12 +317,10 @@ defineProps<{
|
|
|
343
317
|
enableDeleteKey ? : Boolean
|
|
344
318
|
/**
|
|
345
319
|
* Enables events being recurring and also adds extra recurrence UI fields in the built-in event editor.
|
|
346
|
-
* ...
|
|
347
|
-
* [
|
|
320
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-enableRecurringEvents)
|
|
321
|
+
* @property {'single','future'} [defaultAction] Enables avoiding the recurrence confirmation popup user interface by automatically updating either the single occurrence, or the occurrence and all future occurrences.
|
|
348
322
|
*/
|
|
349
|
-
enableRecurringEvents ? : Boolean|
|
|
350
|
-
defaultAction?: 'single'|'future'
|
|
351
|
-
}
|
|
323
|
+
enableRecurringEvents ? : Boolean|object
|
|
352
324
|
/**
|
|
353
325
|
* Set to `true` to listen for CTRL-Z (CMD-Z on Mac OS) keyboard event and trigger undo (redo when SHIFT is pressed).
|
|
354
326
|
* Only applicable when using a [StateTrackingManager](https://bryntum.com/products/calendar/docs/api/Core/data/stm/StateTrackingManager).
|
|
@@ -372,8 +344,7 @@ defineProps<{
|
|
|
372
344
|
* If this is set to `true`, then when determining which assigned resource of a multi assigned event
|
|
373
345
|
* to use to create the event UI, the first resource which is still selected in the
|
|
374
346
|
* [resourceFilter](https://bryntum.com/products/calendar/docs/api/Calendar/widget/Sidebar#property-resourceFilter) is used.
|
|
375
|
-
* ...
|
|
376
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-filterEventResources)
|
|
347
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-filterEventResources)
|
|
377
348
|
*/
|
|
378
349
|
filterEventResources ? : Boolean
|
|
379
350
|
/**
|
|
@@ -392,18 +363,15 @@ defineProps<{
|
|
|
392
363
|
/**
|
|
393
364
|
* Config object of a footer. May contain a `dock`, `html` and a `cls` property. A footer is not a widget,
|
|
394
365
|
* but rather plain HTML that follows the last element of the panel's body and [strips](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-strips).
|
|
395
|
-
* ...
|
|
396
|
-
*
|
|
366
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-footer)
|
|
367
|
+
* @property {'top','right','bottom','left','start','end'} dock Where to dock
|
|
368
|
+
* @property {string} html Html to populate the footer with
|
|
369
|
+
* @property {string} cls CSS class to add to the footer
|
|
397
370
|
*/
|
|
398
|
-
footer ? :
|
|
399
|
-
dock?: 'top'|'right'|'bottom'|'left'|'start'|'end'
|
|
400
|
-
html?: string
|
|
401
|
-
cls?: string
|
|
402
|
-
}|string
|
|
371
|
+
footer ? : object|string
|
|
403
372
|
/**
|
|
404
373
|
* A config [object](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#typedef-PanelHeader) for the panel's header or a string in place of a `title`.
|
|
405
|
-
* ...
|
|
406
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-header)
|
|
374
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-header)
|
|
407
375
|
*/
|
|
408
376
|
header ? : string|Boolean|PanelHeader
|
|
409
377
|
/**
|
|
@@ -418,8 +386,7 @@ defineProps<{
|
|
|
418
386
|
hidden ? : Boolean
|
|
419
387
|
/**
|
|
420
388
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
421
|
-
* ...
|
|
422
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-hideAnimation)
|
|
389
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-hideAnimation)
|
|
423
390
|
*/
|
|
424
391
|
hideAnimation ? : Boolean|object
|
|
425
392
|
/**
|
|
@@ -429,15 +396,13 @@ defineProps<{
|
|
|
429
396
|
/**
|
|
430
397
|
* Specify `true` to make this container hide when it has no visible children (Either empty
|
|
431
398
|
* or all children hidden).
|
|
432
|
-
* ...
|
|
433
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-hideWhenEmpty)
|
|
399
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-hideWhenEmpty)
|
|
434
400
|
*/
|
|
435
401
|
hideWhenEmpty ? : Boolean
|
|
436
402
|
/**
|
|
437
403
|
* Configure this as `true` to make picking a date in the [sidebar](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-sidebar)'s
|
|
438
404
|
* date picker highlight the date cell in the active view.
|
|
439
|
-
* ...
|
|
440
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-highlightDate)
|
|
405
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-highlightDate)
|
|
441
406
|
* @param {Date} date Cell date
|
|
442
407
|
* @returns {boolean} Returns `true` to make picking a date in a date picker
|
|
443
408
|
*/
|
|
@@ -461,23 +426,20 @@ defineProps<{
|
|
|
461
426
|
id ? : string
|
|
462
427
|
/**
|
|
463
428
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
464
|
-
* ...
|
|
465
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-ignoreParentReadOnly)
|
|
429
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-ignoreParentReadOnly)
|
|
466
430
|
*/
|
|
467
431
|
ignoreParentReadOnly ? : Boolean
|
|
468
432
|
/**
|
|
469
433
|
* Set to `true` to show the "Weekends" toggle button of the mode selector. Alternatively, this config
|
|
470
434
|
* can be a [Button](https://bryntum.com/products/calendar/docs/api/Core/widget/Button) config object to configure the button.
|
|
471
|
-
* ...
|
|
472
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-includeWeekendsButton)
|
|
435
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-includeWeekendsButton)
|
|
473
436
|
*/
|
|
474
437
|
includeWeekendsButton ? : Boolean|ButtonConfig
|
|
475
438
|
/**
|
|
476
439
|
* Convenience setting to align input fields of child widgets. By default, the Field input element is
|
|
477
440
|
* placed immediately following the `label`. If you prefer to have all input fields aligned to the
|
|
478
441
|
* right, set this config to `'end'`.
|
|
479
|
-
* ...
|
|
480
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-inputFieldAlign)
|
|
442
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-inputFieldAlign)
|
|
481
443
|
*/
|
|
482
444
|
inputFieldAlign ? : 'start'|'end'
|
|
483
445
|
/**
|
|
@@ -490,8 +452,7 @@ defineProps<{
|
|
|
490
452
|
insertFirst ? : HTMLElement|string
|
|
491
453
|
/**
|
|
492
454
|
* A template method (empty by default) allowing you to control if an event can be selected or not.
|
|
493
|
-
* ...
|
|
494
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-isEventSelectable)
|
|
455
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-isEventSelectable)
|
|
495
456
|
* @param {Scheduler.model.EventModel} event The event record
|
|
496
457
|
* @returns {boolean} true if event can be selected, otherwise false
|
|
497
458
|
*/
|
|
@@ -502,45 +463,43 @@ defineProps<{
|
|
|
502
463
|
itemCls ? : string
|
|
503
464
|
/**
|
|
504
465
|
* The child items of the Calendar view.
|
|
505
|
-
* ...
|
|
506
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-items)
|
|
466
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-items)
|
|
507
467
|
*/
|
|
508
468
|
items ? : object
|
|
509
469
|
/**
|
|
510
470
|
* The default key shortcuts for the Calendar.
|
|
511
|
-
* ...
|
|
512
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-keyMap)
|
|
471
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-keyMap)
|
|
513
472
|
*/
|
|
514
473
|
keyMap ? : Record<string, KeyMapConfig>
|
|
515
474
|
/**
|
|
516
475
|
* Convenience setting to use same label placement on all child widgets.
|
|
517
|
-
* ...
|
|
518
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-labelPosition)
|
|
476
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-labelPosition)
|
|
519
477
|
*/
|
|
520
478
|
labelPosition ? : 'before'|'above'|'align-before'|'auto'|null
|
|
479
|
+
/**
|
|
480
|
+
* Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.
|
|
481
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-labelWidth)
|
|
482
|
+
*/
|
|
483
|
+
labelWidth ? : number|null
|
|
521
484
|
/**
|
|
522
485
|
* The short name of a helper class which manages rendering and styling of child items.
|
|
523
|
-
* ...
|
|
524
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-layout)
|
|
486
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-layout)
|
|
525
487
|
*/
|
|
526
488
|
layout ? : string|ContainerLayoutConfig
|
|
527
489
|
/**
|
|
528
490
|
* The CSS style properties to apply to the [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).
|
|
529
|
-
* ...
|
|
530
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-layoutStyle)
|
|
491
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-layoutStyle)
|
|
531
492
|
*/
|
|
532
493
|
layoutStyle ? : object
|
|
533
494
|
/**
|
|
534
495
|
* An array of [child item](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#config-items) *config objects* which is to be converted into
|
|
535
496
|
* instances only when this Container is rendered, rather than eagerly at construct time.
|
|
536
|
-
* ...
|
|
537
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-lazyItems)
|
|
497
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-lazyItems)
|
|
538
498
|
*/
|
|
539
499
|
lazyItems ? : Record<string, ContainerItemConfig>|ContainerItemConfig[]|Widget[]
|
|
540
500
|
/**
|
|
541
501
|
* The listener set for this object.
|
|
542
|
-
* ...
|
|
543
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-listeners)
|
|
502
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-listeners)
|
|
544
503
|
*/
|
|
545
504
|
listeners ? : CalendarListeners
|
|
546
505
|
/**
|
|
@@ -553,23 +512,20 @@ defineProps<{
|
|
|
553
512
|
* when data is loading. The message and optional configuration from the
|
|
554
513
|
* [loadMask](https://bryntum.com/products/calendar/docs/api/Core/mixin/LoadMaskable#config-loadMask) config take priority over these options, just as they do
|
|
555
514
|
* for `maskDefaults`, respectively.
|
|
556
|
-
* ...
|
|
557
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-loadMaskDefaults)
|
|
515
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-loadMaskDefaults)
|
|
558
516
|
*/
|
|
559
517
|
loadMaskDefaults ? : MaskConfig
|
|
560
518
|
/**
|
|
561
519
|
* A [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) config object to adjust the [maskDefaults](#Core/widget/Widget#config-maskDefaults)
|
|
562
520
|
* when an error occurs loading data.
|
|
563
|
-
* ...
|
|
564
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-loadMaskError)
|
|
521
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-loadMaskError)
|
|
565
522
|
*/
|
|
566
523
|
loadMaskError ? : MaskConfig|Mask|Boolean
|
|
567
524
|
/**
|
|
568
525
|
* A class translations of which are used for translating this entity.
|
|
569
526
|
* This is often used when translations of an item are defined on its container class.
|
|
570
527
|
* For example:
|
|
571
|
-
* ...
|
|
572
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-localeClass)
|
|
528
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-localeClass)
|
|
573
529
|
*/
|
|
574
530
|
localeClass ? : typeof Base
|
|
575
531
|
/**
|
|
@@ -581,8 +537,7 @@ defineProps<{
|
|
|
581
537
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
582
538
|
* you could use 'localeKey' meta configuration.
|
|
583
539
|
* Example:
|
|
584
|
-
* ...
|
|
585
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-localizableProperties)
|
|
540
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-localizableProperties)
|
|
586
541
|
*/
|
|
587
542
|
localizableProperties ? : string[]
|
|
588
543
|
/**
|
|
@@ -617,8 +572,7 @@ defineProps<{
|
|
|
617
572
|
maxHeight ? : string|number
|
|
618
573
|
/**
|
|
619
574
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
620
|
-
* ...
|
|
621
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-maximizeOnMobile)
|
|
575
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-maximizeOnMobile)
|
|
622
576
|
*/
|
|
623
577
|
maximizeOnMobile ? : number|string
|
|
624
578
|
/**
|
|
@@ -650,49 +604,43 @@ defineProps<{
|
|
|
650
604
|
modeDefaults ? : object
|
|
651
605
|
/**
|
|
652
606
|
* Configures the view modes which are to be available in this Calendar.
|
|
653
|
-
* ...
|
|
654
|
-
*
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
}
|
|
607
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-modes)
|
|
608
|
+
* @property {ContainerItemConfig} modes.custom Settings specific to custom mode. `custom` may be any `String` property within this configuration object.
|
|
609
|
+
* @property {AgendaViewConfig,boolean,null} [modes.agenda] Settings specific to `agenda` mode. Specify `null` or `false` to disable this mode.
|
|
610
|
+
* @property {YearViewConfig,boolean,null} [modes.year] Settings specific to `year` mode. Specify `null` or `false` to disable this mode.
|
|
611
|
+
* @property {MonthViewConfig,boolean,null} [modes.month] Settings specific to `month` mode. Specify `null` or `false` to disable this mode.
|
|
612
|
+
* @property {WeekViewConfig,boolean,null} [modes.week] Settings specific to `week` mode. Specify `null` or `false` to disable this mode.
|
|
613
|
+
* @property {DayViewConfig,boolean,null} [modes.day] Settings specific to `day` mode. Specify `null` or `false` to disable this mode.
|
|
614
|
+
* @property {EventListConfig,boolean,null} [modes.list] Settings specific to `list` mode. This mode is disabled by default.
|
|
615
|
+
* @property {ResourceViewConfig,boolean,null} [modes.resource] Settings specific to `resource` mode. This mode is disabled by default.
|
|
616
|
+
* @property {DayResourceViewConfig,boolean,null} [modes.dayresourceview] Settings specific to `dayresourceview` mode. This mode is disabled by default.
|
|
617
|
+
* @property {DayAgendaViewConfig,boolean,null} [modes.dayagenda] Settings specific to `dayagenda` mode. This mode is disabled by default.
|
|
618
|
+
* @property {MonthAgendaViewConfig,boolean,null} [modes.monthagenda] Settings specific to `monthagenda` mode. This mode is disabled by default.
|
|
619
|
+
* @property {MonthGridConfig,boolean,null} [modes.monthgrid] Settings specific to `monthgrid` mode. This mode is disabled by default.
|
|
620
|
+
* @property {YearPlannerConfig,boolean,null} [modes.yearplanner] Settings specific to `yearplanner` mode. This mode is disabled by default.
|
|
621
|
+
*/
|
|
622
|
+
modes ? : { [mode: string]: ContainerItemConfig|Boolean|null|undefined, agenda?: AgendaViewConfig|Boolean|null, year?: YearViewConfig|Boolean|null, month?: MonthViewConfig|Boolean|null, week?: WeekViewConfig|Boolean|null, day?: DayViewConfig|Boolean|null, list?: EventListConfig|Boolean|null, resource?: ResourceViewConfig|Boolean|null, dayresourceview?: DayResourceViewConfig|Boolean|null, dayagenda?: DayAgendaViewConfig|Boolean|null, monthagenda?: MonthAgendaViewConfig|Boolean|null, monthgrid?: MonthGridConfig|Boolean|null, yearplanner?: YearPlannerConfig|Boolean|null }
|
|
670
623
|
/**
|
|
671
624
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
672
625
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
673
626
|
* layout.
|
|
674
|
-
* ...
|
|
675
|
-
*
|
|
627
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-monitorResize)
|
|
628
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
676
629
|
*/
|
|
677
|
-
monitorResize ? : Boolean|
|
|
678
|
-
immediate?: Boolean
|
|
679
|
-
}
|
|
630
|
+
monitorResize ? : Boolean|object
|
|
680
631
|
/**
|
|
681
632
|
* Configure as `true` to allow `CTRL/CMD+click` to select multiple events in the scheduler.
|
|
682
|
-
* ...
|
|
683
|
-
* [
|
|
633
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-multiEventSelect)
|
|
634
|
+
* @property {boolean} [ctrlKey] Set to `true` to use <kbd>Ctrl</kbd> key for multi selection (<kbd>Cmd</kbd> on Mac).
|
|
635
|
+
* @property {boolean} [altKey] Set to `true` to use <kbd>Alt</kbd> key for multi selection (<kbd>Option</kbd> on Mac)
|
|
636
|
+
* @property {boolean} [shiftKey] Set to `true` to use <kbd>Shift</kbd> key for multi selection
|
|
684
637
|
*/
|
|
685
|
-
multiEventSelect ? : Boolean|
|
|
686
|
-
ctrlKey?: Boolean
|
|
687
|
-
altKey?: Boolean
|
|
688
|
-
shiftKey?: Boolean
|
|
689
|
-
}
|
|
638
|
+
multiEventSelect ? : Boolean|object
|
|
690
639
|
/**
|
|
691
640
|
* An object containing default config objects which may be referenced by name in the [items](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#config-items)
|
|
692
641
|
* config. For example, a specialized [Menu](https://bryntum.com/products/calendar/docs/api/Core/widget/Menu) subclass may have a `namedItems` default
|
|
693
642
|
* value defined like this:
|
|
694
|
-
* ...
|
|
695
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-namedItems)
|
|
643
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-namedItems)
|
|
696
644
|
*/
|
|
697
645
|
namedItems ? : Record<string, ContainerItemConfig>
|
|
698
646
|
/**
|
|
@@ -701,8 +649,7 @@ defineProps<{
|
|
|
701
649
|
navigatorPlacement ? : 'toolbar'|'sidebar'
|
|
702
650
|
/**
|
|
703
651
|
* Non-working days as an object where keys are day indices, 0-6 (Sunday-Saturday), and the value is `true`.
|
|
704
|
-
* ...
|
|
705
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-nonWorkingDays)
|
|
652
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-nonWorkingDays)
|
|
706
653
|
*/
|
|
707
654
|
nonWorkingDays ? : Record<number, Boolean>
|
|
708
655
|
/**
|
|
@@ -715,8 +662,7 @@ defineProps<{
|
|
|
715
662
|
* Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement), but must
|
|
716
663
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
717
664
|
* widget's [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).
|
|
718
|
-
* ...
|
|
719
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-positioned)
|
|
665
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-positioned)
|
|
720
666
|
*/
|
|
721
667
|
positioned ? : Boolean
|
|
722
668
|
/**
|
|
@@ -727,10 +673,14 @@ defineProps<{
|
|
|
727
673
|
/**
|
|
728
674
|
* A [ProjectModel](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel) instance or a config object. The project holds all Scheduler data.
|
|
729
675
|
* 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.
|
|
730
|
-
* ...
|
|
731
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-project)
|
|
676
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-project)
|
|
732
677
|
*/
|
|
733
678
|
project ? : ProjectModel|ProjectModelConfig|object
|
|
679
|
+
/**
|
|
680
|
+
* The project model class to use when creating the project instance. Override this to use a custom project
|
|
681
|
+
* model class. In SchedulerPro and Gantt, this is overridden to use their respective project model classes.
|
|
682
|
+
*/
|
|
683
|
+
projectModelClass ? : typeof ProjectModel
|
|
734
684
|
/**
|
|
735
685
|
* The names of properties which are propagated down from the Calendar to child views
|
|
736
686
|
* unless the view has its own value for that property.
|
|
@@ -738,30 +688,26 @@ defineProps<{
|
|
|
738
688
|
propagatedConfigs ? : string[]
|
|
739
689
|
/**
|
|
740
690
|
* Configure as `true` to make the calendar read-only, by disabling any UIs for modifying data.
|
|
741
|
-
* ...
|
|
742
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-readOnly)
|
|
691
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-readOnly)
|
|
743
692
|
*/
|
|
744
693
|
readOnly ? : Boolean
|
|
745
694
|
/**
|
|
746
695
|
* The confirmation dialog shown when a recurring event is edited.
|
|
747
|
-
* ...
|
|
748
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-recurrenceConfirmationPopup)
|
|
696
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-recurrenceConfirmationPopup)
|
|
749
697
|
*/
|
|
750
|
-
recurrenceConfirmationPopup ? : RecurrenceConfirmationPopupConfig
|
|
698
|
+
recurrenceConfirmationPopup ? : RecurrenceConfirmationPopupConfig
|
|
751
699
|
relayStoreEvents ? : Boolean
|
|
752
700
|
/**
|
|
753
701
|
* Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
|
|
754
702
|
* `type`.
|
|
755
|
-
* ...
|
|
756
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-rendition)
|
|
703
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-rendition)
|
|
757
704
|
*/
|
|
758
705
|
rendition ? : string|Record<string, string>|null
|
|
759
706
|
/**
|
|
760
707
|
* Path to load resource images from. Used by the resource headers in ResourceView and by
|
|
761
708
|
* [showResourceAvatars](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-showResourceAvatars) in event-displaying
|
|
762
709
|
* modes.
|
|
763
|
-
* ...
|
|
764
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-resourceImagePath)
|
|
710
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-resourceImagePath)
|
|
765
711
|
*/
|
|
766
712
|
resourceImagePath ? : string
|
|
767
713
|
/**
|
|
@@ -774,8 +720,7 @@ defineProps<{
|
|
|
774
720
|
resourceStore ? : ResourceStore|ResourceStoreConfig
|
|
775
721
|
/**
|
|
776
722
|
* Inline resource time ranges, will be loaded into [resourceTimeRangeStore](https://bryntum.com/products/calendar/docs/api/Calendar/mixin/CalendarStores#property-resourceTimeRangeStore).
|
|
777
|
-
* ...
|
|
778
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-resourceTimeRanges)
|
|
723
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-resourceTimeRanges)
|
|
779
724
|
*/
|
|
780
725
|
resourceTimeRanges ? : ResourceTimeRangeModel[]|ResourceTimeRangeModelConfig[]
|
|
781
726
|
/**
|
|
@@ -787,8 +732,7 @@ defineProps<{
|
|
|
787
732
|
* Specifies the various responsive state objects keyed by their name. Each key (except `'*'`, see below) in
|
|
788
733
|
* this object is a state name (see [responsiveState](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveState)) and its corresponding value is the
|
|
789
734
|
* associated [ResponsiveState](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#typedef-ResponsiveState) object.
|
|
790
|
-
* ...
|
|
791
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-responsive)
|
|
735
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-responsive)
|
|
792
736
|
*/
|
|
793
737
|
responsive ? : object
|
|
794
738
|
/**
|
|
@@ -805,31 +749,33 @@ defineProps<{
|
|
|
805
749
|
* The widget whose size and other properties drive this object's responsive behavior. If this config is not
|
|
806
750
|
* specified, the closest ancestor that specified [responsiveRoot=true](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveRoot) will be
|
|
807
751
|
* used. If there is no such ancestor, then the instance using this mixin is used.
|
|
808
|
-
* ...
|
|
809
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-responsiveTarget)
|
|
752
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-responsiveTarget)
|
|
810
753
|
*/
|
|
811
754
|
responsiveTarget ? : string|Widget
|
|
812
755
|
/**
|
|
813
756
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
814
757
|
* [focusElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the
|
|
815
758
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
816
|
-
* ...
|
|
817
|
-
* [
|
|
759
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-ripple)
|
|
760
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
761
|
+
* @property {string} [color] A CSS color name or specification.
|
|
762
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
763
|
+
* @property {string} [clip] A string which describes how to clip the ripple if it is not to be clipped to the default element. Either the property of the widget to use as the clipping element, or a selector to allow clipping to the closest matching ancestor to the target element.
|
|
818
764
|
*/
|
|
819
|
-
ripple ? : Boolean|
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
765
|
+
ripple ? : Boolean|object
|
|
766
|
+
/**
|
|
767
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
768
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
769
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-role)
|
|
770
|
+
*/
|
|
771
|
+
role ? : string
|
|
825
772
|
/**
|
|
826
773
|
* If you are rendering this widget to a shadow root inside a web component, set this config to the shadowRoot. If not inside a web component, set it to `document.body`
|
|
827
774
|
*/
|
|
828
775
|
rootElement ? : ShadowRoot|HTMLElement
|
|
829
776
|
/**
|
|
830
777
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
831
|
-
* ...
|
|
832
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-rtl)
|
|
778
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-rtl)
|
|
833
779
|
*/
|
|
834
780
|
rtl ? : Boolean
|
|
835
781
|
/**
|
|
@@ -837,8 +783,7 @@ defineProps<{
|
|
|
837
783
|
* in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
|
|
838
784
|
* applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
|
|
839
785
|
* CSS overflow properties thus:
|
|
840
|
-
* ...
|
|
841
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-scrollable)
|
|
786
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-scrollable)
|
|
842
787
|
*/
|
|
843
788
|
scrollable ? : Boolean|ScrollerConfig|Scroller
|
|
844
789
|
/**
|
|
@@ -856,8 +801,7 @@ defineProps<{
|
|
|
856
801
|
selectResourceOnScheduleClick ? : Boolean
|
|
857
802
|
/**
|
|
858
803
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
859
|
-
* ...
|
|
860
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-showAnimation)
|
|
804
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-showAnimation)
|
|
861
805
|
*/
|
|
862
806
|
showAnimation ? : Boolean|object
|
|
863
807
|
/**
|
|
@@ -873,47 +817,42 @@ defineProps<{
|
|
|
873
817
|
/**
|
|
874
818
|
* An optional config object to configure the [Sidebar](https://bryntum.com/products/calendar/docs/api/Calendar/widget/Sidebar) which is
|
|
875
819
|
* shown next to the calendar views specified by the [modes](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-modes).
|
|
876
|
-
* ...
|
|
877
|
-
* [
|
|
878
|
-
* @param {
|
|
879
|
-
* @param {
|
|
880
|
-
* @param {
|
|
881
|
-
* @param {
|
|
882
|
-
* @param {
|
|
883
|
-
* @param {
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
sidebar ? : {side?: 'left'|'right', collapsed?: Boolean, items: { [mode: string]: ContainerItemConfig|null|undefined, datePicker?: DatePickerConfig, eventFilter?: TextFieldConfig, resourceFilter?: ResourceFilterConfig }}|Boolean
|
|
820
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-sidebar)
|
|
821
|
+
* @param {'left','right'} [side] Which [side](https://bryntum.com/products/calendar/docs/api/Calendar/widget/Sidebar#config-side) to dock to.
|
|
822
|
+
* @param {boolean} [collapsed] May be initially [collapsed](https://bryntum.com/products/calendar/docs/api/Calendar/widget/Sidebar#config-collapsed).
|
|
823
|
+
* @param {Record<string, ContainerItemConfig>} [items] Reconfigure or add to the sidebar UI.
|
|
824
|
+
* @param {ContainerItemConfig} [items.custom] Settings specific to custom item.
|
|
825
|
+
* @param {DatePickerConfig} [items.datePicker] The [DatePicker](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker) may be reconfigured using an object, or configured away using `null`. Its default [weight](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-weight) is 100.
|
|
826
|
+
* @param {TextFieldConfig} [items.eventFilter] The eventFilter is a [TextField](https://bryntum.com/products/calendar/docs/api/Core/widget/TextField) which may be used to filter the events by matched name. It may be reconfigured using an object, or configured away using `null`. Its default [weight](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-weight) is 150.
|
|
827
|
+
* @param {ResourceFilterConfig} [items.resourceFilter] The [ResourceFilter](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/ResourceFilter) may be reconfigured using an object, or configured away using `null`. Its default [weight](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-weight) is 200.
|
|
828
|
+
*/
|
|
829
|
+
sidebar ? : { side?: 'left'|'right', collapsed?: Boolean, items?: Record<string, ContainerItemConfig> }|Boolean
|
|
887
830
|
/**
|
|
888
831
|
* Programmatic control over how many columns to span when used in a grid layout.
|
|
889
832
|
*/
|
|
890
833
|
span ? : number
|
|
891
834
|
/**
|
|
892
835
|
* This value can be one of the following:
|
|
893
|
-
* ...
|
|
894
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-stateful)
|
|
836
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-stateful)
|
|
895
837
|
*/
|
|
896
838
|
stateful ? : Boolean|object|string[]
|
|
897
839
|
/**
|
|
898
840
|
* The events that, when fired by this component, should trigger it to save its state by calling
|
|
899
841
|
* [saveState](https://bryntum.com/products/calendar/docs/api/Core/mixin/State#function-saveState).
|
|
900
|
-
* ...
|
|
901
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-statefulEvents)
|
|
842
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-statefulEvents)
|
|
902
843
|
*/
|
|
903
844
|
statefulEvents ? : object|string[]
|
|
904
845
|
/**
|
|
905
846
|
* The key to use when saving this object's state in the [stateProvider](https://bryntum.com/products/calendar/docs/api/Core/mixin/State#config-stateProvider). If this config is
|
|
906
847
|
* not assigned, and [stateful](https://bryntum.com/products/calendar/docs/api/Core/mixin/State#config-stateful) is not set to `false`, the [id](#Core/widget/Widget#config-id)
|
|
907
848
|
* (if explicitly specified) will be used as the `stateId`.
|
|
908
|
-
* ...
|
|
909
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-stateId)
|
|
849
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-stateId)
|
|
910
850
|
*/
|
|
911
851
|
stateId ? : string
|
|
912
852
|
/**
|
|
913
853
|
* The `StateProvider` to use to save and restore this object's [state](https://bryntum.com/products/calendar/docs/api/Core/mixin/State#property-state). By default, `state`
|
|
914
854
|
* will be saved using the [default state provider](https://bryntum.com/products/calendar/docs/api/Core/state/StateProvider#property-instance-static).
|
|
915
|
-
* ...
|
|
916
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-stateProvider)
|
|
855
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-stateProvider)
|
|
917
856
|
*/
|
|
918
857
|
stateProvider ? : StateProvider
|
|
919
858
|
/**
|
|
@@ -925,30 +864,26 @@ defineProps<{
|
|
|
925
864
|
* An object containing widgets keyed by name. By default (when no `type` is given), strips are
|
|
926
865
|
* [toolbars](https://bryntum.com/products/calendar/docs/api/Core/widget/Toolbar). If you want to pass an array, you can use
|
|
927
866
|
* the toolbar's [items](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#config-items).
|
|
928
|
-
* ...
|
|
929
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-strips)
|
|
867
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-strips)
|
|
930
868
|
*/
|
|
931
869
|
strips ? : Record<string, ContainerItemConfig>
|
|
932
870
|
/**
|
|
933
871
|
* A [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) config object, or a message to be shown when Crud Manager
|
|
934
872
|
* is persisting changes on the server. Set to `null` to disable default sync mask.
|
|
935
|
-
* ...
|
|
936
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-syncMask)
|
|
873
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-syncMask)
|
|
937
874
|
*/
|
|
938
875
|
syncMask ? : string|MaskConfig|null
|
|
939
876
|
/**
|
|
940
877
|
* A configuration for the [tab](https://bryntum.com/products/calendar/docs/api/Core/widget/Tab) created for this widget when it is placed in a
|
|
941
878
|
* [TabPanel](https://bryntum.com/products/calendar/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for
|
|
942
879
|
* this widget:
|
|
943
|
-
* ...
|
|
944
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-tab)
|
|
880
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-tab)
|
|
945
881
|
*/
|
|
946
882
|
tab ? : Boolean|TabConfig
|
|
947
883
|
/**
|
|
948
884
|
* When this container is used as a tab in a TabPanel, these items are added to the
|
|
949
885
|
* [TabBar](https://bryntum.com/products/calendar/docs/api/Core/widget/TabBar) when this container is the active tab.
|
|
950
|
-
* ...
|
|
951
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-tabBarItems)
|
|
886
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-tabBarItems)
|
|
952
887
|
*/
|
|
953
888
|
tabBarItems ? : ToolbarItems[]|Widget[]
|
|
954
889
|
/**
|
|
@@ -957,20 +892,17 @@ defineProps<{
|
|
|
957
892
|
tag ? : string
|
|
958
893
|
/**
|
|
959
894
|
* A config object containing definitions of the toolbar of the Calendar.
|
|
960
|
-
* ...
|
|
961
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-tbar)
|
|
895
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-tbar)
|
|
962
896
|
*/
|
|
963
897
|
tbar ? : (ContainerItemConfig|string)[]|ToolbarConfig|CalendarToolbarConfig|null
|
|
964
898
|
/**
|
|
965
899
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
966
|
-
* ...
|
|
967
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-textAlign)
|
|
900
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-textAlign)
|
|
968
901
|
*/
|
|
969
902
|
textAlign ? : 'left'|'center'|'right'|'start'|'end'
|
|
970
903
|
/**
|
|
971
904
|
* Inline time ranges, will be loaded into the [timeRangeStore](https://bryntum.com/products/calendar/docs/api/Calendar/mixin/CalendarStores#property-timeRangeStore).
|
|
972
|
-
* ...
|
|
973
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-timeRanges)
|
|
905
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-timeRanges)
|
|
974
906
|
*/
|
|
975
907
|
timeRanges ? : TimeRangeModel[]|TimeRangeModelConfig[]
|
|
976
908
|
/**
|
|
@@ -983,29 +915,25 @@ defineProps<{
|
|
|
983
915
|
* [timeZone](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#config-timeZone) config accordingly. As this config is only a referer,
|
|
984
916
|
* please see project's config [documentation](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#config-timeZone) for more
|
|
985
917
|
* information.
|
|
986
|
-
* ...
|
|
987
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-timeZone)
|
|
918
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-timeZone)
|
|
988
919
|
*/
|
|
989
920
|
timeZone ? : string|number
|
|
990
921
|
/**
|
|
991
922
|
* A title to display in the header or owning TabPanel. Causes creation and docking of a header
|
|
992
923
|
* to the top if no header is configured.
|
|
993
|
-
* ...
|
|
994
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-title)
|
|
924
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-title)
|
|
995
925
|
*/
|
|
996
926
|
title ? : string
|
|
997
927
|
/**
|
|
998
928
|
* The [tools](https://bryntum.com/products/calendar/docs/api/Core/widget/Tool) to add either before or after the `title` in the Panel header. Each
|
|
999
929
|
* property name is the reference by which an instantiated tool may be retrieved from the live
|
|
1000
930
|
* `[tools](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Toolable#property-tools)` property.
|
|
1001
|
-
* ...
|
|
1002
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-tools)
|
|
931
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-tools)
|
|
1003
932
|
*/
|
|
1004
933
|
tools ? : Record<string, ToolConfig>|null
|
|
1005
934
|
/**
|
|
1006
935
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
1007
|
-
* ...
|
|
1008
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-tooltip)
|
|
936
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-tooltip)
|
|
1009
937
|
*/
|
|
1010
938
|
tooltip ? : string|TooltipConfig|null
|
|
1011
939
|
/**
|
|
@@ -1023,29 +951,25 @@ defineProps<{
|
|
|
1023
951
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
1024
952
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
1025
953
|
* values are used as the class names.
|
|
1026
|
-
* ...
|
|
1027
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-ui)
|
|
954
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-ui)
|
|
1028
955
|
*/
|
|
1029
956
|
ui ? : 'plain'|'toolbar'|string|object
|
|
1030
957
|
/**
|
|
1031
958
|
* By default, the day of week and week of month of the event's start date are used to create
|
|
1032
959
|
* helpful contextual recurrence types when editing a non-recurring event record and choosing
|
|
1033
960
|
* an initial recurrence type.
|
|
1034
|
-
* ...
|
|
1035
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-useContextualRecurrenceRules)
|
|
961
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-useContextualRecurrenceRules)
|
|
1036
962
|
*/
|
|
1037
963
|
useContextualRecurrenceRules ? : Boolean
|
|
1038
964
|
/**
|
|
1039
965
|
* Configuration options to change how the subordinate [Container](https://bryntum.com/products/calendar/docs/api/Core/widget/Container) which contains
|
|
1040
966
|
* the calendar's child views is created.
|
|
1041
|
-
* ...
|
|
1042
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-viewContainer)
|
|
967
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-viewContainer)
|
|
1043
968
|
*/
|
|
1044
969
|
viewContainer ? : ContainerConfig
|
|
1045
970
|
/**
|
|
1046
971
|
* The week start day to be used throughout this Calendar, 0 meaning Sunday, 6 meaning Saturday.
|
|
1047
|
-
* ...
|
|
1048
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-weekStartDay)
|
|
972
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-weekStartDay)
|
|
1049
973
|
*/
|
|
1050
974
|
weekStartDay ? : number
|
|
1051
975
|
/**
|
|
@@ -1061,14 +985,12 @@ defineProps<{
|
|
|
1061
985
|
width ? : string|number
|
|
1062
986
|
/**
|
|
1063
987
|
* The x position for the widget.
|
|
1064
|
-
* ...
|
|
1065
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-x)
|
|
988
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-x)
|
|
1066
989
|
*/
|
|
1067
990
|
x ? : number
|
|
1068
991
|
/**
|
|
1069
992
|
* The y position for the widget.
|
|
1070
|
-
* ...
|
|
1071
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-y)
|
|
993
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#config-y)
|
|
1072
994
|
*/
|
|
1073
995
|
y ? : number
|
|
1074
996
|
|
|
@@ -1078,102 +1000,87 @@ defineProps<{
|
|
|
1078
1000
|
* the agent and see the responses. Which allows the user to use natural language to interact with the Calendar in
|
|
1079
1001
|
* different ways. For example, the user can ask the agent to filter the data, sort it, or select specific records.
|
|
1080
1002
|
* The agent can also perform data manipulation operations such as adding, updating, deleting records.
|
|
1081
|
-
* ...
|
|
1082
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/AI)
|
|
1003
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/AI)
|
|
1083
1004
|
*/
|
|
1084
1005
|
aiFeature ? : object|Boolean|string|AI|AIConfig
|
|
1085
1006
|
/**
|
|
1086
1007
|
* This feature provides drag-based event creation and modification for Calendars. When enabled (which is the default
|
|
1087
1008
|
* for calendars), the user can do the following via the mouse or touch screen:
|
|
1088
|
-
* ...
|
|
1089
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/CalendarDrag)
|
|
1009
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/CalendarDrag)
|
|
1090
1010
|
*/
|
|
1091
1011
|
dragFeature ? : object|Boolean|string|CalendarDrag|CalendarDragConfig
|
|
1092
1012
|
/**
|
|
1093
1013
|
* A Feature that allows showing additional time before & after an event, to visualize things like travel time - or the time you
|
|
1094
1014
|
* need to prepare a room for a meeting + clean it up after.
|
|
1095
|
-
* ...
|
|
1096
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/EventBuffer)
|
|
1015
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/EventBuffer)
|
|
1097
1016
|
*/
|
|
1098
1017
|
eventBufferFeature ? : object|Boolean|string|EventBuffer|EventBufferConfig
|
|
1099
1018
|
/**
|
|
1100
1019
|
* Allow using <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>C</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>X</kbd> and
|
|
1101
1020
|
* <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>V</kbd> to copy/cut-and-paste events.
|
|
1102
|
-
* ...
|
|
1103
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/EventCopyPaste)
|
|
1021
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/EventCopyPaste)
|
|
1104
1022
|
*/
|
|
1105
1023
|
eventCopyPasteFeature ? : object|Boolean|string|EventCopyPaste|EventCopyPasteConfig
|
|
1106
1024
|
/**
|
|
1107
1025
|
* Feature that displays a popup containing fields for editing event data.
|
|
1108
|
-
* ...
|
|
1109
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/EventEdit)
|
|
1026
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/EventEdit)
|
|
1110
1027
|
*/
|
|
1111
1028
|
eventEditFeature ? : object|Boolean|string|EventEdit|EventEditConfig
|
|
1112
1029
|
/**
|
|
1113
1030
|
* A feature which shows a context menu when right-clicking events in the calendar.
|
|
1114
|
-
* ...
|
|
1115
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/EventMenu)
|
|
1031
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/EventMenu)
|
|
1116
1032
|
*/
|
|
1117
1033
|
eventMenuFeature ? : object|Boolean|string|EventMenu|EventMenuConfig
|
|
1118
1034
|
/**
|
|
1119
1035
|
* A feature which displays a [tooltip](https://bryntum.com/products/calendar/docs/api/Calendar/feature/EventTooltip#config-tooltip) containing extra information. The tooltip can
|
|
1120
1036
|
* be triggered by clicking or hovering an event bar element (see [showOn](https://bryntum.com/products/calendar/docs/api/Calendar/feature/EventTooltip#config-showOn)).
|
|
1121
|
-
* ...
|
|
1122
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/EventTooltip)
|
|
1037
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/EventTooltip)
|
|
1123
1038
|
*/
|
|
1124
1039
|
eventTooltipFeature ? : object|Boolean|string|EventTooltip|EventTooltipConfig
|
|
1125
1040
|
/**
|
|
1126
1041
|
* A feature that allows exporting Calendar data to Excel or CSV without involving the server. It uses
|
|
1127
1042
|
* [TableExporter](https://bryntum.com/products/calendar/docs/api/Grid/util/TableExporter) class as data provider, 3rd party provider to generate XLS files, and
|
|
1128
1043
|
* [Microsoft XML specification](https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.spreadsheet.aspx).
|
|
1129
|
-
* ...
|
|
1130
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/experimental/ExcelExporter)
|
|
1044
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/experimental/ExcelExporter)
|
|
1131
1045
|
*/
|
|
1132
1046
|
excelExporterFeature ? : object|Boolean|string|ExcelExporter|ExcelExporterConfig
|
|
1133
1047
|
/**
|
|
1134
1048
|
* A Calendar feature which allows new events to be dragged into the Calendar from an external source.
|
|
1135
|
-
* ...
|
|
1136
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/ExternalEventSource)
|
|
1049
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/ExternalEventSource)
|
|
1137
1050
|
*/
|
|
1138
1051
|
externalEventSourceFeature ? : object|Boolean|string|ExternalEventSource|ExternalEventSourceConfig
|
|
1139
1052
|
/**
|
|
1140
1053
|
* Loads the host Calendar's [CrudManager](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/SchedulerStores#config-crudManager) on demand
|
|
1141
1054
|
* as the date range required to produce the UI changes.
|
|
1142
|
-
* ...
|
|
1143
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/LoadOnDemand)
|
|
1055
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/LoadOnDemand)
|
|
1144
1056
|
*/
|
|
1145
1057
|
loadOnDemandFeature ? : object|Boolean|string|LoadOnDemand|LoadOnDemandConfig
|
|
1146
1058
|
/**
|
|
1147
1059
|
* This feature enables printing of the current Calendar mode.
|
|
1148
|
-
* ...
|
|
1149
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/print/Print)
|
|
1060
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/print/Print)
|
|
1150
1061
|
*/
|
|
1151
1062
|
printFeature ? : object|Boolean|string|Print|PrintConfig
|
|
1152
1063
|
/**
|
|
1153
1064
|
* A feature which adds a context menu to the unoccupied parts of calendar views.
|
|
1154
|
-
* ...
|
|
1155
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/ScheduleMenu)
|
|
1065
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/ScheduleMenu)
|
|
1156
1066
|
*/
|
|
1157
1067
|
scheduleMenuFeature ? : object|Boolean|string|ScheduleMenu|ScheduleMenuConfig
|
|
1158
1068
|
/**
|
|
1159
1069
|
* A feature that displays a tooltip containing the time at the mouse position when hovering empty parts of the schedule.
|
|
1160
|
-
* ...
|
|
1161
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/ScheduleTooltip)
|
|
1070
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/ScheduleTooltip)
|
|
1162
1071
|
*/
|
|
1163
1072
|
scheduleTooltipFeature ? : object|Boolean|string|ScheduleTooltip|ScheduleTooltipConfig
|
|
1164
1073
|
/**
|
|
1165
1074
|
* This feature provides an easy way to highlight ranges of time in a calendar's day and week views. Each time range is
|
|
1166
1075
|
* represented using the [TimeRangeModel](https://bryntum.com/products/calendar/docs/api/Calendar/model/TimeRangeModel).
|
|
1167
|
-
* ...
|
|
1168
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/TimeRanges)
|
|
1076
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/TimeRanges)
|
|
1169
1077
|
*/
|
|
1170
1078
|
timeRangesFeature ? : object|Boolean|string|TimeRanges|TimeRangesConfig
|
|
1171
1079
|
/**
|
|
1172
1080
|
* A Feature which, when present, adds a week row expansion tool to week rows in
|
|
1173
1081
|
* [MonthView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView)s so that a row which contains overflowing cells
|
|
1174
1082
|
* can be expanded to show all events with no overflow.
|
|
1175
|
-
* ...
|
|
1176
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/WeekExpander)
|
|
1083
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/feature/WeekExpander)
|
|
1177
1084
|
*/
|
|
1178
1085
|
weekExpanderFeature ? : object|Boolean|string|WeekExpander|WeekExpanderConfig
|
|
1179
1086
|
|
|
@@ -1224,13 +1131,12 @@ const emit = defineEmits<{
|
|
|
1224
1131
|
* @param {CalendarView} params.event.prevActiveItem The previously active view.
|
|
1225
1132
|
* @param {CalendarView} params.event.activeItem The new active view.
|
|
1226
1133
|
*/
|
|
1227
|
-
(e: 'beforeActiveItemChange', params: ((event: { source: Calendar, prevActiveItem: CalendarView, activeItem: CalendarView }) =>
|
|
1134
|
+
(e: 'beforeActiveItemChange', params: ((event: { source: Calendar, prevActiveItem: CalendarView, activeItem: CalendarView }) => boolean|void)|string): boolean|void
|
|
1228
1135
|
/**
|
|
1229
1136
|
* Fires before an assignment is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or
|
|
1230
1137
|
* by the event editor. Can for example be used to display a custom dialog to confirm deletion, in which
|
|
1231
1138
|
* case records should be "manually" removed after confirmation.
|
|
1232
|
-
* ...
|
|
1233
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-beforeAssignmentDelete)
|
|
1139
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-beforeAssignmentDelete)
|
|
1234
1140
|
* @param {string} e Event name
|
|
1235
1141
|
* @param {object} params Event parameters
|
|
1236
1142
|
* @param {object} params.event Event object
|
|
@@ -1238,7 +1144,7 @@ const emit = defineEmits<{
|
|
|
1238
1144
|
* @param {Scheduler.model.AssignmentModel[]} params.event.assignmentRecords The assignment records about to be deleted
|
|
1239
1145
|
* @param {object} params.event.context Additional removal context. This allows you to process the deletion by calling `context.finalize()` if you return `false` from the event handler.
|
|
1240
1146
|
* @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.
|
|
1241
|
-
* @param {boolean} params.event.context.finalize.removeRecords Provide `false` to the function to prevent the removal.
|
|
1147
|
+
* @param {boolean} [params.event.context.finalize.removeRecords] Provide `false` to the function to prevent the removal.
|
|
1242
1148
|
*/
|
|
1243
1149
|
(e: 'beforeAssignmentDelete', params: ((event: { source: Scheduler, assignmentRecords: AssignmentModel[], context: { finalize: { removeRecords?: boolean } } }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1244
1150
|
/**
|
|
@@ -1253,11 +1159,10 @@ const emit = defineEmits<{
|
|
|
1253
1159
|
* @param {Scheduler.model.AssignmentModel[]} params.event.deselected An array of assignments that will be removed from the selection.
|
|
1254
1160
|
* @param {Scheduler.model.AssignmentModel[]} params.event.selection The currently selected assignments, before applying `selected` and `deselected`.
|
|
1255
1161
|
*/
|
|
1256
|
-
(e: 'beforeAssignmentSelectionChange', params: ((event: { source: Scheduler, action: 'select'|'deselect'|'update'|'clear', selected: AssignmentModel[], deselected: AssignmentModel[], selection: AssignmentModel[] }) =>
|
|
1162
|
+
(e: 'beforeAssignmentSelectionChange', params: ((event: { source: Scheduler, action: 'select'|'deselect'|'update'|'clear', selected: AssignmentModel[], deselected: AssignmentModel[], selection: AssignmentModel[] }) => boolean|void)|string): boolean|void
|
|
1257
1163
|
/**
|
|
1258
1164
|
* This event fires whenever a child view's [autoCreate gesture](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-autoCreate) is detected and also when a [drag-create](#Calendar/feature/CalendarDrag) gesture is detected.
|
|
1259
|
-
* ...
|
|
1260
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-beforeAutoCreate)
|
|
1165
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-beforeAutoCreate)
|
|
1261
1166
|
* @param {string} e Event name
|
|
1262
1167
|
* @param {object} params Event parameters
|
|
1263
1168
|
* @param {object} params.event Event object
|
|
@@ -1268,7 +1173,7 @@ const emit = defineEmits<{
|
|
|
1268
1173
|
* @param {Date} params.event.endDate The ending time of the event to be created.
|
|
1269
1174
|
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The resource if the UI includes a resource.
|
|
1270
1175
|
*/
|
|
1271
|
-
(e: 'beforeAutoCreate', params: ((event: { source: CalendarView, domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel }) =>
|
|
1176
|
+
(e: 'beforeAutoCreate', params: ((event: { source: CalendarView, domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel }) => boolean|void)|string): boolean|void
|
|
1272
1177
|
/**
|
|
1273
1178
|
* Fires on the owning Scheduler before a copy action is performed, return `false` to prevent the action
|
|
1274
1179
|
* @param {string} e Event name
|
|
@@ -1289,7 +1194,7 @@ const emit = defineEmits<{
|
|
|
1289
1194
|
* @param {Calendar.view.Calendar} params.event.source This Calendar
|
|
1290
1195
|
* @param {AgendaViewConfig,DayResourceViewConfig,DayViewConfig,EventListConfig,MonthViewConfig,ResourceViewConfig,WeekViewConfig,YearViewConfig,DayAgendaViewConfig,MonthAgendaViewConfig,ContainerItemConfig} params.event.config The configuration block of the mode about to be created. Any property, including the `type` may be changed.
|
|
1291
1196
|
*/
|
|
1292
|
-
(e: 'beforeCreateMode', params: ((event: { source: Calendar, config: AgendaViewConfig|DayResourceViewConfig|DayViewConfig|EventListConfig|MonthViewConfig|ResourceViewConfig|WeekViewConfig|YearViewConfig|DayAgendaViewConfig|MonthAgendaViewConfig|ContainerItemConfig }) =>
|
|
1197
|
+
(e: 'beforeCreateMode', params: ((event: { source: Calendar, config: AgendaViewConfig|DayResourceViewConfig|DayViewConfig|EventListConfig|MonthViewConfig|ResourceViewConfig|WeekViewConfig|YearViewConfig|DayAgendaViewConfig|MonthAgendaViewConfig|ContainerItemConfig }) => boolean|void)|string): boolean|void
|
|
1293
1198
|
/**
|
|
1294
1199
|
* Fires on the owning Grid before CSV export starts. Return `false` to cancel the export.
|
|
1295
1200
|
* @param {string} e Event name
|
|
@@ -1301,7 +1206,7 @@ const emit = defineEmits<{
|
|
|
1301
1206
|
* @param {string} params.event.lineDelimiter The CSV delimiter to separate lines
|
|
1302
1207
|
* @param {string} params.event.columnDelimiter The CSV delimiter to separate values on one line
|
|
1303
1208
|
*/
|
|
1304
|
-
(e: 'beforeCSVExport', params: ((event: { config: ExportConfig, columns: Column[], rows: Model[], lineDelimiter: string, columnDelimiter: string }) =>
|
|
1209
|
+
(e: 'beforeCSVExport', params: ((event: { config: ExportConfig, columns: Column[], rows: Model[], lineDelimiter: string, columnDelimiter: string }) => boolean|void)|string): boolean|void
|
|
1305
1210
|
/**
|
|
1306
1211
|
* Fires before an object is destroyed.
|
|
1307
1212
|
* @param {string} e Event name
|
|
@@ -1320,11 +1225,11 @@ const emit = defineEmits<{
|
|
|
1320
1225
|
* @param {Core.util.drag.DragContext} params.event.drag The drag create context.
|
|
1321
1226
|
* @param {Event} params.event.domEvent The browser event.
|
|
1322
1227
|
* @param {Date} params.event.date The date at the drag DOM event position.
|
|
1323
|
-
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The `ResourceModel` record if the gesture was performed in a resource-type view.
|
|
1228
|
+
* @param {Scheduler.model.ResourceModel} [params.event.resourceRecord] The `ResourceModel` record if the gesture was performed in a resource-type view.
|
|
1324
1229
|
* @param {Calendar.feature.CalendarDrag} params.event.feature The Calendar drag feature instance.
|
|
1325
1230
|
* @param {CalendarView} params.event.view The Calendar widget in which the drag is being started.
|
|
1326
1231
|
*/
|
|
1327
|
-
(e: 'beforeDragCreate', params: ((event: { source: Calendar, drag: DragContext, domEvent: Event, date: Date, resourceRecord?: ResourceModel, feature: CalendarDrag, view: CalendarView }) =>
|
|
1232
|
+
(e: 'beforeDragCreate', params: ((event: { source: Calendar, drag: DragContext, domEvent: Event, date: Date, resourceRecord?: ResourceModel, feature: CalendarDrag, view: CalendarView }) => boolean|void)|string): boolean|void
|
|
1328
1233
|
/**
|
|
1329
1234
|
* This event fires on the owning Calendar before a drag creation gesture is completed. Return `false` to
|
|
1330
1235
|
* immediately veto the operation or a Promise yielding `true` or `false` for async vetoing.
|
|
@@ -1337,7 +1242,7 @@ const emit = defineEmits<{
|
|
|
1337
1242
|
* @param {Scheduler.model.EventModel} params.event.eventRecord The `EventModel` record being created that has not yet been added in the store.
|
|
1338
1243
|
* @param {Date} params.event.newStartDate The new start date.
|
|
1339
1244
|
* @param {Date} params.event.newEndDate The new end date.
|
|
1340
|
-
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The `ResourceModel` record if the gesture was performed in a resource-type view.
|
|
1245
|
+
* @param {Scheduler.model.ResourceModel} [params.event.resourceRecord] The `ResourceModel` record if the gesture was performed in a resource-type view.
|
|
1341
1246
|
* @param {Calendar.feature.CalendarDrag} params.event.feature The Calendar drag feature instance.
|
|
1342
1247
|
* @param {boolean,ValidateCreateResult} params.event.validation The result of the [validateCreateFn](https://bryntum.com/products/calendar/docs/api/Calendar/feature/CalendarDrag#config-validateCreateFn) if one was provided.
|
|
1343
1248
|
* @param {CalendarView} params.event.view The Calendar widget in which the drag completed.
|
|
@@ -1354,11 +1259,11 @@ const emit = defineEmits<{
|
|
|
1354
1259
|
* @param {Event} params.event.domEvent The browser event.
|
|
1355
1260
|
* @param {Scheduler.model.EventModel} params.event.eventRecord The `EventModel` record being moved.
|
|
1356
1261
|
* @param {Date} params.event.date The date at the drag DOM event position.
|
|
1357
|
-
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The `ResourceModel` record if the gesture was performed in a resource-type view.
|
|
1262
|
+
* @param {Scheduler.model.ResourceModel} [params.event.resourceRecord] The `ResourceModel` record if the gesture was performed in a resource-type view.
|
|
1358
1263
|
* @param {Calendar.feature.CalendarDrag} params.event.feature The Calendar drag feature instance.
|
|
1359
1264
|
* @param {CalendarView} params.event.view The Calendar widget in which the drag is being started.
|
|
1360
1265
|
*/
|
|
1361
|
-
(e: 'beforeDragMove', params: ((event: { source: Calendar, drag: DragContext, domEvent: Event, eventRecord: EventModel, date: Date, resourceRecord?: ResourceModel, feature: CalendarDrag, view: CalendarView }) =>
|
|
1266
|
+
(e: 'beforeDragMove', params: ((event: { source: Calendar, drag: DragContext, domEvent: Event, eventRecord: EventModel, date: Date, resourceRecord?: ResourceModel, feature: CalendarDrag, view: CalendarView }) => boolean|void)|string): boolean|void
|
|
1362
1267
|
/**
|
|
1363
1268
|
* This event fires on the owning Calendar before a drag move gesture is completed. Return `false` to immediately veto the operation
|
|
1364
1269
|
* or a Promise yielding `true` or `false` for async vetoing.
|
|
@@ -1372,7 +1277,7 @@ const emit = defineEmits<{
|
|
|
1372
1277
|
* @param {Scheduler.model.EventModel} params.event.proxyEventRecord The `EventModel` record that is being used as a proxy for the drag operation and being updated on every pointer move. This will contain changed values based on the drag position.
|
|
1373
1278
|
* @param {Date} params.event.newStartDate The new start date.
|
|
1374
1279
|
* @param {Date} params.event.newEndDate The new end date.
|
|
1375
|
-
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The `ResourceModel` record if the gesture was performed in a resource-type view.
|
|
1280
|
+
* @param {Scheduler.model.ResourceModel} [params.event.resourceRecord] The `ResourceModel` record if the gesture was performed in a resource-type view.
|
|
1376
1281
|
* @param {Calendar.feature.CalendarDrag} params.event.feature The Calendar drag feature instance.
|
|
1377
1282
|
* @param {boolean,ValidateCreateResult} params.event.validation The result of the [validateMoveFn](https://bryntum.com/products/calendar/docs/api/Calendar/feature/CalendarDrag#config-validateMoveFn) if one was provided.
|
|
1378
1283
|
* @param {CalendarView} params.event.view The Calendar widget in which the drag completed.
|
|
@@ -1389,11 +1294,11 @@ const emit = defineEmits<{
|
|
|
1389
1294
|
* @param {Event} params.event.domEvent The browser event.
|
|
1390
1295
|
* @param {Scheduler.model.EventModel} params.event.eventRecord The `EventModel` record being resized.
|
|
1391
1296
|
* @param {Date} params.event.date The date at the drag DOM event position.
|
|
1392
|
-
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The `ResourceModel` record if the gesture was performed in a resource-type view.
|
|
1297
|
+
* @param {Scheduler.model.ResourceModel} [params.event.resourceRecord] The `ResourceModel` record if the gesture was performed in a resource-type view.
|
|
1393
1298
|
* @param {Calendar.feature.CalendarDrag} params.event.feature The Calendar drag feature instance.
|
|
1394
1299
|
* @param {CalendarView} params.event.view The Calendar widget in which the drag is being started.
|
|
1395
1300
|
*/
|
|
1396
|
-
(e: 'beforeDragResize', params: ((event: { source: Calendar, drag: DragContext, domEvent: Event, eventRecord: EventModel, date: Date, resourceRecord?: ResourceModel, feature: CalendarDrag, view: CalendarView }) =>
|
|
1301
|
+
(e: 'beforeDragResize', params: ((event: { source: Calendar, drag: DragContext, domEvent: Event, eventRecord: EventModel, date: Date, resourceRecord?: ResourceModel, feature: CalendarDrag, view: CalendarView }) => boolean|void)|string): boolean|void
|
|
1397
1302
|
/**
|
|
1398
1303
|
* This event fires on the owning Calendar before a drag resize gesture is completed. Return `false` to immediately veto the operation
|
|
1399
1304
|
* or a Promise yielding `true` or `false` for async vetoing.
|
|
@@ -1416,8 +1321,7 @@ const emit = defineEmits<{
|
|
|
1416
1321
|
* This event is fired on the owning Calendar when dropping an event from the calendar on the
|
|
1417
1322
|
* external source <strong>if the [droppable](https://bryntum.com/products/calendar/docs/api/Calendar/feature/ExternalEventSource#config-droppable) was configured</strong>. Returning `false`
|
|
1418
1323
|
* prevents the gesture from being completed.
|
|
1419
|
-
* ...
|
|
1420
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-beforeDropExternal)
|
|
1324
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-beforeDropExternal)
|
|
1421
1325
|
* @param {string} e Event name
|
|
1422
1326
|
* @param {object} params Event parameters
|
|
1423
1327
|
* @param {object} params.event Event object
|
|
@@ -1434,13 +1338,12 @@ const emit = defineEmits<{
|
|
|
1434
1338
|
* @param {boolean} params.event.metaKey `true` if the Meta key was down when the last event was processed.
|
|
1435
1339
|
* @param {boolean} params.event.shiftKey `true` if the Shift key was down when the last event was processed.
|
|
1436
1340
|
*/
|
|
1437
|
-
(e: 'beforeDropExternal', params: ((event: { eventRecord: EventModel, dropOnCalendar: boolean, itemElement: HTMLElement, targetElement: HTMLElement, domEvent: Event, overIndex: number, overRecord: Model, isAbove: boolean, altKey: boolean, ctrlKey: boolean, metaKey: boolean, shiftKey: boolean }) =>
|
|
1341
|
+
(e: 'beforeDropExternal', params: ((event: { eventRecord: EventModel, dropOnCalendar: boolean, itemElement: HTMLElement, targetElement: HTMLElement, domEvent: Event, overIndex: number, overRecord: Model, isAbove: boolean, altKey: boolean, ctrlKey: boolean, metaKey: boolean, shiftKey: boolean }) => boolean|void)|string): boolean|void
|
|
1438
1342
|
/**
|
|
1439
1343
|
* Fires before an event is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or by the
|
|
1440
1344
|
* event editor. Can for example be used to display a custom dialog to confirm deletion, in which case
|
|
1441
1345
|
* records should be "manually" removed after confirmation:
|
|
1442
|
-
* ...
|
|
1443
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-beforeEventDelete)
|
|
1346
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-beforeEventDelete)
|
|
1444
1347
|
* @param {string} e Event name
|
|
1445
1348
|
* @param {object} params Event parameters
|
|
1446
1349
|
* @param {object} params.event Event object
|
|
@@ -1448,15 +1351,14 @@ const emit = defineEmits<{
|
|
|
1448
1351
|
* @param {Scheduler.model.EventModel[]} params.event.eventRecords The records about to be deleted
|
|
1449
1352
|
* @param {object} params.event.context Additional removal context:
|
|
1450
1353
|
* @param {Function} params.event.context.finalize Function to call to finalize the removal. Used to asynchronously decide to remove the records or not. Provide `false` to the function to prevent the removal.
|
|
1451
|
-
* @param {boolean} params.event.context.finalize.removeRecords Provide `false` to the function to prevent the removal.
|
|
1354
|
+
* @param {boolean} [params.event.context.finalize.removeRecords] Provide `false` to the function to prevent the removal.
|
|
1452
1355
|
*/
|
|
1453
|
-
(e: 'beforeEventDelete', params: ((event: { source: Calendar, eventRecords: EventModel[], context: { finalize: { removeRecords?: boolean } } }) =>
|
|
1356
|
+
(e: 'beforeEventDelete', params: ((event: { source: Calendar, eventRecords: EventModel[], context: { finalize: { removeRecords?: boolean } } }) => boolean|void)|string): boolean|void
|
|
1454
1357
|
/**
|
|
1455
1358
|
* Fires on the owning Scheduler before an event is displayed in an editor.
|
|
1456
1359
|
* This may be listened for to allow an application to take over event editing duties. Returning `false`
|
|
1457
1360
|
* stops the default editing UI from being shown.
|
|
1458
|
-
* ...
|
|
1459
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-beforeEventEdit)
|
|
1361
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-beforeEventEdit)
|
|
1460
1362
|
* @param {string} e Event name
|
|
1461
1363
|
* @param {object} params Event parameters
|
|
1462
1364
|
* @param {object} params.event Event object
|
|
@@ -1466,7 +1368,7 @@ const emit = defineEmits<{
|
|
|
1466
1368
|
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The Resource record for the event. If the event is being created, it will not contain a resource, so this parameter specifies the resource the event is being created for.
|
|
1467
1369
|
* @param {HTMLElement} params.event.eventElement The element which represents the event in the scheduler display.
|
|
1468
1370
|
*/
|
|
1469
|
-
(e: 'beforeEventEdit', params: ((event: { source: Scheduler, eventEdit: SchedulerEventEdit, eventRecord: EventModel, resourceRecord: ResourceModel, eventElement: HTMLElement }) =>
|
|
1371
|
+
(e: 'beforeEventEdit', params: ((event: { source: Scheduler, eventEdit: SchedulerEventEdit, eventRecord: EventModel, resourceRecord: ResourceModel, eventElement: HTMLElement }) => boolean|void)|string): boolean|void
|
|
1470
1372
|
/**
|
|
1471
1373
|
* Fires on the owning Scheduler when the editor for an event is available but before it is populated with
|
|
1472
1374
|
* data and shown. Allows manipulating fields etc.
|
|
@@ -1484,8 +1386,7 @@ const emit = defineEmits<{
|
|
|
1484
1386
|
/**
|
|
1485
1387
|
* Fires on the owning Scheduler before an event is saved.
|
|
1486
1388
|
* Return `false` to immediately prevent saving
|
|
1487
|
-
* ...
|
|
1488
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-beforeEventSave)
|
|
1389
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-beforeEventSave)
|
|
1489
1390
|
* @param {string} e Event name
|
|
1490
1391
|
* @param {object} params Event parameters
|
|
1491
1392
|
* @param {object} params.event Event object
|
|
@@ -1494,7 +1395,7 @@ const emit = defineEmits<{
|
|
|
1494
1395
|
* @param {Scheduler.model.ResourceModel[]} params.event.resourceRecords The resources to which the event is assigned
|
|
1495
1396
|
* @param {object} params.event.values The new values
|
|
1496
1397
|
* @param {object} params.event.context Extended save context:
|
|
1497
|
-
* @param {boolean} params.event.context.async Set this to `true` in a listener to indicate that the listener will asynchronously decide to prevent or not the event save.
|
|
1398
|
+
* @param {boolean} [params.event.context.async] Set this to `true` in a listener to indicate that the listener will asynchronously decide to prevent or not the event save.
|
|
1498
1399
|
* @param {Function} params.event.context.finalize Function to call to finalize the save. Used when `async` is `true`. Provide `false` to the function to prevent the save.
|
|
1499
1400
|
*/
|
|
1500
1401
|
(e: 'beforeEventSave', params: ((event: { source: Scheduler, eventRecord: EventModel, resourceRecords: ResourceModel[], values: object, context: { async?: boolean, finalize: Function } }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
@@ -1510,7 +1411,7 @@ const emit = defineEmits<{
|
|
|
1510
1411
|
* @param {Scheduler.model.EventModel[]} params.event.deselected An array of events that will be removed from the selection.
|
|
1511
1412
|
* @param {Scheduler.model.EventModel[]} params.event.selection The currently selected events, before applying `selected` and `deselected`.
|
|
1512
1413
|
*/
|
|
1513
|
-
(e: 'beforeEventSelectionChange', params: ((event: { source: Scheduler, action: 'select'|'deselect'|'update'|'clear', selected: EventModel[], deselected: EventModel[], selection: EventModel[] }) =>
|
|
1414
|
+
(e: 'beforeEventSelectionChange', params: ((event: { source: Scheduler, action: 'select'|'deselect'|'update'|'clear', selected: EventModel[], deselected: EventModel[], selection: EventModel[] }) => boolean|void)|string): boolean|void
|
|
1514
1415
|
/**
|
|
1515
1416
|
* Fires on the owning Grid before Excel export starts. Return `false` to cancel the export.
|
|
1516
1417
|
* @param {string} e Event name
|
|
@@ -1520,7 +1421,7 @@ const emit = defineEmits<{
|
|
|
1520
1421
|
* @param {XLSColumn[]} params.event.columns An array of columns to export
|
|
1521
1422
|
* @param {any[][]} params.event.rows An array of records to export
|
|
1522
1423
|
*/
|
|
1523
|
-
(e: 'beforeExcelExport', params: ((event: { config: ExportConfig, columns: XLSColumn[], rows: any[] }) =>
|
|
1424
|
+
(e: 'beforeExcelExport', params: ((event: { config: ExportConfig, columns: XLSColumn[], rows: any[] }) => boolean|void)|string): boolean|void
|
|
1524
1425
|
/**
|
|
1525
1426
|
* Triggered before a widget is hidden. Return `false` to prevent the action.
|
|
1526
1427
|
* @param {string} e Event name
|
|
@@ -1528,7 +1429,7 @@ const emit = defineEmits<{
|
|
|
1528
1429
|
* @param {object} params.event Event object
|
|
1529
1430
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
1530
1431
|
*/
|
|
1531
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
1432
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
1532
1433
|
/**
|
|
1533
1434
|
* Fires on the owning Scheduler before a paste action is performed, return `false` to prevent the action.
|
|
1534
1435
|
* Depending on if the EventStore is using [singleAssignment](https://bryntum.com/products/calendar/docs/api/Scheduler/data/EventStore#config-singleAssignment) or the
|
|
@@ -1556,7 +1457,7 @@ const emit = defineEmits<{
|
|
|
1556
1457
|
* @param {object} params.event Event object
|
|
1557
1458
|
* @param {object} params.event.config Print config
|
|
1558
1459
|
*/
|
|
1559
|
-
(e: 'beforePrint', params: ((event: { config: object }) =>
|
|
1460
|
+
(e: 'beforePrint', params: ((event: { config: object }) => boolean|void)|string): boolean|void
|
|
1560
1461
|
/**
|
|
1561
1462
|
* Triggered before a new [responsiveState](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveState) is applied.
|
|
1562
1463
|
* @param {string} e Event name
|
|
@@ -1592,7 +1493,7 @@ const emit = defineEmits<{
|
|
|
1592
1493
|
* @param {object} params.event Event object
|
|
1593
1494
|
* @param {any} params.event.state State object config
|
|
1594
1495
|
*/
|
|
1595
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
1496
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
1596
1497
|
/**
|
|
1597
1498
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
1598
1499
|
* @param {string} e Event name
|
|
@@ -1600,11 +1501,10 @@ const emit = defineEmits<{
|
|
|
1600
1501
|
* @param {object} params.event Event object
|
|
1601
1502
|
* @param {any} params.event.state State object config
|
|
1602
1503
|
*/
|
|
1603
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
1504
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
1604
1505
|
/**
|
|
1605
1506
|
* Fires when any other event is fired from the object.
|
|
1606
|
-
* ...
|
|
1607
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-catchAll)
|
|
1507
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-catchAll)
|
|
1608
1508
|
* @param {string} e Event name
|
|
1609
1509
|
* @param {object} params Event parameters
|
|
1610
1510
|
* @param {object} params.event Event object
|
|
@@ -1682,8 +1582,7 @@ const emit = defineEmits<{
|
|
|
1682
1582
|
(e: 'currentTimelineUpdate', params: ((event: { source: Scheduler, date: Date }) => void)|string): void
|
|
1683
1583
|
/**
|
|
1684
1584
|
* Fired when data in any of the projects stores changes.
|
|
1685
|
-
* ...
|
|
1686
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-dataChange)
|
|
1585
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-dataChange)
|
|
1687
1586
|
* @param {string} e Event name
|
|
1688
1587
|
* @param {object} params Event parameters
|
|
1689
1588
|
* @param {object} params.event Event object
|
|
@@ -1698,8 +1597,7 @@ const emit = defineEmits<{
|
|
|
1698
1597
|
(e: 'dataChange', params: ((event: { source: typeof ProjectConsumer|any, project: typeof ProjectModelMixin|any, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string): void
|
|
1699
1598
|
/**
|
|
1700
1599
|
* Fires when the calendar changes the date that it orientates its views around.
|
|
1701
|
-
* ...
|
|
1702
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-dateChange)
|
|
1600
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-dateChange)
|
|
1703
1601
|
* @param {string} e Event name
|
|
1704
1602
|
* @param {object} params Event parameters
|
|
1705
1603
|
* @param {object} params.event Event object
|
|
@@ -1711,8 +1609,7 @@ const emit = defineEmits<{
|
|
|
1711
1609
|
/**
|
|
1712
1610
|
* Fired when the eventStore is queried for events by date range, and the date range
|
|
1713
1611
|
* requested is different from the last time the store was queried.
|
|
1714
|
-
* ...
|
|
1715
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-dateRangeChange)
|
|
1612
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-dateRangeChange)
|
|
1716
1613
|
* @param {string} e Event name
|
|
1717
1614
|
* @param {object} params Event parameters
|
|
1718
1615
|
* @param {object} params.event Event object
|
|
@@ -1738,8 +1635,7 @@ const emit = defineEmits<{
|
|
|
1738
1635
|
(e: 'dateRangeLoad', params: ((event: { response: object, options: object, startDate: Date, endDate: Date }) => void)|string): void
|
|
1739
1636
|
/**
|
|
1740
1637
|
* Fired <strong>every</strong> time the eventStore is queried for events by date range.
|
|
1741
|
-
* ...
|
|
1742
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-dateRangeRequested)
|
|
1638
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-dateRangeRequested)
|
|
1743
1639
|
* @param {string} e Event name
|
|
1744
1640
|
* @param {object} params Event parameters
|
|
1745
1641
|
* @param {object} params.event Event object
|
|
@@ -1756,8 +1652,7 @@ const emit = defineEmits<{
|
|
|
1756
1652
|
/**
|
|
1757
1653
|
* Fired by the active view after one day cell's events are collected in sorted order according to the
|
|
1758
1654
|
* [eventSorter](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-eventSorter)
|
|
1759
|
-
* ...
|
|
1760
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-dayCellPopulated)
|
|
1655
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-dayCellPopulated)
|
|
1761
1656
|
* @param {string} e Event name
|
|
1762
1657
|
* @param {object} params Event parameters
|
|
1763
1658
|
* @param {object} params.event Event object
|
|
@@ -1766,12 +1661,23 @@ const emit = defineEmits<{
|
|
|
1766
1661
|
* @param {Date} params.event.The date the events are to be shown in.
|
|
1767
1662
|
*/
|
|
1768
1663
|
(e: 'dayCellPopulated', params: ((event: { source: CalendarView, events: EventModel[], The: Date }) => void)|string): void
|
|
1664
|
+
/**
|
|
1665
|
+
* Fires when a day column header cell of a [DayView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView) is clicked on. If the handler returns
|
|
1666
|
+
* `false` the current pointer event is not processed further.
|
|
1667
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-dayHeaderClick)
|
|
1668
|
+
* @param {string} e Event name
|
|
1669
|
+
* @param {object} params Event parameters
|
|
1670
|
+
* @param {object} params.event Event object
|
|
1671
|
+
* @param {CalendarView} params.event.source The view which triggered the event.
|
|
1672
|
+
* @param {Event} params.event.domEvent The triggering DOM event.
|
|
1673
|
+
* @param {Date} params.event.date The date of the clicked header cell.
|
|
1674
|
+
*/
|
|
1675
|
+
(e: 'dayHeaderClick', params: ((event: { source: CalendarView, domEvent: Event, date: Date }) => void)|string): void
|
|
1769
1676
|
/**
|
|
1770
1677
|
* Fires when a day number is clicked or activated by the <kbd>Enter</kbd> key in a view which shows day numbers.
|
|
1771
1678
|
* This will include the cells of a [YearView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView), the cell header of cells
|
|
1772
1679
|
* in a [MonthView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView), and the day header in a [DayView](#Calendar/widget/DayView).
|
|
1773
|
-
* ...
|
|
1774
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-dayNumberClick)
|
|
1680
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-dayNumberClick)
|
|
1775
1681
|
* @param {string} e Event name
|
|
1776
1682
|
* @param {object} params Event parameters
|
|
1777
1683
|
* @param {object} params.event Event object
|
|
@@ -1781,7 +1687,7 @@ const emit = defineEmits<{
|
|
|
1781
1687
|
* @param {DayCell} params.event.cellData An object that contains data about the calendar cell for the date.
|
|
1782
1688
|
* @param {boolean} params.event.fromOverflowPopup `true` if the interaction was through the source view's [overflowPopup](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DayCellRenderer#property-overflowPopup).
|
|
1783
1689
|
*/
|
|
1784
|
-
(e: 'dayNumberClick', params: ((event: { source: CalendarView, domEvent: Event, date: Date, cellData: DayCell, fromOverflowPopup: boolean }) =>
|
|
1690
|
+
(e: 'dayNumberClick', params: ((event: { source: CalendarView, domEvent: Event, date: Date, cellData: DayCell, fromOverflowPopup: boolean }) => boolean|void)|string): boolean|void
|
|
1785
1691
|
/**
|
|
1786
1692
|
* Fires when an object is destroyed.
|
|
1787
1693
|
* @param {string} e Event name
|
|
@@ -1808,7 +1714,7 @@ const emit = defineEmits<{
|
|
|
1808
1714
|
* @param {Core.util.drag.DragContext} params.event.drag The drag create context.
|
|
1809
1715
|
* @param {Event} params.event.event The browser event.
|
|
1810
1716
|
* @param {Scheduler.model.EventModel} params.event.eventRecord The new `EventModel` record added in the store.
|
|
1811
|
-
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The `ResourceModel` record if the gesture was performed in a resource-type view.
|
|
1717
|
+
* @param {Scheduler.model.ResourceModel} [params.event.resourceRecord] The `ResourceModel` record if the gesture was performed in a resource-type view.
|
|
1812
1718
|
* @param {Calendar.feature.CalendarDrag} params.event.feature The Calendar drag feature instance.
|
|
1813
1719
|
* @param {boolean,ValidateCreateResult} params.event.validation The result of the [validateCreateFn](https://bryntum.com/products/calendar/docs/api/Calendar/feature/CalendarDrag#config-validateCreateFn) if one was provided.
|
|
1814
1720
|
* @param {CalendarView} params.event.view The Calendar widget in which the drag completed.
|
|
@@ -1824,7 +1730,7 @@ const emit = defineEmits<{
|
|
|
1824
1730
|
* @param {Core.util.drag.DragContext} params.event.drag The drag create context.
|
|
1825
1731
|
* @param {Event} params.event.event The browser event.
|
|
1826
1732
|
* @param {Scheduler.model.EventModel} params.event.eventRecord The updated `EventModel` record.
|
|
1827
|
-
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The `ResourceModel` record if the gesture was performed in a resource-type view.
|
|
1733
|
+
* @param {Scheduler.model.ResourceModel} [params.event.resourceRecord] The `ResourceModel` record if the gesture was performed in a resource-type view.
|
|
1828
1734
|
* @param {Calendar.feature.CalendarDrag} params.event.feature The Calendar drag feature instance.
|
|
1829
1735
|
* @param {boolean,ValidateCreateResult} params.event.validation The result of the [validateMoveFn](https://bryntum.com/products/calendar/docs/api/Calendar/feature/CalendarDrag#config-validateMoveFn) if one was provided.
|
|
1830
1736
|
* @param {CalendarView} params.event.view The Calendar widget in which the drag completed.
|
|
@@ -1833,8 +1739,7 @@ const emit = defineEmits<{
|
|
|
1833
1739
|
/**
|
|
1834
1740
|
* This event is fired on the owning Calendar when dragging an event from the calendar over the
|
|
1835
1741
|
* external source <strong>if the [droppable](https://bryntum.com/products/calendar/docs/api/Calendar/feature/ExternalEventSource#config-droppable) was configured</strong>.
|
|
1836
|
-
* ...
|
|
1837
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-dragMoveExternal)
|
|
1742
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-dragMoveExternal)
|
|
1838
1743
|
* @param {string} e Event name
|
|
1839
1744
|
* @param {object} params Event parameters
|
|
1840
1745
|
* @param {object} params.event Event object
|
|
@@ -1868,8 +1773,7 @@ const emit = defineEmits<{
|
|
|
1868
1773
|
/**
|
|
1869
1774
|
* This event is fired on the owning Calendar after dropping an event from the calendar on the
|
|
1870
1775
|
* external source has been completed <strong>if the [droppable](https://bryntum.com/products/calendar/docs/api/Calendar/feature/ExternalEventSource#config-droppable) was configured</strong>.
|
|
1871
|
-
* ...
|
|
1872
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-dropExternal)
|
|
1776
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-dropExternal)
|
|
1873
1777
|
* @param {string} e Event name
|
|
1874
1778
|
* @param {object} params Event parameters
|
|
1875
1779
|
* @param {object} params.event Event object
|
|
@@ -1909,8 +1813,7 @@ const emit = defineEmits<{
|
|
|
1909
1813
|
/**
|
|
1910
1814
|
* Fired when an [autoCreate](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-autoCreate) gesture has
|
|
1911
1815
|
* created a new event and added it to the event store.
|
|
1912
|
-
* ...
|
|
1913
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-eventAutoCreated)
|
|
1816
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-eventAutoCreated)
|
|
1914
1817
|
* @param {string} e Event name
|
|
1915
1818
|
* @param {object} params Event parameters
|
|
1916
1819
|
* @param {object} params.event Event object
|
|
@@ -1997,9 +1900,9 @@ const emit = defineEmits<{
|
|
|
1997
1900
|
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord Resource record
|
|
1998
1901
|
* @param {Scheduler.model.AssignmentModel} params.event.assignmentRecord Assignment record, if assignments are used
|
|
1999
1902
|
* @param {HTMLElement} params.event.eventElement
|
|
2000
|
-
* @param {MouseEvent} params.event.event Pointer event which triggered the context menu (if any)
|
|
1903
|
+
* @param {MouseEvent} [params.event.event] Pointer event which triggered the context menu (if any)
|
|
2001
1904
|
*/
|
|
2002
|
-
(e: 'eventMenuBeforeShow', params: ((event: { source: Scheduler, items: Record<string, MenuItemEntry>, eventRecord: EventModel, resourceRecord: ResourceModel, assignmentRecord: AssignmentModel, eventElement: HTMLElement, event?: MouseEvent }) =>
|
|
1905
|
+
(e: 'eventMenuBeforeShow', params: ((event: { source: Scheduler, items: Record<string, MenuItemEntry>, eventRecord: EventModel, resourceRecord: ResourceModel, assignmentRecord: AssignmentModel, eventElement: HTMLElement, event?: MouseEvent }) => boolean|void)|string): boolean|void
|
|
2003
1906
|
/**
|
|
2004
1907
|
* This event fires on the owning Scheduler when an item is selected in the context menu.
|
|
2005
1908
|
* @param {string} e Event name
|
|
@@ -2113,8 +2016,7 @@ const emit = defineEmits<{
|
|
|
2113
2016
|
/**
|
|
2114
2017
|
* Fires when a day spanning event is found, and the date to which its encapsulating event bar
|
|
2115
2018
|
* extends has been calculated.
|
|
2116
|
-
* ...
|
|
2117
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-eventPropagate)
|
|
2019
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-eventPropagate)
|
|
2118
2020
|
* @param {string} e Event name
|
|
2119
2021
|
* @param {object} params Event parameters
|
|
2120
2022
|
* @param {object} params.event Event object
|
|
@@ -2175,8 +2077,7 @@ const emit = defineEmits<{
|
|
|
2175
2077
|
/**
|
|
2176
2078
|
* Fires when the [LoadOnDemand](https://bryntum.com/products/calendar/docs/api/Calendar/feature/LoadOnDemand) feature detects that a request
|
|
2177
2079
|
* for data from the server has failed.
|
|
2178
|
-
* ...
|
|
2179
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-loadOnDemandFail)
|
|
2080
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-loadOnDemandFail)
|
|
2180
2081
|
* @param {string} e Event name
|
|
2181
2082
|
* @param {object} params Event parameters
|
|
2182
2083
|
* @param {object} params.event Event object
|
|
@@ -2188,8 +2089,7 @@ const emit = defineEmits<{
|
|
|
2188
2089
|
/**
|
|
2189
2090
|
* Fires when a month name header in a [YearView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView) or a [MonthGrid](#Calendar/widget/MonthGrid) is clicked
|
|
2190
2091
|
* or activated by the <kbd>Enter</kbd> key.
|
|
2191
|
-
* ...
|
|
2192
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-monthNameClick)
|
|
2092
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-monthNameClick)
|
|
2193
2093
|
* @param {string} e Event name
|
|
2194
2094
|
* @param {object} params Event parameters
|
|
2195
2095
|
* @param {object} params.event Event object
|
|
@@ -2198,7 +2098,7 @@ const emit = defineEmits<{
|
|
|
2198
2098
|
* @param {number} params.event.month The month index *(zero based)* clicked on.
|
|
2199
2099
|
* @param {Date} params.event.date The date of the first of the month clicked on.
|
|
2200
2100
|
*/
|
|
2201
|
-
(e: 'monthNameClick', params: ((event: { source: CalendarView, domEvent: Event, month: number, date: Date }) =>
|
|
2101
|
+
(e: 'monthNameClick', params: ((event: { source: CalendarView, domEvent: Event, month: number, date: Date }) => boolean|void)|string): boolean|void
|
|
2202
2102
|
/**
|
|
2203
2103
|
* Fired when a user gesture causes the active item to change.
|
|
2204
2104
|
* @param {string} e Event name
|
|
@@ -2212,8 +2112,7 @@ const emit = defineEmits<{
|
|
|
2212
2112
|
/**
|
|
2213
2113
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
2214
2114
|
* achieves visibility.
|
|
2215
|
-
* ...
|
|
2216
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-paint)
|
|
2115
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-paint)
|
|
2217
2116
|
* @param {string} e Event name
|
|
2218
2117
|
* @param {object} params Event parameters
|
|
2219
2118
|
* @param {object} params.event Event object
|
|
@@ -2295,8 +2194,7 @@ const emit = defineEmits<{
|
|
|
2295
2194
|
(e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
|
|
2296
2195
|
/**
|
|
2297
2196
|
* Fires when a click event is received by a view which supports resources.
|
|
2298
|
-
* ...
|
|
2299
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-resourceClick)
|
|
2197
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-resourceClick)
|
|
2300
2198
|
* @param {string} e Event name
|
|
2301
2199
|
* @param {object} params Event parameters
|
|
2302
2200
|
* @param {object} params.event Event object
|
|
@@ -2367,7 +2265,7 @@ const emit = defineEmits<{
|
|
|
2367
2265
|
* @param {Scheduler.model.AssignmentModel} params.event.assignmentRecord Assignment record, if assignments are used
|
|
2368
2266
|
* @param {HTMLElement} params.event.eventElement
|
|
2369
2267
|
*/
|
|
2370
|
-
(e: 'scheduleMenuBeforeShow', params: ((event: { source: Scheduler, items: Record<string, MenuItemEntry>, resourceRecord: ResourceModel, date: Date, assignmentRecord: AssignmentModel, eventElement: HTMLElement }) =>
|
|
2268
|
+
(e: 'scheduleMenuBeforeShow', params: ((event: { source: Scheduler, items: Record<string, MenuItemEntry>, resourceRecord: ResourceModel, date: Date, assignmentRecord: AssignmentModel, eventElement: HTMLElement }) => boolean|void)|string): boolean|void
|
|
2371
2269
|
/**
|
|
2372
2270
|
* This event fires on the owning Scheduler or Gantt widget when an item is selected in the context menu.
|
|
2373
2271
|
* @param {string} e Event name
|
|
@@ -2539,8 +2437,7 @@ const emit = defineEmits<{
|
|
|
2539
2437
|
* Fires when a week number is clicked or activated by the <kbd>Enter</kbd> key. This will include the week number cells of a
|
|
2540
2438
|
* [YearView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView), the week number in the first cell
|
|
2541
2439
|
* in each row of a [MonthView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView)
|
|
2542
|
-
* ...
|
|
2543
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-weekNumberClick)
|
|
2440
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/view/Calendar#event-weekNumberClick)
|
|
2544
2441
|
* @param {string} e Event name
|
|
2545
2442
|
* @param {object} params Event parameters
|
|
2546
2443
|
* @param {object} params.event Event object
|
|
@@ -2549,7 +2446,7 @@ const emit = defineEmits<{
|
|
|
2549
2446
|
* @param {number[]} params.event.week The `[year, week]` clicked on.
|
|
2550
2447
|
* @param {Date} params.event.date The date clicked on.
|
|
2551
2448
|
*/
|
|
2552
|
-
(e: 'weekNumberClick', params: ((event: { source: CalendarView, domEvent: Event, week: number[], date: Date }) =>
|
|
2449
|
+
(e: 'weekNumberClick', params: ((event: { source: CalendarView, domEvent: Event, week: number[], date: Date }) => boolean|void)|string): boolean|void
|
|
2553
2450
|
}>();
|
|
2554
2451
|
|
|
2555
2452
|
const widgetData = {
|
|
@@ -2652,6 +2549,7 @@ const widgetData = {
|
|
|
2652
2549
|
'overlaySidebar',
|
|
2653
2550
|
'positioned',
|
|
2654
2551
|
'preventTooltipOnTouch',
|
|
2552
|
+
'projectModelClass',
|
|
2655
2553
|
'propagatedConfigs',
|
|
2656
2554
|
'relayStoreEvents',
|
|
2657
2555
|
'resourceImagePath',
|
|
@@ -2662,6 +2560,7 @@ const widgetData = {
|
|
|
2662
2560
|
'responsiveState',
|
|
2663
2561
|
'responsiveTarget',
|
|
2664
2562
|
'ripple',
|
|
2563
|
+
'role',
|
|
2665
2564
|
'rootElement',
|
|
2666
2565
|
'scrollAction',
|
|
2667
2566
|
'showAnimation',
|
|
@@ -2720,6 +2619,7 @@ const widgetData = {
|
|
|
2720
2619
|
'items',
|
|
2721
2620
|
'keyMap',
|
|
2722
2621
|
'labelPosition',
|
|
2622
|
+
'labelWidth',
|
|
2723
2623
|
'layout',
|
|
2724
2624
|
'layoutStyle',
|
|
2725
2625
|
'margin',
|
|
@@ -2779,6 +2679,7 @@ const widgetData = {
|
|
|
2779
2679
|
'onDateRangeLoad',
|
|
2780
2680
|
'onDateRangeRequested',
|
|
2781
2681
|
'onDayCellPopulated',
|
|
2682
|
+
'onDayHeaderClick',
|
|
2782
2683
|
'onDayNumberClick',
|
|
2783
2684
|
'onDestroy',
|
|
2784
2685
|
'onDirtyStateChange',
|
|
@@ -2864,20 +2765,11 @@ const widgetData = {
|
|
|
2864
2765
|
'y'
|
|
2865
2766
|
],
|
|
2866
2767
|
propertyNames : [
|
|
2867
|
-
'activeSubView',
|
|
2868
|
-
'activeView',
|
|
2869
|
-
'anchorSize',
|
|
2870
|
-
'focusVisible',
|
|
2871
|
-
'hasChanges',
|
|
2872
|
-
'isEngineReady',
|
|
2873
|
-
'isSettingValues',
|
|
2874
|
-
'isValid',
|
|
2875
2768
|
'parent',
|
|
2876
2769
|
'record',
|
|
2877
2770
|
'selectedEvents',
|
|
2878
2771
|
'state',
|
|
2879
|
-
'values'
|
|
2880
|
-
'views'
|
|
2772
|
+
'values'
|
|
2881
2773
|
],
|
|
2882
2774
|
eventNames : [
|
|
2883
2775
|
'activeItemChange',
|
|
@@ -2925,6 +2817,7 @@ const widgetData = {
|
|
|
2925
2817
|
'dateRangeLoad',
|
|
2926
2818
|
'dateRangeRequested',
|
|
2927
2819
|
'dayCellPopulated',
|
|
2820
|
+
'dayHeaderClick',
|
|
2928
2821
|
'dayNumberClick',
|
|
2929
2822
|
'destroy',
|
|
2930
2823
|
'dirtyStateChange',
|