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