@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.
Files changed (542) hide show
  1. package/lib/chunks/{Beyvc-Ee.js → -gfCfICt.js} +8 -9
  2. package/lib/chunks/-gfCfICt.js.map +1 -0
  3. package/lib/chunks/{c2O0FAWQ.js → 3pMrXrSV.js} +7 -7
  4. package/lib/chunks/3pMrXrSV.js.map +1 -0
  5. package/lib/chunks/{-I8DJxf_.js → 7r3BIYih.js} +6 -6
  6. package/lib/chunks/7r3BIYih.js.map +1 -0
  7. package/lib/chunks/{CN4RrXCe.js → 8f6XqGsD.js} +16 -17
  8. package/lib/chunks/8f6XqGsD.js.map +1 -0
  9. package/lib/chunks/{D53p7Ank.js → 9tApH0if.js} +11 -12
  10. package/lib/chunks/9tApH0if.js.map +1 -0
  11. package/lib/chunks/{motDmuL4.js → AVadRojY.js} +14 -12
  12. package/lib/chunks/AVadRojY.js.map +1 -0
  13. package/lib/chunks/{u9zB9TJb.js → B4eYsje_.js} +11 -13
  14. package/lib/chunks/B4eYsje_.js.map +1 -0
  15. package/lib/chunks/{Ckl-wIwj.js → B8gQABN9.js} +14 -8
  16. package/lib/chunks/B8gQABN9.js.map +1 -0
  17. package/lib/chunks/{Bvf00QYc.js → BBc3kJ2l.js} +16 -17
  18. package/lib/chunks/BBc3kJ2l.js.map +1 -0
  19. package/lib/chunks/{DQaAhwXD.js → BBmKbcBm.js} +6 -6
  20. package/lib/chunks/BBmKbcBm.js.map +1 -0
  21. package/lib/chunks/{CrGY2ZuR.js → BD3V-SxA.js} +12 -13
  22. package/lib/chunks/BD3V-SxA.js.map +1 -0
  23. package/lib/chunks/{BwV4_Hj0.js → BHB_Xr7B.js} +10 -10
  24. package/lib/chunks/BHB_Xr7B.js.map +1 -0
  25. package/lib/chunks/{n-R-RzWM.js → BI8wQGwJ.js} +5 -5
  26. package/lib/chunks/BI8wQGwJ.js.map +1 -0
  27. package/lib/chunks/{Baux7HCy.js → BIHU8niN.js} +17 -24
  28. package/lib/chunks/BIHU8niN.js.map +1 -0
  29. package/lib/chunks/{D3e9xTyI.js → BKPgz4z1.js} +11 -11
  30. package/lib/chunks/BKPgz4z1.js.map +1 -0
  31. package/lib/chunks/BMxd9tFw.js +57 -0
  32. package/lib/chunks/BMxd9tFw.js.map +1 -0
  33. package/lib/chunks/{BDE_6JKK.js → BRHH9-fs.js} +15 -18
  34. package/lib/chunks/BRHH9-fs.js.map +1 -0
  35. package/lib/chunks/{BO1go6ht.js → BUTdFPf9.js} +10 -11
  36. package/lib/chunks/BUTdFPf9.js.map +1 -0
  37. package/lib/chunks/{BWnGGswQ.js → BVEipTu4.js} +14 -6
  38. package/lib/chunks/BVEipTu4.js.map +1 -0
  39. package/lib/chunks/{CH6gj1Uh.js → BWhkyANY.js} +9 -9
  40. package/lib/chunks/BWhkyANY.js.map +1 -0
  41. package/lib/chunks/{D_Rke7J9.js → BYLyV5Qz.js} +10 -11
  42. package/lib/chunks/BYLyV5Qz.js.map +1 -0
  43. package/lib/chunks/{CrwTiLxz.js → BbOrQ8ft.js} +9 -10
  44. package/lib/chunks/BbOrQ8ft.js.map +1 -0
  45. package/lib/chunks/{D7lj1d87.js → BoILvqhB.js} +12 -13
  46. package/lib/chunks/BoILvqhB.js.map +1 -0
  47. package/lib/chunks/{oscppiH3.js → BspGLrQY.js} +3 -3
  48. package/lib/chunks/BspGLrQY.js.map +1 -0
  49. package/lib/chunks/{ONNloqHH.js → C19d7e9r.js} +3 -3
  50. package/lib/chunks/C19d7e9r.js.map +1 -0
  51. package/lib/chunks/{CbVp-KNL.js → C1e81geK.js} +10 -11
  52. package/lib/chunks/C1e81geK.js.map +1 -0
  53. package/lib/chunks/{BclPIY1S.js → C3im5F6T.js} +8 -8
  54. package/lib/chunks/C3im5F6T.js.map +1 -0
  55. package/lib/chunks/{643jpJkp.js → C4_EvmHb.js} +9 -9
  56. package/lib/chunks/C4_EvmHb.js.map +1 -0
  57. package/lib/chunks/{BuRssXBn.js → C6c2zNh0.js} +3 -3
  58. package/lib/chunks/C6c2zNh0.js.map +1 -0
  59. package/lib/chunks/{UBAf_gJR.js → CK8pVkWO.js} +8 -6
  60. package/lib/chunks/CK8pVkWO.js.map +1 -0
  61. package/lib/chunks/{BRyz2Jfr.js → CNs1dLtt.js} +6 -6
  62. package/lib/chunks/CNs1dLtt.js.map +1 -0
  63. package/lib/chunks/{BZKqACKI.js → COQRF4O2.js} +8 -6
  64. package/lib/chunks/COQRF4O2.js.map +1 -0
  65. package/lib/chunks/{DVbWgkTx.js → CObxLUVv.js} +11 -11
  66. package/lib/chunks/CObxLUVv.js.map +1 -0
  67. package/lib/chunks/{CSDGWXIc.js → CPHxjIqw.js} +3 -3
  68. package/lib/chunks/CPHxjIqw.js.map +1 -0
  69. package/lib/chunks/{DXxsDHKA.js → CWM22e1v.js} +3 -3
  70. package/lib/chunks/CWM22e1v.js.map +1 -0
  71. package/lib/chunks/{iDCR6UCK.js → CYO0U3xG.js} +12 -15
  72. package/lib/chunks/CYO0U3xG.js.map +1 -0
  73. package/lib/chunks/{63XaN_s1.js → CfyHmkPe.js} +5 -6
  74. package/lib/chunks/CfyHmkPe.js.map +1 -0
  75. package/lib/chunks/{D9EcAnhT.js → CiecGioc.js} +18 -15
  76. package/lib/chunks/CiecGioc.js.map +1 -0
  77. package/lib/chunks/{BAW_NqgP.js → CjfHlzPr.js} +11 -14
  78. package/lib/chunks/CjfHlzPr.js.map +1 -0
  79. package/lib/chunks/{D_krOQ9f.js → Cpmv-8CX.js} +14 -15
  80. package/lib/chunks/Cpmv-8CX.js.map +1 -0
  81. package/lib/chunks/{XAfNTJB0.js → CsRtPonL.js} +4 -7
  82. package/lib/chunks/CsRtPonL.js.map +1 -0
  83. package/lib/chunks/{BIZkK5rf.js → Ct9WYKLH.js} +7 -10
  84. package/lib/chunks/Ct9WYKLH.js.map +1 -0
  85. package/lib/chunks/{B_Vy1VXa.js → CvRb-PD8.js} +12 -12
  86. package/lib/chunks/CvRb-PD8.js.map +1 -0
  87. package/lib/chunks/{BBEyHSQv.js → D2Rp5DqD.js} +9 -9
  88. package/lib/chunks/D2Rp5DqD.js.map +1 -0
  89. package/lib/chunks/{6QvAfis7.js → D8LFX3Si.js} +4 -7
  90. package/lib/chunks/D8LFX3Si.js.map +1 -0
  91. package/lib/chunks/{BqkxZjvs.js → DCeVwori.js} +11 -13
  92. package/lib/chunks/DCeVwori.js.map +1 -0
  93. package/lib/chunks/{CeTLs6kT.js → DFdgK5Ff.js} +9 -9
  94. package/lib/chunks/DFdgK5Ff.js.map +1 -0
  95. package/lib/chunks/{BnvmGTwR.js → DGNDLzjC.js} +15 -16
  96. package/lib/chunks/DGNDLzjC.js.map +1 -0
  97. package/lib/chunks/{DBwqeu_E.js → DI98porG.js} +9 -9
  98. package/lib/chunks/DI98porG.js.map +1 -0
  99. package/lib/chunks/{BojPYCOr.js → DKh1JBaq.js} +5 -5
  100. package/lib/chunks/DKh1JBaq.js.map +1 -0
  101. package/lib/chunks/{bsJCyJ2h.js → DQ2aBJ55.js} +12 -13
  102. package/lib/chunks/DQ2aBJ55.js.map +1 -0
  103. package/lib/chunks/DQEdPoQo.js +386 -0
  104. package/lib/chunks/DQEdPoQo.js.map +1 -0
  105. package/lib/chunks/DTAFonQW.js +396 -0
  106. package/lib/chunks/DTAFonQW.js.map +1 -0
  107. package/lib/chunks/{jimu0HjG.js → DURERga3.js} +11 -11
  108. package/lib/chunks/DURERga3.js.map +1 -0
  109. package/lib/chunks/{Bk3g9j2o.js → DUsiYkFK.js} +6 -4
  110. package/lib/chunks/DUsiYkFK.js.map +1 -0
  111. package/lib/chunks/{DBQayOqn.js → DdpHkb3E.js} +19 -22
  112. package/lib/chunks/DdpHkb3E.js.map +1 -0
  113. package/lib/chunks/{Dqdy0S36.js → DgIBeET0.js} +15 -18
  114. package/lib/chunks/DgIBeET0.js.map +1 -0
  115. package/lib/chunks/{B6vtjeC9.js → DgJZ6ZlB.js} +8 -9
  116. package/lib/chunks/DgJZ6ZlB.js.map +1 -0
  117. package/lib/chunks/{LVVvAMYi.js → DhwKNWjD.js} +12 -12
  118. package/lib/chunks/DhwKNWjD.js.map +1 -0
  119. package/lib/chunks/{PL7a9wra.js → DpVMBZKg.js} +13 -14
  120. package/lib/chunks/DpVMBZKg.js.map +1 -0
  121. package/lib/chunks/{BtupEz7m.js → DpX76W8R.js} +5 -6
  122. package/lib/chunks/DpX76W8R.js.map +1 -0
  123. package/lib/chunks/{B7fxD1Uc.js → DwfSxgDx.js} +13 -14
  124. package/lib/chunks/DwfSxgDx.js.map +1 -0
  125. package/lib/chunks/{BwSsnMqD.js → DxT4VIUT.js} +14 -8
  126. package/lib/chunks/DxT4VIUT.js.map +1 -0
  127. package/lib/chunks/{C7_fI_a3.js → DyrhHazx.js} +9 -10
  128. package/lib/chunks/DyrhHazx.js.map +1 -0
  129. package/lib/chunks/{Zehgfy1K.js → DzuHthMw.js} +9 -9
  130. package/lib/chunks/DzuHthMw.js.map +1 -0
  131. package/lib/chunks/{BJfyI-uR.js → E1AHpT8W.js} +7 -5
  132. package/lib/chunks/E1AHpT8W.js.map +1 -0
  133. package/lib/chunks/{Cd6R23_2.js → Ffj7MYiP.js} +14 -15
  134. package/lib/chunks/Ffj7MYiP.js.map +1 -0
  135. package/lib/chunks/{BlB6zzjK.js → FzMaadW6.js} +6 -6
  136. package/lib/chunks/FzMaadW6.js.map +1 -0
  137. package/lib/chunks/{D_d9DDRC.js → JKRtgYCJ.js} +3 -3
  138. package/lib/chunks/JKRtgYCJ.js.map +1 -0
  139. package/lib/chunks/{DumMjxRD.js → JkqrKvFU.js} +7 -7
  140. package/lib/chunks/JkqrKvFU.js.map +1 -0
  141. package/lib/chunks/{qTIhqjug.js → KzCo7H0B.js} +12 -12
  142. package/lib/chunks/KzCo7H0B.js.map +1 -0
  143. package/lib/chunks/{yujSBoDZ.js → PBX4P85B.js} +8 -8
  144. package/lib/chunks/PBX4P85B.js.map +1 -0
  145. package/lib/chunks/{CjT2dcJr.js → QXeRMnaM.js} +6 -6
  146. package/lib/chunks/QXeRMnaM.js.map +1 -0
  147. package/lib/chunks/Tt3YRLoT.js +265 -0
  148. package/lib/chunks/Tt3YRLoT.js.map +1 -0
  149. package/lib/chunks/{B5PEus3p.js → UIRN-9Gk.js} +10 -11
  150. package/lib/chunks/UIRN-9Gk.js.map +1 -0
  151. package/lib/chunks/{BTBrE1_0.js → Uub1pbHE.js} +8 -9
  152. package/lib/chunks/Uub1pbHE.js.map +1 -0
  153. package/lib/chunks/{D4SsmFK3.js → VUkGxEQX.js} +3 -3
  154. package/lib/chunks/VUkGxEQX.js.map +1 -0
  155. package/lib/chunks/{B2_F5Icl.js → VxQFGAPu.js} +7 -10
  156. package/lib/chunks/VxQFGAPu.js.map +1 -0
  157. package/lib/chunks/{DtKmEeJb.js → cT-MuN_z.js} +12 -15
  158. package/lib/chunks/cT-MuN_z.js.map +1 -0
  159. package/lib/chunks/{C5iF2l6i.js → fCOl6gGe.js} +19 -22
  160. package/lib/chunks/fCOl6gGe.js.map +1 -0
  161. package/lib/chunks/{CLg19bQ0.js → gdOjznoN.js} +25 -17
  162. package/lib/chunks/gdOjznoN.js.map +1 -0
  163. package/lib/chunks/{BjUhCoLJ.js → j6GbzQ11.js} +5 -5
  164. package/lib/chunks/j6GbzQ11.js.map +1 -0
  165. package/lib/chunks/{l0OEgSss.js → kCsdJsDp.js} +5 -5
  166. package/lib/chunks/kCsdJsDp.js.map +1 -0
  167. package/lib/chunks/{D7MZMcK9.js → lkmEYnvD.js} +14 -15
  168. package/lib/chunks/lkmEYnvD.js.map +1 -0
  169. package/lib/chunks/{C2mWiGAY.js → mzLGzWY5.js} +12 -12
  170. package/lib/chunks/mzLGzWY5.js.map +1 -0
  171. package/lib/chunks/{D3Y02MFI.js → nl7BnV3E.js} +33 -30
  172. package/lib/chunks/nl7BnV3E.js.map +1 -0
  173. package/lib/chunks/{DAw8jYZJ.js → qmIX92PW.js} +11 -14
  174. package/lib/chunks/qmIX92PW.js.map +1 -0
  175. package/lib/chunks/{LuH47Bqk.js → rg6JAh_X.js} +12 -15
  176. package/lib/chunks/rg6JAh_X.js.map +1 -0
  177. package/lib/chunks/{D5Oj5xxW.js → uBR9aAgk.js} +6 -6
  178. package/lib/chunks/uBR9aAgk.js.map +1 -0
  179. package/lib/chunks/{CJiiKEHc.js → wPKCUEuQ.js} +3 -3
  180. package/lib/chunks/wPKCUEuQ.js.map +1 -0
  181. package/lib/components/BryntumAIFilterField.js +1 -1
  182. package/lib/components/BryntumAgendaView.js +1 -1
  183. package/lib/components/BryntumBooleanCombo.js +5 -0
  184. package/lib/components/BryntumBooleanCombo.js.map +1 -0
  185. package/lib/components/BryntumButton.js +1 -1
  186. package/lib/components/BryntumButtonGroup.js +1 -1
  187. package/lib/components/BryntumCalendar.js +1 -1
  188. package/lib/components/BryntumCalendarDatePicker.js +1 -1
  189. package/lib/components/BryntumCalendarProjectModel.js +1 -1
  190. package/lib/components/BryntumChatPanel.js +1 -1
  191. package/lib/components/BryntumCheckbox.js +1 -1
  192. package/lib/components/BryntumCheckboxGroup.js +1 -1
  193. package/lib/components/BryntumChecklistFilterCombo.js +1 -1
  194. package/lib/components/BryntumChipView.js +1 -1
  195. package/lib/components/BryntumCodeEditor.js +1 -1
  196. package/lib/components/BryntumColorField.js +1 -1
  197. package/lib/components/BryntumCombo.js +1 -1
  198. package/lib/components/BryntumContainer.js +1 -1
  199. package/lib/components/BryntumDateField.js +1 -1
  200. package/lib/components/BryntumDatePicker.js +1 -1
  201. package/lib/components/BryntumDateRangeField.js +1 -1
  202. package/lib/components/BryntumDateTimeField.js +1 -1
  203. package/lib/components/BryntumDayAgendaView.js +1 -1
  204. package/lib/components/BryntumDayResourceView.js +1 -1
  205. package/lib/components/BryntumDayView.js +1 -1
  206. package/lib/components/BryntumDemoCodeEditor.js +1 -1
  207. package/lib/components/BryntumDemoHeader.js +1 -1
  208. package/lib/components/BryntumDisplayField.js +1 -1
  209. package/lib/components/BryntumDurationField.js +1 -1
  210. package/lib/components/BryntumEditor.js +1 -1
  211. package/lib/components/BryntumEventColorField.js +1 -1
  212. package/lib/components/BryntumEventList.js +1 -1
  213. package/lib/components/BryntumFieldFilterPicker.js +1 -1
  214. package/lib/components/BryntumFieldFilterPickerGroup.js +1 -1
  215. package/lib/components/BryntumFieldSet.js +1 -1
  216. package/lib/components/BryntumFileField.js +1 -1
  217. package/lib/components/BryntumFilePicker.js +1 -1
  218. package/lib/components/BryntumFilterField.js +1 -1
  219. package/lib/components/BryntumGrid.js +1 -1
  220. package/lib/components/BryntumGridBase.js +1 -1
  221. package/lib/components/BryntumGridChartDesigner.js +1 -1
  222. package/lib/components/BryntumGridFieldFilterPicker.js +1 -1
  223. package/lib/components/BryntumGridFieldFilterPickerGroup.js +1 -1
  224. package/lib/components/BryntumGroupBar.js +1 -1
  225. package/lib/components/BryntumHint.js +1 -1
  226. package/lib/components/BryntumLabel.js +1 -1
  227. package/lib/components/BryntumList.js +1 -1
  228. package/lib/components/BryntumMenu.js +1 -1
  229. package/lib/components/BryntumModeSelector.js +1 -1
  230. package/lib/components/BryntumMonthAgendaView.js +1 -1
  231. package/lib/components/BryntumMonthGrid.js +1 -1
  232. package/lib/components/BryntumMonthPicker.js +1 -1
  233. package/lib/components/BryntumMonthView.js +1 -1
  234. package/lib/components/BryntumNumberField.js +1 -1
  235. package/lib/components/BryntumPagingToolbar.js +1 -1
  236. package/lib/components/BryntumPanel.js +1 -1
  237. package/lib/components/BryntumPasswordField.js +1 -1
  238. package/lib/components/BryntumProgressBar.js +1 -1
  239. package/lib/components/BryntumProjectCombo.js +1 -1
  240. package/lib/components/BryntumRadio.js +1 -1
  241. package/lib/components/BryntumRadioGroup.js +1 -1
  242. package/lib/components/BryntumRangeMenu.js +1 -1
  243. package/lib/components/BryntumResourceCombo.js +1 -1
  244. package/lib/components/BryntumResourceFilter.js +1 -1
  245. package/lib/components/BryntumResourceView.js +1 -1
  246. package/lib/components/BryntumScheduler.js +1 -1
  247. package/lib/components/BryntumSchedulerBase.js +1 -1
  248. package/lib/components/BryntumSchedulerDatePicker.js +1 -1
  249. package/lib/components/BryntumSlideToggle.js +1 -1
  250. package/lib/components/BryntumSlider.js +1 -1
  251. package/lib/components/BryntumSplitter.js +1 -1
  252. package/lib/components/BryntumTabPanel.js +1 -1
  253. package/lib/components/BryntumTextAreaField.js +1 -1
  254. package/lib/components/BryntumTextAreaPickerField.js +1 -1
  255. package/lib/components/BryntumTextField.js +1 -1
  256. package/lib/components/BryntumThemeCombo.js +5 -0
  257. package/lib/components/BryntumThemeCombo.js.map +1 -0
  258. package/lib/components/BryntumTimeField.js +1 -1
  259. package/lib/components/BryntumTimePicker.js +1 -1
  260. package/lib/components/BryntumTimeVisualizingEditor.js +1 -1
  261. package/lib/components/BryntumTimeZoomSlider.js +5 -0
  262. package/lib/components/BryntumTimeZoomSlider.js.map +1 -0
  263. package/lib/components/BryntumTimelineHistogram.js +1 -1
  264. package/lib/components/BryntumToolbar.js +1 -1
  265. package/lib/components/BryntumTreeCombo.js +1 -1
  266. package/lib/components/BryntumTreeGrid.js +1 -1
  267. package/lib/components/BryntumUndoRedo.js +1 -1
  268. package/lib/components/BryntumViewPresetCombo.js +1 -1
  269. package/lib/components/BryntumWeekView.js +1 -1
  270. package/lib/components/BryntumWidget.js +1 -1
  271. package/lib/components/BryntumYearPicker.js +1 -1
  272. package/lib/components/BryntumYearPlanner.js +5 -0
  273. package/lib/components/BryntumYearPlanner.js.map +1 -0
  274. package/lib/components/BryntumYearView.js +1 -1
  275. package/lib/index.js +179 -171
  276. package/lib/index.js.map +1 -1
  277. package/package.json +1 -1
  278. package/src/components/BryntumAIFilterField.vue +73 -118
  279. package/src/components/BryntumAIFilterFieldProps.ts +69 -110
  280. package/src/components/BryntumAgendaView.vue +295 -417
  281. package/src/components/BryntumAgendaViewProps.ts +268 -369
  282. package/src/components/BryntumBooleanCombo.vue +1248 -0
  283. package/src/components/BryntumBooleanComboProps.ts +789 -0
  284. package/src/components/BryntumButton.vue +68 -114
  285. package/src/components/BryntumButtonGroup.vue +77 -122
  286. package/src/components/BryntumButtonGroupProps.ts +73 -113
  287. package/src/components/BryntumButtonProps.ts +65 -108
  288. package/src/components/BryntumCalendar.vue +234 -347
  289. package/src/components/BryntumCalendarDatePicker.vue +149 -231
  290. package/src/components/BryntumCalendarDatePickerProps.ts +145 -222
  291. package/src/components/BryntumCalendarProjectModel.vue +12 -31
  292. package/src/components/BryntumCalendarProjectModelProps.ts +10 -20
  293. package/src/components/BryntumCalendarProps.ts +181 -279
  294. package/src/components/BryntumChatPanel.vue +141 -168
  295. package/src/components/BryntumChatPanelProps.ts +121 -157
  296. package/src/components/BryntumCheckbox.vue +72 -116
  297. package/src/components/BryntumCheckboxGroup.vue +108 -178
  298. package/src/components/BryntumCheckboxGroupProps.ts +104 -168
  299. package/src/components/BryntumCheckboxProps.ts +68 -108
  300. package/src/components/BryntumChecklistFilterCombo.vue +90 -149
  301. package/src/components/BryntumChecklistFilterComboProps.ts +86 -141
  302. package/src/components/BryntumChipView.vue +64 -104
  303. package/src/components/BryntumChipViewProps.ts +61 -98
  304. package/src/components/BryntumCodeEditor.vue +105 -166
  305. package/src/components/BryntumCodeEditorProps.ts +101 -157
  306. package/src/components/BryntumColorField.vue +72 -116
  307. package/src/components/BryntumColorFieldProps.ts +68 -108
  308. package/src/components/BryntumCombo.vue +91 -151
  309. package/src/components/BryntumComboProps.ts +87 -143
  310. package/src/components/BryntumContainer.vue +77 -123
  311. package/src/components/BryntumContainerProps.ts +73 -114
  312. package/src/components/BryntumDateField.vue +79 -122
  313. package/src/components/BryntumDateFieldProps.ts +75 -114
  314. package/src/components/BryntumDatePicker.vue +118 -192
  315. package/src/components/BryntumDatePickerProps.ts +114 -183
  316. package/src/components/BryntumDateRangeField.vue +78 -125
  317. package/src/components/BryntumDateRangeFieldProps.ts +74 -117
  318. package/src/components/BryntumDateTimeField.vue +72 -116
  319. package/src/components/BryntumDateTimeFieldProps.ts +68 -108
  320. package/src/components/BryntumDayAgendaView.vue +220 -331
  321. package/src/components/BryntumDayAgendaViewProps.ts +204 -302
  322. package/src/components/BryntumDayResourceView.vue +239 -361
  323. package/src/components/BryntumDayResourceViewProps.ts +224 -333
  324. package/src/components/BryntumDayView.vue +235 -353
  325. package/src/components/BryntumDayViewProps.ts +220 -325
  326. package/src/components/BryntumDemoCodeEditor.vue +105 -166
  327. package/src/components/BryntumDemoCodeEditorProps.ts +101 -157
  328. package/src/components/BryntumDemoHeader.vue +7 -2
  329. package/src/components/BryntumDisplayField.vue +73 -118
  330. package/src/components/BryntumDisplayFieldProps.ts +69 -110
  331. package/src/components/BryntumDurationField.vue +79 -124
  332. package/src/components/BryntumDurationFieldProps.ts +73 -114
  333. package/src/components/BryntumEditor.vue +89 -139
  334. package/src/components/BryntumEditorProps.ts +80 -125
  335. package/src/components/BryntumEventColorField.vue +72 -116
  336. package/src/components/BryntumEventColorFieldProps.ts +68 -108
  337. package/src/components/BryntumEventList.vue +288 -406
  338. package/src/components/BryntumEventListProps.ts +261 -358
  339. package/src/components/BryntumFieldFilterPicker.vue +79 -127
  340. package/src/components/BryntumFieldFilterPickerGroup.vue +81 -131
  341. package/src/components/BryntumFieldFilterPickerGroupProps.ts +77 -122
  342. package/src/components/BryntumFieldFilterPickerProps.ts +75 -118
  343. package/src/components/BryntumFieldSet.vue +104 -171
  344. package/src/components/BryntumFieldSetProps.ts +100 -161
  345. package/src/components/BryntumFileField.vue +72 -116
  346. package/src/components/BryntumFileFieldProps.ts +68 -108
  347. package/src/components/BryntumFilePicker.vue +77 -123
  348. package/src/components/BryntumFilePickerProps.ts +73 -114
  349. package/src/components/BryntumFilterField.vue +75 -122
  350. package/src/components/BryntumFilterFieldProps.ts +71 -114
  351. package/src/components/BryntumGrid.vue +203 -290
  352. package/src/components/BryntumGridBase.vue +203 -290
  353. package/src/components/BryntumGridBaseProps.ts +186 -261
  354. package/src/components/BryntumGridChartDesigner.vue +58 -94
  355. package/src/components/BryntumGridChartDesignerProps.ts +55 -88
  356. package/src/components/BryntumGridFieldFilterPicker.vue +81 -131
  357. package/src/components/BryntumGridFieldFilterPickerGroup.vue +80 -129
  358. package/src/components/BryntumGridFieldFilterPickerGroupProps.ts +76 -120
  359. package/src/components/BryntumGridFieldFilterPickerProps.ts +77 -122
  360. package/src/components/BryntumGridProps.ts +186 -261
  361. package/src/components/BryntumGroupBar.vue +64 -104
  362. package/src/components/BryntumGroupBarProps.ts +61 -98
  363. package/src/components/BryntumHint.vue +132 -189
  364. package/src/components/BryntumHintProps.ts +128 -180
  365. package/src/components/BryntumLabel.vue +58 -94
  366. package/src/components/BryntumLabelProps.ts +55 -88
  367. package/src/components/BryntumList.vue +61 -100
  368. package/src/components/BryntumListProps.ts +58 -94
  369. package/src/components/BryntumMenu.vue +127 -187
  370. package/src/components/BryntumMenuProps.ts +121 -173
  371. package/src/components/BryntumModeSelector.vue +91 -125
  372. package/src/components/BryntumModeSelectorProps.ts +85 -116
  373. package/src/components/BryntumMonthAgendaView.vue +189 -281
  374. package/src/components/BryntumMonthAgendaViewProps.ts +180 -261
  375. package/src/components/BryntumMonthGrid.vue +179 -262
  376. package/src/components/BryntumMonthGridProps.ts +169 -239
  377. package/src/components/BryntumMonthPicker.vue +105 -166
  378. package/src/components/BryntumMonthPickerProps.ts +101 -157
  379. package/src/components/BryntumMonthView.vue +208 -301
  380. package/src/components/BryntumMonthViewProps.ts +195 -273
  381. package/src/components/BryntumNumberField.vue +76 -120
  382. package/src/components/BryntumNumberFieldProps.ts +72 -112
  383. package/src/components/BryntumPagingToolbar.vue +81 -128
  384. package/src/components/BryntumPagingToolbarProps.ts +77 -119
  385. package/src/components/BryntumPanel.vue +105 -166
  386. package/src/components/BryntumPanelProps.ts +101 -157
  387. package/src/components/BryntumPasswordField.vue +72 -116
  388. package/src/components/BryntumPasswordFieldProps.ts +68 -108
  389. package/src/components/BryntumProgressBar.vue +57 -92
  390. package/src/components/BryntumProgressBarProps.ts +54 -86
  391. package/src/components/BryntumProjectCombo.vue +90 -149
  392. package/src/components/BryntumProjectComboProps.ts +86 -141
  393. package/src/components/BryntumRadio.vue +72 -116
  394. package/src/components/BryntumRadioGroup.vue +108 -177
  395. package/src/components/BryntumRadioGroupProps.ts +104 -167
  396. package/src/components/BryntumRadioProps.ts +68 -108
  397. package/src/components/BryntumRangeMenu.vue +127 -187
  398. package/src/components/BryntumRangeMenuProps.ts +121 -173
  399. package/src/components/BryntumResourceCombo.vue +91 -151
  400. package/src/components/BryntumResourceComboProps.ts +87 -143
  401. package/src/components/BryntumResourceFilter.vue +63 -104
  402. package/src/components/BryntumResourceFilterProps.ts +60 -98
  403. package/src/components/BryntumResourceView.vue +174 -256
  404. package/src/components/BryntumResourceViewProps.ts +165 -236
  405. package/src/components/BryntumScheduler.vue +426 -599
  406. package/src/components/BryntumSchedulerBase.vue +426 -599
  407. package/src/components/BryntumSchedulerBaseProps.ts +366 -521
  408. package/src/components/BryntumSchedulerDatePicker.vue +120 -196
  409. package/src/components/BryntumSchedulerDatePickerProps.ts +116 -187
  410. package/src/components/BryntumSchedulerProps.ts +366 -521
  411. package/src/components/BryntumSlideToggle.vue +72 -116
  412. package/src/components/BryntumSlideToggleProps.ts +68 -108
  413. package/src/components/BryntumSlider.vue +66 -100
  414. package/src/components/BryntumSliderProps.ts +62 -94
  415. package/src/components/BryntumSplitter.vue +60 -98
  416. package/src/components/BryntumSplitterProps.ts +57 -92
  417. package/src/components/BryntumTabPanel.vue +106 -168
  418. package/src/components/BryntumTabPanelProps.ts +102 -159
  419. package/src/components/BryntumTextAreaField.vue +80 -118
  420. package/src/components/BryntumTextAreaFieldProps.ts +75 -110
  421. package/src/components/BryntumTextAreaPickerField.vue +74 -119
  422. package/src/components/BryntumTextAreaPickerFieldProps.ts +70 -111
  423. package/src/components/BryntumTextField.vue +73 -118
  424. package/src/components/BryntumTextFieldProps.ts +69 -110
  425. package/src/components/BryntumThemeCombo.vue +60 -0
  426. package/src/components/BryntumTimeField.vue +78 -119
  427. package/src/components/BryntumTimeFieldProps.ts +74 -111
  428. package/src/components/BryntumTimePicker.vue +77 -123
  429. package/src/components/BryntumTimePickerProps.ts +73 -114
  430. package/src/components/BryntumTimeVisualizingEditor.vue +130 -191
  431. package/src/components/BryntumTimeVisualizingEditorProps.ts +126 -182
  432. package/src/components/BryntumTimeZoomSlider.vue +828 -0
  433. package/src/components/BryntumTimeZoomSliderProps.ts +482 -0
  434. package/src/components/BryntumTimelineHistogram.vue +322 -443
  435. package/src/components/BryntumTimelineHistogramProps.ts +274 -387
  436. package/src/components/BryntumToolbar.vue +81 -128
  437. package/src/components/BryntumToolbarProps.ts +77 -119
  438. package/src/components/BryntumTreeCombo.vue +91 -151
  439. package/src/components/BryntumTreeComboProps.ts +87 -143
  440. package/src/components/BryntumTreeGrid.vue +203 -290
  441. package/src/components/BryntumTreeGridProps.ts +186 -261
  442. package/src/components/BryntumUndoRedo.vue +78 -125
  443. package/src/components/BryntumUndoRedoProps.ts +74 -116
  444. package/src/components/BryntumViewPresetCombo.vue +67 -107
  445. package/src/components/BryntumViewPresetComboProps.ts +63 -99
  446. package/src/components/BryntumWeekView.vue +235 -353
  447. package/src/components/BryntumWeekViewProps.ts +220 -325
  448. package/src/components/BryntumWidget.vue +58 -94
  449. package/src/components/BryntumWidgetProps.ts +55 -88
  450. package/src/components/BryntumYearPicker.vue +106 -168
  451. package/src/components/BryntumYearPickerProps.ts +102 -159
  452. package/src/components/BryntumYearPlanner.vue +1372 -0
  453. package/src/components/BryntumYearPlannerProps.ts +874 -0
  454. package/src/components/BryntumYearView.vue +189 -277
  455. package/src/components/BryntumYearViewProps.ts +179 -254
  456. package/src/index.ts +7 -0
  457. package/lib/chunks/-I8DJxf_.js.map +0 -1
  458. package/lib/chunks/63XaN_s1.js.map +0 -1
  459. package/lib/chunks/643jpJkp.js.map +0 -1
  460. package/lib/chunks/6QvAfis7.js.map +0 -1
  461. package/lib/chunks/B2_F5Icl.js.map +0 -1
  462. package/lib/chunks/B5PEus3p.js.map +0 -1
  463. package/lib/chunks/B6vtjeC9.js.map +0 -1
  464. package/lib/chunks/B7fxD1Uc.js.map +0 -1
  465. package/lib/chunks/BAW_NqgP.js.map +0 -1
  466. package/lib/chunks/BBEyHSQv.js.map +0 -1
  467. package/lib/chunks/BDE_6JKK.js.map +0 -1
  468. package/lib/chunks/BIZkK5rf.js.map +0 -1
  469. package/lib/chunks/BJfyI-uR.js.map +0 -1
  470. package/lib/chunks/BO1go6ht.js.map +0 -1
  471. package/lib/chunks/BRyz2Jfr.js.map +0 -1
  472. package/lib/chunks/BTBrE1_0.js.map +0 -1
  473. package/lib/chunks/BWnGGswQ.js.map +0 -1
  474. package/lib/chunks/BZKqACKI.js.map +0 -1
  475. package/lib/chunks/B_Vy1VXa.js.map +0 -1
  476. package/lib/chunks/Baux7HCy.js.map +0 -1
  477. package/lib/chunks/BclPIY1S.js.map +0 -1
  478. package/lib/chunks/Beyvc-Ee.js.map +0 -1
  479. package/lib/chunks/BjUhCoLJ.js.map +0 -1
  480. package/lib/chunks/Bk3g9j2o.js.map +0 -1
  481. package/lib/chunks/BlB6zzjK.js.map +0 -1
  482. package/lib/chunks/BnvmGTwR.js.map +0 -1
  483. package/lib/chunks/BojPYCOr.js.map +0 -1
  484. package/lib/chunks/BqkxZjvs.js.map +0 -1
  485. package/lib/chunks/BtupEz7m.js.map +0 -1
  486. package/lib/chunks/BuRssXBn.js.map +0 -1
  487. package/lib/chunks/Bvf00QYc.js.map +0 -1
  488. package/lib/chunks/BwSsnMqD.js.map +0 -1
  489. package/lib/chunks/BwV4_Hj0.js.map +0 -1
  490. package/lib/chunks/C2mWiGAY.js.map +0 -1
  491. package/lib/chunks/C5iF2l6i.js.map +0 -1
  492. package/lib/chunks/C7_fI_a3.js.map +0 -1
  493. package/lib/chunks/CH6gj1Uh.js.map +0 -1
  494. package/lib/chunks/CJiiKEHc.js.map +0 -1
  495. package/lib/chunks/CLg19bQ0.js.map +0 -1
  496. package/lib/chunks/CN4RrXCe.js.map +0 -1
  497. package/lib/chunks/CSDGWXIc.js.map +0 -1
  498. package/lib/chunks/CbVp-KNL.js.map +0 -1
  499. package/lib/chunks/Cd6R23_2.js.map +0 -1
  500. package/lib/chunks/CeTLs6kT.js.map +0 -1
  501. package/lib/chunks/CjT2dcJr.js.map +0 -1
  502. package/lib/chunks/Ckl-wIwj.js.map +0 -1
  503. package/lib/chunks/CrGY2ZuR.js.map +0 -1
  504. package/lib/chunks/CrwTiLxz.js.map +0 -1
  505. package/lib/chunks/D3Y02MFI.js.map +0 -1
  506. package/lib/chunks/D3e9xTyI.js.map +0 -1
  507. package/lib/chunks/D4SsmFK3.js.map +0 -1
  508. package/lib/chunks/D53p7Ank.js.map +0 -1
  509. package/lib/chunks/D5Oj5xxW.js.map +0 -1
  510. package/lib/chunks/D7MZMcK9.js.map +0 -1
  511. package/lib/chunks/D7lj1d87.js.map +0 -1
  512. package/lib/chunks/D9EcAnhT.js.map +0 -1
  513. package/lib/chunks/DAw8jYZJ.js.map +0 -1
  514. package/lib/chunks/DBQayOqn.js.map +0 -1
  515. package/lib/chunks/DBwqeu_E.js.map +0 -1
  516. package/lib/chunks/DQaAhwXD.js.map +0 -1
  517. package/lib/chunks/DVbWgkTx.js.map +0 -1
  518. package/lib/chunks/DXxsDHKA.js.map +0 -1
  519. package/lib/chunks/D_Rke7J9.js.map +0 -1
  520. package/lib/chunks/D_d9DDRC.js.map +0 -1
  521. package/lib/chunks/D_krOQ9f.js.map +0 -1
  522. package/lib/chunks/Dqdy0S36.js.map +0 -1
  523. package/lib/chunks/DtKmEeJb.js.map +0 -1
  524. package/lib/chunks/DumMjxRD.js.map +0 -1
  525. package/lib/chunks/LVVvAMYi.js.map +0 -1
  526. package/lib/chunks/LuH47Bqk.js.map +0 -1
  527. package/lib/chunks/ONNloqHH.js.map +0 -1
  528. package/lib/chunks/PL7a9wra.js.map +0 -1
  529. package/lib/chunks/UBAf_gJR.js.map +0 -1
  530. package/lib/chunks/XAfNTJB0.js.map +0 -1
  531. package/lib/chunks/Zehgfy1K.js.map +0 -1
  532. package/lib/chunks/bsJCyJ2h.js.map +0 -1
  533. package/lib/chunks/c2O0FAWQ.js.map +0 -1
  534. package/lib/chunks/iDCR6UCK.js.map +0 -1
  535. package/lib/chunks/jimu0HjG.js.map +0 -1
  536. package/lib/chunks/l0OEgSss.js.map +0 -1
  537. package/lib/chunks/motDmuL4.js.map +0 -1
  538. package/lib/chunks/n-R-RzWM.js.map +0 -1
  539. package/lib/chunks/oscppiH3.js.map +0 -1
  540. package/lib/chunks/qTIhqjug.js.map +0 -1
  541. package/lib/chunks/u9zB9TJb.js.map +0 -1
  542. package/lib/chunks/yujSBoDZ.js.map +0 -1
@@ -0,0 +1,1372 @@
1
+ <!-- Vue 3 wrapper for Bryntum YearPlanner -->
2
+
3
+ <template>
4
+ <div ref="refElement">
5
+
6
+ </div>
7
+ </template>
8
+
9
+ <script setup lang="ts">
10
+
11
+ import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
12
+
13
+ import type { AlignSpec, Base, BryntumScrollOptions, ButtonConfig, CalendarMixinClass, CalendarRowConfig, CalendarView, Color, Container, ContainerItemConfig, ContainerLayoutConfig, DomConfig, DurationConfig, EventBar, EventModel, KeyMapConfig, MaskConfig, MenuItemConfig, Model, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, ResourceModel, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget, YearPlannerListeners } from '@bryntum/calendar';
14
+ import { YearPlanner } from '@bryntum/calendar';
15
+
16
+ import { WrapperHelper } from '../helper/WrapperHelper';
17
+
18
+ defineProps<{
19
+ // Configs
20
+ /**
21
+ * A key to use to activate this view.
22
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-activationKey)
23
+ */
24
+ activationKey ? : string
25
+ /**
26
+ * Element (or element id) to adopt as this Widget's encapsulating element. The widget's
27
+ * content will be placed inside this element.
28
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-adopt)
29
+ */
30
+ adopt ? : HTMLElement|string
31
+ /**
32
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
33
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-align)
34
+ */
35
+ align ? : AlignSpec|string
36
+ /**
37
+ * 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
38
+ * flexbox layout. This config allows you to set this widget's
39
+ * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.
40
+ */
41
+ alignSelf ? : string
42
+ /**
43
+ * Configure this as `false` to disable drag-creating events in this view.
44
+ */
45
+ allowDragCreate ? : Boolean
46
+ /**
47
+ * Configure this as `false` to disable drag-moving events in this view.
48
+ */
49
+ allowDragMove ? : Boolean
50
+ /**
51
+ * Configure this as `false` to disable drag-resizing events in this view.
52
+ */
53
+ allowDragResize ? : Boolean
54
+ /**
55
+ * *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).*
56
+ * `true` to show a connector arrow pointing to the align target.
57
+ */
58
+ anchor ? : Boolean
59
+ /**
60
+ * By default, when navigating through time, the next time
61
+ * block will be animated in from the appropriate direction.
62
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-animateTimeShift)
63
+ */
64
+ animateTimeShift ? : Boolean
65
+ /**
66
+ * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
67
+ * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).
68
+ */
69
+ appendTo ? : HTMLElement|string
70
+ /**
71
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
72
+ * into an element which will be linked using the `aria-describedby` attribute.
73
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-ariaDescription)
74
+ */
75
+ ariaDescription ? : string
76
+ /**
77
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
78
+ * the `aria-label` attribute.
79
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-ariaLabel)
80
+ */
81
+ ariaLabel ? : string
82
+ /**
83
+ * If this config is set, then the `gesture` configured (which defaults to `dblclick`) creates a
84
+ * new event at the mouse or touch event's time point.
85
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-autoCreate)
86
+ * @property {string} [gesture] The DOM event name which initiates event creation at the event's position.
87
+ * @property {Function,string} [newName] The name of an event created using `autoCreate` or a function to call which yields the name. When a function is specified, the following parameters are passed: * <span class="name">view : <span class="type">CalendarMixin</span></span><div class="description">The view in which the event is being created.</div> * <span class="name">startDate : <span class="type">String</span></span><div class="description">The start date of the event being created.</div> * <span class="name">resourceRecord : <span class="type">ResourceModel</span></span><div class="description">The resource of the event being created.</div>
88
+ * @property {string} [step] The time unit by which to snap the start click point of auto created events. <strong>Only for views which have a granularity of less than one day such as `WeekView` and `DayView`</strong>. For views which show whole days, the start defaults to 8am. This is a string in the format required by [parseDuration](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper#function-parseDuration-static). This value is also used for the [step](https://bryntum.com/products/calendar/docs/api/Core/widget/TimeField#property-step) value in the [EventEdit](https://bryntum.com/products/calendar/docs/api/Calendar/feature/EventEdit)'s time input field.
89
+ * @property {'round','ceil','floor'} [snapType] How to snap a precise gesture time to a boundary specified by the `step` property. <strong>Only for views which have a granularity of less than one day such as `WeekView` and `DayView`</strong>.
90
+ * @property {string} [duration] The default start hour for auto created events in the form accepted by [parseDuration](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper#function-parseDuration-static)
91
+ * @property {number} [startHour] The default start hour for auto created events in views where the time granularity is one day. In a `DayView` or `WeekView` where a mouse event position will translate to a time of day, this is not used. This is the hour of the day to start the event at. It may be fractional.
92
+ */
93
+ autoCreate ? : object|string|Boolean
94
+ /**
95
+ * A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/calendar/docs/api/Core/widget/Toolbar),
96
+ * or array of config objects representing the child items of a Toolbar. Another way to add a bbar is to use [strips](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-strips).
97
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-bbar)
98
+ */
99
+ bbar ? : (ContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
100
+ /**
101
+ * Custom CSS classes to add to the panel's body element.
102
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-bodyCls)
103
+ */
104
+ bodyCls ? : string|object
105
+ /**
106
+ * Set `true` to add a border to this container's element.
107
+ */
108
+ border ? : Boolean
109
+ /**
110
+ * An object where property names with a truthy value indicate which events should bubble up the ownership
111
+ * hierarchy when triggered.
112
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-bubbleEvents)
113
+ */
114
+ bubbleEvents ? : object
115
+ /**
116
+ * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
117
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-callOnFunctions)
118
+ */
119
+ callOnFunctions ? : Boolean
120
+ /**
121
+ * By default, if an event handler throws an exception, the error propagates up the stack and the
122
+ * application state is undefined. Code which follows the event handler will *not* be executed.
123
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-catchEventHandlerExceptions)
124
+ */
125
+ catchEventHandlerExceptions ? : Boolean
126
+ /**
127
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
128
+ * Set to `true` to centre the Widget in browser viewport space.
129
+ */
130
+ centered ? : Boolean
131
+ /**
132
+ * Custom CSS classes to add to element.
133
+ * May be specified as a space separated string, or as an object in which property names
134
+ * with truthy values are used as the class names:
135
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-cls)
136
+ */
137
+ cls ? : string|object
138
+ /**
139
+ * Controls whether the panel is collapsed (the body of the panel is hidden while only the header is
140
+ * visible). Only valid if the panel is [collapsible](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsible).
141
+ */
142
+ collapsed ? : Boolean
143
+ /**
144
+ * This config enables collapsibility for the panel. See [collapsed](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsed).
145
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-collapsible)
146
+ */
147
+ collapsible ? : Boolean|PanelCollapserConfig|PanelCollapserOverlayConfig
148
+ /**
149
+ * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
150
+ * `style` block.
151
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-color)
152
+ */
153
+ color ? : Color
154
+ /**
155
+ * Programmatic control over which column to start in when used in a grid layout.
156
+ */
157
+ column ? : number
158
+ config ? : object
159
+ /**
160
+ * *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).*
161
+ * Element, Widget or Rectangle to which this Widget is constrained.
162
+ */
163
+ constrainTo ? : HTMLElement|Widget|Rectangle
164
+ /**
165
+ * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).
166
+ * May be specified as a space separated string, or as an object in which property names
167
+ * with truthy values are used as the class names:
168
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-contentElementCls)
169
+ */
170
+ contentElementCls ? : string|object
171
+ /**
172
+ * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the
173
+ * field on the expanded record to use for populating this widget's store (if applicable)
174
+ */
175
+ dataField ? : string
176
+ /**
177
+ * Object to apply to elements dataset (each key will be used as a data-attribute on the element)
178
+ */
179
+ dataset ? : Record<string, string>
180
+ /**
181
+ * A date which specifies the year to display. All types of calendar view have a `date`
182
+ * config which they use to set their visible date range according to their configuration
183
+ * and type.
184
+ */
185
+ date ? : Date
186
+ /**
187
+ * A [DateHelper](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper) format string/function to use to create date output for view descriptions.
188
+ * @param {Date} date The date to format.
189
+ * @returns {string} The formatted date.
190
+ */
191
+ dateFormat ? : string|((date: Date) => string)
192
+ /**
193
+ * A string used to separate start and end dates in the [descriptionFormat](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/Describable#config-descriptionFormat).
194
+ */
195
+ dateSeparator ? : string
196
+ /**
197
+ * The [DateHelper](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper) format string for day names in the column headers.
198
+ * The day names are displayed at the top of the year planner, above all month rows.
199
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-dayNameFormat)
200
+ */
201
+ dayNameFormat ? : 'ddd'|'dd'|'d1'|string
202
+ /**
203
+ * The name of the property to set when a single value is to be applied to this Widget. Such as when used
204
+ * in a grid WidgetColumn, this is the property to which the column's `field` is applied.
205
+ */
206
+ defaultBindProperty ? : string
207
+ /**
208
+ * A [query](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
209
+ * focus should be directed by default.
210
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-defaultFocus)
211
+ * @param {Core.widget.Widget} widget Widget passed to method
212
+ * @returns {boolean} truthy value if widget is the default one
213
+ */
214
+ defaultFocus ? : ((widget: Widget) => Boolean)|string
215
+ /**
216
+ * A config object containing default settings to apply to all child widgets.
217
+ */
218
+ defaults ? : ContainerItemConfig
219
+ /**
220
+ * Options to add into scroll options when the [scrollTo](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#function-scrollTo) method is called.
221
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-defaultScrollOptions)
222
+ */
223
+ defaultScrollOptions ? : BryntumScrollOptions
224
+ /**
225
+ * The date format used by the default [descriptionRenderer](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/Describable#config-descriptionRenderer) for rendering the view's description.
226
+ * If this value is `null`, the [dateFormat](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/Describable#config-dateFormat) (and potentially [dateSeparator](#Scheduler/view/mixin/Describable#config-dateSeparator)) will
227
+ * be used.
228
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-descriptionFormat)
229
+ * @param {Date} date The date to format.
230
+ * @returns {string} The formatted date.
231
+ */
232
+ descriptionFormat ? : string|string[]|Boolean[]|((date: Date) => string)|(((date: Date) => string)[])
233
+ /**
234
+ * A function that provides the textual description for this view. If provided, this function overrides the
235
+ * [descriptionFormat](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/Describable#config-descriptionFormat).
236
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-descriptionRenderer)
237
+ * @param {Core.widget.Widget} view The active view in case the function is in another scope.
238
+ * @returns {string} Description string
239
+ */
240
+ descriptionRenderer ? : (view: Widget) => string
241
+ /**
242
+ * Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
243
+ * checks:
244
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-detectCSSCompatibilityIssues)
245
+ */
246
+ detectCSSCompatibilityIssues ? : Boolean
247
+ /**
248
+ * 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
249
+ * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
250
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-disabled)
251
+ */
252
+ disabled ? : Boolean|'inert'
253
+ /**
254
+ * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel)
255
+ * [strips collection](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
256
+ * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
257
+ * body. Such widgets are called "edge strips".
258
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-dock)
259
+ */
260
+ dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
261
+ /**
262
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
263
+ * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
264
+ * property which controls when a drag should start.
265
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-draggable)
266
+ * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
267
+ */
268
+ draggable ? : Boolean|object
269
+ /**
270
+ * The [durationUnit](https://bryntum.com/products/calendar/docs/api/Scheduler/model/EventModel#field-durationUnit) to use when drag-creating events
271
+ * in this view.
272
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-dragUnit)
273
+ */
274
+ dragUnit ? : string
275
+ /**
276
+ * Make this Panel a docked drawer which slides out from one side of the browser viewport by default.
277
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-drawer)
278
+ * @param {'start','left','end','right','top','bottom'} [side] The side of the viewport to dock the drawer to. * `'start'` means the `inline-start` side. * `'end'` means the `inline-end` side.
279
+ * @param {string,number} [size] The size of the drawer in its collapsible axis.
280
+ * @param {boolean} [inline] If using the [appendTo](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-appendTo) config to place the drawer inside a host widget, this may be set to `true` to make the drawer inline within that host. Note that, if using this, the layout of the host element must have `flex-direction` set appropriately.
281
+ * @param {boolean,object} [autoClose] Specifies what user actions should automatically close the drawer. Defaults to closing when the user clicks outside of the drawer or when focus moves outside of the drawer.
282
+ * @param {boolean,string} [autoClose.mousedown] If the user clicks outside of the drawer, the drawer will automatically be hidden. If the value is a string, it is used as a CSS selector to filter clicks which should close the drawer.
283
+ * @param {boolean,string} [autoClose.focusout] If focus moves outside of the drawer, the drawer will automatically be hidden.
284
+ * @param {string} [autoClose.mouseout] Hides the drawer when the mouse leaves the drawer after the `autoCloseDelay` period.
285
+ * @param {number} [autoCloseDelay] When using `mouseout`, this is the delay in milliseconds
286
+ */
287
+ drawer ? : Boolean|{ side?: 'start'|'left'|'end'|'right'|'top'|'bottom', size?: string|number, inline?: Boolean, autoClose?: Boolean|{ mousedown?: Boolean|string, focusout?: Boolean|string, mouseout?: string }, autoCloseDelay?: number }
288
+ /**
289
+ * An object specifying attributes to assign to the root element of this widget.
290
+ * Set `null` value to attribute to remove it.
291
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-elementAttributes)
292
+ */
293
+ elementAttributes ? : Record<string, string|null>
294
+ /**
295
+ * A function, or the name of a function in the ownership hierarchy which you
296
+ * can specify to customize event DOM content.
297
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-eventHeaderRenderer)
298
+ * @param {object} detail An object that contains data about the event being rendered
299
+ * @param {CalendarView} detail.view The view rendering the event
300
+ * @param {Scheduler.model.EventModel} detail.eventRecord The event record
301
+ * @param {Scheduler.model.ResourceModel} detail.resourceRecord The resource record
302
+ * @param {object} detail.renderData A data object containing properties that will be used to create the event element
303
+ * @param {object} detail.renderData.style The style property is an object containing style properties for the event element
304
+ * @param {object} detail.renderData.cls The cls property is an object whose property names will be added to the event element if the property value is truthy
305
+ * @param {object} detail.renderData.iconStyle The iconStyle property is an object containing style properties for the icon element if an icon element is to be used
306
+ * @param {object} detail.renderData.iconCls The iconCls property is an object whose property names will be added to the icon element. Initially set from the event record's [iconCls](https://bryntum.com/products/calendar/docs/api/Scheduler/model/EventModel#field-iconCls). Can be mutated by the renderer. If null, or no properties are set, no icon will be rendered
307
+ * @param {string} detail.renderData.eventColor Color to be applied to the event
308
+ * @param {object} detail.renderData.dataset An object which produces the `dataset` of the resulting event bar
309
+ * @param {boolean} detail.renderData.solidBar This is valid for views which create event bars. This is set to `true` by default for all day and interday events so that these appear as a solid block of background color. An eventRenderer may mutate this flag to change in what manner the event bar is colored - as a solid bar of color, or using the foreground color (text and icons) such as the MonthView, the CalendarRow (all day events in a DayView), and OverflowPopups
310
+ * @param {string} detail.renderData.bodyColor When used in a [DayView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView), this color is applied to the body of the event element. Note that this must be light enough that the text color (From the SASS variable `$dayview-event-color`) is visible
311
+ * @param {boolean} detail.showBullet If there is no `iconCls`, and the event is not recurring, then by default a "bullet" circular icon is shown if the view's [showBullet](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-showBullet) if set. Setting this property in an event renderer overrides this behaviour.
312
+ * @returns {DomConfig,DomConfig[],string,void}
313
+ */
314
+ eventHeaderRenderer ? : ((detail: { view: CalendarView, eventRecord: EventModel, resourceRecord: ResourceModel, renderData: { style: object, cls: object, iconStyle: object, iconCls: object, eventColor: string, dataset: object, solidBar: Boolean, bodyColor: string }, showBullet: Boolean }) => DomConfig|DomConfig[]|string|void)|string
315
+ /**
316
+ * The height of event bars in this view. This can be a numeric value in pixels or a CSS unit measure such
317
+ * as `'2em'`.
318
+ */
319
+ eventHeight ? : number|string
320
+ /**
321
+ * A function, or the name of a function in the ownership hierarchy which you
322
+ * can specify to customize event DOM content.
323
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-eventRenderer)
324
+ * @param {object} context An object that contains data about the event being rendered
325
+ * @param {Calendar.widget.mixin.CalendarMixin} context.view The view rendering the event
326
+ * @param {Scheduler.model.EventModel} context.eventRecord The event record
327
+ * @param {Scheduler.model.ResourceModel} context.resourceRecord The Resource record
328
+ * @param {object} context.renderData A data object containing properties that will be used to create the event element
329
+ * @param {object} context.renderData.style The style property is an object containing style properties for the event element
330
+ * @param {object} context.renderData.cls The cls property is an object whose property names will be added to the event element if the property value is truthy
331
+ * @param {object} context.renderData.iconStyle The iconStyle property is an object containing style properties for the icon element if an icon element is to be used
332
+ * @param {object} context.renderData.iconCls The iconCls property is an object whose property names will be added to the icon element. Initially set from the event record's [iconCls](https://bryntum.com/products/calendar/docs/api/Scheduler/model/EventModel#field-iconCls). Can be mutated by the renderer. If null, or no properties are set, no icon will be rendered
333
+ * @param {string} context.renderData.eventColor Color to be applied to the event. This may be a CSS color name or a CSS color value in any of the supported CSS color formats such as `#RRGGBB`, `rgb(255, 0, 0)`, or `rgba(255, 0, 0, 0.5)`.
334
+ * @param {string} context.renderData.eventBackground A CSS background style to be applied to the event. This is not set by default, but can be set by the renderer to provide a background image or gradient for the event bar. This overrides the `eventColor` property if present.
335
+ * @param {string} context.renderData.textColor A CSS color to be applied to the event text. This is not set by default, but can be set by the renderer to provide a custom color for the event name text in the event bar. This may be a CSS color name or a CSS color value in any of the supported CSS color formats such as `#RRGGBB`, `rgb(255, 0, 0)`, or `rgba(255, 0, 0, 0.5)`.
336
+ * @param {object} context.renderData.eventInnerStyle The eventInnerStyle property is an object containing style properties for the inner part of the event element, the `.b-cal-event` element.
337
+ * @param {object} context.renderData.dataset An object which produces the `dataset` of the resulting event bar
338
+ * @param {boolean} context.renderData.solidBar This is valid for views which create event bars. This is set to `true` by default for all day and interday events so that these appear as a solid block of background color. An eventRenderer may mutate this flag to change in what manner the event bar is colored - as a solid bar of color, or using the foreground color (text and icons) such as the MonthView, the CalendarRow (all day events in a DayView), and OverflowPopups
339
+ * @param {string} context.renderData.bodyColor When used in a [DayView](https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView), this color is applied to the body of the event element. Note that this must be light enough that the text color (From the SASS variable `$dayview-event-color`) is visible
340
+ * @param {boolean} context.renderData.showBullet If there is no `iconCls`, and the event is not recurring, then by default a "bullet" circular icon is shown if the view's [showBullet](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-showBullet) if set. Setting this property in an event renderer overrides this behaviour. <h3>Using JSX (React)</h3> When using the Bryntum React wrapper, the event renderer can return JSX elements: ```javascript eventRenderer({ eventRecord, renderData }) { return &lt;MyEventComponent event={eventRecord} />; } ``` *Using JSX in the event renderer creates a React portal for each rendered event. For calendars with many visible events or frequently re-rendered views, this may impact scrolling performance compared to returning plain strings or [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) objects. Consider using JSX primarily for events that require complex interactive React components.*
341
+ * @returns {DomConfig,DomConfig[],string,void} The content to be used as the event body.
342
+ */
343
+ eventRenderer ? : ((context: { view: CalendarMixinClass, eventRecord: EventModel, resourceRecord: ResourceModel, renderData: { style: object, cls: object, iconStyle: object, iconCls: object, eventColor: string, eventBackground: string, textColor: string, eventInnerStyle: object, dataset: object, solidBar: Boolean, bodyColor: string, showBullet: Boolean } }) => DomConfig|DomConfig[]|string|void)|string
344
+ /**
345
+ * A function which compares events which some views use to decide upon rendering order.
346
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-eventSorter)
347
+ * @param {Scheduler.model.EventModel,EventBar} lhs The left side value to conpare
348
+ * @param {Scheduler.model.EventModel,EventBar} rhs The right side value to conpare
349
+ * @returns {number}
350
+ */
351
+ eventSorter ? : (lhs: EventModel|EventBar, rhs: EventModel|EventBar) => number
352
+ /**
353
+ * By default, the end date of an all day event is displayed in the UI as
354
+ * the last calendar date on which the event falls. For most end users, this is the
355
+ * expected value.
356
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-extendAllDayEndDay)
357
+ */
358
+ extendAllDayEndDay ? : Boolean
359
+ extraData ? : any
360
+ /**
361
+ * If this is set to `true`, then when determining which assigned resource of a multi assigned event
362
+ * to use to create the event UI, the first resource which is still selected in the
363
+ * [resourceFilter](https://bryntum.com/products/calendar/docs/api/Calendar/widget/Sidebar#property-resourceFilter) is used.
364
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-filterEventResources)
365
+ */
366
+ filterEventResources ? : Boolean
367
+ /**
368
+ * 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
369
+ * flexbox layout. This config allows you to set this widget's
370
+ * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.
371
+ * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.
372
+ * numeric-only values are interpreted as the `flex-grow` value.
373
+ */
374
+ flex ? : number|string
375
+ /**
376
+ * Set to `true` to move the widget out of the document flow and position it
377
+ * absolutely in browser viewport space.
378
+ */
379
+ floating ? : Boolean
380
+ /**
381
+ * Config object of a footer. May contain a `dock`, `html` and a `cls` property. A footer is not a widget,
382
+ * but rather plain HTML that follows the last element of the panel's body and [strips](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-strips).
383
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-footer)
384
+ * @property {'top','right','bottom','left','start','end'} dock Where to dock
385
+ * @property {string} html Html to populate the footer with
386
+ * @property {string} cls CSS class to add to the footer
387
+ */
388
+ footer ? : object|string
389
+ /**
390
+ * A Function (or name of a function in the ownership hierarchy) which returns the
391
+ * [resource record](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ResourceModel) to use to create the UI for an event.
392
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-getPrimaryResource)
393
+ * @param {Scheduler.model.EventModel} eventRecord The event from which to extract the primary resource.
394
+ * @returns {Scheduler.model.ResourceModel} The resource to be used to render the event.
395
+ */
396
+ getPrimaryResource ? : ((eventRecord: EventModel) => ResourceModel)|string
397
+ /**
398
+ * A config [object](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#typedef-PanelHeader) for the panel's header or a string in place of a `title`.
399
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-header)
400
+ */
401
+ header ? : string|Boolean|PanelHeader
402
+ /**
403
+ * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,
404
+ * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some
405
+ * cases this config is convenient.
406
+ */
407
+ height ? : string|number
408
+ /**
409
+ * Configure with true to make widget initially hidden.
410
+ */
411
+ hidden ? : Boolean
412
+ /**
413
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
414
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-hideAnimation)
415
+ */
416
+ hideAnimation ? : Boolean|object
417
+ /**
418
+ * Configure as `true` to hide [nonWorkingDays](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-nonWorkingDays)
419
+ */
420
+ hideNonWorkingDays ? : Boolean
421
+ /**
422
+ * Specify `true` to make this container hide when it has no visible children (Either empty
423
+ * or all children hidden).
424
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-hideWhenEmpty)
425
+ */
426
+ hideWhenEmpty ? : Boolean
427
+ /**
428
+ * An icon to show before the [title](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-title). Either pass a CSS class as a string, or pass a
429
+ * [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) object describing an element to represent the icon.
430
+ */
431
+ icon ? : string|DomConfig
432
+ /**
433
+ * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById
434
+ */
435
+ id ? : string
436
+ /**
437
+ * Determines if the widgets read-only state should be controlled by its parent.
438
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-ignoreParentReadOnly)
439
+ */
440
+ ignoreParentReadOnly ? : Boolean
441
+ /**
442
+ * Convenience setting to align input fields of child widgets. By default, the Field input element is
443
+ * placed immediately following the `label`. If you prefer to have all input fields aligned to the
444
+ * right, set this config to `'end'`.
445
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-inputFieldAlign)
446
+ */
447
+ inputFieldAlign ? : 'start'|'end'
448
+ /**
449
+ * 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.
450
+ */
451
+ insertBefore ? : HTMLElement|string
452
+ /**
453
+ * 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.
454
+ */
455
+ insertFirst ? : HTMLElement|string
456
+ /**
457
+ * An optional CSS class to add to child items of this container.
458
+ */
459
+ itemCls ? : string
460
+ /**
461
+ * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
462
+ * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
463
+ * are the name of the instance method to call when the keystroke is received.
464
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-keyMap)
465
+ */
466
+ keyMap ? : Record<string, KeyMapConfig>
467
+ /**
468
+ * Convenience setting to use same label placement on all child widgets.
469
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-labelPosition)
470
+ */
471
+ labelPosition ? : 'before'|'above'|'align-before'|'auto'|null
472
+ /**
473
+ * Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.
474
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-labelWidth)
475
+ */
476
+ labelWidth ? : number|null
477
+ /**
478
+ * The short name of a helper class which manages rendering and styling of child items.
479
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-layout)
480
+ */
481
+ layout ? : string|ContainerLayoutConfig
482
+ /**
483
+ * The CSS style properties to apply to the [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).
484
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-layoutStyle)
485
+ */
486
+ layoutStyle ? : object
487
+ /**
488
+ * An array of [child item](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#config-items) *config objects* which is to be converted into
489
+ * instances only when this Container is rendered, rather than eagerly at construct time.
490
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-lazyItems)
491
+ */
492
+ lazyItems ? : Record<string, ContainerItemConfig>|ContainerItemConfig[]|Widget[]
493
+ /**
494
+ * The listener set for this object.
495
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-listeners)
496
+ */
497
+ listeners ? : YearPlannerListeners
498
+ /**
499
+ * A class translations of which are used for translating this entity.
500
+ * This is often used when translations of an item are defined on its container class.
501
+ * For example:
502
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-localeClass)
503
+ */
504
+ localeClass ? : typeof Base
505
+ /**
506
+ * Set to `false` to disable localization of this object.
507
+ */
508
+ localizable ? : Boolean
509
+ /**
510
+ * List of properties which values should be translated automatically upon a locale applying.
511
+ * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
512
+ * you could use 'localeKey' meta configuration.
513
+ * Example:
514
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-localizableProperties)
515
+ */
516
+ localizableProperties ? : string[]
517
+ /**
518
+ * Widget's margin. This may be configured as a single number or a `TRBL` format string.
519
+ * numeric-only values are interpreted as pixels.
520
+ */
521
+ margin ? : number|string
522
+ /**
523
+ * This config object contains the defaults for the [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) created for the
524
+ * [masked](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these
525
+ * values.
526
+ */
527
+ maskDefaults ? : MaskConfig
528
+ /**
529
+ * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a
530
+ * [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) config object.
531
+ */
532
+ masked ? : Boolean|string|MaskConfig
533
+ /**
534
+ * The maximum date to which the `endDate` of this view may be navigated.
535
+ */
536
+ maxDate ? : Date|string
537
+ /**
538
+ * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that
539
+ * like [height](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
540
+ */
541
+ maxHeight ? : string|number
542
+ /**
543
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
544
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-maximizeOnMobile)
545
+ */
546
+ maximizeOnMobile ? : number|string
547
+ /**
548
+ * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that
549
+ * like [width](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
550
+ */
551
+ maxWidth ? : string|number
552
+ /**
553
+ * The minimum date to which the `startDate` of this view may be navigated.
554
+ */
555
+ minDate ? : Date|string
556
+ /**
557
+ * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that
558
+ * like [height](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
559
+ */
560
+ minHeight ? : string|number
561
+ /**
562
+ * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that
563
+ * like [width](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
564
+ */
565
+ minWidth ? : string|number
566
+ /**
567
+ * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
568
+ * is used to monitor this element for size changes caused by either style manipulation, or by CSS
569
+ * layout.
570
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-monitorResize)
571
+ * @property {boolean} immediate Set to `true` to receive resize notifications immediately.
572
+ */
573
+ monitorResize ? : Boolean|object
574
+ /**
575
+ * The [DateHelper](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper) format string for month names in the row headers.
576
+ * Each month row displays its month name on the left side using this format.
577
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-monthNameFormat)
578
+ */
579
+ monthNameFormat ? : 'MMMM'|'MMM'|'MM'|string
580
+ /**
581
+ * An object containing default config objects which may be referenced by name in the [items](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#config-items)
582
+ * config. For example, a specialized [Menu](https://bryntum.com/products/calendar/docs/api/Core/widget/Menu) subclass may have a `namedItems` default
583
+ * value defined like this:
584
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-namedItems)
585
+ */
586
+ namedItems ? : Record<string, ContainerItemConfig>
587
+ /**
588
+ * Non-working days as an object where keys are day indices, 0-6 (Sunday-Saturday), and the value is `true`.
589
+ * Defaults to [nonWorkingDays](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper#property-nonWorkingDays-static).
590
+ */
591
+ nonWorkingDays ? : Record<number, Boolean>
592
+ /**
593
+ * The class name to add to events which have an end date in the past. Defaults to `'b-past-event'`.
594
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-pastEventCls)
595
+ */
596
+ pastEventCls ? : string
597
+ /**
598
+ * 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
599
+ * not participate in the standard layout of that widget, and must be positioned relatively to that
600
+ * widget's [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).
601
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-positioned)
602
+ */
603
+ positioned ? : Boolean
604
+ /**
605
+ * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a
606
+ * menu on click etc, since the tooltip would be displayed at the same time.
607
+ */
608
+ preventTooltipOnTouch ? : Boolean
609
+ /**
610
+ * Whether this widget is read-only. This is only valid if the widget is an input
611
+ * field, <strong>or contains input fields at any depth</strong>.
612
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-readOnly)
613
+ */
614
+ readOnly ? : Boolean
615
+ relayStoreEvents ? : Boolean
616
+ /**
617
+ * Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
618
+ * `type`.
619
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-rendition)
620
+ */
621
+ rendition ? : string|Record<string, string>|null
622
+ /**
623
+ * Path to load resource images from. Used by the [showResourceAvatars](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-showResourceAvatars) config
624
+ * to create URLs using the resource's
625
+ * [image](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ResourceModel#field-image) or
626
+ * [imageUrl](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ResourceModel#field-imageUrl) fields:
627
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-resourceImagePath)
628
+ */
629
+ resourceImagePath ? : string
630
+ /**
631
+ * Configure as `true` to have the component display a translucent ripple when its
632
+ * [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
633
+ * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
634
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-ripple)
635
+ * @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
636
+ * @property {string} [color] A CSS color name or specification.
637
+ * @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
638
+ * @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.
639
+ */
640
+ ripple ? : Boolean|object
641
+ /**
642
+ * The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
643
+ * accidentally applying a role which may interfere with screen readers.
644
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-role)
645
+ */
646
+ role ? : string
647
+ /**
648
+ * 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`
649
+ */
650
+ rootElement ? : ShadowRoot|HTMLElement
651
+ /**
652
+ * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
653
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-rtl)
654
+ */
655
+ rtl ? : Boolean
656
+ /**
657
+ * Specifies whether (and optionally in which axes) a Widget may scroll. `true` means this widget may scroll
658
+ * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
659
+ * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
660
+ * CSS overflow properties thus:
661
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-scrollable)
662
+ */
663
+ scrollable ? : Boolean|ScrollerConfig|Scroller
664
+ /**
665
+ * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
666
+ * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
667
+ */
668
+ scrollAction ? : 'hide'|'realign'|null
669
+ /**
670
+ * A button configuration object to use for the automatically created mode selector button for this mode.
671
+ */
672
+ selectorButton ? : ButtonConfig
673
+ /**
674
+ * A menu item configuration object to use for the automatically created mode selector menu item for this mode.
675
+ */
676
+ selectorMenuItem ? : MenuItemConfig
677
+ /**
678
+ * A [DateHelper](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper) format string/function to use to create date output for
679
+ * abbreviated view descriptions.
680
+ * @param {Date} date The date to format.
681
+ * @returns {string} The formatted date.
682
+ */
683
+ shortDateFormat ? : string|((date: Date) => string)
684
+ /**
685
+ * A [DateHelper](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper) format string/function to use to create date and time output for
686
+ * abbreviated view descriptions.
687
+ * @param {Date} date The date to format.
688
+ * @returns {string} The formatted date.
689
+ */
690
+ shortDateTimeFormat ? : string|((date: Date) => string)
691
+ /**
692
+ * The class name to add to events which have duration less than or equal to
693
+ * [shortEventDuration](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventDuration).
694
+ */
695
+ shortEventCls ? : string
696
+ /**
697
+ * The duration threshold at or below which an event's encapsulating element gets
698
+ * the [shortEventCls](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventCls) added to it so that small event bars can have
699
+ * style rearrangements.
700
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-shortEventDuration)
701
+ */
702
+ shortEventDuration ? : DurationConfig|number|string
703
+ /**
704
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
705
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-showAnimation)
706
+ */
707
+ showAnimation ? : Boolean|object
708
+ /**
709
+ * This specifies whether to show a circular "bullet" icon if there is no
710
+ * [iconCls](https://bryntum.com/products/calendar/docs/api/Scheduler/model/EventModel#field-iconCls) defined for an event.
711
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-showBullet)
712
+ * @param {boolean} [bar] This is `false` by default. Set this to `true` in modes where a solid event bar should show a bullet icon
713
+ * @param {boolean} [noBar] This is `true` by default. Events with no background colour, use this to show the event's defined `eventColor`
714
+ */
715
+ showBullet ? : Boolean|{ bar?: Boolean, noBar?: Boolean }
716
+ /**
717
+ * Configure as `true` to show avatars of the assigned resources (calendars) at the
718
+ * start of the event bar.
719
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-showResourceAvatars)
720
+ */
721
+ showResourceAvatars ? : Boolean|string
722
+ /**
723
+ * 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)
724
+ */
725
+ showTooltipWhenDisabled ? : Boolean
726
+ /**
727
+ * Programmatic control over how many columns to span when used in a grid layout.
728
+ */
729
+ span ? : number
730
+ /**
731
+ * This value can be one of the following:
732
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-stateful)
733
+ */
734
+ stateful ? : Boolean|object|string[]
735
+ /**
736
+ * The events that, when fired by this component, should trigger it to save its state by calling
737
+ * [saveState](https://bryntum.com/products/calendar/docs/api/Core/mixin/State#function-saveState).
738
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-statefulEvents)
739
+ */
740
+ statefulEvents ? : object|string[]
741
+ /**
742
+ * The key to use when saving this object's state in the [stateProvider](https://bryntum.com/products/calendar/docs/api/Core/mixin/State#config-stateProvider). If this config is
743
+ * not assigned, and [stateful](https://bryntum.com/products/calendar/docs/api/Core/mixin/State#config-stateful) is not set to `false`, the [id](#Core/widget/Widget#config-id)
744
+ * (if explicitly specified) will be used as the `stateId`.
745
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-stateId)
746
+ */
747
+ stateId ? : string
748
+ /**
749
+ * The `StateProvider` to use to save and restore this object's [state](https://bryntum.com/products/calendar/docs/api/Core/mixin/State#property-state). By default, `state`
750
+ * will be saved using the [default state provider](https://bryntum.com/products/calendar/docs/api/Core/state/StateProvider#property-instance-static).
751
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-stateProvider)
752
+ */
753
+ stateProvider ? : StateProvider
754
+ /**
755
+ * Specify `true` to match fields by their `name` property only when assigning a [record](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#config-record),
756
+ * without falling back to `ref`.
757
+ */
758
+ strictRecordMapping ? : Boolean
759
+ /**
760
+ * An object containing widgets keyed by name. By default (when no `type` is given), strips are
761
+ * [toolbars](https://bryntum.com/products/calendar/docs/api/Core/widget/Toolbar). If you want to pass an array, you can use
762
+ * the toolbar's [items](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#config-items).
763
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-strips)
764
+ */
765
+ strips ? : Record<string, ContainerItemConfig>
766
+ /**
767
+ * The converse of [syncViewDate](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#property-syncViewDate)
768
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-syncCalendarDate)
769
+ */
770
+ syncCalendarDate ? : Boolean
771
+ /**
772
+ * The converse of [syncCalendarDate](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#property-syncCalendarDate)
773
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-syncViewDate)
774
+ */
775
+ syncViewDate ? : Boolean
776
+ /**
777
+ * 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
778
+ * [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
779
+ * this widget:
780
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-tab)
781
+ */
782
+ tab ? : Boolean|TabConfig
783
+ /**
784
+ * When this container is used as a tab in a TabPanel, these items are added to the
785
+ * [TabBar](https://bryntum.com/products/calendar/docs/api/Core/widget/TabBar) when this container is the active tab.
786
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-tabBarItems)
787
+ */
788
+ tabBarItems ? : ToolbarItems[]|Widget[]
789
+ /**
790
+ * The tag name of this Widget's root element
791
+ */
792
+ tag ? : string
793
+ /**
794
+ * The toolbar configuration for the YearPlanner. By default, includes a month filtering UI consisting
795
+ * of a group of toggleable buttons representing each month. Pressed buttons indicate visible months.
796
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-tbar)
797
+ */
798
+ tbar ? : ToolbarConfig|null
799
+ /**
800
+ * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
801
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-textAlign)
802
+ */
803
+ textAlign ? : 'left'|'center'|'right'|'start'|'end'
804
+ /**
805
+ * A [DateHelper](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper) format string/function used to format the time displayed in events
806
+ * @param {Date} date The date to format.
807
+ * @returns {string} The formatted date.
808
+ */
809
+ timeFormat ? : string|((date: Date) => string)
810
+ /**
811
+ * A title to display in the header or owning TabPanel. Causes creation and docking of a header
812
+ * to the top if no header is configured.
813
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-title)
814
+ */
815
+ title ? : string
816
+ /**
817
+ * The [tools](https://bryntum.com/products/calendar/docs/api/Core/widget/Tool) to add either before or after the `title` in the Panel header. Each
818
+ * property name is the reference by which an instantiated tool may be retrieved from the live
819
+ * `[tools](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Toolable#property-tools)` property.
820
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-tools)
821
+ */
822
+ tools ? : Record<string, ToolConfig>|null
823
+ /**
824
+ * Tooltip for the widget, either as a string or as a Tooltip config object.
825
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-tooltip)
826
+ */
827
+ tooltip ? : string|TooltipConfig|null
828
+ /**
829
+ * By default, tabbing within a Panel is not contained, ie you can TAB out of the Panel
830
+ * forwards or backwards.
831
+ * Configure this as `true` to disallow tabbing out of the Panel, and make tabbing circular within this Panel.
832
+ */
833
+ trapFocus ? : Boolean
834
+ type ? : 'yearplanner'
835
+ /**
836
+ * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
837
+ * as a space separated string, an array of strings, or as an object in which property names with truthy
838
+ * values are used as the class names.
839
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-ui)
840
+ */
841
+ ui ? : 'plain'|'toolbar'|string|object
842
+ /**
843
+ * A config object used to configure all child month row views. Each of the 12 month rows in
844
+ * the YearPlanner is an instance of [CalendarRow](https://bryntum.com/products/calendar/docs/api/Calendar/widget/CalendarRow) (specifically, the
845
+ * internal `YearPlannerRow` subclass).
846
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-view)
847
+ */
848
+ view ? : CalendarRowConfig
849
+ /**
850
+ * The week start day, 0 meaning Sunday, 6 meaning Saturday.
851
+ * Defaults to [weekStartDay](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper#property-weekStartDay-static).
852
+ */
853
+ weekStartDay ? : number
854
+ /**
855
+ * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/calendar/docs/api/Core/widget/Container).
856
+ * Higher weights go further down.
857
+ */
858
+ weight ? : number
859
+ /**
860
+ * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which
861
+ * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases
862
+ * this config is convenient.
863
+ */
864
+ width ? : string|number
865
+ /**
866
+ * A Scheduler-compatible working time config object containing `fromDay` and `toDay`
867
+ * properties which control which days of the week are visible.
868
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-workingTime)
869
+ * @property {number} workingTime.fromDay Day index 0-6 (0 is Sunday)
870
+ * @property {number} workingTime.toDay Day index 0-6 (0 is Sunday)
871
+ */
872
+ workingTime ? : { fromDay: number, toDay: number }
873
+ /**
874
+ * The x position for the widget.
875
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-x)
876
+ */
877
+ x ? : number
878
+ /**
879
+ * The y position for the widget.
880
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#config-y)
881
+ */
882
+ y ? : number
883
+ /**
884
+ * The year to display.
885
+ */
886
+ year ? : number
887
+
888
+ }>();
889
+
890
+ const emit = defineEmits<{
891
+ /**
892
+ * This event fires whenever the [autoCreate gesture](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-autoCreate) is detected
893
+ * and also when a [drag-create](https://bryntum.com/products/calendar/docs/api/Calendar/feature/CalendarDrag) gesture is detected.
894
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#event-beforeAutoCreate)
895
+ * @param {string} e Event name
896
+ * @param {object} params Event parameters
897
+ * @param {object} params.event Event object
898
+ * @param {Event} params.event.domEvent The DOM event which initiated the creation.
899
+ * @param {Date} params.event.date *DEPRECATED in favour of `startDate`.* The starting time of the event to be created. If this is in a `DayView`, this will be snapped according to the specification in [autoCreate](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-autoCreate)
900
+ * @param {Date} params.event.startDate The starting time of the event to be created. If this is in a `DayView`, this will be snapped according to the specification in [autoCreate](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-autoCreate)
901
+ * @param {Date} params.event.endDate The ending time of the event to be created.
902
+ * @param {Scheduler.model.ResourceModel} params.event.resourceRecord The resource if the UI includes a resource.
903
+ * @param {CalendarView} params.event.view This view.
904
+ */
905
+ (e: 'beforeAutoCreate', params: ((event: { domEvent: Event, date: Date, startDate: Date, endDate: Date, resourceRecord: ResourceModel, view: CalendarView }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
906
+ /**
907
+ * Triggered before a view's orientating date changes.
908
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#event-beforeChangeDate)
909
+ * @param {string} e Event name
910
+ * @param {object} params Event parameters
911
+ * @param {object} params.event Event object
912
+ * @param {Date} params.event.oldDate The current orientating date of this view.
913
+ * @param {Date} params.event.date The new date to which this view is to be orientated.
914
+ */
915
+ (e: 'beforeChangeDate', params: ((event: { oldDate: Date, date: Date }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
916
+ /**
917
+ * Fires before an object is destroyed.
918
+ * @param {string} e Event name
919
+ * @param {object} params Event parameters
920
+ * @param {object} params.event Event object
921
+ * @param {Core.Base} params.event.source The Object that is being destroyed.
922
+ */
923
+ (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
924
+ /**
925
+ * Triggered before a widget is hidden. Return `false` to prevent the action.
926
+ * @param {string} e Event name
927
+ * @param {object} params Event parameters
928
+ * @param {object} params.event Event object
929
+ * @param {Core.widget.Widget} params.event.source The widget being hidden.
930
+ */
931
+ (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
932
+ /**
933
+ * Fired before this container will load record values into its child fields. This is useful if you
934
+ * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
935
+ * @param {string} e Event name
936
+ * @param {object} params Event parameters
937
+ * @param {object} params.event Event object
938
+ * @param {Core.widget.Container} params.event.source The container
939
+ * @param {Core.data.Model} params.event.record The record
940
+ */
941
+ (e: 'beforeSetRecord', params: ((event: { source: Container, record: Model }) => void)|string): void
942
+ /**
943
+ * Triggered before a widget is shown. Return `false` to prevent the action.
944
+ * @param {string} e Event name
945
+ * @param {object} params Event parameters
946
+ * @param {object} params.event Event object
947
+ * @param {Core.widget.Widget,any} params.event.source The widget being shown
948
+ */
949
+ (e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
950
+ /**
951
+ * Fired before state is applied to the source. Allows editing the state object or preventing the operation.
952
+ * @param {string} e Event name
953
+ * @param {object} params Event parameters
954
+ * @param {object} params.event Event object
955
+ * @param {any} params.event.state State object config
956
+ */
957
+ (e: 'beforeStateApply', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
958
+ /**
959
+ * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
960
+ * @param {string} e Event name
961
+ * @param {object} params Event parameters
962
+ * @param {object} params.event Event object
963
+ * @param {any} params.event.state State object config
964
+ */
965
+ (e: 'beforeStateSave', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
966
+ /**
967
+ * Fires when any other event is fired from the object.
968
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#event-catchAll)
969
+ * @param {string} e Event name
970
+ * @param {object} params Event parameters
971
+ * @param {object} params.event Event object
972
+ * @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details
973
+ * @param {string} params.event.event.type The type of the event which is caught by the listener
974
+ */
975
+ (e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
976
+ /**
977
+ * Fires when a Panel is collapsed using the [collapsible](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsible) setting.
978
+ * @param {string} e Event name
979
+ * @param {object} params Event parameters
980
+ * @param {object} params.event Event object
981
+ * @param {Core.widget.Panel} params.event.source This Panel.
982
+ */
983
+ (e: 'collapse', params: ((event: { source: Panel }) => void)|string): void
984
+ /**
985
+ * Fires when an object is destroyed.
986
+ * @param {string} e Event name
987
+ * @param {object} params Event parameters
988
+ * @param {object} params.event Event object
989
+ * @param {Core.Base} params.event.source The Object that is being destroyed.
990
+ */
991
+ (e: 'destroy', params: ((event: { source: Base }) => void)|string): void
992
+ /**
993
+ * Fires when a field is mutated and the state of the [hasChanges](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#property-hasChanges) property changes
994
+ * @param {string} e Event name
995
+ * @param {object} params Event parameters
996
+ * @param {object} params.event Event object
997
+ * @param {Core.widget.Container} params.event.source The container.
998
+ * @param {boolean} params.event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.
999
+ */
1000
+ (e: 'dirtyStateChange', params: ((event: { source: Container, dirty: boolean }) => void)|string): void
1001
+ /**
1002
+ * Triggered when a widget's [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element) is available.
1003
+ * @param {string} e Event name
1004
+ * @param {object} params Event parameters
1005
+ * @param {object} params.event Event object
1006
+ * @param {HTMLElement} params.event.element The Widget's element.
1007
+ */
1008
+ (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
1009
+ /**
1010
+ * Fired when an [autoCreate](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-autoCreate) gesture has created a new event
1011
+ * and added it to the event store.
1012
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#event-eventAutoCreated)
1013
+ * @param {string} e Event name
1014
+ * @param {object} params Event parameters
1015
+ * @param {object} params.event Event object
1016
+ * @param {CalendarView} params.event.source This Calendar view instance.
1017
+ * @param {Scheduler.model.EventModel} params.event.eventRecord The new event record.
1018
+ */
1019
+ (e: 'eventAutoCreated', params: ((event: { source: CalendarView, eventRecord: EventModel }) => void)|string): void
1020
+ /**
1021
+ * Fires when a Panel is expanded using the [collapsible](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsible) setting.
1022
+ * @param {string} e Event name
1023
+ * @param {object} params Event parameters
1024
+ * @param {object} params.event Event object
1025
+ * @param {Core.widget.Panel} params.event.source This Panel.
1026
+ */
1027
+ (e: 'expand', params: ((event: { source: Panel }) => void)|string): void
1028
+ /**
1029
+ * Fired when focus enters this Widget.
1030
+ * @param {string} e Event name
1031
+ * @param {object} params Event parameters
1032
+ * @param {object} params.event Event object
1033
+ * @param {Core.widget.Widget} params.event.source This Widget
1034
+ * @param {HTMLElement} params.event.fromElement The element which lost focus.
1035
+ * @param {HTMLElement} params.event.toElement The element which gained focus.
1036
+ * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
1037
+ * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
1038
+ * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
1039
+ */
1040
+ (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
1041
+ /**
1042
+ * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
1043
+ * focus moving from within this Widget's ownership tree, even if there are floating widgets
1044
+ * will not trigger this event. This is when focus exits this widget completely.
1045
+ * @param {string} e Event name
1046
+ * @param {object} params Event parameters
1047
+ * @param {object} params.event Event object
1048
+ * @param {Core.widget.Widget} params.event.source This Widget
1049
+ * @param {HTMLElement} params.event.fromElement The element which lost focus.
1050
+ * @param {HTMLElement} params.event.toElement The element which gained focus.
1051
+ * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
1052
+ * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
1053
+ * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
1054
+ */
1055
+ (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
1056
+ /**
1057
+ * Triggered after a widget was hidden
1058
+ * @param {string} e Event name
1059
+ * @param {object} params Event parameters
1060
+ * @param {object} params.event Event object
1061
+ * @param {Core.widget.Widget} params.event.source The widget
1062
+ */
1063
+ (e: 'hide', params: ((event: { source: Widget }) => void)|string): void
1064
+ /**
1065
+ * Triggered when a widget which had been in a non-visible state for any reason
1066
+ * achieves visibility.
1067
+ * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearPlanner#event-paint)
1068
+ * @param {string} e Event name
1069
+ * @param {object} params Event parameters
1070
+ * @param {object} params.event Event object
1071
+ * @param {Core.widget.Widget} params.event.source The widget being painted.
1072
+ * @param {boolean} params.event.firstPaint `true` if this is the first paint.
1073
+ */
1074
+ (e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
1075
+ /**
1076
+ * Fired when a Widget's read only state is toggled
1077
+ * @param {string} e Event name
1078
+ * @param {object} params Event parameters
1079
+ * @param {object} params.event Event object
1080
+ * @param {boolean} params.event.readOnly Read only or not
1081
+ */
1082
+ (e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
1083
+ /**
1084
+ * This event is fired after a widget's elements have been synchronized due to a direct or indirect call
1085
+ * 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.
1086
+ */
1087
+ (e: 'recompose', params: (() => void)|string): void
1088
+ /**
1089
+ * 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`*.
1090
+ * @param {string} e Event name
1091
+ * @param {object} params Event parameters
1092
+ * @param {object} params.event Event object
1093
+ * @param {Core.widget.Widget} params.event.source This Widget
1094
+ * @param {number} params.event.width The new width
1095
+ * @param {number} params.event.height The new height
1096
+ * @param {number} params.event.oldWidth The old width
1097
+ * @param {number} params.event.oldHeight The old height
1098
+ */
1099
+ (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
1100
+ /**
1101
+ * Triggered after a widget is shown.
1102
+ * @param {string} e Event name
1103
+ * @param {object} params Event parameters
1104
+ * @param {object} params.event Event object
1105
+ * @param {Core.widget.Widget} params.event.source The widget
1106
+ */
1107
+ (e: 'show', params: ((event: { source: Widget }) => void)|string): void
1108
+ /**
1109
+ * A header [tool](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-tools) has been clicked.
1110
+ * @param {string} e Event name
1111
+ * @param {object} params Event parameters
1112
+ * @param {object} params.event Event object
1113
+ * @param {Core.widget.Tool} params.event.source This Panel.
1114
+ * @param {Core.widget.Tool} params.event.tool The tool which is being clicked.
1115
+ */
1116
+ (e: 'toolClick', params: ((event: { source: Tool, tool: Tool }) => void)|string): void
1117
+ }>();
1118
+
1119
+ const widgetData = {
1120
+ instanceClass : YearPlanner,
1121
+ instanceName : 'YearPlanner',
1122
+
1123
+ configNames : [
1124
+ 'activationKey',
1125
+ 'adopt',
1126
+ 'align',
1127
+ 'anchor',
1128
+ 'ariaDescription',
1129
+ 'ariaLabel',
1130
+ 'bbar',
1131
+ 'bodyCls',
1132
+ 'border',
1133
+ 'bubbleEvents',
1134
+ 'centered',
1135
+ 'collapsible',
1136
+ 'color',
1137
+ 'config',
1138
+ 'constrainTo',
1139
+ 'contentElementCls',
1140
+ 'dataField',
1141
+ 'date',
1142
+ 'dayNameFormat',
1143
+ 'defaultBindProperty',
1144
+ 'defaultFocus',
1145
+ 'defaults',
1146
+ 'descriptionRenderer',
1147
+ 'detectCSSCompatibilityIssues',
1148
+ 'dock',
1149
+ 'draggable',
1150
+ 'drawer',
1151
+ 'elementAttributes',
1152
+ 'eventHeaderRenderer',
1153
+ 'eventHeight',
1154
+ 'eventRenderer',
1155
+ 'eventSorter',
1156
+ 'floating',
1157
+ 'footer',
1158
+ 'getPrimaryResource',
1159
+ 'header',
1160
+ 'hideAnimation',
1161
+ 'hideWhenEmpty',
1162
+ 'icon',
1163
+ 'ignoreParentReadOnly',
1164
+ 'itemCls',
1165
+ 'lazyItems',
1166
+ 'listeners',
1167
+ 'localeClass',
1168
+ 'localizable',
1169
+ 'localizableProperties',
1170
+ 'maskDefaults',
1171
+ 'masked',
1172
+ 'monitorResize',
1173
+ 'monthNameFormat',
1174
+ 'namedItems',
1175
+ 'positioned',
1176
+ 'preventTooltipOnTouch',
1177
+ 'relayStoreEvents',
1178
+ 'resourceImagePath',
1179
+ 'ripple',
1180
+ 'role',
1181
+ 'rootElement',
1182
+ 'scrollAction',
1183
+ 'selectorButton',
1184
+ 'selectorMenuItem',
1185
+ 'shortEventCls',
1186
+ 'shortEventDuration',
1187
+ 'showAnimation',
1188
+ 'showBullet',
1189
+ 'showResourceAvatars',
1190
+ 'showTooltipWhenDisabled',
1191
+ 'stateful',
1192
+ 'statefulEvents',
1193
+ 'stateId',
1194
+ 'stateProvider',
1195
+ 'strips',
1196
+ 'tab',
1197
+ 'tabBarItems',
1198
+ 'tag',
1199
+ 'tbar',
1200
+ 'textAlign',
1201
+ 'timeFormat',
1202
+ 'trapFocus',
1203
+ 'type',
1204
+ 'ui',
1205
+ 'weekStartDay',
1206
+ 'weight',
1207
+ 'workingTime',
1208
+ 'year'
1209
+ ],
1210
+ propertyConfigNames : [
1211
+ 'alignSelf',
1212
+ 'allowDragCreate',
1213
+ 'allowDragMove',
1214
+ 'allowDragResize',
1215
+ 'animateTimeShift',
1216
+ 'appendTo',
1217
+ 'autoCreate',
1218
+ 'callOnFunctions',
1219
+ 'catchEventHandlerExceptions',
1220
+ 'cls',
1221
+ 'collapsed',
1222
+ 'column',
1223
+ 'dataset',
1224
+ 'dateFormat',
1225
+ 'dateSeparator',
1226
+ 'defaultScrollOptions',
1227
+ 'descriptionFormat',
1228
+ 'disabled',
1229
+ 'dragUnit',
1230
+ 'extendAllDayEndDay',
1231
+ 'extraData',
1232
+ 'filterEventResources',
1233
+ 'flex',
1234
+ 'height',
1235
+ 'hidden',
1236
+ 'hideNonWorkingDays',
1237
+ 'id',
1238
+ 'inputFieldAlign',
1239
+ 'insertBefore',
1240
+ 'insertFirst',
1241
+ 'keyMap',
1242
+ 'labelPosition',
1243
+ 'labelWidth',
1244
+ 'layout',
1245
+ 'layoutStyle',
1246
+ 'margin',
1247
+ 'maxDate',
1248
+ 'maxHeight',
1249
+ 'maximizeOnMobile',
1250
+ 'maxWidth',
1251
+ 'minDate',
1252
+ 'minHeight',
1253
+ 'minWidth',
1254
+ 'nonWorkingDays',
1255
+ 'onBeforeAutoCreate',
1256
+ 'onBeforeChangeDate',
1257
+ 'onBeforeDestroy',
1258
+ 'onBeforeHide',
1259
+ 'onBeforeSetRecord',
1260
+ 'onBeforeShow',
1261
+ 'onBeforeStateApply',
1262
+ 'onBeforeStateSave',
1263
+ 'onCatchAll',
1264
+ 'onCollapse',
1265
+ 'onDestroy',
1266
+ 'onDirtyStateChange',
1267
+ 'onElementCreated',
1268
+ 'onEventAutoCreated',
1269
+ 'onExpand',
1270
+ 'onFocusIn',
1271
+ 'onFocusOut',
1272
+ 'onHide',
1273
+ 'onPaint',
1274
+ 'onReadOnly',
1275
+ 'onRecompose',
1276
+ 'onResize',
1277
+ 'onShow',
1278
+ 'onToolClick',
1279
+ 'pastEventCls',
1280
+ 'readOnly',
1281
+ 'rendition',
1282
+ 'rtl',
1283
+ 'scrollable',
1284
+ 'shortDateFormat',
1285
+ 'shortDateTimeFormat',
1286
+ 'span',
1287
+ 'strictRecordMapping',
1288
+ 'syncCalendarDate',
1289
+ 'syncViewDate',
1290
+ 'title',
1291
+ 'tools',
1292
+ 'tooltip',
1293
+ 'view',
1294
+ 'width',
1295
+ 'x',
1296
+ 'y'
1297
+ ],
1298
+ propertyNames : [
1299
+ 'dayCellCls',
1300
+ 'items',
1301
+ 'parent',
1302
+ 'record',
1303
+ 'state',
1304
+ 'values'
1305
+ ],
1306
+ eventNames : [
1307
+ 'beforeAutoCreate',
1308
+ 'beforeChangeDate',
1309
+ 'beforeDestroy',
1310
+ 'beforeHide',
1311
+ 'beforeSetRecord',
1312
+ 'beforeShow',
1313
+ 'beforeStateApply',
1314
+ 'beforeStateSave',
1315
+ 'catchAll',
1316
+ 'collapse',
1317
+ 'destroy',
1318
+ 'dirtyStateChange',
1319
+ 'elementCreated',
1320
+ 'eventAutoCreated',
1321
+ 'expand',
1322
+ 'focusIn',
1323
+ 'focusOut',
1324
+ 'hide',
1325
+ 'paint',
1326
+ 'readOnly',
1327
+ 'recompose',
1328
+ 'resize',
1329
+ 'show',
1330
+ 'toolClick'
1331
+ ]
1332
+ };
1333
+
1334
+ const instance: {
1335
+ value?: YearPlanner
1336
+ } = {};
1337
+
1338
+ const refElement = ref<HTMLDivElement>()!;
1339
+ // Storage for teleports (in-cell Vue component instances) automatically renderer by template
1340
+ const teleports = ref(new Map());
1341
+
1342
+ // Provide teleports for processCellContent
1343
+ provide('teleports', teleports);
1344
+
1345
+ onMounted(() => {
1346
+
1347
+ const me = getCurrentInstance()!;
1348
+
1349
+ instance.value = WrapperHelper.createWidget<typeof YearPlanner>({
1350
+ me,
1351
+ widgetData,
1352
+ emit,
1353
+ element : refElement.value!,
1354
+ toRaw
1355
+ });
1356
+
1357
+ const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);
1358
+ WrapperHelper.watchProps(instance.value, widgetData, watcher);
1359
+ });
1360
+
1361
+ onBeforeUnmount(() => {
1362
+ // @ts-ignore
1363
+ instance.value?.destroy?.();
1364
+ });
1365
+
1366
+ defineExpose({
1367
+ instance,
1368
+ refElement,
1369
+ teleports
1370
+ });
1371
+
1372
+ </script>