@bryntum/core-react-thin 7.2.4 → 7.3.0
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 +261 -0
- package/lib/BryntumBooleanCombo.js +204 -0
- package/lib/BryntumBooleanCombo.js.map +1 -0
- package/lib/BryntumButton.d.ts +6 -14
- package/lib/BryntumButton.js +1 -2
- package/lib/BryntumButton.js.map +1 -1
- package/lib/BryntumButtonGroup.d.ts +8 -15
- package/lib/BryntumButtonGroup.js +2 -5
- package/lib/BryntumButtonGroup.js.map +1 -1
- package/lib/BryntumChatPanel.d.ts +16 -20
- package/lib/BryntumChatPanel.js +7 -6
- package/lib/BryntumChatPanel.js.map +1 -1
- package/lib/BryntumCheckbox.d.ts +7 -15
- package/lib/BryntumCheckbox.js +1 -2
- package/lib/BryntumCheckbox.js.map +1 -1
- package/lib/BryntumCheckboxGroup.d.ts +9 -21
- package/lib/BryntumCheckboxGroup.js +2 -6
- package/lib/BryntumCheckboxGroup.js.map +1 -1
- package/lib/BryntumChipView.d.ts +6 -14
- package/lib/BryntumChipView.js +1 -2
- package/lib/BryntumChipView.js.map +1 -1
- package/lib/BryntumCodeEditor.d.ts +9 -20
- package/lib/BryntumCodeEditor.js +2 -5
- package/lib/BryntumCodeEditor.js.map +1 -1
- package/lib/BryntumColorField.d.ts +7 -15
- package/lib/BryntumColorField.js +1 -2
- package/lib/BryntumColorField.js.map +1 -1
- package/lib/BryntumCombo.d.ts +10 -18
- package/lib/BryntumCombo.js +1 -2
- package/lib/BryntumCombo.js.map +1 -1
- package/lib/BryntumContainer.d.ts +7 -14
- package/lib/BryntumContainer.js +2 -5
- package/lib/BryntumContainer.js.map +1 -1
- package/lib/BryntumDateField.d.ts +7 -15
- package/lib/BryntumDateField.js +1 -2
- package/lib/BryntumDateField.js.map +1 -1
- package/lib/BryntumDatePicker.d.ts +9 -20
- package/lib/BryntumDatePicker.js +2 -5
- package/lib/BryntumDatePicker.js.map +1 -1
- package/lib/BryntumDateRangeField.d.ts +10 -18
- package/lib/BryntumDateRangeField.js +1 -2
- package/lib/BryntumDateRangeField.js.map +1 -1
- package/lib/BryntumDateTimeField.d.ts +7 -15
- package/lib/BryntumDateTimeField.js +1 -2
- package/lib/BryntumDateTimeField.js.map +1 -1
- package/lib/BryntumDemoCodeEditor.d.ts +9 -20
- package/lib/BryntumDemoCodeEditor.js +2 -5
- package/lib/BryntumDemoCodeEditor.js.map +1 -1
- package/lib/BryntumDisplayField.d.ts +7 -15
- package/lib/BryntumDisplayField.js +1 -2
- package/lib/BryntumDisplayField.js.map +1 -1
- package/lib/BryntumDurationField.d.ts +7 -15
- package/lib/BryntumDurationField.js +1 -2
- package/lib/BryntumDurationField.js.map +1 -1
- package/lib/BryntumEditor.d.ts +9 -19
- package/lib/BryntumEditor.js +2 -5
- package/lib/BryntumEditor.js.map +1 -1
- package/lib/BryntumFieldFilterPicker.d.ts +7 -14
- package/lib/BryntumFieldFilterPicker.js +2 -5
- package/lib/BryntumFieldFilterPicker.js.map +1 -1
- package/lib/BryntumFieldFilterPickerGroup.d.ts +7 -14
- package/lib/BryntumFieldFilterPickerGroup.js +2 -5
- package/lib/BryntumFieldFilterPickerGroup.js.map +1 -1
- package/lib/BryntumFieldSet.d.ts +9 -21
- package/lib/BryntumFieldSet.js +2 -6
- package/lib/BryntumFieldSet.js.map +1 -1
- package/lib/BryntumFileField.d.ts +7 -15
- package/lib/BryntumFileField.js +1 -2
- package/lib/BryntumFileField.js.map +1 -1
- package/lib/BryntumFilePicker.d.ts +7 -14
- package/lib/BryntumFilePicker.js +2 -5
- package/lib/BryntumFilePicker.js.map +1 -1
- package/lib/BryntumFilterField.d.ts +7 -15
- package/lib/BryntumFilterField.js +1 -2
- package/lib/BryntumFilterField.js.map +1 -1
- package/lib/BryntumHint.d.ts +21 -30
- package/lib/BryntumHint.js +2 -5
- package/lib/BryntumHint.js.map +1 -1
- package/lib/BryntumLabel.d.ts +6 -14
- package/lib/BryntumLabel.js +1 -2
- package/lib/BryntumLabel.js.map +1 -1
- package/lib/BryntumList.d.ts +6 -14
- package/lib/BryntumList.js +1 -2
- package/lib/BryntumList.js.map +1 -1
- package/lib/BryntumMenu.d.ts +20 -25
- package/lib/BryntumMenu.js +2 -6
- package/lib/BryntumMenu.js.map +1 -1
- package/lib/BryntumMonthPicker.d.ts +9 -20
- package/lib/BryntumMonthPicker.js +2 -5
- package/lib/BryntumMonthPicker.js.map +1 -1
- package/lib/BryntumNumberField.d.ts +7 -15
- package/lib/BryntumNumberField.js +1 -2
- package/lib/BryntumNumberField.js.map +1 -1
- package/lib/BryntumPagingToolbar.d.ts +10 -17
- package/lib/BryntumPagingToolbar.js +2 -5
- package/lib/BryntumPagingToolbar.js.map +1 -1
- package/lib/BryntumPanel.d.ts +9 -20
- package/lib/BryntumPanel.js +2 -5
- package/lib/BryntumPanel.js.map +1 -1
- package/lib/BryntumPasswordField.d.ts +7 -15
- package/lib/BryntumPasswordField.js +1 -2
- package/lib/BryntumPasswordField.js.map +1 -1
- package/lib/BryntumProgressBar.d.ts +6 -14
- package/lib/BryntumProgressBar.js +1 -2
- package/lib/BryntumProgressBar.js.map +1 -1
- package/lib/BryntumRadio.d.ts +7 -15
- package/lib/BryntumRadio.js +1 -2
- package/lib/BryntumRadio.js.map +1 -1
- package/lib/BryntumRadioGroup.d.ts +9 -21
- package/lib/BryntumRadioGroup.js +2 -6
- package/lib/BryntumRadioGroup.js.map +1 -1
- package/lib/BryntumSlideToggle.d.ts +7 -15
- package/lib/BryntumSlideToggle.js +1 -2
- package/lib/BryntumSlideToggle.js.map +1 -1
- package/lib/BryntumSlider.d.ts +7 -14
- package/lib/BryntumSlider.js +2 -2
- package/lib/BryntumSlider.js.map +1 -1
- package/lib/BryntumSplitter.d.ts +6 -14
- package/lib/BryntumSplitter.js +1 -2
- package/lib/BryntumSplitter.js.map +1 -1
- package/lib/BryntumTabPanel.d.ts +9 -20
- package/lib/BryntumTabPanel.js +2 -5
- package/lib/BryntumTabPanel.js.map +1 -1
- package/lib/BryntumTextAreaField.d.ts +8 -15
- package/lib/BryntumTextAreaField.js +2 -2
- package/lib/BryntumTextAreaField.js.map +1 -1
- package/lib/BryntumTextAreaPickerField.d.ts +8 -16
- package/lib/BryntumTextAreaPickerField.js +1 -2
- package/lib/BryntumTextAreaPickerField.js.map +1 -1
- package/lib/BryntumTextField.d.ts +7 -15
- package/lib/BryntumTextField.js +1 -2
- package/lib/BryntumTextField.js.map +1 -1
- package/lib/BryntumTimeField.d.ts +8 -16
- package/lib/BryntumTimeField.js +1 -2
- package/lib/BryntumTimeField.js.map +1 -1
- package/lib/BryntumTimePicker.d.ts +7 -14
- package/lib/BryntumTimePicker.js +2 -5
- package/lib/BryntumTimePicker.js.map +1 -1
- package/lib/BryntumToolbar.d.ts +10 -17
- package/lib/BryntumToolbar.js +2 -5
- package/lib/BryntumToolbar.js.map +1 -1
- package/lib/BryntumWidget.d.ts +6 -14
- package/lib/BryntumWidget.js +1 -2
- package/lib/BryntumWidget.js.map +1 -1
- package/lib/BryntumYearPicker.d.ts +9 -20
- 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 +1180 -0
- package/src/BryntumButton.tsx +69 -115
- package/src/BryntumButtonGroup.tsx +78 -123
- package/src/BryntumChatPanel.tsx +139 -169
- package/src/BryntumCheckbox.tsx +73 -117
- package/src/BryntumCheckboxGroup.tsx +109 -179
- package/src/BryntumChipView.tsx +65 -105
- package/src/BryntumCodeEditor.tsx +106 -167
- package/src/BryntumColorField.tsx +73 -117
- package/src/BryntumCombo.tsx +92 -152
- package/src/BryntumContainer.tsx +78 -124
- package/src/BryntumDateField.tsx +80 -123
- package/src/BryntumDatePicker.tsx +119 -193
- package/src/BryntumDateRangeField.tsx +79 -126
- package/src/BryntumDateTimeField.tsx +73 -117
- package/src/BryntumDemoCodeEditor.tsx +106 -167
- package/src/BryntumDisplayField.tsx +74 -119
- package/src/BryntumDurationField.tsx +80 -125
- package/src/BryntumEditor.tsx +90 -140
- package/src/BryntumFieldFilterPicker.tsx +80 -128
- package/src/BryntumFieldFilterPickerGroup.tsx +82 -132
- package/src/BryntumFieldSet.tsx +105 -172
- package/src/BryntumFileField.tsx +73 -117
- package/src/BryntumFilePicker.tsx +78 -124
- package/src/BryntumFilterField.tsx +76 -123
- package/src/BryntumHint.tsx +133 -190
- package/src/BryntumLabel.tsx +59 -95
- package/src/BryntumList.tsx +62 -101
- package/src/BryntumMenu.tsx +128 -188
- package/src/BryntumMonthPicker.tsx +106 -167
- package/src/BryntumNumberField.tsx +77 -121
- package/src/BryntumPagingToolbar.tsx +82 -129
- package/src/BryntumPanel.tsx +106 -167
- package/src/BryntumPasswordField.tsx +73 -117
- package/src/BryntumProgressBar.tsx +58 -93
- package/src/BryntumRadio.tsx +73 -117
- package/src/BryntumRadioGroup.tsx +109 -178
- package/src/BryntumSlideToggle.tsx +73 -117
- package/src/BryntumSlider.tsx +67 -101
- package/src/BryntumSplitter.tsx +61 -99
- package/src/BryntumTabPanel.tsx +107 -169
- package/src/BryntumTextAreaField.tsx +81 -119
- package/src/BryntumTextAreaPickerField.tsx +75 -120
- package/src/BryntumTextField.tsx +74 -119
- package/src/BryntumTimeField.tsx +79 -120
- package/src/BryntumTimePicker.tsx +78 -124
- package/src/BryntumToolbar.tsx +82 -129
- package/src/BryntumWidget.tsx +59 -95
- package/src/BryntumYearPicker.tsx +107 -169
- package/src/WrapperHelper.tsx +2 -2
- package/src/index.ts +1 -0
|
@@ -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, Container, CoreContainerItemConfig, CoreContainerLayoutConfig, DemoCodeEditor, DemoCodeEditorListeners, DomConfig, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
6
|
+
import { AlignSpec, Base, Color, Container, CoreContainerItemConfig, CoreContainerLayoutConfig, DemoCodeEditor, DemoCodeEditorListeners, DomConfig, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ReactJSX, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, 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 BryntumDemoCodeEditorProps = {
|
|
|
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/DemoCodeEditor#config-adopt)
|
|
15
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#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/DemoCodeEditor#config-align)
|
|
20
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-align)
|
|
23
21
|
*/
|
|
24
22
|
align? : AlignSpec|string
|
|
25
23
|
/**
|
|
@@ -45,15 +43,13 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
45
43
|
/**
|
|
46
44
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
|
|
47
45
|
* into an element which will be linked using the `aria-describedby` attribute.
|
|
48
|
-
* ...
|
|
49
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-ariaDescription)
|
|
46
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-ariaDescription)
|
|
50
47
|
*/
|
|
51
48
|
ariaDescription? : string
|
|
52
49
|
/**
|
|
53
50
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
|
|
54
51
|
* the `aria-label` attribute.
|
|
55
|
-
* ...
|
|
56
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-ariaLabel)
|
|
52
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-ariaLabel)
|
|
57
53
|
*/
|
|
58
54
|
ariaLabel? : string
|
|
59
55
|
/**
|
|
@@ -63,14 +59,12 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
63
59
|
/**
|
|
64
60
|
* A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar),
|
|
65
61
|
* or array of config objects representing the child items of a Toolbar. Another way to add a bbar is to use [strips](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-strips).
|
|
66
|
-
* ...
|
|
67
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-bbar)
|
|
62
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-bbar)
|
|
68
63
|
*/
|
|
69
64
|
bbar? : (CoreContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
|
|
70
65
|
/**
|
|
71
66
|
* Custom CSS classes to add to the panel's body element.
|
|
72
|
-
* ...
|
|
73
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-bodyCls)
|
|
67
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-bodyCls)
|
|
74
68
|
*/
|
|
75
69
|
bodyCls? : string|object
|
|
76
70
|
/**
|
|
@@ -80,21 +74,18 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
80
74
|
/**
|
|
81
75
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
82
76
|
* hierarchy when triggered.
|
|
83
|
-
* ...
|
|
84
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-bubbleEvents)
|
|
77
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-bubbleEvents)
|
|
85
78
|
*/
|
|
86
79
|
bubbleEvents? : object
|
|
87
80
|
/**
|
|
88
81
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
89
|
-
* ...
|
|
90
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-callOnFunctions)
|
|
82
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-callOnFunctions)
|
|
91
83
|
*/
|
|
92
84
|
callOnFunctions? : boolean
|
|
93
85
|
/**
|
|
94
86
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
95
87
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
96
|
-
* ...
|
|
97
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-catchEventHandlerExceptions)
|
|
88
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-catchEventHandlerExceptions)
|
|
98
89
|
*/
|
|
99
90
|
catchEventHandlerExceptions? : boolean
|
|
100
91
|
/**
|
|
@@ -106,14 +97,12 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
106
97
|
* Custom CSS classes to add to element.
|
|
107
98
|
* May be specified as a space separated string, or as an object in which property names
|
|
108
99
|
* with truthy values are used as the class names:
|
|
109
|
-
* ...
|
|
110
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-cls)
|
|
100
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-cls)
|
|
111
101
|
*/
|
|
112
102
|
cls? : string|object
|
|
113
103
|
/**
|
|
114
104
|
* The path from which to load the Monaco editor.
|
|
115
|
-
* ...
|
|
116
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-codePath)
|
|
105
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-codePath)
|
|
117
106
|
*/
|
|
118
107
|
codePath? : string
|
|
119
108
|
/**
|
|
@@ -123,15 +112,13 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
123
112
|
collapsed? : boolean
|
|
124
113
|
/**
|
|
125
114
|
* This config enables collapsibility for the panel. See [collapsed](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-collapsed).
|
|
126
|
-
* ...
|
|
127
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-collapsible)
|
|
115
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-collapsible)
|
|
128
116
|
*/
|
|
129
117
|
collapsible? : boolean|PanelCollapserConfig|PanelCollapserOverlayConfig
|
|
130
118
|
/**
|
|
131
119
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
132
120
|
* `style` block.
|
|
133
|
-
* ...
|
|
134
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-color)
|
|
121
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-color)
|
|
135
122
|
*/
|
|
136
123
|
color? : Color
|
|
137
124
|
/**
|
|
@@ -155,8 +142,7 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
155
142
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
156
143
|
* May be specified as a space separated string, or as an object in which property names
|
|
157
144
|
* with truthy values are used as the class names:
|
|
158
|
-
* ...
|
|
159
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-contentElementCls)
|
|
145
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-contentElementCls)
|
|
160
146
|
*/
|
|
161
147
|
contentElementCls? : string|object
|
|
162
148
|
/**
|
|
@@ -176,8 +162,7 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
176
162
|
/**
|
|
177
163
|
* A [query](https://bryntum.com/products/core/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
|
|
178
164
|
* focus should be directed by default.
|
|
179
|
-
* ...
|
|
180
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-defaultFocus)
|
|
165
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-defaultFocus)
|
|
181
166
|
* @param {Core.widget.Widget} widget Widget passed to method
|
|
182
167
|
* @returns {boolean} truthy value if widget is the default one
|
|
183
168
|
*/
|
|
@@ -187,16 +172,15 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
187
172
|
*/
|
|
188
173
|
defaults? : CoreContainerItemConfig
|
|
189
174
|
/**
|
|
190
|
-
* Check for CSS compatibility issues
|
|
191
|
-
*
|
|
192
|
-
* [
|
|
175
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
176
|
+
* checks:
|
|
177
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-detectCSSCompatibilityIssues)
|
|
193
178
|
*/
|
|
194
179
|
detectCSSCompatibilityIssues? : boolean
|
|
195
180
|
/**
|
|
196
181
|
* 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
|
|
197
182
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
198
|
-
* ...
|
|
199
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-disabled)
|
|
183
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-disabled)
|
|
200
184
|
*/
|
|
201
185
|
disabled? : boolean|'inert'
|
|
202
186
|
/**
|
|
@@ -204,34 +188,30 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
204
188
|
* [strips collection](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
205
189
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
206
190
|
* body. Such widgets are called "edge strips".
|
|
207
|
-
* ...
|
|
208
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-dock)
|
|
191
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-dock)
|
|
209
192
|
*/
|
|
210
193
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
211
194
|
/**
|
|
212
195
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
213
196
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
214
197
|
* property which controls when a drag should start.
|
|
215
|
-
* ...
|
|
216
|
-
*
|
|
198
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-draggable)
|
|
199
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
217
200
|
*/
|
|
218
|
-
draggable? : boolean|
|
|
219
|
-
handleSelector?: string
|
|
220
|
-
}
|
|
201
|
+
draggable? : boolean|object
|
|
221
202
|
/**
|
|
222
203
|
* Make this Panel a docked drawer which slides out from one side of the browser viewport by default.
|
|
223
|
-
* ...
|
|
224
|
-
* [
|
|
225
|
-
* @param {
|
|
226
|
-
* @param {
|
|
227
|
-
* @param {boolean}
|
|
228
|
-
* @param {boolean,
|
|
229
|
-
* @param {boolean,string} autoClose.
|
|
230
|
-
* @param {
|
|
231
|
-
* @param {
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
drawer? : boolean|{side?: 'start'|'left'|'end'|'right'|'top'|'bottom', size?: string|number, inline?: boolean, autoClose: { mousedown?: boolean|string, focusout?: boolean|string, mouseout?: string }, autoCloseDelay?: number}
|
|
204
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-drawer)
|
|
205
|
+
* @param {'start','left','end','right','top','bottom'} [side] The side of the viewport to dock the drawer to. * `'start'` means the `inline-start` side. * `'end'` means the `inline-end` side.
|
|
206
|
+
* @param {string,number} [size] The size of the drawer in its collapsible axis.
|
|
207
|
+
* @param {boolean} [inline] If using the [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-appendTo) config to place the drawer inside a host widget, this may be set to `true` to make the drawer inline within that host. Note that, if using this, the layout of the host element must have `flex-direction` set appropriately.
|
|
208
|
+
* @param {boolean,object} [autoClose] Specifies what user actions should automatically close the drawer. Defaults to closing when the user clicks outside of the drawer or when focus moves outside of the drawer.
|
|
209
|
+
* @param {boolean,string} [autoClose.mousedown] If the user clicks outside of the drawer, the drawer will automatically be hidden. If the value is a string, it is used as a CSS selector to filter clicks which should close the drawer.
|
|
210
|
+
* @param {boolean,string} [autoClose.focusout] If focus moves outside of the drawer, the drawer will automatically be hidden.
|
|
211
|
+
* @param {string} [autoClose.mouseout] Hides the drawer when the mouse leaves the drawer after the `autoCloseDelay` period.
|
|
212
|
+
* @param {number} [autoCloseDelay] When using `mouseout`, this is the delay in milliseconds
|
|
213
|
+
*/
|
|
214
|
+
drawer? : boolean|{ side?: 'start'|'left'|'end'|'right'|'top'|'bottom', size?: string|number, inline?: boolean, autoClose?: boolean|{ mousedown?: boolean|string, focusout?: boolean|string, mouseout?: string }, autoCloseDelay?: number }
|
|
235
215
|
/**
|
|
236
216
|
* An editor configuration object to be passed to https://microsoft.github.io/monaco-editor/docs.html#functions/editor.create.html
|
|
237
217
|
*/
|
|
@@ -239,8 +219,7 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
239
219
|
/**
|
|
240
220
|
* An object specifying attributes to assign to the root element of this widget.
|
|
241
221
|
* Set `null` value to attribute to remove it.
|
|
242
|
-
* ...
|
|
243
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-elementAttributes)
|
|
222
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-elementAttributes)
|
|
244
223
|
*/
|
|
245
224
|
elementAttributes? : Record<string, string|null>
|
|
246
225
|
extraData? : any
|
|
@@ -260,18 +239,15 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
260
239
|
/**
|
|
261
240
|
* Config object of a footer. May contain a `dock`, `html` and a `cls` property. A footer is not a widget,
|
|
262
241
|
* but rather plain HTML that follows the last element of the panel's body and [strips](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-strips).
|
|
263
|
-
* ...
|
|
264
|
-
*
|
|
242
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-footer)
|
|
243
|
+
* @property {'top','right','bottom','left','start','end'} dock Where to dock
|
|
244
|
+
* @property {string} html Html to populate the footer with
|
|
245
|
+
* @property {string} cls CSS class to add to the footer
|
|
265
246
|
*/
|
|
266
|
-
footer? :
|
|
267
|
-
dock?: 'top'|'right'|'bottom'|'left'|'start'|'end'
|
|
268
|
-
html?: string
|
|
269
|
-
cls?: string
|
|
270
|
-
}|string
|
|
247
|
+
footer? : object|string
|
|
271
248
|
/**
|
|
272
249
|
* A config [object](https://bryntum.com/products/core/docs/api/Core/widget/Panel#typedef-PanelHeader) for the panel's header or a string in place of a `title`.
|
|
273
|
-
* ...
|
|
274
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-header)
|
|
250
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-header)
|
|
275
251
|
*/
|
|
276
252
|
header? : string|boolean|PanelHeader
|
|
277
253
|
/**
|
|
@@ -286,25 +262,21 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
286
262
|
hidden? : boolean
|
|
287
263
|
/**
|
|
288
264
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
289
|
-
* ...
|
|
290
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-hideAnimation)
|
|
265
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-hideAnimation)
|
|
291
266
|
*/
|
|
292
267
|
hideAnimation? : boolean|object
|
|
293
268
|
/**
|
|
294
269
|
* Specify `true` to make this container hide when it has no visible children (Either empty
|
|
295
270
|
* or all children hidden).
|
|
296
|
-
* ...
|
|
297
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-hideWhenEmpty)
|
|
271
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-hideWhenEmpty)
|
|
298
272
|
*/
|
|
299
273
|
hideWhenEmpty? : boolean
|
|
300
274
|
/**
|
|
301
275
|
* The HTML to display initially or a function returning the markup (called at widget construction time).
|
|
302
|
-
* ...
|
|
303
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-html)
|
|
276
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-html)
|
|
304
277
|
* @param {Core.widget.Widget} widget The calling Widget
|
|
305
|
-
* @returns {string}
|
|
306
278
|
*/
|
|
307
|
-
html? : string|((widget: Widget) =>
|
|
279
|
+
html? : string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX
|
|
308
280
|
/**
|
|
309
281
|
* The CSS class(es) to add when HTML content is being applied to this widget.
|
|
310
282
|
*/
|
|
@@ -320,16 +292,14 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
320
292
|
id? : string
|
|
321
293
|
/**
|
|
322
294
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
323
|
-
* ...
|
|
324
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-ignoreParentReadOnly)
|
|
295
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-ignoreParentReadOnly)
|
|
325
296
|
*/
|
|
326
297
|
ignoreParentReadOnly? : boolean
|
|
327
298
|
/**
|
|
328
299
|
* Convenience setting to align input fields of child widgets. By default, the Field input element is
|
|
329
300
|
* placed immediately following the `label`. If you prefer to have all input fields aligned to the
|
|
330
301
|
* right, set this config to `'end'`.
|
|
331
|
-
* ...
|
|
332
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-inputFieldAlign)
|
|
302
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-inputFieldAlign)
|
|
333
303
|
*/
|
|
334
304
|
inputFieldAlign? : 'start'|'end'
|
|
335
305
|
/**
|
|
@@ -347,59 +317,56 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
347
317
|
/**
|
|
348
318
|
* An object containing typed child widget config objects or Widgets. May also be specified
|
|
349
319
|
* as an array.
|
|
350
|
-
* ...
|
|
351
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-items)
|
|
320
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-items)
|
|
352
321
|
*/
|
|
353
322
|
items? : Record<string, CoreContainerItemConfig|MenuItemEntry>|(CoreContainerItemConfig|MenuItemEntry|Widget)[]
|
|
354
323
|
/**
|
|
355
324
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
356
325
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
357
326
|
* are the name of the instance method to call when the keystroke is received.
|
|
358
|
-
* ...
|
|
359
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-keyMap)
|
|
327
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-keyMap)
|
|
360
328
|
*/
|
|
361
329
|
keyMap? : Record<string, KeyMapConfig>
|
|
362
330
|
/**
|
|
363
331
|
* Convenience setting to use same label placement on all child widgets.
|
|
364
|
-
* ...
|
|
365
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-labelPosition)
|
|
332
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-labelPosition)
|
|
366
333
|
*/
|
|
367
334
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
335
|
+
/**
|
|
336
|
+
* Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.
|
|
337
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-labelWidth)
|
|
338
|
+
*/
|
|
339
|
+
labelWidth? : number|null
|
|
368
340
|
/**
|
|
369
341
|
* The language being edited may be set and read using this property.
|
|
370
342
|
*/
|
|
371
343
|
language? : string
|
|
372
344
|
/**
|
|
373
345
|
* The short name of a helper class which manages rendering and styling of child items.
|
|
374
|
-
* ...
|
|
375
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-layout)
|
|
346
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-layout)
|
|
376
347
|
*/
|
|
377
348
|
layout? : string|CoreContainerLayoutConfig
|
|
378
349
|
/**
|
|
379
350
|
* The CSS style properties to apply to the [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
380
|
-
* ...
|
|
381
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-layoutStyle)
|
|
351
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-layoutStyle)
|
|
382
352
|
*/
|
|
383
353
|
layoutStyle? : object
|
|
384
354
|
/**
|
|
385
355
|
* An array of [child item](https://bryntum.com/products/core/docs/api/Core/widget/Container#config-items) *config objects* which is to be converted into
|
|
386
356
|
* instances only when this Container is rendered, rather than eagerly at construct time.
|
|
387
|
-
* ...
|
|
388
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-lazyItems)
|
|
357
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-lazyItems)
|
|
389
358
|
*/
|
|
390
359
|
lazyItems? : Record<string, CoreContainerItemConfig>|CoreContainerItemConfig[]|Widget[]
|
|
391
360
|
/**
|
|
392
361
|
* The listener set for this object.
|
|
393
|
-
* ...
|
|
394
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-listeners)
|
|
362
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-listeners)
|
|
395
363
|
*/
|
|
396
364
|
listeners? : DemoCodeEditorListeners
|
|
397
365
|
/**
|
|
398
366
|
* A class translations of which are used for translating this entity.
|
|
399
367
|
* This is often used when translations of an item are defined on its container class.
|
|
400
368
|
* For example:
|
|
401
|
-
* ...
|
|
402
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-localeClass)
|
|
369
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-localeClass)
|
|
403
370
|
*/
|
|
404
371
|
localeClass? : typeof Base
|
|
405
372
|
/**
|
|
@@ -411,8 +378,7 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
411
378
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
412
379
|
* you could use 'localeKey' meta configuration.
|
|
413
380
|
* Example:
|
|
414
|
-
* ...
|
|
415
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-localizableProperties)
|
|
381
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-localizableProperties)
|
|
416
382
|
*/
|
|
417
383
|
localizableProperties? : string[]
|
|
418
384
|
/**
|
|
@@ -438,8 +404,7 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
438
404
|
maxHeight? : string|number
|
|
439
405
|
/**
|
|
440
406
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
441
|
-
* ...
|
|
442
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-maximizeOnMobile)
|
|
407
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-maximizeOnMobile)
|
|
443
408
|
*/
|
|
444
409
|
maximizeOnMobile? : number|string
|
|
445
410
|
/**
|
|
@@ -465,26 +430,22 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
465
430
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
466
431
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
467
432
|
* layout.
|
|
468
|
-
* ...
|
|
469
|
-
*
|
|
433
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-monitorResize)
|
|
434
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
470
435
|
*/
|
|
471
|
-
monitorResize? : boolean|
|
|
472
|
-
immediate?: boolean
|
|
473
|
-
}
|
|
436
|
+
monitorResize? : boolean|object
|
|
474
437
|
/**
|
|
475
438
|
* An object containing default config objects which may be referenced by name in the [items](https://bryntum.com/products/core/docs/api/Core/widget/Container#config-items)
|
|
476
439
|
* config. For example, a specialized [Menu](https://bryntum.com/products/core/docs/api/Core/widget/Menu) subclass may have a `namedItems` default
|
|
477
440
|
* value defined like this:
|
|
478
|
-
* ...
|
|
479
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-namedItems)
|
|
441
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-namedItems)
|
|
480
442
|
*/
|
|
481
443
|
namedItems? : Record<string, CoreContainerItemConfig>
|
|
482
444
|
/**
|
|
483
445
|
* 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
|
|
484
446
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
485
447
|
* widget's [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
486
|
-
* ...
|
|
487
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-positioned)
|
|
448
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-positioned)
|
|
488
449
|
*/
|
|
489
450
|
positioned? : boolean
|
|
490
451
|
/**
|
|
@@ -504,39 +465,40 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
504
465
|
readOnly? : boolean
|
|
505
466
|
/**
|
|
506
467
|
* [Record](https://bryntum.com/products/core/docs/api/Core/data/Model) whose values will be used to populate fields in the container.
|
|
507
|
-
* ...
|
|
508
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-record)
|
|
468
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-record)
|
|
509
469
|
*/
|
|
510
470
|
record? : Model
|
|
511
471
|
relayStoreEvents? : boolean
|
|
512
472
|
/**
|
|
513
473
|
* Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
|
|
514
474
|
* `type`.
|
|
515
|
-
* ...
|
|
516
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-rendition)
|
|
475
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-rendition)
|
|
517
476
|
*/
|
|
518
477
|
rendition? : string|Record<string, string>|null
|
|
519
478
|
/**
|
|
520
479
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
521
480
|
* [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
|
|
522
481
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
523
|
-
* ...
|
|
524
|
-
* [
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
482
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-ripple)
|
|
483
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
484
|
+
* @property {string} [color] A CSS color name or specification.
|
|
485
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
486
|
+
* @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.
|
|
487
|
+
*/
|
|
488
|
+
ripple? : boolean|object
|
|
489
|
+
/**
|
|
490
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
491
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
492
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-role)
|
|
493
|
+
*/
|
|
494
|
+
role? : string
|
|
532
495
|
/**
|
|
533
496
|
* 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`
|
|
534
497
|
*/
|
|
535
498
|
rootElement? : ShadowRoot|HTMLElement
|
|
536
499
|
/**
|
|
537
500
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
538
|
-
* ...
|
|
539
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-rtl)
|
|
501
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-rtl)
|
|
540
502
|
*/
|
|
541
503
|
rtl? : boolean
|
|
542
504
|
/**
|
|
@@ -544,8 +506,7 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
544
506
|
* in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
|
|
545
507
|
* applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
|
|
546
508
|
* CSS overflow properties thus:
|
|
547
|
-
* ...
|
|
548
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-scrollable)
|
|
509
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-scrollable)
|
|
549
510
|
*/
|
|
550
511
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
551
512
|
/**
|
|
@@ -555,8 +516,7 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
555
516
|
scrollAction? : 'hide'|'realign'|null
|
|
556
517
|
/**
|
|
557
518
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
558
|
-
* ...
|
|
559
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-showAnimation)
|
|
519
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-showAnimation)
|
|
560
520
|
*/
|
|
561
521
|
showAnimation? : boolean|object
|
|
562
522
|
/**
|
|
@@ -569,30 +529,26 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
569
529
|
span? : number
|
|
570
530
|
/**
|
|
571
531
|
* This value can be one of the following:
|
|
572
|
-
* ...
|
|
573
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-stateful)
|
|
532
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-stateful)
|
|
574
533
|
*/
|
|
575
534
|
stateful? : boolean|object|string[]
|
|
576
535
|
/**
|
|
577
536
|
* The events that, when fired by this component, should trigger it to save its state by calling
|
|
578
537
|
* [saveState](https://bryntum.com/products/core/docs/api/Core/mixin/State#function-saveState).
|
|
579
|
-
* ...
|
|
580
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-statefulEvents)
|
|
538
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-statefulEvents)
|
|
581
539
|
*/
|
|
582
540
|
statefulEvents? : object|string[]
|
|
583
541
|
/**
|
|
584
542
|
* The key to use when saving this object's state in the [stateProvider](https://bryntum.com/products/core/docs/api/Core/mixin/State#config-stateProvider). If this config is
|
|
585
543
|
* not assigned, and [stateful](https://bryntum.com/products/core/docs/api/Core/mixin/State#config-stateful) is not set to `false`, the [id](#Core/widget/Widget#config-id)
|
|
586
544
|
* (if explicitly specified) will be used as the `stateId`.
|
|
587
|
-
* ...
|
|
588
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-stateId)
|
|
545
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-stateId)
|
|
589
546
|
*/
|
|
590
547
|
stateId? : string
|
|
591
548
|
/**
|
|
592
549
|
* The `StateProvider` to use to save and restore this object's [state](https://bryntum.com/products/core/docs/api/Core/mixin/State#property-state). By default, `state`
|
|
593
550
|
* will be saved using the [default state provider](https://bryntum.com/products/core/docs/api/Core/state/StateProvider#property-instance-static).
|
|
594
|
-
* ...
|
|
595
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-stateProvider)
|
|
551
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-stateProvider)
|
|
596
552
|
*/
|
|
597
553
|
stateProvider? : StateProvider
|
|
598
554
|
/**
|
|
@@ -608,23 +564,20 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
608
564
|
* An object containing widgets keyed by name. By default (when no `type` is given), strips are
|
|
609
565
|
* [toolbars](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar). If you want to pass an array, you can use
|
|
610
566
|
* the toolbar's [items](https://bryntum.com/products/core/docs/api/Core/widget/Container#config-items).
|
|
611
|
-
* ...
|
|
612
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-strips)
|
|
567
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-strips)
|
|
613
568
|
*/
|
|
614
569
|
strips? : Record<string, CoreContainerItemConfig>
|
|
615
570
|
/**
|
|
616
571
|
* 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
|
|
617
572
|
* [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
|
|
618
573
|
* this widget:
|
|
619
|
-
* ...
|
|
620
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-tab)
|
|
574
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-tab)
|
|
621
575
|
*/
|
|
622
576
|
tab? : boolean|TabConfig
|
|
623
577
|
/**
|
|
624
578
|
* When this container is used as a tab in a TabPanel, these items are added to the
|
|
625
579
|
* [TabBar](https://bryntum.com/products/core/docs/api/Core/widget/TabBar) when this container is the active tab.
|
|
626
|
-
* ...
|
|
627
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-tabBarItems)
|
|
580
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-tabBarItems)
|
|
628
581
|
*/
|
|
629
582
|
tabBarItems? : ToolbarItems[]|Widget[]
|
|
630
583
|
/**
|
|
@@ -635,8 +588,7 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
635
588
|
* A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar),
|
|
636
589
|
* or array of config objects representing the child items of a Toolbar.
|
|
637
590
|
* This creates a toolbar docked to the top of the panel immediately below the header.
|
|
638
|
-
* ...
|
|
639
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-tbar)
|
|
591
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-tbar)
|
|
640
592
|
*/
|
|
641
593
|
tbar? : (CoreContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
|
|
642
594
|
/**
|
|
@@ -645,15 +597,13 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
645
597
|
text? : string
|
|
646
598
|
/**
|
|
647
599
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
648
|
-
* ...
|
|
649
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-textAlign)
|
|
600
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-textAlign)
|
|
650
601
|
*/
|
|
651
602
|
textAlign? : 'left'|'center'|'right'|'start'|'end'
|
|
652
603
|
/**
|
|
653
604
|
* Specify `true` for a container used to show text markup. It will apply the CSS class `b-text-content`
|
|
654
605
|
* which specifies a default max-width that makes long text more readable.
|
|
655
|
-
* ...
|
|
656
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-textContent)
|
|
606
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-textContent)
|
|
657
607
|
*/
|
|
658
608
|
textContent? : boolean
|
|
659
609
|
/**
|
|
@@ -663,22 +613,19 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
663
613
|
/**
|
|
664
614
|
* A title to display in the header or owning TabPanel. Causes creation and docking of a header
|
|
665
615
|
* to the top if no header is configured.
|
|
666
|
-
* ...
|
|
667
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-title)
|
|
616
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-title)
|
|
668
617
|
*/
|
|
669
618
|
title? : string
|
|
670
619
|
/**
|
|
671
620
|
* The [tools](https://bryntum.com/products/core/docs/api/Core/widget/Tool) to add either before or after the `title` in the Panel header. Each
|
|
672
621
|
* property name is the reference by which an instantiated tool may be retrieved from the live
|
|
673
622
|
* `[tools](https://bryntum.com/products/core/docs/api/Core/widget/mixin/Toolable#property-tools)` property.
|
|
674
|
-
* ...
|
|
675
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-tools)
|
|
623
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-tools)
|
|
676
624
|
*/
|
|
677
625
|
tools? : Record<string, ToolConfig>|null
|
|
678
626
|
/**
|
|
679
627
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
680
|
-
* ...
|
|
681
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-tooltip)
|
|
628
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-tooltip)
|
|
682
629
|
*/
|
|
683
630
|
tooltip? : string|TooltipConfig|null
|
|
684
631
|
/**
|
|
@@ -692,8 +639,7 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
692
639
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
693
640
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
694
641
|
* values are used as the class names.
|
|
695
|
-
* ...
|
|
696
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-ui)
|
|
642
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-ui)
|
|
697
643
|
*/
|
|
698
644
|
ui? : 'plain'|'toolbar'|string|object
|
|
699
645
|
/**
|
|
@@ -709,14 +655,12 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
709
655
|
width? : string|number
|
|
710
656
|
/**
|
|
711
657
|
* The x position for the widget.
|
|
712
|
-
* ...
|
|
713
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-x)
|
|
658
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-x)
|
|
714
659
|
*/
|
|
715
660
|
x? : number
|
|
716
661
|
/**
|
|
717
662
|
* The y position for the widget.
|
|
718
|
-
* ...
|
|
719
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-y)
|
|
663
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-y)
|
|
720
664
|
*/
|
|
721
665
|
y? : number
|
|
722
666
|
|
|
@@ -761,8 +705,7 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
761
705
|
onBeforeStateSave? : ((event: { state: any }) => Promise<boolean>|boolean|void)|string
|
|
762
706
|
/**
|
|
763
707
|
* Fires when any other event is fired from the object.
|
|
764
|
-
* ...
|
|
765
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#event-catchAll)
|
|
708
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#event-catchAll)
|
|
766
709
|
* @param {object} event Event object
|
|
767
710
|
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
768
711
|
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
@@ -832,8 +775,7 @@ export type BryntumDemoCodeEditorProps = {
|
|
|
832
775
|
/**
|
|
833
776
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
834
777
|
* achieves visibility.
|
|
835
|
-
* ...
|
|
836
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#event-paint)
|
|
778
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#event-paint)
|
|
837
779
|
* @param {object} event Event object
|
|
838
780
|
* @param {Core.widget.Widget} event.source The widget being painted.
|
|
839
781
|
* @param {boolean} event.firstPaint `true` if this is the first paint.
|
|
@@ -937,6 +879,7 @@ export class BryntumDemoCodeEditor extends React.Component<BryntumDemoCodeEditor
|
|
|
937
879
|
'preventTooltipOnTouch',
|
|
938
880
|
'relayStoreEvents',
|
|
939
881
|
'ripple',
|
|
882
|
+
'role',
|
|
940
883
|
'rootElement',
|
|
941
884
|
'scrollAction',
|
|
942
885
|
'showAnimation',
|
|
@@ -981,6 +924,7 @@ export class BryntumDemoCodeEditor extends React.Component<BryntumDemoCodeEditor
|
|
|
981
924
|
'items',
|
|
982
925
|
'keyMap',
|
|
983
926
|
'labelPosition',
|
|
927
|
+
'labelWidth',
|
|
984
928
|
'language',
|
|
985
929
|
'layout',
|
|
986
930
|
'layoutStyle',
|
|
@@ -1030,11 +974,6 @@ export class BryntumDemoCodeEditor extends React.Component<BryntumDemoCodeEditor
|
|
|
1030
974
|
];
|
|
1031
975
|
|
|
1032
976
|
static propertyNames = [
|
|
1033
|
-
'anchorSize',
|
|
1034
|
-
'focusVisible',
|
|
1035
|
-
'hasChanges',
|
|
1036
|
-
'isSettingValues',
|
|
1037
|
-
'isValid',
|
|
1038
977
|
'parent',
|
|
1039
978
|
'state',
|
|
1040
979
|
'values'
|