@bryntum/calendar-vue-3 7.2.3 → 7.3.0

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 (542) hide show
  1. package/lib/chunks/{Beyvc-Ee.js → -gfCfICt.js} +8 -9
  2. package/lib/chunks/-gfCfICt.js.map +1 -0
  3. package/lib/chunks/{c2O0FAWQ.js → 3pMrXrSV.js} +7 -7
  4. package/lib/chunks/3pMrXrSV.js.map +1 -0
  5. package/lib/chunks/{-I8DJxf_.js → 7r3BIYih.js} +6 -6
  6. package/lib/chunks/7r3BIYih.js.map +1 -0
  7. package/lib/chunks/{CN4RrXCe.js → 8f6XqGsD.js} +16 -17
  8. package/lib/chunks/8f6XqGsD.js.map +1 -0
  9. package/lib/chunks/{D53p7Ank.js → 9tApH0if.js} +11 -12
  10. package/lib/chunks/9tApH0if.js.map +1 -0
  11. package/lib/chunks/{motDmuL4.js → AVadRojY.js} +14 -12
  12. package/lib/chunks/AVadRojY.js.map +1 -0
  13. package/lib/chunks/{u9zB9TJb.js → B4eYsje_.js} +11 -13
  14. package/lib/chunks/B4eYsje_.js.map +1 -0
  15. package/lib/chunks/{Ckl-wIwj.js → B8gQABN9.js} +14 -8
  16. package/lib/chunks/B8gQABN9.js.map +1 -0
  17. package/lib/chunks/{Bvf00QYc.js → BBc3kJ2l.js} +16 -17
  18. package/lib/chunks/BBc3kJ2l.js.map +1 -0
  19. package/lib/chunks/{DQaAhwXD.js → BBmKbcBm.js} +6 -6
  20. package/lib/chunks/BBmKbcBm.js.map +1 -0
  21. package/lib/chunks/{CrGY2ZuR.js → BD3V-SxA.js} +12 -13
  22. package/lib/chunks/BD3V-SxA.js.map +1 -0
  23. package/lib/chunks/{BwV4_Hj0.js → BHB_Xr7B.js} +10 -10
  24. package/lib/chunks/BHB_Xr7B.js.map +1 -0
  25. package/lib/chunks/{n-R-RzWM.js → BI8wQGwJ.js} +5 -5
  26. package/lib/chunks/BI8wQGwJ.js.map +1 -0
  27. package/lib/chunks/{Baux7HCy.js → BIHU8niN.js} +17 -24
  28. package/lib/chunks/BIHU8niN.js.map +1 -0
  29. package/lib/chunks/{D3e9xTyI.js → BKPgz4z1.js} +11 -11
  30. package/lib/chunks/BKPgz4z1.js.map +1 -0
  31. package/lib/chunks/BMxd9tFw.js +57 -0
  32. package/lib/chunks/BMxd9tFw.js.map +1 -0
  33. package/lib/chunks/{BDE_6JKK.js → BRHH9-fs.js} +15 -18
  34. package/lib/chunks/BRHH9-fs.js.map +1 -0
  35. package/lib/chunks/{BO1go6ht.js → BUTdFPf9.js} +10 -11
  36. package/lib/chunks/BUTdFPf9.js.map +1 -0
  37. package/lib/chunks/{BWnGGswQ.js → BVEipTu4.js} +14 -6
  38. package/lib/chunks/BVEipTu4.js.map +1 -0
  39. package/lib/chunks/{CH6gj1Uh.js → BWhkyANY.js} +9 -9
  40. package/lib/chunks/BWhkyANY.js.map +1 -0
  41. package/lib/chunks/{D_Rke7J9.js → BYLyV5Qz.js} +10 -11
  42. package/lib/chunks/BYLyV5Qz.js.map +1 -0
  43. package/lib/chunks/{CrwTiLxz.js → BbOrQ8ft.js} +9 -10
  44. package/lib/chunks/BbOrQ8ft.js.map +1 -0
  45. package/lib/chunks/{D7lj1d87.js → BoILvqhB.js} +12 -13
  46. package/lib/chunks/BoILvqhB.js.map +1 -0
  47. package/lib/chunks/{oscppiH3.js → BspGLrQY.js} +3 -3
  48. package/lib/chunks/BspGLrQY.js.map +1 -0
  49. package/lib/chunks/{ONNloqHH.js → C19d7e9r.js} +3 -3
  50. package/lib/chunks/C19d7e9r.js.map +1 -0
  51. package/lib/chunks/{CbVp-KNL.js → C1e81geK.js} +10 -11
  52. package/lib/chunks/C1e81geK.js.map +1 -0
  53. package/lib/chunks/{BclPIY1S.js → C3im5F6T.js} +8 -8
  54. package/lib/chunks/C3im5F6T.js.map +1 -0
  55. package/lib/chunks/{643jpJkp.js → C4_EvmHb.js} +9 -9
  56. package/lib/chunks/C4_EvmHb.js.map +1 -0
  57. package/lib/chunks/{BuRssXBn.js → C6c2zNh0.js} +3 -3
  58. package/lib/chunks/C6c2zNh0.js.map +1 -0
  59. package/lib/chunks/{UBAf_gJR.js → CK8pVkWO.js} +8 -6
  60. package/lib/chunks/CK8pVkWO.js.map +1 -0
  61. package/lib/chunks/{BRyz2Jfr.js → CNs1dLtt.js} +6 -6
  62. package/lib/chunks/CNs1dLtt.js.map +1 -0
  63. package/lib/chunks/{BZKqACKI.js → COQRF4O2.js} +8 -6
  64. package/lib/chunks/COQRF4O2.js.map +1 -0
  65. package/lib/chunks/{DVbWgkTx.js → CObxLUVv.js} +11 -11
  66. package/lib/chunks/CObxLUVv.js.map +1 -0
  67. package/lib/chunks/{CSDGWXIc.js → CPHxjIqw.js} +3 -3
  68. package/lib/chunks/CPHxjIqw.js.map +1 -0
  69. package/lib/chunks/{DXxsDHKA.js → CWM22e1v.js} +3 -3
  70. package/lib/chunks/CWM22e1v.js.map +1 -0
  71. package/lib/chunks/{iDCR6UCK.js → CYO0U3xG.js} +12 -15
  72. package/lib/chunks/CYO0U3xG.js.map +1 -0
  73. package/lib/chunks/{63XaN_s1.js → CfyHmkPe.js} +5 -6
  74. package/lib/chunks/CfyHmkPe.js.map +1 -0
  75. package/lib/chunks/{D9EcAnhT.js → CiecGioc.js} +18 -15
  76. package/lib/chunks/CiecGioc.js.map +1 -0
  77. package/lib/chunks/{BAW_NqgP.js → CjfHlzPr.js} +11 -14
  78. package/lib/chunks/CjfHlzPr.js.map +1 -0
  79. package/lib/chunks/{D_krOQ9f.js → Cpmv-8CX.js} +14 -15
  80. package/lib/chunks/Cpmv-8CX.js.map +1 -0
  81. package/lib/chunks/{XAfNTJB0.js → CsRtPonL.js} +4 -7
  82. package/lib/chunks/CsRtPonL.js.map +1 -0
  83. package/lib/chunks/{BIZkK5rf.js → Ct9WYKLH.js} +7 -10
  84. package/lib/chunks/Ct9WYKLH.js.map +1 -0
  85. package/lib/chunks/{B_Vy1VXa.js → CvRb-PD8.js} +12 -12
  86. package/lib/chunks/CvRb-PD8.js.map +1 -0
  87. package/lib/chunks/{BBEyHSQv.js → D2Rp5DqD.js} +9 -9
  88. package/lib/chunks/D2Rp5DqD.js.map +1 -0
  89. package/lib/chunks/{6QvAfis7.js → D8LFX3Si.js} +4 -7
  90. package/lib/chunks/D8LFX3Si.js.map +1 -0
  91. package/lib/chunks/{BqkxZjvs.js → DCeVwori.js} +11 -13
  92. package/lib/chunks/DCeVwori.js.map +1 -0
  93. package/lib/chunks/{CeTLs6kT.js → DFdgK5Ff.js} +9 -9
  94. package/lib/chunks/DFdgK5Ff.js.map +1 -0
  95. package/lib/chunks/{BnvmGTwR.js → DGNDLzjC.js} +15 -16
  96. package/lib/chunks/DGNDLzjC.js.map +1 -0
  97. package/lib/chunks/{DBwqeu_E.js → DI98porG.js} +9 -9
  98. package/lib/chunks/DI98porG.js.map +1 -0
  99. package/lib/chunks/{BojPYCOr.js → DKh1JBaq.js} +5 -5
  100. package/lib/chunks/DKh1JBaq.js.map +1 -0
  101. package/lib/chunks/{bsJCyJ2h.js → DQ2aBJ55.js} +12 -13
  102. package/lib/chunks/DQ2aBJ55.js.map +1 -0
  103. package/lib/chunks/DQEdPoQo.js +386 -0
  104. package/lib/chunks/DQEdPoQo.js.map +1 -0
  105. package/lib/chunks/DTAFonQW.js +396 -0
  106. package/lib/chunks/DTAFonQW.js.map +1 -0
  107. package/lib/chunks/{jimu0HjG.js → DURERga3.js} +11 -11
  108. package/lib/chunks/DURERga3.js.map +1 -0
  109. package/lib/chunks/{Bk3g9j2o.js → DUsiYkFK.js} +6 -4
  110. package/lib/chunks/DUsiYkFK.js.map +1 -0
  111. package/lib/chunks/{DBQayOqn.js → DdpHkb3E.js} +19 -22
  112. package/lib/chunks/DdpHkb3E.js.map +1 -0
  113. package/lib/chunks/{Dqdy0S36.js → DgIBeET0.js} +15 -18
  114. package/lib/chunks/DgIBeET0.js.map +1 -0
  115. package/lib/chunks/{B6vtjeC9.js → DgJZ6ZlB.js} +8 -9
  116. package/lib/chunks/DgJZ6ZlB.js.map +1 -0
  117. package/lib/chunks/{LVVvAMYi.js → DhwKNWjD.js} +12 -12
  118. package/lib/chunks/DhwKNWjD.js.map +1 -0
  119. package/lib/chunks/{PL7a9wra.js → DpVMBZKg.js} +13 -14
  120. package/lib/chunks/DpVMBZKg.js.map +1 -0
  121. package/lib/chunks/{BtupEz7m.js → DpX76W8R.js} +5 -6
  122. package/lib/chunks/DpX76W8R.js.map +1 -0
  123. package/lib/chunks/{B7fxD1Uc.js → DwfSxgDx.js} +13 -14
  124. package/lib/chunks/DwfSxgDx.js.map +1 -0
  125. package/lib/chunks/{BwSsnMqD.js → DxT4VIUT.js} +14 -8
  126. package/lib/chunks/DxT4VIUT.js.map +1 -0
  127. package/lib/chunks/{C7_fI_a3.js → DyrhHazx.js} +9 -10
  128. package/lib/chunks/DyrhHazx.js.map +1 -0
  129. package/lib/chunks/{Zehgfy1K.js → DzuHthMw.js} +9 -9
  130. package/lib/chunks/DzuHthMw.js.map +1 -0
  131. package/lib/chunks/{BJfyI-uR.js → E1AHpT8W.js} +7 -5
  132. package/lib/chunks/E1AHpT8W.js.map +1 -0
  133. package/lib/chunks/{Cd6R23_2.js → Ffj7MYiP.js} +14 -15
  134. package/lib/chunks/Ffj7MYiP.js.map +1 -0
  135. package/lib/chunks/{BlB6zzjK.js → FzMaadW6.js} +6 -6
  136. package/lib/chunks/FzMaadW6.js.map +1 -0
  137. package/lib/chunks/{D_d9DDRC.js → JKRtgYCJ.js} +3 -3
  138. package/lib/chunks/JKRtgYCJ.js.map +1 -0
  139. package/lib/chunks/{DumMjxRD.js → JkqrKvFU.js} +7 -7
  140. package/lib/chunks/JkqrKvFU.js.map +1 -0
  141. package/lib/chunks/{qTIhqjug.js → KzCo7H0B.js} +12 -12
  142. package/lib/chunks/KzCo7H0B.js.map +1 -0
  143. package/lib/chunks/{yujSBoDZ.js → PBX4P85B.js} +8 -8
  144. package/lib/chunks/PBX4P85B.js.map +1 -0
  145. package/lib/chunks/{CjT2dcJr.js → QXeRMnaM.js} +6 -6
  146. package/lib/chunks/QXeRMnaM.js.map +1 -0
  147. package/lib/chunks/Tt3YRLoT.js +265 -0
  148. package/lib/chunks/Tt3YRLoT.js.map +1 -0
  149. package/lib/chunks/{B5PEus3p.js → UIRN-9Gk.js} +10 -11
  150. package/lib/chunks/UIRN-9Gk.js.map +1 -0
  151. package/lib/chunks/{BTBrE1_0.js → Uub1pbHE.js} +8 -9
  152. package/lib/chunks/Uub1pbHE.js.map +1 -0
  153. package/lib/chunks/{D4SsmFK3.js → VUkGxEQX.js} +3 -3
  154. package/lib/chunks/VUkGxEQX.js.map +1 -0
  155. package/lib/chunks/{B2_F5Icl.js → VxQFGAPu.js} +7 -10
  156. package/lib/chunks/VxQFGAPu.js.map +1 -0
  157. package/lib/chunks/{DtKmEeJb.js → cT-MuN_z.js} +12 -15
  158. package/lib/chunks/cT-MuN_z.js.map +1 -0
  159. package/lib/chunks/{C5iF2l6i.js → fCOl6gGe.js} +19 -22
  160. package/lib/chunks/fCOl6gGe.js.map +1 -0
  161. package/lib/chunks/{CLg19bQ0.js → gdOjznoN.js} +25 -17
  162. package/lib/chunks/gdOjznoN.js.map +1 -0
  163. package/lib/chunks/{BjUhCoLJ.js → j6GbzQ11.js} +5 -5
  164. package/lib/chunks/j6GbzQ11.js.map +1 -0
  165. package/lib/chunks/{l0OEgSss.js → kCsdJsDp.js} +5 -5
  166. package/lib/chunks/kCsdJsDp.js.map +1 -0
  167. package/lib/chunks/{D7MZMcK9.js → lkmEYnvD.js} +14 -15
  168. package/lib/chunks/lkmEYnvD.js.map +1 -0
  169. package/lib/chunks/{C2mWiGAY.js → mzLGzWY5.js} +12 -12
  170. package/lib/chunks/mzLGzWY5.js.map +1 -0
  171. package/lib/chunks/{D3Y02MFI.js → nl7BnV3E.js} +33 -30
  172. package/lib/chunks/nl7BnV3E.js.map +1 -0
  173. package/lib/chunks/{DAw8jYZJ.js → qmIX92PW.js} +11 -14
  174. package/lib/chunks/qmIX92PW.js.map +1 -0
  175. package/lib/chunks/{LuH47Bqk.js → rg6JAh_X.js} +12 -15
  176. package/lib/chunks/rg6JAh_X.js.map +1 -0
  177. package/lib/chunks/{D5Oj5xxW.js → uBR9aAgk.js} +6 -6
  178. package/lib/chunks/uBR9aAgk.js.map +1 -0
  179. package/lib/chunks/{CJiiKEHc.js → wPKCUEuQ.js} +3 -3
  180. package/lib/chunks/wPKCUEuQ.js.map +1 -0
  181. package/lib/components/BryntumAIFilterField.js +1 -1
  182. package/lib/components/BryntumAgendaView.js +1 -1
  183. package/lib/components/BryntumBooleanCombo.js +5 -0
  184. package/lib/components/BryntumBooleanCombo.js.map +1 -0
  185. package/lib/components/BryntumButton.js +1 -1
  186. package/lib/components/BryntumButtonGroup.js +1 -1
  187. package/lib/components/BryntumCalendar.js +1 -1
  188. package/lib/components/BryntumCalendarDatePicker.js +1 -1
  189. package/lib/components/BryntumCalendarProjectModel.js +1 -1
  190. package/lib/components/BryntumChatPanel.js +1 -1
  191. package/lib/components/BryntumCheckbox.js +1 -1
  192. package/lib/components/BryntumCheckboxGroup.js +1 -1
  193. package/lib/components/BryntumChecklistFilterCombo.js +1 -1
  194. package/lib/components/BryntumChipView.js +1 -1
  195. package/lib/components/BryntumCodeEditor.js +1 -1
  196. package/lib/components/BryntumColorField.js +1 -1
  197. package/lib/components/BryntumCombo.js +1 -1
  198. package/lib/components/BryntumContainer.js +1 -1
  199. package/lib/components/BryntumDateField.js +1 -1
  200. package/lib/components/BryntumDatePicker.js +1 -1
  201. package/lib/components/BryntumDateRangeField.js +1 -1
  202. package/lib/components/BryntumDateTimeField.js +1 -1
  203. package/lib/components/BryntumDayAgendaView.js +1 -1
  204. package/lib/components/BryntumDayResourceView.js +1 -1
  205. package/lib/components/BryntumDayView.js +1 -1
  206. package/lib/components/BryntumDemoCodeEditor.js +1 -1
  207. package/lib/components/BryntumDemoHeader.js +1 -1
  208. package/lib/components/BryntumDisplayField.js +1 -1
  209. package/lib/components/BryntumDurationField.js +1 -1
  210. package/lib/components/BryntumEditor.js +1 -1
  211. package/lib/components/BryntumEventColorField.js +1 -1
  212. package/lib/components/BryntumEventList.js +1 -1
  213. package/lib/components/BryntumFieldFilterPicker.js +1 -1
  214. package/lib/components/BryntumFieldFilterPickerGroup.js +1 -1
  215. package/lib/components/BryntumFieldSet.js +1 -1
  216. package/lib/components/BryntumFileField.js +1 -1
  217. package/lib/components/BryntumFilePicker.js +1 -1
  218. package/lib/components/BryntumFilterField.js +1 -1
  219. package/lib/components/BryntumGrid.js +1 -1
  220. package/lib/components/BryntumGridBase.js +1 -1
  221. package/lib/components/BryntumGridChartDesigner.js +1 -1
  222. package/lib/components/BryntumGridFieldFilterPicker.js +1 -1
  223. package/lib/components/BryntumGridFieldFilterPickerGroup.js +1 -1
  224. package/lib/components/BryntumGroupBar.js +1 -1
  225. package/lib/components/BryntumHint.js +1 -1
  226. package/lib/components/BryntumLabel.js +1 -1
  227. package/lib/components/BryntumList.js +1 -1
  228. package/lib/components/BryntumMenu.js +1 -1
  229. package/lib/components/BryntumModeSelector.js +1 -1
  230. package/lib/components/BryntumMonthAgendaView.js +1 -1
  231. package/lib/components/BryntumMonthGrid.js +1 -1
  232. package/lib/components/BryntumMonthPicker.js +1 -1
  233. package/lib/components/BryntumMonthView.js +1 -1
  234. package/lib/components/BryntumNumberField.js +1 -1
  235. package/lib/components/BryntumPagingToolbar.js +1 -1
  236. package/lib/components/BryntumPanel.js +1 -1
  237. package/lib/components/BryntumPasswordField.js +1 -1
  238. package/lib/components/BryntumProgressBar.js +1 -1
  239. package/lib/components/BryntumProjectCombo.js +1 -1
  240. package/lib/components/BryntumRadio.js +1 -1
  241. package/lib/components/BryntumRadioGroup.js +1 -1
  242. package/lib/components/BryntumRangeMenu.js +1 -1
  243. package/lib/components/BryntumResourceCombo.js +1 -1
  244. package/lib/components/BryntumResourceFilter.js +1 -1
  245. package/lib/components/BryntumResourceView.js +1 -1
  246. package/lib/components/BryntumScheduler.js +1 -1
  247. package/lib/components/BryntumSchedulerBase.js +1 -1
  248. package/lib/components/BryntumSchedulerDatePicker.js +1 -1
  249. package/lib/components/BryntumSlideToggle.js +1 -1
  250. package/lib/components/BryntumSlider.js +1 -1
  251. package/lib/components/BryntumSplitter.js +1 -1
  252. package/lib/components/BryntumTabPanel.js +1 -1
  253. package/lib/components/BryntumTextAreaField.js +1 -1
  254. package/lib/components/BryntumTextAreaPickerField.js +1 -1
  255. package/lib/components/BryntumTextField.js +1 -1
  256. package/lib/components/BryntumThemeCombo.js +5 -0
  257. package/lib/components/BryntumThemeCombo.js.map +1 -0
  258. package/lib/components/BryntumTimeField.js +1 -1
  259. package/lib/components/BryntumTimePicker.js +1 -1
  260. package/lib/components/BryntumTimeVisualizingEditor.js +1 -1
  261. package/lib/components/BryntumTimeZoomSlider.js +5 -0
  262. package/lib/components/BryntumTimeZoomSlider.js.map +1 -0
  263. package/lib/components/BryntumTimelineHistogram.js +1 -1
  264. package/lib/components/BryntumToolbar.js +1 -1
  265. package/lib/components/BryntumTreeCombo.js +1 -1
  266. package/lib/components/BryntumTreeGrid.js +1 -1
  267. package/lib/components/BryntumUndoRedo.js +1 -1
  268. package/lib/components/BryntumViewPresetCombo.js +1 -1
  269. package/lib/components/BryntumWeekView.js +1 -1
  270. package/lib/components/BryntumWidget.js +1 -1
  271. package/lib/components/BryntumYearPicker.js +1 -1
  272. package/lib/components/BryntumYearPlanner.js +5 -0
  273. package/lib/components/BryntumYearPlanner.js.map +1 -0
  274. package/lib/components/BryntumYearView.js +1 -1
  275. package/lib/index.js +179 -171
  276. package/lib/index.js.map +1 -1
  277. package/package.json +1 -1
  278. package/src/components/BryntumAIFilterField.vue +73 -118
  279. package/src/components/BryntumAIFilterFieldProps.ts +69 -110
  280. package/src/components/BryntumAgendaView.vue +295 -417
  281. package/src/components/BryntumAgendaViewProps.ts +268 -369
  282. package/src/components/BryntumBooleanCombo.vue +1248 -0
  283. package/src/components/BryntumBooleanComboProps.ts +789 -0
  284. package/src/components/BryntumButton.vue +68 -114
  285. package/src/components/BryntumButtonGroup.vue +77 -122
  286. package/src/components/BryntumButtonGroupProps.ts +73 -113
  287. package/src/components/BryntumButtonProps.ts +65 -108
  288. package/src/components/BryntumCalendar.vue +234 -347
  289. package/src/components/BryntumCalendarDatePicker.vue +149 -231
  290. package/src/components/BryntumCalendarDatePickerProps.ts +145 -222
  291. package/src/components/BryntumCalendarProjectModel.vue +12 -31
  292. package/src/components/BryntumCalendarProjectModelProps.ts +10 -20
  293. package/src/components/BryntumCalendarProps.ts +181 -279
  294. package/src/components/BryntumChatPanel.vue +141 -168
  295. package/src/components/BryntumChatPanelProps.ts +121 -157
  296. package/src/components/BryntumCheckbox.vue +72 -116
  297. package/src/components/BryntumCheckboxGroup.vue +108 -178
  298. package/src/components/BryntumCheckboxGroupProps.ts +104 -168
  299. package/src/components/BryntumCheckboxProps.ts +68 -108
  300. package/src/components/BryntumChecklistFilterCombo.vue +90 -149
  301. package/src/components/BryntumChecklistFilterComboProps.ts +86 -141
  302. package/src/components/BryntumChipView.vue +64 -104
  303. package/src/components/BryntumChipViewProps.ts +61 -98
  304. package/src/components/BryntumCodeEditor.vue +105 -166
  305. package/src/components/BryntumCodeEditorProps.ts +101 -157
  306. package/src/components/BryntumColorField.vue +72 -116
  307. package/src/components/BryntumColorFieldProps.ts +68 -108
  308. package/src/components/BryntumCombo.vue +91 -151
  309. package/src/components/BryntumComboProps.ts +87 -143
  310. package/src/components/BryntumContainer.vue +77 -123
  311. package/src/components/BryntumContainerProps.ts +73 -114
  312. package/src/components/BryntumDateField.vue +79 -122
  313. package/src/components/BryntumDateFieldProps.ts +75 -114
  314. package/src/components/BryntumDatePicker.vue +118 -192
  315. package/src/components/BryntumDatePickerProps.ts +114 -183
  316. package/src/components/BryntumDateRangeField.vue +78 -125
  317. package/src/components/BryntumDateRangeFieldProps.ts +74 -117
  318. package/src/components/BryntumDateTimeField.vue +72 -116
  319. package/src/components/BryntumDateTimeFieldProps.ts +68 -108
  320. package/src/components/BryntumDayAgendaView.vue +220 -331
  321. package/src/components/BryntumDayAgendaViewProps.ts +204 -302
  322. package/src/components/BryntumDayResourceView.vue +239 -361
  323. package/src/components/BryntumDayResourceViewProps.ts +224 -333
  324. package/src/components/BryntumDayView.vue +235 -353
  325. package/src/components/BryntumDayViewProps.ts +220 -325
  326. package/src/components/BryntumDemoCodeEditor.vue +105 -166
  327. package/src/components/BryntumDemoCodeEditorProps.ts +101 -157
  328. package/src/components/BryntumDemoHeader.vue +7 -2
  329. package/src/components/BryntumDisplayField.vue +73 -118
  330. package/src/components/BryntumDisplayFieldProps.ts +69 -110
  331. package/src/components/BryntumDurationField.vue +79 -124
  332. package/src/components/BryntumDurationFieldProps.ts +73 -114
  333. package/src/components/BryntumEditor.vue +89 -139
  334. package/src/components/BryntumEditorProps.ts +80 -125
  335. package/src/components/BryntumEventColorField.vue +72 -116
  336. package/src/components/BryntumEventColorFieldProps.ts +68 -108
  337. package/src/components/BryntumEventList.vue +288 -406
  338. package/src/components/BryntumEventListProps.ts +261 -358
  339. package/src/components/BryntumFieldFilterPicker.vue +79 -127
  340. package/src/components/BryntumFieldFilterPickerGroup.vue +81 -131
  341. package/src/components/BryntumFieldFilterPickerGroupProps.ts +77 -122
  342. package/src/components/BryntumFieldFilterPickerProps.ts +75 -118
  343. package/src/components/BryntumFieldSet.vue +104 -171
  344. package/src/components/BryntumFieldSetProps.ts +100 -161
  345. package/src/components/BryntumFileField.vue +72 -116
  346. package/src/components/BryntumFileFieldProps.ts +68 -108
  347. package/src/components/BryntumFilePicker.vue +77 -123
  348. package/src/components/BryntumFilePickerProps.ts +73 -114
  349. package/src/components/BryntumFilterField.vue +75 -122
  350. package/src/components/BryntumFilterFieldProps.ts +71 -114
  351. package/src/components/BryntumGrid.vue +203 -290
  352. package/src/components/BryntumGridBase.vue +203 -290
  353. package/src/components/BryntumGridBaseProps.ts +186 -261
  354. package/src/components/BryntumGridChartDesigner.vue +58 -94
  355. package/src/components/BryntumGridChartDesignerProps.ts +55 -88
  356. package/src/components/BryntumGridFieldFilterPicker.vue +81 -131
  357. package/src/components/BryntumGridFieldFilterPickerGroup.vue +80 -129
  358. package/src/components/BryntumGridFieldFilterPickerGroupProps.ts +76 -120
  359. package/src/components/BryntumGridFieldFilterPickerProps.ts +77 -122
  360. package/src/components/BryntumGridProps.ts +186 -261
  361. package/src/components/BryntumGroupBar.vue +64 -104
  362. package/src/components/BryntumGroupBarProps.ts +61 -98
  363. package/src/components/BryntumHint.vue +132 -189
  364. package/src/components/BryntumHintProps.ts +128 -180
  365. package/src/components/BryntumLabel.vue +58 -94
  366. package/src/components/BryntumLabelProps.ts +55 -88
  367. package/src/components/BryntumList.vue +61 -100
  368. package/src/components/BryntumListProps.ts +58 -94
  369. package/src/components/BryntumMenu.vue +127 -187
  370. package/src/components/BryntumMenuProps.ts +121 -173
  371. package/src/components/BryntumModeSelector.vue +91 -125
  372. package/src/components/BryntumModeSelectorProps.ts +85 -116
  373. package/src/components/BryntumMonthAgendaView.vue +189 -281
  374. package/src/components/BryntumMonthAgendaViewProps.ts +180 -261
  375. package/src/components/BryntumMonthGrid.vue +179 -262
  376. package/src/components/BryntumMonthGridProps.ts +169 -239
  377. package/src/components/BryntumMonthPicker.vue +105 -166
  378. package/src/components/BryntumMonthPickerProps.ts +101 -157
  379. package/src/components/BryntumMonthView.vue +208 -301
  380. package/src/components/BryntumMonthViewProps.ts +195 -273
  381. package/src/components/BryntumNumberField.vue +76 -120
  382. package/src/components/BryntumNumberFieldProps.ts +72 -112
  383. package/src/components/BryntumPagingToolbar.vue +81 -128
  384. package/src/components/BryntumPagingToolbarProps.ts +77 -119
  385. package/src/components/BryntumPanel.vue +105 -166
  386. package/src/components/BryntumPanelProps.ts +101 -157
  387. package/src/components/BryntumPasswordField.vue +72 -116
  388. package/src/components/BryntumPasswordFieldProps.ts +68 -108
  389. package/src/components/BryntumProgressBar.vue +57 -92
  390. package/src/components/BryntumProgressBarProps.ts +54 -86
  391. package/src/components/BryntumProjectCombo.vue +90 -149
  392. package/src/components/BryntumProjectComboProps.ts +86 -141
  393. package/src/components/BryntumRadio.vue +72 -116
  394. package/src/components/BryntumRadioGroup.vue +108 -177
  395. package/src/components/BryntumRadioGroupProps.ts +104 -167
  396. package/src/components/BryntumRadioProps.ts +68 -108
  397. package/src/components/BryntumRangeMenu.vue +127 -187
  398. package/src/components/BryntumRangeMenuProps.ts +121 -173
  399. package/src/components/BryntumResourceCombo.vue +91 -151
  400. package/src/components/BryntumResourceComboProps.ts +87 -143
  401. package/src/components/BryntumResourceFilter.vue +63 -104
  402. package/src/components/BryntumResourceFilterProps.ts +60 -98
  403. package/src/components/BryntumResourceView.vue +174 -256
  404. package/src/components/BryntumResourceViewProps.ts +165 -236
  405. package/src/components/BryntumScheduler.vue +426 -599
  406. package/src/components/BryntumSchedulerBase.vue +426 -599
  407. package/src/components/BryntumSchedulerBaseProps.ts +366 -521
  408. package/src/components/BryntumSchedulerDatePicker.vue +120 -196
  409. package/src/components/BryntumSchedulerDatePickerProps.ts +116 -187
  410. package/src/components/BryntumSchedulerProps.ts +366 -521
  411. package/src/components/BryntumSlideToggle.vue +72 -116
  412. package/src/components/BryntumSlideToggleProps.ts +68 -108
  413. package/src/components/BryntumSlider.vue +66 -100
  414. package/src/components/BryntumSliderProps.ts +62 -94
  415. package/src/components/BryntumSplitter.vue +60 -98
  416. package/src/components/BryntumSplitterProps.ts +57 -92
  417. package/src/components/BryntumTabPanel.vue +106 -168
  418. package/src/components/BryntumTabPanelProps.ts +102 -159
  419. package/src/components/BryntumTextAreaField.vue +80 -118
  420. package/src/components/BryntumTextAreaFieldProps.ts +75 -110
  421. package/src/components/BryntumTextAreaPickerField.vue +74 -119
  422. package/src/components/BryntumTextAreaPickerFieldProps.ts +70 -111
  423. package/src/components/BryntumTextField.vue +73 -118
  424. package/src/components/BryntumTextFieldProps.ts +69 -110
  425. package/src/components/BryntumThemeCombo.vue +60 -0
  426. package/src/components/BryntumTimeField.vue +78 -119
  427. package/src/components/BryntumTimeFieldProps.ts +74 -111
  428. package/src/components/BryntumTimePicker.vue +77 -123
  429. package/src/components/BryntumTimePickerProps.ts +73 -114
  430. package/src/components/BryntumTimeVisualizingEditor.vue +130 -191
  431. package/src/components/BryntumTimeVisualizingEditorProps.ts +126 -182
  432. package/src/components/BryntumTimeZoomSlider.vue +828 -0
  433. package/src/components/BryntumTimeZoomSliderProps.ts +482 -0
  434. package/src/components/BryntumTimelineHistogram.vue +322 -443
  435. package/src/components/BryntumTimelineHistogramProps.ts +274 -387
  436. package/src/components/BryntumToolbar.vue +81 -128
  437. package/src/components/BryntumToolbarProps.ts +77 -119
  438. package/src/components/BryntumTreeCombo.vue +91 -151
  439. package/src/components/BryntumTreeComboProps.ts +87 -143
  440. package/src/components/BryntumTreeGrid.vue +203 -290
  441. package/src/components/BryntumTreeGridProps.ts +186 -261
  442. package/src/components/BryntumUndoRedo.vue +78 -125
  443. package/src/components/BryntumUndoRedoProps.ts +74 -116
  444. package/src/components/BryntumViewPresetCombo.vue +67 -107
  445. package/src/components/BryntumViewPresetComboProps.ts +63 -99
  446. package/src/components/BryntumWeekView.vue +235 -353
  447. package/src/components/BryntumWeekViewProps.ts +220 -325
  448. package/src/components/BryntumWidget.vue +58 -94
  449. package/src/components/BryntumWidgetProps.ts +55 -88
  450. package/src/components/BryntumYearPicker.vue +106 -168
  451. package/src/components/BryntumYearPickerProps.ts +102 -159
  452. package/src/components/BryntumYearPlanner.vue +1372 -0
  453. package/src/components/BryntumYearPlannerProps.ts +874 -0
  454. package/src/components/BryntumYearView.vue +189 -277
  455. package/src/components/BryntumYearViewProps.ts +179 -254
  456. package/src/index.ts +7 -0
  457. package/lib/chunks/-I8DJxf_.js.map +0 -1
  458. package/lib/chunks/63XaN_s1.js.map +0 -1
  459. package/lib/chunks/643jpJkp.js.map +0 -1
  460. package/lib/chunks/6QvAfis7.js.map +0 -1
  461. package/lib/chunks/B2_F5Icl.js.map +0 -1
  462. package/lib/chunks/B5PEus3p.js.map +0 -1
  463. package/lib/chunks/B6vtjeC9.js.map +0 -1
  464. package/lib/chunks/B7fxD1Uc.js.map +0 -1
  465. package/lib/chunks/BAW_NqgP.js.map +0 -1
  466. package/lib/chunks/BBEyHSQv.js.map +0 -1
  467. package/lib/chunks/BDE_6JKK.js.map +0 -1
  468. package/lib/chunks/BIZkK5rf.js.map +0 -1
  469. package/lib/chunks/BJfyI-uR.js.map +0 -1
  470. package/lib/chunks/BO1go6ht.js.map +0 -1
  471. package/lib/chunks/BRyz2Jfr.js.map +0 -1
  472. package/lib/chunks/BTBrE1_0.js.map +0 -1
  473. package/lib/chunks/BWnGGswQ.js.map +0 -1
  474. package/lib/chunks/BZKqACKI.js.map +0 -1
  475. package/lib/chunks/B_Vy1VXa.js.map +0 -1
  476. package/lib/chunks/Baux7HCy.js.map +0 -1
  477. package/lib/chunks/BclPIY1S.js.map +0 -1
  478. package/lib/chunks/Beyvc-Ee.js.map +0 -1
  479. package/lib/chunks/BjUhCoLJ.js.map +0 -1
  480. package/lib/chunks/Bk3g9j2o.js.map +0 -1
  481. package/lib/chunks/BlB6zzjK.js.map +0 -1
  482. package/lib/chunks/BnvmGTwR.js.map +0 -1
  483. package/lib/chunks/BojPYCOr.js.map +0 -1
  484. package/lib/chunks/BqkxZjvs.js.map +0 -1
  485. package/lib/chunks/BtupEz7m.js.map +0 -1
  486. package/lib/chunks/BuRssXBn.js.map +0 -1
  487. package/lib/chunks/Bvf00QYc.js.map +0 -1
  488. package/lib/chunks/BwSsnMqD.js.map +0 -1
  489. package/lib/chunks/BwV4_Hj0.js.map +0 -1
  490. package/lib/chunks/C2mWiGAY.js.map +0 -1
  491. package/lib/chunks/C5iF2l6i.js.map +0 -1
  492. package/lib/chunks/C7_fI_a3.js.map +0 -1
  493. package/lib/chunks/CH6gj1Uh.js.map +0 -1
  494. package/lib/chunks/CJiiKEHc.js.map +0 -1
  495. package/lib/chunks/CLg19bQ0.js.map +0 -1
  496. package/lib/chunks/CN4RrXCe.js.map +0 -1
  497. package/lib/chunks/CSDGWXIc.js.map +0 -1
  498. package/lib/chunks/CbVp-KNL.js.map +0 -1
  499. package/lib/chunks/Cd6R23_2.js.map +0 -1
  500. package/lib/chunks/CeTLs6kT.js.map +0 -1
  501. package/lib/chunks/CjT2dcJr.js.map +0 -1
  502. package/lib/chunks/Ckl-wIwj.js.map +0 -1
  503. package/lib/chunks/CrGY2ZuR.js.map +0 -1
  504. package/lib/chunks/CrwTiLxz.js.map +0 -1
  505. package/lib/chunks/D3Y02MFI.js.map +0 -1
  506. package/lib/chunks/D3e9xTyI.js.map +0 -1
  507. package/lib/chunks/D4SsmFK3.js.map +0 -1
  508. package/lib/chunks/D53p7Ank.js.map +0 -1
  509. package/lib/chunks/D5Oj5xxW.js.map +0 -1
  510. package/lib/chunks/D7MZMcK9.js.map +0 -1
  511. package/lib/chunks/D7lj1d87.js.map +0 -1
  512. package/lib/chunks/D9EcAnhT.js.map +0 -1
  513. package/lib/chunks/DAw8jYZJ.js.map +0 -1
  514. package/lib/chunks/DBQayOqn.js.map +0 -1
  515. package/lib/chunks/DBwqeu_E.js.map +0 -1
  516. package/lib/chunks/DQaAhwXD.js.map +0 -1
  517. package/lib/chunks/DVbWgkTx.js.map +0 -1
  518. package/lib/chunks/DXxsDHKA.js.map +0 -1
  519. package/lib/chunks/D_Rke7J9.js.map +0 -1
  520. package/lib/chunks/D_d9DDRC.js.map +0 -1
  521. package/lib/chunks/D_krOQ9f.js.map +0 -1
  522. package/lib/chunks/Dqdy0S36.js.map +0 -1
  523. package/lib/chunks/DtKmEeJb.js.map +0 -1
  524. package/lib/chunks/DumMjxRD.js.map +0 -1
  525. package/lib/chunks/LVVvAMYi.js.map +0 -1
  526. package/lib/chunks/LuH47Bqk.js.map +0 -1
  527. package/lib/chunks/ONNloqHH.js.map +0 -1
  528. package/lib/chunks/PL7a9wra.js.map +0 -1
  529. package/lib/chunks/UBAf_gJR.js.map +0 -1
  530. package/lib/chunks/XAfNTJB0.js.map +0 -1
  531. package/lib/chunks/Zehgfy1K.js.map +0 -1
  532. package/lib/chunks/bsJCyJ2h.js.map +0 -1
  533. package/lib/chunks/c2O0FAWQ.js.map +0 -1
  534. package/lib/chunks/iDCR6UCK.js.map +0 -1
  535. package/lib/chunks/jimu0HjG.js.map +0 -1
  536. package/lib/chunks/l0OEgSss.js.map +0 -1
  537. package/lib/chunks/motDmuL4.js.map +0 -1
  538. package/lib/chunks/n-R-RzWM.js.map +0 -1
  539. package/lib/chunks/oscppiH3.js.map +0 -1
  540. package/lib/chunks/qTIhqjug.js.map +0 -1
  541. package/lib/chunks/u9zB9TJb.js.map +0 -1
  542. package/lib/chunks/yujSBoDZ.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { defineComponent as u, ref as l, provide as h, onMounted as g, getCurrentInstance as f, toRaw as y, onBeforeUnmount as b, openBlock as C, createElementBlock as S, watch as x } from "vue";
1
+ import { defineComponent as u, ref as l, provide as h, onMounted as g, getCurrentInstance as f, toRaw as b, onBeforeUnmount as y, openBlock as C, createElementBlock as S, watch as x } from "vue";
2
2
  import { ButtonGroup as w } from "@bryntum/calendar";
3
3
  import { WrapperHelper as r } from "../helper/WrapperHelper.js";
4
4
  const O = /* @__PURE__ */ u({
@@ -52,6 +52,7 @@ const O = /* @__PURE__ */ u({
52
52
  items: {},
53
53
  keyMap: {},
54
54
  labelPosition: {},
55
+ labelWidth: {},
55
56
  layout: {},
56
57
  layoutStyle: {},
57
58
  lazyItems: {},
@@ -76,6 +77,7 @@ const O = /* @__PURE__ */ u({
76
77
  relayStoreEvents: {},
77
78
  rendition: {},
78
79
  ripple: {},
80
+ role: {},
79
81
  rootElement: {},
80
82
  rtl: {},
81
83
  scrollable: {},
@@ -147,6 +149,7 @@ const O = /* @__PURE__ */ u({
147
149
  "preventTooltipOnTouch",
148
150
  "relayStoreEvents",
149
151
  "ripple",
152
+ "role",
150
153
  "rootElement",
151
154
  "scrollAction",
152
155
  "showAnimation",
@@ -185,6 +188,7 @@ const O = /* @__PURE__ */ u({
185
188
  "items",
186
189
  "keyMap",
187
190
  "labelPosition",
191
+ "labelWidth",
188
192
  "layout",
189
193
  "layoutStyle",
190
194
  "margin",
@@ -226,11 +230,6 @@ const O = /* @__PURE__ */ u({
226
230
  "y"
227
231
  ],
228
232
  propertyNames: [
229
- "anchorSize",
230
- "focusVisible",
231
- "hasChanges",
232
- "isSettingValues",
233
- "isValid",
234
233
  "parent",
235
234
  "values"
236
235
  ],
@@ -263,11 +262,11 @@ const O = /* @__PURE__ */ u({
263
262
  widgetData: n,
264
263
  emit: d,
265
264
  element: t.value,
266
- toRaw: y
265
+ toRaw: b
267
266
  });
268
267
  const a = (p, m) => x(() => o.props[p], m);
269
268
  r.watchProps(e.value, n, a);
270
- }), b(() => {
269
+ }), y(() => {
271
270
  e.value?.destroy?.();
272
271
  }), s({
273
272
  instance: e,
@@ -282,4 +281,4 @@ const O = /* @__PURE__ */ u({
282
281
  export {
283
282
  O as _
284
283
  };
285
- //# sourceMappingURL=Beyvc-Ee.js.map
284
+ //# sourceMappingURL=-gfCfICt.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"-gfCfICt.js","sources":["../../src/components/BryntumButtonGroup.vue"],"sourcesContent":["<!-- Vue 3 wrapper for Bryntum ButtonGroup -->\n\n<template>\n <div ref=\"refElement\">\n\n </div>\n</template>\n\n<script setup lang=\"ts\">\n\nimport { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';\n\nimport type { AlignSpec, Base, Button, ButtonConfig, ButtonGroupListeners, Container, ContainerItemConfig, ContainerLayoutConfig, DomConfig, KeyMapConfig, MaskConfig, Model, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/calendar';\nimport { ButtonGroup } from '@bryntum/calendar';\n\nimport { WrapperHelper } from '../helper/WrapperHelper';\n\ndefineProps<{\n // Configs\n /**\n * Element (or element id) to adopt as this Widget's encapsulating element. The widget's\n * content will be placed inside this element.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-adopt)\n */\n adopt ? : HTMLElement|string\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-align)\n */\n align ? : AlignSpec|string\n /**\n * 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\n * flexbox layout. This config allows you to set this widget's\n * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.\n */\n alignSelf ? : string\n /**\n * *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).*\n * `true` to show a connector arrow pointing to the align target.\n */\n anchor ? : Boolean\n /**\n * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at\n * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).\n */\n appendTo ? : HTMLElement|string\n /**\n * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject\n * into an element which will be linked using the `aria-describedby` attribute.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-ariaDescription)\n */\n ariaDescription ? : string\n /**\n * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as\n * the `aria-label` attribute.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-ariaLabel)\n */\n ariaLabel ? : string\n /**\n * Update assigned [record](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#config-record) automatically on field changes\n */\n autoUpdateRecord ? : Boolean\n /**\n * Set `true` to add a border to this container's element.\n */\n border ? : Boolean\n /**\n * An object where property names with a truthy value indicate which events should bubble up the ownership\n * hierarchy when triggered.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-bubbleEvents)\n */\n bubbleEvents ? : object\n /**\n * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-callOnFunctions)\n */\n callOnFunctions ? : Boolean\n /**\n * By default, if an event handler throws an exception, the error propagates up the stack and the\n * application state is undefined. Code which follows the event handler will *not* be executed.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-catchEventHandlerExceptions)\n */\n catchEventHandlerExceptions ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * Set to `true` to centre the Widget in browser viewport space.\n */\n centered ? : Boolean\n /**\n * Custom CSS class to add to element.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-cls)\n */\n cls ? : string\n /**\n * Default color to apply to all contained buttons, see [Button#color](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-color).\n * Individual buttons can override the default.\n */\n color ? : string\n /**\n * Programmatic control over which column to start in when used in a grid layout.\n */\n column ? : number\n config ? : object\n /**\n * *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).*\n * Element, Widget or Rectangle to which this Widget is constrained.\n */\n constrainTo ? : HTMLElement|Widget|Rectangle\n /**\n * The HTML content that coexists with sibling elements which may have been added to the\n * [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement) by plugins and features.\n * When specifying html, this widget's element will also have the [htmlCls](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-htmlCls)\n * class added to its classList, to allow targeted styling.\n */\n content ? : string\n /**\n * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).\n * May be specified as a space separated string, or as an object in which property names\n * with truthy values are used as the class names:\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-contentElementCls)\n */\n contentElementCls ? : string|object\n /**\n * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the\n * field on the expanded record to use for populating this widget's store (if applicable)\n */\n dataField ? : string\n /**\n * Object to apply to elements dataset (each key will be used as a data-attribute on the element)\n */\n dataset ? : Record<string, string>\n /**\n * The name of the property to set when a single value is to be applied to this Widget. Such as when used\n * in a grid WidgetColumn, this is the property to which the column's `field` is applied.\n */\n defaultBindProperty ? : string\n /**\n * A [query](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which\n * focus should be directed by default.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-defaultFocus)\n * @param {Core.widget.Widget} widget Widget passed to method\n * @returns {boolean} truthy value if widget is the default one\n */\n defaultFocus ? : ((widget: Widget) => Boolean)|string\n /**\n * A config object containing default settings to apply to all child widgets.\n */\n defaults ? : ContainerItemConfig\n /**\n * Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following\n * checks:\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-detectCSSCompatibilityIssues)\n */\n detectCSSCompatibilityIssues ? : Boolean\n /**\n * 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\n * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-disabled)\n */\n disabled ? : Boolean|'inert'\n /**\n * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel)\n * [strips collection](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,\n * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's\n * body. Such widgets are called \"edge strips\".\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-dock)\n */\n dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´\n * property which controls when a drag should start.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-draggable)\n * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget\n */\n draggable ? : Boolean|object\n /**\n * An object specifying attributes to assign to the root element of this widget.\n * Set `null` value to attribute to remove it.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-elementAttributes)\n */\n elementAttributes ? : Record<string, string|null>\n extraData ? : any\n /**\n * 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\n * flexbox layout. This config allows you to set this widget's\n * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.\n * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.\n * numeric-only values are interpreted as the `flex-grow` value.\n */\n flex ? : number|string\n /**\n * Set to `true` to move the widget out of the document flow and position it\n * absolutely in browser viewport space.\n */\n floating ? : Boolean\n /**\n * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,\n * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some\n * cases this config is convenient.\n */\n height ? : string|number\n /**\n * Configure with true to make widget initially hidden.\n */\n hidden ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-hideAnimation)\n */\n hideAnimation ? : Boolean|object\n /**\n * Specify `true` to make this container hide when it has no visible children (Either empty\n * or all children hidden).\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-hideWhenEmpty)\n */\n hideWhenEmpty ? : Boolean\n /**\n * The HTML to display initially or a function returning the markup (called at widget construction time).\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-html)\n * @param {Core.widget.Widget} widget The calling Widget\n */\n html ? : string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX\n /**\n * The CSS class(es) to add when HTML content is being applied to this widget.\n */\n htmlCls ? : string|object\n /**\n * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById\n */\n id ? : string\n /**\n * Determines if the widgets read-only state should be controlled by its parent.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-ignoreParentReadOnly)\n */\n ignoreParentReadOnly ? : Boolean\n /**\n * Convenience setting to align input fields of child widgets. By default, the Field input element is\n * placed immediately following the `label`. If you prefer to have all input fields aligned to the\n * right, set this config to `'end'`.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-inputFieldAlign)\n */\n inputFieldAlign ? : 'start'|'end'\n /**\n * 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.\n */\n insertBefore ? : HTMLElement|string\n /**\n * 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.\n */\n insertFirst ? : HTMLElement|string\n /**\n * An optional CSS class to add to child items of this container.\n */\n itemCls ? : string\n /**\n * An array of Buttons or typed Button config objects.\n */\n items ? : ButtonConfig[]|Button[]\n /**\n * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name\n * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values\n * are the name of the instance method to call when the keystroke is received.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-keyMap)\n */\n keyMap ? : Record<string, KeyMapConfig>\n /**\n * Convenience setting to use same label placement on all child widgets.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-labelPosition)\n */\n labelPosition ? : 'before'|'above'|'align-before'|'auto'|null\n /**\n * Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-labelWidth)\n */\n labelWidth ? : number|null\n /**\n * The short name of a helper class which manages rendering and styling of child items.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-layout)\n */\n layout ? : string|ContainerLayoutConfig\n /**\n * The CSS style properties to apply to the [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-layoutStyle)\n */\n layoutStyle ? : object\n /**\n * 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\n * instances only when this Container is rendered, rather than eagerly at construct time.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-lazyItems)\n */\n lazyItems ? : Record<string, ContainerItemConfig>|ContainerItemConfig[]|Widget[]\n /**\n * The listener set for this object.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-listeners)\n */\n listeners ? : ButtonGroupListeners\n /**\n * A class translations of which are used for translating this entity.\n * This is often used when translations of an item are defined on its container class.\n * For example:\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-localeClass)\n */\n localeClass ? : typeof Base\n /**\n * Set to `false` to disable localization of this object.\n */\n localizable ? : Boolean\n /**\n * List of properties which values should be translated automatically upon a locale applying.\n * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),\n * you could use 'localeKey' meta configuration.\n * Example:\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-localizableProperties)\n */\n localizableProperties ? : string[]\n /**\n * Widget's margin. This may be configured as a single number or a `TRBL` format string.\n * numeric-only values are interpreted as pixels.\n */\n margin ? : number|string\n /**\n * This config object contains the defaults for the [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) created for the\n * [masked](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these\n * values.\n */\n maskDefaults ? : MaskConfig\n /**\n * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a\n * [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) config object.\n */\n masked ? : Boolean|string|MaskConfig\n /**\n * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.\n */\n maxHeight ? : string|number\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-maximizeOnMobile)\n */\n maximizeOnMobile ? : number|string\n /**\n * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n maxWidth ? : string|number\n /**\n * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.\n */\n minHeight ? : string|number\n /**\n * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n minWidth ? : string|number\n /**\n * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)\n * is used to monitor this element for size changes caused by either style manipulation, or by CSS\n * layout.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-monitorResize)\n * @property {boolean} immediate Set to `true` to receive resize notifications immediately.\n */\n monitorResize ? : Boolean|object\n /**\n * 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)\n * config. For example, a specialized [Menu](https://bryntum.com/products/calendar/docs/api/Core/widget/Menu) subclass may have a `namedItems` default\n * value defined like this:\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-namedItems)\n */\n namedItems ? : Record<string, ContainerItemConfig>\n /**\n * 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\n * not participate in the standard layout of that widget, and must be positioned relatively to that\n * widget's [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-positioned)\n */\n positioned ? : Boolean\n /**\n * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a\n * menu on click etc, since the tooltip would be displayed at the same time.\n */\n preventTooltipOnTouch ? : Boolean\n /**\n * Whether this widget is read-only. This is only valid if the widget is an input\n * field, <strong>or contains input fields at any depth</strong>.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-readOnly)\n */\n readOnly ? : Boolean\n /**\n * [Record](https://bryntum.com/products/calendar/docs/api/Core/data/Model) whose values will be used to populate fields in the container.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-record)\n */\n record ? : Model\n relayStoreEvents ? : Boolean\n /**\n * Predefined style to use for the buttons. Possible values are:\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-rendition)\n */\n rendition ? : 'elevated'|'filled'|'tonal'|'outlined'|'text'|'padded'|'padded-filled'|string\n /**\n * Configure as `true` to have the component display a translucent ripple when its\n * [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\n * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-ripple)\n * @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.\n * @property {string} [color] A CSS color name or specification.\n * @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.\n * @property {string} [clip] A string which describes how to clip the ripple if it is not to be clipped to the default element. Either the property of the widget to use as the clipping element, or a selector to allow clipping to the closest matching ancestor to the target element.\n */\n ripple ? : Boolean|object\n /**\n * The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid\n * accidentally applying a role which may interfere with screen readers.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-role)\n */\n role ? : string\n /**\n * 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`\n */\n rootElement ? : ShadowRoot|HTMLElement\n /**\n * This may be configured as `true` to make the widget's element use the `direction:rtl` style.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-rtl)\n */\n rtl ? : Boolean\n /**\n * Specifies whether (and optionally in which axes) a Widget may scroll. `true` means this widget may scroll\n * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are\n * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to\n * CSS overflow properties thus:\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-scrollable)\n */\n scrollable ? : Boolean|ScrollerConfig|Scroller\n /**\n * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).\n * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.\n */\n scrollAction ? : 'hide'|'realign'|null\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-showAnimation)\n */\n showAnimation ? : Boolean|object\n /**\n * 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)\n */\n showTooltipWhenDisabled ? : Boolean\n /**\n * Programmatic control over how many columns to span when used in a grid layout.\n */\n span ? : number\n /**\n * 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),\n * without falling back to `ref`.\n */\n strictRecordMapping ? : Boolean\n /**\n * 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\n * [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\n * this widget:\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-tab)\n */\n tab ? : Boolean|TabConfig\n /**\n * When this container is used as a tab in a TabPanel, these items are added to the\n * [TabBar](https://bryntum.com/products/calendar/docs/api/Core/widget/TabBar) when this container is the active tab.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-tabBarItems)\n */\n tabBarItems ? : ToolbarItems[]|Widget[]\n /**\n * The tag name of this Widget's root element\n */\n tag ? : string\n /**\n * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-textAlign)\n */\n textAlign ? : 'left'|'center'|'right'|'start'|'end'\n /**\n * Specify `true` for a container used to show text markup. It will apply the CSS class `b-text-content`\n * which specifies a default max-width that makes long text more readable.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-textContent)\n */\n textContent ? : Boolean\n /**\n * A title to display for the widget. Only in effect when inside a container that uses it (such as TabPanel)\n */\n title ? : string\n /**\n * A two-element array containing the minimum and maximum number of toggleable buttons. If a single number is\n * specified, it is converted to an array using that given value as the maximum and 1 is used as the minimum.\n * If `true` is specified, it is equivalent to `[0, Infinity]`, allowing any buttons to be toggled independently\n * or all buttons to be untoggled.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-toggleable)\n */\n toggleable ? : Boolean|number\n /**\n * Set to `true` to turn the ButtonGroup into a toggle group, assigning a generated value to each contained\n * buttons [toggleGroup config](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#config-toggleGroup). Individual buttons can\n * override the default.\n */\n toggleGroup ? : Boolean\n /**\n * Tooltip for the widget, either as a string or as a Tooltip config object.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-tooltip)\n */\n tooltip ? : string|TooltipConfig|null\n type ? : 'buttonGroup'|'buttongroup'\n /**\n * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified\n * as a space separated string, an array of strings, or as an object in which property names with truthy\n * values are used as the class names.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-ui)\n */\n ui ? : string|object\n /**\n * If you use gaps between your buttons, set this to `true` (controls whether to use border-radius for the\n * button elements)\n */\n useGap ? : Boolean\n /**\n * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/calendar/docs/api/Core/widget/Container).\n * Higher weights go further down.\n */\n weight ? : number\n /**\n * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which\n * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases\n * this config is convenient.\n */\n width ? : string|number\n /**\n * The x position for the widget.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-x)\n */\n x ? : number\n /**\n * The y position for the widget.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#config-y)\n */\n y ? : number\n\n}>();\n\nconst emit = defineEmits<{\n /**\n * Fires when the default action is performed on a button in the group (the button is clicked)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Button} params.event.source Clicked button\n * @param {Event} params.event.event DOM event\n */\n (e: 'action', params: ((event: { source: Button, event: Event }) => void)|string): void\n /**\n * Fires before an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.Base} params.event.source The Object that is being destroyed.\n */\n (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Triggered before a widget is hidden. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget being hidden.\n */\n (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void\n /**\n * Fired before this container will load record values into its child fields. This is useful if you\n * want to modify the UI before data is loaded (e.g. set some input field to be readonly)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Container} params.event.source The container\n * @param {Core.data.Model} params.event.record The record\n */\n (e: 'beforeSetRecord', params: ((event: { source: Container, record: Model }) => void)|string): void\n /**\n * Triggered before a widget is shown. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget,any} params.event.source The widget being shown\n */\n (e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void\n /**\n * Fires when any other event is fired from the object.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#event-catchAll)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details\n * @param {string} params.event.event.type The type of the event which is caught by the listener\n */\n (e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void\n /**\n * Fires when a button in the group is clicked\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Button} params.event.source Clicked button\n * @param {Event} params.event.event DOM event\n */\n (e: 'click', params: ((event: { source: Button, event: Event }) => void)|string): void\n /**\n * Fires when an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.Base} params.event.source The Object that is being destroyed.\n */\n (e: 'destroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * 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\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Container} params.event.source The container.\n * @param {boolean} params.event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.\n */\n (e: 'dirtyStateChange', params: ((event: { source: Container, dirty: boolean }) => void)|string): void\n /**\n * Triggered when a widget's [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element) is available.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {HTMLElement} params.event.element The Widget's element.\n */\n (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void\n /**\n * Fired when focus enters this Widget.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {HTMLElement} params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.\n * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.\n * focus moving from within this Widget's ownership tree, even if there are floating widgets\n * will not trigger this event. This is when focus exits this widget completely.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {HTMLElement} params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.\n * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Triggered after a widget was hidden\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget\n */\n (e: 'hide', params: ((event: { source: Widget }) => void)|string): void\n /**\n * Triggered when a widget which had been in a non-visible state for any reason\n * achieves visibility.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#event-paint)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget being painted.\n * @param {boolean} params.event.firstPaint `true` if this is the first paint.\n */\n (e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void\n /**\n * Fired when a Widget's read only state is toggled\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {boolean} params.event.readOnly Read only or not\n */\n (e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void\n /**\n * This event is fired after a widget's elements have been synchronized due to a direct or indirect call\n * 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.\n */\n (e: 'recompose', params: (() => void)|string): void\n /**\n * 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`*.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {number} params.event.width The new width\n * @param {number} params.event.height The new height\n * @param {number} params.event.oldWidth The old width\n * @param {number} params.event.oldHeight The old height\n */\n (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void\n /**\n * Triggered after a widget is shown.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget\n */\n (e: 'show', params: ((event: { source: Widget }) => void)|string): void\n /**\n * Fires when a button in the group is toggled (the [pressed](https://bryntum.com/products/calendar/docs/api/Core/widget/Button#property-pressed) state is changed).\n * If you need to process the pressed button only, consider using [click](https://bryntum.com/products/calendar/docs/api/Core/widget/ButtonGroup#event-click) event or [action](#Core/widget/ButtonGroup#event-action) event.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Button} params.event.source Toggled button\n * @param {boolean} params.event.pressed New pressed state\n * @param {Event} params.event.event DOM event\n */\n (e: 'toggle', params: ((event: { source: Button, pressed: boolean, event: Event }) => void)|string): void\n}>();\n\nconst widgetData = {\n instanceClass : ButtonGroup,\n instanceName : 'ButtonGroup',\n\n configNames : [\n 'adopt',\n 'align',\n 'anchor',\n 'ariaDescription',\n 'ariaLabel',\n 'autoUpdateRecord',\n 'border',\n 'bubbleEvents',\n 'centered',\n 'color',\n 'config',\n 'constrainTo',\n 'contentElementCls',\n 'dataField',\n 'defaultBindProperty',\n 'defaultFocus',\n 'defaults',\n 'detectCSSCompatibilityIssues',\n 'dock',\n 'draggable',\n 'elementAttributes',\n 'floating',\n 'hideAnimation',\n 'hideWhenEmpty',\n 'htmlCls',\n 'ignoreParentReadOnly',\n 'itemCls',\n 'lazyItems',\n 'listeners',\n 'localeClass',\n 'localizable',\n 'localizableProperties',\n 'maskDefaults',\n 'masked',\n 'monitorResize',\n 'namedItems',\n 'positioned',\n 'preventTooltipOnTouch',\n 'relayStoreEvents',\n 'ripple',\n 'role',\n 'rootElement',\n 'scrollAction',\n 'showAnimation',\n 'showTooltipWhenDisabled',\n 'tab',\n 'tabBarItems',\n 'tag',\n 'textAlign',\n 'textContent',\n 'title',\n 'toggleGroup',\n 'type',\n 'ui',\n 'useGap',\n 'weight'\n ],\n propertyConfigNames : [\n 'alignSelf',\n 'appendTo',\n 'callOnFunctions',\n 'catchEventHandlerExceptions',\n 'cls',\n 'column',\n 'content',\n 'dataset',\n 'disabled',\n 'extraData',\n 'flex',\n 'height',\n 'hidden',\n 'html',\n 'id',\n 'inputFieldAlign',\n 'insertBefore',\n 'insertFirst',\n 'items',\n 'keyMap',\n 'labelPosition',\n 'labelWidth',\n 'layout',\n 'layoutStyle',\n 'margin',\n 'maxHeight',\n 'maximizeOnMobile',\n 'maxWidth',\n 'minHeight',\n 'minWidth',\n 'onAction',\n 'onBeforeDestroy',\n 'onBeforeHide',\n 'onBeforeSetRecord',\n 'onBeforeShow',\n 'onCatchAll',\n 'onClick',\n 'onDestroy',\n 'onDirtyStateChange',\n 'onElementCreated',\n 'onFocusIn',\n 'onFocusOut',\n 'onHide',\n 'onPaint',\n 'onReadOnly',\n 'onRecompose',\n 'onResize',\n 'onShow',\n 'onToggle',\n 'readOnly',\n 'record',\n 'rendition',\n 'rtl',\n 'scrollable',\n 'span',\n 'strictRecordMapping',\n 'toggleable',\n 'tooltip',\n 'width',\n 'x',\n 'y'\n ],\n propertyNames : [\n 'parent',\n 'values'\n ],\n eventNames : [\n 'action',\n 'beforeDestroy',\n 'beforeHide',\n 'beforeSetRecord',\n 'beforeShow',\n 'catchAll',\n 'click',\n 'destroy',\n 'dirtyStateChange',\n 'elementCreated',\n 'focusIn',\n 'focusOut',\n 'hide',\n 'paint',\n 'readOnly',\n 'recompose',\n 'resize',\n 'show',\n 'toggle'\n ]\n};\n\nconst instance: {\n value?: ButtonGroup\n} = {};\n\nconst refElement = ref<HTMLDivElement>()!;\n// Storage for teleports (in-cell Vue component instances) automatically renderer by template\nconst teleports = ref(new Map());\n\n// Provide teleports for processCellContent\nprovide('teleports', teleports);\n\nonMounted(() => {\n\n const me = getCurrentInstance()!;\n\n instance.value = WrapperHelper.createWidget<typeof ButtonGroup>({\n me,\n widgetData,\n emit,\n element : refElement.value!,\n toRaw\n });\n\n const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);\n WrapperHelper.watchProps(instance.value, widgetData, watcher);\n});\n\nonBeforeUnmount(() => {\n // @ts-ignore\n instance.value?.destroy?.();\n});\n\ndefineExpose({\n instance,\n refElement,\n teleports\n});\n\n</script>\n"],"names":["emit","__emit","widgetData","ButtonGroup","instance","refElement","ref","teleports","provide","onMounted","me","getCurrentInstance","WrapperHelper","toRaw","watcher","prop","callback","watch","onBeforeUnmount","__expose","_createElementBlock"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkiBA,UAAMA,IAAOC,GAqLPC,IAAa;AAAA,MACf,eAAgBC;AAAA,MAChB,cAAgB;AAAA,MAEhB,aAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,qBAAsB;AAAA,QAClB;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,eAAgB;AAAA,QACZ;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,YAAa;AAAA,QACT;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,IACJ,GAGEC,IAEF,CAAA,GAEEC,IAAaC,EAAA,GAEbC,IAAYD,EAAI,oBAAI,KAAK;AAG/B,WAAAE,EAAQ,aAAaD,CAAS,GAE9BE,EAAU,MAAM;AAEZ,YAAMC,IAAKC,EAAA;AAEX,MAAAP,EAAS,QAAQQ,EAAc,aAAiC;AAAA,QAC5D,IAAAF;AAAA,QACA,YAAAR;AAAA,QACA,MAAAF;AAAA,QACA,SAAUK,EAAW;AAAA,QACrB,OAAAQ;AAAA,MAAA,CACH;AAED,YAAMC,IAAU,CAACC,GAAcC,MAAkBC,EAAM,MAAMP,EAAG,MAAMK,CAAI,GAAGC,CAAQ;AACrF,MAAAJ,EAAc,WAAWR,EAAS,OAAOF,GAAYY,CAAO;AAAA,IAChE,CAAC,GAEDI,EAAgB,MAAM;AAElB,MAAAd,EAAS,OAAO,UAAA;AAAA,IACpB,CAAC,GAEDe,EAAa;AAAA,MACT,UAAAf;AAAA,MACA,YAAAC;AAAA,MACA,WAAAE;AAAA,IAAA,CACH,mBAh5BGa,EAEM,OAAA;AAAA,eAFG;AAAA,MAAJ,KAAIf;AAAA,IAAA;;;"}
@@ -1,5 +1,5 @@
1
- import { defineComponent as h, ref as l, provide as g, onMounted as u, getCurrentInstance as b, toRaw as f, onBeforeUnmount as y, openBlock as w, createElementBlock as C, watch as S } from "vue";
2
- import { DateTimeField as x } from "@bryntum/calendar";
1
+ import { defineComponent as h, ref as l, provide as g, onMounted as u, getCurrentInstance as b, toRaw as f, onBeforeUnmount as y, openBlock as w, createElementBlock as C, watch as x } from "vue";
2
+ import { DateTimeField as S } from "@bryntum/calendar";
3
3
  import { WrapperHelper as r } from "../helper/WrapperHelper.js";
4
4
  const F = /* @__PURE__ */ h({
5
5
  __name: "BryntumDateTimeField",
@@ -81,6 +81,7 @@ const F = /* @__PURE__ */ h({
81
81
  required: {},
82
82
  revertOnEscape: {},
83
83
  ripple: {},
84
+ role: {},
84
85
  rootElement: {},
85
86
  rtl: {},
86
87
  scrollAction: {},
@@ -107,7 +108,7 @@ const F = /* @__PURE__ */ h({
107
108
  emits: ["action", "beforeDestroy", "beforeHide", "beforeShow", "catchAll", "change", "clear", "destroy", "elementCreated", "focusIn", "focusOut", "hide", "input", "paint", "readOnly", "recompose", "resize", "show", "trigger"],
108
109
  setup(D, { expose: s, emit: c }) {
109
110
  const d = c, i = {
110
- instanceClass: x,
111
+ instanceClass: S,
111
112
  instanceName: "DateTimeField",
112
113
  configNames: [
113
114
  "adopt",
@@ -158,6 +159,7 @@ const F = /* @__PURE__ */ h({
158
159
  "relayStoreEvents",
159
160
  "revertOnEscape",
160
161
  "ripple",
162
+ "role",
161
163
  "rootElement",
162
164
  "scrollAction",
163
165
  "showAnimation",
@@ -232,9 +234,7 @@ const F = /* @__PURE__ */ h({
232
234
  "y"
233
235
  ],
234
236
  propertyNames: [
235
- "anchorSize",
236
237
  "content",
237
- "focusVisible",
238
238
  "html",
239
239
  "input",
240
240
  "parent",
@@ -271,7 +271,7 @@ const F = /* @__PURE__ */ h({
271
271
  element: t.value,
272
272
  toRaw: f
273
273
  });
274
- const a = (p, m) => S(() => n.props[p], m);
274
+ const a = (p, m) => x(() => n.props[p], m);
275
275
  r.watchProps(e.value, i, a);
276
276
  }), y(() => {
277
277
  e.value?.destroy?.();
@@ -288,4 +288,4 @@ const F = /* @__PURE__ */ h({
288
288
  export {
289
289
  F as _
290
290
  };
291
- //# sourceMappingURL=c2O0FAWQ.js.map
291
+ //# sourceMappingURL=3pMrXrSV.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"3pMrXrSV.js","sources":["../../src/components/BryntumDateTimeField.vue"],"sourcesContent":["<!-- Vue 3 wrapper for Bryntum DateTimeField -->\n\n<template>\n <div ref=\"refElement\">\n\n </div>\n</template>\n\n<script setup lang=\"ts\">\n\nimport { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';\n\nimport type { AlignSpec, Base, Color, ContainerItemConfig, DateFieldConfig, DateTimeFieldListeners, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, Rectangle, TabConfig, TimeFieldConfig, TooltipConfig, Widget } from '@bryntum/calendar';\nimport { DateTimeField } from '@bryntum/calendar';\n\nimport { WrapperHelper } from '../helper/WrapperHelper';\n\ndefineProps<{\n // Configs\n /**\n * Element (or element id) to adopt as this Widget's encapsulating element. The widget's\n * content will be placed inside this element.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-adopt)\n */\n adopt ? : HTMLElement|string\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-align)\n */\n align ? : AlignSpec|string\n /**\n * 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\n * flexbox layout. This config allows you to set this widget's\n * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.\n */\n alignSelf ? : string\n /**\n * *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).*\n * `true` to show a connector arrow pointing to the align target.\n */\n anchor ? : Boolean\n /**\n * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at\n * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).\n */\n appendTo ? : HTMLElement|string\n /**\n * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject\n * into an element which will be linked using the `aria-describedby` attribute.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-ariaDescription)\n */\n ariaDescription ? : string\n /**\n * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as\n * the `aria-label` attribute.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-ariaLabel)\n */\n ariaLabel ? : string\n /**\n * Specify `true` to auto select field contents on focus\n */\n autoSelect ? : Boolean\n /**\n * Initial text to show in badge.\n */\n badge ? : string\n /**\n * An object where property names with a truthy value indicate which events should bubble up the ownership\n * hierarchy when triggered.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-bubbleEvents)\n */\n bubbleEvents ? : object\n /**\n * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-callOnFunctions)\n */\n callOnFunctions ? : Boolean\n /**\n * By default, if an event handler throws an exception, the error propagates up the stack and the\n * application state is undefined. Code which follows the event handler will *not* be executed.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-catchEventHandlerExceptions)\n */\n catchEventHandlerExceptions ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * Set to `true` to centre the Widget in browser viewport space.\n */\n centered ? : Boolean\n /**\n * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly). The trigger is available\n * in the [triggers](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which\n * configures the `clear` [trigger](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-triggers).\n */\n clearable ? : Boolean|FieldTriggerConfig\n /**\n * Custom CSS classes to add to element.\n * May be specified as a space separated string, or as an object in which property names\n * with truthy values are used as the class names:\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-cls)\n */\n cls ? : string|object\n /**\n * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets\n * `style` block.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-color)\n */\n color ? : Color\n /**\n * Programmatic control over which column to start in when used in a grid layout.\n */\n column ? : number\n config ? : object\n /**\n * *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).*\n * Element, Widget or Rectangle to which this Widget is constrained.\n */\n constrainTo ? : HTMLElement|Widget|Rectangle\n /**\n * The configuration for additional items associated to this field. This is typically used to add contextual\n * fields related to a [checkbox](https://bryntum.com/products/calendar/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See\n * these classes for examples of nested fields.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-container)\n */\n container ? : Record<string, ContainerItemConfig>|ContainerItemConfig[]|FieldContainerConfig\n /**\n * The config controls how the value of nested items are handled when a parent container gets or sets its\n * [values](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#property-values).\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-containValues)\n * @param {Core.widget.Field} field Field instance\n * @returns {boolean}\n */\n containValues ? : Boolean|string|((field: Field) => Boolean)\n /**\n * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).\n * May be specified as a space separated string, or as an object in which property names\n * with truthy values are used as the class names:\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-contentElementCls)\n */\n contentElementCls ? : string|object\n /**\n * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the\n * field on the expanded record to use for populating this widget's store (if applicable)\n */\n dataField ? : string\n /**\n * Object to apply to elements dataset (each key will be used as a data-attribute on the element)\n */\n dataset ? : Record<string, string>\n /**\n * Configuration for the [DateField](https://bryntum.com/products/calendar/docs/api/Core/widget/DateField)\n */\n dateField ? : DateFieldConfig\n /**\n * The name of the property to set when a single value is to be applied to this Widget. Such as when used\n * in a grid WidgetColumn, this is the property to which the column's `field` is applied.\n */\n defaultBindProperty ? : string\n /**\n * Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following\n * checks:\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-detectCSSCompatibilityIssues)\n */\n detectCSSCompatibilityIssues ? : Boolean\n /**\n * 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\n * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-disabled)\n */\n disabled ? : Boolean|'inert'\n /**\n * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel)\n * [strips collection](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,\n * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's\n * body. Such widgets are called \"edge strips\".\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-dock)\n */\n dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´\n * property which controls when a drag should start.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-draggable)\n * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget\n */\n draggable ? : Boolean|object\n /**\n * Set to `false` to prevent user from editing the field. For TextFields it is basically the same as setting\n * [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly), but for PickerFields there is a distinction where it allows you to pick a value\n * but not to type one in the field.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-editable)\n */\n editable ? : Boolean\n /**\n * An object specifying attributes to assign to the root element of this widget.\n * Set `null` value to attribute to remove it.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-elementAttributes)\n */\n elementAttributes ? : Record<string, string|null>\n extraData ? : any\n /**\n * 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\n * flexbox layout. This config allows you to set this widget's\n * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.\n * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.\n * numeric-only values are interpreted as the `flex-grow` value.\n */\n flex ? : number|string\n /**\n * Set to `true` to move the widget out of the document flow and position it\n * absolutely in browser viewport space.\n */\n floating ? : Boolean\n /**\n * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,\n * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some\n * cases this config is convenient.\n */\n height ? : string|number\n /**\n * Configure with true to make widget initially hidden.\n */\n hidden ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-hideAnimation)\n */\n hideAnimation ? : Boolean|object\n /**\n * Specify `true` to highlight field after external value changes\n */\n highlightExternalChange ? : Boolean\n /**\n * An optional string to display inside the input field as an overlay. This can be useful for displaying\n * a field's units.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-hint)\n * @param {object} data A data object\n * @param {Core.widget.Field} data.source A reference to the field instance\n * @param {any} data.value The current value of the field\n * @returns {string}\n */\n hint ? : string|((data: { source: Field, value: any }) => string)\n /**\n * This config is similar to [hint](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-hint) except that this config is used to display HTML content.\n * Since this can allow malicious content to be executed, be sure not to include user-entered data or to\n * encode such data (see [encodeHtml](https://bryntum.com/products/calendar/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-hintHtml)\n * @param {object} data A data object\n * @param {Core.widget.Field} data.source A reference to the field instance\n * @param {any} data.value The current value of the field\n * @returns {string}\n */\n hintHtml ? : string|((data: { source: Field, value: any }) => string)\n /**\n * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById\n */\n id ? : string\n /**\n * Determines if the widgets read-only state should be controlled by its parent.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-ignoreParentReadOnly)\n */\n ignoreParentReadOnly ? : Boolean\n /**\n * Set this config to `true` to always display items horizontally along with this field. This assigns an\n * [hbox](https://bryntum.com/products/calendar/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the\n * [container](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-container).\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-inline)\n */\n inline ? : Boolean\n /**\n * If you need to use something else than a default `input` element, as the input element, provide the tag\n * name here. Please note that this is used for advanced usage only, for example when using WebComponents\n * (custom elements), and that the configured element must fulfil the same contract as a regular input\n * element.\n */\n inputTag ? : string\n /**\n * 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.\n */\n insertBefore ? : HTMLElement|string\n /**\n * 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.\n */\n insertFirst ? : HTMLElement|string\n /**\n * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name\n * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values\n * are the name of the instance method to call when the keystroke is received.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-keyMap)\n */\n keyMap ? : Record<string, KeyMapConfig>\n /**\n * The delay in milliseconds to wait after the last keystroke before triggering a change event.\n * Set to 0 to not trigger change events from keystrokes (listen for input event instead to have\n * immediate feedback, change will still be triggered on blur).\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-keyStrokeChangeDelay)\n */\n keyStrokeChangeDelay ? : number\n /**\n * Label, prepended to field\n */\n label ? : string\n /**\n * CSS class name or class names to add to any configured [label](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Labelable#config-label)\n */\n labelCls ? : string|object\n /**\n * Label position, either 'before' the field or 'above' the field\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-labelPosition)\n */\n labelPosition ? : 'before'|'above'|null\n /**\n * The labels to add either before or after the input field.\n * Each label may have the following properties:\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-labels)\n * @property {string} html Label text\n * @property {'start','end'} align Which end of the file the label should go\n */\n labels ? : object[]\n /**\n * The width to apply to the `&lt;label&gt;` element. If a number is specified, `px` will be used.\n */\n labelWidth ? : string|number\n /**\n * The listener set for this object.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-listeners)\n */\n listeners ? : DateTimeFieldListeners\n /**\n * A class translations of which are used for translating this entity.\n * This is often used when translations of an item are defined on its container class.\n * For example:\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-localeClass)\n */\n localeClass ? : typeof Base\n /**\n * Set to `false` to disable localization of this object.\n */\n localizable ? : Boolean\n /**\n * List of properties which values should be translated automatically upon a locale applying.\n * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),\n * you could use 'localeKey' meta configuration.\n * Example:\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-localizableProperties)\n */\n localizableProperties ? : string[]\n /**\n * Widget's margin. This may be configured as a single number or a `TRBL` format string.\n * numeric-only values are interpreted as pixels.\n */\n margin ? : number|string\n /**\n * This config object contains the defaults for the [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) created for the\n * [masked](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these\n * values.\n */\n maskDefaults ? : MaskConfig\n /**\n * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a\n * [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) config object.\n */\n masked ? : Boolean|string|MaskConfig\n /**\n * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.\n */\n maxHeight ? : string|number\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-maximizeOnMobile)\n */\n maximizeOnMobile ? : number|string\n /**\n * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n maxWidth ? : string|number\n /**\n * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.\n */\n minHeight ? : string|number\n /**\n * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n minWidth ? : string|number\n /**\n * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)\n * is used to monitor this element for size changes caused by either style manipulation, or by CSS\n * layout.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-monitorResize)\n * @property {boolean} immediate Set to `true` to receive resize notifications immediately.\n */\n monitorResize ? : Boolean|object\n /**\n * Name of the field which is used as a key to get/set values from/to the field.\n * Used prior to [ref](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in\n * [Container.values](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#property-values).\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-name)\n */\n name ? : string\n /**\n * Text to display in empty field.\n */\n placeholder ? : string\n /**\n * 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\n * not participate in the standard layout of that widget, and must be positioned relatively to that\n * widget's [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-positioned)\n */\n positioned ? : Boolean\n /**\n * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a\n * menu on click etc, since the tooltip would be displayed at the same time.\n */\n preventTooltipOnTouch ? : Boolean\n /**\n * Makes the field unmodifiable by user action. The input area is not editable, and triggers\n * are unresponsive.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-readOnly)\n */\n readOnly ? : Boolean\n relayStoreEvents ? : Boolean\n /**\n * Predefined style to use for the field. Possible values are:\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-rendition)\n */\n rendition ? : 'outlined'|'filled'|string\n /**\n * Configure as `true` to indicate that a `null` field value is to be marked as invalid. This will\n * optionally append a * to the field label if [showRequiredIndicator](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-showRequiredIndicator) is set.\n */\n required ? : Boolean\n /**\n * If this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing\n * the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when\n * the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-clearable)\n * behaviour will be activated.\n */\n revertOnEscape ? : Boolean\n /**\n * Configure as `true` to have the component display a translucent ripple when its\n * [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\n * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-ripple)\n * @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.\n * @property {string} [color] A CSS color name or specification.\n * @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.\n * @property {string} [clip] A string which describes how to clip the ripple if it is not to be clipped to the default element. Either the property of the widget to use as the clipping element, or a selector to allow clipping to the closest matching ancestor to the target element.\n */\n ripple ? : Boolean|object\n /**\n * The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid\n * accidentally applying a role which may interfere with screen readers.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-role)\n */\n role ? : string\n /**\n * 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`\n */\n rootElement ? : ShadowRoot|HTMLElement\n /**\n * This may be configured as `true` to make the widget's element use the `direction:rtl` style.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-rtl)\n */\n rtl ? : Boolean\n /**\n * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).\n * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.\n */\n scrollAction ? : 'hide'|'realign'|null\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-showAnimation)\n */\n showAnimation ? : Boolean|object\n /**\n * `true` to automatically display a * after the label for this field when it is [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-required).\n */\n showRequiredIndicator ? : string\n /**\n * 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)\n */\n showTooltipWhenDisabled ? : Boolean\n /**\n * Set to `true`, completely bypasses validation logic (could be userful if your field is not `editable`\n * to the user).\n */\n skipValidation ? : Boolean\n /**\n * Programmatic control over how many columns to span when used in a grid layout.\n */\n span ? : number\n /**\n * 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\n * [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\n * this widget:\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-tab)\n */\n tab ? : Boolean|TabConfig\n /**\n * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-textAlign)\n */\n textAlign ? : 'left'|'center'|'right'|'start'|'end'\n /**\n * Configuration for the [TimeField](https://bryntum.com/products/calendar/docs/api/Core/widget/TimeField)\n */\n timeField ? : TimeFieldConfig\n /**\n * A title to display for the widget. Only in effect when inside a container that uses it (such as TabPanel)\n */\n title ? : string\n /**\n * Tooltip for the widget, either as a string or as a Tooltip config object.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-tooltip)\n */\n tooltip ? : string|TooltipConfig|null\n /**\n * The triggers to add either before or after the input field. Each property name is the reference by which\n * an instantiated Trigger Widget may be retrieved from the live `triggers` property.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-triggers)\n */\n triggers ? : Record<string, FieldTriggerConfig>\n type ? : 'datetimefield'|'datetime'\n /**\n * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified\n * as a space separated string, an array of strings, or as an object in which property names with truthy\n * values are used as the class names.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-ui)\n */\n ui ? : string|object\n /**\n * Default value\n */\n value ? : string\n /**\n * The week start day in the [picker](https://bryntum.com/products/calendar/docs/api/Core/widget/DateField#config-picker), 0 meaning Sunday, 6 meaning Saturday.\n * Uses a localized value by default.\n */\n weekStartDay ? : number\n /**\n * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/calendar/docs/api/Core/widget/Container).\n * Higher weights go further down.\n */\n weight ? : number\n /**\n * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which\n * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases\n * this config is convenient.\n */\n width ? : string|number\n /**\n * The x position for the widget.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-x)\n */\n x ? : number\n /**\n * The y position for the widget.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#config-y)\n */\n y ? : number\n\n}>();\n\nconst emit = defineEmits<{\n /**\n * User performed default action (typed into this field).\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Field,any} params.event.source This Field\n * @param {string,number,boolean,any} params.event.value This field's value\n * @param {string,number,boolean,any} params.event.oldValue This field's previous value\n * @param {boolean} params.event.valid True if this field is in a valid state\n * @param {Event} params.event.event The triggering DOM event if any\n * @param {Core.data.Model} params.event.record Selected record. Available for fields with records selection functionality\n * @param {Core.data.Model[]} params.event.records Selected records as an array. Available for fields with records selection functionality\n * @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)\n * @param {boolean} params.event.checked\n */\n (e: 'action', params: ((event: { source: Field|any, value: string|number|boolean|any, oldValue: string|number|boolean|any, valid: boolean, event: Event, record: Model, records: Model[], userAction: boolean, checked: boolean }) => void)|string): void\n /**\n * Fires before an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.Base} params.event.source The Object that is being destroyed.\n */\n (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Triggered before a widget is hidden. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget being hidden.\n */\n (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void\n /**\n * Triggered before a widget is shown. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget,any} params.event.source The widget being shown\n */\n (e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void\n /**\n * Fires when any other event is fired from the object.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#event-catchAll)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details\n * @param {string} params.event.event.type The type of the event which is caught by the listener\n */\n (e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void\n /**\n * Fired when this field's value changes.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Field,any} params.event.source This Field\n * @param {string,number,boolean,any} params.event.value This field's value\n * @param {string,number,boolean,any} params.event.oldValue This field's previous value\n * @param {boolean} params.event.valid True if this field is in a valid state\n * @param {Event} params.event.event The triggering DOM event if any\n * @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)\n * @param {boolean} params.event.checked\n */\n (e: 'change', params: ((event: { source: Field|any, value: string|number|boolean|any, oldValue: string|number|boolean|any, valid: boolean, event: Event, userAction: boolean, checked: boolean }) => void)|string): void\n /**\n * Fired when this field is [cleared](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#function-clear).\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#event-clear)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Field,any} params.event.source This Field\n */\n (e: 'clear', params: ((event: { source: Field|any }) => void)|string): void\n /**\n * Fires when an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.Base} params.event.source The Object that is being destroyed.\n */\n (e: 'destroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Triggered when a widget's [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element) is available.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {HTMLElement} params.event.element The Widget's element.\n */\n (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void\n /**\n * Fired when focus enters this Widget.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {HTMLElement} params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.\n * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.\n * focus moving from within this Widget's ownership tree, even if there are floating widgets\n * will not trigger this event. This is when focus exits this widget completely.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {HTMLElement} params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.\n * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Triggered after a widget was hidden\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget\n */\n (e: 'hide', params: ((event: { source: Widget }) => void)|string): void\n /**\n * Fired when the user types into this field.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Field,any} params.event.source This field\n * @param {string,number,boolean,any} params.event.value This field's value\n * @param {Event} params.event.event The triggering DOM event\n */\n (e: 'input', params: ((event: { source: Field|any, value: string|number|boolean|any, event: Event }) => void)|string): void\n /**\n * Triggered when a widget which had been in a non-visible state for any reason\n * achieves visibility.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/DateTimeField#event-paint)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget being painted.\n * @param {boolean} params.event.firstPaint `true` if this is the first paint.\n */\n (e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void\n /**\n * Fired when a Widget's read only state is toggled\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {boolean} params.event.readOnly Read only or not\n */\n (e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void\n /**\n * This event is fired after a widget's elements have been synchronized due to a direct or indirect call\n * 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.\n */\n (e: 'recompose', params: (() => void)|string): void\n /**\n * 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`*.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {number} params.event.width The new width\n * @param {number} params.event.height The new height\n * @param {number} params.event.oldWidth The old width\n * @param {number} params.event.oldHeight The old height\n */\n (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void\n /**\n * Triggered after a widget is shown.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget\n */\n (e: 'show', params: ((event: { source: Widget }) => void)|string): void\n /**\n * User clicked one of this field's [triggers](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-triggers)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Field,any} params.event.source This field\n * @param {Core.widget.Widget} params.event.trigger The trigger activated by click or touch tap.\n */\n (e: 'trigger', params: ((event: { source: Field|any, trigger: Widget }) => void)|string): void\n}>();\n\nconst widgetData = {\n instanceClass : DateTimeField,\n instanceName : 'DateTimeField',\n\n configNames : [\n 'adopt',\n 'align',\n 'anchor',\n 'ariaDescription',\n 'ariaLabel',\n 'autoSelect',\n 'bubbleEvents',\n 'centered',\n 'clearable',\n 'color',\n 'config',\n 'constrainTo',\n 'container',\n 'containValues',\n 'contentElementCls',\n 'dataField',\n 'dateField',\n 'defaultBindProperty',\n 'detectCSSCompatibilityIssues',\n 'dock',\n 'draggable',\n 'elementAttributes',\n 'floating',\n 'hideAnimation',\n 'highlightExternalChange',\n 'hint',\n 'hintHtml',\n 'ignoreParentReadOnly',\n 'inline',\n 'inputTag',\n 'keyStrokeChangeDelay',\n 'labelCls',\n 'labelPosition',\n 'labels',\n 'labelWidth',\n 'listeners',\n 'localeClass',\n 'localizable',\n 'localizableProperties',\n 'maskDefaults',\n 'masked',\n 'monitorResize',\n 'name',\n 'positioned',\n 'preventTooltipOnTouch',\n 'relayStoreEvents',\n 'revertOnEscape',\n 'ripple',\n 'role',\n 'rootElement',\n 'scrollAction',\n 'showAnimation',\n 'showTooltipWhenDisabled',\n 'skipValidation',\n 'tab',\n 'textAlign',\n 'timeField',\n 'title',\n 'type',\n 'ui',\n 'weekStartDay',\n 'weight'\n ],\n propertyConfigNames : [\n 'alignSelf',\n 'appendTo',\n 'badge',\n 'callOnFunctions',\n 'catchEventHandlerExceptions',\n 'cls',\n 'column',\n 'dataset',\n 'disabled',\n 'editable',\n 'extraData',\n 'flex',\n 'height',\n 'hidden',\n 'id',\n 'insertBefore',\n 'insertFirst',\n 'keyMap',\n 'label',\n 'margin',\n 'maxHeight',\n 'maximizeOnMobile',\n 'maxWidth',\n 'minHeight',\n 'minWidth',\n 'onAction',\n 'onBeforeDestroy',\n 'onBeforeHide',\n 'onBeforeShow',\n 'onCatchAll',\n 'onChange',\n 'onClear',\n 'onDestroy',\n 'onElementCreated',\n 'onFocusIn',\n 'onFocusOut',\n 'onHide',\n 'onInput',\n 'onPaint',\n 'onReadOnly',\n 'onRecompose',\n 'onResize',\n 'onShow',\n 'onTrigger',\n 'placeholder',\n 'readOnly',\n 'rendition',\n 'required',\n 'rtl',\n 'showRequiredIndicator',\n 'span',\n 'tooltip',\n 'triggers',\n 'value',\n 'width',\n 'x',\n 'y'\n ],\n propertyNames : [\n 'content',\n 'html',\n 'input',\n 'parent',\n 'scrollable'\n ],\n eventNames : [\n 'action',\n 'beforeDestroy',\n 'beforeHide',\n 'beforeShow',\n 'catchAll',\n 'change',\n 'clear',\n 'destroy',\n 'elementCreated',\n 'focusIn',\n 'focusOut',\n 'hide',\n 'input',\n 'paint',\n 'readOnly',\n 'recompose',\n 'resize',\n 'show',\n 'trigger'\n ]\n};\n\nconst instance: {\n value?: DateTimeField\n} = {};\n\nconst refElement = ref<HTMLDivElement>()!;\n// Storage for teleports (in-cell Vue component instances) automatically renderer by template\nconst teleports = ref(new Map());\n\n// Provide teleports for processCellContent\nprovide('teleports', teleports);\n\nonMounted(() => {\n\n const me = getCurrentInstance()!;\n\n instance.value = WrapperHelper.createWidget<typeof DateTimeField>({\n me,\n widgetData,\n emit,\n element : refElement.value!,\n toRaw\n });\n\n const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);\n WrapperHelper.watchProps(instance.value, widgetData, watcher);\n});\n\nonBeforeUnmount(() => {\n // @ts-ignore\n instance.value?.destroy?.();\n});\n\ndefineExpose({\n instance,\n refElement,\n teleports\n});\n\n</script>\n"],"names":["emit","__emit","widgetData","DateTimeField","instance","refElement","ref","teleports","provide","onMounted","me","getCurrentInstance","WrapperHelper","toRaw","watcher","prop","callback","watch","onBeforeUnmount","__expose","_createElementBlock"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAujBA,UAAMA,IAAOC,GA+LPC,IAAa;AAAA,MACf,eAAgBC;AAAA,MAChB,cAAgB;AAAA,MAEhB,aAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,qBAAsB;AAAA,QAClB;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,eAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,YAAa;AAAA,QACT;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,IACJ,GAGEC,IAEF,CAAA,GAEEC,IAAaC,EAAA,GAEbC,IAAYD,EAAI,oBAAI,KAAK;AAG/B,WAAAE,EAAQ,aAAaD,CAAS,GAE9BE,EAAU,MAAM;AAEZ,YAAMC,IAAKC,EAAA;AAEX,MAAAP,EAAS,QAAQQ,EAAc,aAAmC;AAAA,QAC9D,IAAAF;AAAA,QACA,YAAAR;AAAA,QACA,MAAAF;AAAA,QACA,SAAUK,EAAW;AAAA,QACrB,OAAAQ;AAAA,MAAA,CACH;AAED,YAAMC,IAAU,CAACC,GAAcC,MAAkBC,EAAM,MAAMP,EAAG,MAAMK,CAAI,GAAGC,CAAQ;AACrF,MAAAJ,EAAc,WAAWR,EAAS,OAAOF,GAAYY,CAAO;AAAA,IAChE,CAAC,GAEDI,EAAgB,MAAM;AAElB,MAAAd,EAAS,OAAO,UAAA;AAAA,IACpB,CAAC,GAEDe,EAAa;AAAA,MACT,UAAAf;AAAA,MACA,YAAAC;AAAA,MACA,WAAAE;AAAA,IAAA,CACH,mBAp7BGa,EAEM,OAAA;AAAA,eAFG;AAAA,MAAJ,KAAIf;AAAA,IAAA;;;"}
@@ -1,7 +1,7 @@
1
- import { defineComponent as m, ref as l, provide as u, onMounted as g, getCurrentInstance as b, toRaw as f, onBeforeUnmount as y, openBlock as C, createElementBlock as x, watch as E } from "vue";
1
+ import { defineComponent as h, ref as l, provide as u, onMounted as g, getCurrentInstance as b, toRaw as f, onBeforeUnmount as y, openBlock as C, createElementBlock as x, watch as E } from "vue";
2
2
  import { EventColorField as v } from "@bryntum/calendar";
3
3
  import { WrapperHelper as r } from "../helper/WrapperHelper.js";
4
- const S = /* @__PURE__ */ m({
4
+ const S = /* @__PURE__ */ h({
5
5
  __name: "BryntumEventColorField",
6
6
  props: {
7
7
  addNoColorItem: {},
@@ -89,6 +89,7 @@ const S = /* @__PURE__ */ m({
89
89
  required: {},
90
90
  revertOnEscape: {},
91
91
  ripple: {},
92
+ role: {},
92
93
  rootElement: {},
93
94
  rtl: {},
94
95
  scrollAction: {},
@@ -174,6 +175,7 @@ const S = /* @__PURE__ */ m({
174
175
  "relayStoreEvents",
175
176
  "revertOnEscape",
176
177
  "ripple",
178
+ "role",
177
179
  "rootElement",
178
180
  "scrollAction",
179
181
  "showAnimation",
@@ -250,10 +252,8 @@ const S = /* @__PURE__ */ m({
250
252
  "y"
251
253
  ],
252
254
  propertyNames: [
253
- "anchorSize",
254
255
  "content",
255
256
  "editable",
256
- "focusVisible",
257
257
  "formula",
258
258
  "html",
259
259
  "input",
@@ -291,7 +291,7 @@ const S = /* @__PURE__ */ m({
291
291
  element: t.value,
292
292
  toRaw: f
293
293
  });
294
- const a = (p, h) => E(() => n.props[p], h);
294
+ const a = (p, m) => E(() => n.props[p], m);
295
295
  r.watchProps(e.value, i, a);
296
296
  }), y(() => {
297
297
  e.value?.destroy?.();
@@ -308,4 +308,4 @@ const S = /* @__PURE__ */ m({
308
308
  export {
309
309
  S as _
310
310
  };
311
- //# sourceMappingURL=-I8DJxf_.js.map
311
+ //# sourceMappingURL=7r3BIYih.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"7r3BIYih.js","sources":["../../src/components/BryntumEventColorField.vue"],"sourcesContent":["<!-- Vue 3 wrapper for Bryntum EventColorField -->\n\n<template>\n <div ref=\"refElement\">\n\n </div>\n</template>\n\n<script setup lang=\"ts\">\n\nimport { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';\n\nimport type { AlignSpec, Base, ColorDescriptor, ContainerItemConfig, EventColorFieldListeners, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, Rectangle, TabConfig, TooltipConfig, Widget } from '@bryntum/calendar';\nimport { EventColorField } from '@bryntum/calendar';\n\nimport { WrapperHelper } from '../helper/WrapperHelper';\n\ndefineProps<{\n // Configs\n /**\n * Adds an option in the picker to set no background color\n */\n addNoColorItem ? : Boolean\n /**\n * Element (or element id) to adopt as this Widget's encapsulating element. The widget's\n * content will be placed inside this element.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-adopt)\n */\n adopt ? : HTMLElement|string\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-align)\n */\n align ? : AlignSpec|string\n /**\n * 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\n * flexbox layout. This config allows you to set this widget's\n * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.\n */\n alignSelf ? : string\n /**\n * *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).*\n * `true` to show a connector arrow pointing to the align target.\n */\n anchor ? : Boolean\n /**\n * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at\n * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).\n */\n appendTo ? : HTMLElement|string\n /**\n * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject\n * into an element which will be linked using the `aria-describedby` attribute.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-ariaDescription)\n */\n ariaDescription ? : string\n /**\n * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as\n * the `aria-label` attribute.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-ariaLabel)\n */\n ariaLabel ? : string\n /**\n * Sets the native `autocomplete` property of the underlying input element. For more information, please refer to\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)\n */\n autoComplete ? : string\n /**\n * Configure as `true` to have the picker expand upon focus enter.\n */\n autoExpand ? : Boolean\n /**\n * Specify `true` to auto select field contents on focus\n */\n autoSelect ? : Boolean\n /**\n * Initial text to show in badge.\n */\n badge ? : string\n /**\n * An object where property names with a truthy value indicate which events should bubble up the ownership\n * hierarchy when triggered.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-bubbleEvents)\n */\n bubbleEvents ? : object\n /**\n * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-callOnFunctions)\n */\n callOnFunctions ? : Boolean\n /**\n * By default, if an event handler throws an exception, the error propagates up the stack and the\n * application state is undefined. Code which follows the event handler will *not* be executed.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-catchEventHandlerExceptions)\n */\n catchEventHandlerExceptions ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * Set to `true` to centre the Widget in browser viewport space.\n */\n centered ? : Boolean\n /**\n * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly). The trigger is available\n * in the [triggers](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which\n * configures the `clear` [trigger](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-triggers).\n */\n clearable ? : Boolean|FieldTriggerConfig\n /**\n * Custom CSS classes to add to element.\n * May be specified as a space separated string, or as an object in which property names\n * with truthy values are used as the class names:\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-cls)\n */\n cls ? : string|object\n /**\n * The `colors` property can be an array of string CSS colors or of objects with `color`\n * and `text` properties from which the user can chose from. This will override the\n * [pickers default colors](https://bryntum.com/products/calendar/docs/api/Core/widget/ColorPicker#config-colors).\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-colors)\n */\n colors ? : (string|ColorDescriptor)[]\n /**\n * Programmatic control over which column to start in when used in a grid layout.\n */\n column ? : number\n config ? : object\n /**\n * *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).*\n * Element, Widget or Rectangle to which this Widget is constrained.\n */\n constrainTo ? : HTMLElement|Widget|Rectangle\n /**\n * The configuration for additional items associated to this field. This is typically used to add contextual\n * fields related to a [checkbox](https://bryntum.com/products/calendar/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See\n * these classes for examples of nested fields.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-container)\n */\n container ? : Record<string, ContainerItemConfig>|ContainerItemConfig[]|FieldContainerConfig\n /**\n * The config controls how the value of nested items are handled when a parent container gets or sets its\n * [values](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#property-values).\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-containValues)\n * @param {Core.widget.Field} field Field instance\n * @returns {boolean}\n */\n containValues ? : Boolean|string|((field: Field) => Boolean)\n /**\n * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).\n * May be specified as a space separated string, or as an object in which property names\n * with truthy values are used as the class names:\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-contentElementCls)\n */\n contentElementCls ? : string|object\n /**\n * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the\n * field on the expanded record to use for populating this widget's store (if applicable)\n */\n dataField ? : string\n /**\n * Object to apply to elements dataset (each key will be used as a data-attribute on the element)\n */\n dataset ? : Record<string, string>\n /**\n * The name of the property to set when a single value is to be applied to this Widget. Such as when used\n * in a grid WidgetColumn, this is the property to which the column's `field` is applied.\n */\n defaultBindProperty ? : string\n /**\n * Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following\n * checks:\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-detectCSSCompatibilityIssues)\n */\n detectCSSCompatibilityIssues ? : Boolean\n /**\n * 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\n * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-disabled)\n */\n disabled ? : Boolean|'inert'\n /**\n * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel)\n * [strips collection](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,\n * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's\n * body. Such widgets are called \"edge strips\".\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-dock)\n */\n dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´\n * property which controls when a drag should start.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-draggable)\n * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget\n */\n draggable ? : Boolean|object\n /**\n * An object specifying attributes to assign to the root element of this widget.\n * Set `null` value to attribute to remove it.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-elementAttributes)\n */\n elementAttributes ? : Record<string, string|null>\n extraData ? : any\n /**\n * 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\n * flexbox layout. This config allows you to set this widget's\n * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.\n * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.\n * numeric-only values are interpreted as the `flex-grow` value.\n */\n flex ? : number|string\n /**\n * Set to `true` to move the widget out of the document flow and position it\n * absolutely in browser viewport space.\n */\n floating ? : Boolean\n /**\n * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,\n * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some\n * cases this config is convenient.\n */\n height ? : string|number\n /**\n * Configure with true to make widget initially hidden.\n */\n hidden ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-hideAnimation)\n */\n hideAnimation ? : Boolean|object\n /**\n * Specify `true` to highlight field after external value changes\n */\n highlightExternalChange ? : Boolean\n /**\n * An optional string to display inside the input field as an overlay. This can be useful for displaying\n * a field's units.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-hint)\n * @param {object} data A data object\n * @param {Core.widget.Field} data.source A reference to the field instance\n * @param {any} data.value The current value of the field\n * @returns {string}\n */\n hint ? : string|((data: { source: Field, value: any }) => string)\n /**\n * This config is similar to [hint](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-hint) except that this config is used to display HTML content.\n * Since this can allow malicious content to be executed, be sure not to include user-entered data or to\n * encode such data (see [encodeHtml](https://bryntum.com/products/calendar/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-hintHtml)\n * @param {object} data A data object\n * @param {Core.widget.Field} data.source A reference to the field instance\n * @param {any} data.value The current value of the field\n * @returns {string}\n */\n hintHtml ? : string|((data: { source: Field, value: any }) => string)\n /**\n * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById\n */\n id ? : string\n /**\n * Determines if the widgets read-only state should be controlled by its parent.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-ignoreParentReadOnly)\n */\n ignoreParentReadOnly ? : Boolean\n /**\n * Set this config to `true` to always display items horizontally along with this field. This assigns an\n * [hbox](https://bryntum.com/products/calendar/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the\n * [container](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-container).\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-inline)\n */\n inline ? : Boolean\n /**\n * Text alignment for the input field.\n */\n inputAlign ? : string\n /**\n * Sets custom attributes of the underlying input element. For more information, please refer to\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes)\n */\n inputAttributes ? : Record<string, string>\n /**\n * If you need to use something else than a default `input` element, as the input element, provide the tag\n * name here. Please note that this is used for advanced usage only, for example when using WebComponents\n * (custom elements), and that the configured element must fulfil the same contract as a regular input\n * element.\n */\n inputTag ? : string\n /**\n * Sets the `type` attribute of the underlying input element (password, hidden, date, color, etc.).\n */\n inputType ? : string\n /**\n * The width to apply to the `.b-field-inner` element, which encompasses the `input` element and any\n * triggers. If a number is specified, `px` will be used.\n */\n inputWidth ? : string|number\n /**\n * 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.\n */\n insertBefore ? : HTMLElement|string\n /**\n * 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.\n */\n insertFirst ? : HTMLElement|string\n /**\n * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name\n * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values\n * are the name of the instance method to call when the keystroke is received.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-keyMap)\n */\n keyMap ? : Record<string, KeyMapConfig>\n /**\n * The delay in milliseconds to wait after the last keystroke before triggering a change event.\n * Set to 0 to not trigger change events from keystrokes (listen for input event instead to have\n * immediate feedback, change will still be triggered on blur).\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-keyStrokeChangeDelay)\n */\n keyStrokeChangeDelay ? : number\n /**\n * Label, prepended to field\n */\n label ? : string\n /**\n * CSS class name or class names to add to any configured [label](https://bryntum.com/products/calendar/docs/api/Core/widget/mixin/Labelable#config-label)\n */\n labelCls ? : string|object\n /**\n * Label position, either 'before' the field or 'above' the field\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-labelPosition)\n */\n labelPosition ? : 'before'|'above'|null\n /**\n * The labels to add either before or after the input field.\n * Each label may have the following properties:\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-labels)\n * @property {string} html Label text\n * @property {'start','end'} align Which end of the file the label should go\n */\n labels ? : object[]\n /**\n * The width to apply to the `&lt;label&gt;` element. If a number is specified, `px` will be used.\n */\n labelWidth ? : string|number\n /**\n * The listener set for this object.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-listeners)\n */\n listeners ? : EventColorFieldListeners\n /**\n * A class translations of which are used for translating this entity.\n * This is often used when translations of an item are defined on its container class.\n * For example:\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-localeClass)\n */\n localeClass ? : typeof Base\n /**\n * Set to `false` to disable localization of this object.\n */\n localizable ? : Boolean\n /**\n * List of properties which values should be translated automatically upon a locale applying.\n * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),\n * you could use 'localeKey' meta configuration.\n * Example:\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-localizableProperties)\n */\n localizableProperties ? : string[]\n /**\n * Widget's margin. This may be configured as a single number or a `TRBL` format string.\n * numeric-only values are interpreted as pixels.\n */\n margin ? : number|string\n /**\n * This config object contains the defaults for the [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) created for the\n * [masked](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these\n * values.\n */\n maskDefaults ? : MaskConfig\n /**\n * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a\n * [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) config object.\n */\n masked ? : Boolean|string|MaskConfig\n /**\n * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.\n */\n maxHeight ? : string|number\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-maximizeOnMobile)\n */\n maximizeOnMobile ? : number|string\n /**\n * The max number of characters for the input field\n */\n maxLength ? : number\n /**\n * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n maxWidth ? : string|number\n /**\n * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.\n */\n minHeight ? : string|number\n /**\n * The min number of characters for the input field\n */\n minLength ? : number\n /**\n * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n minWidth ? : string|number\n /**\n * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)\n * is used to monitor this element for size changes caused by either style manipulation, or by CSS\n * layout.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-monitorResize)\n * @property {boolean} immediate Set to `true` to receive resize notifications immediately.\n */\n monitorResize ? : Boolean|object\n /**\n * Name of the field which is used as a key to get/set values from/to the field.\n * Used prior to [ref](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in\n * [Container.values](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#property-values).\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-name)\n */\n name ? : string\n /**\n * The name of the element property to which the picker should size and align itself.\n */\n pickerAlignElement ? : string\n /**\n * Text to display in empty field.\n */\n placeholder ? : string\n /**\n * 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\n * not participate in the standard layout of that widget, and must be positioned relatively to that\n * widget's [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-positioned)\n */\n positioned ? : Boolean\n /**\n * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a\n * menu on click etc, since the tooltip would be displayed at the same time.\n */\n preventTooltipOnTouch ? : Boolean\n /**\n * Makes the field unmodifiable by user action. The input area is not editable, and triggers\n * are unresponsive.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-readOnly)\n */\n readOnly ? : Boolean\n relayStoreEvents ? : Boolean\n /**\n * Predefined style to use for the field. Possible values are:\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-rendition)\n */\n rendition ? : 'outlined'|'filled'|string\n /**\n * Configure as `true` to indicate that a `null` field value is to be marked as invalid. This will\n * optionally append a * to the field label if [showRequiredIndicator](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-showRequiredIndicator) is set.\n */\n required ? : Boolean\n /**\n * If this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing\n * the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when\n * the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-clearable)\n * behaviour will be activated.\n */\n revertOnEscape ? : Boolean\n /**\n * Configure as `true` to have the component display a translucent ripple when its\n * [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\n * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-ripple)\n * @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.\n * @property {string} [color] A CSS color name or specification.\n * @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.\n * @property {string} [clip] A string which describes how to clip the ripple if it is not to be clipped to the default element. Either the property of the widget to use as the clipping element, or a selector to allow clipping to the closest matching ancestor to the target element.\n */\n ripple ? : Boolean|object\n /**\n * The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid\n * accidentally applying a role which may interfere with screen readers.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-role)\n */\n role ? : string\n /**\n * 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`\n */\n rootElement ? : ShadowRoot|HTMLElement\n /**\n * This may be configured as `true` to make the widget's element use the `direction:rtl` style.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-rtl)\n */\n rtl ? : Boolean\n /**\n * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).\n * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.\n */\n scrollAction ? : 'hide'|'realign'|null\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-showAnimation)\n */\n showAnimation ? : Boolean|object\n /**\n * `true` to automatically display a * after the label for this field when it is [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-required).\n */\n showRequiredIndicator ? : string\n /**\n * 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)\n */\n showTooltipWhenDisabled ? : Boolean\n /**\n * Set to `true`, completely bypasses validation logic (could be userful if your field is not `editable`\n * to the user).\n */\n skipValidation ? : Boolean\n /**\n * Programmatic control over how many columns to span when used in a grid layout.\n */\n span ? : number\n /**\n * Sets the native `spellcheck` property of the underlying input element. For more information, please refer to\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck)\n */\n spellCheck ? : Boolean\n /**\n * 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\n * [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\n * this widget:\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-tab)\n */\n tab ? : Boolean|TabConfig\n /**\n * The tab index of the input field or fields, or `null` for natural tab order (recommended). Setting to `0`\n * is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable\n * (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set\n * to the element programmatically.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-tabIndex)\n */\n tabIndex ? : number\n /**\n * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-textAlign)\n */\n textAlign ? : 'left'|'center'|'right'|'start'|'end'\n /**\n * A title to display for the widget. Only in effect when inside a container that uses it (such as TabPanel)\n */\n title ? : string\n /**\n * Tooltip for the widget, either as a string or as a Tooltip config object.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-tooltip)\n */\n tooltip ? : string|TooltipConfig|null\n /**\n * The triggers to add either before or after the input field. Each property name is the reference by which\n * an instantiated Trigger Widget may be retrieved from the live `triggers` property.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-triggers)\n */\n triggers ? : Record<string, FieldTriggerConfig>\n type ? : 'eventcolorfield'\n /**\n * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified\n * as a space separated string, an array of strings, or as an object in which property names with truthy\n * values are used as the class names.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-ui)\n */\n ui ? : string|object\n /**\n * Set to `false` to not highlight a field as invalid while typing, to instead show it on ENTER key press\n * or similar.\n */\n validateOnInput ? : Boolean\n /**\n * Default value\n */\n value ? : string\n /**\n * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/calendar/docs/api/Core/widget/Container).\n * Higher weights go further down.\n */\n weight ? : number\n /**\n * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which\n * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases\n * this config is convenient.\n */\n width ? : string|number\n /**\n * The x position for the widget.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-x)\n */\n x ? : number\n /**\n * The y position for the widget.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#config-y)\n */\n y ? : number\n\n}>();\n\nconst emit = defineEmits<{\n /**\n * User performed default action (typed into this field).\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Field,any} params.event.source This Field\n * @param {string,number,boolean,any} params.event.value This field's value\n * @param {string,number,boolean,any} params.event.oldValue This field's previous value\n * @param {boolean} params.event.valid True if this field is in a valid state\n * @param {Event} params.event.event The triggering DOM event if any\n * @param {Core.data.Model} params.event.record Selected record. Available for fields with records selection functionality\n * @param {Core.data.Model[]} params.event.records Selected records as an array. Available for fields with records selection functionality\n * @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)\n * @param {boolean} params.event.checked\n */\n (e: 'action', params: ((event: { source: Field|any, value: string|number|boolean|any, oldValue: string|number|boolean|any, valid: boolean, event: Event, record: Model, records: Model[], userAction: boolean, checked: boolean }) => void)|string): void\n /**\n * Fires before an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.Base} params.event.source The Object that is being destroyed.\n */\n (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Triggered before a widget is hidden. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget being hidden.\n */\n (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void\n /**\n * Triggered before a widget is shown. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget,any} params.event.source The widget being shown\n */\n (e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void\n /**\n * Fires when any other event is fired from the object.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#event-catchAll)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details\n * @param {string} params.event.event.type The type of the event which is caught by the listener\n */\n (e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void\n /**\n * Fired when this field's value changes.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Field,any} params.event.source This Field\n * @param {string,number,boolean,any} params.event.value This field's value\n * @param {string,number,boolean,any} params.event.oldValue This field's previous value\n * @param {boolean} params.event.valid True if this field is in a valid state\n * @param {Event} params.event.event The triggering DOM event if any\n * @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)\n * @param {boolean} params.event.checked\n */\n (e: 'change', params: ((event: { source: Field|any, value: string|number|boolean|any, oldValue: string|number|boolean|any, valid: boolean, event: Event, userAction: boolean, checked: boolean }) => void)|string): void\n /**\n * Fired when this field is [cleared](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#function-clear).\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#event-clear)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Field,any} params.event.source This Field\n */\n (e: 'clear', params: ((event: { source: Field|any }) => void)|string): void\n /**\n * Fires when an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.Base} params.event.source The Object that is being destroyed.\n */\n (e: 'destroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Triggered when a widget's [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element) is available.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {HTMLElement} params.event.element The Widget's element.\n */\n (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void\n /**\n * Fired when focus enters this Widget.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {HTMLElement} params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.\n * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.\n * focus moving from within this Widget's ownership tree, even if there are floating widgets\n * will not trigger this event. This is when focus exits this widget completely.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {HTMLElement} params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.\n * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Triggered after a widget was hidden\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget\n */\n (e: 'hide', params: ((event: { source: Widget }) => void)|string): void\n /**\n * Fired when the user types into this field.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Field,any} params.event.source This field\n * @param {string,number,boolean,any} params.event.value This field's value\n * @param {Event} params.event.event The triggering DOM event\n */\n (e: 'input', params: ((event: { source: Field|any, value: string|number|boolean|any, event: Event }) => void)|string): void\n /**\n * Triggered when a widget which had been in a non-visible state for any reason\n * achieves visibility.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/EventColorField#event-paint)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget being painted.\n * @param {boolean} params.event.firstPaint `true` if this is the first paint.\n */\n (e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void\n /**\n * Fired when a Widget's read only state is toggled\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {boolean} params.event.readOnly Read only or not\n */\n (e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void\n /**\n * This event is fired after a widget's elements have been synchronized due to a direct or indirect call\n * 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.\n */\n (e: 'recompose', params: (() => void)|string): void\n /**\n * 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`*.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {number} params.event.width The new width\n * @param {number} params.event.height The new height\n * @param {number} params.event.oldWidth The old width\n * @param {number} params.event.oldHeight The old height\n */\n (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void\n /**\n * Triggered after a widget is shown.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget\n */\n (e: 'show', params: ((event: { source: Widget }) => void)|string): void\n /**\n * User clicked one of this field's [triggers](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-triggers)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Field,any} params.event.source This field\n * @param {Core.widget.Widget} params.event.trigger The trigger activated by click or touch tap.\n */\n (e: 'trigger', params: ((event: { source: Field|any, trigger: Widget }) => void)|string): void\n}>();\n\nconst widgetData = {\n instanceClass : EventColorField,\n instanceName : 'EventColorField',\n\n configNames : [\n 'adopt',\n 'align',\n 'anchor',\n 'ariaDescription',\n 'ariaLabel',\n 'autoComplete',\n 'autoExpand',\n 'autoSelect',\n 'bubbleEvents',\n 'centered',\n 'clearable',\n 'config',\n 'constrainTo',\n 'container',\n 'containValues',\n 'contentElementCls',\n 'dataField',\n 'defaultBindProperty',\n 'detectCSSCompatibilityIssues',\n 'dock',\n 'draggable',\n 'elementAttributes',\n 'floating',\n 'hideAnimation',\n 'highlightExternalChange',\n 'hint',\n 'hintHtml',\n 'ignoreParentReadOnly',\n 'inline',\n 'inputAlign',\n 'inputAttributes',\n 'inputTag',\n 'inputType',\n 'inputWidth',\n 'keyStrokeChangeDelay',\n 'labelCls',\n 'labelPosition',\n 'labels',\n 'labelWidth',\n 'listeners',\n 'localeClass',\n 'localizable',\n 'localizableProperties',\n 'maskDefaults',\n 'masked',\n 'maxLength',\n 'minLength',\n 'monitorResize',\n 'name',\n 'pickerAlignElement',\n 'positioned',\n 'preventTooltipOnTouch',\n 'relayStoreEvents',\n 'revertOnEscape',\n 'ripple',\n 'role',\n 'rootElement',\n 'scrollAction',\n 'showAnimation',\n 'showTooltipWhenDisabled',\n 'skipValidation',\n 'spellCheck',\n 'tab',\n 'tabIndex',\n 'textAlign',\n 'title',\n 'type',\n 'ui',\n 'validateOnInput',\n 'weight'\n ],\n propertyConfigNames : [\n 'addNoColorItem',\n 'alignSelf',\n 'appendTo',\n 'badge',\n 'callOnFunctions',\n 'catchEventHandlerExceptions',\n 'cls',\n 'colors',\n 'column',\n 'dataset',\n 'disabled',\n 'extraData',\n 'flex',\n 'height',\n 'hidden',\n 'id',\n 'insertBefore',\n 'insertFirst',\n 'keyMap',\n 'label',\n 'margin',\n 'maxHeight',\n 'maximizeOnMobile',\n 'maxWidth',\n 'minHeight',\n 'minWidth',\n 'onAction',\n 'onBeforeDestroy',\n 'onBeforeHide',\n 'onBeforeShow',\n 'onCatchAll',\n 'onChange',\n 'onClear',\n 'onDestroy',\n 'onElementCreated',\n 'onFocusIn',\n 'onFocusOut',\n 'onHide',\n 'onInput',\n 'onPaint',\n 'onReadOnly',\n 'onRecompose',\n 'onResize',\n 'onShow',\n 'onTrigger',\n 'placeholder',\n 'readOnly',\n 'rendition',\n 'required',\n 'rtl',\n 'showRequiredIndicator',\n 'span',\n 'tooltip',\n 'triggers',\n 'value',\n 'width',\n 'x',\n 'y'\n ],\n propertyNames : [\n 'content',\n 'editable',\n 'formula',\n 'html',\n 'input',\n 'parent',\n 'scrollable'\n ],\n eventNames : [\n 'action',\n 'beforeDestroy',\n 'beforeHide',\n 'beforeShow',\n 'catchAll',\n 'change',\n 'clear',\n 'destroy',\n 'elementCreated',\n 'focusIn',\n 'focusOut',\n 'hide',\n 'input',\n 'paint',\n 'readOnly',\n 'recompose',\n 'resize',\n 'show',\n 'trigger'\n ]\n};\n\nconst instance: {\n value?: EventColorField\n} = {};\n\nconst refElement = ref<HTMLDivElement>()!;\n// Storage for teleports (in-cell Vue component instances) automatically renderer by template\nconst teleports = ref(new Map());\n\n// Provide teleports for processCellContent\nprovide('teleports', teleports);\n\nonMounted(() => {\n\n const me = getCurrentInstance()!;\n\n instance.value = WrapperHelper.createWidget<typeof EventColorField>({\n me,\n widgetData,\n emit,\n element : refElement.value!,\n toRaw\n });\n\n const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);\n WrapperHelper.watchProps(instance.value, widgetData, watcher);\n});\n\nonBeforeUnmount(() => {\n // @ts-ignore\n instance.value?.destroy?.();\n});\n\ndefineExpose({\n instance,\n refElement,\n teleports\n});\n\n</script>\n"],"names":["emit","__emit","widgetData","EventColorField","instance","refElement","ref","teleports","provide","onMounted","me","getCurrentInstance","WrapperHelper","toRaw","watcher","prop","callback","watch","onBeforeUnmount","__expose","_createElementBlock"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAimBA,UAAMA,IAAOC,GA+LPC,IAAa;AAAA,MACf,eAAgBC;AAAA,MAChB,cAAgB;AAAA,MAEhB,aAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,qBAAsB;AAAA,QAClB;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,eAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,YAAa;AAAA,QACT;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,IACJ,GAGEC,IAEF,CAAA,GAEEC,IAAaC,EAAA,GAEbC,IAAYD,EAAI,oBAAI,KAAK;AAG/B,WAAAE,EAAQ,aAAaD,CAAS,GAE9BE,EAAU,MAAM;AAEZ,YAAMC,IAAKC,EAAA;AAEX,MAAAP,EAAS,QAAQQ,EAAc,aAAqC;AAAA,QAChE,IAAAF;AAAA,QACA,YAAAR;AAAA,QACA,MAAAF;AAAA,QACA,SAAUK,EAAW;AAAA,QACrB,OAAAQ;AAAA,MAAA,CACH;AAED,YAAMC,IAAU,CAACC,GAAcC,MAAkBC,EAAM,MAAMP,EAAG,MAAMK,CAAI,GAAGC,CAAQ;AACrF,MAAAJ,EAAc,WAAWR,EAAS,OAAOF,GAAYY,CAAO;AAAA,IAChE,CAAC,GAEDI,EAAgB,MAAM;AAElB,MAAAd,EAAS,OAAO,UAAA;AAAA,IACpB,CAAC,GAEDe,EAAa;AAAA,MACT,UAAAf;AAAA,MACA,YAAAC;AAAA,MACA,WAAAE;AAAA,IAAA,CACH,mBAz+BGa,EAEM,OAAA;AAAA,eAFG;AAAA,MAAJ,KAAIf;AAAA,IAAA;;;"}