@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,1057 @@
1
+ /**
2
+ * React wrapper for Bryntum DateRangeField
3
+ */
4
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
5
+ import React, { RefObject } from 'react';
6
+ import { AlignSpec, Base, ConfirmationBar, ConfirmationBarConfig, ContainerItemConfig, DateField, DateFieldConfig, DateRangeField, DateRangeFieldListeners, DateRangePickerConfig, DomConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, MultiDatePickerConfig, Rectangle, Scroller, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/scheduler';
7
+
8
+ import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
9
+
10
+ export type BryntumDateRangeFieldProps = {
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/Core/widget/DateRangeField#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/Core/widget/DateRangeField#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/Core/widget/DateRangeField#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/Core/widget/DateRangeField#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/Core/widget/DateRangeField#config-bubbleEvents)
77
+ */
78
+ bubbleEvents? : object
79
+ /**
80
+ * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
81
+ * ...
82
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-callOnFunctions)
83
+ */
84
+ callOnFunctions? : boolean
85
+ /**
86
+ * By default, if an event handler throws an exception, the error propagates up the stack and the
87
+ * application state is undefined. Code which follows the event handler will *not* be executed.
88
+ * ...
89
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-catchEventHandlerExceptions)
90
+ */
91
+ catchEventHandlerExceptions? : boolean
92
+ /**
93
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
94
+ * Set to `true` to centre the Widget in browser viewport space.
95
+ */
96
+ centered? : boolean
97
+ /**
98
+ * 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
99
+ * 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
100
+ * configures the `clear` [trigger](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#property-triggers).
101
+ */
102
+ clearable? : boolean|FieldTriggerConfig
103
+ /**
104
+ * Custom CSS classes to add to element.
105
+ * May be specified as a space separated string, or as an object in which property names
106
+ * with truthy values are used as the class names:
107
+ * ...
108
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-cls)
109
+ */
110
+ cls? : string|object
111
+ /**
112
+ * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
113
+ * `style` block.
114
+ * ...
115
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-color)
116
+ */
117
+ color? : string
118
+ /**
119
+ * Programmatic control over which column to start in when used in a grid layout.
120
+ */
121
+ column? : number
122
+ config? : object
123
+ /**
124
+ * Enables OK/Cancel button bar to accept date range changes. A value of `true` shows the OK and Cancel buttons.
125
+ * ...
126
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-confirmable)
127
+ */
128
+ confirmable? : boolean|ConfirmationBarConfig|ConfirmationBar
129
+ /**
130
+ * *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).*
131
+ * Element, Widget or Rectangle to which this Widget is constrained.
132
+ */
133
+ constrainTo? : HTMLElement|Widget|Rectangle
134
+ /**
135
+ * The configuration for additional items associated to this field. This is typically used to add contextual
136
+ * fields related to a [checkbox](https://bryntum.com/products/scheduler/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See
137
+ * these classes for examples of nested fields.
138
+ * ...
139
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-container)
140
+ */
141
+ container? : Record<string, ContainerItemConfig>|ContainerItemConfig[]|FieldContainerConfig|FieldContainer
142
+ /**
143
+ * The config controls how the value of nested items are handled when a parent container gets or sets its
144
+ * [values](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#property-values).
145
+ * ...
146
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-containValues)
147
+ * @param {Core.widget.Field} field Field instance
148
+ * @returns {boolean}
149
+ */
150
+ containValues? : boolean|string|((field: Field) => boolean)
151
+ /**
152
+ * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement).
153
+ * May be specified as a space separated string, or as an object in which property names
154
+ * with truthy values are used as the class names:
155
+ * ...
156
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-contentElementCls)
157
+ */
158
+ contentElementCls? : string|object
159
+ /**
160
+ * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the
161
+ * field on the expanded record to use for populating this widget's store (if applicable)
162
+ */
163
+ dataField? : string
164
+ /**
165
+ * Object to apply to elements dataset (each key will be used as a data-attribute on the element)
166
+ */
167
+ dataset? : Record<string, string>
168
+ /**
169
+ * The default configuration for [fieldStartDate](https://bryntum.com/products/scheduler/docs/api/Core/widget/mixin/AbstractDateRange#config-fieldStartDate) and [fieldEndDate](#Core/widget/mixin/AbstractDateRange#config-fieldEndDate).
170
+ */
171
+ dateFieldDefaults? : DateFieldConfig
172
+ /**
173
+ * Specifies which date fields ([fieldStartDate](https://bryntum.com/products/scheduler/docs/api/Core/widget/mixin/AbstractDateRange#config-fieldStartDate) or [fieldEndDate](#Core/widget/mixin/AbstractDateRange#config-fieldEndDate)) should display
174
+ * their forward/backward date step triggers. See [stepTriggers](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateField#config-stepTriggers).
175
+ */
176
+ dateStepTriggers? : boolean|'both'|'end'|'start'
177
+ /**
178
+ * The name of the property to set when a single value is to be applied to this Widget. Such as when used
179
+ * in a grid WidgetColumn, this is the property to which the column's `field` is applied.
180
+ */
181
+ defaultBindProperty? : string
182
+ /**
183
+ * 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/DateRangeField#config-detectCSSCompatibilityIssues)
186
+ */
187
+ detectCSSCompatibilityIssues? : boolean
188
+ /**
189
+ * 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
190
+ * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
191
+ * ...
192
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-disabled)
193
+ */
194
+ disabled? : boolean|'inert'
195
+ /**
196
+ * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/scheduler/docs/api/Core/widget/Panel)
197
+ * [strips collection](https://bryntum.com/products/scheduler/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
198
+ * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
199
+ * body. Such widgets are called "edge strips".
200
+ * ...
201
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-dock)
202
+ */
203
+ dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
204
+ /**
205
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
206
+ * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
207
+ * property which controls when a drag should start.
208
+ * ...
209
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-draggable)
210
+ */
211
+ draggable? : boolean|{
212
+ handleSelector?: string
213
+ }
214
+ /**
215
+ * User can edit text in text field (otherwise only pick from attached picker)
216
+ */
217
+ editable? : boolean
218
+ /**
219
+ * An object specifying attributes to assign to the root element of this widget.
220
+ * Set `null` value to attribute to remove it.
221
+ * ...
222
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-elementAttributes)
223
+ */
224
+ elementAttributes? : Record<string, string|null>
225
+ extraData? : any
226
+ /**
227
+ * The field for the end date.
228
+ */
229
+ fieldEndDate? : DateFieldConfig|DateField
230
+ /**
231
+ * The field for the start date.
232
+ */
233
+ fieldStartDate? : DateFieldConfig|DateField
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
+ * Format for date displayed in the [fieldStartDate](https://bryntum.com/products/scheduler/docs/api/Core/widget/mixin/AbstractDateRange#config-fieldStartDate) and [fieldEndDate](#Core/widget/mixin/AbstractDateRange#config-fieldEndDate).
249
+ */
250
+ format? : string
251
+ /**
252
+ * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,
253
+ * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some
254
+ * cases this config is convenient.
255
+ */
256
+ height? : string|number
257
+ /**
258
+ * Configure with true to make widget initially hidden.
259
+ */
260
+ hidden? : boolean
261
+ /**
262
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
263
+ * ...
264
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-hideAnimation)
265
+ */
266
+ hideAnimation? : boolean|object
267
+ /**
268
+ * Specify `true` to highlight field after external value changes
269
+ */
270
+ highlightExternalChange? : boolean
271
+ /**
272
+ * An optional string to display inside the input field as an overlay. This can be useful for displaying
273
+ * a field's units.
274
+ * ...
275
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-hint)
276
+ * @param {object} data A data object
277
+ * @param {Core.widget.Field} data.source A reference to the field instance
278
+ * @param {any} data.value The current value of the field
279
+ * @returns {string}
280
+ */
281
+ hint? : string|((data: { source: Field, value: any }) => string)
282
+ /**
283
+ * 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.
284
+ * Since this can allow malicious content to be executed, be sure not to include user-entered data or to
285
+ * encode such data (see [encodeHtml](https://bryntum.com/products/scheduler/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).
286
+ * ...
287
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-hintHtml)
288
+ * @param {object} data A data object
289
+ * @param {Core.widget.Field} data.source A reference to the field instance
290
+ * @param {any} data.value The current value of the field
291
+ * @returns {string}
292
+ */
293
+ hintHtml? : string|((data: { source: Field, value: any }) => string)
294
+ /**
295
+ * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById
296
+ */
297
+ id? : string
298
+ /**
299
+ * Determines if the widgets read-only state should be controlled by its parent.
300
+ * ...
301
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-ignoreParentReadOnly)
302
+ */
303
+ ignoreParentReadOnly? : boolean
304
+ /**
305
+ * Set this config to `true` to always display items horizontally along with this field. This assigns an
306
+ * [hbox](https://bryntum.com/products/scheduler/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the
307
+ * [container](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#config-container).
308
+ * ...
309
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-inline)
310
+ */
311
+ inline? : boolean
312
+ /**
313
+ * Text alignment for the input field.
314
+ */
315
+ inputAlign? : string
316
+ /**
317
+ * Sets custom attributes of the underlying input element. For more information, please refer to
318
+ * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes)
319
+ */
320
+ inputAttributes? : Record<string, string>
321
+ /**
322
+ * If you need to use something else than a default `input` element, as the input element, provide the tag
323
+ * name here. Please note that this is used for advanced usage only, for example when using WebComponents
324
+ * (custom elements), and that the configured element must fulfil the same contract as a regular input
325
+ * element.
326
+ */
327
+ inputTag? : string
328
+ /**
329
+ * Sets the `type` attribute of the underlying input element (password, hidden, date, color, etc.).
330
+ */
331
+ inputType? : string
332
+ /**
333
+ * The width to apply to the `.b-field-inner` element, which encompasses the `input` element and any
334
+ * triggers. If a number is specified, `px` will be used.
335
+ */
336
+ inputWidth? : string|number
337
+ /**
338
+ * 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.
339
+ */
340
+ insertBefore? : HTMLElement|string
341
+ /**
342
+ * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
343
+ */
344
+ insertFirst? : HTMLElement|string
345
+ /**
346
+ * A flag which indicates what time should be used for selected date.
347
+ * `false` by default which means time is reset to midnight.
348
+ * ...
349
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-keepTime)
350
+ */
351
+ keepTime? : boolean|Date|string
352
+ /**
353
+ * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
354
+ * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
355
+ * are the name of the instance method to call when the keystroke is received.
356
+ * ...
357
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-keyMap)
358
+ */
359
+ keyMap? : Record<string, KeyMapConfig>
360
+ /**
361
+ * The delay in milliseconds to wait after the last keystroke before triggering a change event.
362
+ * Set to 0 to not trigger change events from keystrokes (listen for input event instead to have
363
+ * immediate feedback, change will still be triggered on blur).
364
+ * ...
365
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-keyStrokeChangeDelay)
366
+ */
367
+ keyStrokeChangeDelay? : number
368
+ /**
369
+ * Label, prepended to field
370
+ */
371
+ label? : string
372
+ /**
373
+ * 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)
374
+ */
375
+ labelCls? : string|object
376
+ /**
377
+ * Label position, either 'before' the field or 'above' the field
378
+ * ...
379
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-labelPosition)
380
+ */
381
+ labelPosition? : 'before'|'above'|null
382
+ /**
383
+ * The labels to add either before or after the input field.
384
+ * Each label may have the following properties:
385
+ * ...
386
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-labels)
387
+ */
388
+ labels? : object[]
389
+ /**
390
+ * The width to apply to the `&lt;label&gt;` element. If a number is specified, `px` will be used.
391
+ */
392
+ labelWidth? : string|number
393
+ /**
394
+ * The listener set for this object.
395
+ * ...
396
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-listeners)
397
+ */
398
+ listeners? : DateRangeFieldListeners
399
+ /**
400
+ * A class translations of which are used for translating this entity.
401
+ * This is often used when translations of an item are defined on its container class.
402
+ * For example:
403
+ * ...
404
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-localeClass)
405
+ */
406
+ localeClass? : typeof Base
407
+ /**
408
+ * Set to `false` to disable localization of this object.
409
+ */
410
+ localizable? : boolean
411
+ /**
412
+ * List of properties which values should be translated automatically upon a locale applying.
413
+ * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
414
+ * you could use 'localeKey' meta configuration.
415
+ * Example:
416
+ * ...
417
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-localizableProperties)
418
+ */
419
+ localizableProperties? : string[]
420
+ /**
421
+ * Widget's margin. This may be configured as a single number or a `TRBL` format string.
422
+ * numeric-only values are interpreted as pixels.
423
+ */
424
+ margin? : number|string
425
+ /**
426
+ * This config object contains the defaults for the [Mask](https://bryntum.com/products/scheduler/docs/api/Core/widget/Mask) created for the
427
+ * [masked](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these
428
+ * values.
429
+ */
430
+ maskDefaults? : MaskConfig
431
+ /**
432
+ * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a
433
+ * [Mask](https://bryntum.com/products/scheduler/docs/api/Core/widget/Mask) config object.
434
+ */
435
+ masked? : boolean|string|MaskConfig
436
+ /**
437
+ * Max value
438
+ */
439
+ max? : string|Date
440
+ /**
441
+ * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that
442
+ * like [height](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
443
+ */
444
+ maxHeight? : string|number
445
+ /**
446
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
447
+ * ...
448
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-maximizeOnMobile)
449
+ */
450
+ maximizeOnMobile? : number|string
451
+ /**
452
+ * The max number of characters for the input field
453
+ */
454
+ maxLength? : number
455
+ /**
456
+ * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that
457
+ * like [width](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
458
+ */
459
+ maxWidth? : string|number
460
+ /**
461
+ * Min value
462
+ */
463
+ min? : string|Date
464
+ /**
465
+ * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that
466
+ * like [height](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
467
+ */
468
+ minHeight? : string|number
469
+ /**
470
+ * The min number of characters for the input field
471
+ */
472
+ minLength? : number
473
+ /**
474
+ * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that
475
+ * like [width](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
476
+ */
477
+ minWidth? : string|number
478
+ /**
479
+ * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
480
+ * is used to monitor this element for size changes caused by either style manipulation, or by CSS
481
+ * layout.
482
+ * ...
483
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-monitorResize)
484
+ */
485
+ monitorResize? : boolean|{
486
+ immediate?: boolean
487
+ }
488
+ /**
489
+ * Name of the field which is used as a key to get/set values from/to the field.
490
+ * Used prior to [ref](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in
491
+ * [Container.values](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#property-values).
492
+ * ...
493
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-name)
494
+ */
495
+ name? : string
496
+ /**
497
+ * The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
498
+ * [items](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
499
+ * the owner is <strong>always</strong> the encapsulating Container.
500
+ * ...
501
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-owner)
502
+ */
503
+ owner? : Widget|any
504
+ /**
505
+ * A config object used to configure the [datePicker](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangePicker).
506
+ * ...
507
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-picker)
508
+ */
509
+ picker? : DateRangePickerConfig|MultiDatePickerConfig
510
+ /**
511
+ * The name of the element property to which the picker should size and align itself.
512
+ */
513
+ pickerAlignElement? : string
514
+ /**
515
+ * Text to display in empty field.
516
+ */
517
+ placeholder? : string
518
+ /**
519
+ * 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
520
+ * not participate in the standard layout of that widget, and must be positioned relatively to that
521
+ * widget's [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement).
522
+ * ...
523
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-positioned)
524
+ */
525
+ positioned? : boolean
526
+ /**
527
+ * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a
528
+ * menu on click etc, since the tooltip would be displayed at the same time.
529
+ */
530
+ preventTooltipOnTouch? : boolean
531
+ /**
532
+ * Makes the field unmodifiable by user action. The input area is not editable, and triggers
533
+ * are unresponsive.
534
+ * ...
535
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-readOnly)
536
+ */
537
+ readOnly? : boolean
538
+ relayStoreEvents? : boolean
539
+ /**
540
+ * Predefined style to use for the field. Possible values are:
541
+ * ...
542
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-rendition)
543
+ */
544
+ rendition? : 'outlined'|'filled'|string
545
+ /**
546
+ * Configure as `true` to indicate that a `null` field value is to be marked as invalid. This will
547
+ * optionally append a * to the field label if [showRequiredIndicator](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#property-showRequiredIndicator) is set.
548
+ */
549
+ required? : boolean
550
+ /**
551
+ * 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
552
+ * the `ESCAPE` key after editing the field will revert the field to the value it had when
553
+ * 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)
554
+ * behaviour will be activated.
555
+ */
556
+ revertOnEscape? : boolean
557
+ /**
558
+ * Configure as `true` to have the component display a translucent ripple when its
559
+ * [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
560
+ * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
561
+ * ...
562
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-ripple)
563
+ */
564
+ ripple? : boolean|{
565
+ delegate?: string
566
+ color?: string
567
+ radius?: number
568
+ clip?: string
569
+ }
570
+ /**
571
+ * 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`
572
+ */
573
+ rootElement? : ShadowRoot|HTMLElement
574
+ /**
575
+ * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
576
+ * ...
577
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-rtl)
578
+ */
579
+ rtl? : boolean
580
+ /**
581
+ * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
582
+ * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
583
+ */
584
+ scrollAction? : 'hide'|'realign'|null
585
+ /**
586
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*
587
+ * ...
588
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-showAnimation)
589
+ */
590
+ showAnimation? : boolean|object
591
+ /**
592
+ * `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).
593
+ */
594
+ showRequiredIndicator? : string
595
+ /**
596
+ * 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)
597
+ */
598
+ showTooltipWhenDisabled? : boolean
599
+ /**
600
+ * Set to `true`, completely bypasses validation logic (could be userful if your field is not `editable`
601
+ * to the user).
602
+ */
603
+ skipValidation? : boolean
604
+ /**
605
+ * Programmatic control over how many columns to span when used in a grid layout.
606
+ */
607
+ span? : number
608
+ /**
609
+ * Sets the native `spellcheck` property of the underlying input element. For more information, please refer to
610
+ * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck)
611
+ */
612
+ spellCheck? : boolean
613
+ /**
614
+ * 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
615
+ * [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
616
+ * this widget:
617
+ * ...
618
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-tab)
619
+ */
620
+ tab? : boolean|TabConfig
621
+ /**
622
+ * The tab index of the input field or fields, or `null` for natural tab order (recommended). Setting to `0`
623
+ * is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable
624
+ * (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set
625
+ * to the element programmatically.
626
+ * ...
627
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-tabIndex)
628
+ */
629
+ tabIndex? : number
630
+ /**
631
+ * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
632
+ * ...
633
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-textAlign)
634
+ */
635
+ textAlign? : 'left'|'center'|'right'|'start'|'end'
636
+ /**
637
+ * A title to display for the widget. Only in effect when inside a container that uses it (such as TabPanel)
638
+ */
639
+ title? : string
640
+ /**
641
+ * Tooltip for the widget, either as a string or as a Tooltip config object.
642
+ * ...
643
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-tooltip)
644
+ */
645
+ tooltip? : string|TooltipConfig|null
646
+ /**
647
+ * The triggers to add either before or after the input field. Each property name is the reference by which
648
+ * an instantiated Trigger Widget may be retrieved from the live `triggers` property.
649
+ * ...
650
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-triggers)
651
+ */
652
+ triggers? : Record<string, FieldTriggerConfig>|Record<string, Widget>
653
+ type? : 'daterangefield'
654
+ /**
655
+ * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
656
+ * as a space separated string, an array of strings, or as an object in which property names with truthy
657
+ * values are used as the class names.
658
+ * ...
659
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-ui)
660
+ */
661
+ ui? : string|object
662
+ /**
663
+ * Set to `false` to not highlight a field as invalid while typing, to instead show it on ENTER key press
664
+ * or similar.
665
+ */
666
+ validateOnInput? : boolean
667
+ /**
668
+ * Default value
669
+ */
670
+ value? : string
671
+ /**
672
+ * The week start day in the [picker](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-picker), 0 meaning Sunday, 6 meaning Saturday.
673
+ * Uses localized value per default.
674
+ */
675
+ weekStartDay? : number
676
+ /**
677
+ * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container).
678
+ * Higher weights go further down.
679
+ */
680
+ weight? : number
681
+ /**
682
+ * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which
683
+ * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases
684
+ * this config is convenient.
685
+ */
686
+ width? : string|number
687
+ /**
688
+ * The x position for the widget.
689
+ * ...
690
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-x)
691
+ */
692
+ x? : number
693
+ /**
694
+ * The y position for the widget.
695
+ * ...
696
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#config-y)
697
+ */
698
+ y? : number
699
+
700
+ // Events
701
+ /**
702
+ * User performed default action (typed into this field).
703
+ * @param {object} event Event object
704
+ * @param {Core.widget.Field,any} event.source This Field
705
+ * @param {string,number,boolean,any} event.value This field's value
706
+ * @param {string,number,boolean,any} event.oldValue This field's previous value
707
+ * @param {boolean} event.valid True if this field is in a valid state
708
+ * @param {Event} event.event The triggering DOM event if any
709
+ * @param {Core.data.Model} event.record Selected record. Available for fields with records selection functionality
710
+ * @param {Core.data.Model[]} event.records Selected records as an array. Available for fields with records selection functionality
711
+ * @param {boolean} event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
712
+ * @param {boolean} event.checked
713
+ */
714
+ onAction? : ((event: { source: Field|any, value: string|number|boolean|any, oldValue: string|number|boolean|any, valid: boolean, event: Event, record: Model, records: Model[], userAction: boolean, checked: boolean }) => void)|string
715
+ /**
716
+ * Fires before an object is destroyed.
717
+ * @param {object} event Event object
718
+ * @param {Core.Base} event.source The Object that is being destroyed.
719
+ */
720
+ onBeforeDestroy? : ((event: { source: Base }) => void)|string
721
+ /**
722
+ * Triggered before a widget is hidden. Return `false` to prevent the action.
723
+ * @param {object} event Event object
724
+ * @param {Core.widget.Widget} event.source The widget being hidden.
725
+ */
726
+ onBeforeHide? : ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string
727
+ /**
728
+ * Triggered before a widget is shown. Return `false` to prevent the action.
729
+ * @param {object} event Event object
730
+ * @param {Core.widget.Widget,any} event.source The widget being shown
731
+ */
732
+ onBeforeShow? : ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string
733
+ /**
734
+ * Fires when any other event is fired from the object.
735
+ * ...
736
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#event-catchAll)
737
+ * @param {object} event Event object
738
+ * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
739
+ * @param {string} event.event.type The type of the event which is caught by the listener
740
+ */
741
+ onCatchAll? : ((event: {[key: string]: any, type: string}) => void)|string
742
+ /**
743
+ * Fired when this field's value changes.
744
+ * @param {object} event Event object
745
+ * @param {Core.widget.Field,any} event.source This Field
746
+ * @param {string,number,boolean,any} event.value This field's value
747
+ * @param {string,number,boolean,any} event.oldValue This field's previous value
748
+ * @param {boolean} event.valid True if this field is in a valid state
749
+ * @param {Event} event.event The triggering DOM event if any
750
+ * @param {boolean} event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
751
+ * @param {boolean} event.checked
752
+ */
753
+ 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
754
+ /**
755
+ * Fired when this field is [cleared](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#function-clear).
756
+ * ...
757
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#event-clear)
758
+ * @param {object} event Event object
759
+ * @param {Core.widget.Field,any} event.source This Field
760
+ */
761
+ onClear? : ((event: { source: Field|any }) => void)|string
762
+ /**
763
+ * Fires when an object is destroyed.
764
+ * @param {object} event Event object
765
+ * @param {Core.Base} event.source The Object that is being destroyed.
766
+ */
767
+ onDestroy? : ((event: { source: Base }) => void)|string
768
+ /**
769
+ * Triggered when a widget's [element](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-element) is available.
770
+ * @param {object} event Event object
771
+ * @param {HTMLElement} event.element The Widget's element.
772
+ */
773
+ onElementCreated? : ((event: { element: HTMLElement }) => void)|string
774
+ /**
775
+ * Fired when focus enters this Widget.
776
+ * @param {object} event Event object
777
+ * @param {Core.widget.Widget} event.source This Widget
778
+ * @param {HTMLElement} event.fromElement The element which lost focus.
779
+ * @param {HTMLElement} event.toElement The element which gained focus.
780
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
781
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
782
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
783
+ */
784
+ onFocusIn? : ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string
785
+ /**
786
+ * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
787
+ * focus moving from within this Widget's ownership tree, even if there are floating widgets
788
+ * will not trigger this event. This is when focus exits this widget completely.
789
+ * @param {object} event Event object
790
+ * @param {Core.widget.Widget} event.source This Widget
791
+ * @param {HTMLElement} event.fromElement The element which lost focus.
792
+ * @param {HTMLElement} event.toElement The element which gained focus.
793
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
794
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
795
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
796
+ */
797
+ onFocusOut? : ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string
798
+ /**
799
+ * Triggered after a widget was hidden
800
+ * @param {object} event Event object
801
+ * @param {Core.widget.Widget} event.source The widget
802
+ */
803
+ onHide? : ((event: { source: Widget }) => void)|string
804
+ /**
805
+ * Fired when the user types into this field.
806
+ * @param {object} event Event object
807
+ * @param {Core.widget.Field,any} event.source This field
808
+ * @param {string,number,boolean,any} event.value This field's value
809
+ * @param {Event} event.event The triggering DOM event
810
+ */
811
+ onInput? : ((event: { source: Field|any, value: string|number|boolean|any, event: Event }) => void)|string
812
+ /**
813
+ * Triggered when a widget which had been in a non-visible state for any reason
814
+ * achieves visibility.
815
+ * ...
816
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Core/widget/DateRangeField#event-paint)
817
+ * @param {object} event Event object
818
+ * @param {Core.widget.Widget} event.source The widget being painted.
819
+ * @param {boolean} event.firstPaint `true` if this is the first paint.
820
+ */
821
+ onPaint? : ((event: { source: Widget, firstPaint: boolean }) => void)|string
822
+ /**
823
+ * Fired when a Widget's read only state is toggled
824
+ * @param {object} event Event object
825
+ * @param {boolean} event.readOnly Read only or not
826
+ */
827
+ onReadOnly? : ((event: { readOnly: boolean }) => void)|string
828
+ /**
829
+ * This event is fired after a widget's elements have been synchronized due to a direct or indirect call
830
+ * 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.
831
+ */
832
+ onRecompose? : (() => void)|string
833
+ /**
834
+ * 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`*.
835
+ * @param {object} event Event object
836
+ * @param {Core.widget.Widget} event.source This Widget
837
+ * @param {number} event.width The new width
838
+ * @param {number} event.height The new height
839
+ * @param {number} event.oldWidth The old width
840
+ * @param {number} event.oldHeight The old height
841
+ */
842
+ onResize? : ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string
843
+ /**
844
+ * Triggered after a widget is shown.
845
+ * @param {object} event Event object
846
+ * @param {Core.widget.Widget} event.source The widget
847
+ */
848
+ onShow? : ((event: { source: Widget }) => void)|string
849
+ /**
850
+ * User clicked one of this field's [triggers](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#property-triggers)
851
+ * @param {object} event Event object
852
+ * @param {Core.widget.Field,any} event.source This field
853
+ * @param {Core.widget.Widget} event.trigger The trigger activated by click or touch tap.
854
+ */
855
+ onTrigger? : ((event: { source: Field|any, trigger: Widget }) => void)|string
856
+
857
+ }
858
+
859
+ export class BryntumDateRangeField extends React.Component<BryntumDateRangeFieldProps> {
860
+
861
+ static instanceClass = DateRangeField;
862
+
863
+ static instanceName = 'DateRangeField';
864
+
865
+ processWidgetContent = processWidgetContent;
866
+
867
+ static configNames = [
868
+ 'adopt',
869
+ 'align',
870
+ 'anchor',
871
+ 'ariaDescription',
872
+ 'ariaLabel',
873
+ 'autoComplete',
874
+ 'autoExpand',
875
+ 'autoSelect',
876
+ 'bubbleEvents',
877
+ 'centered',
878
+ 'clearable',
879
+ 'color',
880
+ 'config',
881
+ 'constrainTo',
882
+ 'container',
883
+ 'containValues',
884
+ 'contentElementCls',
885
+ 'dataField',
886
+ 'dateFieldDefaults',
887
+ 'dateStepTriggers',
888
+ 'defaultBindProperty',
889
+ 'detectCSSCompatibilityIssues',
890
+ 'dock',
891
+ 'draggable',
892
+ 'elementAttributes',
893
+ 'floating',
894
+ 'hideAnimation',
895
+ 'highlightExternalChange',
896
+ 'hint',
897
+ 'hintHtml',
898
+ 'ignoreParentReadOnly',
899
+ 'inline',
900
+ 'inputAlign',
901
+ 'inputAttributes',
902
+ 'inputTag',
903
+ 'inputType',
904
+ 'inputWidth',
905
+ 'keepTime',
906
+ 'keyStrokeChangeDelay',
907
+ 'labelCls',
908
+ 'labelPosition',
909
+ 'labels',
910
+ 'labelWidth',
911
+ 'listeners',
912
+ 'localeClass',
913
+ 'localizable',
914
+ 'localizableProperties',
915
+ 'maskDefaults',
916
+ 'masked',
917
+ 'maxLength',
918
+ 'minLength',
919
+ 'monitorResize',
920
+ 'name',
921
+ 'owner',
922
+ 'picker',
923
+ 'pickerAlignElement',
924
+ 'positioned',
925
+ 'preventTooltipOnTouch',
926
+ 'relayStoreEvents',
927
+ 'revertOnEscape',
928
+ 'ripple',
929
+ 'rootElement',
930
+ 'scrollAction',
931
+ 'showAnimation',
932
+ 'showTooltipWhenDisabled',
933
+ 'skipValidation',
934
+ 'spellCheck',
935
+ 'tab',
936
+ 'tabIndex',
937
+ 'textAlign',
938
+ 'title',
939
+ 'type',
940
+ 'ui',
941
+ 'validateOnInput',
942
+ 'weekStartDay',
943
+ 'weight'
944
+ ];
945
+
946
+ static propertyConfigNames = [
947
+ 'alignSelf',
948
+ 'appendTo',
949
+ 'badge',
950
+ 'callOnFunctions',
951
+ 'catchEventHandlerExceptions',
952
+ 'cls',
953
+ 'column',
954
+ 'confirmable',
955
+ 'dataset',
956
+ 'disabled',
957
+ 'editable',
958
+ 'extraData',
959
+ 'fieldEndDate',
960
+ 'fieldStartDate',
961
+ 'flex',
962
+ 'format',
963
+ 'height',
964
+ 'hidden',
965
+ 'id',
966
+ 'insertBefore',
967
+ 'insertFirst',
968
+ 'keyMap',
969
+ 'label',
970
+ 'margin',
971
+ 'max',
972
+ 'maxHeight',
973
+ 'maximizeOnMobile',
974
+ 'maxWidth',
975
+ 'min',
976
+ 'minHeight',
977
+ 'minWidth',
978
+ 'onAction',
979
+ 'onBeforeDestroy',
980
+ 'onBeforeHide',
981
+ 'onBeforeShow',
982
+ 'onCatchAll',
983
+ 'onChange',
984
+ 'onClear',
985
+ 'onDestroy',
986
+ 'onElementCreated',
987
+ 'onFocusIn',
988
+ 'onFocusOut',
989
+ 'onHide',
990
+ 'onInput',
991
+ 'onPaint',
992
+ 'onReadOnly',
993
+ 'onRecompose',
994
+ 'onResize',
995
+ 'onShow',
996
+ 'onTrigger',
997
+ 'placeholder',
998
+ 'readOnly',
999
+ 'rendition',
1000
+ 'required',
1001
+ 'rtl',
1002
+ 'showRequiredIndicator',
1003
+ 'span',
1004
+ 'tooltip',
1005
+ 'triggers',
1006
+ 'value',
1007
+ 'width',
1008
+ 'x',
1009
+ 'y'
1010
+ ];
1011
+
1012
+ static propertyNames = [
1013
+ 'anchorSize',
1014
+ 'content',
1015
+ 'focusVisible',
1016
+ 'formula',
1017
+ 'html',
1018
+ 'input',
1019
+ 'parent',
1020
+ 'scrollable'
1021
+ ];
1022
+
1023
+ // Component instance
1024
+ instance!: DateRangeField;
1025
+
1026
+ // Component element
1027
+ element! : HTMLElement;
1028
+
1029
+ componentDidMount(): void {
1030
+ this.instance = createWidget(this);
1031
+ }
1032
+
1033
+ componentWillUnmount(): void {
1034
+ // @ts-ignore
1035
+ this.instance?.destroy?.();
1036
+ }
1037
+
1038
+ /**
1039
+ * Component about to be updated, from changing a prop using state.
1040
+ * React to it depending on what changed and prevent react from re-rendering our component.
1041
+ * @param nextProps
1042
+ * @param nextState
1043
+ * @returns {boolean}
1044
+ */
1045
+ shouldComponentUpdate(nextProps: Readonly<BryntumDateRangeFieldProps>, nextState: Readonly<{}>): boolean {
1046
+ return shouldComponentUpdate(this, nextProps, nextState);
1047
+ }
1048
+
1049
+ render(): React.ReactNode {
1050
+
1051
+ const className = `b-react-date-range-field-container`;
1052
+ return (
1053
+ <div className={className} ref={(element) => (this.element = element!)}></div>
1054
+ );
1055
+
1056
+ }
1057
+ }