@bryntum/core-react-thin 7.3.1 → 7.3.3
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 +2 -2
- 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 +27 -8
- package/lib/WrapperHelper.js.map +1 -1
- package/license.pdf +0 -0
- package/package.json +1 -1
- package/src/BryntumBooleanCombo.tsx +12 -5
- package/src/BryntumButton.tsx +12 -5
- package/src/BryntumButtonGroup.tsx +13 -6
- package/src/BryntumChatPanel.tsx +13 -6
- package/src/BryntumCheckbox.tsx +12 -5
- package/src/BryntumCheckboxGroup.tsx +13 -6
- package/src/BryntumChipView.tsx +15 -6
- package/src/BryntumCodeEditor.tsx +13 -6
- package/src/BryntumColorField.tsx +12 -5
- package/src/BryntumCombo.tsx +12 -5
- package/src/BryntumContainer.tsx +13 -6
- package/src/BryntumDateField.tsx +12 -5
- package/src/BryntumDatePicker.tsx +13 -6
- package/src/BryntumDateRangeField.tsx +12 -5
- package/src/BryntumDateTimeField.tsx +12 -5
- package/src/BryntumDemoCodeEditor.tsx +13 -6
- package/src/BryntumDisplayField.tsx +12 -5
- package/src/BryntumDurationField.tsx +12 -5
- package/src/BryntumEditor.tsx +13 -6
- package/src/BryntumFieldFilterPicker.tsx +13 -6
- package/src/BryntumFieldFilterPickerGroup.tsx +13 -6
- package/src/BryntumFieldSet.tsx +13 -6
- package/src/BryntumFileField.tsx +12 -5
- package/src/BryntumFilePicker.tsx +13 -6
- package/src/BryntumFilterField.tsx +12 -5
- package/src/BryntumHint.tsx +9 -2
- package/src/BryntumLabel.tsx +12 -5
- package/src/BryntumList.tsx +12 -5
- package/src/BryntumMenu.tsx +12 -5
- package/src/BryntumMonthPicker.tsx +13 -6
- package/src/BryntumNumberField.tsx +12 -5
- package/src/BryntumPagingToolbar.tsx +13 -6
- package/src/BryntumPanel.tsx +13 -6
- package/src/BryntumPasswordField.tsx +12 -5
- package/src/BryntumProgressBar.tsx +12 -5
- package/src/BryntumRadio.tsx +12 -5
- package/src/BryntumRadioGroup.tsx +13 -6
- package/src/BryntumSlideToggle.tsx +12 -5
- package/src/BryntumSlider.tsx +12 -5
- package/src/BryntumSplitter.tsx +12 -5
- package/src/BryntumTabPanel.tsx +13 -6
- package/src/BryntumTextAreaField.tsx +12 -5
- package/src/BryntumTextAreaPickerField.tsx +12 -5
- package/src/BryntumTextField.tsx +12 -5
- package/src/BryntumTimeField.tsx +12 -5
- package/src/BryntumTimePicker.tsx +13 -6
- package/src/BryntumToolbar.tsx +13 -6
- package/src/BryntumWidget.tsx +12 -5
- package/src/BryntumYearPicker.tsx +13 -6
- package/src/WrapperHelper.tsx +55 -17
package/src/BryntumDateField.tsx
CHANGED
|
@@ -34,6 +34,8 @@ export type BryntumDateFieldProps = {
|
|
|
34
34
|
/**
|
|
35
35
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
36
36
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
37
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
38
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -84,9 +86,10 @@ export type BryntumDateFieldProps = {
|
|
|
84
86
|
catchEventHandlerExceptions? : boolean
|
|
85
87
|
/**
|
|
86
88
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
87
|
-
*
|
|
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.
|
|
88
91
|
*/
|
|
89
|
-
centered? : boolean
|
|
92
|
+
centered? : boolean|object
|
|
90
93
|
/**
|
|
91
94
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
92
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)
|
|
@@ -183,7 +186,7 @@ export type BryntumDateFieldProps = {
|
|
|
183
186
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
184
187
|
/**
|
|
185
188
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
186
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
189
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
187
190
|
* property which controls when a drag should start.
|
|
188
191
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-draggable)
|
|
189
192
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -300,10 +303,14 @@ export type BryntumDateFieldProps = {
|
|
|
300
303
|
inputWidth? : string|number
|
|
301
304
|
/**
|
|
302
305
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
306
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
307
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-insertBefore)
|
|
303
308
|
*/
|
|
304
309
|
insertBefore? : HTMLElement|string
|
|
305
310
|
/**
|
|
306
311
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
312
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
313
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateField#config-insertFirst)
|
|
307
314
|
*/
|
|
308
315
|
insertFirst? : HTMLElement|string
|
|
309
316
|
/**
|
|
@@ -535,7 +542,7 @@ export type BryntumDateFieldProps = {
|
|
|
535
542
|
rtl? : boolean
|
|
536
543
|
/**
|
|
537
544
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
538
|
-
* Valid values:
|
|
545
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
539
546
|
*/
|
|
540
547
|
scrollAction? : 'hide'|'realign'|null
|
|
541
548
|
/**
|
|
@@ -841,7 +848,6 @@ export class BryntumDateField extends React.Component<BryntumDateFieldProps> {
|
|
|
841
848
|
'autoExpand',
|
|
842
849
|
'autoSelect',
|
|
843
850
|
'bubbleEvents',
|
|
844
|
-
'centered',
|
|
845
851
|
'checkValidity',
|
|
846
852
|
'clearable',
|
|
847
853
|
'color',
|
|
@@ -918,6 +924,7 @@ export class BryntumDateField extends React.Component<BryntumDateFieldProps> {
|
|
|
918
924
|
'badge',
|
|
919
925
|
'callOnFunctions',
|
|
920
926
|
'catchEventHandlerExceptions',
|
|
927
|
+
'centered',
|
|
921
928
|
'cls',
|
|
922
929
|
'column',
|
|
923
930
|
'dataset',
|
|
@@ -47,6 +47,8 @@ export type BryntumDatePickerProps = {
|
|
|
47
47
|
/**
|
|
48
48
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
49
49
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
50
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
51
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-appendTo)
|
|
50
52
|
*/
|
|
51
53
|
appendTo? : HTMLElement|string
|
|
52
54
|
/**
|
|
@@ -117,9 +119,10 @@ export type BryntumDatePickerProps = {
|
|
|
117
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
|
|
118
120
|
/**
|
|
119
121
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
120
|
-
*
|
|
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.
|
|
121
124
|
*/
|
|
122
|
-
centered? : boolean
|
|
125
|
+
centered? : boolean|object
|
|
123
126
|
/**
|
|
124
127
|
* Custom CSS classes to add to element.
|
|
125
128
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -249,7 +252,7 @@ export type BryntumDatePickerProps = {
|
|
|
249
252
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
250
253
|
/**
|
|
251
254
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
252
|
-
* 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`
|
|
253
256
|
* property which controls when a drag should start.
|
|
254
257
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-draggable)
|
|
255
258
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -394,10 +397,14 @@ export type BryntumDatePickerProps = {
|
|
|
394
397
|
inputFieldAlign? : 'start'|'end'
|
|
395
398
|
/**
|
|
396
399
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
400
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
401
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-insertBefore)
|
|
397
402
|
*/
|
|
398
403
|
insertBefore? : HTMLElement|string
|
|
399
404
|
/**
|
|
400
405
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
406
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
407
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-insertFirst)
|
|
401
408
|
*/
|
|
402
409
|
insertFirst? : HTMLElement|string
|
|
403
410
|
/**
|
|
@@ -423,7 +430,7 @@ export type BryntumDatePickerProps = {
|
|
|
423
430
|
*/
|
|
424
431
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
425
432
|
/**
|
|
426
|
-
* Sets `labelWidth
|
|
433
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
427
434
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DatePicker#config-labelWidth)
|
|
428
435
|
*/
|
|
429
436
|
labelWidth? : number|null
|
|
@@ -638,7 +645,7 @@ export type BryntumDatePickerProps = {
|
|
|
638
645
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
639
646
|
/**
|
|
640
647
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
641
|
-
* Valid values:
|
|
648
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
642
649
|
*/
|
|
643
650
|
scrollAction? : 'hide'|'realign'|null
|
|
644
651
|
/**
|
|
@@ -1051,7 +1058,6 @@ export class BryntumDatePicker extends React.Component<BryntumDatePickerProps> {
|
|
|
1051
1058
|
'border',
|
|
1052
1059
|
'bubbleEvents',
|
|
1053
1060
|
'cellRenderer',
|
|
1054
|
-
'centered',
|
|
1055
1061
|
'collapsible',
|
|
1056
1062
|
'color',
|
|
1057
1063
|
'config',
|
|
@@ -1143,6 +1149,7 @@ export class BryntumDatePicker extends React.Component<BryntumDatePickerProps> {
|
|
|
1143
1149
|
'appendTo',
|
|
1144
1150
|
'callOnFunctions',
|
|
1145
1151
|
'catchEventHandlerExceptions',
|
|
1152
|
+
'centered',
|
|
1146
1153
|
'cls',
|
|
1147
1154
|
'collapsed',
|
|
1148
1155
|
'column',
|
|
@@ -34,6 +34,8 @@ export type BryntumDateRangeFieldProps = {
|
|
|
34
34
|
/**
|
|
35
35
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
36
36
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
37
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
38
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -84,9 +86,10 @@ export type BryntumDateRangeFieldProps = {
|
|
|
84
86
|
catchEventHandlerExceptions? : boolean
|
|
85
87
|
/**
|
|
86
88
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
87
|
-
*
|
|
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.
|
|
88
91
|
*/
|
|
89
|
-
centered? : boolean
|
|
92
|
+
centered? : boolean|object
|
|
90
93
|
/**
|
|
91
94
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
92
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)
|
|
@@ -197,7 +200,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
197
200
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
198
201
|
/**
|
|
199
202
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
200
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
203
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
201
204
|
* property which controls when a drag should start.
|
|
202
205
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-draggable)
|
|
203
206
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -322,10 +325,14 @@ export type BryntumDateRangeFieldProps = {
|
|
|
322
325
|
inputWidth? : string|number
|
|
323
326
|
/**
|
|
324
327
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
328
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
329
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-insertBefore)
|
|
325
330
|
*/
|
|
326
331
|
insertBefore? : HTMLElement|string
|
|
327
332
|
/**
|
|
328
333
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
334
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
335
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-insertFirst)
|
|
329
336
|
*/
|
|
330
337
|
insertFirst? : HTMLElement|string
|
|
331
338
|
/**
|
|
@@ -546,7 +553,7 @@ export type BryntumDateRangeFieldProps = {
|
|
|
546
553
|
rtl? : boolean
|
|
547
554
|
/**
|
|
548
555
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
549
|
-
* Valid values:
|
|
556
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
550
557
|
*/
|
|
551
558
|
scrollAction? : 'hide'|'realign'|null
|
|
552
559
|
/**
|
|
@@ -829,7 +836,6 @@ export class BryntumDateRangeField extends React.Component<BryntumDateRangeField
|
|
|
829
836
|
'autoExpand',
|
|
830
837
|
'autoSelect',
|
|
831
838
|
'bubbleEvents',
|
|
832
|
-
'centered',
|
|
833
839
|
'checkValidity',
|
|
834
840
|
'clearable',
|
|
835
841
|
'color',
|
|
@@ -905,6 +911,7 @@ export class BryntumDateRangeField extends React.Component<BryntumDateRangeField
|
|
|
905
911
|
'badge',
|
|
906
912
|
'callOnFunctions',
|
|
907
913
|
'catchEventHandlerExceptions',
|
|
914
|
+
'centered',
|
|
908
915
|
'cls',
|
|
909
916
|
'column',
|
|
910
917
|
'confirmable',
|
|
@@ -34,6 +34,8 @@ export type BryntumDateTimeFieldProps = {
|
|
|
34
34
|
/**
|
|
35
35
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
36
36
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
37
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
38
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -75,9 +77,10 @@ export type BryntumDateTimeFieldProps = {
|
|
|
75
77
|
catchEventHandlerExceptions? : boolean
|
|
76
78
|
/**
|
|
77
79
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
78
|
-
*
|
|
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.
|
|
79
82
|
*/
|
|
80
|
-
centered? : boolean
|
|
83
|
+
centered? : boolean|object
|
|
81
84
|
/**
|
|
82
85
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
83
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)
|
|
@@ -178,7 +181,7 @@ export type BryntumDateTimeFieldProps = {
|
|
|
178
181
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
179
182
|
/**
|
|
180
183
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
181
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
184
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
182
185
|
* property which controls when a drag should start.
|
|
183
186
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-draggable)
|
|
184
187
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -276,10 +279,14 @@ export type BryntumDateTimeFieldProps = {
|
|
|
276
279
|
inputTag? : string
|
|
277
280
|
/**
|
|
278
281
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
282
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
283
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-insertBefore)
|
|
279
284
|
*/
|
|
280
285
|
insertBefore? : HTMLElement|string
|
|
281
286
|
/**
|
|
282
287
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
288
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
289
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-insertFirst)
|
|
283
290
|
*/
|
|
284
291
|
insertFirst? : HTMLElement|string
|
|
285
292
|
/**
|
|
@@ -469,7 +476,7 @@ export type BryntumDateTimeFieldProps = {
|
|
|
469
476
|
rtl? : boolean
|
|
470
477
|
/**
|
|
471
478
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
472
|
-
* Valid values:
|
|
479
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
473
480
|
*/
|
|
474
481
|
scrollAction? : 'hide'|'realign'|null
|
|
475
482
|
/**
|
|
@@ -736,7 +743,6 @@ export class BryntumDateTimeField extends React.Component<BryntumDateTimeFieldPr
|
|
|
736
743
|
'ariaLabel',
|
|
737
744
|
'autoSelect',
|
|
738
745
|
'bubbleEvents',
|
|
739
|
-
'centered',
|
|
740
746
|
'checkValidity',
|
|
741
747
|
'clearable',
|
|
742
748
|
'color',
|
|
@@ -800,6 +806,7 @@ export class BryntumDateTimeField extends React.Component<BryntumDateTimeFieldPr
|
|
|
800
806
|
'badge',
|
|
801
807
|
'callOnFunctions',
|
|
802
808
|
'catchEventHandlerExceptions',
|
|
809
|
+
'centered',
|
|
803
810
|
'cls',
|
|
804
811
|
'column',
|
|
805
812
|
'dataset',
|
|
@@ -34,6 +34,8 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
34
34
|
/**
|
|
35
35
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
36
36
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
37
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
38
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -90,9 +92,10 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
90
92
|
catchEventHandlerExceptions? : boolean
|
|
91
93
|
/**
|
|
92
94
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
93
|
-
*
|
|
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.
|
|
94
97
|
*/
|
|
95
|
-
centered? : boolean
|
|
98
|
+
centered? : boolean|object
|
|
96
99
|
/**
|
|
97
100
|
* Custom CSS classes to add to element.
|
|
98
101
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -193,7 +196,7 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
193
196
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
194
197
|
/**
|
|
195
198
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
196
|
-
* 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`
|
|
197
200
|
* property which controls when a drag should start.
|
|
198
201
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-draggable)
|
|
199
202
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -304,10 +307,14 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
304
307
|
inputFieldAlign? : 'start'|'end'
|
|
305
308
|
/**
|
|
306
309
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
310
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
311
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-insertBefore)
|
|
307
312
|
*/
|
|
308
313
|
insertBefore? : HTMLElement|string
|
|
309
314
|
/**
|
|
310
315
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
316
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
317
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-insertFirst)
|
|
311
318
|
*/
|
|
312
319
|
insertFirst? : HTMLElement|string
|
|
313
320
|
/**
|
|
@@ -333,7 +340,7 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
333
340
|
*/
|
|
334
341
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
335
342
|
/**
|
|
336
|
-
* Sets `labelWidth
|
|
343
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
337
344
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-labelWidth)
|
|
338
345
|
*/
|
|
339
346
|
labelWidth? : number|null
|
|
@@ -511,7 +518,7 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
511
518
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
512
519
|
/**
|
|
513
520
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
514
|
-
* Valid values:
|
|
521
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
515
522
|
*/
|
|
516
523
|
scrollAction? : 'hide'|'realign'|null
|
|
517
524
|
/**
|
|
@@ -838,7 +845,6 @@ export class BryntumDemoCodeEditor extends React.Component<BryntumDemoCodeEditor
|
|
|
838
845
|
'bodyCls',
|
|
839
846
|
'border',
|
|
840
847
|
'bubbleEvents',
|
|
841
|
-
'centered',
|
|
842
848
|
'codePath',
|
|
843
849
|
'collapsible',
|
|
844
850
|
'color',
|
|
@@ -906,6 +912,7 @@ export class BryntumDemoCodeEditor extends React.Component<BryntumDemoCodeEditor
|
|
|
906
912
|
'appendTo',
|
|
907
913
|
'callOnFunctions',
|
|
908
914
|
'catchEventHandlerExceptions',
|
|
915
|
+
'centered',
|
|
909
916
|
'cls',
|
|
910
917
|
'collapsed',
|
|
911
918
|
'column',
|
|
@@ -34,6 +34,8 @@ export type BryntumDisplayFieldProps = {
|
|
|
34
34
|
/**
|
|
35
35
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
36
36
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
37
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
38
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DisplayField#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -80,9 +82,10 @@ export type BryntumDisplayFieldProps = {
|
|
|
80
82
|
catchEventHandlerExceptions? : boolean
|
|
81
83
|
/**
|
|
82
84
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
83
|
-
*
|
|
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.
|
|
84
87
|
*/
|
|
85
|
-
centered? : boolean
|
|
88
|
+
centered? : boolean|object
|
|
86
89
|
/**
|
|
87
90
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
88
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)
|
|
@@ -179,7 +182,7 @@ export type BryntumDisplayFieldProps = {
|
|
|
179
182
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
180
183
|
/**
|
|
181
184
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
182
|
-
* 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`
|
|
183
186
|
* property which controls when a drag should start.
|
|
184
187
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DisplayField#config-draggable)
|
|
185
188
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -295,10 +298,14 @@ export type BryntumDisplayFieldProps = {
|
|
|
295
298
|
inputWidth? : string|number
|
|
296
299
|
/**
|
|
297
300
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
301
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
302
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DisplayField#config-insertBefore)
|
|
298
303
|
*/
|
|
299
304
|
insertBefore? : HTMLElement|string
|
|
300
305
|
/**
|
|
301
306
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
307
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
308
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DisplayField#config-insertFirst)
|
|
302
309
|
*/
|
|
303
310
|
insertFirst? : HTMLElement|string
|
|
304
311
|
/**
|
|
@@ -483,7 +490,7 @@ export type BryntumDisplayFieldProps = {
|
|
|
483
490
|
rtl? : boolean
|
|
484
491
|
/**
|
|
485
492
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
486
|
-
* Valid values:
|
|
493
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
487
494
|
*/
|
|
488
495
|
scrollAction? : 'hide'|'realign'|null
|
|
489
496
|
/**
|
|
@@ -768,7 +775,6 @@ export class BryntumDisplayField extends React.Component<BryntumDisplayFieldProp
|
|
|
768
775
|
'autoComplete',
|
|
769
776
|
'autoSelect',
|
|
770
777
|
'bubbleEvents',
|
|
771
|
-
'centered',
|
|
772
778
|
'checkValidity',
|
|
773
779
|
'clearable',
|
|
774
780
|
'color',
|
|
@@ -837,6 +843,7 @@ export class BryntumDisplayField extends React.Component<BryntumDisplayFieldProp
|
|
|
837
843
|
'badge',
|
|
838
844
|
'callOnFunctions',
|
|
839
845
|
'catchEventHandlerExceptions',
|
|
846
|
+
'centered',
|
|
840
847
|
'cls',
|
|
841
848
|
'column',
|
|
842
849
|
'dataset',
|
|
@@ -43,6 +43,8 @@ export type BryntumDurationFieldProps = {
|
|
|
43
43
|
/**
|
|
44
44
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
45
45
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
46
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
47
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DurationField#config-appendTo)
|
|
46
48
|
*/
|
|
47
49
|
appendTo? : HTMLElement|string
|
|
48
50
|
/**
|
|
@@ -89,9 +91,10 @@ export type BryntumDurationFieldProps = {
|
|
|
89
91
|
catchEventHandlerExceptions? : boolean
|
|
90
92
|
/**
|
|
91
93
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
92
|
-
*
|
|
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.
|
|
93
96
|
*/
|
|
94
|
-
centered? : boolean
|
|
97
|
+
centered? : boolean|object
|
|
95
98
|
/**
|
|
96
99
|
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
97
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)
|
|
@@ -192,7 +195,7 @@ export type BryntumDurationFieldProps = {
|
|
|
192
195
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
193
196
|
/**
|
|
194
197
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
195
|
-
* 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`
|
|
196
199
|
* property which controls when a drag should start.
|
|
197
200
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DurationField#config-draggable)
|
|
198
201
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -308,10 +311,14 @@ export type BryntumDurationFieldProps = {
|
|
|
308
311
|
inputWidth? : string|number
|
|
309
312
|
/**
|
|
310
313
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
314
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
315
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DurationField#config-insertBefore)
|
|
311
316
|
*/
|
|
312
317
|
insertBefore? : HTMLElement|string
|
|
313
318
|
/**
|
|
314
319
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
320
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
321
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DurationField#config-insertFirst)
|
|
315
322
|
*/
|
|
316
323
|
insertFirst? : HTMLElement|string
|
|
317
324
|
/**
|
|
@@ -522,7 +529,7 @@ export type BryntumDurationFieldProps = {
|
|
|
522
529
|
rtl? : boolean
|
|
523
530
|
/**
|
|
524
531
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
525
|
-
* Valid values:
|
|
532
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
526
533
|
*/
|
|
527
534
|
scrollAction? : 'hide'|'realign'|null
|
|
528
535
|
/**
|
|
@@ -816,7 +823,6 @@ export class BryntumDurationField extends React.Component<BryntumDurationFieldPr
|
|
|
816
823
|
'autoComplete',
|
|
817
824
|
'autoSelect',
|
|
818
825
|
'bubbleEvents',
|
|
819
|
-
'centered',
|
|
820
826
|
'checkValidity',
|
|
821
827
|
'clearable',
|
|
822
828
|
'color',
|
|
@@ -890,6 +896,7 @@ export class BryntumDurationField extends React.Component<BryntumDurationFieldPr
|
|
|
890
896
|
'badge',
|
|
891
897
|
'callOnFunctions',
|
|
892
898
|
'catchEventHandlerExceptions',
|
|
899
|
+
'centered',
|
|
893
900
|
'cls',
|
|
894
901
|
'column',
|
|
895
902
|
'dataset',
|
package/src/BryntumEditor.tsx
CHANGED
|
@@ -33,6 +33,8 @@ export type BryntumEditorProps = {
|
|
|
33
33
|
/**
|
|
34
34
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
35
35
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
36
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
37
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Editor#config-appendTo)
|
|
36
38
|
*/
|
|
37
39
|
appendTo? : HTMLElement|string
|
|
38
40
|
/**
|
|
@@ -89,9 +91,10 @@ export type BryntumEditorProps = {
|
|
|
89
91
|
catchEventHandlerExceptions? : boolean
|
|
90
92
|
/**
|
|
91
93
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
92
|
-
*
|
|
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.
|
|
93
96
|
*/
|
|
94
|
-
centered? : boolean
|
|
97
|
+
centered? : boolean|object
|
|
95
98
|
/**
|
|
96
99
|
* Custom CSS classes to add to element.
|
|
97
100
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -186,7 +189,7 @@ export type BryntumEditorProps = {
|
|
|
186
189
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
187
190
|
/**
|
|
188
191
|
* *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
|
|
192
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
190
193
|
* property which controls when a drag should start.
|
|
191
194
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Editor#config-draggable)
|
|
192
195
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -276,10 +279,14 @@ export type BryntumEditorProps = {
|
|
|
276
279
|
inputFieldAlign? : 'start'|'end'
|
|
277
280
|
/**
|
|
278
281
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
282
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
283
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Editor#config-insertBefore)
|
|
279
284
|
*/
|
|
280
285
|
insertBefore? : HTMLElement|string
|
|
281
286
|
/**
|
|
282
287
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
288
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
289
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Editor#config-insertFirst)
|
|
283
290
|
*/
|
|
284
291
|
insertFirst? : HTMLElement|string
|
|
285
292
|
/**
|
|
@@ -310,7 +317,7 @@ export type BryntumEditorProps = {
|
|
|
310
317
|
*/
|
|
311
318
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
312
319
|
/**
|
|
313
|
-
* Sets `labelWidth
|
|
320
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
314
321
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Editor#config-labelWidth)
|
|
315
322
|
*/
|
|
316
323
|
labelWidth? : number|null
|
|
@@ -488,7 +495,7 @@ export type BryntumEditorProps = {
|
|
|
488
495
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
489
496
|
/**
|
|
490
497
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
491
|
-
* Valid values:
|
|
498
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
492
499
|
*/
|
|
493
500
|
scrollAction? : 'hide'|'realign'|null
|
|
494
501
|
/**
|
|
@@ -793,7 +800,6 @@ export class BryntumEditor extends React.Component<BryntumEditorProps> {
|
|
|
793
800
|
'border',
|
|
794
801
|
'bubbleEvents',
|
|
795
802
|
'cancelKey',
|
|
796
|
-
'centered',
|
|
797
803
|
'color',
|
|
798
804
|
'completeKey',
|
|
799
805
|
'completeOnChange',
|
|
@@ -853,6 +859,7 @@ export class BryntumEditor extends React.Component<BryntumEditorProps> {
|
|
|
853
859
|
'appendTo',
|
|
854
860
|
'callOnFunctions',
|
|
855
861
|
'catchEventHandlerExceptions',
|
|
862
|
+
'centered',
|
|
856
863
|
'cls',
|
|
857
864
|
'column',
|
|
858
865
|
'content',
|