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