@bryntum/core-react-thin 7.2.3 → 7.3.0
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 +261 -0
- package/lib/BryntumBooleanCombo.js +204 -0
- package/lib/BryntumBooleanCombo.js.map +1 -0
- package/lib/BryntumButton.d.ts +6 -14
- package/lib/BryntumButton.js +1 -2
- package/lib/BryntumButton.js.map +1 -1
- package/lib/BryntumButtonGroup.d.ts +8 -15
- package/lib/BryntumButtonGroup.js +2 -5
- package/lib/BryntumButtonGroup.js.map +1 -1
- package/lib/BryntumChatPanel.d.ts +16 -20
- package/lib/BryntumChatPanel.js +7 -6
- package/lib/BryntumChatPanel.js.map +1 -1
- package/lib/BryntumCheckbox.d.ts +7 -15
- package/lib/BryntumCheckbox.js +1 -2
- package/lib/BryntumCheckbox.js.map +1 -1
- package/lib/BryntumCheckboxGroup.d.ts +9 -21
- package/lib/BryntumCheckboxGroup.js +2 -6
- package/lib/BryntumCheckboxGroup.js.map +1 -1
- package/lib/BryntumChipView.d.ts +6 -14
- package/lib/BryntumChipView.js +1 -2
- package/lib/BryntumChipView.js.map +1 -1
- package/lib/BryntumCodeEditor.d.ts +9 -20
- package/lib/BryntumCodeEditor.js +2 -5
- package/lib/BryntumCodeEditor.js.map +1 -1
- package/lib/BryntumColorField.d.ts +7 -15
- package/lib/BryntumColorField.js +1 -2
- package/lib/BryntumColorField.js.map +1 -1
- package/lib/BryntumCombo.d.ts +10 -18
- package/lib/BryntumCombo.js +1 -2
- package/lib/BryntumCombo.js.map +1 -1
- package/lib/BryntumContainer.d.ts +7 -14
- package/lib/BryntumContainer.js +2 -5
- package/lib/BryntumContainer.js.map +1 -1
- package/lib/BryntumDateField.d.ts +7 -15
- package/lib/BryntumDateField.js +1 -2
- package/lib/BryntumDateField.js.map +1 -1
- package/lib/BryntumDatePicker.d.ts +9 -20
- package/lib/BryntumDatePicker.js +2 -5
- package/lib/BryntumDatePicker.js.map +1 -1
- package/lib/BryntumDateRangeField.d.ts +10 -18
- package/lib/BryntumDateRangeField.js +1 -2
- package/lib/BryntumDateRangeField.js.map +1 -1
- package/lib/BryntumDateTimeField.d.ts +7 -15
- package/lib/BryntumDateTimeField.js +1 -2
- package/lib/BryntumDateTimeField.js.map +1 -1
- package/lib/BryntumDemoCodeEditor.d.ts +9 -20
- package/lib/BryntumDemoCodeEditor.js +2 -5
- package/lib/BryntumDemoCodeEditor.js.map +1 -1
- package/lib/BryntumDisplayField.d.ts +7 -15
- package/lib/BryntumDisplayField.js +1 -2
- package/lib/BryntumDisplayField.js.map +1 -1
- package/lib/BryntumDurationField.d.ts +7 -15
- package/lib/BryntumDurationField.js +1 -2
- package/lib/BryntumDurationField.js.map +1 -1
- package/lib/BryntumEditor.d.ts +9 -19
- package/lib/BryntumEditor.js +2 -5
- package/lib/BryntumEditor.js.map +1 -1
- package/lib/BryntumFieldFilterPicker.d.ts +7 -14
- package/lib/BryntumFieldFilterPicker.js +2 -5
- package/lib/BryntumFieldFilterPicker.js.map +1 -1
- package/lib/BryntumFieldFilterPickerGroup.d.ts +7 -14
- package/lib/BryntumFieldFilterPickerGroup.js +2 -5
- package/lib/BryntumFieldFilterPickerGroup.js.map +1 -1
- package/lib/BryntumFieldSet.d.ts +9 -21
- package/lib/BryntumFieldSet.js +2 -6
- package/lib/BryntumFieldSet.js.map +1 -1
- package/lib/BryntumFileField.d.ts +7 -15
- package/lib/BryntumFileField.js +1 -2
- package/lib/BryntumFileField.js.map +1 -1
- package/lib/BryntumFilePicker.d.ts +7 -14
- package/lib/BryntumFilePicker.js +2 -5
- package/lib/BryntumFilePicker.js.map +1 -1
- package/lib/BryntumFilterField.d.ts +7 -15
- package/lib/BryntumFilterField.js +1 -2
- package/lib/BryntumFilterField.js.map +1 -1
- package/lib/BryntumHint.d.ts +21 -30
- package/lib/BryntumHint.js +2 -5
- package/lib/BryntumHint.js.map +1 -1
- package/lib/BryntumLabel.d.ts +6 -14
- package/lib/BryntumLabel.js +1 -2
- package/lib/BryntumLabel.js.map +1 -1
- package/lib/BryntumList.d.ts +6 -14
- package/lib/BryntumList.js +1 -2
- package/lib/BryntumList.js.map +1 -1
- package/lib/BryntumMenu.d.ts +20 -25
- package/lib/BryntumMenu.js +2 -6
- package/lib/BryntumMenu.js.map +1 -1
- package/lib/BryntumMonthPicker.d.ts +9 -20
- package/lib/BryntumMonthPicker.js +2 -5
- package/lib/BryntumMonthPicker.js.map +1 -1
- package/lib/BryntumNumberField.d.ts +7 -15
- package/lib/BryntumNumberField.js +1 -2
- package/lib/BryntumNumberField.js.map +1 -1
- package/lib/BryntumPagingToolbar.d.ts +10 -17
- package/lib/BryntumPagingToolbar.js +2 -5
- package/lib/BryntumPagingToolbar.js.map +1 -1
- package/lib/BryntumPanel.d.ts +9 -20
- package/lib/BryntumPanel.js +2 -5
- package/lib/BryntumPanel.js.map +1 -1
- package/lib/BryntumPasswordField.d.ts +7 -15
- package/lib/BryntumPasswordField.js +1 -2
- package/lib/BryntumPasswordField.js.map +1 -1
- package/lib/BryntumProgressBar.d.ts +6 -14
- package/lib/BryntumProgressBar.js +1 -2
- package/lib/BryntumProgressBar.js.map +1 -1
- package/lib/BryntumRadio.d.ts +7 -15
- package/lib/BryntumRadio.js +1 -2
- package/lib/BryntumRadio.js.map +1 -1
- package/lib/BryntumRadioGroup.d.ts +9 -21
- package/lib/BryntumRadioGroup.js +2 -6
- package/lib/BryntumRadioGroup.js.map +1 -1
- package/lib/BryntumSlideToggle.d.ts +7 -15
- package/lib/BryntumSlideToggle.js +1 -2
- package/lib/BryntumSlideToggle.js.map +1 -1
- package/lib/BryntumSlider.d.ts +7 -14
- package/lib/BryntumSlider.js +2 -2
- package/lib/BryntumSlider.js.map +1 -1
- package/lib/BryntumSplitter.d.ts +6 -14
- package/lib/BryntumSplitter.js +1 -2
- package/lib/BryntumSplitter.js.map +1 -1
- package/lib/BryntumTabPanel.d.ts +9 -20
- package/lib/BryntumTabPanel.js +2 -5
- package/lib/BryntumTabPanel.js.map +1 -1
- package/lib/BryntumTextAreaField.d.ts +8 -15
- package/lib/BryntumTextAreaField.js +2 -2
- package/lib/BryntumTextAreaField.js.map +1 -1
- package/lib/BryntumTextAreaPickerField.d.ts +8 -16
- package/lib/BryntumTextAreaPickerField.js +1 -2
- package/lib/BryntumTextAreaPickerField.js.map +1 -1
- package/lib/BryntumTextField.d.ts +7 -15
- package/lib/BryntumTextField.js +1 -2
- package/lib/BryntumTextField.js.map +1 -1
- package/lib/BryntumTimeField.d.ts +8 -16
- package/lib/BryntumTimeField.js +1 -2
- package/lib/BryntumTimeField.js.map +1 -1
- package/lib/BryntumTimePicker.d.ts +7 -14
- package/lib/BryntumTimePicker.js +2 -5
- package/lib/BryntumTimePicker.js.map +1 -1
- package/lib/BryntumToolbar.d.ts +10 -17
- package/lib/BryntumToolbar.js +2 -5
- package/lib/BryntumToolbar.js.map +1 -1
- package/lib/BryntumWidget.d.ts +6 -14
- package/lib/BryntumWidget.js +1 -2
- package/lib/BryntumWidget.js.map +1 -1
- package/lib/BryntumYearPicker.d.ts +9 -20
- 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 +1180 -0
- package/src/BryntumButton.tsx +69 -115
- package/src/BryntumButtonGroup.tsx +78 -123
- package/src/BryntumChatPanel.tsx +139 -169
- package/src/BryntumCheckbox.tsx +73 -117
- package/src/BryntumCheckboxGroup.tsx +109 -179
- package/src/BryntumChipView.tsx +65 -105
- package/src/BryntumCodeEditor.tsx +106 -167
- package/src/BryntumColorField.tsx +73 -117
- package/src/BryntumCombo.tsx +92 -152
- package/src/BryntumContainer.tsx +78 -124
- package/src/BryntumDateField.tsx +80 -123
- package/src/BryntumDatePicker.tsx +119 -193
- package/src/BryntumDateRangeField.tsx +79 -126
- package/src/BryntumDateTimeField.tsx +73 -117
- package/src/BryntumDemoCodeEditor.tsx +106 -167
- package/src/BryntumDisplayField.tsx +74 -119
- package/src/BryntumDurationField.tsx +80 -125
- package/src/BryntumEditor.tsx +90 -140
- package/src/BryntumFieldFilterPicker.tsx +80 -128
- package/src/BryntumFieldFilterPickerGroup.tsx +82 -132
- package/src/BryntumFieldSet.tsx +105 -172
- package/src/BryntumFileField.tsx +73 -117
- package/src/BryntumFilePicker.tsx +78 -124
- package/src/BryntumFilterField.tsx +76 -123
- package/src/BryntumHint.tsx +133 -190
- package/src/BryntumLabel.tsx +59 -95
- package/src/BryntumList.tsx +62 -101
- package/src/BryntumMenu.tsx +128 -188
- package/src/BryntumMonthPicker.tsx +106 -167
- package/src/BryntumNumberField.tsx +77 -121
- package/src/BryntumPagingToolbar.tsx +82 -129
- package/src/BryntumPanel.tsx +106 -167
- package/src/BryntumPasswordField.tsx +73 -117
- package/src/BryntumProgressBar.tsx +58 -93
- package/src/BryntumRadio.tsx +73 -117
- package/src/BryntumRadioGroup.tsx +109 -178
- package/src/BryntumSlideToggle.tsx +73 -117
- package/src/BryntumSlider.tsx +67 -101
- package/src/BryntumSplitter.tsx +61 -99
- package/src/BryntumTabPanel.tsx +107 -169
- package/src/BryntumTextAreaField.tsx +81 -119
- package/src/BryntumTextAreaPickerField.tsx +75 -120
- package/src/BryntumTextField.tsx +74 -119
- package/src/BryntumTimeField.tsx +79 -120
- package/src/BryntumTimePicker.tsx +78 -124
- package/src/BryntumToolbar.tsx +82 -129
- package/src/BryntumWidget.tsx +59 -95
- package/src/BryntumYearPicker.tsx +107 -169
- 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, Color, Container, CoreContainerItemConfig, CoreContainerLayoutConfig, DomConfig, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, RadioConfig, RadioGroup, RadioGroupListeners, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
6
|
+
import { AlignSpec, Base, Color, Container, CoreContainerItemConfig, CoreContainerLayoutConfig, DomConfig, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, RadioConfig, RadioGroup, RadioGroupListeners, ReactJSX, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, 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 BryntumRadioGroupProps = {
|
|
|
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/RadioGroup#config-adopt)
|
|
15
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#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/RadioGroup#config-align)
|
|
20
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-align)
|
|
23
21
|
*/
|
|
24
22
|
align? : AlignSpec|string
|
|
25
23
|
/**
|
|
@@ -41,15 +39,13 @@ export type BryntumRadioGroupProps = {
|
|
|
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/RadioGroup#config-ariaDescription)
|
|
42
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#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/RadioGroup#config-ariaLabel)
|
|
48
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-ariaLabel)
|
|
53
49
|
*/
|
|
54
50
|
ariaLabel? : string
|
|
55
51
|
/**
|
|
@@ -59,14 +55,12 @@ export type BryntumRadioGroupProps = {
|
|
|
59
55
|
/**
|
|
60
56
|
* A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar),
|
|
61
57
|
* or array of config objects representing the child items of a Toolbar. Another way to add a bbar is to use [strips](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-strips).
|
|
62
|
-
* ...
|
|
63
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-bbar)
|
|
58
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-bbar)
|
|
64
59
|
*/
|
|
65
60
|
bbar? : (CoreContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
|
|
66
61
|
/**
|
|
67
62
|
* Custom CSS classes to add to the panel's body element.
|
|
68
|
-
* ...
|
|
69
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-bodyCls)
|
|
63
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-bodyCls)
|
|
70
64
|
*/
|
|
71
65
|
bodyCls? : string|object
|
|
72
66
|
/**
|
|
@@ -76,21 +70,18 @@ export type BryntumRadioGroupProps = {
|
|
|
76
70
|
/**
|
|
77
71
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
78
72
|
* hierarchy when triggered.
|
|
79
|
-
* ...
|
|
80
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-bubbleEvents)
|
|
73
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-bubbleEvents)
|
|
81
74
|
*/
|
|
82
75
|
bubbleEvents? : object
|
|
83
76
|
/**
|
|
84
77
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
85
|
-
* ...
|
|
86
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-callOnFunctions)
|
|
78
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-callOnFunctions)
|
|
87
79
|
*/
|
|
88
80
|
callOnFunctions? : boolean
|
|
89
81
|
/**
|
|
90
82
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
91
83
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
92
|
-
* ...
|
|
93
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-catchEventHandlerExceptions)
|
|
84
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-catchEventHandlerExceptions)
|
|
94
85
|
*/
|
|
95
86
|
catchEventHandlerExceptions? : boolean
|
|
96
87
|
/**
|
|
@@ -107,8 +98,7 @@ export type BryntumRadioGroupProps = {
|
|
|
107
98
|
* Custom CSS classes to add to element.
|
|
108
99
|
* May be specified as a space separated string, or as an object in which property names
|
|
109
100
|
* with truthy values are used as the class names:
|
|
110
|
-
* ...
|
|
111
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-cls)
|
|
101
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-cls)
|
|
112
102
|
*/
|
|
113
103
|
cls? : string|object
|
|
114
104
|
/**
|
|
@@ -118,15 +108,13 @@ export type BryntumRadioGroupProps = {
|
|
|
118
108
|
collapsed? : boolean
|
|
119
109
|
/**
|
|
120
110
|
* This config enables collapsibility for the panel. See [collapsed](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-collapsed).
|
|
121
|
-
* ...
|
|
122
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-collapsible)
|
|
111
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-collapsible)
|
|
123
112
|
*/
|
|
124
113
|
collapsible? : boolean|PanelCollapserConfig|PanelCollapserOverlayConfig
|
|
125
114
|
/**
|
|
126
115
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
127
116
|
* `style` block.
|
|
128
|
-
* ...
|
|
129
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-color)
|
|
117
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-color)
|
|
130
118
|
*/
|
|
131
119
|
color? : Color
|
|
132
120
|
/**
|
|
@@ -150,8 +138,7 @@ export type BryntumRadioGroupProps = {
|
|
|
150
138
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
151
139
|
* May be specified as a space separated string, or as an object in which property names
|
|
152
140
|
* with truthy values are used as the class names:
|
|
153
|
-
* ...
|
|
154
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-contentElementCls)
|
|
141
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-contentElementCls)
|
|
155
142
|
*/
|
|
156
143
|
contentElementCls? : string|object
|
|
157
144
|
/**
|
|
@@ -171,8 +158,7 @@ export type BryntumRadioGroupProps = {
|
|
|
171
158
|
/**
|
|
172
159
|
* A [query](https://bryntum.com/products/core/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
|
|
173
160
|
* focus should be directed by default.
|
|
174
|
-
* ...
|
|
175
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-defaultFocus)
|
|
161
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-defaultFocus)
|
|
176
162
|
* @param {Core.widget.Widget} widget Widget passed to method
|
|
177
163
|
* @returns {boolean} truthy value if widget is the default one
|
|
178
164
|
*/
|
|
@@ -182,16 +168,15 @@ export type BryntumRadioGroupProps = {
|
|
|
182
168
|
*/
|
|
183
169
|
defaults? : CoreContainerItemConfig
|
|
184
170
|
/**
|
|
185
|
-
* Check for CSS compatibility issues
|
|
186
|
-
*
|
|
187
|
-
* [
|
|
171
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
172
|
+
* checks:
|
|
173
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-detectCSSCompatibilityIssues)
|
|
188
174
|
*/
|
|
189
175
|
detectCSSCompatibilityIssues? : boolean
|
|
190
176
|
/**
|
|
191
177
|
* 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
|
|
192
178
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
193
|
-
* ...
|
|
194
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-disabled)
|
|
179
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-disabled)
|
|
195
180
|
*/
|
|
196
181
|
disabled? : boolean|'inert'
|
|
197
182
|
/**
|
|
@@ -199,39 +184,34 @@ export type BryntumRadioGroupProps = {
|
|
|
199
184
|
* [strips collection](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
200
185
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
201
186
|
* body. Such widgets are called "edge strips".
|
|
202
|
-
* ...
|
|
203
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-dock)
|
|
187
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-dock)
|
|
204
188
|
*/
|
|
205
189
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
206
190
|
/**
|
|
207
191
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
208
192
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
209
193
|
* property which controls when a drag should start.
|
|
210
|
-
* ...
|
|
211
|
-
*
|
|
194
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-draggable)
|
|
195
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
212
196
|
*/
|
|
213
|
-
draggable? : boolean|
|
|
214
|
-
handleSelector?: string
|
|
215
|
-
}
|
|
197
|
+
draggable? : boolean|object
|
|
216
198
|
/**
|
|
217
199
|
* Make this Panel a docked drawer which slides out from one side of the browser viewport by default.
|
|
218
|
-
* ...
|
|
219
|
-
* [
|
|
220
|
-
* @param {
|
|
221
|
-
* @param {
|
|
222
|
-
* @param {boolean}
|
|
223
|
-
* @param {boolean,
|
|
224
|
-
* @param {boolean,string} autoClose.
|
|
225
|
-
* @param {
|
|
226
|
-
* @param {
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
drawer? : boolean|{side?: 'start'|'left'|'end'|'right'|'top'|'bottom', size?: string|number, inline?: boolean, autoClose: { mousedown?: boolean|string, focusout?: boolean|string, mouseout?: string }, autoCloseDelay?: number}
|
|
200
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-drawer)
|
|
201
|
+
* @param {'start','left','end','right','top','bottom'} [side] The side of the viewport to dock the drawer to. * `'start'` means the `inline-start` side. * `'end'` means the `inline-end` side.
|
|
202
|
+
* @param {string,number} [size] The size of the drawer in its collapsible axis.
|
|
203
|
+
* @param {boolean} [inline] If using the [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-appendTo) config to place the drawer inside a host widget, this may be set to `true` to make the drawer inline within that host. Note that, if using this, the layout of the host element must have `flex-direction` set appropriately.
|
|
204
|
+
* @param {boolean,object} [autoClose] Specifies what user actions should automatically close the drawer. Defaults to closing when the user clicks outside of the drawer or when focus moves outside of the drawer.
|
|
205
|
+
* @param {boolean,string} [autoClose.mousedown] If the user clicks outside of the drawer, the drawer will automatically be hidden. If the value is a string, it is used as a CSS selector to filter clicks which should close the drawer.
|
|
206
|
+
* @param {boolean,string} [autoClose.focusout] If focus moves outside of the drawer, the drawer will automatically be hidden.
|
|
207
|
+
* @param {string} [autoClose.mouseout] Hides the drawer when the mouse leaves the drawer after the `autoCloseDelay` period.
|
|
208
|
+
* @param {number} [autoCloseDelay] When using `mouseout`, this is the delay in milliseconds
|
|
209
|
+
*/
|
|
210
|
+
drawer? : boolean|{ side?: 'start'|'left'|'end'|'right'|'top'|'bottom', size?: string|number, inline?: boolean, autoClose?: boolean|{ mousedown?: boolean|string, focusout?: boolean|string, mouseout?: string }, autoCloseDelay?: number }
|
|
230
211
|
/**
|
|
231
212
|
* An object specifying attributes to assign to the root element of this widget.
|
|
232
213
|
* Set `null` value to attribute to remove it.
|
|
233
|
-
* ...
|
|
234
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-elementAttributes)
|
|
214
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-elementAttributes)
|
|
235
215
|
*/
|
|
236
216
|
elementAttributes? : Record<string, string|null>
|
|
237
217
|
extraData? : any
|
|
@@ -251,18 +231,15 @@ export type BryntumRadioGroupProps = {
|
|
|
251
231
|
/**
|
|
252
232
|
* Config object of a footer. May contain a `dock`, `html` and a `cls` property. A footer is not a widget,
|
|
253
233
|
* but rather plain HTML that follows the last element of the panel's body and [strips](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-strips).
|
|
254
|
-
* ...
|
|
255
|
-
*
|
|
234
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-footer)
|
|
235
|
+
* @property {'top','right','bottom','left','start','end'} dock Where to dock
|
|
236
|
+
* @property {string} html Html to populate the footer with
|
|
237
|
+
* @property {string} cls CSS class to add to the footer
|
|
256
238
|
*/
|
|
257
|
-
footer? :
|
|
258
|
-
dock?: 'top'|'right'|'bottom'|'left'|'start'|'end'
|
|
259
|
-
html?: string
|
|
260
|
-
cls?: string
|
|
261
|
-
}|string
|
|
239
|
+
footer? : object|string
|
|
262
240
|
/**
|
|
263
241
|
* A config [object](https://bryntum.com/products/core/docs/api/Core/widget/Panel#typedef-PanelHeader) for the panel's header or a string in place of a `title`.
|
|
264
|
-
* ...
|
|
265
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-header)
|
|
242
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-header)
|
|
266
243
|
*/
|
|
267
244
|
header? : string|boolean|PanelHeader
|
|
268
245
|
/**
|
|
@@ -277,25 +254,21 @@ export type BryntumRadioGroupProps = {
|
|
|
277
254
|
hidden? : boolean
|
|
278
255
|
/**
|
|
279
256
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
280
|
-
* ...
|
|
281
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-hideAnimation)
|
|
257
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-hideAnimation)
|
|
282
258
|
*/
|
|
283
259
|
hideAnimation? : boolean|object
|
|
284
260
|
/**
|
|
285
261
|
* Specify `true` to make this container hide when it has no visible children (Either empty
|
|
286
262
|
* or all children hidden).
|
|
287
|
-
* ...
|
|
288
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-hideWhenEmpty)
|
|
263
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-hideWhenEmpty)
|
|
289
264
|
*/
|
|
290
265
|
hideWhenEmpty? : boolean
|
|
291
266
|
/**
|
|
292
267
|
* The HTML to display initially or a function returning the markup (called at widget construction time).
|
|
293
|
-
* ...
|
|
294
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-html)
|
|
268
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-html)
|
|
295
269
|
* @param {Core.widget.Widget} widget The calling Widget
|
|
296
|
-
* @returns {string}
|
|
297
270
|
*/
|
|
298
|
-
html? : string|((widget: Widget) =>
|
|
271
|
+
html? : string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX
|
|
299
272
|
/**
|
|
300
273
|
* The CSS class(es) to add when HTML content is being applied to this widget.
|
|
301
274
|
*/
|
|
@@ -311,23 +284,20 @@ export type BryntumRadioGroupProps = {
|
|
|
311
284
|
id? : string
|
|
312
285
|
/**
|
|
313
286
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
314
|
-
* ...
|
|
315
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-ignoreParentReadOnly)
|
|
287
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-ignoreParentReadOnly)
|
|
316
288
|
*/
|
|
317
289
|
ignoreParentReadOnly? : boolean
|
|
318
290
|
/**
|
|
319
291
|
* Setting this config to `true` assigns a horizontal box layout (`flex-flow: row`) to the items in this
|
|
320
292
|
* container, while `false` assigns a vertical box layout (`flex-flow: column`).
|
|
321
|
-
* ...
|
|
322
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-inline)
|
|
293
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-inline)
|
|
323
294
|
*/
|
|
324
295
|
inline? : boolean
|
|
325
296
|
/**
|
|
326
297
|
* Convenience setting to align input fields of child widgets. By default, the Field input element is
|
|
327
298
|
* placed immediately following the `label`. If you prefer to have all input fields aligned to the
|
|
328
299
|
* right, set this config to `'end'`.
|
|
329
|
-
* ...
|
|
330
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-inputFieldAlign)
|
|
300
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-inputFieldAlign)
|
|
331
301
|
*/
|
|
332
302
|
inputFieldAlign? : 'start'|'end'
|
|
333
303
|
/**
|
|
@@ -345,16 +315,14 @@ export type BryntumRadioGroupProps = {
|
|
|
345
315
|
/**
|
|
346
316
|
* An object containing typed child widget config objects or Widgets. May also be specified
|
|
347
317
|
* as an array.
|
|
348
|
-
* ...
|
|
349
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-items)
|
|
318
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-items)
|
|
350
319
|
*/
|
|
351
320
|
items? : Record<string, CoreContainerItemConfig|MenuItemEntry>|(CoreContainerItemConfig|MenuItemEntry|Widget)[]
|
|
352
321
|
/**
|
|
353
322
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
354
323
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
355
324
|
* are the name of the instance method to call when the keystroke is received.
|
|
356
|
-
* ...
|
|
357
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-keyMap)
|
|
325
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-keyMap)
|
|
358
326
|
*/
|
|
359
327
|
keyMap? : Record<string, KeyMapConfig>
|
|
360
328
|
/**
|
|
@@ -367,45 +335,40 @@ export type BryntumRadioGroupProps = {
|
|
|
367
335
|
labelCls? : string|object
|
|
368
336
|
/**
|
|
369
337
|
* Convenience setting to use same label placement on all child widgets.
|
|
370
|
-
* ...
|
|
371
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-labelPosition)
|
|
338
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-labelPosition)
|
|
372
339
|
*/
|
|
373
340
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
374
341
|
/**
|
|
375
|
-
*
|
|
342
|
+
* Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.
|
|
343
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-labelWidth)
|
|
376
344
|
*/
|
|
377
|
-
labelWidth? :
|
|
345
|
+
labelWidth? : number|null
|
|
378
346
|
/**
|
|
379
347
|
* The short name of a helper class which manages rendering and styling of child items.
|
|
380
|
-
* ...
|
|
381
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-layout)
|
|
348
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-layout)
|
|
382
349
|
*/
|
|
383
350
|
layout? : string|CoreContainerLayoutConfig
|
|
384
351
|
/**
|
|
385
352
|
* The CSS style properties to apply to the [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
386
|
-
* ...
|
|
387
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-layoutStyle)
|
|
353
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-layoutStyle)
|
|
388
354
|
*/
|
|
389
355
|
layoutStyle? : object
|
|
390
356
|
/**
|
|
391
357
|
* 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
|
|
392
358
|
* instances only when this Container is rendered, rather than eagerly at construct time.
|
|
393
|
-
* ...
|
|
394
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-lazyItems)
|
|
359
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-lazyItems)
|
|
395
360
|
*/
|
|
396
361
|
lazyItems? : Record<string, CoreContainerItemConfig>|CoreContainerItemConfig[]|Widget[]
|
|
397
362
|
/**
|
|
398
363
|
* The listener set for this object.
|
|
399
|
-
* ...
|
|
400
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-listeners)
|
|
364
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-listeners)
|
|
401
365
|
*/
|
|
402
366
|
listeners? : RadioGroupListeners
|
|
403
367
|
/**
|
|
404
368
|
* A class translations of which are used for translating this entity.
|
|
405
369
|
* This is often used when translations of an item are defined on its container class.
|
|
406
370
|
* For example:
|
|
407
|
-
* ...
|
|
408
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-localeClass)
|
|
371
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-localeClass)
|
|
409
372
|
*/
|
|
410
373
|
localeClass? : typeof Base
|
|
411
374
|
/**
|
|
@@ -417,8 +380,7 @@ export type BryntumRadioGroupProps = {
|
|
|
417
380
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
418
381
|
* you could use 'localeKey' meta configuration.
|
|
419
382
|
* Example:
|
|
420
|
-
* ...
|
|
421
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-localizableProperties)
|
|
383
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-localizableProperties)
|
|
422
384
|
*/
|
|
423
385
|
localizableProperties? : string[]
|
|
424
386
|
/**
|
|
@@ -444,8 +406,7 @@ export type BryntumRadioGroupProps = {
|
|
|
444
406
|
maxHeight? : string|number
|
|
445
407
|
/**
|
|
446
408
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
447
|
-
* ...
|
|
448
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-maximizeOnMobile)
|
|
409
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-maximizeOnMobile)
|
|
449
410
|
*/
|
|
450
411
|
maximizeOnMobile? : number|string
|
|
451
412
|
/**
|
|
@@ -467,42 +428,36 @@ export type BryntumRadioGroupProps = {
|
|
|
467
428
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
468
429
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
469
430
|
* layout.
|
|
470
|
-
* ...
|
|
471
|
-
*
|
|
431
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-monitorResize)
|
|
432
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
472
433
|
*/
|
|
473
|
-
monitorResize? : boolean|
|
|
474
|
-
immediate?: boolean
|
|
475
|
-
}
|
|
434
|
+
monitorResize? : boolean|object
|
|
476
435
|
/**
|
|
477
436
|
* The name by which this widget's [value](https://bryntum.com/products/core/docs/api/Core/widget/RadioGroup#property-value) is accessed using the parent container's
|
|
478
|
-
* [values](https://bryntum.com/products/core/docs/api/Core/widget/
|
|
479
|
-
* ...
|
|
480
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-name)
|
|
437
|
+
* [values](https://bryntum.com/products/core/docs/api/Core/widget/RadioGroup#property-values).
|
|
438
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-name)
|
|
481
439
|
*/
|
|
482
440
|
name? : string
|
|
483
441
|
/**
|
|
484
442
|
* 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)
|
|
485
443
|
* config. For example, a specialized [Menu](https://bryntum.com/products/core/docs/api/Core/widget/Menu) subclass may have a `namedItems` default
|
|
486
444
|
* value defined like this:
|
|
487
|
-
* ...
|
|
488
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-namedItems)
|
|
445
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-namedItems)
|
|
489
446
|
*/
|
|
490
447
|
namedItems? : Record<string, CoreContainerItemConfig>
|
|
491
448
|
/**
|
|
492
449
|
* The set of radio button options for this radio button group. This is a shorthand for defining these in
|
|
493
|
-
* the [items](https://bryntum.com/products/core/docs/api/Core/widget/
|
|
450
|
+
* the [items](https://bryntum.com/products/core/docs/api/Core/widget/RadioGroup#config-items). The keys of this object hold the radio button's
|
|
494
451
|
* [checkedValue](https://bryntum.com/products/core/docs/api/Core/widget/Radio#config-checkedValue) while the object values are a string for the radio button's
|
|
495
452
|
* [text](https://bryntum.com/products/core/docs/api/Core/widget/Radio#config-text) or a config object for that radio button.
|
|
496
|
-
* ...
|
|
497
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-options)
|
|
453
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-options)
|
|
498
454
|
*/
|
|
499
455
|
options? : Record<string, string|RadioConfig>
|
|
500
456
|
/**
|
|
501
457
|
* 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
|
|
502
458
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
503
459
|
* widget's [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
504
|
-
* ...
|
|
505
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-positioned)
|
|
460
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-positioned)
|
|
506
461
|
*/
|
|
507
462
|
positioned? : boolean
|
|
508
463
|
/**
|
|
@@ -513,45 +468,45 @@ export type BryntumRadioGroupProps = {
|
|
|
513
468
|
/**
|
|
514
469
|
* Whether this widget is read-only. This is only valid if the widget is an input
|
|
515
470
|
* field, <strong>or contains input fields at any depth</strong>.
|
|
516
|
-
* ...
|
|
517
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-readOnly)
|
|
471
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-readOnly)
|
|
518
472
|
*/
|
|
519
473
|
readOnly? : boolean
|
|
520
474
|
/**
|
|
521
475
|
* [Record](https://bryntum.com/products/core/docs/api/Core/data/Model) whose values will be used to populate fields in the container.
|
|
522
|
-
* ...
|
|
523
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-record)
|
|
476
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-record)
|
|
524
477
|
*/
|
|
525
478
|
record? : Model
|
|
526
479
|
relayStoreEvents? : boolean
|
|
527
480
|
/**
|
|
528
481
|
* Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
|
|
529
482
|
* `type`.
|
|
530
|
-
* ...
|
|
531
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-rendition)
|
|
483
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-rendition)
|
|
532
484
|
*/
|
|
533
485
|
rendition? : string|Record<string, string>|null
|
|
534
486
|
/**
|
|
535
487
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
536
488
|
* [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
|
|
537
489
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
538
|
-
* ...
|
|
539
|
-
* [
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
490
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-ripple)
|
|
491
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
492
|
+
* @property {string} [color] A CSS color name or specification.
|
|
493
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
494
|
+
* @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.
|
|
495
|
+
*/
|
|
496
|
+
ripple? : boolean|object
|
|
497
|
+
/**
|
|
498
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
499
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
500
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-role)
|
|
501
|
+
*/
|
|
502
|
+
role? : string
|
|
547
503
|
/**
|
|
548
504
|
* 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`
|
|
549
505
|
*/
|
|
550
506
|
rootElement? : ShadowRoot|HTMLElement
|
|
551
507
|
/**
|
|
552
508
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
553
|
-
* ...
|
|
554
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-rtl)
|
|
509
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-rtl)
|
|
555
510
|
*/
|
|
556
511
|
rtl? : boolean
|
|
557
512
|
/**
|
|
@@ -559,8 +514,7 @@ export type BryntumRadioGroupProps = {
|
|
|
559
514
|
* in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
|
|
560
515
|
* applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
|
|
561
516
|
* CSS overflow properties thus:
|
|
562
|
-
* ...
|
|
563
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-scrollable)
|
|
517
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-scrollable)
|
|
564
518
|
*/
|
|
565
519
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
566
520
|
/**
|
|
@@ -570,8 +524,7 @@ export type BryntumRadioGroupProps = {
|
|
|
570
524
|
scrollAction? : 'hide'|'realign'|null
|
|
571
525
|
/**
|
|
572
526
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
573
|
-
* ...
|
|
574
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-showAnimation)
|
|
527
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-showAnimation)
|
|
575
528
|
*/
|
|
576
529
|
showAnimation? : boolean|object
|
|
577
530
|
/**
|
|
@@ -584,30 +537,26 @@ export type BryntumRadioGroupProps = {
|
|
|
584
537
|
span? : number
|
|
585
538
|
/**
|
|
586
539
|
* This value can be one of the following:
|
|
587
|
-
* ...
|
|
588
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-stateful)
|
|
540
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-stateful)
|
|
589
541
|
*/
|
|
590
542
|
stateful? : boolean|object|string[]
|
|
591
543
|
/**
|
|
592
544
|
* The events that, when fired by this component, should trigger it to save its state by calling
|
|
593
545
|
* [saveState](https://bryntum.com/products/core/docs/api/Core/mixin/State#function-saveState).
|
|
594
|
-
* ...
|
|
595
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-statefulEvents)
|
|
546
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-statefulEvents)
|
|
596
547
|
*/
|
|
597
548
|
statefulEvents? : object|string[]
|
|
598
549
|
/**
|
|
599
550
|
* The key to use when saving this object's state in the [stateProvider](https://bryntum.com/products/core/docs/api/Core/mixin/State#config-stateProvider). If this config is
|
|
600
551
|
* not assigned, and [stateful](https://bryntum.com/products/core/docs/api/Core/mixin/State#config-stateful) is not set to `false`, the [id](#Core/widget/Widget#config-id)
|
|
601
552
|
* (if explicitly specified) will be used as the `stateId`.
|
|
602
|
-
* ...
|
|
603
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-stateId)
|
|
553
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-stateId)
|
|
604
554
|
*/
|
|
605
555
|
stateId? : string
|
|
606
556
|
/**
|
|
607
557
|
* The `StateProvider` to use to save and restore this object's [state](https://bryntum.com/products/core/docs/api/Core/mixin/State#property-state). By default, `state`
|
|
608
558
|
* will be saved using the [default state provider](https://bryntum.com/products/core/docs/api/Core/state/StateProvider#property-instance-static).
|
|
609
|
-
* ...
|
|
610
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-stateProvider)
|
|
559
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-stateProvider)
|
|
611
560
|
*/
|
|
612
561
|
stateProvider? : StateProvider
|
|
613
562
|
/**
|
|
@@ -619,23 +568,20 @@ export type BryntumRadioGroupProps = {
|
|
|
619
568
|
* An object containing widgets keyed by name. By default (when no `type` is given), strips are
|
|
620
569
|
* [toolbars](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar). If you want to pass an array, you can use
|
|
621
570
|
* the toolbar's [items](https://bryntum.com/products/core/docs/api/Core/widget/Container#config-items).
|
|
622
|
-
* ...
|
|
623
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-strips)
|
|
571
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-strips)
|
|
624
572
|
*/
|
|
625
573
|
strips? : Record<string, CoreContainerItemConfig>
|
|
626
574
|
/**
|
|
627
575
|
* 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
|
|
628
576
|
* [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
|
|
629
577
|
* this widget:
|
|
630
|
-
* ...
|
|
631
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-tab)
|
|
578
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-tab)
|
|
632
579
|
*/
|
|
633
580
|
tab? : boolean|TabConfig
|
|
634
581
|
/**
|
|
635
582
|
* When this container is used as a tab in a TabPanel, these items are added to the
|
|
636
583
|
* [TabBar](https://bryntum.com/products/core/docs/api/Core/widget/TabBar) when this container is the active tab.
|
|
637
|
-
* ...
|
|
638
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-tabBarItems)
|
|
584
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-tabBarItems)
|
|
639
585
|
*/
|
|
640
586
|
tabBarItems? : ToolbarItems[]|Widget[]
|
|
641
587
|
/**
|
|
@@ -646,42 +592,36 @@ export type BryntumRadioGroupProps = {
|
|
|
646
592
|
* A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar),
|
|
647
593
|
* or array of config objects representing the child items of a Toolbar.
|
|
648
594
|
* This creates a toolbar docked to the top of the panel immediately below the header.
|
|
649
|
-
* ...
|
|
650
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-tbar)
|
|
595
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-tbar)
|
|
651
596
|
*/
|
|
652
597
|
tbar? : (CoreContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
|
|
653
598
|
/**
|
|
654
599
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
655
|
-
* ...
|
|
656
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-textAlign)
|
|
600
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-textAlign)
|
|
657
601
|
*/
|
|
658
602
|
textAlign? : 'left'|'center'|'right'|'start'|'end'
|
|
659
603
|
/**
|
|
660
604
|
* Specify `true` for a container used to show text markup. It will apply the CSS class `b-text-content`
|
|
661
605
|
* which specifies a default max-width that makes long text more readable.
|
|
662
|
-
* ...
|
|
663
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-textContent)
|
|
606
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-textContent)
|
|
664
607
|
*/
|
|
665
608
|
textContent? : boolean
|
|
666
609
|
/**
|
|
667
610
|
* A title to display in the header or owning TabPanel. Causes creation and docking of a header
|
|
668
611
|
* to the top if no header is configured.
|
|
669
|
-
* ...
|
|
670
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-title)
|
|
612
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-title)
|
|
671
613
|
*/
|
|
672
614
|
title? : string
|
|
673
615
|
/**
|
|
674
616
|
* The [tools](https://bryntum.com/products/core/docs/api/Core/widget/Tool) to add either before or after the `title` in the Panel header. Each
|
|
675
617
|
* property name is the reference by which an instantiated tool may be retrieved from the live
|
|
676
618
|
* `[tools](https://bryntum.com/products/core/docs/api/Core/widget/mixin/Toolable#property-tools)` property.
|
|
677
|
-
* ...
|
|
678
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-tools)
|
|
619
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-tools)
|
|
679
620
|
*/
|
|
680
621
|
tools? : Record<string, ToolConfig>|null
|
|
681
622
|
/**
|
|
682
623
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
683
|
-
* ...
|
|
684
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-tooltip)
|
|
624
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-tooltip)
|
|
685
625
|
*/
|
|
686
626
|
tooltip? : string|TooltipConfig|null
|
|
687
627
|
/**
|
|
@@ -695,8 +635,7 @@ export type BryntumRadioGroupProps = {
|
|
|
695
635
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
696
636
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
697
637
|
* values are used as the class names.
|
|
698
|
-
* ...
|
|
699
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-ui)
|
|
638
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-ui)
|
|
700
639
|
*/
|
|
701
640
|
ui? : 'plain'|'toolbar'|string|object
|
|
702
641
|
/**
|
|
@@ -717,14 +656,12 @@ export type BryntumRadioGroupProps = {
|
|
|
717
656
|
width? : string|number
|
|
718
657
|
/**
|
|
719
658
|
* The x position for the widget.
|
|
720
|
-
* ...
|
|
721
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-x)
|
|
659
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-x)
|
|
722
660
|
*/
|
|
723
661
|
x? : number
|
|
724
662
|
/**
|
|
725
663
|
* The y position for the widget.
|
|
726
|
-
* ...
|
|
727
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-y)
|
|
664
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#config-y)
|
|
728
665
|
*/
|
|
729
666
|
y? : number
|
|
730
667
|
|
|
@@ -769,8 +706,7 @@ export type BryntumRadioGroupProps = {
|
|
|
769
706
|
onBeforeStateSave? : ((event: { state: any }) => Promise<boolean>|boolean|void)|string
|
|
770
707
|
/**
|
|
771
708
|
* Fires when any other event is fired from the object.
|
|
772
|
-
* ...
|
|
773
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#event-catchAll)
|
|
709
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#event-catchAll)
|
|
774
710
|
* @param {object} event Event object
|
|
775
711
|
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
776
712
|
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
@@ -840,8 +776,7 @@ export type BryntumRadioGroupProps = {
|
|
|
840
776
|
/**
|
|
841
777
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
842
778
|
* achieves visibility.
|
|
843
|
-
* ...
|
|
844
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#event-paint)
|
|
779
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/RadioGroup#event-paint)
|
|
845
780
|
* @param {object} event Event object
|
|
846
781
|
* @param {Core.widget.Widget} event.source The widget being painted.
|
|
847
782
|
* @param {boolean} event.firstPaint `true` if this is the first paint.
|
|
@@ -929,7 +864,6 @@ export class BryntumRadioGroup extends React.Component<BryntumRadioGroupProps> {
|
|
|
929
864
|
'ignoreParentReadOnly',
|
|
930
865
|
'itemCls',
|
|
931
866
|
'labelCls',
|
|
932
|
-
'labelWidth',
|
|
933
867
|
'lazyItems',
|
|
934
868
|
'listeners',
|
|
935
869
|
'localeClass',
|
|
@@ -945,6 +879,7 @@ export class BryntumRadioGroup extends React.Component<BryntumRadioGroupProps> {
|
|
|
945
879
|
'preventTooltipOnTouch',
|
|
946
880
|
'relayStoreEvents',
|
|
947
881
|
'ripple',
|
|
882
|
+
'role',
|
|
948
883
|
'rootElement',
|
|
949
884
|
'scrollAction',
|
|
950
885
|
'showAnimation',
|
|
@@ -991,6 +926,7 @@ export class BryntumRadioGroup extends React.Component<BryntumRadioGroupProps> {
|
|
|
991
926
|
'keyMap',
|
|
992
927
|
'label',
|
|
993
928
|
'labelPosition',
|
|
929
|
+
'labelWidth',
|
|
994
930
|
'layout',
|
|
995
931
|
'layoutStyle',
|
|
996
932
|
'margin',
|
|
@@ -1037,11 +973,6 @@ export class BryntumRadioGroup extends React.Component<BryntumRadioGroupProps> {
|
|
|
1037
973
|
];
|
|
1038
974
|
|
|
1039
975
|
static propertyNames = [
|
|
1040
|
-
'anchorSize',
|
|
1041
|
-
'focusVisible',
|
|
1042
|
-
'hasChanges',
|
|
1043
|
-
'isSettingValues',
|
|
1044
|
-
'isValid',
|
|
1045
976
|
'parent',
|
|
1046
977
|
'state',
|
|
1047
978
|
'values'
|