@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,976 @@
1
+ /**
2
+ * React wrapper for Bryntum FieldFilterPickerGroup
3
+ */
4
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
5
+ import React, { RefObject } from 'react';
6
+ import { AlignSpec, Base, CollectionFilterConfig, Container, ContainerItemConfig, ContainerLayoutConfig, DomConfig, FieldFilterPicker, FieldFilterPickerConfig, FieldFilterPickerGroup, FieldFilterPickerGroupListeners, FieldOption, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, Rectangle, Scroller, ScrollerConfig, Store, TabConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/scheduler';
7
+
8
+ import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
9
+
10
+ export type BryntumFieldFilterPickerGroupProps = {
11
+ // Configs
12
+ /**
13
+ * Sets the text displayed in the 'add filter' button if one is present.
14
+ */
15
+ addFilterButtonText? : string
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/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-adopt)
21
+ */
22
+ adopt? : HTMLElement|string
23
+ /**
24
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
25
+ * ...
26
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-align)
27
+ */
28
+ align? : AlignSpec|string
29
+ /**
30
+ * 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
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
+ * Optional array of field names that are allowed as selectable properties for filters.
37
+ * This should be a subset of the field names found in the [store](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-store). When supplied,
38
+ * only the named fields will be shown in the property selector combo.
39
+ */
40
+ allowedFieldNames? : string[]
41
+ /**
42
+ * *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).*
43
+ * `true` to show a connector arrow pointing to the align target.
44
+ */
45
+ anchor? : boolean
46
+ /**
47
+ * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
48
+ * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-element).
49
+ */
50
+ appendTo? : HTMLElement|string
51
+ /**
52
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
53
+ * into an element which will be linked using the `aria-describedby` attribute.
54
+ * ...
55
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-ariaDescription)
56
+ */
57
+ ariaDescription? : string
58
+ /**
59
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
60
+ * the `aria-label` attribute.
61
+ * ...
62
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-ariaLabel)
63
+ */
64
+ ariaLabel? : string
65
+ /**
66
+ * Update assigned [record](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#config-record) automatically on field changes
67
+ */
68
+ autoUpdateRecord? : boolean
69
+ /**
70
+ * An object where property names with a truthy value indicate which events should bubble up the ownership
71
+ * hierarchy when triggered.
72
+ * ...
73
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-bubbleEvents)
74
+ */
75
+ bubbleEvents? : object
76
+ /**
77
+ * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
78
+ * ...
79
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-callOnFunctions)
80
+ */
81
+ callOnFunctions? : boolean
82
+ /**
83
+ * Optional predicate that returns whether a given filter can be deleted. When `canDeleteFilter` is provided,
84
+ * it will be called for each filter and will not show the delete button for those for which the
85
+ * function returns `false`.
86
+ * @param {any} filter filter for checking
87
+ * @returns {boolean} truthy value if filter can be deleted
88
+ */
89
+ canDeleteFilter? : (filter: any) => boolean
90
+ /**
91
+ * Optional predicate that returns whether a given filter can be managed by this widget. When `canManageFilter`
92
+ * is provided, it will be used to decide whether to display filters found in the configured
93
+ * [store](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-store).
94
+ * @param {any} filter filter for checking
95
+ * @returns {boolean} truthy value if filter can be managed
96
+ */
97
+ canManageFilter? : (filter: any) => boolean
98
+ /**
99
+ * By default, if an event handler throws an exception, the error propagates up the stack and the
100
+ * application state is undefined. Code which follows the event handler will *not* be executed.
101
+ * ...
102
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-catchEventHandlerExceptions)
103
+ */
104
+ catchEventHandlerExceptions? : boolean
105
+ /**
106
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
107
+ * Set to `true` to centre the Widget in browser viewport space.
108
+ */
109
+ centered? : boolean
110
+ /**
111
+ * Custom CSS classes to add to element.
112
+ * May be specified as a space separated string, or as an object in which property names
113
+ * with truthy values are used as the class names:
114
+ * ...
115
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-cls)
116
+ */
117
+ cls? : string|object
118
+ /**
119
+ * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
120
+ * `style` block.
121
+ * ...
122
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-color)
123
+ */
124
+ color? : string
125
+ /**
126
+ * Programmatic control over which column to start in when used in a grid layout.
127
+ */
128
+ column? : number
129
+ config? : object
130
+ /**
131
+ * *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).*
132
+ * Element, Widget or Rectangle to which this Widget is constrained.
133
+ */
134
+ constrainTo? : HTMLElement|Widget|Rectangle
135
+ /**
136
+ * The HTML content that coexists with sibling elements which may have been added to the
137
+ * [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement) by plugins and features.
138
+ * When specifying html, this widget's element will also have the [htmlCls](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-htmlCls)
139
+ * class added to its classList, to allow targeted styling.
140
+ */
141
+ content? : string
142
+ /**
143
+ * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement).
144
+ * May be specified as a space separated string, or as an object in which property names
145
+ * with truthy values are used as the class names:
146
+ * ...
147
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-contentElementCls)
148
+ */
149
+ contentElementCls? : string|object
150
+ /**
151
+ * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the
152
+ * field on the expanded record to use for populating this widget's store (if applicable)
153
+ */
154
+ dataField? : string
155
+ /**
156
+ * Object to apply to elements dataset (each key will be used as a data-attribute on the element)
157
+ */
158
+ dataset? : Record<string, string>
159
+ /**
160
+ * The date format string used to display dates when using the 'is one of' / 'is not one of' operators with a date
161
+ * field. Defaults to the current locale's `FieldFilterPicker.dateFormat` value.
162
+ */
163
+ dateFormat? : string
164
+ /**
165
+ * The name of the property to set when a single value is to be applied to this Widget. Such as when used
166
+ * in a grid WidgetColumn, this is the property to which the column's `field` is applied.
167
+ */
168
+ defaultBindProperty? : string
169
+ /**
170
+ * A [query](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
171
+ * focus should be directed by default.
172
+ * ...
173
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-defaultFocus)
174
+ * @param {Core.widget.Widget} widget Widget passed to method
175
+ * @returns {boolean} truthy value if widget is the default one
176
+ */
177
+ defaultFocus? : ((widget: Widget) => boolean)|string
178
+ /**
179
+ * A config object containing default settings to apply to all child widgets.
180
+ */
181
+ defaults? : ContainerItemConfig
182
+ /**
183
+ * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
184
+ * ...
185
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-detectCSSCompatibilityIssues)
186
+ */
187
+ detectCSSCompatibilityIssues? : boolean
188
+ /**
189
+ * Whether the picker group is disabled.
190
+ */
191
+ disabled? : boolean
192
+ /**
193
+ * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/scheduler/docs/api/Core/widget/Panel)
194
+ * [strips collection](https://bryntum.com/products/scheduler/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
195
+ * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
196
+ * body. Such widgets are called "edge strips".
197
+ * ...
198
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-dock)
199
+ */
200
+ dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
201
+ /**
202
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
203
+ * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
204
+ * property which controls when a drag should start.
205
+ * ...
206
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-draggable)
207
+ */
208
+ draggable? : boolean|{
209
+ handleSelector?: string
210
+ }
211
+ /**
212
+ * An object specifying attributes to assign to the root element of this widget.
213
+ * Set `null` value to attribute to remove it.
214
+ * ...
215
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-elementAttributes)
216
+ */
217
+ elementAttributes? : Record<string, string|null>
218
+ extraData? : any
219
+ /**
220
+ * Dictionary of [FieldOption](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPicker#typedef-FieldOption) representing the fields against which filters can be defined,
221
+ * keyed by field name.
222
+ * ...
223
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-fields)
224
+ */
225
+ fields? : Record<string, FieldOption>
226
+ /**
227
+ * Array of [CollectionFilter](https://bryntum.com/products/scheduler/docs/api/Core/util/CollectionFilter) configuration objects. One
228
+ * [FieldFilterPicker](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPicker) will be created
229
+ * for each object in the array.
230
+ * ...
231
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-filters)
232
+ */
233
+ filters? : CollectionFilterConfig[]
234
+ /**
235
+ * 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
236
+ * flexbox layout. This config allows you to set this widget's
237
+ * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.
238
+ * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.
239
+ * numeric-only values are interpreted as the `flex-grow` value.
240
+ */
241
+ flex? : number|string
242
+ /**
243
+ * Set to `true` to move the widget out of the document flow and position it
244
+ * absolutely in browser viewport space.
245
+ */
246
+ floating? : boolean
247
+ /**
248
+ * Optional function that returns [FieldFilterPicker](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPicker) configuration properties for
249
+ * a given filter. When `getFieldFilterPickerConfig` is provided, it will be called for each filter and the returned
250
+ * object will be merged with the configuration properties for the individual
251
+ * [FieldFilterPicker](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPicker) representing that filter.
252
+ * ...
253
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-getFieldFilterPickerConfig)
254
+ * @param {CollectionFilterConfig} filter The filter to be displayed in the FieldFilterPicker being configured
255
+ * @returns {FieldFilterPickerConfig}
256
+ */
257
+ getFieldFilterPickerConfig? : (filter: CollectionFilterConfig) => FieldFilterPickerConfig
258
+ /**
259
+ * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,
260
+ * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some
261
+ * cases this config is convenient.
262
+ */
263
+ height? : string|number
264
+ /**
265
+ * Configure with true to make widget initially hidden.
266
+ */
267
+ hidden? : boolean
268
+ /**
269
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
270
+ * ...
271
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-hideAnimation)
272
+ */
273
+ hideAnimation? : boolean|object
274
+ /**
275
+ * Specify `true` to make this container hide when it has no visible children (Either empty
276
+ * or all children hidden).
277
+ * ...
278
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-hideWhenEmpty)
279
+ */
280
+ hideWhenEmpty? : boolean
281
+ /**
282
+ * The HTML to display initially or a function returning the markup (called at widget construction time).
283
+ * ...
284
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-html)
285
+ * @param {Core.widget.Widget} widget The calling Widget
286
+ * @returns {string}
287
+ */
288
+ html? : string|((widget: Widget) => string)|DomConfig|DomConfig[]|VueConfig
289
+ /**
290
+ * The CSS class(es) to add when HTML content is being applied to this widget.
291
+ */
292
+ htmlCls? : string|object
293
+ /**
294
+ * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById
295
+ */
296
+ id? : string
297
+ /**
298
+ * Determines if the widgets read-only state should be controlled by its parent.
299
+ * ...
300
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-ignoreParentReadOnly)
301
+ */
302
+ ignoreParentReadOnly? : boolean
303
+ /**
304
+ * Convenience setting to align input fields of child widgets. By default, the Field input element is
305
+ * placed immediately following the `label`. If you prefer to have all input fields aligned to the
306
+ * right, set this config to `'end'`.
307
+ * ...
308
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-inputFieldAlign)
309
+ */
310
+ inputFieldAlign? : 'start'|'end'
311
+ /**
312
+ * 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.
313
+ */
314
+ insertBefore? : HTMLElement|string
315
+ /**
316
+ * 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.
317
+ */
318
+ insertFirst? : HTMLElement|string
319
+ /**
320
+ * An optional CSS class to add to child items of this container.
321
+ */
322
+ itemCls? : string
323
+ /**
324
+ * An object containing typed child widget config objects or Widgets. May also be specified
325
+ * as an array.
326
+ * ...
327
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-items)
328
+ */
329
+ items? : Record<string, ContainerItemConfig|MenuItemEntry>|(ContainerItemConfig|MenuItemEntry|Widget)[]
330
+ /**
331
+ * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
332
+ * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
333
+ * are the name of the instance method to call when the keystroke is received.
334
+ * ...
335
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-keyMap)
336
+ */
337
+ keyMap? : Record<string, KeyMapConfig>
338
+ /**
339
+ * Convenience setting to use same label placement on all child widgets.
340
+ * ...
341
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-labelPosition)
342
+ */
343
+ labelPosition? : 'before'|'above'|'align-before'|'auto'|null
344
+ /**
345
+ * The short name of a helper class which manages rendering and styling of child items.
346
+ * ...
347
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-layout)
348
+ */
349
+ layout? : string|ContainerLayoutConfig
350
+ /**
351
+ * The CSS style properties to apply to the [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement).
352
+ * ...
353
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-layoutStyle)
354
+ */
355
+ layoutStyle? : object
356
+ /**
357
+ * An array of [child item](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#config-items) *config objects* which is to be converted into
358
+ * instances only when this Container is rendered, rather than eagerly at construct time.
359
+ * ...
360
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-lazyItems)
361
+ */
362
+ lazyItems? : Record<string, ContainerItemConfig>|ContainerItemConfig[]|Widget[]
363
+ /**
364
+ * When `limitToProperty` is set to the name of an available field (as specified either
365
+ * explicitly in [fields](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-fields) or implicitly in the
366
+ * [store](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-store)'s model), it has the following effects:
367
+ * ...
368
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-limitToProperty)
369
+ */
370
+ limitToProperty? : string
371
+ /**
372
+ * The listener set for this object.
373
+ * ...
374
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-listeners)
375
+ */
376
+ listeners? : FieldFilterPickerGroupListeners
377
+ /**
378
+ * A class translations of which are used for translating this entity.
379
+ * This is often used when translations of an item are defined on its container class.
380
+ * For example:
381
+ * ...
382
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-localeClass)
383
+ */
384
+ localeClass? : typeof Base
385
+ /**
386
+ * Set to `false` to disable localization of this object.
387
+ */
388
+ localizable? : boolean
389
+ /**
390
+ * List of properties which values should be translated automatically upon a locale applying.
391
+ * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
392
+ * you could use 'localeKey' meta configuration.
393
+ * Example:
394
+ * ...
395
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-localizableProperties)
396
+ */
397
+ localizableProperties? : string[]
398
+ /**
399
+ * Widget's margin. This may be configured as a single number or a `TRBL` format string.
400
+ * numeric-only values are interpreted as pixels.
401
+ */
402
+ margin? : number|string
403
+ /**
404
+ * This config object contains the defaults for the [Mask](https://bryntum.com/products/scheduler/docs/api/Core/widget/Mask) created for the
405
+ * [masked](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these
406
+ * values.
407
+ */
408
+ maskDefaults? : MaskConfig
409
+ /**
410
+ * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a
411
+ * [Mask](https://bryntum.com/products/scheduler/docs/api/Core/widget/Mask) config object.
412
+ */
413
+ masked? : boolean|string|MaskConfig
414
+ /**
415
+ * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that
416
+ * like [height](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
417
+ */
418
+ maxHeight? : string|number
419
+ /**
420
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
421
+ * ...
422
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-maximizeOnMobile)
423
+ */
424
+ maximizeOnMobile? : number|string
425
+ /**
426
+ * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that
427
+ * like [width](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
428
+ */
429
+ maxWidth? : string|number
430
+ /**
431
+ * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that
432
+ * like [height](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
433
+ */
434
+ minHeight? : string|number
435
+ /**
436
+ * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that
437
+ * like [width](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
438
+ */
439
+ minWidth? : string|number
440
+ /**
441
+ * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
442
+ * is used to monitor this element for size changes caused by either style manipulation, or by CSS
443
+ * layout.
444
+ * ...
445
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-monitorResize)
446
+ */
447
+ monitorResize? : boolean|{
448
+ immediate?: boolean
449
+ }
450
+ /**
451
+ * An object containing default config objects which may be referenced by name in the [items](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#config-items)
452
+ * config. For example, a specialized [Menu](https://bryntum.com/products/scheduler/docs/api/Core/widget/Menu) subclass may have a `namedItems` default
453
+ * value defined like this:
454
+ * ...
455
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-namedItems)
456
+ */
457
+ namedItems? : Record<string, ContainerItemConfig>
458
+ /**
459
+ * When specified, overrides the built-in list of available operators. See
460
+ * [operators](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPicker#config-operators).
461
+ */
462
+ operators? : object
463
+ /**
464
+ * The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
465
+ * [items](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
466
+ * the owner is <strong>always</strong> the encapsulating Container.
467
+ * ...
468
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-owner)
469
+ */
470
+ owner? : Widget|any
471
+ /**
472
+ * 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
473
+ * not participate in the standard layout of that widget, and must be positioned relatively to that
474
+ * widget's [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement).
475
+ * ...
476
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-positioned)
477
+ */
478
+ positioned? : boolean
479
+ /**
480
+ * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a
481
+ * menu on click etc, since the tooltip would be displayed at the same time.
482
+ */
483
+ preventTooltipOnTouch? : boolean
484
+ /**
485
+ * Whether the picker group is read-only.
486
+ * ...
487
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-readOnly)
488
+ */
489
+ readOnly? : boolean
490
+ /**
491
+ * [Record](https://bryntum.com/products/scheduler/docs/api/Core/data/Model) whose values will be used to populate fields in the container.
492
+ * ...
493
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-record)
494
+ */
495
+ record? : Model
496
+ relayStoreEvents? : boolean
497
+ /**
498
+ * Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
499
+ * `type`.
500
+ * ...
501
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-rendition)
502
+ */
503
+ rendition? : string|Record<string, string>|null
504
+ /**
505
+ * Configure as `true` to have the component display a translucent ripple when its
506
+ * [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
507
+ * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
508
+ * ...
509
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-ripple)
510
+ */
511
+ ripple? : boolean|{
512
+ delegate?: string
513
+ color?: string
514
+ radius?: number
515
+ clip?: string
516
+ }
517
+ /**
518
+ * 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`
519
+ */
520
+ rootElement? : ShadowRoot|HTMLElement
521
+ /**
522
+ * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
523
+ * ...
524
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-rtl)
525
+ */
526
+ rtl? : boolean
527
+ /**
528
+ * Specifies whether (and optionally in which axes) a Widget may scroll. `true` means this widget may scroll
529
+ * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
530
+ * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
531
+ * CSS overflow properties thus:
532
+ * ...
533
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-scrollable)
534
+ */
535
+ scrollable? : boolean|ScrollerConfig|Scroller
536
+ /**
537
+ * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
538
+ * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
539
+ */
540
+ scrollAction? : 'hide'|'realign'|null
541
+ /**
542
+ * Show a button at the bottom of the group that adds a new, blank filter to the group.
543
+ */
544
+ showAddFilterButton? : boolean
545
+ /**
546
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
547
+ * ...
548
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-showAnimation)
549
+ */
550
+ showAnimation? : boolean|object
551
+ /**
552
+ * 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)
553
+ */
554
+ showTooltipWhenDisabled? : boolean
555
+ /**
556
+ * Programmatic control over how many columns to span when used in a grid layout.
557
+ */
558
+ span? : number
559
+ /**
560
+ * The [Store](https://bryntum.com/products/scheduler/docs/api/Core/data/Store) whose records will be filtered. The store's [modelClass](#Core/data/Store#property-modelClass)
561
+ * will be used to determine field types.
562
+ * ...
563
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-store)
564
+ */
565
+ store? : Store
566
+ /**
567
+ * Specify `true` to match fields by their `name` property only when assigning a [record](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#config-record),
568
+ * without falling back to `ref`.
569
+ */
570
+ strictRecordMapping? : boolean
571
+ /**
572
+ * 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
573
+ * [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
574
+ * this widget:
575
+ * ...
576
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-tab)
577
+ */
578
+ tab? : boolean|TabConfig
579
+ /**
580
+ * When this container is used as a tab in a TabPanel, these items are added to the
581
+ * [TabBar](https://bryntum.com/products/scheduler/docs/api/Core/widget/TabBar) when this container is the active tab.
582
+ * ...
583
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-tabBarItems)
584
+ */
585
+ tabBarItems? : ToolbarItems[]|Widget[]
586
+ /**
587
+ * The tag name of this Widget's root element
588
+ */
589
+ tag? : string
590
+ /**
591
+ * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
592
+ * ...
593
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-textAlign)
594
+ */
595
+ textAlign? : 'left'|'center'|'right'|'start'|'end'
596
+ /**
597
+ * Specify `true` for a container used to show text markup. It will apply the CSS class `b-text-content`
598
+ * which specifies a default max-width that makes long text more readable.
599
+ * ...
600
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-textContent)
601
+ */
602
+ textContent? : boolean
603
+ /**
604
+ * A title to display for the widget. Only in effect when inside a container that uses it (such as TabPanel)
605
+ */
606
+ title? : string
607
+ /**
608
+ * Tooltip for the widget, either as a string or as a Tooltip config object.
609
+ * ...
610
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-tooltip)
611
+ */
612
+ tooltip? : string|TooltipConfig|null
613
+ /**
614
+ * Whether to raise [change](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#event-change) events as the user types into a value field. If `false`,
615
+ * [change](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#event-change) events will be raised only when the value input field's own `change` event
616
+ * occurs, for example on field blur.
617
+ */
618
+ triggerChangeOnInput? : boolean
619
+ type? : 'fieldfilterpickergroup'
620
+ /**
621
+ * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
622
+ * as a space separated string, an array of strings, or as an object in which property names with truthy
623
+ * values are used as the class names.
624
+ * ...
625
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-ui)
626
+ */
627
+ ui? : string|object
628
+ /**
629
+ * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container).
630
+ * Higher weights go further down.
631
+ */
632
+ weight? : number
633
+ /**
634
+ * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which
635
+ * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases
636
+ * this config is convenient.
637
+ */
638
+ width? : string|number
639
+ /**
640
+ * The x position for the widget.
641
+ * ...
642
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-x)
643
+ */
644
+ x? : number
645
+ /**
646
+ * The y position for the widget.
647
+ * ...
648
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#config-y)
649
+ */
650
+ y? : number
651
+
652
+ // Events
653
+ /**
654
+ * Fires before a new filter is added to the picker group (and its store, if configured and the filter is valid).
655
+ * Return `false` from the event handler to prevent the filter being added.
656
+ * @param {object} event Event object
657
+ * @param {Core.widget.FieldFilterPicker} event.source The FieldFilterPicker instance that fired the event.
658
+ * @param {CollectionFilterConfig} event.filter The [CollectionFilter](https://bryntum.com/products/scheduler/docs/api/Core/util/CollectionFilter) configuration object for the filter represented by this [FieldFilterPicker](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPicker).
659
+ */
660
+ onBeforeAddFilter? : ((event: { source: FieldFilterPicker, filter: CollectionFilterConfig }) => Promise<boolean>|boolean|void)|string
661
+ /**
662
+ * Fires before an object is destroyed.
663
+ * @param {object} event Event object
664
+ * @param {Core.Base} event.source The Object that is being destroyed.
665
+ */
666
+ onBeforeDestroy? : ((event: { source: Base }) => void)|string
667
+ /**
668
+ * Triggered before a widget is hidden. Return `false` to prevent the action.
669
+ * @param {object} event Event object
670
+ * @param {Core.widget.Widget} event.source The widget being hidden.
671
+ */
672
+ onBeforeHide? : ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string
673
+ /**
674
+ * Fired before this container will load record values into its child fields. This is useful if you
675
+ * want to modify the UI before data is loaded (e.g. set some input field to be readonly)
676
+ * @param {object} event Event object
677
+ * @param {Core.widget.Container} event.source The container
678
+ * @param {Core.data.Model} event.record The record
679
+ */
680
+ onBeforeSetRecord? : ((event: { source: Container, record: Model }) => void)|string
681
+ /**
682
+ * Triggered before a widget is shown. Return `false` to prevent the action.
683
+ * @param {object} event Event object
684
+ * @param {Core.widget.Widget,any} event.source The widget being shown
685
+ */
686
+ onBeforeShow? : ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string
687
+ /**
688
+ * Fires when any other event is fired from the object.
689
+ * ...
690
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#event-catchAll)
691
+ * @param {object} event Event object
692
+ * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
693
+ * @param {string} event.event.type The type of the event which is caught by the listener
694
+ */
695
+ onCatchAll? : ((event: {[key: string]: any, type: string}) => void)|string
696
+ /**
697
+ * Fires when any filter in the group is added, removed, or modified.
698
+ * @param {object} event Event object
699
+ * @param {Core.widget.FieldFilterPickerGroup} event.source The FieldFilterPickerGroup instance that fired the event.
700
+ * @param {CollectionFilterConfig[]} event.filters The array of [CollectionFilter](https://bryntum.com/products/scheduler/docs/api/Core/util/CollectionFilter) configuration objects currently represented by the FieldFilterPickerGroup. <strong>IMPORTANT:</strong> Note that this includes all filters currently present in the UI, including partially completed ones that may not be ready to apply to a Store. To retrieve only valid filters, use the `validFilters` parameter on this event, or filter out incomplete filters in your own code.
701
+ * @param {CollectionFilterConfig[]} event.validFilters The subset of [CollectionFilter](https://bryntum.com/products/scheduler/docs/api/Core/util/CollectionFilter) configuration objects in the `filters` parameter on this event that are complete and valid for application to a Store.
702
+ */
703
+ onChange? : ((event: { source: FieldFilterPickerGroup, filters: CollectionFilterConfig[], validFilters: CollectionFilterConfig[] }) => void)|string
704
+ /**
705
+ * Fires when an object is destroyed.
706
+ * @param {object} event Event object
707
+ * @param {Core.Base} event.source The Object that is being destroyed.
708
+ */
709
+ onDestroy? : ((event: { source: Base }) => void)|string
710
+ /**
711
+ * Fires when a field is mutated and the state of the [hasChanges](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#property-hasChanges) property changes
712
+ * @param {object} event Event object
713
+ * @param {Core.widget.Container} event.source The container.
714
+ * @param {boolean} event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.
715
+ */
716
+ onDirtyStateChange? : ((event: { source: Container, dirty: boolean }) => void)|string
717
+ /**
718
+ * Triggered when a widget's [element](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-element) is available.
719
+ * @param {object} event Event object
720
+ * @param {HTMLElement} event.element The Widget's element.
721
+ */
722
+ onElementCreated? : ((event: { element: HTMLElement }) => void)|string
723
+ /**
724
+ * Fired when focus enters this Widget.
725
+ * @param {object} event Event object
726
+ * @param {Core.widget.Widget} event.source This Widget
727
+ * @param {HTMLElement} event.fromElement The element which lost focus.
728
+ * @param {HTMLElement} event.toElement The element which gained focus.
729
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
730
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
731
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
732
+ */
733
+ onFocusIn? : ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string
734
+ /**
735
+ * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
736
+ * focus moving from within this Widget's ownership tree, even if there are floating widgets
737
+ * will not trigger this event. This is when focus exits this widget completely.
738
+ * @param {object} event Event object
739
+ * @param {Core.widget.Widget} event.source This Widget
740
+ * @param {HTMLElement} event.fromElement The element which lost focus.
741
+ * @param {HTMLElement} event.toElement The element which gained focus.
742
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
743
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
744
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
745
+ */
746
+ onFocusOut? : ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string
747
+ /**
748
+ * Triggered after a widget was hidden
749
+ * @param {object} event Event object
750
+ * @param {Core.widget.Widget} event.source The widget
751
+ */
752
+ onHide? : ((event: { source: Widget }) => void)|string
753
+ /**
754
+ * Triggered when a widget which had been in a non-visible state for any reason
755
+ * achieves visibility.
756
+ * ...
757
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/FieldFilterPickerGroup#event-paint)
758
+ * @param {object} event Event object
759
+ * @param {Core.widget.Widget} event.source The widget being painted.
760
+ * @param {boolean} event.firstPaint `true` if this is the first paint.
761
+ */
762
+ onPaint? : ((event: { source: Widget, firstPaint: boolean }) => void)|string
763
+ /**
764
+ * Fired when a Widget's read only state is toggled
765
+ * @param {object} event Event object
766
+ * @param {boolean} event.readOnly Read only or not
767
+ */
768
+ onReadOnly? : ((event: { readOnly: boolean }) => void)|string
769
+ /**
770
+ * This event is fired after a widget's elements have been synchronized due to a direct or indirect call
771
+ * 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.
772
+ */
773
+ onRecompose? : (() => void)|string
774
+ /**
775
+ * 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`*.
776
+ * @param {object} event Event object
777
+ * @param {Core.widget.Widget} event.source This Widget
778
+ * @param {number} event.width The new width
779
+ * @param {number} event.height The new height
780
+ * @param {number} event.oldWidth The old width
781
+ * @param {number} event.oldHeight The old height
782
+ */
783
+ onResize? : ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string
784
+ /**
785
+ * Triggered after a widget is shown.
786
+ * @param {object} event Event object
787
+ * @param {Core.widget.Widget} event.source The widget
788
+ */
789
+ onShow? : ((event: { source: Widget }) => void)|string
790
+
791
+ }
792
+
793
+ export class BryntumFieldFilterPickerGroup extends React.Component<BryntumFieldFilterPickerGroupProps> {
794
+
795
+ static instanceClass = FieldFilterPickerGroup;
796
+
797
+ static instanceName = 'FieldFilterPickerGroup';
798
+
799
+ processWidgetContent = processWidgetContent;
800
+
801
+ static configNames = [
802
+ 'addFilterButtonText',
803
+ 'adopt',
804
+ 'align',
805
+ 'allowedFieldNames',
806
+ 'anchor',
807
+ 'ariaDescription',
808
+ 'ariaLabel',
809
+ 'autoUpdateRecord',
810
+ 'bubbleEvents',
811
+ 'canDeleteFilter',
812
+ 'canManageFilter',
813
+ 'centered',
814
+ 'color',
815
+ 'config',
816
+ 'constrainTo',
817
+ 'contentElementCls',
818
+ 'dataField',
819
+ 'dateFormat',
820
+ 'defaultBindProperty',
821
+ 'defaultFocus',
822
+ 'defaults',
823
+ 'detectCSSCompatibilityIssues',
824
+ 'dock',
825
+ 'draggable',
826
+ 'elementAttributes',
827
+ 'fields',
828
+ 'filters',
829
+ 'floating',
830
+ 'getFieldFilterPickerConfig',
831
+ 'hideAnimation',
832
+ 'hideWhenEmpty',
833
+ 'htmlCls',
834
+ 'ignoreParentReadOnly',
835
+ 'itemCls',
836
+ 'lazyItems',
837
+ 'limitToProperty',
838
+ 'listeners',
839
+ 'localeClass',
840
+ 'localizable',
841
+ 'localizableProperties',
842
+ 'maskDefaults',
843
+ 'masked',
844
+ 'monitorResize',
845
+ 'namedItems',
846
+ 'operators',
847
+ 'owner',
848
+ 'positioned',
849
+ 'preventTooltipOnTouch',
850
+ 'relayStoreEvents',
851
+ 'ripple',
852
+ 'rootElement',
853
+ 'scrollAction',
854
+ 'showAddFilterButton',
855
+ 'showAnimation',
856
+ 'showTooltipWhenDisabled',
857
+ 'store',
858
+ 'tab',
859
+ 'tabBarItems',
860
+ 'tag',
861
+ 'textAlign',
862
+ 'textContent',
863
+ 'title',
864
+ 'triggerChangeOnInput',
865
+ 'type',
866
+ 'ui',
867
+ 'weight'
868
+ ];
869
+
870
+ static propertyConfigNames = [
871
+ 'alignSelf',
872
+ 'appendTo',
873
+ 'callOnFunctions',
874
+ 'catchEventHandlerExceptions',
875
+ 'cls',
876
+ 'column',
877
+ 'content',
878
+ 'dataset',
879
+ 'disabled',
880
+ 'extraData',
881
+ 'flex',
882
+ 'height',
883
+ 'hidden',
884
+ 'html',
885
+ 'id',
886
+ 'inputFieldAlign',
887
+ 'insertBefore',
888
+ 'insertFirst',
889
+ 'items',
890
+ 'keyMap',
891
+ 'labelPosition',
892
+ 'layout',
893
+ 'layoutStyle',
894
+ 'margin',
895
+ 'maxHeight',
896
+ 'maximizeOnMobile',
897
+ 'maxWidth',
898
+ 'minHeight',
899
+ 'minWidth',
900
+ 'onBeforeAddFilter',
901
+ 'onBeforeDestroy',
902
+ 'onBeforeHide',
903
+ 'onBeforeSetRecord',
904
+ 'onBeforeShow',
905
+ 'onCatchAll',
906
+ 'onChange',
907
+ 'onDestroy',
908
+ 'onDirtyStateChange',
909
+ 'onElementCreated',
910
+ 'onFocusIn',
911
+ 'onFocusOut',
912
+ 'onHide',
913
+ 'onPaint',
914
+ 'onReadOnly',
915
+ 'onRecompose',
916
+ 'onResize',
917
+ 'onShow',
918
+ 'readOnly',
919
+ 'record',
920
+ 'rendition',
921
+ 'rtl',
922
+ 'scrollable',
923
+ 'span',
924
+ 'strictRecordMapping',
925
+ 'tooltip',
926
+ 'width',
927
+ 'x',
928
+ 'y'
929
+ ];
930
+
931
+ static propertyNames = [
932
+ 'anchorSize',
933
+ 'focusVisible',
934
+ 'hasChanges',
935
+ 'isSettingValues',
936
+ 'isValid',
937
+ 'parent',
938
+ 'value',
939
+ 'values'
940
+ ];
941
+
942
+ // Component instance
943
+ instance!: FieldFilterPickerGroup;
944
+
945
+ // Component element
946
+ element! : HTMLElement;
947
+
948
+ componentDidMount(): void {
949
+ this.instance = createWidget(this);
950
+ }
951
+
952
+ componentWillUnmount(): void {
953
+ // @ts-ignore
954
+ this.instance?.destroy?.();
955
+ }
956
+
957
+ /**
958
+ * Component about to be updated, from changing a prop using state.
959
+ * React to it depending on what changed and prevent react from re-rendering our component.
960
+ * @param nextProps
961
+ * @param nextState
962
+ * @returns {boolean}
963
+ */
964
+ shouldComponentUpdate(nextProps: Readonly<BryntumFieldFilterPickerGroupProps>, nextState: Readonly<{}>): boolean {
965
+ return shouldComponentUpdate(this, nextProps, nextState);
966
+ }
967
+
968
+ render(): React.ReactNode {
969
+
970
+ const className = `b-react-field-filter-picker-group-container`;
971
+ return (
972
+ <div className={className} ref={(element) => (this.element = element!)}></div>
973
+ );
974
+
975
+ }
976
+ }