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