@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,1427 @@
1
+ <!-- Vue 3 wrapper for Bryntum DatePicker -->
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, CalendarPanel, Container, ContainerItemConfig, ContainerLayoutConfig, DatePickerListeners, DomConfig, KeyMapConfig, MaskConfig, MenuItemEntry, Model, Month, MonthConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/calendar';
14
+ import { DatePicker } from '@bryntum/calendar';
15
+
16
+ import { WrapperHelper } from '../helper/WrapperHelper';
17
+
18
+ defineProps<{
19
+ // Configs
20
+ /**
21
+ * The date that the user has navigated to using the UI *prior* to setting the widget's
22
+ * value by selecting it. The initial default is today's date. Can also be supplied as a `YYYY-MM-DD` date
23
+ * string.
24
+ * ...
25
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-activeDate)
26
+ */
27
+ activeDate ? : Date|'today'|string
28
+ /**
29
+ * Element (or element id) to adopt as this Widget's encapsulating element. The widget's
30
+ * content will be placed inside this element.
31
+ * ...
32
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-adopt)
33
+ */
34
+ adopt ? : HTMLElement|string
35
+ /**
36
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
37
+ * ...
38
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-align)
39
+ */
40
+ align ? : AlignSpec|string
41
+ /**
42
+ * 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
43
+ * flexbox layout. This config allows you to set this widget's
44
+ * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.
45
+ */
46
+ alignSelf ? : string
47
+ /**
48
+ * *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).*
49
+ * `true` to show a connector arrow pointing to the align target.
50
+ */
51
+ anchor ? : Boolean
52
+ /**
53
+ * By default, when navigating through time, the next time
54
+ * block will be animated in from the appropriate direction.
55
+ * ...
56
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-animateTimeShift)
57
+ */
58
+ animateTimeShift ? : Boolean
59
+ /**
60
+ * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
61
+ * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).
62
+ */
63
+ appendTo ? : HTMLElement|string
64
+ /**
65
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
66
+ * into an element which will be linked using the `aria-describedby` attribute.
67
+ * ...
68
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-ariaDescription)
69
+ */
70
+ ariaDescription ? : string
71
+ /**
72
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
73
+ * the `aria-label` attribute.
74
+ * ...
75
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-ariaLabel)
76
+ */
77
+ ariaLabel ? : string
78
+ /**
79
+ * Update assigned [record](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#config-record) automatically on field changes
80
+ */
81
+ autoUpdateRecord ? : Boolean
82
+ /**
83
+ * A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/calendar/docs/api/Core/widget/Toolbar),
84
+ * 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).
85
+ * ...
86
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-bbar)
87
+ */
88
+ bbar ? : (ContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
89
+ /**
90
+ * Custom CSS classes to add to the panel's body element.
91
+ * ...
92
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-bodyCls)
93
+ */
94
+ bodyCls ? : string|object
95
+ /**
96
+ * An object where property names with a truthy value indicate which events should bubble up the ownership
97
+ * hierarchy when triggered.
98
+ * ...
99
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-bubbleEvents)
100
+ */
101
+ bubbleEvents ? : object
102
+ /**
103
+ * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
104
+ * ...
105
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-callOnFunctions)
106
+ */
107
+ callOnFunctions ? : Boolean
108
+ /**
109
+ * By default, if an event handler throws an exception, the error propagates up the stack and the
110
+ * application state is undefined. Code which follows the event handler will *not* be executed.
111
+ * ...
112
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-catchEventHandlerExceptions)
113
+ */
114
+ catchEventHandlerExceptions ? : Boolean
115
+ /**
116
+ * A function (or the name of a function) which creates content in, and may mutate a day cell element.
117
+ * ...
118
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-cellRenderer)
119
+ * @param {object} renderData
120
+ * @param {HTMLElement} renderData.cell The cell's encapsulating element. This has the `b-calendar-panel-cell` class and is the element which receives focus, so this should be the target of any accessibility attributes.
121
+ * @param {HTMLElement} renderData.innerCell The inner element of the cell which contains the date number. This is the `aspect-ratio : 1` element which contains the date. It is not recommeneded to mutate this element. Instead use the `cellPayload` element (see below).
122
+ * @param {HTMLElement} renderData.cellPayload An empty, absolutely positioned element, by default docked at the bottom of the cell. Content may be added to this element to augment cell content.
123
+ * @param {Date} renderData.date The date for the cell
124
+ * @param {number} renderData.day The day for the cell (`0` to `6` for Sunday to Saturday)
125
+ * @param {number[]} renderData.rowIndex The row index, 0 to month row count (6 if [sixWeeks](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-sixWeeks) is `true`)
126
+ * @param {HTMLElement} renderData.row The row element encapsulating the week which the cell is a part of
127
+ * @param {Core.widget.CalendarPanel} renderData.source The widget being rendered
128
+ * @param {number[]} renderData.cellIndex The cell index in the whole panel. May be from `0` to up to `42`
129
+ * @param {number[]} renderData.columnIndex The column index, `0` to `6`
130
+ * @param {number[]} renderData.visibleColumnIndex The visible column index taking hidden non working days into account
131
+ * @returns {string,DomConfig,void}
132
+ */
133
+ cellRenderer ? : ((renderData: { cell: HTMLElement, innerCell: HTMLElement, cellPayload: HTMLElement, date: Date, day: number, rowIndex: number[], row: HTMLElement, source: CalendarPanel, cellIndex: number[], columnIndex: number[], visibleColumnIndex: number[] }) => string|DomConfig|void)|string
134
+ /**
135
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
136
+ * Set to `true` to centre the Widget in browser viewport space.
137
+ */
138
+ centered ? : Boolean
139
+ /**
140
+ * Custom CSS classes to add to element.
141
+ * May be specified as a space separated string, or as an object in which property names
142
+ * with truthy values are used as the class names:
143
+ * ...
144
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-cls)
145
+ */
146
+ cls ? : string|object
147
+ /**
148
+ * Controls whether the panel is collapsed (the body of the panel is hidden while only the header is
149
+ * visible). Only valid if the panel is [collapsible](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsible).
150
+ */
151
+ collapsed ? : Boolean
152
+ /**
153
+ * This config enables collapsibility for the panel. See [collapsed](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsed).
154
+ * ...
155
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-collapsible)
156
+ */
157
+ collapsible ? : Boolean|PanelCollapserConfig|PanelCollapserOverlayConfig
158
+ /**
159
+ * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
160
+ * `style` block.
161
+ * ...
162
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-color)
163
+ */
164
+ color ? : string
165
+ /**
166
+ * Programmatic control over which column to start in when used in a grid layout.
167
+ */
168
+ column ? : number
169
+ config ? : object
170
+ /**
171
+ * *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).*
172
+ * Element, Widget or Rectangle to which this Widget is constrained.
173
+ */
174
+ constrainTo ? : HTMLElement|Widget|Rectangle
175
+ /**
176
+ * The HTML content that coexists with sibling elements which may have been added to the
177
+ * [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement) by plugins and features.
178
+ * When specifying html, this widget's element will also have the [htmlCls](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-htmlCls)
179
+ * class added to its classList, to allow targeted styling.
180
+ */
181
+ content ? : string
182
+ /**
183
+ * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).
184
+ * May be specified as a space separated string, or as an object in which property names
185
+ * with truthy values are used as the class names:
186
+ * ...
187
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-contentElementCls)
188
+ */
189
+ contentElementCls ? : string|object
190
+ /**
191
+ * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the
192
+ * field on the expanded record to use for populating this widget's store (if applicable)
193
+ */
194
+ dataField ? : string
195
+ /**
196
+ * Object to apply to elements dataset (each key will be used as a data-attribute on the element)
197
+ */
198
+ dataset ? : Record<string, string>
199
+ /**
200
+ * The initially selected date (or a `YYYY-MM-DD` date string).
201
+ */
202
+ date ? : Date|string
203
+ /**
204
+ * The [DateHelper](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper) format string to format the day names.
205
+ */
206
+ dayNameFormat ? : string
207
+ /**
208
+ * The name of the property to set when a single value is to be applied to this Widget. Such as when used
209
+ * in a grid WidgetColumn, this is the property to which the column's `field` is applied.
210
+ */
211
+ defaultBindProperty ? : string
212
+ /**
213
+ * A [query](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
214
+ * focus should be directed by default.
215
+ * ...
216
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-defaultFocus)
217
+ * @param {Core.widget.Widget} widget Widget passed to method
218
+ * @returns {boolean} truthy value if widget is the default one
219
+ */
220
+ defaultFocus ? : ((widget: Widget) => Boolean)|string
221
+ /**
222
+ * A config object containing default settings to apply to all child widgets.
223
+ */
224
+ defaults ? : ContainerItemConfig
225
+ /**
226
+ * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
227
+ * ...
228
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-detectCSSCompatibilityIssues)
229
+ */
230
+ detectCSSCompatibilityIssues ? : Boolean
231
+ /**
232
+ * 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
233
+ * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
234
+ * ...
235
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-disabled)
236
+ */
237
+ disabled ? : Boolean|'inert'
238
+ /**
239
+ * The class name to add to disabled calendar cells.
240
+ */
241
+ disabledCls ? : string
242
+ /**
243
+ * Either an array of `Date` objects which are to be disabled (or date strings), or
244
+ * a function (or the name of a function), which, when passed a `Date` returns `true` if the
245
+ * date is disabled. Disabled dates cannot be interacted with.
246
+ * @param {Date} date Date to check
247
+ * @returns {boolean} Returns `true` if the provided date is disabled
248
+ */
249
+ disabledDates ? : ((date: Date) => Boolean)|string|Date[]|string[]
250
+ /**
251
+ * Configure as `true` to render non working days as [disabledDates](https://bryntum.com/products/calendar/docs/api/Core/widget/CalendarPanel#config-disabledDates).
252
+ * ...
253
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-disableNonWorkingDays)
254
+ */
255
+ disableNonWorkingDays ? : Boolean
256
+ /**
257
+ * Configure this as true to disable pointer interaction with cells which are outside the
258
+ * range of the current month.
259
+ */
260
+ disableOtherMonthCells ? : Boolean
261
+ /**
262
+ * Configure as `true` to render Saturdays and Sundays as [disabledDates](https://bryntum.com/products/calendar/docs/api/Core/widget/CalendarPanel#config-disabledDates).
263
+ */
264
+ disableWeekends ? : Boolean
265
+ /**
266
+ * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel)
267
+ * [strips collection](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
268
+ * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
269
+ * body. Such widgets are called "edge strips".
270
+ * ...
271
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-dock)
272
+ */
273
+ dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
274
+ /**
275
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
276
+ * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
277
+ * property which controls when a drag should start.
278
+ * ...
279
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-draggable)
280
+ */
281
+ draggable ? : Boolean|{
282
+ handleSelector?: string
283
+ }
284
+ /**
285
+ * This property is only valid if [multiSelect](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-multiSelect) is set to `'range'`
286
+ * or `true`.
287
+ * ...
288
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-dragSelect)
289
+ */
290
+ dragSelect ? : Boolean
291
+ /**
292
+ * Make this Panel a docked drawer which slides out from one side of the browser viewport by default.
293
+ * ...
294
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-drawer)
295
+ * @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.
296
+ * @param {string,number} size The size of the drawer in its collapsible axis.
297
+ * @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.
298
+ * @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.
299
+ * @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.
300
+ * @param {boolean,string} autoClose.focusout If focus moves outside of the drawer, the drawer will automatically be hidden.
301
+ * @param {string} autoClose.mouseout Hides the drawer when the mouse leaves the drawer after the `autoCloseDelay` period.
302
+ * @param {number} autoCloseDelay When using `mouseout`, this is the delay in milliseconds
303
+ */
304
+ 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}
305
+ /**
306
+ * By default, the month and year are editable. Configure this as `false` to prevent that.
307
+ */
308
+ editMonth ? : Boolean
309
+ /**
310
+ * An object specifying attributes to assign to the root element of this widget.
311
+ * Set `null` value to attribute to remove it.
312
+ * ...
313
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-elementAttributes)
314
+ */
315
+ elementAttributes ? : Record<string, string|null>
316
+ extraData ? : any
317
+ /**
318
+ * 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
319
+ * flexbox layout. This config allows you to set this widget's
320
+ * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.
321
+ * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.
322
+ * numeric-only values are interpreted as the `flex-grow` value.
323
+ */
324
+ flex ? : number|string
325
+ /**
326
+ * Set to `true` to move the widget out of the document flow and position it
327
+ * absolutely in browser viewport space.
328
+ */
329
+ floating ? : Boolean
330
+ /**
331
+ * By default, disabled dates cannot be navigated to, and they are skipped over
332
+ * during keyboard navigation. Configure this as `true` to enable navigation to
333
+ * disabled dates.
334
+ */
335
+ focusDisabledDates ? : Boolean
336
+ /**
337
+ * Config object of a footer. May contain a `dock`, `html` and a `cls` property. A footer is not a widget,
338
+ * 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).
339
+ * ...
340
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-footer)
341
+ */
342
+ footer ? : {
343
+ dock?: 'top'|'right'|'bottom'|'left'|'start'|'end'
344
+ html?: string
345
+ cls?: string
346
+ }|string
347
+ /**
348
+ * 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`.
349
+ * ...
350
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-header)
351
+ */
352
+ header ? : string|Boolean|PanelHeader
353
+ /**
354
+ * A function (or the name of a function) which creates content in, and may mutate a day header element.
355
+ * ...
356
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-headerRenderer)
357
+ * @param {HTMLElement} cell The header element
358
+ * @param {number} columnIndex The day column. Will be in the range `0` to `6`
359
+ * @param {number} weekDay The canonical day number where Monday is `0` and Sunday is `6`
360
+ * @returns {string,DomConfig,void}
361
+ */
362
+ headerRenderer ? : ((cell: HTMLElement, columnIndex: number, weekDay: number) => string|DomConfig|void)|string
363
+ /**
364
+ * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,
365
+ * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some
366
+ * cases this config is convenient.
367
+ */
368
+ height ? : string|number
369
+ /**
370
+ * Configure with true to make widget initially hidden.
371
+ */
372
+ hidden ? : Boolean
373
+ /**
374
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
375
+ * ...
376
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-hideAnimation)
377
+ */
378
+ hideAnimation ? : Boolean|object
379
+ /**
380
+ * Configure this as `true` to hide cells which are outside the range of the current month.
381
+ */
382
+ hideOtherMonthCells ? : Boolean
383
+ /**
384
+ * Specify `true` to make this container hide when it has no visible children (Either empty
385
+ * or all children hidden).
386
+ * ...
387
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-hideWhenEmpty)
388
+ */
389
+ hideWhenEmpty ? : Boolean
390
+ /**
391
+ * Configure as `true` to add a highlighted border and background to the week row which
392
+ * encapsulates the selected date.
393
+ */
394
+ highlightSelectedWeek ? : Boolean
395
+ /**
396
+ * The HTML to display initially or a function returning the markup (called at widget construction time).
397
+ * ...
398
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-html)
399
+ * @param {Core.widget.Widget} widget The calling Widget
400
+ * @returns {string}
401
+ */
402
+ html ? : string|((widget: Widget) => string)|DomConfig|DomConfig[]|VueConfig
403
+ /**
404
+ * The CSS class(es) to add when HTML content is being applied to this widget.
405
+ */
406
+ htmlCls ? : string|object
407
+ /**
408
+ * 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
409
+ * [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) object describing an element to represent the icon.
410
+ */
411
+ icon ? : string|DomConfig
412
+ /**
413
+ * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById
414
+ */
415
+ id ? : string
416
+ /**
417
+ * Determines if the widgets read-only state should be controlled by its parent.
418
+ * ...
419
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-ignoreParentReadOnly)
420
+ */
421
+ ignoreParentReadOnly ? : Boolean
422
+ /**
423
+ * By default, the year is visible. Configure this as `false` to prevent that.
424
+ */
425
+ includeYear ? : Boolean
426
+ /**
427
+ * Convenience setting to align input fields of child widgets. By default, the Field input element is
428
+ * placed immediately following the `label`. If you prefer to have all input fields aligned to the
429
+ * right, set this config to `'end'`.
430
+ * ...
431
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-inputFieldAlign)
432
+ */
433
+ inputFieldAlign ? : 'start'|'end'
434
+ /**
435
+ * 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.
436
+ */
437
+ insertBefore ? : HTMLElement|string
438
+ /**
439
+ * 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.
440
+ */
441
+ insertFirst ? : HTMLElement|string
442
+ /**
443
+ * An optional CSS class to add to child items of this container.
444
+ */
445
+ itemCls ? : string
446
+ /**
447
+ * An object containing typed child widget config objects or Widgets. May also be specified
448
+ * as an array.
449
+ * ...
450
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-items)
451
+ */
452
+ items ? : Record<string, ContainerItemConfig|MenuItemEntry>|(ContainerItemConfig|MenuItemEntry|Widget)[]
453
+ /**
454
+ * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
455
+ * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
456
+ * are the name of the instance method to call when the keystroke is received.
457
+ * ...
458
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-keyMap)
459
+ */
460
+ keyMap ? : Record<string, KeyMapConfig>
461
+ /**
462
+ * Convenience setting to use same label placement on all child widgets.
463
+ * ...
464
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-labelPosition)
465
+ */
466
+ labelPosition ? : 'before'|'above'|'align-before'|'auto'|null
467
+ /**
468
+ * The short name of a helper class which manages rendering and styling of child items.
469
+ * ...
470
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-layout)
471
+ */
472
+ layout ? : string|ContainerLayoutConfig
473
+ /**
474
+ * The CSS style properties to apply to the [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).
475
+ * ...
476
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-layoutStyle)
477
+ */
478
+ layoutStyle ? : object
479
+ /**
480
+ * 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
481
+ * instances only when this Container is rendered, rather than eagerly at construct time.
482
+ * ...
483
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-lazyItems)
484
+ */
485
+ lazyItems ? : Record<string, ContainerItemConfig>|ContainerItemConfig[]|Widget[]
486
+ /**
487
+ * The listener set for this object.
488
+ * ...
489
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-listeners)
490
+ */
491
+ listeners ? : DatePickerListeners
492
+ /**
493
+ * A class translations of which are used for translating this entity.
494
+ * This is often used when translations of an item are defined on its container class.
495
+ * For example:
496
+ * ...
497
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-localeClass)
498
+ */
499
+ localeClass ? : typeof Base
500
+ /**
501
+ * Set to `false` to disable localization of this object.
502
+ */
503
+ localizable ? : Boolean
504
+ /**
505
+ * List of properties which values should be translated automatically upon a locale applying.
506
+ * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
507
+ * you could use 'localeKey' meta configuration.
508
+ * Example:
509
+ * ...
510
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-localizableProperties)
511
+ */
512
+ localizableProperties ? : string[]
513
+ /**
514
+ * Widget's margin. This may be configured as a single number or a `TRBL` format string.
515
+ * numeric-only values are interpreted as pixels.
516
+ */
517
+ margin ? : number|string
518
+ /**
519
+ * This config object contains the defaults for the [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) created for the
520
+ * [masked](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these
521
+ * values.
522
+ */
523
+ maskDefaults ? : MaskConfig
524
+ /**
525
+ * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a
526
+ * [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) config object.
527
+ */
528
+ masked ? : Boolean|string|MaskConfig
529
+ /**
530
+ * The maximum selectable date. Selection of and navigation to dates after
531
+ * this date will not be possible.
532
+ */
533
+ maxDate ? : Date
534
+ /**
535
+ * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that
536
+ * like [height](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
537
+ */
538
+ maxHeight ? : string|number
539
+ /**
540
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
541
+ * ...
542
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-maximizeOnMobile)
543
+ */
544
+ maximizeOnMobile ? : number|string
545
+ /**
546
+ * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that
547
+ * like [width](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
548
+ */
549
+ maxWidth ? : string|number
550
+ /**
551
+ * By default, day cells flex to share available Panel width equally.
552
+ * ...
553
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-minColumnWidth)
554
+ */
555
+ minColumnWidth ? : number
556
+ /**
557
+ * The minimum selectable date. Selection of and navigation to dates prior
558
+ * to this date will not be possible.
559
+ */
560
+ minDate ? : Date
561
+ /**
562
+ * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that
563
+ * like [height](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
564
+ */
565
+ minHeight ? : string|number
566
+ /**
567
+ * By default, week rows flex to share available Panel height equally.
568
+ * ...
569
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-minRowHeight)
570
+ */
571
+ minRowHeight ? : number|string
572
+ /**
573
+ * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that
574
+ * like [width](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
575
+ */
576
+ minWidth ? : string|number
577
+ /**
578
+ * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
579
+ * is used to monitor this element for size changes caused by either style manipulation, or by CSS
580
+ * layout.
581
+ * ...
582
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-monitorResize)
583
+ */
584
+ monitorResize ? : Boolean|{
585
+ immediate?: Boolean
586
+ }
587
+ /**
588
+ * A [Month](https://bryntum.com/products/calendar/docs/api/Core/util/Month) Month utility object which encapsulates this Panel's month
589
+ * and provides contextual information and navigation services.
590
+ */
591
+ month ? : Month|MonthConfig
592
+ /**
593
+ * The format string to use to create the text of the month button.
594
+ * ...
595
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-monthButtonFormat)
596
+ */
597
+ monthButtonFormat ? : string
598
+ /**
599
+ * Configure as `true` to enable selecting multiple discontiguous date ranges using
600
+ * click and Shift+click to create ranges and Ctrl+click to select/deselect individual dates.
601
+ * ...
602
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-multiSelect)
603
+ */
604
+ multiSelect ? : Boolean|'range'|'simple'
605
+ /**
606
+ * 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)
607
+ * config. For example, a specialized [Menu](https://bryntum.com/products/calendar/docs/api/Core/widget/Menu) subclass may have a `namedItems` default
608
+ * value defined like this:
609
+ * ...
610
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-namedItems)
611
+ */
612
+ namedItems ? : Record<string, ContainerItemConfig>
613
+ /**
614
+ * The class name to add to calendar cells which are [nonWorkingDays](https://bryntum.com/products/calendar/docs/api/Core/widget/CalendarPanel#config-nonWorkingDays).
615
+ */
616
+ nonWorkingDayCls ? : string
617
+ /**
618
+ * Non-working days as an object where keys are day indices, 0-6 (Sunday-Saturday), and the value is `true`.
619
+ * Defaults to [nonWorkingDays](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper#property-nonWorkingDays-static).
620
+ */
621
+ nonWorkingDays ? : Record<number, Boolean>
622
+ /**
623
+ * The class name to add to calendar cells which are in the previous or next month.
624
+ */
625
+ otherMonthCls ? : string
626
+ /**
627
+ * The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
628
+ * [items](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
629
+ * the owner is <strong>always</strong> the encapsulating Container.
630
+ * ...
631
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-owner)
632
+ */
633
+ owner ? : Widget|any
634
+ /**
635
+ * 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
636
+ * not participate in the standard layout of that widget, and must be positioned relatively to that
637
+ * widget's [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).
638
+ * ...
639
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-positioned)
640
+ */
641
+ positioned ? : Boolean
642
+ /**
643
+ * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a
644
+ * menu on click etc, since the tooltip would be displayed at the same time.
645
+ */
646
+ preventTooltipOnTouch ? : Boolean
647
+ /**
648
+ * Whether this widget is read-only. This is only valid if the widget is an input
649
+ * field, <strong>or contains input fields at any depth</strong>.
650
+ * ...
651
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-readOnly)
652
+ */
653
+ readOnly ? : Boolean
654
+ /**
655
+ * [Record](https://bryntum.com/products/calendar/docs/api/Core/data/Model) whose values will be used to populate fields in the container.
656
+ * ...
657
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-record)
658
+ */
659
+ record ? : Model
660
+ relayStoreEvents ? : Boolean
661
+ /**
662
+ * Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
663
+ * `type`.
664
+ * ...
665
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-rendition)
666
+ */
667
+ rendition ? : string|Record<string, string>|null
668
+ /**
669
+ * Configure as `true` to have the component display a translucent ripple when its
670
+ * [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
671
+ * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
672
+ * ...
673
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-ripple)
674
+ */
675
+ ripple ? : Boolean|{
676
+ delegate?: string
677
+ color?: string
678
+ radius?: number
679
+ clip?: string
680
+ }
681
+ /**
682
+ * 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`
683
+ */
684
+ rootElement ? : ShadowRoot|HTMLElement
685
+ /**
686
+ * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
687
+ * ...
688
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-rtl)
689
+ */
690
+ rtl ? : Boolean
691
+ /**
692
+ * Specifies whether (and optionally in which axes) a Widget may scroll. `true` means this widget may scroll
693
+ * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
694
+ * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
695
+ * CSS overflow properties thus:
696
+ * ...
697
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-scrollable)
698
+ */
699
+ scrollable ? : Boolean|ScrollerConfig|Scroller
700
+ /**
701
+ * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
702
+ * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
703
+ */
704
+ scrollAction ? : 'hide'|'realign'|null
705
+ /**
706
+ * If [multiSelect](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-multiSelect) is configured as `true`, this is an array of dates
707
+ * which are selected. There may be multiple, discontiguous date ranges.
708
+ * ...
709
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-selection)
710
+ */
711
+ selection ? : Date[]|string[]
712
+ /**
713
+ * Configure as `true` to render past dates in a lighter text color.
714
+ */
715
+ shadePastDates ? : Boolean
716
+ /**
717
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
718
+ * ...
719
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-showAnimation)
720
+ */
721
+ showAnimation ? : Boolean|object
722
+ /**
723
+ * Set to `false` to not show the tooltip when this widget is [disabled](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-disabled)
724
+ */
725
+ showTooltipWhenDisabled ? : Boolean
726
+ /**
727
+ * Configure as `true` to show a week number column at the start of the calendar block.
728
+ */
729
+ showWeekColumn ? : Boolean
730
+ /**
731
+ * Configure as `true` to always show a six-week calendar.
732
+ */
733
+ sixWeeks ? : Boolean
734
+ /**
735
+ * Programmatic control over how many columns to span when used in a grid layout.
736
+ */
737
+ span ? : number
738
+ /**
739
+ * This value can be one of the following:
740
+ * ...
741
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-stateful)
742
+ */
743
+ stateful ? : Boolean|object|string[]
744
+ /**
745
+ * The events that, when fired by this component, should trigger it to save its state by calling
746
+ * [saveState](https://bryntum.com/products/calendar/docs/api/Core/mixin/State#function-saveState).
747
+ * ...
748
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-statefulEvents)
749
+ */
750
+ statefulEvents ? : object|string[]
751
+ /**
752
+ * 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
753
+ * 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)
754
+ * (if explicitly specified) will be used as the `stateId`.
755
+ * ...
756
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-stateId)
757
+ */
758
+ stateId ? : string
759
+ /**
760
+ * 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`
761
+ * will be saved using the [default state provider](https://bryntum.com/products/calendar/docs/api/Core/state/StateProvider#property-instance-static).
762
+ * ...
763
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-stateProvider)
764
+ */
765
+ stateProvider ? : StateProvider
766
+ /**
767
+ * 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),
768
+ * without falling back to `ref`.
769
+ */
770
+ strictRecordMapping ? : Boolean
771
+ /**
772
+ * An object containing widgets keyed by name. By default (when no `type` is given), strips are
773
+ * [toolbars](https://bryntum.com/products/calendar/docs/api/Core/widget/Toolbar). If you want to pass an array, you can use
774
+ * the toolbar's [items](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#config-items).
775
+ * ...
776
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-strips)
777
+ */
778
+ strips ? : Record<string, ContainerItemConfig>
779
+ /**
780
+ * 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
781
+ * [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
782
+ * this widget:
783
+ * ...
784
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-tab)
785
+ */
786
+ tab ? : Boolean|TabConfig
787
+ /**
788
+ * When this container is used as a tab in a TabPanel, these items are added to the
789
+ * [TabBar](https://bryntum.com/products/calendar/docs/api/Core/widget/TabBar) when this container is the active tab.
790
+ * ...
791
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-tabBarItems)
792
+ */
793
+ tabBarItems ? : ToolbarItems[]|Widget[]
794
+ /**
795
+ * The tag name of this Widget's root element
796
+ */
797
+ tag ? : string
798
+ /**
799
+ * A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/calendar/docs/api/Core/widget/Toolbar),
800
+ * or array of config objects representing the child items of a Toolbar.
801
+ * This creates a toolbar docked to the top of the panel immediately below the header.
802
+ * ...
803
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-tbar)
804
+ */
805
+ tbar ? : (ContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
806
+ /**
807
+ * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
808
+ * ...
809
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-textAlign)
810
+ */
811
+ textAlign ? : 'left'|'center'|'right'|'start'|'end'
812
+ /**
813
+ * Specify `true` for a container used to show text markup. It will apply the CSS class `b-text-content`
814
+ * which specifies a default max-width that makes long text more readable.
815
+ * ...
816
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-textContent)
817
+ */
818
+ textContent ? : Boolean
819
+ /**
820
+ * A config object to create a tooltip which will show on hover of a date cell including disabled, weekend,
821
+ * and "other month" cells.
822
+ * ...
823
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-tip)
824
+ */
825
+ tip ? : TooltipConfig
826
+ /**
827
+ * A title to display in the header or owning TabPanel. Causes creation and docking of a header
828
+ * to the top if no header is configured.
829
+ * ...
830
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-title)
831
+ */
832
+ title ? : string
833
+ /**
834
+ * The class name to add to the calendar cell which contains today's date.
835
+ */
836
+ todayCls ? : string
837
+ /**
838
+ * 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
839
+ * property name is the reference by which an instantiated tool may be retrieved from the live
840
+ * `[tools](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Toolable#property-tools)` property.
841
+ * ...
842
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-tools)
843
+ */
844
+ tools ? : Record<string, ToolConfig>|null
845
+ /**
846
+ * Tooltip for the widget, either as a string or as a Tooltip config object.
847
+ * ...
848
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-tooltip)
849
+ */
850
+ tooltip ? : string|TooltipConfig|null
851
+ /**
852
+ * By default, tabbing within a Panel is not contained, ie you can TAB out of the Panel
853
+ * forwards or backwards.
854
+ * Configure this as `true` to disallow tabbing out of the Panel, and make tabbing circular within this Panel.
855
+ */
856
+ trapFocus ? : Boolean
857
+ type ? : 'datepicker'
858
+ /**
859
+ * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
860
+ * as a space separated string, an array of strings, or as an object in which property names with truthy
861
+ * values are used as the class names.
862
+ * ...
863
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-ui)
864
+ */
865
+ ui ? : 'plain'|'toolbar'|string|object
866
+ /**
867
+ * The header text for the week number column, if shown.
868
+ */
869
+ weekColumnHeader ? : string
870
+ /**
871
+ * The class name to add to calendar cells which are weekend dates.
872
+ */
873
+ weekendCls ? : string
874
+ /**
875
+ * A function (or the name of a function) which creates content in, and may mutate the week cell element at the start of a week row.
876
+ * ...
877
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-weekRenderer)
878
+ * @param {HTMLElement} weekCell The header element
879
+ * @param {number[]} week An array containing `[year, weekNumber]`
880
+ * @returns {string,DomConfig,void}
881
+ */
882
+ weekRenderer ? : ((weekCell: HTMLElement, week: number[]) => string|DomConfig|void)|string
883
+ /**
884
+ * The week start day, 0 meaning Sunday, 6 meaning Saturday.
885
+ * Defaults to [weekStartDay](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper#property-weekStartDay-static).
886
+ */
887
+ weekStartDay ? : number
888
+ /**
889
+ * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/calendar/docs/api/Core/widget/Container).
890
+ * Higher weights go further down.
891
+ */
892
+ weight ? : number
893
+ /**
894
+ * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which
895
+ * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases
896
+ * this config is convenient.
897
+ */
898
+ width ? : string|number
899
+ /**
900
+ * The x position for the widget.
901
+ * ...
902
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-x)
903
+ */
904
+ x ? : number
905
+ /**
906
+ * The y position for the widget.
907
+ * ...
908
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-y)
909
+ */
910
+ y ? : number
911
+
912
+ }>();
913
+
914
+ const emit = defineEmits<{
915
+ /**
916
+ * Fires before an object is destroyed.
917
+ * @param {string} e Event name
918
+ * @param {object} params Event parameters
919
+ * @param {object} params.event Event object
920
+ * @param {Core.Base} params.event.source The Object that is being destroyed.
921
+ */
922
+ (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
923
+ /**
924
+ * Triggered before a widget is hidden. Return `false` to prevent the action.
925
+ * @param {string} e Event name
926
+ * @param {object} params Event parameters
927
+ * @param {object} params.event Event object
928
+ * @param {Core.widget.Widget} params.event.source The widget being hidden.
929
+ */
930
+ (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
931
+ /**
932
+ * Fires before this CalendarPanel refreshes in response to changes in its month.
933
+ * @param {string} e Event name
934
+ * @param {object} params Event parameters
935
+ * @param {object} params.event Event object
936
+ * @param {Core.widget.DatePicker} params.event.source This DatePicker.
937
+ */
938
+ (e: 'beforeRefresh', params: ((event: { source: DatePicker }) => void)|string): void
939
+ /**
940
+ * Fired before this container will load record values into its child fields. This is useful if you
941
+ * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
942
+ * @param {string} e Event name
943
+ * @param {object} params Event parameters
944
+ * @param {object} params.event Event object
945
+ * @param {Core.widget.Container} params.event.source The container
946
+ * @param {Core.data.Model} params.event.record The record
947
+ */
948
+ (e: 'beforeSetRecord', params: ((event: { source: Container, record: Model }) => void)|string): void
949
+ /**
950
+ * Triggered before a widget is shown. Return `false` to prevent the action.
951
+ * @param {string} e Event name
952
+ * @param {object} params Event parameters
953
+ * @param {object} params.event Event object
954
+ * @param {Core.widget.Widget,any} params.event.source The widget being shown
955
+ */
956
+ (e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
957
+ /**
958
+ * Fired before state is applied to the source. Allows editing the state object or preventing the operation.
959
+ * @param {string} e Event name
960
+ * @param {object} params Event parameters
961
+ * @param {object} params.event Event object
962
+ * @param {any} params.event.state State object config
963
+ */
964
+ (e: 'beforeStateApply', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
965
+ /**
966
+ * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
967
+ * @param {string} e Event name
968
+ * @param {object} params Event parameters
969
+ * @param {object} params.event Event object
970
+ * @param {any} params.event.state State object config
971
+ */
972
+ (e: 'beforeStateSave', params: ((event: { state: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
973
+ /**
974
+ * Fires when any other event is fired from the object.
975
+ * ...
976
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#event-catchAll)
977
+ * @param {string} e Event name
978
+ * @param {object} params Event parameters
979
+ * @param {object} params.event Event object
980
+ * @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details
981
+ * @param {string} params.event.event.type The type of the event which is caught by the listener
982
+ */
983
+ (e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
984
+ /**
985
+ * Fired when a date cell is clicked.
986
+ * @param {string} e Event name
987
+ * @param {object} params Event parameters
988
+ * @param {object} params.event Event object
989
+ * @param {HTMLElement} params.event.cell The clicked cell element.
990
+ * @param {Date} params.event.date The date represented by the cell.
991
+ * @param {number[]} params.event.week The week array `[year, weekNumber]`.
992
+ * @param {Event} params.event.domEvent The original DOM event.
993
+ */
994
+ (e: 'cellClick', params: ((event: { cell: HTMLElement, date: Date, week: number[], domEvent: Event }) => void)|string): void
995
+ /**
996
+ * Fires when a Panel is collapsed using the [collapsible](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsible) setting.
997
+ * @param {string} e Event name
998
+ * @param {object} params Event parameters
999
+ * @param {object} params.event Event object
1000
+ * @param {Core.widget.Panel} params.event.source This Panel.
1001
+ */
1002
+ (e: 'collapse', params: ((event: { source: Panel }) => void)|string): void
1003
+ /**
1004
+ * Fires when the date of this CalendarPanel is set.
1005
+ * @param {string} e Event name
1006
+ * @param {object} params Event parameters
1007
+ * @param {object} params.event Event object
1008
+ * @param {Date} params.event.value The new date.
1009
+ * @param {Date} params.event.oldValue The old date.
1010
+ * @param {object} params.event.changes An object which contains properties which indicate what part of the date changed.
1011
+ * @param {boolean} params.event.changes.d True if the date changed in any way.
1012
+ * @param {boolean} params.event.changes.w True if the week changed (including same week in a different year).
1013
+ * @param {boolean} params.event.changes.m True if the month changed (including same month in a different year).
1014
+ * @param {boolean} params.event.changes.y True if the year changed.
1015
+ */
1016
+ (e: 'dateChange', params: ((event: { value: Date, oldValue: Date, changes: { d: boolean, w: boolean, m: boolean, y: boolean } }) => void)|string): void
1017
+ /**
1018
+ * Fires when an object is destroyed.
1019
+ * @param {string} e Event name
1020
+ * @param {object} params Event parameters
1021
+ * @param {object} params.event Event object
1022
+ * @param {Core.Base} params.event.source The Object that is being destroyed.
1023
+ */
1024
+ (e: 'destroy', params: ((event: { source: Base }) => void)|string): void
1025
+ /**
1026
+ * 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
1027
+ * @param {string} e Event name
1028
+ * @param {object} params Event parameters
1029
+ * @param {object} params.event Event object
1030
+ * @param {Core.widget.Container} params.event.source The container.
1031
+ * @param {boolean} params.event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.
1032
+ */
1033
+ (e: 'dirtyStateChange', params: ((event: { source: Container, dirty: boolean }) => void)|string): void
1034
+ /**
1035
+ * Triggered when a widget's [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element) is available.
1036
+ * @param {string} e Event name
1037
+ * @param {object} params Event parameters
1038
+ * @param {object} params.event Event object
1039
+ * @param {HTMLElement} params.event.element The Widget's element.
1040
+ */
1041
+ (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
1042
+ /**
1043
+ * Fires when a Panel is expanded using the [collapsible](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-collapsible) setting.
1044
+ * @param {string} e Event name
1045
+ * @param {object} params Event parameters
1046
+ * @param {object} params.event Event object
1047
+ * @param {Core.widget.Panel} params.event.source This Panel.
1048
+ */
1049
+ (e: 'expand', params: ((event: { source: Panel }) => void)|string): void
1050
+ /**
1051
+ * Fired when focus enters this Widget.
1052
+ * @param {string} e Event name
1053
+ * @param {object} params Event parameters
1054
+ * @param {object} params.event Event object
1055
+ * @param {Core.widget.Widget} params.event.source This Widget
1056
+ * @param {HTMLElement} params.event.fromElement The element which lost focus.
1057
+ * @param {HTMLElement} params.event.toElement The element which gained focus.
1058
+ * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
1059
+ * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
1060
+ * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
1061
+ */
1062
+ (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
1063
+ /**
1064
+ * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
1065
+ * focus moving from within this Widget's ownership tree, even if there are floating widgets
1066
+ * will not trigger this event. This is when focus exits this widget completely.
1067
+ * @param {string} e Event name
1068
+ * @param {object} params Event parameters
1069
+ * @param {object} params.event Event object
1070
+ * @param {Core.widget.Widget} params.event.source This Widget
1071
+ * @param {HTMLElement} params.event.fromElement The element which lost focus.
1072
+ * @param {HTMLElement} params.event.toElement The element which gained focus.
1073
+ * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
1074
+ * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
1075
+ * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
1076
+ */
1077
+ (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
1078
+ /**
1079
+ * Triggered after a widget was hidden
1080
+ * @param {string} e Event name
1081
+ * @param {object} params Event parameters
1082
+ * @param {object} params.event Event object
1083
+ * @param {Core.widget.Widget} params.event.source The widget
1084
+ */
1085
+ (e: 'hide', params: ((event: { source: Widget }) => void)|string): void
1086
+ /**
1087
+ * Triggered when a widget which had been in a non-visible state for any reason
1088
+ * achieves visibility.
1089
+ * ...
1090
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#event-paint)
1091
+ * @param {string} e Event name
1092
+ * @param {object} params Event parameters
1093
+ * @param {object} params.event Event object
1094
+ * @param {Core.widget.Widget} params.event.source The widget being painted.
1095
+ * @param {boolean} params.event.firstPaint `true` if this is the first paint.
1096
+ */
1097
+ (e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
1098
+ /**
1099
+ * Fired when a Widget's read only state is toggled
1100
+ * @param {string} e Event name
1101
+ * @param {object} params Event parameters
1102
+ * @param {object} params.event Event object
1103
+ * @param {boolean} params.event.readOnly Read only or not
1104
+ */
1105
+ (e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
1106
+ /**
1107
+ * This event is fired after a widget's elements have been synchronized due to a direct or indirect call
1108
+ * 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.
1109
+ */
1110
+ (e: 'recompose', params: (() => void)|string): void
1111
+ /**
1112
+ * Fires when this CalendarPanel refreshes.
1113
+ */
1114
+ (e: 'refresh', params: (() => void)|string): void
1115
+ /**
1116
+ * 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`*.
1117
+ * @param {string} e Event name
1118
+ * @param {object} params Event parameters
1119
+ * @param {object} params.event Event object
1120
+ * @param {Core.widget.Widget} params.event.source This Widget
1121
+ * @param {number} params.event.width The new width
1122
+ * @param {number} params.event.height The new height
1123
+ * @param {number} params.event.oldWidth The old width
1124
+ * @param {number} params.event.oldHeight The old height
1125
+ */
1126
+ (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
1127
+ /**
1128
+ * Fires when a date or date range is selected. If [multiSelect](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-multiSelect) is specified,
1129
+ * this will fire upon deselection and selection of dates.
1130
+ * @param {string} e Event name
1131
+ * @param {object} params Event parameters
1132
+ * @param {object} params.event Event object
1133
+ * @param {Date[]} params.event.selection The selected dates. If [multiSelect](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-multiSelect) is specified this may be a two element array specifying start and end dates.
1134
+ * @param {Date[]} params.event.oldSelection The previously selected dates. If [multiSelect](https://bryntum.com/products/calendar/docs/api/Core/widget/DatePicker#config-multiSelect) is specified this may be a two element array specifying start and end dates.
1135
+ * @param {boolean} params.event.userAction This will be `true` if the change was caused by user interaction as opposed to programmatic setting.
1136
+ */
1137
+ (e: 'selectionChange', params: ((event: { selection: Date[], oldSelection: Date[], userAction: boolean }) => void)|string): void
1138
+ /**
1139
+ * Triggered after a widget is shown.
1140
+ * @param {string} e Event name
1141
+ * @param {object} params Event parameters
1142
+ * @param {object} params.event Event object
1143
+ * @param {Core.widget.Widget} params.event.source The widget
1144
+ */
1145
+ (e: 'show', params: ((event: { source: Widget }) => void)|string): void
1146
+ /**
1147
+ * A header [tool](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-tools) has been clicked.
1148
+ * @param {string} e Event name
1149
+ * @param {object} params Event parameters
1150
+ * @param {object} params.event Event object
1151
+ * @param {Core.widget.Tool} params.event.source This Panel.
1152
+ * @param {Core.widget.Tool} params.event.tool The tool which is being clicked.
1153
+ */
1154
+ (e: 'toolClick', params: ((event: { source: Tool, tool: Tool }) => void)|string): void
1155
+ /**
1156
+ * Fired when a week number cell is clicked.
1157
+ * @param {string} e Event name
1158
+ * @param {object} params Event parameters
1159
+ * @param {object} params.event Event object
1160
+ * @param {Date} params.event.date The start date of the week.
1161
+ * @param {number[]} params.event.week The week array `[year, weekNumber]`.
1162
+ * @param {Event} params.event.domEvent The original DOM event.
1163
+ */
1164
+ (e: 'weekCellClick', params: ((event: { date: Date, week: number[], domEvent: Event }) => void)|string): void
1165
+ }>();
1166
+
1167
+ const widgetData = {
1168
+ instanceClass : DatePicker,
1169
+ instanceName : 'DatePicker',
1170
+
1171
+ configNames : [
1172
+ 'activeDate',
1173
+ 'adopt',
1174
+ 'align',
1175
+ 'anchor',
1176
+ 'ariaDescription',
1177
+ 'ariaLabel',
1178
+ 'autoUpdateRecord',
1179
+ 'bbar',
1180
+ 'bodyCls',
1181
+ 'bubbleEvents',
1182
+ 'cellRenderer',
1183
+ 'centered',
1184
+ 'collapsible',
1185
+ 'color',
1186
+ 'config',
1187
+ 'constrainTo',
1188
+ 'contentElementCls',
1189
+ 'dataField',
1190
+ 'dayNameFormat',
1191
+ 'defaultBindProperty',
1192
+ 'defaultFocus',
1193
+ 'defaults',
1194
+ 'detectCSSCompatibilityIssues',
1195
+ 'disabledCls',
1196
+ 'disabledDates',
1197
+ 'disableNonWorkingDays',
1198
+ 'disableOtherMonthCells',
1199
+ 'disableWeekends',
1200
+ 'dock',
1201
+ 'draggable',
1202
+ 'drawer',
1203
+ 'editMonth',
1204
+ 'elementAttributes',
1205
+ 'floating',
1206
+ 'focusDisabledDates',
1207
+ 'footer',
1208
+ 'header',
1209
+ 'headerRenderer',
1210
+ 'hideAnimation',
1211
+ 'hideOtherMonthCells',
1212
+ 'hideWhenEmpty',
1213
+ 'htmlCls',
1214
+ 'icon',
1215
+ 'ignoreParentReadOnly',
1216
+ 'includeYear',
1217
+ 'itemCls',
1218
+ 'lazyItems',
1219
+ 'listeners',
1220
+ 'localeClass',
1221
+ 'localizable',
1222
+ 'localizableProperties',
1223
+ 'maskDefaults',
1224
+ 'masked',
1225
+ 'maxDate',
1226
+ 'minColumnWidth',
1227
+ 'minDate',
1228
+ 'minRowHeight',
1229
+ 'monitorResize',
1230
+ 'month',
1231
+ 'monthButtonFormat',
1232
+ 'multiSelect',
1233
+ 'namedItems',
1234
+ 'nonWorkingDayCls',
1235
+ 'nonWorkingDays',
1236
+ 'otherMonthCls',
1237
+ 'owner',
1238
+ 'positioned',
1239
+ 'preventTooltipOnTouch',
1240
+ 'relayStoreEvents',
1241
+ 'ripple',
1242
+ 'rootElement',
1243
+ 'scrollAction',
1244
+ 'showAnimation',
1245
+ 'showTooltipWhenDisabled',
1246
+ 'showWeekColumn',
1247
+ 'sixWeeks',
1248
+ 'stateful',
1249
+ 'statefulEvents',
1250
+ 'stateId',
1251
+ 'stateProvider',
1252
+ 'strips',
1253
+ 'tab',
1254
+ 'tabBarItems',
1255
+ 'tag',
1256
+ 'tbar',
1257
+ 'textAlign',
1258
+ 'textContent',
1259
+ 'tip',
1260
+ 'todayCls',
1261
+ 'trapFocus',
1262
+ 'type',
1263
+ 'ui',
1264
+ 'weekendCls',
1265
+ 'weekRenderer',
1266
+ 'weekStartDay',
1267
+ 'weight'
1268
+ ],
1269
+ propertyConfigNames : [
1270
+ 'alignSelf',
1271
+ 'animateTimeShift',
1272
+ 'appendTo',
1273
+ 'callOnFunctions',
1274
+ 'catchEventHandlerExceptions',
1275
+ 'cls',
1276
+ 'collapsed',
1277
+ 'column',
1278
+ 'content',
1279
+ 'dataset',
1280
+ 'date',
1281
+ 'disabled',
1282
+ 'dragSelect',
1283
+ 'extraData',
1284
+ 'flex',
1285
+ 'height',
1286
+ 'hidden',
1287
+ 'highlightSelectedWeek',
1288
+ 'html',
1289
+ 'id',
1290
+ 'inputFieldAlign',
1291
+ 'insertBefore',
1292
+ 'insertFirst',
1293
+ 'items',
1294
+ 'keyMap',
1295
+ 'labelPosition',
1296
+ 'layout',
1297
+ 'layoutStyle',
1298
+ 'margin',
1299
+ 'maxHeight',
1300
+ 'maximizeOnMobile',
1301
+ 'maxWidth',
1302
+ 'minHeight',
1303
+ 'minWidth',
1304
+ 'onBeforeDestroy',
1305
+ 'onBeforeHide',
1306
+ 'onBeforeRefresh',
1307
+ 'onBeforeSetRecord',
1308
+ 'onBeforeShow',
1309
+ 'onBeforeStateApply',
1310
+ 'onBeforeStateSave',
1311
+ 'onCatchAll',
1312
+ 'onCellClick',
1313
+ 'onCollapse',
1314
+ 'onDateChange',
1315
+ 'onDestroy',
1316
+ 'onDirtyStateChange',
1317
+ 'onElementCreated',
1318
+ 'onExpand',
1319
+ 'onFocusIn',
1320
+ 'onFocusOut',
1321
+ 'onHide',
1322
+ 'onPaint',
1323
+ 'onReadOnly',
1324
+ 'onRecompose',
1325
+ 'onRefresh',
1326
+ 'onResize',
1327
+ 'onSelectionChange',
1328
+ 'onShow',
1329
+ 'onToolClick',
1330
+ 'onWeekCellClick',
1331
+ 'readOnly',
1332
+ 'record',
1333
+ 'rendition',
1334
+ 'rtl',
1335
+ 'scrollable',
1336
+ 'selection',
1337
+ 'shadePastDates',
1338
+ 'span',
1339
+ 'strictRecordMapping',
1340
+ 'title',
1341
+ 'tools',
1342
+ 'tooltip',
1343
+ 'weekColumnHeader',
1344
+ 'width',
1345
+ 'x',
1346
+ 'y'
1347
+ ],
1348
+ propertyNames : [
1349
+ 'anchorSize',
1350
+ 'focusVisible',
1351
+ 'hasChanges',
1352
+ 'isSettingValues',
1353
+ 'isValid',
1354
+ 'parent',
1355
+ 'state',
1356
+ 'values'
1357
+ ],
1358
+ eventNames : [
1359
+ 'beforeDestroy',
1360
+ 'beforeHide',
1361
+ 'beforeRefresh',
1362
+ 'beforeSetRecord',
1363
+ 'beforeShow',
1364
+ 'beforeStateApply',
1365
+ 'beforeStateSave',
1366
+ 'catchAll',
1367
+ 'cellClick',
1368
+ 'collapse',
1369
+ 'dateChange',
1370
+ 'destroy',
1371
+ 'dirtyStateChange',
1372
+ 'elementCreated',
1373
+ 'expand',
1374
+ 'focusIn',
1375
+ 'focusOut',
1376
+ 'hide',
1377
+ 'paint',
1378
+ 'readOnly',
1379
+ 'recompose',
1380
+ 'refresh',
1381
+ 'resize',
1382
+ 'selectionChange',
1383
+ 'show',
1384
+ 'toolClick',
1385
+ 'weekCellClick'
1386
+ ]
1387
+ };
1388
+
1389
+ const instance: {
1390
+ value?: DatePicker
1391
+ } = {};
1392
+
1393
+ const refElement = ref<HTMLDivElement>()!;
1394
+ // Storage for teleports (in-cell Vue component instances) automatically renderer by template
1395
+ const teleports = ref(new Map());
1396
+
1397
+ // Provide teleports for processCellContent
1398
+ provide('teleports', teleports);
1399
+
1400
+ onMounted(() => {
1401
+
1402
+ const me = getCurrentInstance()!;
1403
+
1404
+ instance.value = WrapperHelper.createWidget<typeof DatePicker>({
1405
+ me,
1406
+ widgetData,
1407
+ emit,
1408
+ element : refElement.value!,
1409
+ toRaw
1410
+ });
1411
+
1412
+ const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);
1413
+ WrapperHelper.watchProps(instance.value, widgetData, watcher);
1414
+ });
1415
+
1416
+ onBeforeUnmount(() => {
1417
+ // @ts-ignore
1418
+ instance.value?.destroy?.();
1419
+ });
1420
+
1421
+ defineExpose({
1422
+ instance,
1423
+ refElement,
1424
+ teleports
1425
+ });
1426
+
1427
+ </script>