@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,952 @@
1
+ <!-- Vue 3 wrapper for Bryntum Button -->
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, ButtonListeners, ContainerItemConfig, DomConfig, KeyMapConfig, MaskConfig, Menu, MenuConfig, MenuItemEntry, PopupConfig, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/calendar';
14
+ import { Button } from '@bryntum/calendar';
15
+
16
+ import { WrapperHelper } from '../helper/WrapperHelper';
17
+
18
+ defineProps<{
19
+ // Configs
20
+ /**
21
+ * Element (or element id) to adopt as this Widget's encapsulating element. The widget's
22
+ * content will be placed inside this element.
23
+ * ...
24
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-adopt)
25
+ */
26
+ adopt ? : HTMLElement|string
27
+ /**
28
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
29
+ * ...
30
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-align)
31
+ */
32
+ align ? : AlignSpec|string
33
+ /**
34
+ * 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
35
+ * flexbox layout. This config allows you to set this widget's
36
+ * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.
37
+ */
38
+ alignSelf ? : string
39
+ /**
40
+ * *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).*
41
+ * `true` to show a connector arrow pointing to the align target.
42
+ */
43
+ anchor ? : Boolean
44
+ /**
45
+ * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
46
+ * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).
47
+ */
48
+ appendTo ? : HTMLElement|string
49
+ /**
50
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
51
+ * into an element which will be linked using the `aria-describedby` attribute.
52
+ * ...
53
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-ariaDescription)
54
+ */
55
+ ariaDescription ? : string
56
+ /**
57
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
58
+ * the `aria-label` attribute.
59
+ * ...
60
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-ariaLabel)
61
+ */
62
+ ariaLabel ? : string
63
+ /**
64
+ * Initial text to show in badge.
65
+ */
66
+ badge ? : string
67
+ /**
68
+ * The button behavioral type, will be applied as a `type` attribute to this button's element.
69
+ */
70
+ behaviorType ? : 'button'|'submit'|'reset'
71
+ /**
72
+ * An object where property names with a truthy value indicate which events should bubble up the ownership
73
+ * hierarchy when triggered.
74
+ * ...
75
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-bubbleEvents)
76
+ */
77
+ bubbleEvents ? : object
78
+ /**
79
+ * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
80
+ * ...
81
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-callOnFunctions)
82
+ */
83
+ callOnFunctions ? : Boolean
84
+ /**
85
+ * By default, if an event handler throws an exception, the error propagates up the stack and the
86
+ * application state is undefined. Code which follows the event handler will *not* be executed.
87
+ * ...
88
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-catchEventHandlerExceptions)
89
+ */
90
+ catchEventHandlerExceptions ? : Boolean
91
+ /**
92
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
93
+ * Set to `true` to centre the Widget in browser viewport space.
94
+ */
95
+ centered ? : Boolean
96
+ /**
97
+ * Custom CSS classes to add to element.
98
+ * May be specified as a space separated string, or as an object in which property names
99
+ * with truthy values are used as the class names:
100
+ * ...
101
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-cls)
102
+ */
103
+ cls ? : string|object
104
+ /**
105
+ * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
106
+ * `style` block.
107
+ * ...
108
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-color)
109
+ */
110
+ color ? : string
111
+ /**
112
+ * Programmatic control over which column to start in when used in a grid layout.
113
+ */
114
+ column ? : number
115
+ config ? : object
116
+ /**
117
+ * *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).*
118
+ * Element, Widget or Rectangle to which this Widget is constrained.
119
+ */
120
+ constrainTo ? : HTMLElement|Widget|Rectangle
121
+ /**
122
+ * The HTML content that coexists with sibling elements which may have been added to the
123
+ * [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement) by plugins and features.
124
+ * When specifying html, this widget's element will also have the [htmlCls](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-htmlCls)
125
+ * class added to its classList, to allow targeted styling.
126
+ */
127
+ content ? : string
128
+ /**
129
+ * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).
130
+ * May be specified as a space separated string, or as an object in which property names
131
+ * with truthy values are used as the class names:
132
+ * ...
133
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-contentElementCls)
134
+ */
135
+ contentElementCls ? : string|object
136
+ /**
137
+ * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the
138
+ * field on the expanded record to use for populating this widget's store (if applicable)
139
+ */
140
+ dataField ? : string
141
+ /**
142
+ * Object to apply to elements dataset (each key will be used as a data-attribute on the element)
143
+ */
144
+ dataset ? : Record<string, string>
145
+ /**
146
+ * The name of the property to set when a single value is to be applied to this Widget. Such as when used
147
+ * in a grid WidgetColumn, this is the property to which the column's `field` is applied.
148
+ */
149
+ defaultBindProperty ? : string
150
+ /**
151
+ * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
152
+ * ...
153
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-detectCSSCompatibilityIssues)
154
+ */
155
+ detectCSSCompatibilityIssues ? : Boolean
156
+ /**
157
+ * 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
158
+ * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
159
+ * ...
160
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-disabled)
161
+ */
162
+ disabled ? : Boolean|'inert'
163
+ /**
164
+ * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel)
165
+ * [strips collection](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
166
+ * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
167
+ * body. Such widgets are called "edge strips".
168
+ * ...
169
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-dock)
170
+ */
171
+ dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
172
+ /**
173
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
174
+ * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
175
+ * property which controls when a drag should start.
176
+ * ...
177
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-draggable)
178
+ */
179
+ draggable ? : Boolean|{
180
+ handleSelector?: string
181
+ }
182
+ /**
183
+ * An object specifying attributes to assign to the root element of this widget.
184
+ * Set `null` value to attribute to remove it.
185
+ * ...
186
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-elementAttributes)
187
+ */
188
+ elementAttributes ? : Record<string, string|null>
189
+ extraData ? : any
190
+ /**
191
+ * 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
192
+ * flexbox layout. This config allows you to set this widget's
193
+ * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.
194
+ * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.
195
+ * numeric-only values are interpreted as the `flex-grow` value.
196
+ */
197
+ flex ? : number|string
198
+ /**
199
+ * Set to `true` to move the widget out of the document flow and position it
200
+ * absolutely in browser viewport space.
201
+ */
202
+ floating ? : Boolean
203
+ /**
204
+ * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,
205
+ * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some
206
+ * cases this config is convenient.
207
+ */
208
+ height ? : string|number
209
+ /**
210
+ * Configure with true to make widget initially hidden.
211
+ */
212
+ hidden ? : Boolean
213
+ /**
214
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
215
+ * ...
216
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-hideAnimation)
217
+ */
218
+ hideAnimation ? : Boolean|object
219
+ /**
220
+ * If provided, turns the button into a link.
221
+ * ...
222
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-href)
223
+ */
224
+ href ? : string
225
+ /**
226
+ * The HTML to display initially or a function returning the markup (called at widget construction time).
227
+ * ...
228
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-html)
229
+ * @param {Core.widget.Widget} widget The calling Widget
230
+ * @returns {string}
231
+ */
232
+ html ? : string|((widget: Widget) => string)|DomConfig|DomConfig[]|VueConfig
233
+ /**
234
+ * The CSS class(es) to add when HTML content is being applied to this widget.
235
+ */
236
+ htmlCls ? : string|object
237
+ /**
238
+ * Button icon class, a developer-defined CSS class string which results in the desired icon.
239
+ * ...
240
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-icon)
241
+ */
242
+ icon ? : string
243
+ /**
244
+ * Button icon alignment. May be `'start'` or `'end'`. Defaults to `'start'`
245
+ */
246
+ iconAlign ? : 'start'|'end'
247
+ /**
248
+ * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById
249
+ */
250
+ id ? : string
251
+ /**
252
+ * Determines if the widgets read-only state should be controlled by its parent.
253
+ * ...
254
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-ignoreParentReadOnly)
255
+ */
256
+ ignoreParentReadOnly ? : Boolean
257
+ /**
258
+ * 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.
259
+ */
260
+ insertBefore ? : HTMLElement|string
261
+ /**
262
+ * 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.
263
+ */
264
+ insertFirst ? : HTMLElement|string
265
+ /**
266
+ * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
267
+ * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
268
+ * are the name of the instance method to call when the keystroke is received.
269
+ * ...
270
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-keyMap)
271
+ */
272
+ keyMap ? : Record<string, KeyMapConfig>
273
+ /**
274
+ * The listener set for this object.
275
+ * ...
276
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-listeners)
277
+ */
278
+ listeners ? : ButtonListeners
279
+ /**
280
+ * A class translations of which are used for translating this entity.
281
+ * This is often used when translations of an item are defined on its container class.
282
+ * For example:
283
+ * ...
284
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-localeClass)
285
+ */
286
+ localeClass ? : typeof Base
287
+ /**
288
+ * Set to `false` to disable localization of this object.
289
+ */
290
+ localizable ? : Boolean
291
+ /**
292
+ * List of properties which values should be translated automatically upon a locale applying.
293
+ * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
294
+ * you could use 'localeKey' meta configuration.
295
+ * Example:
296
+ * ...
297
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-localizableProperties)
298
+ */
299
+ localizableProperties ? : string[]
300
+ /**
301
+ * Widget's margin. This may be configured as a single number or a `TRBL` format string.
302
+ * numeric-only values are interpreted as pixels.
303
+ */
304
+ margin ? : number|string
305
+ /**
306
+ * This config object contains the defaults for the [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) created for the
307
+ * [masked](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these
308
+ * values.
309
+ */
310
+ maskDefaults ? : MaskConfig
311
+ /**
312
+ * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a
313
+ * [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) config object.
314
+ */
315
+ masked ? : Boolean|string|MaskConfig
316
+ /**
317
+ * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that
318
+ * like [height](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
319
+ */
320
+ maxHeight ? : string|number
321
+ /**
322
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
323
+ * ...
324
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-maximizeOnMobile)
325
+ */
326
+ maximizeOnMobile ? : number|string
327
+ /**
328
+ * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that
329
+ * like [width](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
330
+ */
331
+ maxWidth ? : string|number
332
+ /**
333
+ * A submenu configuration object, or an array of MenuItem configuration objects from which to create a
334
+ * submenu which is shown when this button is pressed.
335
+ * ...
336
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-menu)
337
+ */
338
+ menu ? : Record<string, MenuItemEntry|ContainerItemConfig>|(MenuItemEntry|ContainerItemConfig)[]|MenuConfig|PopupConfig
339
+ /**
340
+ * The menu icon class to show when the button has a menu. Set to `null` to not show a menu icon.
341
+ * ...
342
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-menuIcon)
343
+ */
344
+ menuIcon ? : string
345
+ /**
346
+ * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that
347
+ * like [height](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
348
+ */
349
+ minHeight ? : string|number
350
+ /**
351
+ * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that
352
+ * like [width](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
353
+ */
354
+ minWidth ? : string|number
355
+ /**
356
+ * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
357
+ * is used to monitor this element for size changes caused by either style manipulation, or by CSS
358
+ * layout.
359
+ * ...
360
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-monitorResize)
361
+ */
362
+ monitorResize ? : Boolean|{
363
+ immediate?: Boolean
364
+ }
365
+ /**
366
+ * The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
367
+ * [items](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
368
+ * the owner is <strong>always</strong> the encapsulating Container.
369
+ * ...
370
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-owner)
371
+ */
372
+ owner ? : Widget|any
373
+ /**
374
+ * 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
375
+ * not participate in the standard layout of that widget, and must be positioned relatively to that
376
+ * widget's [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).
377
+ * ...
378
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-positioned)
379
+ */
380
+ positioned ? : Boolean
381
+ /**
382
+ * Initially pressed or not. Only applies with `toggleable = true`.
383
+ * ...
384
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-pressed)
385
+ */
386
+ pressed ? : Boolean
387
+ /**
388
+ * A CSS class to add to the pressed state of the button. A `b-pressed` CSS class is always added,
389
+ * when a button is pressed.
390
+ */
391
+ pressedCls ? : string
392
+ /**
393
+ * Icon class for the buttons pressed state, a developer-defined CSS class string which results in the
394
+ * desired icon. Only applies to toggle buttons
395
+ * ...
396
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-pressedIcon)
397
+ */
398
+ pressedIcon ? : string
399
+ /**
400
+ * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a
401
+ * menu on click etc, since the tooltip would be displayed at the same time.
402
+ */
403
+ preventTooltipOnTouch ? : Boolean
404
+ /**
405
+ * Whether this widget is read-only. This is only valid if the widget is an input
406
+ * field, <strong>or contains input fields at any depth</strong>.
407
+ * ...
408
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-readOnly)
409
+ */
410
+ readOnly ? : Boolean
411
+ relayStoreEvents ? : Boolean
412
+ /**
413
+ * Predefined style to use for the button. Possible values are:
414
+ * ...
415
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-rendition)
416
+ */
417
+ rendition ? : 'elevated'|'filled'|'tonal'|'outlined'|'text'|string
418
+ /**
419
+ * Configure as `true` to have the component display a translucent ripple when its
420
+ * [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
421
+ * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
422
+ * ...
423
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-ripple)
424
+ */
425
+ ripple ? : Boolean|{
426
+ delegate?: string
427
+ color?: string
428
+ radius?: number
429
+ clip?: string
430
+ }
431
+ /**
432
+ * 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`
433
+ */
434
+ rootElement ? : ShadowRoot|HTMLElement
435
+ /**
436
+ * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
437
+ * ...
438
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-rtl)
439
+ */
440
+ rtl ? : Boolean
441
+ /**
442
+ * Specifies whether (and optionally in which axes) a Widget may scroll. `true` means this widget may scroll
443
+ * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
444
+ * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
445
+ * CSS overflow properties thus:
446
+ * ...
447
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-scrollable)
448
+ */
449
+ scrollable ? : Boolean|ScrollerConfig|Scroller
450
+ /**
451
+ * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
452
+ * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
453
+ */
454
+ scrollAction ? : 'hide'|'realign'|null
455
+ /**
456
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
457
+ * ...
458
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-showAnimation)
459
+ */
460
+ showAnimation ? : Boolean|object
461
+ /**
462
+ * 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)
463
+ */
464
+ showTooltipWhenDisabled ? : Boolean
465
+ /**
466
+ * Programmatic control over how many columns to span when used in a grid layout.
467
+ */
468
+ span ? : number
469
+ /**
470
+ * Set to `true` to create a split button. A split button has a main action and a dropdown arrow to show a menu.
471
+ * ...
472
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-split)
473
+ */
474
+ split ? : Boolean|'mouseover'|'hover'
475
+ /**
476
+ * Set to `true` to perform action on clicking the button if it's already pressed
477
+ * and belongs to a [toggleGroup](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-toggleGroup).
478
+ */
479
+ supportsPressedClick ? : Boolean
480
+ /**
481
+ * 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
482
+ * [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
483
+ * this widget:
484
+ * ...
485
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-tab)
486
+ */
487
+ tab ? : Boolean|TabConfig
488
+ /**
489
+ * The tab index of the button, or `null` for natural tab order (recommended). Setting to `0` is equivalent
490
+ * to natural tab order, but is unnecessary for buttons since they are naturally tabbable (i.e., accessible
491
+ * via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set to the element
492
+ * programmatically.
493
+ * ...
494
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-tabIndex)
495
+ */
496
+ tabIndex ? : number
497
+ /**
498
+ * The tag name of this Widget's root element
499
+ */
500
+ tag ? : string
501
+ /**
502
+ * The `target` attribute for the [href](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-href) config
503
+ */
504
+ target ? : string
505
+ /**
506
+ * The button's text. You can also supply a [DomConfig](https://bryntum.com/products/calendar/docs/api/Core/helper/DomHelper#typedef-DomConfig) or an array of DomConfigs for complex button
507
+ * content.
508
+ */
509
+ text ? : string|DomConfig|DomConfig[]
510
+ /**
511
+ * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
512
+ * ...
513
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-textAlign)
514
+ */
515
+ textAlign ? : 'left'|'center'|'right'|'start'|'end'
516
+ /**
517
+ * A title to display for the widget. Only in effect when inside a container that uses it (such as TabPanel)
518
+ */
519
+ title ? : string
520
+ /**
521
+ * Enabled toggling of the button (stays pressed when pressed).
522
+ */
523
+ toggleable ? : Boolean
524
+ /**
525
+ * Indicates that this button is part of a group where only one button can be pressed. Assigning a value
526
+ * also sets `toggleable` to `true`.
527
+ * ...
528
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-toggleGroup)
529
+ */
530
+ toggleGroup ? : string
531
+ /**
532
+ * Tooltip for the widget, either as a string or as a Tooltip config object.
533
+ * ...
534
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-tooltip)
535
+ */
536
+ tooltip ? : string|TooltipConfig|null
537
+ type ? : 'button'
538
+ /**
539
+ * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
540
+ * as a space separated string, an array of strings, or as an object in which property names with truthy
541
+ * values are used as the class names.
542
+ * ...
543
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-ui)
544
+ */
545
+ ui ? : string|object
546
+ /**
547
+ * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/calendar/docs/api/Core/widget/Container).
548
+ * Higher weights go further down.
549
+ */
550
+ weight ? : number
551
+ /**
552
+ * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which
553
+ * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases
554
+ * this config is convenient.
555
+ */
556
+ width ? : string|number
557
+ /**
558
+ * The x position for the widget.
559
+ * ...
560
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-x)
561
+ */
562
+ x ? : number
563
+ /**
564
+ * The y position for the widget.
565
+ * ...
566
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-y)
567
+ */
568
+ y ? : number
569
+
570
+ }>();
571
+
572
+ const emit = defineEmits<{
573
+ /**
574
+ * Fires when the default action is performed (the button is clicked)
575
+ * @param {string} e Event name
576
+ * @param {object} params Event parameters
577
+ * @param {object} params.event Event object
578
+ * @param {Core.widget.Button} params.event.source The button
579
+ * @param {Event} params.event.event DEPRECATED - Use domEvent instead.
580
+ * @param {Event} params.event.domEvent The triggering DOM event. Using the `pointerType` property of this event can help determine if it was a mouse, touch or pen action.
581
+ */
582
+ (e: 'action', params: ((event: { source: Button, event: Event, domEvent: Event }) => void)|string): void
583
+ /**
584
+ * Fires before an object is destroyed.
585
+ * @param {string} e Event name
586
+ * @param {object} params Event parameters
587
+ * @param {object} params.event Event object
588
+ * @param {Core.Base} params.event.source The Object that is being destroyed.
589
+ */
590
+ (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
591
+ /**
592
+ * Triggered before a widget is hidden. Return `false` to prevent the action.
593
+ * @param {string} e Event name
594
+ * @param {object} params Event parameters
595
+ * @param {object} params.event Event object
596
+ * @param {Core.widget.Widget} params.event.source The widget being hidden.
597
+ */
598
+ (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
599
+ /**
600
+ * Triggered before a widget is shown. Return `false` to prevent the action.
601
+ * @param {string} e Event name
602
+ * @param {object} params Event parameters
603
+ * @param {object} params.event Event object
604
+ * @param {Core.widget.Widget,any} params.event.source The widget being shown
605
+ */
606
+ (e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
607
+ /**
608
+ * This event is triggered when the button's menu is about to be shown.
609
+ * @param {string} e Event name
610
+ * @param {object} params Event parameters
611
+ * @param {object} params.event Event object
612
+ * @param {Core.widget.Button} params.event.source This Button instance.
613
+ * @param {Core.widget.Menu} params.event.menu This button's menu instance.
614
+ * @param {boolean} params.event.userAction `true` if the toggle was triggered by a user action (click), `false` if it was triggered programmatically.
615
+ * @param {Event} params.event.domEvent The original DOM event that triggered the action, if any. Using the `pointerType` property of this event can help determine if it was a mouse, touch or pen action.
616
+ */
617
+ (e: 'beforeShowMenu', params: ((event: { source: Button, menu: Menu, userAction: boolean, domEvent: Event }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
618
+ /**
619
+ * Fires before the button is toggled (the [pressed](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#property-pressed) state is changed). If the button is part of
620
+ * a [toggleGroup](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-toggleGroup) and you need to process the pressed button only, consider using
621
+ * [click](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#event-click) event or [action](#Core/widget/Button#event-action) event.
622
+ * Return `false` to prevent the toggle to the new pressed state.
623
+ * @param {string} e Event name
624
+ * @param {object} params Event parameters
625
+ * @param {object} params.event Event object
626
+ * @param {Core.widget.Button} params.event.source Toggled button
627
+ * @param {boolean} params.event.pressed New pressed state
628
+ * @param {boolean} params.event.userAction `true` if the toggle was triggered by a user action (click), `false` if it was triggered programmatically.
629
+ * @param {Event} params.event.domEvent The original DOM event that triggered the action, if any. Using the `pointerType` property of this event can help determine if it was a mouse, touch or pen action.
630
+ */
631
+ (e: 'beforeToggle', params: ((event: { source: Button, pressed: boolean, userAction: boolean, domEvent: Event }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
632
+ /**
633
+ * Fires when any other event is fired from the object.
634
+ * ...
635
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#event-catchAll)
636
+ * @param {string} e Event name
637
+ * @param {object} params Event parameters
638
+ * @param {object} params.event Event object
639
+ * @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details
640
+ * @param {string} params.event.event.type The type of the event which is caught by the listener
641
+ */
642
+ (e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
643
+ /**
644
+ * Fires when the button is clicked
645
+ * @param {string} e Event name
646
+ * @param {object} params Event parameters
647
+ * @param {object} params.event Event object
648
+ * @param {Core.widget.Button} params.event.source The button
649
+ * @param {Event} params.event.event DEPRECATED - Use domEvent instead.
650
+ * @param {Event} params.event.domEvent The triggering DOM event. Using the `pointerType` property of this event can help determine if it was a mouse, touch or pen action.
651
+ */
652
+ (e: 'click', params: ((event: { source: Button, event: Event, domEvent: Event }) => void)|string): void
653
+ /**
654
+ * Fires when an object is destroyed.
655
+ * @param {string} e Event name
656
+ * @param {object} params Event parameters
657
+ * @param {object} params.event Event object
658
+ * @param {Core.Base} params.event.source The Object that is being destroyed.
659
+ */
660
+ (e: 'destroy', params: ((event: { source: Base }) => void)|string): void
661
+ /**
662
+ * Triggered when a widget's [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element) is available.
663
+ * @param {string} e Event name
664
+ * @param {object} params Event parameters
665
+ * @param {object} params.event Event object
666
+ * @param {HTMLElement} params.event.element The Widget's element.
667
+ */
668
+ (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
669
+ /**
670
+ * Fired when focus enters this Widget.
671
+ * @param {string} e Event name
672
+ * @param {object} params Event parameters
673
+ * @param {object} params.event Event object
674
+ * @param {Core.widget.Widget} params.event.source This Widget
675
+ * @param {HTMLElement} params.event.fromElement The element which lost focus.
676
+ * @param {HTMLElement} params.event.toElement The element which gained focus.
677
+ * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
678
+ * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
679
+ * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
680
+ */
681
+ (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
682
+ /**
683
+ * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
684
+ * focus moving from within this Widget's ownership tree, even if there are floating widgets
685
+ * will not trigger this event. This is when focus exits this widget completely.
686
+ * @param {string} e Event name
687
+ * @param {object} params Event parameters
688
+ * @param {object} params.event Event object
689
+ * @param {Core.widget.Widget} params.event.source This Widget
690
+ * @param {HTMLElement} params.event.fromElement The element which lost focus.
691
+ * @param {HTMLElement} params.event.toElement The element which gained focus.
692
+ * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
693
+ * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
694
+ * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
695
+ */
696
+ (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
697
+ /**
698
+ * Triggered after a widget was hidden
699
+ * @param {string} e Event name
700
+ * @param {object} params Event parameters
701
+ * @param {object} params.event Event object
702
+ * @param {Core.widget.Widget} params.event.source The widget
703
+ */
704
+ (e: 'hide', params: ((event: { source: Widget }) => void)|string): void
705
+ /**
706
+ * Triggered when a widget which had been in a non-visible state for any reason
707
+ * achieves visibility.
708
+ * ...
709
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#event-paint)
710
+ * @param {string} e Event name
711
+ * @param {object} params Event parameters
712
+ * @param {object} params.event Event object
713
+ * @param {Core.widget.Widget} params.event.source The widget being painted.
714
+ * @param {boolean} params.event.firstPaint `true` if this is the first paint.
715
+ */
716
+ (e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
717
+ /**
718
+ * Fired when a Widget's read only state is toggled
719
+ * @param {string} e Event name
720
+ * @param {object} params Event parameters
721
+ * @param {object} params.event Event object
722
+ * @param {boolean} params.event.readOnly Read only or not
723
+ */
724
+ (e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
725
+ /**
726
+ * This event is fired after a widget's elements have been synchronized due to a direct or indirect call
727
+ * 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.
728
+ */
729
+ (e: 'recompose', params: (() => void)|string): void
730
+ /**
731
+ * 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`*.
732
+ * @param {string} e Event name
733
+ * @param {object} params Event parameters
734
+ * @param {object} params.event Event object
735
+ * @param {Core.widget.Widget} params.event.source This Widget
736
+ * @param {number} params.event.width The new width
737
+ * @param {number} params.event.height The new height
738
+ * @param {number} params.event.oldWidth The old width
739
+ * @param {number} params.event.oldHeight The old height
740
+ */
741
+ (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
742
+ /**
743
+ * Triggered after a widget is shown.
744
+ * @param {string} e Event name
745
+ * @param {object} params Event parameters
746
+ * @param {object} params.event Event object
747
+ * @param {Core.widget.Widget} params.event.source The widget
748
+ */
749
+ (e: 'show', params: ((event: { source: Widget }) => void)|string): void
750
+ /**
751
+ * Fires when the button is toggled via a UI interaction (the [pressed](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#property-pressed) state is changed). If the button is part of a
752
+ * [toggleGroup](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-toggleGroup) and you need to process the pressed button only, consider using
753
+ * [click](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#event-click) event or [action](#Core/widget/Button#event-action) event.
754
+ * @param {string} e Event name
755
+ * @param {object} params Event parameters
756
+ * @param {object} params.event Event object
757
+ * @param {Core.widget.Button} params.event.source Toggled button
758
+ * @param {boolean} params.event.pressed New pressed state
759
+ * @param {boolean} params.event.userAction `true` if the toggle was triggered by a user action (click), `false` if it was triggered programmatically.
760
+ * @param {Event} params.event.domEvent The original DOM event that triggered the action, if any. Using the `pointerType` property of this event can help determine if it was a mouse, touch or pen action.
761
+ */
762
+ (e: 'toggle', params: ((event: { source: Button, pressed: boolean, userAction: boolean, domEvent: Event }) => void)|string): void
763
+ }>();
764
+
765
+ const widgetData = {
766
+ instanceClass : Button,
767
+ instanceName : 'Button',
768
+
769
+ configNames : [
770
+ 'adopt',
771
+ 'align',
772
+ 'anchor',
773
+ 'ariaDescription',
774
+ 'ariaLabel',
775
+ 'bubbleEvents',
776
+ 'centered',
777
+ 'color',
778
+ 'config',
779
+ 'constrainTo',
780
+ 'contentElementCls',
781
+ 'dataField',
782
+ 'defaultBindProperty',
783
+ 'detectCSSCompatibilityIssues',
784
+ 'dock',
785
+ 'draggable',
786
+ 'elementAttributes',
787
+ 'floating',
788
+ 'hideAnimation',
789
+ 'htmlCls',
790
+ 'ignoreParentReadOnly',
791
+ 'listeners',
792
+ 'localeClass',
793
+ 'localizable',
794
+ 'localizableProperties',
795
+ 'maskDefaults',
796
+ 'masked',
797
+ 'monitorResize',
798
+ 'owner',
799
+ 'positioned',
800
+ 'preventTooltipOnTouch',
801
+ 'relayStoreEvents',
802
+ 'ripple',
803
+ 'rootElement',
804
+ 'scrollAction',
805
+ 'showAnimation',
806
+ 'showTooltipWhenDisabled',
807
+ 'supportsPressedClick',
808
+ 'tab',
809
+ 'tag',
810
+ 'textAlign',
811
+ 'title',
812
+ 'type',
813
+ 'ui',
814
+ 'weight'
815
+ ],
816
+ propertyConfigNames : [
817
+ 'alignSelf',
818
+ 'appendTo',
819
+ 'badge',
820
+ 'behaviorType',
821
+ 'callOnFunctions',
822
+ 'catchEventHandlerExceptions',
823
+ 'cls',
824
+ 'column',
825
+ 'content',
826
+ 'dataset',
827
+ 'disabled',
828
+ 'extraData',
829
+ 'flex',
830
+ 'height',
831
+ 'hidden',
832
+ 'href',
833
+ 'html',
834
+ 'icon',
835
+ 'iconAlign',
836
+ 'id',
837
+ 'insertBefore',
838
+ 'insertFirst',
839
+ 'keyMap',
840
+ 'margin',
841
+ 'maxHeight',
842
+ 'maximizeOnMobile',
843
+ 'maxWidth',
844
+ 'menu',
845
+ 'menuIcon',
846
+ 'minHeight',
847
+ 'minWidth',
848
+ 'onAction',
849
+ 'onBeforeDestroy',
850
+ 'onBeforeHide',
851
+ 'onBeforeShow',
852
+ 'onBeforeShowMenu',
853
+ 'onBeforeToggle',
854
+ 'onCatchAll',
855
+ 'onClick',
856
+ 'onDestroy',
857
+ 'onElementCreated',
858
+ 'onFocusIn',
859
+ 'onFocusOut',
860
+ 'onHide',
861
+ 'onPaint',
862
+ 'onReadOnly',
863
+ 'onRecompose',
864
+ 'onResize',
865
+ 'onShow',
866
+ 'onToggle',
867
+ 'pressed',
868
+ 'pressedCls',
869
+ 'pressedIcon',
870
+ 'readOnly',
871
+ 'rendition',
872
+ 'rtl',
873
+ 'scrollable',
874
+ 'span',
875
+ 'split',
876
+ 'tabIndex',
877
+ 'target',
878
+ 'text',
879
+ 'toggleable',
880
+ 'toggleGroup',
881
+ 'tooltip',
882
+ 'width',
883
+ 'x',
884
+ 'y'
885
+ ],
886
+ propertyNames : [
887
+ 'anchorSize',
888
+ 'focusVisible',
889
+ 'parent'
890
+ ],
891
+ eventNames : [
892
+ 'action',
893
+ 'beforeDestroy',
894
+ 'beforeHide',
895
+ 'beforeShow',
896
+ 'beforeShowMenu',
897
+ 'beforeToggle',
898
+ 'catchAll',
899
+ 'click',
900
+ 'destroy',
901
+ 'elementCreated',
902
+ 'focusIn',
903
+ 'focusOut',
904
+ 'hide',
905
+ 'paint',
906
+ 'readOnly',
907
+ 'recompose',
908
+ 'resize',
909
+ 'show',
910
+ 'toggle'
911
+ ]
912
+ };
913
+
914
+ const instance: {
915
+ value?: Button
916
+ } = {};
917
+
918
+ const refElement = ref<HTMLDivElement>()!;
919
+ // Storage for teleports (in-cell Vue component instances) automatically renderer by template
920
+ const teleports = ref(new Map());
921
+
922
+ // Provide teleports for processCellContent
923
+ provide('teleports', teleports);
924
+
925
+ onMounted(() => {
926
+
927
+ const me = getCurrentInstance()!;
928
+
929
+ instance.value = WrapperHelper.createWidget<typeof Button>({
930
+ me,
931
+ widgetData,
932
+ emit,
933
+ element : refElement.value!,
934
+ toRaw
935
+ });
936
+
937
+ const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);
938
+ WrapperHelper.watchProps(instance.value, widgetData, watcher);
939
+ });
940
+
941
+ onBeforeUnmount(() => {
942
+ // @ts-ignore
943
+ instance.value?.destroy?.();
944
+ });
945
+
946
+ defineExpose({
947
+ instance,
948
+ refElement,
949
+ teleports
950
+ });
951
+
952
+ </script>