@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,1271 @@
1
+ /**
2
+ * React wrapper for Bryntum DependencyField
3
+ */
4
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
5
+ import React, { RefObject } from 'react';
6
+ import { AlignSpec, Base, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Combo, ComboModel, ContainerItemConfig, DependencyField, DependencyFieldListeners, DependencyStore, DomConfig, Duration, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, List, ListConfig, MaskConfig, Model, Rectangle, Scroller, Sorter, Store, StoreConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/gantt';
7
+
8
+ import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
9
+
10
+ export type BryntumDependencyFieldProps = {
11
+ // Configs
12
+ /**
13
+ * Element (or element id) to adopt as this Widget's encapsulating element. The widget's
14
+ * content will be placed inside this element.
15
+ * ...
16
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-adopt)
17
+ */
18
+ adopt? : HTMLElement|string
19
+ /**
20
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-floating).*
21
+ * ...
22
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-align)
23
+ */
24
+ align? : AlignSpec|string
25
+ /**
26
+ * 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
27
+ * flexbox layout. This config allows you to set this widget's
28
+ * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.
29
+ */
30
+ alignSelf? : string
31
+ /**
32
+ * *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).*
33
+ * `true` to show a connector arrow pointing to the align target.
34
+ */
35
+ anchor? : boolean
36
+ /**
37
+ * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
38
+ * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#property-element).
39
+ */
40
+ appendTo? : HTMLElement|string
41
+ /**
42
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
43
+ * into an element which will be linked using the `aria-describedby` attribute.
44
+ * ...
45
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-ariaDescription)
46
+ */
47
+ ariaDescription? : string
48
+ /**
49
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
50
+ * the `aria-label` attribute.
51
+ * ...
52
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-ariaLabel)
53
+ */
54
+ ariaLabel? : string
55
+ /**
56
+ * Sets the native `autocomplete` property of the underlying input element. For more information, please refer to
57
+ * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)
58
+ */
59
+ autoComplete? : string
60
+ /**
61
+ * Configure as `true` to have the picker expand upon focus enter.
62
+ */
63
+ autoExpand? : boolean
64
+ /**
65
+ * Specify `true` to auto select field contents on focus
66
+ */
67
+ autoSelect? : boolean
68
+ /**
69
+ * Initial text to show in badge.
70
+ */
71
+ badge? : string
72
+ /**
73
+ * An object where property names with a truthy value indicate which events should bubble up the ownership
74
+ * hierarchy when triggered.
75
+ * ...
76
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-bubbleEvents)
77
+ */
78
+ bubbleEvents? : object
79
+ /**
80
+ * Enable caching of the last retrieved result until the timeout is reached.
81
+ * ...
82
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-cacheLastResult)
83
+ */
84
+ cacheLastResult? : number|string|Duration|DurationConfig
85
+ /**
86
+ * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
87
+ * ...
88
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-callOnFunctions)
89
+ */
90
+ callOnFunctions? : boolean
91
+ /**
92
+ * Configure as `true` to force case matching when filtering the dropdown list based upon the typed value.
93
+ */
94
+ caseSensitive? : boolean
95
+ /**
96
+ * By default, if an event handler throws an exception, the error propagates up the stack and the
97
+ * application state is undefined. Code which follows the event handler will *not* be executed.
98
+ * ...
99
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-catchEventHandlerExceptions)
100
+ */
101
+ catchEventHandlerExceptions? : boolean
102
+ /**
103
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-floating).*
104
+ * Set to `true` to centre the Widget in browser viewport space.
105
+ */
106
+ centered? : boolean
107
+ /**
108
+ * A config object to configure the [ChipView](https://bryntum.com/products/gantt/docs/api/Core/widget/ChipView) to display the
109
+ * selected value set when [multiSelect](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
110
+ * ...
111
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-chipView)
112
+ */
113
+ chipView? : ChipViewConfig
114
+ /**
115
+ * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#config-readOnly). The trigger is available
116
+ * in the [triggers](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
117
+ * configures the `clear` [trigger](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#property-triggers).
118
+ */
119
+ clearable? : boolean|FieldTriggerConfig
120
+ /**
121
+ * `true` to clear value typed to a multiselect combo when picker is collapsed
122
+ */
123
+ clearTextOnPickerHide? : boolean
124
+ /**
125
+ * Specify `false` to not clear value typed to a multiselect combo when an item is selected.
126
+ */
127
+ clearTextOnSelection? : boolean
128
+ /**
129
+ * Set to `true` to clear this field when user empties the input element
130
+ */
131
+ clearWhenInputEmpty? : boolean
132
+ /**
133
+ * Custom CSS classes to add to element.
134
+ * May be specified as a space separated string, or as an object in which property names
135
+ * with truthy values are used as the class names:
136
+ * ...
137
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-cls)
138
+ */
139
+ cls? : string|object
140
+ /**
141
+ * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
142
+ * `style` block.
143
+ * ...
144
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-color)
145
+ */
146
+ color? : string
147
+ /**
148
+ * Programmatic control over which column to start in when used in a grid layout.
149
+ */
150
+ column? : number
151
+ config? : object
152
+ /**
153
+ * *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).*
154
+ * Element, Widget or Rectangle to which this Widget is constrained.
155
+ */
156
+ constrainTo? : HTMLElement|Widget|Rectangle
157
+ /**
158
+ * The configuration for additional items associated to this field. This is typically used to add contextual
159
+ * fields related to a [checkbox](https://bryntum.com/products/gantt/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See
160
+ * these classes for examples of nested fields.
161
+ * ...
162
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-container)
163
+ */
164
+ container? : Record<string, ContainerItemConfig>|ContainerItemConfig[]|FieldContainerConfig|FieldContainer
165
+ /**
166
+ * The config controls how the value of nested items are handled when a parent container gets or sets its
167
+ * [values](https://bryntum.com/products/gantt/docs/api/Core/widget/Container#property-values).
168
+ * ...
169
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-containValues)
170
+ * @param {Core.widget.Field} field Field instance
171
+ * @returns {boolean}
172
+ */
173
+ containValues? : boolean|string|((field: Field) => boolean)
174
+ /**
175
+ * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#property-contentElement).
176
+ * May be specified as a space separated string, or as an object in which property names
177
+ * with truthy values are used as the class names:
178
+ * ...
179
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-contentElementCls)
180
+ */
181
+ contentElementCls? : string|object
182
+ /**
183
+ * If configured as `true`, this means that when an unmatched string is typed into the
184
+ * combo's input field, and `ENTER`, or the [multiValueSeparator](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
185
+ * a new record will be created using the typed string as the [displayField](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-displayField).
186
+ * ...
187
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-createOnUnmatched)
188
+ * @param {string} name Record name
189
+ * @param {Core.widget.Combo} combo Combo instance
190
+ * @returns {Core.data.Model} New record
191
+ */
192
+ createOnUnmatched? : ((name: string, combo: Combo) => Model)|string|boolean
193
+ /**
194
+ * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the
195
+ * field on the expanded record to use for populating this widget's store (if applicable)
196
+ */
197
+ dataField? : string
198
+ /**
199
+ * Object to apply to elements dataset (each key will be used as a data-attribute on the element)
200
+ */
201
+ dataset? : Record<string, string>
202
+ /**
203
+ * The name of the property to set when a single value is to be applied to this Widget. Such as when used
204
+ * in a grid WidgetColumn, this is the property to which the column's `field` is applied.
205
+ */
206
+ defaultBindProperty? : string
207
+ /**
208
+ * Delimiter between dependency ids in the field
209
+ */
210
+ delimiter? : string
211
+ /**
212
+ * A task field (id, wbsCode, sequenceNumber etc) that will be used when displaying and editing linked
213
+ * tasks. Defaults to [Gantt#dependencyIdField](https://bryntum.com/products/gantt/docs/api/Gantt/view/GanttBase#config-dependencyIdField)
214
+ */
215
+ dependencyIdField? : string
216
+ /**
217
+ * The dependency store
218
+ */
219
+ dependencyStore? : DependencyStore
220
+ /**
221
+ * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
222
+ * ...
223
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-detectCSSCompatibilityIssues)
224
+ */
225
+ detectCSSCompatibilityIssues? : boolean
226
+ /**
227
+ * 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
228
+ * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
229
+ * ...
230
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-disabled)
231
+ */
232
+ disabled? : boolean|'inert'
233
+ /**
234
+ * Field used for item text when populating from store
235
+ */
236
+ displayField? : string
237
+ /**
238
+ * Template function that can be used to customize the displayed value
239
+ * @param {Core.data.Model} record The record to provide a textual value for
240
+ * @param {Core.widget.Combo} combo A reference to this Combo
241
+ * @returns {string,void}
242
+ */
243
+ displayValueRenderer? : (record: Model|ComboModel, combo: Combo) => string|void
244
+ /**
245
+ * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel)
246
+ * [strips collection](https://bryntum.com/products/gantt/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
247
+ * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
248
+ * body. Such widgets are called "edge strips".
249
+ * ...
250
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-dock)
251
+ */
252
+ dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
253
+ /**
254
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-floating).*
255
+ * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
256
+ * property which controls when a drag should start.
257
+ * ...
258
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-draggable)
259
+ */
260
+ draggable? : boolean|{
261
+ handleSelector?: string
262
+ }
263
+ /**
264
+ * User can edit text in text field (otherwise only pick from attached picker)
265
+ */
266
+ editable? : boolean
267
+ /**
268
+ * An object specifying attributes to assign to the root element of this widget.
269
+ * Set `null` value to attribute to remove it.
270
+ * ...
271
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-elementAttributes)
272
+ */
273
+ elementAttributes? : Record<string, string|null>
274
+ /**
275
+ * Text to display in the drop down when there are no items in the underlying store.
276
+ * ...
277
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-emptyText)
278
+ */
279
+ emptyText? : string
280
+ /**
281
+ * A function which creates an array of values for the [filterParamName](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-filterParamName) to pass
282
+ * any filters to the server upon load.
283
+ * ...
284
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-encodeFilterParams)
285
+ * @param {object[]} filters filters
286
+ * @returns {object[]} array of values
287
+ */
288
+ encodeFilterParams? : (filters: object[]) => object[]
289
+ extraData? : any
290
+ /**
291
+ * Set to `false` to hide the filter field
292
+ */
293
+ filterable? : boolean
294
+ /**
295
+ * If `false`, filtering will be triggered once you exceed [minChars](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-minChars). To filter only when
296
+ * hitting Enter key, set this to `true`;
297
+ */
298
+ filterOnEnter? : boolean
299
+ /**
300
+ * The name of an operator type as implemented in [operator](https://bryntum.com/products/gantt/docs/api/Core/util/CollectionFilter#config-operator)
301
+ * to use when filtering the dropdown list based upon the typed value.
302
+ * ...
303
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-filterOperator)
304
+ */
305
+ filterOperator? : CollectionCompareOperator
306
+ /**
307
+ * If the dropdown is to be populated with a filtered query to a remote server, specify the
308
+ * name of the parameter to pass the typed string here. By default, the string is simply sent
309
+ * as the value of the parameter. For special encoding, configure the combo with [encodeFilterParams](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-encodeFilterParams)
310
+ */
311
+ filterParamName? : string
312
+ /**
313
+ * When [multiSelect](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-multiSelect) is `true`, you may configure `filterSelected` as
314
+ * `true` to hide items in the dropdown when they are added to the selection.
315
+ * It will appear as if the requested item has "moved" into the field's
316
+ * [ChipView](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-chipView).
317
+ */
318
+ filterSelected? : boolean
319
+ /**
320
+ * 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
321
+ * flexbox layout. This config allows you to set this widget's
322
+ * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.
323
+ * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.
324
+ * numeric-only values are interpreted as the `flex-grow` value.
325
+ */
326
+ flex? : number|string
327
+ /**
328
+ * Set to `true` to move the widget out of the document flow and position it
329
+ * absolutely in browser viewport space.
330
+ */
331
+ floating? : boolean
332
+ /**
333
+ * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,
334
+ * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some
335
+ * cases this config is convenient.
336
+ */
337
+ height? : string|number
338
+ /**
339
+ * Configure with true to make widget initially hidden.
340
+ */
341
+ hidden? : boolean
342
+ /**
343
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-floating).*
344
+ * ...
345
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-hideAnimation)
346
+ */
347
+ hideAnimation? : boolean|object
348
+ /**
349
+ * By default, the picker is hidden on selection in single select mode, and
350
+ * remains to allow more selections when [multiSelect](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
351
+ * Setting this to a `Boolean` value can override that default.
352
+ */
353
+ hidePickerOnSelect? : boolean
354
+ /**
355
+ * Configure as `true` to hide the expand trigger. This is automatically set to `true` if
356
+ * remote filtering is enabled by setting the [filterParamName](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-filterParamName) config.
357
+ */
358
+ hideTrigger? : boolean
359
+ /**
360
+ * Specify `true` to highlight field after external value changes
361
+ */
362
+ highlightExternalChange? : boolean
363
+ /**
364
+ * An optional string to display inside the input field as an overlay. This can be useful for displaying
365
+ * a field's units.
366
+ * ...
367
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-hint)
368
+ * @param {object} data A data object
369
+ * @param {Core.widget.Field} data.source A reference to the field instance
370
+ * @param {any} data.value The current value of the field
371
+ * @returns {string}
372
+ */
373
+ hint? : string|((data: { source: Field, value: any }) => string)
374
+ /**
375
+ * This config is similar to [hint](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#config-hint) except that this config is used to display HTML content.
376
+ * Since this can allow malicious content to be executed, be sure not to include user-entered data or to
377
+ * encode such data (see [encodeHtml](https://bryntum.com/products/gantt/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).
378
+ * ...
379
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-hintHtml)
380
+ * @param {object} data A data object
381
+ * @param {Core.widget.Field} data.source A reference to the field instance
382
+ * @param {any} data.value The current value of the field
383
+ * @returns {string}
384
+ */
385
+ hintHtml? : string|((data: { source: Field, value: any }) => string)
386
+ /**
387
+ * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById
388
+ */
389
+ id? : string
390
+ /**
391
+ * Determines if the widgets read-only state should be controlled by its parent.
392
+ * ...
393
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-ignoreParentReadOnly)
394
+ */
395
+ ignoreParentReadOnly? : boolean
396
+ /**
397
+ * Set this config to `true` to always display items horizontally along with this field. This assigns an
398
+ * [hbox](https://bryntum.com/products/gantt/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the
399
+ * [container](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#config-container).
400
+ * ...
401
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-inline)
402
+ */
403
+ inline? : boolean
404
+ /**
405
+ * Configure this as `true` to render the dropdown list as a permanently visible list
406
+ * in the document flow immediately below the input area instead of as a popup.
407
+ * ...
408
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-inlinePicker)
409
+ */
410
+ inlinePicker? : boolean
411
+ /**
412
+ * Text alignment for the input field.
413
+ */
414
+ inputAlign? : string
415
+ /**
416
+ * Sets custom attributes of the underlying input element. For more information, please refer to
417
+ * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes)
418
+ */
419
+ inputAttributes? : Record<string, string>
420
+ /**
421
+ * If you need to use something else than a default `input` element, as the input element, provide the tag
422
+ * name here. Please note that this is used for advanced usage only, for example when using WebComponents
423
+ * (custom elements), and that the configured element must fulfil the same contract as a regular input
424
+ * element.
425
+ */
426
+ inputTag? : string
427
+ /**
428
+ * Sets the `type` attribute of the underlying input element (password, hidden, date, color, etc.).
429
+ */
430
+ inputType? : string
431
+ /**
432
+ * The width to apply to the `.b-field-inner` element, which encompasses the `input` element and any
433
+ * triggers. If a number is specified, `px` will be used.
434
+ */
435
+ inputWidth? : string|number
436
+ /**
437
+ * 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.
438
+ */
439
+ insertBefore? : HTMLElement|string
440
+ /**
441
+ * 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.
442
+ */
443
+ insertFirst? : HTMLElement|string
444
+ /**
445
+ * Rows to display in the dropdown (list items).
446
+ * ...
447
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-items)
448
+ */
449
+ items? : object[]|string[]|object
450
+ /**
451
+ * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
452
+ * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
453
+ * are the name of the instance method to call when the keystroke is received.
454
+ * ...
455
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-keyMap)
456
+ */
457
+ keyMap? : Record<string, KeyMapConfig>
458
+ /**
459
+ * The delay in milliseconds to wait after the last keystroke before triggering a change event.
460
+ * Set to 0 to not trigger change events from keystrokes (listen for input event instead to have
461
+ * immediate feedback, change will still be triggered on blur).
462
+ * ...
463
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-keyStrokeChangeDelay)
464
+ */
465
+ keyStrokeChangeDelay? : number
466
+ /**
467
+ * The delay in milliseconds to wait after the last keystroke before filtering the list.
468
+ * ...
469
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-keyStrokeFilterDelay)
470
+ */
471
+ keyStrokeFilterDelay? : number
472
+ /**
473
+ * Label, prepended to field
474
+ */
475
+ label? : string
476
+ /**
477
+ * CSS class name or class names to add to any configured [label](https://bryntum.com/products/gantt/docs/api/Core/widget/mixin/Labelable#config-label)
478
+ */
479
+ labelCls? : string|object
480
+ /**
481
+ * Label position, either 'before' the field or 'above' the field
482
+ * ...
483
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-labelPosition)
484
+ */
485
+ labelPosition? : 'before'|'above'|null
486
+ /**
487
+ * The labels to add either before or after the input field.
488
+ * Each label may have the following properties:
489
+ * ...
490
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-labels)
491
+ */
492
+ labels? : object[]
493
+ /**
494
+ * The width to apply to the `&lt;label&gt;` element. If a number is specified, `px` will be used.
495
+ */
496
+ labelWidth? : string|number
497
+ /**
498
+ * CSS class to add to picker
499
+ */
500
+ listCls? : string
501
+ /**
502
+ * The listener set for this object.
503
+ * ...
504
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-listeners)
505
+ */
506
+ listeners? : DependencyFieldListeners
507
+ /**
508
+ * Template string used to render the list items in the dropdown list
509
+ * ...
510
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-listItemTpl)
511
+ * @param {Core.data.Model} record The record representing the item being rendered
512
+ * @returns {string,void}
513
+ */
514
+ listItemTpl? : (record: Model|ComboModel) => string|void
515
+ /**
516
+ * A class translations of which are used for translating this entity.
517
+ * This is often used when translations of an item are defined on its container class.
518
+ * For example:
519
+ * ...
520
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-localeClass)
521
+ */
522
+ localeClass? : typeof Base
523
+ /**
524
+ * Set to `false` to disable localization of this object.
525
+ */
526
+ localizable? : boolean
527
+ /**
528
+ * List of properties which values should be translated automatically upon a locale applying.
529
+ * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
530
+ * you could use 'localeKey' meta configuration.
531
+ * Example:
532
+ * ...
533
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-localizableProperties)
534
+ */
535
+ localizableProperties? : string[]
536
+ /**
537
+ * Widget's margin. This may be configured as a single number or a `TRBL` format string.
538
+ * numeric-only values are interpreted as pixels.
539
+ */
540
+ margin? : number|string
541
+ /**
542
+ * This config object contains the defaults for the [Mask](https://bryntum.com/products/gantt/docs/api/Core/widget/Mask) created for the
543
+ * [masked](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these
544
+ * values.
545
+ */
546
+ maskDefaults? : MaskConfig
547
+ /**
548
+ * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a
549
+ * [Mask](https://bryntum.com/products/gantt/docs/api/Core/widget/Mask) config object.
550
+ */
551
+ masked? : boolean|string|MaskConfig
552
+ /**
553
+ * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that
554
+ * like [height](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
555
+ */
556
+ maxHeight? : string|number
557
+ /**
558
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-floating).*
559
+ * ...
560
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-maximizeOnMobile)
561
+ */
562
+ maximizeOnMobile? : number|string
563
+ /**
564
+ * The max number of characters for the input field
565
+ */
566
+ maxLength? : number
567
+ /**
568
+ * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that
569
+ * like [width](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
570
+ */
571
+ maxWidth? : string|number
572
+ /**
573
+ * The minimum string length to trigger the filtering, only relevant when [editable](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-editable) is `true`.
574
+ * ...
575
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-minChars)
576
+ */
577
+ minChars? : number
578
+ /**
579
+ * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that
580
+ * like [height](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
581
+ */
582
+ minHeight? : string|number
583
+ /**
584
+ * The min number of characters for the input field
585
+ */
586
+ minLength? : number
587
+ /**
588
+ * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that
589
+ * like [width](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
590
+ */
591
+ minWidth? : string|number
592
+ /**
593
+ * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
594
+ * is used to monitor this element for size changes caused by either style manipulation, or by CSS
595
+ * layout.
596
+ * ...
597
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-monitorResize)
598
+ */
599
+ monitorResize? : boolean|{
600
+ immediate?: boolean
601
+ }
602
+ /**
603
+ * Set to `true` to allow selection of multiple values from the dropdown list.
604
+ * ...
605
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-multiSelect)
606
+ */
607
+ multiSelect? : boolean
608
+ /**
609
+ * A key value which, when typed in a [multiSelect](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-multiSelect) Combo, selects the
610
+ * currently active item in the picker, and clears the input field ready for another
611
+ * match to be typed.
612
+ */
613
+ multiValueSeparator? : string
614
+ /**
615
+ * Name of the field which is used as a key to get/set values from/to the field.
616
+ * Used prior to [ref](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in
617
+ * [Container.values](https://bryntum.com/products/gantt/docs/api/Core/widget/Container#property-values).
618
+ * ...
619
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-name)
620
+ */
621
+ name? : string
622
+ /**
623
+ * The other task's relationship with this field's contextual task.
624
+ * This will be `'from'` if we are editing predecessors, and `'to'` if
625
+ * we are editing successors.
626
+ */
627
+ otherSide? : 'from'|'to'
628
+ /**
629
+ * This field's contextual task's relationship with the other task.
630
+ * This will be `'to'` if we are editing predecessors, and `'from'` if
631
+ * we are editing successors.
632
+ */
633
+ ourSide? : 'from'|'to'
634
+ /**
635
+ * This implies that the picker will display an anchor pointer, but also means that the picker will align closer
636
+ * to the input field so that the pointer pierces the [pickerAlignElement](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-pickerAlignElement)
637
+ */
638
+ overlayAnchor? : boolean
639
+ /**
640
+ * The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
641
+ * [items](https://bryntum.com/products/gantt/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
642
+ * the owner is <strong>always</strong> the encapsulating Container.
643
+ * ...
644
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-owner)
645
+ */
646
+ owner? : Widget|any
647
+ /**
648
+ * Configuration object for the [picker](https://bryntum.com/products/gantt/docs/api/Core/widget/List) on initialization. Returns the
649
+ * [picker](https://bryntum.com/products/gantt/docs/api/Core/widget/List) instance at runtime.
650
+ * ...
651
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-picker)
652
+ */
653
+ picker? : ListConfig|List
654
+ /**
655
+ * The name of the element property to which the picker should size and align itself.
656
+ */
657
+ pickerAlignElement? : string
658
+ /**
659
+ * Width of picker, defaults to this combo's [pickerAlignElement](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-pickerAlignElement) width
660
+ */
661
+ pickerWidth? : number|string
662
+ /**
663
+ * Text to display in empty field.
664
+ */
665
+ placeholder? : string
666
+ /**
667
+ * 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
668
+ * not participate in the standard layout of that widget, and must be positioned relatively to that
669
+ * widget's [contentElement](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#property-contentElement).
670
+ * ...
671
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-positioned)
672
+ */
673
+ positioned? : boolean
674
+ /**
675
+ * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a
676
+ * menu on click etc, since the tooltip would be displayed at the same time.
677
+ */
678
+ preventTooltipOnTouch? : boolean
679
+ /**
680
+ * Optionally a [Filter](https://bryntum.com/products/gantt/docs/api/Core/util/CollectionFilter) config object which the combo should use for
681
+ * filtering using the typed value.
682
+ * This may use a `filterBy` property to test its `value` against any field in the passed record.
683
+ * ...
684
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-primaryFilter)
685
+ */
686
+ primaryFilter? : CollectionFilterConfig
687
+ /**
688
+ * Makes the field unmodifiable by user action. The input area is not editable, and triggers
689
+ * are unresponsive.
690
+ * ...
691
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-readOnly)
692
+ */
693
+ readOnly? : boolean
694
+ relayStoreEvents? : boolean
695
+ /**
696
+ * Predefined style to use for the field. Possible values are:
697
+ * ...
698
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-rendition)
699
+ */
700
+ rendition? : 'outlined'|'filled'|string
701
+ /**
702
+ * Configure as `true` to indicate that a `null` field value is to be marked as invalid. This will
703
+ * optionally append a * to the field label if [showRequiredIndicator](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#property-showRequiredIndicator) is set.
704
+ */
705
+ required? : boolean
706
+ /**
707
+ * If this field is not [readOnly](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
708
+ * the `ESCAPE` key after editing the field will revert the field to the value it had when
709
+ * the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#config-clearable)
710
+ * behaviour will be activated.
711
+ */
712
+ revertOnEscape? : boolean
713
+ /**
714
+ * Configure as `true` to have the component display a translucent ripple when its
715
+ * [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
716
+ * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
717
+ * ...
718
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-ripple)
719
+ */
720
+ ripple? : boolean|{
721
+ delegate?: string
722
+ color?: string
723
+ radius?: number
724
+ clip?: string
725
+ }
726
+ /**
727
+ * 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`
728
+ */
729
+ rootElement? : ShadowRoot|HTMLElement
730
+ /**
731
+ * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
732
+ * ...
733
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-rtl)
734
+ */
735
+ rtl? : boolean
736
+ /**
737
+ * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
738
+ * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
739
+ */
740
+ scrollAction? : 'hide'|'realign'|null
741
+ /**
742
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#config-floating).*
743
+ * ...
744
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-showAnimation)
745
+ */
746
+ showAnimation? : boolean|object
747
+ /**
748
+ * `true` to automatically display a * after the label for this field when it is [required](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#property-required).
749
+ */
750
+ showRequiredIndicator? : string
751
+ /**
752
+ * 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)
753
+ */
754
+ showTooltipWhenDisabled? : boolean
755
+ /**
756
+ * Set to `true`, completely bypasses validation logic (could be userful if your field is not `editable`
757
+ * to the user).
758
+ */
759
+ skipValidation? : boolean
760
+ /**
761
+ * The sorters defining how to sort tasks in the drop down list, defaults to sorting by `name` field
762
+ * ascending. See [StoreSort](https://bryntum.com/products/gantt/docs/api/Core/data/mixin/StoreSort) for more information.
763
+ */
764
+ sorters? : Sorter[]|string[]
765
+ /**
766
+ * Programmatic control over how many columns to span when used in a grid layout.
767
+ */
768
+ span? : number
769
+ /**
770
+ * Sets the native `spellcheck` property of the underlying input element. For more information, please refer to
771
+ * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck)
772
+ */
773
+ spellCheck? : boolean
774
+ /**
775
+ * Store used to populate items. Also accepts a Store config object
776
+ */
777
+ store? : Store|StoreConfig
778
+ /**
779
+ * 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
780
+ * [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
781
+ * this widget:
782
+ * ...
783
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-tab)
784
+ */
785
+ tab? : boolean|TabConfig
786
+ /**
787
+ * The tab index of the input field or fields, or `null` for natural tab order (recommended). Setting to `0`
788
+ * is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable
789
+ * (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set
790
+ * to the element programmatically.
791
+ * ...
792
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-tabIndex)
793
+ */
794
+ tabIndex? : number
795
+ /**
796
+ * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
797
+ * ...
798
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-textAlign)
799
+ */
800
+ textAlign? : 'left'|'center'|'right'|'start'|'end'
801
+ /**
802
+ * A title to display for the widget. Only in effect when inside a container that uses it (such as TabPanel)
803
+ */
804
+ title? : string
805
+ /**
806
+ * Tooltip for the widget, either as a string or as a Tooltip config object.
807
+ * ...
808
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-tooltip)
809
+ */
810
+ tooltip? : string|TooltipConfig|null
811
+ /**
812
+ * How to query the store upon click of the expand trigger. Specify one of these values:
813
+ * ...
814
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-triggerAction)
815
+ */
816
+ triggerAction? : 'all'|'last'|null
817
+ /**
818
+ * The triggers to add either before or after the input field. Each property name is the reference by which
819
+ * an instantiated Trigger Widget may be retrieved from the live `triggers` property.
820
+ * ...
821
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-triggers)
822
+ */
823
+ triggers? : Record<string, FieldTriggerConfig>|Record<string, Widget>
824
+ type? : 'dependencyfield'
825
+ /**
826
+ * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
827
+ * as a space separated string, an array of strings, or as an object in which property names with truthy
828
+ * values are used as the class names.
829
+ * ...
830
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-ui)
831
+ */
832
+ ui? : string|object
833
+ /**
834
+ * `true` to cause the field to be in an invalid state while the typed filter string does not match a record in the store.
835
+ */
836
+ validateFilter? : boolean
837
+ /**
838
+ * Set to `false` to not highlight a field as invalid while typing, to instead show it on ENTER key press
839
+ * or similar.
840
+ */
841
+ validateOnInput? : boolean
842
+ /**
843
+ * The initial value of this Combo box. In single select mode (default) it's a simple string value, for
844
+ * [multiSelect](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-multiSelect) mode, it should be an array of record ids.
845
+ */
846
+ value? : string|number|string[]|number[]
847
+ /**
848
+ * Field used for item value when populating from store. Setting this to `null` will
849
+ * yield the selected record as the Combo's [value](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#property-value).
850
+ * ...
851
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-valueField)
852
+ */
853
+ valueField? : string|null
854
+ /**
855
+ * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/gantt/docs/api/Core/widget/Container).
856
+ * Higher weights go further down.
857
+ */
858
+ weight? : number
859
+ /**
860
+ * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which
861
+ * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases
862
+ * this config is convenient.
863
+ */
864
+ width? : string|number
865
+ /**
866
+ * The x position for the widget.
867
+ * ...
868
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-x)
869
+ */
870
+ x? : number
871
+ /**
872
+ * The y position for the widget.
873
+ * ...
874
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#config-y)
875
+ */
876
+ y? : number
877
+
878
+ // Events
879
+ /**
880
+ * The default action was performed (an item in the list was selected)
881
+ * @param {object} event Event object
882
+ * @param {Core.widget.Combo} event.source The combo
883
+ * @param {any} event.value The [value](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-valueField) of the selected record
884
+ * @param {Core.data.Model} event.record Selected record
885
+ * @param {Core.data.Model[]} event.records Selected records as an array if [multiSelect](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-multiSelect) is `true`
886
+ * @param {boolean} event.userAction `true` if the value change is due to user interaction
887
+ */
888
+ onAction? : ((event: { source: Combo, value: any, record: Model, records: Model[], userAction: boolean }) => void)|string
889
+ /**
890
+ * Fires before an object is destroyed.
891
+ * @param {object} event Event object
892
+ * @param {Core.Base} event.source The Object that is being destroyed.
893
+ */
894
+ onBeforeDestroy? : ((event: { source: Base }) => void)|string
895
+ /**
896
+ * Triggered before a widget is hidden. Return `false` to prevent the action.
897
+ * @param {object} event Event object
898
+ * @param {Core.widget.Widget} event.source The widget being hidden.
899
+ */
900
+ onBeforeHide? : ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string
901
+ /**
902
+ * Triggered before a widget is shown. Return `false` to prevent the action.
903
+ * @param {object} event Event object
904
+ * @param {Core.widget.Widget,any} event.source The widget being shown
905
+ */
906
+ onBeforeShow? : ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string
907
+ /**
908
+ * Fires when any other event is fired from the object.
909
+ * ...
910
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#event-catchAll)
911
+ * @param {object} event Event object
912
+ * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
913
+ * @param {string} event.event.type The type of the event which is caught by the listener
914
+ */
915
+ onCatchAll? : ((event: {[key: string]: any, type: string}) => void)|string
916
+ /**
917
+ * Fired when this field's value changes.
918
+ * @param {object} event Event object
919
+ * @param {Core.widget.Field,any} event.source This Field
920
+ * @param {string,number,boolean,any} event.value This field's value
921
+ * @param {string,number,boolean,any} event.oldValue This field's previous value
922
+ * @param {boolean} event.valid True if this field is in a valid state
923
+ * @param {Event} event.event The triggering DOM event if any
924
+ * @param {boolean} event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
925
+ * @param {boolean} event.checked
926
+ */
927
+ onChange? : ((event: { source: Field|any, value: string|number|boolean|any, oldValue: string|number|boolean|any, valid: boolean, event: Event, userAction: boolean, checked: boolean }) => void)|string
928
+ /**
929
+ * Fired when this field is [cleared](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#function-clear).
930
+ * ...
931
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#event-clear)
932
+ * @param {object} event Event object
933
+ * @param {Core.widget.Field,any} event.source This Field
934
+ */
935
+ onClear? : ((event: { source: Field|any }) => void)|string
936
+ /**
937
+ * Fires when an object is destroyed.
938
+ * @param {object} event Event object
939
+ * @param {Core.Base} event.source The Object that is being destroyed.
940
+ */
941
+ onDestroy? : ((event: { source: Base }) => void)|string
942
+ /**
943
+ * Triggered when a widget's [element](https://bryntum.com/products/gantt/docs/api/Core/widget/Widget#property-element) is available.
944
+ * @param {object} event Event object
945
+ * @param {HTMLElement} event.element The Widget's element.
946
+ */
947
+ onElementCreated? : ((event: { element: HTMLElement }) => void)|string
948
+ /**
949
+ * Fired when focus enters this Widget.
950
+ * @param {object} event Event object
951
+ * @param {Core.widget.Widget} event.source This Widget
952
+ * @param {HTMLElement} event.fromElement The element which lost focus.
953
+ * @param {HTMLElement} event.toElement The element which gained focus.
954
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
955
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
956
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
957
+ */
958
+ onFocusIn? : ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string
959
+ /**
960
+ * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
961
+ * focus moving from within this Widget's ownership tree, even if there are floating widgets
962
+ * will not trigger this event. This is when focus exits this widget completely.
963
+ * @param {object} event Event object
964
+ * @param {Core.widget.Widget} event.source This Widget
965
+ * @param {HTMLElement} event.fromElement The element which lost focus.
966
+ * @param {HTMLElement} event.toElement The element which gained focus.
967
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
968
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
969
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
970
+ */
971
+ onFocusOut? : ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string
972
+ /**
973
+ * Triggered after a widget was hidden
974
+ * @param {object} event Event object
975
+ * @param {Core.widget.Widget} event.source The widget
976
+ */
977
+ onHide? : ((event: { source: Widget }) => void)|string
978
+ /**
979
+ * User typed into the field. Please note that the value attached to this event is the raw input field value and
980
+ * not the combos value
981
+ * @param {object} event Event object
982
+ * @param {Core.widget.Combo} event.source The combo.
983
+ * @param {string} event.value Raw input value
984
+ * @param {Event} event.event The triggering DOM event if any.
985
+ */
986
+ onInput? : ((event: { source: Combo, value: string, event: Event }) => void)|string
987
+ /**
988
+ * Triggered when a widget which had been in a non-visible state for any reason
989
+ * achieves visibility.
990
+ * ...
991
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/widget/DependencyField#event-paint)
992
+ * @param {object} event Event object
993
+ * @param {Core.widget.Widget} event.source The widget being painted.
994
+ * @param {boolean} event.firstPaint `true` if this is the first paint.
995
+ */
996
+ onPaint? : ((event: { source: Widget, firstPaint: boolean }) => void)|string
997
+ /**
998
+ * Fired when a Widget's read only state is toggled
999
+ * @param {object} event Event object
1000
+ * @param {boolean} event.readOnly Read only or not
1001
+ */
1002
+ onReadOnly? : ((event: { readOnly: boolean }) => void)|string
1003
+ /**
1004
+ * This event is fired after a widget's elements have been synchronized due to a direct or indirect call
1005
+ * 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.
1006
+ */
1007
+ onRecompose? : (() => void)|string
1008
+ /**
1009
+ * 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`*.
1010
+ * @param {object} event Event object
1011
+ * @param {Core.widget.Widget} event.source This Widget
1012
+ * @param {number} event.width The new width
1013
+ * @param {number} event.height The new height
1014
+ * @param {number} event.oldWidth The old width
1015
+ * @param {number} event.oldHeight The old height
1016
+ */
1017
+ onResize? : ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string
1018
+ /**
1019
+ * An item in the list was selected
1020
+ * @param {object} event Event object
1021
+ * @param {Core.widget.Combo} event.source The combo
1022
+ * @param {Core.data.Model} event.record Selected record
1023
+ * @param {Core.data.Model[]} event.records Selected records as an array if [multiSelect](https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-multiSelect) is `true`
1024
+ * @param {boolean} event.userAction `true` if the value change is due to user interaction
1025
+ */
1026
+ onSelect? : ((event: { source: Combo, record: Model, records: Model[], userAction: boolean }) => void)|string
1027
+ /**
1028
+ * Triggered after a widget is shown.
1029
+ * @param {object} event Event object
1030
+ * @param {Core.widget.Widget} event.source The widget
1031
+ */
1032
+ onShow? : ((event: { source: Widget }) => void)|string
1033
+ /**
1034
+ * User clicked one of this field's [triggers](https://bryntum.com/products/gantt/docs/api/Core/widget/Field#property-triggers)
1035
+ * @param {object} event Event object
1036
+ * @param {Core.widget.Field,any} event.source This field
1037
+ * @param {Core.widget.Widget} event.trigger The trigger activated by click or touch tap.
1038
+ */
1039
+ onTrigger? : ((event: { source: Field|any, trigger: Widget }) => void)|string
1040
+
1041
+ }
1042
+
1043
+ export class BryntumDependencyField extends React.Component<BryntumDependencyFieldProps> {
1044
+
1045
+ static instanceClass = DependencyField;
1046
+
1047
+ static instanceName = 'DependencyField';
1048
+
1049
+ processWidgetContent = processWidgetContent;
1050
+
1051
+ static configNames = [
1052
+ 'adopt',
1053
+ 'align',
1054
+ 'anchor',
1055
+ 'ariaDescription',
1056
+ 'ariaLabel',
1057
+ 'autoComplete',
1058
+ 'autoExpand',
1059
+ 'autoSelect',
1060
+ 'bubbleEvents',
1061
+ 'cacheLastResult',
1062
+ 'caseSensitive',
1063
+ 'centered',
1064
+ 'chipView',
1065
+ 'clearable',
1066
+ 'clearTextOnPickerHide',
1067
+ 'clearTextOnSelection',
1068
+ 'clearWhenInputEmpty',
1069
+ 'color',
1070
+ 'config',
1071
+ 'constrainTo',
1072
+ 'container',
1073
+ 'containValues',
1074
+ 'contentElementCls',
1075
+ 'createOnUnmatched',
1076
+ 'dataField',
1077
+ 'defaultBindProperty',
1078
+ 'delimiter',
1079
+ 'dependencyIdField',
1080
+ 'dependencyStore',
1081
+ 'detectCSSCompatibilityIssues',
1082
+ 'displayField',
1083
+ 'displayValueRenderer',
1084
+ 'dock',
1085
+ 'draggable',
1086
+ 'elementAttributes',
1087
+ 'emptyText',
1088
+ 'encodeFilterParams',
1089
+ 'filterable',
1090
+ 'filterOnEnter',
1091
+ 'filterParamName',
1092
+ 'filterSelected',
1093
+ 'floating',
1094
+ 'hideAnimation',
1095
+ 'hidePickerOnSelect',
1096
+ 'hideTrigger',
1097
+ 'highlightExternalChange',
1098
+ 'hint',
1099
+ 'hintHtml',
1100
+ 'ignoreParentReadOnly',
1101
+ 'inline',
1102
+ 'inlinePicker',
1103
+ 'inputAlign',
1104
+ 'inputAttributes',
1105
+ 'inputTag',
1106
+ 'inputType',
1107
+ 'inputWidth',
1108
+ 'items',
1109
+ 'keyStrokeChangeDelay',
1110
+ 'keyStrokeFilterDelay',
1111
+ 'labelCls',
1112
+ 'labelPosition',
1113
+ 'labels',
1114
+ 'labelWidth',
1115
+ 'listCls',
1116
+ 'listeners',
1117
+ 'listItemTpl',
1118
+ 'localeClass',
1119
+ 'localizable',
1120
+ 'localizableProperties',
1121
+ 'maskDefaults',
1122
+ 'masked',
1123
+ 'maxLength',
1124
+ 'minChars',
1125
+ 'minLength',
1126
+ 'monitorResize',
1127
+ 'multiValueSeparator',
1128
+ 'name',
1129
+ 'otherSide',
1130
+ 'ourSide',
1131
+ 'overlayAnchor',
1132
+ 'owner',
1133
+ 'pickerAlignElement',
1134
+ 'pickerWidth',
1135
+ 'positioned',
1136
+ 'preventTooltipOnTouch',
1137
+ 'primaryFilter',
1138
+ 'relayStoreEvents',
1139
+ 'revertOnEscape',
1140
+ 'ripple',
1141
+ 'rootElement',
1142
+ 'scrollAction',
1143
+ 'showAnimation',
1144
+ 'showTooltipWhenDisabled',
1145
+ 'skipValidation',
1146
+ 'sorters',
1147
+ 'spellCheck',
1148
+ 'tab',
1149
+ 'tabIndex',
1150
+ 'textAlign',
1151
+ 'title',
1152
+ 'triggerAction',
1153
+ 'type',
1154
+ 'ui',
1155
+ 'validateFilter',
1156
+ 'validateOnInput',
1157
+ 'valueField',
1158
+ 'weight'
1159
+ ];
1160
+
1161
+ static propertyConfigNames = [
1162
+ 'alignSelf',
1163
+ 'appendTo',
1164
+ 'badge',
1165
+ 'callOnFunctions',
1166
+ 'catchEventHandlerExceptions',
1167
+ 'cls',
1168
+ 'column',
1169
+ 'dataset',
1170
+ 'disabled',
1171
+ 'editable',
1172
+ 'extraData',
1173
+ 'filterOperator',
1174
+ 'flex',
1175
+ 'height',
1176
+ 'hidden',
1177
+ 'id',
1178
+ 'insertBefore',
1179
+ 'insertFirst',
1180
+ 'keyMap',
1181
+ 'label',
1182
+ 'margin',
1183
+ 'maxHeight',
1184
+ 'maximizeOnMobile',
1185
+ 'maxWidth',
1186
+ 'minHeight',
1187
+ 'minWidth',
1188
+ 'multiSelect',
1189
+ 'onAction',
1190
+ 'onBeforeDestroy',
1191
+ 'onBeforeHide',
1192
+ 'onBeforeShow',
1193
+ 'onCatchAll',
1194
+ 'onChange',
1195
+ 'onClear',
1196
+ 'onDestroy',
1197
+ 'onElementCreated',
1198
+ 'onFocusIn',
1199
+ 'onFocusOut',
1200
+ 'onHide',
1201
+ 'onInput',
1202
+ 'onPaint',
1203
+ 'onReadOnly',
1204
+ 'onRecompose',
1205
+ 'onResize',
1206
+ 'onSelect',
1207
+ 'onShow',
1208
+ 'onTrigger',
1209
+ 'picker',
1210
+ 'placeholder',
1211
+ 'readOnly',
1212
+ 'rendition',
1213
+ 'required',
1214
+ 'rtl',
1215
+ 'showRequiredIndicator',
1216
+ 'span',
1217
+ 'store',
1218
+ 'tooltip',
1219
+ 'triggers',
1220
+ 'value',
1221
+ 'width',
1222
+ 'x',
1223
+ 'y'
1224
+ ];
1225
+
1226
+ static propertyNames = [
1227
+ 'anchorSize',
1228
+ 'content',
1229
+ 'focusVisible',
1230
+ 'formula',
1231
+ 'html',
1232
+ 'input',
1233
+ 'parent',
1234
+ 'scrollable'
1235
+ ];
1236
+
1237
+ // Component instance
1238
+ instance!: DependencyField;
1239
+
1240
+ // Component element
1241
+ element! : HTMLElement;
1242
+
1243
+ componentDidMount(): void {
1244
+ this.instance = createWidget(this);
1245
+ }
1246
+
1247
+ componentWillUnmount(): void {
1248
+ // @ts-ignore
1249
+ this.instance?.destroy?.();
1250
+ }
1251
+
1252
+ /**
1253
+ * Component about to be updated, from changing a prop using state.
1254
+ * React to it depending on what changed and prevent react from re-rendering our component.
1255
+ * @param nextProps
1256
+ * @param nextState
1257
+ * @returns {boolean}
1258
+ */
1259
+ shouldComponentUpdate(nextProps: Readonly<BryntumDependencyFieldProps>, nextState: Readonly<{}>): boolean {
1260
+ return shouldComponentUpdate(this, nextProps, nextState);
1261
+ }
1262
+
1263
+ render(): React.ReactNode {
1264
+
1265
+ const className = `b-react-dependency-field-container`;
1266
+ return (
1267
+ <div className={className} ref={(element) => (this.element = element!)}></div>
1268
+ );
1269
+
1270
+ }
1271
+ }