@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/BryntumList.tsx
CHANGED
|
@@ -44,6 +44,8 @@ export type BryntumListProps = {
|
|
|
44
44
|
/**
|
|
45
45
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
46
46
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
47
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
48
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-appendTo)
|
|
47
49
|
*/
|
|
48
50
|
appendTo? : HTMLElement|string
|
|
49
51
|
/**
|
|
@@ -77,9 +79,10 @@ export type BryntumListProps = {
|
|
|
77
79
|
catchEventHandlerExceptions? : boolean
|
|
78
80
|
/**
|
|
79
81
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
80
|
-
*
|
|
82
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-centered)
|
|
83
|
+
* @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
|
|
81
84
|
*/
|
|
82
|
-
centered? : boolean
|
|
85
|
+
centered? : boolean|object
|
|
83
86
|
/**
|
|
84
87
|
* Configure as `true` to clear selection when clicking on empty space inside the List´s element.
|
|
85
88
|
*/
|
|
@@ -165,7 +168,7 @@ export type BryntumListProps = {
|
|
|
165
168
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
166
169
|
/**
|
|
167
170
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
168
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
171
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
169
172
|
* property which controls when a drag should start.
|
|
170
173
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-draggable)
|
|
171
174
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -253,10 +256,14 @@ export type BryntumListProps = {
|
|
|
253
256
|
ignoreParentReadOnly? : boolean
|
|
254
257
|
/**
|
|
255
258
|
* 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.
|
|
259
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
260
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-insertBefore)
|
|
256
261
|
*/
|
|
257
262
|
insertBefore? : HTMLElement|string
|
|
258
263
|
/**
|
|
259
264
|
* 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.
|
|
265
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
266
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/List#config-insertFirst)
|
|
260
267
|
*/
|
|
261
268
|
insertFirst? : HTMLElement|string
|
|
262
269
|
/**
|
|
@@ -417,7 +424,7 @@ export type BryntumListProps = {
|
|
|
417
424
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
418
425
|
/**
|
|
419
426
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
420
|
-
* Valid values:
|
|
427
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
421
428
|
*/
|
|
422
429
|
scrollAction? : 'hide'|'realign'|null
|
|
423
430
|
/**
|
|
@@ -690,7 +697,6 @@ export class BryntumList extends React.Component<BryntumListProps> {
|
|
|
690
697
|
'ariaDescription',
|
|
691
698
|
'ariaLabel',
|
|
692
699
|
'bubbleEvents',
|
|
693
|
-
'centered',
|
|
694
700
|
'color',
|
|
695
701
|
'config',
|
|
696
702
|
'constrainTo',
|
|
@@ -744,6 +750,7 @@ export class BryntumList extends React.Component<BryntumListProps> {
|
|
|
744
750
|
'appendTo',
|
|
745
751
|
'callOnFunctions',
|
|
746
752
|
'catchEventHandlerExceptions',
|
|
753
|
+
'centered',
|
|
747
754
|
'clearSelectionOnEmptySpaceClick',
|
|
748
755
|
'cls',
|
|
749
756
|
'collapsibleGroups',
|
package/src/BryntumMenu.tsx
CHANGED
|
@@ -34,6 +34,8 @@ export type BryntumMenuProps = {
|
|
|
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/Menu#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -97,9 +99,10 @@ export type BryntumMenuProps = {
|
|
|
97
99
|
catchEventHandlerExceptions? : boolean
|
|
98
100
|
/**
|
|
99
101
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
100
|
-
*
|
|
102
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Menu#config-centered)
|
|
103
|
+
* @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.
|
|
101
104
|
*/
|
|
102
|
-
centered? : boolean
|
|
105
|
+
centered? : boolean|object
|
|
103
106
|
/**
|
|
104
107
|
* Show a tool in the header to close this Popup.
|
|
105
108
|
* The tool is available in the [tools](https://bryntum.com/products/core/docs/api/Core/widget/mixin/Toolable#property-tools) object
|
|
@@ -329,10 +332,14 @@ export type BryntumMenuProps = {
|
|
|
329
332
|
inputFieldAlign? : 'start'|'end'
|
|
330
333
|
/**
|
|
331
334
|
* 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.
|
|
335
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
336
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Menu#config-insertBefore)
|
|
332
337
|
*/
|
|
333
338
|
insertBefore? : HTMLElement|string
|
|
334
339
|
/**
|
|
335
340
|
* 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.
|
|
341
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
342
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Menu#config-insertFirst)
|
|
336
343
|
*/
|
|
337
344
|
insertFirst? : HTMLElement|string
|
|
338
345
|
/**
|
|
@@ -358,7 +365,7 @@ export type BryntumMenuProps = {
|
|
|
358
365
|
*/
|
|
359
366
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
360
367
|
/**
|
|
361
|
-
* Sets `labelWidth
|
|
368
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
362
369
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Menu#config-labelWidth)
|
|
363
370
|
*/
|
|
364
371
|
labelWidth? : number|null
|
|
@@ -551,7 +558,7 @@ export type BryntumMenuProps = {
|
|
|
551
558
|
rtl? : boolean
|
|
552
559
|
/**
|
|
553
560
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
554
|
-
* Valid values:
|
|
561
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
555
562
|
*/
|
|
556
563
|
scrollAction? : 'hide'|'realign'|null
|
|
557
564
|
/**
|
|
@@ -895,7 +902,6 @@ export class BryntumMenu extends React.Component<BryntumMenuProps> {
|
|
|
895
902
|
'bodyCls',
|
|
896
903
|
'border',
|
|
897
904
|
'bubbleEvents',
|
|
898
|
-
'centered',
|
|
899
905
|
'closable',
|
|
900
906
|
'closeAction',
|
|
901
907
|
'closeOnEscape',
|
|
@@ -968,6 +974,7 @@ export class BryntumMenu extends React.Component<BryntumMenuProps> {
|
|
|
968
974
|
'appendTo',
|
|
969
975
|
'callOnFunctions',
|
|
970
976
|
'catchEventHandlerExceptions',
|
|
977
|
+
'centered',
|
|
971
978
|
'cls',
|
|
972
979
|
'collapsed',
|
|
973
980
|
'column',
|
|
@@ -34,6 +34,8 @@ export type BryntumMonthPickerProps = {
|
|
|
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/MonthPicker#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -86,9 +88,10 @@ export type BryntumMonthPickerProps = {
|
|
|
86
88
|
catchEventHandlerExceptions? : boolean
|
|
87
89
|
/**
|
|
88
90
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
89
|
-
*
|
|
91
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#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.
|
|
90
93
|
*/
|
|
91
|
-
centered? : boolean
|
|
94
|
+
centered? : boolean|object
|
|
92
95
|
/**
|
|
93
96
|
* Custom CSS classes to add to element.
|
|
94
97
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -184,7 +187,7 @@ export type BryntumMonthPickerProps = {
|
|
|
184
187
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
185
188
|
/**
|
|
186
189
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
187
|
-
* 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`
|
|
188
191
|
* property which controls when a drag should start.
|
|
189
192
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-draggable)
|
|
190
193
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -291,10 +294,14 @@ export type BryntumMonthPickerProps = {
|
|
|
291
294
|
inputFieldAlign? : 'start'|'end'
|
|
292
295
|
/**
|
|
293
296
|
* 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.
|
|
297
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
298
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-insertBefore)
|
|
294
299
|
*/
|
|
295
300
|
insertBefore? : HTMLElement|string
|
|
296
301
|
/**
|
|
297
302
|
* 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.
|
|
303
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
304
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-insertFirst)
|
|
298
305
|
*/
|
|
299
306
|
insertFirst? : HTMLElement|string
|
|
300
307
|
/**
|
|
@@ -320,7 +327,7 @@ export type BryntumMonthPickerProps = {
|
|
|
320
327
|
*/
|
|
321
328
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
322
329
|
/**
|
|
323
|
-
* Sets `labelWidth
|
|
330
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
324
331
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-labelWidth)
|
|
325
332
|
*/
|
|
326
333
|
labelWidth? : number|null
|
|
@@ -490,7 +497,7 @@ export type BryntumMonthPickerProps = {
|
|
|
490
497
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
491
498
|
/**
|
|
492
499
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
493
|
-
* Valid values:
|
|
500
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
494
501
|
*/
|
|
495
502
|
scrollAction? : 'hide'|'realign'|null
|
|
496
503
|
/**
|
|
@@ -818,7 +825,6 @@ export class BryntumMonthPicker extends React.Component<BryntumMonthPickerProps>
|
|
|
818
825
|
'bodyCls',
|
|
819
826
|
'border',
|
|
820
827
|
'bubbleEvents',
|
|
821
|
-
'centered',
|
|
822
828
|
'collapsible',
|
|
823
829
|
'color',
|
|
824
830
|
'config',
|
|
@@ -882,6 +888,7 @@ export class BryntumMonthPicker extends React.Component<BryntumMonthPickerProps>
|
|
|
882
888
|
'appendTo',
|
|
883
889
|
'callOnFunctions',
|
|
884
890
|
'catchEventHandlerExceptions',
|
|
891
|
+
'centered',
|
|
885
892
|
'cls',
|
|
886
893
|
'collapsed',
|
|
887
894
|
'column',
|
|
@@ -34,6 +34,8 @@ export type BryntumNumberFieldProps = {
|
|
|
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/NumberField#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -80,9 +82,10 @@ export type BryntumNumberFieldProps = {
|
|
|
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/NumberField#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
|
* Controls how change events are triggered when stepping the value up or down using either spinners or
|
|
88
91
|
* arrow keys.
|
|
@@ -185,7 +188,7 @@ export type BryntumNumberFieldProps = {
|
|
|
185
188
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
186
189
|
/**
|
|
187
190
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
188
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
191
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
189
192
|
* property which controls when a drag should start.
|
|
190
193
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/NumberField#config-draggable)
|
|
191
194
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -310,10 +313,14 @@ export type BryntumNumberFieldProps = {
|
|
|
310
313
|
inputWidth? : string|number
|
|
311
314
|
/**
|
|
312
315
|
* 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.
|
|
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/NumberField#config-insertBefore)
|
|
313
318
|
*/
|
|
314
319
|
insertBefore? : HTMLElement|string
|
|
315
320
|
/**
|
|
316
321
|
* 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.
|
|
322
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
323
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/NumberField#config-insertFirst)
|
|
317
324
|
*/
|
|
318
325
|
insertFirst? : HTMLElement|string
|
|
319
326
|
/**
|
|
@@ -519,7 +526,7 @@ export type BryntumNumberFieldProps = {
|
|
|
519
526
|
rtl? : boolean
|
|
520
527
|
/**
|
|
521
528
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
522
|
-
* Valid values:
|
|
529
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
523
530
|
*/
|
|
524
531
|
scrollAction? : 'hide'|'realign'|null
|
|
525
532
|
/**
|
|
@@ -808,7 +815,6 @@ export class BryntumNumberField extends React.Component<BryntumNumberFieldProps>
|
|
|
808
815
|
'autoComplete',
|
|
809
816
|
'autoSelect',
|
|
810
817
|
'bubbleEvents',
|
|
811
|
-
'centered',
|
|
812
818
|
'changeOnSpin',
|
|
813
819
|
'checkValidity',
|
|
814
820
|
'clearable',
|
|
@@ -882,6 +888,7 @@ export class BryntumNumberField extends React.Component<BryntumNumberFieldProps>
|
|
|
882
888
|
'badge',
|
|
883
889
|
'callOnFunctions',
|
|
884
890
|
'catchEventHandlerExceptions',
|
|
891
|
+
'centered',
|
|
885
892
|
'cls',
|
|
886
893
|
'column',
|
|
887
894
|
'dataset',
|
|
@@ -34,6 +34,8 @@ export type BryntumPagingToolbarProps = {
|
|
|
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/PagingToolbar#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -75,9 +77,10 @@ export type BryntumPagingToolbarProps = {
|
|
|
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/PagingToolbar#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
|
* Custom CSS classes to add to element.
|
|
83
86
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -163,7 +166,7 @@ export type BryntumPagingToolbarProps = {
|
|
|
163
166
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
164
167
|
/**
|
|
165
168
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
166
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
169
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
167
170
|
* property which controls when a drag should start.
|
|
168
171
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/PagingToolbar#config-draggable)
|
|
169
172
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -242,10 +245,14 @@ export type BryntumPagingToolbarProps = {
|
|
|
242
245
|
inputFieldAlign? : 'start'|'end'
|
|
243
246
|
/**
|
|
244
247
|
* 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.
|
|
248
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
249
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/PagingToolbar#config-insertBefore)
|
|
245
250
|
*/
|
|
246
251
|
insertBefore? : HTMLElement|string
|
|
247
252
|
/**
|
|
248
253
|
* 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.
|
|
254
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
255
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/PagingToolbar#config-insertFirst)
|
|
249
256
|
*/
|
|
250
257
|
insertFirst? : HTMLElement|string
|
|
251
258
|
/**
|
|
@@ -271,7 +278,7 @@ export type BryntumPagingToolbarProps = {
|
|
|
271
278
|
*/
|
|
272
279
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
273
280
|
/**
|
|
274
|
-
* Sets `labelWidth
|
|
281
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
275
282
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/PagingToolbar#config-labelWidth)
|
|
276
283
|
*/
|
|
277
284
|
labelWidth? : number|null
|
|
@@ -445,7 +452,7 @@ export type BryntumPagingToolbarProps = {
|
|
|
445
452
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
446
453
|
/**
|
|
447
454
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
448
|
-
* Valid values:
|
|
455
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
449
456
|
*/
|
|
450
457
|
scrollAction? : 'hide'|'realign'|null
|
|
451
458
|
/**
|
|
@@ -715,7 +722,6 @@ export class BryntumPagingToolbar extends React.Component<BryntumPagingToolbarPr
|
|
|
715
722
|
'autoUpdateRecord',
|
|
716
723
|
'border',
|
|
717
724
|
'bubbleEvents',
|
|
718
|
-
'centered',
|
|
719
725
|
'color',
|
|
720
726
|
'config',
|
|
721
727
|
'constrainTo',
|
|
@@ -771,6 +777,7 @@ export class BryntumPagingToolbar extends React.Component<BryntumPagingToolbarPr
|
|
|
771
777
|
'appendTo',
|
|
772
778
|
'callOnFunctions',
|
|
773
779
|
'catchEventHandlerExceptions',
|
|
780
|
+
'centered',
|
|
774
781
|
'cls',
|
|
775
782
|
'column',
|
|
776
783
|
'content',
|
package/src/BryntumPanel.tsx
CHANGED
|
@@ -34,6 +34,8 @@ export type BryntumPanelProps = {
|
|
|
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/Panel#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -86,9 +88,10 @@ export type BryntumPanelProps = {
|
|
|
86
88
|
catchEventHandlerExceptions? : boolean
|
|
87
89
|
/**
|
|
88
90
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
89
|
-
*
|
|
91
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Panel#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.
|
|
90
93
|
*/
|
|
91
|
-
centered? : boolean
|
|
94
|
+
centered? : boolean|object
|
|
92
95
|
/**
|
|
93
96
|
* Custom CSS classes to add to element.
|
|
94
97
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -184,7 +187,7 @@ export type BryntumPanelProps = {
|
|
|
184
187
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
185
188
|
/**
|
|
186
189
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
187
|
-
* 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`
|
|
188
191
|
* property which controls when a drag should start.
|
|
189
192
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Panel#config-draggable)
|
|
190
193
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -291,10 +294,14 @@ export type BryntumPanelProps = {
|
|
|
291
294
|
inputFieldAlign? : 'start'|'end'
|
|
292
295
|
/**
|
|
293
296
|
* 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.
|
|
297
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
298
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Panel#config-insertBefore)
|
|
294
299
|
*/
|
|
295
300
|
insertBefore? : HTMLElement|string
|
|
296
301
|
/**
|
|
297
302
|
* 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.
|
|
303
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
304
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Panel#config-insertFirst)
|
|
298
305
|
*/
|
|
299
306
|
insertFirst? : HTMLElement|string
|
|
300
307
|
/**
|
|
@@ -320,7 +327,7 @@ export type BryntumPanelProps = {
|
|
|
320
327
|
*/
|
|
321
328
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
322
329
|
/**
|
|
323
|
-
* Sets `labelWidth
|
|
330
|
+
* Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
|
|
324
331
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Panel#config-labelWidth)
|
|
325
332
|
*/
|
|
326
333
|
labelWidth? : number|null
|
|
@@ -486,7 +493,7 @@ export type BryntumPanelProps = {
|
|
|
486
493
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
487
494
|
/**
|
|
488
495
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
489
|
-
* Valid values:
|
|
496
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
490
497
|
*/
|
|
491
498
|
scrollAction? : 'hide'|'realign'|null
|
|
492
499
|
/**
|
|
@@ -800,7 +807,6 @@ export class BryntumPanel extends React.Component<BryntumPanelProps> {
|
|
|
800
807
|
'bodyCls',
|
|
801
808
|
'border',
|
|
802
809
|
'bubbleEvents',
|
|
803
|
-
'centered',
|
|
804
810
|
'collapsible',
|
|
805
811
|
'color',
|
|
806
812
|
'config',
|
|
@@ -864,6 +870,7 @@ export class BryntumPanel extends React.Component<BryntumPanelProps> {
|
|
|
864
870
|
'appendTo',
|
|
865
871
|
'callOnFunctions',
|
|
866
872
|
'catchEventHandlerExceptions',
|
|
873
|
+
'centered',
|
|
867
874
|
'cls',
|
|
868
875
|
'collapsed',
|
|
869
876
|
'column',
|
|
@@ -34,6 +34,8 @@ export type BryntumPasswordFieldProps = {
|
|
|
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/PasswordField#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -80,9 +82,10 @@ export type BryntumPasswordFieldProps = {
|
|
|
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/PasswordField#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 BryntumPasswordFieldProps = {
|
|
|
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/PasswordField#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 BryntumPasswordFieldProps = {
|
|
|
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/PasswordField#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/PasswordField#config-insertFirst)
|
|
302
309
|
*/
|
|
303
310
|
insertFirst? : HTMLElement|string
|
|
304
311
|
/**
|
|
@@ -483,7 +490,7 @@ export type BryntumPasswordFieldProps = {
|
|
|
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
|
/**
|
|
@@ -760,7 +767,6 @@ export class BryntumPasswordField extends React.Component<BryntumPasswordFieldPr
|
|
|
760
767
|
'autoComplete',
|
|
761
768
|
'autoSelect',
|
|
762
769
|
'bubbleEvents',
|
|
763
|
-
'centered',
|
|
764
770
|
'checkValidity',
|
|
765
771
|
'clearable',
|
|
766
772
|
'color',
|
|
@@ -828,6 +834,7 @@ export class BryntumPasswordField extends React.Component<BryntumPasswordFieldPr
|
|
|
828
834
|
'badge',
|
|
829
835
|
'callOnFunctions',
|
|
830
836
|
'catchEventHandlerExceptions',
|
|
837
|
+
'centered',
|
|
831
838
|
'cls',
|
|
832
839
|
'column',
|
|
833
840
|
'dataset',
|
|
@@ -34,6 +34,8 @@ export type BryntumProgressBarProps = {
|
|
|
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/ProgressBar#config-appendTo)
|
|
37
39
|
*/
|
|
38
40
|
appendTo? : HTMLElement|string
|
|
39
41
|
/**
|
|
@@ -67,9 +69,10 @@ export type BryntumProgressBarProps = {
|
|
|
67
69
|
catchEventHandlerExceptions? : boolean
|
|
68
70
|
/**
|
|
69
71
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
70
|
-
*
|
|
72
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#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.
|
|
71
74
|
*/
|
|
72
|
-
centered? : boolean
|
|
75
|
+
centered? : boolean|object
|
|
73
76
|
/**
|
|
74
77
|
* Custom CSS classes to add to element.
|
|
75
78
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -141,7 +144,7 @@ export type BryntumProgressBarProps = {
|
|
|
141
144
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
142
145
|
/**
|
|
143
146
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
144
|
-
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a
|
|
147
|
+
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
|
|
145
148
|
* property which controls when a drag should start.
|
|
146
149
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-draggable)
|
|
147
150
|
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
@@ -203,10 +206,14 @@ export type BryntumProgressBarProps = {
|
|
|
203
206
|
ignoreParentReadOnly? : boolean
|
|
204
207
|
/**
|
|
205
208
|
* 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.
|
|
209
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
210
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-insertBefore)
|
|
206
211
|
*/
|
|
207
212
|
insertBefore? : HTMLElement|string
|
|
208
213
|
/**
|
|
209
214
|
* 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.
|
|
215
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
216
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ProgressBar#config-insertFirst)
|
|
210
217
|
*/
|
|
211
218
|
insertFirst? : HTMLElement|string
|
|
212
219
|
/**
|
|
@@ -352,7 +359,7 @@ export type BryntumProgressBarProps = {
|
|
|
352
359
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
353
360
|
/**
|
|
354
361
|
* Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
|
|
355
|
-
* Valid values:
|
|
362
|
+
* Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
|
|
356
363
|
*/
|
|
357
364
|
scrollAction? : 'hide'|'realign'|null
|
|
358
365
|
/**
|
|
@@ -563,7 +570,6 @@ export class BryntumProgressBar extends React.Component<BryntumProgressBarProps>
|
|
|
563
570
|
'ariaDescription',
|
|
564
571
|
'ariaLabel',
|
|
565
572
|
'bubbleEvents',
|
|
566
|
-
'centered',
|
|
567
573
|
'config',
|
|
568
574
|
'constrainTo',
|
|
569
575
|
'contentElementCls',
|
|
@@ -607,6 +613,7 @@ export class BryntumProgressBar extends React.Component<BryntumProgressBarProps>
|
|
|
607
613
|
'appendTo',
|
|
608
614
|
'callOnFunctions',
|
|
609
615
|
'catchEventHandlerExceptions',
|
|
616
|
+
'centered',
|
|
610
617
|
'cls',
|
|
611
618
|
'color',
|
|
612
619
|
'column',
|