@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
|
@@ -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, ConfirmationBar, ConfirmationBarConfig, CoreContainerItemConfig, DateField, DateFieldConfig, DateRangeField, DateRangeFieldListeners, DateRangePickerConfig, DomConfig, Field,
|
|
6
|
+
import { AlignSpec, Base, Color, ConfirmationBar, ConfirmationBarConfig, CoreContainerItemConfig, DateField, DateFieldConfig, DateRangeField, DateRangeFieldListeners, DateRangePickerConfig, DomConfig, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, MultiDatePickerConfig, ReactJSX, Rectangle, Scroller, TabConfig, 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 BryntumDateRangeFieldProps = {
|
|
|
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/DateRangeField#config-adopt)
|
|
15
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#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/DateRangeField#config-align)
|
|
20
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-align)
|
|
23
21
|
*/
|
|
24
22
|
align? : AlignSpec|string
|
|
25
23
|
/**
|
|
@@ -41,15 +39,13 @@ export type BryntumDateRangeFieldProps = {
|
|
|
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/DateRangeField#config-ariaDescription)
|
|
42
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#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/DateRangeField#config-ariaLabel)
|
|
48
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-ariaLabel)
|
|
53
49
|
*/
|
|
54
50
|
ariaLabel? : string
|
|
55
51
|
/**
|
|
@@ -72,21 +68,18 @@ export type BryntumDateRangeFieldProps = {
|
|
|
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/DateRangeField#config-bubbleEvents)
|
|
71
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#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/DateRangeField#config-callOnFunctions)
|
|
76
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#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/DateRangeField#config-catchEventHandlerExceptions)
|
|
82
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-catchEventHandlerExceptions)
|
|
90
83
|
*/
|
|
91
84
|
catchEventHandlerExceptions? : boolean
|
|
92
85
|
/**
|
|
@@ -104,15 +97,13 @@ export type BryntumDateRangeFieldProps = {
|
|
|
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/DateRangeField#config-cls)
|
|
100
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#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/DateRangeField#config-color)
|
|
106
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-color)
|
|
116
107
|
*/
|
|
117
108
|
color? : Color
|
|
118
109
|
/**
|
|
@@ -122,10 +113,9 @@ export type BryntumDateRangeFieldProps = {
|
|
|
122
113
|
config? : object
|
|
123
114
|
/**
|
|
124
115
|
* Enables OK/Cancel button bar to accept date range changes. A value of `true` shows the OK and Cancel buttons.
|
|
125
|
-
* ...
|
|
126
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-confirmable)
|
|
116
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-confirmable)
|
|
127
117
|
*/
|
|
128
|
-
confirmable? : boolean|ConfirmationBarConfig
|
|
118
|
+
confirmable? : boolean|ConfirmationBarConfig
|
|
129
119
|
/**
|
|
130
120
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating) or [positioned](#Core/widget/Widget#config-positioned).*
|
|
131
121
|
* Element, Widget or Rectangle to which this Widget is constrained.
|
|
@@ -135,15 +125,13 @@ export type BryntumDateRangeFieldProps = {
|
|
|
135
125
|
* The configuration for additional items associated to this field. This is typically used to add contextual
|
|
136
126
|
* fields related to a [checkbox](https://bryntum.com/products/core/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See
|
|
137
127
|
* these classes for examples of nested fields.
|
|
138
|
-
* ...
|
|
139
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-container)
|
|
128
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-container)
|
|
140
129
|
*/
|
|
141
|
-
container? : Record<string, CoreContainerItemConfig>|CoreContainerItemConfig[]|FieldContainerConfig
|
|
130
|
+
container? : Record<string, CoreContainerItemConfig>|CoreContainerItemConfig[]|FieldContainerConfig
|
|
142
131
|
/**
|
|
143
132
|
* The config controls how the value of nested items are handled when a parent container gets or sets its
|
|
144
133
|
* [values](https://bryntum.com/products/core/docs/api/Core/widget/Container#property-values).
|
|
145
|
-
* ...
|
|
146
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-containValues)
|
|
134
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-containValues)
|
|
147
135
|
* @param {Core.widget.Field} field Field instance
|
|
148
136
|
* @returns {boolean}
|
|
149
137
|
*/
|
|
@@ -152,8 +140,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
152
140
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
153
141
|
* May be specified as a space separated string, or as an object in which property names
|
|
154
142
|
* with truthy values are used as the class names:
|
|
155
|
-
* ...
|
|
156
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-contentElementCls)
|
|
143
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-contentElementCls)
|
|
157
144
|
*/
|
|
158
145
|
contentElementCls? : string|object
|
|
159
146
|
/**
|
|
@@ -180,16 +167,15 @@ export type BryntumDateRangeFieldProps = {
|
|
|
180
167
|
*/
|
|
181
168
|
defaultBindProperty? : string
|
|
182
169
|
/**
|
|
183
|
-
* Check for CSS compatibility issues
|
|
184
|
-
*
|
|
185
|
-
* [
|
|
170
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
171
|
+
* checks:
|
|
172
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-detectCSSCompatibilityIssues)
|
|
186
173
|
*/
|
|
187
174
|
detectCSSCompatibilityIssues? : boolean
|
|
188
175
|
/**
|
|
189
176
|
* 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
|
|
190
177
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
191
|
-
* ...
|
|
192
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-disabled)
|
|
178
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-disabled)
|
|
193
179
|
*/
|
|
194
180
|
disabled? : boolean|'inert'
|
|
195
181
|
/**
|
|
@@ -197,20 +183,17 @@ export type BryntumDateRangeFieldProps = {
|
|
|
197
183
|
* [strips collection](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
198
184
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
199
185
|
* body. Such widgets are called "edge strips".
|
|
200
|
-
* ...
|
|
201
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-dock)
|
|
186
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-dock)
|
|
202
187
|
*/
|
|
203
188
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
204
189
|
/**
|
|
205
190
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
206
191
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
207
192
|
* property which controls when a drag should start.
|
|
208
|
-
* ...
|
|
209
|
-
*
|
|
193
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-draggable)
|
|
194
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
210
195
|
*/
|
|
211
|
-
draggable? : boolean|
|
|
212
|
-
handleSelector?: string
|
|
213
|
-
}
|
|
196
|
+
draggable? : boolean|object
|
|
214
197
|
/**
|
|
215
198
|
* User can edit text in text field (otherwise only pick from attached picker)
|
|
216
199
|
*/
|
|
@@ -218,19 +201,18 @@ export type BryntumDateRangeFieldProps = {
|
|
|
218
201
|
/**
|
|
219
202
|
* An object specifying attributes to assign to the root element of this widget.
|
|
220
203
|
* Set `null` value to attribute to remove it.
|
|
221
|
-
* ...
|
|
222
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-elementAttributes)
|
|
204
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-elementAttributes)
|
|
223
205
|
*/
|
|
224
206
|
elementAttributes? : Record<string, string|null>
|
|
225
207
|
extraData? : any
|
|
226
208
|
/**
|
|
227
209
|
* The field for the end date.
|
|
228
210
|
*/
|
|
229
|
-
fieldEndDate? : DateFieldConfig
|
|
211
|
+
fieldEndDate? : DateFieldConfig
|
|
230
212
|
/**
|
|
231
213
|
* The field for the start date.
|
|
232
214
|
*/
|
|
233
|
-
fieldStartDate? : DateFieldConfig
|
|
215
|
+
fieldStartDate? : DateFieldConfig
|
|
234
216
|
/**
|
|
235
217
|
* When this widget is a child of a [Container](https://bryntum.com/products/core/docs/api/Core/widget/Container), it will by default be participating in a
|
|
236
218
|
* flexbox layout. This config allows you to set this widget's
|
|
@@ -260,8 +242,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
260
242
|
hidden? : boolean
|
|
261
243
|
/**
|
|
262
244
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
263
|
-
* ...
|
|
264
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-hideAnimation)
|
|
245
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-hideAnimation)
|
|
265
246
|
*/
|
|
266
247
|
hideAnimation? : boolean|object
|
|
267
248
|
/**
|
|
@@ -271,8 +252,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
271
252
|
/**
|
|
272
253
|
* An optional string to display inside the input field as an overlay. This can be useful for displaying
|
|
273
254
|
* a field's units.
|
|
274
|
-
* ...
|
|
275
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-hint)
|
|
255
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-hint)
|
|
276
256
|
* @param {object} data A data object
|
|
277
257
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
278
258
|
* @param {any} data.value The current value of the field
|
|
@@ -283,8 +263,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
283
263
|
* 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.
|
|
284
264
|
* Since this can allow malicious content to be executed, be sure not to include user-entered data or to
|
|
285
265
|
* encode such data (see [encodeHtml](https://bryntum.com/products/core/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).
|
|
286
|
-
* ...
|
|
287
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-hintHtml)
|
|
266
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-hintHtml)
|
|
288
267
|
* @param {object} data A data object
|
|
289
268
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
290
269
|
* @param {any} data.value The current value of the field
|
|
@@ -297,16 +276,14 @@ export type BryntumDateRangeFieldProps = {
|
|
|
297
276
|
id? : string
|
|
298
277
|
/**
|
|
299
278
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
300
|
-
* ...
|
|
301
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-ignoreParentReadOnly)
|
|
279
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-ignoreParentReadOnly)
|
|
302
280
|
*/
|
|
303
281
|
ignoreParentReadOnly? : boolean
|
|
304
282
|
/**
|
|
305
283
|
* Set this config to `true` to always display items horizontally along with this field. This assigns an
|
|
306
284
|
* [hbox](https://bryntum.com/products/core/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the
|
|
307
285
|
* [container](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-container).
|
|
308
|
-
* ...
|
|
309
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-inline)
|
|
286
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-inline)
|
|
310
287
|
*/
|
|
311
288
|
inline? : boolean
|
|
312
289
|
/**
|
|
@@ -345,24 +322,21 @@ export type BryntumDateRangeFieldProps = {
|
|
|
345
322
|
/**
|
|
346
323
|
* A flag which indicates what time should be used for selected date.
|
|
347
324
|
* `false` by default which means time is reset to midnight.
|
|
348
|
-
* ...
|
|
349
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-keepTime)
|
|
325
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-keepTime)
|
|
350
326
|
*/
|
|
351
327
|
keepTime? : boolean|Date|string
|
|
352
328
|
/**
|
|
353
329
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
354
330
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
355
331
|
* are the name of the instance method to call when the keystroke is received.
|
|
356
|
-
* ...
|
|
357
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-keyMap)
|
|
332
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-keyMap)
|
|
358
333
|
*/
|
|
359
334
|
keyMap? : Record<string, KeyMapConfig>
|
|
360
335
|
/**
|
|
361
336
|
* The delay in milliseconds to wait after the last keystroke before triggering a change event.
|
|
362
337
|
* Set to 0 to not trigger change events from keystrokes (listen for input event instead to have
|
|
363
338
|
* immediate feedback, change will still be triggered on blur).
|
|
364
|
-
* ...
|
|
365
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-keyStrokeChangeDelay)
|
|
339
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-keyStrokeChangeDelay)
|
|
366
340
|
*/
|
|
367
341
|
keyStrokeChangeDelay? : number
|
|
368
342
|
/**
|
|
@@ -375,15 +349,15 @@ export type BryntumDateRangeFieldProps = {
|
|
|
375
349
|
labelCls? : string|object
|
|
376
350
|
/**
|
|
377
351
|
* Label position, either 'before' the field or 'above' the field
|
|
378
|
-
* ...
|
|
379
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-labelPosition)
|
|
352
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-labelPosition)
|
|
380
353
|
*/
|
|
381
354
|
labelPosition? : 'before'|'above'|null
|
|
382
355
|
/**
|
|
383
356
|
* The labels to add either before or after the input field.
|
|
384
357
|
* Each label may have the following properties:
|
|
385
|
-
* ...
|
|
386
|
-
*
|
|
358
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-labels)
|
|
359
|
+
* @property {string} html Label text
|
|
360
|
+
* @property {'start','end'} align Which end of the file the label should go
|
|
387
361
|
*/
|
|
388
362
|
labels? : object[]
|
|
389
363
|
/**
|
|
@@ -392,16 +366,14 @@ export type BryntumDateRangeFieldProps = {
|
|
|
392
366
|
labelWidth? : string|number
|
|
393
367
|
/**
|
|
394
368
|
* The listener set for this object.
|
|
395
|
-
* ...
|
|
396
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-listeners)
|
|
369
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-listeners)
|
|
397
370
|
*/
|
|
398
371
|
listeners? : DateRangeFieldListeners
|
|
399
372
|
/**
|
|
400
373
|
* A class translations of which are used for translating this entity.
|
|
401
374
|
* This is often used when translations of an item are defined on its container class.
|
|
402
375
|
* For example:
|
|
403
|
-
* ...
|
|
404
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-localeClass)
|
|
376
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-localeClass)
|
|
405
377
|
*/
|
|
406
378
|
localeClass? : typeof Base
|
|
407
379
|
/**
|
|
@@ -413,8 +385,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
413
385
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
414
386
|
* you could use 'localeKey' meta configuration.
|
|
415
387
|
* Example:
|
|
416
|
-
* ...
|
|
417
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-localizableProperties)
|
|
388
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-localizableProperties)
|
|
418
389
|
*/
|
|
419
390
|
localizableProperties? : string[]
|
|
420
391
|
/**
|
|
@@ -444,8 +415,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
444
415
|
maxHeight? : string|number
|
|
445
416
|
/**
|
|
446
417
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
447
|
-
* ...
|
|
448
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-maximizeOnMobile)
|
|
418
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-maximizeOnMobile)
|
|
449
419
|
*/
|
|
450
420
|
maximizeOnMobile? : number|string
|
|
451
421
|
/**
|
|
@@ -479,24 +449,20 @@ export type BryntumDateRangeFieldProps = {
|
|
|
479
449
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
480
450
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
481
451
|
* layout.
|
|
482
|
-
* ...
|
|
483
|
-
*
|
|
452
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-monitorResize)
|
|
453
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
484
454
|
*/
|
|
485
|
-
monitorResize? : boolean|
|
|
486
|
-
immediate?: boolean
|
|
487
|
-
}
|
|
455
|
+
monitorResize? : boolean|object
|
|
488
456
|
/**
|
|
489
457
|
* Name of the field which is used as a key to get/set values from/to the field.
|
|
490
458
|
* Used prior to [ref](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in
|
|
491
459
|
* [Container.values](https://bryntum.com/products/core/docs/api/Core/widget/Container#property-values).
|
|
492
|
-
* ...
|
|
493
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-name)
|
|
460
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-name)
|
|
494
461
|
*/
|
|
495
462
|
name? : string
|
|
496
463
|
/**
|
|
497
464
|
* A config object used to configure the [datePicker](https://bryntum.com/products/core/docs/api/Core/widget/DateRangePicker).
|
|
498
|
-
* ...
|
|
499
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-picker)
|
|
465
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-picker)
|
|
500
466
|
*/
|
|
501
467
|
picker? : DateRangePickerConfig|MultiDatePickerConfig
|
|
502
468
|
/**
|
|
@@ -511,8 +477,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
511
477
|
* 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
|
|
512
478
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
513
479
|
* widget's [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
514
|
-
* ...
|
|
515
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-positioned)
|
|
480
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-positioned)
|
|
516
481
|
*/
|
|
517
482
|
positioned? : boolean
|
|
518
483
|
/**
|
|
@@ -523,15 +488,13 @@ export type BryntumDateRangeFieldProps = {
|
|
|
523
488
|
/**
|
|
524
489
|
* Makes the field unmodifiable by user action. The input area is not editable, and triggers
|
|
525
490
|
* are unresponsive.
|
|
526
|
-
* ...
|
|
527
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-readOnly)
|
|
491
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-readOnly)
|
|
528
492
|
*/
|
|
529
493
|
readOnly? : boolean
|
|
530
494
|
relayStoreEvents? : boolean
|
|
531
495
|
/**
|
|
532
496
|
* Predefined style to use for the field. Possible values are:
|
|
533
|
-
* ...
|
|
534
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-rendition)
|
|
497
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-rendition)
|
|
535
498
|
*/
|
|
536
499
|
rendition? : 'outlined'|'filled'|string
|
|
537
500
|
/**
|
|
@@ -550,23 +513,26 @@ export type BryntumDateRangeFieldProps = {
|
|
|
550
513
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
551
514
|
* [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
|
|
552
515
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
553
|
-
* ...
|
|
554
|
-
* [
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
516
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-ripple)
|
|
517
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
518
|
+
* @property {string} [color] A CSS color name or specification.
|
|
519
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
520
|
+
* @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.
|
|
521
|
+
*/
|
|
522
|
+
ripple? : boolean|object
|
|
523
|
+
/**
|
|
524
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
525
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
526
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-role)
|
|
527
|
+
*/
|
|
528
|
+
role? : string
|
|
562
529
|
/**
|
|
563
530
|
* 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`
|
|
564
531
|
*/
|
|
565
532
|
rootElement? : ShadowRoot|HTMLElement
|
|
566
533
|
/**
|
|
567
534
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
568
|
-
* ...
|
|
569
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-rtl)
|
|
535
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-rtl)
|
|
570
536
|
*/
|
|
571
537
|
rtl? : boolean
|
|
572
538
|
/**
|
|
@@ -576,8 +542,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
576
542
|
scrollAction? : 'hide'|'realign'|null
|
|
577
543
|
/**
|
|
578
544
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
579
|
-
* ...
|
|
580
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-showAnimation)
|
|
545
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-showAnimation)
|
|
581
546
|
*/
|
|
582
547
|
showAnimation? : boolean|object
|
|
583
548
|
/**
|
|
@@ -606,8 +571,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
606
571
|
* 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
|
|
607
572
|
* [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
|
|
608
573
|
* this widget:
|
|
609
|
-
* ...
|
|
610
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-tab)
|
|
574
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-tab)
|
|
611
575
|
*/
|
|
612
576
|
tab? : boolean|TabConfig
|
|
613
577
|
/**
|
|
@@ -615,14 +579,12 @@ export type BryntumDateRangeFieldProps = {
|
|
|
615
579
|
* is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable
|
|
616
580
|
* (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set
|
|
617
581
|
* to the element programmatically.
|
|
618
|
-
* ...
|
|
619
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-tabIndex)
|
|
582
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-tabIndex)
|
|
620
583
|
*/
|
|
621
584
|
tabIndex? : number
|
|
622
585
|
/**
|
|
623
586
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
624
|
-
* ...
|
|
625
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-textAlign)
|
|
587
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-textAlign)
|
|
626
588
|
*/
|
|
627
589
|
textAlign? : 'left'|'center'|'right'|'start'|'end'
|
|
628
590
|
/**
|
|
@@ -631,24 +593,21 @@ export type BryntumDateRangeFieldProps = {
|
|
|
631
593
|
title? : string
|
|
632
594
|
/**
|
|
633
595
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
634
|
-
* ...
|
|
635
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-tooltip)
|
|
596
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-tooltip)
|
|
636
597
|
*/
|
|
637
598
|
tooltip? : string|TooltipConfig|null
|
|
638
599
|
/**
|
|
639
600
|
* The triggers to add either before or after the input field. Each property name is the reference by which
|
|
640
601
|
* an instantiated Trigger Widget may be retrieved from the live `triggers` property.
|
|
641
|
-
* ...
|
|
642
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-triggers)
|
|
602
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-triggers)
|
|
643
603
|
*/
|
|
644
|
-
triggers? : Record<string, FieldTriggerConfig
|
|
604
|
+
triggers? : Record<string, FieldTriggerConfig>
|
|
645
605
|
type? : 'daterangefield'
|
|
646
606
|
/**
|
|
647
607
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
648
608
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
649
609
|
* values are used as the class names.
|
|
650
|
-
* ...
|
|
651
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-ui)
|
|
610
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-ui)
|
|
652
611
|
*/
|
|
653
612
|
ui? : string|object
|
|
654
613
|
/**
|
|
@@ -678,14 +637,12 @@ export type BryntumDateRangeFieldProps = {
|
|
|
678
637
|
width? : string|number
|
|
679
638
|
/**
|
|
680
639
|
* The x position for the widget.
|
|
681
|
-
* ...
|
|
682
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-x)
|
|
640
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-x)
|
|
683
641
|
*/
|
|
684
642
|
x? : number
|
|
685
643
|
/**
|
|
686
644
|
* The y position for the widget.
|
|
687
|
-
* ...
|
|
688
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-y)
|
|
645
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-y)
|
|
689
646
|
*/
|
|
690
647
|
y? : number
|
|
691
648
|
|
|
@@ -724,8 +681,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
724
681
|
onBeforeShow? : ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string
|
|
725
682
|
/**
|
|
726
683
|
* Fires when any other event is fired from the object.
|
|
727
|
-
* ...
|
|
728
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#event-catchAll)
|
|
684
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#event-catchAll)
|
|
729
685
|
* @param {object} event Event object
|
|
730
686
|
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
731
687
|
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
@@ -745,8 +701,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
745
701
|
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
|
|
746
702
|
/**
|
|
747
703
|
* Fired when this field is [cleared](https://bryntum.com/products/core/docs/api/Core/widget/Field#function-clear).
|
|
748
|
-
* ...
|
|
749
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#event-clear)
|
|
704
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#event-clear)
|
|
750
705
|
* @param {object} event Event object
|
|
751
706
|
* @param {Core.widget.Field,any} event.source This Field
|
|
752
707
|
*/
|
|
@@ -804,8 +759,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
804
759
|
/**
|
|
805
760
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
806
761
|
* achieves visibility.
|
|
807
|
-
* ...
|
|
808
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#event-paint)
|
|
762
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#event-paint)
|
|
809
763
|
* @param {object} event Event object
|
|
810
764
|
* @param {Core.widget.Widget} event.source The widget being painted.
|
|
811
765
|
* @param {boolean} event.firstPaint `true` if this is the first paint.
|
|
@@ -917,6 +871,7 @@ export class BryntumDateRangeField extends React.Component<BryntumDateRangeField
|
|
|
917
871
|
'relayStoreEvents',
|
|
918
872
|
'revertOnEscape',
|
|
919
873
|
'ripple',
|
|
874
|
+
'role',
|
|
920
875
|
'rootElement',
|
|
921
876
|
'scrollAction',
|
|
922
877
|
'showAnimation',
|
|
@@ -1001,9 +956,7 @@ export class BryntumDateRangeField extends React.Component<BryntumDateRangeField
|
|
|
1001
956
|
];
|
|
1002
957
|
|
|
1003
958
|
static propertyNames = [
|
|
1004
|
-
'anchorSize',
|
|
1005
959
|
'content',
|
|
1006
|
-
'focusVisible',
|
|
1007
960
|
'formula',
|
|
1008
961
|
'html',
|
|
1009
962
|
'input',
|