@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/BryntumDateField.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, DateField, DateFieldListeners, DatePickerConfig, DomConfig, DurationConfig, Field,
|
|
6
|
+
import { AlignSpec, Base, Color, CoreContainerItemConfig, DateField, DateFieldListeners, DatePickerConfig, DomConfig, DurationConfig, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, ReactJSX, Rectangle, Scroller, TabConfig, TimeField, 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 BryntumDateFieldProps = {
|
|
|
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/DateField#config-adopt)
|
|
15
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#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/DateField#config-align)
|
|
20
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-align)
|
|
23
21
|
*/
|
|
24
22
|
align? : AlignSpec|string
|
|
25
23
|
/**
|
|
@@ -41,15 +39,13 @@ export type BryntumDateFieldProps = {
|
|
|
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/DateField#config-ariaDescription)
|
|
42
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#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/DateField#config-ariaLabel)
|
|
48
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-ariaLabel)
|
|
53
49
|
*/
|
|
54
50
|
ariaLabel? : string
|
|
55
51
|
/**
|
|
@@ -72,21 +68,18 @@ export type BryntumDateFieldProps = {
|
|
|
72
68
|
/**
|
|
73
69
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
74
70
|
* hierarchy when triggered.
|
|
75
|
-
* ...
|
|
76
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-bubbleEvents)
|
|
71
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-bubbleEvents)
|
|
77
72
|
*/
|
|
78
73
|
bubbleEvents? : object
|
|
79
74
|
/**
|
|
80
75
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
81
|
-
* ...
|
|
82
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-callOnFunctions)
|
|
76
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-callOnFunctions)
|
|
83
77
|
*/
|
|
84
78
|
callOnFunctions? : boolean
|
|
85
79
|
/**
|
|
86
80
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
87
81
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
88
|
-
* ...
|
|
89
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-catchEventHandlerExceptions)
|
|
82
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-catchEventHandlerExceptions)
|
|
90
83
|
*/
|
|
91
84
|
catchEventHandlerExceptions? : boolean
|
|
92
85
|
/**
|
|
@@ -104,15 +97,13 @@ export type BryntumDateFieldProps = {
|
|
|
104
97
|
* Custom CSS classes to add to element.
|
|
105
98
|
* May be specified as a space separated string, or as an object in which property names
|
|
106
99
|
* with truthy values are used as the class names:
|
|
107
|
-
* ...
|
|
108
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-cls)
|
|
100
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-cls)
|
|
109
101
|
*/
|
|
110
102
|
cls? : string|object
|
|
111
103
|
/**
|
|
112
104
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
113
105
|
* `style` block.
|
|
114
|
-
* ...
|
|
115
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-color)
|
|
106
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-color)
|
|
116
107
|
*/
|
|
117
108
|
color? : Color
|
|
118
109
|
/**
|
|
@@ -129,15 +120,13 @@ export type BryntumDateFieldProps = {
|
|
|
129
120
|
* The configuration for additional items associated to this field. This is typically used to add contextual
|
|
130
121
|
* fields related to a [checkbox](https://bryntum.com/products/core/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See
|
|
131
122
|
* these classes for examples of nested fields.
|
|
132
|
-
* ...
|
|
133
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-container)
|
|
123
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-container)
|
|
134
124
|
*/
|
|
135
|
-
container? : Record<string, CoreContainerItemConfig>|CoreContainerItemConfig[]|FieldContainerConfig
|
|
125
|
+
container? : Record<string, CoreContainerItemConfig>|CoreContainerItemConfig[]|FieldContainerConfig
|
|
136
126
|
/**
|
|
137
127
|
* The config controls how the value of nested items are handled when a parent container gets or sets its
|
|
138
128
|
* [values](https://bryntum.com/products/core/docs/api/Core/widget/Container#property-values).
|
|
139
|
-
* ...
|
|
140
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-containValues)
|
|
129
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-containValues)
|
|
141
130
|
* @param {Core.widget.Field} field Field instance
|
|
142
131
|
* @returns {boolean}
|
|
143
132
|
*/
|
|
@@ -146,8 +135,7 @@ export type BryntumDateFieldProps = {
|
|
|
146
135
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
147
136
|
* May be specified as a space separated string, or as an object in which property names
|
|
148
137
|
* with truthy values are used as the class names:
|
|
149
|
-
* ...
|
|
150
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-contentElementCls)
|
|
138
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-contentElementCls)
|
|
151
139
|
*/
|
|
152
140
|
contentElementCls? : string|object
|
|
153
141
|
/**
|
|
@@ -165,16 +153,15 @@ export type BryntumDateFieldProps = {
|
|
|
165
153
|
*/
|
|
166
154
|
defaultBindProperty? : string
|
|
167
155
|
/**
|
|
168
|
-
* Check for CSS compatibility issues
|
|
169
|
-
*
|
|
170
|
-
* [
|
|
156
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
157
|
+
* checks:
|
|
158
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-detectCSSCompatibilityIssues)
|
|
171
159
|
*/
|
|
172
160
|
detectCSSCompatibilityIssues? : boolean
|
|
173
161
|
/**
|
|
174
162
|
* 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
|
|
175
163
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
176
|
-
* ...
|
|
177
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-disabled)
|
|
164
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-disabled)
|
|
178
165
|
*/
|
|
179
166
|
disabled? : boolean|'inert'
|
|
180
167
|
/**
|
|
@@ -182,20 +169,17 @@ export type BryntumDateFieldProps = {
|
|
|
182
169
|
* [strips collection](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
183
170
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
184
171
|
* body. Such widgets are called "edge strips".
|
|
185
|
-
* ...
|
|
186
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-dock)
|
|
172
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-dock)
|
|
187
173
|
*/
|
|
188
174
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
189
175
|
/**
|
|
190
176
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
191
177
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
192
178
|
* property which controls when a drag should start.
|
|
193
|
-
* ...
|
|
194
|
-
*
|
|
179
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-draggable)
|
|
180
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
195
181
|
*/
|
|
196
|
-
draggable? : boolean|
|
|
197
|
-
handleSelector?: string
|
|
198
|
-
}
|
|
182
|
+
draggable? : boolean|object
|
|
199
183
|
/**
|
|
200
184
|
* User can edit text in text field (otherwise only pick from attached picker)
|
|
201
185
|
*/
|
|
@@ -203,8 +187,7 @@ export type BryntumDateFieldProps = {
|
|
|
203
187
|
/**
|
|
204
188
|
* An object specifying attributes to assign to the root element of this widget.
|
|
205
189
|
* Set `null` value to attribute to remove it.
|
|
206
|
-
* ...
|
|
207
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-elementAttributes)
|
|
190
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-elementAttributes)
|
|
208
191
|
*/
|
|
209
192
|
elementAttributes? : Record<string, string|null>
|
|
210
193
|
extraData? : any
|
|
@@ -237,8 +220,7 @@ export type BryntumDateFieldProps = {
|
|
|
237
220
|
hidden? : boolean
|
|
238
221
|
/**
|
|
239
222
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
240
|
-
* ...
|
|
241
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-hideAnimation)
|
|
223
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-hideAnimation)
|
|
242
224
|
*/
|
|
243
225
|
hideAnimation? : boolean|object
|
|
244
226
|
/**
|
|
@@ -248,8 +230,7 @@ export type BryntumDateFieldProps = {
|
|
|
248
230
|
/**
|
|
249
231
|
* An optional string to display inside the input field as an overlay. This can be useful for displaying
|
|
250
232
|
* a field's units.
|
|
251
|
-
* ...
|
|
252
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-hint)
|
|
233
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-hint)
|
|
253
234
|
* @param {object} data A data object
|
|
254
235
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
255
236
|
* @param {any} data.value The current value of the field
|
|
@@ -260,8 +241,7 @@ export type BryntumDateFieldProps = {
|
|
|
260
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.
|
|
261
242
|
* Since this can allow malicious content to be executed, be sure not to include user-entered data or to
|
|
262
243
|
* encode such data (see [encodeHtml](https://bryntum.com/products/core/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).
|
|
263
|
-
* ...
|
|
264
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-hintHtml)
|
|
244
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-hintHtml)
|
|
265
245
|
* @param {object} data A data object
|
|
266
246
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
267
247
|
* @param {any} data.value The current value of the field
|
|
@@ -274,16 +254,14 @@ export type BryntumDateFieldProps = {
|
|
|
274
254
|
id? : string
|
|
275
255
|
/**
|
|
276
256
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
277
|
-
* ...
|
|
278
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-ignoreParentReadOnly)
|
|
257
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-ignoreParentReadOnly)
|
|
279
258
|
*/
|
|
280
259
|
ignoreParentReadOnly? : boolean
|
|
281
260
|
/**
|
|
282
261
|
* Set this config to `true` to always display items horizontally along with this field. This assigns an
|
|
283
262
|
* [hbox](https://bryntum.com/products/core/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the
|
|
284
263
|
* [container](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-container).
|
|
285
|
-
* ...
|
|
286
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-inline)
|
|
264
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-inline)
|
|
287
265
|
*/
|
|
288
266
|
inline? : boolean
|
|
289
267
|
/**
|
|
@@ -322,24 +300,21 @@ export type BryntumDateFieldProps = {
|
|
|
322
300
|
/**
|
|
323
301
|
* A flag which indicates what time should be used for selected date.
|
|
324
302
|
* `false` by default which means time is reset to midnight.
|
|
325
|
-
* ...
|
|
326
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-keepTime)
|
|
303
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-keepTime)
|
|
327
304
|
*/
|
|
328
305
|
keepTime? : boolean|Date|string
|
|
329
306
|
/**
|
|
330
307
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
331
308
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
332
309
|
* are the name of the instance method to call when the keystroke is received.
|
|
333
|
-
* ...
|
|
334
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-keyMap)
|
|
310
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-keyMap)
|
|
335
311
|
*/
|
|
336
312
|
keyMap? : Record<string, KeyMapConfig>
|
|
337
313
|
/**
|
|
338
314
|
* The delay in milliseconds to wait after the last keystroke before triggering a change event.
|
|
339
315
|
* Set to 0 to not trigger change events from keystrokes (listen for input event instead to have
|
|
340
316
|
* immediate feedback, change will still be triggered on blur).
|
|
341
|
-
* ...
|
|
342
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-keyStrokeChangeDelay)
|
|
317
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-keyStrokeChangeDelay)
|
|
343
318
|
*/
|
|
344
319
|
keyStrokeChangeDelay? : number
|
|
345
320
|
/**
|
|
@@ -352,15 +327,15 @@ export type BryntumDateFieldProps = {
|
|
|
352
327
|
labelCls? : string|object
|
|
353
328
|
/**
|
|
354
329
|
* Label position, either 'before' the field or 'above' the field
|
|
355
|
-
* ...
|
|
356
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-labelPosition)
|
|
330
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-labelPosition)
|
|
357
331
|
*/
|
|
358
332
|
labelPosition? : 'before'|'above'|null
|
|
359
333
|
/**
|
|
360
334
|
* The labels to add either before or after the input field.
|
|
361
335
|
* Each label may have the following properties:
|
|
362
|
-
* ...
|
|
363
|
-
*
|
|
336
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-labels)
|
|
337
|
+
* @property {string} html Label text
|
|
338
|
+
* @property {'start','end'} align Which end of the file the label should go
|
|
364
339
|
*/
|
|
365
340
|
labels? : object[]
|
|
366
341
|
/**
|
|
@@ -369,16 +344,14 @@ export type BryntumDateFieldProps = {
|
|
|
369
344
|
labelWidth? : string|number
|
|
370
345
|
/**
|
|
371
346
|
* The listener set for this object.
|
|
372
|
-
* ...
|
|
373
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-listeners)
|
|
347
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-listeners)
|
|
374
348
|
*/
|
|
375
349
|
listeners? : DateFieldListeners
|
|
376
350
|
/**
|
|
377
351
|
* A class translations of which are used for translating this entity.
|
|
378
352
|
* This is often used when translations of an item are defined on its container class.
|
|
379
353
|
* For example:
|
|
380
|
-
* ...
|
|
381
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-localeClass)
|
|
354
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-localeClass)
|
|
382
355
|
*/
|
|
383
356
|
localeClass? : typeof Base
|
|
384
357
|
/**
|
|
@@ -390,8 +363,7 @@ export type BryntumDateFieldProps = {
|
|
|
390
363
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
391
364
|
* you could use 'localeKey' meta configuration.
|
|
392
365
|
* Example:
|
|
393
|
-
* ...
|
|
394
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-localizableProperties)
|
|
366
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-localizableProperties)
|
|
395
367
|
*/
|
|
396
368
|
localizableProperties? : string[]
|
|
397
369
|
/**
|
|
@@ -421,8 +393,7 @@ export type BryntumDateFieldProps = {
|
|
|
421
393
|
maxHeight? : string|number
|
|
422
394
|
/**
|
|
423
395
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
424
|
-
* ...
|
|
425
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-maximizeOnMobile)
|
|
396
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-maximizeOnMobile)
|
|
426
397
|
*/
|
|
427
398
|
maximizeOnMobile? : number|string
|
|
428
399
|
/**
|
|
@@ -456,32 +427,27 @@ export type BryntumDateFieldProps = {
|
|
|
456
427
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
457
428
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
458
429
|
* layout.
|
|
459
|
-
* ...
|
|
460
|
-
*
|
|
430
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-monitorResize)
|
|
431
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
461
432
|
*/
|
|
462
|
-
monitorResize? : boolean|
|
|
463
|
-
immediate?: boolean
|
|
464
|
-
}
|
|
433
|
+
monitorResize? : boolean|object
|
|
465
434
|
/**
|
|
466
435
|
* Name of the field which is used as a key to get/set values from/to the field.
|
|
467
436
|
* Used prior to [ref](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in
|
|
468
437
|
* [Container.values](https://bryntum.com/products/core/docs/api/Core/widget/Container#property-values).
|
|
469
|
-
* ...
|
|
470
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-name)
|
|
438
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-name)
|
|
471
439
|
*/
|
|
472
440
|
name? : string
|
|
473
441
|
/**
|
|
474
442
|
* A reference to a partner TimeField which this DateField should sync its value with.
|
|
475
443
|
* When the TimeField's value is changed, this DateField's value is updated to match.
|
|
476
444
|
* When this DateField's value is changed, the TimeField's value is updated to match.
|
|
477
|
-
* ...
|
|
478
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-partner)
|
|
445
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-partner)
|
|
479
446
|
*/
|
|
480
447
|
partner? : string|TimeField
|
|
481
448
|
/**
|
|
482
449
|
* A config object used to configure the [datePicker](https://bryntum.com/products/core/docs/api/Core/widget/DatePicker).
|
|
483
|
-
* ...
|
|
484
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-picker)
|
|
450
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-picker)
|
|
485
451
|
*/
|
|
486
452
|
picker? : DatePickerConfig
|
|
487
453
|
/**
|
|
@@ -500,8 +466,7 @@ export type BryntumDateFieldProps = {
|
|
|
500
466
|
* 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
|
|
501
467
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
502
468
|
* widget's [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
503
|
-
* ...
|
|
504
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-positioned)
|
|
469
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-positioned)
|
|
505
470
|
*/
|
|
506
471
|
positioned? : boolean
|
|
507
472
|
/**
|
|
@@ -512,15 +477,13 @@ export type BryntumDateFieldProps = {
|
|
|
512
477
|
/**
|
|
513
478
|
* Makes the field unmodifiable by user action. The input area is not editable, and triggers
|
|
514
479
|
* are unresponsive.
|
|
515
|
-
* ...
|
|
516
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-readOnly)
|
|
480
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-readOnly)
|
|
517
481
|
*/
|
|
518
482
|
readOnly? : boolean
|
|
519
483
|
relayStoreEvents? : boolean
|
|
520
484
|
/**
|
|
521
485
|
* Predefined style to use for the field. Possible values are:
|
|
522
|
-
* ...
|
|
523
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-rendition)
|
|
486
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-rendition)
|
|
524
487
|
*/
|
|
525
488
|
rendition? : 'outlined'|'filled'|string
|
|
526
489
|
/**
|
|
@@ -539,23 +502,26 @@ export type BryntumDateFieldProps = {
|
|
|
539
502
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
540
503
|
* [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
|
|
541
504
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
542
|
-
* ...
|
|
543
|
-
* [
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
505
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-ripple)
|
|
506
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
507
|
+
* @property {string} [color] A CSS color name or specification.
|
|
508
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
509
|
+
* @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.
|
|
510
|
+
*/
|
|
511
|
+
ripple? : boolean|object
|
|
512
|
+
/**
|
|
513
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
514
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
515
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-role)
|
|
516
|
+
*/
|
|
517
|
+
role? : string
|
|
551
518
|
/**
|
|
552
519
|
* 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`
|
|
553
520
|
*/
|
|
554
521
|
rootElement? : ShadowRoot|HTMLElement
|
|
555
522
|
/**
|
|
556
523
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
557
|
-
* ...
|
|
558
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-rtl)
|
|
524
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-rtl)
|
|
559
525
|
*/
|
|
560
526
|
rtl? : boolean
|
|
561
527
|
/**
|
|
@@ -565,8 +531,7 @@ export type BryntumDateFieldProps = {
|
|
|
565
531
|
scrollAction? : 'hide'|'realign'|null
|
|
566
532
|
/**
|
|
567
533
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
568
|
-
* ...
|
|
569
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-showAnimation)
|
|
534
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-showAnimation)
|
|
570
535
|
*/
|
|
571
536
|
showAnimation? : boolean|object
|
|
572
537
|
/**
|
|
@@ -607,16 +572,14 @@ export type BryntumDateFieldProps = {
|
|
|
607
572
|
/**
|
|
608
573
|
* A flag which indicates whether the date parsing should be strict - meaning if the date
|
|
609
574
|
* is missing a year/month/day part - parsing fails.
|
|
610
|
-
* ...
|
|
611
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-strictParsing)
|
|
575
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-strictParsing)
|
|
612
576
|
*/
|
|
613
577
|
strictParsing? : boolean
|
|
614
578
|
/**
|
|
615
579
|
* 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
|
|
616
580
|
* [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
|
|
617
581
|
* this widget:
|
|
618
|
-
* ...
|
|
619
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-tab)
|
|
582
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-tab)
|
|
620
583
|
*/
|
|
621
584
|
tab? : boolean|TabConfig
|
|
622
585
|
/**
|
|
@@ -624,14 +587,12 @@ export type BryntumDateFieldProps = {
|
|
|
624
587
|
* is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable
|
|
625
588
|
* (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set
|
|
626
589
|
* to the element programmatically.
|
|
627
|
-
* ...
|
|
628
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-tabIndex)
|
|
590
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-tabIndex)
|
|
629
591
|
*/
|
|
630
592
|
tabIndex? : number
|
|
631
593
|
/**
|
|
632
594
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
633
|
-
* ...
|
|
634
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-textAlign)
|
|
595
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-textAlign)
|
|
635
596
|
*/
|
|
636
597
|
textAlign? : 'left'|'center'|'right'|'start'|'end'
|
|
637
598
|
/**
|
|
@@ -640,22 +601,24 @@ export type BryntumDateFieldProps = {
|
|
|
640
601
|
title? : string
|
|
641
602
|
/**
|
|
642
603
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
643
|
-
* ...
|
|
644
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-tooltip)
|
|
604
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-tooltip)
|
|
645
605
|
*/
|
|
646
606
|
tooltip? : string|TooltipConfig|null
|
|
647
607
|
/**
|
|
648
608
|
* Widgets that trigger functionality upon click. Each trigger icon is a [Widget](https://bryntum.com/products/core/docs/api/Core/widget/Widget) instance
|
|
649
609
|
* which may be hidden, shown and observed and styled just like any other widget.
|
|
610
|
+
* @property {FieldTriggerConfig} triggers.expand Expands the date picker to select a date
|
|
611
|
+
* @property {FieldTriggerConfig} triggers.back Subtracts the [step](https://bryntum.com/products/core/docs/api/Core/widget/DateField#config-step) from the current date
|
|
612
|
+
* @property {FieldTriggerConfig} triggers.forward Adds the [step](https://bryntum.com/products/core/docs/api/Core/widget/DateField#config-step) to the current date
|
|
613
|
+
* @property {FieldTriggerConfig} triggers.clear Clears the field value, only available if this field is [clearable](https://bryntum.com/products/core/docs/api/Core/widget/DateField#config-clearable)
|
|
650
614
|
*/
|
|
651
|
-
triggers? : Record<string, FieldTriggerConfig
|
|
615
|
+
triggers? : Record<string, FieldTriggerConfig>
|
|
652
616
|
type? : 'datefield'|'date'
|
|
653
617
|
/**
|
|
654
618
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
655
619
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
656
620
|
* values are used as the class names.
|
|
657
|
-
* ...
|
|
658
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-ui)
|
|
621
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-ui)
|
|
659
622
|
*/
|
|
660
623
|
ui? : string|object
|
|
661
624
|
/**
|
|
@@ -686,14 +649,12 @@ export type BryntumDateFieldProps = {
|
|
|
686
649
|
width? : string|number
|
|
687
650
|
/**
|
|
688
651
|
* The x position for the widget.
|
|
689
|
-
* ...
|
|
690
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-x)
|
|
652
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-x)
|
|
691
653
|
*/
|
|
692
654
|
x? : number
|
|
693
655
|
/**
|
|
694
656
|
* The y position for the widget.
|
|
695
|
-
* ...
|
|
696
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-y)
|
|
657
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-y)
|
|
697
658
|
*/
|
|
698
659
|
y? : number
|
|
699
660
|
|
|
@@ -732,8 +693,7 @@ export type BryntumDateFieldProps = {
|
|
|
732
693
|
onBeforeShow? : ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string
|
|
733
694
|
/**
|
|
734
695
|
* Fires when any other event is fired from the object.
|
|
735
|
-
* ...
|
|
736
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#event-catchAll)
|
|
696
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#event-catchAll)
|
|
737
697
|
* @param {object} event Event object
|
|
738
698
|
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
739
699
|
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
@@ -753,8 +713,7 @@ export type BryntumDateFieldProps = {
|
|
|
753
713
|
onChange? : ((event: { source: DateField, value: Date, oldValue: Date, valid: boolean, event: Event, userAction: boolean, checked: boolean }) => void)|string
|
|
754
714
|
/**
|
|
755
715
|
* Fired when this field is [cleared](https://bryntum.com/products/core/docs/api/Core/widget/Field#function-clear).
|
|
756
|
-
* ...
|
|
757
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#event-clear)
|
|
716
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#event-clear)
|
|
758
717
|
* @param {object} event Event object
|
|
759
718
|
* @param {Core.widget.Field,any} event.source This Field
|
|
760
719
|
*/
|
|
@@ -812,8 +771,7 @@ export type BryntumDateFieldProps = {
|
|
|
812
771
|
/**
|
|
813
772
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
814
773
|
* achieves visibility.
|
|
815
|
-
* ...
|
|
816
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#event-paint)
|
|
774
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#event-paint)
|
|
817
775
|
* @param {object} event Event object
|
|
818
776
|
* @param {Core.widget.Widget} event.source The widget being painted.
|
|
819
777
|
* @param {boolean} event.firstPaint `true` if this is the first paint.
|
|
@@ -924,6 +882,7 @@ export class BryntumDateField extends React.Component<BryntumDateFieldProps> {
|
|
|
924
882
|
'relayStoreEvents',
|
|
925
883
|
'revertOnEscape',
|
|
926
884
|
'ripple',
|
|
885
|
+
'role',
|
|
927
886
|
'rootElement',
|
|
928
887
|
'scrollAction',
|
|
929
888
|
'showAnimation',
|
|
@@ -1009,9 +968,7 @@ export class BryntumDateField extends React.Component<BryntumDateFieldProps> {
|
|
|
1009
968
|
];
|
|
1010
969
|
|
|
1011
970
|
static propertyNames = [
|
|
1012
|
-
'anchorSize',
|
|
1013
971
|
'content',
|
|
1014
|
-
'focusVisible',
|
|
1015
972
|
'formula',
|
|
1016
973
|
'html',
|
|
1017
974
|
'input',
|