@bryntum/schedulerpro-vue-3 7.3.0 → 7.3.2

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 (417) hide show
  1. package/README.md +1 -1
  2. package/lib/chunks/-dlD4mnE.js.map +1 -1
  3. package/lib/chunks/{BX64SLAW.js → 0oesUO5i.js} +11 -9
  4. package/lib/chunks/0oesUO5i.js.map +1 -0
  5. package/lib/chunks/{dhJIGyQF.js → 1-UMAAnk.js} +9 -7
  6. package/lib/chunks/1-UMAAnk.js.map +1 -0
  7. package/lib/chunks/2sxJAiPC.js.map +1 -1
  8. package/lib/chunks/{L6ajfD8u.js → 3rjaYyjE.js} +9 -7
  9. package/lib/chunks/3rjaYyjE.js.map +1 -0
  10. package/lib/chunks/{DPtMF4Rv.js → 4-OBOhRi.js} +3 -1
  11. package/lib/chunks/4-OBOhRi.js.map +1 -0
  12. package/lib/chunks/4WUanFqW.js.map +1 -1
  13. package/lib/chunks/{CbMBy-EW.js → 8Bb3Ns9W.js} +7 -5
  14. package/lib/chunks/8Bb3Ns9W.js.map +1 -0
  15. package/lib/chunks/{Cyn0k5tW.js → B04s7ci1.js} +5 -3
  16. package/lib/chunks/B04s7ci1.js.map +1 -0
  17. package/lib/chunks/{WPdRha9F.js → B3HM4Dhe.js} +9 -7
  18. package/lib/chunks/B3HM4Dhe.js.map +1 -0
  19. package/lib/chunks/{BFbQ6-_1.js → B96hdUUC.js} +7 -5
  20. package/lib/chunks/B96hdUUC.js.map +1 -0
  21. package/lib/chunks/{BaMhPE-S.js → BCqWMdB7.js} +9 -7
  22. package/lib/chunks/BCqWMdB7.js.map +1 -0
  23. package/lib/chunks/{KBZz9QaC.js → BGKIOC84.js} +9 -7
  24. package/lib/chunks/BGKIOC84.js.map +1 -0
  25. package/lib/chunks/{DqKQs13g.js → BGKomZQ7.js} +6 -4
  26. package/lib/chunks/BGKomZQ7.js.map +1 -0
  27. package/lib/chunks/{CbAbRlD1.js → BHmmcwIr.js} +12 -10
  28. package/lib/chunks/BHmmcwIr.js.map +1 -0
  29. package/lib/chunks/BIC-lAVW.js.map +1 -1
  30. package/lib/chunks/BNSEzjia.js.map +1 -1
  31. package/lib/chunks/{C4Uvin-l.js → BOwN4P2C.js} +11 -9
  32. package/lib/chunks/BOwN4P2C.js.map +1 -0
  33. package/lib/chunks/BSQuj96S.js.map +1 -1
  34. package/lib/chunks/BULJCFjl.js.map +1 -1
  35. package/lib/chunks/Bao2gZz3.js.map +1 -1
  36. package/lib/chunks/{D47uQmzF.js → Bayb8UKj.js} +11 -9
  37. package/lib/chunks/Bayb8UKj.js.map +1 -0
  38. package/lib/chunks/{DoepWRsZ.js → Bci4Lk5e.js} +6 -4
  39. package/lib/chunks/Bci4Lk5e.js.map +1 -0
  40. package/lib/chunks/BfRcsGH9.js.map +1 -1
  41. package/lib/chunks/{BcyZtXua.js → Bjsz860B.js} +9 -7
  42. package/lib/chunks/Bjsz860B.js.map +1 -0
  43. package/lib/chunks/{Cy8a6FnS.js → Box0lscN.js} +11 -9
  44. package/lib/chunks/Box0lscN.js.map +1 -0
  45. package/lib/chunks/{ByXfNGge.js → Bp08t71W.js} +9 -7
  46. package/lib/chunks/Bp08t71W.js.map +1 -0
  47. package/lib/chunks/{CxrldlWS.js → Bpvhi2kP.js} +12 -10
  48. package/lib/chunks/Bpvhi2kP.js.map +1 -0
  49. package/lib/chunks/{Iu-EbwF2.js → BtQSVVtY.js} +6 -4
  50. package/lib/chunks/BtQSVVtY.js.map +1 -0
  51. package/lib/chunks/{C8Z3RKwO.js → BxqBoNw9.js} +3 -1
  52. package/lib/chunks/BxqBoNw9.js.map +1 -0
  53. package/lib/chunks/BxyCwMh8.js.map +1 -1
  54. package/lib/chunks/ByQ_HKl6.js.map +1 -1
  55. package/lib/chunks/C-5Ui9iE.js.map +1 -1
  56. package/lib/chunks/C-wRwUdg.js.map +1 -1
  57. package/lib/chunks/C6A8_kF2.js.map +1 -1
  58. package/lib/chunks/{DJ-9EwCY.js → CB6_jjh0.js} +10 -8
  59. package/lib/chunks/CB6_jjh0.js.map +1 -0
  60. package/lib/chunks/{D0vFqrAb.js → CC6s0YA7.js} +12 -10
  61. package/lib/chunks/CC6s0YA7.js.map +1 -0
  62. package/lib/chunks/CEJGxzyM.js.map +1 -1
  63. package/lib/chunks/{D-nm2cLV.js → COcNxcuO.js} +6 -4
  64. package/lib/chunks/COcNxcuO.js.map +1 -0
  65. package/lib/chunks/CXCc2j2t.js.map +1 -1
  66. package/lib/chunks/CXuU8L18.js.map +1 -1
  67. package/lib/chunks/CYC8z30i.js.map +1 -1
  68. package/lib/chunks/CgcAEFay.js.map +1 -1
  69. package/lib/chunks/{DsdQVWTB.js → Cj9fklhI.js} +6 -4
  70. package/lib/chunks/Cj9fklhI.js.map +1 -0
  71. package/lib/chunks/CjQ35AZp.js.map +1 -1
  72. package/lib/chunks/CnGvCIpH.js.map +1 -1
  73. package/lib/chunks/{wB86daFn.js → Cr4imarF.js} +9 -7
  74. package/lib/chunks/Cr4imarF.js.map +1 -0
  75. package/lib/chunks/{r_MRGDpW.js → CsfeDgQ9.js} +6 -4
  76. package/lib/chunks/CsfeDgQ9.js.map +1 -0
  77. package/lib/chunks/CzrZWuEy.js.map +1 -1
  78. package/lib/chunks/D-jfacgN.js.map +1 -1
  79. package/lib/chunks/{C3Ok7M88.js → D1LA5FSC.js} +10 -8
  80. package/lib/chunks/D1LA5FSC.js.map +1 -0
  81. package/lib/chunks/D2QcjGtN.js.map +1 -1
  82. package/lib/chunks/D2bmWuQo.js.map +1 -1
  83. package/lib/chunks/{CartziHS.js → D49DDh5c.js} +6 -4
  84. package/lib/chunks/D49DDh5c.js.map +1 -0
  85. package/lib/chunks/{CkGJeDSH.js → DIFATxvL.js} +5 -3
  86. package/lib/chunks/DIFATxvL.js.map +1 -0
  87. package/lib/chunks/DJDODWPm.js.map +1 -1
  88. package/lib/chunks/DL9y_FX6.js.map +1 -1
  89. package/lib/chunks/{C1BWT24E.js → DOVFgCe0.js} +9 -7
  90. package/lib/chunks/DOVFgCe0.js.map +1 -0
  91. package/lib/chunks/DREz45vh.js.map +1 -1
  92. package/lib/chunks/{CYs3pU9g.js → DSbT9pGt.js} +5 -3
  93. package/lib/chunks/DSbT9pGt.js.map +1 -0
  94. package/lib/chunks/{CazA7o4i.js → DShEiTO9.js} +3 -1
  95. package/lib/chunks/DShEiTO9.js.map +1 -0
  96. package/lib/chunks/{DF4UEW_S.js → DWlWkCSf.js} +3 -1
  97. package/lib/chunks/DWlWkCSf.js.map +1 -0
  98. package/lib/chunks/{BMszmpSq.js → DWxck-XR.js} +13 -11
  99. package/lib/chunks/DWxck-XR.js.map +1 -0
  100. package/lib/chunks/DXC_9f-q.js.map +1 -1
  101. package/lib/chunks/DXdJT4M0.js.map +1 -1
  102. package/lib/chunks/{CQbPcPEi.js → Dk2KJX04.js} +6 -4
  103. package/lib/chunks/Dk2KJX04.js.map +1 -0
  104. package/lib/chunks/DmTdAvWe.js.map +1 -1
  105. package/lib/chunks/DnAZ6p-z.js.map +1 -1
  106. package/lib/chunks/{BvjJXW7d.js → DqUnO9P5.js} +6 -4
  107. package/lib/chunks/DqUnO9P5.js.map +1 -0
  108. package/lib/chunks/{DP2Ezl8b.js → DsnGV50I.js} +8 -6
  109. package/lib/chunks/DsnGV50I.js.map +1 -0
  110. package/lib/chunks/{CISuZ6-v.js → Dt96v4YU.js} +3 -1
  111. package/lib/chunks/Dt96v4YU.js.map +1 -0
  112. package/lib/chunks/DvEd9R66.js.map +1 -1
  113. package/lib/chunks/Dw0eh5bs.js.map +1 -1
  114. package/lib/chunks/FrWVFdKQ.js.map +1 -1
  115. package/lib/chunks/H5IVoADZ.js.map +1 -1
  116. package/lib/chunks/{DV5ZSPte.js → H_vraB8b.js} +10 -8
  117. package/lib/chunks/H_vraB8b.js.map +1 -0
  118. package/lib/chunks/{mgU9iOR9.js → IMJjuJNg.js} +9 -7
  119. package/lib/chunks/IMJjuJNg.js.map +1 -0
  120. package/lib/chunks/{Djn1Rp_N.js → MdkCzIw4.js} +7 -5
  121. package/lib/chunks/MdkCzIw4.js.map +1 -0
  122. package/lib/chunks/Phy2kPQC.js.map +1 -1
  123. package/lib/chunks/QxApAPdT.js.map +1 -1
  124. package/lib/chunks/TUozSxS9.js.map +1 -1
  125. package/lib/chunks/VbXk2d9K.js.map +1 -1
  126. package/lib/chunks/ZVbnP912.js.map +1 -1
  127. package/lib/chunks/{tfbQX_PY.js → dWuVeAxa.js} +6 -4
  128. package/lib/chunks/dWuVeAxa.js.map +1 -0
  129. package/lib/chunks/fNHaXmhd.js.map +1 -1
  130. package/lib/chunks/{ByaMLR_T.js → hDM_D0Gl.js} +14 -12
  131. package/lib/chunks/hDM_D0Gl.js.map +1 -0
  132. package/lib/chunks/hwZvFgHO.js.map +1 -1
  133. package/lib/chunks/iDeTCDq_.js.map +1 -1
  134. package/lib/chunks/myVh41AJ.js.map +1 -1
  135. package/lib/chunks/{Btn_5aey.js → nXuveKLC.js} +3 -1
  136. package/lib/chunks/nXuveKLC.js.map +1 -0
  137. package/lib/chunks/{BNm3bwPy.js → qU-thBaI.js} +3 -1
  138. package/lib/chunks/qU-thBaI.js.map +1 -0
  139. package/lib/chunks/sk5L-p1f.js.map +1 -1
  140. package/lib/components/BryntumAIFilterField.js +1 -1
  141. package/lib/components/BryntumBooleanCombo.js +1 -1
  142. package/lib/components/BryntumCalendarField.js +1 -1
  143. package/lib/components/BryntumCheckbox.js +1 -1
  144. package/lib/components/BryntumChecklistFilterCombo.js +1 -1
  145. package/lib/components/BryntumColorField.js +1 -1
  146. package/lib/components/BryntumCombo.js +1 -1
  147. package/lib/components/BryntumConstraintTypePicker.js +1 -1
  148. package/lib/components/BryntumCostAccrualField.js +1 -1
  149. package/lib/components/BryntumDateField.js +1 -1
  150. package/lib/components/BryntumDateRangeField.js +1 -1
  151. package/lib/components/BryntumDateTimeField.js +1 -1
  152. package/lib/components/BryntumDependencyTypePicker.js +1 -1
  153. package/lib/components/BryntumDisplayField.js +1 -1
  154. package/lib/components/BryntumDurationField.js +1 -1
  155. package/lib/components/BryntumEffortField.js +1 -1
  156. package/lib/components/BryntumEndDateField.js +1 -1
  157. package/lib/components/BryntumEventColorField.js +1 -1
  158. package/lib/components/BryntumFileField.js +1 -1
  159. package/lib/components/BryntumFilterField.js +1 -1
  160. package/lib/components/BryntumModelCombo.js +1 -1
  161. package/lib/components/BryntumNumberField.js +1 -1
  162. package/lib/components/BryntumPasswordField.js +1 -1
  163. package/lib/components/BryntumProjectCombo.js +1 -1
  164. package/lib/components/BryntumRadio.js +1 -1
  165. package/lib/components/BryntumRateTableField.js +1 -1
  166. package/lib/components/BryntumResourceCombo.js +1 -1
  167. package/lib/components/BryntumResourceGrid.js +1 -1
  168. package/lib/components/BryntumResourceHistogram.js +1 -1
  169. package/lib/components/BryntumResourceTypeField.js +1 -1
  170. package/lib/components/BryntumResourceUtilization.js +1 -1
  171. package/lib/components/BryntumScheduler.js +1 -1
  172. package/lib/components/BryntumSchedulerBase.js +1 -1
  173. package/lib/components/BryntumSchedulerPro.js +1 -1
  174. package/lib/components/BryntumSchedulerProBase.js +1 -1
  175. package/lib/components/BryntumSchedulingDirectionPicker.js +1 -1
  176. package/lib/components/BryntumSchedulingModePicker.js +1 -1
  177. package/lib/components/BryntumSlideToggle.js +1 -1
  178. package/lib/components/BryntumStartDateField.js +1 -1
  179. package/lib/components/BryntumTextAreaField.js +1 -1
  180. package/lib/components/BryntumTextAreaPickerField.js +1 -1
  181. package/lib/components/BryntumTextField.js +1 -1
  182. package/lib/components/BryntumTimeField.js +1 -1
  183. package/lib/components/BryntumTimeline.js +1 -1
  184. package/lib/components/BryntumTreeCombo.js +1 -1
  185. package/lib/components/BryntumViewPresetCombo.js +1 -1
  186. package/lib/index.js +46 -46
  187. package/package.json +1 -1
  188. package/src/components/BryntumAIFilterField.vue +17 -1
  189. package/src/components/BryntumAIFilterFieldProps.ts +15 -0
  190. package/src/components/BryntumBooleanCombo.vue +17 -1
  191. package/src/components/BryntumBooleanComboProps.ts +15 -0
  192. package/src/components/BryntumButton.vue +9 -3
  193. package/src/components/BryntumButtonGroup.vue +7 -1
  194. package/src/components/BryntumButtonGroupProps.ts +6 -0
  195. package/src/components/BryntumButtonProps.ts +6 -0
  196. package/src/components/BryntumCalendarEditor.vue +9 -3
  197. package/src/components/BryntumCalendarEditorProps.ts +6 -0
  198. package/src/components/BryntumCalendarField.vue +17 -1
  199. package/src/components/BryntumCalendarFieldProps.ts +15 -0
  200. package/src/components/BryntumChatPanel.vue +9 -3
  201. package/src/components/BryntumChatPanelProps.ts +6 -0
  202. package/src/components/BryntumCheckbox.vue +18 -2
  203. package/src/components/BryntumCheckboxGroup.vue +9 -3
  204. package/src/components/BryntumCheckboxGroupProps.ts +6 -0
  205. package/src/components/BryntumCheckboxProps.ts +15 -0
  206. package/src/components/BryntumChecklistFilterCombo.vue +17 -1
  207. package/src/components/BryntumChecklistFilterComboProps.ts +15 -0
  208. package/src/components/BryntumChipView.vue +11 -3
  209. package/src/components/BryntumChipViewProps.ts +9 -1
  210. package/src/components/BryntumCodeEditor.vue +9 -3
  211. package/src/components/BryntumCodeEditorProps.ts +6 -0
  212. package/src/components/BryntumColorField.vue +17 -1
  213. package/src/components/BryntumColorFieldProps.ts +15 -0
  214. package/src/components/BryntumCombo.vue +17 -1
  215. package/src/components/BryntumComboProps.ts +15 -0
  216. package/src/components/BryntumConstraintTypePicker.vue +17 -1
  217. package/src/components/BryntumConstraintTypePickerProps.ts +15 -0
  218. package/src/components/BryntumContainer.vue +7 -1
  219. package/src/components/BryntumContainerProps.ts +6 -0
  220. package/src/components/BryntumCostAccrualField.vue +17 -1
  221. package/src/components/BryntumCostAccrualFieldProps.ts +15 -0
  222. package/src/components/BryntumDateField.vue +17 -1
  223. package/src/components/BryntumDateFieldProps.ts +15 -0
  224. package/src/components/BryntumDatePicker.vue +9 -3
  225. package/src/components/BryntumDatePickerProps.ts +6 -0
  226. package/src/components/BryntumDateRangeField.vue +17 -1
  227. package/src/components/BryntumDateRangeFieldProps.ts +15 -0
  228. package/src/components/BryntumDateTimeField.vue +17 -1
  229. package/src/components/BryntumDateTimeFieldProps.ts +15 -0
  230. package/src/components/BryntumDemoCodeEditor.vue +9 -3
  231. package/src/components/BryntumDemoCodeEditorProps.ts +6 -0
  232. package/src/components/BryntumDependencyTypePicker.vue +17 -1
  233. package/src/components/BryntumDependencyTypePickerProps.ts +15 -0
  234. package/src/components/BryntumDisplayField.vue +17 -1
  235. package/src/components/BryntumDisplayFieldProps.ts +15 -0
  236. package/src/components/BryntumDurationField.vue +17 -1
  237. package/src/components/BryntumDurationFieldProps.ts +15 -0
  238. package/src/components/BryntumEditor.vue +11 -5
  239. package/src/components/BryntumEditorProps.ts +6 -0
  240. package/src/components/BryntumEffortField.vue +17 -1
  241. package/src/components/BryntumEffortFieldProps.ts +15 -0
  242. package/src/components/BryntumEndDateField.vue +18 -2
  243. package/src/components/BryntumEndDateFieldProps.ts +16 -1
  244. package/src/components/BryntumEventColorField.vue +17 -1
  245. package/src/components/BryntumEventColorFieldProps.ts +15 -0
  246. package/src/components/BryntumFieldFilterPicker.vue +7 -1
  247. package/src/components/BryntumFieldFilterPickerGroup.vue +8 -2
  248. package/src/components/BryntumFieldFilterPickerGroupProps.ts +6 -0
  249. package/src/components/BryntumFieldFilterPickerProps.ts +6 -0
  250. package/src/components/BryntumFieldSet.vue +9 -3
  251. package/src/components/BryntumFieldSetProps.ts +6 -0
  252. package/src/components/BryntumFileField.vue +17 -1
  253. package/src/components/BryntumFileFieldProps.ts +15 -0
  254. package/src/components/BryntumFilePicker.vue +7 -1
  255. package/src/components/BryntumFilePickerProps.ts +6 -0
  256. package/src/components/BryntumFilterField.vue +17 -1
  257. package/src/components/BryntumFilterFieldProps.ts +15 -0
  258. package/src/components/BryntumGrid.vue +31 -25
  259. package/src/components/BryntumGridBase.vue +31 -25
  260. package/src/components/BryntumGridBaseProps.ts +6 -0
  261. package/src/components/BryntumGridChartDesigner.vue +7 -1
  262. package/src/components/BryntumGridChartDesignerProps.ts +6 -0
  263. package/src/components/BryntumGridFieldFilterPicker.vue +7 -1
  264. package/src/components/BryntumGridFieldFilterPickerGroup.vue +8 -2
  265. package/src/components/BryntumGridFieldFilterPickerGroupProps.ts +6 -0
  266. package/src/components/BryntumGridFieldFilterPickerProps.ts +6 -0
  267. package/src/components/BryntumGridProps.ts +6 -0
  268. package/src/components/BryntumGroupBar.vue +11 -3
  269. package/src/components/BryntumGroupBarProps.ts +9 -1
  270. package/src/components/BryntumHint.vue +9 -3
  271. package/src/components/BryntumHintProps.ts +6 -0
  272. package/src/components/BryntumLabel.vue +7 -1
  273. package/src/components/BryntumLabelProps.ts +6 -0
  274. package/src/components/BryntumList.vue +8 -2
  275. package/src/components/BryntumListProps.ts +6 -0
  276. package/src/components/BryntumMenu.vue +9 -3
  277. package/src/components/BryntumMenuProps.ts +6 -0
  278. package/src/components/BryntumModelCombo.vue +17 -1
  279. package/src/components/BryntumModelComboProps.ts +15 -0
  280. package/src/components/BryntumMonthPicker.vue +9 -3
  281. package/src/components/BryntumMonthPickerProps.ts +6 -0
  282. package/src/components/BryntumNumberField.vue +17 -1
  283. package/src/components/BryntumNumberFieldProps.ts +15 -0
  284. package/src/components/BryntumPagingToolbar.vue +8 -2
  285. package/src/components/BryntumPagingToolbarProps.ts +6 -0
  286. package/src/components/BryntumPanel.vue +9 -3
  287. package/src/components/BryntumPanelProps.ts +6 -0
  288. package/src/components/BryntumPasswordField.vue +17 -1
  289. package/src/components/BryntumPasswordFieldProps.ts +15 -0
  290. package/src/components/BryntumProgressBar.vue +7 -1
  291. package/src/components/BryntumProgressBarProps.ts +6 -0
  292. package/src/components/BryntumProjectCombo.vue +18 -2
  293. package/src/components/BryntumProjectComboProps.ts +16 -1
  294. package/src/components/BryntumRadio.vue +18 -2
  295. package/src/components/BryntumRadioGroup.vue +9 -3
  296. package/src/components/BryntumRadioGroupProps.ts +6 -0
  297. package/src/components/BryntumRadioProps.ts +15 -0
  298. package/src/components/BryntumRateTableField.vue +17 -1
  299. package/src/components/BryntumRateTableFieldProps.ts +15 -0
  300. package/src/components/BryntumResourceCombo.vue +17 -1
  301. package/src/components/BryntumResourceComboProps.ts +15 -0
  302. package/src/components/BryntumResourceEditor.vue +9 -3
  303. package/src/components/BryntumResourceEditorProps.ts +6 -0
  304. package/src/components/BryntumResourceFilter.vue +8 -2
  305. package/src/components/BryntumResourceFilterProps.ts +6 -0
  306. package/src/components/BryntumResourceGrid.vue +38 -26
  307. package/src/components/BryntumResourceGridProps.ts +12 -1
  308. package/src/components/BryntumResourceHistogram.vue +43 -31
  309. package/src/components/BryntumResourceHistogramProps.ts +12 -1
  310. package/src/components/BryntumResourceTypeField.vue +17 -1
  311. package/src/components/BryntumResourceTypeFieldProps.ts +15 -0
  312. package/src/components/BryntumResourceUtilization.vue +43 -31
  313. package/src/components/BryntumResourceUtilizationProps.ts +12 -1
  314. package/src/components/BryntumScheduler.vue +67 -51
  315. package/src/components/BryntumSchedulerBase.vue +67 -51
  316. package/src/components/BryntumSchedulerBaseProps.ts +12 -1
  317. package/src/components/BryntumSchedulerDatePicker.vue +9 -3
  318. package/src/components/BryntumSchedulerDatePickerProps.ts +6 -0
  319. package/src/components/BryntumSchedulerPro.vue +72 -56
  320. package/src/components/BryntumSchedulerProBase.vue +72 -56
  321. package/src/components/BryntumSchedulerProBaseProps.ts +12 -1
  322. package/src/components/BryntumSchedulerProProjectModel.vue +17 -13
  323. package/src/components/BryntumSchedulerProProjectModelProps.ts +9 -7
  324. package/src/components/BryntumSchedulerProProps.ts +12 -1
  325. package/src/components/BryntumSchedulerProps.ts +12 -1
  326. package/src/components/BryntumSchedulingDirectionPicker.vue +17 -1
  327. package/src/components/BryntumSchedulingDirectionPickerProps.ts +15 -0
  328. package/src/components/BryntumSchedulingModePicker.vue +17 -1
  329. package/src/components/BryntumSchedulingModePickerProps.ts +15 -0
  330. package/src/components/BryntumSlideToggle.vue +18 -2
  331. package/src/components/BryntumSlideToggleProps.ts +15 -0
  332. package/src/components/BryntumSlider.vue +7 -1
  333. package/src/components/BryntumSliderProps.ts +6 -0
  334. package/src/components/BryntumSplitter.vue +7 -1
  335. package/src/components/BryntumSplitterProps.ts +6 -0
  336. package/src/components/BryntumStartDateField.vue +18 -2
  337. package/src/components/BryntumStartDateFieldProps.ts +16 -1
  338. package/src/components/BryntumTabPanel.vue +10 -4
  339. package/src/components/BryntumTabPanelProps.ts +6 -0
  340. package/src/components/BryntumTextAreaField.vue +17 -1
  341. package/src/components/BryntumTextAreaFieldProps.ts +15 -0
  342. package/src/components/BryntumTextAreaPickerField.vue +17 -1
  343. package/src/components/BryntumTextAreaPickerFieldProps.ts +15 -0
  344. package/src/components/BryntumTextField.vue +17 -1
  345. package/src/components/BryntumTextFieldProps.ts +15 -0
  346. package/src/components/BryntumTimeField.vue +17 -1
  347. package/src/components/BryntumTimeFieldProps.ts +15 -0
  348. package/src/components/BryntumTimePicker.vue +7 -1
  349. package/src/components/BryntumTimePickerProps.ts +6 -0
  350. package/src/components/BryntumTimeZoomSlider.vue +7 -1
  351. package/src/components/BryntumTimeZoomSliderProps.ts +6 -0
  352. package/src/components/BryntumTimeline.vue +67 -51
  353. package/src/components/BryntumTimelineHistogram.vue +36 -30
  354. package/src/components/BryntumTimelineHistogramProps.ts +6 -0
  355. package/src/components/BryntumTimelineProps.ts +12 -1
  356. package/src/components/BryntumToolbar.vue +8 -2
  357. package/src/components/BryntumToolbarProps.ts +6 -0
  358. package/src/components/BryntumTreeCombo.vue +17 -1
  359. package/src/components/BryntumTreeComboProps.ts +15 -0
  360. package/src/components/BryntumTreeGrid.vue +31 -25
  361. package/src/components/BryntumTreeGridProps.ts +6 -0
  362. package/src/components/BryntumUndoRedo.vue +8 -2
  363. package/src/components/BryntumUndoRedoProps.ts +7 -1
  364. package/src/components/BryntumVersionGrid.vue +32 -26
  365. package/src/components/BryntumVersionGridProps.ts +7 -1
  366. package/src/components/BryntumViewPresetCombo.vue +17 -1
  367. package/src/components/BryntumViewPresetComboProps.ts +15 -0
  368. package/src/components/BryntumWidget.vue +7 -1
  369. package/src/components/BryntumWidgetProps.ts +6 -0
  370. package/src/components/BryntumYearPicker.vue +9 -3
  371. package/src/components/BryntumYearPickerProps.ts +6 -0
  372. package/lib/chunks/BFbQ6-_1.js.map +0 -1
  373. package/lib/chunks/BMszmpSq.js.map +0 -1
  374. package/lib/chunks/BNm3bwPy.js.map +0 -1
  375. package/lib/chunks/BX64SLAW.js.map +0 -1
  376. package/lib/chunks/BaMhPE-S.js.map +0 -1
  377. package/lib/chunks/BcyZtXua.js.map +0 -1
  378. package/lib/chunks/Btn_5aey.js.map +0 -1
  379. package/lib/chunks/BvjJXW7d.js.map +0 -1
  380. package/lib/chunks/ByXfNGge.js.map +0 -1
  381. package/lib/chunks/ByaMLR_T.js.map +0 -1
  382. package/lib/chunks/C1BWT24E.js.map +0 -1
  383. package/lib/chunks/C3Ok7M88.js.map +0 -1
  384. package/lib/chunks/C4Uvin-l.js.map +0 -1
  385. package/lib/chunks/C8Z3RKwO.js.map +0 -1
  386. package/lib/chunks/CISuZ6-v.js.map +0 -1
  387. package/lib/chunks/CQbPcPEi.js.map +0 -1
  388. package/lib/chunks/CYs3pU9g.js.map +0 -1
  389. package/lib/chunks/CartziHS.js.map +0 -1
  390. package/lib/chunks/CazA7o4i.js.map +0 -1
  391. package/lib/chunks/CbAbRlD1.js.map +0 -1
  392. package/lib/chunks/CbMBy-EW.js.map +0 -1
  393. package/lib/chunks/CkGJeDSH.js.map +0 -1
  394. package/lib/chunks/CxrldlWS.js.map +0 -1
  395. package/lib/chunks/Cy8a6FnS.js.map +0 -1
  396. package/lib/chunks/Cyn0k5tW.js.map +0 -1
  397. package/lib/chunks/D-nm2cLV.js.map +0 -1
  398. package/lib/chunks/D0vFqrAb.js.map +0 -1
  399. package/lib/chunks/D47uQmzF.js.map +0 -1
  400. package/lib/chunks/DF4UEW_S.js.map +0 -1
  401. package/lib/chunks/DJ-9EwCY.js.map +0 -1
  402. package/lib/chunks/DP2Ezl8b.js.map +0 -1
  403. package/lib/chunks/DPtMF4Rv.js.map +0 -1
  404. package/lib/chunks/DV5ZSPte.js.map +0 -1
  405. package/lib/chunks/Djn1Rp_N.js.map +0 -1
  406. package/lib/chunks/DoepWRsZ.js.map +0 -1
  407. package/lib/chunks/DqKQs13g.js.map +0 -1
  408. package/lib/chunks/DsdQVWTB.js.map +0 -1
  409. package/lib/chunks/Iu-EbwF2.js.map +0 -1
  410. package/lib/chunks/KBZz9QaC.js.map +0 -1
  411. package/lib/chunks/L6ajfD8u.js.map +0 -1
  412. package/lib/chunks/WPdRha9F.js.map +0 -1
  413. package/lib/chunks/dhJIGyQF.js.map +0 -1
  414. package/lib/chunks/mgU9iOR9.js.map +0 -1
  415. package/lib/chunks/r_MRGDpW.js.map +0 -1
  416. package/lib/chunks/tfbQX_PY.js.map +0 -1
  417. package/lib/chunks/wB86daFn.js.map +0 -1
@@ -10,7 +10,7 @@
10
10
 
11
11
  import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
12
12
 
13
- import type { AbstractCrudManager, AssignmentModel, AssignmentModelConfig, AssignmentStore, AssignmentStoreConfig, Base, CalendarManagerStore, CalendarManagerStoreConfig, CalendarModel, CalendarModelConfig, CoreStateTrackingManager, CrudManagerRequestResponse, CrudManagerStoreDescriptor, DependencyModel, DependencyModelConfig, DependencyStore, DependencyStoreConfig, DurationUnit, EventModel, EventModelConfig, EventStore, EventStoreConfig, LazyLoadCrudManagerRequestParams, Model, ModelConfig, ProjectModelListeners, ResourceAllocationInfo, ResourceModel, ResourceModelConfig, ResourceStore, ResourceStoreConfig, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, SchedulerProjectModel, StateTrackingManagerConfig, Store, StoreConfig, TimeRangeStore, TimeSpan, TimeSpanConfig } from '@bryntum/schedulerpro';
13
+ import type { AbstractCrudManager, AssignmentModel, AssignmentModelConfig, AssignmentStore, AssignmentStoreConfig, Base, CalendarManagerStore, CalendarManagerStoreConfig, CalendarModel, CalendarModelConfig, CoreStateTrackingManager, CrudManagerRequestResponse, CrudManagerStoreDescriptor, DependencyModel, DependencyModelConfig, DependencyStore, DependencyStoreConfig, DurationUnit, EventModel, EventModelConfig, EventStore, EventStoreConfig, FetchCredentials, HttpMethod, LazyLoadCrudManagerRequestParams, Model, ModelConfig, ProjectModelListeners, ResourceAllocationInfo, ResourceModel, ResourceModelConfig, ResourceStore, ResourceStoreConfig, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, SchedulerProjectModel, StateTrackingManagerConfig, Store, StoreConfig, TimeRangeStore, TimeSpan, TimeSpanConfig } from '@bryntum/schedulerpro';
14
14
  import { ProjectModel } from '@bryntum/schedulerpro';
15
15
 
16
16
  import { WrapperHelper } from '../helper/WrapperHelper';
@@ -115,6 +115,7 @@ defineProps<{
115
115
  /**
116
116
  * The initial data, to fill the [calendarManagerStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#property-calendarManagerStore) with.
117
117
  * Should be an array of [CalendarModel](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/CalendarModel) or its configuration objects.
118
+ * @deprecated 6.3.0 Use [calendars](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-calendars) instead
118
119
  */
119
120
  calendarsData ? : CalendarModel[]
120
121
  /**
@@ -277,12 +278,11 @@ defineProps<{
277
278
  * If set to `true`, or a config object, this makes the CrudManager load records only when needed. When a record
278
279
  * or a date range that is not already loaded is requested, a load request will be made to the specified URL.
279
280
  * More more details about lazy loading, see the [guide](https://bryntum.com/products/schedulerpro/docs/api/Grid/guides/data/lazyloading.md)
280
- * @param {object} lazyLoad Lazy load config
281
- * @param {number} lazyLoad.chunkSize The number of records to be loaded before and after the requested index (only affects the ResourceStore).
281
+ * @param {number} chunkSize The number of records to be loaded before and after the requested index (only affects the ResourceStore).
282
282
  * @param {DurationUnit} bufferUnit Used together with bufferAmount to calculate the start and end dates of each load request. The value is added to the current visible start or end date. Defaults to the visible time span length (does not affect ResourceStore).
283
283
  * @param {number} bufferAmount See `bufferUnit`
284
284
  */
285
- lazyLoad ? : Boolean|{ lazyLoad: { chunkSize: number }, bufferUnit: DurationUnit, bufferAmount: number }
285
+ lazyLoad ? : Boolean|{ chunkSize: number, bufferUnit: DurationUnit, bufferAmount: number }
286
286
  /**
287
287
  * The listener set for this object.
288
288
  * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-listeners)
@@ -549,18 +549,20 @@ defineProps<{
549
549
  * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-transport)
550
550
  * @property {object} [transport.load] Load requests configuration:
551
551
  * @property {string} [transport.load.url] URL to request for data loading.
552
- * @property {string} [transport.load.method] HTTP method to be used for load requests.
552
+ * @property {HttpMethod} [transport.load.method] HTTP method to be used for load requests.
553
+ * @property {FetchCredentials} [transport.load.credentials] The request credentials option to use for load requests. Corresponds to the standard <a href="https://developer.mozilla.org/en-US/docs/Web/API/Request/credentials">Fetch API `credentials`</a> option.
553
554
  * @property {string} [transport.load.paramName] Name of the parameter that will contain a serialized `load` request. The value is mandatory for requests using `GET` method (default for `load`) so if the value is not provided `data` string is used as default. This value is optional for HTTP methods like `POST` and `PUT`, the request body will be used for data transferring in these cases.
554
555
  * @property {object} [transport.load.params] An object containing extra HTTP parameters to pass to the server when sending a `load` request. ```javascript transport : { load : { url : 'http://mycool-server.com/load.php', // HTTP request parameter used to pass serialized "load"-requests paramName : 'data', // pass extra HTTP request parameter // so resulting URL will look like: http://mycool-server.com/load.php?userId=123456&data=... params : { userId : '123456' } }, ... } ```
555
556
  * @property {Record<string, string>} [transport.load.headers] An object containing headers to pass to each server request. ```javascript transport : { load : { url : 'http://mycool-server.com/load.php', // HTTP request parameter used to pass serialized "load"-requests paramName : 'data', // specify Content-Type for "load" requests headers : { 'Content-Type' : 'application/json' } }, ... } ```
556
557
  * @property {object} [transport.sync] Sync requests (`sync` in further text) configuration:
557
558
  * @property {string} [transport.sync.url] URL to request for `sync`.
558
- * @property {string} [transport.sync.method] HTTP request method to be used for `sync`.
559
+ * @property {HttpMethod} [transport.sync.method] HTTP request method to be used for `sync`.
560
+ * @property {FetchCredentials} [transport.sync.credentials] The request credentials option to use for sync requests. Corresponds to the standard <a href="https://developer.mozilla.org/en-US/docs/Web/API/Request/credentials">Fetch API `credentials`</a> option.
559
561
  * @property {string} [transport.sync.paramName] Name of the parameter in which `sync` data will be transferred. This value is optional for requests using methods like `POST` and `PUT`, the request body will be used for data transferring in this case (default for `sync`). And the value is mandatory for requests using `GET` method (if the value is not provided `data` string will be used as fallback).
560
562
  * @property {object} [transport.sync.params] HTTP parameters to pass with an HTTP request handling `sync`. ```javascript transport : { sync : { url : 'http://mycool-server.com/sync.php', // extra HTTP request parameter params : { userId : '123456' } }, ... } ```
561
563
  * @property {Record<string, string>} [transport.sync.headers] HTTP headers to pass with an HTTP request handling `sync`. ```javascript transport : { sync : { url : 'http://mycool-server.com/sync.php', // specify Content-Type for "sync" requests headers : { 'Content-Type' : 'application/json' } }, ... } ```
562
564
  */
563
- transport ? : { load?: { url?: string, method?: string, paramName?: string, params?: object, headers?: Record<string, string> }, sync?: { url?: string, method?: string, paramName?: string, params?: object, headers?: Record<string, string> } }
565
+ transport ? : { load?: { url?: string, method?: HttpMethod, credentials?: FetchCredentials, paramName?: string, params?: object, headers?: Record<string, string> }, sync?: { url?: string, method?: HttpMethod, credentials?: FetchCredentials, paramName?: string, params?: object, headers?: Record<string, string> } }
564
566
  /**
565
567
  * By default, the stores of a project use the raw data objects passed to them as the data source for their
566
568
  * records if data is loaded remotely (using an `AjaxStore` or a `CrudManager`). For data supplied inline,
@@ -604,7 +606,7 @@ const emit = defineEmits<{
604
606
  * @param {Scheduler.crud.AbstractCrudManager} params.event.source The CRUD manager.
605
607
  * @param {object} params.event.pack The data package which contains data for all stores managed by the crud manager.
606
608
  */
607
- (e: 'beforeLoad', params: ((event: { source: AbstractCrudManager, pack: object }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
609
+ (e: 'beforeLoad', params: ((event: { source: AbstractCrudManager, pack: object }) => boolean|void)|string): boolean|void
608
610
  /**
609
611
  * Fires before loaded data get applied to the stores. Return `false` to prevent data applying.
610
612
  * This event can be used for server data preprocessing. To achieve it user can modify the `response` object.
@@ -615,7 +617,7 @@ const emit = defineEmits<{
615
617
  * @param {object} params.event.response The decoded server response object.
616
618
  * @param {object} params.event.options Options provided to the [load](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/crud/AbstractCrudManagerMixin#function-load) method.
617
619
  */
618
- (e: 'beforeLoadApply', params: ((event: { source: AbstractCrudManager, response: object, options: object }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
620
+ (e: 'beforeLoadApply', params: ((event: { source: AbstractCrudManager, response: object, options: object }) => boolean|void)|string): boolean|void
619
621
  /**
620
622
  * Fires before server response gets applied to the stores. Return `false` to prevent data applying.
621
623
  * This event can be used for server data preprocessing. To achieve it user can modify the `response` object.
@@ -626,7 +628,7 @@ const emit = defineEmits<{
626
628
  * @param {'sync','load'} params.event.requestType The request type (`sync` or `load`).
627
629
  * @param {object} params.event.response The decoded server response object.
628
630
  */
629
- (e: 'beforeResponseApply', params: ((event: { source: AbstractCrudManager, requestType: 'sync'|'load', response: object }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
631
+ (e: 'beforeResponseApply', params: ((event: { source: AbstractCrudManager, requestType: 'sync'|'load', response: object }) => boolean|void)|string): boolean|void
630
632
  /**
631
633
  * Fires before a request is sent to the server.
632
634
  * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#event-beforeSend)
@@ -658,7 +660,7 @@ const emit = defineEmits<{
658
660
  * @param {Scheduler.crud.AbstractCrudManager} params.event.source The CRUD manager.
659
661
  * @param {object} params.event.response The decoded server response object.
660
662
  */
661
- (e: 'beforeSyncApply', params: ((event: { source: AbstractCrudManager, response: object }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
663
+ (e: 'beforeSyncApply', params: ((event: { source: AbstractCrudManager, response: object }) => boolean|void)|string): boolean|void
662
664
  /**
663
665
  * Fires when any other event is fired from the object.
664
666
  * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#event-catchAll)
@@ -745,9 +747,10 @@ const emit = defineEmits<{
745
747
  * @param {object} params.event.response The decoded server response object.
746
748
  * @param {object} params.event.responseOptions [DEPRECATED] see `requestOptions`
747
749
  * @param {object} params.event.requestOptions The request options passed to the request.
750
+ * @param {object} params.event.options The options provided to the [load](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/crud/AbstractCrudManagerMixin#function-load) method.
748
751
  * @param {Response} params.event.rawResponse The native Response object
749
752
  */
750
- (e: 'load', params: ((event: { source: AbstractCrudManager, response: object, responseOptions: object, requestOptions: object, rawResponse: Response }) => void)|string): void
753
+ (e: 'load', params: ((event: { source: AbstractCrudManager, response: object, responseOptions: object, requestOptions: object, options: object, rawResponse: Response }) => void)|string): void
751
754
  /**
752
755
  * Fired after [load request](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/crud/AbstractCrudManagerMixin#function-load) was canceled by some [beforeLoad](#Scheduler/crud/AbstractCrudManagerMixin#event-beforeLoad)
753
756
  * listener or due to incomplete prior load request.
@@ -768,9 +771,10 @@ const emit = defineEmits<{
768
771
  * @param {string} params.event.responseText The raw server response text
769
772
  * @param {object} params.event.responseOptions [DEPRECATED] see `requestOptions`
770
773
  * @param {object} params.event.requestOptions The request options passed to the request.
774
+ * @param {object} params.event.options The options provided to the [load](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/crud/AbstractCrudManagerMixin#function-load) method.
771
775
  * @param {Response} params.event.rawResponse The native Response object
772
776
  */
773
- (e: 'loadFail', params: ((event: { source: AbstractCrudManager, response: object, responseText: string, responseOptions: object, requestOptions: object, rawResponse: Response }) => void)|string): void
777
+ (e: 'loadFail', params: ((event: { source: AbstractCrudManager, response: object, responseText: string, responseOptions: object, requestOptions: object, options: object, rawResponse: Response }) => void)|string): void
774
778
  /**
775
779
  * Fires when registered stores get into state when they don't have any
776
780
  * not persisted change. This happens after [load](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/crud/AbstractCrudManagerMixin#function-load) or [sync](#Scheduler/crud/AbstractCrudManagerMixin#function-sync) request
@@ -1,4 +1,4 @@
1
- import type { AssignmentModel, AssignmentModelConfig, AssignmentStore, AssignmentStoreConfig, CalendarManagerStore, CalendarManagerStoreConfig, CalendarModel, CalendarModelConfig, CoreStateTrackingManager, CrudManagerRequestResponse, CrudManagerStoreDescriptor, DependencyModel, DependencyModelConfig, DependencyStore, DependencyStoreConfig, DurationUnit, EventModel, EventModelConfig, EventStore, EventStoreConfig, LazyLoadCrudManagerRequestParams, Model, ModelConfig, ProjectModelListeners, ResourceAllocationInfo, ResourceModel, ResourceModelConfig, ResourceStore, ResourceStoreConfig, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, StateTrackingManagerConfig, Store, StoreConfig, TimeRangeStore, TimeSpan, TimeSpanConfig } from '@bryntum/schedulerpro';
1
+ import type { AssignmentModel, AssignmentModelConfig, AssignmentStore, AssignmentStoreConfig, CalendarManagerStore, CalendarManagerStoreConfig, CalendarModel, CalendarModelConfig, CoreStateTrackingManager, CrudManagerRequestResponse, CrudManagerStoreDescriptor, DependencyModel, DependencyModelConfig, DependencyStore, DependencyStoreConfig, DurationUnit, EventModel, EventModelConfig, EventStore, EventStoreConfig, FetchCredentials, HttpMethod, LazyLoadCrudManagerRequestParams, Model, ModelConfig, ProjectModelListeners, ResourceAllocationInfo, ResourceModel, ResourceModelConfig, ResourceStore, ResourceStoreConfig, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, StateTrackingManagerConfig, Store, StoreConfig, TimeRangeStore, TimeSpan, TimeSpanConfig } from '@bryntum/schedulerpro';
2
2
  import { } from '@bryntum/schedulerpro';
3
3
 
4
4
  export declare type BryntumSchedulerProProjectModelProps = {
@@ -101,6 +101,7 @@ export declare type BryntumSchedulerProProjectModelProps = {
101
101
  /**
102
102
  * The initial data, to fill the [calendarManagerStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#property-calendarManagerStore) with.
103
103
  * Should be an array of [CalendarModel](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/CalendarModel) or its configuration objects.
104
+ * @deprecated 6.3.0 Use [calendars](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-calendars) instead
104
105
  */
105
106
  calendarsData ? : CalendarModel[]
106
107
  /**
@@ -263,12 +264,11 @@ export declare type BryntumSchedulerProProjectModelProps = {
263
264
  * If set to `true`, or a config object, this makes the CrudManager load records only when needed. When a record
264
265
  * or a date range that is not already loaded is requested, a load request will be made to the specified URL.
265
266
  * More more details about lazy loading, see the [guide](https://bryntum.com/products/schedulerpro/docs/api/Grid/guides/data/lazyloading.md)
266
- * @param {object} lazyLoad Lazy load config
267
- * @param {number} lazyLoad.chunkSize The number of records to be loaded before and after the requested index (only affects the ResourceStore).
267
+ * @param {number} chunkSize The number of records to be loaded before and after the requested index (only affects the ResourceStore).
268
268
  * @param {DurationUnit} bufferUnit Used together with bufferAmount to calculate the start and end dates of each load request. The value is added to the current visible start or end date. Defaults to the visible time span length (does not affect ResourceStore).
269
269
  * @param {number} bufferAmount See `bufferUnit`
270
270
  */
271
- lazyLoad ? : Boolean|{ lazyLoad: { chunkSize: number }, bufferUnit: DurationUnit, bufferAmount: number }
271
+ lazyLoad ? : Boolean|{ chunkSize: number, bufferUnit: DurationUnit, bufferAmount: number }
272
272
  /**
273
273
  * The listener set for this object.
274
274
  * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-listeners)
@@ -535,18 +535,20 @@ export declare type BryntumSchedulerProProjectModelProps = {
535
535
  * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-transport)
536
536
  * @property {object} [transport.load] Load requests configuration:
537
537
  * @property {string} [transport.load.url] URL to request for data loading.
538
- * @property {string} [transport.load.method] HTTP method to be used for load requests.
538
+ * @property {HttpMethod} [transport.load.method] HTTP method to be used for load requests.
539
+ * @property {FetchCredentials} [transport.load.credentials] The request credentials option to use for load requests. Corresponds to the standard <a href="https://developer.mozilla.org/en-US/docs/Web/API/Request/credentials">Fetch API `credentials`</a> option.
539
540
  * @property {string} [transport.load.paramName] Name of the parameter that will contain a serialized `load` request. The value is mandatory for requests using `GET` method (default for `load`) so if the value is not provided `data` string is used as default. This value is optional for HTTP methods like `POST` and `PUT`, the request body will be used for data transferring in these cases.
540
541
  * @property {object} [transport.load.params] An object containing extra HTTP parameters to pass to the server when sending a `load` request. ```javascript transport : { load : { url : 'http://mycool-server.com/load.php', // HTTP request parameter used to pass serialized "load"-requests paramName : 'data', // pass extra HTTP request parameter // so resulting URL will look like: http://mycool-server.com/load.php?userId=123456&data=... params : { userId : '123456' } }, ... } ```
541
542
  * @property {Record<string, string>} [transport.load.headers] An object containing headers to pass to each server request. ```javascript transport : { load : { url : 'http://mycool-server.com/load.php', // HTTP request parameter used to pass serialized "load"-requests paramName : 'data', // specify Content-Type for "load" requests headers : { 'Content-Type' : 'application/json' } }, ... } ```
542
543
  * @property {object} [transport.sync] Sync requests (`sync` in further text) configuration:
543
544
  * @property {string} [transport.sync.url] URL to request for `sync`.
544
- * @property {string} [transport.sync.method] HTTP request method to be used for `sync`.
545
+ * @property {HttpMethod} [transport.sync.method] HTTP request method to be used for `sync`.
546
+ * @property {FetchCredentials} [transport.sync.credentials] The request credentials option to use for sync requests. Corresponds to the standard <a href="https://developer.mozilla.org/en-US/docs/Web/API/Request/credentials">Fetch API `credentials`</a> option.
545
547
  * @property {string} [transport.sync.paramName] Name of the parameter in which `sync` data will be transferred. This value is optional for requests using methods like `POST` and `PUT`, the request body will be used for data transferring in this case (default for `sync`). And the value is mandatory for requests using `GET` method (if the value is not provided `data` string will be used as fallback).
546
548
  * @property {object} [transport.sync.params] HTTP parameters to pass with an HTTP request handling `sync`. ```javascript transport : { sync : { url : 'http://mycool-server.com/sync.php', // extra HTTP request parameter params : { userId : '123456' } }, ... } ```
547
549
  * @property {Record<string, string>} [transport.sync.headers] HTTP headers to pass with an HTTP request handling `sync`. ```javascript transport : { sync : { url : 'http://mycool-server.com/sync.php', // specify Content-Type for "sync" requests headers : { 'Content-Type' : 'application/json' } }, ... } ```
548
550
  */
549
- transport ? : { load?: { url?: string, method?: string, paramName?: string, params?: object, headers?: Record<string, string> }, sync?: { url?: string, method?: string, paramName?: string, params?: object, headers?: Record<string, string> } }
551
+ transport ? : { load?: { url?: string, method?: HttpMethod, credentials?: FetchCredentials, paramName?: string, params?: object, headers?: Record<string, string> }, sync?: { url?: string, method?: HttpMethod, credentials?: FetchCredentials, paramName?: string, params?: object, headers?: Record<string, string> } }
550
552
  /**
551
553
  * By default, the stores of a project use the raw data objects passed to them as the data source for their
552
554
  * records if data is loaded remotely (using an `AjaxStore` or a `CrudManager`). For data supplied inline,
@@ -57,6 +57,8 @@ export declare type BryntumSchedulerProProps = {
57
57
  /**
58
58
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
59
59
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element).
60
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
61
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/SchedulerPro#config-appendTo)
60
62
  */
61
63
  appendTo ? : HTMLElement|string
62
64
  /**
@@ -683,10 +685,14 @@ export declare type BryntumSchedulerProProps = {
683
685
  inputFieldAlign ? : 'start'|'end'
684
686
  /**
685
687
  * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
688
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
689
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/SchedulerPro#config-insertBefore)
686
690
  */
687
691
  insertBefore ? : HTMLElement|string
688
692
  /**
689
693
  * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
694
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
695
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/SchedulerPro#config-insertFirst)
690
696
  */
691
697
  insertFirst ? : HTMLElement|string
692
698
  /**
@@ -937,7 +943,12 @@ export declare type BryntumSchedulerProProps = {
937
943
  /**
938
944
  * A [ProjectModel](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel) instance or a config object. The project holds all SchedulerPro data.
939
945
  */
940
- project ? : ProjectModel|ProjectModelConfig|object
946
+ project ? : ProjectModel|ProjectModelConfig|object|null
947
+ /**
948
+ * The project model class to use when creating the project instance. Override this to use a custom project
949
+ * model class. In SchedulerPro and Gantt, this is overridden to use their respective project model classes.
950
+ */
951
+ projectModelClass ? : typeof ProjectModel
941
952
  /**
942
953
  * Accepts the following values:
943
954
  * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/SchedulerPro#config-projectProgressReporting)
@@ -57,6 +57,8 @@ export declare type BryntumSchedulerProps = {
57
57
  /**
58
58
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
59
59
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element).
60
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
61
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/Scheduler#config-appendTo)
60
62
  */
61
63
  appendTo ? : HTMLElement|string
62
64
  /**
@@ -664,10 +666,14 @@ export declare type BryntumSchedulerProps = {
664
666
  inputFieldAlign ? : 'start'|'end'
665
667
  /**
666
668
  * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
669
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
670
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/Scheduler#config-insertBefore)
667
671
  */
668
672
  insertBefore ? : HTMLElement|string
669
673
  /**
670
674
  * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
675
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
676
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/Scheduler#config-insertFirst)
671
677
  */
672
678
  insertFirst ? : HTMLElement|string
673
679
  /**
@@ -920,7 +926,12 @@ export declare type BryntumSchedulerProps = {
920
926
  * Can be omitted in favor of individual store configs or [crudManager](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/SchedulerStores#config-crudManager) config.
921
927
  * [More...](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/Scheduler#config-project)
922
928
  */
923
- project ? : ProjectModel|ProjectModelConfig|object
929
+ project ? : ProjectModel|ProjectModelConfig|object|null
930
+ /**
931
+ * The project model class to use when creating the project instance. Override this to use a custom project
932
+ * model class. In SchedulerPro and Gantt, this is overridden to use their respective project model classes.
933
+ */
934
+ projectModelClass ? : typeof ProjectModel
924
935
  /**
925
936
  * Range used to set the length of the time axis when used as a component of a Calendar. Suitable units are
926
937
  * `'month'`, `'week'` and `'day'`.
@@ -42,6 +42,8 @@ defineProps<{
42
42
  /**
43
43
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
44
44
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element).
45
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
46
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingDirectionPicker#config-appendTo)
45
47
  */
46
48
  appendTo ? : HTMLElement|string
47
49
  /**
@@ -104,6 +106,15 @@ defineProps<{
104
106
  * Set to `true` to centre the Widget in browser viewport space.
105
107
  */
106
108
  centered ? : Boolean
109
+ /**
110
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
111
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-isValid)
112
+ * evaluation, after the built-in [required](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-required) check.
113
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingDirectionPicker#config-checkValidity)
114
+ * @param {Core.widget.Field} field The field being validated
115
+ * @returns {void}
116
+ */
117
+ checkValidity ? : ((field: Field) => void)|string
107
118
  /**
108
119
  * A config object to configure the [ChipView](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/ChipView) to display the
109
120
  * selected value set when [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
@@ -397,10 +408,14 @@ defineProps<{
397
408
  inputWidth ? : string|number
398
409
  /**
399
410
  * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
411
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
412
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingDirectionPicker#config-insertBefore)
400
413
  */
401
414
  insertBefore ? : HTMLElement|string
402
415
  /**
403
416
  * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
417
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
418
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingDirectionPicker#config-insertFirst)
404
419
  */
405
420
  insertFirst ? : HTMLElement|string
406
421
  /**
@@ -815,7 +830,7 @@ const emit = defineEmits<{
815
830
  * @param {object} params.event Event object
816
831
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
817
832
  */
818
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
833
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
819
834
  /**
820
835
  * Triggered before a widget is shown. Return `false` to prevent the action.
821
836
  * @param {string} e Event name
@@ -1003,6 +1018,7 @@ const widgetData = {
1003
1018
  'cacheLastResult',
1004
1019
  'caseSensitive',
1005
1020
  'centered',
1021
+ 'checkValidity',
1006
1022
  'chipView',
1007
1023
  'clearable',
1008
1024
  'clearTextOnPickerHide',
@@ -28,6 +28,8 @@ export declare type BryntumSchedulingDirectionPickerProps = {
28
28
  /**
29
29
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
30
30
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element).
31
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
32
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingDirectionPicker#config-appendTo)
31
33
  */
32
34
  appendTo ? : HTMLElement|string
33
35
  /**
@@ -90,6 +92,15 @@ export declare type BryntumSchedulingDirectionPickerProps = {
90
92
  * Set to `true` to centre the Widget in browser viewport space.
91
93
  */
92
94
  centered ? : Boolean
95
+ /**
96
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
97
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-isValid)
98
+ * evaluation, after the built-in [required](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-required) check.
99
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingDirectionPicker#config-checkValidity)
100
+ * @param {Core.widget.Field} field The field being validated
101
+ * @returns {void}
102
+ */
103
+ checkValidity ? : ((field: Field) => void)|string
93
104
  /**
94
105
  * A config object to configure the [ChipView](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/ChipView) to display the
95
106
  * selected value set when [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
@@ -383,10 +394,14 @@ export declare type BryntumSchedulingDirectionPickerProps = {
383
394
  inputWidth ? : string|number
384
395
  /**
385
396
  * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
397
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
398
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingDirectionPicker#config-insertBefore)
386
399
  */
387
400
  insertBefore ? : HTMLElement|string
388
401
  /**
389
402
  * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
403
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
404
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingDirectionPicker#config-insertFirst)
390
405
  */
391
406
  insertFirst ? : HTMLElement|string
392
407
  /**
@@ -48,6 +48,8 @@ defineProps<{
48
48
  /**
49
49
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
50
50
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element).
51
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
52
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-appendTo)
51
53
  */
52
54
  appendTo ? : HTMLElement|string
53
55
  /**
@@ -110,6 +112,15 @@ defineProps<{
110
112
  * Set to `true` to centre the Widget in browser viewport space.
111
113
  */
112
114
  centered ? : Boolean
115
+ /**
116
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
117
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-isValid)
118
+ * evaluation, after the built-in [required](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-required) check.
119
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-checkValidity)
120
+ * @param {Core.widget.Field} field The field being validated
121
+ * @returns {void}
122
+ */
123
+ checkValidity ? : ((field: Field) => void)|string
113
124
  /**
114
125
  * A config object to configure the [ChipView](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/ChipView) to display the
115
126
  * selected value set when [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
@@ -403,10 +414,14 @@ defineProps<{
403
414
  inputWidth ? : string|number
404
415
  /**
405
416
  * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
417
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
418
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-insertBefore)
406
419
  */
407
420
  insertBefore ? : HTMLElement|string
408
421
  /**
409
422
  * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
423
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
424
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-insertFirst)
410
425
  */
411
426
  insertFirst ? : HTMLElement|string
412
427
  /**
@@ -821,7 +836,7 @@ const emit = defineEmits<{
821
836
  * @param {object} params.event Event object
822
837
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
823
838
  */
824
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
839
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
825
840
  /**
826
841
  * Triggered before a widget is shown. Return `false` to prevent the action.
827
842
  * @param {string} e Event name
@@ -1010,6 +1025,7 @@ const widgetData = {
1010
1025
  'cacheLastResult',
1011
1026
  'caseSensitive',
1012
1027
  'centered',
1028
+ 'checkValidity',
1013
1029
  'chipView',
1014
1030
  'clearable',
1015
1031
  'clearTextOnPickerHide',
@@ -34,6 +34,8 @@ export declare type BryntumSchedulingModePickerProps = {
34
34
  /**
35
35
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
36
36
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element).
37
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
38
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-appendTo)
37
39
  */
38
40
  appendTo ? : HTMLElement|string
39
41
  /**
@@ -96,6 +98,15 @@ export declare type BryntumSchedulingModePickerProps = {
96
98
  * Set to `true` to centre the Widget in browser viewport space.
97
99
  */
98
100
  centered ? : Boolean
101
+ /**
102
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
103
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-isValid)
104
+ * evaluation, after the built-in [required](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-required) check.
105
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-checkValidity)
106
+ * @param {Core.widget.Field} field The field being validated
107
+ * @returns {void}
108
+ */
109
+ checkValidity ? : ((field: Field) => void)|string
99
110
  /**
100
111
  * A config object to configure the [ChipView](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/ChipView) to display the
101
112
  * selected value set when [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
@@ -389,10 +400,14 @@ export declare type BryntumSchedulingModePickerProps = {
389
400
  inputWidth ? : string|number
390
401
  /**
391
402
  * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
403
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
404
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-insertBefore)
392
405
  */
393
406
  insertBefore ? : HTMLElement|string
394
407
  /**
395
408
  * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
409
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
410
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/SchedulingModePicker#config-insertFirst)
396
411
  */
397
412
  insertFirst ? : HTMLElement|string
398
413
  /**
@@ -42,6 +42,8 @@ defineProps<{
42
42
  /**
43
43
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
44
44
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element).
45
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
46
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-appendTo)
45
47
  */
46
48
  appendTo ? : HTMLElement|string
47
49
  /**
@@ -108,6 +110,15 @@ defineProps<{
108
110
  * A value of `undefined` will cause this widget not to include its value when checked.
109
111
  */
110
112
  checkedValue ? : any
113
+ /**
114
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
115
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-isValid)
116
+ * evaluation, after the built-in [required](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-required) check.
117
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-checkValidity)
118
+ * @param {Core.widget.Field} field The field being validated
119
+ * @returns {void}
120
+ */
121
+ checkValidity ? : ((field: Field) => void)|string
111
122
  /**
112
123
  * Custom CSS classes to add to element.
113
124
  * May be specified as a space separated string, or as an object in which property names
@@ -296,10 +307,14 @@ defineProps<{
296
307
  inputWidth ? : string|number
297
308
  /**
298
309
  * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
310
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
311
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-insertBefore)
299
312
  */
300
313
  insertBefore ? : HTMLElement|string
301
314
  /**
302
315
  * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
316
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
317
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-insertFirst)
303
318
  */
304
319
  insertFirst ? : HTMLElement|string
305
320
  /**
@@ -624,7 +639,7 @@ const emit = defineEmits<{
624
639
  * @param {boolean} params.event.valid True if this field is in a valid state.
625
640
  * @param {Event} params.event.event The triggering DOM event if any
626
641
  */
627
- (e: 'beforeChange', params: ((event: { source: Checkbox, checked: boolean, value: boolean, oldValue: boolean, userAction: boolean, valid: boolean, event: Event }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
642
+ (e: 'beforeChange', params: ((event: { source: Checkbox, checked: boolean, value: boolean, oldValue: boolean, userAction: boolean, valid: boolean, event: Event }) => boolean|void)|string): boolean|void
628
643
  /**
629
644
  * Fires before an object is destroyed.
630
645
  * @param {string} e Event name
@@ -640,7 +655,7 @@ const emit = defineEmits<{
640
655
  * @param {object} params.event Event object
641
656
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
642
657
  */
643
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
658
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
644
659
  /**
645
660
  * Triggered before a widget is shown. Return `false` to prevent the action.
646
661
  * @param {string} e Event name
@@ -824,6 +839,7 @@ const widgetData = {
824
839
  'bubbleEvents',
825
840
  'centered',
826
841
  'checkedValue',
842
+ 'checkValidity',
827
843
  'color',
828
844
  'config',
829
845
  'constrainTo',
@@ -28,6 +28,8 @@ export declare type BryntumSlideToggleProps = {
28
28
  /**
29
29
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
30
30
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element).
31
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
32
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-appendTo)
31
33
  */
32
34
  appendTo ? : HTMLElement|string
33
35
  /**
@@ -94,6 +96,15 @@ export declare type BryntumSlideToggleProps = {
94
96
  * A value of `undefined` will cause this widget not to include its value when checked.
95
97
  */
96
98
  checkedValue ? : any
99
+ /**
100
+ * A function (or the name of a function in the ownership hierarchy) called during field validation
101
+ * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-isValid)
102
+ * evaluation, after the built-in [required](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-required) check.
103
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-checkValidity)
104
+ * @param {Core.widget.Field} field The field being validated
105
+ * @returns {void}
106
+ */
107
+ checkValidity ? : ((field: Field) => void)|string
97
108
  /**
98
109
  * Custom CSS classes to add to element.
99
110
  * May be specified as a space separated string, or as an object in which property names
@@ -282,10 +293,14 @@ export declare type BryntumSlideToggleProps = {
282
293
  inputWidth ? : string|number
283
294
  /**
284
295
  * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
296
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
297
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-insertBefore)
285
298
  */
286
299
  insertBefore ? : HTMLElement|string
287
300
  /**
288
301
  * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
302
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
303
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-insertFirst)
289
304
  */
290
305
  insertFirst ? : HTMLElement|string
291
306
  /**
@@ -42,6 +42,8 @@ defineProps<{
42
42
  /**
43
43
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
44
44
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element).
45
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
46
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Slider#config-appendTo)
45
47
  */
46
48
  appendTo ? : HTMLElement|string
47
49
  /**
@@ -213,10 +215,14 @@ defineProps<{
213
215
  ignoreParentReadOnly ? : Boolean
214
216
  /**
215
217
  * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
218
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
219
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Slider#config-insertBefore)
216
220
  */
217
221
  insertBefore ? : HTMLElement|string
218
222
  /**
219
223
  * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
224
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
225
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Slider#config-insertFirst)
220
226
  */
221
227
  insertFirst ? : HTMLElement|string
222
228
  /**
@@ -512,7 +518,7 @@ const emit = defineEmits<{
512
518
  * @param {object} params.event Event object
513
519
  * @param {Core.widget.Widget} params.event.source The widget being hidden.
514
520
  */
515
- (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
521
+ (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
516
522
  /**
517
523
  * Triggered before a widget is shown. Return `false` to prevent the action.
518
524
  * @param {string} e Event name