@bryntum/gantt-react 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 (404) hide show
  1. package/README.md +52 -0
  2. package/lib/BryntumAIFilterField.d.ts +231 -0
  3. package/lib/BryntumAIFilterField.js +168 -0
  4. package/lib/BryntumAIFilterField.js.map +1 -0
  5. package/lib/BryntumAssignmentField.d.ts +271 -0
  6. package/lib/BryntumAssignmentField.js +204 -0
  7. package/lib/BryntumAssignmentField.js.map +1 -0
  8. package/lib/BryntumAssignmentGrid.d.ts +834 -0
  9. package/lib/BryntumAssignmentGrid.js +283 -0
  10. package/lib/BryntumAssignmentGrid.js.map +1 -0
  11. package/lib/BryntumButton.d.ts +206 -0
  12. package/lib/BryntumButton.js +148 -0
  13. package/lib/BryntumButton.js.map +1 -0
  14. package/lib/BryntumButtonGroup.d.ts +201 -0
  15. package/lib/BryntumButtonGroup.js +154 -0
  16. package/lib/BryntumButtonGroup.js.map +1 -0
  17. package/lib/BryntumCalendarEditor.d.ts +259 -0
  18. package/lib/BryntumCalendarEditor.js +187 -0
  19. package/lib/BryntumCalendarEditor.js.map +1 -0
  20. package/lib/BryntumCalendarField.d.ts +268 -0
  21. package/lib/BryntumCalendarField.js +204 -0
  22. package/lib/BryntumCalendarField.js.map +1 -0
  23. package/lib/BryntumCalendarPicker.d.ts +266 -0
  24. package/lib/BryntumCalendarPicker.js +202 -0
  25. package/lib/BryntumCalendarPicker.js.map +1 -0
  26. package/lib/BryntumChatPanel.d.ts +246 -0
  27. package/lib/BryntumChatPanel.js +178 -0
  28. package/lib/BryntumChatPanel.js.map +1 -0
  29. package/lib/BryntumCheckbox.d.ts +239 -0
  30. package/lib/BryntumCheckbox.js +168 -0
  31. package/lib/BryntumCheckbox.js.map +1 -0
  32. package/lib/BryntumCheckboxGroup.d.ts +249 -0
  33. package/lib/BryntumCheckboxGroup.js +182 -0
  34. package/lib/BryntumCheckboxGroup.js.map +1 -0
  35. package/lib/BryntumChecklistFilterCombo.d.ts +268 -0
  36. package/lib/BryntumChecklistFilterCombo.js +205 -0
  37. package/lib/BryntumChecklistFilterCombo.js.map +1 -0
  38. package/lib/BryntumChipView.d.ts +208 -0
  39. package/lib/BryntumChipView.js +152 -0
  40. package/lib/BryntumChipView.js.map +1 -0
  41. package/lib/BryntumCodeEditor.d.ts +237 -0
  42. package/lib/BryntumCodeEditor.js +176 -0
  43. package/lib/BryntumCodeEditor.js.map +1 -0
  44. package/lib/BryntumColorField.d.ts +231 -0
  45. package/lib/BryntumColorField.js +169 -0
  46. package/lib/BryntumColorField.js.map +1 -0
  47. package/lib/BryntumCombo.d.ts +266 -0
  48. package/lib/BryntumCombo.js +202 -0
  49. package/lib/BryntumCombo.js.map +1 -0
  50. package/lib/BryntumConstraintTypePicker.d.ts +266 -0
  51. package/lib/BryntumConstraintTypePicker.js +202 -0
  52. package/lib/BryntumConstraintTypePicker.js.map +1 -0
  53. package/lib/BryntumContainer.d.ts +185 -0
  54. package/lib/BryntumContainer.js +148 -0
  55. package/lib/BryntumContainer.js.map +1 -0
  56. package/lib/BryntumCostAccrualField.d.ts +266 -0
  57. package/lib/BryntumCostAccrualField.js +202 -0
  58. package/lib/BryntumCostAccrualField.js.map +1 -0
  59. package/lib/BryntumDateField.d.ts +241 -0
  60. package/lib/BryntumDateField.js +178 -0
  61. package/lib/BryntumDateField.js.map +1 -0
  62. package/lib/BryntumDatePicker.d.ts +310 -0
  63. package/lib/BryntumDatePicker.js +213 -0
  64. package/lib/BryntumDatePicker.js.map +1 -0
  65. package/lib/BryntumDateRangeField.d.ts +242 -0
  66. package/lib/BryntumDateRangeField.js +179 -0
  67. package/lib/BryntumDateRangeField.js.map +1 -0
  68. package/lib/BryntumDateTimeField.d.ts +222 -0
  69. package/lib/BryntumDateTimeField.js +158 -0
  70. package/lib/BryntumDateTimeField.js.map +1 -0
  71. package/lib/BryntumDemoCodeEditor.d.ts +240 -0
  72. package/lib/BryntumDemoCodeEditor.js +179 -0
  73. package/lib/BryntumDemoCodeEditor.js.map +1 -0
  74. package/lib/BryntumDemoHeader.d.ts +30 -0
  75. package/lib/BryntumDemoHeader.js +84 -0
  76. package/lib/BryntumDemoHeader.js.map +1 -0
  77. package/lib/BryntumDependencyField.d.ts +273 -0
  78. package/lib/BryntumDependencyField.js +209 -0
  79. package/lib/BryntumDependencyField.js.map +1 -0
  80. package/lib/BryntumDependencyTypePicker.d.ts +266 -0
  81. package/lib/BryntumDependencyTypePicker.js +202 -0
  82. package/lib/BryntumDependencyTypePicker.js.map +1 -0
  83. package/lib/BryntumDisplayField.d.ts +227 -0
  84. package/lib/BryntumDisplayField.js +163 -0
  85. package/lib/BryntumDisplayField.js.map +1 -0
  86. package/lib/BryntumDurationField.d.ts +234 -0
  87. package/lib/BryntumDurationField.js +175 -0
  88. package/lib/BryntumDurationField.js.map +1 -0
  89. package/lib/BryntumEditor.d.ts +249 -0
  90. package/lib/BryntumEditor.js +167 -0
  91. package/lib/BryntumEditor.js.map +1 -0
  92. package/lib/BryntumEffortField.d.ts +234 -0
  93. package/lib/BryntumEffortField.js +175 -0
  94. package/lib/BryntumEffortField.js.map +1 -0
  95. package/lib/BryntumEndDateField.d.ts +243 -0
  96. package/lib/BryntumEndDateField.js +180 -0
  97. package/lib/BryntumEndDateField.js.map +1 -0
  98. package/lib/BryntumEventColorField.d.ts +231 -0
  99. package/lib/BryntumEventColorField.js +169 -0
  100. package/lib/BryntumEventColorField.js.map +1 -0
  101. package/lib/BryntumFieldFilterPicker.d.ts +202 -0
  102. package/lib/BryntumFieldFilterPicker.js +161 -0
  103. package/lib/BryntumFieldFilterPicker.js.map +1 -0
  104. package/lib/BryntumFieldFilterPickerGroup.d.ts +207 -0
  105. package/lib/BryntumFieldFilterPickerGroup.js +164 -0
  106. package/lib/BryntumFieldFilterPickerGroup.js.map +1 -0
  107. package/lib/BryntumFieldSet.d.ts +235 -0
  108. package/lib/BryntumFieldSet.js +174 -0
  109. package/lib/BryntumFieldSet.js.map +1 -0
  110. package/lib/BryntumFileField.d.ts +228 -0
  111. package/lib/BryntumFileField.js +164 -0
  112. package/lib/BryntumFileField.js.map +1 -0
  113. package/lib/BryntumFilePicker.d.ts +192 -0
  114. package/lib/BryntumFilePicker.js +153 -0
  115. package/lib/BryntumFilePicker.js.map +1 -0
  116. package/lib/BryntumFilterField.d.ts +234 -0
  117. package/lib/BryntumFilterField.js +171 -0
  118. package/lib/BryntumFilterField.js.map +1 -0
  119. package/lib/BryntumFullscreenButton.d.ts +8 -0
  120. package/lib/BryntumFullscreenButton.js +37 -0
  121. package/lib/BryntumFullscreenButton.js.map +1 -0
  122. package/lib/BryntumGantt.d.ts +1772 -0
  123. package/lib/BryntumGantt.js +601 -0
  124. package/lib/BryntumGantt.js.map +1 -0
  125. package/lib/BryntumGanttBase.d.ts +1771 -0
  126. package/lib/BryntumGanttBase.js +600 -0
  127. package/lib/BryntumGanttBase.js.map +1 -0
  128. package/lib/BryntumGanttProjectModel.d.ts +303 -0
  129. package/lib/BryntumGanttProjectModel.js +188 -0
  130. package/lib/BryntumGanttProjectModel.js.map +1 -0
  131. package/lib/BryntumGrid.d.ts +844 -0
  132. package/lib/BryntumGrid.js +335 -0
  133. package/lib/BryntumGrid.js.map +1 -0
  134. package/lib/BryntumGridBase.d.ts +842 -0
  135. package/lib/BryntumGridBase.js +333 -0
  136. package/lib/BryntumGridBase.js.map +1 -0
  137. package/lib/BryntumGridChartDesigner.d.ts +162 -0
  138. package/lib/BryntumGridChartDesigner.js +127 -0
  139. package/lib/BryntumGridChartDesigner.js.map +1 -0
  140. package/lib/BryntumGridFieldFilterPicker.d.ts +203 -0
  141. package/lib/BryntumGridFieldFilterPicker.js +162 -0
  142. package/lib/BryntumGridFieldFilterPicker.js.map +1 -0
  143. package/lib/BryntumGridFieldFilterPickerGroup.d.ts +206 -0
  144. package/lib/BryntumGridFieldFilterPickerGroup.js +163 -0
  145. package/lib/BryntumGridFieldFilterPickerGroup.js.map +1 -0
  146. package/lib/BryntumGroupBar.d.ts +208 -0
  147. package/lib/BryntumGroupBar.js +152 -0
  148. package/lib/BryntumGroupBar.js.map +1 -0
  149. package/lib/BryntumHint.d.ts +260 -0
  150. package/lib/BryntumHint.js +184 -0
  151. package/lib/BryntumHint.js.map +1 -0
  152. package/lib/BryntumLabel.d.ts +161 -0
  153. package/lib/BryntumLabel.js +126 -0
  154. package/lib/BryntumLabel.js.map +1 -0
  155. package/lib/BryntumList.d.ts +205 -0
  156. package/lib/BryntumList.js +149 -0
  157. package/lib/BryntumList.js.map +1 -0
  158. package/lib/BryntumMenu.d.ts +264 -0
  159. package/lib/BryntumMenu.js +187 -0
  160. package/lib/BryntumMenu.js.map +1 -0
  161. package/lib/BryntumModelCombo.d.ts +266 -0
  162. package/lib/BryntumModelCombo.js +202 -0
  163. package/lib/BryntumModelCombo.js.map +1 -0
  164. package/lib/BryntumMonthPicker.d.ts +240 -0
  165. package/lib/BryntumMonthPicker.js +173 -0
  166. package/lib/BryntumMonthPicker.js.map +1 -0
  167. package/lib/BryntumNumberField.d.ts +234 -0
  168. package/lib/BryntumNumberField.js +170 -0
  169. package/lib/BryntumNumberField.js.map +1 -0
  170. package/lib/BryntumPagingToolbar.d.ts +210 -0
  171. package/lib/BryntumPagingToolbar.js +156 -0
  172. package/lib/BryntumPagingToolbar.js.map +1 -0
  173. package/lib/BryntumPanel.d.ts +231 -0
  174. package/lib/BryntumPanel.js +170 -0
  175. package/lib/BryntumPanel.js.map +1 -0
  176. package/lib/BryntumPasswordField.d.ts +226 -0
  177. package/lib/BryntumPasswordField.js +162 -0
  178. package/lib/BryntumPasswordField.js.map +1 -0
  179. package/lib/BryntumProjectCombo.d.ts +267 -0
  180. package/lib/BryntumProjectCombo.js +203 -0
  181. package/lib/BryntumProjectCombo.js.map +1 -0
  182. package/lib/BryntumRadio.d.ts +239 -0
  183. package/lib/BryntumRadio.js +168 -0
  184. package/lib/BryntumRadio.js.map +1 -0
  185. package/lib/BryntumRadioGroup.d.ts +239 -0
  186. package/lib/BryntumRadioGroup.js +178 -0
  187. package/lib/BryntumRadioGroup.js.map +1 -0
  188. package/lib/BryntumRateTableField.d.ts +266 -0
  189. package/lib/BryntumRateTableField.js +202 -0
  190. package/lib/BryntumRateTableField.js.map +1 -0
  191. package/lib/BryntumResourceCombo.d.ts +267 -0
  192. package/lib/BryntumResourceCombo.js +203 -0
  193. package/lib/BryntumResourceCombo.js.map +1 -0
  194. package/lib/BryntumResourceEditor.d.ts +256 -0
  195. package/lib/BryntumResourceEditor.js +184 -0
  196. package/lib/BryntumResourceEditor.js.map +1 -0
  197. package/lib/BryntumResourceFilter.d.ts +214 -0
  198. package/lib/BryntumResourceFilter.js +154 -0
  199. package/lib/BryntumResourceFilter.js.map +1 -0
  200. package/lib/BryntumResourceGrid.d.ts +833 -0
  201. package/lib/BryntumResourceGrid.js +283 -0
  202. package/lib/BryntumResourceGrid.js.map +1 -0
  203. package/lib/BryntumResourceHistogram.d.ts +1263 -0
  204. package/lib/BryntumResourceHistogram.js +486 -0
  205. package/lib/BryntumResourceHistogram.js.map +1 -0
  206. package/lib/BryntumResourceTypeField.d.ts +266 -0
  207. package/lib/BryntumResourceTypeField.js +202 -0
  208. package/lib/BryntumResourceTypeField.js.map +1 -0
  209. package/lib/BryntumResourceUtilization.d.ts +1278 -0
  210. package/lib/BryntumResourceUtilization.js +489 -0
  211. package/lib/BryntumResourceUtilization.js.map +1 -0
  212. package/lib/BryntumScheduler.d.ts +2038 -0
  213. package/lib/BryntumScheduler.js +643 -0
  214. package/lib/BryntumScheduler.js.map +1 -0
  215. package/lib/BryntumSchedulerBase.d.ts +2037 -0
  216. package/lib/BryntumSchedulerBase.js +642 -0
  217. package/lib/BryntumSchedulerBase.js.map +1 -0
  218. package/lib/BryntumSchedulerDatePicker.d.ts +313 -0
  219. package/lib/BryntumSchedulerDatePicker.js +216 -0
  220. package/lib/BryntumSchedulerDatePicker.js.map +1 -0
  221. package/lib/BryntumSchedulerPro.d.ts +2269 -0
  222. package/lib/BryntumSchedulerPro.js +700 -0
  223. package/lib/BryntumSchedulerPro.js.map +1 -0
  224. package/lib/BryntumSchedulerProBase.d.ts +2268 -0
  225. package/lib/BryntumSchedulerProBase.js +699 -0
  226. package/lib/BryntumSchedulerProBase.js.map +1 -0
  227. package/lib/BryntumSchedulingDirectionPicker.d.ts +266 -0
  228. package/lib/BryntumSchedulingDirectionPicker.js +202 -0
  229. package/lib/BryntumSchedulingDirectionPicker.js.map +1 -0
  230. package/lib/BryntumSchedulingModePicker.d.ts +267 -0
  231. package/lib/BryntumSchedulingModePicker.js +203 -0
  232. package/lib/BryntumSchedulingModePicker.js.map +1 -0
  233. package/lib/BryntumSlideToggle.d.ts +239 -0
  234. package/lib/BryntumSlideToggle.js +168 -0
  235. package/lib/BryntumSlideToggle.js.map +1 -0
  236. package/lib/BryntumSlider.d.ts +184 -0
  237. package/lib/BryntumSlider.js +142 -0
  238. package/lib/BryntumSlider.js.map +1 -0
  239. package/lib/BryntumSplitter.d.ts +174 -0
  240. package/lib/BryntumSplitter.js +130 -0
  241. package/lib/BryntumSplitter.js.map +1 -0
  242. package/lib/BryntumStartDateField.d.ts +245 -0
  243. package/lib/BryntumStartDateField.js +182 -0
  244. package/lib/BryntumStartDateField.js.map +1 -0
  245. package/lib/BryntumTabPanel.d.ts +249 -0
  246. package/lib/BryntumTabPanel.js +178 -0
  247. package/lib/BryntumTabPanel.js.map +1 -0
  248. package/lib/BryntumTextAreaField.d.ts +228 -0
  249. package/lib/BryntumTextAreaField.js +164 -0
  250. package/lib/BryntumTextAreaField.js.map +1 -0
  251. package/lib/BryntumTextAreaPickerField.d.ts +232 -0
  252. package/lib/BryntumTextAreaPickerField.js +170 -0
  253. package/lib/BryntumTextAreaPickerField.js.map +1 -0
  254. package/lib/BryntumTextField.d.ts +229 -0
  255. package/lib/BryntumTextField.js +166 -0
  256. package/lib/BryntumTextField.js.map +1 -0
  257. package/lib/BryntumThemeCombo.d.ts +17 -0
  258. package/lib/BryntumThemeCombo.js +75 -0
  259. package/lib/BryntumThemeCombo.js.map +1 -0
  260. package/lib/BryntumTimeField.d.ts +238 -0
  261. package/lib/BryntumTimeField.js +175 -0
  262. package/lib/BryntumTimeField.js.map +1 -0
  263. package/lib/BryntumTimePicker.d.ts +192 -0
  264. package/lib/BryntumTimePicker.js +154 -0
  265. package/lib/BryntumTimePicker.js.map +1 -0
  266. package/lib/BryntumTimeline.d.ts +2019 -0
  267. package/lib/BryntumTimeline.js +553 -0
  268. package/lib/BryntumTimeline.js.map +1 -0
  269. package/lib/BryntumTimelineHistogram.d.ts +1183 -0
  270. package/lib/BryntumTimelineHistogram.js +448 -0
  271. package/lib/BryntumTimelineHistogram.js.map +1 -0
  272. package/lib/BryntumToolbar.d.ts +209 -0
  273. package/lib/BryntumToolbar.js +155 -0
  274. package/lib/BryntumToolbar.js.map +1 -0
  275. package/lib/BryntumTreeCombo.d.ts +266 -0
  276. package/lib/BryntumTreeCombo.js +202 -0
  277. package/lib/BryntumTreeCombo.js.map +1 -0
  278. package/lib/BryntumTreeGrid.d.ts +843 -0
  279. package/lib/BryntumTreeGrid.js +334 -0
  280. package/lib/BryntumTreeGrid.js.map +1 -0
  281. package/lib/BryntumUndoRedo.d.ts +189 -0
  282. package/lib/BryntumUndoRedo.js +152 -0
  283. package/lib/BryntumUndoRedo.js.map +1 -0
  284. package/lib/BryntumVersionGrid.d.ts +844 -0
  285. package/lib/BryntumVersionGrid.js +289 -0
  286. package/lib/BryntumVersionGrid.js.map +1 -0
  287. package/lib/BryntumViewPresetCombo.d.ts +215 -0
  288. package/lib/BryntumViewPresetCombo.js +158 -0
  289. package/lib/BryntumViewPresetCombo.js.map +1 -0
  290. package/lib/BryntumWidget.d.ts +160 -0
  291. package/lib/BryntumWidget.js +125 -0
  292. package/lib/BryntumWidget.js.map +1 -0
  293. package/lib/BryntumYearPicker.d.ts +240 -0
  294. package/lib/BryntumYearPicker.js +177 -0
  295. package/lib/BryntumYearPicker.js.map +1 -0
  296. package/lib/WrapperHelper.d.ts +26 -0
  297. package/lib/WrapperHelper.js +569 -0
  298. package/lib/WrapperHelper.js.map +1 -0
  299. package/lib/index.d.ts +98 -0
  300. package/lib/index.js +99 -0
  301. package/lib/index.js.map +1 -0
  302. package/license.pdf +0 -0
  303. package/licenses.md +310 -0
  304. package/package.json +25 -0
  305. package/src/BryntumAIFilterField.tsx +998 -0
  306. package/src/BryntumAssignmentField.tsx +1249 -0
  307. package/src/BryntumAssignmentGrid.tsx +2347 -0
  308. package/src/BryntumButton.tsx +887 -0
  309. package/src/BryntumButtonGroup.tsx +902 -0
  310. package/src/BryntumCalendarEditor.tsx +1151 -0
  311. package/src/BryntumCalendarField.tsx +1243 -0
  312. package/src/BryntumCalendarPicker.tsx +1230 -0
  313. package/src/BryntumChatPanel.tsx +1082 -0
  314. package/src/BryntumCheckbox.tsx +1000 -0
  315. package/src/BryntumCheckboxGroup.tsx +1116 -0
  316. package/src/BryntumChecklistFilterCombo.tsx +1241 -0
  317. package/src/BryntumChipView.tsx +914 -0
  318. package/src/BryntumCodeEditor.tsx +1065 -0
  319. package/src/BryntumColorField.tsx +995 -0
  320. package/src/BryntumCombo.tsx +1230 -0
  321. package/src/BryntumConstraintTypePicker.tsx +1230 -0
  322. package/src/BryntumContainer.tsx +861 -0
  323. package/src/BryntumCostAccrualField.tsx +1230 -0
  324. package/src/BryntumDateField.tsx +1055 -0
  325. package/src/BryntumDatePicker.tsx +1340 -0
  326. package/src/BryntumDateRangeField.tsx +1057 -0
  327. package/src/BryntumDateTimeField.tsx +942 -0
  328. package/src/BryntumDemoCodeEditor.tsx +1081 -0
  329. package/src/BryntumDemoHeader.tsx +160 -0
  330. package/src/BryntumDependencyField.tsx +1271 -0
  331. package/src/BryntumDependencyTypePicker.tsx +1230 -0
  332. package/src/BryntumDisplayField.tsx +979 -0
  333. package/src/BryntumDurationField.tsx +1038 -0
  334. package/src/BryntumEditor.tsx +1013 -0
  335. package/src/BryntumEffortField.tsx +1038 -0
  336. package/src/BryntumEndDateField.tsx +1065 -0
  337. package/src/BryntumEventColorField.tsx +995 -0
  338. package/src/BryntumFieldFilterPicker.tsx +943 -0
  339. package/src/BryntumFieldFilterPickerGroup.tsx +976 -0
  340. package/src/BryntumFieldSet.tsx +1058 -0
  341. package/src/BryntumFileField.tsx +982 -0
  342. package/src/BryntumFilePicker.tsx +888 -0
  343. package/src/BryntumFilterField.tsx +1023 -0
  344. package/src/BryntumFullscreenButton.tsx +45 -0
  345. package/src/BryntumGantt.tsx +4694 -0
  346. package/src/BryntumGanttBase.tsx +4692 -0
  347. package/src/BryntumGanttProjectModel.tsx +1144 -0
  348. package/src/BryntumGrid.tsx +2402 -0
  349. package/src/BryntumGridBase.tsx +2399 -0
  350. package/src/BryntumGridChartDesigner.tsx +728 -0
  351. package/src/BryntumGridFieldFilterPicker.tsx +956 -0
  352. package/src/BryntumGridFieldFilterPickerGroup.tsx +970 -0
  353. package/src/BryntumGroupBar.tsx +914 -0
  354. package/src/BryntumHint.tsx +1125 -0
  355. package/src/BryntumLabel.tsx +720 -0
  356. package/src/BryntumList.tsx +891 -0
  357. package/src/BryntumMenu.tsx +1143 -0
  358. package/src/BryntumModelCombo.tsx +1230 -0
  359. package/src/BryntumMonthPicker.tsx +1056 -0
  360. package/src/BryntumNumberField.tsx +1025 -0
  361. package/src/BryntumPagingToolbar.tsx +924 -0
  362. package/src/BryntumPanel.tsx +1035 -0
  363. package/src/BryntumPasswordField.tsx +969 -0
  364. package/src/BryntumProjectCombo.tsx +1232 -0
  365. package/src/BryntumRadio.tsx +1000 -0
  366. package/src/BryntumRadioGroup.tsx +1088 -0
  367. package/src/BryntumRateTableField.tsx +1230 -0
  368. package/src/BryntumResourceCombo.tsx +1235 -0
  369. package/src/BryntumResourceEditor.tsx +1130 -0
  370. package/src/BryntumResourceFilter.tsx +930 -0
  371. package/src/BryntumResourceGrid.tsx +2344 -0
  372. package/src/BryntumResourceHistogram.tsx +3684 -0
  373. package/src/BryntumResourceTypeField.tsx +1230 -0
  374. package/src/BryntumResourceUtilization.tsx +3699 -0
  375. package/src/BryntumScheduler.tsx +5183 -0
  376. package/src/BryntumSchedulerBase.tsx +5181 -0
  377. package/src/BryntumSchedulerDatePicker.tsx +1364 -0
  378. package/src/BryntumSchedulerPro.tsx +5711 -0
  379. package/src/BryntumSchedulerProBase.tsx +5709 -0
  380. package/src/BryntumSchedulingDirectionPicker.tsx +1230 -0
  381. package/src/BryntumSchedulingModePicker.tsx +1238 -0
  382. package/src/BryntumSlideToggle.tsx +1000 -0
  383. package/src/BryntumSlider.tsx +815 -0
  384. package/src/BryntumSplitter.tsx +754 -0
  385. package/src/BryntumStartDateField.tsx +1083 -0
  386. package/src/BryntumTabPanel.tsx +1087 -0
  387. package/src/BryntumTextAreaField.tsx +981 -0
  388. package/src/BryntumTextAreaPickerField.tsx +1002 -0
  389. package/src/BryntumTextField.tsx +987 -0
  390. package/src/BryntumThemeCombo.tsx +101 -0
  391. package/src/BryntumTimeField.tsx +1036 -0
  392. package/src/BryntumTimePicker.tsx +893 -0
  393. package/src/BryntumTimeline.tsx +5064 -0
  394. package/src/BryntumTimelineHistogram.tsx +3425 -0
  395. package/src/BryntumToolbar.tsx +917 -0
  396. package/src/BryntumTreeCombo.tsx +1230 -0
  397. package/src/BryntumTreeGrid.tsx +2401 -0
  398. package/src/BryntumUndoRedo.tsx +885 -0
  399. package/src/BryntumVersionGrid.tsx +2379 -0
  400. package/src/BryntumViewPresetCombo.tsx +914 -0
  401. package/src/BryntumWidget.tsx +715 -0
  402. package/src/BryntumYearPicker.tsx +1070 -0
  403. package/src/WrapperHelper.tsx +1125 -0
  404. package/src/index.ts +103 -0
@@ -0,0 +1,1151 @@
1
+ /**
2
+ * React wrapper for Bryntum CalendarEditor
3
+ */
4
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
5
+ import React, { RefObject } from 'react';
6
+ import { AlignSpec, AvailabilityRangeModelConfig, Base, CalendarEditor, CalendarEditorListeners, Container, ContainerItemConfig, ContainerLayoutConfig, DomConfig, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Popup, Rectangle, SchedulerProCalendarModel, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget, WorkingDays } from '@bryntum/gantt';
7
+
8
+ import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
9
+
10
+ export type BryntumCalendarEditorProps = {
11
+ // Configs
12
+ /**
13
+ * A date to display in the date picker.
14
+ */
15
+ activeDate? : Date
16
+ /**
17
+ * Element (or element id) to adopt as this Widget's encapsulating element. The widget's
18
+ * content will be placed inside this element.
19
+ * ...
20
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-adopt)
21
+ */
22
+ adopt? : HTMLElement|string
23
+ /**
24
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-floating).*
25
+ * ...
26
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-align)
27
+ */
28
+ align? : AlignSpec|string
29
+ /**
30
+ * When this widget is a child of a [Container](https://bryntum.com/products/gantt/docs/api/Core/widget/Container), it will by default be participating in a
31
+ * flexbox layout. This config allows you to set this widget's
32
+ * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.
33
+ */
34
+ alignSelf? : string
35
+ /**
36
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-floating) and being shown through [showBy](#Core/widget/Widget#function-showBy).*
37
+ * `true` to show a connector arrow pointing to the align target.
38
+ */
39
+ anchor? : boolean
40
+ /**
41
+ * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
42
+ * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#property-element).
43
+ */
44
+ appendTo? : HTMLElement|string
45
+ /**
46
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
47
+ * into an element which will be linked using the `aria-describedby` attribute.
48
+ * ...
49
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-ariaDescription)
50
+ */
51
+ ariaDescription? : string
52
+ /**
53
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
54
+ * the `aria-label` attribute.
55
+ * ...
56
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-ariaLabel)
57
+ */
58
+ ariaLabel? : string
59
+ /**
60
+ * By default, a Popup is transient, and will [close](https://bryntum.com/products/gantt/docs/api/Core/widget/Popup#function-close) when the user clicks or
61
+ * taps outside its owned widgets and when focus moves outside its owned widgets.
62
+ * ...
63
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-autoClose)
64
+ */
65
+ autoClose? : boolean
66
+ /**
67
+ * Auto show flag for Popup.
68
+ * If truthy then Popup is shown automatically upon hover.
69
+ */
70
+ autoShow? : boolean
71
+ /**
72
+ * Update assigned [record](https://bryntum.com/products/gantt/docs/api/Core/widget/Container#config-record) automatically on field changes
73
+ */
74
+ autoUpdateRecord? : boolean
75
+ /**
76
+ * A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/gantt/docs/api/Core/widget/Toolbar),
77
+ * or array of config objects representing the child items of a Toolbar. Another way to add a bbar is to use [strips](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel#config-strips).
78
+ * ...
79
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-bbar)
80
+ */
81
+ bbar? : (ContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
82
+ /**
83
+ * Custom CSS classes to add to the panel's body element.
84
+ * ...
85
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-bodyCls)
86
+ */
87
+ bodyCls? : string|object
88
+ /**
89
+ * An object where property names with a truthy value indicate which events should bubble up the ownership
90
+ * hierarchy when triggered.
91
+ * ...
92
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-bubbleEvents)
93
+ */
94
+ bubbleEvents? : object
95
+ /**
96
+ * A calendar to edit.
97
+ */
98
+ calendar? : SchedulerProCalendarModel
99
+ /**
100
+ * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
101
+ * ...
102
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-callOnFunctions)
103
+ */
104
+ callOnFunctions? : boolean
105
+ /**
106
+ * By default, if an event handler throws an exception, the error propagates up the stack and the
107
+ * application state is undefined. Code which follows the event handler will *not* be executed.
108
+ * ...
109
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-catchEventHandlerExceptions)
110
+ */
111
+ catchEventHandlerExceptions? : boolean
112
+ /**
113
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-floating).*
114
+ * Set to `true` to centre the Widget in browser viewport space.
115
+ */
116
+ centered? : boolean
117
+ /**
118
+ * Show a tool in the header to close this Popup.
119
+ * The tool is available in the [tools](https://bryntum.com/products/gantt/docs/api/Core/widget/mixin/Toolable#property-tools) object
120
+ * under the name `close`. It uses the CSS class `b-popup-close` to apply a
121
+ * default close icon. This may be customized with your own CSS rules.
122
+ */
123
+ closable? : boolean
124
+ /**
125
+ * The action to take when calling the [close](https://bryntum.com/products/gantt/docs/api/Core/widget/Popup#function-close) method.
126
+ * By default, the popup is hidden.
127
+ * ...
128
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-closeAction)
129
+ */
130
+ closeAction? : 'hide'|'destroy'
131
+ /**
132
+ * Close popup when `ESC` key is pressed.
133
+ */
134
+ closeOnEscape? : boolean
135
+ /**
136
+ * Custom CSS classes to add to element.
137
+ * May be specified as a space separated string, or as an object in which property names
138
+ * with truthy values are used as the class names:
139
+ * ...
140
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-cls)
141
+ */
142
+ cls? : string|object
143
+ /**
144
+ * Controls whether the panel is collapsed (the body of the panel is hidden while only the header is
145
+ * visible). Only valid if the panel is [collapsible](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel#config-collapsible).
146
+ */
147
+ collapsed? : boolean
148
+ /**
149
+ * This config enables collapsibility for the panel. See [collapsed](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel#config-collapsed).
150
+ * ...
151
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-collapsible)
152
+ */
153
+ collapsible? : boolean|PanelCollapserConfig|PanelCollapserOverlayConfig
154
+ /**
155
+ * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
156
+ * `style` block.
157
+ * ...
158
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-color)
159
+ */
160
+ color? : string
161
+ /**
162
+ * Programmatic control over which column to start in when used in a grid layout.
163
+ */
164
+ column? : number
165
+ config? : object
166
+ /**
167
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-floating) or [positioned](#Core/widget/Widget#config-positioned).*
168
+ * Element, Widget or Rectangle to which this Widget is constrained.
169
+ */
170
+ constrainTo? : HTMLElement|Widget|Rectangle
171
+ /**
172
+ * The HTML content that coexists with sibling elements which may have been added to the
173
+ * [contentElement](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#property-contentElement) by plugins and features.
174
+ * When specifying html, this widget's element will also have the [htmlCls](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-htmlCls)
175
+ * class added to its classList, to allow targeted styling.
176
+ */
177
+ content? : string
178
+ /**
179
+ * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#property-contentElement).
180
+ * May be specified as a space separated string, or as an object in which property names
181
+ * with truthy values are used as the class names:
182
+ * ...
183
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-contentElementCls)
184
+ */
185
+ contentElementCls? : string|object
186
+ /**
187
+ * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the
188
+ * field on the expanded record to use for populating this widget's store (if applicable)
189
+ */
190
+ dataField? : string
191
+ /**
192
+ * Object to apply to elements dataset (each key will be used as a data-attribute on the element)
193
+ */
194
+ dataset? : Record<string, string>
195
+ /**
196
+ * The name of the property to set when a single value is to be applied to this Widget. Such as when used
197
+ * in a grid WidgetColumn, this is the property to which the column's `field` is applied.
198
+ */
199
+ defaultBindProperty? : string
200
+ /**
201
+ * A [query](https://bryntum.com/products/gantt/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
202
+ * focus should be directed by default.
203
+ * ...
204
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-defaultFocus)
205
+ * @param {Core.widget.Widget} widget Widget passed to method
206
+ * @returns {boolean} truthy value if widget is the default one
207
+ */
208
+ defaultFocus? : ((widget: Widget) => boolean)|string
209
+ /**
210
+ * A config object containing default settings to apply to all child widgets.
211
+ */
212
+ defaults? : ContainerItemConfig
213
+ /**
214
+ * Default availability ranges to be assigned to a day (or an exception)
215
+ * once it's made working.
216
+ * By default uses `08:00-12:00, 13:00-17:00` ranges.
217
+ */
218
+ defaultWorkingDayAvailability? : AvailabilityRangeModelConfig[]
219
+ /**
220
+ * Specifies days treated as working by default. The config is used when adding a new week.
221
+ * In this case the widget sets the week working days availability with
222
+ * [defaultWorkingDayAvailability](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-defaultWorkingDayAvailability) value.
223
+ * ...
224
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-defaultWorkingDays)
225
+ */
226
+ defaultWorkingDays? : WorkingDays
227
+ /**
228
+ * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
229
+ * ...
230
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-detectCSSCompatibilityIssues)
231
+ */
232
+ detectCSSCompatibilityIssues? : boolean
233
+ /**
234
+ * Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget
235
+ * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
236
+ * ...
237
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-disabled)
238
+ */
239
+ disabled? : boolean|'inert'
240
+ /**
241
+ * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel)
242
+ * [strips collection](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
243
+ * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
244
+ * body. Such widgets are called "edge strips".
245
+ * ...
246
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-dock)
247
+ */
248
+ dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
249
+ /**
250
+ * Set to `false` to prevent dragging the popup element.
251
+ */
252
+ draggable? : boolean|{
253
+ handleSelector?: string
254
+ }
255
+ /**
256
+ * Make this Panel a docked drawer which slides out from one side of the browser viewport by default.
257
+ * ...
258
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-drawer)
259
+ * @param {'start','left','end','right','top','bottom'} side The side of the viewport to dock the drawer to. * `'start'` means the `inline-start` side. * `'end'` means the `inline-end` side.
260
+ * @param {string,number} size The size of the drawer in its collapsible axis.
261
+ * @param {boolean} inline If using the [appendTo](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel#config-appendTo) config to place the drawer inside a host widget, this may be set to `true` to make the drawer inline within that host. Note that, if using this, the layout of the host element must have `flex-direction` set appropriately.
262
+ * @param {boolean,object} autoClose Specifies what user actions should automatically close the drawer. Defaults to closing when the user clicks outside of the drawer or when focus moves outside of the drawer.
263
+ * @param {boolean,string} autoClose.mousedown If the user clicks outside of the drawer, the drawer will automatically be hidden. If the value is a string, it is used as a CSS selector to filter clicks which should close the drawer.
264
+ * @param {boolean,string} autoClose.focusout If focus moves outside of the drawer, the drawer will automatically be hidden.
265
+ * @param {string} autoClose.mouseout Hides the drawer when the mouse leaves the drawer after the `autoCloseDelay` period.
266
+ * @param {number} autoCloseDelay When using `mouseout`, this is the delay in milliseconds
267
+ */
268
+ drawer? : boolean|{side?: 'start'|'left'|'end'|'right'|'top'|'bottom', size?: string|number, inline?: boolean, autoClose: { mousedown?: boolean|string, focusout?: boolean|string, mouseout?: string }, autoCloseDelay?: number}
269
+ /**
270
+ * An object specifying attributes to assign to the root element of this widget.
271
+ * Set `null` value to attribute to remove it.
272
+ * ...
273
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-elementAttributes)
274
+ */
275
+ elementAttributes? : Record<string, string|null>
276
+ extraData? : any
277
+ /**
278
+ * When this widget is a child of a [Container](https://bryntum.com/products/gantt/docs/api/Core/widget/Container), it will by default be participating in a
279
+ * flexbox layout. This config allows you to set this widget's
280
+ * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.
281
+ * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.
282
+ * numeric-only values are interpreted as the `flex-grow` value.
283
+ */
284
+ flex? : number|string
285
+ /**
286
+ * Set to `true` to move the widget out of the document flow and position it
287
+ * absolutely in browser viewport space.
288
+ */
289
+ floating? : boolean
290
+ /**
291
+ * By default a Popup is focused when it is shown.
292
+ * Configure this as `false` to prevent automatic focus on show.
293
+ */
294
+ focusOnToFront? : boolean
295
+ /**
296
+ * Config object of a footer. May contain a `dock`, `html` and a `cls` property. A footer is not a widget,
297
+ * but rather plain HTML that follows the last element of the panel's body and [strips](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel#config-strips).
298
+ * ...
299
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-footer)
300
+ */
301
+ footer? : {
302
+ dock?: 'top'|'right'|'bottom'|'left'|'start'|'end'
303
+ html?: string
304
+ cls?: string
305
+ }|string
306
+ /**
307
+ * DOM element to attach popup.
308
+ */
309
+ forElement? : HTMLElement
310
+ /**
311
+ * A config [object](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel#typedef-PanelHeader) for the panel's header or a string in place of a `title`.
312
+ * ...
313
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-header)
314
+ */
315
+ header? : string|boolean|PanelHeader
316
+ /**
317
+ * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,
318
+ * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some
319
+ * cases this config is convenient.
320
+ */
321
+ height? : string|number
322
+ /**
323
+ * Configure with true to make widget initially hidden.
324
+ */
325
+ hidden? : boolean
326
+ /**
327
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-floating).*
328
+ * ...
329
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-hideAnimation)
330
+ */
331
+ hideAnimation? : boolean|object
332
+ /**
333
+ * Specify `true` to make this container hide when it has no visible children (Either empty
334
+ * or all children hidden).
335
+ * ...
336
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-hideWhenEmpty)
337
+ */
338
+ hideWhenEmpty? : boolean
339
+ /**
340
+ * The HTML to display initially or a function returning the markup (called at widget construction time).
341
+ * ...
342
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-html)
343
+ * @param {Core.widget.Widget} widget The calling Widget
344
+ * @returns {string}
345
+ */
346
+ html? : string|((widget: Widget) => string)|DomConfig|DomConfig[]|VueConfig
347
+ /**
348
+ * The CSS class(es) to add when HTML content is being applied to this widget.
349
+ */
350
+ htmlCls? : string|object
351
+ /**
352
+ * An icon to show before the [title](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel#config-title). Either pass a CSS class as a string, or pass a
353
+ * [DomConfig](https://bryntum.com/products/gantt/docs/api/Core/helper/DomHelper#typedef-DomConfig) object describing an element to represent the icon.
354
+ */
355
+ icon? : string|DomConfig
356
+ /**
357
+ * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById
358
+ */
359
+ id? : string
360
+ /**
361
+ * Determines if the widgets read-only state should be controlled by its parent.
362
+ * ...
363
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-ignoreParentReadOnly)
364
+ */
365
+ ignoreParentReadOnly? : boolean
366
+ /**
367
+ * Convenience setting to align input fields of child widgets. By default, the Field input element is
368
+ * placed immediately following the `label`. If you prefer to have all input fields aligned to the
369
+ * right, set this config to `'end'`.
370
+ * ...
371
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-inputFieldAlign)
372
+ */
373
+ inputFieldAlign? : 'start'|'end'
374
+ /**
375
+ * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
376
+ */
377
+ insertBefore? : HTMLElement|string
378
+ /**
379
+ * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
380
+ */
381
+ insertFirst? : HTMLElement|string
382
+ /**
383
+ * An optional CSS class to add to child items of this container.
384
+ */
385
+ itemCls? : string
386
+ /**
387
+ * An object containing typed child widget config objects or Widgets. May also be specified
388
+ * as an array.
389
+ * ...
390
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-items)
391
+ */
392
+ items? : Record<string, ContainerItemConfig|MenuItemEntry>|(ContainerItemConfig|MenuItemEntry|Widget)[]
393
+ /**
394
+ * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
395
+ * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
396
+ * are the name of the instance method to call when the keystroke is received.
397
+ * ...
398
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-keyMap)
399
+ */
400
+ keyMap? : Record<string, KeyMapConfig>
401
+ /**
402
+ * Convenience setting to use same label placement on all child widgets.
403
+ * ...
404
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-labelPosition)
405
+ */
406
+ labelPosition? : 'before'|'above'|'align-before'|'auto'|null
407
+ /**
408
+ * The short name of a helper class which manages rendering and styling of child items.
409
+ * ...
410
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-layout)
411
+ */
412
+ layout? : string|ContainerLayoutConfig
413
+ /**
414
+ * The CSS style properties to apply to the [contentElement](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#property-contentElement).
415
+ * ...
416
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-layoutStyle)
417
+ */
418
+ layoutStyle? : object
419
+ /**
420
+ * An array of [child item](https://bryntum.com/products/gantt/docs/api/Core/widget/Container#config-items) *config objects* which is to be converted into
421
+ * instances only when this Container is rendered, rather than eagerly at construct time.
422
+ * ...
423
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-lazyItems)
424
+ */
425
+ lazyItems? : Record<string, ContainerItemConfig>|ContainerItemConfig[]|Widget[]
426
+ /**
427
+ * The listener set for this object.
428
+ * ...
429
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-listeners)
430
+ */
431
+ listeners? : CalendarEditorListeners
432
+ /**
433
+ * A class translations of which are used for translating this entity.
434
+ * This is often used when translations of an item are defined on its container class.
435
+ * For example:
436
+ * ...
437
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-localeClass)
438
+ */
439
+ localeClass? : typeof Base
440
+ /**
441
+ * Set to `false` to disable localization of this object.
442
+ */
443
+ localizable? : boolean
444
+ /**
445
+ * List of properties which values should be translated automatically upon a locale applying.
446
+ * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
447
+ * you could use 'localeKey' meta configuration.
448
+ * Example:
449
+ * ...
450
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-localizableProperties)
451
+ */
452
+ localizableProperties? : string[]
453
+ /**
454
+ * Widget's margin. This may be configured as a single number or a `TRBL` format string.
455
+ * numeric-only values are interpreted as pixels.
456
+ */
457
+ margin? : number|string
458
+ /**
459
+ * This config object contains the defaults for the [Mask](https://bryntum.com/products/gantt/docs/api/Core/widget/Mask) created for the
460
+ * [masked](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these
461
+ * values.
462
+ */
463
+ maskDefaults? : MaskConfig
464
+ /**
465
+ * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a
466
+ * [Mask](https://bryntum.com/products/gantt/docs/api/Core/widget/Mask) config object.
467
+ */
468
+ masked? : boolean|string|MaskConfig
469
+ /**
470
+ * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that
471
+ * like [height](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
472
+ */
473
+ maxHeight? : string|number
474
+ /**
475
+ * Show a tool in the header to maximize this popup
476
+ */
477
+ maximizable? : boolean
478
+ /**
479
+ * Set to `true` to make this widget take all available space in the visible viewport.
480
+ */
481
+ maximized? : boolean
482
+ /**
483
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-floating).*
484
+ * ...
485
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-maximizeOnMobile)
486
+ */
487
+ maximizeOnMobile? : number|string
488
+ /**
489
+ * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that
490
+ * like [width](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
491
+ */
492
+ maxWidth? : string|number
493
+ /**
494
+ * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that
495
+ * like [height](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
496
+ */
497
+ minHeight? : string|number
498
+ /**
499
+ * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that
500
+ * like [width](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
501
+ */
502
+ minWidth? : string|number
503
+ /**
504
+ * Optionally show an opaque mask below this Popup when shown.
505
+ * Configure this as `true` to show the mask.
506
+ * ...
507
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-modal)
508
+ */
509
+ modal? : boolean|{
510
+ closeOnMaskTap?: boolean
511
+ transparent?: boolean
512
+ }
513
+ /**
514
+ * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
515
+ * is used to monitor this element for size changes caused by either style manipulation, or by CSS
516
+ * layout.
517
+ * ...
518
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-monitorResize)
519
+ */
520
+ monitorResize? : boolean|{
521
+ immediate?: boolean
522
+ }
523
+ /**
524
+ * An object containing default config objects which may be referenced by name in the [items](https://bryntum.com/products/gantt/docs/api/Core/widget/Container#config-items)
525
+ * config. For example, a specialized [Menu](https://bryntum.com/products/gantt/docs/api/Core/widget/Menu) subclass may have a `namedItems` default
526
+ * value defined like this:
527
+ * ...
528
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-namedItems)
529
+ */
530
+ namedItems? : Record<string, ContainerItemConfig>
531
+ /**
532
+ * The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
533
+ * [items](https://bryntum.com/products/gantt/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
534
+ * the owner is <strong>always</strong> the encapsulating Container.
535
+ * ...
536
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-owner)
537
+ */
538
+ owner? : Widget|any
539
+ /**
540
+ * Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#property-contentElement), but must
541
+ * not participate in the standard layout of that widget, and must be positioned relatively to that
542
+ * widget's [contentElement](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#property-contentElement).
543
+ * ...
544
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-positioned)
545
+ */
546
+ positioned? : boolean
547
+ /**
548
+ * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a
549
+ * menu on click etc, since the tooltip would be displayed at the same time.
550
+ */
551
+ preventTooltipOnTouch? : boolean
552
+ /**
553
+ * Whether this widget is read-only. This is only valid if the widget is an input
554
+ * field, <strong>or contains input fields at any depth</strong>.
555
+ * ...
556
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-readOnly)
557
+ */
558
+ readOnly? : boolean
559
+ /**
560
+ * [Record](https://bryntum.com/products/gantt/docs/api/Core/data/Model) whose values will be used to populate fields in the container.
561
+ * ...
562
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-record)
563
+ */
564
+ record? : Model
565
+ relayStoreEvents? : boolean
566
+ /**
567
+ * Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
568
+ * `type`.
569
+ * ...
570
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-rendition)
571
+ */
572
+ rendition? : string|Record<string, string>|null
573
+ /**
574
+ * Configure this property to allow the widget/component to be resized. Pressing <kbd>Shift</kbd> while resizing will
575
+ * constrain the aspect ratio.
576
+ * ...
577
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-resizable)
578
+ */
579
+ resizable? : boolean|{
580
+ minWidth?: number
581
+ maxWidth?: number
582
+ minHeight?: number
583
+ maxHeight?: number
584
+ handles?: object
585
+ }
586
+ /**
587
+ * Configure as `true` to have the component display a translucent ripple when its
588
+ * [focusElement](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the
589
+ * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
590
+ * ...
591
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-ripple)
592
+ */
593
+ ripple? : boolean|{
594
+ delegate?: string
595
+ color?: string
596
+ radius?: number
597
+ clip?: string
598
+ }
599
+ /**
600
+ * 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`
601
+ */
602
+ rootElement? : ShadowRoot|HTMLElement
603
+ /**
604
+ * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
605
+ * ...
606
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-rtl)
607
+ */
608
+ rtl? : boolean
609
+ /**
610
+ * Specifies whether (and optionally in which axes) a Widget may scroll. `true` means this widget may scroll
611
+ * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
612
+ * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
613
+ * CSS overflow properties thus:
614
+ * ...
615
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-scrollable)
616
+ */
617
+ scrollable? : boolean|ScrollerConfig|Scroller
618
+ /**
619
+ * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
620
+ * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
621
+ */
622
+ scrollAction? : 'hide'|'realign'|null
623
+ /**
624
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-floating).*
625
+ * ...
626
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-showAnimation)
627
+ */
628
+ showAnimation? : boolean|object
629
+ /**
630
+ * Show popup when user clicks the element that it is anchored to. Cannot be combined with showOnHover. Can
631
+ * also be provided as the button number (0: main button, 2: right button).
632
+ */
633
+ showOnClick? : boolean|number
634
+ /**
635
+ * Set to `false` to not show the tooltip when this widget is [disabled](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#property-disabled)
636
+ */
637
+ showTooltipWhenDisabled? : boolean
638
+ /**
639
+ * Programmatic control over how many columns to span when used in a grid layout.
640
+ */
641
+ span? : number
642
+ /**
643
+ * This value can be one of the following:
644
+ * ...
645
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-stateful)
646
+ */
647
+ stateful? : boolean|object|string[]
648
+ /**
649
+ * The events that, when fired by this component, should trigger it to save its state by calling
650
+ * [saveState](https://bryntum.com/products/gantt/docs/api/Core/mixin/State#function-saveState).
651
+ * ...
652
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-statefulEvents)
653
+ */
654
+ statefulEvents? : object|string[]
655
+ /**
656
+ * The key to use when saving this object's state in the [stateProvider](https://bryntum.com/products/gantt/docs/api/Core/mixin/State#config-stateProvider). If this config is
657
+ * not assigned, and [stateful](https://bryntum.com/products/gantt/docs/api/Core/mixin/State#config-stateful) is not set to `false`, the [id](#Core/widget/Widget#config-id)
658
+ * (if explicitly specified) will be used as the `stateId`.
659
+ * ...
660
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-stateId)
661
+ */
662
+ stateId? : string
663
+ /**
664
+ * The `StateProvider` to use to save and restore this object's [state](https://bryntum.com/products/gantt/docs/api/Core/mixin/State#property-state). By default, `state`
665
+ * will be saved using the [default state provider](https://bryntum.com/products/gantt/docs/api/Core/state/StateProvider#property-instance-static).
666
+ * ...
667
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-stateProvider)
668
+ */
669
+ stateProvider? : StateProvider
670
+ /**
671
+ * Specify `true` to match fields by their `name` property only when assigning a [record](https://bryntum.com/products/gantt/docs/api/Core/widget/Container#config-record),
672
+ * without falling back to `ref`.
673
+ */
674
+ strictRecordMapping? : boolean
675
+ /**
676
+ * An object containing widgets keyed by name. By default (when no `type` is given), strips are
677
+ * [toolbars](https://bryntum.com/products/gantt/docs/api/Core/widget/Toolbar). If you want to pass an array, you can use
678
+ * the toolbar's [items](https://bryntum.com/products/gantt/docs/api/Core/widget/Container#config-items).
679
+ * ...
680
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-strips)
681
+ */
682
+ strips? : Record<string, ContainerItemConfig>
683
+ /**
684
+ * A configuration for the [tab](https://bryntum.com/products/gantt/docs/api/Core/widget/Tab) created for this widget when it is placed in a
685
+ * [TabPanel](https://bryntum.com/products/gantt/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for
686
+ * this widget:
687
+ * ...
688
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-tab)
689
+ */
690
+ tab? : boolean|TabConfig
691
+ /**
692
+ * When this container is used as a tab in a TabPanel, these items are added to the
693
+ * [TabBar](https://bryntum.com/products/gantt/docs/api/Core/widget/TabBar) when this container is the active tab.
694
+ * ...
695
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-tabBarItems)
696
+ */
697
+ tabBarItems? : ToolbarItems[]|Widget[]
698
+ /**
699
+ * The tag name of this Widget's root element
700
+ */
701
+ tag? : string
702
+ /**
703
+ * A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/gantt/docs/api/Core/widget/Toolbar),
704
+ * or array of config objects representing the child items of a Toolbar.
705
+ * This creates a toolbar docked to the top of the panel immediately below the header.
706
+ * ...
707
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-tbar)
708
+ */
709
+ tbar? : (ContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
710
+ /**
711
+ * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
712
+ * ...
713
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-textAlign)
714
+ */
715
+ textAlign? : 'left'|'center'|'right'|'start'|'end'
716
+ /**
717
+ * Specify `true` for a container used to show text markup. It will apply the CSS class `b-text-content`
718
+ * which specifies a default max-width that makes long text more readable.
719
+ * ...
720
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-textContent)
721
+ */
722
+ textContent? : boolean
723
+ /**
724
+ * A title to display in the header or owning TabPanel. Causes creation and docking of a header
725
+ * to the top if no header is configured.
726
+ * ...
727
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-title)
728
+ */
729
+ title? : string
730
+ /**
731
+ * The [tools](https://bryntum.com/products/gantt/docs/api/Core/widget/Tool) to add either before or after the `title` in the Panel header. Each
732
+ * property name is the reference by which an instantiated tool may be retrieved from the live
733
+ * `[tools](https://bryntum.com/products/gantt/docs/api/Core/widget/mixin/Toolable#property-tools)` property.
734
+ * ...
735
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-tools)
736
+ */
737
+ tools? : Record<string, ToolConfig>|null
738
+ /**
739
+ * Tooltip for the widget, either as a string or as a Tooltip config object.
740
+ * ...
741
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-tooltip)
742
+ */
743
+ tooltip? : string|TooltipConfig|null
744
+ /**
745
+ * By default, tabbing within a Popup is circular - that is it does not exit.
746
+ * Configure this as `false` to allow tabbing out of the Popup.
747
+ */
748
+ trapFocus? : boolean
749
+ type? : 'calendareditor'
750
+ /**
751
+ * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
752
+ * as a space separated string, an array of strings, or as an object in which property names with truthy
753
+ * values are used as the class names.
754
+ * ...
755
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-ui)
756
+ */
757
+ ui? : 'plain'|'toolbar'|string|object
758
+ /**
759
+ * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/gantt/docs/api/Core/widget/Container).
760
+ * Higher weights go further down.
761
+ */
762
+ weight? : number
763
+ /**
764
+ * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which
765
+ * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases
766
+ * this config is convenient.
767
+ */
768
+ width? : string|number
769
+ /**
770
+ * The x position for the widget.
771
+ * ...
772
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-x)
773
+ */
774
+ x? : number
775
+ /**
776
+ * The y position for the widget.
777
+ * ...
778
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#config-y)
779
+ */
780
+ y? : number
781
+
782
+ // Events
783
+ /**
784
+ * Fired when the [close](https://bryntum.com/products/gantt/docs/api/Core/widget/Popup#function-close) method is called and the popup is not hidden.
785
+ * May be vetoed by returning `false` from a handler.
786
+ * @param {object} event Event object
787
+ * @param {Core.widget.Popup} event.source This Popup
788
+ */
789
+ onBeforeClose? : ((event: { source: Popup }) => Promise<boolean>|boolean|void)|string
790
+ /**
791
+ * Fires before an object is destroyed.
792
+ * @param {object} event Event object
793
+ * @param {Core.Base} event.source The Object that is being destroyed.
794
+ */
795
+ onBeforeDestroy? : ((event: { source: Base }) => void)|string
796
+ /**
797
+ * Triggered before a widget is hidden. Return `false` to prevent the action.
798
+ * @param {object} event Event object
799
+ * @param {Core.widget.Widget} event.source The widget being hidden.
800
+ */
801
+ onBeforeHide? : ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string
802
+ /**
803
+ * Fired before this container will load record values into its child fields. This is useful if you
804
+ * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
805
+ * @param {object} event Event object
806
+ * @param {Core.widget.Container} event.source The container
807
+ * @param {Core.data.Model} event.record The record
808
+ */
809
+ onBeforeSetRecord? : ((event: { source: Container, record: Model }) => void)|string
810
+ /**
811
+ * Triggered before a widget is shown. Return `false` to prevent the action.
812
+ * @param {object} event Event object
813
+ * @param {Core.widget.Widget,any} event.source The widget being shown
814
+ */
815
+ onBeforeShow? : ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string
816
+ /**
817
+ * Fired before state is applied to the source. Allows editing the state object or preventing the operation.
818
+ * @param {object} event Event object
819
+ * @param {any} event.state State object config
820
+ */
821
+ onBeforeStateApply? : ((event: { state: any }) => Promise<boolean>|boolean|void)|string
822
+ /**
823
+ * Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
824
+ * @param {object} event Event object
825
+ * @param {any} event.state State object config
826
+ */
827
+ onBeforeStateSave? : ((event: { state: any }) => Promise<boolean>|boolean|void)|string
828
+ /**
829
+ * Fires when any other event is fired from the object.
830
+ * ...
831
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#event-catchAll)
832
+ * @param {object} event Event object
833
+ * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
834
+ * @param {string} event.event.type The type of the event which is caught by the listener
835
+ */
836
+ onCatchAll? : ((event: {[key: string]: any, type: string}) => void)|string
837
+ /**
838
+ * Fires when a Panel is collapsed using the [collapsible](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel#config-collapsible) setting.
839
+ * @param {object} event Event object
840
+ * @param {Core.widget.Panel} event.source This Panel.
841
+ */
842
+ onCollapse? : ((event: { source: Panel }) => void)|string
843
+ /**
844
+ * Fires when an object is destroyed.
845
+ * @param {object} event Event object
846
+ * @param {Core.Base} event.source The Object that is being destroyed.
847
+ */
848
+ onDestroy? : ((event: { source: Base }) => void)|string
849
+ /**
850
+ * Fires when a field is mutated and the state of the [hasChanges](https://bryntum.com/products/gantt/docs/api/Core/widget/Container#property-hasChanges) property changes
851
+ * @param {object} event Event object
852
+ * @param {Core.widget.Container} event.source The container.
853
+ * @param {boolean} event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.
854
+ */
855
+ onDirtyStateChange? : ((event: { source: Container, dirty: boolean }) => void)|string
856
+ /**
857
+ * Triggered when a widget's [element](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#property-element) is available.
858
+ * @param {object} event Event object
859
+ * @param {HTMLElement} event.element The Widget's element.
860
+ */
861
+ onElementCreated? : ((event: { element: HTMLElement }) => void)|string
862
+ /**
863
+ * Fires when a Panel is expanded using the [collapsible](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel#config-collapsible) setting.
864
+ * @param {object} event Event object
865
+ * @param {Core.widget.Panel} event.source This Panel.
866
+ */
867
+ onExpand? : ((event: { source: Panel }) => void)|string
868
+ /**
869
+ * Fired when focus enters this Widget.
870
+ * @param {object} event Event object
871
+ * @param {Core.widget.Widget} event.source This Widget
872
+ * @param {HTMLElement} event.fromElement The element which lost focus.
873
+ * @param {HTMLElement} event.toElement The element which gained focus.
874
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
875
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
876
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
877
+ */
878
+ onFocusIn? : ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string
879
+ /**
880
+ * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
881
+ * focus moving from within this Widget's ownership tree, even if there are floating widgets
882
+ * will not trigger this event. This is when focus exits this widget completely.
883
+ * @param {object} event Event object
884
+ * @param {Core.widget.Widget} event.source This Widget
885
+ * @param {HTMLElement} event.fromElement The element which lost focus.
886
+ * @param {HTMLElement} event.toElement The element which gained focus.
887
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
888
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
889
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
890
+ */
891
+ onFocusOut? : ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string
892
+ /**
893
+ * Triggered after a widget was hidden
894
+ * @param {object} event Event object
895
+ * @param {Core.widget.Widget} event.source The widget
896
+ */
897
+ onHide? : ((event: { source: Widget }) => void)|string
898
+ /**
899
+ * Triggered when a widget which had been in a non-visible state for any reason
900
+ * achieves visibility.
901
+ * ...
902
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/SchedulerPro/widget/CalendarEditor#event-paint)
903
+ * @param {object} event Event object
904
+ * @param {Core.widget.Widget} event.source The widget being painted.
905
+ * @param {boolean} event.firstPaint `true` if this is the first paint.
906
+ */
907
+ onPaint? : ((event: { source: Widget, firstPaint: boolean }) => void)|string
908
+ /**
909
+ * Fired when a Widget's read only state is toggled
910
+ * @param {object} event Event object
911
+ * @param {boolean} event.readOnly Read only or not
912
+ */
913
+ onReadOnly? : ((event: { readOnly: boolean }) => void)|string
914
+ /**
915
+ * This event is fired after a widget's elements have been synchronized due to a direct or indirect call
916
+ * to [recompose](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#function-recompose), if this results in some change to the widget's rendered DOM elements.
917
+ */
918
+ onRecompose? : (() => void)|string
919
+ /**
920
+ * Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
921
+ * @param {object} event Event object
922
+ * @param {Core.widget.Widget} event.source This Widget
923
+ * @param {number} event.width The new width
924
+ * @param {number} event.height The new height
925
+ * @param {number} event.oldWidth The old width
926
+ * @param {number} event.oldHeight The old height
927
+ */
928
+ onResize? : ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string
929
+ /**
930
+ * Triggered after a widget is shown.
931
+ * @param {object} event Event object
932
+ * @param {Core.widget.Widget} event.source The widget
933
+ */
934
+ onShow? : ((event: { source: Widget }) => void)|string
935
+ /**
936
+ * A header [tool](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel#config-tools) has been clicked.
937
+ * @param {object} event Event object
938
+ * @param {Core.widget.Tool} event.source This Panel.
939
+ * @param {Core.widget.Tool} event.tool The tool which is being clicked.
940
+ */
941
+ onToolClick? : ((event: { source: Tool, tool: Tool }) => void)|string
942
+
943
+ }
944
+
945
+ export class BryntumCalendarEditor extends React.Component<BryntumCalendarEditorProps> {
946
+
947
+ static instanceClass = CalendarEditor;
948
+
949
+ static instanceName = 'CalendarEditor';
950
+
951
+ processWidgetContent = processWidgetContent;
952
+
953
+ static configNames = [
954
+ 'activeDate',
955
+ 'adopt',
956
+ 'align',
957
+ 'anchor',
958
+ 'ariaDescription',
959
+ 'ariaLabel',
960
+ 'autoClose',
961
+ 'autoShow',
962
+ 'autoUpdateRecord',
963
+ 'bbar',
964
+ 'bodyCls',
965
+ 'bubbleEvents',
966
+ 'calendar',
967
+ 'centered',
968
+ 'closable',
969
+ 'closeAction',
970
+ 'closeOnEscape',
971
+ 'collapsible',
972
+ 'color',
973
+ 'config',
974
+ 'constrainTo',
975
+ 'contentElementCls',
976
+ 'dataField',
977
+ 'defaultBindProperty',
978
+ 'defaultFocus',
979
+ 'defaults',
980
+ 'defaultWorkingDayAvailability',
981
+ 'defaultWorkingDays',
982
+ 'detectCSSCompatibilityIssues',
983
+ 'dock',
984
+ 'draggable',
985
+ 'drawer',
986
+ 'elementAttributes',
987
+ 'floating',
988
+ 'focusOnToFront',
989
+ 'footer',
990
+ 'forElement',
991
+ 'header',
992
+ 'hideAnimation',
993
+ 'hideWhenEmpty',
994
+ 'htmlCls',
995
+ 'icon',
996
+ 'ignoreParentReadOnly',
997
+ 'itemCls',
998
+ 'lazyItems',
999
+ 'listeners',
1000
+ 'localeClass',
1001
+ 'localizable',
1002
+ 'localizableProperties',
1003
+ 'maskDefaults',
1004
+ 'masked',
1005
+ 'maximizable',
1006
+ 'modal',
1007
+ 'monitorResize',
1008
+ 'namedItems',
1009
+ 'owner',
1010
+ 'positioned',
1011
+ 'preventTooltipOnTouch',
1012
+ 'relayStoreEvents',
1013
+ 'ripple',
1014
+ 'rootElement',
1015
+ 'scrollAction',
1016
+ 'showAnimation',
1017
+ 'showOnClick',
1018
+ 'showTooltipWhenDisabled',
1019
+ 'stateful',
1020
+ 'statefulEvents',
1021
+ 'stateId',
1022
+ 'stateProvider',
1023
+ 'strips',
1024
+ 'tab',
1025
+ 'tabBarItems',
1026
+ 'tag',
1027
+ 'tbar',
1028
+ 'textAlign',
1029
+ 'textContent',
1030
+ 'trapFocus',
1031
+ 'type',
1032
+ 'ui',
1033
+ 'weight'
1034
+ ];
1035
+
1036
+ static propertyConfigNames = [
1037
+ 'alignSelf',
1038
+ 'appendTo',
1039
+ 'callOnFunctions',
1040
+ 'catchEventHandlerExceptions',
1041
+ 'cls',
1042
+ 'collapsed',
1043
+ 'column',
1044
+ 'content',
1045
+ 'dataset',
1046
+ 'disabled',
1047
+ 'extraData',
1048
+ 'flex',
1049
+ 'height',
1050
+ 'hidden',
1051
+ 'html',
1052
+ 'id',
1053
+ 'inputFieldAlign',
1054
+ 'insertBefore',
1055
+ 'insertFirst',
1056
+ 'items',
1057
+ 'keyMap',
1058
+ 'labelPosition',
1059
+ 'layout',
1060
+ 'layoutStyle',
1061
+ 'margin',
1062
+ 'maxHeight',
1063
+ 'maximized',
1064
+ 'maximizeOnMobile',
1065
+ 'maxWidth',
1066
+ 'minHeight',
1067
+ 'minWidth',
1068
+ 'onBeforeClose',
1069
+ 'onBeforeDestroy',
1070
+ 'onBeforeHide',
1071
+ 'onBeforeSetRecord',
1072
+ 'onBeforeShow',
1073
+ 'onBeforeStateApply',
1074
+ 'onBeforeStateSave',
1075
+ 'onCatchAll',
1076
+ 'onCollapse',
1077
+ 'onDestroy',
1078
+ 'onDirtyStateChange',
1079
+ 'onElementCreated',
1080
+ 'onExpand',
1081
+ 'onFocusIn',
1082
+ 'onFocusOut',
1083
+ 'onHide',
1084
+ 'onPaint',
1085
+ 'onReadOnly',
1086
+ 'onRecompose',
1087
+ 'onResize',
1088
+ 'onShow',
1089
+ 'onToolClick',
1090
+ 'readOnly',
1091
+ 'record',
1092
+ 'rendition',
1093
+ 'resizable',
1094
+ 'rtl',
1095
+ 'scrollable',
1096
+ 'span',
1097
+ 'strictRecordMapping',
1098
+ 'title',
1099
+ 'tools',
1100
+ 'tooltip',
1101
+ 'width',
1102
+ 'x',
1103
+ 'y'
1104
+ ];
1105
+
1106
+ static propertyNames = [
1107
+ 'anchorSize',
1108
+ 'focusVisible',
1109
+ 'hasChanges',
1110
+ 'isSettingValues',
1111
+ 'isValid',
1112
+ 'parent',
1113
+ 'state',
1114
+ 'values'
1115
+ ];
1116
+
1117
+ // Component instance
1118
+ instance!: CalendarEditor;
1119
+
1120
+ // Component element
1121
+ element! : HTMLElement;
1122
+
1123
+ componentDidMount(): void {
1124
+ this.instance = createWidget(this);
1125
+ }
1126
+
1127
+ componentWillUnmount(): void {
1128
+ // @ts-ignore
1129
+ this.instance?.destroy?.();
1130
+ }
1131
+
1132
+ /**
1133
+ * Component about to be updated, from changing a prop using state.
1134
+ * React to it depending on what changed and prevent react from re-rendering our component.
1135
+ * @param nextProps
1136
+ * @param nextState
1137
+ * @returns {boolean}
1138
+ */
1139
+ shouldComponentUpdate(nextProps: Readonly<BryntumCalendarEditorProps>, nextState: Readonly<{}>): boolean {
1140
+ return shouldComponentUpdate(this, nextProps, nextState);
1141
+ }
1142
+
1143
+ render(): React.ReactNode {
1144
+
1145
+ const className = `b-react-calendar-editor-container`;
1146
+ return (
1147
+ <div className={className} ref={(element) => (this.element = element!)}></div>
1148
+ );
1149
+
1150
+ }
1151
+ }