@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
|
@@ -92,9 +92,10 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
92
92
|
catchEventHandlerExceptions? : boolean
|
|
93
93
|
/**
|
|
94
94
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
95
|
-
*
|
|
95
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-centered)
|
|
96
|
+
* @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.
|
|
96
97
|
*/
|
|
97
|
-
centered? : boolean
|
|
98
|
+
centered? : boolean|object
|
|
98
99
|
/**
|
|
99
100
|
* Custom CSS classes to add to element.
|
|
100
101
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -195,7 +196,7 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
195
196
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
196
197
|
/**
|
|
197
198
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
198
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
199
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
199
200
|
* property which controls when a drag should start.
|
|
200
201
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-draggable)
|
|
201
202
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -339,7 +340,7 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
339
340
|
*/
|
|
340
341
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
341
342
|
/**
|
|
342
|
-
* Sets `labelWidth
|
|
343
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
343
344
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-labelWidth)
|
|
344
345
|
*/
|
|
345
346
|
labelWidth? : number|null
|
|
@@ -517,7 +518,7 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
517
518
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
518
519
|
/**
|
|
519
520
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
520
|
-
* Valid values:
|
|
521
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
521
522
|
*/
|
|
522
523
|
scrollAction? : 'hide'|'realign'|null
|
|
523
524
|
/**
|
|
@@ -844,7 +845,6 @@ export class BryntumDemoCodeEditor extends React.Component<BryntumDemoCodeEditor
|
|
|
844
845
|
'bodyCls',
|
|
845
846
|
'border',
|
|
846
847
|
'bubbleEvents',
|
|
847
|
-
'centered',
|
|
848
848
|
'codePath',
|
|
849
849
|
'collapsible',
|
|
850
850
|
'color',
|
|
@@ -912,6 +912,7 @@ export class BryntumDemoCodeEditor extends React.Component<BryntumDemoCodeEditor
|
|
|
912
912
|
'appendTo',
|
|
913
913
|
'callOnFunctions',
|
|
914
914
|
'catchEventHandlerExceptions',
|
|
915
|
+
'centered',
|
|
915
916
|
'cls',
|
|
916
917
|
'collapsed',
|
|
917
918
|
'column',
|
|
@@ -82,9 +82,10 @@ export type BryntumDisplayFieldProps = {
|
|
|
82
82
|
catchEventHandlerExceptions? : boolean
|
|
83
83
|
/**
|
|
84
84
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
85
|
-
*
|
|
85
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DisplayField#config-centered)
|
|
86
|
+
* @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.
|
|
86
87
|
*/
|
|
87
|
-
centered? : boolean
|
|
88
|
+
centered? : boolean|object
|
|
88
89
|
/**
|
|
89
90
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
90
91
|
* 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)
|
|
@@ -98,6 +99,7 @@ export type BryntumDisplayFieldProps = {
|
|
|
98
99
|
* 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
100
|
* 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
|
|
100
101
|
* configures the `clear` [trigger](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers).
|
|
102
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DisplayField#config-clearable)
|
|
101
103
|
*/
|
|
102
104
|
clearable? : boolean|FieldTriggerConfig
|
|
103
105
|
/**
|
|
@@ -181,7 +183,7 @@ export type BryntumDisplayFieldProps = {
|
|
|
181
183
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
182
184
|
/**
|
|
183
185
|
* *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
|
|
186
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
185
187
|
* property which controls when a drag should start.
|
|
186
188
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DisplayField#config-draggable)
|
|
187
189
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -489,7 +491,7 @@ export type BryntumDisplayFieldProps = {
|
|
|
489
491
|
rtl? : boolean
|
|
490
492
|
/**
|
|
491
493
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
492
|
-
* Valid values:
|
|
494
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
493
495
|
*/
|
|
494
496
|
scrollAction? : 'hide'|'realign'|null
|
|
495
497
|
/**
|
|
@@ -774,7 +776,6 @@ export class BryntumDisplayField extends React.Component<BryntumDisplayFieldProp
|
|
|
774
776
|
'autoComplete',
|
|
775
777
|
'autoSelect',
|
|
776
778
|
'bubbleEvents',
|
|
777
|
-
'centered',
|
|
778
779
|
'checkValidity',
|
|
779
780
|
'clearable',
|
|
780
781
|
'color',
|
|
@@ -843,6 +844,7 @@ export class BryntumDisplayField extends React.Component<BryntumDisplayFieldProp
|
|
|
843
844
|
'badge',
|
|
844
845
|
'callOnFunctions',
|
|
845
846
|
'catchEventHandlerExceptions',
|
|
847
|
+
'centered',
|
|
846
848
|
'cls',
|
|
847
849
|
'column',
|
|
848
850
|
'dataset',
|
|
@@ -91,9 +91,10 @@ export type BryntumDurationFieldProps = {
|
|
|
91
91
|
catchEventHandlerExceptions? : boolean
|
|
92
92
|
/**
|
|
93
93
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
94
|
-
*
|
|
94
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DurationField#config-centered)
|
|
95
|
+
* @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.
|
|
95
96
|
*/
|
|
96
|
-
centered? : boolean
|
|
97
|
+
centered? : boolean|object
|
|
97
98
|
/**
|
|
98
99
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
99
100
|
* 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)
|
|
@@ -107,6 +108,7 @@ export type BryntumDurationFieldProps = {
|
|
|
107
108
|
* 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
|
|
108
109
|
* 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
|
|
109
110
|
* configures the `clear` [trigger](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers).
|
|
111
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DurationField#config-clearable)
|
|
110
112
|
*/
|
|
111
113
|
clearable? : boolean|FieldTriggerConfig
|
|
112
114
|
/**
|
|
@@ -194,7 +196,7 @@ export type BryntumDurationFieldProps = {
|
|
|
194
196
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
195
197
|
/**
|
|
196
198
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
197
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
199
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
198
200
|
* property which controls when a drag should start.
|
|
199
201
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DurationField#config-draggable)
|
|
200
202
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -528,7 +530,7 @@ export type BryntumDurationFieldProps = {
|
|
|
528
530
|
rtl? : boolean
|
|
529
531
|
/**
|
|
530
532
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
531
|
-
* Valid values:
|
|
533
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
532
534
|
*/
|
|
533
535
|
scrollAction? : 'hide'|'realign'|null
|
|
534
536
|
/**
|
|
@@ -822,7 +824,6 @@ export class BryntumDurationField extends React.Component<BryntumDurationFieldPr
|
|
|
822
824
|
'autoComplete',
|
|
823
825
|
'autoSelect',
|
|
824
826
|
'bubbleEvents',
|
|
825
|
-
'centered',
|
|
826
827
|
'checkValidity',
|
|
827
828
|
'clearable',
|
|
828
829
|
'color',
|
|
@@ -896,6 +897,7 @@ export class BryntumDurationField extends React.Component<BryntumDurationFieldPr
|
|
|
896
897
|
'badge',
|
|
897
898
|
'callOnFunctions',
|
|
898
899
|
'catchEventHandlerExceptions',
|
|
900
|
+
'centered',
|
|
899
901
|
'cls',
|
|
900
902
|
'column',
|
|
901
903
|
'dataset',
|
package/src/BryntumEditor.tsx
CHANGED
|
@@ -91,9 +91,10 @@ export type BryntumEditorProps = {
|
|
|
91
91
|
catchEventHandlerExceptions? : boolean
|
|
92
92
|
/**
|
|
93
93
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
94
|
-
*
|
|
94
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Editor#config-centered)
|
|
95
|
+
* @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.
|
|
95
96
|
*/
|
|
96
|
-
centered? : boolean
|
|
97
|
+
centered? : boolean|object
|
|
97
98
|
/**
|
|
98
99
|
* Custom CSS classes to add to element.
|
|
99
100
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -188,7 +189,7 @@ export type BryntumEditorProps = {
|
|
|
188
189
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
189
190
|
/**
|
|
190
191
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
191
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
192
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
192
193
|
* property which controls when a drag should start.
|
|
193
194
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Editor#config-draggable)
|
|
194
195
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -316,7 +317,7 @@ export type BryntumEditorProps = {
|
|
|
316
317
|
*/
|
|
317
318
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
318
319
|
/**
|
|
319
|
-
* Sets `labelWidth
|
|
320
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
320
321
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Editor#config-labelWidth)
|
|
321
322
|
*/
|
|
322
323
|
labelWidth? : number|null
|
|
@@ -494,7 +495,7 @@ export type BryntumEditorProps = {
|
|
|
494
495
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
495
496
|
/**
|
|
496
497
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
497
|
-
* Valid values:
|
|
498
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
498
499
|
*/
|
|
499
500
|
scrollAction? : 'hide'|'realign'|null
|
|
500
501
|
/**
|
|
@@ -799,7 +800,6 @@ export class BryntumEditor extends React.Component<BryntumEditorProps> {
|
|
|
799
800
|
'border',
|
|
800
801
|
'bubbleEvents',
|
|
801
802
|
'cancelKey',
|
|
802
|
-
'centered',
|
|
803
803
|
'color',
|
|
804
804
|
'completeKey',
|
|
805
805
|
'completeOnChange',
|
|
@@ -859,6 +859,7 @@ export class BryntumEditor extends React.Component<BryntumEditorProps> {
|
|
|
859
859
|
'appendTo',
|
|
860
860
|
'callOnFunctions',
|
|
861
861
|
'catchEventHandlerExceptions',
|
|
862
|
+
'centered',
|
|
862
863
|
'cls',
|
|
863
864
|
'column',
|
|
864
865
|
'content',
|
|
@@ -77,9 +77,10 @@ export type BryntumFieldFilterPickerProps = {
|
|
|
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/FieldFilterPicker#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
|
|
@@ -168,7 +169,7 @@ export type BryntumFieldFilterPickerProps = {
|
|
|
168
169
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
169
170
|
/**
|
|
170
171
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
171
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
172
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
172
173
|
* property which controls when a drag should start.
|
|
173
174
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPicker#config-draggable)
|
|
174
175
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -297,7 +298,7 @@ export type BryntumFieldFilterPickerProps = {
|
|
|
297
298
|
*/
|
|
298
299
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
299
300
|
/**
|
|
300
|
-
* Sets `labelWidth
|
|
301
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
301
302
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPicker#config-labelWidth)
|
|
302
303
|
*/
|
|
303
304
|
labelWidth? : number|null
|
|
@@ -479,7 +480,7 @@ export type BryntumFieldFilterPickerProps = {
|
|
|
479
480
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
480
481
|
/**
|
|
481
482
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
482
|
-
* Valid values:
|
|
483
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
483
484
|
*/
|
|
484
485
|
scrollAction? : 'hide'|'realign'|null
|
|
485
486
|
/**
|
|
@@ -734,7 +735,6 @@ export class BryntumFieldFilterPicker extends React.Component<BryntumFieldFilter
|
|
|
734
735
|
'autoUpdateRecord',
|
|
735
736
|
'border',
|
|
736
737
|
'bubbleEvents',
|
|
737
|
-
'centered',
|
|
738
738
|
'color',
|
|
739
739
|
'config',
|
|
740
740
|
'constrainTo',
|
|
@@ -799,6 +799,7 @@ export class BryntumFieldFilterPicker extends React.Component<BryntumFieldFilter
|
|
|
799
799
|
'appendTo',
|
|
800
800
|
'callOnFunctions',
|
|
801
801
|
'catchEventHandlerExceptions',
|
|
802
|
+
'centered',
|
|
802
803
|
'cls',
|
|
803
804
|
'column',
|
|
804
805
|
'content',
|
|
@@ -103,9 +103,10 @@ export type BryntumFieldFilterPickerGroupProps = {
|
|
|
103
103
|
catchEventHandlerExceptions? : boolean
|
|
104
104
|
/**
|
|
105
105
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
106
|
-
*
|
|
106
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPickerGroup#config-centered)
|
|
107
|
+
* @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.
|
|
107
108
|
*/
|
|
108
|
-
centered? : boolean
|
|
109
|
+
centered? : boolean|object
|
|
109
110
|
/**
|
|
110
111
|
* Custom CSS classes to add to element.
|
|
111
112
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -194,7 +195,7 @@ export type BryntumFieldFilterPickerGroupProps = {
|
|
|
194
195
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
195
196
|
/**
|
|
196
197
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
197
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
198
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
198
199
|
* property which controls when a drag should start.
|
|
199
200
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPickerGroup#config-draggable)
|
|
200
201
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -325,7 +326,7 @@ export type BryntumFieldFilterPickerGroupProps = {
|
|
|
325
326
|
*/
|
|
326
327
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
327
328
|
/**
|
|
328
|
-
* Sets `labelWidth
|
|
329
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
329
330
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPickerGroup#config-labelWidth)
|
|
330
331
|
*/
|
|
331
332
|
labelWidth? : number|null
|
|
@@ -502,7 +503,7 @@ export type BryntumFieldFilterPickerGroupProps = {
|
|
|
502
503
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
503
504
|
/**
|
|
504
505
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
505
|
-
* Valid values:
|
|
506
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
506
507
|
*/
|
|
507
508
|
scrollAction? : 'hide'|'realign'|null
|
|
508
509
|
/**
|
|
@@ -766,7 +767,6 @@ export class BryntumFieldFilterPickerGroup extends React.Component<BryntumFieldF
|
|
|
766
767
|
'bubbleEvents',
|
|
767
768
|
'canDeleteFilter',
|
|
768
769
|
'canManageFilter',
|
|
769
|
-
'centered',
|
|
770
770
|
'color',
|
|
771
771
|
'config',
|
|
772
772
|
'constrainTo',
|
|
@@ -828,6 +828,7 @@ export class BryntumFieldFilterPickerGroup extends React.Component<BryntumFieldF
|
|
|
828
828
|
'appendTo',
|
|
829
829
|
'callOnFunctions',
|
|
830
830
|
'catchEventHandlerExceptions',
|
|
831
|
+
'centered',
|
|
831
832
|
'cls',
|
|
832
833
|
'column',
|
|
833
834
|
'content',
|
package/src/BryntumFieldSet.tsx
CHANGED
|
@@ -88,9 +88,10 @@ export type BryntumFieldSetProps = {
|
|
|
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/FieldSet#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 BryntumFieldSetProps = {
|
|
|
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/FieldSet#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 BryntumFieldSetProps = {
|
|
|
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/FieldSet#config-labelWidth)
|
|
345
346
|
*/
|
|
346
347
|
labelWidth? : number|null
|
|
@@ -506,7 +507,7 @@ export type BryntumFieldSetProps = {
|
|
|
506
507
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
507
508
|
/**
|
|
508
509
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
509
|
-
* Valid values:
|
|
510
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
510
511
|
*/
|
|
511
512
|
scrollAction? : 'hide'|'realign'|null
|
|
512
513
|
/**
|
|
@@ -820,7 +821,6 @@ export class BryntumFieldSet extends React.Component<BryntumFieldSetProps> {
|
|
|
820
821
|
'bodyCls',
|
|
821
822
|
'border',
|
|
822
823
|
'bubbleEvents',
|
|
823
|
-
'centered',
|
|
824
824
|
'collapsible',
|
|
825
825
|
'color',
|
|
826
826
|
'config',
|
|
@@ -885,6 +885,7 @@ export class BryntumFieldSet extends React.Component<BryntumFieldSetProps> {
|
|
|
885
885
|
'appendTo',
|
|
886
886
|
'callOnFunctions',
|
|
887
887
|
'catchEventHandlerExceptions',
|
|
888
|
+
'centered',
|
|
888
889
|
'cls',
|
|
889
890
|
'collapsed',
|
|
890
891
|
'column',
|
package/src/BryntumFileField.tsx
CHANGED
|
@@ -87,9 +87,10 @@ export type BryntumFileFieldProps = {
|
|
|
87
87
|
catchEventHandlerExceptions? : boolean
|
|
88
88
|
/**
|
|
89
89
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
90
|
-
*
|
|
90
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-centered)
|
|
91
|
+
* @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.
|
|
91
92
|
*/
|
|
92
|
-
centered? : boolean
|
|
93
|
+
centered? : boolean|object
|
|
93
94
|
/**
|
|
94
95
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
95
96
|
* 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)
|
|
@@ -103,6 +104,7 @@ export type BryntumFileFieldProps = {
|
|
|
103
104
|
* 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
|
|
104
105
|
* 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
|
|
105
106
|
* configures the `clear` [trigger](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers).
|
|
107
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-clearable)
|
|
106
108
|
*/
|
|
107
109
|
clearable? : boolean|FieldTriggerConfig
|
|
108
110
|
/**
|
|
@@ -186,7 +188,7 @@ export type BryntumFileFieldProps = {
|
|
|
186
188
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
187
189
|
/**
|
|
188
190
|
* *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
|
|
191
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
190
192
|
* property which controls when a drag should start.
|
|
191
193
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FileField#config-draggable)
|
|
192
194
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -500,7 +502,7 @@ export type BryntumFileFieldProps = {
|
|
|
500
502
|
rtl? : boolean
|
|
501
503
|
/**
|
|
502
504
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
503
|
-
* Valid values:
|
|
505
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
504
506
|
*/
|
|
505
507
|
scrollAction? : 'hide'|'realign'|null
|
|
506
508
|
/**
|
|
@@ -778,7 +780,6 @@ export class BryntumFileField extends React.Component<BryntumFileFieldProps> {
|
|
|
778
780
|
'autoComplete',
|
|
779
781
|
'autoSelect',
|
|
780
782
|
'bubbleEvents',
|
|
781
|
-
'centered',
|
|
782
783
|
'checkValidity',
|
|
783
784
|
'clearable',
|
|
784
785
|
'color',
|
|
@@ -847,6 +848,7 @@ export class BryntumFileField extends React.Component<BryntumFileFieldProps> {
|
|
|
847
848
|
'badge',
|
|
848
849
|
'callOnFunctions',
|
|
849
850
|
'catchEventHandlerExceptions',
|
|
851
|
+
'centered',
|
|
850
852
|
'cls',
|
|
851
853
|
'column',
|
|
852
854
|
'dataset',
|
|
@@ -81,9 +81,10 @@ export type BryntumFilePickerProps = {
|
|
|
81
81
|
catchEventHandlerExceptions? : boolean
|
|
82
82
|
/**
|
|
83
83
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
84
|
-
*
|
|
84
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-centered)
|
|
85
|
+
* @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.
|
|
85
86
|
*/
|
|
86
|
-
centered? : boolean
|
|
87
|
+
centered? : boolean|object
|
|
87
88
|
/**
|
|
88
89
|
* Custom CSS classes to add to element.
|
|
89
90
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -169,7 +170,7 @@ export type BryntumFilePickerProps = {
|
|
|
169
170
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
170
171
|
/**
|
|
171
172
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
172
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
173
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
173
174
|
* property which controls when a drag should start.
|
|
174
175
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-draggable)
|
|
175
176
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -281,7 +282,7 @@ export type BryntumFilePickerProps = {
|
|
|
281
282
|
*/
|
|
282
283
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
283
284
|
/**
|
|
284
|
-
* Sets `labelWidth
|
|
285
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
285
286
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilePicker#config-labelWidth)
|
|
286
287
|
*/
|
|
287
288
|
labelWidth? : number|null
|
|
@@ -447,7 +448,7 @@ export type BryntumFilePickerProps = {
|
|
|
447
448
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
448
449
|
/**
|
|
449
450
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
450
|
-
* Valid values:
|
|
451
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
451
452
|
*/
|
|
452
453
|
scrollAction? : 'hide'|'realign'|null
|
|
453
454
|
/**
|
|
@@ -690,7 +691,6 @@ export class BryntumFilePicker extends React.Component<BryntumFilePickerProps> {
|
|
|
690
691
|
'border',
|
|
691
692
|
'bubbleEvents',
|
|
692
693
|
'buttonConfig',
|
|
693
|
-
'centered',
|
|
694
694
|
'color',
|
|
695
695
|
'config',
|
|
696
696
|
'constrainTo',
|
|
@@ -744,6 +744,7 @@ export class BryntumFilePicker extends React.Component<BryntumFilePickerProps> {
|
|
|
744
744
|
'appendTo',
|
|
745
745
|
'callOnFunctions',
|
|
746
746
|
'catchEventHandlerExceptions',
|
|
747
|
+
'centered',
|
|
747
748
|
'cls',
|
|
748
749
|
'column',
|
|
749
750
|
'content',
|
|
@@ -82,9 +82,10 @@ export type BryntumFilterFieldProps = {
|
|
|
82
82
|
catchEventHandlerExceptions? : boolean
|
|
83
83
|
/**
|
|
84
84
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
85
|
-
*
|
|
85
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilterField#config-centered)
|
|
86
|
+
* @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.
|
|
86
87
|
*/
|
|
87
|
-
centered? : boolean
|
|
88
|
+
centered? : boolean|object
|
|
88
89
|
/**
|
|
89
90
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
90
91
|
* 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)
|
|
@@ -98,6 +99,7 @@ export type BryntumFilterFieldProps = {
|
|
|
98
99
|
* 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
100
|
* 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
|
|
100
101
|
* configures the `clear` [trigger](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers).
|
|
102
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilterField#config-clearable)
|
|
101
103
|
*/
|
|
102
104
|
clearable? : boolean|FieldTriggerConfig
|
|
103
105
|
/**
|
|
@@ -181,7 +183,7 @@ export type BryntumFilterFieldProps = {
|
|
|
181
183
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
182
184
|
/**
|
|
183
185
|
* *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
|
|
186
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
185
187
|
* property which controls when a drag should start.
|
|
186
188
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FilterField#config-draggable)
|
|
187
189
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -527,7 +529,7 @@ export type BryntumFilterFieldProps = {
|
|
|
527
529
|
rtl? : boolean
|
|
528
530
|
/**
|
|
529
531
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
530
|
-
* Valid values:
|
|
532
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
531
533
|
*/
|
|
532
534
|
scrollAction? : 'hide'|'realign'|null
|
|
533
535
|
/**
|
|
@@ -808,7 +810,6 @@ export class BryntumFilterField extends React.Component<BryntumFilterFieldProps>
|
|
|
808
810
|
'autoComplete',
|
|
809
811
|
'autoSelect',
|
|
810
812
|
'bubbleEvents',
|
|
811
|
-
'centered',
|
|
812
813
|
'checkValidity',
|
|
813
814
|
'clearable',
|
|
814
815
|
'color',
|
|
@@ -883,6 +884,7 @@ export class BryntumFilterField extends React.Component<BryntumFilterFieldProps>
|
|
|
883
884
|
'badge',
|
|
884
885
|
'callOnFunctions',
|
|
885
886
|
'catchEventHandlerExceptions',
|
|
887
|
+
'centered',
|
|
886
888
|
'cls',
|
|
887
889
|
'column',
|
|
888
890
|
'dataset',
|
package/src/BryntumHint.tsx
CHANGED
|
@@ -342,7 +342,7 @@ export type BryntumHintProps = {
|
|
|
342
342
|
*/
|
|
343
343
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
344
344
|
/**
|
|
345
|
-
* Sets `labelWidth
|
|
345
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
346
346
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Hint#config-labelWidth)
|
|
347
347
|
*/
|
|
348
348
|
labelWidth? : number|null
|
|
@@ -557,7 +557,7 @@ export type BryntumHintProps = {
|
|
|
557
557
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
558
558
|
/**
|
|
559
559
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
560
|
-
* Valid values:
|
|
560
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
561
561
|
*/
|
|
562
562
|
scrollAction? : 'hide'|'realign'|null
|
|
563
563
|
/**
|
|
@@ -1028,6 +1028,7 @@ export class BryntumHint extends React.Component<BryntumHintProps> {
|
|
|
1028
1028
|
];
|
|
1029
1029
|
|
|
1030
1030
|
static propertyNames = [
|
|
1031
|
+
'centered',
|
|
1031
1032
|
'parent',
|
|
1032
1033
|
'state',
|
|
1033
1034
|
'values'
|
package/src/BryntumLabel.tsx
CHANGED
|
@@ -69,9 +69,10 @@ export type BryntumLabelProps = {
|
|
|
69
69
|
catchEventHandlerExceptions? : boolean
|
|
70
70
|
/**
|
|
71
71
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
72
|
-
*
|
|
72
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Label#config-centered)
|
|
73
|
+
* @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.
|
|
73
74
|
*/
|
|
74
|
-
centered? : boolean
|
|
75
|
+
centered? : boolean|object
|
|
75
76
|
/**
|
|
76
77
|
* Custom CSS classes to add to element.
|
|
77
78
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -145,7 +146,7 @@ export type BryntumLabelProps = {
|
|
|
145
146
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
146
147
|
/**
|
|
147
148
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
148
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
149
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
149
150
|
* property which controls when a drag should start.
|
|
150
151
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Label#config-draggable)
|
|
151
152
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -352,7 +353,7 @@ export type BryntumLabelProps = {
|
|
|
352
353
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
353
354
|
/**
|
|
354
355
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
355
|
-
* Valid values:
|
|
356
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
356
357
|
*/
|
|
357
358
|
scrollAction? : 'hide'|'realign'|null
|
|
358
359
|
/**
|
|
@@ -550,7 +551,6 @@ export class BryntumLabel extends React.Component<BryntumLabelProps> {
|
|
|
550
551
|
'ariaDescription',
|
|
551
552
|
'ariaLabel',
|
|
552
553
|
'bubbleEvents',
|
|
553
|
-
'centered',
|
|
554
554
|
'color',
|
|
555
555
|
'config',
|
|
556
556
|
'constrainTo',
|
|
@@ -595,6 +595,7 @@ export class BryntumLabel extends React.Component<BryntumLabelProps> {
|
|
|
595
595
|
'appendTo',
|
|
596
596
|
'callOnFunctions',
|
|
597
597
|
'catchEventHandlerExceptions',
|
|
598
|
+
'centered',
|
|
598
599
|
'cls',
|
|
599
600
|
'column',
|
|
600
601
|
'content',
|