@bryntum/core-react-thin 7.3.2 → 7.3.4
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 +1 -1
- package/lib/BryntumBooleanCombo.js +1 -1
- package/lib/BryntumBooleanCombo.js.map +1 -1
- package/lib/BryntumButton.d.ts +1 -1
- package/lib/BryntumButton.js +1 -1
- package/lib/BryntumButton.js.map +1 -1
- package/lib/BryntumButtonGroup.d.ts +1 -1
- package/lib/BryntumButtonGroup.js +1 -1
- package/lib/BryntumButtonGroup.js.map +1 -1
- package/lib/BryntumChatPanel.d.ts +1 -1
- package/lib/BryntumChatPanel.js +1 -1
- package/lib/BryntumChatPanel.js.map +1 -1
- package/lib/BryntumCheckbox.d.ts +1 -1
- package/lib/BryntumCheckbox.js +1 -1
- package/lib/BryntumCheckbox.js.map +1 -1
- package/lib/BryntumCheckboxGroup.d.ts +1 -1
- package/lib/BryntumCheckboxGroup.js +1 -1
- package/lib/BryntumCheckboxGroup.js.map +1 -1
- package/lib/BryntumChipView.d.ts +1 -1
- package/lib/BryntumChipView.js +1 -1
- package/lib/BryntumChipView.js.map +1 -1
- package/lib/BryntumCodeEditor.d.ts +1 -1
- package/lib/BryntumCodeEditor.js +1 -1
- package/lib/BryntumCodeEditor.js.map +1 -1
- package/lib/BryntumColorField.d.ts +1 -1
- package/lib/BryntumColorField.js +1 -1
- package/lib/BryntumColorField.js.map +1 -1
- package/lib/BryntumCombo.d.ts +1 -1
- package/lib/BryntumCombo.js +1 -1
- package/lib/BryntumCombo.js.map +1 -1
- package/lib/BryntumContainer.d.ts +1 -1
- package/lib/BryntumContainer.js +1 -1
- package/lib/BryntumContainer.js.map +1 -1
- package/lib/BryntumDateField.d.ts +1 -1
- package/lib/BryntumDateField.js +1 -1
- package/lib/BryntumDateField.js.map +1 -1
- package/lib/BryntumDatePicker.d.ts +1 -1
- package/lib/BryntumDatePicker.js +1 -1
- package/lib/BryntumDatePicker.js.map +1 -1
- package/lib/BryntumDateRangeField.d.ts +1 -1
- package/lib/BryntumDateRangeField.js +1 -1
- package/lib/BryntumDateRangeField.js.map +1 -1
- package/lib/BryntumDateTimeField.d.ts +1 -1
- package/lib/BryntumDateTimeField.js +1 -1
- package/lib/BryntumDateTimeField.js.map +1 -1
- package/lib/BryntumDemoCodeEditor.d.ts +1 -1
- package/lib/BryntumDemoCodeEditor.js +1 -1
- package/lib/BryntumDemoCodeEditor.js.map +1 -1
- package/lib/BryntumDisplayField.d.ts +1 -1
- package/lib/BryntumDisplayField.js +1 -1
- package/lib/BryntumDisplayField.js.map +1 -1
- package/lib/BryntumDurationField.d.ts +1 -1
- package/lib/BryntumDurationField.js +1 -1
- package/lib/BryntumDurationField.js.map +1 -1
- package/lib/BryntumEditor.d.ts +1 -1
- package/lib/BryntumEditor.js +1 -1
- package/lib/BryntumEditor.js.map +1 -1
- package/lib/BryntumFieldFilterPicker.d.ts +1 -1
- package/lib/BryntumFieldFilterPicker.js +1 -1
- package/lib/BryntumFieldFilterPicker.js.map +1 -1
- package/lib/BryntumFieldFilterPickerGroup.d.ts +1 -1
- package/lib/BryntumFieldFilterPickerGroup.js +1 -1
- package/lib/BryntumFieldFilterPickerGroup.js.map +1 -1
- package/lib/BryntumFieldSet.d.ts +1 -1
- package/lib/BryntumFieldSet.js +1 -1
- package/lib/BryntumFieldSet.js.map +1 -1
- package/lib/BryntumFileField.d.ts +1 -1
- package/lib/BryntumFileField.js +1 -1
- package/lib/BryntumFileField.js.map +1 -1
- package/lib/BryntumFilePicker.d.ts +1 -1
- package/lib/BryntumFilePicker.js +1 -1
- package/lib/BryntumFilePicker.js.map +1 -1
- package/lib/BryntumFilterField.d.ts +1 -1
- package/lib/BryntumFilterField.js +1 -1
- package/lib/BryntumFilterField.js.map +1 -1
- package/lib/BryntumHint.js +1 -0
- package/lib/BryntumHint.js.map +1 -1
- package/lib/BryntumLabel.d.ts +1 -1
- package/lib/BryntumLabel.js +1 -1
- package/lib/BryntumLabel.js.map +1 -1
- package/lib/BryntumList.d.ts +1 -1
- package/lib/BryntumList.js +1 -1
- package/lib/BryntumList.js.map +1 -1
- package/lib/BryntumMenu.d.ts +1 -1
- package/lib/BryntumMenu.js +1 -1
- package/lib/BryntumMenu.js.map +1 -1
- package/lib/BryntumMonthPicker.d.ts +1 -1
- package/lib/BryntumMonthPicker.js +1 -1
- package/lib/BryntumMonthPicker.js.map +1 -1
- package/lib/BryntumNumberField.d.ts +1 -1
- package/lib/BryntumNumberField.js +1 -1
- package/lib/BryntumNumberField.js.map +1 -1
- package/lib/BryntumPagingToolbar.d.ts +1 -1
- package/lib/BryntumPagingToolbar.js +1 -1
- package/lib/BryntumPagingToolbar.js.map +1 -1
- package/lib/BryntumPanel.d.ts +1 -1
- package/lib/BryntumPanel.js +1 -1
- package/lib/BryntumPanel.js.map +1 -1
- package/lib/BryntumPasswordField.d.ts +1 -1
- package/lib/BryntumPasswordField.js +1 -1
- package/lib/BryntumPasswordField.js.map +1 -1
- package/lib/BryntumProgressBar.d.ts +1 -1
- package/lib/BryntumProgressBar.js +1 -1
- package/lib/BryntumProgressBar.js.map +1 -1
- package/lib/BryntumRadio.d.ts +1 -1
- package/lib/BryntumRadio.js +1 -1
- package/lib/BryntumRadio.js.map +1 -1
- package/lib/BryntumRadioGroup.d.ts +1 -1
- package/lib/BryntumRadioGroup.js +1 -1
- package/lib/BryntumRadioGroup.js.map +1 -1
- package/lib/BryntumSlideToggle.d.ts +1 -1
- package/lib/BryntumSlideToggle.js +1 -1
- package/lib/BryntumSlideToggle.js.map +1 -1
- package/lib/BryntumSlider.d.ts +1 -1
- package/lib/BryntumSlider.js +1 -1
- package/lib/BryntumSlider.js.map +1 -1
- package/lib/BryntumSplitter.d.ts +1 -1
- package/lib/BryntumSplitter.js +1 -1
- package/lib/BryntumSplitter.js.map +1 -1
- package/lib/BryntumTabPanel.d.ts +1 -1
- package/lib/BryntumTabPanel.js +1 -1
- package/lib/BryntumTabPanel.js.map +1 -1
- package/lib/BryntumTextAreaField.d.ts +1 -1
- package/lib/BryntumTextAreaField.js +1 -1
- package/lib/BryntumTextAreaField.js.map +1 -1
- package/lib/BryntumTextAreaPickerField.d.ts +1 -1
- package/lib/BryntumTextAreaPickerField.js +1 -1
- package/lib/BryntumTextAreaPickerField.js.map +1 -1
- package/lib/BryntumTextField.d.ts +1 -1
- package/lib/BryntumTextField.js +1 -1
- package/lib/BryntumTextField.js.map +1 -1
- package/lib/BryntumTimeField.d.ts +1 -1
- package/lib/BryntumTimeField.js +1 -1
- package/lib/BryntumTimeField.js.map +1 -1
- package/lib/BryntumTimePicker.d.ts +1 -1
- package/lib/BryntumTimePicker.js +1 -1
- package/lib/BryntumTimePicker.js.map +1 -1
- package/lib/BryntumToolbar.d.ts +1 -1
- package/lib/BryntumToolbar.js +1 -1
- package/lib/BryntumToolbar.js.map +1 -1
- package/lib/BryntumWidget.d.ts +1 -1
- package/lib/BryntumWidget.js +1 -1
- package/lib/BryntumWidget.js.map +1 -1
- package/lib/BryntumYearPicker.d.ts +1 -1
- package/lib/BryntumYearPicker.js +1 -1
- package/lib/BryntumYearPicker.js.map +1 -1
- package/lib/WrapperHelper.js +30 -10
- package/lib/WrapperHelper.js.map +1 -1
- package/license.pdf +0 -0
- package/package.json +1 -1
- package/src/BryntumBooleanCombo.tsx +7 -5
- package/src/BryntumButton.tsx +6 -5
- package/src/BryntumButtonGroup.tsx +7 -6
- package/src/BryntumChatPanel.tsx +7 -6
- package/src/BryntumCheckbox.tsx +6 -5
- package/src/BryntumCheckboxGroup.tsx +7 -6
- package/src/BryntumChipView.tsx +6 -5
- package/src/BryntumCodeEditor.tsx +7 -6
- package/src/BryntumColorField.tsx +7 -5
- package/src/BryntumCombo.tsx +7 -5
- package/src/BryntumContainer.tsx +7 -6
- package/src/BryntumDateField.tsx +7 -5
- package/src/BryntumDatePicker.tsx +7 -6
- package/src/BryntumDateRangeField.tsx +7 -5
- package/src/BryntumDateTimeField.tsx +7 -5
- package/src/BryntumDemoCodeEditor.tsx +7 -6
- package/src/BryntumDisplayField.tsx +7 -5
- package/src/BryntumDurationField.tsx +7 -5
- package/src/BryntumEditor.tsx +7 -6
- package/src/BryntumFieldFilterPicker.tsx +7 -6
- package/src/BryntumFieldFilterPickerGroup.tsx +7 -6
- package/src/BryntumFieldSet.tsx +7 -6
- package/src/BryntumFileField.tsx +7 -5
- package/src/BryntumFilePicker.tsx +7 -6
- package/src/BryntumFilterField.tsx +7 -5
- package/src/BryntumHint.tsx +3 -2
- package/src/BryntumLabel.tsx +6 -5
- package/src/BryntumList.tsx +6 -5
- package/src/BryntumMenu.tsx +6 -5
- package/src/BryntumMonthPicker.tsx +7 -6
- package/src/BryntumNumberField.tsx +7 -5
- package/src/BryntumPagingToolbar.tsx +7 -6
- package/src/BryntumPanel.tsx +7 -6
- package/src/BryntumPasswordField.tsx +7 -5
- package/src/BryntumProgressBar.tsx +6 -5
- package/src/BryntumRadio.tsx +6 -5
- package/src/BryntumRadioGroup.tsx +7 -6
- package/src/BryntumSlideToggle.tsx +6 -5
- package/src/BryntumSlider.tsx +6 -5
- package/src/BryntumSplitter.tsx +6 -5
- package/src/BryntumTabPanel.tsx +7 -6
- package/src/BryntumTextAreaField.tsx +7 -5
- package/src/BryntumTextAreaPickerField.tsx +7 -5
- package/src/BryntumTextField.tsx +7 -5
- package/src/BryntumTimeField.tsx +7 -5
- package/src/BryntumTimePicker.tsx +7 -6
- package/src/BryntumToolbar.tsx +7 -6
- package/src/BryntumWidget.tsx +6 -5
- package/src/BryntumYearPicker.tsx +7 -6
- package/src/WrapperHelper.tsx +72 -21
package/src/BryntumCheckbox.tsx
CHANGED
|
@@ -89,9 +89,10 @@ export type BryntumCheckboxProps = {
|
|
|
89
89
|
catchEventHandlerExceptions? : boolean
|
|
90
90
|
/**
|
|
91
91
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
92
|
-
*
|
|
92
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Checkbox#config-centered)
|
|
93
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
93
94
|
*/
|
|
94
|
-
centered? : boolean
|
|
95
|
+
centered? : boolean|object
|
|
95
96
|
/**
|
|
96
97
|
* The checked state. The same as `value`.
|
|
97
98
|
*/
|
|
@@ -190,7 +191,7 @@ export type BryntumCheckboxProps = {
|
|
|
190
191
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
191
192
|
/**
|
|
192
193
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
193
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
194
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
194
195
|
* property which controls when a drag should start.
|
|
195
196
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Checkbox#config-draggable)
|
|
196
197
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -487,7 +488,7 @@ export type BryntumCheckboxProps = {
|
|
|
487
488
|
rtl? : boolean
|
|
488
489
|
/**
|
|
489
490
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
490
|
-
* Valid values:
|
|
491
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
491
492
|
*/
|
|
492
493
|
scrollAction? : 'hide'|'realign'|null
|
|
493
494
|
/**
|
|
@@ -792,7 +793,6 @@ export class BryntumCheckbox extends React.Component<BryntumCheckboxProps> {
|
|
|
792
793
|
'autoComplete',
|
|
793
794
|
'autoSelect',
|
|
794
795
|
'bubbleEvents',
|
|
795
|
-
'centered',
|
|
796
796
|
'checkedValue',
|
|
797
797
|
'checkValidity',
|
|
798
798
|
'color',
|
|
@@ -861,6 +861,7 @@ export class BryntumCheckbox extends React.Component<BryntumCheckboxProps> {
|
|
|
861
861
|
'badge',
|
|
862
862
|
'callOnFunctions',
|
|
863
863
|
'catchEventHandlerExceptions',
|
|
864
|
+
'centered',
|
|
864
865
|
'checked',
|
|
865
866
|
'cls',
|
|
866
867
|
'column',
|
|
@@ -88,9 +88,10 @@ export type BryntumCheckboxGroupProps = {
|
|
|
88
88
|
catchEventHandlerExceptions? : boolean
|
|
89
89
|
/**
|
|
90
90
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
91
|
-
*
|
|
91
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/CheckboxGroup#config-centered)
|
|
92
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
92
93
|
*/
|
|
93
|
-
centered? : boolean
|
|
94
|
+
centered? : boolean|object
|
|
94
95
|
/**
|
|
95
96
|
* Custom CSS classes to add to element.
|
|
96
97
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -186,7 +187,7 @@ export type BryntumCheckboxGroupProps = {
|
|
|
186
187
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
187
188
|
/**
|
|
188
189
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
189
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
190
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
190
191
|
* property which controls when a drag should start.
|
|
191
192
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/CheckboxGroup#config-draggable)
|
|
192
193
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -340,7 +341,7 @@ export type BryntumCheckboxGroupProps = {
|
|
|
340
341
|
*/
|
|
341
342
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
342
343
|
/**
|
|
343
|
-
* Sets `labelWidth
|
|
344
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
344
345
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/CheckboxGroup#config-labelWidth)
|
|
345
346
|
*/
|
|
346
347
|
labelWidth? : number|null
|
|
@@ -533,7 +534,7 @@ export type BryntumCheckboxGroupProps = {
|
|
|
533
534
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
534
535
|
/**
|
|
535
536
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
536
|
-
* Valid values:
|
|
537
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
537
538
|
*/
|
|
538
539
|
scrollAction? : 'hide'|'realign'|null
|
|
539
540
|
/**
|
|
@@ -867,7 +868,6 @@ export class BryntumCheckboxGroup extends React.Component<BryntumCheckboxGroupPr
|
|
|
867
868
|
'bodyCls',
|
|
868
869
|
'border',
|
|
869
870
|
'bubbleEvents',
|
|
870
|
-
'centered',
|
|
871
871
|
'collapsible',
|
|
872
872
|
'color',
|
|
873
873
|
'config',
|
|
@@ -934,6 +934,7 @@ export class BryntumCheckboxGroup extends React.Component<BryntumCheckboxGroupPr
|
|
|
934
934
|
'appendTo',
|
|
935
935
|
'callOnFunctions',
|
|
936
936
|
'catchEventHandlerExceptions',
|
|
937
|
+
'centered',
|
|
937
938
|
'cls',
|
|
938
939
|
'collapsed',
|
|
939
940
|
'column',
|
package/src/BryntumChipView.tsx
CHANGED
|
@@ -79,9 +79,10 @@ export type BryntumChipViewProps = {
|
|
|
79
79
|
catchEventHandlerExceptions? : boolean
|
|
80
80
|
/**
|
|
81
81
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
82
|
-
*
|
|
82
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-centered)
|
|
83
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
83
84
|
*/
|
|
84
|
-
centered? : boolean
|
|
85
|
+
centered? : boolean|object
|
|
85
86
|
/**
|
|
86
87
|
* Configure as `true` to clear selection when clicking on empty space inside the List´s element.
|
|
87
88
|
*/
|
|
@@ -181,7 +182,7 @@ export type BryntumChipViewProps = {
|
|
|
181
182
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
182
183
|
/**
|
|
183
184
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
184
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
185
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
185
186
|
* property which controls when a drag should start.
|
|
186
187
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView#config-draggable)
|
|
187
188
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -444,7 +445,7 @@ export type BryntumChipViewProps = {
|
|
|
444
445
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
445
446
|
/**
|
|
446
447
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
447
|
-
* Valid values:
|
|
448
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
448
449
|
*/
|
|
449
450
|
scrollAction? : 'hide'|'realign'|null
|
|
450
451
|
/**
|
|
@@ -717,7 +718,6 @@ export class BryntumChipView extends React.Component<BryntumChipViewProps> {
|
|
|
717
718
|
'ariaDescription',
|
|
718
719
|
'ariaLabel',
|
|
719
720
|
'bubbleEvents',
|
|
720
|
-
'centered',
|
|
721
721
|
'closable',
|
|
722
722
|
'closeHandler',
|
|
723
723
|
'color',
|
|
@@ -774,6 +774,7 @@ export class BryntumChipView extends React.Component<BryntumChipViewProps> {
|
|
|
774
774
|
'appendTo',
|
|
775
775
|
'callOnFunctions',
|
|
776
776
|
'catchEventHandlerExceptions',
|
|
777
|
+
'centered',
|
|
777
778
|
'clearSelectionOnEmptySpaceClick',
|
|
778
779
|
'cls',
|
|
779
780
|
'collapsibleGroups',
|
|
@@ -88,9 +88,10 @@ export type BryntumCodeEditorProps = {
|
|
|
88
88
|
catchEventHandlerExceptions? : boolean
|
|
89
89
|
/**
|
|
90
90
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
91
|
-
*
|
|
91
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/CodeEditor#config-centered)
|
|
92
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
92
93
|
*/
|
|
93
|
-
centered? : boolean
|
|
94
|
+
centered? : boolean|object
|
|
94
95
|
/**
|
|
95
96
|
* Custom CSS classes to add to element.
|
|
96
97
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -191,7 +192,7 @@ export type BryntumCodeEditorProps = {
|
|
|
191
192
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
192
193
|
/**
|
|
193
194
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
194
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
195
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
195
196
|
* property which controls when a drag should start.
|
|
196
197
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/CodeEditor#config-draggable)
|
|
197
198
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -335,7 +336,7 @@ export type BryntumCodeEditorProps = {
|
|
|
335
336
|
*/
|
|
336
337
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
337
338
|
/**
|
|
338
|
-
* Sets `labelWidth
|
|
339
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
339
340
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/CodeEditor#config-labelWidth)
|
|
340
341
|
*/
|
|
341
342
|
labelWidth? : number|null
|
|
@@ -504,7 +505,7 @@ export type BryntumCodeEditorProps = {
|
|
|
504
505
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
505
506
|
/**
|
|
506
507
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
507
|
-
* Valid values:
|
|
508
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
508
509
|
*/
|
|
509
510
|
scrollAction? : 'hide'|'realign'|null
|
|
510
511
|
/**
|
|
@@ -830,7 +831,6 @@ export class BryntumCodeEditor extends React.Component<BryntumCodeEditorProps> {
|
|
|
830
831
|
'bodyCls',
|
|
831
832
|
'border',
|
|
832
833
|
'bubbleEvents',
|
|
833
|
-
'centered',
|
|
834
834
|
'codePath',
|
|
835
835
|
'collapsible',
|
|
836
836
|
'color',
|
|
@@ -896,6 +896,7 @@ export class BryntumCodeEditor extends React.Component<BryntumCodeEditorProps> {
|
|
|
896
896
|
'appendTo',
|
|
897
897
|
'callOnFunctions',
|
|
898
898
|
'catchEventHandlerExceptions',
|
|
899
|
+
'centered',
|
|
899
900
|
'cls',
|
|
900
901
|
'collapsed',
|
|
901
902
|
'column',
|
|
@@ -90,9 +90,10 @@ export type BryntumColorFieldProps = {
|
|
|
90
90
|
catchEventHandlerExceptions? : boolean
|
|
91
91
|
/**
|
|
92
92
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
93
|
-
*
|
|
93
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ColorField#config-centered)
|
|
94
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
94
95
|
*/
|
|
95
|
-
centered? : boolean
|
|
96
|
+
centered? : boolean|object
|
|
96
97
|
/**
|
|
97
98
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
98
99
|
* 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)
|
|
@@ -106,6 +107,7 @@ export type BryntumColorFieldProps = {
|
|
|
106
107
|
* 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
|
|
107
108
|
* 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
|
|
108
109
|
* configures the `clear` [trigger](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers).
|
|
110
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ColorField#config-clearable)
|
|
109
111
|
*/
|
|
110
112
|
clearable? : boolean|FieldTriggerConfig
|
|
111
113
|
/**
|
|
@@ -190,7 +192,7 @@ export type BryntumColorFieldProps = {
|
|
|
190
192
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
191
193
|
/**
|
|
192
194
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
193
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
195
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
194
196
|
* property which controls when a drag should start.
|
|
195
197
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ColorField#config-draggable)
|
|
196
198
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -508,7 +510,7 @@ export type BryntumColorFieldProps = {
|
|
|
508
510
|
rtl? : boolean
|
|
509
511
|
/**
|
|
510
512
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
511
|
-
* Valid values:
|
|
513
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
512
514
|
*/
|
|
513
515
|
scrollAction? : 'hide'|'realign'|null
|
|
514
516
|
/**
|
|
@@ -786,7 +788,6 @@ export class BryntumColorField extends React.Component<BryntumColorFieldProps> {
|
|
|
786
788
|
'autoExpand',
|
|
787
789
|
'autoSelect',
|
|
788
790
|
'bubbleEvents',
|
|
789
|
-
'centered',
|
|
790
791
|
'checkValidity',
|
|
791
792
|
'clearable',
|
|
792
793
|
'config',
|
|
@@ -857,6 +858,7 @@ export class BryntumColorField extends React.Component<BryntumColorFieldProps> {
|
|
|
857
858
|
'badge',
|
|
858
859
|
'callOnFunctions',
|
|
859
860
|
'catchEventHandlerExceptions',
|
|
861
|
+
'centered',
|
|
860
862
|
'cls',
|
|
861
863
|
'colors',
|
|
862
864
|
'column',
|
package/src/BryntumCombo.tsx
CHANGED
|
@@ -95,9 +95,10 @@ export type BryntumComboProps = {
|
|
|
95
95
|
catchEventHandlerExceptions? : boolean
|
|
96
96
|
/**
|
|
97
97
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
98
|
-
*
|
|
98
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-centered)
|
|
99
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
99
100
|
*/
|
|
100
|
-
centered? : boolean
|
|
101
|
+
centered? : boolean|object
|
|
101
102
|
/**
|
|
102
103
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
103
104
|
* 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)
|
|
@@ -117,6 +118,7 @@ export type BryntumComboProps = {
|
|
|
117
118
|
* 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
|
|
118
119
|
* 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
|
|
119
120
|
* configures the `clear` [trigger](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers).
|
|
121
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-clearable)
|
|
120
122
|
*/
|
|
121
123
|
clearable? : boolean|FieldTriggerConfig
|
|
122
124
|
/**
|
|
@@ -233,7 +235,7 @@ export type BryntumComboProps = {
|
|
|
233
235
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
234
236
|
/**
|
|
235
237
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
236
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
238
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
237
239
|
* property which controls when a drag should start.
|
|
238
240
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-draggable)
|
|
239
241
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -668,7 +670,7 @@ export type BryntumComboProps = {
|
|
|
668
670
|
rtl? : boolean
|
|
669
671
|
/**
|
|
670
672
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
671
|
-
* Valid values:
|
|
673
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
672
674
|
*/
|
|
673
675
|
scrollAction? : 'hide'|'realign'|null
|
|
674
676
|
/**
|
|
@@ -974,7 +976,6 @@ export class BryntumCombo extends React.Component<BryntumComboProps> {
|
|
|
974
976
|
'bubbleEvents',
|
|
975
977
|
'cacheLastResult',
|
|
976
978
|
'caseSensitive',
|
|
977
|
-
'centered',
|
|
978
979
|
'checkValidity',
|
|
979
980
|
'chipView',
|
|
980
981
|
'clearable',
|
|
@@ -1072,6 +1073,7 @@ export class BryntumCombo extends React.Component<BryntumComboProps> {
|
|
|
1072
1073
|
'badge',
|
|
1073
1074
|
'callOnFunctions',
|
|
1074
1075
|
'catchEventHandlerExceptions',
|
|
1076
|
+
'centered',
|
|
1075
1077
|
'cls',
|
|
1076
1078
|
'column',
|
|
1077
1079
|
'dataset',
|
package/src/BryntumContainer.tsx
CHANGED
|
@@ -77,9 +77,10 @@ export type BryntumContainerProps = {
|
|
|
77
77
|
catchEventHandlerExceptions? : boolean
|
|
78
78
|
/**
|
|
79
79
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
80
|
-
*
|
|
80
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-centered)
|
|
81
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
81
82
|
*/
|
|
82
|
-
centered? : boolean
|
|
83
|
+
centered? : boolean|object
|
|
83
84
|
/**
|
|
84
85
|
* Custom CSS classes to add to element.
|
|
85
86
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -165,7 +166,7 @@ export type BryntumContainerProps = {
|
|
|
165
166
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
166
167
|
/**
|
|
167
168
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
168
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
169
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
169
170
|
* property which controls when a drag should start.
|
|
170
171
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-draggable)
|
|
171
172
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -273,7 +274,7 @@ export type BryntumContainerProps = {
|
|
|
273
274
|
*/
|
|
274
275
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
275
276
|
/**
|
|
276
|
-
* Sets `labelWidth
|
|
277
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
277
278
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Container#config-labelWidth)
|
|
278
279
|
*/
|
|
279
280
|
labelWidth? : number|null
|
|
@@ -439,7 +440,7 @@ export type BryntumContainerProps = {
|
|
|
439
440
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
440
441
|
/**
|
|
441
442
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
442
|
-
* Valid values:
|
|
443
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
443
444
|
*/
|
|
444
445
|
scrollAction? : 'hide'|'realign'|null
|
|
445
446
|
/**
|
|
@@ -667,7 +668,6 @@ export class BryntumContainer extends React.Component<BryntumContainerProps> {
|
|
|
667
668
|
'autoUpdateRecord',
|
|
668
669
|
'border',
|
|
669
670
|
'bubbleEvents',
|
|
670
|
-
'centered',
|
|
671
671
|
'color',
|
|
672
672
|
'config',
|
|
673
673
|
'constrainTo',
|
|
@@ -720,6 +720,7 @@ export class BryntumContainer extends React.Component<BryntumContainerProps> {
|
|
|
720
720
|
'appendTo',
|
|
721
721
|
'callOnFunctions',
|
|
722
722
|
'catchEventHandlerExceptions',
|
|
723
|
+
'centered',
|
|
723
724
|
'cls',
|
|
724
725
|
'column',
|
|
725
726
|
'content',
|
package/src/BryntumDateField.tsx
CHANGED
|
@@ -86,9 +86,10 @@ export type BryntumDateFieldProps = {
|
|
|
86
86
|
catchEventHandlerExceptions? : boolean
|
|
87
87
|
/**
|
|
88
88
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
89
|
-
*
|
|
89
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-centered)
|
|
90
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
90
91
|
*/
|
|
91
|
-
centered? : boolean
|
|
92
|
+
centered? : boolean|object
|
|
92
93
|
/**
|
|
93
94
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
94
95
|
* 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)
|
|
@@ -102,6 +103,7 @@ export type BryntumDateFieldProps = {
|
|
|
102
103
|
* 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
|
|
103
104
|
* 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
105
|
* configures the `clear` [trigger](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers).
|
|
106
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-clearable)
|
|
105
107
|
*/
|
|
106
108
|
clearable? : boolean|FieldTriggerConfig
|
|
107
109
|
/**
|
|
@@ -185,7 +187,7 @@ export type BryntumDateFieldProps = {
|
|
|
185
187
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
186
188
|
/**
|
|
187
189
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
188
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
190
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
189
191
|
* property which controls when a drag should start.
|
|
190
192
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-draggable)
|
|
191
193
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -541,7 +543,7 @@ export type BryntumDateFieldProps = {
|
|
|
541
543
|
rtl? : boolean
|
|
542
544
|
/**
|
|
543
545
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
544
|
-
* Valid values:
|
|
546
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
545
547
|
*/
|
|
546
548
|
scrollAction? : 'hide'|'realign'|null
|
|
547
549
|
/**
|
|
@@ -847,7 +849,6 @@ export class BryntumDateField extends React.Component<BryntumDateFieldProps> {
|
|
|
847
849
|
'autoExpand',
|
|
848
850
|
'autoSelect',
|
|
849
851
|
'bubbleEvents',
|
|
850
|
-
'centered',
|
|
851
852
|
'checkValidity',
|
|
852
853
|
'clearable',
|
|
853
854
|
'color',
|
|
@@ -924,6 +925,7 @@ export class BryntumDateField extends React.Component<BryntumDateFieldProps> {
|
|
|
924
925
|
'badge',
|
|
925
926
|
'callOnFunctions',
|
|
926
927
|
'catchEventHandlerExceptions',
|
|
928
|
+
'centered',
|
|
927
929
|
'cls',
|
|
928
930
|
'column',
|
|
929
931
|
'dataset',
|
|
@@ -119,9 +119,10 @@ export type BryntumDatePickerProps = {
|
|
|
119
119
|
cellRenderer? : ((renderData: { cell: HTMLElement, innerCell: HTMLElement, cellPayload: HTMLElement, date: Date, day: number, rowIndex: number[], row: HTMLElement, source: CalendarPanel, cellIndex: number[], columnIndex: number[], visibleColumnIndex: number[] }) => string|DomConfig|void)|string
|
|
120
120
|
/**
|
|
121
121
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
122
|
-
*
|
|
122
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-centered)
|
|
123
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
123
124
|
*/
|
|
124
|
-
centered? : boolean
|
|
125
|
+
centered? : boolean|object
|
|
125
126
|
/**
|
|
126
127
|
* Custom CSS classes to add to element.
|
|
127
128
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -251,7 +252,7 @@ export type BryntumDatePickerProps = {
|
|
|
251
252
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
252
253
|
/**
|
|
253
254
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
254
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
255
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
255
256
|
* property which controls when a drag should start.
|
|
256
257
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-draggable)
|
|
257
258
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -429,7 +430,7 @@ export type BryntumDatePickerProps = {
|
|
|
429
430
|
*/
|
|
430
431
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
431
432
|
/**
|
|
432
|
-
* Sets `labelWidth
|
|
433
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
433
434
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-labelWidth)
|
|
434
435
|
*/
|
|
435
436
|
labelWidth? : number|null
|
|
@@ -644,7 +645,7 @@ export type BryntumDatePickerProps = {
|
|
|
644
645
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
645
646
|
/**
|
|
646
647
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
647
|
-
* Valid values:
|
|
648
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
648
649
|
*/
|
|
649
650
|
scrollAction? : 'hide'|'realign'|null
|
|
650
651
|
/**
|
|
@@ -1057,7 +1058,6 @@ export class BryntumDatePicker extends React.Component<BryntumDatePickerProps> {
|
|
|
1057
1058
|
'border',
|
|
1058
1059
|
'bubbleEvents',
|
|
1059
1060
|
'cellRenderer',
|
|
1060
|
-
'centered',
|
|
1061
1061
|
'collapsible',
|
|
1062
1062
|
'color',
|
|
1063
1063
|
'config',
|
|
@@ -1149,6 +1149,7 @@ export class BryntumDatePicker extends React.Component<BryntumDatePickerProps> {
|
|
|
1149
1149
|
'appendTo',
|
|
1150
1150
|
'callOnFunctions',
|
|
1151
1151
|
'catchEventHandlerExceptions',
|
|
1152
|
+
'centered',
|
|
1152
1153
|
'cls',
|
|
1153
1154
|
'collapsed',
|
|
1154
1155
|
'column',
|
|
@@ -86,9 +86,10 @@ export type BryntumDateRangeFieldProps = {
|
|
|
86
86
|
catchEventHandlerExceptions? : boolean
|
|
87
87
|
/**
|
|
88
88
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
89
|
-
*
|
|
89
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-centered)
|
|
90
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
90
91
|
*/
|
|
91
|
-
centered? : boolean
|
|
92
|
+
centered? : boolean|object
|
|
92
93
|
/**
|
|
93
94
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
94
95
|
* 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)
|
|
@@ -102,6 +103,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
102
103
|
* 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
|
|
103
104
|
* 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
105
|
* configures the `clear` [trigger](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers).
|
|
106
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-clearable)
|
|
105
107
|
*/
|
|
106
108
|
clearable? : boolean|FieldTriggerConfig
|
|
107
109
|
/**
|
|
@@ -199,7 +201,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
199
201
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
200
202
|
/**
|
|
201
203
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
202
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
204
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
203
205
|
* property which controls when a drag should start.
|
|
204
206
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-draggable)
|
|
205
207
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -552,7 +554,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
552
554
|
rtl? : boolean
|
|
553
555
|
/**
|
|
554
556
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
555
|
-
* Valid values:
|
|
557
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
556
558
|
*/
|
|
557
559
|
scrollAction? : 'hide'|'realign'|null
|
|
558
560
|
/**
|
|
@@ -835,7 +837,6 @@ export class BryntumDateRangeField extends React.Component<BryntumDateRangeField
|
|
|
835
837
|
'autoExpand',
|
|
836
838
|
'autoSelect',
|
|
837
839
|
'bubbleEvents',
|
|
838
|
-
'centered',
|
|
839
840
|
'checkValidity',
|
|
840
841
|
'clearable',
|
|
841
842
|
'color',
|
|
@@ -911,6 +912,7 @@ export class BryntumDateRangeField extends React.Component<BryntumDateRangeField
|
|
|
911
912
|
'badge',
|
|
912
913
|
'callOnFunctions',
|
|
913
914
|
'catchEventHandlerExceptions',
|
|
915
|
+
'centered',
|
|
914
916
|
'cls',
|
|
915
917
|
'column',
|
|
916
918
|
'confirmable',
|
|
@@ -77,9 +77,10 @@ export type BryntumDateTimeFieldProps = {
|
|
|
77
77
|
catchEventHandlerExceptions? : boolean
|
|
78
78
|
/**
|
|
79
79
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
80
|
-
*
|
|
80
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-centered)
|
|
81
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
81
82
|
*/
|
|
82
|
-
centered? : boolean
|
|
83
|
+
centered? : boolean|object
|
|
83
84
|
/**
|
|
84
85
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
85
86
|
* 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,6 +94,7 @@ export type BryntumDateTimeFieldProps = {
|
|
|
93
94
|
* 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
|
|
94
95
|
* 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
|
|
95
96
|
* configures the `clear` [trigger](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers).
|
|
97
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-clearable)
|
|
96
98
|
*/
|
|
97
99
|
clearable? : boolean|FieldTriggerConfig
|
|
98
100
|
/**
|
|
@@ -180,7 +182,7 @@ export type BryntumDateTimeFieldProps = {
|
|
|
180
182
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
181
183
|
/**
|
|
182
184
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
183
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
185
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
184
186
|
* property which controls when a drag should start.
|
|
185
187
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-draggable)
|
|
186
188
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -475,7 +477,7 @@ export type BryntumDateTimeFieldProps = {
|
|
|
475
477
|
rtl? : boolean
|
|
476
478
|
/**
|
|
477
479
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
478
|
-
* Valid values:
|
|
480
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
479
481
|
*/
|
|
480
482
|
scrollAction? : 'hide'|'realign'|null
|
|
481
483
|
/**
|
|
@@ -742,7 +744,6 @@ export class BryntumDateTimeField extends React.Component<BryntumDateTimeFieldPr
|
|
|
742
744
|
'ariaLabel',
|
|
743
745
|
'autoSelect',
|
|
744
746
|
'bubbleEvents',
|
|
745
|
-
'centered',
|
|
746
747
|
'checkValidity',
|
|
747
748
|
'clearable',
|
|
748
749
|
'color',
|
|
@@ -806,6 +807,7 @@ export class BryntumDateTimeField extends React.Component<BryntumDateTimeFieldPr
|
|
|
806
807
|
'badge',
|
|
807
808
|
'callOnFunctions',
|
|
808
809
|
'catchEventHandlerExceptions',
|
|
810
|
+
'centered',
|
|
809
811
|
'cls',
|
|
810
812
|
'column',
|
|
811
813
|
'dataset',
|