@bryntum/core-react-thin 7.2.4 → 7.3.1
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 +262 -0
- package/lib/BryntumBooleanCombo.js +205 -0
- package/lib/BryntumBooleanCombo.js.map +1 -0
- package/lib/BryntumButton.d.ts +9 -17
- package/lib/BryntumButton.js +1 -2
- package/lib/BryntumButton.js.map +1 -1
- package/lib/BryntumButtonGroup.d.ts +9 -16
- package/lib/BryntumButtonGroup.js +2 -5
- package/lib/BryntumButtonGroup.js.map +1 -1
- package/lib/BryntumChatPanel.d.ts +19 -23
- package/lib/BryntumChatPanel.js +7 -6
- package/lib/BryntumChatPanel.js.map +1 -1
- package/lib/BryntumCheckbox.d.ts +10 -17
- package/lib/BryntumCheckbox.js +2 -2
- package/lib/BryntumCheckbox.js.map +1 -1
- package/lib/BryntumCheckboxGroup.d.ts +12 -24
- package/lib/BryntumCheckboxGroup.js +2 -6
- package/lib/BryntumCheckboxGroup.js.map +1 -1
- package/lib/BryntumChipView.d.ts +8 -16
- package/lib/BryntumChipView.js +1 -2
- package/lib/BryntumChipView.js.map +1 -1
- package/lib/BryntumCodeEditor.d.ts +12 -23
- package/lib/BryntumCodeEditor.js +2 -5
- package/lib/BryntumCodeEditor.js.map +1 -1
- package/lib/BryntumColorField.d.ts +9 -16
- package/lib/BryntumColorField.js +2 -2
- package/lib/BryntumColorField.js.map +1 -1
- package/lib/BryntumCombo.d.ts +12 -19
- package/lib/BryntumCombo.js +2 -2
- package/lib/BryntumCombo.js.map +1 -1
- package/lib/BryntumContainer.d.ts +8 -15
- package/lib/BryntumContainer.js +2 -5
- package/lib/BryntumContainer.js.map +1 -1
- package/lib/BryntumDateField.d.ts +9 -16
- package/lib/BryntumDateField.js +2 -2
- package/lib/BryntumDateField.js.map +1 -1
- package/lib/BryntumDatePicker.d.ts +12 -23
- package/lib/BryntumDatePicker.js +2 -5
- package/lib/BryntumDatePicker.js.map +1 -1
- package/lib/BryntumDateRangeField.d.ts +12 -19
- package/lib/BryntumDateRangeField.js +2 -2
- package/lib/BryntumDateRangeField.js.map +1 -1
- package/lib/BryntumDateTimeField.d.ts +9 -16
- package/lib/BryntumDateTimeField.js +2 -2
- package/lib/BryntumDateTimeField.js.map +1 -1
- package/lib/BryntumDemoCodeEditor.d.ts +12 -23
- package/lib/BryntumDemoCodeEditor.js +2 -5
- package/lib/BryntumDemoCodeEditor.js.map +1 -1
- package/lib/BryntumDisplayField.d.ts +9 -16
- package/lib/BryntumDisplayField.js +2 -2
- package/lib/BryntumDisplayField.js.map +1 -1
- package/lib/BryntumDurationField.d.ts +9 -16
- package/lib/BryntumDurationField.js +2 -2
- package/lib/BryntumDurationField.js.map +1 -1
- package/lib/BryntumEditor.d.ts +14 -24
- package/lib/BryntumEditor.js +2 -5
- package/lib/BryntumEditor.js.map +1 -1
- package/lib/BryntumFieldFilterPicker.d.ts +8 -15
- package/lib/BryntumFieldFilterPicker.js +2 -5
- package/lib/BryntumFieldFilterPicker.js.map +1 -1
- package/lib/BryntumFieldFilterPickerGroup.d.ts +9 -16
- package/lib/BryntumFieldFilterPickerGroup.js +2 -5
- package/lib/BryntumFieldFilterPickerGroup.js.map +1 -1
- package/lib/BryntumFieldSet.d.ts +12 -24
- package/lib/BryntumFieldSet.js +2 -6
- package/lib/BryntumFieldSet.js.map +1 -1
- package/lib/BryntumFileField.d.ts +9 -16
- package/lib/BryntumFileField.js +2 -2
- package/lib/BryntumFileField.js.map +1 -1
- package/lib/BryntumFilePicker.d.ts +8 -15
- package/lib/BryntumFilePicker.js +2 -5
- package/lib/BryntumFilePicker.js.map +1 -1
- package/lib/BryntumFilterField.d.ts +9 -16
- package/lib/BryntumFilterField.js +2 -2
- package/lib/BryntumFilterField.js.map +1 -1
- package/lib/BryntumHint.d.ts +24 -33
- package/lib/BryntumHint.js +2 -5
- package/lib/BryntumHint.js.map +1 -1
- package/lib/BryntumLabel.d.ts +7 -15
- package/lib/BryntumLabel.js +1 -2
- package/lib/BryntumLabel.js.map +1 -1
- package/lib/BryntumList.d.ts +8 -16
- package/lib/BryntumList.js +1 -2
- package/lib/BryntumList.js.map +1 -1
- package/lib/BryntumMenu.d.ts +23 -28
- package/lib/BryntumMenu.js +2 -6
- package/lib/BryntumMenu.js.map +1 -1
- package/lib/BryntumMonthPicker.d.ts +12 -23
- package/lib/BryntumMonthPicker.js +2 -5
- package/lib/BryntumMonthPicker.js.map +1 -1
- package/lib/BryntumNumberField.d.ts +9 -16
- package/lib/BryntumNumberField.js +2 -2
- package/lib/BryntumNumberField.js.map +1 -1
- package/lib/BryntumPagingToolbar.d.ts +12 -19
- package/lib/BryntumPagingToolbar.js +2 -5
- package/lib/BryntumPagingToolbar.js.map +1 -1
- package/lib/BryntumPanel.d.ts +12 -23
- package/lib/BryntumPanel.js +2 -5
- package/lib/BryntumPanel.js.map +1 -1
- package/lib/BryntumPasswordField.d.ts +9 -16
- package/lib/BryntumPasswordField.js +2 -2
- package/lib/BryntumPasswordField.js.map +1 -1
- package/lib/BryntumProgressBar.d.ts +7 -15
- package/lib/BryntumProgressBar.js +1 -2
- package/lib/BryntumProgressBar.js.map +1 -1
- package/lib/BryntumRadio.d.ts +10 -17
- package/lib/BryntumRadio.js +2 -2
- package/lib/BryntumRadio.js.map +1 -1
- package/lib/BryntumRadioGroup.d.ts +12 -24
- package/lib/BryntumRadioGroup.js +2 -6
- package/lib/BryntumRadioGroup.js.map +1 -1
- package/lib/BryntumSlideToggle.d.ts +10 -17
- package/lib/BryntumSlideToggle.js +2 -2
- package/lib/BryntumSlideToggle.js.map +1 -1
- package/lib/BryntumSlider.d.ts +8 -15
- package/lib/BryntumSlider.js +2 -2
- package/lib/BryntumSlider.js.map +1 -1
- package/lib/BryntumSplitter.d.ts +7 -15
- package/lib/BryntumSplitter.js +1 -2
- package/lib/BryntumSplitter.js.map +1 -1
- package/lib/BryntumTabPanel.d.ts +13 -24
- package/lib/BryntumTabPanel.js +2 -5
- package/lib/BryntumTabPanel.js.map +1 -1
- package/lib/BryntumTextAreaField.d.ts +10 -16
- package/lib/BryntumTextAreaField.js +3 -2
- package/lib/BryntumTextAreaField.js.map +1 -1
- package/lib/BryntumTextAreaPickerField.d.ts +10 -17
- package/lib/BryntumTextAreaPickerField.js +2 -2
- package/lib/BryntumTextAreaPickerField.js.map +1 -1
- package/lib/BryntumTextField.d.ts +9 -16
- package/lib/BryntumTextField.js +2 -2
- package/lib/BryntumTextField.js.map +1 -1
- package/lib/BryntumTimeField.d.ts +10 -17
- package/lib/BryntumTimeField.js +2 -2
- package/lib/BryntumTimeField.js.map +1 -1
- package/lib/BryntumTimePicker.d.ts +8 -15
- package/lib/BryntumTimePicker.js +2 -5
- package/lib/BryntumTimePicker.js.map +1 -1
- package/lib/BryntumToolbar.d.ts +12 -19
- package/lib/BryntumToolbar.js +2 -5
- package/lib/BryntumToolbar.js.map +1 -1
- package/lib/BryntumWidget.d.ts +7 -15
- package/lib/BryntumWidget.js +1 -2
- package/lib/BryntumWidget.js.map +1 -1
- package/lib/BryntumYearPicker.d.ts +12 -23
- 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 +1190 -0
- package/src/BryntumButton.tsx +72 -118
- package/src/BryntumButtonGroup.tsx +79 -124
- package/src/BryntumChatPanel.tsx +142 -172
- package/src/BryntumCheckbox.tsx +85 -119
- package/src/BryntumCheckboxGroup.tsx +112 -182
- package/src/BryntumChipView.tsx +67 -107
- package/src/BryntumCodeEditor.tsx +109 -170
- package/src/BryntumColorField.tsx +84 -118
- package/src/BryntumCombo.tsx +103 -153
- package/src/BryntumContainer.tsx +79 -125
- package/src/BryntumDateField.tsx +91 -124
- package/src/BryntumDatePicker.tsx +122 -196
- package/src/BryntumDateRangeField.tsx +90 -127
- package/src/BryntumDateTimeField.tsx +84 -118
- package/src/BryntumDemoCodeEditor.tsx +109 -170
- package/src/BryntumDisplayField.tsx +85 -120
- package/src/BryntumDurationField.tsx +91 -126
- package/src/BryntumEditor.tsx +95 -145
- package/src/BryntumFieldFilterPicker.tsx +81 -129
- package/src/BryntumFieldFilterPickerGroup.tsx +84 -134
- package/src/BryntumFieldSet.tsx +108 -175
- package/src/BryntumFileField.tsx +84 -118
- package/src/BryntumFilePicker.tsx +79 -125
- package/src/BryntumFilterField.tsx +87 -124
- package/src/BryntumHint.tsx +136 -193
- package/src/BryntumLabel.tsx +60 -96
- package/src/BryntumList.tsx +64 -103
- package/src/BryntumMenu.tsx +131 -191
- package/src/BryntumMonthPicker.tsx +109 -170
- package/src/BryntumNumberField.tsx +88 -122
- package/src/BryntumPagingToolbar.tsx +84 -131
- package/src/BryntumPanel.tsx +109 -170
- package/src/BryntumPasswordField.tsx +84 -118
- package/src/BryntumProgressBar.tsx +59 -94
- package/src/BryntumRadio.tsx +85 -119
- package/src/BryntumRadioGroup.tsx +112 -181
- package/src/BryntumSlideToggle.tsx +85 -119
- package/src/BryntumSlider.tsx +68 -102
- package/src/BryntumSplitter.tsx +62 -100
- package/src/BryntumTabPanel.tsx +111 -173
- package/src/BryntumTextAreaField.tsx +92 -120
- package/src/BryntumTextAreaPickerField.tsx +86 -121
- package/src/BryntumTextField.tsx +85 -120
- package/src/BryntumTimeField.tsx +90 -121
- package/src/BryntumTimePicker.tsx +79 -125
- package/src/BryntumToolbar.tsx +84 -131
- package/src/BryntumWidget.tsx +60 -96
- package/src/BryntumYearPicker.tsx +110 -172
- 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
|
/**
|
|
@@ -94,6 +87,15 @@ export type BryntumDateRangeFieldProps = {
|
|
|
94
87
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
95
88
|
*/
|
|
96
89
|
centered? : boolean
|
|
90
|
+
/**
|
|
91
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
92
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
|
|
93
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
|
|
94
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-checkValidity)
|
|
95
|
+
* @param {Core.widget.Field} field The field being validated
|
|
96
|
+
* @returns {void}
|
|
97
|
+
*/
|
|
98
|
+
checkValidity? : ((field: Field) => void)|string
|
|
97
99
|
/**
|
|
98
100
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
99
101
|
* in the [triggers](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|
|
@@ -104,15 +106,13 @@ export type BryntumDateRangeFieldProps = {
|
|
|
104
106
|
* Custom CSS classes to add to element.
|
|
105
107
|
* May be specified as a space separated string, or as an object in which property names
|
|
106
108
|
* 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)
|
|
109
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-cls)
|
|
109
110
|
*/
|
|
110
111
|
cls? : string|object
|
|
111
112
|
/**
|
|
112
113
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
113
114
|
* `style` block.
|
|
114
|
-
* ...
|
|
115
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-color)
|
|
115
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-color)
|
|
116
116
|
*/
|
|
117
117
|
color? : Color
|
|
118
118
|
/**
|
|
@@ -122,10 +122,9 @@ export type BryntumDateRangeFieldProps = {
|
|
|
122
122
|
config? : object
|
|
123
123
|
/**
|
|
124
124
|
* 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)
|
|
125
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-confirmable)
|
|
127
126
|
*/
|
|
128
|
-
confirmable? : boolean|ConfirmationBarConfig
|
|
127
|
+
confirmable? : boolean|ConfirmationBarConfig
|
|
129
128
|
/**
|
|
130
129
|
* *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
130
|
* Element, Widget or Rectangle to which this Widget is constrained.
|
|
@@ -135,15 +134,13 @@ export type BryntumDateRangeFieldProps = {
|
|
|
135
134
|
* The configuration for additional items associated to this field. This is typically used to add contextual
|
|
136
135
|
* fields related to a [checkbox](https://bryntum.com/products/core/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See
|
|
137
136
|
* these classes for examples of nested fields.
|
|
138
|
-
* ...
|
|
139
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-container)
|
|
137
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-container)
|
|
140
138
|
*/
|
|
141
|
-
container? : Record<string, CoreContainerItemConfig>|CoreContainerItemConfig[]|FieldContainerConfig
|
|
139
|
+
container? : Record<string, CoreContainerItemConfig>|CoreContainerItemConfig[]|FieldContainerConfig
|
|
142
140
|
/**
|
|
143
141
|
* The config controls how the value of nested items are handled when a parent container gets or sets its
|
|
144
142
|
* [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)
|
|
143
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-containValues)
|
|
147
144
|
* @param {Core.widget.Field} field Field instance
|
|
148
145
|
* @returns {boolean}
|
|
149
146
|
*/
|
|
@@ -152,8 +149,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
152
149
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
153
150
|
* May be specified as a space separated string, or as an object in which property names
|
|
154
151
|
* 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)
|
|
152
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-contentElementCls)
|
|
157
153
|
*/
|
|
158
154
|
contentElementCls? : string|object
|
|
159
155
|
/**
|
|
@@ -180,16 +176,15 @@ export type BryntumDateRangeFieldProps = {
|
|
|
180
176
|
*/
|
|
181
177
|
defaultBindProperty? : string
|
|
182
178
|
/**
|
|
183
|
-
* Check for CSS compatibility issues
|
|
184
|
-
*
|
|
185
|
-
* [
|
|
179
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
180
|
+
* checks:
|
|
181
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-detectCSSCompatibilityIssues)
|
|
186
182
|
*/
|
|
187
183
|
detectCSSCompatibilityIssues? : boolean
|
|
188
184
|
/**
|
|
189
185
|
* 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
186
|
* 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)
|
|
187
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-disabled)
|
|
193
188
|
*/
|
|
194
189
|
disabled? : boolean|'inert'
|
|
195
190
|
/**
|
|
@@ -197,20 +192,17 @@ export type BryntumDateRangeFieldProps = {
|
|
|
197
192
|
* [strips collection](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
198
193
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
199
194
|
* body. Such widgets are called "edge strips".
|
|
200
|
-
* ...
|
|
201
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-dock)
|
|
195
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-dock)
|
|
202
196
|
*/
|
|
203
197
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
204
198
|
/**
|
|
205
199
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
206
200
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
207
201
|
* property which controls when a drag should start.
|
|
208
|
-
* ...
|
|
209
|
-
*
|
|
202
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-draggable)
|
|
203
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
210
204
|
*/
|
|
211
|
-
draggable? : boolean|
|
|
212
|
-
handleSelector?: string
|
|
213
|
-
}
|
|
205
|
+
draggable? : boolean|object
|
|
214
206
|
/**
|
|
215
207
|
* User can edit text in text field (otherwise only pick from attached picker)
|
|
216
208
|
*/
|
|
@@ -218,19 +210,18 @@ export type BryntumDateRangeFieldProps = {
|
|
|
218
210
|
/**
|
|
219
211
|
* An object specifying attributes to assign to the root element of this widget.
|
|
220
212
|
* 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)
|
|
213
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-elementAttributes)
|
|
223
214
|
*/
|
|
224
215
|
elementAttributes? : Record<string, string|null>
|
|
225
216
|
extraData? : any
|
|
226
217
|
/**
|
|
227
218
|
* The field for the end date.
|
|
228
219
|
*/
|
|
229
|
-
fieldEndDate? : DateFieldConfig
|
|
220
|
+
fieldEndDate? : DateFieldConfig
|
|
230
221
|
/**
|
|
231
222
|
* The field for the start date.
|
|
232
223
|
*/
|
|
233
|
-
fieldStartDate? : DateFieldConfig
|
|
224
|
+
fieldStartDate? : DateFieldConfig
|
|
234
225
|
/**
|
|
235
226
|
* 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
227
|
* flexbox layout. This config allows you to set this widget's
|
|
@@ -260,8 +251,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
260
251
|
hidden? : boolean
|
|
261
252
|
/**
|
|
262
253
|
* *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)
|
|
254
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-hideAnimation)
|
|
265
255
|
*/
|
|
266
256
|
hideAnimation? : boolean|object
|
|
267
257
|
/**
|
|
@@ -271,8 +261,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
271
261
|
/**
|
|
272
262
|
* An optional string to display inside the input field as an overlay. This can be useful for displaying
|
|
273
263
|
* a field's units.
|
|
274
|
-
* ...
|
|
275
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-hint)
|
|
264
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-hint)
|
|
276
265
|
* @param {object} data A data object
|
|
277
266
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
278
267
|
* @param {any} data.value The current value of the field
|
|
@@ -283,8 +272,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
283
272
|
* 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
273
|
* Since this can allow malicious content to be executed, be sure not to include user-entered data or to
|
|
285
274
|
* 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)
|
|
275
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-hintHtml)
|
|
288
276
|
* @param {object} data A data object
|
|
289
277
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
290
278
|
* @param {any} data.value The current value of the field
|
|
@@ -297,16 +285,14 @@ export type BryntumDateRangeFieldProps = {
|
|
|
297
285
|
id? : string
|
|
298
286
|
/**
|
|
299
287
|
* 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)
|
|
288
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-ignoreParentReadOnly)
|
|
302
289
|
*/
|
|
303
290
|
ignoreParentReadOnly? : boolean
|
|
304
291
|
/**
|
|
305
292
|
* Set this config to `true` to always display items horizontally along with this field. This assigns an
|
|
306
293
|
* [hbox](https://bryntum.com/products/core/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the
|
|
307
294
|
* [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)
|
|
295
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-inline)
|
|
310
296
|
*/
|
|
311
297
|
inline? : boolean
|
|
312
298
|
/**
|
|
@@ -345,24 +331,21 @@ export type BryntumDateRangeFieldProps = {
|
|
|
345
331
|
/**
|
|
346
332
|
* A flag which indicates what time should be used for selected date.
|
|
347
333
|
* `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)
|
|
334
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-keepTime)
|
|
350
335
|
*/
|
|
351
336
|
keepTime? : boolean|Date|string
|
|
352
337
|
/**
|
|
353
338
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
354
339
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
355
340
|
* 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)
|
|
341
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-keyMap)
|
|
358
342
|
*/
|
|
359
343
|
keyMap? : Record<string, KeyMapConfig>
|
|
360
344
|
/**
|
|
361
345
|
* The delay in milliseconds to wait after the last keystroke before triggering a change event.
|
|
362
346
|
* Set to 0 to not trigger change events from keystrokes (listen for input event instead to have
|
|
363
347
|
* 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)
|
|
348
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-keyStrokeChangeDelay)
|
|
366
349
|
*/
|
|
367
350
|
keyStrokeChangeDelay? : number
|
|
368
351
|
/**
|
|
@@ -375,15 +358,15 @@ export type BryntumDateRangeFieldProps = {
|
|
|
375
358
|
labelCls? : string|object
|
|
376
359
|
/**
|
|
377
360
|
* 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)
|
|
361
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-labelPosition)
|
|
380
362
|
*/
|
|
381
363
|
labelPosition? : 'before'|'above'|null
|
|
382
364
|
/**
|
|
383
365
|
* The labels to add either before or after the input field.
|
|
384
366
|
* Each label may have the following properties:
|
|
385
|
-
* ...
|
|
386
|
-
*
|
|
367
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-labels)
|
|
368
|
+
* @property {string} html Label text
|
|
369
|
+
* @property {'start','end'} align Which end of the file the label should go
|
|
387
370
|
*/
|
|
388
371
|
labels? : object[]
|
|
389
372
|
/**
|
|
@@ -392,16 +375,14 @@ export type BryntumDateRangeFieldProps = {
|
|
|
392
375
|
labelWidth? : string|number
|
|
393
376
|
/**
|
|
394
377
|
* The listener set for this object.
|
|
395
|
-
* ...
|
|
396
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-listeners)
|
|
378
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-listeners)
|
|
397
379
|
*/
|
|
398
380
|
listeners? : DateRangeFieldListeners
|
|
399
381
|
/**
|
|
400
382
|
* A class translations of which are used for translating this entity.
|
|
401
383
|
* This is often used when translations of an item are defined on its container class.
|
|
402
384
|
* For example:
|
|
403
|
-
* ...
|
|
404
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-localeClass)
|
|
385
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-localeClass)
|
|
405
386
|
*/
|
|
406
387
|
localeClass? : typeof Base
|
|
407
388
|
/**
|
|
@@ -413,8 +394,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
413
394
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
414
395
|
* you could use 'localeKey' meta configuration.
|
|
415
396
|
* Example:
|
|
416
|
-
* ...
|
|
417
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-localizableProperties)
|
|
397
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-localizableProperties)
|
|
418
398
|
*/
|
|
419
399
|
localizableProperties? : string[]
|
|
420
400
|
/**
|
|
@@ -444,8 +424,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
444
424
|
maxHeight? : string|number
|
|
445
425
|
/**
|
|
446
426
|
* *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)
|
|
427
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-maximizeOnMobile)
|
|
449
428
|
*/
|
|
450
429
|
maximizeOnMobile? : number|string
|
|
451
430
|
/**
|
|
@@ -479,24 +458,20 @@ export type BryntumDateRangeFieldProps = {
|
|
|
479
458
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
480
459
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
481
460
|
* layout.
|
|
482
|
-
* ...
|
|
483
|
-
*
|
|
461
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-monitorResize)
|
|
462
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
484
463
|
*/
|
|
485
|
-
monitorResize? : boolean|
|
|
486
|
-
immediate?: boolean
|
|
487
|
-
}
|
|
464
|
+
monitorResize? : boolean|object
|
|
488
465
|
/**
|
|
489
466
|
* Name of the field which is used as a key to get/set values from/to the field.
|
|
490
467
|
* 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
468
|
* [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)
|
|
469
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-name)
|
|
494
470
|
*/
|
|
495
471
|
name? : string
|
|
496
472
|
/**
|
|
497
473
|
* 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)
|
|
474
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-picker)
|
|
500
475
|
*/
|
|
501
476
|
picker? : DateRangePickerConfig|MultiDatePickerConfig
|
|
502
477
|
/**
|
|
@@ -511,8 +486,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
511
486
|
* 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
487
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
513
488
|
* 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)
|
|
489
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-positioned)
|
|
516
490
|
*/
|
|
517
491
|
positioned? : boolean
|
|
518
492
|
/**
|
|
@@ -523,15 +497,13 @@ export type BryntumDateRangeFieldProps = {
|
|
|
523
497
|
/**
|
|
524
498
|
* Makes the field unmodifiable by user action. The input area is not editable, and triggers
|
|
525
499
|
* are unresponsive.
|
|
526
|
-
* ...
|
|
527
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-readOnly)
|
|
500
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-readOnly)
|
|
528
501
|
*/
|
|
529
502
|
readOnly? : boolean
|
|
530
503
|
relayStoreEvents? : boolean
|
|
531
504
|
/**
|
|
532
505
|
* 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)
|
|
506
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-rendition)
|
|
535
507
|
*/
|
|
536
508
|
rendition? : 'outlined'|'filled'|string
|
|
537
509
|
/**
|
|
@@ -550,23 +522,26 @@ export type BryntumDateRangeFieldProps = {
|
|
|
550
522
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
551
523
|
* [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
524
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
553
|
-
* ...
|
|
554
|
-
* [
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
525
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-ripple)
|
|
526
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
527
|
+
* @property {string} [color] A CSS color name or specification.
|
|
528
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
529
|
+
* @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.
|
|
530
|
+
*/
|
|
531
|
+
ripple? : boolean|object
|
|
532
|
+
/**
|
|
533
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
534
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
535
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-role)
|
|
536
|
+
*/
|
|
537
|
+
role? : string
|
|
562
538
|
/**
|
|
563
539
|
* 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
540
|
*/
|
|
565
541
|
rootElement? : ShadowRoot|HTMLElement
|
|
566
542
|
/**
|
|
567
543
|
* 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)
|
|
544
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-rtl)
|
|
570
545
|
*/
|
|
571
546
|
rtl? : boolean
|
|
572
547
|
/**
|
|
@@ -576,8 +551,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
576
551
|
scrollAction? : 'hide'|'realign'|null
|
|
577
552
|
/**
|
|
578
553
|
* *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)
|
|
554
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-showAnimation)
|
|
581
555
|
*/
|
|
582
556
|
showAnimation? : boolean|object
|
|
583
557
|
/**
|
|
@@ -606,8 +580,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
606
580
|
* 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
581
|
* [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
582
|
* this widget:
|
|
609
|
-
* ...
|
|
610
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-tab)
|
|
583
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-tab)
|
|
611
584
|
*/
|
|
612
585
|
tab? : boolean|TabConfig
|
|
613
586
|
/**
|
|
@@ -615,14 +588,12 @@ export type BryntumDateRangeFieldProps = {
|
|
|
615
588
|
* is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable
|
|
616
589
|
* (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set
|
|
617
590
|
* to the element programmatically.
|
|
618
|
-
* ...
|
|
619
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-tabIndex)
|
|
591
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-tabIndex)
|
|
620
592
|
*/
|
|
621
593
|
tabIndex? : number
|
|
622
594
|
/**
|
|
623
595
|
* 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)
|
|
596
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-textAlign)
|
|
626
597
|
*/
|
|
627
598
|
textAlign? : 'left'|'center'|'right'|'start'|'end'
|
|
628
599
|
/**
|
|
@@ -631,24 +602,21 @@ export type BryntumDateRangeFieldProps = {
|
|
|
631
602
|
title? : string
|
|
632
603
|
/**
|
|
633
604
|
* 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)
|
|
605
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-tooltip)
|
|
636
606
|
*/
|
|
637
607
|
tooltip? : string|TooltipConfig|null
|
|
638
608
|
/**
|
|
639
609
|
* The triggers to add either before or after the input field. Each property name is the reference by which
|
|
640
610
|
* 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)
|
|
611
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-triggers)
|
|
643
612
|
*/
|
|
644
|
-
triggers? : Record<string, FieldTriggerConfig
|
|
613
|
+
triggers? : Record<string, FieldTriggerConfig>
|
|
645
614
|
type? : 'daterangefield'
|
|
646
615
|
/**
|
|
647
616
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
648
617
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
649
618
|
* values are used as the class names.
|
|
650
|
-
* ...
|
|
651
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-ui)
|
|
619
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-ui)
|
|
652
620
|
*/
|
|
653
621
|
ui? : string|object
|
|
654
622
|
/**
|
|
@@ -678,14 +646,12 @@ export type BryntumDateRangeFieldProps = {
|
|
|
678
646
|
width? : string|number
|
|
679
647
|
/**
|
|
680
648
|
* The x position for the widget.
|
|
681
|
-
* ...
|
|
682
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-x)
|
|
649
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-x)
|
|
683
650
|
*/
|
|
684
651
|
x? : number
|
|
685
652
|
/**
|
|
686
653
|
* The y position for the widget.
|
|
687
|
-
* ...
|
|
688
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-y)
|
|
654
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-y)
|
|
689
655
|
*/
|
|
690
656
|
y? : number
|
|
691
657
|
|
|
@@ -715,7 +681,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
715
681
|
* @param {object} event Event object
|
|
716
682
|
* @param {Core.widget.Widget} event.source The widget being hidden.
|
|
717
683
|
*/
|
|
718
|
-
onBeforeHide? : ((event: { source: Widget }) =>
|
|
684
|
+
onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
|
|
719
685
|
/**
|
|
720
686
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
721
687
|
* @param {object} event Event object
|
|
@@ -724,8 +690,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
724
690
|
onBeforeShow? : ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string
|
|
725
691
|
/**
|
|
726
692
|
* 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)
|
|
693
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#event-catchAll)
|
|
729
694
|
* @param {object} event Event object
|
|
730
695
|
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
731
696
|
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
@@ -745,8 +710,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
745
710
|
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
711
|
/**
|
|
747
712
|
* 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)
|
|
713
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#event-clear)
|
|
750
714
|
* @param {object} event Event object
|
|
751
715
|
* @param {Core.widget.Field,any} event.source This Field
|
|
752
716
|
*/
|
|
@@ -804,8 +768,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
804
768
|
/**
|
|
805
769
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
806
770
|
* achieves visibility.
|
|
807
|
-
* ...
|
|
808
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#event-paint)
|
|
771
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#event-paint)
|
|
809
772
|
* @param {object} event Event object
|
|
810
773
|
* @param {Core.widget.Widget} event.source The widget being painted.
|
|
811
774
|
* @param {boolean} event.firstPaint `true` if this is the first paint.
|
|
@@ -867,6 +830,7 @@ export class BryntumDateRangeField extends React.Component<BryntumDateRangeField
|
|
|
867
830
|
'autoSelect',
|
|
868
831
|
'bubbleEvents',
|
|
869
832
|
'centered',
|
|
833
|
+
'checkValidity',
|
|
870
834
|
'clearable',
|
|
871
835
|
'color',
|
|
872
836
|
'config',
|
|
@@ -917,6 +881,7 @@ export class BryntumDateRangeField extends React.Component<BryntumDateRangeField
|
|
|
917
881
|
'relayStoreEvents',
|
|
918
882
|
'revertOnEscape',
|
|
919
883
|
'ripple',
|
|
884
|
+
'role',
|
|
920
885
|
'rootElement',
|
|
921
886
|
'scrollAction',
|
|
922
887
|
'showAnimation',
|
|
@@ -1001,9 +966,7 @@ export class BryntumDateRangeField extends React.Component<BryntumDateRangeField
|
|
|
1001
966
|
];
|
|
1002
967
|
|
|
1003
968
|
static propertyNames = [
|
|
1004
|
-
'anchorSize',
|
|
1005
969
|
'content',
|
|
1006
|
-
'focusVisible',
|
|
1007
970
|
'formula',
|
|
1008
971
|
'html',
|
|
1009
972
|
'input',
|