@bryntum/calendar-vue-3 7.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (520) hide show
  1. package/README.md +53 -0
  2. package/lib/chunks/6e5LeSJU.js +348 -0
  3. package/lib/chunks/6e5LeSJU.js.map +1 -0
  4. package/lib/chunks/Au1iuOl5.js +231 -0
  5. package/lib/chunks/Au1iuOl5.js.map +1 -0
  6. package/lib/chunks/AuFgCdLX.js +265 -0
  7. package/lib/chunks/AuFgCdLX.js.map +1 -0
  8. package/lib/chunks/B4_IqbDS.js +313 -0
  9. package/lib/chunks/B4_IqbDS.js.map +1 -0
  10. package/lib/chunks/B7YXa-I1.js +315 -0
  11. package/lib/chunks/B7YXa-I1.js.map +1 -0
  12. package/lib/chunks/B8gugSPH.js +303 -0
  13. package/lib/chunks/B8gugSPH.js.map +1 -0
  14. package/lib/chunks/B9IN35xb.js +722 -0
  15. package/lib/chunks/B9IN35xb.js.map +1 -0
  16. package/lib/chunks/BCQU3pVW.js +332 -0
  17. package/lib/chunks/BCQU3pVW.js.map +1 -0
  18. package/lib/chunks/BCapNDrC.js +1138 -0
  19. package/lib/chunks/BCapNDrC.js.map +1 -0
  20. package/lib/chunks/BGB1Jol1.js +420 -0
  21. package/lib/chunks/BGB1Jol1.js.map +1 -0
  22. package/lib/chunks/BI1N0MIj.js +233 -0
  23. package/lib/chunks/BI1N0MIj.js.map +1 -0
  24. package/lib/chunks/BNOuYpbo.js +324 -0
  25. package/lib/chunks/BNOuYpbo.js.map +1 -0
  26. package/lib/chunks/BO4n9DQP.js +308 -0
  27. package/lib/chunks/BO4n9DQP.js.map +1 -0
  28. package/lib/chunks/BOcV1Utm.js +311 -0
  29. package/lib/chunks/BOcV1Utm.js.map +1 -0
  30. package/lib/chunks/BPTCZ6IE.js +385 -0
  31. package/lib/chunks/BPTCZ6IE.js.map +1 -0
  32. package/lib/chunks/BPonWkID.js +283 -0
  33. package/lib/chunks/BPonWkID.js.map +1 -0
  34. package/lib/chunks/BUN4Rk5-.js +287 -0
  35. package/lib/chunks/BUN4Rk5-.js.map +1 -0
  36. package/lib/chunks/BXimBVRa.js +515 -0
  37. package/lib/chunks/BXimBVRa.js.map +1 -0
  38. package/lib/chunks/Baux7HCy.js +157 -0
  39. package/lib/chunks/Baux7HCy.js.map +1 -0
  40. package/lib/chunks/BhoSqDZl.js +382 -0
  41. package/lib/chunks/BhoSqDZl.js.map +1 -0
  42. package/lib/chunks/BmShyJT9.js +283 -0
  43. package/lib/chunks/BmShyJT9.js.map +1 -0
  44. package/lib/chunks/Bpz21Q9F.js +279 -0
  45. package/lib/chunks/Bpz21Q9F.js.map +1 -0
  46. package/lib/chunks/Br_UPlga.js +322 -0
  47. package/lib/chunks/Br_UPlga.js.map +1 -0
  48. package/lib/chunks/BtTswK-2.js +380 -0
  49. package/lib/chunks/BtTswK-2.js.map +1 -0
  50. package/lib/chunks/BuuryInq.js +284 -0
  51. package/lib/chunks/BuuryInq.js.map +1 -0
  52. package/lib/chunks/BwlMnX42.js +273 -0
  53. package/lib/chunks/BwlMnX42.js.map +1 -0
  54. package/lib/chunks/BxJmG96S.js +673 -0
  55. package/lib/chunks/BxJmG96S.js.map +1 -0
  56. package/lib/chunks/BzUFQEuh.js +865 -0
  57. package/lib/chunks/BzUFQEuh.js.map +1 -0
  58. package/lib/chunks/C04gcDe3.js +90 -0
  59. package/lib/chunks/C04gcDe3.js.map +1 -0
  60. package/lib/chunks/C0MrmpSO.js +304 -0
  61. package/lib/chunks/C0MrmpSO.js.map +1 -0
  62. package/lib/chunks/C3SXPZJJ.js +332 -0
  63. package/lib/chunks/C3SXPZJJ.js.map +1 -0
  64. package/lib/chunks/CIQAmaY-.js +311 -0
  65. package/lib/chunks/CIQAmaY-.js.map +1 -0
  66. package/lib/chunks/CMw4TMDz.js +285 -0
  67. package/lib/chunks/CMw4TMDz.js.map +1 -0
  68. package/lib/chunks/COlyo1Wo.js +340 -0
  69. package/lib/chunks/COlyo1Wo.js.map +1 -0
  70. package/lib/chunks/COpeCHCq.js +331 -0
  71. package/lib/chunks/COpeCHCq.js.map +1 -0
  72. package/lib/chunks/CS4HSz2w.js +289 -0
  73. package/lib/chunks/CS4HSz2w.js.map +1 -0
  74. package/lib/chunks/C_mtEjpv.js +382 -0
  75. package/lib/chunks/C_mtEjpv.js.map +1 -0
  76. package/lib/chunks/ChCStTku.js +480 -0
  77. package/lib/chunks/ChCStTku.js.map +1 -0
  78. package/lib/chunks/CkcPGhiH.js +332 -0
  79. package/lib/chunks/CkcPGhiH.js.map +1 -0
  80. package/lib/chunks/Cl4Odf2t.js +316 -0
  81. package/lib/chunks/Cl4Odf2t.js.map +1 -0
  82. package/lib/chunks/ClGqwKHp.js +422 -0
  83. package/lib/chunks/ClGqwKHp.js.map +1 -0
  84. package/lib/chunks/CnJKO_p1.js +408 -0
  85. package/lib/chunks/CnJKO_p1.js.map +1 -0
  86. package/lib/chunks/CocHPfxT.js +305 -0
  87. package/lib/chunks/CocHPfxT.js.map +1 -0
  88. package/lib/chunks/Cpsh5wb1.js +326 -0
  89. package/lib/chunks/Cpsh5wb1.js.map +1 -0
  90. package/lib/chunks/CrReHJfD.js +641 -0
  91. package/lib/chunks/CrReHJfD.js.map +1 -0
  92. package/lib/chunks/Cz07volV.js +293 -0
  93. package/lib/chunks/Cz07volV.js.map +1 -0
  94. package/lib/chunks/D2pGT64x.js +318 -0
  95. package/lib/chunks/D2pGT64x.js.map +1 -0
  96. package/lib/chunks/D65UKHfq.js +301 -0
  97. package/lib/chunks/D65UKHfq.js.map +1 -0
  98. package/lib/chunks/DAPG7Ryp.js +506 -0
  99. package/lib/chunks/DAPG7Ryp.js.map +1 -0
  100. package/lib/chunks/DRBud7Vf.js +329 -0
  101. package/lib/chunks/DRBud7Vf.js.map +1 -0
  102. package/lib/chunks/DRk05Cde.js +28 -0
  103. package/lib/chunks/DRk05Cde.js.map +1 -0
  104. package/lib/chunks/DSQuUUDN.js +642 -0
  105. package/lib/chunks/DSQuUUDN.js.map +1 -0
  106. package/lib/chunks/DUc7x35-.js +285 -0
  107. package/lib/chunks/DUc7x35-.js.map +1 -0
  108. package/lib/chunks/DWa9zkiz.js +317 -0
  109. package/lib/chunks/DWa9zkiz.js.map +1 -0
  110. package/lib/chunks/DXlCOnqx.js +312 -0
  111. package/lib/chunks/DXlCOnqx.js.map +1 -0
  112. package/lib/chunks/DYF0breI.js +334 -0
  113. package/lib/chunks/DYF0breI.js.map +1 -0
  114. package/lib/chunks/DaG1s_Iy.js +299 -0
  115. package/lib/chunks/DaG1s_Iy.js.map +1 -0
  116. package/lib/chunks/Dcppz32C.js +311 -0
  117. package/lib/chunks/Dcppz32C.js.map +1 -0
  118. package/lib/chunks/Dehw9x4O.js +289 -0
  119. package/lib/chunks/Dehw9x4O.js.map +1 -0
  120. package/lib/chunks/DfqTiRbh.js +328 -0
  121. package/lib/chunks/DfqTiRbh.js.map +1 -0
  122. package/lib/chunks/DlS1ldri.js +326 -0
  123. package/lib/chunks/DlS1ldri.js.map +1 -0
  124. package/lib/chunks/Dn19CjWt.js +235 -0
  125. package/lib/chunks/Dn19CjWt.js.map +1 -0
  126. package/lib/chunks/DnHfXxVT.js +301 -0
  127. package/lib/chunks/DnHfXxVT.js.map +1 -0
  128. package/lib/chunks/DngkKfCU.js +302 -0
  129. package/lib/chunks/DngkKfCU.js.map +1 -0
  130. package/lib/chunks/DpOsHkDw.js +241 -0
  131. package/lib/chunks/DpOsHkDw.js.map +1 -0
  132. package/lib/chunks/Dr5r7W-p.js +348 -0
  133. package/lib/chunks/Dr5r7W-p.js.map +1 -0
  134. package/lib/chunks/Dw-ylqNh.js +311 -0
  135. package/lib/chunks/Dw-ylqNh.js.map +1 -0
  136. package/lib/chunks/Dxf58SvP.js +334 -0
  137. package/lib/chunks/Dxf58SvP.js.map +1 -0
  138. package/lib/chunks/H4veMHX5.js +1140 -0
  139. package/lib/chunks/H4veMHX5.js.map +1 -0
  140. package/lib/chunks/HdbtMGp9.js +285 -0
  141. package/lib/chunks/HdbtMGp9.js.map +1 -0
  142. package/lib/chunks/IO_Vc2Ew.js +446 -0
  143. package/lib/chunks/IO_Vc2Ew.js.map +1 -0
  144. package/lib/chunks/Jjh0qb7k.js +702 -0
  145. package/lib/chunks/Jjh0qb7k.js.map +1 -0
  146. package/lib/chunks/Ma6QaT97.js +515 -0
  147. package/lib/chunks/Ma6QaT97.js.map +1 -0
  148. package/lib/chunks/Ot6TFUU0.js +380 -0
  149. package/lib/chunks/Ot6TFUU0.js.map +1 -0
  150. package/lib/chunks/YwcGSX-M.js +289 -0
  151. package/lib/chunks/YwcGSX-M.js.map +1 -0
  152. package/lib/chunks/bCzZXC7O.js +277 -0
  153. package/lib/chunks/bCzZXC7O.js.map +1 -0
  154. package/lib/chunks/dR8Qrbh-.js +402 -0
  155. package/lib/chunks/dR8Qrbh-.js.map +1 -0
  156. package/lib/chunks/fKCtMbe3.js +281 -0
  157. package/lib/chunks/fKCtMbe3.js.map +1 -0
  158. package/lib/chunks/hHtgT0eU.js +520 -0
  159. package/lib/chunks/hHtgT0eU.js.map +1 -0
  160. package/lib/chunks/hfgcSOCj.js +305 -0
  161. package/lib/chunks/hfgcSOCj.js.map +1 -0
  162. package/lib/chunks/jvLNe3VS.js +639 -0
  163. package/lib/chunks/jvLNe3VS.js.map +1 -0
  164. package/lib/chunks/kRnC6m7g.js +461 -0
  165. package/lib/chunks/kRnC6m7g.js.map +1 -0
  166. package/lib/chunks/lsEyA_FU.js +313 -0
  167. package/lib/chunks/lsEyA_FU.js.map +1 -0
  168. package/lib/chunks/nuMBkhIE.js +527 -0
  169. package/lib/chunks/nuMBkhIE.js.map +1 -0
  170. package/lib/chunks/q6v1OTTI.js +344 -0
  171. package/lib/chunks/q6v1OTTI.js.map +1 -0
  172. package/lib/components/BryntumAIFilterField.js +5 -0
  173. package/lib/components/BryntumAIFilterField.js.map +1 -0
  174. package/lib/components/BryntumAgendaView.js +5 -0
  175. package/lib/components/BryntumAgendaView.js.map +1 -0
  176. package/lib/components/BryntumButton.js +5 -0
  177. package/lib/components/BryntumButton.js.map +1 -0
  178. package/lib/components/BryntumButtonGroup.js +5 -0
  179. package/lib/components/BryntumButtonGroup.js.map +1 -0
  180. package/lib/components/BryntumCalendar.js +5 -0
  181. package/lib/components/BryntumCalendar.js.map +1 -0
  182. package/lib/components/BryntumCalendarDatePicker.js +5 -0
  183. package/lib/components/BryntumCalendarDatePicker.js.map +1 -0
  184. package/lib/components/BryntumCalendarProjectModel.js +5 -0
  185. package/lib/components/BryntumCalendarProjectModel.js.map +1 -0
  186. package/lib/components/BryntumChatPanel.js +5 -0
  187. package/lib/components/BryntumChatPanel.js.map +1 -0
  188. package/lib/components/BryntumCheckbox.js +5 -0
  189. package/lib/components/BryntumCheckbox.js.map +1 -0
  190. package/lib/components/BryntumCheckboxGroup.js +5 -0
  191. package/lib/components/BryntumCheckboxGroup.js.map +1 -0
  192. package/lib/components/BryntumChecklistFilterCombo.js +5 -0
  193. package/lib/components/BryntumChecklistFilterCombo.js.map +1 -0
  194. package/lib/components/BryntumChipView.js +5 -0
  195. package/lib/components/BryntumChipView.js.map +1 -0
  196. package/lib/components/BryntumCodeEditor.js +5 -0
  197. package/lib/components/BryntumCodeEditor.js.map +1 -0
  198. package/lib/components/BryntumColorField.js +5 -0
  199. package/lib/components/BryntumColorField.js.map +1 -0
  200. package/lib/components/BryntumCombo.js +5 -0
  201. package/lib/components/BryntumCombo.js.map +1 -0
  202. package/lib/components/BryntumContainer.js +5 -0
  203. package/lib/components/BryntumContainer.js.map +1 -0
  204. package/lib/components/BryntumDateField.js +5 -0
  205. package/lib/components/BryntumDateField.js.map +1 -0
  206. package/lib/components/BryntumDatePicker.js +5 -0
  207. package/lib/components/BryntumDatePicker.js.map +1 -0
  208. package/lib/components/BryntumDateRangeField.js +5 -0
  209. package/lib/components/BryntumDateRangeField.js.map +1 -0
  210. package/lib/components/BryntumDateTimeField.js +5 -0
  211. package/lib/components/BryntumDateTimeField.js.map +1 -0
  212. package/lib/components/BryntumDayAgendaView.js +5 -0
  213. package/lib/components/BryntumDayAgendaView.js.map +1 -0
  214. package/lib/components/BryntumDayResourceView.js +5 -0
  215. package/lib/components/BryntumDayResourceView.js.map +1 -0
  216. package/lib/components/BryntumDayView.js +5 -0
  217. package/lib/components/BryntumDayView.js.map +1 -0
  218. package/lib/components/BryntumDemoCodeEditor.js +5 -0
  219. package/lib/components/BryntumDemoCodeEditor.js.map +1 -0
  220. package/lib/components/BryntumDemoHeader.js +5 -0
  221. package/lib/components/BryntumDemoHeader.js.map +1 -0
  222. package/lib/components/BryntumDisplayField.js +5 -0
  223. package/lib/components/BryntumDisplayField.js.map +1 -0
  224. package/lib/components/BryntumDurationField.js +5 -0
  225. package/lib/components/BryntumDurationField.js.map +1 -0
  226. package/lib/components/BryntumEditor.js +5 -0
  227. package/lib/components/BryntumEditor.js.map +1 -0
  228. package/lib/components/BryntumEventColorField.js +5 -0
  229. package/lib/components/BryntumEventColorField.js.map +1 -0
  230. package/lib/components/BryntumEventList.js +5 -0
  231. package/lib/components/BryntumEventList.js.map +1 -0
  232. package/lib/components/BryntumFieldFilterPicker.js +5 -0
  233. package/lib/components/BryntumFieldFilterPicker.js.map +1 -0
  234. package/lib/components/BryntumFieldFilterPickerGroup.js +5 -0
  235. package/lib/components/BryntumFieldFilterPickerGroup.js.map +1 -0
  236. package/lib/components/BryntumFieldSet.js +5 -0
  237. package/lib/components/BryntumFieldSet.js.map +1 -0
  238. package/lib/components/BryntumFileField.js +5 -0
  239. package/lib/components/BryntumFileField.js.map +1 -0
  240. package/lib/components/BryntumFilePicker.js +5 -0
  241. package/lib/components/BryntumFilePicker.js.map +1 -0
  242. package/lib/components/BryntumFilterField.js +5 -0
  243. package/lib/components/BryntumFilterField.js.map +1 -0
  244. package/lib/components/BryntumFullscreenButton.js +5 -0
  245. package/lib/components/BryntumFullscreenButton.js.map +1 -0
  246. package/lib/components/BryntumGrid.js +5 -0
  247. package/lib/components/BryntumGrid.js.map +1 -0
  248. package/lib/components/BryntumGridBase.js +5 -0
  249. package/lib/components/BryntumGridBase.js.map +1 -0
  250. package/lib/components/BryntumGridChartDesigner.js +5 -0
  251. package/lib/components/BryntumGridChartDesigner.js.map +1 -0
  252. package/lib/components/BryntumGridFieldFilterPicker.js +5 -0
  253. package/lib/components/BryntumGridFieldFilterPicker.js.map +1 -0
  254. package/lib/components/BryntumGridFieldFilterPickerGroup.js +5 -0
  255. package/lib/components/BryntumGridFieldFilterPickerGroup.js.map +1 -0
  256. package/lib/components/BryntumGroupBar.js +5 -0
  257. package/lib/components/BryntumGroupBar.js.map +1 -0
  258. package/lib/components/BryntumHint.js +5 -0
  259. package/lib/components/BryntumHint.js.map +1 -0
  260. package/lib/components/BryntumLabel.js +5 -0
  261. package/lib/components/BryntumLabel.js.map +1 -0
  262. package/lib/components/BryntumList.js +5 -0
  263. package/lib/components/BryntumList.js.map +1 -0
  264. package/lib/components/BryntumMenu.js +5 -0
  265. package/lib/components/BryntumMenu.js.map +1 -0
  266. package/lib/components/BryntumModeSelector.js +5 -0
  267. package/lib/components/BryntumModeSelector.js.map +1 -0
  268. package/lib/components/BryntumMonthAgendaView.js +5 -0
  269. package/lib/components/BryntumMonthAgendaView.js.map +1 -0
  270. package/lib/components/BryntumMonthGrid.js +5 -0
  271. package/lib/components/BryntumMonthGrid.js.map +1 -0
  272. package/lib/components/BryntumMonthPicker.js +5 -0
  273. package/lib/components/BryntumMonthPicker.js.map +1 -0
  274. package/lib/components/BryntumMonthView.js +5 -0
  275. package/lib/components/BryntumMonthView.js.map +1 -0
  276. package/lib/components/BryntumNumberField.js +5 -0
  277. package/lib/components/BryntumNumberField.js.map +1 -0
  278. package/lib/components/BryntumPagingToolbar.js +5 -0
  279. package/lib/components/BryntumPagingToolbar.js.map +1 -0
  280. package/lib/components/BryntumPanel.js +5 -0
  281. package/lib/components/BryntumPanel.js.map +1 -0
  282. package/lib/components/BryntumPasswordField.js +5 -0
  283. package/lib/components/BryntumPasswordField.js.map +1 -0
  284. package/lib/components/BryntumProjectCombo.js +5 -0
  285. package/lib/components/BryntumProjectCombo.js.map +1 -0
  286. package/lib/components/BryntumRadio.js +5 -0
  287. package/lib/components/BryntumRadio.js.map +1 -0
  288. package/lib/components/BryntumRadioGroup.js +5 -0
  289. package/lib/components/BryntumRadioGroup.js.map +1 -0
  290. package/lib/components/BryntumRangeMenu.js +5 -0
  291. package/lib/components/BryntumRangeMenu.js.map +1 -0
  292. package/lib/components/BryntumResourceCombo.js +5 -0
  293. package/lib/components/BryntumResourceCombo.js.map +1 -0
  294. package/lib/components/BryntumResourceFilter.js +5 -0
  295. package/lib/components/BryntumResourceFilter.js.map +1 -0
  296. package/lib/components/BryntumResourceView.js +5 -0
  297. package/lib/components/BryntumResourceView.js.map +1 -0
  298. package/lib/components/BryntumScheduler.js +5 -0
  299. package/lib/components/BryntumScheduler.js.map +1 -0
  300. package/lib/components/BryntumSchedulerBase.js +5 -0
  301. package/lib/components/BryntumSchedulerBase.js.map +1 -0
  302. package/lib/components/BryntumSchedulerDatePicker.js +5 -0
  303. package/lib/components/BryntumSchedulerDatePicker.js.map +1 -0
  304. package/lib/components/BryntumSlideToggle.js +5 -0
  305. package/lib/components/BryntumSlideToggle.js.map +1 -0
  306. package/lib/components/BryntumSlider.js +5 -0
  307. package/lib/components/BryntumSlider.js.map +1 -0
  308. package/lib/components/BryntumSplitter.js +5 -0
  309. package/lib/components/BryntumSplitter.js.map +1 -0
  310. package/lib/components/BryntumTabPanel.js +5 -0
  311. package/lib/components/BryntumTabPanel.js.map +1 -0
  312. package/lib/components/BryntumTextAreaField.js +5 -0
  313. package/lib/components/BryntumTextAreaField.js.map +1 -0
  314. package/lib/components/BryntumTextAreaPickerField.js +5 -0
  315. package/lib/components/BryntumTextAreaPickerField.js.map +1 -0
  316. package/lib/components/BryntumTextField.js +5 -0
  317. package/lib/components/BryntumTextField.js.map +1 -0
  318. package/lib/components/BryntumTimeField.js +5 -0
  319. package/lib/components/BryntumTimeField.js.map +1 -0
  320. package/lib/components/BryntumTimePicker.js +5 -0
  321. package/lib/components/BryntumTimePicker.js.map +1 -0
  322. package/lib/components/BryntumTimelineHistogram.js +5 -0
  323. package/lib/components/BryntumTimelineHistogram.js.map +1 -0
  324. package/lib/components/BryntumToolbar.js +5 -0
  325. package/lib/components/BryntumToolbar.js.map +1 -0
  326. package/lib/components/BryntumTreeCombo.js +5 -0
  327. package/lib/components/BryntumTreeCombo.js.map +1 -0
  328. package/lib/components/BryntumTreeGrid.js +5 -0
  329. package/lib/components/BryntumTreeGrid.js.map +1 -0
  330. package/lib/components/BryntumUndoRedo.js +5 -0
  331. package/lib/components/BryntumUndoRedo.js.map +1 -0
  332. package/lib/components/BryntumViewPresetCombo.js +5 -0
  333. package/lib/components/BryntumViewPresetCombo.js.map +1 -0
  334. package/lib/components/BryntumWeekView.js +5 -0
  335. package/lib/components/BryntumWeekView.js.map +1 -0
  336. package/lib/components/BryntumWidget.js +5 -0
  337. package/lib/components/BryntumWidget.js.map +1 -0
  338. package/lib/components/BryntumYearPicker.js +5 -0
  339. package/lib/components/BryntumYearPicker.js.map +1 -0
  340. package/lib/components/BryntumYearView.js +5 -0
  341. package/lib/components/BryntumYearView.js.map +1 -0
  342. package/lib/helper/WrapperHelper.js +291 -0
  343. package/lib/helper/WrapperHelper.js.map +1 -0
  344. package/lib/index.d.ts +5 -0
  345. package/lib/index.js +174 -0
  346. package/lib/index.js.map +1 -0
  347. package/license.pdf +0 -0
  348. package/licenses.md +310 -0
  349. package/package.json +27 -0
  350. package/src/components/BryntumAIFilterField.vue +1063 -0
  351. package/src/components/BryntumAIFilterFieldProps.ts +646 -0
  352. package/src/components/BryntumAgendaView.vue +3328 -0
  353. package/src/components/BryntumAgendaViewProps.ts +1448 -0
  354. package/src/components/BryntumButton.vue +952 -0
  355. package/src/components/BryntumButtonGroup.vue +967 -0
  356. package/src/components/BryntumButtonGroupProps.ts +575 -0
  357. package/src/components/BryntumButtonProps.ts +556 -0
  358. package/src/components/BryntumCalendar.vue +3027 -0
  359. package/src/components/BryntumCalendarDatePicker.vue +1540 -0
  360. package/src/components/BryntumCalendarDatePickerProps.ts +1002 -0
  361. package/src/components/BryntumCalendarProjectModel.vue +439 -0
  362. package/src/components/BryntumCalendarProjectModelProps.ts +279 -0
  363. package/src/components/BryntumCalendarProps.ts +1137 -0
  364. package/src/components/BryntumChatPanel.vue +1159 -0
  365. package/src/components/BryntumChatPanelProps.ts +707 -0
  366. package/src/components/BryntumCheckbox.vue +1071 -0
  367. package/src/components/BryntumCheckboxGroup.vue +1193 -0
  368. package/src/components/BryntumCheckboxGroupProps.ts +739 -0
  369. package/src/components/BryntumCheckboxProps.ts +631 -0
  370. package/src/components/BryntumChecklistFilterCombo.vue +1309 -0
  371. package/src/components/BryntumChecklistFilterComboProps.ts +846 -0
  372. package/src/components/BryntumChipView.vue +979 -0
  373. package/src/components/BryntumChipViewProps.ts +583 -0
  374. package/src/components/BryntumCodeEditor.vue +1136 -0
  375. package/src/components/BryntumCodeEditorProps.ts +708 -0
  376. package/src/components/BryntumColorField.vue +1060 -0
  377. package/src/components/BryntumColorFieldProps.ts +642 -0
  378. package/src/components/BryntumCombo.vue +1298 -0
  379. package/src/components/BryntumComboProps.ts +838 -0
  380. package/src/components/BryntumContainer.vue +917 -0
  381. package/src/components/BryntumContainerProps.ts +563 -0
  382. package/src/components/BryntumDateField.vue +1120 -0
  383. package/src/components/BryntumDateFieldProps.ts +693 -0
  384. package/src/components/BryntumDatePicker.vue +1427 -0
  385. package/src/components/BryntumDatePickerProps.ts +898 -0
  386. package/src/components/BryntumDateRangeField.vue +1122 -0
  387. package/src/components/BryntumDateRangeFieldProps.ts +694 -0
  388. package/src/components/BryntumDateTimeField.vue +1007 -0
  389. package/src/components/BryntumDateTimeFieldProps.ts +600 -0
  390. package/src/components/BryntumDayAgendaView.vue +1979 -0
  391. package/src/components/BryntumDayAgendaViewProps.ts +1270 -0
  392. package/src/components/BryntumDayResourceView.vue +2044 -0
  393. package/src/components/BryntumDayResourceViewProps.ts +1334 -0
  394. package/src/components/BryntumDayView.vue +1999 -0
  395. package/src/components/BryntumDayViewProps.ts +1295 -0
  396. package/src/components/BryntumDemoCodeEditor.vue +1152 -0
  397. package/src/components/BryntumDemoCodeEditorProps.ts +721 -0
  398. package/src/components/BryntumDemoHeader.vue +131 -0
  399. package/src/components/BryntumDisplayField.vue +1044 -0
  400. package/src/components/BryntumDisplayFieldProps.ts +632 -0
  401. package/src/components/BryntumDurationField.vue +1103 -0
  402. package/src/components/BryntumDurationFieldProps.ts +683 -0
  403. package/src/components/BryntumEditor.vue +1093 -0
  404. package/src/components/BryntumEditorProps.ts +622 -0
  405. package/src/components/BryntumEventColorField.vue +1060 -0
  406. package/src/components/BryntumEventColorFieldProps.ts +642 -0
  407. package/src/components/BryntumEventList.vue +3255 -0
  408. package/src/components/BryntumEventListProps.ts +1403 -0
  409. package/src/components/BryntumFieldFilterPicker.vue +1002 -0
  410. package/src/components/BryntumFieldFilterPickerGroup.vue +1038 -0
  411. package/src/components/BryntumFieldFilterPickerGroupProps.ts +646 -0
  412. package/src/components/BryntumFieldFilterPickerProps.ts +624 -0
  413. package/src/components/BryntumFieldSet.vue +1129 -0
  414. package/src/components/BryntumFieldSetProps.ts +703 -0
  415. package/src/components/BryntumFileField.vue +1047 -0
  416. package/src/components/BryntumFileFieldProps.ts +634 -0
  417. package/src/components/BryntumFilePicker.vue +948 -0
  418. package/src/components/BryntumFilePickerProps.ts +575 -0
  419. package/src/components/BryntumFilterField.vue +1088 -0
  420. package/src/components/BryntumFilterFieldProps.ts +668 -0
  421. package/src/components/BryntumFullscreenButton.vue +38 -0
  422. package/src/components/BryntumGrid.vue +2759 -0
  423. package/src/components/BryntumGridBase.vue +2756 -0
  424. package/src/components/BryntumGridBaseProps.ts +1027 -0
  425. package/src/components/BryntumGridChartDesigner.vue +778 -0
  426. package/src/components/BryntumGridChartDesignerProps.ts +466 -0
  427. package/src/components/BryntumGridFieldFilterPicker.vue +1015 -0
  428. package/src/components/BryntumGridFieldFilterPickerGroup.vue +1032 -0
  429. package/src/components/BryntumGridFieldFilterPickerGroupProps.ts +641 -0
  430. package/src/components/BryntumGridFieldFilterPickerProps.ts +636 -0
  431. package/src/components/BryntumGridProps.ts +1028 -0
  432. package/src/components/BryntumGroupBar.vue +979 -0
  433. package/src/components/BryntumGroupBarProps.ts +583 -0
  434. package/src/components/BryntumHint.vue +1199 -0
  435. package/src/components/BryntumHintProps.ts +753 -0
  436. package/src/components/BryntumLabel.vue +770 -0
  437. package/src/components/BryntumLabelProps.ts +459 -0
  438. package/src/components/BryntumList.vue +956 -0
  439. package/src/components/BryntumListProps.ts +563 -0
  440. package/src/components/BryntumMenu.vue +1223 -0
  441. package/src/components/BryntumMenuProps.ts +749 -0
  442. package/src/components/BryntumModeSelector.vue +945 -0
  443. package/src/components/BryntumModeSelectorProps.ts +586 -0
  444. package/src/components/BryntumMonthAgendaView.vue +1775 -0
  445. package/src/components/BryntumMonthAgendaViewProps.ts +1162 -0
  446. package/src/components/BryntumMonthGrid.vue +1767 -0
  447. package/src/components/BryntumMonthGridProps.ts +1028 -0
  448. package/src/components/BryntumMonthPicker.vue +1133 -0
  449. package/src/components/BryntumMonthPickerProps.ts +688 -0
  450. package/src/components/BryntumMonthView.vue +1939 -0
  451. package/src/components/BryntumMonthViewProps.ts +1189 -0
  452. package/src/components/BryntumNumberField.vue +1090 -0
  453. package/src/components/BryntumNumberFieldProps.ts +671 -0
  454. package/src/components/BryntumPagingToolbar.vue +989 -0
  455. package/src/components/BryntumPagingToolbarProps.ts +592 -0
  456. package/src/components/BryntumPanel.vue +1106 -0
  457. package/src/components/BryntumPanelProps.ts +684 -0
  458. package/src/components/BryntumPasswordField.vue +1034 -0
  459. package/src/components/BryntumPasswordFieldProps.ts +623 -0
  460. package/src/components/BryntumProjectCombo.vue +1300 -0
  461. package/src/components/BryntumProjectComboProps.ts +839 -0
  462. package/src/components/BryntumRadio.vue +1071 -0
  463. package/src/components/BryntumRadioGroup.vue +1159 -0
  464. package/src/components/BryntumRadioGroupProps.ts +729 -0
  465. package/src/components/BryntumRadioProps.ts +631 -0
  466. package/src/components/BryntumRangeMenu.vue +1223 -0
  467. package/src/components/BryntumRangeMenuProps.ts +749 -0
  468. package/src/components/BryntumResourceCombo.vue +1303 -0
  469. package/src/components/BryntumResourceComboProps.ts +842 -0
  470. package/src/components/BryntumResourceFilter.vue +998 -0
  471. package/src/components/BryntumResourceFilterProps.ts +589 -0
  472. package/src/components/BryntumResourceView.vue +1556 -0
  473. package/src/components/BryntumResourceViewProps.ts +995 -0
  474. package/src/components/BryntumScheduler.vue +5828 -0
  475. package/src/components/BryntumSchedulerBase.vue +5826 -0
  476. package/src/components/BryntumSchedulerBaseProps.ts +2050 -0
  477. package/src/components/BryntumSchedulerDatePicker.vue +1451 -0
  478. package/src/components/BryntumSchedulerDatePickerProps.ts +919 -0
  479. package/src/components/BryntumSchedulerProps.ts +2051 -0
  480. package/src/components/BryntumSlideToggle.vue +1071 -0
  481. package/src/components/BryntumSlideToggleProps.ts +631 -0
  482. package/src/components/BryntumSlider.vue +871 -0
  483. package/src/components/BryntumSliderProps.ts +523 -0
  484. package/src/components/BryntumSplitter.vue +813 -0
  485. package/src/components/BryntumSplitterProps.ts +468 -0
  486. package/src/components/BryntumTabPanel.vue +1164 -0
  487. package/src/components/BryntumTabPanelProps.ts +710 -0
  488. package/src/components/BryntumTextAreaField.vue +1046 -0
  489. package/src/components/BryntumTextAreaFieldProps.ts +633 -0
  490. package/src/components/BryntumTextAreaPickerField.vue +1067 -0
  491. package/src/components/BryntumTextAreaPickerFieldProps.ts +648 -0
  492. package/src/components/BryntumTextField.vue +1052 -0
  493. package/src/components/BryntumTextFieldProps.ts +637 -0
  494. package/src/components/BryntumTimeField.vue +1101 -0
  495. package/src/components/BryntumTimeFieldProps.ts +677 -0
  496. package/src/components/BryntumTimePicker.vue +952 -0
  497. package/src/components/BryntumTimePickerProps.ts +583 -0
  498. package/src/components/BryntumTimelineHistogram.vue +3893 -0
  499. package/src/components/BryntumTimelineHistogramProps.ts +1560 -0
  500. package/src/components/BryntumToolbar.vue +982 -0
  501. package/src/components/BryntumToolbarProps.ts +586 -0
  502. package/src/components/BryntumTreeCombo.vue +1298 -0
  503. package/src/components/BryntumTreeComboProps.ts +838 -0
  504. package/src/components/BryntumTreeGrid.vue +2758 -0
  505. package/src/components/BryntumTreeGridProps.ts +1028 -0
  506. package/src/components/BryntumUndoRedo.vue +941 -0
  507. package/src/components/BryntumUndoRedoProps.ts +583 -0
  508. package/src/components/BryntumViewPresetCombo.vue +979 -0
  509. package/src/components/BryntumViewPresetComboProps.ts +575 -0
  510. package/src/components/BryntumWeekView.vue +1999 -0
  511. package/src/components/BryntumWeekViewProps.ts +1295 -0
  512. package/src/components/BryntumWidget.vue +765 -0
  513. package/src/components/BryntumWidgetProps.ts +455 -0
  514. package/src/components/BryntumYearPicker.vue +1144 -0
  515. package/src/components/BryntumYearPickerProps.ts +705 -0
  516. package/src/components/BryntumYearView.vue +1701 -0
  517. package/src/components/BryntumYearViewProps.ts +1061 -0
  518. package/src/helper/WrapperHelper.ts +573 -0
  519. package/src/index.ts +173 -0
  520. package/src/vite-env.d.ts +1 -0
@@ -0,0 +1,1701 @@
1
+ <!-- Vue 3 wrapper for Bryntum YearView -->
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, CalendarView, Container, ContainerItemConfig, ContainerLayoutConfig, DayCell, DomConfig, EventBar, EventModel, KeyMapConfig, MaskConfig, MenuItemConfig, MenuItemEntry, Model, OverflowPopup, OverflowPopupConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, ResourceModel, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget, YearCell, YearViewListeners } from '@bryntum/calendar';
14
+ import { YearView } 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
+ * ...
23
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-activationKey)
24
+ */
25
+ activationKey ? : string
26
+ /**
27
+ * Element (or element id) to adopt as this Widget's encapsulating element. The widget's
28
+ * content will be placed inside this element.
29
+ * ...
30
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-adopt)
31
+ */
32
+ adopt ? : HTMLElement|string
33
+ /**
34
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
35
+ * ...
36
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-align)
37
+ */
38
+ align ? : AlignSpec|string
39
+ /**
40
+ * 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
41
+ * flexbox layout. This config allows you to set this widget's
42
+ * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.
43
+ */
44
+ alignSelf ? : string
45
+ /**
46
+ * Configure this as `false` to disable drag-creating events in this view.
47
+ */
48
+ allowDragCreate ? : Boolean
49
+ /**
50
+ * Configure this as `false` to disable drag-moving events in this view.
51
+ */
52
+ allowDragMove ? : Boolean
53
+ /**
54
+ * Configure this as `false` to disable drag-resizing events in this view.
55
+ */
56
+ allowDragResize ? : Boolean
57
+ /**
58
+ * *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).*
59
+ * `true` to show a connector arrow pointing to the align target.
60
+ */
61
+ anchor ? : Boolean
62
+ /**
63
+ * By default, when navigating through time, the next time
64
+ * block will be animated in from the appropriate direction.
65
+ * ...
66
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-animateTimeShift)
67
+ */
68
+ animateTimeShift ? : Boolean
69
+ /**
70
+ * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
71
+ * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).
72
+ */
73
+ appendTo ? : HTMLElement|string
74
+ /**
75
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
76
+ * into an element which will be linked using the `aria-describedby` attribute.
77
+ * ...
78
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-ariaDescription)
79
+ */
80
+ ariaDescription ? : string
81
+ /**
82
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
83
+ * the `aria-label` attribute.
84
+ * ...
85
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-ariaLabel)
86
+ */
87
+ ariaLabel ? : string
88
+ /**
89
+ * If this config is set, then the `gesture` configured (which defaults to `dblclick`) creates a
90
+ * new event at the mouse or touch event's time point.
91
+ * ...
92
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-autoCreate)
93
+ */
94
+ autoCreate ? : {
95
+ gesture?: string
96
+ newName?: Function|string
97
+ step?: string
98
+ snapType?: 'round'|'ceil'|'floor'
99
+ duration?: string
100
+ startHour?: number
101
+ }|string|Boolean
102
+ /**
103
+ * A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/calendar/docs/api/Core/widget/Toolbar),
104
+ * 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).
105
+ * ...
106
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-bbar)
107
+ */
108
+ bbar ? : (ContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
109
+ /**
110
+ * Custom CSS classes to add to the panel's body element.
111
+ * ...
112
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-bodyCls)
113
+ */
114
+ bodyCls ? : string|object
115
+ /**
116
+ * An object where property names with a truthy value indicate which events should bubble up the ownership
117
+ * hierarchy when triggered.
118
+ * ...
119
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-bubbleEvents)
120
+ */
121
+ bubbleEvents ? : object
122
+ /**
123
+ * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
124
+ * ...
125
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-callOnFunctions)
126
+ */
127
+ callOnFunctions ? : Boolean
128
+ /**
129
+ * By default, if an event handler throws an exception, the error propagates up the stack and the
130
+ * application state is undefined. Code which follows the event handler will *not* be executed.
131
+ * ...
132
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-catchEventHandlerExceptions)
133
+ */
134
+ catchEventHandlerExceptions ? : Boolean
135
+ /**
136
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
137
+ * Set to `true` to centre the Widget in browser viewport space.
138
+ */
139
+ centered ? : Boolean
140
+ /**
141
+ * Custom CSS classes to add to element.
142
+ * May be specified as a space separated string, or as an object in which property names
143
+ * with truthy values are used as the class names:
144
+ * ...
145
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-cls)
146
+ */
147
+ cls ? : string|object
148
+ /**
149
+ * Controls whether the panel is collapsed (the body of the panel is hidden while only the header is
150
+ * visible). Only valid if the panel is [collapsible](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsible).
151
+ */
152
+ collapsed ? : Boolean
153
+ /**
154
+ * This config enables collapsibility for the panel. See [collapsed](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsed).
155
+ * ...
156
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-collapsible)
157
+ */
158
+ collapsible ? : Boolean|PanelCollapserConfig|PanelCollapserOverlayConfig
159
+ /**
160
+ * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
161
+ * `style` block.
162
+ * ...
163
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-color)
164
+ */
165
+ color ? : string
166
+ /**
167
+ * Programmatic control over which column to start in when used in a grid layout.
168
+ */
169
+ column ? : number
170
+ config ? : object
171
+ /**
172
+ * *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).*
173
+ * Element, Widget or Rectangle to which this Widget is constrained.
174
+ */
175
+ constrainTo ? : HTMLElement|Widget|Rectangle
176
+ /**
177
+ * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).
178
+ * May be specified as a space separated string, or as an object in which property names
179
+ * with truthy values are used as the class names:
180
+ * ...
181
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-contentElementCls)
182
+ */
183
+ contentElementCls ? : string|object
184
+ /**
185
+ * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the
186
+ * field on the expanded record to use for populating this widget's store (if applicable)
187
+ */
188
+ dataField ? : string
189
+ /**
190
+ * Object to apply to elements dataset (each key will be used as a data-attribute on the element)
191
+ */
192
+ dataset ? : Record<string, string>
193
+ /**
194
+ * A date which specifies the year to display. All types of calendar view have a `date`
195
+ * config which they use to set their visible date range according to their configuration
196
+ * and type.
197
+ */
198
+ date ? : Date
199
+ /**
200
+ * A [DateHelper](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper) format string/function to use to create date output for view descriptions.
201
+ * @param {Date} date The date to format.
202
+ * @returns {string} The formatted date.
203
+ */
204
+ dateFormat ? : string|((date: Date) => string)
205
+ /**
206
+ * 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).
207
+ */
208
+ dateSeparator ? : string
209
+ /**
210
+ * The [DateHelper](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper) format string/function to format the day names
211
+ * in the header part of each calendar cell.
212
+ * @param {Date} date The date to format.
213
+ * @returns {string} The formatted date.
214
+ */
215
+ dayCellNameFormat ? : string|((date: Date) => string)
216
+ /**
217
+ * An empty function by default, but provided so that you can override it.
218
+ * ...
219
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-dayCellRenderer)
220
+ * @param {YearCell} cellData A `DayCell` object that contains data about the cell.
221
+ * @returns {DomConfig,string,void}
222
+ */
223
+ dayCellRenderer ? : (cellData: YearCell) => DomConfig|string|void
224
+ /**
225
+ * The name of the property to set when a single value is to be applied to this Widget. Such as when used
226
+ * in a grid WidgetColumn, this is the property to which the column's `field` is applied.
227
+ */
228
+ defaultBindProperty ? : string
229
+ /**
230
+ * A [query](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
231
+ * focus should be directed by default.
232
+ * ...
233
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-defaultFocus)
234
+ * @param {Core.widget.Widget} widget Widget passed to method
235
+ * @returns {boolean} truthy value if widget is the default one
236
+ */
237
+ defaultFocus ? : ((widget: Widget) => Boolean)|string
238
+ /**
239
+ * A config object containing default settings to apply to all child widgets.
240
+ */
241
+ defaults ? : ContainerItemConfig
242
+ /**
243
+ * 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.
244
+ * ...
245
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-defaultScrollOptions)
246
+ */
247
+ defaultScrollOptions ? : BryntumScrollOptions
248
+ /**
249
+ * 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.
250
+ * 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
251
+ * be used.
252
+ * ...
253
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-descriptionFormat)
254
+ * @param {Date} date The date to format.
255
+ * @returns {string} The formatted date.
256
+ */
257
+ descriptionFormat ? : string|string[]|Boolean[]|((date: Date) => string)|Function[]
258
+ /**
259
+ * A function that provides the textual description for this view. If provided, this function overrides the
260
+ * [descriptionFormat](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/Describable#config-descriptionFormat).
261
+ * ...
262
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-descriptionRenderer)
263
+ * @param {Core.widget.Widget} view The active view in case the function is in another scope.
264
+ * @returns {string} Description string
265
+ */
266
+ descriptionRenderer ? : (view: Widget) => string
267
+ /**
268
+ * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
269
+ * ...
270
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-detectCSSCompatibilityIssues)
271
+ */
272
+ detectCSSCompatibilityIssues ? : Boolean
273
+ /**
274
+ * Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget
275
+ * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
276
+ * ...
277
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-disabled)
278
+ */
279
+ disabled ? : Boolean|'inert'
280
+ /**
281
+ * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel)
282
+ * [strips collection](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
283
+ * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
284
+ * body. Such widgets are called "edge strips".
285
+ * ...
286
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-dock)
287
+ */
288
+ dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
289
+ /**
290
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
291
+ * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
292
+ * property which controls when a drag should start.
293
+ * ...
294
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-draggable)
295
+ */
296
+ draggable ? : Boolean|{
297
+ handleSelector?: string
298
+ }
299
+ /**
300
+ * The [durationUnit](https://bryntum.com/products/calendar/docs/api/Scheduler/model/EventModel#field-durationUnit) to use when drag-creating events
301
+ * in this view.
302
+ * ...
303
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-dragUnit)
304
+ */
305
+ dragUnit ? : string
306
+ /**
307
+ * Make this Panel a docked drawer which slides out from one side of the browser viewport by default.
308
+ * ...
309
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-drawer)
310
+ * @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.
311
+ * @param {string,number} size The size of the drawer in its collapsible axis.
312
+ * @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.
313
+ * @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.
314
+ * @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.
315
+ * @param {boolean,string} autoClose.focusout If focus moves outside of the drawer, the drawer will automatically be hidden.
316
+ * @param {string} autoClose.mouseout Hides the drawer when the mouse leaves the drawer after the `autoCloseDelay` period.
317
+ * @param {number} autoCloseDelay When using `mouseout`, this is the delay in milliseconds
318
+ */
319
+ drawer ? : Boolean|{side?: 'start'|'left'|'end'|'right'|'top'|'bottom', size?: string|number, inline?: Boolean, autoClose: { mousedown?: Boolean|string, focusout?: Boolean|string, mouseout?: string }, autoCloseDelay?: number}
320
+ /**
321
+ * An object specifying attributes to assign to the root element of this widget.
322
+ * Set `null` value to attribute to remove it.
323
+ * ...
324
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-elementAttributes)
325
+ */
326
+ elementAttributes ? : Record<string, string|null>
327
+ /**
328
+ * A [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) object which will be used to create the content of a clickable
329
+ * element which is present when no events are in a cell.
330
+ * ...
331
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-emptyCellRenderer)
332
+ * @param {DayCell} dayCellRenderer A `DayCell` object that contains data about the cell.
333
+ * @returns {DomConfig,void} DomConfig object representing the HTML markup
334
+ */
335
+ emptyCellRenderer ? : ((dayCellRenderer: DayCell) => DomConfig|void)|object|string
336
+ /**
337
+ * When [overflowPopupTrigger](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-overflowPopupTrigger) is not a mouseover gesture, setting this to
338
+ * a truthy value means that a tooltip containing the event count will be shown on hover of
339
+ * a day cell.
340
+ * ...
341
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-eventCountTip)
342
+ */
343
+ eventCountTip ? : Boolean|Record<string, Boolean|string>
344
+ /**
345
+ * When [showEvents](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-showEvents) is `'dots'`, this controls the layout of the dots
346
+ * below the day number.
347
+ * ...
348
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-eventDots)
349
+ */
350
+ eventDots ? : {
351
+ marginTop?: number
352
+ max?: number
353
+ gap?: number
354
+ size?: number
355
+ stripe?: Boolean
356
+ }
357
+ /**
358
+ * A function, or the name of a function in the ownership hierarchy to filter which events
359
+ * are collected into the day cell data blocks.
360
+ * Return `true` to include the passed event, or a *falsy* value to exclude the event.
361
+ * @param {Scheduler.model.EventModel} event the passed event
362
+ * @returns {boolean}
363
+ */
364
+ eventFilter ? : ((event: EventModel) => Boolean)|string
365
+ /**
366
+ * A function, or the name of a function in the ownership hierarchy which you
367
+ * can specify to customize event DOM content.
368
+ * ...
369
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-eventHeaderRenderer)
370
+ * @param {object} detail An object that contains data about the event being rendered
371
+ * @param {CalendarView} detail.view The view rendering the event
372
+ * @param {Scheduler.model.EventModel} detail.eventRecord The event record
373
+ * @param {Scheduler.model.ResourceModel} detail.resourceRecord The resource record
374
+ * @param {object} detail.renderData A data object containing properties that will be used to create the event element
375
+ * @param {object} detail.renderData.style The style property is an object containing style properties for the event element
376
+ * @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
377
+ * @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
378
+ * @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
379
+ * @param {string} detail.renderData.eventColor Color to be applied to the event
380
+ * @param {object} detail.renderData.dataset An object which produces the `dataset` of the resulting event bar
381
+ * @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
382
+ * @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
383
+ * @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.
384
+ * @returns {DomConfig,DomConfig[],string,void}
385
+ */
386
+ 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
387
+ /**
388
+ * The height of event bars if this view creates event bars.
389
+ * ...
390
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-eventHeight)
391
+ */
392
+ eventHeight ? : number|string
393
+ /**
394
+ * A function, or the name of a function in the ownership hierarchy which you
395
+ * can specify to customize event DOM content.
396
+ * ...
397
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-eventRenderer)
398
+ * @param {object} detail An object that contains data about the event being rendered
399
+ * @param {CalendarView} detail.view The view rendering the event
400
+ * @param {Scheduler.model.EventModel} detail.eventRecord The event record
401
+ * @param {Scheduler.model.ResourceModel} detail.resourceRecord The Resource record
402
+ * @param {object} detail.renderData A data object containing properties that will be used to create the event element
403
+ * @param {object} detail.renderData.style The style property is an object containing style properties for the event element
404
+ * @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
405
+ * @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
406
+ * @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
407
+ * @param {string} detail.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)`.
408
+ * @param {string} detail.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.
409
+ * @param {string} detail.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)`.
410
+ * @param {object} detail.renderData.eventInnerStyle The eventInnerStyle property is an object containing style properties for the inner part of the event element, the `.b-cal-event` element.
411
+ * @param {object} detail.renderData.dataset An object which produces the `dataset` of the resulting event bar
412
+ * @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
413
+ * @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
414
+ * @param {boolean} detail.renderData.showBullet If there is no `iconCls`, and the event is not recurring, then by default a "bullet" circular icon is shown if the view's [showBullet](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-showBullet) if set. Setting this property in an event renderer overrides this behaviour.
415
+ * @returns {DomConfig,DomConfig[],string,void} The content to be used as the event body.
416
+ */
417
+ eventRenderer ? : ((detail: { view: CalendarView, 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
418
+ /**
419
+ * A function which compares events which some views use to decide upon rendering order.
420
+ * ...
421
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-eventSorter)
422
+ * @param {Scheduler.model.EventModel,EventBar} lhs The left side value to conpare
423
+ * @param {Scheduler.model.EventModel,EventBar} rhs The right side value to conpare
424
+ * @returns {number}
425
+ */
426
+ eventSorter ? : (lhs: EventModel|EventBar, rhs: EventModel|EventBar) => number
427
+ /**
428
+ * How much vertical space in pixels to leave between event bars in a cell.
429
+ */
430
+ eventSpacing ? : number
431
+ /**
432
+ * By default, the end date of an all day event is displayed in the UI as
433
+ * the last calendar date on which the event falls. For most end users, this is the
434
+ * expected value.
435
+ * ...
436
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-extendAllDayEndDay)
437
+ */
438
+ extendAllDayEndDay ? : Boolean
439
+ extraData ? : any
440
+ /**
441
+ * If this is set to `true`, then when determining which assigned resource of a multi assigned event
442
+ * to use to create the event UI, the first resource which is still selected in the
443
+ * [resourceFilter](https://bryntum.com/products/calendar/docs/api/Calendar/widget/Sidebar#property-resourceFilter) is used.
444
+ * ...
445
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-filterEventResources)
446
+ */
447
+ filterEventResources ? : Boolean
448
+ /**
449
+ * 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
450
+ * flexbox layout. This config allows you to set this widget's
451
+ * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.
452
+ * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.
453
+ * numeric-only values are interpreted as the `flex-grow` value.
454
+ */
455
+ flex ? : number|string
456
+ /**
457
+ * Set to `true` to move the widget out of the document flow and position it
458
+ * absolutely in browser viewport space.
459
+ */
460
+ floating ? : Boolean
461
+ /**
462
+ * Config object of a footer. May contain a `dock`, `html` and a `cls` property. A footer is not a widget,
463
+ * 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).
464
+ * ...
465
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-footer)
466
+ */
467
+ footer ? : {
468
+ dock?: 'top'|'right'|'bottom'|'left'|'start'|'end'
469
+ html?: string
470
+ cls?: string
471
+ }|string
472
+ /**
473
+ * A Function (or name of a function in the ownership hierarchy) which returns the
474
+ * [resource record](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ResourceModel) to use to create the UI for an event.
475
+ * ...
476
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-getPrimaryResource)
477
+ * @param {Scheduler.model.EventModel} eventRecord The event from which to extract the primary resource.
478
+ * @returns {Scheduler.model.ResourceModel} The resource to be used to render the event.
479
+ */
480
+ getPrimaryResource ? : ((eventRecord: EventModel) => ResourceModel)|string
481
+ /**
482
+ * 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`.
483
+ * ...
484
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-header)
485
+ */
486
+ header ? : string|Boolean|PanelHeader
487
+ /**
488
+ * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,
489
+ * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some
490
+ * cases this config is convenient.
491
+ */
492
+ height ? : string|number
493
+ /**
494
+ * Configure with true to make widget initially hidden.
495
+ */
496
+ hidden ? : Boolean
497
+ /**
498
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
499
+ * ...
500
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-hideAnimation)
501
+ */
502
+ hideAnimation ? : Boolean|object
503
+ /**
504
+ * Configure as `true` to hide [nonWorkingDays](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-nonWorkingDays)
505
+ */
506
+ hideNonWorkingDays ? : Boolean
507
+ /**
508
+ * Specify `true` to make this container hide when it has no visible children (Either empty
509
+ * or all children hidden).
510
+ * ...
511
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-hideWhenEmpty)
512
+ */
513
+ hideWhenEmpty ? : Boolean
514
+ /**
515
+ * 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
516
+ * [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) object describing an element to represent the icon.
517
+ */
518
+ icon ? : string|DomConfig
519
+ /**
520
+ * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById
521
+ */
522
+ id ? : string
523
+ /**
524
+ * Determines if the widgets read-only state should be controlled by its parent.
525
+ * ...
526
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-ignoreParentReadOnly)
527
+ */
528
+ ignoreParentReadOnly ? : Boolean
529
+ /**
530
+ * Convenience setting to align input fields of child widgets. By default, the Field input element is
531
+ * placed immediately following the `label`. If you prefer to have all input fields aligned to the
532
+ * right, set this config to `'end'`.
533
+ * ...
534
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-inputFieldAlign)
535
+ */
536
+ inputFieldAlign ? : 'start'|'end'
537
+ /**
538
+ * 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.
539
+ */
540
+ insertBefore ? : HTMLElement|string
541
+ /**
542
+ * 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.
543
+ */
544
+ insertFirst ? : HTMLElement|string
545
+ /**
546
+ * An optional CSS class to add to child items of this container.
547
+ */
548
+ itemCls ? : string
549
+ /**
550
+ * An object containing typed child widget config objects or Widgets. May also be specified
551
+ * as an array.
552
+ * ...
553
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-items)
554
+ */
555
+ items ? : Record<string, ContainerItemConfig|MenuItemEntry>|(ContainerItemConfig|MenuItemEntry|Widget)[]
556
+ /**
557
+ * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
558
+ * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
559
+ * are the name of the instance method to call when the keystroke is received.
560
+ * ...
561
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-keyMap)
562
+ */
563
+ keyMap ? : Record<string, KeyMapConfig>
564
+ /**
565
+ * Convenience setting to use same label placement on all child widgets.
566
+ * ...
567
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-labelPosition)
568
+ */
569
+ labelPosition ? : 'before'|'above'|'align-before'|'auto'|null
570
+ /**
571
+ * The short name of a helper class which manages rendering and styling of child items.
572
+ * ...
573
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-layout)
574
+ */
575
+ layout ? : string|ContainerLayoutConfig
576
+ /**
577
+ * The CSS style properties to apply to the [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).
578
+ * ...
579
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-layoutStyle)
580
+ */
581
+ layoutStyle ? : object
582
+ /**
583
+ * 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
584
+ * instances only when this Container is rendered, rather than eagerly at construct time.
585
+ * ...
586
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-lazyItems)
587
+ */
588
+ lazyItems ? : Record<string, ContainerItemConfig>|ContainerItemConfig[]|Widget[]
589
+ /**
590
+ * The listener set for this object.
591
+ * ...
592
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-listeners)
593
+ */
594
+ listeners ? : YearViewListeners
595
+ /**
596
+ * A class translations of which are used for translating this entity.
597
+ * This is often used when translations of an item are defined on its container class.
598
+ * For example:
599
+ * ...
600
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-localeClass)
601
+ */
602
+ localeClass ? : typeof Base
603
+ /**
604
+ * Set to `false` to disable localization of this object.
605
+ */
606
+ localizable ? : Boolean
607
+ /**
608
+ * List of properties which values should be translated automatically upon a locale applying.
609
+ * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
610
+ * you could use 'localeKey' meta configuration.
611
+ * Example:
612
+ * ...
613
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-localizableProperties)
614
+ */
615
+ localizableProperties ? : string[]
616
+ /**
617
+ * Widget's margin. This may be configured as a single number or a `TRBL` format string.
618
+ * numeric-only values are interpreted as pixels.
619
+ */
620
+ margin ? : number|string
621
+ /**
622
+ * This config object contains the defaults for the [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) created for the
623
+ * [masked](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these
624
+ * values.
625
+ */
626
+ maskDefaults ? : MaskConfig
627
+ /**
628
+ * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a
629
+ * [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) config object.
630
+ */
631
+ masked ? : Boolean|string|MaskConfig
632
+ /**
633
+ * The maximum date to which the `endDate` of this view may be navigated.
634
+ */
635
+ maxDate ? : Date|string
636
+ /**
637
+ * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that
638
+ * like [height](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
639
+ */
640
+ maxHeight ? : string|number
641
+ /**
642
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
643
+ * ...
644
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-maximizeOnMobile)
645
+ */
646
+ maximizeOnMobile ? : number|string
647
+ /**
648
+ * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that
649
+ * like [width](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
650
+ */
651
+ maxWidth ? : string|number
652
+ /**
653
+ * The minimum date to which the `startDate` of this view may be navigated.
654
+ */
655
+ minDate ? : Date|string
656
+ /**
657
+ * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that
658
+ * like [height](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
659
+ */
660
+ minHeight ? : string|number
661
+ /**
662
+ * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that
663
+ * like [width](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
664
+ */
665
+ minWidth ? : string|number
666
+ /**
667
+ * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
668
+ * is used to monitor this element for size changes caused by either style manipulation, or by CSS
669
+ * layout.
670
+ * ...
671
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-monitorResize)
672
+ */
673
+ monitorResize ? : Boolean|{
674
+ immediate?: Boolean
675
+ }
676
+ /**
677
+ * 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)
678
+ * config. For example, a specialized [Menu](https://bryntum.com/products/calendar/docs/api/Core/widget/Menu) subclass may have a `namedItems` default
679
+ * value defined like this:
680
+ * ...
681
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-namedItems)
682
+ */
683
+ namedItems ? : Record<string, ContainerItemConfig>
684
+ /**
685
+ * Non-working days as an object where keys are day indices, 0-6 (Sunday-Saturday), and the value is `true`.
686
+ * Defaults to [nonWorkingDays](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper#property-nonWorkingDays-static).
687
+ */
688
+ nonWorkingDays ? : Record<number, Boolean>
689
+ /**
690
+ * A function, or name of a function which is passed the [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) object which
691
+ * will be used to create the "+n more" button which indicates that a day cell has
692
+ * overflowing events.
693
+ * ...
694
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-overflowButtonRenderer)
695
+ * @param {DomConfig,object} domConfig A [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) config object which is used to create the overflow button.
696
+ * @param {string} domConfig.tag The tag name of the element to create.
697
+ * @param {object} domConfig.className An object who's truthy property names will be applied as class names.
698
+ * @param {string} domConfig.text The inner content of the element. <strong>Note that this will be HTML encoded for XSS safety</strong>
699
+ * @param {object} domConfig.style A CSS style definition object.
700
+ * @param {object} domConfig.dataset The DOM data properties to set.
701
+ * @param {number} overflowCount The number of overflowing events.
702
+ * @returns {DomConfig,string,void}
703
+ */
704
+ overflowButtonRenderer ? : (domConfig: { tag: string, className: object, text: string, style: object, dataset: object }, overflowCount: number) => DomConfig|string|void
705
+ /**
706
+ * A config object used to create the [OverflowPopup](https://bryntum.com/products/calendar/docs/api/Calendar/widget/OverflowPopup) that this view
707
+ * may show when events for one day overflow the available space.
708
+ * ...
709
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-overflowPopup)
710
+ */
711
+ overflowPopup ? : OverflowPopupConfig
712
+ /**
713
+ * The pointer gesture which shows the popup containing any overflowing events
714
+ * in the current view.
715
+ * ...
716
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-overflowPopupTrigger)
717
+ */
718
+ overflowPopupTrigger ? : 'click'|'mouseover'|'hover'
719
+ /**
720
+ * The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
721
+ * [items](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
722
+ * the owner is <strong>always</strong> the encapsulating Container.
723
+ * ...
724
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-owner)
725
+ */
726
+ owner ? : Widget|any
727
+ /**
728
+ * The class name to add to events which have an end date in the past. Defaults to `'b-past-event'`.
729
+ * ...
730
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-pastEventCls)
731
+ */
732
+ pastEventCls ? : string
733
+ /**
734
+ * 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
735
+ * not participate in the standard layout of that widget, and must be positioned relatively to that
736
+ * widget's [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).
737
+ * ...
738
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-positioned)
739
+ */
740
+ positioned ? : Boolean
741
+ /**
742
+ * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a
743
+ * menu on click etc, since the tooltip would be displayed at the same time.
744
+ */
745
+ preventTooltipOnTouch ? : Boolean
746
+ /**
747
+ * Whether this widget is read-only. This is only valid if the widget is an input
748
+ * field, <strong>or contains input fields at any depth</strong>.
749
+ * ...
750
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-readOnly)
751
+ */
752
+ readOnly ? : Boolean
753
+ relayStoreEvents ? : Boolean
754
+ /**
755
+ * Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
756
+ * `type`.
757
+ * ...
758
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-rendition)
759
+ */
760
+ rendition ? : string|Record<string, string>|null
761
+ /**
762
+ * Path to load resource images from. Used by the [showResourceAvatars](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-showResourceAvatars) config
763
+ * to create URLs using the resource's
764
+ * [image](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ResourceModel#field-image) or
765
+ * [imageUrl](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ResourceModel#field-imageUrl) fields:
766
+ * ...
767
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-resourceImagePath)
768
+ */
769
+ resourceImagePath ? : string
770
+ /**
771
+ * Specifies the various responsive state objects keyed by their name. Each key (except `'*'`, see below) in
772
+ * this object is a state name (see [responsiveState](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveState)) and its corresponding value is the
773
+ * associated [ResponsiveState](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#typedef-ResponsiveState) object.
774
+ * ...
775
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-responsive)
776
+ */
777
+ responsive ? : object
778
+ /**
779
+ * Set to `true` to mark this instance as the default [responsiveTarget](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveTarget) for descendants that do
780
+ * not specify an explicit [responsiveTarget](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveTarget) of their own.
781
+ */
782
+ responsiveRoot ? : Boolean
783
+ /**
784
+ * The name of the active state of the [responsive](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsive) config. This is assigned internally
785
+ * and should not be assigned directly.
786
+ */
787
+ responsiveState ? : string
788
+ /**
789
+ * The widget whose size and other properties drive this object's responsive behavior. If this config is not
790
+ * specified, the closest ancestor that specified [responsiveRoot=true](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveRoot) will be
791
+ * used. If there is no such ancestor, then the instance using this mixin is used.
792
+ * ...
793
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-responsiveTarget)
794
+ */
795
+ responsiveTarget ? : string|Widget
796
+ /**
797
+ * Configure as `true` to have the component display a translucent ripple when its
798
+ * [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
799
+ * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
800
+ * ...
801
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-ripple)
802
+ */
803
+ ripple ? : Boolean|{
804
+ delegate?: string
805
+ color?: string
806
+ radius?: number
807
+ clip?: string
808
+ }
809
+ /**
810
+ * 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`
811
+ */
812
+ rootElement ? : ShadowRoot|HTMLElement
813
+ /**
814
+ * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
815
+ * ...
816
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-rtl)
817
+ */
818
+ rtl ? : Boolean
819
+ /**
820
+ * Specifies whether (and optionally in which axes) a Widget may scroll. `true` means this widget may scroll
821
+ * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
822
+ * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
823
+ * CSS overflow properties thus:
824
+ * ...
825
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-scrollable)
826
+ */
827
+ scrollable ? : Boolean|ScrollerConfig|Scroller
828
+ /**
829
+ * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
830
+ * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
831
+ */
832
+ scrollAction ? : 'hide'|'realign'|null
833
+ /**
834
+ * A button configuration object to use for the automatically created mode selector button for this mode.
835
+ */
836
+ selectorButton ? : ButtonConfig
837
+ /**
838
+ * A menu item configuration object to use for the automatically created mode selector menu item for this mode.
839
+ */
840
+ selectorMenuItem ? : MenuItemConfig
841
+ /**
842
+ * A [DateHelper](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper) format string/function to use to create date output for
843
+ * abbreviated view descriptions.
844
+ * @param {Date} date The date to format.
845
+ * @returns {string} The formatted date.
846
+ */
847
+ shortDateFormat ? : string|((date: Date) => string)
848
+ /**
849
+ * A [DateHelper](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper) format string/function to use to create date and time output for
850
+ * abbreviated view descriptions.
851
+ * @param {Date} date The date to format.
852
+ * @returns {string} The formatted date.
853
+ */
854
+ shortDateTimeFormat ? : string|((date: Date) => string)
855
+ /**
856
+ * The class name to add to events which have duration less than or equal to
857
+ * [shortEventDuration](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-shortEventDuration).
858
+ */
859
+ shortEventCls ? : string
860
+ /**
861
+ * The duration at which below and equal to this value, an event's encapsulating element gets
862
+ * 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 style rearrangements.
863
+ * ...
864
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-shortEventDuration)
865
+ */
866
+ shortEventDuration ? : string|number
867
+ /**
868
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
869
+ * ...
870
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-showAnimation)
871
+ */
872
+ showAnimation ? : Boolean|object
873
+ /**
874
+ * <strong>Not applicable in a `DayView`</strong>
875
+ * ...
876
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-showBullet)
877
+ * @param {boolean} bar This is `false` by default. Set this to `true` in modes where a solid event bar should show a bullet icon
878
+ * @param {boolean} noBar This is `true` by default. Events with no background colour, use this to show the event's defined `eventColor`
879
+ */
880
+ showBullet ? : Boolean|{bar?: Boolean, noBar?: Boolean}
881
+ /**
882
+ * How to indicate the presence of events for a date. The default is `heatmap` which adds
883
+ * classes depending on how many events intersect the date.Values may be:
884
+ * ...
885
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-showEvents)
886
+ */
887
+ showEvents ? : Boolean|'heatmap'|'dots'
888
+ /**
889
+ * Configure as `true` to show avatars of the assigned resources (calendars) at the
890
+ * start of the event bar.
891
+ * ...
892
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-showResourceAvatars)
893
+ */
894
+ showResourceAvatars ? : Boolean|string
895
+ /**
896
+ * 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)
897
+ */
898
+ showTooltipWhenDisabled ? : Boolean
899
+ /**
900
+ * By default, all months show six week rows. Pass `false` to only render as many rows
901
+ * as needed.
902
+ */
903
+ sixWeeks ? : Boolean
904
+ /**
905
+ * Programmatic control over how many columns to span when used in a grid layout.
906
+ */
907
+ span ? : number
908
+ /**
909
+ * Set to `true` to stack multi-day events within each cell in the order of their start time.
910
+ * ...
911
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-stackMultiDayEvents)
912
+ */
913
+ stackMultiDayEvents ? : Boolean
914
+ /**
915
+ * This value can be one of the following:
916
+ * ...
917
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-stateful)
918
+ */
919
+ stateful ? : Boolean|object|string[]
920
+ /**
921
+ * The events that, when fired by this component, should trigger it to save its state by calling
922
+ * [saveState](https://bryntum.com/products/calendar/docs/api/Core/mixin/State#function-saveState).
923
+ * ...
924
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-statefulEvents)
925
+ */
926
+ statefulEvents ? : object|string[]
927
+ /**
928
+ * 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
929
+ * 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)
930
+ * (if explicitly specified) will be used as the `stateId`.
931
+ * ...
932
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-stateId)
933
+ */
934
+ stateId ? : string
935
+ /**
936
+ * 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`
937
+ * will be saved using the [default state provider](https://bryntum.com/products/calendar/docs/api/Core/state/StateProvider#property-instance-static).
938
+ * ...
939
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-stateProvider)
940
+ */
941
+ stateProvider ? : StateProvider
942
+ /**
943
+ * 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),
944
+ * without falling back to `ref`.
945
+ */
946
+ strictRecordMapping ? : Boolean
947
+ /**
948
+ * An object containing widgets keyed by name. By default (when no `type` is given), strips are
949
+ * [toolbars](https://bryntum.com/products/calendar/docs/api/Core/widget/Toolbar). If you want to pass an array, you can use
950
+ * the toolbar's [items](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#config-items).
951
+ * ...
952
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-strips)
953
+ */
954
+ strips ? : Record<string, ContainerItemConfig>
955
+ /**
956
+ * The converse of [syncViewDate](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#property-syncViewDate)
957
+ * ...
958
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-syncCalendarDate)
959
+ */
960
+ syncCalendarDate ? : Boolean
961
+ /**
962
+ * The converse of [syncCalendarDate](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#property-syncCalendarDate)
963
+ * ...
964
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-syncViewDate)
965
+ */
966
+ syncViewDate ? : Boolean
967
+ /**
968
+ * 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
969
+ * [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
970
+ * this widget:
971
+ * ...
972
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-tab)
973
+ */
974
+ tab ? : Boolean|TabConfig
975
+ /**
976
+ * When this container is used as a tab in a TabPanel, these items are added to the
977
+ * [TabBar](https://bryntum.com/products/calendar/docs/api/Core/widget/TabBar) when this container is the active tab.
978
+ * ...
979
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-tabBarItems)
980
+ */
981
+ tabBarItems ? : ToolbarItems[]|Widget[]
982
+ /**
983
+ * The tag name of this Widget's root element
984
+ */
985
+ tag ? : string
986
+ /**
987
+ * A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/calendar/docs/api/Core/widget/Toolbar),
988
+ * or array of config objects representing the child items of a Toolbar.
989
+ * This creates a toolbar docked to the top of the panel immediately below the header.
990
+ * ...
991
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-tbar)
992
+ */
993
+ tbar ? : (ContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
994
+ /**
995
+ * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
996
+ * ...
997
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-textAlign)
998
+ */
999
+ textAlign ? : 'left'|'center'|'right'|'start'|'end'
1000
+ /**
1001
+ * A [DateHelper](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper) format string/function used to format the time displayed in events
1002
+ * @param {Date} date The date to format.
1003
+ * @returns {string} The formatted date.
1004
+ */
1005
+ timeFormat ? : string|((date: Date) => string)
1006
+ /**
1007
+ * A title to display in the header or owning TabPanel. Causes creation and docking of a header
1008
+ * to the top if no header is configured.
1009
+ * ...
1010
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-title)
1011
+ */
1012
+ title ? : string
1013
+ /**
1014
+ * 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
1015
+ * property name is the reference by which an instantiated tool may be retrieved from the live
1016
+ * `[tools](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Toolable#property-tools)` property.
1017
+ * ...
1018
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-tools)
1019
+ */
1020
+ tools ? : Record<string, ToolConfig>|null
1021
+ /**
1022
+ * Tooltip for the widget, either as a string or as a Tooltip config object.
1023
+ * ...
1024
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-tooltip)
1025
+ */
1026
+ tooltip ? : string|TooltipConfig|null
1027
+ /**
1028
+ * By default, tabbing within a Panel is not contained, ie you can TAB out of the Panel
1029
+ * forwards or backwards.
1030
+ * Configure this as `true` to disallow tabbing out of the Panel, and make tabbing circular within this Panel.
1031
+ */
1032
+ trapFocus ? : Boolean
1033
+ type ? : 'yearview'|'year'
1034
+ /**
1035
+ * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
1036
+ * as a space separated string, an array of strings, or as an object in which property names with truthy
1037
+ * values are used as the class names.
1038
+ * ...
1039
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-ui)
1040
+ */
1041
+ ui ? : 'plain'|'toolbar'|string|object
1042
+ /**
1043
+ * The week start day, 0 meaning Sunday, 6 meaning Saturday.
1044
+ * Defaults to [weekStartDay](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper#property-weekStartDay-static).
1045
+ */
1046
+ weekStartDay ? : number
1047
+ /**
1048
+ * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/calendar/docs/api/Core/widget/Container).
1049
+ * Higher weights go further down.
1050
+ */
1051
+ weight ? : number
1052
+ /**
1053
+ * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which
1054
+ * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases
1055
+ * this config is convenient.
1056
+ */
1057
+ width ? : string|number
1058
+ /**
1059
+ * The x position for the widget.
1060
+ * ...
1061
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-x)
1062
+ */
1063
+ x ? : number
1064
+ /**
1065
+ * The y position for the widget.
1066
+ * ...
1067
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#config-y)
1068
+ */
1069
+ y ? : number
1070
+ /**
1071
+ * The year to display
1072
+ */
1073
+ year ? : number
1074
+
1075
+ }>();
1076
+
1077
+ const emit = defineEmits<{
1078
+ /**
1079
+ * This event fires whenever the [autoCreate gesture](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-autoCreate) is detected
1080
+ * and also when a [drag-create](https://bryntum.com/products/calendar/docs/api/Calendar/feature/CalendarDrag) gesture is detected.
1081
+ * ...
1082
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#event-beforeAutoCreate)
1083
+ * @param {string} e Event name
1084
+ * @param {object} params Event parameters
1085
+ * @param {object} params.event Event object
1086
+ * @param {Event} params.event.domEvent The DOM event which initiated the creation.
1087
+ * @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)
1088
+ * @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)
1089
+ * @param {Date} params.event.endDate The ending time of the event to be created.
1090
+ * @param {Scheduler.model.ResourceModel} params.event.resourceRecord The resource if the UI includes a resource.
1091
+ * @param {CalendarView} params.event.view This view.
1092
+ */
1093
+ (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
1094
+ /**
1095
+ * Triggered before a view's orientating date changes.
1096
+ * ...
1097
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#event-beforeChangeDate)
1098
+ * @param {string} e Event name
1099
+ * @param {object} params Event parameters
1100
+ * @param {object} params.event Event object
1101
+ * @param {Date} params.event.oldDate The current orientating date of this view.
1102
+ * @param {Date} params.event.date The new date to which this view is to be orientated.
1103
+ */
1104
+ (e: 'beforeChangeDate', params: ((event: { oldDate: Date, date: Date }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1105
+ /**
1106
+ * Fires before an object is destroyed.
1107
+ * @param {string} e Event name
1108
+ * @param {object} params Event parameters
1109
+ * @param {object} params.event Event object
1110
+ * @param {Core.Base} params.event.source The Object that is being destroyed.
1111
+ */
1112
+ (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
1113
+ /**
1114
+ * Triggered before a widget is hidden. Return `false` to prevent the action.
1115
+ * @param {string} e Event name
1116
+ * @param {object} params Event parameters
1117
+ * @param {object} params.event Event object
1118
+ * @param {Core.widget.Widget} params.event.source The widget being hidden.
1119
+ */
1120
+ (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1121
+ /**
1122
+ * Triggered before a new [responsiveState](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveState) is applied.
1123
+ * @param {string} e Event name
1124
+ * @param {object} params Event parameters
1125
+ * @param {object} params.event Event object
1126
+ * @param {Core.widget.Widget} params.event.source The widget whose `responsiveState` is to be changed
1127
+ * @param {string} params.event.state The new value for the widget's `responsiveState`
1128
+ * @param {string} params.event.oldState The previous value for the widget's `responsiveState`
1129
+ */
1130
+ (e: 'beforeResponsiveStateChange', params: ((event: { source: Widget, state: string, oldState: string }) => void)|string): void
1131
+ /**
1132
+ * Fired before this container will load record values into its child fields. This is useful if you
1133
+ * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
1134
+ * @param {string} e Event name
1135
+ * @param {object} params Event parameters
1136
+ * @param {object} params.event Event object
1137
+ * @param {Core.widget.Container} params.event.source The container
1138
+ * @param {Core.data.Model} params.event.record The record
1139
+ */
1140
+ (e: 'beforeSetRecord', params: ((event: { source: Container, record: Model }) => void)|string): void
1141
+ /**
1142
+ * Triggered before a widget is shown. Return `false` to prevent the action.
1143
+ * @param {string} e Event name
1144
+ * @param {object} params Event parameters
1145
+ * @param {object} params.event Event object
1146
+ * @param {Core.widget.Widget,any} params.event.source The widget being shown
1147
+ */
1148
+ (e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1149
+ /**
1150
+ * Fired before an [OverflowPopup](https://bryntum.com/products/calendar/docs/api/Calendar/widget/OverflowPopup) is shown when an a
1151
+ * "+ n more" overflow button is activated by an [overflowPopupTrigger](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DayCellRenderer#config-overflowPopupTrigger) event.
1152
+ * @param {string} e Event name
1153
+ * @param {object} params Event parameters
1154
+ * @param {object} params.event Event object
1155
+ * @param {HTMLElement} params.event.cell The day cell for which the overflow popup is going to be shown.
1156
+ * @param {DayCell} params.event.cellData A `DayCell` object that contains data about the cell.
1157
+ * @param {Date} params.event.date The date which has overflowing events
1158
+ * @param {Calendar.widget.OverflowPopup} params.event.overflowPopup The overflow `Popup`.
1159
+ */
1160
+ (e: 'beforeShowOverflowPopup', params: ((event: { cell: HTMLElement, cellData: DayCell, date: Date, overflowPopup: OverflowPopup }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1161
+ /**
1162
+ * Fired before state is applied to the source. Allows editing the state object or preventing the operation.
1163
+ * @param {string} e Event name
1164
+ * @param {object} params Event parameters
1165
+ * @param {object} params.event Event object
1166
+ * @param {any} params.event.state State object config
1167
+ */
1168
+ (e: 'beforeStateApply', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1169
+ /**
1170
+ * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
1171
+ * @param {string} e Event name
1172
+ * @param {object} params Event parameters
1173
+ * @param {object} params.event Event object
1174
+ * @param {any} params.event.state State object config
1175
+ */
1176
+ (e: 'beforeStateSave', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
1177
+ /**
1178
+ * Fires when any other event is fired from the object.
1179
+ * ...
1180
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#event-catchAll)
1181
+ * @param {string} e Event name
1182
+ * @param {object} params Event parameters
1183
+ * @param {object} params.event Event object
1184
+ * @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details
1185
+ * @param {string} params.event.event.type The type of the event which is caught by the listener
1186
+ */
1187
+ (e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
1188
+ /**
1189
+ * Fired when a new set of events has been gathered for this view's date range.
1190
+ * @param {string} e Event name
1191
+ * @param {object} params Event parameters
1192
+ * @param {object} params.event Event object
1193
+ * @param {Map<any, any>} params.event.cellMap The map of date keys to [day cell](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DayCellCollecter#typedef-DayCell) data blocks.
1194
+ */
1195
+ (e: 'cellMapPopulated', params: ((event: { cellMap: Map<any, any> }) => void)|string): void
1196
+ /**
1197
+ * Fires when a Panel is collapsed using the [collapsible](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsible) setting.
1198
+ * @param {string} e Event name
1199
+ * @param {object} params Event parameters
1200
+ * @param {object} params.event Event object
1201
+ * @param {Core.widget.Panel} params.event.source This Panel.
1202
+ */
1203
+ (e: 'collapse', params: ((event: { source: Panel }) => void)|string): void
1204
+ /**
1205
+ * Fired after one day cell's events are collected in sorted order according to the
1206
+ * [eventSorter](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-eventSorter)
1207
+ * ...
1208
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#event-dayCellPopulated)
1209
+ * @param {string} e Event name
1210
+ * @param {object} params Event parameters
1211
+ * @param {object} params.event Event object
1212
+ * @param {Scheduler.model.EventModel[]} params.event.events The events to be shown for the passed date
1213
+ * @param {Date} params.event.The date the events are to be shown in.
1214
+ */
1215
+ (e: 'dayCellPopulated', params: ((event: { events: EventModel[], The: Date }) => void)|string): void
1216
+ /**
1217
+ * Fires when an object is destroyed.
1218
+ * @param {string} e Event name
1219
+ * @param {object} params Event parameters
1220
+ * @param {object} params.event Event object
1221
+ * @param {Core.Base} params.event.source The Object that is being destroyed.
1222
+ */
1223
+ (e: 'destroy', params: ((event: { source: Base }) => void)|string): void
1224
+ /**
1225
+ * 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
1226
+ * @param {string} e Event name
1227
+ * @param {object} params Event parameters
1228
+ * @param {object} params.event Event object
1229
+ * @param {Core.widget.Container} params.event.source The container.
1230
+ * @param {boolean} params.event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.
1231
+ */
1232
+ (e: 'dirtyStateChange', params: ((event: { source: Container, dirty: boolean }) => void)|string): void
1233
+ /**
1234
+ * Triggered when a widget's [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element) is available.
1235
+ * @param {string} e Event name
1236
+ * @param {object} params Event parameters
1237
+ * @param {object} params.event Event object
1238
+ * @param {HTMLElement} params.event.element The Widget's element.
1239
+ */
1240
+ (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
1241
+ /**
1242
+ * Fired when an empty cell content area is clicked on. If the handler returns
1243
+ * `false` the current pointer event is not processed further.
1244
+ * @param {string} e Event name
1245
+ * @param {object} params Event parameters
1246
+ * @param {object} params.event Event object
1247
+ * @param {Event} params.event.domEvent The triggering DOM event.
1248
+ * @param {Date} params.event.date The date which has no visible events
1249
+ */
1250
+ (e: 'emptyCellClick', params: ((event: { domEvent: Event, date: Date }) => void)|string): void
1251
+ /**
1252
+ * Fired when an [autoCreate](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/CalendarMixin#config-autoCreate) gesture has created a new event
1253
+ * and added it to the event store.
1254
+ * ...
1255
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#event-eventAutoCreated)
1256
+ * @param {string} e Event name
1257
+ * @param {object} params Event parameters
1258
+ * @param {object} params.event Event object
1259
+ * @param {CalendarView} params.event.source This Calendar view instance.
1260
+ * @param {Scheduler.model.EventModel} params.event.eventRecord The new event record.
1261
+ */
1262
+ (e: 'eventAutoCreated', params: ((event: { source: CalendarView, eventRecord: EventModel }) => void)|string): void
1263
+ /**
1264
+ * Fires when a day spanning event is found, and the date to which its encapsulating event bar
1265
+ * extends has been calculated.
1266
+ * ...
1267
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#event-eventPropagate)
1268
+ * @param {string} e Event name
1269
+ * @param {object} params Event parameters
1270
+ * @param {object} params.event Event object
1271
+ * @param {Date} params.event.eventEndDate The end date for which to calculate the propagate end date.
1272
+ * @param {Date} params.event.propagateEndDate The system-calculated end point of the event bar.
1273
+ * @param {boolean} params.event.isAllDay `true` if the event is an all day event, or spans multiple days.
1274
+ * @param {boolean} params.event.isOverflow `true` if this is being called as part of further propagation.
1275
+ * @param {boolean} params.event.overflows `true` if the event extends into future cells.
1276
+ * @param {Scheduler.model.EventModel} params.event.eventRecord The event record being propagated.
1277
+ * @param {Date} params.event.date The date from which the event is being propagated.
1278
+ */
1279
+ (e: 'eventPropagate', params: ((event: { eventEndDate: Date, propagateEndDate: Date, isAllDay: boolean, isOverflow: boolean, overflows: boolean, eventRecord: EventModel, date: Date }) => void)|string): void
1280
+ /**
1281
+ * Fires when a Panel is expanded using the [collapsible](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsible) setting.
1282
+ * @param {string} e Event name
1283
+ * @param {object} params Event parameters
1284
+ * @param {object} params.event Event object
1285
+ * @param {Core.widget.Panel} params.event.source This Panel.
1286
+ */
1287
+ (e: 'expand', params: ((event: { source: Panel }) => void)|string): void
1288
+ /**
1289
+ * Fired when focus enters this Widget.
1290
+ * @param {string} e Event name
1291
+ * @param {object} params Event parameters
1292
+ * @param {object} params.event Event object
1293
+ * @param {Core.widget.Widget} params.event.source This Widget
1294
+ * @param {HTMLElement} params.event.fromElement The element which lost focus.
1295
+ * @param {HTMLElement} params.event.toElement The element which gained focus.
1296
+ * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
1297
+ * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
1298
+ * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
1299
+ */
1300
+ (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
1301
+ /**
1302
+ * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
1303
+ * focus moving from within this Widget's ownership tree, even if there are floating widgets
1304
+ * will not trigger this event. This is when focus exits this widget completely.
1305
+ * @param {string} e Event name
1306
+ * @param {object} params Event parameters
1307
+ * @param {object} params.event Event object
1308
+ * @param {Core.widget.Widget} params.event.source This Widget
1309
+ * @param {HTMLElement} params.event.fromElement The element which lost focus.
1310
+ * @param {HTMLElement} params.event.toElement The element which gained focus.
1311
+ * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
1312
+ * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
1313
+ * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
1314
+ */
1315
+ (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
1316
+ /**
1317
+ * Triggered after a widget was hidden
1318
+ * @param {string} e Event name
1319
+ * @param {object} params Event parameters
1320
+ * @param {object} params.event Event object
1321
+ * @param {Core.widget.Widget} params.event.source The widget
1322
+ */
1323
+ (e: 'hide', params: ((event: { source: Widget }) => void)|string): void
1324
+ /**
1325
+ * Triggered when a widget which had been in a non-visible state for any reason
1326
+ * achieves visibility.
1327
+ * ...
1328
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Calendar/widget/YearView#event-paint)
1329
+ * @param {string} e Event name
1330
+ * @param {object} params Event parameters
1331
+ * @param {object} params.event Event object
1332
+ * @param {Core.widget.Widget} params.event.source The widget being painted.
1333
+ * @param {boolean} params.event.firstPaint `true` if this is the first paint.
1334
+ */
1335
+ (e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
1336
+ /**
1337
+ * Fired when a Widget's read only state is toggled
1338
+ * @param {string} e Event name
1339
+ * @param {object} params Event parameters
1340
+ * @param {object} params.event Event object
1341
+ * @param {boolean} params.event.readOnly Read only or not
1342
+ */
1343
+ (e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
1344
+ /**
1345
+ * This event is fired after a widget's elements have been synchronized due to a direct or indirect call
1346
+ * 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.
1347
+ */
1348
+ (e: 'recompose', params: (() => void)|string): void
1349
+ /**
1350
+ * Fires when this YearView refreshes.
1351
+ * @param {string} e Event name
1352
+ * @param {object} params Event parameters
1353
+ * @param {object} params.event Event object
1354
+ * @param {Calendar.widget.YearView,any} params.event.source The triggering instance.
1355
+ */
1356
+ (e: 'refresh', params: ((event: { source: YearView|any }) => void)|string): void
1357
+ /**
1358
+ * 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`*.
1359
+ * @param {string} e Event name
1360
+ * @param {object} params Event parameters
1361
+ * @param {object} params.event Event object
1362
+ * @param {Core.widget.Widget} params.event.source This Widget
1363
+ * @param {number} params.event.width The new width
1364
+ * @param {number} params.event.height The new height
1365
+ * @param {number} params.event.oldWidth The old width
1366
+ * @param {number} params.event.oldHeight The old height
1367
+ */
1368
+ (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
1369
+ /**
1370
+ * Triggered when a new [responsiveState](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Responsive#config-responsiveState) is applied.
1371
+ * @param {string} e Event name
1372
+ * @param {object} params Event parameters
1373
+ * @param {object} params.event Event object
1374
+ * @param {Core.widget.Widget} params.event.source The widget whose `responsiveState` has changed
1375
+ * @param {string} params.event.state The new value for the widget's `responsiveState`
1376
+ * @param {string} params.event.oldState The previous value for the widget's `responsiveState`
1377
+ */
1378
+ (e: 'responsiveStateChange', params: ((event: { source: Widget, state: string, oldState: string }) => void)|string): void
1379
+ /**
1380
+ * Triggered after a widget is shown.
1381
+ * @param {string} e Event name
1382
+ * @param {object} params Event parameters
1383
+ * @param {object} params.event Event object
1384
+ * @param {Core.widget.Widget} params.event.source The widget
1385
+ */
1386
+ (e: 'show', params: ((event: { source: Widget }) => void)|string): void
1387
+ /**
1388
+ * Fired after an [OverflowPopup](https://bryntum.com/products/calendar/docs/api/Calendar/widget/OverflowPopup) has been shown when an a
1389
+ * "+ n more" overflow button is activated by an [overflowPopupTrigger](https://bryntum.com/products/calendar/docs/api/Calendar/widget/mixin/DayCellRenderer#config-overflowPopupTrigger) event.
1390
+ * @param {string} e Event name
1391
+ * @param {object} params Event parameters
1392
+ * @param {object} params.event Event object
1393
+ * @param {HTMLElement} params.event.cell The day cell for which the overflow popup is going to be shown.
1394
+ * @param {DayCell} params.event.cellData A `DayCell` object that contains data about the cell.
1395
+ * @param {Date} params.event.date The date which has overflowing events
1396
+ * @param {Calendar.widget.OverflowPopup} params.event.overflowPopup The overflow `Popup`.
1397
+ */
1398
+ (e: 'showOverflowPopup', params: ((event: { cell: HTMLElement, cellData: DayCell, date: Date, overflowPopup: OverflowPopup }) => void)|string): void
1399
+ /**
1400
+ * A header [tool](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-tools) has been clicked.
1401
+ * @param {string} e Event name
1402
+ * @param {object} params Event parameters
1403
+ * @param {object} params.event Event object
1404
+ * @param {Core.widget.Tool} params.event.source This Panel.
1405
+ * @param {Core.widget.Tool} params.event.tool The tool which is being clicked.
1406
+ */
1407
+ (e: 'toolClick', params: ((event: { source: Tool, tool: Tool }) => void)|string): void
1408
+ }>();
1409
+
1410
+ const widgetData = {
1411
+ instanceClass : YearView,
1412
+ instanceName : 'YearView',
1413
+
1414
+ configNames : [
1415
+ 'activationKey',
1416
+ 'adopt',
1417
+ 'align',
1418
+ 'anchor',
1419
+ 'ariaDescription',
1420
+ 'ariaLabel',
1421
+ 'bbar',
1422
+ 'bodyCls',
1423
+ 'bubbleEvents',
1424
+ 'centered',
1425
+ 'collapsible',
1426
+ 'color',
1427
+ 'config',
1428
+ 'constrainTo',
1429
+ 'contentElementCls',
1430
+ 'dataField',
1431
+ 'date',
1432
+ 'dayCellNameFormat',
1433
+ 'dayCellRenderer',
1434
+ 'defaultBindProperty',
1435
+ 'defaultFocus',
1436
+ 'defaults',
1437
+ 'descriptionRenderer',
1438
+ 'detectCSSCompatibilityIssues',
1439
+ 'dock',
1440
+ 'draggable',
1441
+ 'drawer',
1442
+ 'elementAttributes',
1443
+ 'emptyCellRenderer',
1444
+ 'eventFilter',
1445
+ 'eventHeaderRenderer',
1446
+ 'eventHeight',
1447
+ 'eventRenderer',
1448
+ 'eventSorter',
1449
+ 'floating',
1450
+ 'footer',
1451
+ 'getPrimaryResource',
1452
+ 'header',
1453
+ 'hideAnimation',
1454
+ 'hideWhenEmpty',
1455
+ 'icon',
1456
+ 'ignoreParentReadOnly',
1457
+ 'itemCls',
1458
+ 'lazyItems',
1459
+ 'listeners',
1460
+ 'localeClass',
1461
+ 'localizable',
1462
+ 'localizableProperties',
1463
+ 'maskDefaults',
1464
+ 'masked',
1465
+ 'monitorResize',
1466
+ 'namedItems',
1467
+ 'overflowButtonRenderer',
1468
+ 'overflowPopup',
1469
+ 'overflowPopupTrigger',
1470
+ 'owner',
1471
+ 'positioned',
1472
+ 'preventTooltipOnTouch',
1473
+ 'relayStoreEvents',
1474
+ 'resourceImagePath',
1475
+ 'responsive',
1476
+ 'responsiveRoot',
1477
+ 'responsiveState',
1478
+ 'responsiveTarget',
1479
+ 'ripple',
1480
+ 'rootElement',
1481
+ 'scrollAction',
1482
+ 'selectorButton',
1483
+ 'selectorMenuItem',
1484
+ 'shortEventCls',
1485
+ 'shortEventDuration',
1486
+ 'showAnimation',
1487
+ 'showBullet',
1488
+ 'showResourceAvatars',
1489
+ 'showTooltipWhenDisabled',
1490
+ 'sixWeeks',
1491
+ 'stateful',
1492
+ 'statefulEvents',
1493
+ 'stateId',
1494
+ 'stateProvider',
1495
+ 'strips',
1496
+ 'tab',
1497
+ 'tabBarItems',
1498
+ 'tag',
1499
+ 'tbar',
1500
+ 'textAlign',
1501
+ 'timeFormat',
1502
+ 'trapFocus',
1503
+ 'type',
1504
+ 'ui',
1505
+ 'weekStartDay',
1506
+ 'weight',
1507
+ 'year'
1508
+ ],
1509
+ propertyConfigNames : [
1510
+ 'alignSelf',
1511
+ 'allowDragCreate',
1512
+ 'allowDragMove',
1513
+ 'allowDragResize',
1514
+ 'animateTimeShift',
1515
+ 'appendTo',
1516
+ 'autoCreate',
1517
+ 'callOnFunctions',
1518
+ 'catchEventHandlerExceptions',
1519
+ 'cls',
1520
+ 'collapsed',
1521
+ 'column',
1522
+ 'dataset',
1523
+ 'dateFormat',
1524
+ 'dateSeparator',
1525
+ 'defaultScrollOptions',
1526
+ 'descriptionFormat',
1527
+ 'disabled',
1528
+ 'dragUnit',
1529
+ 'eventCountTip',
1530
+ 'eventDots',
1531
+ 'eventSpacing',
1532
+ 'extendAllDayEndDay',
1533
+ 'extraData',
1534
+ 'filterEventResources',
1535
+ 'flex',
1536
+ 'height',
1537
+ 'hidden',
1538
+ 'hideNonWorkingDays',
1539
+ 'id',
1540
+ 'inputFieldAlign',
1541
+ 'insertBefore',
1542
+ 'insertFirst',
1543
+ 'items',
1544
+ 'keyMap',
1545
+ 'labelPosition',
1546
+ 'layout',
1547
+ 'layoutStyle',
1548
+ 'margin',
1549
+ 'maxDate',
1550
+ 'maxHeight',
1551
+ 'maximizeOnMobile',
1552
+ 'maxWidth',
1553
+ 'minDate',
1554
+ 'minHeight',
1555
+ 'minWidth',
1556
+ 'nonWorkingDays',
1557
+ 'onBeforeAutoCreate',
1558
+ 'onBeforeChangeDate',
1559
+ 'onBeforeDestroy',
1560
+ 'onBeforeHide',
1561
+ 'onBeforeResponsiveStateChange',
1562
+ 'onBeforeSetRecord',
1563
+ 'onBeforeShow',
1564
+ 'onBeforeShowOverflowPopup',
1565
+ 'onBeforeStateApply',
1566
+ 'onBeforeStateSave',
1567
+ 'onCatchAll',
1568
+ 'onCellMapPopulated',
1569
+ 'onCollapse',
1570
+ 'onDayCellPopulated',
1571
+ 'onDestroy',
1572
+ 'onDirtyStateChange',
1573
+ 'onElementCreated',
1574
+ 'onEmptyCellClick',
1575
+ 'onEventAutoCreated',
1576
+ 'onEventPropagate',
1577
+ 'onExpand',
1578
+ 'onFocusIn',
1579
+ 'onFocusOut',
1580
+ 'onHide',
1581
+ 'onPaint',
1582
+ 'onReadOnly',
1583
+ 'onRecompose',
1584
+ 'onRefresh',
1585
+ 'onResize',
1586
+ 'onResponsiveStateChange',
1587
+ 'onShow',
1588
+ 'onShowOverflowPopup',
1589
+ 'onToolClick',
1590
+ 'pastEventCls',
1591
+ 'readOnly',
1592
+ 'rendition',
1593
+ 'rtl',
1594
+ 'scrollable',
1595
+ 'shortDateFormat',
1596
+ 'shortDateTimeFormat',
1597
+ 'showEvents',
1598
+ 'span',
1599
+ 'stackMultiDayEvents',
1600
+ 'strictRecordMapping',
1601
+ 'syncCalendarDate',
1602
+ 'syncViewDate',
1603
+ 'title',
1604
+ 'tools',
1605
+ 'tooltip',
1606
+ 'width',
1607
+ 'x',
1608
+ 'y'
1609
+ ],
1610
+ propertyNames : [
1611
+ 'anchorSize',
1612
+ 'dayCellCls',
1613
+ 'firstVisibleCell',
1614
+ 'firstVisibleDate',
1615
+ 'focusVisible',
1616
+ 'hasChanges',
1617
+ 'isSettingValues',
1618
+ 'isValid',
1619
+ 'lastVisibleCell',
1620
+ 'lastVisibleDate',
1621
+ 'parent',
1622
+ 'record',
1623
+ 'state',
1624
+ 'values'
1625
+ ],
1626
+ eventNames : [
1627
+ 'beforeAutoCreate',
1628
+ 'beforeChangeDate',
1629
+ 'beforeDestroy',
1630
+ 'beforeHide',
1631
+ 'beforeResponsiveStateChange',
1632
+ 'beforeSetRecord',
1633
+ 'beforeShow',
1634
+ 'beforeShowOverflowPopup',
1635
+ 'beforeStateApply',
1636
+ 'beforeStateSave',
1637
+ 'catchAll',
1638
+ 'cellMapPopulated',
1639
+ 'collapse',
1640
+ 'dayCellPopulated',
1641
+ 'destroy',
1642
+ 'dirtyStateChange',
1643
+ 'elementCreated',
1644
+ 'emptyCellClick',
1645
+ 'eventAutoCreated',
1646
+ 'eventPropagate',
1647
+ 'expand',
1648
+ 'focusIn',
1649
+ 'focusOut',
1650
+ 'hide',
1651
+ 'paint',
1652
+ 'readOnly',
1653
+ 'recompose',
1654
+ 'refresh',
1655
+ 'resize',
1656
+ 'responsiveStateChange',
1657
+ 'show',
1658
+ 'showOverflowPopup',
1659
+ 'toolClick'
1660
+ ]
1661
+ };
1662
+
1663
+ const instance: {
1664
+ value?: YearView
1665
+ } = {};
1666
+
1667
+ const refElement = ref<HTMLDivElement>()!;
1668
+ // Storage for teleports (in-cell Vue component instances) automatically renderer by template
1669
+ const teleports = ref(new Map());
1670
+
1671
+ // Provide teleports for processCellContent
1672
+ provide('teleports', teleports);
1673
+
1674
+ onMounted(() => {
1675
+
1676
+ const me = getCurrentInstance()!;
1677
+
1678
+ instance.value = WrapperHelper.createWidget<typeof YearView>({
1679
+ me,
1680
+ widgetData,
1681
+ emit,
1682
+ element : refElement.value!,
1683
+ toRaw
1684
+ });
1685
+
1686
+ const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);
1687
+ WrapperHelper.watchProps(instance.value, widgetData, watcher);
1688
+ });
1689
+
1690
+ onBeforeUnmount(() => {
1691
+ // @ts-ignore
1692
+ instance.value?.destroy?.();
1693
+ });
1694
+
1695
+ defineExpose({
1696
+ instance,
1697
+ refElement,
1698
+ teleports
1699
+ });
1700
+
1701
+ </script>