@bryntum/calendar-vue-3 7.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (520) hide show
  1. package/README.md +53 -0
  2. package/lib/chunks/6e5LeSJU.js +348 -0
  3. package/lib/chunks/6e5LeSJU.js.map +1 -0
  4. package/lib/chunks/Au1iuOl5.js +231 -0
  5. package/lib/chunks/Au1iuOl5.js.map +1 -0
  6. package/lib/chunks/AuFgCdLX.js +265 -0
  7. package/lib/chunks/AuFgCdLX.js.map +1 -0
  8. package/lib/chunks/B4_IqbDS.js +313 -0
  9. package/lib/chunks/B4_IqbDS.js.map +1 -0
  10. package/lib/chunks/B7YXa-I1.js +315 -0
  11. package/lib/chunks/B7YXa-I1.js.map +1 -0
  12. package/lib/chunks/B8gugSPH.js +303 -0
  13. package/lib/chunks/B8gugSPH.js.map +1 -0
  14. package/lib/chunks/B9IN35xb.js +722 -0
  15. package/lib/chunks/B9IN35xb.js.map +1 -0
  16. package/lib/chunks/BCQU3pVW.js +332 -0
  17. package/lib/chunks/BCQU3pVW.js.map +1 -0
  18. package/lib/chunks/BCapNDrC.js +1138 -0
  19. package/lib/chunks/BCapNDrC.js.map +1 -0
  20. package/lib/chunks/BGB1Jol1.js +420 -0
  21. package/lib/chunks/BGB1Jol1.js.map +1 -0
  22. package/lib/chunks/BI1N0MIj.js +233 -0
  23. package/lib/chunks/BI1N0MIj.js.map +1 -0
  24. package/lib/chunks/BNOuYpbo.js +324 -0
  25. package/lib/chunks/BNOuYpbo.js.map +1 -0
  26. package/lib/chunks/BO4n9DQP.js +308 -0
  27. package/lib/chunks/BO4n9DQP.js.map +1 -0
  28. package/lib/chunks/BOcV1Utm.js +311 -0
  29. package/lib/chunks/BOcV1Utm.js.map +1 -0
  30. package/lib/chunks/BPTCZ6IE.js +385 -0
  31. package/lib/chunks/BPTCZ6IE.js.map +1 -0
  32. package/lib/chunks/BPonWkID.js +283 -0
  33. package/lib/chunks/BPonWkID.js.map +1 -0
  34. package/lib/chunks/BUN4Rk5-.js +287 -0
  35. package/lib/chunks/BUN4Rk5-.js.map +1 -0
  36. package/lib/chunks/BXimBVRa.js +515 -0
  37. package/lib/chunks/BXimBVRa.js.map +1 -0
  38. package/lib/chunks/Baux7HCy.js +157 -0
  39. package/lib/chunks/Baux7HCy.js.map +1 -0
  40. package/lib/chunks/BhoSqDZl.js +382 -0
  41. package/lib/chunks/BhoSqDZl.js.map +1 -0
  42. package/lib/chunks/BmShyJT9.js +283 -0
  43. package/lib/chunks/BmShyJT9.js.map +1 -0
  44. package/lib/chunks/Bpz21Q9F.js +279 -0
  45. package/lib/chunks/Bpz21Q9F.js.map +1 -0
  46. package/lib/chunks/Br_UPlga.js +322 -0
  47. package/lib/chunks/Br_UPlga.js.map +1 -0
  48. package/lib/chunks/BtTswK-2.js +380 -0
  49. package/lib/chunks/BtTswK-2.js.map +1 -0
  50. package/lib/chunks/BuuryInq.js +284 -0
  51. package/lib/chunks/BuuryInq.js.map +1 -0
  52. package/lib/chunks/BwlMnX42.js +273 -0
  53. package/lib/chunks/BwlMnX42.js.map +1 -0
  54. package/lib/chunks/BxJmG96S.js +673 -0
  55. package/lib/chunks/BxJmG96S.js.map +1 -0
  56. package/lib/chunks/BzUFQEuh.js +865 -0
  57. package/lib/chunks/BzUFQEuh.js.map +1 -0
  58. package/lib/chunks/C04gcDe3.js +90 -0
  59. package/lib/chunks/C04gcDe3.js.map +1 -0
  60. package/lib/chunks/C0MrmpSO.js +304 -0
  61. package/lib/chunks/C0MrmpSO.js.map +1 -0
  62. package/lib/chunks/C3SXPZJJ.js +332 -0
  63. package/lib/chunks/C3SXPZJJ.js.map +1 -0
  64. package/lib/chunks/CIQAmaY-.js +311 -0
  65. package/lib/chunks/CIQAmaY-.js.map +1 -0
  66. package/lib/chunks/CMw4TMDz.js +285 -0
  67. package/lib/chunks/CMw4TMDz.js.map +1 -0
  68. package/lib/chunks/COlyo1Wo.js +340 -0
  69. package/lib/chunks/COlyo1Wo.js.map +1 -0
  70. package/lib/chunks/COpeCHCq.js +331 -0
  71. package/lib/chunks/COpeCHCq.js.map +1 -0
  72. package/lib/chunks/CS4HSz2w.js +289 -0
  73. package/lib/chunks/CS4HSz2w.js.map +1 -0
  74. package/lib/chunks/C_mtEjpv.js +382 -0
  75. package/lib/chunks/C_mtEjpv.js.map +1 -0
  76. package/lib/chunks/ChCStTku.js +480 -0
  77. package/lib/chunks/ChCStTku.js.map +1 -0
  78. package/lib/chunks/CkcPGhiH.js +332 -0
  79. package/lib/chunks/CkcPGhiH.js.map +1 -0
  80. package/lib/chunks/Cl4Odf2t.js +316 -0
  81. package/lib/chunks/Cl4Odf2t.js.map +1 -0
  82. package/lib/chunks/ClGqwKHp.js +422 -0
  83. package/lib/chunks/ClGqwKHp.js.map +1 -0
  84. package/lib/chunks/CnJKO_p1.js +408 -0
  85. package/lib/chunks/CnJKO_p1.js.map +1 -0
  86. package/lib/chunks/CocHPfxT.js +305 -0
  87. package/lib/chunks/CocHPfxT.js.map +1 -0
  88. package/lib/chunks/Cpsh5wb1.js +326 -0
  89. package/lib/chunks/Cpsh5wb1.js.map +1 -0
  90. package/lib/chunks/CrReHJfD.js +641 -0
  91. package/lib/chunks/CrReHJfD.js.map +1 -0
  92. package/lib/chunks/Cz07volV.js +293 -0
  93. package/lib/chunks/Cz07volV.js.map +1 -0
  94. package/lib/chunks/D2pGT64x.js +318 -0
  95. package/lib/chunks/D2pGT64x.js.map +1 -0
  96. package/lib/chunks/D65UKHfq.js +301 -0
  97. package/lib/chunks/D65UKHfq.js.map +1 -0
  98. package/lib/chunks/DAPG7Ryp.js +506 -0
  99. package/lib/chunks/DAPG7Ryp.js.map +1 -0
  100. package/lib/chunks/DRBud7Vf.js +329 -0
  101. package/lib/chunks/DRBud7Vf.js.map +1 -0
  102. package/lib/chunks/DRk05Cde.js +28 -0
  103. package/lib/chunks/DRk05Cde.js.map +1 -0
  104. package/lib/chunks/DSQuUUDN.js +642 -0
  105. package/lib/chunks/DSQuUUDN.js.map +1 -0
  106. package/lib/chunks/DUc7x35-.js +285 -0
  107. package/lib/chunks/DUc7x35-.js.map +1 -0
  108. package/lib/chunks/DWa9zkiz.js +317 -0
  109. package/lib/chunks/DWa9zkiz.js.map +1 -0
  110. package/lib/chunks/DXlCOnqx.js +312 -0
  111. package/lib/chunks/DXlCOnqx.js.map +1 -0
  112. package/lib/chunks/DYF0breI.js +334 -0
  113. package/lib/chunks/DYF0breI.js.map +1 -0
  114. package/lib/chunks/DaG1s_Iy.js +299 -0
  115. package/lib/chunks/DaG1s_Iy.js.map +1 -0
  116. package/lib/chunks/Dcppz32C.js +311 -0
  117. package/lib/chunks/Dcppz32C.js.map +1 -0
  118. package/lib/chunks/Dehw9x4O.js +289 -0
  119. package/lib/chunks/Dehw9x4O.js.map +1 -0
  120. package/lib/chunks/DfqTiRbh.js +328 -0
  121. package/lib/chunks/DfqTiRbh.js.map +1 -0
  122. package/lib/chunks/DlS1ldri.js +326 -0
  123. package/lib/chunks/DlS1ldri.js.map +1 -0
  124. package/lib/chunks/Dn19CjWt.js +235 -0
  125. package/lib/chunks/Dn19CjWt.js.map +1 -0
  126. package/lib/chunks/DnHfXxVT.js +301 -0
  127. package/lib/chunks/DnHfXxVT.js.map +1 -0
  128. package/lib/chunks/DngkKfCU.js +302 -0
  129. package/lib/chunks/DngkKfCU.js.map +1 -0
  130. package/lib/chunks/DpOsHkDw.js +241 -0
  131. package/lib/chunks/DpOsHkDw.js.map +1 -0
  132. package/lib/chunks/Dr5r7W-p.js +348 -0
  133. package/lib/chunks/Dr5r7W-p.js.map +1 -0
  134. package/lib/chunks/Dw-ylqNh.js +311 -0
  135. package/lib/chunks/Dw-ylqNh.js.map +1 -0
  136. package/lib/chunks/Dxf58SvP.js +334 -0
  137. package/lib/chunks/Dxf58SvP.js.map +1 -0
  138. package/lib/chunks/H4veMHX5.js +1140 -0
  139. package/lib/chunks/H4veMHX5.js.map +1 -0
  140. package/lib/chunks/HdbtMGp9.js +285 -0
  141. package/lib/chunks/HdbtMGp9.js.map +1 -0
  142. package/lib/chunks/IO_Vc2Ew.js +446 -0
  143. package/lib/chunks/IO_Vc2Ew.js.map +1 -0
  144. package/lib/chunks/Jjh0qb7k.js +702 -0
  145. package/lib/chunks/Jjh0qb7k.js.map +1 -0
  146. package/lib/chunks/Ma6QaT97.js +515 -0
  147. package/lib/chunks/Ma6QaT97.js.map +1 -0
  148. package/lib/chunks/Ot6TFUU0.js +380 -0
  149. package/lib/chunks/Ot6TFUU0.js.map +1 -0
  150. package/lib/chunks/YwcGSX-M.js +289 -0
  151. package/lib/chunks/YwcGSX-M.js.map +1 -0
  152. package/lib/chunks/bCzZXC7O.js +277 -0
  153. package/lib/chunks/bCzZXC7O.js.map +1 -0
  154. package/lib/chunks/dR8Qrbh-.js +402 -0
  155. package/lib/chunks/dR8Qrbh-.js.map +1 -0
  156. package/lib/chunks/fKCtMbe3.js +281 -0
  157. package/lib/chunks/fKCtMbe3.js.map +1 -0
  158. package/lib/chunks/hHtgT0eU.js +520 -0
  159. package/lib/chunks/hHtgT0eU.js.map +1 -0
  160. package/lib/chunks/hfgcSOCj.js +305 -0
  161. package/lib/chunks/hfgcSOCj.js.map +1 -0
  162. package/lib/chunks/jvLNe3VS.js +639 -0
  163. package/lib/chunks/jvLNe3VS.js.map +1 -0
  164. package/lib/chunks/kRnC6m7g.js +461 -0
  165. package/lib/chunks/kRnC6m7g.js.map +1 -0
  166. package/lib/chunks/lsEyA_FU.js +313 -0
  167. package/lib/chunks/lsEyA_FU.js.map +1 -0
  168. package/lib/chunks/nuMBkhIE.js +527 -0
  169. package/lib/chunks/nuMBkhIE.js.map +1 -0
  170. package/lib/chunks/q6v1OTTI.js +344 -0
  171. package/lib/chunks/q6v1OTTI.js.map +1 -0
  172. package/lib/components/BryntumAIFilterField.js +5 -0
  173. package/lib/components/BryntumAIFilterField.js.map +1 -0
  174. package/lib/components/BryntumAgendaView.js +5 -0
  175. package/lib/components/BryntumAgendaView.js.map +1 -0
  176. package/lib/components/BryntumButton.js +5 -0
  177. package/lib/components/BryntumButton.js.map +1 -0
  178. package/lib/components/BryntumButtonGroup.js +5 -0
  179. package/lib/components/BryntumButtonGroup.js.map +1 -0
  180. package/lib/components/BryntumCalendar.js +5 -0
  181. package/lib/components/BryntumCalendar.js.map +1 -0
  182. package/lib/components/BryntumCalendarDatePicker.js +5 -0
  183. package/lib/components/BryntumCalendarDatePicker.js.map +1 -0
  184. package/lib/components/BryntumCalendarProjectModel.js +5 -0
  185. package/lib/components/BryntumCalendarProjectModel.js.map +1 -0
  186. package/lib/components/BryntumChatPanel.js +5 -0
  187. package/lib/components/BryntumChatPanel.js.map +1 -0
  188. package/lib/components/BryntumCheckbox.js +5 -0
  189. package/lib/components/BryntumCheckbox.js.map +1 -0
  190. package/lib/components/BryntumCheckboxGroup.js +5 -0
  191. package/lib/components/BryntumCheckboxGroup.js.map +1 -0
  192. package/lib/components/BryntumChecklistFilterCombo.js +5 -0
  193. package/lib/components/BryntumChecklistFilterCombo.js.map +1 -0
  194. package/lib/components/BryntumChipView.js +5 -0
  195. package/lib/components/BryntumChipView.js.map +1 -0
  196. package/lib/components/BryntumCodeEditor.js +5 -0
  197. package/lib/components/BryntumCodeEditor.js.map +1 -0
  198. package/lib/components/BryntumColorField.js +5 -0
  199. package/lib/components/BryntumColorField.js.map +1 -0
  200. package/lib/components/BryntumCombo.js +5 -0
  201. package/lib/components/BryntumCombo.js.map +1 -0
  202. package/lib/components/BryntumContainer.js +5 -0
  203. package/lib/components/BryntumContainer.js.map +1 -0
  204. package/lib/components/BryntumDateField.js +5 -0
  205. package/lib/components/BryntumDateField.js.map +1 -0
  206. package/lib/components/BryntumDatePicker.js +5 -0
  207. package/lib/components/BryntumDatePicker.js.map +1 -0
  208. package/lib/components/BryntumDateRangeField.js +5 -0
  209. package/lib/components/BryntumDateRangeField.js.map +1 -0
  210. package/lib/components/BryntumDateTimeField.js +5 -0
  211. package/lib/components/BryntumDateTimeField.js.map +1 -0
  212. package/lib/components/BryntumDayAgendaView.js +5 -0
  213. package/lib/components/BryntumDayAgendaView.js.map +1 -0
  214. package/lib/components/BryntumDayResourceView.js +5 -0
  215. package/lib/components/BryntumDayResourceView.js.map +1 -0
  216. package/lib/components/BryntumDayView.js +5 -0
  217. package/lib/components/BryntumDayView.js.map +1 -0
  218. package/lib/components/BryntumDemoCodeEditor.js +5 -0
  219. package/lib/components/BryntumDemoCodeEditor.js.map +1 -0
  220. package/lib/components/BryntumDemoHeader.js +5 -0
  221. package/lib/components/BryntumDemoHeader.js.map +1 -0
  222. package/lib/components/BryntumDisplayField.js +5 -0
  223. package/lib/components/BryntumDisplayField.js.map +1 -0
  224. package/lib/components/BryntumDurationField.js +5 -0
  225. package/lib/components/BryntumDurationField.js.map +1 -0
  226. package/lib/components/BryntumEditor.js +5 -0
  227. package/lib/components/BryntumEditor.js.map +1 -0
  228. package/lib/components/BryntumEventColorField.js +5 -0
  229. package/lib/components/BryntumEventColorField.js.map +1 -0
  230. package/lib/components/BryntumEventList.js +5 -0
  231. package/lib/components/BryntumEventList.js.map +1 -0
  232. package/lib/components/BryntumFieldFilterPicker.js +5 -0
  233. package/lib/components/BryntumFieldFilterPicker.js.map +1 -0
  234. package/lib/components/BryntumFieldFilterPickerGroup.js +5 -0
  235. package/lib/components/BryntumFieldFilterPickerGroup.js.map +1 -0
  236. package/lib/components/BryntumFieldSet.js +5 -0
  237. package/lib/components/BryntumFieldSet.js.map +1 -0
  238. package/lib/components/BryntumFileField.js +5 -0
  239. package/lib/components/BryntumFileField.js.map +1 -0
  240. package/lib/components/BryntumFilePicker.js +5 -0
  241. package/lib/components/BryntumFilePicker.js.map +1 -0
  242. package/lib/components/BryntumFilterField.js +5 -0
  243. package/lib/components/BryntumFilterField.js.map +1 -0
  244. package/lib/components/BryntumFullscreenButton.js +5 -0
  245. package/lib/components/BryntumFullscreenButton.js.map +1 -0
  246. package/lib/components/BryntumGrid.js +5 -0
  247. package/lib/components/BryntumGrid.js.map +1 -0
  248. package/lib/components/BryntumGridBase.js +5 -0
  249. package/lib/components/BryntumGridBase.js.map +1 -0
  250. package/lib/components/BryntumGridChartDesigner.js +5 -0
  251. package/lib/components/BryntumGridChartDesigner.js.map +1 -0
  252. package/lib/components/BryntumGridFieldFilterPicker.js +5 -0
  253. package/lib/components/BryntumGridFieldFilterPicker.js.map +1 -0
  254. package/lib/components/BryntumGridFieldFilterPickerGroup.js +5 -0
  255. package/lib/components/BryntumGridFieldFilterPickerGroup.js.map +1 -0
  256. package/lib/components/BryntumGroupBar.js +5 -0
  257. package/lib/components/BryntumGroupBar.js.map +1 -0
  258. package/lib/components/BryntumHint.js +5 -0
  259. package/lib/components/BryntumHint.js.map +1 -0
  260. package/lib/components/BryntumLabel.js +5 -0
  261. package/lib/components/BryntumLabel.js.map +1 -0
  262. package/lib/components/BryntumList.js +5 -0
  263. package/lib/components/BryntumList.js.map +1 -0
  264. package/lib/components/BryntumMenu.js +5 -0
  265. package/lib/components/BryntumMenu.js.map +1 -0
  266. package/lib/components/BryntumModeSelector.js +5 -0
  267. package/lib/components/BryntumModeSelector.js.map +1 -0
  268. package/lib/components/BryntumMonthAgendaView.js +5 -0
  269. package/lib/components/BryntumMonthAgendaView.js.map +1 -0
  270. package/lib/components/BryntumMonthGrid.js +5 -0
  271. package/lib/components/BryntumMonthGrid.js.map +1 -0
  272. package/lib/components/BryntumMonthPicker.js +5 -0
  273. package/lib/components/BryntumMonthPicker.js.map +1 -0
  274. package/lib/components/BryntumMonthView.js +5 -0
  275. package/lib/components/BryntumMonthView.js.map +1 -0
  276. package/lib/components/BryntumNumberField.js +5 -0
  277. package/lib/components/BryntumNumberField.js.map +1 -0
  278. package/lib/components/BryntumPagingToolbar.js +5 -0
  279. package/lib/components/BryntumPagingToolbar.js.map +1 -0
  280. package/lib/components/BryntumPanel.js +5 -0
  281. package/lib/components/BryntumPanel.js.map +1 -0
  282. package/lib/components/BryntumPasswordField.js +5 -0
  283. package/lib/components/BryntumPasswordField.js.map +1 -0
  284. package/lib/components/BryntumProjectCombo.js +5 -0
  285. package/lib/components/BryntumProjectCombo.js.map +1 -0
  286. package/lib/components/BryntumRadio.js +5 -0
  287. package/lib/components/BryntumRadio.js.map +1 -0
  288. package/lib/components/BryntumRadioGroup.js +5 -0
  289. package/lib/components/BryntumRadioGroup.js.map +1 -0
  290. package/lib/components/BryntumRangeMenu.js +5 -0
  291. package/lib/components/BryntumRangeMenu.js.map +1 -0
  292. package/lib/components/BryntumResourceCombo.js +5 -0
  293. package/lib/components/BryntumResourceCombo.js.map +1 -0
  294. package/lib/components/BryntumResourceFilter.js +5 -0
  295. package/lib/components/BryntumResourceFilter.js.map +1 -0
  296. package/lib/components/BryntumResourceView.js +5 -0
  297. package/lib/components/BryntumResourceView.js.map +1 -0
  298. package/lib/components/BryntumScheduler.js +5 -0
  299. package/lib/components/BryntumScheduler.js.map +1 -0
  300. package/lib/components/BryntumSchedulerBase.js +5 -0
  301. package/lib/components/BryntumSchedulerBase.js.map +1 -0
  302. package/lib/components/BryntumSchedulerDatePicker.js +5 -0
  303. package/lib/components/BryntumSchedulerDatePicker.js.map +1 -0
  304. package/lib/components/BryntumSlideToggle.js +5 -0
  305. package/lib/components/BryntumSlideToggle.js.map +1 -0
  306. package/lib/components/BryntumSlider.js +5 -0
  307. package/lib/components/BryntumSlider.js.map +1 -0
  308. package/lib/components/BryntumSplitter.js +5 -0
  309. package/lib/components/BryntumSplitter.js.map +1 -0
  310. package/lib/components/BryntumTabPanel.js +5 -0
  311. package/lib/components/BryntumTabPanel.js.map +1 -0
  312. package/lib/components/BryntumTextAreaField.js +5 -0
  313. package/lib/components/BryntumTextAreaField.js.map +1 -0
  314. package/lib/components/BryntumTextAreaPickerField.js +5 -0
  315. package/lib/components/BryntumTextAreaPickerField.js.map +1 -0
  316. package/lib/components/BryntumTextField.js +5 -0
  317. package/lib/components/BryntumTextField.js.map +1 -0
  318. package/lib/components/BryntumTimeField.js +5 -0
  319. package/lib/components/BryntumTimeField.js.map +1 -0
  320. package/lib/components/BryntumTimePicker.js +5 -0
  321. package/lib/components/BryntumTimePicker.js.map +1 -0
  322. package/lib/components/BryntumTimelineHistogram.js +5 -0
  323. package/lib/components/BryntumTimelineHistogram.js.map +1 -0
  324. package/lib/components/BryntumToolbar.js +5 -0
  325. package/lib/components/BryntumToolbar.js.map +1 -0
  326. package/lib/components/BryntumTreeCombo.js +5 -0
  327. package/lib/components/BryntumTreeCombo.js.map +1 -0
  328. package/lib/components/BryntumTreeGrid.js +5 -0
  329. package/lib/components/BryntumTreeGrid.js.map +1 -0
  330. package/lib/components/BryntumUndoRedo.js +5 -0
  331. package/lib/components/BryntumUndoRedo.js.map +1 -0
  332. package/lib/components/BryntumViewPresetCombo.js +5 -0
  333. package/lib/components/BryntumViewPresetCombo.js.map +1 -0
  334. package/lib/components/BryntumWeekView.js +5 -0
  335. package/lib/components/BryntumWeekView.js.map +1 -0
  336. package/lib/components/BryntumWidget.js +5 -0
  337. package/lib/components/BryntumWidget.js.map +1 -0
  338. package/lib/components/BryntumYearPicker.js +5 -0
  339. package/lib/components/BryntumYearPicker.js.map +1 -0
  340. package/lib/components/BryntumYearView.js +5 -0
  341. package/lib/components/BryntumYearView.js.map +1 -0
  342. package/lib/helper/WrapperHelper.js +291 -0
  343. package/lib/helper/WrapperHelper.js.map +1 -0
  344. package/lib/index.d.ts +5 -0
  345. package/lib/index.js +174 -0
  346. package/lib/index.js.map +1 -0
  347. package/license.pdf +0 -0
  348. package/licenses.md +310 -0
  349. package/package.json +27 -0
  350. package/src/components/BryntumAIFilterField.vue +1063 -0
  351. package/src/components/BryntumAIFilterFieldProps.ts +646 -0
  352. package/src/components/BryntumAgendaView.vue +3328 -0
  353. package/src/components/BryntumAgendaViewProps.ts +1448 -0
  354. package/src/components/BryntumButton.vue +952 -0
  355. package/src/components/BryntumButtonGroup.vue +967 -0
  356. package/src/components/BryntumButtonGroupProps.ts +575 -0
  357. package/src/components/BryntumButtonProps.ts +556 -0
  358. package/src/components/BryntumCalendar.vue +3027 -0
  359. package/src/components/BryntumCalendarDatePicker.vue +1540 -0
  360. package/src/components/BryntumCalendarDatePickerProps.ts +1002 -0
  361. package/src/components/BryntumCalendarProjectModel.vue +439 -0
  362. package/src/components/BryntumCalendarProjectModelProps.ts +279 -0
  363. package/src/components/BryntumCalendarProps.ts +1137 -0
  364. package/src/components/BryntumChatPanel.vue +1159 -0
  365. package/src/components/BryntumChatPanelProps.ts +707 -0
  366. package/src/components/BryntumCheckbox.vue +1071 -0
  367. package/src/components/BryntumCheckboxGroup.vue +1193 -0
  368. package/src/components/BryntumCheckboxGroupProps.ts +739 -0
  369. package/src/components/BryntumCheckboxProps.ts +631 -0
  370. package/src/components/BryntumChecklistFilterCombo.vue +1309 -0
  371. package/src/components/BryntumChecklistFilterComboProps.ts +846 -0
  372. package/src/components/BryntumChipView.vue +979 -0
  373. package/src/components/BryntumChipViewProps.ts +583 -0
  374. package/src/components/BryntumCodeEditor.vue +1136 -0
  375. package/src/components/BryntumCodeEditorProps.ts +708 -0
  376. package/src/components/BryntumColorField.vue +1060 -0
  377. package/src/components/BryntumColorFieldProps.ts +642 -0
  378. package/src/components/BryntumCombo.vue +1298 -0
  379. package/src/components/BryntumComboProps.ts +838 -0
  380. package/src/components/BryntumContainer.vue +917 -0
  381. package/src/components/BryntumContainerProps.ts +563 -0
  382. package/src/components/BryntumDateField.vue +1120 -0
  383. package/src/components/BryntumDateFieldProps.ts +693 -0
  384. package/src/components/BryntumDatePicker.vue +1427 -0
  385. package/src/components/BryntumDatePickerProps.ts +898 -0
  386. package/src/components/BryntumDateRangeField.vue +1122 -0
  387. package/src/components/BryntumDateRangeFieldProps.ts +694 -0
  388. package/src/components/BryntumDateTimeField.vue +1007 -0
  389. package/src/components/BryntumDateTimeFieldProps.ts +600 -0
  390. package/src/components/BryntumDayAgendaView.vue +1979 -0
  391. package/src/components/BryntumDayAgendaViewProps.ts +1270 -0
  392. package/src/components/BryntumDayResourceView.vue +2044 -0
  393. package/src/components/BryntumDayResourceViewProps.ts +1334 -0
  394. package/src/components/BryntumDayView.vue +1999 -0
  395. package/src/components/BryntumDayViewProps.ts +1295 -0
  396. package/src/components/BryntumDemoCodeEditor.vue +1152 -0
  397. package/src/components/BryntumDemoCodeEditorProps.ts +721 -0
  398. package/src/components/BryntumDemoHeader.vue +131 -0
  399. package/src/components/BryntumDisplayField.vue +1044 -0
  400. package/src/components/BryntumDisplayFieldProps.ts +632 -0
  401. package/src/components/BryntumDurationField.vue +1103 -0
  402. package/src/components/BryntumDurationFieldProps.ts +683 -0
  403. package/src/components/BryntumEditor.vue +1093 -0
  404. package/src/components/BryntumEditorProps.ts +622 -0
  405. package/src/components/BryntumEventColorField.vue +1060 -0
  406. package/src/components/BryntumEventColorFieldProps.ts +642 -0
  407. package/src/components/BryntumEventList.vue +3255 -0
  408. package/src/components/BryntumEventListProps.ts +1403 -0
  409. package/src/components/BryntumFieldFilterPicker.vue +1002 -0
  410. package/src/components/BryntumFieldFilterPickerGroup.vue +1038 -0
  411. package/src/components/BryntumFieldFilterPickerGroupProps.ts +646 -0
  412. package/src/components/BryntumFieldFilterPickerProps.ts +624 -0
  413. package/src/components/BryntumFieldSet.vue +1129 -0
  414. package/src/components/BryntumFieldSetProps.ts +703 -0
  415. package/src/components/BryntumFileField.vue +1047 -0
  416. package/src/components/BryntumFileFieldProps.ts +634 -0
  417. package/src/components/BryntumFilePicker.vue +948 -0
  418. package/src/components/BryntumFilePickerProps.ts +575 -0
  419. package/src/components/BryntumFilterField.vue +1088 -0
  420. package/src/components/BryntumFilterFieldProps.ts +668 -0
  421. package/src/components/BryntumFullscreenButton.vue +38 -0
  422. package/src/components/BryntumGrid.vue +2759 -0
  423. package/src/components/BryntumGridBase.vue +2756 -0
  424. package/src/components/BryntumGridBaseProps.ts +1027 -0
  425. package/src/components/BryntumGridChartDesigner.vue +778 -0
  426. package/src/components/BryntumGridChartDesignerProps.ts +466 -0
  427. package/src/components/BryntumGridFieldFilterPicker.vue +1015 -0
  428. package/src/components/BryntumGridFieldFilterPickerGroup.vue +1032 -0
  429. package/src/components/BryntumGridFieldFilterPickerGroupProps.ts +641 -0
  430. package/src/components/BryntumGridFieldFilterPickerProps.ts +636 -0
  431. package/src/components/BryntumGridProps.ts +1028 -0
  432. package/src/components/BryntumGroupBar.vue +979 -0
  433. package/src/components/BryntumGroupBarProps.ts +583 -0
  434. package/src/components/BryntumHint.vue +1199 -0
  435. package/src/components/BryntumHintProps.ts +753 -0
  436. package/src/components/BryntumLabel.vue +770 -0
  437. package/src/components/BryntumLabelProps.ts +459 -0
  438. package/src/components/BryntumList.vue +956 -0
  439. package/src/components/BryntumListProps.ts +563 -0
  440. package/src/components/BryntumMenu.vue +1223 -0
  441. package/src/components/BryntumMenuProps.ts +749 -0
  442. package/src/components/BryntumModeSelector.vue +945 -0
  443. package/src/components/BryntumModeSelectorProps.ts +586 -0
  444. package/src/components/BryntumMonthAgendaView.vue +1775 -0
  445. package/src/components/BryntumMonthAgendaViewProps.ts +1162 -0
  446. package/src/components/BryntumMonthGrid.vue +1767 -0
  447. package/src/components/BryntumMonthGridProps.ts +1028 -0
  448. package/src/components/BryntumMonthPicker.vue +1133 -0
  449. package/src/components/BryntumMonthPickerProps.ts +688 -0
  450. package/src/components/BryntumMonthView.vue +1939 -0
  451. package/src/components/BryntumMonthViewProps.ts +1189 -0
  452. package/src/components/BryntumNumberField.vue +1090 -0
  453. package/src/components/BryntumNumberFieldProps.ts +671 -0
  454. package/src/components/BryntumPagingToolbar.vue +989 -0
  455. package/src/components/BryntumPagingToolbarProps.ts +592 -0
  456. package/src/components/BryntumPanel.vue +1106 -0
  457. package/src/components/BryntumPanelProps.ts +684 -0
  458. package/src/components/BryntumPasswordField.vue +1034 -0
  459. package/src/components/BryntumPasswordFieldProps.ts +623 -0
  460. package/src/components/BryntumProjectCombo.vue +1300 -0
  461. package/src/components/BryntumProjectComboProps.ts +839 -0
  462. package/src/components/BryntumRadio.vue +1071 -0
  463. package/src/components/BryntumRadioGroup.vue +1159 -0
  464. package/src/components/BryntumRadioGroupProps.ts +729 -0
  465. package/src/components/BryntumRadioProps.ts +631 -0
  466. package/src/components/BryntumRangeMenu.vue +1223 -0
  467. package/src/components/BryntumRangeMenuProps.ts +749 -0
  468. package/src/components/BryntumResourceCombo.vue +1303 -0
  469. package/src/components/BryntumResourceComboProps.ts +842 -0
  470. package/src/components/BryntumResourceFilter.vue +998 -0
  471. package/src/components/BryntumResourceFilterProps.ts +589 -0
  472. package/src/components/BryntumResourceView.vue +1556 -0
  473. package/src/components/BryntumResourceViewProps.ts +995 -0
  474. package/src/components/BryntumScheduler.vue +5828 -0
  475. package/src/components/BryntumSchedulerBase.vue +5826 -0
  476. package/src/components/BryntumSchedulerBaseProps.ts +2050 -0
  477. package/src/components/BryntumSchedulerDatePicker.vue +1451 -0
  478. package/src/components/BryntumSchedulerDatePickerProps.ts +919 -0
  479. package/src/components/BryntumSchedulerProps.ts +2051 -0
  480. package/src/components/BryntumSlideToggle.vue +1071 -0
  481. package/src/components/BryntumSlideToggleProps.ts +631 -0
  482. package/src/components/BryntumSlider.vue +871 -0
  483. package/src/components/BryntumSliderProps.ts +523 -0
  484. package/src/components/BryntumSplitter.vue +813 -0
  485. package/src/components/BryntumSplitterProps.ts +468 -0
  486. package/src/components/BryntumTabPanel.vue +1164 -0
  487. package/src/components/BryntumTabPanelProps.ts +710 -0
  488. package/src/components/BryntumTextAreaField.vue +1046 -0
  489. package/src/components/BryntumTextAreaFieldProps.ts +633 -0
  490. package/src/components/BryntumTextAreaPickerField.vue +1067 -0
  491. package/src/components/BryntumTextAreaPickerFieldProps.ts +648 -0
  492. package/src/components/BryntumTextField.vue +1052 -0
  493. package/src/components/BryntumTextFieldProps.ts +637 -0
  494. package/src/components/BryntumTimeField.vue +1101 -0
  495. package/src/components/BryntumTimeFieldProps.ts +677 -0
  496. package/src/components/BryntumTimePicker.vue +952 -0
  497. package/src/components/BryntumTimePickerProps.ts +583 -0
  498. package/src/components/BryntumTimelineHistogram.vue +3893 -0
  499. package/src/components/BryntumTimelineHistogramProps.ts +1560 -0
  500. package/src/components/BryntumToolbar.vue +982 -0
  501. package/src/components/BryntumToolbarProps.ts +586 -0
  502. package/src/components/BryntumTreeCombo.vue +1298 -0
  503. package/src/components/BryntumTreeComboProps.ts +838 -0
  504. package/src/components/BryntumTreeGrid.vue +2758 -0
  505. package/src/components/BryntumTreeGridProps.ts +1028 -0
  506. package/src/components/BryntumUndoRedo.vue +941 -0
  507. package/src/components/BryntumUndoRedoProps.ts +583 -0
  508. package/src/components/BryntumViewPresetCombo.vue +979 -0
  509. package/src/components/BryntumViewPresetComboProps.ts +575 -0
  510. package/src/components/BryntumWeekView.vue +1999 -0
  511. package/src/components/BryntumWeekViewProps.ts +1295 -0
  512. package/src/components/BryntumWidget.vue +765 -0
  513. package/src/components/BryntumWidgetProps.ts +455 -0
  514. package/src/components/BryntumYearPicker.vue +1144 -0
  515. package/src/components/BryntumYearPickerProps.ts +705 -0
  516. package/src/components/BryntumYearView.vue +1701 -0
  517. package/src/components/BryntumYearViewProps.ts +1061 -0
  518. package/src/helper/WrapperHelper.ts +573 -0
  519. package/src/index.ts +173 -0
  520. package/src/vite-env.d.ts +1 -0
@@ -0,0 +1,1103 @@
1
+ <!-- Vue 3 wrapper for Bryntum DurationField -->
2
+
3
+ <template>
4
+ <div ref="refElement">
5
+
6
+ </div>
7
+ </template>
8
+
9
+ <script setup lang="ts">
10
+
11
+ import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
12
+
13
+ import type { AlignSpec, Base, ContainerItemConfig, Duration, DurationConfig, DurationFieldListeners, DurationUnit, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Rectangle, TabConfig, TooltipConfig, Widget } from '@bryntum/calendar';
14
+ import { DurationField } from '@bryntum/calendar';
15
+
16
+ import { WrapperHelper } from '../helper/WrapperHelper';
17
+
18
+ defineProps<{
19
+ // Configs
20
+ /**
21
+ * Element (or element id) to adopt as this Widget's encapsulating element. The widget's
22
+ * content will be placed inside this element.
23
+ * ...
24
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-adopt)
25
+ */
26
+ adopt ? : HTMLElement|string
27
+ /**
28
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
29
+ * ...
30
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-align)
31
+ */
32
+ align ? : AlignSpec|string
33
+ /**
34
+ * When this widget is a child of a [Container](https://bryntum.com/products/calendar/docs/api/Core/widget/Container), it will by default be participating in a
35
+ * flexbox layout. This config allows you to set this widget's
36
+ * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.
37
+ */
38
+ alignSelf ? : string
39
+ /**
40
+ * Comma-separated list of units to allow in this field, e.g. "day,hour,year". Leave blank to allow all
41
+ * valid units (the default)
42
+ */
43
+ allowedUnits ? : string
44
+ /**
45
+ * Set to `true` to allow negative duration
46
+ */
47
+ allowNegative ? : Boolean
48
+ /**
49
+ * *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).*
50
+ * `true` to show a connector arrow pointing to the align target.
51
+ */
52
+ anchor ? : Boolean
53
+ /**
54
+ * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
55
+ * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element).
56
+ */
57
+ appendTo ? : HTMLElement|string
58
+ /**
59
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
60
+ * into an element which will be linked using the `aria-describedby` attribute.
61
+ * ...
62
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-ariaDescription)
63
+ */
64
+ ariaDescription ? : string
65
+ /**
66
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
67
+ * the `aria-label` attribute.
68
+ * ...
69
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-ariaLabel)
70
+ */
71
+ ariaLabel ? : string
72
+ /**
73
+ * Sets the native `autocomplete` property of the underlying input element. For more information, please refer to
74
+ * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)
75
+ */
76
+ autoComplete ? : string
77
+ /**
78
+ * Specify `true` to auto select field contents on focus
79
+ */
80
+ autoSelect ? : Boolean
81
+ /**
82
+ * Initial text to show in badge.
83
+ */
84
+ badge ? : string
85
+ /**
86
+ * An object where property names with a truthy value indicate which events should bubble up the ownership
87
+ * hierarchy when triggered.
88
+ * ...
89
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-bubbleEvents)
90
+ */
91
+ bubbleEvents ? : object
92
+ /**
93
+ * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
94
+ * ...
95
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-callOnFunctions)
96
+ */
97
+ callOnFunctions ? : Boolean
98
+ /**
99
+ * By default, if an event handler throws an exception, the error propagates up the stack and the
100
+ * application state is undefined. Code which follows the event handler will *not* be executed.
101
+ * ...
102
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-catchEventHandlerExceptions)
103
+ */
104
+ catchEventHandlerExceptions ? : Boolean
105
+ /**
106
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
107
+ * Set to `true` to centre the Widget in browser viewport space.
108
+ */
109
+ centered ? : Boolean
110
+ /**
111
+ * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly). The trigger is available
112
+ * in the [triggers](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
113
+ * configures the `clear` [trigger](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-triggers).
114
+ */
115
+ clearable ? : Boolean|FieldTriggerConfig
116
+ /**
117
+ * Custom CSS classes to add to element.
118
+ * May be specified as a space separated string, or as an object in which property names
119
+ * with truthy values are used as the class names:
120
+ * ...
121
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-cls)
122
+ */
123
+ cls ? : string|object
124
+ /**
125
+ * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
126
+ * `style` block.
127
+ * ...
128
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-color)
129
+ */
130
+ color ? : string
131
+ /**
132
+ * Programmatic control over which column to start in when used in a grid layout.
133
+ */
134
+ column ? : number
135
+ config ? : object
136
+ /**
137
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating) or [positioned](#Core/widget/Widget#config-positioned).*
138
+ * Element, Widget or Rectangle to which this Widget is constrained.
139
+ */
140
+ constrainTo ? : HTMLElement|Widget|Rectangle
141
+ /**
142
+ * The configuration for additional items associated to this field. This is typically used to add contextual
143
+ * fields related to a [checkbox](https://bryntum.com/products/calendar/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See
144
+ * these classes for examples of nested fields.
145
+ * ...
146
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-container)
147
+ */
148
+ container ? : Record<string, ContainerItemConfig>|ContainerItemConfig[]|FieldContainerConfig|FieldContainer
149
+ /**
150
+ * The config controls how the value of nested items are handled when a parent container gets or sets its
151
+ * [values](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#property-values).
152
+ * ...
153
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-containValues)
154
+ * @param {Core.widget.Field} field Field instance
155
+ * @returns {boolean}
156
+ */
157
+ containValues ? : Boolean|string|((field: Field) => Boolean)
158
+ /**
159
+ * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).
160
+ * May be specified as a space separated string, or as an object in which property names
161
+ * with truthy values are used as the class names:
162
+ * ...
163
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-contentElementCls)
164
+ */
165
+ contentElementCls ? : string|object
166
+ /**
167
+ * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the
168
+ * field on the expanded record to use for populating this widget's store (if applicable)
169
+ */
170
+ dataField ? : string
171
+ /**
172
+ * Object to apply to elements dataset (each key will be used as a data-attribute on the element)
173
+ */
174
+ dataset ? : Record<string, string>
175
+ /**
176
+ * The number of decimal places to allow. Defaults to no constraint.
177
+ */
178
+ decimalPrecision ? : number
179
+ /**
180
+ * The name of the property to set when a single value is to be applied to this Widget. Such as when used
181
+ * in a grid WidgetColumn, this is the property to which the column's `field` is applied.
182
+ */
183
+ defaultBindProperty ? : string
184
+ /**
185
+ * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
186
+ * ...
187
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-detectCSSCompatibilityIssues)
188
+ */
189
+ detectCSSCompatibilityIssues ? : Boolean
190
+ /**
191
+ * 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
192
+ * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
193
+ * ...
194
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-disabled)
195
+ */
196
+ disabled ? : Boolean|'inert'
197
+ /**
198
+ * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel)
199
+ * [strips collection](https://bryntum.com/products/calendar/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
200
+ * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
201
+ * body. Such widgets are called "edge strips".
202
+ * ...
203
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-dock)
204
+ */
205
+ dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
206
+ /**
207
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
208
+ * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
209
+ * property which controls when a drag should start.
210
+ * ...
211
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-draggable)
212
+ */
213
+ draggable ? : Boolean|{
214
+ handleSelector?: string
215
+ }
216
+ /**
217
+ * Set to `false` to prevent user from editing the field. For TextFields it is basically the same as setting
218
+ * [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly), but for PickerFields there is a distinction where it allows you to pick a value
219
+ * but not to type one in the field.
220
+ * ...
221
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-editable)
222
+ */
223
+ editable ? : Boolean
224
+ /**
225
+ * An object specifying attributes to assign to the root element of this widget.
226
+ * Set `null` value to attribute to remove it.
227
+ * ...
228
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-elementAttributes)
229
+ */
230
+ elementAttributes ? : Record<string, string|null>
231
+ extraData ? : any
232
+ /**
233
+ * 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
234
+ * flexbox layout. This config allows you to set this widget's
235
+ * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.
236
+ * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.
237
+ * numeric-only values are interpreted as the `flex-grow` value.
238
+ */
239
+ flex ? : number|string
240
+ /**
241
+ * Set to `true` to move the widget out of the document flow and position it
242
+ * absolutely in browser viewport space.
243
+ */
244
+ floating ? : Boolean
245
+ /**
246
+ * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,
247
+ * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some
248
+ * cases this config is convenient.
249
+ */
250
+ height ? : string|number
251
+ /**
252
+ * Configure with true to make widget initially hidden.
253
+ */
254
+ hidden ? : Boolean
255
+ /**
256
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
257
+ * ...
258
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-hideAnimation)
259
+ */
260
+ hideAnimation ? : Boolean|object
261
+ /**
262
+ * Specify `true` to highlight field after external value changes
263
+ */
264
+ highlightExternalChange ? : Boolean
265
+ /**
266
+ * An optional string to display inside the input field as an overlay. This can be useful for displaying
267
+ * a field's units.
268
+ * ...
269
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-hint)
270
+ * @param {object} data A data object
271
+ * @param {Core.widget.Field} data.source A reference to the field instance
272
+ * @param {any} data.value The current value of the field
273
+ * @returns {string}
274
+ */
275
+ hint ? : string|((data: { source: Field, value: any }) => string)
276
+ /**
277
+ * 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.
278
+ * Since this can allow malicious content to be executed, be sure not to include user-entered data or to
279
+ * encode such data (see [encodeHtml](https://bryntum.com/products/calendar/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).
280
+ * ...
281
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-hintHtml)
282
+ * @param {object} data A data object
283
+ * @param {Core.widget.Field} data.source A reference to the field instance
284
+ * @param {any} data.value The current value of the field
285
+ * @returns {string}
286
+ */
287
+ hintHtml ? : string|((data: { source: Field, value: any }) => string)
288
+ /**
289
+ * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById
290
+ */
291
+ id ? : string
292
+ /**
293
+ * Determines if the widgets read-only state should be controlled by its parent.
294
+ * ...
295
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-ignoreParentReadOnly)
296
+ */
297
+ ignoreParentReadOnly ? : Boolean
298
+ /**
299
+ * Set this config to `true` to always display items horizontally along with this field. This assigns an
300
+ * [hbox](https://bryntum.com/products/calendar/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the
301
+ * [container](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-container).
302
+ * ...
303
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-inline)
304
+ */
305
+ inline ? : Boolean
306
+ /**
307
+ * Text alignment for the input field.
308
+ */
309
+ inputAlign ? : string
310
+ /**
311
+ * Sets custom attributes of the underlying input element. For more information, please refer to
312
+ * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes)
313
+ */
314
+ inputAttributes ? : Record<string, string>
315
+ /**
316
+ * If you need to use something else than a default `input` element, as the input element, provide the tag
317
+ * name here. Please note that this is used for advanced usage only, for example when using WebComponents
318
+ * (custom elements), and that the configured element must fulfil the same contract as a regular input
319
+ * element.
320
+ */
321
+ inputTag ? : string
322
+ /**
323
+ * Sets the `type` attribute of the underlying input element (password, hidden, date, color, etc.).
324
+ */
325
+ inputType ? : string
326
+ /**
327
+ * The width to apply to the `.b-field-inner` element, which encompasses the `input` element and any
328
+ * triggers. If a number is specified, `px` will be used.
329
+ */
330
+ inputWidth ? : string|number
331
+ /**
332
+ * 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.
333
+ */
334
+ insertBefore ? : HTMLElement|string
335
+ /**
336
+ * 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.
337
+ */
338
+ insertFirst ? : HTMLElement|string
339
+ /**
340
+ * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
341
+ * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
342
+ * are the name of the instance method to call when the keystroke is received.
343
+ * ...
344
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-keyMap)
345
+ */
346
+ keyMap ? : Record<string, KeyMapConfig>
347
+ /**
348
+ * The delay in milliseconds to wait after the last keystroke before triggering a change event.
349
+ * Set to 0 to not trigger change events from keystrokes (listen for input event instead to have
350
+ * immediate feedback, change will still be triggered on blur).
351
+ * ...
352
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-keyStrokeChangeDelay)
353
+ */
354
+ keyStrokeChangeDelay ? : number
355
+ /**
356
+ * Label, prepended to field
357
+ */
358
+ label ? : string
359
+ /**
360
+ * 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)
361
+ */
362
+ labelCls ? : string|object
363
+ /**
364
+ * Label position, either 'before' the field or 'above' the field
365
+ * ...
366
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-labelPosition)
367
+ */
368
+ labelPosition ? : 'before'|'above'|null
369
+ /**
370
+ * The labels to add either before or after the input field.
371
+ * Each label may have the following properties:
372
+ * ...
373
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-labels)
374
+ */
375
+ labels ? : object[]
376
+ /**
377
+ * The width to apply to the `&lt;label&gt;` element. If a number is specified, `px` will be used.
378
+ */
379
+ labelWidth ? : string|number
380
+ /**
381
+ * The listener set for this object.
382
+ * ...
383
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-listeners)
384
+ */
385
+ listeners ? : DurationFieldListeners
386
+ /**
387
+ * A class translations of which are used for translating this entity.
388
+ * This is often used when translations of an item are defined on its container class.
389
+ * For example:
390
+ * ...
391
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-localeClass)
392
+ */
393
+ localeClass ? : typeof Base
394
+ /**
395
+ * Set to `false` to disable localization of this object.
396
+ */
397
+ localizable ? : Boolean
398
+ /**
399
+ * List of properties which values should be translated automatically upon a locale applying.
400
+ * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
401
+ * you could use 'localeKey' meta configuration.
402
+ * Example:
403
+ * ...
404
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-localizableProperties)
405
+ */
406
+ localizableProperties ? : string[]
407
+ /**
408
+ * The duration magnitude to use with the current unit value. Can be either an integer or a float value.
409
+ * Both "," and "." are valid decimal separators.
410
+ */
411
+ magnitude ? : number
412
+ /**
413
+ * Widget's margin. This may be configured as a single number or a `TRBL` format string.
414
+ * numeric-only values are interpreted as pixels.
415
+ */
416
+ margin ? : number|string
417
+ /**
418
+ * This config object contains the defaults for the [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) created for the
419
+ * [masked](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these
420
+ * values.
421
+ */
422
+ maskDefaults ? : MaskConfig
423
+ /**
424
+ * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a
425
+ * [Mask](https://bryntum.com/products/calendar/docs/api/Core/widget/Mask) config object.
426
+ */
427
+ masked ? : Boolean|string|MaskConfig
428
+ /**
429
+ * Max duration value (e.g. 10d)
430
+ */
431
+ max ? : string
432
+ /**
433
+ * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that
434
+ * like [height](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
435
+ */
436
+ maxHeight ? : string|number
437
+ /**
438
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
439
+ * ...
440
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-maximizeOnMobile)
441
+ */
442
+ maximizeOnMobile ? : number|string
443
+ /**
444
+ * The max number of characters for the input field
445
+ */
446
+ maxLength ? : number
447
+ /**
448
+ * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that
449
+ * like [width](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
450
+ */
451
+ maxWidth ? : string|number
452
+ /**
453
+ * Minimum duration value (e.g. 1d)
454
+ */
455
+ min ? : string
456
+ /**
457
+ * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that
458
+ * like [height](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
459
+ */
460
+ minHeight ? : string|number
461
+ /**
462
+ * The min number of characters for the input field
463
+ */
464
+ minLength ? : number
465
+ /**
466
+ * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that
467
+ * like [width](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
468
+ */
469
+ minWidth ? : string|number
470
+ /**
471
+ * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
472
+ * is used to monitor this element for size changes caused by either style manipulation, or by CSS
473
+ * layout.
474
+ * ...
475
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-monitorResize)
476
+ */
477
+ monitorResize ? : Boolean|{
478
+ immediate?: Boolean
479
+ }
480
+ /**
481
+ * Name of the field which is used as a key to get/set values from/to the field.
482
+ * Used prior to [ref](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in
483
+ * [Container.values](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#property-values).
484
+ * ...
485
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-name)
486
+ */
487
+ name ? : string
488
+ /**
489
+ * The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
490
+ * [items](https://bryntum.com/products/calendar/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
491
+ * the owner is <strong>always</strong> the encapsulating Container.
492
+ * ...
493
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-owner)
494
+ */
495
+ owner ? : Widget|any
496
+ /**
497
+ * Text to display in empty field.
498
+ */
499
+ placeholder ? : string
500
+ /**
501
+ * 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
502
+ * not participate in the standard layout of that widget, and must be positioned relatively to that
503
+ * widget's [contentElement](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-contentElement).
504
+ * ...
505
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-positioned)
506
+ */
507
+ positioned ? : Boolean
508
+ /**
509
+ * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a
510
+ * menu on click etc, since the tooltip would be displayed at the same time.
511
+ */
512
+ preventTooltipOnTouch ? : Boolean
513
+ /**
514
+ * Makes the field unmodifiable by user action. The input area is not editable, and triggers
515
+ * are unresponsive.
516
+ * ...
517
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-readOnly)
518
+ */
519
+ readOnly ? : Boolean
520
+ relayStoreEvents ? : Boolean
521
+ /**
522
+ * Predefined style to use for the field. Possible values are:
523
+ * ...
524
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-rendition)
525
+ */
526
+ rendition ? : 'outlined'|'filled'|string
527
+ /**
528
+ * Configure as `true` to indicate that a `null` field value is to be marked as invalid. This will
529
+ * optionally append a * to the field label if [showRequiredIndicator](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-showRequiredIndicator) is set.
530
+ */
531
+ required ? : Boolean
532
+ /**
533
+ * If this field is not [readOnly](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
534
+ * the `ESCAPE` key after editing the field will revert the field to the value it had when
535
+ * the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#config-clearable)
536
+ * behaviour will be activated.
537
+ */
538
+ revertOnEscape ? : Boolean
539
+ /**
540
+ * Configure as `true` to have the component display a translucent ripple when its
541
+ * [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
542
+ * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
543
+ * ...
544
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-ripple)
545
+ */
546
+ ripple ? : Boolean|{
547
+ delegate?: string
548
+ color?: string
549
+ radius?: number
550
+ clip?: string
551
+ }
552
+ /**
553
+ * 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`
554
+ */
555
+ rootElement ? : ShadowRoot|HTMLElement
556
+ /**
557
+ * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
558
+ * ...
559
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-rtl)
560
+ */
561
+ rtl ? : Boolean
562
+ /**
563
+ * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
564
+ * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
565
+ */
566
+ scrollAction ? : 'hide'|'realign'|null
567
+ /**
568
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#config-floating).*
569
+ * ...
570
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-showAnimation)
571
+ */
572
+ showAnimation ? : Boolean|object
573
+ /**
574
+ * `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).
575
+ */
576
+ showRequiredIndicator ? : string
577
+ /**
578
+ * 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)
579
+ */
580
+ showTooltipWhenDisabled ? : Boolean
581
+ /**
582
+ * Set to `true`, completely bypasses validation logic (could be userful if your field is not `editable`
583
+ * to the user).
584
+ */
585
+ skipValidation ? : Boolean
586
+ /**
587
+ * Programmatic control over how many columns to span when used in a grid layout.
588
+ */
589
+ span ? : number
590
+ /**
591
+ * Sets the native `spellcheck` property of the underlying input element. For more information, please refer to
592
+ * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck)
593
+ */
594
+ spellCheck ? : Boolean
595
+ /**
596
+ * Step size for spin button clicks. The `step` property may be set in object form specifying two properties,
597
+ * `magnitude`, a Number, and `unit`, a String.
598
+ * ...
599
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-step)
600
+ */
601
+ step ? : DurationConfig|number|string
602
+ /**
603
+ * 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
604
+ * [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
605
+ * this widget:
606
+ * ...
607
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-tab)
608
+ */
609
+ tab ? : Boolean|TabConfig
610
+ /**
611
+ * The tab index of the input field or fields, or `null` for natural tab order (recommended). Setting to `0`
612
+ * is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable
613
+ * (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set
614
+ * to the element programmatically.
615
+ * ...
616
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-tabIndex)
617
+ */
618
+ tabIndex ? : number
619
+ /**
620
+ * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
621
+ * ...
622
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-textAlign)
623
+ */
624
+ textAlign ? : 'left'|'center'|'right'|'start'|'end'
625
+ /**
626
+ * A title to display for the widget. Only in effect when inside a container that uses it (such as TabPanel)
627
+ */
628
+ title ? : string
629
+ /**
630
+ * Tooltip for the widget, either as a string or as a Tooltip config object.
631
+ * ...
632
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-tooltip)
633
+ */
634
+ tooltip ? : string|TooltipConfig|null
635
+ /**
636
+ * Widgets that trigger functionality upon click. Each trigger icon is a [Widget](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget) instance
637
+ * which may be hidden, shown and observed and styled just like any other widget.
638
+ */
639
+ triggers ? : Record<string, FieldTriggerConfig>|Record<string, Widget>
640
+ type ? : 'durationfield'|'duration'
641
+ /**
642
+ * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
643
+ * as a space separated string, an array of strings, or as an object in which property names with truthy
644
+ * values are used as the class names.
645
+ * ...
646
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-ui)
647
+ */
648
+ ui ? : string|object
649
+ /**
650
+ * The duration unit to use with the current magnitude value.
651
+ * ...
652
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-unit)
653
+ */
654
+ unit ? : DurationUnit
655
+ /**
656
+ * When set to `true` the field will use short names of unit durations
657
+ * (as returned by [getShortNameOfUnit](https://bryntum.com/products/calendar/docs/api/Core/helper/DateHelper#function-getShortNameOfUnit-static)) when creating the
658
+ * input field's display value.
659
+ */
660
+ useAbbreviation ? : Boolean
661
+ /**
662
+ * Set to `false` to not highlight a field as invalid while typing, to instead show it on ENTER key press
663
+ * or similar.
664
+ */
665
+ validateOnInput ? : Boolean
666
+ /**
667
+ * The `value` may be set either in object form specifying two properties, a numerical `magnitude` and a
668
+ * string `unit`:
669
+ * ...
670
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-value)
671
+ */
672
+ value ? : string|number|DurationConfig|Duration
673
+ /**
674
+ * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/calendar/docs/api/Core/widget/Container).
675
+ * Higher weights go further down.
676
+ */
677
+ weight ? : number
678
+ /**
679
+ * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which
680
+ * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases
681
+ * this config is convenient.
682
+ */
683
+ width ? : string|number
684
+ /**
685
+ * The x position for the widget.
686
+ * ...
687
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-x)
688
+ */
689
+ x ? : number
690
+ /**
691
+ * The y position for the widget.
692
+ * ...
693
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#config-y)
694
+ */
695
+ y ? : number
696
+
697
+ }>();
698
+
699
+ const emit = defineEmits<{
700
+ /**
701
+ * User performed the default action (typed into this field or hit the triggers).
702
+ * @param {string} e Event name
703
+ * @param {object} params Event parameters
704
+ * @param {object} params.event Event object
705
+ * @param {Core.data.Duration} params.event.value This field's value
706
+ * @param {Core.data.Duration} params.event.oldValue This field's previous value
707
+ * @param {boolean} params.event.valid True if this field is in a valid state.
708
+ * @param {Event} params.event.event The triggering DOM event if any.
709
+ * @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
710
+ * @param {Core.widget.DurationField} params.event.source This field
711
+ */
712
+ (e: 'action', params: ((event: { value: Duration, oldValue: Duration, valid: boolean, event?: Event, userAction: boolean, source: DurationField }) => void)|string): void
713
+ /**
714
+ * Fires before an object is destroyed.
715
+ * @param {string} e Event name
716
+ * @param {object} params Event parameters
717
+ * @param {object} params.event Event object
718
+ * @param {Core.Base} params.event.source The Object that is being destroyed.
719
+ */
720
+ (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
721
+ /**
722
+ * Triggered before a widget is hidden. Return `false` to prevent the action.
723
+ * @param {string} e Event name
724
+ * @param {object} params Event parameters
725
+ * @param {object} params.event Event object
726
+ * @param {Core.widget.Widget} params.event.source The widget being hidden.
727
+ */
728
+ (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
729
+ /**
730
+ * Triggered before a widget is shown. Return `false` to prevent the action.
731
+ * @param {string} e Event name
732
+ * @param {object} params Event parameters
733
+ * @param {object} params.event Event object
734
+ * @param {Core.widget.Widget,any} params.event.source The widget being shown
735
+ */
736
+ (e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
737
+ /**
738
+ * Fires when any other event is fired from the object.
739
+ * ...
740
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#event-catchAll)
741
+ * @param {string} e Event name
742
+ * @param {object} params Event parameters
743
+ * @param {object} params.event Event object
744
+ * @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details
745
+ * @param {string} params.event.event.type The type of the event which is caught by the listener
746
+ */
747
+ (e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
748
+ /**
749
+ * Fired when this field's value changes.
750
+ * @param {string} e Event name
751
+ * @param {object} params Event parameters
752
+ * @param {object} params.event Event object
753
+ * @param {Core.data.Duration} params.event.value This field's value
754
+ * @param {Core.data.Duration} params.event.oldValue This field's previous value
755
+ * @param {boolean} params.event.valid True if this field is in a valid state.
756
+ * @param {Event} params.event.event The triggering DOM event if any.
757
+ * @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
758
+ * @param {Core.widget.DurationField} params.event.source This field
759
+ */
760
+ (e: 'change', params: ((event: { value: Duration, oldValue: Duration, valid: boolean, event?: Event, userAction: boolean, source: DurationField }) => void)|string): void
761
+ /**
762
+ * Fired when this field is [cleared](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#function-clear).
763
+ * ...
764
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#event-clear)
765
+ * @param {string} e Event name
766
+ * @param {object} params Event parameters
767
+ * @param {object} params.event Event object
768
+ * @param {Core.widget.Field,any} params.event.source This Field
769
+ */
770
+ (e: 'clear', params: ((event: { source: Field|any }) => void)|string): void
771
+ /**
772
+ * Fires when an object is destroyed.
773
+ * @param {string} e Event name
774
+ * @param {object} params Event parameters
775
+ * @param {object} params.event Event object
776
+ * @param {Core.Base} params.event.source The Object that is being destroyed.
777
+ */
778
+ (e: 'destroy', params: ((event: { source: Base }) => void)|string): void
779
+ /**
780
+ * Triggered when a widget's [element](https://bryntum.com/products/calendar/docs/api/Core/widget/Widget#property-element) is available.
781
+ * @param {string} e Event name
782
+ * @param {object} params Event parameters
783
+ * @param {object} params.event Event object
784
+ * @param {HTMLElement} params.event.element The Widget's element.
785
+ */
786
+ (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
787
+ /**
788
+ * Fired when focus enters this Widget.
789
+ * @param {string} e Event name
790
+ * @param {object} params Event parameters
791
+ * @param {object} params.event Event object
792
+ * @param {Core.widget.Widget} params.event.source This Widget
793
+ * @param {HTMLElement} params.event.fromElement The element which lost focus.
794
+ * @param {HTMLElement} params.event.toElement The element which gained focus.
795
+ * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
796
+ * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
797
+ * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
798
+ */
799
+ (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
800
+ /**
801
+ * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
802
+ * focus moving from within this Widget's ownership tree, even if there are floating widgets
803
+ * will not trigger this event. This is when focus exits this widget completely.
804
+ * @param {string} e Event name
805
+ * @param {object} params Event parameters
806
+ * @param {object} params.event Event object
807
+ * @param {Core.widget.Widget} params.event.source This Widget
808
+ * @param {HTMLElement} params.event.fromElement The element which lost focus.
809
+ * @param {HTMLElement} params.event.toElement The element which gained focus.
810
+ * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
811
+ * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
812
+ * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
813
+ */
814
+ (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
815
+ /**
816
+ * Triggered after a widget was hidden
817
+ * @param {string} e Event name
818
+ * @param {object} params Event parameters
819
+ * @param {object} params.event Event object
820
+ * @param {Core.widget.Widget} params.event.source The widget
821
+ */
822
+ (e: 'hide', params: ((event: { source: Widget }) => void)|string): void
823
+ /**
824
+ * Fired when the user types into this field.
825
+ * @param {string} e Event name
826
+ * @param {object} params Event parameters
827
+ * @param {object} params.event Event object
828
+ * @param {Core.widget.Field,any} params.event.source This field
829
+ * @param {string,number,boolean,any} params.event.value This field's value
830
+ * @param {Event} params.event.event The triggering DOM event
831
+ */
832
+ (e: 'input', params: ((event: { source: Field|any, value: string|number|boolean|any, event: Event }) => void)|string): void
833
+ /**
834
+ * Triggered when a widget which had been in a non-visible state for any reason
835
+ * achieves visibility.
836
+ * ...
837
+ * [View online docs...](https://bryntum.com/products/calendar/docs/api/Core/widget/DurationField#event-paint)
838
+ * @param {string} e Event name
839
+ * @param {object} params Event parameters
840
+ * @param {object} params.event Event object
841
+ * @param {Core.widget.Widget} params.event.source The widget being painted.
842
+ * @param {boolean} params.event.firstPaint `true` if this is the first paint.
843
+ */
844
+ (e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
845
+ /**
846
+ * Fired when a Widget's read only state is toggled
847
+ * @param {string} e Event name
848
+ * @param {object} params Event parameters
849
+ * @param {object} params.event Event object
850
+ * @param {boolean} params.event.readOnly Read only or not
851
+ */
852
+ (e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
853
+ /**
854
+ * This event is fired after a widget's elements have been synchronized due to a direct or indirect call
855
+ * 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.
856
+ */
857
+ (e: 'recompose', params: (() => void)|string): void
858
+ /**
859
+ * 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`*.
860
+ * @param {string} e Event name
861
+ * @param {object} params Event parameters
862
+ * @param {object} params.event Event object
863
+ * @param {Core.widget.Widget} params.event.source This Widget
864
+ * @param {number} params.event.width The new width
865
+ * @param {number} params.event.height The new height
866
+ * @param {number} params.event.oldWidth The old width
867
+ * @param {number} params.event.oldHeight The old height
868
+ */
869
+ (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
870
+ /**
871
+ * Triggered after a widget is shown.
872
+ * @param {string} e Event name
873
+ * @param {object} params Event parameters
874
+ * @param {object} params.event Event object
875
+ * @param {Core.widget.Widget} params.event.source The widget
876
+ */
877
+ (e: 'show', params: ((event: { source: Widget }) => void)|string): void
878
+ /**
879
+ * User clicked one of this field's [triggers](https://bryntum.com/products/calendar/docs/api/Core/widget/Field#property-triggers)
880
+ * @param {string} e Event name
881
+ * @param {object} params Event parameters
882
+ * @param {object} params.event Event object
883
+ * @param {Core.widget.Field,any} params.event.source This field
884
+ * @param {Core.widget.Widget} params.event.trigger The trigger activated by click or touch tap.
885
+ */
886
+ (e: 'trigger', params: ((event: { source: Field|any, trigger: Widget }) => void)|string): void
887
+ }>();
888
+
889
+ const widgetData = {
890
+ instanceClass : DurationField,
891
+ instanceName : 'DurationField',
892
+
893
+ configNames : [
894
+ 'adopt',
895
+ 'align',
896
+ 'allowNegative',
897
+ 'anchor',
898
+ 'ariaDescription',
899
+ 'ariaLabel',
900
+ 'autoComplete',
901
+ 'autoSelect',
902
+ 'bubbleEvents',
903
+ 'centered',
904
+ 'clearable',
905
+ 'color',
906
+ 'config',
907
+ 'constrainTo',
908
+ 'container',
909
+ 'containValues',
910
+ 'contentElementCls',
911
+ 'dataField',
912
+ 'decimalPrecision',
913
+ 'defaultBindProperty',
914
+ 'detectCSSCompatibilityIssues',
915
+ 'dock',
916
+ 'draggable',
917
+ 'elementAttributes',
918
+ 'floating',
919
+ 'hideAnimation',
920
+ 'highlightExternalChange',
921
+ 'hint',
922
+ 'hintHtml',
923
+ 'ignoreParentReadOnly',
924
+ 'inline',
925
+ 'inputAlign',
926
+ 'inputAttributes',
927
+ 'inputTag',
928
+ 'inputType',
929
+ 'inputWidth',
930
+ 'keyStrokeChangeDelay',
931
+ 'labelCls',
932
+ 'labelPosition',
933
+ 'labels',
934
+ 'labelWidth',
935
+ 'listeners',
936
+ 'localeClass',
937
+ 'localizable',
938
+ 'localizableProperties',
939
+ 'maskDefaults',
940
+ 'masked',
941
+ 'maxLength',
942
+ 'minLength',
943
+ 'monitorResize',
944
+ 'name',
945
+ 'owner',
946
+ 'positioned',
947
+ 'preventTooltipOnTouch',
948
+ 'relayStoreEvents',
949
+ 'revertOnEscape',
950
+ 'ripple',
951
+ 'rootElement',
952
+ 'scrollAction',
953
+ 'showAnimation',
954
+ 'showTooltipWhenDisabled',
955
+ 'skipValidation',
956
+ 'spellCheck',
957
+ 'step',
958
+ 'tab',
959
+ 'tabIndex',
960
+ 'textAlign',
961
+ 'title',
962
+ 'type',
963
+ 'ui',
964
+ 'useAbbreviation',
965
+ 'validateOnInput',
966
+ 'weight'
967
+ ],
968
+ propertyConfigNames : [
969
+ 'alignSelf',
970
+ 'allowedUnits',
971
+ 'appendTo',
972
+ 'badge',
973
+ 'callOnFunctions',
974
+ 'catchEventHandlerExceptions',
975
+ 'cls',
976
+ 'column',
977
+ 'dataset',
978
+ 'disabled',
979
+ 'editable',
980
+ 'extraData',
981
+ 'flex',
982
+ 'height',
983
+ 'hidden',
984
+ 'id',
985
+ 'insertBefore',
986
+ 'insertFirst',
987
+ 'keyMap',
988
+ 'label',
989
+ 'magnitude',
990
+ 'margin',
991
+ 'max',
992
+ 'maxHeight',
993
+ 'maximizeOnMobile',
994
+ 'maxWidth',
995
+ 'min',
996
+ 'minHeight',
997
+ 'minWidth',
998
+ 'onAction',
999
+ 'onBeforeDestroy',
1000
+ 'onBeforeHide',
1001
+ 'onBeforeShow',
1002
+ 'onCatchAll',
1003
+ 'onChange',
1004
+ 'onClear',
1005
+ 'onDestroy',
1006
+ 'onElementCreated',
1007
+ 'onFocusIn',
1008
+ 'onFocusOut',
1009
+ 'onHide',
1010
+ 'onInput',
1011
+ 'onPaint',
1012
+ 'onReadOnly',
1013
+ 'onRecompose',
1014
+ 'onResize',
1015
+ 'onShow',
1016
+ 'onTrigger',
1017
+ 'placeholder',
1018
+ 'readOnly',
1019
+ 'rendition',
1020
+ 'required',
1021
+ 'rtl',
1022
+ 'showRequiredIndicator',
1023
+ 'span',
1024
+ 'tooltip',
1025
+ 'triggers',
1026
+ 'unit',
1027
+ 'value',
1028
+ 'width',
1029
+ 'x',
1030
+ 'y'
1031
+ ],
1032
+ propertyNames : [
1033
+ 'anchorSize',
1034
+ 'content',
1035
+ 'focusVisible',
1036
+ 'formula',
1037
+ 'html',
1038
+ 'input',
1039
+ 'parent',
1040
+ 'scrollable'
1041
+ ],
1042
+ eventNames : [
1043
+ 'action',
1044
+ 'beforeDestroy',
1045
+ 'beforeHide',
1046
+ 'beforeShow',
1047
+ 'catchAll',
1048
+ 'change',
1049
+ 'clear',
1050
+ 'destroy',
1051
+ 'elementCreated',
1052
+ 'focusIn',
1053
+ 'focusOut',
1054
+ 'hide',
1055
+ 'input',
1056
+ 'paint',
1057
+ 'readOnly',
1058
+ 'recompose',
1059
+ 'resize',
1060
+ 'show',
1061
+ 'trigger'
1062
+ ]
1063
+ };
1064
+
1065
+ const instance: {
1066
+ value?: DurationField
1067
+ } = {};
1068
+
1069
+ const refElement = ref<HTMLDivElement>()!;
1070
+ // Storage for teleports (in-cell Vue component instances) automatically renderer by template
1071
+ const teleports = ref(new Map());
1072
+
1073
+ // Provide teleports for processCellContent
1074
+ provide('teleports', teleports);
1075
+
1076
+ onMounted(() => {
1077
+
1078
+ const me = getCurrentInstance()!;
1079
+
1080
+ instance.value = WrapperHelper.createWidget<typeof DurationField>({
1081
+ me,
1082
+ widgetData,
1083
+ emit,
1084
+ element : refElement.value!,
1085
+ toRaw
1086
+ });
1087
+
1088
+ const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);
1089
+ WrapperHelper.watchProps(instance.value, widgetData, watcher);
1090
+ });
1091
+
1092
+ onBeforeUnmount(() => {
1093
+ // @ts-ignore
1094
+ instance.value?.destroy?.();
1095
+ });
1096
+
1097
+ defineExpose({
1098
+ instance,
1099
+ refElement,
1100
+ teleports
1101
+ });
1102
+
1103
+ </script>