@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nMvWDbO6.js","sources":["../../src/components/BryntumEventColorField.vue"],"sourcesContent":["<!-- Vue 3 wrapper for Bryntum EventColorField -->\n\n<template>\n <div ref=\"refElement\">\n\n </div>\n</template>\n\n<script setup lang=\"ts\">\n\nimport { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';\n\nimport type { AlignSpec, Base, ColorDescriptor, ContainerItemConfig, EventColorFieldListeners, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, Rectangle, TabConfig, TooltipConfig, Widget } from '@bryntum/calendar';\nimport { EventColorField } from '@bryntum/calendar';\n\nimport { WrapperHelper } from '../helper/WrapperHelper';\n\ndefineProps<{\n // Configs\n /**\n * Adds an option in the picker to set no background color\n */\n addNoColorItem ? : Boolean\n /**\n * Element (or element id) to adopt as this Widget's encapsulating element. The widget's\n * content will be placed inside this element.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-adopt)\n */\n adopt ? : HTMLElement|string\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-align)\n */\n align ? : AlignSpec|string\n /**\n * When this widget is a child of a [Container](https://bryntum.com/products/calendar/docs/api/Core/widget/Container), it will by default be participating in a\n * flexbox layout. This config allows you to set this widget's\n * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.\n */\n alignSelf ? : string\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating) and being shown through [showBy](#Core/widget/Widget#function-showBy).*\n * `true` to show a connector arrow pointing to the align target.\n */\n anchor ? : Boolean\n /**\n * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at\n * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).\n */\n appendTo ? : HTMLElement|string\n /**\n * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject\n * into an element which will be linked using the `aria-describedby` attribute.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-ariaDescription)\n */\n ariaDescription ? : string\n /**\n * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as\n * the `aria-label` attribute.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-ariaLabel)\n */\n ariaLabel ? : string\n /**\n * Sets the native `autocomplete` property of the underlying input element. For more information, please refer to\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)\n */\n autoComplete ? : string\n /**\n * Configure as `true` to have the picker expand upon focus enter.\n */\n autoExpand ? : Boolean\n /**\n * Specify `true` to auto select field contents on focus\n */\n autoSelect ? : Boolean\n /**\n * Initial text to show in badge.\n */\n badge ? : string\n /**\n * An object where property names with a truthy value indicate which events should bubble up the ownership\n * hierarchy when triggered.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-bubbleEvents)\n */\n bubbleEvents ? : object\n /**\n * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-callOnFunctions)\n */\n callOnFunctions ? : Boolean\n /**\n * By default, if an event handler throws an exception, the error propagates up the stack and the\n * application state is undefined. Code which follows the event handler will *not* be executed.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-catchEventHandlerExceptions)\n */\n catchEventHandlerExceptions ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * Set to `true` to centre the Widget in browser viewport space.\n */\n centered ? : Boolean\n /**\n * A function (or the name of a function in the ownership hierarchy) called during field validation\n * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-isValid)\n * evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-checkValidity)\n * @param {Core.widget.Field} field The field being validated\n * @returns {void}\n */\n checkValidity ? : ((field: Field) => void)|string\n /**\n * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly). The trigger is available\n * in the [triggers](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which\n * configures the `clear` [trigger](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-triggers).\n */\n clearable ? : Boolean|FieldTriggerConfig\n /**\n * Custom CSS classes to add to element.\n * May be specified as a space separated string, or as an object in which property names\n * with truthy values are used as the class names:\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-cls)\n */\n cls ? : string|object\n /**\n * The `colors` property can be an array of string CSS colors or of objects with `color`\n * and `text` properties from which the user can chose from. This will override the\n * [pickers default colors](https://bryntum.com/products/calendar/docs/api/Core/widget/ColorPicker#config-colors).\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-colors)\n */\n colors ? : (string|ColorDescriptor)[]\n /**\n * Programmatic control over which column to start in when used in a grid layout.\n */\n column ? : number\n config ? : object\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating) or [positioned](#Core/widget/Widget#config-positioned).*\n * Element, Widget or Rectangle to which this Widget is constrained.\n */\n constrainTo ? : HTMLElement|Widget|Rectangle\n /**\n * The configuration for additional items associated to this field. This is typically used to add contextual\n * fields related to a [checkbox](https://bryntum.com/products/calendar/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See\n * these classes for examples of nested fields.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-container)\n */\n container ? : Record<string, ContainerItemConfig>|ContainerItemConfig[]|FieldContainerConfig\n /**\n * The config controls how the value of nested items are handled when a parent container gets or sets its\n * [values](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#property-values).\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-containValues)\n * @param {Core.widget.Field} field Field instance\n * @returns {boolean}\n */\n containValues ? : Boolean|string|((field: Field) => Boolean)\n /**\n * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).\n * May be specified as a space separated string, or as an object in which property names\n * with truthy values are used as the class names:\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-contentElementCls)\n */\n contentElementCls ? : string|object\n /**\n * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the\n * field on the expanded record to use for populating this widget's store (if applicable)\n */\n dataField ? : string\n /**\n * Object to apply to elements dataset (each key will be used as a data-attribute on the element)\n */\n dataset ? : Record<string, string>\n /**\n * The name of the property to set when a single value is to be applied to this Widget. Such as when used\n * in a grid WidgetColumn, this is the property to which the column's `field` is applied.\n */\n defaultBindProperty ? : string\n /**\n * Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following\n * checks:\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-detectCSSCompatibilityIssues)\n */\n detectCSSCompatibilityIssues ? : Boolean\n /**\n * 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\n * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-disabled)\n */\n disabled ? : Boolean|'inert'\n /**\n * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel)\n * [strips collection](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,\n * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's\n * body. Such widgets are called \"edge strips\".\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-dock)\n */\n dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´\n * property which controls when a drag should start.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-draggable)\n * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget\n */\n draggable ? : Boolean|object\n /**\n * An object specifying attributes to assign to the root element of this widget.\n * Set `null` value to attribute to remove it.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-elementAttributes)\n */\n elementAttributes ? : Record<string, string|null>\n extraData ? : any\n /**\n * When this widget is a child of a [Container](https://bryntum.com/products/calendar/docs/api/Core/widget/Container), it will by default be participating in a\n * flexbox layout. This config allows you to set this widget's\n * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.\n * This may be configured as a single number or a `<flex-grow> <flex-shrink> <flex-basis>` format string.\n * numeric-only values are interpreted as the `flex-grow` value.\n */\n flex ? : number|string\n /**\n * Set to `true` to move the widget out of the document flow and position it\n * absolutely in browser viewport space.\n */\n floating ? : Boolean\n /**\n * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,\n * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some\n * cases this config is convenient.\n */\n height ? : string|number\n /**\n * Configure with true to make widget initially hidden.\n */\n hidden ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-hideAnimation)\n */\n hideAnimation ? : Boolean|object\n /**\n * Specify `true` to highlight field after external value changes\n */\n highlightExternalChange ? : Boolean\n /**\n * An optional string to display inside the input field as an overlay. This can be useful for displaying\n * a field's units.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-hint)\n * @param {object} data A data object\n * @param {Core.widget.Field} data.source A reference to the field instance\n * @param {any} data.value The current value of the field\n * @returns {string}\n */\n hint ? : string|((data: { source: Field, value: any }) => string)\n /**\n * This config is similar to [hint](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-hint) except that this config is used to display HTML content.\n * Since this can allow malicious content to be executed, be sure not to include user-entered data or to\n * encode such data (see [encodeHtml](https://bryntum.com/products/calendar/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-hintHtml)\n * @param {object} data A data object\n * @param {Core.widget.Field} data.source A reference to the field instance\n * @param {any} data.value The current value of the field\n * @returns {string}\n */\n hintHtml ? : string|((data: { source: Field, value: any }) => string)\n /**\n * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById\n */\n id ? : string\n /**\n * Determines if the widgets read-only state should be controlled by its parent.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-ignoreParentReadOnly)\n */\n ignoreParentReadOnly ? : Boolean\n /**\n * Set this config to `true` to always display items horizontally along with this field. This assigns an\n * [hbox](https://bryntum.com/products/calendar/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the\n * [container](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-container).\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-inline)\n */\n inline ? : Boolean\n /**\n * Text alignment for the input field.\n */\n inputAlign ? : string\n /**\n * Sets custom attributes of the underlying input element. For more information, please refer to\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes)\n */\n inputAttributes ? : Record<string, string>\n /**\n * If you need to use something else than a default `input` element, as the input element, provide the tag\n * name here. Please note that this is used for advanced usage only, for example when using WebComponents\n * (custom elements), and that the configured element must fulfil the same contract as a regular input\n * element.\n */\n inputTag ? : string\n /**\n * Sets the `type` attribute of the underlying input element (password, hidden, date, color, etc.).\n */\n inputType ? : string\n /**\n * The width to apply to the `.b-field-inner` element, which encompasses the `input` element and any\n * triggers. If a number is specified, `px` will be used.\n */\n inputWidth ? : string|number\n /**\n * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.\n */\n insertBefore ? : HTMLElement|string\n /**\n * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.\n */\n insertFirst ? : HTMLElement|string\n /**\n * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name\n * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values\n * are the name of the instance method to call when the keystroke is received.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-keyMap)\n */\n keyMap ? : Record<string, KeyMapConfig>\n /**\n * The delay in milliseconds to wait after the last keystroke before triggering a change event.\n * Set to 0 to not trigger change events from keystrokes (listen for input event instead to have\n * immediate feedback, change will still be triggered on blur).\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-keyStrokeChangeDelay)\n */\n keyStrokeChangeDelay ? : number\n /**\n * Label, prepended to field\n */\n label ? : string\n /**\n * CSS class name or class names to add to any configured [label](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Labelable#config-label)\n */\n labelCls ? : string|object\n /**\n * Label position, either 'before' the field or 'above' the field\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-labelPosition)\n */\n labelPosition ? : 'before'|'above'|null\n /**\n * The labels to add either before or after the input field.\n * Each label may have the following properties:\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-labels)\n * @property {string} html Label text\n * @property {'start','end'} align Which end of the file the label should go\n */\n labels ? : object[]\n /**\n * The width to apply to the `<label>` element. If a number is specified, `px` will be used.\n */\n labelWidth ? : string|number\n /**\n * The listener set for this object.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-listeners)\n */\n listeners ? : EventColorFieldListeners\n /**\n * A class translations of which are used for translating this entity.\n * This is often used when translations of an item are defined on its container class.\n * For example:\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-localeClass)\n */\n localeClass ? : typeof Base\n /**\n * Set to `false` to disable localization of this object.\n */\n localizable ? : Boolean\n /**\n * List of properties which values should be translated automatically upon a locale applying.\n * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),\n * you could use 'localeKey' meta configuration.\n * Example:\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-localizableProperties)\n */\n localizableProperties ? : string[]\n /**\n * Widget's margin. This may be configured as a single number or a `TRBL` format string.\n * numeric-only values are interpreted as pixels.\n */\n margin ? : number|string\n /**\n * This config object contains the defaults for the [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) created for the\n * [masked](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these\n * values.\n */\n maskDefaults ? : MaskConfig\n /**\n * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a\n * [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) config object.\n */\n masked ? : Boolean|string|MaskConfig\n /**\n * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.\n */\n maxHeight ? : string|number\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-maximizeOnMobile)\n */\n maximizeOnMobile ? : number|string\n /**\n * The max number of characters for the input field\n */\n maxLength ? : number\n /**\n * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n maxWidth ? : string|number\n /**\n * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.\n */\n minHeight ? : string|number\n /**\n * The min number of characters for the input field\n */\n minLength ? : number\n /**\n * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n minWidth ? : string|number\n /**\n * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)\n * is used to monitor this element for size changes caused by either style manipulation, or by CSS\n * layout.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-monitorResize)\n * @property {boolean} immediate Set to `true` to receive resize notifications immediately.\n */\n monitorResize ? : Boolean|object\n /**\n * Name of the field which is used as a key to get/set values from/to the field.\n * Used prior to [ref](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in\n * [Container.values](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#property-values).\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-name)\n */\n name ? : string\n /**\n * The name of the element property to which the picker should size and align itself.\n */\n pickerAlignElement ? : string\n /**\n * Text to display in empty field.\n */\n placeholder ? : string\n /**\n * 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\n * not participate in the standard layout of that widget, and must be positioned relatively to that\n * widget's [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-positioned)\n */\n positioned ? : Boolean\n /**\n * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a\n * menu on click etc, since the tooltip would be displayed at the same time.\n */\n preventTooltipOnTouch ? : Boolean\n /**\n * Makes the field unmodifiable by user action. The input area is not editable, and triggers\n * are unresponsive.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-readOnly)\n */\n readOnly ? : Boolean\n relayStoreEvents ? : Boolean\n /**\n * Predefined style to use for the field. Possible values are:\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-rendition)\n */\n rendition ? : 'outlined'|'filled'|string\n /**\n * Configure as `true` to indicate that a `null` field value is to be marked as invalid. This will\n * optionally append a * to the field label if [showRequiredIndicator](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-showRequiredIndicator) is set.\n */\n required ? : Boolean\n /**\n * If this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing\n * the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when\n * the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-clearable)\n * behaviour will be activated.\n */\n revertOnEscape ? : Boolean\n /**\n * Configure as `true` to have the component display a translucent ripple when its\n * [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\n * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-ripple)\n * @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.\n * @property {string} [color] A CSS color name or specification.\n * @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.\n * @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.\n */\n ripple ? : Boolean|object\n /**\n * The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid\n * accidentally applying a role which may interfere with screen readers.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-role)\n */\n role ? : string\n /**\n * 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`\n */\n rootElement ? : ShadowRoot|HTMLElement\n /**\n * This may be configured as `true` to make the widget's element use the `direction:rtl` style.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-rtl)\n */\n rtl ? : Boolean\n /**\n * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).\n * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.\n */\n scrollAction ? : 'hide'|'realign'|null\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-showAnimation)\n */\n showAnimation ? : Boolean|object\n /**\n * `true` to automatically display a * after the label for this field when it is [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-required).\n */\n showRequiredIndicator ? : string\n /**\n * Set to `false` to not show the tooltip when this widget is [disabled](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-disabled)\n */\n showTooltipWhenDisabled ? : Boolean\n /**\n * Set to `true`, completely bypasses validation logic (could be userful if your field is not `editable`\n * to the user).\n */\n skipValidation ? : Boolean\n /**\n * Programmatic control over how many columns to span when used in a grid layout.\n */\n span ? : number\n /**\n * Sets the native `spellcheck` property of the underlying input element. For more information, please refer to\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck)\n */\n spellCheck ? : Boolean\n /**\n * 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\n * [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\n * this widget:\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-tab)\n */\n tab ? : Boolean|TabConfig\n /**\n * The tab index of the input field or fields, or `null` for natural tab order (recommended). Setting to `0`\n * is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable\n * (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set\n * to the element programmatically.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-tabIndex)\n */\n tabIndex ? : number\n /**\n * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-textAlign)\n */\n textAlign ? : 'left'|'center'|'right'|'start'|'end'\n /**\n * A title to display for the widget. Only in effect when inside a container that uses it (such as TabPanel)\n */\n title ? : string\n /**\n * Tooltip for the widget, either as a string or as a Tooltip config object.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-tooltip)\n */\n tooltip ? : string|TooltipConfig|null\n /**\n * The triggers to add either before or after the input field. Each property name is the reference by which\n * an instantiated Trigger Widget may be retrieved from the live `triggers` property.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-triggers)\n */\n triggers ? : Record<string, FieldTriggerConfig>\n type ? : 'eventcolorfield'\n /**\n * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified\n * as a space separated string, an array of strings, or as an object in which property names with truthy\n * values are used as the class names.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-ui)\n */\n ui ? : string|object\n /**\n * Set to `false` to not highlight a field as invalid while typing, to instead show it on ENTER key press\n * or similar.\n */\n validateOnInput ? : Boolean\n /**\n * Default value\n */\n value ? : string\n /**\n * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/calendar/docs/api/Core/widget/Container).\n * Higher weights go further down.\n */\n weight ? : number\n /**\n * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which\n * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases\n * this config is convenient.\n */\n width ? : string|number\n /**\n * The x position for the widget.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-x)\n */\n x ? : number\n /**\n * The y position for the widget.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-y)\n */\n y ? : number\n\n}>();\n\nconst emit = defineEmits<{\n /**\n * User performed default action (typed into this field).\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Field,any} params.event.source This Field\n * @param {string,number,boolean,any} params.event.value This field's value\n * @param {string,number,boolean,any} params.event.oldValue This field's previous value\n * @param {boolean} params.event.valid True if this field is in a valid state\n * @param {Event} params.event.event The triggering DOM event if any\n * @param {Core.data.Model} params.event.record Selected record. Available for fields with records selection functionality\n * @param {Core.data.Model[]} params.event.records Selected records as an array. Available for fields with records selection functionality\n * @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)\n * @param {boolean} params.event.checked\n */\n (e: 'action', params: ((event: { source: Field|any, value: string|number|boolean|any, oldValue: string|number|boolean|any, valid: boolean, event: Event, record: Model, records: Model[], userAction: boolean, checked: boolean }) => void)|string): void\n /**\n * Fires before an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.Base} params.event.source The Object that is being destroyed.\n */\n (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Triggered before a widget is hidden. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget being hidden.\n */\n (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void\n /**\n * Triggered before a widget is shown. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget,any} params.event.source The widget being shown\n */\n (e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void\n /**\n * Fires when any other event is fired from the object.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#event-catchAll)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details\n * @param {string} params.event.event.type The type of the event which is caught by the listener\n */\n (e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void\n /**\n * Fired when this field's value changes.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Field,any} params.event.source This Field\n * @param {string,number,boolean,any} params.event.value This field's value\n * @param {string,number,boolean,any} params.event.oldValue This field's previous value\n * @param {boolean} params.event.valid True if this field is in a valid state\n * @param {Event} params.event.event The triggering DOM event if any\n * @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)\n * @param {boolean} params.event.checked\n */\n (e: 'change', params: ((event: { source: Field|any, value: string|number|boolean|any, oldValue: string|number|boolean|any, valid: boolean, event: Event, userAction: boolean, checked: boolean }) => void)|string): void\n /**\n * Fired when this field is [cleared](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#function-clear).\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#event-clear)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Field,any} params.event.source This Field\n */\n (e: 'clear', params: ((event: { source: Field|any }) => void)|string): void\n /**\n * Fires when an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.Base} params.event.source The Object that is being destroyed.\n */\n (e: 'destroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Triggered when a widget's [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element) is available.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {HTMLElement} params.event.element The Widget's element.\n */\n (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void\n /**\n * Fired when focus enters this Widget.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {HTMLElement} params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.\n * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.\n * focus moving from within this Widget's ownership tree, even if there are floating widgets\n * will not trigger this event. This is when focus exits this widget completely.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {HTMLElement} params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.\n * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Triggered after a widget was hidden\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget\n */\n (e: 'hide', params: ((event: { source: Widget }) => void)|string): void\n /**\n * Fired when the user types into this field.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Field,any} params.event.source This field\n * @param {string,number,boolean,any} params.event.value This field's value\n * @param {Event} params.event.event The triggering DOM event\n */\n (e: 'input', params: ((event: { source: Field|any, value: string|number|boolean|any, event: Event }) => void)|string): void\n /**\n * Triggered when a widget which had been in a non-visible state for any reason\n * achieves visibility.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#event-paint)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget being painted.\n * @param {boolean} params.event.firstPaint `true` if this is the first paint.\n */\n (e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void\n /**\n * Fired when a Widget's read only state is toggled\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {boolean} params.event.readOnly Read only or not\n */\n (e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void\n /**\n * This event is fired after a widget's elements have been synchronized due to a direct or indirect call\n * to [recompose](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#function-recompose), if this results in some change to the widget's rendered DOM elements.\n */\n (e: 'recompose', params: (() => void)|string): void\n /**\n * Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {number} params.event.width The new width\n * @param {number} params.event.height The new height\n * @param {number} params.event.oldWidth The old width\n * @param {number} params.event.oldHeight The old height\n */\n (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void\n /**\n * Triggered after a widget is shown.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget\n */\n (e: 'show', params: ((event: { source: Widget }) => void)|string): void\n /**\n * User clicked one of this field's [triggers](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-triggers)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Field,any} params.event.source This field\n * @param {Core.widget.Widget} params.event.trigger The trigger activated by click or touch tap.\n */\n (e: 'trigger', params: ((event: { source: Field|any, trigger: Widget }) => void)|string): void\n}>();\n\nconst widgetData = {\n instanceClass : EventColorField,\n instanceName : 'EventColorField',\n\n configNames : [\n 'adopt',\n 'align',\n 'anchor',\n 'ariaDescription',\n 'ariaLabel',\n 'autoComplete',\n 'autoExpand',\n 'autoSelect',\n 'bubbleEvents',\n 'centered',\n 'checkValidity',\n 'clearable',\n 'config',\n 'constrainTo',\n 'container',\n 'containValues',\n 'contentElementCls',\n 'dataField',\n 'defaultBindProperty',\n 'detectCSSCompatibilityIssues',\n 'dock',\n 'draggable',\n 'elementAttributes',\n 'floating',\n 'hideAnimation',\n 'highlightExternalChange',\n 'hint',\n 'hintHtml',\n 'ignoreParentReadOnly',\n 'inline',\n 'inputAlign',\n 'inputAttributes',\n 'inputTag',\n 'inputType',\n 'inputWidth',\n 'keyStrokeChangeDelay',\n 'labelCls',\n 'labelPosition',\n 'labels',\n 'labelWidth',\n 'listeners',\n 'localeClass',\n 'localizable',\n 'localizableProperties',\n 'maskDefaults',\n 'masked',\n 'maxLength',\n 'minLength',\n 'monitorResize',\n 'name',\n 'pickerAlignElement',\n 'positioned',\n 'preventTooltipOnTouch',\n 'relayStoreEvents',\n 'revertOnEscape',\n 'ripple',\n 'role',\n 'rootElement',\n 'scrollAction',\n 'showAnimation',\n 'showTooltipWhenDisabled',\n 'skipValidation',\n 'spellCheck',\n 'tab',\n 'tabIndex',\n 'textAlign',\n 'title',\n 'type',\n 'ui',\n 'validateOnInput',\n 'weight'\n ],\n propertyConfigNames : [\n 'addNoColorItem',\n 'alignSelf',\n 'appendTo',\n 'badge',\n 'callOnFunctions',\n 'catchEventHandlerExceptions',\n 'cls',\n 'colors',\n 'column',\n 'dataset',\n 'disabled',\n 'extraData',\n 'flex',\n 'height',\n 'hidden',\n 'id',\n 'insertBefore',\n 'insertFirst',\n 'keyMap',\n 'label',\n 'margin',\n 'maxHeight',\n 'maximizeOnMobile',\n 'maxWidth',\n 'minHeight',\n 'minWidth',\n 'onAction',\n 'onBeforeDestroy',\n 'onBeforeHide',\n 'onBeforeShow',\n 'onCatchAll',\n 'onChange',\n 'onClear',\n 'onDestroy',\n 'onElementCreated',\n 'onFocusIn',\n 'onFocusOut',\n 'onHide',\n 'onInput',\n 'onPaint',\n 'onReadOnly',\n 'onRecompose',\n 'onResize',\n 'onShow',\n 'onTrigger',\n 'placeholder',\n 'readOnly',\n 'rendition',\n 'required',\n 'rtl',\n 'showRequiredIndicator',\n 'span',\n 'tooltip',\n 'triggers',\n 'value',\n 'width',\n 'x',\n 'y'\n ],\n propertyNames : [\n 'content',\n 'editable',\n 'formula',\n 'html',\n 'input',\n 'parent',\n 'scrollable'\n ],\n eventNames : [\n 'action',\n 'beforeDestroy',\n 'beforeHide',\n 'beforeShow',\n 'catchAll',\n 'change',\n 'clear',\n 'destroy',\n 'elementCreated',\n 'focusIn',\n 'focusOut',\n 'hide',\n 'input',\n 'paint',\n 'readOnly',\n 'recompose',\n 'resize',\n 'show',\n 'trigger'\n ]\n};\n\nconst instance: {\n value?: EventColorField\n} = {};\n\nconst refElement = ref<HTMLDivElement>()!;\n// Storage for teleports (in-cell Vue component instances) automatically renderer by template\nconst teleports = ref(new Map());\n\n// Provide teleports for processCellContent\nprovide('teleports', teleports);\n\nonMounted(() => {\n\n const me = getCurrentInstance()!;\n\n instance.value = WrapperHelper.createWidget<typeof EventColorField>({\n me,\n widgetData,\n emit,\n element : refElement.value!,\n toRaw\n });\n\n const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);\n WrapperHelper.watchProps(instance.value, widgetData, watcher);\n});\n\nonBeforeUnmount(() => {\n // @ts-ignore\n instance.value?.destroy?.();\n});\n\ndefineExpose({\n instance,\n refElement,\n teleports\n});\n\n</script>\n"],"names":["emit","__emit","widgetData","EventColorField","instance","refElement","ref","teleports","provide","onMounted","me","getCurrentInstance","WrapperHelper","toRaw","watcher","prop","callback","watch","onBeforeUnmount","__expose","_createElementBlock"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0mBA,UAAMA,IAAOC,GA+LPC,IAAa;AAAA,MACf,eAAgBC;AAAA,MAChB,cAAgB;AAAA,MAEhB,aAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,qBAAsB;AAAA,QAClB;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,eAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,YAAa;AAAA,QACT;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,IACJ,GAGEC,IAEF,CAAA,GAEEC,IAAaC,EAAA,GAEbC,IAAYD,EAAI,oBAAI,KAAK;AAG/B,WAAAE,EAAQ,aAAaD,CAAS,GAE9BE,EAAU,MAAM;AAEZ,YAAMC,IAAKC,EAAA;AAEX,MAAAP,EAAS,QAAQQ,EAAc,aAAqC;AAAA,QAChE,IAAAF;AAAA,QACA,YAAAR;AAAA,QACA,MAAAF;AAAA,QACA,SAAUK,EAAW;AAAA,QACrB,OAAAQ;AAAA,MAAA,CACH;AAED,YAAMC,IAAU,CAACC,GAAcC,MAAkBC,EAAM,MAAMP,EAAG,MAAMK,CAAI,GAAGC,CAAQ;AACrF,MAAAJ,EAAc,WAAWR,EAAS,OAAOF,GAAYY,CAAO;AAAA,IAChE,CAAC,GAEDI,EAAgB,MAAM;AAElB,MAAAd,EAAS,OAAO,UAAA;AAAA,IACpB,CAAC,GAEDe,EAAa;AAAA,MACT,UAAAf;AAAA,MACA,YAAAC;AAAA,MACA,WAAAE;AAAA,IAAA,CACH,mBAn/BGa,EAEM,OAAA;AAAA,eAFG;AAAA,MAAJ,KAAIf;AAAA,IAAA;;;"}
|
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { _ as
|
|
3
|
-
import { _ as r } from "./
|
|
4
|
-
import {
|
|
5
|
-
|
|
1
|
+
import { defineComponent as y, ref as f, computed as b, onMounted as B, openBlock as w, createElementBlock as $, createElementVNode as a, createStaticVNode as z, createTextVNode as R, toDisplayString as E, unref as S, renderSlot as D, createBlock as N, createCommentVNode as V, createVNode as t } from "vue";
|
|
2
|
+
import { _ as L } from "./DRk05Cde.js";
|
|
3
|
+
import { _ as r } from "./DhwKNWjD.js";
|
|
4
|
+
import { _ as P } from "./BMxd9tFw.js";
|
|
5
|
+
import { DemoCodeEditor as _, CSSHelper as d, AjaxHelper as T } from "@bryntum/calendar";
|
|
6
|
+
const j = { class: "demo-header b-bryntum" }, A = ["href"], H = {
|
|
6
7
|
id: "tools",
|
|
7
8
|
class: "tools"
|
|
8
|
-
}, i = "../",
|
|
9
|
+
}, i = "../", I = /* @__PURE__ */ y({
|
|
9
10
|
__name: "BryntumDemoHeader",
|
|
10
11
|
props: {
|
|
11
|
-
title: {}
|
|
12
|
+
title: {},
|
|
13
|
+
themeCombo: { type: Boolean, default: !0 }
|
|
12
14
|
},
|
|
13
|
-
setup(
|
|
14
|
-
const s = f(null), c = f(null), l = document.title.split(" - ")[1] || document.title,
|
|
15
|
-
let
|
|
16
|
-
const h =
|
|
15
|
+
setup(v, { expose: x }) {
|
|
16
|
+
const g = v, s = f(null), c = f(null), l = document.title.split(" - ")[1] || document.title, C = document.location.search.includes("test"), m = `https://bryntum.com/download/?product=${document.location.href.match(/\/(\w+)(-trial)?\/[-\w]*examples\//)?.[1]?.toLowerCase() || "calendar"}`, n = !_.monacoCodePath;
|
|
17
|
+
let p;
|
|
18
|
+
const h = b(() => {
|
|
17
19
|
const e = /(.*?\/)(examples.*?\/frameworks\/.*?)\/dist/.exec(document.location.href);
|
|
18
20
|
return e?.[1] && e?.[2] ? `${e[1]}examples/#example-${e[2].replace(/\//gm, "-").replace("examples-frameworks", "frameworks")}` : "#";
|
|
19
21
|
}), u = async () => {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
+
p = await _.toggleCodeEditor(
|
|
23
|
+
p,
|
|
22
24
|
s.value.instance.value,
|
|
23
25
|
{
|
|
24
26
|
appFolder: i,
|
|
@@ -28,37 +30,38 @@ const L = { class: "demo-header b-bryntum" }, N = ["href"], P = {
|
|
|
28
30
|
]
|
|
29
31
|
}
|
|
30
32
|
);
|
|
31
|
-
},
|
|
32
|
-
const e = (await
|
|
33
|
-
if (e.zip ||
|
|
33
|
+
}, k = async () => {
|
|
34
|
+
const e = (await T.get(`${i}app.config.json`, { parseJson: !0 })).parsedJson;
|
|
35
|
+
if (e.zip || C) {
|
|
34
36
|
const o = c.value.instance.value;
|
|
35
37
|
o.hidden = !1, o.href = `${i}${e.zip}`;
|
|
36
38
|
}
|
|
37
39
|
};
|
|
38
|
-
return
|
|
39
|
-
n || (d.insertRule("body { flex-direction : row !important }"), d.insertRule("#__nuxt, #container, #app { flex : 1 !important; overflow : hidden !important }"), d.insertRule(".b-codeeditor-header { padding : 0.5em !important }"),
|
|
40
|
-
}),
|
|
40
|
+
return B(() => {
|
|
41
|
+
n || (d.insertRule("body { flex-direction : row !important }"), d.insertRule("#__nuxt, #container, #app { flex : 1 !important; overflow : hidden !important }"), d.insertRule(".b-codeeditor-header { padding : 0.5em !important }"), k()), new URLSearchParams(window.location.search).has("screenshot") && (document.body.classList.add("b-screenshot"), window.bryntum.noAnimations = !0);
|
|
42
|
+
}), x({
|
|
41
43
|
link: h,
|
|
42
44
|
headerTitle: l,
|
|
43
45
|
hiddenEditor: n,
|
|
44
|
-
downloadLink:
|
|
46
|
+
downloadLink: m,
|
|
45
47
|
toggleCodeEditor: u
|
|
46
|
-
}), (e, o) => (
|
|
48
|
+
}), (e, o) => (w(), $("header", j, [
|
|
47
49
|
a("a", {
|
|
48
50
|
id: "title",
|
|
49
51
|
class: "title",
|
|
50
52
|
href: h.value
|
|
51
53
|
}, [
|
|
52
54
|
a("h1", null, [
|
|
53
|
-
o[0] || (o[0] =
|
|
54
|
-
|
|
55
|
+
o[0] || (o[0] = z('<svg viewBox="0 0 354.9 144.52" xmlns="http://www.w3.org/2000/svg"><g><path d="m305.63 144.52c-12.47 0-23.53-4.83-31.58-13.28v11.06h-25.54v-142.3h26.75v48.58c7.84-7.64 18.5-12.07 30.37-12.07 27.15 0 49.28 23.33 49.28 54.1s-22.12 53.9-49.28 53.9zm-3.82-83.47c-14.68 0-26.55 13.27-26.55 29.77s11.87 29.16 26.55 29.16 26.55-12.67 26.55-29.16-11.87-29.77-26.55-29.77z"></path><path d="m148.02 0h74.01v29.78h-74.01z"></path><path d="m0 56.26h222.03v29.78h-222.03z"></path><path d="m74.01 112.52h148.02v29.6h-148.02z"></path></g></svg>', 1)),
|
|
56
|
+
R(" " + E(S(l)), 1)
|
|
55
57
|
])
|
|
56
|
-
], 8,
|
|
57
|
-
|
|
58
|
-
a("div",
|
|
58
|
+
], 8, A),
|
|
59
|
+
D(e.$slots, "default"),
|
|
60
|
+
a("div", H, [
|
|
61
|
+
g.themeCombo ? (w(), N(P, { key: 0 })) : V("", !0),
|
|
59
62
|
t(r, {
|
|
60
63
|
text: "Download Trial",
|
|
61
|
-
href:
|
|
64
|
+
href: m,
|
|
62
65
|
rendition: "filled"
|
|
63
66
|
}),
|
|
64
67
|
t(r, {
|
|
@@ -79,12 +82,12 @@ const L = { class: "demo-header b-bryntum" }, N = ["href"], P = {
|
|
|
79
82
|
href: "#",
|
|
80
83
|
hidden: !0
|
|
81
84
|
}, null, 512),
|
|
82
|
-
t(
|
|
85
|
+
t(L)
|
|
83
86
|
])
|
|
84
87
|
]));
|
|
85
88
|
}
|
|
86
89
|
});
|
|
87
90
|
export {
|
|
88
|
-
|
|
91
|
+
I as _
|
|
89
92
|
};
|
|
90
|
-
//# sourceMappingURL=
|
|
93
|
+
//# sourceMappingURL=nl7BnV3E.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nl7BnV3E.js","sources":["../../src/components/BryntumDemoHeader.vue"],"sourcesContent":["<template>\n <header class=\"demo-header b-bryntum\">\n <a\n id=\"title\"\n class=\"title\"\n :href=\"link\"\n >\n <h1>\n <svg\n viewBox=\"0 0 354.9 144.52\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g><path d=\"m305.63 144.52c-12.47 0-23.53-4.83-31.58-13.28v11.06h-25.54v-142.3h26.75v48.58c7.84-7.64 18.5-12.07 30.37-12.07 27.15 0 49.28 23.33 49.28 54.1s-22.12 53.9-49.28 53.9zm-3.82-83.47c-14.68 0-26.55 13.27-26.55 29.77s11.87 29.16 26.55 29.16 26.55-12.67 26.55-29.16-11.87-29.77-26.55-29.77z\" /><path d=\"m148.02 0h74.01v29.78h-74.01z\" /><path d=\"m0 56.26h222.03v29.78h-222.03z\" /><path d=\"m74.01 112.52h148.02v29.6h-148.02z\" /></g>\n </svg>\n {{ headerTitle }}\n </h1>\n </a>\n <slot />\n <div\n id=\"tools\"\n class=\"tools\"\n >\n <BryntumThemeCombo v-if=\"props.themeCombo\" />\n <bryntum-button\n text=\"Download Trial\"\n :href=\"downloadLink\"\n rendition=\"filled\"\n />\n <bryntum-button\n ref=\"codeButtonRef\"\n icon=\"b-icon-code\"\n tooltip=\"Click to show the code viewer\"\n rendition=\"text\"\n :hidden=\"hiddenEditor\"\n @click=\"toggleCodeEditor\"\n />\n <bryntum-button\n ref=\"downloadButtonRef\"\n icon=\"b-icon-download\"\n tooltip=\"Download this demo zip archive\"\n rendition=\"text\"\n href=\"#\"\n :hidden=\"true\"\n />\n <bryntum-fullscreen-button />\n </div>\n </header>\n</template>\n\n<script setup lang=\"ts\">\nimport { computed, defineProps, onMounted, ref } from 'vue';\nimport BryntumFullscreenButton from './BryntumFullscreenButton.vue';\nimport BryntumButton from './BryntumButton.vue';\nimport BryntumThemeCombo from './BryntumThemeCombo.vue';\nimport { AjaxHelper, CSSHelper, DemoCodeEditor } from '@bryntum/calendar';\n\nconst props = withDefaults(defineProps<{\n title?: string;\n themeCombo?: boolean;\n}>(), {\n themeCombo : true\n});\n\nconst codeButtonRef = ref<typeof BryntumButton | null>(null);\n\nconst downloadButtonRef = ref<typeof BryntumButton | null>(null);\n\nconst headerTitle = document.title.split(' - ')[1] || document.title;\n\nconst isTest = document.location.search.includes('test');\n\nconst demoProduct = document.location.href.match(/\\/(\\w+)(-trial)?\\/[-\\w]*examples\\//)?.[1]?.toLowerCase() || 'calendar';\n\nconst downloadLink = `https://bryntum.com/download/?product=${demoProduct}`;\n\nconst appFolder = '../';\n\nconst hiddenEditor = !Boolean(DemoCodeEditor.monacoCodePath);\n\nlet codeEditor: DemoCodeEditor | undefined;\n\nconst link = computed(() => {\n const match = /(.*?\\/)(examples.*?\\/frameworks\\/.*?)\\/dist/.exec(document.location.href);\n return (match?.[1] && match?.[2])\n ? `${match[1]}examples/#example-${match[2].replace(/\\//gm, '-').replace('examples-frameworks', 'frameworks')}`\n : '#';\n});\n\nconst toggleCodeEditor = async() => {\n codeEditor = await DemoCodeEditor.toggleCodeEditor(\n codeEditor,\n codeButtonRef.value!.instance.value,\n {\n appFolder,\n preferredSources : [\n /App\\.vue/,\n /\\w+Config\\.[tj]s/\n ]\n }\n );\n};\n\nconst initDownload = async() => {\n const appConfig = (await AjaxHelper.get(`${appFolder}app.config.json`, { parseJson : true })).parsedJson;\n if (appConfig.zip || isTest) {\n const downloadButton = downloadButtonRef.value!.instance.value;\n downloadButton.hidden = false;\n downloadButton.href = `${appFolder}${appConfig.zip}`;\n }\n};\n\nonMounted(() => {\n if (!hiddenEditor) {\n CSSHelper.insertRule('body { flex-direction : row !important }');\n CSSHelper.insertRule('#__nuxt, #container, #app { flex : 1 !important; overflow : hidden !important }');\n CSSHelper.insertRule('.b-codeeditor-header { padding : 0.5em !important }');\n initDownload();\n }\n\n // Enables special styling when generating screenshots\n const params = new URLSearchParams(window.location.search);\n if (params.has('screenshot')) {\n document.body.classList.add('b-screenshot');\n (window.bryntum as any).noAnimations = true;\n }\n});\n\ndefineExpose({\n link,\n headerTitle,\n hiddenEditor,\n downloadLink,\n toggleCodeEditor\n});\n\n</script>\n"],"names":["appFolder","props","__props","codeButtonRef","ref","downloadButtonRef","headerTitle","isTest","downloadLink","hiddenEditor","DemoCodeEditor","codeEditor","link","computed","match","toggleCodeEditor","initDownload","appConfig","AjaxHelper","downloadButton","onMounted","CSSHelper","__expose","_openBlock","_createElementBlock","_hoisted_1","_createElementVNode","_createTextVNode","_unref","_renderSlot","_ctx","_hoisted_3","_createBlock","BryntumThemeCombo","_createVNode","BryntumButton","BryntumFullscreenButton"],"mappings":";;;;;;;;GA2EMA,IAAY;;;;;;;AAnBlB,UAAMC,IAAQC,GAORC,IAAgBC,EAAiC,IAAI,GAErDC,IAAoBD,EAAiC,IAAI,GAEzDE,IAAc,SAAS,MAAM,MAAM,KAAK,EAAE,CAAC,KAAK,SAAS,OAEzDC,IAAS,SAAS,SAAS,OAAO,SAAS,MAAM,GAIjDC,IAAe,yCAFD,SAAS,SAAS,KAAK,MAAM,oCAAoC,IAAI,CAAC,GAAG,YAAA,KAAiB,UAErC,IAInEC,IAAe,CAASC,EAAe;AAE7C,QAAIC;AAEJ,UAAMC,IAAOC,EAAS,MAAM;AACxB,YAAMC,IAAQ,8CAA8C,KAAK,SAAS,SAAS,IAAI;AACvF,aAAQA,IAAQ,CAAC,KAAKA,IAAQ,CAAC,IACzB,GAAGA,EAAM,CAAC,CAAC,qBAAqBA,EAAM,CAAC,EAAE,QAAQ,QAAQ,GAAG,EAAE,QAAQ,uBAAuB,YAAY,CAAC,KAC1G;AAAA,IACV,CAAC,GAEKC,IAAmB,YAAW;AAChC,MAAAJ,IAAa,MAAMD,EAAe;AAAA,QAC9BC;AAAA,QACAR,EAAc,MAAO,SAAS;AAAA,QAC9B;AAAA,UACI,WAAAH;AAAA,UACA,kBAAmB;AAAA,YACf;AAAA,YACA;AAAA,UAAA;AAAA,QACJ;AAAA,MACJ;AAAA,IAER,GAEMgB,IAAe,YAAW;AAC5B,YAAMC,KAAa,MAAMC,EAAW,IAAI,GAAGlB,CAAS,mBAAmB,EAAE,WAAY,GAAA,CAAM,GAAG;AAC9F,UAAIiB,EAAU,OAAOV,GAAQ;AACzB,cAAMY,IAAkBd,EAAkB,MAAO,SAAS;AAC1D,QAAAc,EAAe,SAAS,IACxBA,EAAe,OAAS,GAAGnB,CAAS,GAAGiB,EAAU,GAAG;AAAA,MACxD;AAAA,IACJ;AAEA,WAAAG,EAAU,MAAM;AACZ,MAAKX,MACDY,EAAU,WAAW,0CAA0C,GAC/DA,EAAU,WAAW,iFAAiF,GACtGA,EAAU,WAAW,qDAAqD,GAC1EL,EAAA,IAIW,IAAI,gBAAgB,OAAO,SAAS,MAAM,EAC9C,IAAI,YAAY,MACvB,SAAS,KAAK,UAAU,IAAI,cAAc,GACzC,OAAO,QAAgB,eAAe;AAAA,IAE/C,CAAC,GAEDM,EAAa;AAAA,MACT,MAAAV;AAAA,MACA,aAAAN;AAAA,MACA,cAAAG;AAAA,MACA,cAAAD;AAAA,MACA,kBAAAO;AAAA,IAAA,CACH,cApIGQ,EAAA,GAAAC,EA6CS,UA7CTC,GA6CS;AAAA,MA5CLC,EAcI,KAAA;AAAA,QAbA,IAAG;AAAA,QACH,OAAM;AAAA,QACL,MAAMd,EAAA;AAAA,MAAA;QAEPc,EAQK,MAAA,MAAA;AAAA;UAFKC,EAAA,QACHC,EAAAtB,CAAA,CAAW,GAAA,CAAA;AAAA,QAAA;;MAGtBuB,EAAQC,EAAA,QAAA,SAAA;AAAA,MACRJ,EA2BM,OA3BNK,GA2BM;AAAA,QAvBuB9B,EAAM,mBAA/B+B,EAA6CC,GAAA,EAAA,KAAA,EAAA,CAAA;QAC7CC,EAIEC,GAAA;AAAA,UAHE,MAAK;AAAA,UACJ,MAAM3B;AAAA,UACP,WAAU;AAAA,QAAA;QAEd0B,EAOEC,GAAA;AAAA,mBANM;AAAA,UAAJ,KAAIhC;AAAA,UACJ,MAAK;AAAA,UACL,SAAQ;AAAA,UACR,WAAU;AAAA,UACT,QAAQM;AAAA,UACR,SAAOM;AAAA,QAAA;QAEZmB,EAOEC,GAAA;AAAA,mBANM;AAAA,UAAJ,KAAI9B;AAAA,UACJ,MAAK;AAAA,UACL,SAAQ;AAAA,UACR,WAAU;AAAA,UACV,MAAK;AAAA,UACJ,QAAQ;AAAA,QAAA;QAEb6B,EAA6BE,CAAA;AAAA,MAAA;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, ref as i, provide as h, onMounted as g, getCurrentInstance as y, toRaw as f, onBeforeUnmount as v, openBlock as b, createElementBlock as C, watch as S } from "vue";
|
|
2
|
-
import { ResourceView as
|
|
2
|
+
import { ResourceView as w } from "@bryntum/calendar";
|
|
3
3
|
import { WrapperHelper as s } from "../helper/WrapperHelper.js";
|
|
4
4
|
const A = /* @__PURE__ */ u({
|
|
5
5
|
__name: "BryntumResourceView",
|
|
@@ -78,6 +78,7 @@ const A = /* @__PURE__ */ u({
|
|
|
78
78
|
items: {},
|
|
79
79
|
keyMap: {},
|
|
80
80
|
labelPosition: {},
|
|
81
|
+
labelWidth: {},
|
|
81
82
|
layout: {},
|
|
82
83
|
layoutStyle: {},
|
|
83
84
|
lazyItems: {},
|
|
@@ -113,6 +114,7 @@ const A = /* @__PURE__ */ u({
|
|
|
113
114
|
responsiveState: {},
|
|
114
115
|
responsiveTarget: {},
|
|
115
116
|
ripple: {},
|
|
117
|
+
role: {},
|
|
116
118
|
rootElement: {},
|
|
117
119
|
rtl: {},
|
|
118
120
|
scrollable: {},
|
|
@@ -155,13 +157,14 @@ const A = /* @__PURE__ */ u({
|
|
|
155
157
|
weekStartDay: {},
|
|
156
158
|
weight: {},
|
|
157
159
|
width: {},
|
|
160
|
+
workingTime: {},
|
|
158
161
|
x: {},
|
|
159
162
|
y: {}
|
|
160
163
|
},
|
|
161
164
|
emits: ["beforeAutoCreate", "beforeChangeDate", "beforeDestroy", "beforeHide", "beforeResponsiveStateChange", "beforeSetRecord", "beforeShow", "beforeStateApply", "beforeStateSave", "catchAll", "collapse", "destroy", "dirtyStateChange", "elementCreated", "eventAutoCreated", "expand", "focusIn", "focusOut", "hide", "paint", "readOnly", "recompose", "refresh", "resize", "responsiveStateChange", "show", "toolClick", "viewCreate"],
|
|
162
|
-
setup(
|
|
165
|
+
setup(D, { expose: l, emit: c }) {
|
|
163
166
|
const d = c, a = {
|
|
164
|
-
instanceClass:
|
|
167
|
+
instanceClass: w,
|
|
165
168
|
instanceName: "ResourceView",
|
|
166
169
|
configNames: [
|
|
167
170
|
"activationKey",
|
|
@@ -223,6 +226,7 @@ const A = /* @__PURE__ */ u({
|
|
|
223
226
|
"responsiveState",
|
|
224
227
|
"responsiveTarget",
|
|
225
228
|
"ripple",
|
|
229
|
+
"role",
|
|
226
230
|
"rootElement",
|
|
227
231
|
"scrollAction",
|
|
228
232
|
"selectorButton",
|
|
@@ -250,7 +254,8 @@ const A = /* @__PURE__ */ u({
|
|
|
250
254
|
"type",
|
|
251
255
|
"ui",
|
|
252
256
|
"weekStartDay",
|
|
253
|
-
"weight"
|
|
257
|
+
"weight",
|
|
258
|
+
"workingTime"
|
|
254
259
|
],
|
|
255
260
|
propertyConfigNames: [
|
|
256
261
|
"alignSelf",
|
|
@@ -287,6 +292,7 @@ const A = /* @__PURE__ */ u({
|
|
|
287
292
|
"items",
|
|
288
293
|
"keyMap",
|
|
289
294
|
"labelPosition",
|
|
295
|
+
"labelWidth",
|
|
290
296
|
"layout",
|
|
291
297
|
"layoutStyle",
|
|
292
298
|
"margin",
|
|
@@ -349,16 +355,7 @@ const A = /* @__PURE__ */ u({
|
|
|
349
355
|
"y"
|
|
350
356
|
],
|
|
351
357
|
propertyNames: [
|
|
352
|
-
"anchorSize",
|
|
353
358
|
"dayCellCls",
|
|
354
|
-
"firstVisibleCell",
|
|
355
|
-
"firstVisibleDate",
|
|
356
|
-
"focusVisible",
|
|
357
|
-
"hasChanges",
|
|
358
|
-
"isSettingValues",
|
|
359
|
-
"isValid",
|
|
360
|
-
"lastVisibleCell",
|
|
361
|
-
"lastVisibleDate",
|
|
362
359
|
"parent",
|
|
363
360
|
"record",
|
|
364
361
|
"state",
|
|
@@ -421,4 +418,4 @@ const A = /* @__PURE__ */ u({
|
|
|
421
418
|
export {
|
|
422
419
|
A as _
|
|
423
420
|
};
|
|
424
|
-
//# sourceMappingURL=
|
|
421
|
+
//# sourceMappingURL=qmIX92PW.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qmIX92PW.js","sources":["../../src/components/BryntumResourceView.vue"],"sourcesContent":["<!-- Vue 3 wrapper for Bryntum ResourceView -->\n\n<template>\n <div ref=\"refElement\">\n\n </div>\n</template>\n\n<script setup lang=\"ts\">\n\nimport { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';\n\nimport type { AlignSpec, Base, BryntumScrollOptions, ButtonConfig, CalendarView, Color, Container, ContainerItemConfig, ContainerLayoutConfig, DomConfig, DurationConfig, EventBar, EventModel, KeyMapConfig, MaskConfig, MenuItemConfig, MenuItemEntry, Model, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, ResourceModel, ResourceViewListeners, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/calendar';\nimport { ResourceView } from '@bryntum/calendar';\n\nimport { WrapperHelper } from '../helper/WrapperHelper';\n\ndefineProps<{\n // Configs\n /**\n * A key to use to activate this view.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-activationKey)\n */\n activationKey ? : string\n /**\n * Element (or element id) to adopt as this Widget's encapsulating element. The widget's\n * content will be placed inside this element.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-adopt)\n */\n adopt ? : HTMLElement|string\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-align)\n */\n align ? : AlignSpec|string\n /**\n * When this widget is a child of a [Container](https://bryntum.com/products/calendar/docs/api/Core/widget/Container), it will by default be participating in a\n * flexbox layout. This config allows you to set this widget's\n * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.\n */\n alignSelf ? : string\n /**\n * Configure this as `false` to disable drag-creating events in this view.\n */\n allowDragCreate ? : Boolean\n /**\n * Configure this as `false` to disable drag-moving events in this view.\n */\n allowDragMove ? : Boolean\n /**\n * Configure this as `false` to disable drag-resizing events in this view.\n */\n allowDragResize ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating) and being shown through [showBy](#Core/widget/Widget#function-showBy).*\n * `true` to show a connector arrow pointing to the align target.\n */\n anchor ? : Boolean\n /**\n * By default, when navigating through time, the next time\n * block will be animated in from the appropriate direction.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-animateTimeShift)\n */\n animateTimeShift ? : Boolean\n /**\n * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at\n * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).\n */\n appendTo ? : HTMLElement|string\n /**\n * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject\n * into an element which will be linked using the `aria-describedby` attribute.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-ariaDescription)\n */\n ariaDescription ? : string\n /**\n * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as\n * the `aria-label` attribute.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-ariaLabel)\n */\n ariaLabel ? : string\n /**\n * If this config is set, then the `gesture` configured (which defaults to `dblclick`) creates a\n * new event at the mouse or touch event's time point.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-autoCreate)\n * @property {string} [gesture] The DOM event name which initiates event creation at the event's position.\n * @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>\n * @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.\n * @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>.\n * @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)\n * @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.\n */\n autoCreate ? : object|string|Boolean\n /**\n * A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/calendar/docs/api/Core/widget/Toolbar),\n * 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).\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-bbar)\n */\n bbar ? : (ContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null\n /**\n * Custom CSS classes to add to the panel's body element.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-bodyCls)\n */\n bodyCls ? : string|object\n /**\n * Set `true` to add a border to this container's element.\n */\n border ? : Boolean\n /**\n * An object where property names with a truthy value indicate which events should bubble up the ownership\n * hierarchy when triggered.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-bubbleEvents)\n */\n bubbleEvents ? : object\n /**\n * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-callOnFunctions)\n */\n callOnFunctions ? : Boolean\n /**\n * By default, if an event handler throws an exception, the error propagates up the stack and the\n * application state is undefined. Code which follows the event handler will *not* be executed.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-catchEventHandlerExceptions)\n */\n catchEventHandlerExceptions ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * Set to `true` to centre the Widget in browser viewport space.\n */\n centered ? : Boolean\n /**\n * Custom CSS classes to add to element.\n * May be specified as a space separated string, or as an object in which property names\n * with truthy values are used as the class names:\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-cls)\n */\n cls ? : string|object\n /**\n * Controls whether the panel is collapsed (the body of the panel is hidden while only the header is\n * visible). Only valid if the panel is [collapsible](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsible).\n */\n collapsed ? : Boolean\n /**\n * This config enables collapsibility for the panel. See [collapsed](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsed).\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-collapsible)\n */\n collapsible ? : Boolean|PanelCollapserConfig|PanelCollapserOverlayConfig\n /**\n * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets\n * `style` block.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-color)\n */\n color ? : Color\n /**\n * Programmatic control over which column to start in when used in a grid layout.\n */\n column ? : number\n config ? : object\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating) or [positioned](#Core/widget/Widget#config-positioned).*\n * Element, Widget or Rectangle to which this Widget is constrained.\n */\n constrainTo ? : HTMLElement|Widget|Rectangle\n /**\n * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).\n * May be specified as a space separated string, or as an object in which property names\n * with truthy values are used as the class names:\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-contentElementCls)\n */\n contentElementCls ? : string|object\n /**\n * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the\n * field on the expanded record to use for populating this widget's store (if applicable)\n */\n dataField ? : string\n /**\n * Object to apply to elements dataset (each key will be used as a data-attribute on the element)\n */\n dataset ? : Record<string, string>\n /**\n * A [DateHelper](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper) format string/function to use to create date output for view descriptions.\n * @param {Date} date The date to format.\n * @returns {string} The formatted date.\n */\n dateFormat ? : string|((date: Date) => string)\n /**\n * A string used to separate start and end dates in the [descriptionFormat](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/Describable#config-descriptionFormat).\n */\n dateSeparator ? : string\n /**\n * The name of the property to set when a single value is to be applied to this Widget. Such as when used\n * in a grid WidgetColumn, this is the property to which the column's `field` is applied.\n */\n defaultBindProperty ? : string\n /**\n * A [query](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which\n * focus should be directed by default.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-defaultFocus)\n * @param {Core.widget.Widget} widget Widget passed to method\n * @returns {boolean} truthy value if widget is the default one\n */\n defaultFocus ? : ((widget: Widget) => Boolean)|string\n /**\n * A config object containing default settings to apply to all child widgets.\n */\n defaults ? : ContainerItemConfig\n /**\n * 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.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-defaultScrollOptions)\n */\n defaultScrollOptions ? : BryntumScrollOptions\n /**\n * 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.\n * 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\n * be used.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-descriptionFormat)\n * @param {Date} date The date to format.\n * @returns {string} The formatted date.\n */\n descriptionFormat ? : string|string[]|Boolean[]|((date: Date) => string)|(((date: Date) => string)[])\n /**\n * A function that provides the textual description for this view. If provided, this function overrides the\n * [descriptionFormat](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/Describable#config-descriptionFormat).\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-descriptionRenderer)\n * @param {Core.widget.Widget} view The active view in case the function is in another scope.\n * @returns {string} Description string\n */\n descriptionRenderer ? : (view: Widget) => string\n /**\n * Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following\n * checks:\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-detectCSSCompatibilityIssues)\n */\n detectCSSCompatibilityIssues ? : Boolean\n /**\n * 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\n * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-disabled)\n */\n disabled ? : Boolean|'inert'\n /**\n * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel)\n * [strips collection](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,\n * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's\n * body. Such widgets are called \"edge strips\".\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-dock)\n */\n dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´\n * property which controls when a drag should start.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-draggable)\n * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget\n */\n draggable ? : Boolean|object\n /**\n * The [durationUnit](https://bryntum.com/products/calendar/docs/api/Scheduler/model/EventModel#field-durationUnit) to use when drag-creating events\n * in this view.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-dragUnit)\n */\n dragUnit ? : string\n /**\n * Make this Panel a docked drawer which slides out from one side of the browser viewport by default.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-drawer)\n * @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.\n * @param {string,number} [size] The size of the drawer in its collapsible axis.\n * @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.\n * @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.\n * @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.\n * @param {boolean,string} [autoClose.focusout] If focus moves outside of the drawer, the drawer will automatically be hidden.\n * @param {string} [autoClose.mouseout] Hides the drawer when the mouse leaves the drawer after the `autoCloseDelay` period.\n * @param {number} [autoCloseDelay] When using `mouseout`, this is the delay in milliseconds\n */\n 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 }\n /**\n * An object specifying attributes to assign to the root element of this widget.\n * Set `null` value to attribute to remove it.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-elementAttributes)\n */\n elementAttributes ? : Record<string, string|null>\n /**\n * A function, or the name of a function in the ownership hierarchy which you\n * can specify to customize event DOM content.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-eventHeaderRenderer)\n * @param {object} detail An object that contains data about the event being rendered\n * @param {CalendarView} detail.view The view rendering the event\n * @param {Scheduler.model.EventModel} detail.eventRecord The event record\n * @param {Scheduler.model.ResourceModel} detail.resourceRecord The resource record\n * @param {object} detail.renderData A data object containing properties that will be used to create the event element\n * @param {object} detail.renderData.style The style property is an object containing style properties for the event element\n * @param {object} detail.renderData.cls The cls property is an object whose property names will be added to the event element if the property value is truthy\n * @param {object} detail.renderData.iconStyle The iconStyle property is an object containing style properties for the icon element if an icon element is to be used\n * @param {object} detail.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\n * @param {string} detail.renderData.eventColor Color to be applied to the event\n * @param {object} detail.renderData.dataset An object which produces the `dataset` of the resulting event bar\n * @param {boolean} detail.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\n * @param {string} detail.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\n * @param {boolean} detail.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.\n * @returns {DomConfig,DomConfig[],string,void}\n */\n eventHeaderRenderer ? : ((detail: { view: CalendarView, eventRecord: EventModel, resourceRecord: ResourceModel, renderData: { style: object, cls: object, iconStyle: object, iconCls: object, eventColor: string, dataset: object, solidBar: Boolean, bodyColor: string }, showBullet: Boolean }) => DomConfig|DomConfig[]|string|void)|string\n /**\n * The height of event bars if this view creates event bars.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-eventHeight)\n */\n eventHeight ? : number|string\n /**\n * A function, or the name of a function in the ownership hierarchy which you\n * can specify to customize event DOM content.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-eventRenderer)\n * @param {object} context An object that contains context about the event being rendered\n * @param {CalendarView} context.view The view rendering the event\n * @param {Scheduler.model.EventModel} context.eventRecord The event record\n * @param {Scheduler.model.ResourceModel} context.resourceRecord The Resource record\n * @param {object} context.renderData A data object containing properties that will be used to create the event element\n * @param {object} context.renderData.style The style property is an object containing style properties for the event element\n * @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\n * @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\n * @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\n * @param {string} context.renderData.eventColor Color to be applied to the event\n * @param {object} context.renderData.dataset An object which produces the `dataset` of the resulting event bar\n * @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 colour (text and icons) such as the MonthView, the CalendarRow (all day events in a DayView), and OverflowPopups\n * @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 colour (From the SASS variable `$dayview-event-color`) is visible\n * @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\n * @returns {DomConfig,DomConfig[],string,void}\n */\n eventRenderer ? : ((context: { view: CalendarView, eventRecord: EventModel, resourceRecord: ResourceModel, renderData: { style: object, cls: object, iconStyle: object, iconCls: object, eventColor: string, dataset: object, solidBar: Boolean, bodyColor: string, showBullet: Boolean } }) => DomConfig|DomConfig[]|string|void)|string\n /**\n * A function which compares events which some views use to decide upon rendering order.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-eventSorter)\n * @param {Scheduler.model.EventModel,EventBar} lhs The left side value to conpare\n * @param {Scheduler.model.EventModel,EventBar} rhs The right side value to conpare\n * @returns {number}\n */\n eventSorter ? : (lhs: EventModel|EventBar, rhs: EventModel|EventBar) => number\n /**\n * By default, the end date of an all day event is displayed in the UI as\n * the last calendar date on which the event falls. For most end users, this is the\n * expected value.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-extendAllDayEndDay)\n */\n extendAllDayEndDay ? : Boolean\n extraData ? : any\n /**\n * If this is set to `true`, then when determining which assigned resource of a multi assigned event\n * to use to create the event UI, the first resource which is still selected in the\n * [resourceFilter](https://bryntum.com/products/calendar/docs/api/Calendar/widget/Sidebar#property-resourceFilter) is used.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-filterEventResources)\n */\n filterEventResources ? : Boolean\n /**\n * When this widget is a child of a [Container](https://bryntum.com/products/calendar/docs/api/Core/widget/Container), it will by default be participating in a\n * flexbox layout. This config allows you to set this widget's\n * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.\n * This may be configured as a single number or a `<flex-grow> <flex-shrink> <flex-basis>` format string.\n * numeric-only values are interpreted as the `flex-grow` value.\n */\n flex ? : number|string\n /**\n * Set to `true` to move the widget out of the document flow and position it\n * absolutely in browser viewport space.\n */\n floating ? : Boolean\n /**\n * Config object of a footer. May contain a `dock`, `html` and a `cls` property. A footer is not a widget,\n * 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).\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-footer)\n * @property {'top','right','bottom','left','start','end'} dock Where to dock\n * @property {string} html Html to populate the footer with\n * @property {string} cls CSS class to add to the footer\n */\n footer ? : object|string\n /**\n * A Function (or name of a function in the ownership hierarchy) which returns the\n * [resource record](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ResourceModel) to use to create the UI for an event.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-getPrimaryResource)\n * @param {Scheduler.model.EventModel} eventRecord The event from which to extract the primary resource.\n * @returns {Scheduler.model.ResourceModel} The resource to be used to render the event.\n */\n getPrimaryResource ? : ((eventRecord: EventModel) => ResourceModel)|string\n /**\n * 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`.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-header)\n */\n header ? : string|Boolean|PanelHeader\n /**\n * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,\n * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some\n * cases this config is convenient.\n */\n height ? : string|number\n /**\n * Configure with true to make widget initially hidden.\n */\n hidden ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-hideAnimation)\n */\n hideAnimation ? : Boolean|object\n /**\n * Configure this as `true` to hide child views which have no events.\n */\n hideEmptyResources ? : Boolean\n /**\n * Set to `true` to hide non-working days\n */\n hideNonWorkingDays ? : Boolean\n /**\n * Specify `true` to make this container hide when it has no visible children (Either empty\n * or all children hidden).\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-hideWhenEmpty)\n */\n hideWhenEmpty ? : Boolean\n /**\n * An icon to show before the [title](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-title). Either pass a CSS class as a string, or pass a\n * [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) object describing an element to represent the icon.\n */\n icon ? : string|DomConfig\n /**\n * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById\n */\n id ? : string\n /**\n * Determines if the widgets read-only state should be controlled by its parent.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-ignoreParentReadOnly)\n */\n ignoreParentReadOnly ? : Boolean\n /**\n * When [ResourceTimeRangeModel](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ResourceTimeRangeModel)s are included in the data, they\n * are only rendered in subviews of [ResourceView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView)s and normal\n * [TimeRangeModel](https://bryntum.com/products/calendar/docs/api/Calendar/model/TimeRangeModel)s are <strong>not</strong> rendered in subviews of\n * [ResourceView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView)s.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-includeTimeRanges)\n */\n includeTimeRanges ? : Boolean\n /**\n * Convenience setting to align input fields of child widgets. By default, the Field input element is\n * placed immediately following the `label`. If you prefer to have all input fields aligned to the\n * right, set this config to `'end'`.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-inputFieldAlign)\n */\n inputFieldAlign ? : 'start'|'end'\n /**\n * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.\n */\n insertBefore ? : HTMLElement|string\n /**\n * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-appendTo) config is ignored.\n */\n insertFirst ? : HTMLElement|string\n /**\n * An optional CSS class to add to child items of this container.\n */\n itemCls ? : string\n /**\n * An object containing typed child widget config objects or Widgets. May also be specified\n * as an array.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-items)\n */\n items ? : Record<string, ContainerItemConfig|MenuItemEntry>|(ContainerItemConfig|MenuItemEntry|Widget)[]\n /**\n * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name\n * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values\n * are the name of the instance method to call when the keystroke is received.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-keyMap)\n */\n keyMap ? : Record<string, KeyMapConfig>\n /**\n * Convenience setting to use same label placement on all child widgets.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-labelPosition)\n */\n labelPosition ? : 'before'|'above'|'align-before'|'auto'|null\n /**\n * Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-labelWidth)\n */\n labelWidth ? : number|null\n /**\n * The short name of a helper class which manages rendering and styling of child items.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-layout)\n */\n layout ? : string|ContainerLayoutConfig\n /**\n * The CSS style properties to apply to the [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-layoutStyle)\n */\n layoutStyle ? : object\n /**\n * 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\n * instances only when this Container is rendered, rather than eagerly at construct time.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-lazyItems)\n */\n lazyItems ? : Record<string, ContainerItemConfig>|ContainerItemConfig[]|Widget[]\n /**\n * The listener set for this object.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-listeners)\n */\n listeners ? : ResourceViewListeners\n /**\n * A class translations of which are used for translating this entity.\n * This is often used when translations of an item are defined on its container class.\n * For example:\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-localeClass)\n */\n localeClass ? : typeof Base\n /**\n * Set to `false` to disable localization of this object.\n */\n localizable ? : Boolean\n /**\n * List of properties which values should be translated automatically upon a locale applying.\n * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),\n * you could use 'localeKey' meta configuration.\n * Example:\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-localizableProperties)\n */\n localizableProperties ? : string[]\n /**\n * Widget's margin. This may be configured as a single number or a `TRBL` format string.\n * numeric-only values are interpreted as pixels.\n */\n margin ? : number|string\n /**\n * This config object contains the defaults for the [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) created for the\n * [masked](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these\n * values.\n */\n maskDefaults ? : MaskConfig\n /**\n * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a\n * [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) config object.\n */\n masked ? : Boolean|string|MaskConfig\n /**\n * The maximum date to which the `endDate` of this view may be navigated.\n */\n maxDate ? : Date|string\n /**\n * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.\n */\n maxHeight ? : string|number\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-maximizeOnMobile)\n */\n maximizeOnMobile ? : number|string\n /**\n * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n maxWidth ? : string|number\n /**\n * A field name or a function returning a string to be displayed below resource name in the resource view\n * headers.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-meta)\n * @param {Scheduler.model.ResourceModel} resource Displayed resource\n * @returns {string} Text to be displayed below resource name\n */\n meta ? : string|((resource: ResourceModel) => string)\n /**\n * The minimum date to which the `startDate` of this view may be navigated.\n */\n minDate ? : Date|string\n /**\n * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.\n */\n minHeight ? : string|number\n /**\n * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n minWidth ? : string|number\n /**\n * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)\n * is used to monitor this element for size changes caused by either style manipulation, or by CSS\n * layout.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-monitorResize)\n * @property {boolean} immediate Set to `true` to receive resize notifications immediately.\n */\n monitorResize ? : Boolean|object\n /**\n * 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)\n * config. For example, a specialized [Menu](https://bryntum.com/products/calendar/docs/api/Core/widget/Menu) subclass may have a `namedItems` default\n * value defined like this:\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-namedItems)\n */\n namedItems ? : Record<string, ContainerItemConfig>\n /**\n * Non-working days as an object where keys are day indices, 0-6 (Sunday-Saturday), and the value is `true`.\n * Defaults to [nonWorkingDays](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper#property-nonWorkingDays-static).\n */\n nonWorkingDays ? : Record<number, Boolean>\n /**\n * The class name to add to events which have an end date in the past. Defaults to `'b-past-event'`.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-pastEventCls)\n */\n pastEventCls ? : string\n /**\n * 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\n * not participate in the standard layout of that widget, and must be positioned relatively to that\n * widget's [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-positioned)\n */\n positioned ? : Boolean\n /**\n * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a\n * menu on click etc, since the tooltip would be displayed at the same time.\n */\n preventTooltipOnTouch ? : Boolean\n /**\n * <strong>If</strong> the displayed [view](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-view) is a [DateRangeOwner](#Calendar/widget/mixin/DateRangeOwner),\n * this may be used to set the [range](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DateRangeOwner#config-range)\n * of all child views.\n */\n range ? : string|DurationConfig\n /**\n * Whether this widget is read-only. This is only valid if the widget is an input\n * field, <strong>or contains input fields at any depth</strong>.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-readOnly)\n */\n readOnly ? : Boolean\n relayStoreEvents ? : Boolean\n /**\n * Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget\n * `type`.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-rendition)\n */\n rendition ? : string|Record<string, string>|null\n /**\n * Path to load resource images from. Used by the [showResourceAvatars](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-showResourceAvatars) config\n * to create URLs using the resource's\n * [image](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ResourceModel#field-image) or\n * [imageUrl](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ResourceModel#field-imageUrl) fields:\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-resourceImagePath)\n */\n resourceImagePath ? : string\n /**\n * The width of a resource calendar panel (view always stretches to fill window)\n */\n resourceWidth ? : number|string\n /**\n * Specifies the various responsive state objects keyed by their name. Each key (except `'*'`, see below) in\n * 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\n * associated [ResponsiveState](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#typedef-ResponsiveState) object.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-responsive)\n */\n responsive ? : object\n /**\n * Set to `true` to mark this instance as the default [responsiveTarget](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveTarget) for descendants that do\n * not specify an explicit [responsiveTarget](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveTarget) of their own.\n */\n responsiveRoot ? : Boolean\n /**\n * The name of the active state of the [responsive](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsive) config. This is assigned internally\n * and should not be assigned directly.\n */\n responsiveState ? : string\n /**\n * The widget whose size and other properties drive this object's responsive behavior. If this config is not\n * specified, the closest ancestor that specified [responsiveRoot=true](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveRoot) will be\n * used. If there is no such ancestor, then the instance using this mixin is used.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-responsiveTarget)\n */\n responsiveTarget ? : string|Widget\n /**\n * Configure as `true` to have the component display a translucent ripple when its\n * [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\n * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-ripple)\n * @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.\n * @property {string} [color] A CSS color name or specification.\n * @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.\n * @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.\n */\n ripple ? : Boolean|object\n /**\n * The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid\n * accidentally applying a role which may interfere with screen readers.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-role)\n */\n role ? : string\n /**\n * 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`\n */\n rootElement ? : ShadowRoot|HTMLElement\n /**\n * This may be configured as `true` to make the widget's element use the `direction:rtl` style.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-rtl)\n */\n rtl ? : Boolean\n /**\n * Specifies whether (and optionally in which axes) a Widget may scroll. `true` means this widget may scroll\n * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are\n * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to\n * CSS overflow properties thus:\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-scrollable)\n */\n scrollable ? : Boolean|ScrollerConfig|Scroller\n /**\n * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).\n * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.\n */\n scrollAction ? : 'hide'|'realign'|null\n /**\n * A button configuration object to use for the automatically created mode selector button for this mode.\n */\n selectorButton ? : ButtonConfig\n /**\n * A menu item configuration object to use for the automatically created mode selector menu item for this mode.\n */\n selectorMenuItem ? : MenuItemConfig\n /**\n * A [DateHelper](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper) format string/function to use to create date output for\n * abbreviated view descriptions.\n * @param {Date} date The date to format.\n * @returns {string} The formatted date.\n */\n shortDateFormat ? : string|((date: Date) => string)\n /**\n * A [DateHelper](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper) format string/function to use to create date and time output for\n * abbreviated view descriptions.\n * @param {Date} date The date to format.\n * @returns {string} The formatted date.\n */\n shortDateTimeFormat ? : string|((date: Date) => string)\n /**\n * The class name to add to events which have duration less than or equal to\n * [shortEventDuration](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventDuration).\n */\n shortEventCls ? : string\n /**\n * The duration threshold at or below which an event's encapsulating element gets\n * 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\n * style rearrangements.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-shortEventDuration)\n */\n shortEventDuration ? : DurationConfig|number|string\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-showAnimation)\n */\n showAnimation ? : Boolean|object\n /**\n * Display an avatar in the resource view headers, either as an image or using resource initials.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-showAvatars)\n */\n showAvatars ? : Boolean\n /**\n * This specifies whether to show a circular \"bullet\" icon if there is no\n * [iconCls](https://bryntum.com/products/calendar/docs/api/Scheduler/model/EventModel#field-iconCls) defined for an event.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-showBullet)\n * @param {boolean} [bar] This is `false` by default. Set this to `true` in modes where a solid event bar should show a bullet icon\n * @param {boolean} [noBar] This is `true` by default. Events with no background colour, use this to show the event's defined `eventColor`\n */\n showBullet ? : Boolean|{ bar?: Boolean, noBar?: Boolean }\n /**\n * Configure as `true` to show avatars of the assigned resources (calendars) at the\n * start of the event bar.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-showResourceAvatars)\n */\n showResourceAvatars ? : Boolean|string\n /**\n * Set to `false` to not show the tooltip when this widget is [disabled](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-disabled)\n */\n showTooltipWhenDisabled ? : Boolean\n /**\n * Programmatic control over how many columns to span when used in a grid layout.\n */\n span ? : number\n /**\n * By default, the resource views are displayed in the order that the resources appear\n * in the project's `resourceStore`, so they will appear in a stable position, meaning\n * when a view is filtered out, then filtering it in will replace it in the same position.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-stableResourceOrder)\n */\n stableResourceOrder ? : Boolean\n /**\n * This value can be one of the following:\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-stateful)\n */\n stateful ? : Boolean|object|string[]\n /**\n * The events that, when fired by this component, should trigger it to save its state by calling\n * [saveState](https://bryntum.com/products/calendar/docs/api/Core/mixin/State#function-saveState).\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-statefulEvents)\n */\n statefulEvents ? : object|string[]\n /**\n * 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\n * 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)\n * (if explicitly specified) will be used as the `stateId`.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-stateId)\n */\n stateId ? : string\n /**\n * 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`\n * will be saved using the [default state provider](https://bryntum.com/products/calendar/docs/api/Core/state/StateProvider#property-instance-static).\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-stateProvider)\n */\n stateProvider ? : StateProvider\n /**\n * Specify `true` to match fields by their `name` property only when assigning a [record](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#config-record),\n * without falling back to `ref`.\n */\n strictRecordMapping ? : Boolean\n /**\n * An object containing widgets keyed by name. By default (when no `type` is given), strips are\n * [toolbars](https://bryntum.com/products/calendar/docs/api/Core/widget/Toolbar). If you want to pass an array, you can use\n * the toolbar's [items](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#config-items).\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-strips)\n */\n strips ? : Record<string, ContainerItemConfig>\n /**\n * The converse of [syncViewDate](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#property-syncViewDate)\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-syncCalendarDate)\n */\n syncCalendarDate ? : Boolean\n /**\n * The converse of [syncCalendarDate](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#property-syncCalendarDate)\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-syncViewDate)\n */\n syncViewDate ? : Boolean\n /**\n * 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\n * [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\n * this widget:\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-tab)\n */\n tab ? : Boolean|TabConfig\n /**\n * When this container is used as a tab in a TabPanel, these items are added to the\n * [TabBar](https://bryntum.com/products/calendar/docs/api/Core/widget/TabBar) when this container is the active tab.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-tabBarItems)\n */\n tabBarItems ? : ToolbarItems[]|Widget[]\n /**\n * The tag name of this Widget's root element\n */\n tag ? : string\n /**\n * A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/calendar/docs/api/Core/widget/Toolbar),\n * or array of config objects representing the child items of a Toolbar.\n * This creates a toolbar docked to the top of the panel immediately below the header.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-tbar)\n */\n tbar ? : (ContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null\n /**\n * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-textAlign)\n */\n textAlign ? : 'left'|'center'|'right'|'start'|'end'\n /**\n * A [DateHelper](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper) format string/function used to format the time displayed in events\n * @param {Date} date The date to format.\n * @returns {string} The formatted date.\n */\n timeFormat ? : string|((date: Date) => string)\n /**\n * A title to display in the header or owning TabPanel. Causes creation and docking of a header\n * to the top if no header is configured.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-title)\n */\n title ? : string\n /**\n * 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\n * property name is the reference by which an instantiated tool may be retrieved from the live\n * `[tools](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Toolable#property-tools)` property.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-tools)\n */\n tools ? : Record<string, ToolConfig>|null\n /**\n * Tooltip for the widget, either as a string or as a Tooltip config object.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-tooltip)\n */\n tooltip ? : string|TooltipConfig|null\n /**\n * By default, tabbing within a Panel is not contained, ie you can TAB out of the Panel\n * forwards or backwards.\n * Configure this as `true` to disallow tabbing out of the Panel, and make tabbing circular within this Panel.\n */\n trapFocus ? : Boolean\n type ? : 'resourceview'|'resource'\n /**\n * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified\n * as a space separated string, an array of strings, or as an object in which property names with truthy\n * values are used as the class names.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-ui)\n */\n ui ? : 'plain'|'toolbar'|string|object\n /**\n * A config object used to configure the sub views. The default `type` used is `'weekview'`\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-view)\n */\n view ? : ContainerItemConfig|Record<string, any>\n /**\n * The space to leave between each subview.\n */\n viewGap ? : string|number\n /**\n * The week start day, 0 meaning Sunday, 6 meaning Saturday.\n * Defaults to [weekStartDay](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper#property-weekStartDay-static).\n */\n weekStartDay ? : number\n /**\n * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/calendar/docs/api/Core/widget/Container).\n * Higher weights go further down.\n */\n weight ? : number\n /**\n * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which\n * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases\n * this config is convenient.\n */\n width ? : string|number\n /**\n * A Scheduler-compatible working time config object containing `fromDay` and `toDay`\n * properties which control which days of the week are visible.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-workingTime)\n * @property {number} workingTime.fromDay Day index 0-6 (0 is Sunday)\n * @property {number} workingTime.toDay Day index 0-6 (0 is Sunday)\n */\n workingTime ? : { fromDay: number, toDay: number }\n /**\n * The x position for the widget.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-x)\n */\n x ? : number\n /**\n * The y position for the widget.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#config-y)\n */\n y ? : number\n\n}>();\n\nconst emit = defineEmits<{\n /**\n * This event fires whenever the [autoCreate gesture](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-autoCreate) is detected\n * and also when a [drag-create](https://bryntum.com/products/calendar/docs/api/Calendar/feature/CalendarDrag) gesture is detected.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#event-beforeAutoCreate)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Event} params.event.domEvent The DOM event which initiated the creation.\n * @param {Date} params.event.date *DEPRECATED in favour of `startDate`.* The starting time of the event to be created. If this is in a `DayView`, this will be snapped according to the specification in [autoCreate](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-autoCreate)\n * @param {Date} params.event.startDate The starting time of the event to be created. If this is in a `DayView`, this will be snapped according to the specification in [autoCreate](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-autoCreate)\n * @param {Date} params.event.endDate The ending time of the event to be created.\n * @param {Scheduler.model.ResourceModel} params.event.resourceRecord The resource if the UI includes a resource.\n * @param {CalendarView} params.event.view This view.\n */\n (e: 'beforeAutoCreate', params: ((event: { domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel, view: CalendarView }) => boolean|void)|string): boolean|void\n /**\n * Triggered before a view's orientating date changes.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#event-beforeChangeDate)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Date} params.event.oldDate The current orientating date of this view.\n * @param {Date} params.event.date The new date to which this view is to be orientated.\n */\n (e: 'beforeChangeDate', params: ((event: { oldDate: Date, date: Date }) => boolean|void)|string): boolean|void\n /**\n * Fires before an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.Base} params.event.source The Object that is being destroyed.\n */\n (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Triggered before a widget is hidden. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget being hidden.\n */\n (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void\n /**\n * Triggered before a new [responsiveState](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveState) is applied.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget whose `responsiveState` is to be changed\n * @param {string} params.event.state The new value for the widget's `responsiveState`\n * @param {string} params.event.oldState The previous value for the widget's `responsiveState`\n */\n (e: 'beforeResponsiveStateChange', params: ((event: { source: Widget, state: string, oldState: string }) => void)|string): void\n /**\n * Fired before this container will load record values into its child fields. This is useful if you\n * want to modify the UI before data is loaded (e.g. set some input field to be readonly)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Container} params.event.source The container\n * @param {Core.data.Model} params.event.record The record\n */\n (e: 'beforeSetRecord', params: ((event: { source: Container, record: Model }) => void)|string): void\n /**\n * Triggered before a widget is shown. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget,any} params.event.source The widget being shown\n */\n (e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void\n /**\n * Fired before state is applied to the source. Allows editing the state object or preventing the operation.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {any} params.event.state State object config\n */\n (e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void\n /**\n * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {any} params.event.state State object config\n */\n (e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void\n /**\n * Fires when any other event is fired from the object.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#event-catchAll)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details\n * @param {string} params.event.event.type The type of the event which is caught by the listener\n */\n (e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void\n /**\n * Fires when a Panel is collapsed using the [collapsible](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsible) setting.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Panel} params.event.source This Panel.\n */\n (e: 'collapse', params: ((event: { source: Panel }) => void)|string): void\n /**\n * Fires when an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.Base} params.event.source The Object that is being destroyed.\n */\n (e: 'destroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Fires when a field is mutated and the state of the [hasChanges](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#property-hasChanges) property changes\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Container} params.event.source The container.\n * @param {boolean} params.event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.\n */\n (e: 'dirtyStateChange', params: ((event: { source: Container, dirty: boolean }) => void)|string): void\n /**\n * Triggered when a widget's [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element) is available.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {HTMLElement} params.event.element The Widget's element.\n */\n (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void\n /**\n * Fired when an [autoCreate](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-autoCreate) gesture has created a new event\n * and added it to the event store.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#event-eventAutoCreated)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {CalendarView} params.event.source This Calendar view instance.\n * @param {Scheduler.model.EventModel} params.event.eventRecord The new event record.\n */\n (e: 'eventAutoCreated', params: ((event: { source: CalendarView, eventRecord: EventModel }) => void)|string): void\n /**\n * Fires when a Panel is expanded using the [collapsible](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsible) setting.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Panel} params.event.source This Panel.\n */\n (e: 'expand', params: ((event: { source: Panel }) => void)|string): void\n /**\n * Fired when focus enters this Widget.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {HTMLElement} params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.\n * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.\n * focus moving from within this Widget's ownership tree, even if there are floating widgets\n * will not trigger this event. This is when focus exits this widget completely.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {HTMLElement} params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.\n * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Triggered after a widget was hidden\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget\n */\n (e: 'hide', params: ((event: { source: Widget }) => void)|string): void\n /**\n * Triggered when a widget which had been in a non-visible state for any reason\n * achieves visibility.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/ResourceView#event-paint)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget being painted.\n * @param {boolean} params.event.firstPaint `true` if this is the first paint.\n */\n (e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void\n /**\n * Fired when a Widget's read only state is toggled\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {boolean} params.event.readOnly Read only or not\n */\n (e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void\n /**\n * This event is fired after a widget's elements have been synchronized due to a direct or indirect call\n * to [recompose](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#function-recompose), if this results in some change to the widget's rendered DOM elements.\n */\n (e: 'recompose', params: (() => void)|string): void\n /**\n * Fires when this ResourceView refreshes.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Calendar.widget.ResourceView} params.event.source The triggering instance.\n */\n (e: 'refresh', params: ((event: { source: ResourceView }) => void)|string): void\n /**\n * Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {number} params.event.width The new width\n * @param {number} params.event.height The new height\n * @param {number} params.event.oldWidth The old width\n * @param {number} params.event.oldHeight The old height\n */\n (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void\n /**\n * Triggered when a new [responsiveState](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveState) is applied.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget whose `responsiveState` has changed\n * @param {string} params.event.state The new value for the widget's `responsiveState`\n * @param {string} params.event.oldState The previous value for the widget's `responsiveState`\n */\n (e: 'responsiveStateChange', params: ((event: { source: Widget, state: string, oldState: string }) => void)|string): void\n /**\n * Triggered after a widget is shown.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget\n */\n (e: 'show', params: ((event: { source: Widget }) => void)|string): void\n /**\n * A header [tool](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-tools) has been clicked.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Tool} params.event.source This Panel.\n * @param {Core.widget.Tool} params.event.tool The tool which is being clicked.\n */\n (e: 'toolClick', params: ((event: { source: Tool, tool: Tool }) => void)|string): void\n /**\n * Fires when a new sub view is created.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Calendar.widget.ResourceView} params.event.source The triggering instance.\n * @param {CalendarView} params.event.view The newly created sub view.\n */\n (e: 'viewCreate', params: ((event: { source: ResourceView, view: CalendarView }) => void)|string): void\n}>();\n\nconst widgetData = {\n instanceClass : ResourceView,\n instanceName : 'ResourceView',\n\n configNames : [\n 'activationKey',\n 'adopt',\n 'align',\n 'anchor',\n 'ariaDescription',\n 'ariaLabel',\n 'bbar',\n 'bodyCls',\n 'border',\n 'bubbleEvents',\n 'centered',\n 'collapsible',\n 'color',\n 'config',\n 'constrainTo',\n 'contentElementCls',\n 'dataField',\n 'defaultBindProperty',\n 'defaultFocus',\n 'defaults',\n 'descriptionRenderer',\n 'detectCSSCompatibilityIssues',\n 'dock',\n 'draggable',\n 'drawer',\n 'elementAttributes',\n 'eventHeaderRenderer',\n 'eventHeight',\n 'eventRenderer',\n 'eventSorter',\n 'floating',\n 'footer',\n 'getPrimaryResource',\n 'header',\n 'hideAnimation',\n 'hideWhenEmpty',\n 'icon',\n 'ignoreParentReadOnly',\n 'includeTimeRanges',\n 'itemCls',\n 'lazyItems',\n 'listeners',\n 'localeClass',\n 'localizable',\n 'localizableProperties',\n 'maskDefaults',\n 'masked',\n 'meta',\n 'monitorResize',\n 'namedItems',\n 'positioned',\n 'preventTooltipOnTouch',\n 'relayStoreEvents',\n 'resourceImagePath',\n 'responsive',\n 'responsiveRoot',\n 'responsiveState',\n 'responsiveTarget',\n 'ripple',\n 'role',\n 'rootElement',\n 'scrollAction',\n 'selectorButton',\n 'selectorMenuItem',\n 'shortEventCls',\n 'shortEventDuration',\n 'showAnimation',\n 'showAvatars',\n 'showBullet',\n 'showResourceAvatars',\n 'showTooltipWhenDisabled',\n 'stableResourceOrder',\n 'stateful',\n 'statefulEvents',\n 'stateId',\n 'stateProvider',\n 'strips',\n 'tab',\n 'tabBarItems',\n 'tag',\n 'tbar',\n 'textAlign',\n 'timeFormat',\n 'trapFocus',\n 'type',\n 'ui',\n 'weekStartDay',\n 'weight',\n 'workingTime'\n ],\n propertyConfigNames : [\n 'alignSelf',\n 'allowDragCreate',\n 'allowDragMove',\n 'allowDragResize',\n 'animateTimeShift',\n 'appendTo',\n 'autoCreate',\n 'callOnFunctions',\n 'catchEventHandlerExceptions',\n 'cls',\n 'collapsed',\n 'column',\n 'dataset',\n 'dateFormat',\n 'dateSeparator',\n 'defaultScrollOptions',\n 'descriptionFormat',\n 'disabled',\n 'dragUnit',\n 'extendAllDayEndDay',\n 'extraData',\n 'filterEventResources',\n 'flex',\n 'height',\n 'hidden',\n 'hideEmptyResources',\n 'hideNonWorkingDays',\n 'id',\n 'inputFieldAlign',\n 'insertBefore',\n 'insertFirst',\n 'items',\n 'keyMap',\n 'labelPosition',\n 'labelWidth',\n 'layout',\n 'layoutStyle',\n 'margin',\n 'maxDate',\n 'maxHeight',\n 'maximizeOnMobile',\n 'maxWidth',\n 'minDate',\n 'minHeight',\n 'minWidth',\n 'nonWorkingDays',\n 'onBeforeAutoCreate',\n 'onBeforeChangeDate',\n 'onBeforeDestroy',\n 'onBeforeHide',\n 'onBeforeResponsiveStateChange',\n 'onBeforeSetRecord',\n 'onBeforeShow',\n 'onBeforeStateApply',\n 'onBeforeStateSave',\n 'onCatchAll',\n 'onCollapse',\n 'onDestroy',\n 'onDirtyStateChange',\n 'onElementCreated',\n 'onEventAutoCreated',\n 'onExpand',\n 'onFocusIn',\n 'onFocusOut',\n 'onHide',\n 'onPaint',\n 'onReadOnly',\n 'onRecompose',\n 'onRefresh',\n 'onResize',\n 'onResponsiveStateChange',\n 'onShow',\n 'onToolClick',\n 'onViewCreate',\n 'pastEventCls',\n 'range',\n 'readOnly',\n 'rendition',\n 'resourceWidth',\n 'rtl',\n 'scrollable',\n 'shortDateFormat',\n 'shortDateTimeFormat',\n 'span',\n 'strictRecordMapping',\n 'syncCalendarDate',\n 'syncViewDate',\n 'title',\n 'tools',\n 'tooltip',\n 'view',\n 'viewGap',\n 'width',\n 'x',\n 'y'\n ],\n propertyNames : [\n 'dayCellCls',\n 'parent',\n 'record',\n 'state',\n 'values'\n ],\n eventNames : [\n 'beforeAutoCreate',\n 'beforeChangeDate',\n 'beforeDestroy',\n 'beforeHide',\n 'beforeResponsiveStateChange',\n 'beforeSetRecord',\n 'beforeShow',\n 'beforeStateApply',\n 'beforeStateSave',\n 'catchAll',\n 'collapse',\n 'destroy',\n 'dirtyStateChange',\n 'elementCreated',\n 'eventAutoCreated',\n 'expand',\n 'focusIn',\n 'focusOut',\n 'hide',\n 'paint',\n 'readOnly',\n 'recompose',\n 'refresh',\n 'resize',\n 'responsiveStateChange',\n 'show',\n 'toolClick',\n 'viewCreate'\n ]\n};\n\nconst instance: {\n value?: ResourceView\n} = {};\n\nconst refElement = ref<HTMLDivElement>()!;\n// Storage for teleports (in-cell Vue component instances) automatically renderer by template\nconst teleports = ref(new Map());\n\n// Provide teleports for processCellContent\nprovide('teleports', teleports);\n\nonMounted(() => {\n\n const me = getCurrentInstance()!;\n\n instance.value = WrapperHelper.createWidget<typeof ResourceView>({\n me,\n widgetData,\n emit,\n element : refElement.value!,\n toRaw\n });\n\n const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);\n WrapperHelper.watchProps(instance.value, widgetData, watcher);\n});\n\nonBeforeUnmount(() => {\n // @ts-ignore\n instance.value?.destroy?.();\n});\n\ndefineExpose({\n instance,\n refElement,\n teleports\n});\n\n</script>\n"],"names":["emit","__emit","widgetData","ResourceView","instance","refElement","ref","teleports","provide","onMounted","me","getCurrentInstance","WrapperHelper","toRaw","watcher","prop","callback","watch","onBeforeUnmount","__expose","_createElementBlock"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA26BA,UAAMA,IAAOC,GA0QPC,IAAa;AAAA,MACf,eAAgBC;AAAA,MAChB,cAAgB;AAAA,MAEhB,aAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,qBAAsB;AAAA,QAClB;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,eAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,YAAa;AAAA,QACT;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,IACJ,GAGEC,IAEF,CAAA,GAEEC,IAAaC,EAAA,GAEbC,IAAYD,EAAI,oBAAI,KAAK;AAG/B,WAAAE,EAAQ,aAAaD,CAAS,GAE9BE,EAAU,MAAM;AAEZ,YAAMC,IAAKC,EAAA;AAEX,MAAAP,EAAS,QAAQQ,EAAc,aAAkC;AAAA,QAC7D,IAAAF;AAAA,QACA,YAAAR;AAAA,QACA,MAAAF;AAAA,QACA,SAAUK,EAAW;AAAA,QACrB,OAAAQ;AAAA,MAAA,CACH;AAED,YAAMC,IAAU,CAACC,GAAcC,MAAkBC,EAAM,MAAMP,EAAG,MAAMK,CAAI,GAAGC,CAAQ;AACrF,MAAAJ,EAAc,WAAWR,EAAS,OAAOF,GAAYY,CAAO;AAAA,IAChE,CAAC,GAEDI,EAAgB,MAAM;AAElB,MAAAd,EAAS,OAAO,UAAA;AAAA,IACpB,CAAC,GAEDe,EAAa;AAAA,MACT,UAAAf;AAAA,MACA,YAAAC;AAAA,MACA,WAAAE;AAAA,IAAA,CACH,mBA77CGa,EAEM,OAAA;AAAA,eAFG;AAAA,MAAJ,KAAIf;AAAA,IAAA;;;"}
|