@bryntum/core-react-thin 7.2.4 → 7.3.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.
- package/lib/BryntumBooleanCombo.d.ts +262 -0
- package/lib/BryntumBooleanCombo.js +205 -0
- package/lib/BryntumBooleanCombo.js.map +1 -0
- package/lib/BryntumButton.d.ts +9 -17
- package/lib/BryntumButton.js +1 -2
- package/lib/BryntumButton.js.map +1 -1
- package/lib/BryntumButtonGroup.d.ts +9 -16
- package/lib/BryntumButtonGroup.js +2 -5
- package/lib/BryntumButtonGroup.js.map +1 -1
- package/lib/BryntumChatPanel.d.ts +19 -23
- package/lib/BryntumChatPanel.js +7 -6
- package/lib/BryntumChatPanel.js.map +1 -1
- package/lib/BryntumCheckbox.d.ts +10 -17
- package/lib/BryntumCheckbox.js +2 -2
- package/lib/BryntumCheckbox.js.map +1 -1
- package/lib/BryntumCheckboxGroup.d.ts +12 -24
- package/lib/BryntumCheckboxGroup.js +2 -6
- package/lib/BryntumCheckboxGroup.js.map +1 -1
- package/lib/BryntumChipView.d.ts +8 -16
- package/lib/BryntumChipView.js +1 -2
- package/lib/BryntumChipView.js.map +1 -1
- package/lib/BryntumCodeEditor.d.ts +12 -23
- package/lib/BryntumCodeEditor.js +2 -5
- package/lib/BryntumCodeEditor.js.map +1 -1
- package/lib/BryntumColorField.d.ts +9 -16
- package/lib/BryntumColorField.js +2 -2
- package/lib/BryntumColorField.js.map +1 -1
- package/lib/BryntumCombo.d.ts +12 -19
- package/lib/BryntumCombo.js +2 -2
- package/lib/BryntumCombo.js.map +1 -1
- package/lib/BryntumContainer.d.ts +8 -15
- package/lib/BryntumContainer.js +2 -5
- package/lib/BryntumContainer.js.map +1 -1
- package/lib/BryntumDateField.d.ts +9 -16
- package/lib/BryntumDateField.js +2 -2
- package/lib/BryntumDateField.js.map +1 -1
- package/lib/BryntumDatePicker.d.ts +12 -23
- package/lib/BryntumDatePicker.js +2 -5
- package/lib/BryntumDatePicker.js.map +1 -1
- package/lib/BryntumDateRangeField.d.ts +12 -19
- package/lib/BryntumDateRangeField.js +2 -2
- package/lib/BryntumDateRangeField.js.map +1 -1
- package/lib/BryntumDateTimeField.d.ts +9 -16
- package/lib/BryntumDateTimeField.js +2 -2
- package/lib/BryntumDateTimeField.js.map +1 -1
- package/lib/BryntumDemoCodeEditor.d.ts +12 -23
- package/lib/BryntumDemoCodeEditor.js +2 -5
- package/lib/BryntumDemoCodeEditor.js.map +1 -1
- package/lib/BryntumDisplayField.d.ts +9 -16
- package/lib/BryntumDisplayField.js +2 -2
- package/lib/BryntumDisplayField.js.map +1 -1
- package/lib/BryntumDurationField.d.ts +9 -16
- package/lib/BryntumDurationField.js +2 -2
- package/lib/BryntumDurationField.js.map +1 -1
- package/lib/BryntumEditor.d.ts +14 -24
- package/lib/BryntumEditor.js +2 -5
- package/lib/BryntumEditor.js.map +1 -1
- package/lib/BryntumFieldFilterPicker.d.ts +8 -15
- package/lib/BryntumFieldFilterPicker.js +2 -5
- package/lib/BryntumFieldFilterPicker.js.map +1 -1
- package/lib/BryntumFieldFilterPickerGroup.d.ts +9 -16
- package/lib/BryntumFieldFilterPickerGroup.js +2 -5
- package/lib/BryntumFieldFilterPickerGroup.js.map +1 -1
- package/lib/BryntumFieldSet.d.ts +12 -24
- package/lib/BryntumFieldSet.js +2 -6
- package/lib/BryntumFieldSet.js.map +1 -1
- package/lib/BryntumFileField.d.ts +9 -16
- package/lib/BryntumFileField.js +2 -2
- package/lib/BryntumFileField.js.map +1 -1
- package/lib/BryntumFilePicker.d.ts +8 -15
- package/lib/BryntumFilePicker.js +2 -5
- package/lib/BryntumFilePicker.js.map +1 -1
- package/lib/BryntumFilterField.d.ts +9 -16
- package/lib/BryntumFilterField.js +2 -2
- package/lib/BryntumFilterField.js.map +1 -1
- package/lib/BryntumHint.d.ts +24 -33
- package/lib/BryntumHint.js +2 -5
- package/lib/BryntumHint.js.map +1 -1
- package/lib/BryntumLabel.d.ts +7 -15
- package/lib/BryntumLabel.js +1 -2
- package/lib/BryntumLabel.js.map +1 -1
- package/lib/BryntumList.d.ts +8 -16
- package/lib/BryntumList.js +1 -2
- package/lib/BryntumList.js.map +1 -1
- package/lib/BryntumMenu.d.ts +23 -28
- package/lib/BryntumMenu.js +2 -6
- package/lib/BryntumMenu.js.map +1 -1
- package/lib/BryntumMonthPicker.d.ts +12 -23
- package/lib/BryntumMonthPicker.js +2 -5
- package/lib/BryntumMonthPicker.js.map +1 -1
- package/lib/BryntumNumberField.d.ts +9 -16
- package/lib/BryntumNumberField.js +2 -2
- package/lib/BryntumNumberField.js.map +1 -1
- package/lib/BryntumPagingToolbar.d.ts +12 -19
- package/lib/BryntumPagingToolbar.js +2 -5
- package/lib/BryntumPagingToolbar.js.map +1 -1
- package/lib/BryntumPanel.d.ts +12 -23
- package/lib/BryntumPanel.js +2 -5
- package/lib/BryntumPanel.js.map +1 -1
- package/lib/BryntumPasswordField.d.ts +9 -16
- package/lib/BryntumPasswordField.js +2 -2
- package/lib/BryntumPasswordField.js.map +1 -1
- package/lib/BryntumProgressBar.d.ts +7 -15
- package/lib/BryntumProgressBar.js +1 -2
- package/lib/BryntumProgressBar.js.map +1 -1
- package/lib/BryntumRadio.d.ts +10 -17
- package/lib/BryntumRadio.js +2 -2
- package/lib/BryntumRadio.js.map +1 -1
- package/lib/BryntumRadioGroup.d.ts +12 -24
- package/lib/BryntumRadioGroup.js +2 -6
- package/lib/BryntumRadioGroup.js.map +1 -1
- package/lib/BryntumSlideToggle.d.ts +10 -17
- package/lib/BryntumSlideToggle.js +2 -2
- package/lib/BryntumSlideToggle.js.map +1 -1
- package/lib/BryntumSlider.d.ts +8 -15
- package/lib/BryntumSlider.js +2 -2
- package/lib/BryntumSlider.js.map +1 -1
- package/lib/BryntumSplitter.d.ts +7 -15
- package/lib/BryntumSplitter.js +1 -2
- package/lib/BryntumSplitter.js.map +1 -1
- package/lib/BryntumTabPanel.d.ts +13 -24
- package/lib/BryntumTabPanel.js +2 -5
- package/lib/BryntumTabPanel.js.map +1 -1
- package/lib/BryntumTextAreaField.d.ts +10 -16
- package/lib/BryntumTextAreaField.js +3 -2
- package/lib/BryntumTextAreaField.js.map +1 -1
- package/lib/BryntumTextAreaPickerField.d.ts +10 -17
- package/lib/BryntumTextAreaPickerField.js +2 -2
- package/lib/BryntumTextAreaPickerField.js.map +1 -1
- package/lib/BryntumTextField.d.ts +9 -16
- package/lib/BryntumTextField.js +2 -2
- package/lib/BryntumTextField.js.map +1 -1
- package/lib/BryntumTimeField.d.ts +10 -17
- package/lib/BryntumTimeField.js +2 -2
- package/lib/BryntumTimeField.js.map +1 -1
- package/lib/BryntumTimePicker.d.ts +8 -15
- package/lib/BryntumTimePicker.js +2 -5
- package/lib/BryntumTimePicker.js.map +1 -1
- package/lib/BryntumToolbar.d.ts +12 -19
- package/lib/BryntumToolbar.js +2 -5
- package/lib/BryntumToolbar.js.map +1 -1
- package/lib/BryntumWidget.d.ts +7 -15
- package/lib/BryntumWidget.js +1 -2
- package/lib/BryntumWidget.js.map +1 -1
- package/lib/BryntumYearPicker.d.ts +12 -23
- package/lib/BryntumYearPicker.js +2 -5
- package/lib/BryntumYearPicker.js.map +1 -1
- package/lib/WrapperHelper.js +2 -2
- package/lib/WrapperHelper.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/BryntumBooleanCombo.tsx +1190 -0
- package/src/BryntumButton.tsx +72 -118
- package/src/BryntumButtonGroup.tsx +79 -124
- package/src/BryntumChatPanel.tsx +142 -172
- package/src/BryntumCheckbox.tsx +85 -119
- package/src/BryntumCheckboxGroup.tsx +112 -182
- package/src/BryntumChipView.tsx +67 -107
- package/src/BryntumCodeEditor.tsx +109 -170
- package/src/BryntumColorField.tsx +84 -118
- package/src/BryntumCombo.tsx +103 -153
- package/src/BryntumContainer.tsx +79 -125
- package/src/BryntumDateField.tsx +91 -124
- package/src/BryntumDatePicker.tsx +122 -196
- package/src/BryntumDateRangeField.tsx +90 -127
- package/src/BryntumDateTimeField.tsx +84 -118
- package/src/BryntumDemoCodeEditor.tsx +109 -170
- package/src/BryntumDisplayField.tsx +85 -120
- package/src/BryntumDurationField.tsx +91 -126
- package/src/BryntumEditor.tsx +95 -145
- package/src/BryntumFieldFilterPicker.tsx +81 -129
- package/src/BryntumFieldFilterPickerGroup.tsx +84 -134
- package/src/BryntumFieldSet.tsx +108 -175
- package/src/BryntumFileField.tsx +84 -118
- package/src/BryntumFilePicker.tsx +79 -125
- package/src/BryntumFilterField.tsx +87 -124
- package/src/BryntumHint.tsx +136 -193
- package/src/BryntumLabel.tsx +60 -96
- package/src/BryntumList.tsx +64 -103
- package/src/BryntumMenu.tsx +131 -191
- package/src/BryntumMonthPicker.tsx +109 -170
- package/src/BryntumNumberField.tsx +88 -122
- package/src/BryntumPagingToolbar.tsx +84 -131
- package/src/BryntumPanel.tsx +109 -170
- package/src/BryntumPasswordField.tsx +84 -118
- package/src/BryntumProgressBar.tsx +59 -94
- package/src/BryntumRadio.tsx +85 -119
- package/src/BryntumRadioGroup.tsx +112 -181
- package/src/BryntumSlideToggle.tsx +85 -119
- package/src/BryntumSlider.tsx +68 -102
- package/src/BryntumSplitter.tsx +62 -100
- package/src/BryntumTabPanel.tsx +111 -173
- package/src/BryntumTextAreaField.tsx +92 -120
- package/src/BryntumTextAreaPickerField.tsx +86 -121
- package/src/BryntumTextField.tsx +85 -120
- package/src/BryntumTimeField.tsx +90 -121
- package/src/BryntumTimePicker.tsx +79 -125
- package/src/BryntumToolbar.tsx +84 -131
- package/src/BryntumWidget.tsx +60 -96
- package/src/BryntumYearPicker.tsx +110 -172
- package/src/WrapperHelper.tsx +2 -2
- package/src/index.ts +1 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
5
5
|
import React, { RefObject } from 'react';
|
|
6
|
-
import { AlignSpec, Base, Button, ButtonConfig, ButtonGroup, ButtonGroupListeners, Container, CoreContainerItemConfig, CoreContainerLayoutConfig, DomConfig, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, Model, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
6
|
+
import { AlignSpec, Base, Button, ButtonConfig, ButtonGroup, ButtonGroupListeners, Container, CoreContainerItemConfig, CoreContainerLayoutConfig, DomConfig, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, Model, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
7
7
|
|
|
8
8
|
import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
|
|
9
9
|
|
|
@@ -12,14 +12,12 @@ export type BryntumButtonGroupProps = {
|
|
|
12
12
|
/**
|
|
13
13
|
* Element (or element id) to adopt as this Widget's encapsulating element. The widget's
|
|
14
14
|
* content will be placed inside this element.
|
|
15
|
-
* ...
|
|
16
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-adopt)
|
|
15
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-adopt)
|
|
17
16
|
*/
|
|
18
17
|
adopt? : HTMLElement|string
|
|
19
18
|
/**
|
|
20
19
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
21
|
-
* ...
|
|
22
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-align)
|
|
20
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-align)
|
|
23
21
|
*/
|
|
24
22
|
align? : AlignSpec|string
|
|
25
23
|
/**
|
|
@@ -41,15 +39,13 @@ export type BryntumButtonGroupProps = {
|
|
|
41
39
|
/**
|
|
42
40
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
|
|
43
41
|
* into an element which will be linked using the `aria-describedby` attribute.
|
|
44
|
-
* ...
|
|
45
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-ariaDescription)
|
|
42
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-ariaDescription)
|
|
46
43
|
*/
|
|
47
44
|
ariaDescription? : string
|
|
48
45
|
/**
|
|
49
46
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
|
|
50
47
|
* the `aria-label` attribute.
|
|
51
|
-
* ...
|
|
52
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-ariaLabel)
|
|
48
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-ariaLabel)
|
|
53
49
|
*/
|
|
54
50
|
ariaLabel? : string
|
|
55
51
|
/**
|
|
@@ -63,21 +59,18 @@ export type BryntumButtonGroupProps = {
|
|
|
63
59
|
/**
|
|
64
60
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
65
61
|
* hierarchy when triggered.
|
|
66
|
-
* ...
|
|
67
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-bubbleEvents)
|
|
62
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-bubbleEvents)
|
|
68
63
|
*/
|
|
69
64
|
bubbleEvents? : object
|
|
70
65
|
/**
|
|
71
66
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
72
|
-
* ...
|
|
73
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-callOnFunctions)
|
|
67
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-callOnFunctions)
|
|
74
68
|
*/
|
|
75
69
|
callOnFunctions? : boolean
|
|
76
70
|
/**
|
|
77
71
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
78
72
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
79
|
-
* ...
|
|
80
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-catchEventHandlerExceptions)
|
|
73
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-catchEventHandlerExceptions)
|
|
81
74
|
*/
|
|
82
75
|
catchEventHandlerExceptions? : boolean
|
|
83
76
|
/**
|
|
@@ -87,8 +80,7 @@ export type BryntumButtonGroupProps = {
|
|
|
87
80
|
centered? : boolean
|
|
88
81
|
/**
|
|
89
82
|
* Custom CSS class to add to element.
|
|
90
|
-
* ...
|
|
91
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-cls)
|
|
83
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-cls)
|
|
92
84
|
*/
|
|
93
85
|
cls? : string
|
|
94
86
|
/**
|
|
@@ -117,8 +109,7 @@ export type BryntumButtonGroupProps = {
|
|
|
117
109
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
118
110
|
* May be specified as a space separated string, or as an object in which property names
|
|
119
111
|
* with truthy values are used as the class names:
|
|
120
|
-
* ...
|
|
121
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-contentElementCls)
|
|
112
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-contentElementCls)
|
|
122
113
|
*/
|
|
123
114
|
contentElementCls? : string|object
|
|
124
115
|
/**
|
|
@@ -138,8 +129,7 @@ export type BryntumButtonGroupProps = {
|
|
|
138
129
|
/**
|
|
139
130
|
* A [query](https://bryntum.com/products/core/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
|
|
140
131
|
* focus should be directed by default.
|
|
141
|
-
* ...
|
|
142
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-defaultFocus)
|
|
132
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-defaultFocus)
|
|
143
133
|
* @param {Core.widget.Widget} widget Widget passed to method
|
|
144
134
|
* @returns {boolean} truthy value if widget is the default one
|
|
145
135
|
*/
|
|
@@ -149,16 +139,15 @@ export type BryntumButtonGroupProps = {
|
|
|
149
139
|
*/
|
|
150
140
|
defaults? : CoreContainerItemConfig
|
|
151
141
|
/**
|
|
152
|
-
* Check for CSS compatibility issues
|
|
153
|
-
*
|
|
154
|
-
* [
|
|
142
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
143
|
+
* checks:
|
|
144
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-detectCSSCompatibilityIssues)
|
|
155
145
|
*/
|
|
156
146
|
detectCSSCompatibilityIssues? : boolean
|
|
157
147
|
/**
|
|
158
148
|
* Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget
|
|
159
149
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
160
|
-
* ...
|
|
161
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-disabled)
|
|
150
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-disabled)
|
|
162
151
|
*/
|
|
163
152
|
disabled? : boolean|'inert'
|
|
164
153
|
/**
|
|
@@ -166,25 +155,21 @@ export type BryntumButtonGroupProps = {
|
|
|
166
155
|
* [strips collection](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
167
156
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
168
157
|
* body. Such widgets are called "edge strips".
|
|
169
|
-
* ...
|
|
170
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-dock)
|
|
158
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-dock)
|
|
171
159
|
*/
|
|
172
160
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
173
161
|
/**
|
|
174
162
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
175
163
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
176
164
|
* property which controls when a drag should start.
|
|
177
|
-
* ...
|
|
178
|
-
*
|
|
165
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-draggable)
|
|
166
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
179
167
|
*/
|
|
180
|
-
draggable? : boolean|
|
|
181
|
-
handleSelector?: string
|
|
182
|
-
}
|
|
168
|
+
draggable? : boolean|object
|
|
183
169
|
/**
|
|
184
170
|
* An object specifying attributes to assign to the root element of this widget.
|
|
185
171
|
* Set `null` value to attribute to remove it.
|
|
186
|
-
* ...
|
|
187
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-elementAttributes)
|
|
172
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-elementAttributes)
|
|
188
173
|
*/
|
|
189
174
|
elementAttributes? : Record<string, string|null>
|
|
190
175
|
extraData? : any
|
|
@@ -213,25 +198,21 @@ export type BryntumButtonGroupProps = {
|
|
|
213
198
|
hidden? : boolean
|
|
214
199
|
/**
|
|
215
200
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
216
|
-
* ...
|
|
217
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-hideAnimation)
|
|
201
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-hideAnimation)
|
|
218
202
|
*/
|
|
219
203
|
hideAnimation? : boolean|object
|
|
220
204
|
/**
|
|
221
205
|
* Specify `true` to make this container hide when it has no visible children (Either empty
|
|
222
206
|
* or all children hidden).
|
|
223
|
-
* ...
|
|
224
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-hideWhenEmpty)
|
|
207
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-hideWhenEmpty)
|
|
225
208
|
*/
|
|
226
209
|
hideWhenEmpty? : boolean
|
|
227
210
|
/**
|
|
228
211
|
* The HTML to display initially or a function returning the markup (called at widget construction time).
|
|
229
|
-
* ...
|
|
230
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-html)
|
|
212
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-html)
|
|
231
213
|
* @param {Core.widget.Widget} widget The calling Widget
|
|
232
|
-
* @returns {string}
|
|
233
214
|
*/
|
|
234
|
-
html? : string|((widget: Widget) =>
|
|
215
|
+
html? : string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX
|
|
235
216
|
/**
|
|
236
217
|
* The CSS class(es) to add when HTML content is being applied to this widget.
|
|
237
218
|
*/
|
|
@@ -242,16 +223,14 @@ export type BryntumButtonGroupProps = {
|
|
|
242
223
|
id? : string
|
|
243
224
|
/**
|
|
244
225
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
245
|
-
* ...
|
|
246
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-ignoreParentReadOnly)
|
|
226
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-ignoreParentReadOnly)
|
|
247
227
|
*/
|
|
248
228
|
ignoreParentReadOnly? : boolean
|
|
249
229
|
/**
|
|
250
230
|
* Convenience setting to align input fields of child widgets. By default, the Field input element is
|
|
251
231
|
* placed immediately following the `label`. If you prefer to have all input fields aligned to the
|
|
252
232
|
* right, set this config to `'end'`.
|
|
253
|
-
* ...
|
|
254
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-inputFieldAlign)
|
|
233
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-inputFieldAlign)
|
|
255
234
|
*/
|
|
256
235
|
inputFieldAlign? : 'start'|'end'
|
|
257
236
|
/**
|
|
@@ -274,47 +253,45 @@ export type BryntumButtonGroupProps = {
|
|
|
274
253
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
275
254
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
276
255
|
* are the name of the instance method to call when the keystroke is received.
|
|
277
|
-
* ...
|
|
278
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-keyMap)
|
|
256
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-keyMap)
|
|
279
257
|
*/
|
|
280
258
|
keyMap? : Record<string, KeyMapConfig>
|
|
281
259
|
/**
|
|
282
260
|
* Convenience setting to use same label placement on all child widgets.
|
|
283
|
-
* ...
|
|
284
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-labelPosition)
|
|
261
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-labelPosition)
|
|
285
262
|
*/
|
|
286
263
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
264
|
+
/**
|
|
265
|
+
* Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.
|
|
266
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-labelWidth)
|
|
267
|
+
*/
|
|
268
|
+
labelWidth? : number|null
|
|
287
269
|
/**
|
|
288
270
|
* The short name of a helper class which manages rendering and styling of child items.
|
|
289
|
-
* ...
|
|
290
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-layout)
|
|
271
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-layout)
|
|
291
272
|
*/
|
|
292
273
|
layout? : string|CoreContainerLayoutConfig
|
|
293
274
|
/**
|
|
294
275
|
* The CSS style properties to apply to the [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
295
|
-
* ...
|
|
296
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-layoutStyle)
|
|
276
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-layoutStyle)
|
|
297
277
|
*/
|
|
298
278
|
layoutStyle? : object
|
|
299
279
|
/**
|
|
300
280
|
* An array of [child item](https://bryntum.com/products/core/docs/api/Core/widget/Container#config-items) *config objects* which is to be converted into
|
|
301
281
|
* instances only when this Container is rendered, rather than eagerly at construct time.
|
|
302
|
-
* ...
|
|
303
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-lazyItems)
|
|
282
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-lazyItems)
|
|
304
283
|
*/
|
|
305
284
|
lazyItems? : Record<string, CoreContainerItemConfig>|CoreContainerItemConfig[]|Widget[]
|
|
306
285
|
/**
|
|
307
286
|
* The listener set for this object.
|
|
308
|
-
* ...
|
|
309
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-listeners)
|
|
287
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-listeners)
|
|
310
288
|
*/
|
|
311
289
|
listeners? : ButtonGroupListeners
|
|
312
290
|
/**
|
|
313
291
|
* A class translations of which are used for translating this entity.
|
|
314
292
|
* This is often used when translations of an item are defined on its container class.
|
|
315
293
|
* For example:
|
|
316
|
-
* ...
|
|
317
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-localeClass)
|
|
294
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-localeClass)
|
|
318
295
|
*/
|
|
319
296
|
localeClass? : typeof Base
|
|
320
297
|
/**
|
|
@@ -326,8 +303,7 @@ export type BryntumButtonGroupProps = {
|
|
|
326
303
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
327
304
|
* you could use 'localeKey' meta configuration.
|
|
328
305
|
* Example:
|
|
329
|
-
* ...
|
|
330
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-localizableProperties)
|
|
306
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-localizableProperties)
|
|
331
307
|
*/
|
|
332
308
|
localizableProperties? : string[]
|
|
333
309
|
/**
|
|
@@ -353,8 +329,7 @@ export type BryntumButtonGroupProps = {
|
|
|
353
329
|
maxHeight? : string|number
|
|
354
330
|
/**
|
|
355
331
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
356
|
-
* ...
|
|
357
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-maximizeOnMobile)
|
|
332
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-maximizeOnMobile)
|
|
358
333
|
*/
|
|
359
334
|
maximizeOnMobile? : number|string
|
|
360
335
|
/**
|
|
@@ -376,26 +351,22 @@ export type BryntumButtonGroupProps = {
|
|
|
376
351
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
377
352
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
378
353
|
* layout.
|
|
379
|
-
* ...
|
|
380
|
-
*
|
|
354
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-monitorResize)
|
|
355
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
381
356
|
*/
|
|
382
|
-
monitorResize? : boolean|
|
|
383
|
-
immediate?: boolean
|
|
384
|
-
}
|
|
357
|
+
monitorResize? : boolean|object
|
|
385
358
|
/**
|
|
386
359
|
* An object containing default config objects which may be referenced by name in the [items](https://bryntum.com/products/core/docs/api/Core/widget/Container#config-items)
|
|
387
360
|
* config. For example, a specialized [Menu](https://bryntum.com/products/core/docs/api/Core/widget/Menu) subclass may have a `namedItems` default
|
|
388
361
|
* value defined like this:
|
|
389
|
-
* ...
|
|
390
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-namedItems)
|
|
362
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-namedItems)
|
|
391
363
|
*/
|
|
392
364
|
namedItems? : Record<string, CoreContainerItemConfig>
|
|
393
365
|
/**
|
|
394
366
|
* Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement), but must
|
|
395
367
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
396
368
|
* widget's [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
397
|
-
* ...
|
|
398
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-positioned)
|
|
369
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-positioned)
|
|
399
370
|
*/
|
|
400
371
|
positioned? : boolean
|
|
401
372
|
/**
|
|
@@ -406,44 +377,44 @@ export type BryntumButtonGroupProps = {
|
|
|
406
377
|
/**
|
|
407
378
|
* Whether this widget is read-only. This is only valid if the widget is an input
|
|
408
379
|
* field, <strong>or contains input fields at any depth</strong>.
|
|
409
|
-
* ...
|
|
410
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-readOnly)
|
|
380
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-readOnly)
|
|
411
381
|
*/
|
|
412
382
|
readOnly? : boolean
|
|
413
383
|
/**
|
|
414
384
|
* [Record](https://bryntum.com/products/core/docs/api/Core/data/Model) whose values will be used to populate fields in the container.
|
|
415
|
-
* ...
|
|
416
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-record)
|
|
385
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-record)
|
|
417
386
|
*/
|
|
418
387
|
record? : Model
|
|
419
388
|
relayStoreEvents? : boolean
|
|
420
389
|
/**
|
|
421
390
|
* Predefined style to use for the buttons. Possible values are:
|
|
422
|
-
* ...
|
|
423
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-rendition)
|
|
391
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-rendition)
|
|
424
392
|
*/
|
|
425
393
|
rendition? : 'elevated'|'filled'|'tonal'|'outlined'|'text'|'padded'|'padded-filled'|string
|
|
426
394
|
/**
|
|
427
395
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
428
396
|
* [focusElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the
|
|
429
397
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
430
|
-
* ...
|
|
431
|
-
* [
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
398
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-ripple)
|
|
399
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
400
|
+
* @property {string} [color] A CSS color name or specification.
|
|
401
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
402
|
+
* @property {string} [clip] A string which describes how to clip the ripple if it is not to be clipped to the default element. Either the property of the widget to use as the clipping element, or a selector to allow clipping to the closest matching ancestor to the target element.
|
|
403
|
+
*/
|
|
404
|
+
ripple? : boolean|object
|
|
405
|
+
/**
|
|
406
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
407
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
408
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-role)
|
|
409
|
+
*/
|
|
410
|
+
role? : string
|
|
439
411
|
/**
|
|
440
412
|
* 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`
|
|
441
413
|
*/
|
|
442
414
|
rootElement? : ShadowRoot|HTMLElement
|
|
443
415
|
/**
|
|
444
416
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
445
|
-
* ...
|
|
446
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-rtl)
|
|
417
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-rtl)
|
|
447
418
|
*/
|
|
448
419
|
rtl? : boolean
|
|
449
420
|
/**
|
|
@@ -451,8 +422,7 @@ export type BryntumButtonGroupProps = {
|
|
|
451
422
|
* in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
|
|
452
423
|
* applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
|
|
453
424
|
* CSS overflow properties thus:
|
|
454
|
-
* ...
|
|
455
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-scrollable)
|
|
425
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-scrollable)
|
|
456
426
|
*/
|
|
457
427
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
458
428
|
/**
|
|
@@ -462,8 +432,7 @@ export type BryntumButtonGroupProps = {
|
|
|
462
432
|
scrollAction? : 'hide'|'realign'|null
|
|
463
433
|
/**
|
|
464
434
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
465
|
-
* ...
|
|
466
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-showAnimation)
|
|
435
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-showAnimation)
|
|
467
436
|
*/
|
|
468
437
|
showAnimation? : boolean|object
|
|
469
438
|
/**
|
|
@@ -483,15 +452,13 @@ export type BryntumButtonGroupProps = {
|
|
|
483
452
|
* A configuration for the [tab](https://bryntum.com/products/core/docs/api/Core/widget/Tab) created for this widget when it is placed in a
|
|
484
453
|
* [TabPanel](https://bryntum.com/products/core/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for
|
|
485
454
|
* this widget:
|
|
486
|
-
* ...
|
|
487
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-tab)
|
|
455
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-tab)
|
|
488
456
|
*/
|
|
489
457
|
tab? : boolean|TabConfig
|
|
490
458
|
/**
|
|
491
459
|
* When this container is used as a tab in a TabPanel, these items are added to the
|
|
492
460
|
* [TabBar](https://bryntum.com/products/core/docs/api/Core/widget/TabBar) when this container is the active tab.
|
|
493
|
-
* ...
|
|
494
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-tabBarItems)
|
|
461
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-tabBarItems)
|
|
495
462
|
*/
|
|
496
463
|
tabBarItems? : ToolbarItems[]|Widget[]
|
|
497
464
|
/**
|
|
@@ -500,15 +467,13 @@ export type BryntumButtonGroupProps = {
|
|
|
500
467
|
tag? : string
|
|
501
468
|
/**
|
|
502
469
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
503
|
-
* ...
|
|
504
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-textAlign)
|
|
470
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-textAlign)
|
|
505
471
|
*/
|
|
506
472
|
textAlign? : 'left'|'center'|'right'|'start'|'end'
|
|
507
473
|
/**
|
|
508
474
|
* Specify `true` for a container used to show text markup. It will apply the CSS class `b-text-content`
|
|
509
475
|
* which specifies a default max-width that makes long text more readable.
|
|
510
|
-
* ...
|
|
511
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-textContent)
|
|
476
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-textContent)
|
|
512
477
|
*/
|
|
513
478
|
textContent? : boolean
|
|
514
479
|
/**
|
|
@@ -520,10 +485,9 @@ export type BryntumButtonGroupProps = {
|
|
|
520
485
|
* specified, it is converted to an array using that given value as the maximum and 1 is used as the minimum.
|
|
521
486
|
* If `true` is specified, it is equivalent to `[0, Infinity]`, allowing any buttons to be toggled independently
|
|
522
487
|
* or all buttons to be untoggled.
|
|
523
|
-
* ...
|
|
524
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-toggleable)
|
|
488
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-toggleable)
|
|
525
489
|
*/
|
|
526
|
-
toggleable? : boolean|number
|
|
490
|
+
toggleable? : boolean|number
|
|
527
491
|
/**
|
|
528
492
|
* Set to `true` to turn the ButtonGroup into a toggle group, assigning a generated value to each contained
|
|
529
493
|
* buttons [toggleGroup config](https://bryntum.com/products/core/docs/api/Core/widget/Button#config-toggleGroup). Individual buttons can
|
|
@@ -532,8 +496,7 @@ export type BryntumButtonGroupProps = {
|
|
|
532
496
|
toggleGroup? : boolean
|
|
533
497
|
/**
|
|
534
498
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
535
|
-
* ...
|
|
536
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-tooltip)
|
|
499
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-tooltip)
|
|
537
500
|
*/
|
|
538
501
|
tooltip? : string|TooltipConfig|null
|
|
539
502
|
type? : 'buttonGroup'|'buttongroup'
|
|
@@ -541,8 +504,7 @@ export type BryntumButtonGroupProps = {
|
|
|
541
504
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
542
505
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
543
506
|
* values are used as the class names.
|
|
544
|
-
* ...
|
|
545
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-ui)
|
|
507
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-ui)
|
|
546
508
|
*/
|
|
547
509
|
ui? : string|object
|
|
548
510
|
/**
|
|
@@ -563,14 +525,12 @@ export type BryntumButtonGroupProps = {
|
|
|
563
525
|
width? : string|number
|
|
564
526
|
/**
|
|
565
527
|
* The x position for the widget.
|
|
566
|
-
* ...
|
|
567
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-x)
|
|
528
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-x)
|
|
568
529
|
*/
|
|
569
530
|
x? : number
|
|
570
531
|
/**
|
|
571
532
|
* The y position for the widget.
|
|
572
|
-
* ...
|
|
573
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-y)
|
|
533
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-y)
|
|
574
534
|
*/
|
|
575
535
|
y? : number
|
|
576
536
|
|
|
@@ -593,7 +553,7 @@ export type BryntumButtonGroupProps = {
|
|
|
593
553
|
* @param {object} event Event object
|
|
594
554
|
* @param {Core.widget.Widget} event.source The widget being hidden.
|
|
595
555
|
*/
|
|
596
|
-
onBeforeHide? : ((event: { source: Widget }) =>
|
|
556
|
+
onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
|
|
597
557
|
/**
|
|
598
558
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
599
559
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -610,8 +570,7 @@ export type BryntumButtonGroupProps = {
|
|
|
610
570
|
onBeforeShow? : ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string
|
|
611
571
|
/**
|
|
612
572
|
* Fires when any other event is fired from the object.
|
|
613
|
-
* ...
|
|
614
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#event-catchAll)
|
|
573
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#event-catchAll)
|
|
615
574
|
* @param {object} event Event object
|
|
616
575
|
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
617
576
|
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
@@ -676,8 +635,7 @@ export type BryntumButtonGroupProps = {
|
|
|
676
635
|
/**
|
|
677
636
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
678
637
|
* achieves visibility.
|
|
679
|
-
* ...
|
|
680
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#event-paint)
|
|
638
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#event-paint)
|
|
681
639
|
* @param {object} event Event object
|
|
682
640
|
* @param {Core.widget.Widget} event.source The widget being painted.
|
|
683
641
|
* @param {boolean} event.firstPaint `true` if this is the first paint.
|
|
@@ -771,6 +729,7 @@ export class BryntumButtonGroup extends React.Component<BryntumButtonGroupProps>
|
|
|
771
729
|
'preventTooltipOnTouch',
|
|
772
730
|
'relayStoreEvents',
|
|
773
731
|
'ripple',
|
|
732
|
+
'role',
|
|
774
733
|
'rootElement',
|
|
775
734
|
'scrollAction',
|
|
776
735
|
'showAnimation',
|
|
@@ -810,6 +769,7 @@ export class BryntumButtonGroup extends React.Component<BryntumButtonGroupProps>
|
|
|
810
769
|
'items',
|
|
811
770
|
'keyMap',
|
|
812
771
|
'labelPosition',
|
|
772
|
+
'labelWidth',
|
|
813
773
|
'layout',
|
|
814
774
|
'layoutStyle',
|
|
815
775
|
'margin',
|
|
@@ -852,11 +812,6 @@ export class BryntumButtonGroup extends React.Component<BryntumButtonGroupProps>
|
|
|
852
812
|
];
|
|
853
813
|
|
|
854
814
|
static propertyNames = [
|
|
855
|
-
'anchorSize',
|
|
856
|
-
'focusVisible',
|
|
857
|
-
'hasChanges',
|
|
858
|
-
'isSettingValues',
|
|
859
|
-
'isValid',
|
|
860
815
|
'parent',
|
|
861
816
|
'values'
|
|
862
817
|
];
|