@bryntum/calendar-vue-3 7.2.3 → 7.3.0
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/lib/chunks/{Beyvc-Ee.js → -gfCfICt.js} +8 -9
- package/lib/chunks/-gfCfICt.js.map +1 -0
- package/lib/chunks/{c2O0FAWQ.js → 3pMrXrSV.js} +7 -7
- package/lib/chunks/3pMrXrSV.js.map +1 -0
- package/lib/chunks/{-I8DJxf_.js → 7r3BIYih.js} +6 -6
- package/lib/chunks/7r3BIYih.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/{Ckl-wIwj.js → B8gQABN9.js} +14 -8
- package/lib/chunks/B8gQABN9.js.map +1 -0
- package/lib/chunks/{Bvf00QYc.js → BBc3kJ2l.js} +16 -17
- package/lib/chunks/BBc3kJ2l.js.map +1 -0
- package/lib/chunks/{DQaAhwXD.js → BBmKbcBm.js} +6 -6
- package/lib/chunks/BBmKbcBm.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/{BwV4_Hj0.js → BHB_Xr7B.js} +10 -10
- package/lib/chunks/BHB_Xr7B.js.map +1 -0
- package/lib/chunks/{n-R-RzWM.js → BI8wQGwJ.js} +5 -5
- package/lib/chunks/BI8wQGwJ.js.map +1 -0
- package/lib/chunks/{Baux7HCy.js → BIHU8niN.js} +17 -24
- package/lib/chunks/BIHU8niN.js.map +1 -0
- package/lib/chunks/{D3e9xTyI.js → BKPgz4z1.js} +11 -11
- package/lib/chunks/BKPgz4z1.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/{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/{CH6gj1Uh.js → BWhkyANY.js} +9 -9
- package/lib/chunks/BWhkyANY.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/{D7lj1d87.js → BoILvqhB.js} +12 -13
- package/lib/chunks/BoILvqhB.js.map +1 -0
- package/lib/chunks/{oscppiH3.js → BspGLrQY.js} +3 -3
- package/lib/chunks/BspGLrQY.js.map +1 -0
- package/lib/chunks/{ONNloqHH.js → C19d7e9r.js} +3 -3
- package/lib/chunks/C19d7e9r.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/{BuRssXBn.js → C6c2zNh0.js} +3 -3
- package/lib/chunks/C6c2zNh0.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/{BRyz2Jfr.js → CNs1dLtt.js} +6 -6
- package/lib/chunks/CNs1dLtt.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/{CSDGWXIc.js → CPHxjIqw.js} +3 -3
- package/lib/chunks/CPHxjIqw.js.map +1 -0
- package/lib/chunks/{DXxsDHKA.js → CWM22e1v.js} +3 -3
- package/lib/chunks/CWM22e1v.js.map +1 -0
- package/lib/chunks/{iDCR6UCK.js → CYO0U3xG.js} +12 -15
- package/lib/chunks/CYO0U3xG.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/{BAW_NqgP.js → CjfHlzPr.js} +11 -14
- package/lib/chunks/CjfHlzPr.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/{B_Vy1VXa.js → CvRb-PD8.js} +12 -12
- package/lib/chunks/CvRb-PD8.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/{DBwqeu_E.js → DI98porG.js} +9 -9
- package/lib/chunks/DI98porG.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/DQEdPoQo.js +386 -0
- package/lib/chunks/DQEdPoQo.js.map +1 -0
- package/lib/chunks/DTAFonQW.js +396 -0
- package/lib/chunks/DTAFonQW.js.map +1 -0
- package/lib/chunks/{jimu0HjG.js → DURERga3.js} +11 -11
- package/lib/chunks/DURERga3.js.map +1 -0
- package/lib/chunks/{Bk3g9j2o.js → DUsiYkFK.js} +6 -4
- package/lib/chunks/DUsiYkFK.js.map +1 -0
- package/lib/chunks/{DBQayOqn.js → DdpHkb3E.js} +19 -22
- 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/{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/{B7fxD1Uc.js → DwfSxgDx.js} +13 -14
- package/lib/chunks/DwfSxgDx.js.map +1 -0
- package/lib/chunks/{BwSsnMqD.js → DxT4VIUT.js} +14 -8
- package/lib/chunks/DxT4VIUT.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/{Zehgfy1K.js → DzuHthMw.js} +9 -9
- package/lib/chunks/DzuHthMw.js.map +1 -0
- package/lib/chunks/{BJfyI-uR.js → E1AHpT8W.js} +7 -5
- package/lib/chunks/E1AHpT8W.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/{BlB6zzjK.js → FzMaadW6.js} +6 -6
- package/lib/chunks/FzMaadW6.js.map +1 -0
- package/lib/chunks/{D_d9DDRC.js → JKRtgYCJ.js} +3 -3
- package/lib/chunks/JKRtgYCJ.js.map +1 -0
- package/lib/chunks/{DumMjxRD.js → JkqrKvFU.js} +7 -7
- package/lib/chunks/JkqrKvFU.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/{CjT2dcJr.js → QXeRMnaM.js} +6 -6
- package/lib/chunks/QXeRMnaM.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/{D4SsmFK3.js → VUkGxEQX.js} +3 -3
- package/lib/chunks/VUkGxEQX.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/{DtKmEeJb.js → cT-MuN_z.js} +12 -15
- package/lib/chunks/cT-MuN_z.js.map +1 -0
- package/lib/chunks/{C5iF2l6i.js → fCOl6gGe.js} +19 -22
- package/lib/chunks/fCOl6gGe.js.map +1 -0
- package/lib/chunks/{CLg19bQ0.js → gdOjznoN.js} +25 -17
- package/lib/chunks/gdOjznoN.js.map +1 -0
- package/lib/chunks/{BjUhCoLJ.js → j6GbzQ11.js} +5 -5
- package/lib/chunks/j6GbzQ11.js.map +1 -0
- package/lib/chunks/{l0OEgSss.js → kCsdJsDp.js} +5 -5
- package/lib/chunks/kCsdJsDp.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/{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/{LuH47Bqk.js → rg6JAh_X.js} +12 -15
- package/lib/chunks/rg6JAh_X.js.map +1 -0
- package/lib/chunks/{D5Oj5xxW.js → uBR9aAgk.js} +6 -6
- package/lib/chunks/uBR9aAgk.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 +73 -118
- package/src/components/BryntumAIFilterFieldProps.ts +69 -110
- package/src/components/BryntumAgendaView.vue +295 -417
- package/src/components/BryntumAgendaViewProps.ts +268 -369
- package/src/components/BryntumBooleanCombo.vue +1248 -0
- package/src/components/BryntumBooleanComboProps.ts +789 -0
- package/src/components/BryntumButton.vue +68 -114
- package/src/components/BryntumButtonGroup.vue +77 -122
- package/src/components/BryntumButtonGroupProps.ts +73 -113
- package/src/components/BryntumButtonProps.ts +65 -108
- package/src/components/BryntumCalendar.vue +234 -347
- package/src/components/BryntumCalendarDatePicker.vue +149 -231
- 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 +181 -279
- package/src/components/BryntumChatPanel.vue +141 -168
- package/src/components/BryntumChatPanelProps.ts +121 -157
- package/src/components/BryntumCheckbox.vue +72 -116
- package/src/components/BryntumCheckboxGroup.vue +108 -178
- package/src/components/BryntumCheckboxGroupProps.ts +104 -168
- package/src/components/BryntumCheckboxProps.ts +68 -108
- package/src/components/BryntumChecklistFilterCombo.vue +90 -149
- package/src/components/BryntumChecklistFilterComboProps.ts +86 -141
- package/src/components/BryntumChipView.vue +64 -104
- package/src/components/BryntumChipViewProps.ts +61 -98
- package/src/components/BryntumCodeEditor.vue +105 -166
- package/src/components/BryntumCodeEditorProps.ts +101 -157
- package/src/components/BryntumColorField.vue +72 -116
- package/src/components/BryntumColorFieldProps.ts +68 -108
- package/src/components/BryntumCombo.vue +91 -151
- package/src/components/BryntumComboProps.ts +87 -143
- package/src/components/BryntumContainer.vue +77 -123
- package/src/components/BryntumContainerProps.ts +73 -114
- package/src/components/BryntumDateField.vue +79 -122
- package/src/components/BryntumDateFieldProps.ts +75 -114
- package/src/components/BryntumDatePicker.vue +118 -192
- package/src/components/BryntumDatePickerProps.ts +114 -183
- package/src/components/BryntumDateRangeField.vue +78 -125
- package/src/components/BryntumDateRangeFieldProps.ts +74 -117
- package/src/components/BryntumDateTimeField.vue +72 -116
- package/src/components/BryntumDateTimeFieldProps.ts +68 -108
- package/src/components/BryntumDayAgendaView.vue +220 -331
- package/src/components/BryntumDayAgendaViewProps.ts +204 -302
- package/src/components/BryntumDayResourceView.vue +239 -361
- package/src/components/BryntumDayResourceViewProps.ts +224 -333
- package/src/components/BryntumDayView.vue +235 -353
- package/src/components/BryntumDayViewProps.ts +220 -325
- package/src/components/BryntumDemoCodeEditor.vue +105 -166
- package/src/components/BryntumDemoCodeEditorProps.ts +101 -157
- package/src/components/BryntumDemoHeader.vue +7 -2
- package/src/components/BryntumDisplayField.vue +73 -118
- package/src/components/BryntumDisplayFieldProps.ts +69 -110
- package/src/components/BryntumDurationField.vue +79 -124
- package/src/components/BryntumDurationFieldProps.ts +73 -114
- package/src/components/BryntumEditor.vue +89 -139
- package/src/components/BryntumEditorProps.ts +80 -125
- package/src/components/BryntumEventColorField.vue +72 -116
- package/src/components/BryntumEventColorFieldProps.ts +68 -108
- package/src/components/BryntumEventList.vue +288 -406
- package/src/components/BryntumEventListProps.ts +261 -358
- package/src/components/BryntumFieldFilterPicker.vue +79 -127
- package/src/components/BryntumFieldFilterPickerGroup.vue +81 -131
- package/src/components/BryntumFieldFilterPickerGroupProps.ts +77 -122
- package/src/components/BryntumFieldFilterPickerProps.ts +75 -118
- package/src/components/BryntumFieldSet.vue +104 -171
- package/src/components/BryntumFieldSetProps.ts +100 -161
- package/src/components/BryntumFileField.vue +72 -116
- package/src/components/BryntumFileFieldProps.ts +68 -108
- package/src/components/BryntumFilePicker.vue +77 -123
- package/src/components/BryntumFilePickerProps.ts +73 -114
- package/src/components/BryntumFilterField.vue +75 -122
- package/src/components/BryntumFilterFieldProps.ts +71 -114
- package/src/components/BryntumGrid.vue +203 -290
- package/src/components/BryntumGridBase.vue +203 -290
- package/src/components/BryntumGridBaseProps.ts +186 -261
- package/src/components/BryntumGridChartDesigner.vue +58 -94
- package/src/components/BryntumGridChartDesignerProps.ts +55 -88
- package/src/components/BryntumGridFieldFilterPicker.vue +81 -131
- package/src/components/BryntumGridFieldFilterPickerGroup.vue +80 -129
- 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 +64 -104
- package/src/components/BryntumGroupBarProps.ts +61 -98
- package/src/components/BryntumHint.vue +132 -189
- package/src/components/BryntumHintProps.ts +128 -180
- package/src/components/BryntumLabel.vue +58 -94
- package/src/components/BryntumLabelProps.ts +55 -88
- package/src/components/BryntumList.vue +61 -100
- package/src/components/BryntumListProps.ts +58 -94
- package/src/components/BryntumMenu.vue +127 -187
- package/src/components/BryntumMenuProps.ts +121 -173
- package/src/components/BryntumModeSelector.vue +91 -125
- package/src/components/BryntumModeSelectorProps.ts +85 -116
- package/src/components/BryntumMonthAgendaView.vue +189 -281
- package/src/components/BryntumMonthAgendaViewProps.ts +180 -261
- package/src/components/BryntumMonthGrid.vue +179 -262
- package/src/components/BryntumMonthGridProps.ts +169 -239
- package/src/components/BryntumMonthPicker.vue +105 -166
- package/src/components/BryntumMonthPickerProps.ts +101 -157
- package/src/components/BryntumMonthView.vue +208 -301
- package/src/components/BryntumMonthViewProps.ts +195 -273
- package/src/components/BryntumNumberField.vue +76 -120
- package/src/components/BryntumNumberFieldProps.ts +72 -112
- package/src/components/BryntumPagingToolbar.vue +81 -128
- package/src/components/BryntumPagingToolbarProps.ts +77 -119
- package/src/components/BryntumPanel.vue +105 -166
- package/src/components/BryntumPanelProps.ts +101 -157
- package/src/components/BryntumPasswordField.vue +72 -116
- package/src/components/BryntumPasswordFieldProps.ts +68 -108
- package/src/components/BryntumProgressBar.vue +57 -92
- package/src/components/BryntumProgressBarProps.ts +54 -86
- package/src/components/BryntumProjectCombo.vue +90 -149
- package/src/components/BryntumProjectComboProps.ts +86 -141
- package/src/components/BryntumRadio.vue +72 -116
- package/src/components/BryntumRadioGroup.vue +108 -177
- package/src/components/BryntumRadioGroupProps.ts +104 -167
- package/src/components/BryntumRadioProps.ts +68 -108
- package/src/components/BryntumRangeMenu.vue +127 -187
- package/src/components/BryntumRangeMenuProps.ts +121 -173
- package/src/components/BryntumResourceCombo.vue +91 -151
- package/src/components/BryntumResourceComboProps.ts +87 -143
- package/src/components/BryntumResourceFilter.vue +63 -104
- package/src/components/BryntumResourceFilterProps.ts +60 -98
- package/src/components/BryntumResourceView.vue +174 -256
- package/src/components/BryntumResourceViewProps.ts +165 -236
- package/src/components/BryntumScheduler.vue +426 -599
- package/src/components/BryntumSchedulerBase.vue +426 -599
- package/src/components/BryntumSchedulerBaseProps.ts +366 -521
- package/src/components/BryntumSchedulerDatePicker.vue +120 -196
- package/src/components/BryntumSchedulerDatePickerProps.ts +116 -187
- package/src/components/BryntumSchedulerProps.ts +366 -521
- package/src/components/BryntumSlideToggle.vue +72 -116
- package/src/components/BryntumSlideToggleProps.ts +68 -108
- package/src/components/BryntumSlider.vue +66 -100
- package/src/components/BryntumSliderProps.ts +62 -94
- package/src/components/BryntumSplitter.vue +60 -98
- package/src/components/BryntumSplitterProps.ts +57 -92
- package/src/components/BryntumTabPanel.vue +106 -168
- package/src/components/BryntumTabPanelProps.ts +102 -159
- package/src/components/BryntumTextAreaField.vue +80 -118
- package/src/components/BryntumTextAreaFieldProps.ts +75 -110
- package/src/components/BryntumTextAreaPickerField.vue +74 -119
- package/src/components/BryntumTextAreaPickerFieldProps.ts +70 -111
- package/src/components/BryntumTextField.vue +73 -118
- package/src/components/BryntumTextFieldProps.ts +69 -110
- package/src/components/BryntumThemeCombo.vue +60 -0
- package/src/components/BryntumTimeField.vue +78 -119
- package/src/components/BryntumTimeFieldProps.ts +74 -111
- package/src/components/BryntumTimePicker.vue +77 -123
- package/src/components/BryntumTimePickerProps.ts +73 -114
- package/src/components/BryntumTimeVisualizingEditor.vue +130 -191
- 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 +322 -443
- package/src/components/BryntumTimelineHistogramProps.ts +274 -387
- package/src/components/BryntumToolbar.vue +81 -128
- package/src/components/BryntumToolbarProps.ts +77 -119
- package/src/components/BryntumTreeCombo.vue +91 -151
- package/src/components/BryntumTreeComboProps.ts +87 -143
- package/src/components/BryntumTreeGrid.vue +203 -290
- package/src/components/BryntumTreeGridProps.ts +186 -261
- package/src/components/BryntumUndoRedo.vue +78 -125
- package/src/components/BryntumUndoRedoProps.ts +74 -116
- package/src/components/BryntumViewPresetCombo.vue +67 -107
- package/src/components/BryntumViewPresetComboProps.ts +63 -99
- package/src/components/BryntumWeekView.vue +235 -353
- package/src/components/BryntumWeekViewProps.ts +220 -325
- package/src/components/BryntumWidget.vue +58 -94
- package/src/components/BryntumWidgetProps.ts +55 -88
- package/src/components/BryntumYearPicker.vue +106 -168
- 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 +189 -277
- package/src/components/BryntumYearViewProps.ts +179 -254
- 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/BAW_NqgP.js.map +0 -1
- package/lib/chunks/BBEyHSQv.js.map +0 -1
- package/lib/chunks/BDE_6JKK.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_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/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/DBQayOqn.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/DtKmEeJb.js.map +0 -1
- package/lib/chunks/DumMjxRD.js.map +0 -1
- package/lib/chunks/LVVvAMYi.js.map +0 -1
- package/lib/chunks/LuH47Bqk.js.map +0 -1
- package/lib/chunks/ONNloqHH.js.map +0 -1
- package/lib/chunks/PL7a9wra.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
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as p, ref as r, provide as g, onMounted as C, getCurrentInstance as S, toRaw as D, onBeforeUnmount as R, openBlock as y, createElementBlock as v, watch as
|
|
2
|
-
import { ProjectModel as
|
|
3
|
-
import { WrapperHelper as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as p, ref as r, provide as g, onMounted as C, getCurrentInstance as S, toRaw as D, onBeforeUnmount as R, openBlock as y, createElementBlock as v, watch as M } from "vue";
|
|
2
|
+
import { ProjectModel as f } from "@bryntum/calendar";
|
|
3
|
+
import { WrapperHelper as d } from "../helper/WrapperHelper.js";
|
|
4
|
+
const I = /* @__PURE__ */ p({
|
|
5
5
|
__name: "BryntumCalendarProjectModel",
|
|
6
6
|
props: {
|
|
7
7
|
adjustDurationToDST: {},
|
|
@@ -53,9 +53,9 @@ const x = /* @__PURE__ */ p({
|
|
|
53
53
|
useRawData: {}
|
|
54
54
|
},
|
|
55
55
|
emits: ["change", "dataReady"],
|
|
56
|
-
setup(
|
|
57
|
-
const c = l,
|
|
58
|
-
instanceClass:
|
|
56
|
+
setup(h, { expose: i, emit: l }) {
|
|
57
|
+
const c = l, n = {
|
|
58
|
+
instanceClass: f,
|
|
59
59
|
instanceName: "ProjectModel",
|
|
60
60
|
configNames: [
|
|
61
61
|
"adjustDurationToDST",
|
|
@@ -111,16 +111,9 @@ const x = /* @__PURE__ */ p({
|
|
|
111
111
|
"timeZone"
|
|
112
112
|
],
|
|
113
113
|
propertyNames: [
|
|
114
|
-
"allChildren",
|
|
115
|
-
"allUnfilteredChildren",
|
|
116
114
|
"descendantCount",
|
|
117
|
-
"hasGeneratedId",
|
|
118
115
|
"inlineData",
|
|
119
|
-
"internalId",
|
|
120
|
-
"isCommitting",
|
|
121
116
|
"isCreating",
|
|
122
|
-
"isValid",
|
|
123
|
-
"previousSiblingsTotalCount",
|
|
124
117
|
"visibleDescendantCount"
|
|
125
118
|
],
|
|
126
119
|
eventNames: [
|
|
@@ -129,29 +122,29 @@ const x = /* @__PURE__ */ p({
|
|
|
129
122
|
]
|
|
130
123
|
}, e = {}, t = r(), s = r(/* @__PURE__ */ new Map());
|
|
131
124
|
return g("teleports", s), C(() => {
|
|
132
|
-
const
|
|
133
|
-
e.value =
|
|
134
|
-
me:
|
|
135
|
-
widgetData:
|
|
125
|
+
const a = S();
|
|
126
|
+
e.value = d.createWidget({
|
|
127
|
+
me: a,
|
|
128
|
+
widgetData: n,
|
|
136
129
|
emit: c,
|
|
137
130
|
element: t.value,
|
|
138
131
|
toRaw: D
|
|
139
132
|
});
|
|
140
|
-
const o = (m, u) =>
|
|
141
|
-
|
|
133
|
+
const o = (m, u) => M(() => a.props[m], u);
|
|
134
|
+
d.watchProps(e.value, n, o);
|
|
142
135
|
}), R(() => {
|
|
143
136
|
e.value?.destroy?.();
|
|
144
|
-
}),
|
|
137
|
+
}), i({
|
|
145
138
|
instance: e,
|
|
146
139
|
refElement: t,
|
|
147
140
|
teleports: s
|
|
148
|
-
}), (
|
|
141
|
+
}), (a, o) => (y(), v("div", {
|
|
149
142
|
ref_key: "refElement",
|
|
150
143
|
ref: t
|
|
151
144
|
}, null, 512));
|
|
152
145
|
}
|
|
153
146
|
});
|
|
154
147
|
export {
|
|
155
|
-
|
|
148
|
+
I as _
|
|
156
149
|
};
|
|
157
|
-
//# sourceMappingURL=
|
|
150
|
+
//# sourceMappingURL=BIHU8niN.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BIHU8niN.js","sources":["../../src/components/BryntumCalendarProjectModel.vue"],"sourcesContent":["<!-- Vue 3 wrapper for Bryntum ProjectModel -->\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 { AssignmentModel, AssignmentModelConfig, AssignmentStore, AssignmentStoreConfig, DependencyModel, DependencyModelConfig, DependencyStore, DependencyStoreConfig, EventModel, EventModelConfig, EventStore, EventStoreConfig, Model, ModelConfig, ResourceModel, ResourceModelConfig, ResourceStore, ResourceStoreConfig, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, SchedulerProjectModel, SchedulerTimeRangeModel, StateTrackingManager, StateTrackingManagerConfig, Store, StoreConfig, TimeRangeModel, TimeRangeModelConfig, TimeSpan } from '@bryntum/calendar';\nimport { ProjectModel } from '@bryntum/calendar';\n\nimport { WrapperHelper } from '../helper/WrapperHelper';\n\ndefineProps<{\n // Configs\n /**\n * A flag, indicating whether the dates and duration calculations should adjust the result to DST time shift.\n */\n adjustDurationToDST ? : Boolean\n /**\n * The constructor of the assignment model class, to be used in the project. Will be set as the\n * [modelClass](https://bryntum.com/products/calendar/docs/api/Core/data/Store#config-modelClass) property of the [assignmentStore](#Scheduler/model/ProjectModel#property-assignmentStore)\n */\n assignmentModelClass ? : typeof AssignmentModel\n /**\n * Data use to fill the [assignmentStore](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#property-assignmentStore). Should be an array of\n * [AssignmentModels](https://bryntum.com/products/calendar/docs/api/Scheduler/model/AssignmentModel) or its configuration objects.\n */\n assignments ? : AssignmentModel[]|AssignmentModelConfig[]\n /**\n * The initial data, to fill the [assignmentStore](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#property-assignmentStore) with.\n * Should be an array of [AssignmentModels](https://bryntum.com/products/calendar/docs/api/Scheduler/model/AssignmentModel) or its configuration\n * objects.\n * @deprecated 6.3.0 Use [assignments](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#config-assignments) instead\n */\n assignmentsData ? : AssignmentModel[]|AssignmentModelConfig[]\n /**\n * An [AssignmentStore](https://bryntum.com/products/calendar/docs/api/Scheduler/data/AssignmentStore) instance or a config object.\n */\n assignmentStore ? : AssignmentStore|AssignmentStoreConfig\n /**\n * The constructor to create an assignment store instance with. Should be a class, subclassing the\n * [AssignmentStore](https://bryntum.com/products/calendar/docs/api/Scheduler/data/AssignmentStore)\n */\n assignmentStoreClass ? : typeof AssignmentStore|object\n /**\n * Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf\n * tasks.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/model/ProjectModel#config-children)\n */\n children ? : Boolean|object[]|Model[]|ModelConfig[]\n /**\n * Data use to fill the [dependencyStore](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#property-dependencyStore). Should be an array of\n * [DependencyModels](https://bryntum.com/products/calendar/docs/api/Scheduler/model/DependencyModel) or its configuration objects.\n */\n dependencies ? : DependencyModel[]|DependencyModelConfig[]\n /**\n * The initial data, to fill the [dependencyStore](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#property-dependencyStore) with.\n * Should be an array of [DependencyModels](https://bryntum.com/products/calendar/docs/api/Scheduler/model/DependencyModel) or its configuration\n * objects.\n * @deprecated 6.3.0 Use [dependencies](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#config-dependencies) instead\n */\n dependenciesData ? : DependencyModel[]|DependencyModelConfig[]\n /**\n * The constructor of the dependency model class, to be used in the project. Will be set as the\n * [modelClass](https://bryntum.com/products/calendar/docs/api/Core/data/Store#config-modelClass) property of the [dependencyStore](#Scheduler/model/ProjectModel#property-dependencyStore)\n */\n dependencyModelClass ? : typeof DependencyModel\n /**\n * A [DependencyStore](https://bryntum.com/products/calendar/docs/api/Scheduler/data/DependencyStore) instance or a config object.\n */\n dependencyStore ? : DependencyStore|DependencyStoreConfig\n /**\n * The constructor to create a dependency store instance with. Should be a class, subclassing the\n * [DependencyStore](https://bryntum.com/products/calendar/docs/api/Scheduler/data/DependencyStore)\n */\n dependencyStoreClass ? : typeof DependencyStore|object\n /**\n * The constructor of the event model class, to be used in the project. Will be set as the\n * [modelClass](https://bryntum.com/products/calendar/docs/api/Core/data/Store#config-modelClass) property of the [eventStore](#Scheduler/model/ProjectModel#property-eventStore)\n */\n eventModelClass ? : typeof EventModel\n /**\n * Data use to fill the [eventStore](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#property-eventStore). Should be an array of\n * [EventModels](https://bryntum.com/products/calendar/docs/api/Scheduler/model/EventModel) or its configuration objects.\n */\n events ? : EventModel[]|EventModelConfig[]\n /**\n * The initial data, to fill the [eventStore](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#property-eventStore) with.\n * Should be an array of [EventModels](https://bryntum.com/products/calendar/docs/api/Scheduler/model/EventModel) or its configuration objects.\n * @deprecated 6.3.0 Use [events](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#config-events) instead\n */\n eventsData ? : EventModel[]|EventModelConfig[]\n /**\n * An [EventStore](https://bryntum.com/products/calendar/docs/api/Scheduler/data/EventStore) instance or a config object.\n */\n eventStore ? : EventStore|EventStoreConfig\n /**\n * The constructor to create an event store instance with. Should be a class, subclassing the\n * [EventStore](https://bryntum.com/products/calendar/docs/api/Scheduler/data/EventStore)\n */\n eventStoreClass ? : typeof EventStore|object\n /**\n * Start expanded or not (only valid for tree data)\n */\n expanded ? : Boolean\n /**\n * Unique identifier for the record. Might be mapped to another dataSource using idField, but always exposed as\n * record.id. Will get a generated value if none is specified in records data.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/model/ProjectModel#config-id)\n */\n id ? : string|number\n /**\n * Whether to include legacy data properties in the JSON / inlineData output. The legacy data properties are\n * the `xxData` (`eventsData`, `resourcesData` etc.) properties that are deprecated and will be removed in\n * the future.\n * @deprecated 6.3.0 This config will be removed when the eventsData, resourcesData etc. properties are removed in a future release.\n */\n includeLegacyDataProperties ? : Boolean\n /**\n * This field is added to the class at runtime when the Store is configured with\n * [lazyLoad](https://bryntum.com/products/calendar/docs/api/Core/data/Store#config-lazyLoad). If set on a parent record at load time, that parent will not cause any\n * more child load requests. If omitted, it will be automatically set to `true` when a load request receives fewer\n * child records than requested.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/model/ProjectModel#config-isFullyLoaded)\n */\n isFullyLoaded ? : Boolean\n /**\n * Project data as a JSON string, used to populate its stores.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/model/ProjectModel#config-json)\n */\n json ? : string\n /**\n * This is a read-only field provided in server synchronization packets to specify\n * which position the node takes in the parent's ordered children array.\n * This index is set on load and gets updated on reordering nodes in tree. Sorting and filtering\n * have no effect on it.\n */\n orderedParentIndex ? : number\n /**\n * This is a read-only field provided in server synchronization packets to specify\n * which record id is the parent of the record.\n */\n parentId ? : string|number|null\n /**\n * This is a read-only field provided in server synchronization packets to specify\n * which position the node takes in the parent's children array.\n * This index is set on load and gets updated automatically after row reordering, sorting, etc.\n * To save the order, need to persist the field on the server and when data is fetched to be loaded,\n * need to sort by this field.\n */\n parentIndex ? : number\n /**\n * Flag the record as read-only on the UI level, preventing the end user from manipulating it using editing\n * features such as cell editing and event dragging.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/model/ProjectModel#config-readOnly)\n */\n readOnly ? : Boolean\n /**\n * This field is added to the class at runtime when the Store is configured with\n * [lazyLoad](https://bryntum.com/products/calendar/docs/api/Core/data/Store#config-lazyLoad). The\n * number specified should reflect the <strong>total</strong> amount of children of a parent node, including nested descendants.\n * @deprecated This field has been deprecated. Please read the [guide](https://bryntum.com/products/calendar/docs/api/Grid/guides/data/lazyloading.md) to find out if your app needs to use the new [isFullyLoaded](https://bryntum.com/products/calendar/docs/api/Core/data/mixin/TreeNode#field-isFullyLoaded) field.\n */\n remoteChildCount ? : number\n /**\n * The constructor of the resource model class, to be used in the project. Will be set as the\n * [modelClass](https://bryntum.com/products/calendar/docs/api/Core/data/Store#config-modelClass) property of the [resourceStore](#Scheduler/model/ProjectModel#property-resourceStore)\n */\n resourceModelClass ? : typeof ResourceModel\n /**\n * Data use to fill the [resourceStore](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#property-resourceStore). Should be an array of\n * [ResourceModels](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ResourceModel) or its configuration objects.\n */\n resources ? : ResourceModel[]|ResourceModelConfig[]\n /**\n * The initial data, to fill the [resourceStore](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#property-resourceStore) with.\n * Should be an array of [ResourceModels](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ResourceModel) or its configuration objects.\n * @deprecated 6.3.0 Use [resources](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#config-resources) instead\n */\n resourcesData ? : ResourceModel[]|ResourceModelConfig[]\n /**\n * A [ResourceStore](https://bryntum.com/products/calendar/docs/api/Scheduler/data/ResourceStore) instance or a config object.\n */\n resourceStore ? : ResourceStore|ResourceStoreConfig\n /**\n * The constructor to create a resource store instance with. Should be a class, subclassing the\n * [ResourceStore](https://bryntum.com/products/calendar/docs/api/Scheduler/data/ResourceStore)\n */\n resourceStoreClass ? : typeof ResourceStore|object\n /**\n * Data use to fill the [resourceTimeRangeStore](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#property-resourceTimeRangeStore). Should be an array\n * of [ResourceTimeRangeModels](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ResourceTimeRangeModel) or its configuration objects.\n */\n resourceTimeRanges ? : ResourceTimeRangeModel[]|ResourceTimeRangeModelConfig[]\n /**\n * The initial data, to fill the [resourceTimeRangeStore](https://bryntum.com/products/calendar/docs/api/Scheduler/model/mixin/ProjectModelMixin#property-resourceTimeRangeStore) with.\n * Should be an array of [ResourceTimeRangeModel](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ResourceTimeRangeModel) or it's\n * configuration objects.\n * @deprecated 6.3.0 Use resourceTimeRanges instead\n */\n resourceTimeRangesData ? : ResourceTimeRangeModel[]\n /**\n * A [ResourceTimeRangeStore](https://bryntum.com/products/calendar/docs/api/Scheduler/data/ResourceTimeRangeStore) instance or a config object.\n */\n resourceTimeRangeStore ? : ResourceTimeRangeStore|ResourceTimeRangeStoreConfig\n /**\n * The constructor to create a resource time range store instance with. Should be a class subclassing the\n * [ResourceTimeRangeStore](https://bryntum.com/products/calendar/docs/api/Scheduler/data/ResourceTimeRangeStore)\n */\n resourceTimeRangeStoreClass ? : typeof ResourceTimeRangeStore|object\n /**\n * Experimental hook that lets the app determine if a bound dataset needs syncing with the store or not, and\n * if it does - which records that should be processed. Only called for stores that are configured with\n * `syncDataOnLoad: true` (which is the default in the React, Angular and Vue wrappers).\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/model/ProjectModel#config-shouldSyncDataOnLoad)\n * @param {object} options Options passed by the store to this hook\n * @param {Core.data.Store} options.store Store about to be synced\n * @param {Core.data.Model} options.records Records currently in the store\n * @param {object[]} options.data Incoming data\n * @returns {Set<any>,boolean} Return `false` to prevent the store from syncing, or a set of record ids that need further processing (for records that has some kind of change, eg. an update, removal or addition)\n */\n shouldSyncDataOnLoad ? : (options: { store: Store, records: Model, data: object[] }) => Set<any>|Boolean\n /**\n * Silences propagations caused by the project loading.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/model/ProjectModel#config-silenceInitialCommit)\n */\n silenceInitialCommit ? : Boolean\n /**\n * Configuration options to provide to the STM manager\n */\n stm ? : StateTrackingManagerConfig|StateTrackingManager\n /**\n * The constructor of the time range model class, to be used in the project. Will be set as the\n * [modelClass](https://bryntum.com/products/calendar/docs/api/Core/data/Store#config-modelClass) property of the [timeRangeStore](#Calendar/model/ProjectModel#property-timeRangeStore)\n */\n timeRangeModelClass ? : typeof TimeRangeModel\n /**\n * Data use to fill the [timeRangeStore](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#property-timeRangeStore). Should be an array of\n * [TimeRangeModels](https://bryntum.com/products/calendar/docs/api/Scheduler/model/TimeRangeModel) or its configuration objects.\n */\n timeRanges ? : SchedulerTimeRangeModel[]|TimeRangeModelConfig[]\n /**\n * The initial data, to fill the [timeRangeStore](https://bryntum.com/products/calendar/docs/api/Scheduler/model/mixin/ProjectModelMixin#property-timeRangeStore) with.\n * Should be an array of [TimeSpan](https://bryntum.com/products/calendar/docs/api/Scheduler/model/TimeSpan) or its configuration objects.\n * @deprecated 6.3.0 Use timeRanges instead\n */\n timeRangesData ? : TimeSpan[]\n /**\n * A [Store](https://bryntum.com/products/calendar/docs/api/Core/data/Store) instance or a config object.\n */\n timeRangeStore ? : Store|StoreConfig\n /**\n * The constructor to create an timeRange store instance with. Should be a class, subclassing the\n * [Store](https://bryntum.com/products/calendar/docs/api/Core/data/Store)\n */\n timeRangeStoreClass ? : typeof Store|object\n /**\n * Set to a IANA time zone (i.e. `Europe/Stockholm`) or a UTC offset in minutes (i.e. `-120`). This will\n * convert all events, tasks and time ranges to the specified time zone or offset. It will also affect the\n * displayed timeline's headers as well at the start and end date of it.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/model/ProjectModel#config-timeZone)\n */\n timeZone ? : string|number\n /**\n * Specifies the output format of [toJSON](https://bryntum.com/products/calendar/docs/api/Scheduler/model/mixin/ProjectModelCommon#function-toJSON).\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/model/ProjectModel#config-toJSONResultFormat)\n */\n toJSONResultFormat ? : 'inlineData'|'model'\n /**\n * By default, the stores of a project use the raw data objects passed to them as the data source for their\n * records if data is loaded remotely (using an `AjaxStore` or a `CrudManager`). For data supplied inline,\n * the data objects are instead by default cloned to avoid the original data object being modified by the\n * store.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/model/ProjectModel#config-useRawData)\n */\n useRawData ? : Boolean\n\n}>();\n\nconst emit = defineEmits<{\n /**\n * Fired when data in any of the projects stores changes.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/model/ProjectModel#event-change)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Scheduler.model.SchedulerProjectModel,any} params.event.source This project\n * @param {Core.data.Store} params.event.store Affected store\n * @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} params.event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`\n * @param {Core.data.Model} params.event.record Changed record, for actions that affects exactly one record (`'update'`)\n * @param {Core.data.Model[]} params.event.records Changed records, passed for all actions except `'removeAll'`\n * @param {object} params.event.changes Passed for the `'update'` action, info on which record fields changed\n */\n (e: 'change', params: ((event: { source: SchedulerProjectModel|any, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string): void\n /**\n * Fired when the engine has finished its calculations and the results has been written back to the records.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/model/ProjectModel#event-dataReady)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Scheduler.model.SchedulerProjectModel,any} params.event.source The project\n * @param {boolean} params.event.isInitialCommit Flag that shows if this commit is initial\n * @param {Set<any>} params.event.records Set of all [Model](https://bryntum.com/products/calendar/docs/api/Core/data/Model)s that were modified in the completed transaction. Use the [modifications](https://bryntum.com/products/calendar/docs/api/Core/data/Model#property-modifications) property of each Model to identify modified fields.\n */\n (e: 'dataReady', params: ((event: { source: SchedulerProjectModel|any, isInitialCommit: boolean, records: Set<any> }) => void)|string): void\n}>();\n\nconst widgetData = {\n instanceClass : ProjectModel,\n instanceName : 'ProjectModel',\n\n configNames : [\n 'adjustDurationToDST',\n 'assignmentModelClass',\n 'assignmentsData',\n 'assignmentStoreClass',\n 'children',\n 'dependenciesData',\n 'dependencyModelClass',\n 'dependencyStoreClass',\n 'eventModelClass',\n 'eventsData',\n 'eventStoreClass',\n 'expanded',\n 'orderedParentIndex',\n 'parentIndex',\n 'resourceModelClass',\n 'resourcesData',\n 'resourceStoreClass',\n 'resourceTimeRangesData',\n 'resourceTimeRangeStoreClass',\n 'silenceInitialCommit',\n 'timeRangeModelClass',\n 'timeRangesData',\n 'timeRangeStoreClass',\n 'toJSONResultFormat',\n 'useRawData'\n ],\n propertyConfigNames : [\n 'assignments',\n 'assignmentStore',\n 'dependencies',\n 'dependencyStore',\n 'events',\n 'eventStore',\n 'id',\n 'includeLegacyDataProperties',\n 'isFullyLoaded',\n 'json',\n 'onChange',\n 'onDataReady',\n 'parentId',\n 'readOnly',\n 'remoteChildCount',\n 'resources',\n 'resourceStore',\n 'resourceTimeRanges',\n 'resourceTimeRangeStore',\n 'shouldSyncDataOnLoad',\n 'stm',\n 'timeRanges',\n 'timeRangeStore',\n 'timeZone'\n ],\n propertyNames : [\n 'descendantCount',\n 'inlineData',\n 'isCreating',\n 'visibleDescendantCount'\n ],\n eventNames : [\n 'change',\n 'dataReady'\n ]\n};\n\nconst instance: {\n value?: ProjectModel\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 ProjectModel>({\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","ProjectModel","instance","refElement","ref","teleports","provide","onMounted","me","getCurrentInstance","WrapperHelper","toRaw","watcher","prop","callback","watch","onBeforeUnmount","__expose","_createElementBlock"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4RA,UAAMA,IAAOC,GA4BPC,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,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,MAAA;AAAA,MAEJ,eAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,YAAa;AAAA,QACT;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,mBA9ZGa,EAEM,OAAA;AAAA,eAFG;AAAA,MAAJ,KAAIf;AAAA,IAAA;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as m, ref as l, provide as u, onMounted as g, getCurrentInstance as b, toRaw as y, onBeforeUnmount as f, openBlock as C, createElementBlock as x, watch as w } from "vue";
|
|
2
2
|
import { DisplayField as v } from "@bryntum/calendar";
|
|
3
3
|
import { WrapperHelper as r } from "../helper/WrapperHelper.js";
|
|
4
|
-
const A = /* @__PURE__ */
|
|
4
|
+
const A = /* @__PURE__ */ m({
|
|
5
5
|
__name: "BryntumDisplayField",
|
|
6
6
|
props: {
|
|
7
7
|
adopt: {},
|
|
@@ -84,6 +84,7 @@ const A = /* @__PURE__ */ u({
|
|
|
84
84
|
required: {},
|
|
85
85
|
revertOnEscape: {},
|
|
86
86
|
ripple: {},
|
|
87
|
+
role: {},
|
|
87
88
|
rootElement: {},
|
|
88
89
|
rtl: {},
|
|
89
90
|
scrollAction: {},
|
|
@@ -167,6 +168,7 @@ const A = /* @__PURE__ */ u({
|
|
|
167
168
|
"relayStoreEvents",
|
|
168
169
|
"revertOnEscape",
|
|
169
170
|
"ripple",
|
|
171
|
+
"role",
|
|
170
172
|
"rootElement",
|
|
171
173
|
"scrollAction",
|
|
172
174
|
"showAnimation",
|
|
@@ -242,9 +244,7 @@ const A = /* @__PURE__ */ u({
|
|
|
242
244
|
"y"
|
|
243
245
|
],
|
|
244
246
|
propertyNames: [
|
|
245
|
-
"anchorSize",
|
|
246
247
|
"content",
|
|
247
|
-
"focusVisible",
|
|
248
248
|
"html",
|
|
249
249
|
"input",
|
|
250
250
|
"parent",
|
|
@@ -271,8 +271,8 @@ const A = /* @__PURE__ */ u({
|
|
|
271
271
|
"show",
|
|
272
272
|
"trigger"
|
|
273
273
|
]
|
|
274
|
-
}, e = {}, t = l(),
|
|
275
|
-
return
|
|
274
|
+
}, e = {}, t = l(), o = l(/* @__PURE__ */ new Map());
|
|
275
|
+
return u("teleports", o), g(() => {
|
|
276
276
|
const n = b();
|
|
277
277
|
e.value = r.createWidget({
|
|
278
278
|
me: n,
|
|
@@ -281,15 +281,15 @@ const A = /* @__PURE__ */ u({
|
|
|
281
281
|
element: t.value,
|
|
282
282
|
toRaw: y
|
|
283
283
|
});
|
|
284
|
-
const
|
|
285
|
-
r.watchProps(e.value, i,
|
|
284
|
+
const a = (d, h) => w(() => n.props[d], h);
|
|
285
|
+
r.watchProps(e.value, i, a);
|
|
286
286
|
}), f(() => {
|
|
287
287
|
e.value?.destroy?.();
|
|
288
288
|
}), s({
|
|
289
289
|
instance: e,
|
|
290
290
|
refElement: t,
|
|
291
|
-
teleports:
|
|
292
|
-
}), (n,
|
|
291
|
+
teleports: o
|
|
292
|
+
}), (n, a) => (C(), x("div", {
|
|
293
293
|
ref_key: "refElement",
|
|
294
294
|
ref: t
|
|
295
295
|
}, null, 512));
|
|
@@ -298,4 +298,4 @@ const A = /* @__PURE__ */ u({
|
|
|
298
298
|
export {
|
|
299
299
|
A as _
|
|
300
300
|
};
|
|
301
|
-
//# sourceMappingURL=
|
|
301
|
+
//# sourceMappingURL=BKPgz4z1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BKPgz4z1.js","sources":["../../src/components/BryntumDisplayField.vue"],"sourcesContent":["<!-- Vue 3 wrapper for Bryntum DisplayField -->\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, Color, ContainerItemConfig, DisplayFieldListeners, DomConfig, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, Rectangle, TabConfig, TooltipConfig, Widget } from '@bryntum/calendar';\nimport { DisplayField } from '@bryntum/calendar';\n\nimport { WrapperHelper } from '../helper/WrapperHelper';\n\ndefineProps<{\n // Configs\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/Core/widget/DisplayField#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/Core/widget/DisplayField#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/Core/widget/DisplayField#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/Core/widget/DisplayField#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 * 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/Core/widget/DisplayField#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/Core/widget/DisplayField#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/Core/widget/DisplayField#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 * 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/Core/widget/DisplayField#config-cls)\n */\n cls ? : string|object\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/Core/widget/DisplayField#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 * 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/Core/widget/DisplayField#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/Core/widget/DisplayField#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/Core/widget/DisplayField#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/Core/widget/DisplayField#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/Core/widget/DisplayField#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/Core/widget/DisplayField#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/Core/widget/DisplayField#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 * Set to `false` to prevent user from editing the field. For TextFields it is basically the same as setting\n * [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly), but for PickerFields there is a distinction where it allows you to pick a value\n * but not to type one in the field.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DisplayField#config-editable)\n */\n editable ? : Boolean\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/Core/widget/DisplayField#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/Core/widget/DisplayField#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/Core/widget/DisplayField#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/Core/widget/DisplayField#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/Core/widget/DisplayField#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/Core/widget/DisplayField#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/Core/widget/DisplayField#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/Core/widget/DisplayField#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/Core/widget/DisplayField#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/Core/widget/DisplayField#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/Core/widget/DisplayField#config-listeners)\n */\n listeners ? : DisplayFieldListeners\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/Core/widget/DisplayField#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/Core/widget/DisplayField#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/Core/widget/DisplayField#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 * 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/Core/widget/DisplayField#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/Core/widget/DisplayField#config-name)\n */\n name ? : 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/Core/widget/DisplayField#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/Core/widget/DisplayField#config-readOnly)\n */\n readOnly ? : Boolean\n relayStoreEvents ? : Boolean\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/Core/widget/DisplayField#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/Core/widget/DisplayField#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/Core/widget/DisplayField#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/Core/widget/DisplayField#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/Core/widget/DisplayField#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/Core/widget/DisplayField#config-tabIndex)\n */\n tabIndex ? : number\n /**\n * A template string used to render the value of this field. Please note you are responsible for encoding\n * any strings protecting against XSS.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DisplayField#config-template)\n * @param {ContainerItemConfig} fieldConfig Configuration object for the field\n * @returns {DomConfig,string,void}\n */\n template ? : (fieldConfig: ContainerItemConfig) => DomConfig|string|void\n /**\n * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DisplayField#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/Core/widget/DisplayField#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/Core/widget/DisplayField#config-triggers)\n */\n triggers ? : Record<string, FieldTriggerConfig>\n type ? : 'displayField'|'displayfield'|'display'\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/Core/widget/DisplayField#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/Core/widget/DisplayField#config-x)\n */\n x ? : number\n /**\n * The y position for the widget.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DisplayField#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 }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|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/Core/widget/DisplayField#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/Core/widget/DisplayField#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/Core/widget/DisplayField#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 : DisplayField,\n instanceName : 'DisplayField',\n\n configNames : [\n 'adopt',\n 'align',\n 'anchor',\n 'ariaDescription',\n 'ariaLabel',\n 'autoComplete',\n 'autoSelect',\n 'bubbleEvents',\n 'centered',\n 'clearable',\n 'color',\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 'monitorResize',\n 'name',\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 'template',\n 'textAlign',\n 'title',\n 'type',\n 'ui',\n 'validateOnInput',\n 'weight'\n ],\n propertyConfigNames : [\n 'alignSelf',\n 'appendTo',\n 'badge',\n 'callOnFunctions',\n 'catchEventHandlerExceptions',\n 'cls',\n 'column',\n 'dataset',\n 'disabled',\n 'editable',\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 '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 '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?: DisplayField\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 DisplayField>({\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","DisplayField","instance","refElement","ref","teleports","provide","onMounted","me","getCurrentInstance","WrapperHelper","toRaw","watcher","prop","callback","watch","onBeforeUnmount","__expose","_createElementBlock"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAslBA,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,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,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,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,mBAx9BGa,EAEM,OAAA;AAAA,eAFG;AAAA,MAAJ,KAAIf;AAAA,IAAA;;;"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { defineComponent as n, ref as h, onMounted as m, onBeforeUnmount as d, openBlock as s, createElementBlock as c } from "vue";
|
|
2
|
+
import { Combo as b, DomHelper as k, BrowserHelper as g } from "@bryntum/calendar";
|
|
3
|
+
const v = /* @__PURE__ */ n({
|
|
4
|
+
__name: "BryntumThemeCombo",
|
|
5
|
+
setup(u) {
|
|
6
|
+
const a = h(null);
|
|
7
|
+
let e = null;
|
|
8
|
+
return m(() => {
|
|
9
|
+
e = new b({
|
|
10
|
+
appendTo: a.value,
|
|
11
|
+
store: {
|
|
12
|
+
data: [
|
|
13
|
+
{ id: "svalbard-light", text: "Svalbard Light" },
|
|
14
|
+
{ id: "svalbard-dark", text: "Svalbard Dark" },
|
|
15
|
+
{ id: "visby-light", text: "Visby Light" },
|
|
16
|
+
{ id: "visby-dark", text: "Visby Dark" },
|
|
17
|
+
{ id: "stockholm-light", text: "Stockholm Light" },
|
|
18
|
+
{ id: "stockholm-dark", text: "Stockholm Dark" },
|
|
19
|
+
{ id: "material3-light", text: "Material3 Light" },
|
|
20
|
+
{ id: "material3-dark", text: "Material3 Dark" },
|
|
21
|
+
{ id: "fluent2-light", text: "Fluent2 Light" },
|
|
22
|
+
{ id: "fluent2-dark", text: "Fluent2 Dark" },
|
|
23
|
+
{ id: "high-contrast-light", text: "High Contrast Light" },
|
|
24
|
+
{ id: "high-contrast-dark", text: "High Contrast Dark" }
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
label: "Theme",
|
|
28
|
+
width: "16em",
|
|
29
|
+
value: "svalbard-light",
|
|
30
|
+
editable: !1,
|
|
31
|
+
labelPosition: "before",
|
|
32
|
+
ref: "themeCombo",
|
|
33
|
+
listeners: {
|
|
34
|
+
change({ value: r }) {
|
|
35
|
+
k.setTheme(r).then((o) => {
|
|
36
|
+
if (o) {
|
|
37
|
+
const { theme: i, prev: l } = o;
|
|
38
|
+
document.body.classList.remove(`b-theme-${l}`), document.body.classList.add(`b-theme-${i}`);
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
const t = g.searchParam("theme");
|
|
45
|
+
t && (e.value = t);
|
|
46
|
+
}), d(() => {
|
|
47
|
+
e?.destroy();
|
|
48
|
+
}), (t, r) => (s(), c("div", {
|
|
49
|
+
ref_key: "refElement",
|
|
50
|
+
ref: a
|
|
51
|
+
}, null, 512));
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
export {
|
|
55
|
+
v as _
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=BMxd9tFw.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BMxd9tFw.js","sources":["../../src/components/BryntumThemeCombo.vue"],"sourcesContent":["<template>\n <div ref=\"refElement\" />\n</template>\n\n<script setup lang=\"ts\">\nimport { onBeforeUnmount, onMounted, ref } from 'vue';\nimport { Combo, DomHelper, BrowserHelper } from '@bryntum/calendar';\n\nconst refElement = ref<HTMLElement | null>(null);\nlet combo: Combo | null = null;\n\nonMounted(() => {\n combo = new Combo({\n appendTo : refElement.value as HTMLElement,\n store : {\n data : [\n { id : 'svalbard-light', text : 'Svalbard Light' },\n { id : 'svalbard-dark', text : 'Svalbard Dark' },\n { id : 'visby-light', text : 'Visby Light' },\n { id : 'visby-dark', text : 'Visby Dark' },\n { id : 'stockholm-light', text : 'Stockholm Light' },\n { id : 'stockholm-dark', text : 'Stockholm Dark' },\n { id : 'material3-light', text : 'Material3 Light' },\n { id : 'material3-dark', text : 'Material3 Dark' },\n { id : 'fluent2-light', text : 'Fluent2 Light' },\n { id : 'fluent2-dark', text : 'Fluent2 Dark' },\n { id : 'high-contrast-light', text : 'High Contrast Light' },\n { id : 'high-contrast-dark', text : 'High Contrast Dark' }\n ]\n },\n label : 'Theme',\n width : '16em',\n value : 'svalbard-light',\n editable : false,\n labelPosition : 'before',\n ref : 'themeCombo',\n listeners : {\n change({ value }: { value: string }) {\n DomHelper.setTheme(value).then((context: any) => {\n if (context) {\n const { theme, prev } = context;\n document.body.classList.remove(`b-theme-${prev}`);\n document.body.classList.add(`b-theme-${theme}`);\n }\n });\n }\n }\n });\n\n // Apply from search param\n const theme = BrowserHelper.searchParam('theme');\n if (theme) {\n combo.value = theme;\n }\n});\n\nonBeforeUnmount(() => {\n combo?.destroy();\n});\n</script>\n"],"names":["refElement","ref","combo","onMounted","Combo","value","DomHelper","context","theme","prev","BrowserHelper","onBeforeUnmount","_createElementBlock"],"mappings":";;;;;AAQA,UAAMA,IAAaC,EAAwB,IAAI;AAC/C,QAAIC,IAAsB;AAE1B,WAAAC,EAAU,MAAM;AACZ,MAAAD,IAAQ,IAAIE,EAAM;AAAA,QACd,UAAWJ,EAAW;AAAA,QACtB,OAAW;AAAA,UACP,MAAO;AAAA,YACH,EAAE,IAAK,kBAAkB,MAAO,iBAAA;AAAA,YAChC,EAAE,IAAK,iBAAiB,MAAO,gBAAA;AAAA,YAC/B,EAAE,IAAK,eAAe,MAAO,cAAA;AAAA,YAC7B,EAAE,IAAK,cAAc,MAAO,aAAA;AAAA,YAC5B,EAAE,IAAK,mBAAmB,MAAO,kBAAA;AAAA,YACjC,EAAE,IAAK,kBAAkB,MAAO,iBAAA;AAAA,YAChC,EAAE,IAAK,mBAAmB,MAAO,kBAAA;AAAA,YACjC,EAAE,IAAK,kBAAkB,MAAO,iBAAA;AAAA,YAChC,EAAE,IAAK,iBAAiB,MAAO,gBAAA;AAAA,YAC/B,EAAE,IAAK,gBAAgB,MAAO,eAAA;AAAA,YAC9B,EAAE,IAAK,uBAAuB,MAAO,sBAAA;AAAA,YACrC,EAAE,IAAK,sBAAsB,MAAO,qBAAA;AAAA,UAAqB;AAAA,QAC7D;AAAA,QAEJ,OAAgB;AAAA,QAChB,OAAgB;AAAA,QAChB,OAAgB;AAAA,QAChB,UAAgB;AAAA,QAChB,eAAgB;AAAA,QAChB,KAAgB;AAAA,QAChB,WAAgB;AAAA,UACZ,OAAO,EAAE,OAAAK,KAA4B;AACjC,YAAAC,EAAU,SAASD,CAAK,EAAE,KAAK,CAACE,MAAiB;AAC7C,kBAAIA,GAAS;AACT,sBAAM,EAAE,OAAAC,GAAO,MAAAC,EAAA,IAASF;AACxB,yBAAS,KAAK,UAAU,OAAO,WAAWE,CAAI,EAAE,GAChD,SAAS,KAAK,UAAU,IAAI,WAAWD,CAAK,EAAE;AAAA,cAClD;AAAA,YACJ,CAAC;AAAA,UACL;AAAA,QAAA;AAAA,MACJ,CACH;AAGD,YAAMA,IAAQE,EAAc,YAAY,OAAO;AAC/C,MAAIF,MACAN,EAAM,QAAQM;AAAA,IAEtB,CAAC,GAEDG,EAAgB,MAAM;AAClB,MAAAT,GAAO,QAAA;AAAA,IACX,CAAC,mBAzDGU,EAAwB,OAAA;AAAA,eAAf;AAAA,MAAJ,KAAIZ;AAAA,IAAA;;;"}
|
|
@@ -98,6 +98,7 @@ const A = /* @__PURE__ */ p({
|
|
|
98
98
|
items: {},
|
|
99
99
|
keyMap: {},
|
|
100
100
|
labelPosition: {},
|
|
101
|
+
labelWidth: {},
|
|
101
102
|
layout: {},
|
|
102
103
|
layoutStyle: {},
|
|
103
104
|
lazyItems: {},
|
|
@@ -133,6 +134,7 @@ const A = /* @__PURE__ */ p({
|
|
|
133
134
|
rendition: {},
|
|
134
135
|
resourceImagePath: {},
|
|
135
136
|
ripple: {},
|
|
137
|
+
role: {},
|
|
136
138
|
rootElement: {},
|
|
137
139
|
rtl: {},
|
|
138
140
|
scrollable: {},
|
|
@@ -181,12 +183,13 @@ const A = /* @__PURE__ */ p({
|
|
|
181
183
|
weekStartDay: {},
|
|
182
184
|
weight: {},
|
|
183
185
|
width: {},
|
|
186
|
+
workingTime: {},
|
|
184
187
|
x: {},
|
|
185
188
|
y: {}
|
|
186
189
|
},
|
|
187
190
|
emits: ["beforeAutoCreate", "beforeChangeDate", "beforeDestroy", "beforeHide", "beforeRefresh", "beforeSetRecord", "beforeShow", "beforeStateApply", "beforeStateSave", "catchAll", "cellClick", "collapse", "dateChange", "destroy", "dirtyStateChange", "elementCreated", "eventAutoCreated", "expand", "focusIn", "focusOut", "hide", "paint", "readOnly", "recompose", "refresh", "resize", "selectionChange", "show", "toolClick", "weekCellClick"],
|
|
188
191
|
setup(w, { expose: s, emit: d }) {
|
|
189
|
-
const c = d,
|
|
192
|
+
const c = d, n = {
|
|
190
193
|
instanceClass: v,
|
|
191
194
|
instanceName: "MonthAgendaView",
|
|
192
195
|
configNames: [
|
|
@@ -266,6 +269,7 @@ const A = /* @__PURE__ */ p({
|
|
|
266
269
|
"relayStoreEvents",
|
|
267
270
|
"resourceImagePath",
|
|
268
271
|
"ripple",
|
|
272
|
+
"role",
|
|
269
273
|
"rootElement",
|
|
270
274
|
"scrollAction",
|
|
271
275
|
"selectorButton",
|
|
@@ -295,7 +299,8 @@ const A = /* @__PURE__ */ p({
|
|
|
295
299
|
"weekendCls",
|
|
296
300
|
"weekRenderer",
|
|
297
301
|
"weekStartDay",
|
|
298
|
-
"weight"
|
|
302
|
+
"weight",
|
|
303
|
+
"workingTime"
|
|
299
304
|
],
|
|
300
305
|
propertyConfigNames: [
|
|
301
306
|
"agenda",
|
|
@@ -337,6 +342,7 @@ const A = /* @__PURE__ */ p({
|
|
|
337
342
|
"items",
|
|
338
343
|
"keyMap",
|
|
339
344
|
"labelPosition",
|
|
345
|
+
"labelWidth",
|
|
340
346
|
"layout",
|
|
341
347
|
"layoutStyle",
|
|
342
348
|
"margin",
|
|
@@ -403,16 +409,7 @@ const A = /* @__PURE__ */ p({
|
|
|
403
409
|
"y"
|
|
404
410
|
],
|
|
405
411
|
propertyNames: [
|
|
406
|
-
"anchorSize",
|
|
407
412
|
"dayCellCls",
|
|
408
|
-
"firstVisibleCell",
|
|
409
|
-
"firstVisibleDate",
|
|
410
|
-
"focusVisible",
|
|
411
|
-
"hasChanges",
|
|
412
|
-
"isSettingValues",
|
|
413
|
-
"isValid",
|
|
414
|
-
"lastVisibleCell",
|
|
415
|
-
"lastVisibleDate",
|
|
416
413
|
"parent",
|
|
417
414
|
"record",
|
|
418
415
|
"state",
|
|
@@ -452,23 +449,23 @@ const A = /* @__PURE__ */ p({
|
|
|
452
449
|
]
|
|
453
450
|
}, e = {}, t = i(), a = i(/* @__PURE__ */ new Map());
|
|
454
451
|
return u("teleports", a), g(() => {
|
|
455
|
-
const
|
|
452
|
+
const o = y();
|
|
456
453
|
e.value = l.createWidget({
|
|
457
|
-
me:
|
|
458
|
-
widgetData:
|
|
454
|
+
me: o,
|
|
455
|
+
widgetData: n,
|
|
459
456
|
emit: c,
|
|
460
457
|
element: t.value,
|
|
461
458
|
toRaw: C
|
|
462
459
|
});
|
|
463
|
-
const r = (
|
|
464
|
-
l.watchProps(e.value,
|
|
460
|
+
const r = (m, h) => S(() => o.props[m], h);
|
|
461
|
+
l.watchProps(e.value, n, r);
|
|
465
462
|
}), f(() => {
|
|
466
463
|
e.value?.destroy?.();
|
|
467
464
|
}), s({
|
|
468
465
|
instance: e,
|
|
469
466
|
refElement: t,
|
|
470
467
|
teleports: a
|
|
471
|
-
}), (
|
|
468
|
+
}), (o, r) => (b(), D("div", {
|
|
472
469
|
ref_key: "refElement",
|
|
473
470
|
ref: t
|
|
474
471
|
}, null, 512));
|
|
@@ -477,4 +474,4 @@ const A = /* @__PURE__ */ p({
|
|
|
477
474
|
export {
|
|
478
475
|
A as _
|
|
479
476
|
};
|
|
480
|
-
//# sourceMappingURL=
|
|
477
|
+
//# sourceMappingURL=BRHH9-fs.js.map
|