@bryntum/core-react-thin 7.2.4 → 7.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/BryntumBooleanCombo.d.ts +262 -0
- package/lib/BryntumBooleanCombo.js +205 -0
- package/lib/BryntumBooleanCombo.js.map +1 -0
- package/lib/BryntumButton.d.ts +9 -17
- package/lib/BryntumButton.js +1 -2
- package/lib/BryntumButton.js.map +1 -1
- package/lib/BryntumButtonGroup.d.ts +9 -16
- package/lib/BryntumButtonGroup.js +2 -5
- package/lib/BryntumButtonGroup.js.map +1 -1
- package/lib/BryntumChatPanel.d.ts +19 -23
- package/lib/BryntumChatPanel.js +7 -6
- package/lib/BryntumChatPanel.js.map +1 -1
- package/lib/BryntumCheckbox.d.ts +10 -17
- package/lib/BryntumCheckbox.js +2 -2
- package/lib/BryntumCheckbox.js.map +1 -1
- package/lib/BryntumCheckboxGroup.d.ts +12 -24
- package/lib/BryntumCheckboxGroup.js +2 -6
- package/lib/BryntumCheckboxGroup.js.map +1 -1
- package/lib/BryntumChipView.d.ts +8 -16
- package/lib/BryntumChipView.js +1 -2
- package/lib/BryntumChipView.js.map +1 -1
- package/lib/BryntumCodeEditor.d.ts +12 -23
- package/lib/BryntumCodeEditor.js +2 -5
- package/lib/BryntumCodeEditor.js.map +1 -1
- package/lib/BryntumColorField.d.ts +9 -16
- package/lib/BryntumColorField.js +2 -2
- package/lib/BryntumColorField.js.map +1 -1
- package/lib/BryntumCombo.d.ts +12 -19
- package/lib/BryntumCombo.js +2 -2
- package/lib/BryntumCombo.js.map +1 -1
- package/lib/BryntumContainer.d.ts +8 -15
- package/lib/BryntumContainer.js +2 -5
- package/lib/BryntumContainer.js.map +1 -1
- package/lib/BryntumDateField.d.ts +9 -16
- package/lib/BryntumDateField.js +2 -2
- package/lib/BryntumDateField.js.map +1 -1
- package/lib/BryntumDatePicker.d.ts +12 -23
- package/lib/BryntumDatePicker.js +2 -5
- package/lib/BryntumDatePicker.js.map +1 -1
- package/lib/BryntumDateRangeField.d.ts +12 -19
- package/lib/BryntumDateRangeField.js +2 -2
- package/lib/BryntumDateRangeField.js.map +1 -1
- package/lib/BryntumDateTimeField.d.ts +9 -16
- package/lib/BryntumDateTimeField.js +2 -2
- package/lib/BryntumDateTimeField.js.map +1 -1
- package/lib/BryntumDemoCodeEditor.d.ts +12 -23
- package/lib/BryntumDemoCodeEditor.js +2 -5
- package/lib/BryntumDemoCodeEditor.js.map +1 -1
- package/lib/BryntumDisplayField.d.ts +9 -16
- package/lib/BryntumDisplayField.js +2 -2
- package/lib/BryntumDisplayField.js.map +1 -1
- package/lib/BryntumDurationField.d.ts +9 -16
- package/lib/BryntumDurationField.js +2 -2
- package/lib/BryntumDurationField.js.map +1 -1
- package/lib/BryntumEditor.d.ts +14 -24
- package/lib/BryntumEditor.js +2 -5
- package/lib/BryntumEditor.js.map +1 -1
- package/lib/BryntumFieldFilterPicker.d.ts +8 -15
- package/lib/BryntumFieldFilterPicker.js +2 -5
- package/lib/BryntumFieldFilterPicker.js.map +1 -1
- package/lib/BryntumFieldFilterPickerGroup.d.ts +9 -16
- package/lib/BryntumFieldFilterPickerGroup.js +2 -5
- package/lib/BryntumFieldFilterPickerGroup.js.map +1 -1
- package/lib/BryntumFieldSet.d.ts +12 -24
- package/lib/BryntumFieldSet.js +2 -6
- package/lib/BryntumFieldSet.js.map +1 -1
- package/lib/BryntumFileField.d.ts +9 -16
- package/lib/BryntumFileField.js +2 -2
- package/lib/BryntumFileField.js.map +1 -1
- package/lib/BryntumFilePicker.d.ts +8 -15
- package/lib/BryntumFilePicker.js +2 -5
- package/lib/BryntumFilePicker.js.map +1 -1
- package/lib/BryntumFilterField.d.ts +9 -16
- package/lib/BryntumFilterField.js +2 -2
- package/lib/BryntumFilterField.js.map +1 -1
- package/lib/BryntumHint.d.ts +24 -33
- package/lib/BryntumHint.js +2 -5
- package/lib/BryntumHint.js.map +1 -1
- package/lib/BryntumLabel.d.ts +7 -15
- package/lib/BryntumLabel.js +1 -2
- package/lib/BryntumLabel.js.map +1 -1
- package/lib/BryntumList.d.ts +8 -16
- package/lib/BryntumList.js +1 -2
- package/lib/BryntumList.js.map +1 -1
- package/lib/BryntumMenu.d.ts +23 -28
- package/lib/BryntumMenu.js +2 -6
- package/lib/BryntumMenu.js.map +1 -1
- package/lib/BryntumMonthPicker.d.ts +12 -23
- package/lib/BryntumMonthPicker.js +2 -5
- package/lib/BryntumMonthPicker.js.map +1 -1
- package/lib/BryntumNumberField.d.ts +9 -16
- package/lib/BryntumNumberField.js +2 -2
- package/lib/BryntumNumberField.js.map +1 -1
- package/lib/BryntumPagingToolbar.d.ts +12 -19
- package/lib/BryntumPagingToolbar.js +2 -5
- package/lib/BryntumPagingToolbar.js.map +1 -1
- package/lib/BryntumPanel.d.ts +12 -23
- package/lib/BryntumPanel.js +2 -5
- package/lib/BryntumPanel.js.map +1 -1
- package/lib/BryntumPasswordField.d.ts +9 -16
- package/lib/BryntumPasswordField.js +2 -2
- package/lib/BryntumPasswordField.js.map +1 -1
- package/lib/BryntumProgressBar.d.ts +7 -15
- package/lib/BryntumProgressBar.js +1 -2
- package/lib/BryntumProgressBar.js.map +1 -1
- package/lib/BryntumRadio.d.ts +10 -17
- package/lib/BryntumRadio.js +2 -2
- package/lib/BryntumRadio.js.map +1 -1
- package/lib/BryntumRadioGroup.d.ts +12 -24
- package/lib/BryntumRadioGroup.js +2 -6
- package/lib/BryntumRadioGroup.js.map +1 -1
- package/lib/BryntumSlideToggle.d.ts +10 -17
- package/lib/BryntumSlideToggle.js +2 -2
- package/lib/BryntumSlideToggle.js.map +1 -1
- package/lib/BryntumSlider.d.ts +8 -15
- package/lib/BryntumSlider.js +2 -2
- package/lib/BryntumSlider.js.map +1 -1
- package/lib/BryntumSplitter.d.ts +7 -15
- package/lib/BryntumSplitter.js +1 -2
- package/lib/BryntumSplitter.js.map +1 -1
- package/lib/BryntumTabPanel.d.ts +13 -24
- package/lib/BryntumTabPanel.js +2 -5
- package/lib/BryntumTabPanel.js.map +1 -1
- package/lib/BryntumTextAreaField.d.ts +10 -16
- package/lib/BryntumTextAreaField.js +3 -2
- package/lib/BryntumTextAreaField.js.map +1 -1
- package/lib/BryntumTextAreaPickerField.d.ts +10 -17
- package/lib/BryntumTextAreaPickerField.js +2 -2
- package/lib/BryntumTextAreaPickerField.js.map +1 -1
- package/lib/BryntumTextField.d.ts +9 -16
- package/lib/BryntumTextField.js +2 -2
- package/lib/BryntumTextField.js.map +1 -1
- package/lib/BryntumTimeField.d.ts +10 -17
- package/lib/BryntumTimeField.js +2 -2
- package/lib/BryntumTimeField.js.map +1 -1
- package/lib/BryntumTimePicker.d.ts +8 -15
- package/lib/BryntumTimePicker.js +2 -5
- package/lib/BryntumTimePicker.js.map +1 -1
- package/lib/BryntumToolbar.d.ts +12 -19
- package/lib/BryntumToolbar.js +2 -5
- package/lib/BryntumToolbar.js.map +1 -1
- package/lib/BryntumWidget.d.ts +7 -15
- package/lib/BryntumWidget.js +1 -2
- package/lib/BryntumWidget.js.map +1 -1
- package/lib/BryntumYearPicker.d.ts +12 -23
- package/lib/BryntumYearPicker.js +2 -5
- package/lib/BryntumYearPicker.js.map +1 -1
- package/lib/WrapperHelper.js +2 -2
- package/lib/WrapperHelper.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/BryntumBooleanCombo.tsx +1190 -0
- package/src/BryntumButton.tsx +72 -118
- package/src/BryntumButtonGroup.tsx +79 -124
- package/src/BryntumChatPanel.tsx +142 -172
- package/src/BryntumCheckbox.tsx +85 -119
- package/src/BryntumCheckboxGroup.tsx +112 -182
- package/src/BryntumChipView.tsx +67 -107
- package/src/BryntumCodeEditor.tsx +109 -170
- package/src/BryntumColorField.tsx +84 -118
- package/src/BryntumCombo.tsx +103 -153
- package/src/BryntumContainer.tsx +79 -125
- package/src/BryntumDateField.tsx +91 -124
- package/src/BryntumDatePicker.tsx +122 -196
- package/src/BryntumDateRangeField.tsx +90 -127
- package/src/BryntumDateTimeField.tsx +84 -118
- package/src/BryntumDemoCodeEditor.tsx +109 -170
- package/src/BryntumDisplayField.tsx +85 -120
- package/src/BryntumDurationField.tsx +91 -126
- package/src/BryntumEditor.tsx +95 -145
- package/src/BryntumFieldFilterPicker.tsx +81 -129
- package/src/BryntumFieldFilterPickerGroup.tsx +84 -134
- package/src/BryntumFieldSet.tsx +108 -175
- package/src/BryntumFileField.tsx +84 -118
- package/src/BryntumFilePicker.tsx +79 -125
- package/src/BryntumFilterField.tsx +87 -124
- package/src/BryntumHint.tsx +136 -193
- package/src/BryntumLabel.tsx +60 -96
- package/src/BryntumList.tsx +64 -103
- package/src/BryntumMenu.tsx +131 -191
- package/src/BryntumMonthPicker.tsx +109 -170
- package/src/BryntumNumberField.tsx +88 -122
- package/src/BryntumPagingToolbar.tsx +84 -131
- package/src/BryntumPanel.tsx +109 -170
- package/src/BryntumPasswordField.tsx +84 -118
- package/src/BryntumProgressBar.tsx +59 -94
- package/src/BryntumRadio.tsx +85 -119
- package/src/BryntumRadioGroup.tsx +112 -181
- package/src/BryntumSlideToggle.tsx +85 -119
- package/src/BryntumSlider.tsx +68 -102
- package/src/BryntumSplitter.tsx +62 -100
- package/src/BryntumTabPanel.tsx +111 -173
- package/src/BryntumTextAreaField.tsx +92 -120
- package/src/BryntumTextAreaPickerField.tsx +86 -121
- package/src/BryntumTextField.tsx +85 -120
- package/src/BryntumTimeField.tsx +90 -121
- package/src/BryntumTimePicker.tsx +79 -125
- package/src/BryntumToolbar.tsx +84 -131
- package/src/BryntumWidget.tsx +60 -96
- package/src/BryntumYearPicker.tsx +110 -172
- package/src/WrapperHelper.tsx +2 -2
- package/src/index.ts +1 -0
package/src/BryntumSplitter.tsx
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
5
5
|
import React, { RefObject } from 'react';
|
|
6
|
-
import { AlignSpec, Base, Color, DomConfig, KeyMapConfig, MaskConfig, Rectangle, Scroller, ScrollerConfig, Splitter, SplitterListeners, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
6
|
+
import { AlignSpec, Base, Color, DomConfig, KeyMapConfig, MaskConfig, ReactJSX, Rectangle, Scroller, ScrollerConfig, Splitter, SplitterListeners, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
7
7
|
|
|
8
8
|
import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
|
|
9
9
|
|
|
@@ -12,14 +12,12 @@ export type BryntumSplitterProps = {
|
|
|
12
12
|
/**
|
|
13
13
|
* Element (or element id) to adopt as this Widget's encapsulating element. The widget's
|
|
14
14
|
* content will be placed inside this element.
|
|
15
|
-
* ...
|
|
16
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-adopt)
|
|
15
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-adopt)
|
|
17
16
|
*/
|
|
18
17
|
adopt? : HTMLElement|string
|
|
19
18
|
/**
|
|
20
19
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
21
|
-
* ...
|
|
22
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-align)
|
|
20
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-align)
|
|
23
21
|
*/
|
|
24
22
|
align? : AlignSpec|string
|
|
25
23
|
/**
|
|
@@ -41,35 +39,30 @@ export type BryntumSplitterProps = {
|
|
|
41
39
|
/**
|
|
42
40
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
|
|
43
41
|
* into an element which will be linked using the `aria-describedby` attribute.
|
|
44
|
-
* ...
|
|
45
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-ariaDescription)
|
|
42
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-ariaDescription)
|
|
46
43
|
*/
|
|
47
44
|
ariaDescription? : string
|
|
48
45
|
/**
|
|
49
46
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
|
|
50
47
|
* the `aria-label` attribute.
|
|
51
|
-
* ...
|
|
52
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-ariaLabel)
|
|
48
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-ariaLabel)
|
|
53
49
|
*/
|
|
54
50
|
ariaLabel? : string
|
|
55
51
|
/**
|
|
56
52
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
57
53
|
* hierarchy when triggered.
|
|
58
|
-
* ...
|
|
59
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-bubbleEvents)
|
|
54
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-bubbleEvents)
|
|
60
55
|
*/
|
|
61
56
|
bubbleEvents? : object
|
|
62
57
|
/**
|
|
63
58
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
64
|
-
* ...
|
|
65
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-callOnFunctions)
|
|
59
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-callOnFunctions)
|
|
66
60
|
*/
|
|
67
61
|
callOnFunctions? : boolean
|
|
68
62
|
/**
|
|
69
63
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
70
64
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
71
|
-
* ...
|
|
72
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-catchEventHandlerExceptions)
|
|
65
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-catchEventHandlerExceptions)
|
|
73
66
|
*/
|
|
74
67
|
catchEventHandlerExceptions? : boolean
|
|
75
68
|
/**
|
|
@@ -81,15 +74,13 @@ export type BryntumSplitterProps = {
|
|
|
81
74
|
* Custom CSS classes to add to element.
|
|
82
75
|
* May be specified as a space separated string, or as an object in which property names
|
|
83
76
|
* with truthy values are used as the class names:
|
|
84
|
-
* ...
|
|
85
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-cls)
|
|
77
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-cls)
|
|
86
78
|
*/
|
|
87
79
|
cls? : string|object
|
|
88
80
|
/**
|
|
89
81
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
90
82
|
* `style` block.
|
|
91
|
-
* ...
|
|
92
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-color)
|
|
83
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-color)
|
|
93
84
|
*/
|
|
94
85
|
color? : Color
|
|
95
86
|
/**
|
|
@@ -113,8 +104,7 @@ export type BryntumSplitterProps = {
|
|
|
113
104
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
114
105
|
* May be specified as a space separated string, or as an object in which property names
|
|
115
106
|
* with truthy values are used as the class names:
|
|
116
|
-
* ...
|
|
117
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-contentElementCls)
|
|
107
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-contentElementCls)
|
|
118
108
|
*/
|
|
119
109
|
contentElementCls? : string|object
|
|
120
110
|
/**
|
|
@@ -132,16 +122,15 @@ export type BryntumSplitterProps = {
|
|
|
132
122
|
*/
|
|
133
123
|
defaultBindProperty? : string
|
|
134
124
|
/**
|
|
135
|
-
* Check for CSS compatibility issues
|
|
136
|
-
*
|
|
137
|
-
* [
|
|
125
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
126
|
+
* checks:
|
|
127
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-detectCSSCompatibilityIssues)
|
|
138
128
|
*/
|
|
139
129
|
detectCSSCompatibilityIssues? : boolean
|
|
140
130
|
/**
|
|
141
131
|
* Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget
|
|
142
132
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
143
|
-
* ...
|
|
144
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-disabled)
|
|
133
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-disabled)
|
|
145
134
|
*/
|
|
146
135
|
disabled? : boolean|'inert'
|
|
147
136
|
/**
|
|
@@ -149,25 +138,21 @@ export type BryntumSplitterProps = {
|
|
|
149
138
|
* [strips collection](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
150
139
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
151
140
|
* body. Such widgets are called "edge strips".
|
|
152
|
-
* ...
|
|
153
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-dock)
|
|
141
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-dock)
|
|
154
142
|
*/
|
|
155
143
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
156
144
|
/**
|
|
157
145
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
158
146
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
159
147
|
* property which controls when a drag should start.
|
|
160
|
-
* ...
|
|
161
|
-
*
|
|
148
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-draggable)
|
|
149
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
162
150
|
*/
|
|
163
|
-
draggable? : boolean|
|
|
164
|
-
handleSelector?: string
|
|
165
|
-
}
|
|
151
|
+
draggable? : boolean|object
|
|
166
152
|
/**
|
|
167
153
|
* An object specifying attributes to assign to the root element of this widget.
|
|
168
154
|
* Set `null` value to attribute to remove it.
|
|
169
|
-
* ...
|
|
170
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-elementAttributes)
|
|
155
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-elementAttributes)
|
|
171
156
|
*/
|
|
172
157
|
elementAttributes? : Record<string, string|null>
|
|
173
158
|
extraData? : any
|
|
@@ -196,18 +181,15 @@ export type BryntumSplitterProps = {
|
|
|
196
181
|
hidden? : boolean
|
|
197
182
|
/**
|
|
198
183
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
199
|
-
* ...
|
|
200
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-hideAnimation)
|
|
184
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-hideAnimation)
|
|
201
185
|
*/
|
|
202
186
|
hideAnimation? : boolean|object
|
|
203
187
|
/**
|
|
204
188
|
* The HTML to display initially or a function returning the markup (called at widget construction time).
|
|
205
|
-
* ...
|
|
206
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-html)
|
|
189
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-html)
|
|
207
190
|
* @param {Core.widget.Widget} widget The calling Widget
|
|
208
|
-
* @returns {string}
|
|
209
191
|
*/
|
|
210
|
-
html? : string|((widget: Widget) =>
|
|
192
|
+
html? : string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX
|
|
211
193
|
/**
|
|
212
194
|
* The CSS class(es) to add when HTML content is being applied to this widget.
|
|
213
195
|
*/
|
|
@@ -218,8 +200,7 @@ export type BryntumSplitterProps = {
|
|
|
218
200
|
id? : string
|
|
219
201
|
/**
|
|
220
202
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
221
|
-
* ...
|
|
222
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-ignoreParentReadOnly)
|
|
203
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-ignoreParentReadOnly)
|
|
223
204
|
*/
|
|
224
205
|
ignoreParentReadOnly? : boolean
|
|
225
206
|
/**
|
|
@@ -234,22 +215,19 @@ export type BryntumSplitterProps = {
|
|
|
234
215
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
235
216
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
236
217
|
* are the name of the instance method to call when the keystroke is received.
|
|
237
|
-
* ...
|
|
238
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-keyMap)
|
|
218
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-keyMap)
|
|
239
219
|
*/
|
|
240
220
|
keyMap? : Record<string, KeyMapConfig>
|
|
241
221
|
/**
|
|
242
222
|
* The listener set for this object.
|
|
243
|
-
* ...
|
|
244
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-listeners)
|
|
223
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-listeners)
|
|
245
224
|
*/
|
|
246
225
|
listeners? : SplitterListeners
|
|
247
226
|
/**
|
|
248
227
|
* A class translations of which are used for translating this entity.
|
|
249
228
|
* This is often used when translations of an item are defined on its container class.
|
|
250
229
|
* For example:
|
|
251
|
-
* ...
|
|
252
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-localeClass)
|
|
230
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-localeClass)
|
|
253
231
|
*/
|
|
254
232
|
localeClass? : typeof Base
|
|
255
233
|
/**
|
|
@@ -261,8 +239,7 @@ export type BryntumSplitterProps = {
|
|
|
261
239
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
262
240
|
* you could use 'localeKey' meta configuration.
|
|
263
241
|
* Example:
|
|
264
|
-
* ...
|
|
265
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-localizableProperties)
|
|
242
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-localizableProperties)
|
|
266
243
|
*/
|
|
267
244
|
localizableProperties? : string[]
|
|
268
245
|
/**
|
|
@@ -288,8 +265,7 @@ export type BryntumSplitterProps = {
|
|
|
288
265
|
maxHeight? : string|number
|
|
289
266
|
/**
|
|
290
267
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
291
|
-
* ...
|
|
292
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-maximizeOnMobile)
|
|
268
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-maximizeOnMobile)
|
|
293
269
|
*/
|
|
294
270
|
maximizeOnMobile? : number|string
|
|
295
271
|
/**
|
|
@@ -311,24 +287,20 @@ export type BryntumSplitterProps = {
|
|
|
311
287
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
312
288
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
313
289
|
* layout.
|
|
314
|
-
* ...
|
|
315
|
-
*
|
|
290
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-monitorResize)
|
|
291
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
316
292
|
*/
|
|
317
|
-
monitorResize? : boolean|
|
|
318
|
-
immediate?: boolean
|
|
319
|
-
}
|
|
293
|
+
monitorResize? : boolean|object
|
|
320
294
|
/**
|
|
321
295
|
* The splitter's orientation, configurable with 'auto', 'horizontal' or 'vertical'.
|
|
322
|
-
* ...
|
|
323
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-orientation)
|
|
296
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-orientation)
|
|
324
297
|
*/
|
|
325
298
|
orientation? : 'auto'|'horizontal'|'vertical'
|
|
326
299
|
/**
|
|
327
300
|
* Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement), but must
|
|
328
301
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
329
302
|
* widget's [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
330
|
-
* ...
|
|
331
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-positioned)
|
|
303
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-positioned)
|
|
332
304
|
*/
|
|
333
305
|
positioned? : boolean
|
|
334
306
|
/**
|
|
@@ -339,8 +311,7 @@ export type BryntumSplitterProps = {
|
|
|
339
311
|
/**
|
|
340
312
|
* Whether this widget is read-only. This is only valid if the widget is an input
|
|
341
313
|
* field, <strong>or contains input fields at any depth</strong>.
|
|
342
|
-
* ...
|
|
343
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-readOnly)
|
|
314
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-readOnly)
|
|
344
315
|
*/
|
|
345
316
|
readOnly? : boolean
|
|
346
317
|
relayStoreEvents? : boolean
|
|
@@ -348,23 +319,26 @@ export type BryntumSplitterProps = {
|
|
|
348
319
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
349
320
|
* [focusElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the
|
|
350
321
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
351
|
-
* ...
|
|
352
|
-
* [
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
322
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-ripple)
|
|
323
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
324
|
+
* @property {string} [color] A CSS color name or specification.
|
|
325
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
326
|
+
* @property {string} [clip] A string which describes how to clip the ripple if it is not to be clipped to the default element. Either the property of the widget to use as the clipping element, or a selector to allow clipping to the closest matching ancestor to the target element.
|
|
327
|
+
*/
|
|
328
|
+
ripple? : boolean|object
|
|
329
|
+
/**
|
|
330
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
331
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
332
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-role)
|
|
333
|
+
*/
|
|
334
|
+
role? : string
|
|
360
335
|
/**
|
|
361
336
|
* If you are rendering this widget to a shadow root inside a web component, set this config to the shadowRoot. If not inside a web component, set it to `document.body`
|
|
362
337
|
*/
|
|
363
338
|
rootElement? : ShadowRoot|HTMLElement
|
|
364
339
|
/**
|
|
365
340
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
366
|
-
* ...
|
|
367
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-rtl)
|
|
341
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-rtl)
|
|
368
342
|
*/
|
|
369
343
|
rtl? : boolean
|
|
370
344
|
/**
|
|
@@ -372,8 +346,7 @@ export type BryntumSplitterProps = {
|
|
|
372
346
|
* in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
|
|
373
347
|
* applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
|
|
374
348
|
* CSS overflow properties thus:
|
|
375
|
-
* ...
|
|
376
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-scrollable)
|
|
349
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-scrollable)
|
|
377
350
|
*/
|
|
378
351
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
379
352
|
/**
|
|
@@ -383,15 +356,13 @@ export type BryntumSplitterProps = {
|
|
|
383
356
|
scrollAction? : 'hide'|'realign'|null
|
|
384
357
|
/**
|
|
385
358
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
386
|
-
* ...
|
|
387
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-showAnimation)
|
|
359
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-showAnimation)
|
|
388
360
|
*/
|
|
389
361
|
showAnimation? : boolean|object
|
|
390
362
|
/**
|
|
391
363
|
* Set to `true` to show the splitter's collapse/expand buttons, or to 'start' or 'end' to only show
|
|
392
364
|
* buttons pointing to the previous or next element respectively.
|
|
393
|
-
* ...
|
|
394
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-showButtons)
|
|
365
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-showButtons)
|
|
395
366
|
*/
|
|
396
367
|
showButtons? : boolean|'start'|'end'
|
|
397
368
|
/**
|
|
@@ -406,8 +377,7 @@ export type BryntumSplitterProps = {
|
|
|
406
377
|
* A configuration for the [tab](https://bryntum.com/products/core/docs/api/Core/widget/Tab) created for this widget when it is placed in a
|
|
407
378
|
* [TabPanel](https://bryntum.com/products/core/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for
|
|
408
379
|
* this widget:
|
|
409
|
-
* ...
|
|
410
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-tab)
|
|
380
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-tab)
|
|
411
381
|
*/
|
|
412
382
|
tab? : boolean|TabConfig
|
|
413
383
|
/**
|
|
@@ -416,8 +386,7 @@ export type BryntumSplitterProps = {
|
|
|
416
386
|
tag? : string
|
|
417
387
|
/**
|
|
418
388
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
419
|
-
* ...
|
|
420
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-textAlign)
|
|
389
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-textAlign)
|
|
421
390
|
*/
|
|
422
391
|
textAlign? : 'left'|'center'|'right'|'start'|'end'
|
|
423
392
|
/**
|
|
@@ -426,8 +395,7 @@ export type BryntumSplitterProps = {
|
|
|
426
395
|
title? : string
|
|
427
396
|
/**
|
|
428
397
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
429
|
-
* ...
|
|
430
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-tooltip)
|
|
398
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-tooltip)
|
|
431
399
|
*/
|
|
432
400
|
tooltip? : string|TooltipConfig|null
|
|
433
401
|
type? : 'splitter'
|
|
@@ -435,8 +403,7 @@ export type BryntumSplitterProps = {
|
|
|
435
403
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
436
404
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
437
405
|
* values are used as the class names.
|
|
438
|
-
* ...
|
|
439
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-ui)
|
|
406
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-ui)
|
|
440
407
|
*/
|
|
441
408
|
ui? : string|object
|
|
442
409
|
/**
|
|
@@ -452,14 +419,12 @@ export type BryntumSplitterProps = {
|
|
|
452
419
|
width? : string|number
|
|
453
420
|
/**
|
|
454
421
|
* The x position for the widget.
|
|
455
|
-
* ...
|
|
456
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-x)
|
|
422
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-x)
|
|
457
423
|
*/
|
|
458
424
|
x? : number
|
|
459
425
|
/**
|
|
460
426
|
* The y position for the widget.
|
|
461
|
-
* ...
|
|
462
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-y)
|
|
427
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#config-y)
|
|
463
428
|
*/
|
|
464
429
|
y? : number
|
|
465
430
|
|
|
@@ -475,7 +440,7 @@ export type BryntumSplitterProps = {
|
|
|
475
440
|
* @param {object} event Event object
|
|
476
441
|
* @param {Core.widget.Widget} event.source The widget being hidden.
|
|
477
442
|
*/
|
|
478
|
-
onBeforeHide? : ((event: { source: Widget }) =>
|
|
443
|
+
onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
|
|
479
444
|
/**
|
|
480
445
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
481
446
|
* @param {object} event Event object
|
|
@@ -484,8 +449,7 @@ export type BryntumSplitterProps = {
|
|
|
484
449
|
onBeforeShow? : ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string
|
|
485
450
|
/**
|
|
486
451
|
* Fires when any other event is fired from the object.
|
|
487
|
-
* ...
|
|
488
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#event-catchAll)
|
|
452
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#event-catchAll)
|
|
489
453
|
* @param {object} event Event object
|
|
490
454
|
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
491
455
|
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
@@ -557,8 +521,7 @@ export type BryntumSplitterProps = {
|
|
|
557
521
|
/**
|
|
558
522
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
559
523
|
* achieves visibility.
|
|
560
|
-
* ...
|
|
561
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#event-paint)
|
|
524
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Splitter#event-paint)
|
|
562
525
|
* @param {object} event Event object
|
|
563
526
|
* @param {Core.widget.Widget} event.source The widget being painted.
|
|
564
527
|
* @param {boolean} event.firstPaint `true` if this is the first paint.
|
|
@@ -636,6 +599,7 @@ export class BryntumSplitter extends React.Component<BryntumSplitterProps> {
|
|
|
636
599
|
'preventTooltipOnTouch',
|
|
637
600
|
'relayStoreEvents',
|
|
638
601
|
'ripple',
|
|
602
|
+
'role',
|
|
639
603
|
'rootElement',
|
|
640
604
|
'scrollAction',
|
|
641
605
|
'showAnimation',
|
|
@@ -703,8 +667,6 @@ export class BryntumSplitter extends React.Component<BryntumSplitterProps> {
|
|
|
703
667
|
];
|
|
704
668
|
|
|
705
669
|
static propertyNames = [
|
|
706
|
-
'anchorSize',
|
|
707
|
-
'focusVisible',
|
|
708
670
|
'parent'
|
|
709
671
|
];
|
|
710
672
|
|