@bryntum/core-react-thin 7.2.4 → 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
package/src/BryntumTabPanel.tsx
CHANGED
|
@@ -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, Rectangle, Scroller, ScrollerConfig, StateProvider, TabBarConfig, TabConfig, TabPanel, TabPanelListeners, 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, ReactJSX, Rectangle, Scroller, ScrollerConfig, StateProvider, TabBarConfig, TabConfig, TabPanel, TabPanelListeners, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
7
7
|
|
|
8
8
|
import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
|
|
9
9
|
|
|
@@ -16,14 +16,12 @@ export type BryntumTabPanelProps = {
|
|
|
16
16
|
/**
|
|
17
17
|
* Element (or element id) to adopt as this Widget's encapsulating element. The widget's
|
|
18
18
|
* content will be placed inside this element.
|
|
19
|
-
* ...
|
|
20
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-adopt)
|
|
19
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-adopt)
|
|
21
20
|
*/
|
|
22
21
|
adopt? : HTMLElement|string
|
|
23
22
|
/**
|
|
24
23
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
25
|
-
* ...
|
|
26
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-align)
|
|
24
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-align)
|
|
27
25
|
*/
|
|
28
26
|
align? : AlignSpec|string
|
|
29
27
|
/**
|
|
@@ -49,15 +47,13 @@ export type BryntumTabPanelProps = {
|
|
|
49
47
|
/**
|
|
50
48
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
|
|
51
49
|
* into an element which will be linked using the `aria-describedby` attribute.
|
|
52
|
-
* ...
|
|
53
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-ariaDescription)
|
|
50
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-ariaDescription)
|
|
54
51
|
*/
|
|
55
52
|
ariaDescription? : string
|
|
56
53
|
/**
|
|
57
54
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
|
|
58
55
|
* the `aria-label` attribute.
|
|
59
|
-
* ...
|
|
60
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-ariaLabel)
|
|
56
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-ariaLabel)
|
|
61
57
|
*/
|
|
62
58
|
ariaLabel? : string
|
|
63
59
|
/**
|
|
@@ -71,14 +67,12 @@ export type BryntumTabPanelProps = {
|
|
|
71
67
|
/**
|
|
72
68
|
* A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar),
|
|
73
69
|
* 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).
|
|
74
|
-
* ...
|
|
75
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-bbar)
|
|
70
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-bbar)
|
|
76
71
|
*/
|
|
77
72
|
bbar? : (CoreContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
|
|
78
73
|
/**
|
|
79
74
|
* Custom CSS classes to add to the panel's body element.
|
|
80
|
-
* ...
|
|
81
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-bodyCls)
|
|
75
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-bodyCls)
|
|
82
76
|
*/
|
|
83
77
|
bodyCls? : string|object
|
|
84
78
|
/**
|
|
@@ -88,21 +82,18 @@ export type BryntumTabPanelProps = {
|
|
|
88
82
|
/**
|
|
89
83
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
90
84
|
* hierarchy when triggered.
|
|
91
|
-
* ...
|
|
92
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-bubbleEvents)
|
|
85
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-bubbleEvents)
|
|
93
86
|
*/
|
|
94
87
|
bubbleEvents? : object
|
|
95
88
|
/**
|
|
96
89
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
97
|
-
* ...
|
|
98
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-callOnFunctions)
|
|
90
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-callOnFunctions)
|
|
99
91
|
*/
|
|
100
92
|
callOnFunctions? : boolean
|
|
101
93
|
/**
|
|
102
94
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
103
95
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
104
|
-
* ...
|
|
105
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-catchEventHandlerExceptions)
|
|
96
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-catchEventHandlerExceptions)
|
|
106
97
|
*/
|
|
107
98
|
catchEventHandlerExceptions? : boolean
|
|
108
99
|
/**
|
|
@@ -114,8 +105,7 @@ export type BryntumTabPanelProps = {
|
|
|
114
105
|
* Custom CSS classes to add to element.
|
|
115
106
|
* May be specified as a space separated string, or as an object in which property names
|
|
116
107
|
* with truthy values are used as the class names:
|
|
117
|
-
* ...
|
|
118
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-cls)
|
|
108
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-cls)
|
|
119
109
|
*/
|
|
120
110
|
cls? : string|object
|
|
121
111
|
/**
|
|
@@ -125,15 +115,13 @@ export type BryntumTabPanelProps = {
|
|
|
125
115
|
collapsed? : boolean
|
|
126
116
|
/**
|
|
127
117
|
* This config enables collapsibility for the panel. See [collapsed](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-collapsed).
|
|
128
|
-
* ...
|
|
129
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-collapsible)
|
|
118
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-collapsible)
|
|
130
119
|
*/
|
|
131
120
|
collapsible? : boolean|PanelCollapserConfig|PanelCollapserOverlayConfig
|
|
132
121
|
/**
|
|
133
122
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
134
123
|
* `style` block.
|
|
135
|
-
* ...
|
|
136
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-color)
|
|
124
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-color)
|
|
137
125
|
*/
|
|
138
126
|
color? : Color
|
|
139
127
|
/**
|
|
@@ -157,8 +145,7 @@ export type BryntumTabPanelProps = {
|
|
|
157
145
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
158
146
|
* May be specified as a space separated string, or as an object in which property names
|
|
159
147
|
* with truthy values are used as the class names:
|
|
160
|
-
* ...
|
|
161
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-contentElementCls)
|
|
148
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-contentElementCls)
|
|
162
149
|
*/
|
|
163
150
|
contentElementCls? : string|object
|
|
164
151
|
/**
|
|
@@ -178,8 +165,7 @@ export type BryntumTabPanelProps = {
|
|
|
178
165
|
/**
|
|
179
166
|
* A [query](https://bryntum.com/products/core/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
|
|
180
167
|
* focus should be directed by default.
|
|
181
|
-
* ...
|
|
182
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-defaultFocus)
|
|
168
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-defaultFocus)
|
|
183
169
|
* @param {Core.widget.Widget} widget Widget passed to method
|
|
184
170
|
* @returns {boolean} truthy value if widget is the default one
|
|
185
171
|
*/
|
|
@@ -189,16 +175,15 @@ export type BryntumTabPanelProps = {
|
|
|
189
175
|
*/
|
|
190
176
|
defaults? : CoreContainerItemConfig
|
|
191
177
|
/**
|
|
192
|
-
* Check for CSS compatibility issues
|
|
193
|
-
*
|
|
194
|
-
* [
|
|
178
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
179
|
+
* checks:
|
|
180
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-detectCSSCompatibilityIssues)
|
|
195
181
|
*/
|
|
196
182
|
detectCSSCompatibilityIssues? : boolean
|
|
197
183
|
/**
|
|
198
184
|
* 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
|
|
199
185
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
200
|
-
* ...
|
|
201
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-disabled)
|
|
186
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-disabled)
|
|
202
187
|
*/
|
|
203
188
|
disabled? : boolean|'inert'
|
|
204
189
|
/**
|
|
@@ -206,39 +191,34 @@ export type BryntumTabPanelProps = {
|
|
|
206
191
|
* [strips collection](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
207
192
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
208
193
|
* body. Such widgets are called "edge strips".
|
|
209
|
-
* ...
|
|
210
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-dock)
|
|
194
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-dock)
|
|
211
195
|
*/
|
|
212
196
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
213
197
|
/**
|
|
214
198
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
215
199
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
216
200
|
* property which controls when a drag should start.
|
|
217
|
-
* ...
|
|
218
|
-
*
|
|
201
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-draggable)
|
|
202
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
219
203
|
*/
|
|
220
|
-
draggable? : boolean|
|
|
221
|
-
handleSelector?: string
|
|
222
|
-
}
|
|
204
|
+
draggable? : boolean|object
|
|
223
205
|
/**
|
|
224
206
|
* Make this Panel a docked drawer which slides out from one side of the browser viewport by default.
|
|
225
|
-
* ...
|
|
226
|
-
* [
|
|
227
|
-
* @param {
|
|
228
|
-
* @param {
|
|
229
|
-
* @param {boolean}
|
|
230
|
-
* @param {boolean,
|
|
231
|
-
* @param {boolean,string} autoClose.
|
|
232
|
-
* @param {
|
|
233
|
-
* @param {
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
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}
|
|
207
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-drawer)
|
|
208
|
+
* @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.
|
|
209
|
+
* @param {string,number} [size] The size of the drawer in its collapsible axis.
|
|
210
|
+
* @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.
|
|
211
|
+
* @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.
|
|
212
|
+
* @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.
|
|
213
|
+
* @param {boolean,string} [autoClose.focusout] If focus moves outside of the drawer, the drawer will automatically be hidden.
|
|
214
|
+
* @param {string} [autoClose.mouseout] Hides the drawer when the mouse leaves the drawer after the `autoCloseDelay` period.
|
|
215
|
+
* @param {number} [autoCloseDelay] When using `mouseout`, this is the delay in milliseconds
|
|
216
|
+
*/
|
|
217
|
+
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 }
|
|
237
218
|
/**
|
|
238
219
|
* An object specifying attributes to assign to the root element of this widget.
|
|
239
220
|
* Set `null` value to attribute to remove it.
|
|
240
|
-
* ...
|
|
241
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-elementAttributes)
|
|
221
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-elementAttributes)
|
|
242
222
|
*/
|
|
243
223
|
elementAttributes? : Record<string, string|null>
|
|
244
224
|
extraData? : any
|
|
@@ -258,18 +238,15 @@ export type BryntumTabPanelProps = {
|
|
|
258
238
|
/**
|
|
259
239
|
* Config object of a footer. May contain a `dock`, `html` and a `cls` property. A footer is not a widget,
|
|
260
240
|
* 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).
|
|
261
|
-
* ...
|
|
262
|
-
*
|
|
241
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-footer)
|
|
242
|
+
* @property {'top','right','bottom','left','start','end'} dock Where to dock
|
|
243
|
+
* @property {string} html Html to populate the footer with
|
|
244
|
+
* @property {string} cls CSS class to add to the footer
|
|
263
245
|
*/
|
|
264
|
-
footer? :
|
|
265
|
-
dock?: 'top'|'right'|'bottom'|'left'|'start'|'end'
|
|
266
|
-
html?: string
|
|
267
|
-
cls?: string
|
|
268
|
-
}|string
|
|
246
|
+
footer? : object|string
|
|
269
247
|
/**
|
|
270
248
|
* 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`.
|
|
271
|
-
* ...
|
|
272
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-header)
|
|
249
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-header)
|
|
273
250
|
*/
|
|
274
251
|
header? : string|boolean|PanelHeader
|
|
275
252
|
/**
|
|
@@ -284,25 +261,21 @@ export type BryntumTabPanelProps = {
|
|
|
284
261
|
hidden? : boolean
|
|
285
262
|
/**
|
|
286
263
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
287
|
-
* ...
|
|
288
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-hideAnimation)
|
|
264
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-hideAnimation)
|
|
289
265
|
*/
|
|
290
266
|
hideAnimation? : boolean|object
|
|
291
267
|
/**
|
|
292
268
|
* Specify `true` to make this container hide when it has no visible children (Either empty
|
|
293
269
|
* or all children hidden).
|
|
294
|
-
* ...
|
|
295
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-hideWhenEmpty)
|
|
270
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-hideWhenEmpty)
|
|
296
271
|
*/
|
|
297
272
|
hideWhenEmpty? : boolean
|
|
298
273
|
/**
|
|
299
274
|
* The HTML to display initially or a function returning the markup (called at widget construction time).
|
|
300
|
-
* ...
|
|
301
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-html)
|
|
275
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-html)
|
|
302
276
|
* @param {Core.widget.Widget} widget The calling Widget
|
|
303
|
-
* @returns {string}
|
|
304
277
|
*/
|
|
305
|
-
html? : string|((widget: Widget) =>
|
|
278
|
+
html? : string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX
|
|
306
279
|
/**
|
|
307
280
|
* The CSS class(es) to add when HTML content is being applied to this widget.
|
|
308
281
|
*/
|
|
@@ -318,16 +291,14 @@ export type BryntumTabPanelProps = {
|
|
|
318
291
|
id? : string
|
|
319
292
|
/**
|
|
320
293
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
321
|
-
* ...
|
|
322
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-ignoreParentReadOnly)
|
|
294
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-ignoreParentReadOnly)
|
|
323
295
|
*/
|
|
324
296
|
ignoreParentReadOnly? : boolean
|
|
325
297
|
/**
|
|
326
298
|
* Convenience setting to align input fields of child widgets. By default, the Field input element is
|
|
327
299
|
* placed immediately following the `label`. If you prefer to have all input fields aligned to the
|
|
328
300
|
* right, set this config to `'end'`.
|
|
329
|
-
* ...
|
|
330
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-inputFieldAlign)
|
|
301
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-inputFieldAlign)
|
|
331
302
|
*/
|
|
332
303
|
inputFieldAlign? : 'start'|'end'
|
|
333
304
|
/**
|
|
@@ -345,55 +316,52 @@ export type BryntumTabPanelProps = {
|
|
|
345
316
|
/**
|
|
346
317
|
* An object containing typed child widget config objects or Widgets. May also be specified
|
|
347
318
|
* as an array.
|
|
348
|
-
* ...
|
|
349
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-items)
|
|
319
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-items)
|
|
350
320
|
*/
|
|
351
321
|
items? : Record<string, CoreContainerItemConfig|MenuItemEntry>|(CoreContainerItemConfig|MenuItemEntry|Widget)[]
|
|
352
322
|
/**
|
|
353
323
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
354
324
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
355
325
|
* 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/TabPanel#config-keyMap)
|
|
326
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-keyMap)
|
|
358
327
|
*/
|
|
359
328
|
keyMap? : Record<string, KeyMapConfig>
|
|
360
329
|
/**
|
|
361
330
|
* Convenience setting to use same label placement on all child widgets.
|
|
362
|
-
* ...
|
|
363
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-labelPosition)
|
|
331
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-labelPosition)
|
|
364
332
|
*/
|
|
365
333
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
334
|
+
/**
|
|
335
|
+
* Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.
|
|
336
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-labelWidth)
|
|
337
|
+
*/
|
|
338
|
+
labelWidth? : number|null
|
|
366
339
|
/**
|
|
367
340
|
* The short name of a helper class which manages rendering and styling of child items.
|
|
368
|
-
* ...
|
|
369
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-layout)
|
|
341
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-layout)
|
|
370
342
|
*/
|
|
371
343
|
layout? : string|CoreContainerLayoutConfig
|
|
372
344
|
/**
|
|
373
345
|
* The CSS style properties to apply to the [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
374
|
-
* ...
|
|
375
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-layoutStyle)
|
|
346
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-layoutStyle)
|
|
376
347
|
*/
|
|
377
348
|
layoutStyle? : object
|
|
378
349
|
/**
|
|
379
350
|
* 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
|
|
380
351
|
* instances only when this Container is rendered, rather than eagerly at construct time.
|
|
381
|
-
* ...
|
|
382
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-lazyItems)
|
|
352
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-lazyItems)
|
|
383
353
|
*/
|
|
384
354
|
lazyItems? : Record<string, CoreContainerItemConfig>|CoreContainerItemConfig[]|Widget[]
|
|
385
355
|
/**
|
|
386
356
|
* The listener set for this object.
|
|
387
|
-
* ...
|
|
388
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-listeners)
|
|
357
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-listeners)
|
|
389
358
|
*/
|
|
390
359
|
listeners? : TabPanelListeners
|
|
391
360
|
/**
|
|
392
361
|
* A class translations of which are used for translating this entity.
|
|
393
362
|
* This is often used when translations of an item are defined on its container class.
|
|
394
363
|
* For example:
|
|
395
|
-
* ...
|
|
396
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-localeClass)
|
|
364
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-localeClass)
|
|
397
365
|
*/
|
|
398
366
|
localeClass? : typeof Base
|
|
399
367
|
/**
|
|
@@ -405,8 +373,7 @@ export type BryntumTabPanelProps = {
|
|
|
405
373
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
406
374
|
* you could use 'localeKey' meta configuration.
|
|
407
375
|
* Example:
|
|
408
|
-
* ...
|
|
409
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-localizableProperties)
|
|
376
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-localizableProperties)
|
|
410
377
|
*/
|
|
411
378
|
localizableProperties? : string[]
|
|
412
379
|
/**
|
|
@@ -432,8 +399,7 @@ export type BryntumTabPanelProps = {
|
|
|
432
399
|
maxHeight? : string|number
|
|
433
400
|
/**
|
|
434
401
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
435
|
-
* ...
|
|
436
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-maximizeOnMobile)
|
|
402
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-maximizeOnMobile)
|
|
437
403
|
*/
|
|
438
404
|
maximizeOnMobile? : number|string
|
|
439
405
|
/**
|
|
@@ -455,26 +421,22 @@ export type BryntumTabPanelProps = {
|
|
|
455
421
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
456
422
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
457
423
|
* layout.
|
|
458
|
-
* ...
|
|
459
|
-
*
|
|
424
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-monitorResize)
|
|
425
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
460
426
|
*/
|
|
461
|
-
monitorResize? : boolean|
|
|
462
|
-
immediate?: boolean
|
|
463
|
-
}
|
|
427
|
+
monitorResize? : boolean|object
|
|
464
428
|
/**
|
|
465
429
|
* 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)
|
|
466
430
|
* config. For example, a specialized [Menu](https://bryntum.com/products/core/docs/api/Core/widget/Menu) subclass may have a `namedItems` default
|
|
467
431
|
* value defined like this:
|
|
468
|
-
* ...
|
|
469
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-namedItems)
|
|
432
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-namedItems)
|
|
470
433
|
*/
|
|
471
434
|
namedItems? : Record<string, CoreContainerItemConfig>
|
|
472
435
|
/**
|
|
473
436
|
* 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
|
|
474
437
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
475
438
|
* widget's [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
476
|
-
* ...
|
|
477
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-positioned)
|
|
439
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-positioned)
|
|
478
440
|
*/
|
|
479
441
|
positioned? : boolean
|
|
480
442
|
/**
|
|
@@ -485,45 +447,45 @@ export type BryntumTabPanelProps = {
|
|
|
485
447
|
/**
|
|
486
448
|
* Whether this widget is read-only. This is only valid if the widget is an input
|
|
487
449
|
* field, <strong>or contains input fields at any depth</strong>.
|
|
488
|
-
* ...
|
|
489
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-readOnly)
|
|
450
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-readOnly)
|
|
490
451
|
*/
|
|
491
452
|
readOnly? : boolean
|
|
492
453
|
/**
|
|
493
454
|
* [Record](https://bryntum.com/products/core/docs/api/Core/data/Model) whose values will be used to populate fields in the container.
|
|
494
|
-
* ...
|
|
495
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-record)
|
|
455
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-record)
|
|
496
456
|
*/
|
|
497
457
|
record? : Model
|
|
498
458
|
relayStoreEvents? : boolean
|
|
499
459
|
/**
|
|
500
460
|
* Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
|
|
501
461
|
* `type`.
|
|
502
|
-
* ...
|
|
503
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-rendition)
|
|
462
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-rendition)
|
|
504
463
|
*/
|
|
505
464
|
rendition? : string|Record<string, string>|null
|
|
506
465
|
/**
|
|
507
466
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
508
467
|
* [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
|
|
509
468
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
510
|
-
* ...
|
|
511
|
-
* [
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
469
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-ripple)
|
|
470
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
471
|
+
* @property {string} [color] A CSS color name or specification.
|
|
472
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
473
|
+
* @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.
|
|
474
|
+
*/
|
|
475
|
+
ripple? : boolean|object
|
|
476
|
+
/**
|
|
477
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
478
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
479
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-role)
|
|
480
|
+
*/
|
|
481
|
+
role? : string
|
|
519
482
|
/**
|
|
520
483
|
* 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`
|
|
521
484
|
*/
|
|
522
485
|
rootElement? : ShadowRoot|HTMLElement
|
|
523
486
|
/**
|
|
524
487
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
525
|
-
* ...
|
|
526
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-rtl)
|
|
488
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-rtl)
|
|
527
489
|
*/
|
|
528
490
|
rtl? : boolean
|
|
529
491
|
/**
|
|
@@ -531,8 +493,7 @@ export type BryntumTabPanelProps = {
|
|
|
531
493
|
* in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
|
|
532
494
|
* applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
|
|
533
495
|
* CSS overflow properties thus:
|
|
534
|
-
* ...
|
|
535
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-scrollable)
|
|
496
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-scrollable)
|
|
536
497
|
*/
|
|
537
498
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
538
499
|
/**
|
|
@@ -542,8 +503,7 @@ export type BryntumTabPanelProps = {
|
|
|
542
503
|
scrollAction? : 'hide'|'realign'|null
|
|
543
504
|
/**
|
|
544
505
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
545
|
-
* ...
|
|
546
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-showAnimation)
|
|
506
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-showAnimation)
|
|
547
507
|
*/
|
|
548
508
|
showAnimation? : boolean|object
|
|
549
509
|
/**
|
|
@@ -556,30 +516,26 @@ export type BryntumTabPanelProps = {
|
|
|
556
516
|
span? : number
|
|
557
517
|
/**
|
|
558
518
|
* This value can be one of the following:
|
|
559
|
-
* ...
|
|
560
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-stateful)
|
|
519
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-stateful)
|
|
561
520
|
*/
|
|
562
521
|
stateful? : boolean|object|string[]
|
|
563
522
|
/**
|
|
564
523
|
* The events that, when fired by this component, should trigger it to save its state by calling
|
|
565
524
|
* [saveState](https://bryntum.com/products/core/docs/api/Core/mixin/State#function-saveState).
|
|
566
|
-
* ...
|
|
567
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-statefulEvents)
|
|
525
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-statefulEvents)
|
|
568
526
|
*/
|
|
569
527
|
statefulEvents? : object|string[]
|
|
570
528
|
/**
|
|
571
529
|
* 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
|
|
572
530
|
* 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)
|
|
573
531
|
* (if explicitly specified) will be used as the `stateId`.
|
|
574
|
-
* ...
|
|
575
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-stateId)
|
|
532
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-stateId)
|
|
576
533
|
*/
|
|
577
534
|
stateId? : string
|
|
578
535
|
/**
|
|
579
536
|
* 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`
|
|
580
537
|
* will be saved using the [default state provider](https://bryntum.com/products/core/docs/api/Core/state/StateProvider#property-instance-static).
|
|
581
|
-
* ...
|
|
582
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-stateProvider)
|
|
538
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-stateProvider)
|
|
583
539
|
*/
|
|
584
540
|
stateProvider? : StateProvider
|
|
585
541
|
/**
|
|
@@ -591,29 +547,25 @@ export type BryntumTabPanelProps = {
|
|
|
591
547
|
* An object containing widgets keyed by name. By default (when no `type` is given), strips are
|
|
592
548
|
* [toolbars](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar). If you want to pass an array, you can use
|
|
593
549
|
* the toolbar's [items](https://bryntum.com/products/core/docs/api/Core/widget/Container#config-items).
|
|
594
|
-
* ...
|
|
595
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-strips)
|
|
550
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-strips)
|
|
596
551
|
*/
|
|
597
552
|
strips? : Record<string, CoreContainerItemConfig>
|
|
598
553
|
/**
|
|
599
554
|
* 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
|
|
600
555
|
* [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
|
|
601
556
|
* this widget:
|
|
602
|
-
* ...
|
|
603
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-tab)
|
|
557
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-tab)
|
|
604
558
|
*/
|
|
605
559
|
tab? : boolean|TabConfig
|
|
606
560
|
/**
|
|
607
561
|
* Additional configuration for the tab bar.
|
|
608
|
-
* ...
|
|
609
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-tabBar)
|
|
562
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-tabBar)
|
|
610
563
|
*/
|
|
611
564
|
tabBar? : TabBarConfig
|
|
612
565
|
/**
|
|
613
566
|
* When this container is used as a tab in a TabPanel, these items are added to the
|
|
614
567
|
* [TabBar](https://bryntum.com/products/core/docs/api/Core/widget/TabBar) when this container is the active tab.
|
|
615
|
-
* ...
|
|
616
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-tabBarItems)
|
|
568
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-tabBarItems)
|
|
617
569
|
*/
|
|
618
570
|
tabBarItems? : ToolbarItems[]|Widget[]
|
|
619
571
|
/**
|
|
@@ -632,42 +584,36 @@ export type BryntumTabPanelProps = {
|
|
|
632
584
|
* A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar),
|
|
633
585
|
* or array of config objects representing the child items of a Toolbar.
|
|
634
586
|
* This creates a toolbar docked to the top of the panel immediately below the header.
|
|
635
|
-
* ...
|
|
636
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-tbar)
|
|
587
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-tbar)
|
|
637
588
|
*/
|
|
638
589
|
tbar? : (CoreContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
|
|
639
590
|
/**
|
|
640
591
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
641
|
-
* ...
|
|
642
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-textAlign)
|
|
592
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-textAlign)
|
|
643
593
|
*/
|
|
644
594
|
textAlign? : 'left'|'center'|'right'|'start'|'end'
|
|
645
595
|
/**
|
|
646
596
|
* Specify `true` for a container used to show text markup. It will apply the CSS class `b-text-content`
|
|
647
597
|
* which specifies a default max-width that makes long text more readable.
|
|
648
|
-
* ...
|
|
649
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-textContent)
|
|
598
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-textContent)
|
|
650
599
|
*/
|
|
651
600
|
textContent? : boolean
|
|
652
601
|
/**
|
|
653
602
|
* A title to display in the header or owning TabPanel. Causes creation and docking of a header
|
|
654
603
|
* to the top if no header is configured.
|
|
655
|
-
* ...
|
|
656
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-title)
|
|
604
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-title)
|
|
657
605
|
*/
|
|
658
606
|
title? : string
|
|
659
607
|
/**
|
|
660
608
|
* 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
|
|
661
609
|
* property name is the reference by which an instantiated tool may be retrieved from the live
|
|
662
610
|
* `[tools](https://bryntum.com/products/core/docs/api/Core/widget/mixin/Toolable#property-tools)` property.
|
|
663
|
-
* ...
|
|
664
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-tools)
|
|
611
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-tools)
|
|
665
612
|
*/
|
|
666
613
|
tools? : Record<string, ToolConfig>|null
|
|
667
614
|
/**
|
|
668
615
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
669
|
-
* ...
|
|
670
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-tooltip)
|
|
616
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-tooltip)
|
|
671
617
|
*/
|
|
672
618
|
tooltip? : string|TooltipConfig|null
|
|
673
619
|
/**
|
|
@@ -681,8 +627,7 @@ export type BryntumTabPanelProps = {
|
|
|
681
627
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
682
628
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
683
629
|
* values are used as the class names.
|
|
684
|
-
* ...
|
|
685
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-ui)
|
|
630
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-ui)
|
|
686
631
|
*/
|
|
687
632
|
ui? : 'plain'|'toolbar'|string|object
|
|
688
633
|
/**
|
|
@@ -698,14 +643,12 @@ export type BryntumTabPanelProps = {
|
|
|
698
643
|
width? : string|number
|
|
699
644
|
/**
|
|
700
645
|
* The x position for the widget.
|
|
701
|
-
* ...
|
|
702
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-x)
|
|
646
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-x)
|
|
703
647
|
*/
|
|
704
648
|
x? : number
|
|
705
649
|
/**
|
|
706
650
|
* The y position for the widget.
|
|
707
|
-
* ...
|
|
708
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-y)
|
|
651
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-y)
|
|
709
652
|
*/
|
|
710
653
|
y? : number
|
|
711
654
|
|
|
@@ -759,8 +702,7 @@ export type BryntumTabPanelProps = {
|
|
|
759
702
|
onBeforeTabChange? : ((event: { activeIndex: number, activeItem: Widget, prevActiveIndex: number, prevActiveItem: Widget }) => Promise<boolean>|boolean|void)|string
|
|
760
703
|
/**
|
|
761
704
|
* Fires when any other event is fired from the object.
|
|
762
|
-
* ...
|
|
763
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#event-catchAll)
|
|
705
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#event-catchAll)
|
|
764
706
|
* @param {object} event Event object
|
|
765
707
|
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
766
708
|
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
@@ -830,8 +772,7 @@ export type BryntumTabPanelProps = {
|
|
|
830
772
|
/**
|
|
831
773
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
832
774
|
* achieves visibility.
|
|
833
|
-
* ...
|
|
834
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#event-paint)
|
|
775
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#event-paint)
|
|
835
776
|
* @param {object} event Event object
|
|
836
777
|
* @param {Core.widget.Widget} event.source The widget being painted.
|
|
837
778
|
* @param {boolean} event.firstPaint `true` if this is the first paint.
|
|
@@ -941,6 +882,7 @@ export class BryntumTabPanel extends React.Component<BryntumTabPanelProps> {
|
|
|
941
882
|
'preventTooltipOnTouch',
|
|
942
883
|
'relayStoreEvents',
|
|
943
884
|
'ripple',
|
|
885
|
+
'role',
|
|
944
886
|
'rootElement',
|
|
945
887
|
'scrollAction',
|
|
946
888
|
'showAnimation',
|
|
@@ -989,6 +931,7 @@ export class BryntumTabPanel extends React.Component<BryntumTabPanelProps> {
|
|
|
989
931
|
'items',
|
|
990
932
|
'keyMap',
|
|
991
933
|
'labelPosition',
|
|
934
|
+
'labelWidth',
|
|
992
935
|
'layout',
|
|
993
936
|
'layoutStyle',
|
|
994
937
|
'margin',
|
|
@@ -1036,11 +979,6 @@ export class BryntumTabPanel extends React.Component<BryntumTabPanelProps> {
|
|
|
1036
979
|
];
|
|
1037
980
|
|
|
1038
981
|
static propertyNames = [
|
|
1039
|
-
'anchorSize',
|
|
1040
|
-
'focusVisible',
|
|
1041
|
-
'hasChanges',
|
|
1042
|
-
'isSettingValues',
|
|
1043
|
-
'isValid',
|
|
1044
982
|
'parent',
|
|
1045
983
|
'state',
|
|
1046
984
|
'values'
|