@bryntum/core-react-thin 7.2.3 → 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, Button, Color, Container, CoreContainerItemConfig, CoreContainerLayoutConfig, DomConfig, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, MonthPicker, MonthPickerListeners, 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, Button, Color, Container, CoreContainerItemConfig, CoreContainerLayoutConfig, DomConfig, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, MonthPicker, MonthPickerListeners, 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 BryntumMonthPickerProps = {
|
|
|
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/MonthPicker#config-adopt)
|
|
15
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#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/MonthPicker#config-align)
|
|
20
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-align)
|
|
23
21
|
*/
|
|
24
22
|
align? : AlignSpec|string
|
|
25
23
|
/**
|
|
@@ -41,15 +39,13 @@ export type BryntumMonthPickerProps = {
|
|
|
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/MonthPicker#config-ariaDescription)
|
|
42
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#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/MonthPicker#config-ariaLabel)
|
|
48
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-ariaLabel)
|
|
53
49
|
*/
|
|
54
50
|
ariaLabel? : string
|
|
55
51
|
/**
|
|
@@ -59,14 +55,12 @@ export type BryntumMonthPickerProps = {
|
|
|
59
55
|
/**
|
|
60
56
|
* A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar),
|
|
61
57
|
* 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).
|
|
62
|
-
* ...
|
|
63
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-bbar)
|
|
58
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-bbar)
|
|
64
59
|
*/
|
|
65
60
|
bbar? : (CoreContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
|
|
66
61
|
/**
|
|
67
62
|
* Custom CSS classes to add to the panel's body element.
|
|
68
|
-
* ...
|
|
69
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-bodyCls)
|
|
63
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-bodyCls)
|
|
70
64
|
*/
|
|
71
65
|
bodyCls? : string|object
|
|
72
66
|
/**
|
|
@@ -76,21 +70,18 @@ export type BryntumMonthPickerProps = {
|
|
|
76
70
|
/**
|
|
77
71
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
78
72
|
* hierarchy when triggered.
|
|
79
|
-
* ...
|
|
80
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-bubbleEvents)
|
|
73
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-bubbleEvents)
|
|
81
74
|
*/
|
|
82
75
|
bubbleEvents? : object
|
|
83
76
|
/**
|
|
84
77
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
85
|
-
* ...
|
|
86
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-callOnFunctions)
|
|
78
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-callOnFunctions)
|
|
87
79
|
*/
|
|
88
80
|
callOnFunctions? : boolean
|
|
89
81
|
/**
|
|
90
82
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
91
83
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
92
|
-
* ...
|
|
93
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-catchEventHandlerExceptions)
|
|
84
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-catchEventHandlerExceptions)
|
|
94
85
|
*/
|
|
95
86
|
catchEventHandlerExceptions? : boolean
|
|
96
87
|
/**
|
|
@@ -102,8 +93,7 @@ export type BryntumMonthPickerProps = {
|
|
|
102
93
|
* Custom CSS classes to add to element.
|
|
103
94
|
* May be specified as a space separated string, or as an object in which property names
|
|
104
95
|
* with truthy values are used as the class names:
|
|
105
|
-
* ...
|
|
106
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-cls)
|
|
96
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-cls)
|
|
107
97
|
*/
|
|
108
98
|
cls? : string|object
|
|
109
99
|
/**
|
|
@@ -113,15 +103,13 @@ export type BryntumMonthPickerProps = {
|
|
|
113
103
|
collapsed? : boolean
|
|
114
104
|
/**
|
|
115
105
|
* This config enables collapsibility for the panel. See [collapsed](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-collapsed).
|
|
116
|
-
* ...
|
|
117
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-collapsible)
|
|
106
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-collapsible)
|
|
118
107
|
*/
|
|
119
108
|
collapsible? : boolean|PanelCollapserConfig|PanelCollapserOverlayConfig
|
|
120
109
|
/**
|
|
121
110
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
122
111
|
* `style` block.
|
|
123
|
-
* ...
|
|
124
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-color)
|
|
112
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-color)
|
|
125
113
|
*/
|
|
126
114
|
color? : Color
|
|
127
115
|
/**
|
|
@@ -145,8 +133,7 @@ export type BryntumMonthPickerProps = {
|
|
|
145
133
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
146
134
|
* May be specified as a space separated string, or as an object in which property names
|
|
147
135
|
* with truthy values are used as the class names:
|
|
148
|
-
* ...
|
|
149
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-contentElementCls)
|
|
136
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-contentElementCls)
|
|
150
137
|
*/
|
|
151
138
|
contentElementCls? : string|object
|
|
152
139
|
/**
|
|
@@ -166,8 +153,7 @@ export type BryntumMonthPickerProps = {
|
|
|
166
153
|
/**
|
|
167
154
|
* A [query](https://bryntum.com/products/core/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which
|
|
168
155
|
* focus should be directed by default.
|
|
169
|
-
* ...
|
|
170
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-defaultFocus)
|
|
156
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-defaultFocus)
|
|
171
157
|
* @param {Core.widget.Widget} widget Widget passed to method
|
|
172
158
|
* @returns {boolean} truthy value if widget is the default one
|
|
173
159
|
*/
|
|
@@ -177,16 +163,15 @@ export type BryntumMonthPickerProps = {
|
|
|
177
163
|
*/
|
|
178
164
|
defaults? : CoreContainerItemConfig
|
|
179
165
|
/**
|
|
180
|
-
* Check for CSS compatibility issues
|
|
181
|
-
*
|
|
182
|
-
* [
|
|
166
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
167
|
+
* checks:
|
|
168
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-detectCSSCompatibilityIssues)
|
|
183
169
|
*/
|
|
184
170
|
detectCSSCompatibilityIssues? : boolean
|
|
185
171
|
/**
|
|
186
172
|
* 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
|
|
187
173
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
188
|
-
* ...
|
|
189
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-disabled)
|
|
174
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-disabled)
|
|
190
175
|
*/
|
|
191
176
|
disabled? : boolean|'inert'
|
|
192
177
|
/**
|
|
@@ -194,39 +179,34 @@ export type BryntumMonthPickerProps = {
|
|
|
194
179
|
* [strips collection](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
195
180
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
196
181
|
* body. Such widgets are called "edge strips".
|
|
197
|
-
* ...
|
|
198
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-dock)
|
|
182
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-dock)
|
|
199
183
|
*/
|
|
200
184
|
dock? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
201
185
|
/**
|
|
202
186
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
203
187
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
204
188
|
* property which controls when a drag should start.
|
|
205
|
-
* ...
|
|
206
|
-
*
|
|
189
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-draggable)
|
|
190
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
207
191
|
*/
|
|
208
|
-
draggable? : boolean|
|
|
209
|
-
handleSelector?: string
|
|
210
|
-
}
|
|
192
|
+
draggable? : boolean|object
|
|
211
193
|
/**
|
|
212
194
|
* Make this Panel a docked drawer which slides out from one side of the browser viewport by default.
|
|
213
|
-
* ...
|
|
214
|
-
* [
|
|
215
|
-
* @param {
|
|
216
|
-
* @param {
|
|
217
|
-
* @param {boolean}
|
|
218
|
-
* @param {boolean,
|
|
219
|
-
* @param {boolean,string} autoClose.
|
|
220
|
-
* @param {
|
|
221
|
-
* @param {
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
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}
|
|
195
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-drawer)
|
|
196
|
+
* @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.
|
|
197
|
+
* @param {string,number} [size] The size of the drawer in its collapsible axis.
|
|
198
|
+
* @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.
|
|
199
|
+
* @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.
|
|
200
|
+
* @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.
|
|
201
|
+
* @param {boolean,string} [autoClose.focusout] If focus moves outside of the drawer, the drawer will automatically be hidden.
|
|
202
|
+
* @param {string} [autoClose.mouseout] Hides the drawer when the mouse leaves the drawer after the `autoCloseDelay` period.
|
|
203
|
+
* @param {number} [autoCloseDelay] When using `mouseout`, this is the delay in milliseconds
|
|
204
|
+
*/
|
|
205
|
+
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 }
|
|
225
206
|
/**
|
|
226
207
|
* An object specifying attributes to assign to the root element of this widget.
|
|
227
208
|
* Set `null` value to attribute to remove it.
|
|
228
|
-
* ...
|
|
229
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-elementAttributes)
|
|
209
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-elementAttributes)
|
|
230
210
|
*/
|
|
231
211
|
elementAttributes? : Record<string, string|null>
|
|
232
212
|
extraData? : any
|
|
@@ -246,18 +226,15 @@ export type BryntumMonthPickerProps = {
|
|
|
246
226
|
/**
|
|
247
227
|
* Config object of a footer. May contain a `dock`, `html` and a `cls` property. A footer is not a widget,
|
|
248
228
|
* 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).
|
|
249
|
-
* ...
|
|
250
|
-
*
|
|
229
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-footer)
|
|
230
|
+
* @property {'top','right','bottom','left','start','end'} dock Where to dock
|
|
231
|
+
* @property {string} html Html to populate the footer with
|
|
232
|
+
* @property {string} cls CSS class to add to the footer
|
|
251
233
|
*/
|
|
252
|
-
footer? :
|
|
253
|
-
dock?: 'top'|'right'|'bottom'|'left'|'start'|'end'
|
|
254
|
-
html?: string
|
|
255
|
-
cls?: string
|
|
256
|
-
}|string
|
|
234
|
+
footer? : object|string
|
|
257
235
|
/**
|
|
258
236
|
* 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`.
|
|
259
|
-
* ...
|
|
260
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-header)
|
|
237
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-header)
|
|
261
238
|
*/
|
|
262
239
|
header? : string|boolean|PanelHeader
|
|
263
240
|
/**
|
|
@@ -272,25 +249,21 @@ export type BryntumMonthPickerProps = {
|
|
|
272
249
|
hidden? : boolean
|
|
273
250
|
/**
|
|
274
251
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
275
|
-
* ...
|
|
276
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-hideAnimation)
|
|
252
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-hideAnimation)
|
|
277
253
|
*/
|
|
278
254
|
hideAnimation? : boolean|object
|
|
279
255
|
/**
|
|
280
256
|
* Specify `true` to make this container hide when it has no visible children (Either empty
|
|
281
257
|
* or all children hidden).
|
|
282
|
-
* ...
|
|
283
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-hideWhenEmpty)
|
|
258
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-hideWhenEmpty)
|
|
284
259
|
*/
|
|
285
260
|
hideWhenEmpty? : boolean
|
|
286
261
|
/**
|
|
287
262
|
* The HTML to display initially or a function returning the markup (called at widget construction time).
|
|
288
|
-
* ...
|
|
289
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-html)
|
|
263
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-html)
|
|
290
264
|
* @param {Core.widget.Widget} widget The calling Widget
|
|
291
|
-
* @returns {string}
|
|
292
265
|
*/
|
|
293
|
-
html? : string|((widget: Widget) =>
|
|
266
|
+
html? : string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX
|
|
294
267
|
/**
|
|
295
268
|
* The CSS class(es) to add when HTML content is being applied to this widget.
|
|
296
269
|
*/
|
|
@@ -306,16 +279,14 @@ export type BryntumMonthPickerProps = {
|
|
|
306
279
|
id? : string
|
|
307
280
|
/**
|
|
308
281
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
309
|
-
* ...
|
|
310
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-ignoreParentReadOnly)
|
|
282
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-ignoreParentReadOnly)
|
|
311
283
|
*/
|
|
312
284
|
ignoreParentReadOnly? : boolean
|
|
313
285
|
/**
|
|
314
286
|
* Convenience setting to align input fields of child widgets. By default, the Field input element is
|
|
315
287
|
* placed immediately following the `label`. If you prefer to have all input fields aligned to the
|
|
316
288
|
* right, set this config to `'end'`.
|
|
317
|
-
* ...
|
|
318
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-inputFieldAlign)
|
|
289
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-inputFieldAlign)
|
|
319
290
|
*/
|
|
320
291
|
inputFieldAlign? : 'start'|'end'
|
|
321
292
|
/**
|
|
@@ -333,55 +304,52 @@ export type BryntumMonthPickerProps = {
|
|
|
333
304
|
/**
|
|
334
305
|
* An object containing typed child widget config objects or Widgets. May also be specified
|
|
335
306
|
* as an array.
|
|
336
|
-
* ...
|
|
337
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-items)
|
|
307
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-items)
|
|
338
308
|
*/
|
|
339
309
|
items? : Record<string, CoreContainerItemConfig|MenuItemEntry>|(CoreContainerItemConfig|MenuItemEntry|Widget)[]
|
|
340
310
|
/**
|
|
341
311
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
342
312
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
343
313
|
* are the name of the instance method to call when the keystroke is received.
|
|
344
|
-
* ...
|
|
345
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-keyMap)
|
|
314
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-keyMap)
|
|
346
315
|
*/
|
|
347
316
|
keyMap? : Record<string, KeyMapConfig>
|
|
348
317
|
/**
|
|
349
318
|
* Convenience setting to use same label placement on all child widgets.
|
|
350
|
-
* ...
|
|
351
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-labelPosition)
|
|
319
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-labelPosition)
|
|
352
320
|
*/
|
|
353
321
|
labelPosition? : 'before'|'above'|'align-before'|'auto'|null
|
|
322
|
+
/**
|
|
323
|
+
* Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.
|
|
324
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-labelWidth)
|
|
325
|
+
*/
|
|
326
|
+
labelWidth? : number|null
|
|
354
327
|
/**
|
|
355
328
|
* The short name of a helper class which manages rendering and styling of child items.
|
|
356
|
-
* ...
|
|
357
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-layout)
|
|
329
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-layout)
|
|
358
330
|
*/
|
|
359
331
|
layout? : string|CoreContainerLayoutConfig
|
|
360
332
|
/**
|
|
361
333
|
* The CSS style properties to apply to the [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
362
|
-
* ...
|
|
363
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-layoutStyle)
|
|
334
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-layoutStyle)
|
|
364
335
|
*/
|
|
365
336
|
layoutStyle? : object
|
|
366
337
|
/**
|
|
367
338
|
* 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
|
|
368
339
|
* instances only when this Container is rendered, rather than eagerly at construct time.
|
|
369
|
-
* ...
|
|
370
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-lazyItems)
|
|
340
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-lazyItems)
|
|
371
341
|
*/
|
|
372
342
|
lazyItems? : Record<string, CoreContainerItemConfig>|CoreContainerItemConfig[]|Widget[]
|
|
373
343
|
/**
|
|
374
344
|
* The listener set for this object.
|
|
375
|
-
* ...
|
|
376
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-listeners)
|
|
345
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-listeners)
|
|
377
346
|
*/
|
|
378
347
|
listeners? : MonthPickerListeners
|
|
379
348
|
/**
|
|
380
349
|
* A class translations of which are used for translating this entity.
|
|
381
350
|
* This is often used when translations of an item are defined on its container class.
|
|
382
351
|
* For example:
|
|
383
|
-
* ...
|
|
384
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-localeClass)
|
|
352
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-localeClass)
|
|
385
353
|
*/
|
|
386
354
|
localeClass? : typeof Base
|
|
387
355
|
/**
|
|
@@ -393,8 +361,7 @@ export type BryntumMonthPickerProps = {
|
|
|
393
361
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
394
362
|
* you could use 'localeKey' meta configuration.
|
|
395
363
|
* Example:
|
|
396
|
-
* ...
|
|
397
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-localizableProperties)
|
|
364
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-localizableProperties)
|
|
398
365
|
*/
|
|
399
366
|
localizableProperties? : string[]
|
|
400
367
|
/**
|
|
@@ -420,8 +387,7 @@ export type BryntumMonthPickerProps = {
|
|
|
420
387
|
maxHeight? : string|number
|
|
421
388
|
/**
|
|
422
389
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
423
|
-
* ...
|
|
424
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-maximizeOnMobile)
|
|
390
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-maximizeOnMobile)
|
|
425
391
|
*/
|
|
426
392
|
maximizeOnMobile? : number|string
|
|
427
393
|
/**
|
|
@@ -443,12 +409,10 @@ export type BryntumMonthPickerProps = {
|
|
|
443
409
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
444
410
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
445
411
|
* layout.
|
|
446
|
-
* ...
|
|
447
|
-
*
|
|
412
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-monitorResize)
|
|
413
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
448
414
|
*/
|
|
449
|
-
monitorResize? : boolean|
|
|
450
|
-
immediate?: boolean
|
|
451
|
-
}
|
|
415
|
+
monitorResize? : boolean|object
|
|
452
416
|
/**
|
|
453
417
|
* The month to use as the selected month (zero-based, 0-11). Defaults to the current month.
|
|
454
418
|
*/
|
|
@@ -457,16 +421,14 @@ export type BryntumMonthPickerProps = {
|
|
|
457
421
|
* 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)
|
|
458
422
|
* config. For example, a specialized [Menu](https://bryntum.com/products/core/docs/api/Core/widget/Menu) subclass may have a `namedItems` default
|
|
459
423
|
* value defined like this:
|
|
460
|
-
* ...
|
|
461
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-namedItems)
|
|
424
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-namedItems)
|
|
462
425
|
*/
|
|
463
426
|
namedItems? : Record<string, CoreContainerItemConfig>
|
|
464
427
|
/**
|
|
465
428
|
* 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
|
|
466
429
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
467
430
|
* widget's [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
468
|
-
* ...
|
|
469
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-positioned)
|
|
431
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-positioned)
|
|
470
432
|
*/
|
|
471
433
|
positioned? : boolean
|
|
472
434
|
/**
|
|
@@ -477,45 +439,45 @@ export type BryntumMonthPickerProps = {
|
|
|
477
439
|
/**
|
|
478
440
|
* Whether this widget is read-only. This is only valid if the widget is an input
|
|
479
441
|
* field, <strong>or contains input fields at any depth</strong>.
|
|
480
|
-
* ...
|
|
481
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-readOnly)
|
|
442
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-readOnly)
|
|
482
443
|
*/
|
|
483
444
|
readOnly? : boolean
|
|
484
445
|
/**
|
|
485
446
|
* [Record](https://bryntum.com/products/core/docs/api/Core/data/Model) whose values will be used to populate fields in the container.
|
|
486
|
-
* ...
|
|
487
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-record)
|
|
447
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-record)
|
|
488
448
|
*/
|
|
489
449
|
record? : Model
|
|
490
450
|
relayStoreEvents? : boolean
|
|
491
451
|
/**
|
|
492
452
|
* Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
|
|
493
453
|
* `type`.
|
|
494
|
-
* ...
|
|
495
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-rendition)
|
|
454
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-rendition)
|
|
496
455
|
*/
|
|
497
456
|
rendition? : string|Record<string, string>|null
|
|
498
457
|
/**
|
|
499
458
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
500
459
|
* [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
|
|
501
460
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
502
|
-
* ...
|
|
503
|
-
* [
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
461
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-ripple)
|
|
462
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
463
|
+
* @property {string} [color] A CSS color name or specification.
|
|
464
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
465
|
+
* @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.
|
|
466
|
+
*/
|
|
467
|
+
ripple? : boolean|object
|
|
468
|
+
/**
|
|
469
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
470
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
471
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-role)
|
|
472
|
+
*/
|
|
473
|
+
role? : string
|
|
511
474
|
/**
|
|
512
475
|
* 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`
|
|
513
476
|
*/
|
|
514
477
|
rootElement? : ShadowRoot|HTMLElement
|
|
515
478
|
/**
|
|
516
479
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
517
|
-
* ...
|
|
518
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-rtl)
|
|
480
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-rtl)
|
|
519
481
|
*/
|
|
520
482
|
rtl? : boolean
|
|
521
483
|
/**
|
|
@@ -523,8 +485,7 @@ export type BryntumMonthPickerProps = {
|
|
|
523
485
|
* in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
|
|
524
486
|
* applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
|
|
525
487
|
* CSS overflow properties thus:
|
|
526
|
-
* ...
|
|
527
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-scrollable)
|
|
488
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-scrollable)
|
|
528
489
|
*/
|
|
529
490
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
530
491
|
/**
|
|
@@ -534,8 +495,7 @@ export type BryntumMonthPickerProps = {
|
|
|
534
495
|
scrollAction? : 'hide'|'realign'|null
|
|
535
496
|
/**
|
|
536
497
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
537
|
-
* ...
|
|
538
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-showAnimation)
|
|
498
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-showAnimation)
|
|
539
499
|
*/
|
|
540
500
|
showAnimation? : boolean|object
|
|
541
501
|
/**
|
|
@@ -548,30 +508,26 @@ export type BryntumMonthPickerProps = {
|
|
|
548
508
|
span? : number
|
|
549
509
|
/**
|
|
550
510
|
* This value can be one of the following:
|
|
551
|
-
* ...
|
|
552
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-stateful)
|
|
511
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-stateful)
|
|
553
512
|
*/
|
|
554
513
|
stateful? : boolean|object|string[]
|
|
555
514
|
/**
|
|
556
515
|
* The events that, when fired by this component, should trigger it to save its state by calling
|
|
557
516
|
* [saveState](https://bryntum.com/products/core/docs/api/Core/mixin/State#function-saveState).
|
|
558
|
-
* ...
|
|
559
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-statefulEvents)
|
|
517
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-statefulEvents)
|
|
560
518
|
*/
|
|
561
519
|
statefulEvents? : object|string[]
|
|
562
520
|
/**
|
|
563
521
|
* 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
|
|
564
522
|
* 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)
|
|
565
523
|
* (if explicitly specified) will be used as the `stateId`.
|
|
566
|
-
* ...
|
|
567
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-stateId)
|
|
524
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-stateId)
|
|
568
525
|
*/
|
|
569
526
|
stateId? : string
|
|
570
527
|
/**
|
|
571
528
|
* 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`
|
|
572
529
|
* will be saved using the [default state provider](https://bryntum.com/products/core/docs/api/Core/state/StateProvider#property-instance-static).
|
|
573
|
-
* ...
|
|
574
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-stateProvider)
|
|
530
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-stateProvider)
|
|
575
531
|
*/
|
|
576
532
|
stateProvider? : StateProvider
|
|
577
533
|
/**
|
|
@@ -583,23 +539,20 @@ export type BryntumMonthPickerProps = {
|
|
|
583
539
|
* An object containing widgets keyed by name. By default (when no `type` is given), strips are
|
|
584
540
|
* [toolbars](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar). If you want to pass an array, you can use
|
|
585
541
|
* the toolbar's [items](https://bryntum.com/products/core/docs/api/Core/widget/Container#config-items).
|
|
586
|
-
* ...
|
|
587
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-strips)
|
|
542
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-strips)
|
|
588
543
|
*/
|
|
589
544
|
strips? : Record<string, CoreContainerItemConfig>
|
|
590
545
|
/**
|
|
591
546
|
* 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
|
|
592
547
|
* [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
|
|
593
548
|
* this widget:
|
|
594
|
-
* ...
|
|
595
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-tab)
|
|
549
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-tab)
|
|
596
550
|
*/
|
|
597
551
|
tab? : boolean|TabConfig
|
|
598
552
|
/**
|
|
599
553
|
* When this container is used as a tab in a TabPanel, these items are added to the
|
|
600
554
|
* [TabBar](https://bryntum.com/products/core/docs/api/Core/widget/TabBar) when this container is the active tab.
|
|
601
|
-
* ...
|
|
602
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-tabBarItems)
|
|
555
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-tabBarItems)
|
|
603
556
|
*/
|
|
604
557
|
tabBarItems? : ToolbarItems[]|Widget[]
|
|
605
558
|
/**
|
|
@@ -610,42 +563,36 @@ export type BryntumMonthPickerProps = {
|
|
|
610
563
|
* A Config object representing the configuration of a [Toolbar](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar),
|
|
611
564
|
* or array of config objects representing the child items of a Toolbar.
|
|
612
565
|
* This creates a toolbar docked to the top of the panel immediately below the header.
|
|
613
|
-
* ...
|
|
614
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-tbar)
|
|
566
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-tbar)
|
|
615
567
|
*/
|
|
616
568
|
tbar? : (CoreContainerItemConfig|string)[]|ToolbarConfig|PagingToolbarConfig|null
|
|
617
569
|
/**
|
|
618
570
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
619
|
-
* ...
|
|
620
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-textAlign)
|
|
571
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-textAlign)
|
|
621
572
|
*/
|
|
622
573
|
textAlign? : 'left'|'center'|'right'|'start'|'end'
|
|
623
574
|
/**
|
|
624
575
|
* Specify `true` for a container used to show text markup. It will apply the CSS class `b-text-content`
|
|
625
576
|
* which specifies a default max-width that makes long text more readable.
|
|
626
|
-
* ...
|
|
627
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-textContent)
|
|
577
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-textContent)
|
|
628
578
|
*/
|
|
629
579
|
textContent? : boolean
|
|
630
580
|
/**
|
|
631
581
|
* A title to display in the header or owning TabPanel. Causes creation and docking of a header
|
|
632
582
|
* to the top if no header is configured.
|
|
633
|
-
* ...
|
|
634
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-title)
|
|
583
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-title)
|
|
635
584
|
*/
|
|
636
585
|
title? : string
|
|
637
586
|
/**
|
|
638
587
|
* 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
|
|
639
588
|
* property name is the reference by which an instantiated tool may be retrieved from the live
|
|
640
589
|
* `[tools](https://bryntum.com/products/core/docs/api/Core/widget/mixin/Toolable#property-tools)` property.
|
|
641
|
-
* ...
|
|
642
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-tools)
|
|
590
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-tools)
|
|
643
591
|
*/
|
|
644
592
|
tools? : Record<string, ToolConfig>|null
|
|
645
593
|
/**
|
|
646
594
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
647
|
-
* ...
|
|
648
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-tooltip)
|
|
595
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-tooltip)
|
|
649
596
|
*/
|
|
650
597
|
tooltip? : string|TooltipConfig|null
|
|
651
598
|
/**
|
|
@@ -659,8 +606,7 @@ export type BryntumMonthPickerProps = {
|
|
|
659
606
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
660
607
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
661
608
|
* values are used as the class names.
|
|
662
|
-
* ...
|
|
663
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-ui)
|
|
609
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-ui)
|
|
664
610
|
*/
|
|
665
611
|
ui? : 'plain'|'toolbar'|string|object
|
|
666
612
|
/**
|
|
@@ -676,14 +622,12 @@ export type BryntumMonthPickerProps = {
|
|
|
676
622
|
width? : string|number
|
|
677
623
|
/**
|
|
678
624
|
* The x position for the widget.
|
|
679
|
-
* ...
|
|
680
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-x)
|
|
625
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-x)
|
|
681
626
|
*/
|
|
682
627
|
x? : number
|
|
683
628
|
/**
|
|
684
629
|
* The y position for the widget.
|
|
685
|
-
* ...
|
|
686
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-y)
|
|
630
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#config-y)
|
|
687
631
|
*/
|
|
688
632
|
y? : number
|
|
689
633
|
|
|
@@ -728,8 +672,7 @@ export type BryntumMonthPickerProps = {
|
|
|
728
672
|
onBeforeStateSave? : ((event: { state: any }) => Promise<boolean>|boolean|void)|string
|
|
729
673
|
/**
|
|
730
674
|
* Fires when any other event is fired from the object.
|
|
731
|
-
* ...
|
|
732
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#event-catchAll)
|
|
675
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#event-catchAll)
|
|
733
676
|
* @param {object} event Event object
|
|
734
677
|
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
735
678
|
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
@@ -799,8 +742,7 @@ export type BryntumMonthPickerProps = {
|
|
|
799
742
|
/**
|
|
800
743
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
801
744
|
* achieves visibility.
|
|
802
|
-
* ...
|
|
803
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#event-paint)
|
|
745
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/MonthPicker#event-paint)
|
|
804
746
|
* @param {object} event Event object
|
|
805
747
|
* @param {Core.widget.Widget} event.source The widget being painted.
|
|
806
748
|
* @param {boolean} event.firstPaint `true` if this is the first paint.
|
|
@@ -913,6 +855,7 @@ export class BryntumMonthPicker extends React.Component<BryntumMonthPickerProps>
|
|
|
913
855
|
'preventTooltipOnTouch',
|
|
914
856
|
'relayStoreEvents',
|
|
915
857
|
'ripple',
|
|
858
|
+
'role',
|
|
916
859
|
'rootElement',
|
|
917
860
|
'scrollAction',
|
|
918
861
|
'showAnimation',
|
|
@@ -957,6 +900,7 @@ export class BryntumMonthPicker extends React.Component<BryntumMonthPickerProps>
|
|
|
957
900
|
'items',
|
|
958
901
|
'keyMap',
|
|
959
902
|
'labelPosition',
|
|
903
|
+
'labelWidth',
|
|
960
904
|
'layout',
|
|
961
905
|
'layoutStyle',
|
|
962
906
|
'margin',
|
|
@@ -1005,11 +949,6 @@ export class BryntumMonthPicker extends React.Component<BryntumMonthPickerProps>
|
|
|
1005
949
|
];
|
|
1006
950
|
|
|
1007
951
|
static propertyNames = [
|
|
1008
|
-
'anchorSize',
|
|
1009
|
-
'focusVisible',
|
|
1010
|
-
'hasChanges',
|
|
1011
|
-
'isSettingValues',
|
|
1012
|
-
'isValid',
|
|
1013
952
|
'parent',
|
|
1014
953
|
'state',
|
|
1015
954
|
'values'
|