@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/BryntumFileField.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, CoreContainerItemConfig, DomConfig, Field,
|
|
6
|
+
import { AlignSpec, Base, Color, CoreContainerItemConfig, DomConfig, Field, FieldContainerConfig, FieldTriggerConfig, FileField, FileFieldListeners, KeyMapConfig, MaskConfig, Model, ReactJSX, Rectangle, Scroller, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
7
7
|
|
|
8
8
|
import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
|
|
9
9
|
|
|
@@ -17,14 +17,12 @@ export type BryntumFileFieldProps = {
|
|
|
17
17
|
/**
|
|
18
18
|
* Element (or element id) to adopt as this Widget's encapsulating element. The widget's
|
|
19
19
|
* content will be placed inside this element.
|
|
20
|
-
* ...
|
|
21
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-adopt)
|
|
20
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-adopt)
|
|
22
21
|
*/
|
|
23
22
|
adopt? : HTMLElement|string
|
|
24
23
|
/**
|
|
25
24
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
26
|
-
* ...
|
|
27
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-align)
|
|
25
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-align)
|
|
28
26
|
*/
|
|
29
27
|
align? : AlignSpec|string
|
|
30
28
|
/**
|
|
@@ -46,15 +44,13 @@ export type BryntumFileFieldProps = {
|
|
|
46
44
|
/**
|
|
47
45
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
|
|
48
46
|
* into an element which will be linked using the `aria-describedby` attribute.
|
|
49
|
-
* ...
|
|
50
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-ariaDescription)
|
|
47
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-ariaDescription)
|
|
51
48
|
*/
|
|
52
49
|
ariaDescription? : string
|
|
53
50
|
/**
|
|
54
51
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
|
|
55
52
|
* the `aria-label` attribute.
|
|
56
|
-
* ...
|
|
57
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-ariaLabel)
|
|
53
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-ariaLabel)
|
|
58
54
|
*/
|
|
59
55
|
ariaLabel? : string
|
|
60
56
|
/**
|
|
@@ -73,21 +69,18 @@ export type BryntumFileFieldProps = {
|
|
|
73
69
|
/**
|
|
74
70
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
75
71
|
* hierarchy when triggered.
|
|
76
|
-
* ...
|
|
77
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-bubbleEvents)
|
|
72
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-bubbleEvents)
|
|
78
73
|
*/
|
|
79
74
|
bubbleEvents? : object
|
|
80
75
|
/**
|
|
81
76
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
82
|
-
* ...
|
|
83
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-callOnFunctions)
|
|
77
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-callOnFunctions)
|
|
84
78
|
*/
|
|
85
79
|
callOnFunctions? : boolean
|
|
86
80
|
/**
|
|
87
81
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
88
82
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
89
|
-
* ...
|
|
90
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-catchEventHandlerExceptions)
|
|
83
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-catchEventHandlerExceptions)
|
|
91
84
|
*/
|
|
92
85
|
catchEventHandlerExceptions? : boolean
|
|
93
86
|
/**
|
|
@@ -105,15 +98,13 @@ export type BryntumFileFieldProps = {
|
|
|
105
98
|
* Custom CSS classes to add to element.
|
|
106
99
|
* May be specified as a space separated string, or as an object in which property names
|
|
107
100
|
* with truthy values are used as the class names:
|
|
108
|
-
* ...
|
|
109
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-cls)
|
|
101
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-cls)
|
|
110
102
|
*/
|
|
111
103
|
cls? : string|object
|
|
112
104
|
/**
|
|
113
105
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
114
106
|
* `style` block.
|
|
115
|
-
* ...
|
|
116
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-color)
|
|
107
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-color)
|
|
117
108
|
*/
|
|
118
109
|
color? : Color
|
|
119
110
|
/**
|
|
@@ -130,15 +121,13 @@ export type BryntumFileFieldProps = {
|
|
|
130
121
|
* The configuration for additional items associated to this field. This is typically used to add contextual
|
|
131
122
|
* fields related to a [checkbox](https://bryntum.com/products/core/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See
|
|
132
123
|
* these classes for examples of nested fields.
|
|
133
|
-
* ...
|
|
134
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-container)
|
|
124
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-container)
|
|
135
125
|
*/
|
|
136
|
-
container? : Record<string, CoreContainerItemConfig>|CoreContainerItemConfig[]|FieldContainerConfig
|
|
126
|
+
container? : Record<string, CoreContainerItemConfig>|CoreContainerItemConfig[]|FieldContainerConfig
|
|
137
127
|
/**
|
|
138
128
|
* The config controls how the value of nested items are handled when a parent container gets or sets its
|
|
139
129
|
* [values](https://bryntum.com/products/core/docs/api/Core/widget/Container#property-values).
|
|
140
|
-
* ...
|
|
141
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-containValues)
|
|
130
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-containValues)
|
|
142
131
|
* @param {Core.widget.Field} field Field instance
|
|
143
132
|
* @returns {boolean}
|
|
144
133
|
*/
|
|
@@ -147,8 +136,7 @@ export type BryntumFileFieldProps = {
|
|
|
147
136
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
148
137
|
* May be specified as a space separated string, or as an object in which property names
|
|
149
138
|
* with truthy values are used as the class names:
|
|
150
|
-
* ...
|
|
151
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-contentElementCls)
|
|
139
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-contentElementCls)
|
|
152
140
|
*/
|
|
153
141
|
contentElementCls? : string|object
|
|
154
142
|
/**
|
|
@@ -166,16 +154,15 @@ export type BryntumFileFieldProps = {
|
|
|
166
154
|
*/
|
|
167
155
|
defaultBindProperty? : string
|
|
168
156
|
/**
|
|
169
|
-
* Check for CSS compatibility issues
|
|
170
|
-
*
|
|
171
|
-
* [
|
|
157
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
158
|
+
* checks:
|
|
159
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-detectCSSCompatibilityIssues)
|
|
172
160
|
*/
|
|
173
161
|
detectCSSCompatibilityIssues? : boolean
|
|
174
162
|
/**
|
|
175
163
|
* 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
|
|
176
164
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
177
|
-
* ...
|
|
178
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-disabled)
|
|
165
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-disabled)
|
|
179
166
|
*/
|
|
180
167
|
disabled? : boolean|'inert'
|
|
181
168
|
/**
|
|
@@ -183,33 +170,28 @@ export type BryntumFileFieldProps = {
|
|
|
183
170
|
* [strips collection](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
184
171
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
185
172
|
* body. Such widgets are called "edge strips".
|
|
186
|
-
* ...
|
|
187
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-dock)
|
|
173
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-dock)
|
|
188
174
|
*/
|
|
189
175
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
190
176
|
/**
|
|
191
177
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
192
178
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
193
179
|
* property which controls when a drag should start.
|
|
194
|
-
* ...
|
|
195
|
-
*
|
|
180
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-draggable)
|
|
181
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
196
182
|
*/
|
|
197
|
-
draggable? : boolean|
|
|
198
|
-
handleSelector?: string
|
|
199
|
-
}
|
|
183
|
+
draggable? : boolean|object
|
|
200
184
|
/**
|
|
201
185
|
* Set to `false` to prevent user from editing the field. For TextFields it is basically the same as setting
|
|
202
186
|
* [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly), but for PickerFields there is a distinction where it allows you to pick a value
|
|
203
187
|
* but not to type one in the field.
|
|
204
|
-
* ...
|
|
205
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-editable)
|
|
188
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-editable)
|
|
206
189
|
*/
|
|
207
190
|
editable? : boolean
|
|
208
191
|
/**
|
|
209
192
|
* An object specifying attributes to assign to the root element of this widget.
|
|
210
193
|
* Set `null` value to attribute to remove it.
|
|
211
|
-
* ...
|
|
212
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-elementAttributes)
|
|
194
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-elementAttributes)
|
|
213
195
|
*/
|
|
214
196
|
elementAttributes? : Record<string, string|null>
|
|
215
197
|
extraData? : any
|
|
@@ -238,8 +220,7 @@ export type BryntumFileFieldProps = {
|
|
|
238
220
|
hidden? : boolean
|
|
239
221
|
/**
|
|
240
222
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
241
|
-
* ...
|
|
242
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-hideAnimation)
|
|
223
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-hideAnimation)
|
|
243
224
|
*/
|
|
244
225
|
hideAnimation? : boolean|object
|
|
245
226
|
/**
|
|
@@ -249,8 +230,7 @@ export type BryntumFileFieldProps = {
|
|
|
249
230
|
/**
|
|
250
231
|
* An optional string to display inside the input field as an overlay. This can be useful for displaying
|
|
251
232
|
* a field's units.
|
|
252
|
-
* ...
|
|
253
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-hint)
|
|
233
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-hint)
|
|
254
234
|
* @param {object} data A data object
|
|
255
235
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
256
236
|
* @param {any} data.value The current value of the field
|
|
@@ -261,8 +241,7 @@ export type BryntumFileFieldProps = {
|
|
|
261
241
|
* This config is similar to [hint](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-hint) except that this config is used to display HTML content.
|
|
262
242
|
* Since this can allow malicious content to be executed, be sure not to include user-entered data or to
|
|
263
243
|
* encode such data (see [encodeHtml](https://bryntum.com/products/core/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).
|
|
264
|
-
* ...
|
|
265
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-hintHtml)
|
|
244
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-hintHtml)
|
|
266
245
|
* @param {object} data A data object
|
|
267
246
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
268
247
|
* @param {any} data.value The current value of the field
|
|
@@ -275,16 +254,14 @@ export type BryntumFileFieldProps = {
|
|
|
275
254
|
id? : string
|
|
276
255
|
/**
|
|
277
256
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
278
|
-
* ...
|
|
279
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-ignoreParentReadOnly)
|
|
257
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-ignoreParentReadOnly)
|
|
280
258
|
*/
|
|
281
259
|
ignoreParentReadOnly? : boolean
|
|
282
260
|
/**
|
|
283
261
|
* Set this config to `true` to always display items horizontally along with this field. This assigns an
|
|
284
262
|
* [hbox](https://bryntum.com/products/core/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the
|
|
285
263
|
* [container](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-container).
|
|
286
|
-
* ...
|
|
287
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-inline)
|
|
264
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-inline)
|
|
288
265
|
*/
|
|
289
266
|
inline? : boolean
|
|
290
267
|
/**
|
|
@@ -324,16 +301,14 @@ export type BryntumFileFieldProps = {
|
|
|
324
301
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
325
302
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
326
303
|
* are the name of the instance method to call when the keystroke is received.
|
|
327
|
-
* ...
|
|
328
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-keyMap)
|
|
304
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-keyMap)
|
|
329
305
|
*/
|
|
330
306
|
keyMap? : Record<string, KeyMapConfig>
|
|
331
307
|
/**
|
|
332
308
|
* The delay in milliseconds to wait after the last keystroke before triggering a change event.
|
|
333
309
|
* Set to 0 to not trigger change events from keystrokes (listen for input event instead to have
|
|
334
310
|
* immediate feedback, change will still be triggered on blur).
|
|
335
|
-
* ...
|
|
336
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-keyStrokeChangeDelay)
|
|
311
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-keyStrokeChangeDelay)
|
|
337
312
|
*/
|
|
338
313
|
keyStrokeChangeDelay? : number
|
|
339
314
|
/**
|
|
@@ -346,15 +321,15 @@ export type BryntumFileFieldProps = {
|
|
|
346
321
|
labelCls? : string|object
|
|
347
322
|
/**
|
|
348
323
|
* Label position, either 'before' the field or 'above' the field
|
|
349
|
-
* ...
|
|
350
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-labelPosition)
|
|
324
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-labelPosition)
|
|
351
325
|
*/
|
|
352
326
|
labelPosition? : 'before'|'above'|null
|
|
353
327
|
/**
|
|
354
328
|
* The labels to add either before or after the input field.
|
|
355
329
|
* Each label may have the following properties:
|
|
356
|
-
* ...
|
|
357
|
-
*
|
|
330
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-labels)
|
|
331
|
+
* @property {string} html Label text
|
|
332
|
+
* @property {'start','end'} align Which end of the file the label should go
|
|
358
333
|
*/
|
|
359
334
|
labels? : object[]
|
|
360
335
|
/**
|
|
@@ -363,16 +338,14 @@ export type BryntumFileFieldProps = {
|
|
|
363
338
|
labelWidth? : string|number
|
|
364
339
|
/**
|
|
365
340
|
* The listener set for this object.
|
|
366
|
-
* ...
|
|
367
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-listeners)
|
|
341
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-listeners)
|
|
368
342
|
*/
|
|
369
343
|
listeners? : FileFieldListeners
|
|
370
344
|
/**
|
|
371
345
|
* A class translations of which are used for translating this entity.
|
|
372
346
|
* This is often used when translations of an item are defined on its container class.
|
|
373
347
|
* For example:
|
|
374
|
-
* ...
|
|
375
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-localeClass)
|
|
348
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-localeClass)
|
|
376
349
|
*/
|
|
377
350
|
localeClass? : typeof Base
|
|
378
351
|
/**
|
|
@@ -384,8 +357,7 @@ export type BryntumFileFieldProps = {
|
|
|
384
357
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
385
358
|
* you could use 'localeKey' meta configuration.
|
|
386
359
|
* Example:
|
|
387
|
-
* ...
|
|
388
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-localizableProperties)
|
|
360
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-localizableProperties)
|
|
389
361
|
*/
|
|
390
362
|
localizableProperties? : string[]
|
|
391
363
|
/**
|
|
@@ -411,8 +383,7 @@ export type BryntumFileFieldProps = {
|
|
|
411
383
|
maxHeight? : string|number
|
|
412
384
|
/**
|
|
413
385
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
414
|
-
* ...
|
|
415
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-maximizeOnMobile)
|
|
386
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-maximizeOnMobile)
|
|
416
387
|
*/
|
|
417
388
|
maximizeOnMobile? : number|string
|
|
418
389
|
/**
|
|
@@ -434,12 +405,10 @@ export type BryntumFileFieldProps = {
|
|
|
434
405
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
435
406
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
436
407
|
* layout.
|
|
437
|
-
* ...
|
|
438
|
-
*
|
|
408
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-monitorResize)
|
|
409
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
439
410
|
*/
|
|
440
|
-
monitorResize? : boolean|
|
|
441
|
-
immediate?: boolean
|
|
442
|
-
}
|
|
411
|
+
monitorResize? : boolean|object
|
|
443
412
|
/**
|
|
444
413
|
* Set to `true` to allow picking multiple files. Note that when set to a truthy value,
|
|
445
414
|
* the field is set to accept multiple files, but the value returned will be
|
|
@@ -450,8 +419,7 @@ export type BryntumFileFieldProps = {
|
|
|
450
419
|
* Name of the field which is used as a key to get/set values from/to the field.
|
|
451
420
|
* Used prior to [ref](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in
|
|
452
421
|
* [Container.values](https://bryntum.com/products/core/docs/api/Core/widget/Container#property-values).
|
|
453
|
-
* ...
|
|
454
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-name)
|
|
422
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-name)
|
|
455
423
|
*/
|
|
456
424
|
name? : string
|
|
457
425
|
/**
|
|
@@ -462,8 +430,7 @@ export type BryntumFileFieldProps = {
|
|
|
462
430
|
* 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
|
|
463
431
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
464
432
|
* widget's [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
465
|
-
* ...
|
|
466
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-positioned)
|
|
433
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-positioned)
|
|
467
434
|
*/
|
|
468
435
|
positioned? : boolean
|
|
469
436
|
/**
|
|
@@ -474,8 +441,7 @@ export type BryntumFileFieldProps = {
|
|
|
474
441
|
/**
|
|
475
442
|
* Makes the field unmodifiable by user action. The input area is not editable, and triggers
|
|
476
443
|
* are unresponsive.
|
|
477
|
-
* ...
|
|
478
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-readOnly)
|
|
444
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-readOnly)
|
|
479
445
|
*/
|
|
480
446
|
readOnly? : boolean
|
|
481
447
|
relayStoreEvents? : boolean
|
|
@@ -495,23 +461,26 @@ export type BryntumFileFieldProps = {
|
|
|
495
461
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
496
462
|
* [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
|
|
497
463
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
498
|
-
* ...
|
|
499
|
-
* [
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
464
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-ripple)
|
|
465
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
466
|
+
* @property {string} [color] A CSS color name or specification.
|
|
467
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
468
|
+
* @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.
|
|
469
|
+
*/
|
|
470
|
+
ripple? : boolean|object
|
|
471
|
+
/**
|
|
472
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
473
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
474
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-role)
|
|
475
|
+
*/
|
|
476
|
+
role? : string
|
|
507
477
|
/**
|
|
508
478
|
* 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`
|
|
509
479
|
*/
|
|
510
480
|
rootElement? : ShadowRoot|HTMLElement
|
|
511
481
|
/**
|
|
512
482
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
513
|
-
* ...
|
|
514
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-rtl)
|
|
483
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-rtl)
|
|
515
484
|
*/
|
|
516
485
|
rtl? : boolean
|
|
517
486
|
/**
|
|
@@ -521,8 +490,7 @@ export type BryntumFileFieldProps = {
|
|
|
521
490
|
scrollAction? : 'hide'|'realign'|null
|
|
522
491
|
/**
|
|
523
492
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
524
|
-
* ...
|
|
525
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-showAnimation)
|
|
493
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-showAnimation)
|
|
526
494
|
*/
|
|
527
495
|
showAnimation? : boolean|object
|
|
528
496
|
/**
|
|
@@ -551,8 +519,7 @@ export type BryntumFileFieldProps = {
|
|
|
551
519
|
* 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
|
|
552
520
|
* [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
|
|
553
521
|
* this widget:
|
|
554
|
-
* ...
|
|
555
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-tab)
|
|
522
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-tab)
|
|
556
523
|
*/
|
|
557
524
|
tab? : boolean|TabConfig
|
|
558
525
|
/**
|
|
@@ -560,14 +527,12 @@ export type BryntumFileFieldProps = {
|
|
|
560
527
|
* is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable
|
|
561
528
|
* (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set
|
|
562
529
|
* to the element programmatically.
|
|
563
|
-
* ...
|
|
564
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-tabIndex)
|
|
530
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-tabIndex)
|
|
565
531
|
*/
|
|
566
532
|
tabIndex? : number
|
|
567
533
|
/**
|
|
568
534
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
569
|
-
* ...
|
|
570
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-textAlign)
|
|
535
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-textAlign)
|
|
571
536
|
*/
|
|
572
537
|
textAlign? : 'left'|'center'|'right'|'start'|'end'
|
|
573
538
|
/**
|
|
@@ -576,24 +541,21 @@ export type BryntumFileFieldProps = {
|
|
|
576
541
|
title? : string
|
|
577
542
|
/**
|
|
578
543
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
579
|
-
* ...
|
|
580
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-tooltip)
|
|
544
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-tooltip)
|
|
581
545
|
*/
|
|
582
546
|
tooltip? : string|TooltipConfig|null
|
|
583
547
|
/**
|
|
584
548
|
* The triggers to add either before or after the input field. Each property name is the reference by which
|
|
585
549
|
* an instantiated Trigger Widget may be retrieved from the live `triggers` property.
|
|
586
|
-
* ...
|
|
587
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-triggers)
|
|
550
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-triggers)
|
|
588
551
|
*/
|
|
589
|
-
triggers? : Record<string, FieldTriggerConfig
|
|
552
|
+
triggers? : Record<string, FieldTriggerConfig>
|
|
590
553
|
type? : 'filefield'
|
|
591
554
|
/**
|
|
592
555
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
593
556
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
594
557
|
* values are used as the class names.
|
|
595
|
-
* ...
|
|
596
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-ui)
|
|
558
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-ui)
|
|
597
559
|
*/
|
|
598
560
|
ui? : string|object
|
|
599
561
|
/**
|
|
@@ -618,14 +580,12 @@ export type BryntumFileFieldProps = {
|
|
|
618
580
|
width? : string|number
|
|
619
581
|
/**
|
|
620
582
|
* The x position for the widget.
|
|
621
|
-
* ...
|
|
622
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-x)
|
|
583
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-x)
|
|
623
584
|
*/
|
|
624
585
|
x? : number
|
|
625
586
|
/**
|
|
626
587
|
* The y position for the widget.
|
|
627
|
-
* ...
|
|
628
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-y)
|
|
588
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-y)
|
|
629
589
|
*/
|
|
630
590
|
y? : number
|
|
631
591
|
|
|
@@ -664,8 +624,7 @@ export type BryntumFileFieldProps = {
|
|
|
664
624
|
onBeforeShow? : ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string
|
|
665
625
|
/**
|
|
666
626
|
* Fires when any other event is fired from the object.
|
|
667
|
-
* ...
|
|
668
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#event-catchAll)
|
|
627
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#event-catchAll)
|
|
669
628
|
* @param {object} event Event object
|
|
670
629
|
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
671
630
|
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
@@ -685,8 +644,7 @@ export type BryntumFileFieldProps = {
|
|
|
685
644
|
onChange? : ((event: { source: Field|any, value: string|number|boolean|any, oldValue: string|number|boolean|any, valid: boolean, event: Event, userAction: boolean, checked: boolean }) => void)|string
|
|
686
645
|
/**
|
|
687
646
|
* Fired when this field is [cleared](https://bryntum.com/products/core/docs/api/Core/widget/Field#function-clear).
|
|
688
|
-
* ...
|
|
689
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#event-clear)
|
|
647
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#event-clear)
|
|
690
648
|
* @param {object} event Event object
|
|
691
649
|
* @param {Core.widget.Field,any} event.source This Field
|
|
692
650
|
*/
|
|
@@ -744,8 +702,7 @@ export type BryntumFileFieldProps = {
|
|
|
744
702
|
/**
|
|
745
703
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
746
704
|
* achieves visibility.
|
|
747
|
-
* ...
|
|
748
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#event-paint)
|
|
705
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#event-paint)
|
|
749
706
|
* @param {object} event Event object
|
|
750
707
|
* @param {Core.widget.Widget} event.source The widget being painted.
|
|
751
708
|
* @param {boolean} event.firstPaint `true` if this is the first paint.
|
|
@@ -851,6 +808,7 @@ export class BryntumFileField extends React.Component<BryntumFileFieldProps> {
|
|
|
851
808
|
'relayStoreEvents',
|
|
852
809
|
'revertOnEscape',
|
|
853
810
|
'ripple',
|
|
811
|
+
'role',
|
|
854
812
|
'rootElement',
|
|
855
813
|
'scrollAction',
|
|
856
814
|
'showAnimation',
|
|
@@ -927,9 +885,7 @@ export class BryntumFileField extends React.Component<BryntumFileFieldProps> {
|
|
|
927
885
|
];
|
|
928
886
|
|
|
929
887
|
static propertyNames = [
|
|
930
|
-
'anchorSize',
|
|
931
888
|
'content',
|
|
932
|
-
'focusVisible',
|
|
933
889
|
'html',
|
|
934
890
|
'input',
|
|
935
891
|
'parent',
|