@bryntum/calendar-vue-3 7.2.4 → 7.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (543) hide show
  1. package/README.md +1 -1
  2. package/lib/chunks/{Beyvc-Ee.js → -gfCfICt.js} +8 -9
  3. package/lib/chunks/-gfCfICt.js.map +1 -0
  4. package/lib/chunks/{DQaAhwXD.js → 0OZOSj3K.js} +12 -10
  5. package/lib/chunks/0OZOSj3K.js.map +1 -0
  6. package/lib/chunks/6ysIOAeQ.js +388 -0
  7. package/lib/chunks/6ysIOAeQ.js.map +1 -0
  8. package/lib/chunks/{CN4RrXCe.js → 8f6XqGsD.js} +16 -17
  9. package/lib/chunks/8f6XqGsD.js.map +1 -0
  10. package/lib/chunks/{D53p7Ank.js → 9tApH0if.js} +11 -12
  11. package/lib/chunks/9tApH0if.js.map +1 -0
  12. package/lib/chunks/{motDmuL4.js → AVadRojY.js} +14 -12
  13. package/lib/chunks/AVadRojY.js.map +1 -0
  14. package/lib/chunks/{u9zB9TJb.js → B4eYsje_.js} +11 -13
  15. package/lib/chunks/B4eYsje_.js.map +1 -0
  16. package/lib/chunks/{CSDGWXIc.js → B7wodVs1.js} +11 -9
  17. package/lib/chunks/B7wodVs1.js.map +1 -0
  18. package/lib/chunks/{Bvf00QYc.js → BBc3kJ2l.js} +16 -17
  19. package/lib/chunks/BBc3kJ2l.js.map +1 -0
  20. package/lib/chunks/{CrGY2ZuR.js → BD3V-SxA.js} +12 -13
  21. package/lib/chunks/BD3V-SxA.js.map +1 -0
  22. package/lib/chunks/{jimu0HjG.js → BFQMFysc.js} +11 -9
  23. package/lib/chunks/BFQMFysc.js.map +1 -0
  24. package/lib/chunks/{BwV4_Hj0.js → BHB_Xr7B.js} +10 -10
  25. package/lib/chunks/BHB_Xr7B.js.map +1 -0
  26. package/lib/chunks/{Baux7HCy.js → BIHU8niN.js} +17 -24
  27. package/lib/chunks/BIHU8niN.js.map +1 -0
  28. package/lib/chunks/BMxd9tFw.js +57 -0
  29. package/lib/chunks/BMxd9tFw.js.map +1 -0
  30. package/lib/chunks/{BDE_6JKK.js → BRHH9-fs.js} +15 -18
  31. package/lib/chunks/BRHH9-fs.js.map +1 -0
  32. package/lib/chunks/{BwSsnMqD.js → BSTFzAku.js} +16 -8
  33. package/lib/chunks/BSTFzAku.js.map +1 -0
  34. package/lib/chunks/{BO1go6ht.js → BUTdFPf9.js} +10 -11
  35. package/lib/chunks/BUTdFPf9.js.map +1 -0
  36. package/lib/chunks/{BWnGGswQ.js → BVEipTu4.js} +14 -6
  37. package/lib/chunks/BVEipTu4.js.map +1 -0
  38. package/lib/chunks/{D_Rke7J9.js → BYLyV5Qz.js} +10 -11
  39. package/lib/chunks/BYLyV5Qz.js.map +1 -0
  40. package/lib/chunks/{CrwTiLxz.js → BbOrQ8ft.js} +9 -10
  41. package/lib/chunks/BbOrQ8ft.js.map +1 -0
  42. package/lib/chunks/{Zehgfy1K.js → BdoTFJhe.js} +5 -3
  43. package/lib/chunks/BdoTFJhe.js.map +1 -0
  44. package/lib/chunks/{BjUhCoLJ.js → BeA4Wx8Y.js} +16 -14
  45. package/lib/chunks/BeA4Wx8Y.js.map +1 -0
  46. package/lib/chunks/{D_d9DDRC.js → BeiCK7f8.js} +11 -9
  47. package/lib/chunks/BeiCK7f8.js.map +1 -0
  48. package/lib/chunks/{D7lj1d87.js → BoILvqhB.js} +12 -13
  49. package/lib/chunks/BoILvqhB.js.map +1 -0
  50. package/lib/chunks/{D3e9xTyI.js → C-rJdjwM.js} +8 -6
  51. package/lib/chunks/C-rJdjwM.js.map +1 -0
  52. package/lib/chunks/{CbVp-KNL.js → C1e81geK.js} +10 -11
  53. package/lib/chunks/C1e81geK.js.map +1 -0
  54. package/lib/chunks/{BclPIY1S.js → C3im5F6T.js} +8 -8
  55. package/lib/chunks/C3im5F6T.js.map +1 -0
  56. package/lib/chunks/{643jpJkp.js → C4_EvmHb.js} +9 -9
  57. package/lib/chunks/C4_EvmHb.js.map +1 -0
  58. package/lib/chunks/{n-R-RzWM.js → C8FspEDS.js} +11 -9
  59. package/lib/chunks/C8FspEDS.js.map +1 -0
  60. package/lib/chunks/{DXxsDHKA.js → CI4tLO9K.js} +8 -6
  61. package/lib/chunks/CI4tLO9K.js.map +1 -0
  62. package/lib/chunks/{l0OEgSss.js → CIV2Plgi.js} +5 -3
  63. package/lib/chunks/CIV2Plgi.js.map +1 -0
  64. package/lib/chunks/{UBAf_gJR.js → CK8pVkWO.js} +8 -6
  65. package/lib/chunks/CK8pVkWO.js.map +1 -0
  66. package/lib/chunks/{C5iF2l6i.js → CL2aSYwL.js} +20 -21
  67. package/lib/chunks/CL2aSYwL.js.map +1 -0
  68. package/lib/chunks/{BZKqACKI.js → COQRF4O2.js} +8 -6
  69. package/lib/chunks/COQRF4O2.js.map +1 -0
  70. package/lib/chunks/{DVbWgkTx.js → CObxLUVv.js} +11 -11
  71. package/lib/chunks/CObxLUVv.js.map +1 -0
  72. package/lib/chunks/{iDCR6UCK.js → CYO0U3xG.js} +12 -15
  73. package/lib/chunks/CYO0U3xG.js.map +1 -0
  74. package/lib/chunks/{CjT2dcJr.js → CZmKZOXs.js} +11 -9
  75. package/lib/chunks/CZmKZOXs.js.map +1 -0
  76. package/lib/chunks/{D5Oj5xxW.js → CbvZfQIb.js} +7 -5
  77. package/lib/chunks/CbvZfQIb.js.map +1 -0
  78. package/lib/chunks/{CH6gj1Uh.js → CeQqNQur.js} +10 -8
  79. package/lib/chunks/CeQqNQur.js.map +1 -0
  80. package/lib/chunks/{D4SsmFK3.js → CeiQfFj4.js} +11 -9
  81. package/lib/chunks/CeiQfFj4.js.map +1 -0
  82. package/lib/chunks/{63XaN_s1.js → CfyHmkPe.js} +5 -6
  83. package/lib/chunks/CfyHmkPe.js.map +1 -0
  84. package/lib/chunks/{D9EcAnhT.js → CiecGioc.js} +18 -15
  85. package/lib/chunks/CiecGioc.js.map +1 -0
  86. package/lib/chunks/{CmjLe7_l.js → CjfHlzPr.js} +7 -12
  87. package/lib/chunks/CjfHlzPr.js.map +1 -0
  88. package/lib/chunks/{DumMjxRD.js → Cl2RaLEy.js} +12 -10
  89. package/lib/chunks/Cl2RaLEy.js.map +1 -0
  90. package/lib/chunks/{D_krOQ9f.js → Cpmv-8CX.js} +14 -15
  91. package/lib/chunks/Cpmv-8CX.js.map +1 -0
  92. package/lib/chunks/{XAfNTJB0.js → CsRtPonL.js} +4 -7
  93. package/lib/chunks/CsRtPonL.js.map +1 -0
  94. package/lib/chunks/{BIZkK5rf.js → Ct9WYKLH.js} +7 -10
  95. package/lib/chunks/Ct9WYKLH.js.map +1 -0
  96. package/lib/chunks/{BuRssXBn.js → CuaZAnUQ.js} +11 -9
  97. package/lib/chunks/CuaZAnUQ.js.map +1 -0
  98. package/lib/chunks/{BBEyHSQv.js → D2Rp5DqD.js} +9 -9
  99. package/lib/chunks/D2Rp5DqD.js.map +1 -0
  100. package/lib/chunks/{6QvAfis7.js → D8LFX3Si.js} +4 -7
  101. package/lib/chunks/D8LFX3Si.js.map +1 -0
  102. package/lib/chunks/{BqkxZjvs.js → DCeVwori.js} +11 -13
  103. package/lib/chunks/DCeVwori.js.map +1 -0
  104. package/lib/chunks/{CeTLs6kT.js → DFdgK5Ff.js} +9 -9
  105. package/lib/chunks/DFdgK5Ff.js.map +1 -0
  106. package/lib/chunks/{BnvmGTwR.js → DGNDLzjC.js} +15 -16
  107. package/lib/chunks/DGNDLzjC.js.map +1 -0
  108. package/lib/chunks/{BojPYCOr.js → DKh1JBaq.js} +5 -5
  109. package/lib/chunks/DKh1JBaq.js.map +1 -0
  110. package/lib/chunks/{bsJCyJ2h.js → DQ2aBJ55.js} +12 -13
  111. package/lib/chunks/DQ2aBJ55.js.map +1 -0
  112. package/lib/chunks/{DBwqeu_E.js → DSTwKMaq.js} +7 -5
  113. package/lib/chunks/DSTwKMaq.js.map +1 -0
  114. package/lib/chunks/DTAFonQW.js +396 -0
  115. package/lib/chunks/DTAFonQW.js.map +1 -0
  116. package/lib/chunks/{Ckl-wIwj.js → DUaUWLyw.js} +16 -8
  117. package/lib/chunks/DUaUWLyw.js.map +1 -0
  118. package/lib/chunks/{Bk3g9j2o.js → DUsiYkFK.js} +6 -4
  119. package/lib/chunks/DUsiYkFK.js.map +1 -0
  120. package/lib/chunks/{BDTNWR5N.js → DdpHkb3E.js} +13 -18
  121. package/lib/chunks/DdpHkb3E.js.map +1 -0
  122. package/lib/chunks/{Dqdy0S36.js → DgIBeET0.js} +15 -18
  123. package/lib/chunks/DgIBeET0.js.map +1 -0
  124. package/lib/chunks/{B6vtjeC9.js → DgJZ6ZlB.js} +8 -9
  125. package/lib/chunks/DgJZ6ZlB.js.map +1 -0
  126. package/lib/chunks/{LVVvAMYi.js → DhwKNWjD.js} +12 -12
  127. package/lib/chunks/DhwKNWjD.js.map +1 -0
  128. package/lib/chunks/{ONNloqHH.js → DoFyfMXF.js} +9 -7
  129. package/lib/chunks/DoFyfMXF.js.map +1 -0
  130. package/lib/chunks/{PL7a9wra.js → DpVMBZKg.js} +13 -14
  131. package/lib/chunks/DpVMBZKg.js.map +1 -0
  132. package/lib/chunks/{BtupEz7m.js → DpX76W8R.js} +5 -6
  133. package/lib/chunks/DpX76W8R.js.map +1 -0
  134. package/lib/chunks/{BlB6zzjK.js → Dw8g2KwQ.js} +10 -8
  135. package/lib/chunks/Dw8g2KwQ.js.map +1 -0
  136. package/lib/chunks/{B7fxD1Uc.js → DwfSxgDx.js} +13 -14
  137. package/lib/chunks/DwfSxgDx.js.map +1 -0
  138. package/lib/chunks/{BRyz2Jfr.js → DxoJlWU3.js} +11 -9
  139. package/lib/chunks/DxoJlWU3.js.map +1 -0
  140. package/lib/chunks/{C7_fI_a3.js → DyrhHazx.js} +9 -10
  141. package/lib/chunks/DyrhHazx.js.map +1 -0
  142. package/lib/chunks/{B_Vy1VXa.js → DzXzhdwr.js} +7 -5
  143. package/lib/chunks/DzXzhdwr.js.map +1 -0
  144. package/lib/chunks/{Cd6R23_2.js → Ffj7MYiP.js} +14 -15
  145. package/lib/chunks/Ffj7MYiP.js.map +1 -0
  146. package/lib/chunks/{BJfyI-uR.js → GFug45r8.js} +15 -11
  147. package/lib/chunks/GFug45r8.js.map +1 -0
  148. package/lib/chunks/{qTIhqjug.js → KzCo7H0B.js} +12 -12
  149. package/lib/chunks/KzCo7H0B.js.map +1 -0
  150. package/lib/chunks/{yujSBoDZ.js → PBX4P85B.js} +8 -8
  151. package/lib/chunks/PBX4P85B.js.map +1 -0
  152. package/lib/chunks/Tt3YRLoT.js +265 -0
  153. package/lib/chunks/Tt3YRLoT.js.map +1 -0
  154. package/lib/chunks/{B5PEus3p.js → UIRN-9Gk.js} +10 -11
  155. package/lib/chunks/UIRN-9Gk.js.map +1 -0
  156. package/lib/chunks/{BTBrE1_0.js → Uub1pbHE.js} +8 -9
  157. package/lib/chunks/Uub1pbHE.js.map +1 -0
  158. package/lib/chunks/{B2_F5Icl.js → VxQFGAPu.js} +7 -10
  159. package/lib/chunks/VxQFGAPu.js.map +1 -0
  160. package/lib/chunks/{QeGOhsbk.js → cT-MuN_z.js} +10 -15
  161. package/lib/chunks/cT-MuN_z.js.map +1 -0
  162. package/lib/chunks/{c2O0FAWQ.js → dSkHfi4J.js} +11 -9
  163. package/lib/chunks/dSkHfi4J.js.map +1 -0
  164. package/lib/chunks/{CLg19bQ0.js → gdOjznoN.js} +25 -17
  165. package/lib/chunks/gdOjznoN.js.map +1 -0
  166. package/lib/chunks/{D7MZMcK9.js → lkmEYnvD.js} +14 -15
  167. package/lib/chunks/lkmEYnvD.js.map +1 -0
  168. package/lib/chunks/{C2mWiGAY.js → mzLGzWY5.js} +12 -12
  169. package/lib/chunks/mzLGzWY5.js.map +1 -0
  170. package/lib/chunks/{-I8DJxf_.js → nMvWDbO6.js} +9 -7
  171. package/lib/chunks/nMvWDbO6.js.map +1 -0
  172. package/lib/chunks/{D3Y02MFI.js → nl7BnV3E.js} +33 -30
  173. package/lib/chunks/nl7BnV3E.js.map +1 -0
  174. package/lib/chunks/{DAw8jYZJ.js → qmIX92PW.js} +11 -14
  175. package/lib/chunks/qmIX92PW.js.map +1 -0
  176. package/lib/chunks/{oscppiH3.js → r66Wz1km.js} +8 -6
  177. package/lib/chunks/r66Wz1km.js.map +1 -0
  178. package/lib/chunks/{B_G0FwYy.js → rg6JAh_X.js} +10 -15
  179. package/lib/chunks/rg6JAh_X.js.map +1 -0
  180. package/lib/chunks/{CJiiKEHc.js → wPKCUEuQ.js} +3 -3
  181. package/lib/chunks/wPKCUEuQ.js.map +1 -0
  182. package/lib/components/BryntumAIFilterField.js +1 -1
  183. package/lib/components/BryntumAgendaView.js +1 -1
  184. package/lib/components/BryntumBooleanCombo.js +5 -0
  185. package/lib/components/BryntumBooleanCombo.js.map +1 -0
  186. package/lib/components/BryntumButton.js +1 -1
  187. package/lib/components/BryntumButtonGroup.js +1 -1
  188. package/lib/components/BryntumCalendar.js +1 -1
  189. package/lib/components/BryntumCalendarDatePicker.js +1 -1
  190. package/lib/components/BryntumCalendarProjectModel.js +1 -1
  191. package/lib/components/BryntumChatPanel.js +1 -1
  192. package/lib/components/BryntumCheckbox.js +1 -1
  193. package/lib/components/BryntumCheckboxGroup.js +1 -1
  194. package/lib/components/BryntumChecklistFilterCombo.js +1 -1
  195. package/lib/components/BryntumChipView.js +1 -1
  196. package/lib/components/BryntumCodeEditor.js +1 -1
  197. package/lib/components/BryntumColorField.js +1 -1
  198. package/lib/components/BryntumCombo.js +1 -1
  199. package/lib/components/BryntumContainer.js +1 -1
  200. package/lib/components/BryntumDateField.js +1 -1
  201. package/lib/components/BryntumDatePicker.js +1 -1
  202. package/lib/components/BryntumDateRangeField.js +1 -1
  203. package/lib/components/BryntumDateTimeField.js +1 -1
  204. package/lib/components/BryntumDayAgendaView.js +1 -1
  205. package/lib/components/BryntumDayResourceView.js +1 -1
  206. package/lib/components/BryntumDayView.js +1 -1
  207. package/lib/components/BryntumDemoCodeEditor.js +1 -1
  208. package/lib/components/BryntumDemoHeader.js +1 -1
  209. package/lib/components/BryntumDisplayField.js +1 -1
  210. package/lib/components/BryntumDurationField.js +1 -1
  211. package/lib/components/BryntumEditor.js +1 -1
  212. package/lib/components/BryntumEventColorField.js +1 -1
  213. package/lib/components/BryntumEventList.js +1 -1
  214. package/lib/components/BryntumFieldFilterPicker.js +1 -1
  215. package/lib/components/BryntumFieldFilterPickerGroup.js +1 -1
  216. package/lib/components/BryntumFieldSet.js +1 -1
  217. package/lib/components/BryntumFileField.js +1 -1
  218. package/lib/components/BryntumFilePicker.js +1 -1
  219. package/lib/components/BryntumFilterField.js +1 -1
  220. package/lib/components/BryntumGrid.js +1 -1
  221. package/lib/components/BryntumGridBase.js +1 -1
  222. package/lib/components/BryntumGridChartDesigner.js +1 -1
  223. package/lib/components/BryntumGridFieldFilterPicker.js +1 -1
  224. package/lib/components/BryntumGridFieldFilterPickerGroup.js +1 -1
  225. package/lib/components/BryntumGroupBar.js +1 -1
  226. package/lib/components/BryntumHint.js +1 -1
  227. package/lib/components/BryntumLabel.js +1 -1
  228. package/lib/components/BryntumList.js +1 -1
  229. package/lib/components/BryntumMenu.js +1 -1
  230. package/lib/components/BryntumModeSelector.js +1 -1
  231. package/lib/components/BryntumMonthAgendaView.js +1 -1
  232. package/lib/components/BryntumMonthGrid.js +1 -1
  233. package/lib/components/BryntumMonthPicker.js +1 -1
  234. package/lib/components/BryntumMonthView.js +1 -1
  235. package/lib/components/BryntumNumberField.js +1 -1
  236. package/lib/components/BryntumPagingToolbar.js +1 -1
  237. package/lib/components/BryntumPanel.js +1 -1
  238. package/lib/components/BryntumPasswordField.js +1 -1
  239. package/lib/components/BryntumProgressBar.js +1 -1
  240. package/lib/components/BryntumProjectCombo.js +1 -1
  241. package/lib/components/BryntumRadio.js +1 -1
  242. package/lib/components/BryntumRadioGroup.js +1 -1
  243. package/lib/components/BryntumRangeMenu.js +1 -1
  244. package/lib/components/BryntumResourceCombo.js +1 -1
  245. package/lib/components/BryntumResourceFilter.js +1 -1
  246. package/lib/components/BryntumResourceView.js +1 -1
  247. package/lib/components/BryntumScheduler.js +1 -1
  248. package/lib/components/BryntumSchedulerBase.js +1 -1
  249. package/lib/components/BryntumSchedulerDatePicker.js +1 -1
  250. package/lib/components/BryntumSlideToggle.js +1 -1
  251. package/lib/components/BryntumSlider.js +1 -1
  252. package/lib/components/BryntumSplitter.js +1 -1
  253. package/lib/components/BryntumTabPanel.js +1 -1
  254. package/lib/components/BryntumTextAreaField.js +1 -1
  255. package/lib/components/BryntumTextAreaPickerField.js +1 -1
  256. package/lib/components/BryntumTextField.js +1 -1
  257. package/lib/components/BryntumThemeCombo.js +5 -0
  258. package/lib/components/BryntumThemeCombo.js.map +1 -0
  259. package/lib/components/BryntumTimeField.js +1 -1
  260. package/lib/components/BryntumTimePicker.js +1 -1
  261. package/lib/components/BryntumTimeVisualizingEditor.js +1 -1
  262. package/lib/components/BryntumTimeZoomSlider.js +5 -0
  263. package/lib/components/BryntumTimeZoomSlider.js.map +1 -0
  264. package/lib/components/BryntumTimelineHistogram.js +1 -1
  265. package/lib/components/BryntumToolbar.js +1 -1
  266. package/lib/components/BryntumTreeCombo.js +1 -1
  267. package/lib/components/BryntumTreeGrid.js +1 -1
  268. package/lib/components/BryntumUndoRedo.js +1 -1
  269. package/lib/components/BryntumViewPresetCombo.js +1 -1
  270. package/lib/components/BryntumWeekView.js +1 -1
  271. package/lib/components/BryntumWidget.js +1 -1
  272. package/lib/components/BryntumYearPicker.js +1 -1
  273. package/lib/components/BryntumYearPlanner.js +5 -0
  274. package/lib/components/BryntumYearPlanner.js.map +1 -0
  275. package/lib/components/BryntumYearView.js +1 -1
  276. package/lib/index.js +179 -171
  277. package/lib/index.js.map +1 -1
  278. package/package.json +1 -1
  279. package/src/components/BryntumAIFilterField.vue +84 -119
  280. package/src/components/BryntumAIFilterFieldProps.ts +78 -110
  281. package/src/components/BryntumAgendaView.vue +318 -441
  282. package/src/components/BryntumAgendaViewProps.ts +264 -366
  283. package/src/components/BryntumBooleanCombo.vue +1258 -0
  284. package/src/components/BryntumBooleanComboProps.ts +798 -0
  285. package/src/components/BryntumButton.vue +71 -117
  286. package/src/components/BryntumButtonGroup.vue +78 -123
  287. package/src/components/BryntumButtonGroupProps.ts +73 -113
  288. package/src/components/BryntumButtonProps.ts +65 -108
  289. package/src/components/BryntumCalendar.vue +260 -367
  290. package/src/components/BryntumCalendarDatePicker.vue +152 -234
  291. package/src/components/BryntumCalendarDatePickerProps.ts +145 -222
  292. package/src/components/BryntumCalendarProjectModel.vue +12 -31
  293. package/src/components/BryntumCalendarProjectModelProps.ts +10 -20
  294. package/src/components/BryntumCalendarProps.ts +187 -280
  295. package/src/components/BryntumChatPanel.vue +144 -171
  296. package/src/components/BryntumChatPanelProps.ts +121 -157
  297. package/src/components/BryntumCheckbox.vue +84 -118
  298. package/src/components/BryntumCheckboxGroup.vue +111 -181
  299. package/src/components/BryntumCheckboxGroupProps.ts +104 -168
  300. package/src/components/BryntumCheckboxProps.ts +77 -108
  301. package/src/components/BryntumChecklistFilterCombo.vue +101 -150
  302. package/src/components/BryntumChecklistFilterComboProps.ts +95 -141
  303. package/src/components/BryntumChipView.vue +66 -106
  304. package/src/components/BryntumChipViewProps.ts +61 -98
  305. package/src/components/BryntumCodeEditor.vue +108 -169
  306. package/src/components/BryntumCodeEditorProps.ts +101 -157
  307. package/src/components/BryntumColorField.vue +83 -117
  308. package/src/components/BryntumColorFieldProps.ts +77 -108
  309. package/src/components/BryntumCombo.vue +102 -152
  310. package/src/components/BryntumComboProps.ts +96 -143
  311. package/src/components/BryntumContainer.vue +78 -124
  312. package/src/components/BryntumContainerProps.ts +73 -114
  313. package/src/components/BryntumDateField.vue +90 -123
  314. package/src/components/BryntumDateFieldProps.ts +84 -114
  315. package/src/components/BryntumDatePicker.vue +121 -195
  316. package/src/components/BryntumDatePickerProps.ts +114 -183
  317. package/src/components/BryntumDateRangeField.vue +89 -126
  318. package/src/components/BryntumDateRangeFieldProps.ts +83 -117
  319. package/src/components/BryntumDateTimeField.vue +83 -117
  320. package/src/components/BryntumDateTimeFieldProps.ts +77 -108
  321. package/src/components/BryntumDayAgendaView.vue +219 -338
  322. package/src/components/BryntumDayAgendaViewProps.ts +199 -304
  323. package/src/components/BryntumDayResourceView.vue +240 -367
  324. package/src/components/BryntumDayResourceViewProps.ts +221 -334
  325. package/src/components/BryntumDayView.vue +236 -359
  326. package/src/components/BryntumDayViewProps.ts +217 -326
  327. package/src/components/BryntumDemoCodeEditor.vue +108 -169
  328. package/src/components/BryntumDemoCodeEditorProps.ts +101 -157
  329. package/src/components/BryntumDemoHeader.vue +7 -2
  330. package/src/components/BryntumDisplayField.vue +84 -119
  331. package/src/components/BryntumDisplayFieldProps.ts +78 -110
  332. package/src/components/BryntumDurationField.vue +90 -125
  333. package/src/components/BryntumDurationFieldProps.ts +82 -114
  334. package/src/components/BryntumEditor.vue +94 -144
  335. package/src/components/BryntumEditorProps.ts +80 -125
  336. package/src/components/BryntumEventColorField.vue +83 -117
  337. package/src/components/BryntumEventColorFieldProps.ts +77 -108
  338. package/src/components/BryntumEventList.vue +311 -430
  339. package/src/components/BryntumEventListProps.ts +257 -355
  340. package/src/components/BryntumFieldFilterPicker.vue +80 -128
  341. package/src/components/BryntumFieldFilterPickerGroup.vue +83 -133
  342. package/src/components/BryntumFieldFilterPickerGroupProps.ts +77 -122
  343. package/src/components/BryntumFieldFilterPickerProps.ts +75 -118
  344. package/src/components/BryntumFieldSet.vue +107 -174
  345. package/src/components/BryntumFieldSetProps.ts +100 -161
  346. package/src/components/BryntumFileField.vue +83 -117
  347. package/src/components/BryntumFileFieldProps.ts +77 -108
  348. package/src/components/BryntumFilePicker.vue +78 -124
  349. package/src/components/BryntumFilePickerProps.ts +73 -114
  350. package/src/components/BryntumFilterField.vue +86 -123
  351. package/src/components/BryntumFilterFieldProps.ts +80 -114
  352. package/src/components/BryntumGrid.vue +228 -315
  353. package/src/components/BryntumGridBase.vue +228 -315
  354. package/src/components/BryntumGridBaseProps.ts +186 -261
  355. package/src/components/BryntumGridChartDesigner.vue +59 -95
  356. package/src/components/BryntumGridChartDesignerProps.ts +55 -88
  357. package/src/components/BryntumGridFieldFilterPicker.vue +82 -132
  358. package/src/components/BryntumGridFieldFilterPickerGroup.vue +82 -131
  359. package/src/components/BryntumGridFieldFilterPickerGroupProps.ts +76 -120
  360. package/src/components/BryntumGridFieldFilterPickerProps.ts +77 -122
  361. package/src/components/BryntumGridProps.ts +186 -261
  362. package/src/components/BryntumGroupBar.vue +66 -106
  363. package/src/components/BryntumGroupBarProps.ts +61 -98
  364. package/src/components/BryntumHint.vue +135 -192
  365. package/src/components/BryntumHintProps.ts +128 -180
  366. package/src/components/BryntumLabel.vue +59 -95
  367. package/src/components/BryntumLabelProps.ts +55 -88
  368. package/src/components/BryntumList.vue +63 -102
  369. package/src/components/BryntumListProps.ts +58 -94
  370. package/src/components/BryntumMenu.vue +130 -190
  371. package/src/components/BryntumMenuProps.ts +121 -173
  372. package/src/components/BryntumModeSelector.vue +92 -126
  373. package/src/components/BryntumModeSelectorProps.ts +85 -116
  374. package/src/components/BryntumMonthAgendaView.vue +194 -286
  375. package/src/components/BryntumMonthAgendaViewProps.ts +180 -261
  376. package/src/components/BryntumMonthGrid.vue +182 -266
  377. package/src/components/BryntumMonthGridProps.ts +165 -236
  378. package/src/components/BryntumMonthPicker.vue +108 -169
  379. package/src/components/BryntumMonthPickerProps.ts +101 -157
  380. package/src/components/BryntumMonthView.vue +210 -306
  381. package/src/components/BryntumMonthViewProps.ts +191 -272
  382. package/src/components/BryntumNumberField.vue +87 -121
  383. package/src/components/BryntumNumberFieldProps.ts +81 -112
  384. package/src/components/BryntumPagingToolbar.vue +83 -130
  385. package/src/components/BryntumPagingToolbarProps.ts +77 -119
  386. package/src/components/BryntumPanel.vue +108 -169
  387. package/src/components/BryntumPanelProps.ts +101 -157
  388. package/src/components/BryntumPasswordField.vue +83 -117
  389. package/src/components/BryntumPasswordFieldProps.ts +77 -108
  390. package/src/components/BryntumProgressBar.vue +58 -93
  391. package/src/components/BryntumProgressBarProps.ts +54 -86
  392. package/src/components/BryntumProjectCombo.vue +101 -150
  393. package/src/components/BryntumProjectComboProps.ts +95 -141
  394. package/src/components/BryntumRadio.vue +84 -118
  395. package/src/components/BryntumRadioGroup.vue +111 -180
  396. package/src/components/BryntumRadioGroupProps.ts +104 -167
  397. package/src/components/BryntumRadioProps.ts +77 -108
  398. package/src/components/BryntumRangeMenu.vue +130 -190
  399. package/src/components/BryntumRangeMenuProps.ts +121 -173
  400. package/src/components/BryntumResourceCombo.vue +102 -152
  401. package/src/components/BryntumResourceComboProps.ts +96 -143
  402. package/src/components/BryntumResourceFilter.vue +65 -106
  403. package/src/components/BryntumResourceFilterProps.ts +60 -98
  404. package/src/components/BryntumResourceView.vue +175 -258
  405. package/src/components/BryntumResourceViewProps.ts +161 -233
  406. package/src/components/BryntumScheduler.vue +483 -646
  407. package/src/components/BryntumSchedulerBase.vue +483 -646
  408. package/src/components/BryntumSchedulerBaseProps.ts +371 -521
  409. package/src/components/BryntumSchedulerDatePicker.vue +123 -199
  410. package/src/components/BryntumSchedulerDatePickerProps.ts +116 -187
  411. package/src/components/BryntumSchedulerProps.ts +371 -521
  412. package/src/components/BryntumSlideToggle.vue +84 -118
  413. package/src/components/BryntumSlideToggleProps.ts +77 -108
  414. package/src/components/BryntumSlider.vue +67 -101
  415. package/src/components/BryntumSliderProps.ts +62 -94
  416. package/src/components/BryntumSplitter.vue +61 -99
  417. package/src/components/BryntumSplitterProps.ts +57 -92
  418. package/src/components/BryntumTabPanel.vue +110 -172
  419. package/src/components/BryntumTabPanelProps.ts +102 -159
  420. package/src/components/BryntumTextAreaField.vue +91 -119
  421. package/src/components/BryntumTextAreaFieldProps.ts +84 -110
  422. package/src/components/BryntumTextAreaPickerField.vue +85 -120
  423. package/src/components/BryntumTextAreaPickerFieldProps.ts +79 -111
  424. package/src/components/BryntumTextField.vue +84 -119
  425. package/src/components/BryntumTextFieldProps.ts +78 -110
  426. package/src/components/BryntumThemeCombo.vue +60 -0
  427. package/src/components/BryntumTimeField.vue +89 -120
  428. package/src/components/BryntumTimeFieldProps.ts +83 -111
  429. package/src/components/BryntumTimePicker.vue +78 -124
  430. package/src/components/BryntumTimePickerProps.ts +73 -114
  431. package/src/components/BryntumTimeVisualizingEditor.vue +133 -194
  432. package/src/components/BryntumTimeVisualizingEditorProps.ts +126 -182
  433. package/src/components/BryntumTimeZoomSlider.vue +828 -0
  434. package/src/components/BryntumTimeZoomSliderProps.ts +482 -0
  435. package/src/components/BryntumTimelineHistogram.vue +349 -470
  436. package/src/components/BryntumTimelineHistogramProps.ts +274 -387
  437. package/src/components/BryntumToolbar.vue +83 -130
  438. package/src/components/BryntumToolbarProps.ts +77 -119
  439. package/src/components/BryntumTreeCombo.vue +102 -152
  440. package/src/components/BryntumTreeComboProps.ts +96 -143
  441. package/src/components/BryntumTreeGrid.vue +228 -315
  442. package/src/components/BryntumTreeGridProps.ts +186 -261
  443. package/src/components/BryntumUndoRedo.vue +79 -126
  444. package/src/components/BryntumUndoRedoProps.ts +74 -116
  445. package/src/components/BryntumViewPresetCombo.vue +78 -108
  446. package/src/components/BryntumViewPresetComboProps.ts +72 -99
  447. package/src/components/BryntumWeekView.vue +236 -359
  448. package/src/components/BryntumWeekViewProps.ts +217 -326
  449. package/src/components/BryntumWidget.vue +59 -95
  450. package/src/components/BryntumWidgetProps.ts +55 -88
  451. package/src/components/BryntumYearPicker.vue +109 -171
  452. package/src/components/BryntumYearPickerProps.ts +102 -159
  453. package/src/components/BryntumYearPlanner.vue +1372 -0
  454. package/src/components/BryntumYearPlannerProps.ts +874 -0
  455. package/src/components/BryntumYearView.vue +191 -280
  456. package/src/components/BryntumYearViewProps.ts +175 -251
  457. package/src/index.ts +7 -0
  458. package/lib/chunks/-I8DJxf_.js.map +0 -1
  459. package/lib/chunks/63XaN_s1.js.map +0 -1
  460. package/lib/chunks/643jpJkp.js.map +0 -1
  461. package/lib/chunks/6QvAfis7.js.map +0 -1
  462. package/lib/chunks/B2_F5Icl.js.map +0 -1
  463. package/lib/chunks/B5PEus3p.js.map +0 -1
  464. package/lib/chunks/B6vtjeC9.js.map +0 -1
  465. package/lib/chunks/B7fxD1Uc.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/BDTNWR5N.js.map +0 -1
  469. package/lib/chunks/BIZkK5rf.js.map +0 -1
  470. package/lib/chunks/BJfyI-uR.js.map +0 -1
  471. package/lib/chunks/BO1go6ht.js.map +0 -1
  472. package/lib/chunks/BRyz2Jfr.js.map +0 -1
  473. package/lib/chunks/BTBrE1_0.js.map +0 -1
  474. package/lib/chunks/BWnGGswQ.js.map +0 -1
  475. package/lib/chunks/BZKqACKI.js.map +0 -1
  476. package/lib/chunks/B_G0FwYy.js.map +0 -1
  477. package/lib/chunks/B_Vy1VXa.js.map +0 -1
  478. package/lib/chunks/Baux7HCy.js.map +0 -1
  479. package/lib/chunks/BclPIY1S.js.map +0 -1
  480. package/lib/chunks/Beyvc-Ee.js.map +0 -1
  481. package/lib/chunks/BjUhCoLJ.js.map +0 -1
  482. package/lib/chunks/Bk3g9j2o.js.map +0 -1
  483. package/lib/chunks/BlB6zzjK.js.map +0 -1
  484. package/lib/chunks/BnvmGTwR.js.map +0 -1
  485. package/lib/chunks/BojPYCOr.js.map +0 -1
  486. package/lib/chunks/BqkxZjvs.js.map +0 -1
  487. package/lib/chunks/BtupEz7m.js.map +0 -1
  488. package/lib/chunks/BuRssXBn.js.map +0 -1
  489. package/lib/chunks/Bvf00QYc.js.map +0 -1
  490. package/lib/chunks/BwSsnMqD.js.map +0 -1
  491. package/lib/chunks/BwV4_Hj0.js.map +0 -1
  492. package/lib/chunks/C2mWiGAY.js.map +0 -1
  493. package/lib/chunks/C5iF2l6i.js.map +0 -1
  494. package/lib/chunks/C7_fI_a3.js.map +0 -1
  495. package/lib/chunks/CH6gj1Uh.js.map +0 -1
  496. package/lib/chunks/CJiiKEHc.js.map +0 -1
  497. package/lib/chunks/CLg19bQ0.js.map +0 -1
  498. package/lib/chunks/CN4RrXCe.js.map +0 -1
  499. package/lib/chunks/CSDGWXIc.js.map +0 -1
  500. package/lib/chunks/CbVp-KNL.js.map +0 -1
  501. package/lib/chunks/Cd6R23_2.js.map +0 -1
  502. package/lib/chunks/CeTLs6kT.js.map +0 -1
  503. package/lib/chunks/CjT2dcJr.js.map +0 -1
  504. package/lib/chunks/Ckl-wIwj.js.map +0 -1
  505. package/lib/chunks/CmjLe7_l.js.map +0 -1
  506. package/lib/chunks/CrGY2ZuR.js.map +0 -1
  507. package/lib/chunks/CrwTiLxz.js.map +0 -1
  508. package/lib/chunks/D3Y02MFI.js.map +0 -1
  509. package/lib/chunks/D3e9xTyI.js.map +0 -1
  510. package/lib/chunks/D4SsmFK3.js.map +0 -1
  511. package/lib/chunks/D53p7Ank.js.map +0 -1
  512. package/lib/chunks/D5Oj5xxW.js.map +0 -1
  513. package/lib/chunks/D7MZMcK9.js.map +0 -1
  514. package/lib/chunks/D7lj1d87.js.map +0 -1
  515. package/lib/chunks/D9EcAnhT.js.map +0 -1
  516. package/lib/chunks/DAw8jYZJ.js.map +0 -1
  517. package/lib/chunks/DBwqeu_E.js.map +0 -1
  518. package/lib/chunks/DQaAhwXD.js.map +0 -1
  519. package/lib/chunks/DVbWgkTx.js.map +0 -1
  520. package/lib/chunks/DXxsDHKA.js.map +0 -1
  521. package/lib/chunks/D_Rke7J9.js.map +0 -1
  522. package/lib/chunks/D_d9DDRC.js.map +0 -1
  523. package/lib/chunks/D_krOQ9f.js.map +0 -1
  524. package/lib/chunks/Dqdy0S36.js.map +0 -1
  525. package/lib/chunks/DumMjxRD.js.map +0 -1
  526. package/lib/chunks/LVVvAMYi.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/QeGOhsbk.js.map +0 -1
  530. package/lib/chunks/UBAf_gJR.js.map +0 -1
  531. package/lib/chunks/XAfNTJB0.js.map +0 -1
  532. package/lib/chunks/Zehgfy1K.js.map +0 -1
  533. package/lib/chunks/bsJCyJ2h.js.map +0 -1
  534. package/lib/chunks/c2O0FAWQ.js.map +0 -1
  535. package/lib/chunks/iDCR6UCK.js.map +0 -1
  536. package/lib/chunks/jimu0HjG.js.map +0 -1
  537. package/lib/chunks/l0OEgSss.js.map +0 -1
  538. package/lib/chunks/motDmuL4.js.map +0 -1
  539. package/lib/chunks/n-R-RzWM.js.map +0 -1
  540. package/lib/chunks/oscppiH3.js.map +0 -1
  541. package/lib/chunks/qTIhqjug.js.map +0 -1
  542. package/lib/chunks/u9zB9TJb.js.map +0 -1
  543. package/lib/chunks/yujSBoDZ.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BFQMFysc.js","sources":["../../src/components/BryntumViewPresetCombo.vue"],"sourcesContent":["<!-- Vue 3 wrapper for Bryntum ViewPresetCombo -->\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, Combo, Duration, DurationConfig, Field, KeyMapConfig, MaskConfig, Model, Rectangle, TabConfig, TimelineBase, ViewPresetComboListeners, Widget } from '@bryntum/calendar';\nimport { ViewPresetCombo } from '@bryntum/calendar';\n\nimport { WrapperHelper } from '../helper/WrapperHelper';\n\ndefineProps<{\n // Configs\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/ViewPresetCombo#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/ViewPresetCombo#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/ViewPresetCombo#config-ariaLabel)\n */\n ariaLabel ? : string\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/ViewPresetCombo#config-bubbleEvents)\n */\n bubbleEvents ? : object\n /**\n * Enable caching of the last retrieved result until the timeout is reached.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/ViewPresetCombo#config-cacheLastResult)\n */\n cacheLastResult ? : number|string|Duration|DurationConfig\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/ViewPresetCombo#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/ViewPresetCombo#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 * A function (or the name of a function in the ownership hierarchy) called during field validation\n * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-isValid)\n * evaluation, after the built-in [required](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-required) check.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/ViewPresetCombo#config-checkValidity)\n * @param {Core.widget.Field} field The field being validated\n * @returns {void}\n */\n checkValidity ? : ((field: Field) => void)|string\n /**\n * Specify `false` to not clear value typed to a multiselect combo when an item is selected.\n */\n clearTextOnSelection ? : Boolean\n /**\n * Set to `true` to clear this field when user empties the input element\n */\n clearWhenInputEmpty ? : Boolean\n /**\n * If not added to a toolbar, provide a Scheduler, SchedulerPro or Gantt component instance to which the\n * ViewPresetCombo should be connected.\n */\n client ? : TimelineBase\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/ViewPresetCombo#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/Scheduler/widget/ViewPresetCombo#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 * 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/ViewPresetCombo#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 * 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/ViewPresetCombo#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/ViewPresetCombo#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/ViewPresetCombo#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/ViewPresetCombo#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 * User can edit text in text field (otherwise only pick from attached picker)\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/Scheduler/widget/ViewPresetCombo#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/ViewPresetCombo#config-hideAnimation)\n */\n hideAnimation ? : Boolean|object\n /**\n * By default, the picker is hidden on selection in single select mode, and\n * remains to allow more selections when [multiSelect](https://bryntum.com/products/calendar/docs/api/Core/widget/Combo#config-multiSelect) is `true`.\n * Setting this to a `Boolean` value can override that default.\n */\n hidePickerOnSelect ? : 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/ViewPresetCombo#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/ViewPresetCombo#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/ViewPresetCombo#config-ignoreParentReadOnly)\n */\n ignoreParentReadOnly ? : 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 * 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/ViewPresetCombo#config-keyMap)\n */\n keyMap ? : Record<string, KeyMapConfig>\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/ViewPresetCombo#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/ViewPresetCombo#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 * CSS class to add to picker\n */\n listCls ? : string\n /**\n * The listener set for this object.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/ViewPresetCombo#config-listeners)\n */\n listeners ? : ViewPresetComboListeners\n /**\n * Template string used to render the list items in the dropdown list\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/ViewPresetCombo#config-listItemTpl)\n * @param {Core.data.Model} record The record representing the item being rendered\n * @returns {string,void}\n */\n listItemTpl ? : (record: Model) => string|void\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/ViewPresetCombo#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/ViewPresetCombo#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/ViewPresetCombo#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/Scheduler/widget/ViewPresetCombo#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/ViewPresetCombo#config-name)\n */\n name ? : string\n /**\n * This implies that the picker will display an anchor pointer, but also means that the picker will align closer\n * to the input field so that the pointer pierces the [pickerAlignElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Combo#config-pickerAlignElement)\n */\n overlayAnchor ? : Boolean\n /**\n * Width of picker, defaults to this combo's [pickerAlignElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Combo#config-pickerAlignElement) width\n */\n pickerWidth ? : number|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/ViewPresetCombo#config-positioned)\n */\n positioned ? : Boolean\n /**\n * An array containing string [ViewPreset](https://bryntum.com/products/calendar/docs/api/Scheduler/preset/ViewPreset) ids available for selection. The specified\n * presets must be [available](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/TimelineViewPresets#config-presets) for the\n * [client](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/ViewPresetCombo#config-client) (Scheduler, SchedulerPro or Gantt) for it to work properly. The selectable presets\n * will be arranged in the order provided here.\n */\n presets ? : any[]\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/ViewPresetCombo#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/ViewPresetCombo#config-rendition)\n */\n rendition ? : 'outlined'|'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/Scheduler/widget/ViewPresetCombo#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/ViewPresetCombo#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/ViewPresetCombo#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/ViewPresetCombo#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/Scheduler/widget/ViewPresetCombo#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/ViewPresetCombo#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/ViewPresetCombo#config-textAlign)\n */\n textAlign ? : 'left'|'center'|'right'|'start'|'end'\n type ? : 'viewpresetcombo'\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/ViewPresetCombo#config-ui)\n */\n ui ? : string|object\n /**\n * As default, a preset change by the ViewPresetCombo will result in that the `startDate` will be calculated to\n * the beginning of the [mainUnit](https://bryntum.com/products/calendar/docs/api/Scheduler/preset/ViewPreset#field-mainUnit) of the\n * [viewportCenterDate](https://bryntum.com/products/calendar/docs/api/Scheduler/view/mixin/TimelineDateMapper#property-viewportCenterDate). If the ViewPreset has a\n * [start](https://bryntum.com/products/calendar/docs/api/Scheduler/preset/ViewPreset#field-start) configured, this will be added to the calculation. The\n * `endDate` will then be calculated by adding the ViewPreset's\n * [defaultSpan](https://bryntum.com/products/calendar/docs/api/Scheduler/preset/ViewPreset#field-defaultSpan) to the `startDate`.\n * [More...](https://bryntum.com/products/calendar/docs/api/Scheduler/widget/ViewPresetCombo#config-useFixedDuration)\n */\n useFixedDuration ? : 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/Scheduler/widget/ViewPresetCombo#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/ViewPresetCombo#config-y)\n */\n y ? : number\n\n}>();\n\nconst emit = defineEmits<{\n /**\n * The default action was performed (an item in the list was selected)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Combo} params.event.source The combo\n * @param {any} params.event.value The [value](https://bryntum.com/products/calendar/docs/api/Core/widget/Combo#config-valueField) of the selected record\n * @param {Core.data.Model} params.event.record Selected record\n * @param {Core.data.Model[]} params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/calendar/docs/api/Core/widget/Combo#config-multiSelect) is `true`\n * @param {boolean} params.event.userAction `true` if the value change is due to user interaction\n */\n (e: 'action', params: ((event: { source: Combo, value: any, record: Model, records: Model[], userAction: 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 }) => boolean|void)|string): 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/ViewPresetCombo#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/ViewPresetCombo#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 * 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/ViewPresetCombo#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 * An item in the list was selected\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Combo} params.event.source The combo\n * @param {Core.data.Model} params.event.record Selected record\n * @param {Core.data.Model[]} params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/calendar/docs/api/Core/widget/Combo#config-multiSelect) is `true`\n * @param {boolean} params.event.userAction `true` if the value change is due to user interaction\n */\n (e: 'select', params: ((event: { source: Combo, record: Model, records: Model[], userAction: boolean }) => 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 : ViewPresetCombo,\n instanceName : 'ViewPresetCombo',\n\n configNames : [\n 'align',\n 'anchor',\n 'ariaDescription',\n 'ariaLabel',\n 'bubbleEvents',\n 'cacheLastResult',\n 'centered',\n 'checkValidity',\n 'clearTextOnSelection',\n 'clearWhenInputEmpty',\n 'client',\n 'color',\n 'config',\n 'constrainTo',\n 'contentElementCls',\n 'dataField',\n 'defaultBindProperty',\n 'detectCSSCompatibilityIssues',\n 'dock',\n 'draggable',\n 'elementAttributes',\n 'floating',\n 'hideAnimation',\n 'hidePickerOnSelect',\n 'hint',\n 'hintHtml',\n 'ignoreParentReadOnly',\n 'inputAlign',\n 'inputAttributes',\n 'inputTag',\n 'inputWidth',\n 'labelCls',\n 'labelPosition',\n 'labels',\n 'labelWidth',\n 'listCls',\n 'listeners',\n 'listItemTpl',\n 'localeClass',\n 'localizable',\n 'localizableProperties',\n 'maskDefaults',\n 'masked',\n 'monitorResize',\n 'name',\n 'overlayAnchor',\n 'pickerWidth',\n 'positioned',\n 'presets',\n 'preventTooltipOnTouch',\n 'relayStoreEvents',\n 'ripple',\n 'role',\n 'rootElement',\n 'scrollAction',\n 'showAnimation',\n 'showTooltipWhenDisabled',\n 'skipValidation',\n 'tab',\n 'tabIndex',\n 'textAlign',\n 'type',\n 'ui',\n 'useFixedDuration',\n 'weight'\n ],\n propertyConfigNames : [\n 'alignSelf',\n 'appendTo',\n 'badge',\n 'callOnFunctions',\n 'catchEventHandlerExceptions',\n 'cls',\n 'column',\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 'onPaint',\n 'onReadOnly',\n 'onRecompose',\n 'onResize',\n 'onSelect',\n 'onShow',\n 'onTrigger',\n 'readOnly',\n 'rendition',\n 'rtl',\n 'showRequiredIndicator',\n 'span',\n 'width',\n 'x',\n 'y'\n ],\n propertyNames : [\n 'formula',\n 'input',\n 'multiSelect',\n 'parent',\n 'picker',\n 'placeholder',\n 'required',\n 'tooltip',\n 'value'\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 'paint',\n 'readOnly',\n 'recompose',\n 'resize',\n 'select',\n 'show',\n 'trigger'\n ]\n};\n\nconst instance: {\n value?: ViewPresetCombo\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 ViewPresetCombo>({\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","ViewPresetCombo","instance","refElement","ref","teleports","provide","onMounted","me","getCurrentInstance","WrapperHelper","toRaw","watcher","prop","callback","watch","onBeforeUnmount","__expose","_createElementBlock"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2iBA,UAAMA,IAAOC,GA4LPC,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,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,MAAA;AAAA,MAEJ,eAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;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,mBAt6BGa,EAEM,OAAA;AAAA,eAFG;AAAA,MAAJ,KAAIf;AAAA,IAAA;;;"}
@@ -1,4 +1,4 @@
1
- import { defineComponent as h, ref as r, provide as u, onMounted as f, getCurrentInstance as g, toRaw as b, onBeforeUnmount as y, openBlock as w, createElementBlock as S, watch as x } from "vue";
1
+ import { defineComponent as h, ref as r, provide as u, onMounted as f, getCurrentInstance as g, toRaw as b, onBeforeUnmount as y, openBlock as w, createElementBlock as x, watch as S } from "vue";
2
2
  import { Splitter as C } from "@bryntum/calendar";
3
3
  import { WrapperHelper as l } from "../helper/WrapperHelper.js";
4
4
  const A = /* @__PURE__ */ h({
@@ -62,6 +62,7 @@ const A = /* @__PURE__ */ h({
62
62
  readOnly: {},
63
63
  relayStoreEvents: {},
64
64
  ripple: {},
65
+ role: {},
65
66
  rootElement: {},
66
67
  rtl: {},
67
68
  scrollable: {},
@@ -121,6 +122,7 @@ const A = /* @__PURE__ */ h({
121
122
  "preventTooltipOnTouch",
122
123
  "relayStoreEvents",
123
124
  "ripple",
125
+ "role",
124
126
  "rootElement",
125
127
  "scrollAction",
126
128
  "showAnimation",
@@ -186,8 +188,6 @@ const A = /* @__PURE__ */ h({
186
188
  "y"
187
189
  ],
188
190
  propertyNames: [
189
- "anchorSize",
190
- "focusVisible",
191
191
  "parent"
192
192
  ],
193
193
  eventNames: [
@@ -209,8 +209,8 @@ const A = /* @__PURE__ */ h({
209
209
  "resize",
210
210
  "show"
211
211
  ]
212
- }, e = {}, t = r(), i = r(/* @__PURE__ */ new Map());
213
- return u("teleports", i), f(() => {
212
+ }, e = {}, t = r(), a = r(/* @__PURE__ */ new Map());
213
+ return u("teleports", a), f(() => {
214
214
  const o = g();
215
215
  e.value = l.createWidget({
216
216
  me: o,
@@ -219,15 +219,15 @@ const A = /* @__PURE__ */ h({
219
219
  element: t.value,
220
220
  toRaw: b
221
221
  });
222
- const a = (p, m) => x(() => o.props[p], m);
223
- l.watchProps(e.value, n, a);
222
+ const i = (p, m) => S(() => o.props[p], m);
223
+ l.watchProps(e.value, n, i);
224
224
  }), y(() => {
225
225
  e.value?.destroy?.();
226
226
  }), s({
227
227
  instance: e,
228
228
  refElement: t,
229
- teleports: i
230
- }), (o, a) => (w(), S("div", {
229
+ teleports: a
230
+ }), (o, i) => (w(), x("div", {
231
231
  ref_key: "refElement",
232
232
  ref: t
233
233
  }, null, 512));
@@ -236,4 +236,4 @@ const A = /* @__PURE__ */ h({
236
236
  export {
237
237
  A as _
238
238
  };
239
- //# sourceMappingURL=BwV4_Hj0.js.map
239
+ //# sourceMappingURL=BHB_Xr7B.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BHB_Xr7B.js","sources":["../../src/components/BryntumSplitter.vue"],"sourcesContent":["<!-- Vue 3 wrapper for Bryntum Splitter -->\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, DomConfig, KeyMapConfig, MaskConfig, ReactJSX, Rectangle, Scroller, ScrollerConfig, SplitterListeners, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/calendar';\nimport { Splitter } 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/Splitter#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/Splitter#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/Splitter#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/Splitter#config-ariaLabel)\n */\n ariaLabel ? : 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/Splitter#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/Splitter#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/Splitter#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 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/Splitter#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/Splitter#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 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/Splitter#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/Core/widget/Splitter#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/Splitter#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/Splitter#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/Splitter#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/Splitter#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/Splitter#config-hideAnimation)\n */\n hideAnimation ? : Boolean|object\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/Splitter#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/Splitter#config-ignoreParentReadOnly)\n */\n ignoreParentReadOnly ? : Boolean\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/Splitter#config-keyMap)\n */\n keyMap ? : Record<string, KeyMapConfig>\n /**\n * The listener set for this object.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/Splitter#config-listeners)\n */\n listeners ? : SplitterListeners\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/Splitter#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/Splitter#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/Splitter#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/Splitter#config-monitorResize)\n * @property {boolean} immediate Set to `true` to receive resize notifications immediately.\n */\n monitorResize ? : Boolean|object\n /**\n * The splitter's orientation, configurable with 'auto', 'horizontal' or 'vertical'.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/Splitter#config-orientation)\n */\n orientation ? : 'auto'|'horizontal'|'vertical'\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/Splitter#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/Splitter#config-readOnly)\n */\n readOnly ? : Boolean\n relayStoreEvents ? : 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/Splitter#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/Splitter#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/Splitter#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/Splitter#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/Splitter#config-showAnimation)\n */\n showAnimation ? : Boolean|object\n /**\n * Set to `true` to show the splitter's collapse/expand buttons, or to 'start' or 'end' to only show\n * buttons pointing to the previous or next element respectively.\n * [More...](https://bryntum.com/products/calendar/docs/api/Core/widget/Splitter#config-showButtons)\n */\n showButtons ? : Boolean|'start'|'end'\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 * 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/Splitter#config-tab)\n */\n tab ? : Boolean|TabConfig\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/Splitter#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/Core/widget/Splitter#config-tooltip)\n */\n tooltip ? : string|TooltipConfig|null\n type ? : 'splitter'\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/Splitter#config-ui)\n */\n ui ? : string|object\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/Splitter#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/Splitter#config-y)\n */\n y ? : number\n\n}>();\n\nconst emit = defineEmits<{\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 }) => boolean|void)|string): 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/Splitter#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 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 * Fired while dragging\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Splitter} params.event.source The Splitter\n * @param {MouseEvent,TouchEvent} params.event.event The DOM event\n */\n (e: 'drag', params: ((event: { source: Splitter, event: MouseEvent|TouchEvent }) => void)|string): void\n /**\n * Fired when a drag starts\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Splitter} params.event.source The Splitter\n * @param {MouseEvent,TouchEvent} params.event.event The DOM event\n */\n (e: 'dragStart', params: ((event: { source: Splitter, event: MouseEvent|TouchEvent }) => void)|string): void\n /**\n * Fired after a drop\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Splitter} params.event.source The Splitter\n * @param {MouseEvent,TouchEvent} params.event.event The DOM event\n */\n (e: 'drop', params: ((event: { source: Splitter, event: MouseEvent|TouchEvent }) => 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/Splitter#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\nconst widgetData = {\n instanceClass : Splitter,\n instanceName : 'Splitter',\n\n configNames : [\n 'adopt',\n 'align',\n 'anchor',\n 'ariaDescription',\n 'ariaLabel',\n 'bubbleEvents',\n 'centered',\n 'color',\n 'config',\n 'constrainTo',\n 'contentElementCls',\n 'dataField',\n 'defaultBindProperty',\n 'detectCSSCompatibilityIssues',\n 'dock',\n 'draggable',\n 'elementAttributes',\n 'floating',\n 'hideAnimation',\n 'htmlCls',\n 'ignoreParentReadOnly',\n 'listeners',\n 'localeClass',\n 'localizable',\n 'localizableProperties',\n 'maskDefaults',\n 'masked',\n 'monitorResize',\n 'orientation',\n 'positioned',\n 'preventTooltipOnTouch',\n 'relayStoreEvents',\n 'ripple',\n 'role',\n 'rootElement',\n 'scrollAction',\n 'showAnimation',\n 'showButtons',\n 'showTooltipWhenDisabled',\n 'tab',\n 'tag',\n 'textAlign',\n 'title',\n 'type',\n 'ui',\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 'insertBefore',\n 'insertFirst',\n 'keyMap',\n 'margin',\n 'maxHeight',\n 'maximizeOnMobile',\n 'maxWidth',\n 'minHeight',\n 'minWidth',\n 'onBeforeDestroy',\n 'onBeforeHide',\n 'onBeforeShow',\n 'onCatchAll',\n 'onDestroy',\n 'onDrag',\n 'onDragStart',\n 'onDrop',\n 'onElementCreated',\n 'onFocusIn',\n 'onFocusOut',\n 'onHide',\n 'onPaint',\n 'onReadOnly',\n 'onRecompose',\n 'onResize',\n 'onShow',\n 'readOnly',\n 'rtl',\n 'scrollable',\n 'span',\n 'tooltip',\n 'width',\n 'x',\n 'y'\n ],\n propertyNames : [\n 'parent'\n ],\n eventNames : [\n 'beforeDestroy',\n 'beforeHide',\n 'beforeShow',\n 'catchAll',\n 'destroy',\n 'drag',\n 'dragStart',\n 'drop',\n 'elementCreated',\n 'focusIn',\n 'focusOut',\n 'hide',\n 'paint',\n 'readOnly',\n 'recompose',\n 'resize',\n 'show'\n ]\n};\n\nconst instance: {\n value?: Splitter\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 Splitter>({\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","Splitter","instance","refElement","ref","teleports","provide","onMounted","me","getCurrentInstance","WrapperHelper","toRaw","watcher","prop","callback","watch","onBeforeUnmount","__expose","_createElementBlock"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwbA,UAAMA,IAAOC,GAgKPC,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,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,MAAA;AAAA,MAEJ,eAAgB;AAAA,QACZ;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,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,aAA8B;AAAA,QACzD,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,mBAxvBGa,EAEM,OAAA;AAAA,eAFG;AAAA,MAAJ,KAAIf;AAAA,IAAA;;;"}
@@ -1,7 +1,7 @@
1
- import { defineComponent as p, ref as r, provide as g, onMounted as C, getCurrentInstance as S, toRaw as D, onBeforeUnmount as R, openBlock as y, createElementBlock as v, watch as h } from "vue";
2
- import { ProjectModel as M } from "@bryntum/calendar";
3
- import { WrapperHelper as i } from "../helper/WrapperHelper.js";
4
- const x = /* @__PURE__ */ p({
1
+ import { defineComponent as p, ref as r, provide as g, onMounted as C, getCurrentInstance as S, toRaw as D, onBeforeUnmount as R, openBlock as y, createElementBlock as v, watch as M } from "vue";
2
+ import { ProjectModel as f } from "@bryntum/calendar";
3
+ import { WrapperHelper as d } from "../helper/WrapperHelper.js";
4
+ const I = /* @__PURE__ */ p({
5
5
  __name: "BryntumCalendarProjectModel",
6
6
  props: {
7
7
  adjustDurationToDST: {},
@@ -53,9 +53,9 @@ const x = /* @__PURE__ */ p({
53
53
  useRawData: {}
54
54
  },
55
55
  emits: ["change", "dataReady"],
56
- setup(f, { expose: d, emit: l }) {
57
- const c = l, a = {
58
- instanceClass: M,
56
+ setup(h, { expose: i, emit: l }) {
57
+ const c = l, n = {
58
+ instanceClass: f,
59
59
  instanceName: "ProjectModel",
60
60
  configNames: [
61
61
  "adjustDurationToDST",
@@ -111,16 +111,9 @@ const x = /* @__PURE__ */ p({
111
111
  "timeZone"
112
112
  ],
113
113
  propertyNames: [
114
- "allChildren",
115
- "allUnfilteredChildren",
116
114
  "descendantCount",
117
- "hasGeneratedId",
118
115
  "inlineData",
119
- "internalId",
120
- "isCommitting",
121
116
  "isCreating",
122
- "isValid",
123
- "previousSiblingsTotalCount",
124
117
  "visibleDescendantCount"
125
118
  ],
126
119
  eventNames: [
@@ -129,29 +122,29 @@ const x = /* @__PURE__ */ p({
129
122
  ]
130
123
  }, e = {}, t = r(), s = r(/* @__PURE__ */ new Map());
131
124
  return g("teleports", s), C(() => {
132
- const n = S();
133
- e.value = i.createWidget({
134
- me: n,
135
- widgetData: a,
125
+ const a = S();
126
+ e.value = d.createWidget({
127
+ me: a,
128
+ widgetData: n,
136
129
  emit: c,
137
130
  element: t.value,
138
131
  toRaw: D
139
132
  });
140
- const o = (m, u) => h(() => n.props[m], u);
141
- i.watchProps(e.value, a, o);
133
+ const o = (m, u) => M(() => a.props[m], u);
134
+ d.watchProps(e.value, n, o);
142
135
  }), R(() => {
143
136
  e.value?.destroy?.();
144
- }), d({
137
+ }), i({
145
138
  instance: e,
146
139
  refElement: t,
147
140
  teleports: s
148
- }), (n, o) => (y(), v("div", {
141
+ }), (a, o) => (y(), v("div", {
149
142
  ref_key: "refElement",
150
143
  ref: t
151
144
  }, null, 512));
152
145
  }
153
146
  });
154
147
  export {
155
- x as _
148
+ I as _
156
149
  };
157
- //# sourceMappingURL=Baux7HCy.js.map
150
+ //# sourceMappingURL=BIHU8niN.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BIHU8niN.js","sources":["../../src/components/BryntumCalendarProjectModel.vue"],"sourcesContent":["<!-- Vue 3 wrapper for Bryntum ProjectModel -->\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 { AssignmentModel, AssignmentModelConfig, AssignmentStore, AssignmentStoreConfig, DependencyModel, DependencyModelConfig, DependencyStore, DependencyStoreConfig, EventModel, EventModelConfig, EventStore, EventStoreConfig, Model, ModelConfig, ResourceModel, ResourceModelConfig, ResourceStore, ResourceStoreConfig, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, SchedulerProjectModel, SchedulerTimeRangeModel, StateTrackingManager, StateTrackingManagerConfig, Store, StoreConfig, TimeRangeModel, TimeRangeModelConfig, TimeSpan } from '@bryntum/calendar';\nimport { ProjectModel } from '@bryntum/calendar';\n\nimport { WrapperHelper } from '../helper/WrapperHelper';\n\ndefineProps<{\n // Configs\n /**\n * A flag, indicating whether the dates and duration calculations should adjust the result to DST time shift.\n */\n adjustDurationToDST ? : Boolean\n /**\n * The constructor of the assignment model class, to be used in the project. Will be set as the\n * [modelClass](https://bryntum.com/products/calendar/docs/api/Core/data/Store#config-modelClass) property of the [assignmentStore](#Scheduler/model/ProjectModel#property-assignmentStore)\n */\n assignmentModelClass ? : typeof AssignmentModel\n /**\n * Data use to fill the [assignmentStore](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#property-assignmentStore). Should be an array of\n * [AssignmentModels](https://bryntum.com/products/calendar/docs/api/Scheduler/model/AssignmentModel) or its configuration objects.\n */\n assignments ? : AssignmentModel[]|AssignmentModelConfig[]\n /**\n * The initial data, to fill the [assignmentStore](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#property-assignmentStore) with.\n * Should be an array of [AssignmentModels](https://bryntum.com/products/calendar/docs/api/Scheduler/model/AssignmentModel) or its configuration\n * objects.\n * @deprecated 6.3.0 Use [assignments](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#config-assignments) instead\n */\n assignmentsData ? : AssignmentModel[]|AssignmentModelConfig[]\n /**\n * An [AssignmentStore](https://bryntum.com/products/calendar/docs/api/Scheduler/data/AssignmentStore) instance or a config object.\n */\n assignmentStore ? : AssignmentStore|AssignmentStoreConfig\n /**\n * The constructor to create an assignment store instance with. Should be a class, subclassing the\n * [AssignmentStore](https://bryntum.com/products/calendar/docs/api/Scheduler/data/AssignmentStore)\n */\n assignmentStoreClass ? : typeof AssignmentStore|object\n /**\n * Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf\n * tasks.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/model/ProjectModel#config-children)\n */\n children ? : Boolean|object[]|Model[]|ModelConfig[]\n /**\n * Data use to fill the [dependencyStore](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#property-dependencyStore). Should be an array of\n * [DependencyModels](https://bryntum.com/products/calendar/docs/api/Scheduler/model/DependencyModel) or its configuration objects.\n */\n dependencies ? : DependencyModel[]|DependencyModelConfig[]\n /**\n * The initial data, to fill the [dependencyStore](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#property-dependencyStore) with.\n * Should be an array of [DependencyModels](https://bryntum.com/products/calendar/docs/api/Scheduler/model/DependencyModel) or its configuration\n * objects.\n * @deprecated 6.3.0 Use [dependencies](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#config-dependencies) instead\n */\n dependenciesData ? : DependencyModel[]|DependencyModelConfig[]\n /**\n * The constructor of the dependency model class, to be used in the project. Will be set as the\n * [modelClass](https://bryntum.com/products/calendar/docs/api/Core/data/Store#config-modelClass) property of the [dependencyStore](#Scheduler/model/ProjectModel#property-dependencyStore)\n */\n dependencyModelClass ? : typeof DependencyModel\n /**\n * A [DependencyStore](https://bryntum.com/products/calendar/docs/api/Scheduler/data/DependencyStore) instance or a config object.\n */\n dependencyStore ? : DependencyStore|DependencyStoreConfig\n /**\n * The constructor to create a dependency store instance with. Should be a class, subclassing the\n * [DependencyStore](https://bryntum.com/products/calendar/docs/api/Scheduler/data/DependencyStore)\n */\n dependencyStoreClass ? : typeof DependencyStore|object\n /**\n * The constructor of the event model class, to be used in the project. Will be set as the\n * [modelClass](https://bryntum.com/products/calendar/docs/api/Core/data/Store#config-modelClass) property of the [eventStore](#Scheduler/model/ProjectModel#property-eventStore)\n */\n eventModelClass ? : typeof EventModel\n /**\n * Data use to fill the [eventStore](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#property-eventStore). Should be an array of\n * [EventModels](https://bryntum.com/products/calendar/docs/api/Scheduler/model/EventModel) or its configuration objects.\n */\n events ? : EventModel[]|EventModelConfig[]\n /**\n * The initial data, to fill the [eventStore](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#property-eventStore) with.\n * Should be an array of [EventModels](https://bryntum.com/products/calendar/docs/api/Scheduler/model/EventModel) or its configuration objects.\n * @deprecated 6.3.0 Use [events](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#config-events) instead\n */\n eventsData ? : EventModel[]|EventModelConfig[]\n /**\n * An [EventStore](https://bryntum.com/products/calendar/docs/api/Scheduler/data/EventStore) instance or a config object.\n */\n eventStore ? : EventStore|EventStoreConfig\n /**\n * The constructor to create an event store instance with. Should be a class, subclassing the\n * [EventStore](https://bryntum.com/products/calendar/docs/api/Scheduler/data/EventStore)\n */\n eventStoreClass ? : typeof EventStore|object\n /**\n * Start expanded or not (only valid for tree data)\n */\n expanded ? : Boolean\n /**\n * Unique identifier for the record. Might be mapped to another dataSource using idField, but always exposed as\n * record.id. Will get a generated value if none is specified in records data.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/model/ProjectModel#config-id)\n */\n id ? : string|number\n /**\n * Whether to include legacy data properties in the JSON / inlineData output. The legacy data properties are\n * the `xxData` (`eventsData`, `resourcesData` etc.) properties that are deprecated and will be removed in\n * the future.\n * @deprecated 6.3.0 This config will be removed when the eventsData, resourcesData etc. properties are removed in a future release.\n */\n includeLegacyDataProperties ? : Boolean\n /**\n * This field is added to the class at runtime when the Store is configured with\n * [lazyLoad](https://bryntum.com/products/calendar/docs/api/Core/data/Store#config-lazyLoad). If set on a parent record at load time, that parent will not cause any\n * more child load requests. If omitted, it will be automatically set to `true` when a load request receives fewer\n * child records than requested.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/model/ProjectModel#config-isFullyLoaded)\n */\n isFullyLoaded ? : Boolean\n /**\n * Project data as a JSON string, used to populate its stores.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/model/ProjectModel#config-json)\n */\n json ? : string\n /**\n * This is a read-only field provided in server synchronization packets to specify\n * which position the node takes in the parent's ordered children array.\n * This index is set on load and gets updated on reordering nodes in tree. Sorting and filtering\n * have no effect on it.\n */\n orderedParentIndex ? : number\n /**\n * This is a read-only field provided in server synchronization packets to specify\n * which record id is the parent of the record.\n */\n parentId ? : string|number|null\n /**\n * This is a read-only field provided in server synchronization packets to specify\n * which position the node takes in the parent's children array.\n * This index is set on load and gets updated automatically after row reordering, sorting, etc.\n * To save the order, need to persist the field on the server and when data is fetched to be loaded,\n * need to sort by this field.\n */\n parentIndex ? : number\n /**\n * Flag the record as read-only on the UI level, preventing the end user from manipulating it using editing\n * features such as cell editing and event dragging.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/model/ProjectModel#config-readOnly)\n */\n readOnly ? : Boolean\n /**\n * This field is added to the class at runtime when the Store is configured with\n * [lazyLoad](https://bryntum.com/products/calendar/docs/api/Core/data/Store#config-lazyLoad). The\n * number specified should reflect the <strong>total</strong> amount of children of a parent node, including nested descendants.\n * @deprecated This field has been deprecated. Please read the [guide](https://bryntum.com/products/calendar/docs/api/Grid/guides/data/lazyloading.md) to find out if your app needs to use the new [isFullyLoaded](https://bryntum.com/products/calendar/docs/api/Core/data/mixin/TreeNode#field-isFullyLoaded) field.\n */\n remoteChildCount ? : number\n /**\n * The constructor of the resource model class, to be used in the project. Will be set as the\n * [modelClass](https://bryntum.com/products/calendar/docs/api/Core/data/Store#config-modelClass) property of the [resourceStore](#Scheduler/model/ProjectModel#property-resourceStore)\n */\n resourceModelClass ? : typeof ResourceModel\n /**\n * Data use to fill the [resourceStore](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#property-resourceStore). Should be an array of\n * [ResourceModels](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ResourceModel) or its configuration objects.\n */\n resources ? : ResourceModel[]|ResourceModelConfig[]\n /**\n * The initial data, to fill the [resourceStore](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#property-resourceStore) with.\n * Should be an array of [ResourceModels](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ResourceModel) or its configuration objects.\n * @deprecated 6.3.0 Use [resources](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#config-resources) instead\n */\n resourcesData ? : ResourceModel[]|ResourceModelConfig[]\n /**\n * A [ResourceStore](https://bryntum.com/products/calendar/docs/api/Scheduler/data/ResourceStore) instance or a config object.\n */\n resourceStore ? : ResourceStore|ResourceStoreConfig\n /**\n * The constructor to create a resource store instance with. Should be a class, subclassing the\n * [ResourceStore](https://bryntum.com/products/calendar/docs/api/Scheduler/data/ResourceStore)\n */\n resourceStoreClass ? : typeof ResourceStore|object\n /**\n * Data use to fill the [resourceTimeRangeStore](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#property-resourceTimeRangeStore). Should be an array\n * of [ResourceTimeRangeModels](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ResourceTimeRangeModel) or its configuration objects.\n */\n resourceTimeRanges ? : ResourceTimeRangeModel[]|ResourceTimeRangeModelConfig[]\n /**\n * The initial data, to fill the [resourceTimeRangeStore](https://bryntum.com/products/calendar/docs/api/Scheduler/model/mixin/ProjectModelMixin#property-resourceTimeRangeStore) with.\n * Should be an array of [ResourceTimeRangeModel](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ResourceTimeRangeModel) or it's\n * configuration objects.\n * @deprecated 6.3.0 Use resourceTimeRanges instead\n */\n resourceTimeRangesData ? : ResourceTimeRangeModel[]\n /**\n * A [ResourceTimeRangeStore](https://bryntum.com/products/calendar/docs/api/Scheduler/data/ResourceTimeRangeStore) instance or a config object.\n */\n resourceTimeRangeStore ? : ResourceTimeRangeStore|ResourceTimeRangeStoreConfig\n /**\n * The constructor to create a resource time range store instance with. Should be a class subclassing the\n * [ResourceTimeRangeStore](https://bryntum.com/products/calendar/docs/api/Scheduler/data/ResourceTimeRangeStore)\n */\n resourceTimeRangeStoreClass ? : typeof ResourceTimeRangeStore|object\n /**\n * Experimental hook that lets the app determine if a bound dataset needs syncing with the store or not, and\n * if it does - which records that should be processed. Only called for stores that are configured with\n * `syncDataOnLoad: true` (which is the default in the React, Angular and Vue wrappers).\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/model/ProjectModel#config-shouldSyncDataOnLoad)\n * @param {object} options Options passed by the store to this hook\n * @param {Core.data.Store} options.store Store about to be synced\n * @param {Core.data.Model} options.records Records currently in the store\n * @param {object[]} options.data Incoming data\n * @returns {Set<any>,boolean} Return `false` to prevent the store from syncing, or a set of record ids that need further processing (for records that has some kind of change, eg. an update, removal or addition)\n */\n shouldSyncDataOnLoad ? : (options: { store: Store, records: Model, data: object[] }) => Set<any>|Boolean\n /**\n * Silences propagations caused by the project loading.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/model/ProjectModel#config-silenceInitialCommit)\n */\n silenceInitialCommit ? : Boolean\n /**\n * Configuration options to provide to the STM manager\n */\n stm ? : StateTrackingManagerConfig|StateTrackingManager\n /**\n * The constructor of the time range model class, to be used in the project. Will be set as the\n * [modelClass](https://bryntum.com/products/calendar/docs/api/Core/data/Store#config-modelClass) property of the [timeRangeStore](#Calendar/model/ProjectModel#property-timeRangeStore)\n */\n timeRangeModelClass ? : typeof TimeRangeModel\n /**\n * Data use to fill the [timeRangeStore](https://bryntum.com/products/calendar/docs/api/Scheduler/model/ProjectModel#property-timeRangeStore). Should be an array of\n * [TimeRangeModels](https://bryntum.com/products/calendar/docs/api/Scheduler/model/TimeRangeModel) or its configuration objects.\n */\n timeRanges ? : SchedulerTimeRangeModel[]|TimeRangeModelConfig[]\n /**\n * The initial data, to fill the [timeRangeStore](https://bryntum.com/products/calendar/docs/api/Scheduler/model/mixin/ProjectModelMixin#property-timeRangeStore) with.\n * Should be an array of [TimeSpan](https://bryntum.com/products/calendar/docs/api/Scheduler/model/TimeSpan) or its configuration objects.\n * @deprecated 6.3.0 Use timeRanges instead\n */\n timeRangesData ? : TimeSpan[]\n /**\n * A [Store](https://bryntum.com/products/calendar/docs/api/Core/data/Store) instance or a config object.\n */\n timeRangeStore ? : Store|StoreConfig\n /**\n * The constructor to create an timeRange store instance with. Should be a class, subclassing the\n * [Store](https://bryntum.com/products/calendar/docs/api/Core/data/Store)\n */\n timeRangeStoreClass ? : typeof Store|object\n /**\n * Set to a IANA time zone (i.e. `Europe/Stockholm`) or a UTC offset in minutes (i.e. `-120`). This will\n * convert all events, tasks and time ranges to the specified time zone or offset. It will also affect the\n * displayed timeline's headers as well at the start and end date of it.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/model/ProjectModel#config-timeZone)\n */\n timeZone ? : string|number\n /**\n * Specifies the output format of [toJSON](https://bryntum.com/products/calendar/docs/api/Scheduler/model/mixin/ProjectModelCommon#function-toJSON).\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/model/ProjectModel#config-toJSONResultFormat)\n */\n toJSONResultFormat ? : 'inlineData'|'model'\n /**\n * By default, the stores of a project use the raw data objects passed to them as the data source for their\n * records if data is loaded remotely (using an `AjaxStore` or a `CrudManager`). For data supplied inline,\n * the data objects are instead by default cloned to avoid the original data object being modified by the\n * store.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/model/ProjectModel#config-useRawData)\n */\n useRawData ? : Boolean\n\n}>();\n\nconst emit = defineEmits<{\n /**\n * Fired when data in any of the projects stores changes.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/model/ProjectModel#event-change)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Scheduler.model.SchedulerProjectModel,any} params.event.source This project\n * @param {Core.data.Store} params.event.store Affected store\n * @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} params.event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`\n * @param {Core.data.Model} params.event.record Changed record, for actions that affects exactly one record (`'update'`)\n * @param {Core.data.Model[]} params.event.records Changed records, passed for all actions except `'removeAll'`\n * @param {object} params.event.changes Passed for the `'update'` action, info on which record fields changed\n */\n (e: 'change', params: ((event: { source: SchedulerProjectModel|any, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string): void\n /**\n * Fired when the engine has finished its calculations and the results has been written back to the records.\n * [More...](https://bryntum.com/products/calendar/docs/api/Calendar/model/ProjectModel#event-dataReady)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Scheduler.model.SchedulerProjectModel,any} params.event.source The project\n * @param {boolean} params.event.isInitialCommit Flag that shows if this commit is initial\n * @param {Set<any>} params.event.records Set of all [Model](https://bryntum.com/products/calendar/docs/api/Core/data/Model)s that were modified in the completed transaction. Use the [modifications](https://bryntum.com/products/calendar/docs/api/Core/data/Model#property-modifications) property of each Model to identify modified fields.\n */\n (e: 'dataReady', params: ((event: { source: SchedulerProjectModel|any, isInitialCommit: boolean, records: Set<any> }) => void)|string): void\n}>();\n\nconst widgetData = {\n instanceClass : ProjectModel,\n instanceName : 'ProjectModel',\n\n configNames : [\n 'adjustDurationToDST',\n 'assignmentModelClass',\n 'assignmentsData',\n 'assignmentStoreClass',\n 'children',\n 'dependenciesData',\n 'dependencyModelClass',\n 'dependencyStoreClass',\n 'eventModelClass',\n 'eventsData',\n 'eventStoreClass',\n 'expanded',\n 'orderedParentIndex',\n 'parentIndex',\n 'resourceModelClass',\n 'resourcesData',\n 'resourceStoreClass',\n 'resourceTimeRangesData',\n 'resourceTimeRangeStoreClass',\n 'silenceInitialCommit',\n 'timeRangeModelClass',\n 'timeRangesData',\n 'timeRangeStoreClass',\n 'toJSONResultFormat',\n 'useRawData'\n ],\n propertyConfigNames : [\n 'assignments',\n 'assignmentStore',\n 'dependencies',\n 'dependencyStore',\n 'events',\n 'eventStore',\n 'id',\n 'includeLegacyDataProperties',\n 'isFullyLoaded',\n 'json',\n 'onChange',\n 'onDataReady',\n 'parentId',\n 'readOnly',\n 'remoteChildCount',\n 'resources',\n 'resourceStore',\n 'resourceTimeRanges',\n 'resourceTimeRangeStore',\n 'shouldSyncDataOnLoad',\n 'stm',\n 'timeRanges',\n 'timeRangeStore',\n 'timeZone'\n ],\n propertyNames : [\n 'descendantCount',\n 'inlineData',\n 'isCreating',\n 'visibleDescendantCount'\n ],\n eventNames : [\n 'change',\n 'dataReady'\n ]\n};\n\nconst instance: {\n value?: ProjectModel\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 ProjectModel>({\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","ProjectModel","instance","refElement","ref","teleports","provide","onMounted","me","getCurrentInstance","WrapperHelper","toRaw","watcher","prop","callback","watch","onBeforeUnmount","__expose","_createElementBlock"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4RA,UAAMA,IAAOC,GA4BPC,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,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,MAAA;AAAA,MAEJ,eAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,YAAa;AAAA,QACT;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,aAAkC;AAAA,QAC7D,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,mBA9ZGa,EAEM,OAAA;AAAA,eAFG;AAAA,MAAJ,KAAIf;AAAA,IAAA;;;"}
@@ -0,0 +1,57 @@
1
+ import { defineComponent as n, ref as h, onMounted as m, onBeforeUnmount as d, openBlock as s, createElementBlock as c } from "vue";
2
+ import { Combo as b, DomHelper as k, BrowserHelper as g } from "@bryntum/calendar";
3
+ const v = /* @__PURE__ */ n({
4
+ __name: "BryntumThemeCombo",
5
+ setup(u) {
6
+ const a = h(null);
7
+ let e = null;
8
+ return m(() => {
9
+ e = new b({
10
+ appendTo: a.value,
11
+ store: {
12
+ data: [
13
+ { id: "svalbard-light", text: "Svalbard Light" },
14
+ { id: "svalbard-dark", text: "Svalbard Dark" },
15
+ { id: "visby-light", text: "Visby Light" },
16
+ { id: "visby-dark", text: "Visby Dark" },
17
+ { id: "stockholm-light", text: "Stockholm Light" },
18
+ { id: "stockholm-dark", text: "Stockholm Dark" },
19
+ { id: "material3-light", text: "Material3 Light" },
20
+ { id: "material3-dark", text: "Material3 Dark" },
21
+ { id: "fluent2-light", text: "Fluent2 Light" },
22
+ { id: "fluent2-dark", text: "Fluent2 Dark" },
23
+ { id: "high-contrast-light", text: "High Contrast Light" },
24
+ { id: "high-contrast-dark", text: "High Contrast Dark" }
25
+ ]
26
+ },
27
+ label: "Theme",
28
+ width: "16em",
29
+ value: "svalbard-light",
30
+ editable: !1,
31
+ labelPosition: "before",
32
+ ref: "themeCombo",
33
+ listeners: {
34
+ change({ value: r }) {
35
+ k.setTheme(r).then((o) => {
36
+ if (o) {
37
+ const { theme: i, prev: l } = o;
38
+ document.body.classList.remove(`b-theme-${l}`), document.body.classList.add(`b-theme-${i}`);
39
+ }
40
+ });
41
+ }
42
+ }
43
+ });
44
+ const t = g.searchParam("theme");
45
+ t && (e.value = t);
46
+ }), d(() => {
47
+ e?.destroy();
48
+ }), (t, r) => (s(), c("div", {
49
+ ref_key: "refElement",
50
+ ref: a
51
+ }, null, 512));
52
+ }
53
+ });
54
+ export {
55
+ v as _
56
+ };
57
+ //# sourceMappingURL=BMxd9tFw.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BMxd9tFw.js","sources":["../../src/components/BryntumThemeCombo.vue"],"sourcesContent":["<template>\n <div ref=\"refElement\" />\n</template>\n\n<script setup lang=\"ts\">\nimport { onBeforeUnmount, onMounted, ref } from 'vue';\nimport { Combo, DomHelper, BrowserHelper } from '@bryntum/calendar';\n\nconst refElement = ref<HTMLElement | null>(null);\nlet combo: Combo | null = null;\n\nonMounted(() => {\n combo = new Combo({\n appendTo : refElement.value as HTMLElement,\n store : {\n data : [\n { id : 'svalbard-light', text : 'Svalbard Light' },\n { id : 'svalbard-dark', text : 'Svalbard Dark' },\n { id : 'visby-light', text : 'Visby Light' },\n { id : 'visby-dark', text : 'Visby Dark' },\n { id : 'stockholm-light', text : 'Stockholm Light' },\n { id : 'stockholm-dark', text : 'Stockholm Dark' },\n { id : 'material3-light', text : 'Material3 Light' },\n { id : 'material3-dark', text : 'Material3 Dark' },\n { id : 'fluent2-light', text : 'Fluent2 Light' },\n { id : 'fluent2-dark', text : 'Fluent2 Dark' },\n { id : 'high-contrast-light', text : 'High Contrast Light' },\n { id : 'high-contrast-dark', text : 'High Contrast Dark' }\n ]\n },\n label : 'Theme',\n width : '16em',\n value : 'svalbard-light',\n editable : false,\n labelPosition : 'before',\n ref : 'themeCombo',\n listeners : {\n change({ value }: { value: string }) {\n DomHelper.setTheme(value).then((context: any) => {\n if (context) {\n const { theme, prev } = context;\n document.body.classList.remove(`b-theme-${prev}`);\n document.body.classList.add(`b-theme-${theme}`);\n }\n });\n }\n }\n });\n\n // Apply from search param\n const theme = BrowserHelper.searchParam('theme');\n if (theme) {\n combo.value = theme;\n }\n});\n\nonBeforeUnmount(() => {\n combo?.destroy();\n});\n</script>\n"],"names":["refElement","ref","combo","onMounted","Combo","value","DomHelper","context","theme","prev","BrowserHelper","onBeforeUnmount","_createElementBlock"],"mappings":";;;;;AAQA,UAAMA,IAAaC,EAAwB,IAAI;AAC/C,QAAIC,IAAsB;AAE1B,WAAAC,EAAU,MAAM;AACZ,MAAAD,IAAQ,IAAIE,EAAM;AAAA,QACd,UAAWJ,EAAW;AAAA,QACtB,OAAW;AAAA,UACP,MAAO;AAAA,YACH,EAAE,IAAK,kBAAkB,MAAO,iBAAA;AAAA,YAChC,EAAE,IAAK,iBAAiB,MAAO,gBAAA;AAAA,YAC/B,EAAE,IAAK,eAAe,MAAO,cAAA;AAAA,YAC7B,EAAE,IAAK,cAAc,MAAO,aAAA;AAAA,YAC5B,EAAE,IAAK,mBAAmB,MAAO,kBAAA;AAAA,YACjC,EAAE,IAAK,kBAAkB,MAAO,iBAAA;AAAA,YAChC,EAAE,IAAK,mBAAmB,MAAO,kBAAA;AAAA,YACjC,EAAE,IAAK,kBAAkB,MAAO,iBAAA;AAAA,YAChC,EAAE,IAAK,iBAAiB,MAAO,gBAAA;AAAA,YAC/B,EAAE,IAAK,gBAAgB,MAAO,eAAA;AAAA,YAC9B,EAAE,IAAK,uBAAuB,MAAO,sBAAA;AAAA,YACrC,EAAE,IAAK,sBAAsB,MAAO,qBAAA;AAAA,UAAqB;AAAA,QAC7D;AAAA,QAEJ,OAAgB;AAAA,QAChB,OAAgB;AAAA,QAChB,OAAgB;AAAA,QAChB,UAAgB;AAAA,QAChB,eAAgB;AAAA,QAChB,KAAgB;AAAA,QAChB,WAAgB;AAAA,UACZ,OAAO,EAAE,OAAAK,KAA4B;AACjC,YAAAC,EAAU,SAASD,CAAK,EAAE,KAAK,CAACE,MAAiB;AAC7C,kBAAIA,GAAS;AACT,sBAAM,EAAE,OAAAC,GAAO,MAAAC,EAAA,IAASF;AACxB,yBAAS,KAAK,UAAU,OAAO,WAAWE,CAAI,EAAE,GAChD,SAAS,KAAK,UAAU,IAAI,WAAWD,CAAK,EAAE;AAAA,cAClD;AAAA,YACJ,CAAC;AAAA,UACL;AAAA,QAAA;AAAA,MACJ,CACH;AAGD,YAAMA,IAAQE,EAAc,YAAY,OAAO;AAC/C,MAAIF,MACAN,EAAM,QAAQM;AAAA,IAEtB,CAAC,GAEDG,EAAgB,MAAM;AAClB,MAAAT,GAAO,QAAA;AAAA,IACX,CAAC,mBAzDGU,EAAwB,OAAA;AAAA,eAAf;AAAA,MAAJ,KAAIZ;AAAA,IAAA;;;"}