@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
package/src/BryntumToolbar.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, ClickRepeaterConfig, Color, Container, CoreContainerItemConfig, CoreContainerLayoutConfig, DomConfig, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, Model, Rectangle, Scroller, ScrollerConfig, TabConfig, Tool, ToolConfig, Toolbar, ToolbarItems, ToolbarListeners, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
6
|
+
import { AlignSpec, Base, ClickRepeaterConfig, Color, Container, CoreContainerItemConfig, CoreContainerLayoutConfig, DomConfig, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, Model, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, Tool, ToolConfig, Toolbar, ToolbarItems, ToolbarListeners, 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 BryntumToolbarProps = {
|
|
|
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/Toolbar#config-adopt)
|
|
15
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#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/Toolbar#config-align)
|
|
20
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-align)
|
|
23
21
|
*/
|
|
24
22
|
align? : AlignSpec|string
|
|
25
23
|
/**
|
|
@@ -41,15 +39,13 @@ export type BryntumToolbarProps = {
|
|
|
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/Toolbar#config-ariaDescription)
|
|
42
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#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/Toolbar#config-ariaLabel)
|
|
48
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-ariaLabel)
|
|
53
49
|
*/
|
|
54
50
|
ariaLabel? : string
|
|
55
51
|
/**
|
|
@@ -63,21 +59,18 @@ export type BryntumToolbarProps = {
|
|
|
63
59
|
/**
|
|
64
60
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
65
61
|
* hierarchy when triggered.
|
|
66
|
-
* ...
|
|
67
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-bubbleEvents)
|
|
62
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-bubbleEvents)
|
|
68
63
|
*/
|
|
69
64
|
bubbleEvents? : object
|
|
70
65
|
/**
|
|
71
66
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
72
|
-
* ...
|
|
73
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-callOnFunctions)
|
|
67
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-callOnFunctions)
|
|
74
68
|
*/
|
|
75
69
|
callOnFunctions? : boolean
|
|
76
70
|
/**
|
|
77
71
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
78
72
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
79
|
-
* ...
|
|
80
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-catchEventHandlerExceptions)
|
|
73
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-catchEventHandlerExceptions)
|
|
81
74
|
*/
|
|
82
75
|
catchEventHandlerExceptions? : boolean
|
|
83
76
|
/**
|
|
@@ -89,15 +82,13 @@ export type BryntumToolbarProps = {
|
|
|
89
82
|
* Custom CSS classes to add to element.
|
|
90
83
|
* May be specified as a space separated string, or as an object in which property names
|
|
91
84
|
* with truthy values are used as the class names:
|
|
92
|
-
* ...
|
|
93
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-cls)
|
|
85
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-cls)
|
|
94
86
|
*/
|
|
95
87
|
cls? : string|object
|
|
96
88
|
/**
|
|
97
89
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
98
90
|
* `style` block.
|
|
99
|
-
* ...
|
|
100
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-color)
|
|
91
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-color)
|
|
101
92
|
*/
|
|
102
93
|
color? : Color
|
|
103
94
|
/**
|
|
@@ -121,8 +112,7 @@ export type BryntumToolbarProps = {
|
|
|
121
112
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
122
113
|
* May be specified as a space separated string, or as an object in which property names
|
|
123
114
|
* with truthy values are used as the class names:
|
|
124
|
-
* ...
|
|
125
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-contentElementCls)
|
|
115
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-contentElementCls)
|
|
126
116
|
*/
|
|
127
117
|
contentElementCls? : string|object
|
|
128
118
|
/**
|
|
@@ -142,8 +132,7 @@ export type BryntumToolbarProps = {
|
|
|
142
132
|
/**
|
|
143
133
|
* A [query](https://bryntum.com/products/core/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
|
|
144
134
|
* focus should be directed by default.
|
|
145
|
-
* ...
|
|
146
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-defaultFocus)
|
|
135
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-defaultFocus)
|
|
147
136
|
* @param {Core.widget.Widget} widget Widget passed to method
|
|
148
137
|
* @returns {boolean} truthy value if widget is the default one
|
|
149
138
|
*/
|
|
@@ -153,16 +142,15 @@ export type BryntumToolbarProps = {
|
|
|
153
142
|
*/
|
|
154
143
|
defaults? : CoreContainerItemConfig
|
|
155
144
|
/**
|
|
156
|
-
* Check for CSS compatibility issues
|
|
157
|
-
*
|
|
158
|
-
* [
|
|
145
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
146
|
+
* checks:
|
|
147
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-detectCSSCompatibilityIssues)
|
|
159
148
|
*/
|
|
160
149
|
detectCSSCompatibilityIssues? : boolean
|
|
161
150
|
/**
|
|
162
151
|
* 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
|
|
163
152
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
164
|
-
* ...
|
|
165
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-disabled)
|
|
153
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-disabled)
|
|
166
154
|
*/
|
|
167
155
|
disabled? : boolean|'inert'
|
|
168
156
|
/**
|
|
@@ -170,25 +158,21 @@ export type BryntumToolbarProps = {
|
|
|
170
158
|
* [strips collection](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
171
159
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
172
160
|
* body. Such widgets are called "edge strips".
|
|
173
|
-
* ...
|
|
174
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-dock)
|
|
161
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-dock)
|
|
175
162
|
*/
|
|
176
163
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
177
164
|
/**
|
|
178
165
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
179
166
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
180
167
|
* property which controls when a drag should start.
|
|
181
|
-
* ...
|
|
182
|
-
*
|
|
168
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-draggable)
|
|
169
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
183
170
|
*/
|
|
184
|
-
draggable? : boolean|
|
|
185
|
-
handleSelector?: string
|
|
186
|
-
}
|
|
171
|
+
draggable? : boolean|object
|
|
187
172
|
/**
|
|
188
173
|
* An object specifying attributes to assign to the root element of this widget.
|
|
189
174
|
* Set `null` value to attribute to remove it.
|
|
190
|
-
* ...
|
|
191
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-elementAttributes)
|
|
175
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-elementAttributes)
|
|
192
176
|
*/
|
|
193
177
|
elementAttributes? : Record<string, string|null>
|
|
194
178
|
/**
|
|
@@ -221,25 +205,21 @@ export type BryntumToolbarProps = {
|
|
|
221
205
|
hidden? : boolean
|
|
222
206
|
/**
|
|
223
207
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
224
|
-
* ...
|
|
225
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-hideAnimation)
|
|
208
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-hideAnimation)
|
|
226
209
|
*/
|
|
227
210
|
hideAnimation? : boolean|object
|
|
228
211
|
/**
|
|
229
212
|
* Specify `true` to make this container hide when it has no visible children (Either empty
|
|
230
213
|
* or all children hidden).
|
|
231
|
-
* ...
|
|
232
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-hideWhenEmpty)
|
|
214
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-hideWhenEmpty)
|
|
233
215
|
*/
|
|
234
216
|
hideWhenEmpty? : boolean
|
|
235
217
|
/**
|
|
236
218
|
* The HTML to display initially or a function returning the markup (called at widget construction time).
|
|
237
|
-
* ...
|
|
238
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-html)
|
|
219
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-html)
|
|
239
220
|
* @param {Core.widget.Widget} widget The calling Widget
|
|
240
|
-
* @returns {string}
|
|
241
221
|
*/
|
|
242
|
-
html? : string|((widget: Widget) =>
|
|
222
|
+
html? : string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX
|
|
243
223
|
/**
|
|
244
224
|
* The CSS class(es) to add when HTML content is being applied to this widget.
|
|
245
225
|
*/
|
|
@@ -250,16 +230,14 @@ export type BryntumToolbarProps = {
|
|
|
250
230
|
id? : string
|
|
251
231
|
/**
|
|
252
232
|
* Determines if the toolbars read-only state should be controlled by its parent.
|
|
253
|
-
* ...
|
|
254
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-ignoreParentReadOnly)
|
|
233
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-ignoreParentReadOnly)
|
|
255
234
|
*/
|
|
256
235
|
ignoreParentReadOnly? : boolean
|
|
257
236
|
/**
|
|
258
237
|
* Convenience setting to align input fields of child widgets. By default, the Field input element is
|
|
259
238
|
* placed immediately following the `label`. If you prefer to have all input fields aligned to the
|
|
260
239
|
* right, set this config to `'end'`.
|
|
261
|
-
* ...
|
|
262
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-inputFieldAlign)
|
|
240
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-inputFieldAlign)
|
|
263
241
|
*/
|
|
264
242
|
inputFieldAlign? : 'start'|'end'
|
|
265
243
|
/**
|
|
@@ -277,16 +255,14 @@ export type BryntumToolbarProps = {
|
|
|
277
255
|
/**
|
|
278
256
|
* An object containing typed child widget config objects or [Widgets](https://bryntum.com/products/core/docs/api/Core/widget/Widget). Can also be
|
|
279
257
|
* specified as an array.
|
|
280
|
-
* ...
|
|
281
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-items)
|
|
258
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-items)
|
|
282
259
|
*/
|
|
283
260
|
items? : Record<string, ToolbarItems|boolean|null>|ToolbarItems[]|Widget[]
|
|
284
261
|
/**
|
|
285
262
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
286
263
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
287
264
|
* are the name of the instance method to call when the keystroke is received.
|
|
288
|
-
* ...
|
|
289
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-keyMap)
|
|
265
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-keyMap)
|
|
290
266
|
*/
|
|
291
267
|
keyMap? : Record<string, KeyMapConfig>
|
|
292
268
|
/**
|
|
@@ -294,37 +270,37 @@ export type BryntumToolbarProps = {
|
|
|
294
270
|
* independent of which theme is used.
|
|
295
271
|
*/
|
|
296
272
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
273
|
+
/**
|
|
274
|
+
* Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.
|
|
275
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-labelWidth)
|
|
276
|
+
*/
|
|
277
|
+
labelWidth? : number|null
|
|
297
278
|
/**
|
|
298
279
|
* The short name of a helper class which manages rendering and styling of child items.
|
|
299
|
-
* ...
|
|
300
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-layout)
|
|
280
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-layout)
|
|
301
281
|
*/
|
|
302
282
|
layout? : string|CoreContainerLayoutConfig
|
|
303
283
|
/**
|
|
304
284
|
* The CSS style properties to apply to the [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
305
|
-
* ...
|
|
306
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-layoutStyle)
|
|
285
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-layoutStyle)
|
|
307
286
|
*/
|
|
308
287
|
layoutStyle? : object
|
|
309
288
|
/**
|
|
310
289
|
* 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
|
|
311
290
|
* instances only when this Container is rendered, rather than eagerly at construct time.
|
|
312
|
-
* ...
|
|
313
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-lazyItems)
|
|
291
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-lazyItems)
|
|
314
292
|
*/
|
|
315
293
|
lazyItems? : Record<string, CoreContainerItemConfig>|CoreContainerItemConfig[]|Widget[]
|
|
316
294
|
/**
|
|
317
295
|
* The listener set for this object.
|
|
318
|
-
* ...
|
|
319
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-listeners)
|
|
296
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-listeners)
|
|
320
297
|
*/
|
|
321
298
|
listeners? : ToolbarListeners
|
|
322
299
|
/**
|
|
323
300
|
* A class translations of which are used for translating this entity.
|
|
324
301
|
* This is often used when translations of an item are defined on its container class.
|
|
325
302
|
* For example:
|
|
326
|
-
* ...
|
|
327
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-localeClass)
|
|
303
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-localeClass)
|
|
328
304
|
*/
|
|
329
305
|
localeClass? : typeof Base
|
|
330
306
|
/**
|
|
@@ -336,8 +312,7 @@ export type BryntumToolbarProps = {
|
|
|
336
312
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
337
313
|
* you could use 'localeKey' meta configuration.
|
|
338
314
|
* Example:
|
|
339
|
-
* ...
|
|
340
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-localizableProperties)
|
|
315
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-localizableProperties)
|
|
341
316
|
*/
|
|
342
317
|
localizableProperties? : string[]
|
|
343
318
|
/**
|
|
@@ -363,8 +338,7 @@ export type BryntumToolbarProps = {
|
|
|
363
338
|
maxHeight? : string|number
|
|
364
339
|
/**
|
|
365
340
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
366
|
-
* ...
|
|
367
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-maximizeOnMobile)
|
|
341
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-maximizeOnMobile)
|
|
368
342
|
*/
|
|
369
343
|
maximizeOnMobile? : number|string
|
|
370
344
|
/**
|
|
@@ -386,36 +360,30 @@ export type BryntumToolbarProps = {
|
|
|
386
360
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
387
361
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
388
362
|
* layout.
|
|
389
|
-
* ...
|
|
390
|
-
*
|
|
363
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-monitorResize)
|
|
364
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
391
365
|
*/
|
|
392
|
-
monitorResize? : boolean|
|
|
393
|
-
immediate?: boolean
|
|
394
|
-
}
|
|
366
|
+
monitorResize? : boolean|object
|
|
395
367
|
/**
|
|
396
368
|
* 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)
|
|
397
369
|
* config. For example, a specialized [Menu](https://bryntum.com/products/core/docs/api/Core/widget/Menu) subclass may have a `namedItems` default
|
|
398
370
|
* value defined like this:
|
|
399
|
-
* ...
|
|
400
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-namedItems)
|
|
371
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-namedItems)
|
|
401
372
|
*/
|
|
402
373
|
namedItems? : Record<string, CoreContainerItemConfig>
|
|
403
374
|
/**
|
|
404
375
|
* How this Toolbar should deal with items that overflow its main axis.
|
|
405
|
-
* ...
|
|
406
|
-
*
|
|
376
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-overflow)
|
|
377
|
+
* @property {'scroll','menu'} overflow.type `'scroll'` or `'menu'`
|
|
378
|
+
* @property {ClickRepeaterConfig} overflow.repeat A config object to reconfigure the [ClickRepeater](https://bryntum.com/products/core/docs/api/Core/util/ClickRepeater) which controls auto repeat speed when holding down the scroll buttons when `type` is `'scroll'`
|
|
379
|
+
* @property {Function} overflow.filter A filter function which may return a falsy value to prevent toolbar items from being cloned into the overflow menu.
|
|
407
380
|
*/
|
|
408
|
-
overflow? : string|{
|
|
409
|
-
type?: 'scroll'|'menu'
|
|
410
|
-
repeat?: ClickRepeaterConfig
|
|
411
|
-
filter?: Function
|
|
412
|
-
}|null
|
|
381
|
+
overflow? : string|{ type: 'scroll'|'menu', repeat: ClickRepeaterConfig, filter: () => void }|null
|
|
413
382
|
/**
|
|
414
383
|
* 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
|
|
415
384
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
416
385
|
* widget's [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
417
|
-
* ...
|
|
418
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-positioned)
|
|
386
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-positioned)
|
|
419
387
|
*/
|
|
420
388
|
positioned? : boolean
|
|
421
389
|
/**
|
|
@@ -426,45 +394,45 @@ export type BryntumToolbarProps = {
|
|
|
426
394
|
/**
|
|
427
395
|
* Whether this widget is read-only. This is only valid if the widget is an input
|
|
428
396
|
* field, <strong>or contains input fields at any depth</strong>.
|
|
429
|
-
* ...
|
|
430
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-readOnly)
|
|
397
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-readOnly)
|
|
431
398
|
*/
|
|
432
399
|
readOnly? : boolean
|
|
433
400
|
/**
|
|
434
401
|
* [Record](https://bryntum.com/products/core/docs/api/Core/data/Model) whose values will be used to populate fields in the container.
|
|
435
|
-
* ...
|
|
436
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-record)
|
|
402
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-record)
|
|
437
403
|
*/
|
|
438
404
|
record? : Model
|
|
439
405
|
relayStoreEvents? : boolean
|
|
440
406
|
/**
|
|
441
407
|
* Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
|
|
442
408
|
* `type`.
|
|
443
|
-
* ...
|
|
444
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-rendition)
|
|
409
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-rendition)
|
|
445
410
|
*/
|
|
446
411
|
rendition? : string|Record<string, string>|null
|
|
447
412
|
/**
|
|
448
413
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
449
414
|
* [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
|
|
450
415
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
451
|
-
* ...
|
|
452
|
-
* [
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
416
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-ripple)
|
|
417
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
418
|
+
* @property {string} [color] A CSS color name or specification.
|
|
419
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
420
|
+
* @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.
|
|
421
|
+
*/
|
|
422
|
+
ripple? : boolean|object
|
|
423
|
+
/**
|
|
424
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
425
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
426
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-role)
|
|
427
|
+
*/
|
|
428
|
+
role? : string
|
|
460
429
|
/**
|
|
461
430
|
* 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`
|
|
462
431
|
*/
|
|
463
432
|
rootElement? : ShadowRoot|HTMLElement
|
|
464
433
|
/**
|
|
465
434
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
466
|
-
* ...
|
|
467
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-rtl)
|
|
435
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-rtl)
|
|
468
436
|
*/
|
|
469
437
|
rtl? : boolean
|
|
470
438
|
/**
|
|
@@ -472,8 +440,7 @@ export type BryntumToolbarProps = {
|
|
|
472
440
|
* in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
|
|
473
441
|
* applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
|
|
474
442
|
* CSS overflow properties thus:
|
|
475
|
-
* ...
|
|
476
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-scrollable)
|
|
443
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-scrollable)
|
|
477
444
|
*/
|
|
478
445
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
479
446
|
/**
|
|
@@ -483,8 +450,7 @@ export type BryntumToolbarProps = {
|
|
|
483
450
|
scrollAction? : 'hide'|'realign'|null
|
|
484
451
|
/**
|
|
485
452
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
486
|
-
* ...
|
|
487
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-showAnimation)
|
|
453
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-showAnimation)
|
|
488
454
|
*/
|
|
489
455
|
showAnimation? : boolean|object
|
|
490
456
|
/**
|
|
@@ -504,15 +470,13 @@ export type BryntumToolbarProps = {
|
|
|
504
470
|
* 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
|
|
505
471
|
* [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
|
|
506
472
|
* this widget:
|
|
507
|
-
* ...
|
|
508
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-tab)
|
|
473
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-tab)
|
|
509
474
|
*/
|
|
510
475
|
tab? : boolean|TabConfig
|
|
511
476
|
/**
|
|
512
477
|
* When this container is used as a tab in a TabPanel, these items are added to the
|
|
513
478
|
* [TabBar](https://bryntum.com/products/core/docs/api/Core/widget/TabBar) when this container is the active tab.
|
|
514
|
-
* ...
|
|
515
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-tabBarItems)
|
|
479
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-tabBarItems)
|
|
516
480
|
*/
|
|
517
481
|
tabBarItems? : ToolbarItems[]|Widget[]
|
|
518
482
|
/**
|
|
@@ -521,15 +485,13 @@ export type BryntumToolbarProps = {
|
|
|
521
485
|
tag? : string
|
|
522
486
|
/**
|
|
523
487
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
524
|
-
* ...
|
|
525
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-textAlign)
|
|
488
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-textAlign)
|
|
526
489
|
*/
|
|
527
490
|
textAlign? : 'left'|'center'|'right'|'start'|'end'
|
|
528
491
|
/**
|
|
529
492
|
* Specify `true` for a container used to show text markup. It will apply the CSS class `b-text-content`
|
|
530
493
|
* which specifies a default max-width that makes long text more readable.
|
|
531
|
-
* ...
|
|
532
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-textContent)
|
|
494
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-textContent)
|
|
533
495
|
*/
|
|
534
496
|
textContent? : boolean
|
|
535
497
|
/**
|
|
@@ -544,8 +506,7 @@ export type BryntumToolbarProps = {
|
|
|
544
506
|
tools? : Record<string, ToolConfig>
|
|
545
507
|
/**
|
|
546
508
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
547
|
-
* ...
|
|
548
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-tooltip)
|
|
509
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-tooltip)
|
|
549
510
|
*/
|
|
550
511
|
tooltip? : string|TooltipConfig|null
|
|
551
512
|
type? : 'toolbar'
|
|
@@ -553,8 +514,7 @@ export type BryntumToolbarProps = {
|
|
|
553
514
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
554
515
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
555
516
|
* values are used as the class names.
|
|
556
|
-
* ...
|
|
557
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-ui)
|
|
517
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-ui)
|
|
558
518
|
*/
|
|
559
519
|
ui? : string|object
|
|
560
520
|
/**
|
|
@@ -574,14 +534,12 @@ export type BryntumToolbarProps = {
|
|
|
574
534
|
width? : string|number
|
|
575
535
|
/**
|
|
576
536
|
* The x position for the widget.
|
|
577
|
-
* ...
|
|
578
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-x)
|
|
537
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-x)
|
|
579
538
|
*/
|
|
580
539
|
x? : number
|
|
581
540
|
/**
|
|
582
541
|
* The y position for the widget.
|
|
583
|
-
* ...
|
|
584
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-y)
|
|
542
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-y)
|
|
585
543
|
*/
|
|
586
544
|
y? : number
|
|
587
545
|
|
|
@@ -623,8 +581,7 @@ export type BryntumToolbarProps = {
|
|
|
623
581
|
onBeforeShow? : ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string
|
|
624
582
|
/**
|
|
625
583
|
* Fires when any other event is fired from the object.
|
|
626
|
-
* ...
|
|
627
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#event-catchAll)
|
|
584
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#event-catchAll)
|
|
628
585
|
* @param {object} event Event object
|
|
629
586
|
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
630
587
|
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
@@ -699,8 +656,7 @@ export type BryntumToolbarProps = {
|
|
|
699
656
|
/**
|
|
700
657
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
701
658
|
* achieves visibility.
|
|
702
|
-
* ...
|
|
703
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#event-paint)
|
|
659
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#event-paint)
|
|
704
660
|
* @param {object} event Event object
|
|
705
661
|
* @param {Core.widget.Widget} event.source The widget being painted.
|
|
706
662
|
* @param {boolean} event.firstPaint `true` if this is the first paint.
|
|
@@ -786,6 +742,7 @@ export class BryntumToolbar extends React.Component<BryntumToolbarProps> {
|
|
|
786
742
|
'preventTooltipOnTouch',
|
|
787
743
|
'relayStoreEvents',
|
|
788
744
|
'ripple',
|
|
745
|
+
'role',
|
|
789
746
|
'rootElement',
|
|
790
747
|
'scrollAction',
|
|
791
748
|
'showAnimation',
|
|
@@ -825,6 +782,7 @@ export class BryntumToolbar extends React.Component<BryntumToolbarProps> {
|
|
|
825
782
|
'items',
|
|
826
783
|
'keyMap',
|
|
827
784
|
'labelPosition',
|
|
785
|
+
'labelWidth',
|
|
828
786
|
'layout',
|
|
829
787
|
'layoutStyle',
|
|
830
788
|
'margin',
|
|
@@ -867,11 +825,6 @@ export class BryntumToolbar extends React.Component<BryntumToolbarProps> {
|
|
|
867
825
|
];
|
|
868
826
|
|
|
869
827
|
static propertyNames = [
|
|
870
|
-
'anchorSize',
|
|
871
|
-
'focusVisible',
|
|
872
|
-
'hasChanges',
|
|
873
|
-
'isSettingValues',
|
|
874
|
-
'isValid',
|
|
875
828
|
'parent',
|
|
876
829
|
'values'
|
|
877
830
|
];
|