@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
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
|
|
12
12
|
|
|
13
|
-
import type { AlignSpec, Base, BryntumScrollOptions, ButtonConfig, CalendarPanel, CalendarView, Color, Container, ContainerItemConfig, ContainerLayoutConfig, DatePicker, DayCell, DomConfig, DurationConfig, EventBar, EventModel, KeyMapConfig, MaskConfig, MenuItemConfig, MenuItemEntry, Model, Month, MonthConfig, MonthViewListeners, OverflowPopup, OverflowPopupConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, ResourceModel, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/calendar';
|
|
13
|
+
import type { AlignSpec, Base, BryntumScrollOptions, ButtonConfig, CalendarMixinClass, CalendarPanel, CalendarView, Color, Container, ContainerItemConfig, ContainerLayoutConfig, DatePicker, DayCell, DomConfig, DurationConfig, EventBar, EventModel, KeyMapConfig, MaskConfig, MenuItemConfig, MenuItemEntry, Model, Month, MonthConfig, MonthViewListeners, OverflowPopup, OverflowPopupConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, ResourceModel, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/calendar';
|
|
14
14
|
import { MonthView } from '@bryntum/calendar';
|
|
15
15
|
|
|
16
16
|
import { WrapperHelper } from '../helper/WrapperHelper';
|
|
@@ -19,21 +19,18 @@ defineProps<{
|
|
|
19
19
|
// Configs
|
|
20
20
|
/**
|
|
21
21
|
* A key to use to activate this view.
|
|
22
|
-
* ...
|
|
23
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-activationKey)
|
|
22
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-activationKey)
|
|
24
23
|
*/
|
|
25
24
|
activationKey ? : string
|
|
26
25
|
/**
|
|
27
26
|
* Element (or element id) to adopt as this Widget's encapsulating element. The widget's
|
|
28
27
|
* content will be placed inside this element.
|
|
29
|
-
* ...
|
|
30
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-adopt)
|
|
28
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-adopt)
|
|
31
29
|
*/
|
|
32
30
|
adopt ? : HTMLElement|string
|
|
33
31
|
/**
|
|
34
32
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
35
|
-
* ...
|
|
36
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-align)
|
|
33
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-align)
|
|
37
34
|
*/
|
|
38
35
|
align ? : AlignSpec|string
|
|
39
36
|
/**
|
|
@@ -62,8 +59,7 @@ defineProps<{
|
|
|
62
59
|
/**
|
|
63
60
|
* By default, when navigating through time, the next time
|
|
64
61
|
* block will be animated in from the appropriate direction.
|
|
65
|
-
* ...
|
|
66
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-animateTimeShift)
|
|
62
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-animateTimeShift)
|
|
67
63
|
*/
|
|
68
64
|
animateTimeShift ? : Boolean
|
|
69
65
|
/**
|
|
@@ -74,48 +70,41 @@ defineProps<{
|
|
|
74
70
|
/**
|
|
75
71
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
|
|
76
72
|
* into an element which will be linked using the `aria-describedby` attribute.
|
|
77
|
-
* ...
|
|
78
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-ariaDescription)
|
|
73
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-ariaDescription)
|
|
79
74
|
*/
|
|
80
75
|
ariaDescription ? : string
|
|
81
76
|
/**
|
|
82
77
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
|
|
83
78
|
* the `aria-label` attribute.
|
|
84
|
-
* ...
|
|
85
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-ariaLabel)
|
|
79
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-ariaLabel)
|
|
86
80
|
*/
|
|
87
81
|
ariaLabel ? : string
|
|
88
82
|
/**
|
|
89
83
|
* If this config is set, then the `gesture` configured (which defaults to `dblclick`) creates a
|
|
90
84
|
* new event at the mouse or touch event's time point.
|
|
91
|
-
* ...
|
|
92
|
-
* [
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
startHour?: number
|
|
101
|
-
}|string|Boolean
|
|
85
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-autoCreate)
|
|
86
|
+
* @property {string} [gesture] The DOM event name which initiates event creation at the event's position.
|
|
87
|
+
* @property {Function,string} [newName] The name of an event created using `autoCreate` or a function to call which yields the name. When a function is specified, 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>
|
|
88
|
+
* @property {string} [step] The time unit by which to snap the start click point of auto created events. <strong>Only for views which have a granularity of less than one day such as `WeekView` and `DayView`</strong>. 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.
|
|
89
|
+
* @property {'round','ceil','floor'} [snapType] How to snap a precise gesture time to a boundary specified by the `step` property. <strong>Only for views which have a granularity of less than one day such as `WeekView` and `DayView`</strong>.
|
|
90
|
+
* @property {string} [duration] The default start hour for auto created events in the form accepted by [parseDuration](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper#function-parseDuration-static)
|
|
91
|
+
* @property {number} [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 may be fractional.
|
|
92
|
+
*/
|
|
93
|
+
autoCreate ? : object|string|Boolean
|
|
102
94
|
/**
|
|
103
95
|
* By default, weeks rows all flex to share the available height equally.
|
|
104
|
-
* ...
|
|
105
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-autoRowHeight)
|
|
96
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-autoRowHeight)
|
|
106
97
|
*/
|
|
107
98
|
autoRowHeight ? : Boolean
|
|
108
99
|
/**
|
|
109
100
|
* A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/calendar/docs/api/Core/widget/Toolbar),
|
|
110
101
|
* 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).
|
|
111
|
-
* ...
|
|
112
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-bbar)
|
|
102
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-bbar)
|
|
113
103
|
*/
|
|
114
104
|
bbar ? : (ContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
|
|
115
105
|
/**
|
|
116
106
|
* Custom CSS classes to add to the panel's body element.
|
|
117
|
-
* ...
|
|
118
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-bodyCls)
|
|
107
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-bodyCls)
|
|
119
108
|
*/
|
|
120
109
|
bodyCls ? : string|object
|
|
121
110
|
/**
|
|
@@ -125,38 +114,35 @@ defineProps<{
|
|
|
125
114
|
/**
|
|
126
115
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
127
116
|
* hierarchy when triggered.
|
|
128
|
-
* ...
|
|
129
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-bubbleEvents)
|
|
117
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-bubbleEvents)
|
|
130
118
|
*/
|
|
131
119
|
bubbleEvents ? : object
|
|
132
120
|
/**
|
|
133
121
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
134
|
-
* ...
|
|
135
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-callOnFunctions)
|
|
122
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-callOnFunctions)
|
|
136
123
|
*/
|
|
137
124
|
callOnFunctions ? : Boolean
|
|
138
125
|
/**
|
|
139
126
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
140
127
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
141
|
-
* ...
|
|
142
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-catchEventHandlerExceptions)
|
|
128
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-catchEventHandlerExceptions)
|
|
143
129
|
*/
|
|
144
130
|
catchEventHandlerExceptions ? : Boolean
|
|
145
131
|
/**
|
|
146
132
|
* A function (or the name of a function) which creates content in, and may mutate a day cell element.
|
|
147
|
-
* @param {object}
|
|
148
|
-
* @param {HTMLElement}
|
|
149
|
-
* @param {Date}
|
|
150
|
-
* @param {number}
|
|
151
|
-
* @param {number[]}
|
|
152
|
-
* @param {HTMLElement}
|
|
153
|
-
* @param {Core.widget.CalendarPanel}
|
|
154
|
-
* @param {number[]}
|
|
155
|
-
* @param {number[]}
|
|
156
|
-
* @param {number[]}
|
|
133
|
+
* @param {object} context Renderer context data
|
|
134
|
+
* @param {HTMLElement} context.cell The cell element.
|
|
135
|
+
* @param {Date} context.date The date for the cell
|
|
136
|
+
* @param {number} context.day The day for the cell (`0` to `6` for Sunday to Saturday)
|
|
137
|
+
* @param {number[]} context.rowIndex The row index, 0 to month row count (6 if [sixWeeks](https://bryntum.com/products/calendar/docs/api/Core/widget/CalendarPanel#config-sixWeeks) is `true`)
|
|
138
|
+
* @param {HTMLElement} context.row The row element encapsulating the week which the cell is a part of
|
|
139
|
+
* @param {Core.widget.CalendarPanel} context.source The widget being rendered
|
|
140
|
+
* @param {number[]} context.cellIndex The cell index in the whole panel. May be from `0` to up to `42`
|
|
141
|
+
* @param {number[]} context.columnIndex The column index, `0` to `6`
|
|
142
|
+
* @param {number[]} context.visibleColumnIndex The visible column index taking hidden non working days into account
|
|
157
143
|
* @returns {string,DomConfig,void}
|
|
158
144
|
*/
|
|
159
|
-
cellRenderer ? : ((
|
|
145
|
+
cellRenderer ? : ((context: { cell: HTMLElement, date: Date, day: number, rowIndex: number[], row: HTMLElement, source: CalendarPanel, cellIndex: number[], columnIndex: number[], visibleColumnIndex: number[] }) => string|DomConfig|void)|string
|
|
160
146
|
/**
|
|
161
147
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
162
148
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
@@ -166,8 +152,7 @@ defineProps<{
|
|
|
166
152
|
* Custom CSS classes to add to element.
|
|
167
153
|
* May be specified as a space separated string, or as an object in which property names
|
|
168
154
|
* with truthy values are used as the class names:
|
|
169
|
-
* ...
|
|
170
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-cls)
|
|
155
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-cls)
|
|
171
156
|
*/
|
|
172
157
|
cls ? : string|object
|
|
173
158
|
/**
|
|
@@ -177,15 +162,13 @@ defineProps<{
|
|
|
177
162
|
collapsed ? : Boolean
|
|
178
163
|
/**
|
|
179
164
|
* This config enables collapsibility for the panel. See [collapsed](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsed).
|
|
180
|
-
* ...
|
|
181
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-collapsible)
|
|
165
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-collapsible)
|
|
182
166
|
*/
|
|
183
167
|
collapsible ? : Boolean|PanelCollapserConfig|PanelCollapserOverlayConfig
|
|
184
168
|
/**
|
|
185
169
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
186
170
|
* `style` block.
|
|
187
|
-
* ...
|
|
188
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-color)
|
|
171
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-color)
|
|
189
172
|
*/
|
|
190
173
|
color ? : Color
|
|
191
174
|
/**
|
|
@@ -202,8 +185,7 @@ defineProps<{
|
|
|
202
185
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).
|
|
203
186
|
* May be specified as a space separated string, or as an object in which property names
|
|
204
187
|
* with truthy values are used as the class names:
|
|
205
|
-
* ...
|
|
206
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-contentElementCls)
|
|
188
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-contentElementCls)
|
|
207
189
|
*/
|
|
208
190
|
contentElementCls ? : string|object
|
|
209
191
|
/**
|
|
@@ -238,8 +220,7 @@ defineProps<{
|
|
|
238
220
|
dayCellNameFormat ? : string|((date: Date) => string)
|
|
239
221
|
/**
|
|
240
222
|
* This may be specified to create the content for the date and day name section of calendar cells.
|
|
241
|
-
* ...
|
|
242
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-dayCellRenderer)
|
|
223
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-dayCellRenderer)
|
|
243
224
|
* @param {DayCell} cellData A `DayCell` object that contains data about the cell.
|
|
244
225
|
* @param {DomConfig,object} dayCellDomConfig An object to sync the day cell element.
|
|
245
226
|
* @param {object} dayCellDomConfig.className An object who's truthy property names will be applied as class names.
|
|
@@ -248,7 +229,7 @@ defineProps<{
|
|
|
248
229
|
* @param {DomConfig[]} dayCellDomConfig.children The [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) definitions for the content of the cell.
|
|
249
230
|
* @returns {string,object,object[]} The definition of the cell header content.
|
|
250
231
|
*/
|
|
251
|
-
dayCellRenderer ? : (cellData: DayCell, dayCellDomConfig: { className: object, style: object, dataset: object, children: DomConfig[] }) => string|object|object[]
|
|
232
|
+
dayCellRenderer ? : (cellData: DayCell, dayCellDomConfig: DomConfig|{ className: object, style: object, dataset: object, children: DomConfig[] }) => string|object|object[]
|
|
252
233
|
/**
|
|
253
234
|
* The [DateHelper](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper) format string to format the day names
|
|
254
235
|
* in the header row above the calendar cells.
|
|
@@ -262,8 +243,7 @@ defineProps<{
|
|
|
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/widget/MonthView#config-defaultFocus)
|
|
246
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#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
|
*/
|
|
@@ -274,40 +254,36 @@ defineProps<{
|
|
|
274
254
|
defaults ? : ContainerItemConfig
|
|
275
255
|
/**
|
|
276
256
|
* Options to add into scroll options when the [scrollTo](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#function-scrollTo) method is called.
|
|
277
|
-
* ...
|
|
278
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-defaultScrollOptions)
|
|
257
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-defaultScrollOptions)
|
|
279
258
|
*/
|
|
280
259
|
defaultScrollOptions ? : BryntumScrollOptions
|
|
281
260
|
/**
|
|
282
261
|
* The date format used by the default [descriptionRenderer](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/Describable#config-descriptionRenderer) for rendering the view's description.
|
|
283
262
|
* If this value is `null`, the [dateFormat](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/Describable#config-dateFormat) (and potentially [dateSeparator](#Scheduler/view/mixin/Describable#config-dateSeparator)) will
|
|
284
263
|
* be used.
|
|
285
|
-
* ...
|
|
286
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-descriptionFormat)
|
|
264
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-descriptionFormat)
|
|
287
265
|
* @param {Date} date The date to format.
|
|
288
266
|
* @returns {string} The formatted date.
|
|
289
267
|
*/
|
|
290
|
-
descriptionFormat ? : string|string[]|Boolean[]|((date: Date) => string)|
|
|
268
|
+
descriptionFormat ? : string|string[]|Boolean[]|((date: Date) => string)|(((date: Date) => string)[])
|
|
291
269
|
/**
|
|
292
270
|
* A function that provides the textual description for this view. If provided, this function overrides the
|
|
293
271
|
* [descriptionFormat](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/Describable#config-descriptionFormat).
|
|
294
|
-
* ...
|
|
295
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-descriptionRenderer)
|
|
272
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-descriptionRenderer)
|
|
296
273
|
* @param {Core.widget.Widget} view The active view in case the function is in another scope.
|
|
297
274
|
* @returns {string} Description string
|
|
298
275
|
*/
|
|
299
276
|
descriptionRenderer ? : (view: Widget) => string
|
|
300
277
|
/**
|
|
301
|
-
* Check for CSS compatibility issues
|
|
302
|
-
*
|
|
303
|
-
* [
|
|
278
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
279
|
+
* checks:
|
|
280
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-detectCSSCompatibilityIssues)
|
|
304
281
|
*/
|
|
305
282
|
detectCSSCompatibilityIssues ? : Boolean
|
|
306
283
|
/**
|
|
307
284
|
* 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
|
|
308
285
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
309
|
-
* ...
|
|
310
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-disabled)
|
|
286
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-disabled)
|
|
311
287
|
*/
|
|
312
288
|
disabled ? : Boolean|'inert'
|
|
313
289
|
/**
|
|
@@ -324,8 +300,7 @@ defineProps<{
|
|
|
324
300
|
disabledDates ? : ((date: Date) => Boolean)|string|Date[]|string[]
|
|
325
301
|
/**
|
|
326
302
|
* Configure as `true` to render non working days as [disabledDates](https://bryntum.com/products/calendar/docs/api/Core/widget/CalendarPanel#config-disabledDates).
|
|
327
|
-
* ...
|
|
328
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-disableNonWorkingDays)
|
|
303
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-disableNonWorkingDays)
|
|
329
304
|
*/
|
|
330
305
|
disableNonWorkingDays ? : Boolean
|
|
331
306
|
/**
|
|
@@ -342,53 +317,46 @@ defineProps<{
|
|
|
342
317
|
* [strips collection](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
343
318
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
344
319
|
* body. Such widgets are called "edge strips".
|
|
345
|
-
* ...
|
|
346
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-dock)
|
|
320
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-dock)
|
|
347
321
|
*/
|
|
348
322
|
dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
349
323
|
/**
|
|
350
324
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
351
325
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
352
326
|
* property which controls when a drag should start.
|
|
353
|
-
* ...
|
|
354
|
-
*
|
|
327
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-draggable)
|
|
328
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
355
329
|
*/
|
|
356
|
-
draggable ? : Boolean|
|
|
357
|
-
handleSelector?: string
|
|
358
|
-
}
|
|
330
|
+
draggable ? : Boolean|object
|
|
359
331
|
/**
|
|
360
332
|
* The [durationUnit](https://bryntum.com/products/calendar/docs/api/Scheduler/model/EventModel#field-durationUnit) to use when drag-creating events
|
|
361
333
|
* in this view.
|
|
362
|
-
* ...
|
|
363
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-dragUnit)
|
|
334
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-dragUnit)
|
|
364
335
|
*/
|
|
365
336
|
dragUnit ? : string
|
|
366
337
|
/**
|
|
367
338
|
* Make this Panel a docked drawer which slides out from one side of the browser viewport by default.
|
|
368
|
-
* ...
|
|
369
|
-
* [
|
|
370
|
-
* @param {
|
|
371
|
-
* @param {
|
|
372
|
-
* @param {boolean}
|
|
373
|
-
* @param {boolean,
|
|
374
|
-
* @param {boolean,string} autoClose.
|
|
375
|
-
* @param {
|
|
376
|
-
* @param {
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
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}
|
|
339
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-drawer)
|
|
340
|
+
* @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.
|
|
341
|
+
* @param {string,number} [size] The size of the drawer in its collapsible axis.
|
|
342
|
+
* @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.
|
|
343
|
+
* @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.
|
|
344
|
+
* @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.
|
|
345
|
+
* @param {boolean,string} [autoClose.focusout] If focus moves outside of the drawer, the drawer will automatically be hidden.
|
|
346
|
+
* @param {string} [autoClose.mouseout] Hides the drawer when the mouse leaves the drawer after the `autoCloseDelay` period.
|
|
347
|
+
* @param {number} [autoCloseDelay] When using `mouseout`, this is the delay in milliseconds
|
|
348
|
+
*/
|
|
349
|
+
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 }
|
|
380
350
|
/**
|
|
381
351
|
* An object specifying attributes to assign to the root element of this widget.
|
|
382
352
|
* Set `null` value to attribute to remove it.
|
|
383
|
-
* ...
|
|
384
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-elementAttributes)
|
|
353
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-elementAttributes)
|
|
385
354
|
*/
|
|
386
355
|
elementAttributes ? : Record<string, string|null>
|
|
387
356
|
/**
|
|
388
357
|
* A [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) object which will be used to create the content of a clickable
|
|
389
358
|
* element which is present when no events are in a cell.
|
|
390
|
-
* ...
|
|
391
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-emptyCellRenderer)
|
|
359
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-emptyCellRenderer)
|
|
392
360
|
* @param {DayCell} dayCellRenderer A `DayCell` object that contains data about the cell.
|
|
393
361
|
* @returns {DomConfig,void} DomConfig object representing the HTML markup
|
|
394
362
|
*/
|
|
@@ -404,8 +372,7 @@ defineProps<{
|
|
|
404
372
|
/**
|
|
405
373
|
* A function, or the name of a function in the ownership hierarchy which you
|
|
406
374
|
* can specify to customize event DOM content.
|
|
407
|
-
* ...
|
|
408
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-eventHeaderRenderer)
|
|
375
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-eventHeaderRenderer)
|
|
409
376
|
* @param {object} detail An object that contains data about the event being rendered
|
|
410
377
|
* @param {CalendarView} detail.view The view rendering the event
|
|
411
378
|
* @param {Scheduler.model.EventModel} detail.eventRecord The event record
|
|
@@ -426,39 +393,36 @@ defineProps<{
|
|
|
426
393
|
/**
|
|
427
394
|
* The height of event bars in this view. This can be a numeric value in pixels or a CSS unit measure such
|
|
428
395
|
* as `'2em'`.
|
|
429
|
-
* ...
|
|
430
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-eventHeight)
|
|
396
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-eventHeight)
|
|
431
397
|
*/
|
|
432
398
|
eventHeight ? : number|string
|
|
433
399
|
/**
|
|
434
400
|
* A function, or the name of a function in the ownership hierarchy which you
|
|
435
401
|
* can specify to customize event DOM content.
|
|
436
|
-
* ...
|
|
437
|
-
*
|
|
438
|
-
* @param {
|
|
439
|
-
* @param {
|
|
440
|
-
* @param {Scheduler.model.
|
|
441
|
-
* @param {
|
|
442
|
-
* @param {object}
|
|
443
|
-
* @param {object}
|
|
444
|
-
* @param {object}
|
|
445
|
-
* @param {object}
|
|
446
|
-
* @param {
|
|
447
|
-
* @param {string}
|
|
448
|
-
* @param {string}
|
|
449
|
-
* @param {
|
|
450
|
-
* @param {object}
|
|
451
|
-
* @param {
|
|
452
|
-
* @param {
|
|
453
|
-
* @param {
|
|
454
|
-
* @param {boolean} detail.renderData.showBullet If there is no `iconCls`, and the event is not recurring, then by default a "bullet" circular icon is shown if the view's [showBullet](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-showBullet) if set. Setting this property in an event renderer overrides this behaviour. <h3>Using JSX (React)</h3> When using the Bryntum React wrapper, the event renderer can return JSX elements: ```javascript eventRenderer({ eventRecord, renderData }) { return <MyEventComponent event={eventRecord} />; } ``` *Using JSX in the event renderer creates a React portal for each rendered event. For calendars with many visible events or frequently re-rendered views, this may impact scrolling performance compared to returning plain strings or [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) objects. Consider using JSX primarily for events that require complex interactive React components.*
|
|
402
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-eventRenderer)
|
|
403
|
+
* @param {object} context An object that contains data about the event being rendered
|
|
404
|
+
* @param {Calendar.widget.mixin.CalendarMixin} context.view The view rendering the event
|
|
405
|
+
* @param {Scheduler.model.EventModel} context.eventRecord The event record
|
|
406
|
+
* @param {Scheduler.model.ResourceModel} context.resourceRecord The Resource record
|
|
407
|
+
* @param {object} context.renderData A data object containing properties that will be used to create the event element
|
|
408
|
+
* @param {object} context.renderData.style The style property is an object containing style properties for the event element
|
|
409
|
+
* @param {object} context.renderData.cls The cls property is an object whose property names will be added to the event element if the property value is truthy
|
|
410
|
+
* @param {object} context.renderData.iconStyle The iconStyle property is an object containing style properties for the icon element if an icon element is to be used
|
|
411
|
+
* @param {object} context.renderData.iconCls The iconCls property is an object whose property names will be added to the icon element. Initially set from the event record's [iconCls](https://bryntum.com/products/calendar/docs/api/Scheduler/model/EventModel#field-iconCls). Can be mutated by the renderer. If null, or no properties are set, no icon will be rendered
|
|
412
|
+
* @param {string} context.renderData.eventColor Color to be applied to the event. This may be a CSS color name or a CSS color value in any of the supported CSS color formats such as `#RRGGBB`, `rgb(255, 0, 0)`, or `rgba(255, 0, 0, 0.5)`.
|
|
413
|
+
* @param {string} context.renderData.eventBackground A CSS background style to be applied to the event. This is not set by default, but can be set by the renderer to provide a background image or gradient for the event bar. This overrides the `eventColor` property if present.
|
|
414
|
+
* @param {string} context.renderData.textColor A CSS color to be applied to the event text. This is not set by default, but can be set by the renderer to provide a custom color for the event name text in the event bar. This may be a CSS color name or a CSS color value in any of the supported CSS color formats such as `#RRGGBB`, `rgb(255, 0, 0)`, or `rgba(255, 0, 0, 0.5)`.
|
|
415
|
+
* @param {object} context.renderData.eventInnerStyle The eventInnerStyle property is an object containing style properties for the inner part of the event element, the `.b-cal-event` element.
|
|
416
|
+
* @param {object} context.renderData.dataset An object which produces the `dataset` of the resulting event bar
|
|
417
|
+
* @param {boolean} context.renderData.solidBar This is valid for views which create event bars. This is set to `true` by default for all day and interday events so that these appear as a solid block of background color. An eventRenderer may mutate this flag to change in what manner the event bar is colored - as a solid bar of color, or using the foreground color (text and icons) such as the MonthView, the CalendarRow (all day events in a DayView), and OverflowPopups
|
|
418
|
+
* @param {string} context.renderData.bodyColor When used in a [DayView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView), this color is applied to the body of the event element. Note that this must be light enough that the text color (From the SASS variable `$dayview-event-color`) is visible
|
|
419
|
+
* @param {boolean} context.renderData.showBullet If there is no `iconCls`, and the event is not recurring, then by default a "bullet" circular icon is shown if the view's [showBullet](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-showBullet) if set. Setting this property in an event renderer overrides this behaviour. <h3>Using JSX (React)</h3> When using the Bryntum React wrapper, the event renderer can return JSX elements: ```javascript eventRenderer({ eventRecord, renderData }) { return <MyEventComponent event={eventRecord} />; } ``` *Using JSX in the event renderer creates a React portal for each rendered event. For calendars with many visible events or frequently re-rendered views, this may impact scrolling performance compared to returning plain strings or [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) objects. Consider using JSX primarily for events that require complex interactive React components.*
|
|
455
420
|
* @returns {DomConfig,DomConfig[],string,void} The content to be used as the event body.
|
|
456
421
|
*/
|
|
457
|
-
eventRenderer ? : ((
|
|
422
|
+
eventRenderer ? : ((context: { view: CalendarMixinClass, eventRecord: EventModel, resourceRecord: ResourceModel, renderData: { style: object, cls: object, iconStyle: object, iconCls: object, eventColor: string, eventBackground: string, textColor: string, eventInnerStyle: object, dataset: object, solidBar: Boolean, bodyColor: string, showBullet: Boolean } }) => DomConfig|DomConfig[]|string|void)|string
|
|
458
423
|
/**
|
|
459
424
|
* A function which compares events which some views use to decide upon rendering order.
|
|
460
|
-
* ...
|
|
461
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-eventSorter)
|
|
425
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-eventSorter)
|
|
462
426
|
* @param {Scheduler.model.EventModel,EventBar} lhs The left side value to conpare
|
|
463
427
|
* @param {Scheduler.model.EventModel,EventBar} rhs The right side value to conpare
|
|
464
428
|
* @returns {number}
|
|
@@ -472,8 +436,7 @@ defineProps<{
|
|
|
472
436
|
* By default, the end date of an all day event is displayed in the UI as
|
|
473
437
|
* the last calendar date on which the event falls. For most end users, this is the
|
|
474
438
|
* expected value.
|
|
475
|
-
* ...
|
|
476
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-extendAllDayEndDay)
|
|
439
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-extendAllDayEndDay)
|
|
477
440
|
*/
|
|
478
441
|
extendAllDayEndDay ? : Boolean
|
|
479
442
|
extraData ? : any
|
|
@@ -481,8 +444,7 @@ defineProps<{
|
|
|
481
444
|
* If this is set to `true`, then when determining which assigned resource of a multi assigned event
|
|
482
445
|
* to use to create the event UI, the first resource which is still selected in the
|
|
483
446
|
* [resourceFilter](https://bryntum.com/products/calendar/docs/api/Calendar/widget/Sidebar#property-resourceFilter) is used.
|
|
484
|
-
* ...
|
|
485
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-filterEventResources)
|
|
447
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-filterEventResources)
|
|
486
448
|
*/
|
|
487
449
|
filterEventResources ? : Boolean
|
|
488
450
|
/**
|
|
@@ -501,33 +463,28 @@ defineProps<{
|
|
|
501
463
|
/**
|
|
502
464
|
* Config object of a footer. May contain a `dock`, `html` and a `cls` property. A footer is not a widget,
|
|
503
465
|
* 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).
|
|
504
|
-
* ...
|
|
505
|
-
*
|
|
466
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-footer)
|
|
467
|
+
* @property {'top','right','bottom','left','start','end'} dock Where to dock
|
|
468
|
+
* @property {string} html Html to populate the footer with
|
|
469
|
+
* @property {string} cls CSS class to add to the footer
|
|
506
470
|
*/
|
|
507
|
-
footer ? :
|
|
508
|
-
dock?: 'top'|'right'|'bottom'|'left'|'start'|'end'
|
|
509
|
-
html?: string
|
|
510
|
-
cls?: string
|
|
511
|
-
}|string
|
|
471
|
+
footer ? : object|string
|
|
512
472
|
/**
|
|
513
473
|
* A Function (or name of a function in the ownership hierarchy) which returns the
|
|
514
474
|
* [resource record](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ResourceModel) to use to create the UI for an event.
|
|
515
|
-
* ...
|
|
516
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-getPrimaryResource)
|
|
475
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-getPrimaryResource)
|
|
517
476
|
* @param {Scheduler.model.EventModel} eventRecord The event from which to extract the primary resource.
|
|
518
477
|
* @returns {Scheduler.model.ResourceModel} The resource to be used to render the event.
|
|
519
478
|
*/
|
|
520
479
|
getPrimaryResource ? : ((eventRecord: EventModel) => ResourceModel)|string
|
|
521
480
|
/**
|
|
522
481
|
* 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`.
|
|
523
|
-
* ...
|
|
524
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-header)
|
|
482
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-header)
|
|
525
483
|
*/
|
|
526
484
|
header ? : string|Boolean|PanelHeader
|
|
527
485
|
/**
|
|
528
486
|
* A function (or the name of a function) which creates content in, and may mutate a day header element.
|
|
529
|
-
* ...
|
|
530
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-headerRenderer)
|
|
487
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-headerRenderer)
|
|
531
488
|
* @param {HTMLElement} cell The header element
|
|
532
489
|
* @param {number} columnIndex The day column. Will be in the range `0` to `6`
|
|
533
490
|
* @param {number} weekDay The canonical day number where Monday is `0` and Sunday is `6`
|
|
@@ -546,8 +503,7 @@ defineProps<{
|
|
|
546
503
|
hidden ? : Boolean
|
|
547
504
|
/**
|
|
548
505
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
549
|
-
* ...
|
|
550
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-hideAnimation)
|
|
506
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-hideAnimation)
|
|
551
507
|
*/
|
|
552
508
|
hideAnimation ? : Boolean|object
|
|
553
509
|
/**
|
|
@@ -561,8 +517,7 @@ defineProps<{
|
|
|
561
517
|
/**
|
|
562
518
|
* Specify `true` to make this container hide when it has no visible children (Either empty
|
|
563
519
|
* or all children hidden).
|
|
564
|
-
* ...
|
|
565
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-hideWhenEmpty)
|
|
520
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-hideWhenEmpty)
|
|
566
521
|
*/
|
|
567
522
|
hideWhenEmpty ? : Boolean
|
|
568
523
|
/**
|
|
@@ -576,16 +531,14 @@ defineProps<{
|
|
|
576
531
|
id ? : string
|
|
577
532
|
/**
|
|
578
533
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
579
|
-
* ...
|
|
580
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-ignoreParentReadOnly)
|
|
534
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-ignoreParentReadOnly)
|
|
581
535
|
*/
|
|
582
536
|
ignoreParentReadOnly ? : Boolean
|
|
583
537
|
/**
|
|
584
538
|
* Convenience setting to align input fields of child widgets. By default, the Field input element is
|
|
585
539
|
* placed immediately following the `label`. If you prefer to have all input fields aligned to the
|
|
586
540
|
* right, set this config to `'end'`.
|
|
587
|
-
* ...
|
|
588
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-inputFieldAlign)
|
|
541
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-inputFieldAlign)
|
|
589
542
|
*/
|
|
590
543
|
inputFieldAlign ? : 'start'|'end'
|
|
591
544
|
/**
|
|
@@ -603,55 +556,52 @@ defineProps<{
|
|
|
603
556
|
/**
|
|
604
557
|
* An object containing typed child widget config objects or Widgets. May also be specified
|
|
605
558
|
* as an array.
|
|
606
|
-
* ...
|
|
607
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-items)
|
|
559
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-items)
|
|
608
560
|
*/
|
|
609
561
|
items ? : Record<string, ContainerItemConfig|MenuItemEntry>|(ContainerItemConfig|MenuItemEntry|Widget)[]
|
|
610
562
|
/**
|
|
611
563
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
612
564
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
613
565
|
* are the name of the instance method to call when the keystroke is received.
|
|
614
|
-
* ...
|
|
615
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-keyMap)
|
|
566
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-keyMap)
|
|
616
567
|
*/
|
|
617
568
|
keyMap ? : Record<string, KeyMapConfig>
|
|
618
569
|
/**
|
|
619
570
|
* Convenience setting to use same label placement on all child widgets.
|
|
620
|
-
* ...
|
|
621
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-labelPosition)
|
|
571
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-labelPosition)
|
|
622
572
|
*/
|
|
623
573
|
labelPosition ? : 'before'|'above'|'align-before'|'auto'|null
|
|
574
|
+
/**
|
|
575
|
+
* Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.
|
|
576
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-labelWidth)
|
|
577
|
+
*/
|
|
578
|
+
labelWidth ? : number|null
|
|
624
579
|
/**
|
|
625
580
|
* The short name of a helper class which manages rendering and styling of child items.
|
|
626
|
-
* ...
|
|
627
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-layout)
|
|
581
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-layout)
|
|
628
582
|
*/
|
|
629
583
|
layout ? : string|ContainerLayoutConfig
|
|
630
584
|
/**
|
|
631
585
|
* The CSS style properties to apply to the [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).
|
|
632
|
-
* ...
|
|
633
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-layoutStyle)
|
|
586
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-layoutStyle)
|
|
634
587
|
*/
|
|
635
588
|
layoutStyle ? : object
|
|
636
589
|
/**
|
|
637
590
|
* 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
|
|
638
591
|
* instances only when this Container is rendered, rather than eagerly at construct time.
|
|
639
|
-
* ...
|
|
640
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-lazyItems)
|
|
592
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-lazyItems)
|
|
641
593
|
*/
|
|
642
594
|
lazyItems ? : Record<string, ContainerItemConfig>|ContainerItemConfig[]|Widget[]
|
|
643
595
|
/**
|
|
644
596
|
* The listener set for this object.
|
|
645
|
-
* ...
|
|
646
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-listeners)
|
|
597
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-listeners)
|
|
647
598
|
*/
|
|
648
599
|
listeners ? : MonthViewListeners
|
|
649
600
|
/**
|
|
650
601
|
* A class translations of which are used for translating this entity.
|
|
651
602
|
* This is often used when translations of an item are defined on its container class.
|
|
652
603
|
* For example:
|
|
653
|
-
* ...
|
|
654
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-localeClass)
|
|
604
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-localeClass)
|
|
655
605
|
*/
|
|
656
606
|
localeClass ? : typeof Base
|
|
657
607
|
/**
|
|
@@ -663,8 +613,7 @@ defineProps<{
|
|
|
663
613
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
664
614
|
* you could use 'localeKey' meta configuration.
|
|
665
615
|
* Example:
|
|
666
|
-
* ...
|
|
667
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-localizableProperties)
|
|
616
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-localizableProperties)
|
|
668
617
|
*/
|
|
669
618
|
localizableProperties ? : string[]
|
|
670
619
|
/**
|
|
@@ -700,8 +649,7 @@ defineProps<{
|
|
|
700
649
|
maxHeight ? : string|number
|
|
701
650
|
/**
|
|
702
651
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
703
|
-
* ...
|
|
704
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-maximizeOnMobile)
|
|
652
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-maximizeOnMobile)
|
|
705
653
|
*/
|
|
706
654
|
maximizeOnMobile ? : number|string
|
|
707
655
|
/**
|
|
@@ -711,8 +659,7 @@ defineProps<{
|
|
|
711
659
|
maxWidth ? : string|number
|
|
712
660
|
/**
|
|
713
661
|
* By default, day cells flex to share available Panel width equally.
|
|
714
|
-
* ...
|
|
715
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-minColumnWidth)
|
|
662
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-minColumnWidth)
|
|
716
663
|
*/
|
|
717
664
|
minColumnWidth ? : number
|
|
718
665
|
/**
|
|
@@ -726,8 +673,7 @@ defineProps<{
|
|
|
726
673
|
minHeight ? : string|number
|
|
727
674
|
/**
|
|
728
675
|
* By default, week rows flex to share available Panel height equally.
|
|
729
|
-
* ...
|
|
730
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-minRowHeight)
|
|
676
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-minRowHeight)
|
|
731
677
|
*/
|
|
732
678
|
minRowHeight ? : number|string
|
|
733
679
|
/**
|
|
@@ -739,12 +685,10 @@ defineProps<{
|
|
|
739
685
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
740
686
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
741
687
|
* layout.
|
|
742
|
-
* ...
|
|
743
|
-
*
|
|
688
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-monitorResize)
|
|
689
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
744
690
|
*/
|
|
745
|
-
monitorResize ? : Boolean|
|
|
746
|
-
immediate?: Boolean
|
|
747
|
-
}
|
|
691
|
+
monitorResize ? : Boolean|object
|
|
748
692
|
/**
|
|
749
693
|
* A [Month](https://bryntum.com/products/calendar/docs/api/Core/util/Month) Month utility object which encapsulates this Panel's month
|
|
750
694
|
* and provides contextual information and navigation services.
|
|
@@ -754,8 +698,7 @@ defineProps<{
|
|
|
754
698
|
* 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)
|
|
755
699
|
* config. For example, a specialized [Menu](https://bryntum.com/products/calendar/docs/api/Core/widget/Menu) subclass may have a `namedItems` default
|
|
756
700
|
* value defined like this:
|
|
757
|
-
* ...
|
|
758
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-namedItems)
|
|
701
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-namedItems)
|
|
759
702
|
*/
|
|
760
703
|
namedItems ? : Record<string, ContainerItemConfig>
|
|
761
704
|
/**
|
|
@@ -775,8 +718,7 @@ defineProps<{
|
|
|
775
718
|
* A function, or name of a function which is passed the [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) object which
|
|
776
719
|
* will be used to create the "+n more" button which indicates that a day cell has
|
|
777
720
|
* overflowing events.
|
|
778
|
-
* ...
|
|
779
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-overflowButtonRenderer)
|
|
721
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-overflowButtonRenderer)
|
|
780
722
|
* @param {DomConfig,object} domConfig A [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) config object which is used to create the overflow button.
|
|
781
723
|
* @param {string} domConfig.tag The tag name of the element to create.
|
|
782
724
|
* @param {object} domConfig.className An object who's truthy property names will be applied as class names.
|
|
@@ -786,47 +728,41 @@ defineProps<{
|
|
|
786
728
|
* @param {number} overflowCount The number of overflowing events.
|
|
787
729
|
* @returns {DomConfig,string,void}
|
|
788
730
|
*/
|
|
789
|
-
overflowButtonRenderer ? : (domConfig: { tag: string, className: object, text: string, style: object, dataset: object }, overflowCount: number) => DomConfig|string|void
|
|
731
|
+
overflowButtonRenderer ? : (domConfig: DomConfig|{ tag: string, className: object, text: string, style: object, dataset: object }, overflowCount: number) => DomConfig|string|void
|
|
790
732
|
/**
|
|
791
733
|
* How the view responds to clicking on a `+n more` button in an overflowing day cell.
|
|
792
|
-
* ...
|
|
793
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-overflowClickAction)
|
|
734
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-overflowClickAction)
|
|
794
735
|
*/
|
|
795
736
|
overflowClickAction ? : 'popup'|'expand'
|
|
796
737
|
/**
|
|
797
738
|
* A config object used to create the [OverflowPopup](https://bryntum.com/products/calendar/docs/api/Calendar/widget/OverflowPopup) that this view
|
|
798
739
|
* may show when events for one day overflow the available space.
|
|
799
|
-
* ...
|
|
800
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-overflowPopup)
|
|
740
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-overflowPopup)
|
|
801
741
|
*/
|
|
802
742
|
overflowPopup ? : OverflowPopupConfig
|
|
803
743
|
/**
|
|
804
744
|
* The pointer gesture which shows the popup containing any overflowing events
|
|
805
745
|
* in the current view.
|
|
806
|
-
* ...
|
|
807
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-overflowPopupTrigger)
|
|
746
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-overflowPopupTrigger)
|
|
808
747
|
*/
|
|
809
748
|
overflowPopupTrigger ? : 'click'|'mouseover'|'hover'
|
|
810
749
|
/**
|
|
811
750
|
* The class name to add to events which have an end date in the past. Defaults to `'b-past-event'`.
|
|
812
|
-
* ...
|
|
813
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-pastEventCls)
|
|
751
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-pastEventCls)
|
|
814
752
|
*/
|
|
815
753
|
pastEventCls ? : string
|
|
816
754
|
/**
|
|
817
755
|
* By default, rows which have been modified by the [WeekExpander](https://bryntum.com/products/calendar/docs/api/Calendar/feature/WeekExpander)
|
|
818
756
|
* feature, <strong>not by the [autoRowHeight](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-autoRowHeight) setting</strong>, to shinkwrap large content
|
|
819
757
|
* are reset to flexed height on month change.
|
|
820
|
-
* ...
|
|
821
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-persistShrinkWrappedRows)
|
|
758
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-persistShrinkWrappedRows)
|
|
822
759
|
*/
|
|
823
760
|
persistShrinkWrappedRows ? : Boolean
|
|
824
761
|
/**
|
|
825
762
|
* 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
|
|
826
763
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
827
764
|
* widget's [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).
|
|
828
|
-
* ...
|
|
829
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-positioned)
|
|
765
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-positioned)
|
|
830
766
|
*/
|
|
831
767
|
positioned ? : Boolean
|
|
832
768
|
/**
|
|
@@ -837,16 +773,14 @@ defineProps<{
|
|
|
837
773
|
/**
|
|
838
774
|
* Whether this widget is read-only. This is only valid if the widget is an input
|
|
839
775
|
* field, <strong>or contains input fields at any depth</strong>.
|
|
840
|
-
* ...
|
|
841
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-readOnly)
|
|
776
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-readOnly)
|
|
842
777
|
*/
|
|
843
778
|
readOnly ? : Boolean
|
|
844
779
|
relayStoreEvents ? : Boolean
|
|
845
780
|
/**
|
|
846
781
|
* Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
|
|
847
782
|
* `type`.
|
|
848
|
-
* ...
|
|
849
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-rendition)
|
|
783
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-rendition)
|
|
850
784
|
*/
|
|
851
785
|
rendition ? : string|Record<string, string>|null
|
|
852
786
|
/**
|
|
@@ -854,23 +788,22 @@ defineProps<{
|
|
|
854
788
|
* to create URLs using the resource's
|
|
855
789
|
* [image](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ResourceModel#field-image) or
|
|
856
790
|
* [imageUrl](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ResourceModel#field-imageUrl) fields:
|
|
857
|
-
* ...
|
|
858
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-resourceImagePath)
|
|
791
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-resourceImagePath)
|
|
859
792
|
*/
|
|
860
793
|
resourceImagePath ? : string
|
|
861
794
|
/**
|
|
862
795
|
* Specifies the various responsive state objects keyed by their name. Each key (except `'*'`, see below) in
|
|
863
796
|
* 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
|
|
864
797
|
* associated [ResponsiveState](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#typedef-ResponsiveState) object.
|
|
865
|
-
* ...
|
|
866
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-responsive)
|
|
798
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-responsive)
|
|
867
799
|
*/
|
|
868
800
|
responsive ? : object
|
|
869
801
|
/**
|
|
870
802
|
* An object which describes how the event bar height in month cells should respond to changes
|
|
871
803
|
* in available vertical space.
|
|
872
|
-
* ...
|
|
873
|
-
*
|
|
804
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-responsiveEventHeight)
|
|
805
|
+
* @property {number} threshold The minimum number of event bars which should be visible in a cell before the event bar height starts to be reduced.
|
|
806
|
+
* @property {number} [minHeight] The minimum event bar height to use when the threshold is reached.
|
|
874
807
|
*/
|
|
875
808
|
responsiveEventHeight ? : Record<('threshold'|'minHeight'), number>|Record<number, number>
|
|
876
809
|
/**
|
|
@@ -887,31 +820,33 @@ defineProps<{
|
|
|
887
820
|
* The widget whose size and other properties drive this object's responsive behavior. If this config is not
|
|
888
821
|
* specified, the closest ancestor that specified [responsiveRoot=true](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveRoot) will be
|
|
889
822
|
* used. If there is no such ancestor, then the instance using this mixin is used.
|
|
890
|
-
* ...
|
|
891
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-responsiveTarget)
|
|
823
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-responsiveTarget)
|
|
892
824
|
*/
|
|
893
825
|
responsiveTarget ? : string|Widget
|
|
894
826
|
/**
|
|
895
827
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
896
828
|
* [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
|
|
897
829
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
898
|
-
* ...
|
|
899
|
-
* [
|
|
830
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-ripple)
|
|
831
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
832
|
+
* @property {string} [color] A CSS color name or specification.
|
|
833
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
834
|
+
* @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.
|
|
900
835
|
*/
|
|
901
|
-
ripple ? : Boolean|
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
836
|
+
ripple ? : Boolean|object
|
|
837
|
+
/**
|
|
838
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
839
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
840
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-role)
|
|
841
|
+
*/
|
|
842
|
+
role ? : string
|
|
907
843
|
/**
|
|
908
844
|
* 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`
|
|
909
845
|
*/
|
|
910
846
|
rootElement ? : ShadowRoot|HTMLElement
|
|
911
847
|
/**
|
|
912
848
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
913
|
-
* ...
|
|
914
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-rtl)
|
|
849
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-rtl)
|
|
915
850
|
*/
|
|
916
851
|
rtl ? : Boolean
|
|
917
852
|
/**
|
|
@@ -919,8 +854,7 @@ defineProps<{
|
|
|
919
854
|
* in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
|
|
920
855
|
* applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
|
|
921
856
|
* CSS overflow properties thus:
|
|
922
|
-
* ...
|
|
923
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-scrollable)
|
|
857
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-scrollable)
|
|
924
858
|
*/
|
|
925
859
|
scrollable ? : Boolean|ScrollerConfig|Scroller
|
|
926
860
|
/**
|
|
@@ -963,29 +897,26 @@ defineProps<{
|
|
|
963
897
|
* The duration threshold at or below which an event's encapsulating element gets
|
|
964
898
|
* the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
|
|
965
899
|
* style rearrangements.
|
|
966
|
-
* ...
|
|
967
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-shortEventDuration)
|
|
900
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-shortEventDuration)
|
|
968
901
|
*/
|
|
969
902
|
shortEventDuration ? : DurationConfig|number|string
|
|
970
903
|
/**
|
|
971
904
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
|
|
972
|
-
* ...
|
|
973
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-showAnimation)
|
|
905
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-showAnimation)
|
|
974
906
|
*/
|
|
975
907
|
showAnimation ? : Boolean|object
|
|
976
908
|
/**
|
|
977
|
-
*
|
|
978
|
-
*
|
|
979
|
-
* [
|
|
980
|
-
* @param {boolean} bar This is `false` by default. Set this to `true` in modes where a solid event bar should show a bullet icon
|
|
981
|
-
* @param {boolean} noBar This is `true` by default. Events with no background colour, use this to show the event's defined `eventColor`
|
|
909
|
+
* This specifies whether to show a circular "bullet" icon if there is no
|
|
910
|
+
* [iconCls](https://bryntum.com/products/calendar/docs/api/Scheduler/model/EventModel#field-iconCls) defined for an event.
|
|
911
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-showBullet)
|
|
912
|
+
* @param {boolean} [bar] This is `false` by default. Set this to `true` in modes where a solid event bar should show a bullet icon
|
|
913
|
+
* @param {boolean} [noBar] This is `true` by default. Events with no background colour, use this to show the event's defined `eventColor`
|
|
982
914
|
*/
|
|
983
|
-
showBullet ? : Boolean|{bar?: Boolean, noBar?: Boolean}
|
|
915
|
+
showBullet ? : Boolean|{ bar?: Boolean, noBar?: Boolean }
|
|
984
916
|
/**
|
|
985
917
|
* Configure as `true` to show avatars of the assigned resources (calendars) at the
|
|
986
918
|
* start of the event bar.
|
|
987
|
-
* ...
|
|
988
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-showResourceAvatars)
|
|
919
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-showResourceAvatars)
|
|
989
920
|
*/
|
|
990
921
|
showResourceAvatars ? : Boolean|string
|
|
991
922
|
/**
|
|
@@ -1010,36 +941,31 @@ defineProps<{
|
|
|
1010
941
|
span ? : number
|
|
1011
942
|
/**
|
|
1012
943
|
* Set to `true` to stack multi-day events within each cell in the order of their start time.
|
|
1013
|
-
* ...
|
|
1014
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-stackMultiDayEvents)
|
|
944
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-stackMultiDayEvents)
|
|
1015
945
|
*/
|
|
1016
946
|
stackMultiDayEvents ? : Boolean
|
|
1017
947
|
/**
|
|
1018
948
|
* This value can be one of the following:
|
|
1019
|
-
* ...
|
|
1020
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-stateful)
|
|
949
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-stateful)
|
|
1021
950
|
*/
|
|
1022
951
|
stateful ? : Boolean|object|string[]
|
|
1023
952
|
/**
|
|
1024
953
|
* The events that, when fired by this component, should trigger it to save its state by calling
|
|
1025
954
|
* [saveState](https://bryntum.com/products/calendar/docs/api/Core/mixin/State#function-saveState).
|
|
1026
|
-
* ...
|
|
1027
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-statefulEvents)
|
|
955
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-statefulEvents)
|
|
1028
956
|
*/
|
|
1029
957
|
statefulEvents ? : object|string[]
|
|
1030
958
|
/**
|
|
1031
959
|
* 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
|
|
1032
960
|
* 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)
|
|
1033
961
|
* (if explicitly specified) will be used as the `stateId`.
|
|
1034
|
-
* ...
|
|
1035
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-stateId)
|
|
962
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-stateId)
|
|
1036
963
|
*/
|
|
1037
964
|
stateId ? : string
|
|
1038
965
|
/**
|
|
1039
966
|
* 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`
|
|
1040
967
|
* will be saved using the [default state provider](https://bryntum.com/products/calendar/docs/api/Core/state/StateProvider#property-instance-static).
|
|
1041
|
-
* ...
|
|
1042
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-stateProvider)
|
|
968
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-stateProvider)
|
|
1043
969
|
*/
|
|
1044
970
|
stateProvider ? : StateProvider
|
|
1045
971
|
/**
|
|
@@ -1051,35 +977,30 @@ defineProps<{
|
|
|
1051
977
|
* An object containing widgets keyed by name. By default (when no `type` is given), strips are
|
|
1052
978
|
* [toolbars](https://bryntum.com/products/calendar/docs/api/Core/widget/Toolbar). If you want to pass an array, you can use
|
|
1053
979
|
* the toolbar's [items](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#config-items).
|
|
1054
|
-
* ...
|
|
1055
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-strips)
|
|
980
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-strips)
|
|
1056
981
|
*/
|
|
1057
982
|
strips ? : Record<string, ContainerItemConfig>
|
|
1058
983
|
/**
|
|
1059
984
|
* The converse of [syncViewDate](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#property-syncViewDate)
|
|
1060
|
-
* ...
|
|
1061
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-syncCalendarDate)
|
|
985
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-syncCalendarDate)
|
|
1062
986
|
*/
|
|
1063
987
|
syncCalendarDate ? : Boolean
|
|
1064
988
|
/**
|
|
1065
989
|
* The converse of [syncCalendarDate](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#property-syncCalendarDate)
|
|
1066
|
-
* ...
|
|
1067
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-syncViewDate)
|
|
990
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-syncViewDate)
|
|
1068
991
|
*/
|
|
1069
992
|
syncViewDate ? : Boolean
|
|
1070
993
|
/**
|
|
1071
994
|
* 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
|
|
1072
995
|
* [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
|
|
1073
996
|
* this widget:
|
|
1074
|
-
* ...
|
|
1075
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-tab)
|
|
997
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-tab)
|
|
1076
998
|
*/
|
|
1077
999
|
tab ? : Boolean|TabConfig
|
|
1078
1000
|
/**
|
|
1079
1001
|
* When this container is used as a tab in a TabPanel, these items are added to the
|
|
1080
1002
|
* [TabBar](https://bryntum.com/products/calendar/docs/api/Core/widget/TabBar) when this container is the active tab.
|
|
1081
|
-
* ...
|
|
1082
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-tabBarItems)
|
|
1003
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-tabBarItems)
|
|
1083
1004
|
*/
|
|
1084
1005
|
tabBarItems ? : ToolbarItems[]|Widget[]
|
|
1085
1006
|
/**
|
|
@@ -1090,14 +1011,12 @@ defineProps<{
|
|
|
1090
1011
|
* A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/calendar/docs/api/Core/widget/Toolbar),
|
|
1091
1012
|
* or array of config objects representing the child items of a Toolbar.
|
|
1092
1013
|
* This creates a toolbar docked to the top of the panel immediately below the header.
|
|
1093
|
-
* ...
|
|
1094
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-tbar)
|
|
1014
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-tbar)
|
|
1095
1015
|
*/
|
|
1096
1016
|
tbar ? : (ContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
|
|
1097
1017
|
/**
|
|
1098
1018
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
1099
|
-
* ...
|
|
1100
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-textAlign)
|
|
1019
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-textAlign)
|
|
1101
1020
|
*/
|
|
1102
1021
|
textAlign ? : 'left'|'center'|'right'|'start'|'end'
|
|
1103
1022
|
/**
|
|
@@ -1109,15 +1028,13 @@ defineProps<{
|
|
|
1109
1028
|
/**
|
|
1110
1029
|
* A config object to create a tooltip which will show on hover of a date cell including disabled, weekend,
|
|
1111
1030
|
* and "other month" cells.
|
|
1112
|
-
* ...
|
|
1113
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-tip)
|
|
1031
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-tip)
|
|
1114
1032
|
*/
|
|
1115
1033
|
tip ? : TooltipConfig
|
|
1116
1034
|
/**
|
|
1117
1035
|
* A title to display in the header or owning TabPanel. Causes creation and docking of a header
|
|
1118
1036
|
* to the top if no header is configured.
|
|
1119
|
-
* ...
|
|
1120
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-title)
|
|
1037
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-title)
|
|
1121
1038
|
*/
|
|
1122
1039
|
title ? : string
|
|
1123
1040
|
/**
|
|
@@ -1128,14 +1045,12 @@ defineProps<{
|
|
|
1128
1045
|
* 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
|
|
1129
1046
|
* property name is the reference by which an instantiated tool may be retrieved from the live
|
|
1130
1047
|
* `[tools](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Toolable#property-tools)` property.
|
|
1131
|
-
* ...
|
|
1132
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-tools)
|
|
1048
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-tools)
|
|
1133
1049
|
*/
|
|
1134
1050
|
tools ? : Record<string, ToolConfig>|null
|
|
1135
1051
|
/**
|
|
1136
1052
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
1137
|
-
* ...
|
|
1138
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-tooltip)
|
|
1053
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-tooltip)
|
|
1139
1054
|
*/
|
|
1140
1055
|
tooltip ? : string|TooltipConfig|null
|
|
1141
1056
|
/**
|
|
@@ -1149,8 +1064,7 @@ defineProps<{
|
|
|
1149
1064
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
1150
1065
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
1151
1066
|
* values are used as the class names.
|
|
1152
|
-
* ...
|
|
1153
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-ui)
|
|
1067
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-ui)
|
|
1154
1068
|
*/
|
|
1155
1069
|
ui ? : 'plain'|'toolbar'|string|object
|
|
1156
1070
|
/**
|
|
@@ -1163,8 +1077,7 @@ defineProps<{
|
|
|
1163
1077
|
weekendCls ? : string
|
|
1164
1078
|
/**
|
|
1165
1079
|
* A function (or the name of a function) which creates content in, and may mutate the week cell element at the start of a week row.
|
|
1166
|
-
* ...
|
|
1167
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-weekRenderer)
|
|
1080
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-weekRenderer)
|
|
1168
1081
|
* @param {HTMLElement} weekCell The header element
|
|
1169
1082
|
* @param {number[]} week An array containing `[year, weekNumber]`
|
|
1170
1083
|
* @returns {string,DomConfig,void}
|
|
@@ -1186,16 +1099,22 @@ defineProps<{
|
|
|
1186
1099
|
* this config is convenient.
|
|
1187
1100
|
*/
|
|
1188
1101
|
width ? : string|number
|
|
1102
|
+
/**
|
|
1103
|
+
* A Scheduler-compatible working time config object containing `fromDay` and `toDay`
|
|
1104
|
+
* properties which control which days of the week are visible.
|
|
1105
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-workingTime)
|
|
1106
|
+
* @property {number} workingTime.fromDay Day index 0-6 (0 is Sunday)
|
|
1107
|
+
* @property {number} workingTime.toDay Day index 0-6 (0 is Sunday)
|
|
1108
|
+
*/
|
|
1109
|
+
workingTime ? : { fromDay: number, toDay: number }
|
|
1189
1110
|
/**
|
|
1190
1111
|
* The x position for the widget.
|
|
1191
|
-
* ...
|
|
1192
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-x)
|
|
1112
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-x)
|
|
1193
1113
|
*/
|
|
1194
1114
|
x ? : number
|
|
1195
1115
|
/**
|
|
1196
1116
|
* The y position for the widget.
|
|
1197
|
-
* ...
|
|
1198
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-y)
|
|
1117
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#config-y)
|
|
1199
1118
|
*/
|
|
1200
1119
|
y ? : number
|
|
1201
1120
|
|
|
@@ -1205,8 +1124,7 @@ const emit = defineEmits<{
|
|
|
1205
1124
|
/**
|
|
1206
1125
|
* This event fires whenever the [autoCreate gesture](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-autoCreate) is detected
|
|
1207
1126
|
* and also when a [drag-create](https://bryntum.com/products/calendar/docs/api/Calendar/feature/CalendarDrag) gesture is detected.
|
|
1208
|
-
* ...
|
|
1209
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#event-beforeAutoCreate)
|
|
1127
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#event-beforeAutoCreate)
|
|
1210
1128
|
* @param {string} e Event name
|
|
1211
1129
|
* @param {object} params Event parameters
|
|
1212
1130
|
* @param {object} params.event Event object
|
|
@@ -1217,18 +1135,17 @@ const emit = defineEmits<{
|
|
|
1217
1135
|
* @param {Scheduler.model.ResourceModel} params.event.resourceRecord The resource if the UI includes a resource.
|
|
1218
1136
|
* @param {CalendarView} params.event.view This view.
|
|
1219
1137
|
*/
|
|
1220
|
-
(e: 'beforeAutoCreate', params: ((event: { domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel, view: CalendarView }) =>
|
|
1138
|
+
(e: 'beforeAutoCreate', params: ((event: { domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel, view: CalendarView }) => boolean|void)|string): boolean|void
|
|
1221
1139
|
/**
|
|
1222
1140
|
* Triggered before a view's orientating date changes.
|
|
1223
|
-
* ...
|
|
1224
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#event-beforeChangeDate)
|
|
1141
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#event-beforeChangeDate)
|
|
1225
1142
|
* @param {string} e Event name
|
|
1226
1143
|
* @param {object} params Event parameters
|
|
1227
1144
|
* @param {object} params.event Event object
|
|
1228
1145
|
* @param {Date} params.event.oldDate The current orientating date of this view.
|
|
1229
1146
|
* @param {Date} params.event.date The new date to which this view is to be orientated.
|
|
1230
1147
|
*/
|
|
1231
|
-
(e: 'beforeChangeDate', params: ((event: { oldDate: Date, date: Date }) =>
|
|
1148
|
+
(e: 'beforeChangeDate', params: ((event: { oldDate: Date, date: Date }) => boolean|void)|string): boolean|void
|
|
1232
1149
|
/**
|
|
1233
1150
|
* Fires before an object is destroyed.
|
|
1234
1151
|
* @param {string} e Event name
|
|
@@ -1244,7 +1161,7 @@ const emit = defineEmits<{
|
|
|
1244
1161
|
* @param {object} params.event Event object
|
|
1245
1162
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
1246
1163
|
*/
|
|
1247
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
1164
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
1248
1165
|
/**
|
|
1249
1166
|
* Fires before this CalendarPanel refreshes in response to changes in its month.
|
|
1250
1167
|
* @param {string} e Event name
|
|
@@ -1292,7 +1209,7 @@ const emit = defineEmits<{
|
|
|
1292
1209
|
* @param {Date} params.event.date The date which has overflowing events
|
|
1293
1210
|
* @param {Calendar.widget.OverflowPopup} params.event.overflowPopup The overflow `Popup`.
|
|
1294
1211
|
*/
|
|
1295
|
-
(e: 'beforeShowOverflowPopup', params: ((event: { cell: HTMLElement, cellData: DayCell, date: Date, overflowPopup: OverflowPopup }) =>
|
|
1212
|
+
(e: 'beforeShowOverflowPopup', params: ((event: { cell: HTMLElement, cellData: DayCell, date: Date, overflowPopup: OverflowPopup }) => boolean|void)|string): boolean|void
|
|
1296
1213
|
/**
|
|
1297
1214
|
* Fired before state is applied to the source. Allows editing the state object or preventing the operation.
|
|
1298
1215
|
* @param {string} e Event name
|
|
@@ -1300,7 +1217,7 @@ const emit = defineEmits<{
|
|
|
1300
1217
|
* @param {object} params.event Event object
|
|
1301
1218
|
* @param {any} params.event.state State object config
|
|
1302
1219
|
*/
|
|
1303
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
1220
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
1304
1221
|
/**
|
|
1305
1222
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
1306
1223
|
* @param {string} e Event name
|
|
@@ -1308,11 +1225,10 @@ const emit = defineEmits<{
|
|
|
1308
1225
|
* @param {object} params.event Event object
|
|
1309
1226
|
* @param {any} params.event.state State object config
|
|
1310
1227
|
*/
|
|
1311
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
1228
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
1312
1229
|
/**
|
|
1313
1230
|
* Fires when any other event is fired from the object.
|
|
1314
|
-
* ...
|
|
1315
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#event-catchAll)
|
|
1231
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#event-catchAll)
|
|
1316
1232
|
* @param {string} e Event name
|
|
1317
1233
|
* @param {object} params Event parameters
|
|
1318
1234
|
* @param {object} params.event Event object
|
|
@@ -1364,8 +1280,7 @@ const emit = defineEmits<{
|
|
|
1364
1280
|
/**
|
|
1365
1281
|
* Fired after one day cell's events are collected in sorted order according to the
|
|
1366
1282
|
* [eventSorter](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-eventSorter)
|
|
1367
|
-
* ...
|
|
1368
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#event-dayCellPopulated)
|
|
1283
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#event-dayCellPopulated)
|
|
1369
1284
|
* @param {string} e Event name
|
|
1370
1285
|
* @param {object} params Event parameters
|
|
1371
1286
|
* @param {object} params.event Event object
|
|
@@ -1411,8 +1326,7 @@ const emit = defineEmits<{
|
|
|
1411
1326
|
/**
|
|
1412
1327
|
* Fired when an [autoCreate](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-autoCreate) gesture has created a new event
|
|
1413
1328
|
* and added it to the event store.
|
|
1414
|
-
* ...
|
|
1415
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#event-eventAutoCreated)
|
|
1329
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#event-eventAutoCreated)
|
|
1416
1330
|
* @param {string} e Event name
|
|
1417
1331
|
* @param {object} params Event parameters
|
|
1418
1332
|
* @param {object} params.event Event object
|
|
@@ -1433,8 +1347,7 @@ const emit = defineEmits<{
|
|
|
1433
1347
|
/**
|
|
1434
1348
|
* Fires when a day spanning event is found, and the date to which its encapsulating event bar
|
|
1435
1349
|
* extends has been calculated.
|
|
1436
|
-
* ...
|
|
1437
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#event-eventPropagate)
|
|
1350
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#event-eventPropagate)
|
|
1438
1351
|
* @param {string} e Event name
|
|
1439
1352
|
* @param {object} params Event parameters
|
|
1440
1353
|
* @param {object} params.event Event object
|
|
@@ -1494,8 +1407,7 @@ const emit = defineEmits<{
|
|
|
1494
1407
|
/**
|
|
1495
1408
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
1496
1409
|
* achieves visibility.
|
|
1497
|
-
* ...
|
|
1498
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#event-paint)
|
|
1410
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#event-paint)
|
|
1499
1411
|
* @param {string} e Event name
|
|
1500
1412
|
* @param {object} params Event parameters
|
|
1501
1413
|
* @param {object} params.event Event object
|
|
@@ -1585,8 +1497,7 @@ const emit = defineEmits<{
|
|
|
1585
1497
|
* This event is fired as soon as a week row is requested to be flexed. The animated
|
|
1586
1498
|
* transition to the new height will still be in progress, but the row's flex style is
|
|
1587
1499
|
* set to its evenly shared flex value.
|
|
1588
|
-
* ...
|
|
1589
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#event-weekFlex)
|
|
1500
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#event-weekFlex)
|
|
1590
1501
|
* @param {string} e Event name
|
|
1591
1502
|
* @param {object} params Event parameters
|
|
1592
1503
|
* @param {object} params.event Event object
|
|
@@ -1596,8 +1507,7 @@ const emit = defineEmits<{
|
|
|
1596
1507
|
(e: 'weekFlex', params: ((event: { weekStart: Date, element: HTMLElement }) => void)|string): void
|
|
1597
1508
|
/**
|
|
1598
1509
|
* This event is fired as soon as a week row is requested to be shrinkwrapped.
|
|
1599
|
-
* ...
|
|
1600
|
-
* [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#event-weekShrinkwrap)
|
|
1510
|
+
* [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/MonthView#event-weekShrinkwrap)
|
|
1601
1511
|
* @param {string} e Event name
|
|
1602
1512
|
* @param {object} params Event parameters
|
|
1603
1513
|
* @param {object} params.event Event object
|
|
@@ -1692,6 +1602,7 @@ const widgetData = {
|
|
|
1692
1602
|
'responsiveState',
|
|
1693
1603
|
'responsiveTarget',
|
|
1694
1604
|
'ripple',
|
|
1605
|
+
'role',
|
|
1695
1606
|
'rootElement',
|
|
1696
1607
|
'scrollAction',
|
|
1697
1608
|
'selectorButton',
|
|
@@ -1722,7 +1633,8 @@ const widgetData = {
|
|
|
1722
1633
|
'weekendCls',
|
|
1723
1634
|
'weekRenderer',
|
|
1724
1635
|
'weekStartDay',
|
|
1725
|
-
'weight'
|
|
1636
|
+
'weight',
|
|
1637
|
+
'workingTime'
|
|
1726
1638
|
],
|
|
1727
1639
|
propertyConfigNames : [
|
|
1728
1640
|
'alignSelf',
|
|
@@ -1762,6 +1674,7 @@ const widgetData = {
|
|
|
1762
1674
|
'items',
|
|
1763
1675
|
'keyMap',
|
|
1764
1676
|
'labelPosition',
|
|
1677
|
+
'labelWidth',
|
|
1765
1678
|
'layout',
|
|
1766
1679
|
'layoutStyle',
|
|
1767
1680
|
'margin',
|
|
@@ -1838,16 +1751,7 @@ const widgetData = {
|
|
|
1838
1751
|
'y'
|
|
1839
1752
|
],
|
|
1840
1753
|
propertyNames : [
|
|
1841
|
-
'anchorSize',
|
|
1842
1754
|
'dayCellCls',
|
|
1843
|
-
'firstVisibleCell',
|
|
1844
|
-
'firstVisibleDate',
|
|
1845
|
-
'focusVisible',
|
|
1846
|
-
'hasChanges',
|
|
1847
|
-
'isSettingValues',
|
|
1848
|
-
'isValid',
|
|
1849
|
-
'lastVisibleCell',
|
|
1850
|
-
'lastVisibleDate',
|
|
1851
1755
|
'parent',
|
|
1852
1756
|
'record',
|
|
1853
1757
|
'state',
|