@bryntum/gantt-react 7.1.2 → 7.2.0

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