@bryntum/taskboard-react-thin 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 (96) hide show
  1. package/README.md +52 -0
  2. package/lib/BryntumColumnCombo.d.ts +268 -0
  3. package/lib/BryntumColumnCombo.js +203 -0
  4. package/lib/BryntumColumnCombo.js.map +1 -0
  5. package/lib/BryntumColumnFilterField.d.ts +234 -0
  6. package/lib/BryntumColumnFilterField.js +170 -0
  7. package/lib/BryntumColumnFilterField.js.map +1 -0
  8. package/lib/BryntumColumnPickerButton.d.ts +208 -0
  9. package/lib/BryntumColumnPickerButton.js +149 -0
  10. package/lib/BryntumColumnPickerButton.js.map +1 -0
  11. package/lib/BryntumColumnScrollButton.d.ts +208 -0
  12. package/lib/BryntumColumnScrollButton.js +149 -0
  13. package/lib/BryntumColumnScrollButton.js.map +1 -0
  14. package/lib/BryntumProjectCombo.d.ts +269 -0
  15. package/lib/BryntumProjectCombo.js +204 -0
  16. package/lib/BryntumProjectCombo.js.map +1 -0
  17. package/lib/BryntumResourcesCombo.d.ts +268 -0
  18. package/lib/BryntumResourcesCombo.js +203 -0
  19. package/lib/BryntumResourcesCombo.js.map +1 -0
  20. package/lib/BryntumSwimlaneCombo.d.ts +268 -0
  21. package/lib/BryntumSwimlaneCombo.js +203 -0
  22. package/lib/BryntumSwimlaneCombo.js.map +1 -0
  23. package/lib/BryntumSwimlaneFilterField.d.ts +236 -0
  24. package/lib/BryntumSwimlaneFilterField.js +172 -0
  25. package/lib/BryntumSwimlaneFilterField.js.map +1 -0
  26. package/lib/BryntumSwimlanePickerButton.d.ts +208 -0
  27. package/lib/BryntumSwimlanePickerButton.js +149 -0
  28. package/lib/BryntumSwimlanePickerButton.js.map +1 -0
  29. package/lib/BryntumSwimlaneScrollButton.d.ts +208 -0
  30. package/lib/BryntumSwimlaneScrollButton.js +149 -0
  31. package/lib/BryntumSwimlaneScrollButton.js.map +1 -0
  32. package/lib/BryntumTagCombo.d.ts +269 -0
  33. package/lib/BryntumTagCombo.js +204 -0
  34. package/lib/BryntumTagCombo.js.map +1 -0
  35. package/lib/BryntumTaskBoard.d.ts +610 -0
  36. package/lib/BryntumTaskBoard.js +287 -0
  37. package/lib/BryntumTaskBoard.js.map +1 -0
  38. package/lib/BryntumTaskBoardBase.d.ts +609 -0
  39. package/lib/BryntumTaskBoardBase.js +286 -0
  40. package/lib/BryntumTaskBoardBase.js.map +1 -0
  41. package/lib/BryntumTaskBoardFieldFilterPicker.d.ts +201 -0
  42. package/lib/BryntumTaskBoardFieldFilterPicker.js +159 -0
  43. package/lib/BryntumTaskBoardFieldFilterPicker.js.map +1 -0
  44. package/lib/BryntumTaskBoardFieldFilterPickerGroup.d.ts +209 -0
  45. package/lib/BryntumTaskBoardFieldFilterPickerGroup.js +165 -0
  46. package/lib/BryntumTaskBoardFieldFilterPickerGroup.js.map +1 -0
  47. package/lib/BryntumTaskBoardProjectModel.d.ts +218 -0
  48. package/lib/BryntumTaskBoardProjectModel.js +139 -0
  49. package/lib/BryntumTaskBoardProjectModel.js.map +1 -0
  50. package/lib/BryntumTaskColorCombo.d.ts +232 -0
  51. package/lib/BryntumTaskColorCombo.js +169 -0
  52. package/lib/BryntumTaskColorCombo.js.map +1 -0
  53. package/lib/BryntumTaskFilterField.d.ts +236 -0
  54. package/lib/BryntumTaskFilterField.js +172 -0
  55. package/lib/BryntumTaskFilterField.js.map +1 -0
  56. package/lib/BryntumTodoListField.d.ts +230 -0
  57. package/lib/BryntumTodoListField.js +165 -0
  58. package/lib/BryntumTodoListField.js.map +1 -0
  59. package/lib/BryntumUndoRedo.d.ts +188 -0
  60. package/lib/BryntumUndoRedo.js +150 -0
  61. package/lib/BryntumUndoRedo.js.map +1 -0
  62. package/lib/BryntumZoomSlider.d.ts +186 -0
  63. package/lib/BryntumZoomSlider.js +143 -0
  64. package/lib/BryntumZoomSlider.js.map +1 -0
  65. package/lib/WrapperHelper.d.ts +26 -0
  66. package/lib/WrapperHelper.js +569 -0
  67. package/lib/WrapperHelper.js.map +1 -0
  68. package/lib/index.d.ts +21 -0
  69. package/lib/index.js +22 -0
  70. package/lib/index.js.map +1 -0
  71. package/license.pdf +0 -0
  72. package/licenses.md +310 -0
  73. package/package.json +25 -0
  74. package/src/BryntumColumnCombo.tsx +1240 -0
  75. package/src/BryntumColumnFilterField.tsx +1019 -0
  76. package/src/BryntumColumnPickerButton.tsx +896 -0
  77. package/src/BryntumColumnScrollButton.tsx +896 -0
  78. package/src/BryntumProjectCombo.tsx +1241 -0
  79. package/src/BryntumResourcesCombo.tsx +1239 -0
  80. package/src/BryntumSwimlaneCombo.tsx +1239 -0
  81. package/src/BryntumSwimlaneFilterField.tsx +1032 -0
  82. package/src/BryntumSwimlanePickerButton.tsx +896 -0
  83. package/src/BryntumSwimlaneScrollButton.tsx +896 -0
  84. package/src/BryntumTagCombo.tsx +1244 -0
  85. package/src/BryntumTaskBoard.tsx +2021 -0
  86. package/src/BryntumTaskBoardBase.tsx +2019 -0
  87. package/src/BryntumTaskBoardFieldFilterPicker.tsx +930 -0
  88. package/src/BryntumTaskBoardFieldFilterPickerGroup.tsx +983 -0
  89. package/src/BryntumTaskBoardProjectModel.tsx +779 -0
  90. package/src/BryntumTaskColorCombo.tsx +996 -0
  91. package/src/BryntumTaskFilterField.tsx +1032 -0
  92. package/src/BryntumTodoListField.tsx +986 -0
  93. package/src/BryntumUndoRedo.tsx +871 -0
  94. package/src/BryntumZoomSlider.tsx +824 -0
  95. package/src/WrapperHelper.tsx +1125 -0
  96. package/src/index.ts +25 -0
@@ -0,0 +1,896 @@
1
+ /**
2
+ * React wrapper for Bryntum ColumnScrollButton
3
+ */
4
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
5
+ import React, { RefObject } from 'react';
6
+ import { AlignSpec, Base, Button, DomConfig, KeyMapConfig, MaskConfig, Menu, MenuConfig, MenuItemEntry, PopupConfig, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
7
+ import { ColumnScrollButton, ColumnScrollButtonListeners, TaskBoardContainerItemConfig, TaskBoard } from '@bryntum/taskboard-thin';
8
+
9
+ import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
10
+
11
+ export type BryntumColumnScrollButtonProps = {
12
+ // Configs
13
+ /**
14
+ * Element (or element id) to adopt as this Widget's encapsulating element. The widget's
15
+ * content will be placed inside this element.
16
+ * ...
17
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-adopt)
18
+ */
19
+ adopt? : HTMLElement|string
20
+ /**
21
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-floating).*
22
+ * ...
23
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-align)
24
+ */
25
+ align? : AlignSpec|string
26
+ /**
27
+ * When this widget is a child of a [Container](https://bryntum.com/products/taskboard/docs/api/Core/widget/Container), it will by default be participating in a
28
+ * flexbox layout. This config allows you to set this widget's
29
+ * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.
30
+ */
31
+ alignSelf? : string
32
+ /**
33
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-floating) and being shown through [showBy](#Core/widget/Widget#function-showBy).*
34
+ * `true` to show a connector arrow pointing to the align target.
35
+ */
36
+ anchor? : boolean
37
+ /**
38
+ * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
39
+ * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#property-element).
40
+ */
41
+ appendTo? : HTMLElement|string
42
+ /**
43
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
44
+ * into an element which will be linked using the `aria-describedby` attribute.
45
+ * ...
46
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-ariaDescription)
47
+ */
48
+ ariaDescription? : string
49
+ /**
50
+ * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
51
+ * the `aria-label` attribute.
52
+ * ...
53
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-ariaLabel)
54
+ */
55
+ ariaLabel? : string
56
+ /**
57
+ * Initial text to show in badge.
58
+ */
59
+ badge? : string
60
+ /**
61
+ * The button behavioral type, will be applied as a `type` attribute to this button's element.
62
+ */
63
+ behaviorType? : 'button'|'submit'|'reset'
64
+ /**
65
+ * An object where property names with a truthy value indicate which events should bubble up the ownership
66
+ * hierarchy when triggered.
67
+ * ...
68
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-bubbleEvents)
69
+ */
70
+ bubbleEvents? : object
71
+ /**
72
+ * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
73
+ * ...
74
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-callOnFunctions)
75
+ */
76
+ callOnFunctions? : boolean
77
+ /**
78
+ * By default, if an event handler throws an exception, the error propagates up the stack and the
79
+ * application state is undefined. Code which follows the event handler will *not* be executed.
80
+ * ...
81
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-catchEventHandlerExceptions)
82
+ */
83
+ catchEventHandlerExceptions? : boolean
84
+ /**
85
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-floating).*
86
+ * Set to `true` to centre the Widget in browser viewport space.
87
+ */
88
+ centered? : boolean
89
+ /**
90
+ * Custom CSS classes to add to element.
91
+ * May be specified as a space separated string, or as an object in which property names
92
+ * with truthy values are used as the class names:
93
+ * ...
94
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-cls)
95
+ */
96
+ cls? : string|object
97
+ /**
98
+ * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
99
+ * `style` block.
100
+ * ...
101
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-color)
102
+ */
103
+ color? : string
104
+ /**
105
+ * Programmatic control over which column to start in when used in a grid layout.
106
+ */
107
+ column? : number
108
+ config? : object
109
+ /**
110
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-floating) or [positioned](#Core/widget/Widget#config-positioned).*
111
+ * Element, Widget or Rectangle to which this Widget is constrained.
112
+ */
113
+ constrainTo? : HTMLElement|Widget|Rectangle
114
+ /**
115
+ * The HTML content that coexists with sibling elements which may have been added to the
116
+ * [contentElement](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#property-contentElement) by plugins and features.
117
+ * When specifying html, this widget's element will also have the [htmlCls](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-htmlCls)
118
+ * class added to its classList, to allow targeted styling.
119
+ */
120
+ content? : string
121
+ /**
122
+ * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#property-contentElement).
123
+ * May be specified as a space separated string, or as an object in which property names
124
+ * with truthy values are used as the class names:
125
+ * ...
126
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-contentElementCls)
127
+ */
128
+ contentElementCls? : string|object
129
+ /**
130
+ * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the
131
+ * field on the expanded record to use for populating this widget's store (if applicable)
132
+ */
133
+ dataField? : string
134
+ /**
135
+ * Object to apply to elements dataset (each key will be used as a data-attribute on the element)
136
+ */
137
+ dataset? : Record<string, string>
138
+ /**
139
+ * The name of the property to set when a single value is to be applied to this Widget. Such as when used
140
+ * in a grid WidgetColumn, this is the property to which the column's `field` is applied.
141
+ */
142
+ defaultBindProperty? : string
143
+ /**
144
+ * Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
145
+ * ...
146
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-detectCSSCompatibilityIssues)
147
+ */
148
+ detectCSSCompatibilityIssues? : boolean
149
+ /**
150
+ * Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget
151
+ * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
152
+ * ...
153
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-disabled)
154
+ */
155
+ disabled? : boolean|'inert'
156
+ /**
157
+ * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/taskboard/docs/api/Core/widget/Panel)
158
+ * [strips collection](https://bryntum.com/products/taskboard/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
159
+ * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
160
+ * body. Such widgets are called "edge strips".
161
+ * ...
162
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-dock)
163
+ */
164
+ dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
165
+ /**
166
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-floating).*
167
+ * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
168
+ * property which controls when a drag should start.
169
+ * ...
170
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-draggable)
171
+ */
172
+ draggable? : boolean|{
173
+ handleSelector?: string
174
+ }
175
+ /**
176
+ * An object specifying attributes to assign to the root element of this widget.
177
+ * Set `null` value to attribute to remove it.
178
+ * ...
179
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-elementAttributes)
180
+ */
181
+ elementAttributes? : Record<string, string|null>
182
+ extraData? : any
183
+ /**
184
+ * When this widget is a child of a [Container](https://bryntum.com/products/taskboard/docs/api/Core/widget/Container), it will by default be participating in a
185
+ * flexbox layout. This config allows you to set this widget's
186
+ * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.
187
+ * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.
188
+ * numeric-only values are interpreted as the `flex-grow` value.
189
+ */
190
+ flex? : number|string
191
+ /**
192
+ * Set to `true` to move the widget out of the document flow and position it
193
+ * absolutely in browser viewport space.
194
+ */
195
+ floating? : boolean
196
+ /**
197
+ * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,
198
+ * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some
199
+ * cases this config is convenient.
200
+ */
201
+ height? : string|number
202
+ /**
203
+ * Configure with true to make widget initially hidden.
204
+ */
205
+ hidden? : boolean
206
+ /**
207
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-floating).*
208
+ * ...
209
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-hideAnimation)
210
+ */
211
+ hideAnimation? : boolean|object
212
+ /**
213
+ * If provided, turns the button into a link.
214
+ * ...
215
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-href)
216
+ */
217
+ href? : string
218
+ /**
219
+ * The HTML to display initially or a function returning the markup (called at widget construction time).
220
+ * ...
221
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-html)
222
+ * @param {Core.widget.Widget} widget The calling Widget
223
+ * @returns {string}
224
+ */
225
+ html? : string|((widget: Widget) => string)|DomConfig|DomConfig[]|VueConfig
226
+ /**
227
+ * The CSS class(es) to add when HTML content is being applied to this widget.
228
+ */
229
+ htmlCls? : string|object
230
+ /**
231
+ * Button icon class, a developer-defined CSS class string which results in the desired icon.
232
+ * ...
233
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-icon)
234
+ */
235
+ icon? : string
236
+ /**
237
+ * Button icon alignment. May be `'start'` or `'end'`. Defaults to `'start'`
238
+ */
239
+ iconAlign? : 'start'|'end'
240
+ /**
241
+ * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById
242
+ */
243
+ id? : string
244
+ /**
245
+ * Determines if the widgets read-only state should be controlled by its parent.
246
+ * ...
247
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-ignoreParentReadOnly)
248
+ */
249
+ ignoreParentReadOnly? : boolean
250
+ /**
251
+ * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
252
+ */
253
+ insertBefore? : HTMLElement|string
254
+ /**
255
+ * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
256
+ */
257
+ insertFirst? : HTMLElement|string
258
+ /**
259
+ * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
260
+ * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
261
+ * are the name of the instance method to call when the keystroke is received.
262
+ * ...
263
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-keyMap)
264
+ */
265
+ keyMap? : Record<string, KeyMapConfig>
266
+ /**
267
+ * The listener set for this object.
268
+ * ...
269
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-listeners)
270
+ */
271
+ listeners? : ColumnScrollButtonListeners
272
+ /**
273
+ * A class translations of which are used for translating this entity.
274
+ * This is often used when translations of an item are defined on its container class.
275
+ * For example:
276
+ * ...
277
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-localeClass)
278
+ */
279
+ localeClass? : typeof Base
280
+ /**
281
+ * Set to `false` to disable localization of this object.
282
+ */
283
+ localizable? : boolean
284
+ /**
285
+ * List of properties which values should be translated automatically upon a locale applying.
286
+ * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
287
+ * you could use 'localeKey' meta configuration.
288
+ * Example:
289
+ * ...
290
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-localizableProperties)
291
+ */
292
+ localizableProperties? : string[]
293
+ /**
294
+ * Widget's margin. This may be configured as a single number or a `TRBL` format string.
295
+ * numeric-only values are interpreted as pixels.
296
+ */
297
+ margin? : number|string
298
+ /**
299
+ * This config object contains the defaults for the [Mask](https://bryntum.com/products/taskboard/docs/api/Core/widget/Mask) created for the
300
+ * [masked](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these
301
+ * values.
302
+ */
303
+ maskDefaults? : MaskConfig
304
+ /**
305
+ * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a
306
+ * [Mask](https://bryntum.com/products/taskboard/docs/api/Core/widget/Mask) config object.
307
+ */
308
+ masked? : boolean|string|MaskConfig
309
+ /**
310
+ * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that
311
+ * like [height](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
312
+ */
313
+ maxHeight? : string|number
314
+ /**
315
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-floating).*
316
+ * ...
317
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-maximizeOnMobile)
318
+ */
319
+ maximizeOnMobile? : number|string
320
+ /**
321
+ * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that
322
+ * like [width](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
323
+ */
324
+ maxWidth? : string|number
325
+ /**
326
+ * A submenu configuration object, or an array of MenuItem configuration objects from which to create a
327
+ * submenu which is shown when this button is pressed.
328
+ * ...
329
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-menu)
330
+ */
331
+ menu? : Record<string, MenuItemEntry|TaskBoardContainerItemConfig>|(MenuItemEntry|TaskBoardContainerItemConfig)[]|MenuConfig|PopupConfig
332
+ /**
333
+ * The menu icon class to show when the button has a menu. Set to `null` to not show a menu icon.
334
+ * ...
335
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-menuIcon)
336
+ */
337
+ menuIcon? : string
338
+ /**
339
+ * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that
340
+ * like [height](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.
341
+ */
342
+ minHeight? : string|number
343
+ /**
344
+ * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that
345
+ * like [width](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.
346
+ */
347
+ minWidth? : string|number
348
+ /**
349
+ * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
350
+ * is used to monitor this element for size changes caused by either style manipulation, or by CSS
351
+ * layout.
352
+ * ...
353
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-monitorResize)
354
+ */
355
+ monitorResize? : boolean|{
356
+ immediate?: boolean
357
+ }
358
+ /**
359
+ * The owning Widget of this Widget. If this Widget is directly contained (that is, it is one of the
360
+ * [items](https://bryntum.com/products/taskboard/docs/api/Core/widget/Container#property-items) of a Container), this config will be ignored. In this case
361
+ * the owner is <strong>always</strong> the encapsulating Container.
362
+ * ...
363
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-owner)
364
+ */
365
+ owner? : Widget|any
366
+ /**
367
+ * Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#property-contentElement), but must
368
+ * not participate in the standard layout of that widget, and must be positioned relatively to that
369
+ * widget's [contentElement](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#property-contentElement).
370
+ * ...
371
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-positioned)
372
+ */
373
+ positioned? : boolean
374
+ /**
375
+ * Initially pressed or not. Only applies with `toggleable = true`.
376
+ * ...
377
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-pressed)
378
+ */
379
+ pressed? : boolean
380
+ /**
381
+ * A CSS class to add to the pressed state of the button. A `b-pressed` CSS class is always added,
382
+ * when a button is pressed.
383
+ */
384
+ pressedCls? : string
385
+ /**
386
+ * Icon class for the buttons pressed state, a developer-defined CSS class string which results in the
387
+ * desired icon. Only applies to toggle buttons
388
+ * ...
389
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-pressedIcon)
390
+ */
391
+ pressedIcon? : string
392
+ /**
393
+ * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a
394
+ * menu on click etc, since the tooltip would be displayed at the same time.
395
+ */
396
+ preventTooltipOnTouch? : boolean
397
+ /**
398
+ * Whether this widget is read-only. This is only valid if the widget is an input
399
+ * field, <strong>or contains input fields at any depth</strong>.
400
+ * ...
401
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-readOnly)
402
+ */
403
+ readOnly? : boolean
404
+ relayStoreEvents? : boolean
405
+ /**
406
+ * Predefined style to use for the button. Possible values are:
407
+ * ...
408
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-rendition)
409
+ */
410
+ rendition? : 'elevated'|'filled'|'tonal'|'outlined'|'text'|string
411
+ /**
412
+ * Configure as `true` to have the component display a translucent ripple when its
413
+ * [focusElement](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the
414
+ * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
415
+ * ...
416
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-ripple)
417
+ */
418
+ ripple? : boolean|{
419
+ delegate?: string
420
+ color?: string
421
+ radius?: number
422
+ clip?: string
423
+ }
424
+ /**
425
+ * 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`
426
+ */
427
+ rootElement? : ShadowRoot|HTMLElement
428
+ /**
429
+ * This may be configured as `true` to make the widget's element use the `direction:rtl` style.
430
+ * ...
431
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-rtl)
432
+ */
433
+ rtl? : boolean
434
+ /**
435
+ * Specifies whether (and optionally in which axes) a Widget may scroll. `true` means this widget may scroll
436
+ * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
437
+ * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
438
+ * CSS overflow properties thus:
439
+ * ...
440
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-scrollable)
441
+ */
442
+ scrollable? : boolean|ScrollerConfig|Scroller
443
+ /**
444
+ * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
445
+ * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
446
+ */
447
+ scrollAction? : 'hide'|'realign'|null
448
+ /**
449
+ * *Only valid if this Widget is [floating](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-floating).*
450
+ * ...
451
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-showAnimation)
452
+ */
453
+ showAnimation? : boolean|object
454
+ /**
455
+ * Set to `false` to not show the tooltip when this widget is [disabled](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#property-disabled)
456
+ */
457
+ showTooltipWhenDisabled? : boolean
458
+ /**
459
+ * Programmatic control over how many columns to span when used in a grid layout.
460
+ */
461
+ span? : number
462
+ /**
463
+ * Set to `true` to create a split button. A split button has a main action and a dropdown arrow to show a menu.
464
+ * ...
465
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-split)
466
+ */
467
+ split? : boolean|'mouseover'|'hover'
468
+ /**
469
+ * Set to `true` to perform action on clicking the button if it's already pressed
470
+ * and belongs to a [toggleGroup](https://bryntum.com/products/taskboard/docs/api/Core/widget/Button#config-toggleGroup).
471
+ */
472
+ supportsPressedClick? : boolean
473
+ /**
474
+ * A configuration for the [tab](https://bryntum.com/products/taskboard/docs/api/Core/widget/Tab) created for this widget when it is placed in a
475
+ * [TabPanel](https://bryntum.com/products/taskboard/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for
476
+ * this widget:
477
+ * ...
478
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-tab)
479
+ */
480
+ tab? : boolean|TabConfig
481
+ /**
482
+ * The tab index of the button, or `null` for natural tab order (recommended). Setting to `0` is equivalent
483
+ * to natural tab order, but is unnecessary for buttons since they are naturally tabbable (i.e., accessible
484
+ * via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set to the element
485
+ * programmatically.
486
+ * ...
487
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-tabIndex)
488
+ */
489
+ tabIndex? : number
490
+ /**
491
+ * The tag name of this Widget's root element
492
+ */
493
+ tag? : string
494
+ /**
495
+ * The `target` attribute for the [href](https://bryntum.com/products/taskboard/docs/api/Core/widget/Button#config-href) config
496
+ */
497
+ target? : string
498
+ /**
499
+ * Auto detected when used within a TaskBoard. If you add the widget elsewhere, it will try to find an instance
500
+ * of TaskBoard on page. If that fails you have to supply this config to connect it to a TaskBoard manually.
501
+ * ...
502
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-taskBoard)
503
+ */
504
+ taskBoard? : TaskBoard
505
+ /**
506
+ * The button's text. You can also supply a [DomConfig](https://bryntum.com/products/taskboard/docs/api/Core/helper/DomHelper#typedef-DomConfig) or an array of DomConfigs for complex button
507
+ * content.
508
+ */
509
+ text? : string|DomConfig|DomConfig[]
510
+ /**
511
+ * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
512
+ * ...
513
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-textAlign)
514
+ */
515
+ textAlign? : 'left'|'center'|'right'|'start'|'end'
516
+ /**
517
+ * A title to display for the widget. Only in effect when inside a container that uses it (such as TabPanel)
518
+ */
519
+ title? : string
520
+ /**
521
+ * Enabled toggling of the button (stays pressed when pressed).
522
+ */
523
+ toggleable? : boolean
524
+ /**
525
+ * Indicates that this button is part of a group where only one button can be pressed. Assigning a value
526
+ * also sets `toggleable` to `true`.
527
+ * ...
528
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-toggleGroup)
529
+ */
530
+ toggleGroup? : string
531
+ /**
532
+ * Tooltip for the widget, either as a string or as a Tooltip config object.
533
+ * ...
534
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-tooltip)
535
+ */
536
+ tooltip? : string|TooltipConfig|null
537
+ type? : 'columnScrollButton'|'columnscrollbutton'
538
+ /**
539
+ * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
540
+ * as a space separated string, an array of strings, or as an object in which property names with truthy
541
+ * values are used as the class names.
542
+ * ...
543
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-ui)
544
+ */
545
+ ui? : string|object
546
+ /**
547
+ * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/taskboard/docs/api/Core/widget/Container).
548
+ * Higher weights go further down.
549
+ */
550
+ weight? : number
551
+ /**
552
+ * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which
553
+ * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases
554
+ * this config is convenient.
555
+ */
556
+ width? : string|number
557
+ /**
558
+ * The x position for the widget.
559
+ * ...
560
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-x)
561
+ */
562
+ x? : number
563
+ /**
564
+ * The y position for the widget.
565
+ * ...
566
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#config-y)
567
+ */
568
+ y? : number
569
+
570
+ // Events
571
+ /**
572
+ * Fires when the default action is performed (the button is clicked)
573
+ * @param {object} event Event object
574
+ * @param {Core.widget.Button} event.source The button
575
+ * @param {Event} event.event DEPRECATED - Use domEvent instead.
576
+ * @param {Event} event.domEvent The triggering DOM event. Using the `pointerType` property of this event can help determine if it was a mouse, touch or pen action.
577
+ */
578
+ onAction? : ((event: { source: Button, event: Event, domEvent: Event }) => void)|string
579
+ /**
580
+ * Fires before an object is destroyed.
581
+ * @param {object} event Event object
582
+ * @param {Core.Base} event.source The Object that is being destroyed.
583
+ */
584
+ onBeforeDestroy? : ((event: { source: Base }) => void)|string
585
+ /**
586
+ * Triggered before a widget is hidden. Return `false` to prevent the action.
587
+ * @param {object} event Event object
588
+ * @param {Core.widget.Widget} event.source The widget being hidden.
589
+ */
590
+ onBeforeHide? : ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string
591
+ /**
592
+ * Triggered before a widget is shown. Return `false` to prevent the action.
593
+ * @param {object} event Event object
594
+ * @param {Core.widget.Widget,any} event.source The widget being shown
595
+ */
596
+ onBeforeShow? : ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string
597
+ /**
598
+ * This event is triggered when the button's menu is about to be shown.
599
+ * @param {object} event Event object
600
+ * @param {Core.widget.Button} event.source This Button instance.
601
+ * @param {Core.widget.Menu} event.menu This button's menu instance.
602
+ * @param {boolean} event.userAction `true` if the toggle was triggered by a user action (click), `false` if it was triggered programmatically.
603
+ * @param {Event} event.domEvent The original DOM event that triggered the action, if any. Using the `pointerType` property of this event can help determine if it was a mouse, touch or pen action.
604
+ */
605
+ onBeforeShowMenu? : ((event: { source: Button, menu: Menu, userAction: boolean, domEvent: Event }) => Promise<boolean>|boolean|void)|string
606
+ /**
607
+ * Fires before the button is toggled (the [pressed](https://bryntum.com/products/taskboard/docs/api/Core/widget/Button#property-pressed) state is changed). If the button is part of
608
+ * a [toggleGroup](https://bryntum.com/products/taskboard/docs/api/Core/widget/Button#config-toggleGroup) and you need to process the pressed button only, consider using
609
+ * [click](https://bryntum.com/products/taskboard/docs/api/Core/widget/Button#event-click) event or [action](#Core/widget/Button#event-action) event.
610
+ * Return `false` to prevent the toggle to the new pressed state.
611
+ * @param {object} event Event object
612
+ * @param {Core.widget.Button} event.source Toggled button
613
+ * @param {boolean} event.pressed New pressed state
614
+ * @param {boolean} event.userAction `true` if the toggle was triggered by a user action (click), `false` if it was triggered programmatically.
615
+ * @param {Event} event.domEvent The original DOM event that triggered the action, if any. Using the `pointerType` property of this event can help determine if it was a mouse, touch or pen action.
616
+ */
617
+ onBeforeToggle? : ((event: { source: Button, pressed: boolean, userAction: boolean, domEvent: Event }) => Promise<boolean>|boolean|void)|string
618
+ /**
619
+ * Fires when any other event is fired from the object.
620
+ * ...
621
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#event-catchAll)
622
+ * @param {object} event Event object
623
+ * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
624
+ * @param {string} event.event.type The type of the event which is caught by the listener
625
+ */
626
+ onCatchAll? : ((event: {[key: string]: any, type: string}) => void)|string
627
+ /**
628
+ * Fires when the button is clicked
629
+ * @param {object} event Event object
630
+ * @param {Core.widget.Button} event.source The button
631
+ * @param {Event} event.event DEPRECATED - Use domEvent instead.
632
+ * @param {Event} event.domEvent The triggering DOM event. Using the `pointerType` property of this event can help determine if it was a mouse, touch or pen action.
633
+ */
634
+ onClick? : ((event: { source: Button, event: Event, domEvent: Event }) => void)|string
635
+ /**
636
+ * Fires when an object is destroyed.
637
+ * @param {object} event Event object
638
+ * @param {Core.Base} event.source The Object that is being destroyed.
639
+ */
640
+ onDestroy? : ((event: { source: Base }) => void)|string
641
+ /**
642
+ * Triggered when a widget's [element](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#property-element) is available.
643
+ * @param {object} event Event object
644
+ * @param {HTMLElement} event.element The Widget's element.
645
+ */
646
+ onElementCreated? : ((event: { element: HTMLElement }) => void)|string
647
+ /**
648
+ * Fired when focus enters this Widget.
649
+ * @param {object} event Event object
650
+ * @param {Core.widget.Widget} event.source This Widget
651
+ * @param {HTMLElement} event.fromElement The element which lost focus.
652
+ * @param {HTMLElement} event.toElement The element which gained focus.
653
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
654
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
655
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
656
+ */
657
+ onFocusIn? : ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string
658
+ /**
659
+ * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.
660
+ * focus moving from within this Widget's ownership tree, even if there are floating widgets
661
+ * will not trigger this event. This is when focus exits this widget completely.
662
+ * @param {object} event Event object
663
+ * @param {Core.widget.Widget} event.source This Widget
664
+ * @param {HTMLElement} event.fromElement The element which lost focus.
665
+ * @param {HTMLElement} event.toElement The element which gained focus.
666
+ * @param {Core.widget.Widget} event.fromWidget The widget which lost focus.
667
+ * @param {Core.widget.Widget} event.toWidget The widget which gained focus.
668
+ * @param {boolean} event.backwards `true` if the `toElement` is before the `fromElement` in document order.
669
+ */
670
+ onFocusOut? : ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string
671
+ /**
672
+ * Triggered after a widget was hidden
673
+ * @param {object} event Event object
674
+ * @param {Core.widget.Widget} event.source The widget
675
+ */
676
+ onHide? : ((event: { source: Widget }) => void)|string
677
+ /**
678
+ * Triggered when a widget which had been in a non-visible state for any reason
679
+ * achieves visibility.
680
+ * ...
681
+ * [View online docs...](https://bryntum.com/products/taskboard/docs/api/TaskBoard/widget/ColumnScrollButton#event-paint)
682
+ * @param {object} event Event object
683
+ * @param {Core.widget.Widget} event.source The widget being painted.
684
+ * @param {boolean} event.firstPaint `true` if this is the first paint.
685
+ */
686
+ onPaint? : ((event: { source: Widget, firstPaint: boolean }) => void)|string
687
+ /**
688
+ * Fired when a Widget's read only state is toggled
689
+ * @param {object} event Event object
690
+ * @param {boolean} event.readOnly Read only or not
691
+ */
692
+ onReadOnly? : ((event: { readOnly: boolean }) => void)|string
693
+ /**
694
+ * This event is fired after a widget's elements have been synchronized due to a direct or indirect call
695
+ * to [recompose](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#function-recompose), if this results in some change to the widget's rendered DOM elements.
696
+ */
697
+ onRecompose? : (() => void)|string
698
+ /**
699
+ * Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/taskboard/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
700
+ * @param {object} event Event object
701
+ * @param {Core.widget.Widget} event.source This Widget
702
+ * @param {number} event.width The new width
703
+ * @param {number} event.height The new height
704
+ * @param {number} event.oldWidth The old width
705
+ * @param {number} event.oldHeight The old height
706
+ */
707
+ onResize? : ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string
708
+ /**
709
+ * Triggered after a widget is shown.
710
+ * @param {object} event Event object
711
+ * @param {Core.widget.Widget} event.source The widget
712
+ */
713
+ onShow? : ((event: { source: Widget }) => void)|string
714
+ /**
715
+ * Fires when the button is toggled via a UI interaction (the [pressed](https://bryntum.com/products/taskboard/docs/api/Core/widget/Button#property-pressed) state is changed). If the button is part of a
716
+ * [toggleGroup](https://bryntum.com/products/taskboard/docs/api/Core/widget/Button#config-toggleGroup) and you need to process the pressed button only, consider using
717
+ * [click](https://bryntum.com/products/taskboard/docs/api/Core/widget/Button#event-click) event or [action](#Core/widget/Button#event-action) event.
718
+ * @param {object} event Event object
719
+ * @param {Core.widget.Button} event.source Toggled button
720
+ * @param {boolean} event.pressed New pressed state
721
+ * @param {boolean} event.userAction `true` if the toggle was triggered by a user action (click), `false` if it was triggered programmatically.
722
+ * @param {Event} event.domEvent The original DOM event that triggered the action, if any. Using the `pointerType` property of this event can help determine if it was a mouse, touch or pen action.
723
+ */
724
+ onToggle? : ((event: { source: Button, pressed: boolean, userAction: boolean, domEvent: Event }) => void)|string
725
+
726
+ }
727
+
728
+ export class BryntumColumnScrollButton extends React.Component<BryntumColumnScrollButtonProps> {
729
+
730
+ static instanceClass = ColumnScrollButton;
731
+
732
+ static instanceName = 'ColumnScrollButton';
733
+
734
+ processWidgetContent = processWidgetContent;
735
+
736
+ static configNames = [
737
+ 'adopt',
738
+ 'align',
739
+ 'anchor',
740
+ 'ariaDescription',
741
+ 'ariaLabel',
742
+ 'bubbleEvents',
743
+ 'centered',
744
+ 'color',
745
+ 'config',
746
+ 'constrainTo',
747
+ 'contentElementCls',
748
+ 'dataField',
749
+ 'defaultBindProperty',
750
+ 'detectCSSCompatibilityIssues',
751
+ 'dock',
752
+ 'draggable',
753
+ 'elementAttributes',
754
+ 'floating',
755
+ 'hideAnimation',
756
+ 'htmlCls',
757
+ 'ignoreParentReadOnly',
758
+ 'listeners',
759
+ 'localeClass',
760
+ 'localizable',
761
+ 'localizableProperties',
762
+ 'maskDefaults',
763
+ 'masked',
764
+ 'monitorResize',
765
+ 'owner',
766
+ 'positioned',
767
+ 'preventTooltipOnTouch',
768
+ 'relayStoreEvents',
769
+ 'ripple',
770
+ 'rootElement',
771
+ 'scrollAction',
772
+ 'showAnimation',
773
+ 'showTooltipWhenDisabled',
774
+ 'supportsPressedClick',
775
+ 'tab',
776
+ 'tag',
777
+ 'taskBoard',
778
+ 'textAlign',
779
+ 'title',
780
+ 'type',
781
+ 'ui',
782
+ 'weight'
783
+ ];
784
+
785
+ static propertyConfigNames = [
786
+ 'alignSelf',
787
+ 'appendTo',
788
+ 'badge',
789
+ 'behaviorType',
790
+ 'callOnFunctions',
791
+ 'catchEventHandlerExceptions',
792
+ 'cls',
793
+ 'column',
794
+ 'content',
795
+ 'dataset',
796
+ 'disabled',
797
+ 'extraData',
798
+ 'flex',
799
+ 'height',
800
+ 'hidden',
801
+ 'href',
802
+ 'html',
803
+ 'icon',
804
+ 'iconAlign',
805
+ 'id',
806
+ 'insertBefore',
807
+ 'insertFirst',
808
+ 'keyMap',
809
+ 'margin',
810
+ 'maxHeight',
811
+ 'maximizeOnMobile',
812
+ 'maxWidth',
813
+ 'menu',
814
+ 'menuIcon',
815
+ 'minHeight',
816
+ 'minWidth',
817
+ 'onAction',
818
+ 'onBeforeDestroy',
819
+ 'onBeforeHide',
820
+ 'onBeforeShow',
821
+ 'onBeforeShowMenu',
822
+ 'onBeforeToggle',
823
+ 'onCatchAll',
824
+ 'onClick',
825
+ 'onDestroy',
826
+ 'onElementCreated',
827
+ 'onFocusIn',
828
+ 'onFocusOut',
829
+ 'onHide',
830
+ 'onPaint',
831
+ 'onReadOnly',
832
+ 'onRecompose',
833
+ 'onResize',
834
+ 'onShow',
835
+ 'onToggle',
836
+ 'pressed',
837
+ 'pressedCls',
838
+ 'pressedIcon',
839
+ 'readOnly',
840
+ 'rendition',
841
+ 'rtl',
842
+ 'scrollable',
843
+ 'span',
844
+ 'split',
845
+ 'tabIndex',
846
+ 'target',
847
+ 'text',
848
+ 'toggleable',
849
+ 'toggleGroup',
850
+ 'tooltip',
851
+ 'width',
852
+ 'x',
853
+ 'y'
854
+ ];
855
+
856
+ static propertyNames = [
857
+ 'anchorSize',
858
+ 'focusVisible',
859
+ 'parent'
860
+ ];
861
+
862
+ // Component instance
863
+ instance!: ColumnScrollButton;
864
+
865
+ // Component element
866
+ element! : HTMLElement;
867
+
868
+ componentDidMount(): void {
869
+ this.instance = createWidget(this);
870
+ }
871
+
872
+ componentWillUnmount(): void {
873
+ // @ts-ignore
874
+ this.instance?.destroy?.();
875
+ }
876
+
877
+ /**
878
+ * Component about to be updated, from changing a prop using state.
879
+ * React to it depending on what changed and prevent react from re-rendering our component.
880
+ * @param nextProps
881
+ * @param nextState
882
+ * @returns {boolean}
883
+ */
884
+ shouldComponentUpdate(nextProps: Readonly<BryntumColumnScrollButtonProps>, nextState: Readonly<{}>): boolean {
885
+ return shouldComponentUpdate(this, nextProps, nextState);
886
+ }
887
+
888
+ render(): React.ReactNode {
889
+
890
+ const className = `b-react-column-scroll-button-container`;
891
+ return (
892
+ <div className={className} ref={(element) => (this.element = element!)}></div>
893
+ );
894
+
895
+ }
896
+ }