@bryntum/core-react-thin 7.2.4 → 7.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/BryntumBooleanCombo.d.ts +262 -0
- package/lib/BryntumBooleanCombo.js +205 -0
- package/lib/BryntumBooleanCombo.js.map +1 -0
- package/lib/BryntumButton.d.ts +9 -17
- package/lib/BryntumButton.js +1 -2
- package/lib/BryntumButton.js.map +1 -1
- package/lib/BryntumButtonGroup.d.ts +9 -16
- package/lib/BryntumButtonGroup.js +2 -5
- package/lib/BryntumButtonGroup.js.map +1 -1
- package/lib/BryntumChatPanel.d.ts +19 -23
- package/lib/BryntumChatPanel.js +7 -6
- package/lib/BryntumChatPanel.js.map +1 -1
- package/lib/BryntumCheckbox.d.ts +10 -17
- package/lib/BryntumCheckbox.js +2 -2
- package/lib/BryntumCheckbox.js.map +1 -1
- package/lib/BryntumCheckboxGroup.d.ts +12 -24
- package/lib/BryntumCheckboxGroup.js +2 -6
- package/lib/BryntumCheckboxGroup.js.map +1 -1
- package/lib/BryntumChipView.d.ts +8 -16
- package/lib/BryntumChipView.js +1 -2
- package/lib/BryntumChipView.js.map +1 -1
- package/lib/BryntumCodeEditor.d.ts +12 -23
- package/lib/BryntumCodeEditor.js +2 -5
- package/lib/BryntumCodeEditor.js.map +1 -1
- package/lib/BryntumColorField.d.ts +9 -16
- package/lib/BryntumColorField.js +2 -2
- package/lib/BryntumColorField.js.map +1 -1
- package/lib/BryntumCombo.d.ts +12 -19
- package/lib/BryntumCombo.js +2 -2
- package/lib/BryntumCombo.js.map +1 -1
- package/lib/BryntumContainer.d.ts +8 -15
- package/lib/BryntumContainer.js +2 -5
- package/lib/BryntumContainer.js.map +1 -1
- package/lib/BryntumDateField.d.ts +9 -16
- package/lib/BryntumDateField.js +2 -2
- package/lib/BryntumDateField.js.map +1 -1
- package/lib/BryntumDatePicker.d.ts +12 -23
- package/lib/BryntumDatePicker.js +2 -5
- package/lib/BryntumDatePicker.js.map +1 -1
- package/lib/BryntumDateRangeField.d.ts +12 -19
- package/lib/BryntumDateRangeField.js +2 -2
- package/lib/BryntumDateRangeField.js.map +1 -1
- package/lib/BryntumDateTimeField.d.ts +9 -16
- package/lib/BryntumDateTimeField.js +2 -2
- package/lib/BryntumDateTimeField.js.map +1 -1
- package/lib/BryntumDemoCodeEditor.d.ts +12 -23
- package/lib/BryntumDemoCodeEditor.js +2 -5
- package/lib/BryntumDemoCodeEditor.js.map +1 -1
- package/lib/BryntumDisplayField.d.ts +9 -16
- package/lib/BryntumDisplayField.js +2 -2
- package/lib/BryntumDisplayField.js.map +1 -1
- package/lib/BryntumDurationField.d.ts +9 -16
- package/lib/BryntumDurationField.js +2 -2
- package/lib/BryntumDurationField.js.map +1 -1
- package/lib/BryntumEditor.d.ts +14 -24
- package/lib/BryntumEditor.js +2 -5
- package/lib/BryntumEditor.js.map +1 -1
- package/lib/BryntumFieldFilterPicker.d.ts +8 -15
- package/lib/BryntumFieldFilterPicker.js +2 -5
- package/lib/BryntumFieldFilterPicker.js.map +1 -1
- package/lib/BryntumFieldFilterPickerGroup.d.ts +9 -16
- package/lib/BryntumFieldFilterPickerGroup.js +2 -5
- package/lib/BryntumFieldFilterPickerGroup.js.map +1 -1
- package/lib/BryntumFieldSet.d.ts +12 -24
- package/lib/BryntumFieldSet.js +2 -6
- package/lib/BryntumFieldSet.js.map +1 -1
- package/lib/BryntumFileField.d.ts +9 -16
- package/lib/BryntumFileField.js +2 -2
- package/lib/BryntumFileField.js.map +1 -1
- package/lib/BryntumFilePicker.d.ts +8 -15
- package/lib/BryntumFilePicker.js +2 -5
- package/lib/BryntumFilePicker.js.map +1 -1
- package/lib/BryntumFilterField.d.ts +9 -16
- package/lib/BryntumFilterField.js +2 -2
- package/lib/BryntumFilterField.js.map +1 -1
- package/lib/BryntumHint.d.ts +24 -33
- package/lib/BryntumHint.js +2 -5
- package/lib/BryntumHint.js.map +1 -1
- package/lib/BryntumLabel.d.ts +7 -15
- package/lib/BryntumLabel.js +1 -2
- package/lib/BryntumLabel.js.map +1 -1
- package/lib/BryntumList.d.ts +8 -16
- package/lib/BryntumList.js +1 -2
- package/lib/BryntumList.js.map +1 -1
- package/lib/BryntumMenu.d.ts +23 -28
- package/lib/BryntumMenu.js +2 -6
- package/lib/BryntumMenu.js.map +1 -1
- package/lib/BryntumMonthPicker.d.ts +12 -23
- package/lib/BryntumMonthPicker.js +2 -5
- package/lib/BryntumMonthPicker.js.map +1 -1
- package/lib/BryntumNumberField.d.ts +9 -16
- package/lib/BryntumNumberField.js +2 -2
- package/lib/BryntumNumberField.js.map +1 -1
- package/lib/BryntumPagingToolbar.d.ts +12 -19
- package/lib/BryntumPagingToolbar.js +2 -5
- package/lib/BryntumPagingToolbar.js.map +1 -1
- package/lib/BryntumPanel.d.ts +12 -23
- package/lib/BryntumPanel.js +2 -5
- package/lib/BryntumPanel.js.map +1 -1
- package/lib/BryntumPasswordField.d.ts +9 -16
- package/lib/BryntumPasswordField.js +2 -2
- package/lib/BryntumPasswordField.js.map +1 -1
- package/lib/BryntumProgressBar.d.ts +7 -15
- package/lib/BryntumProgressBar.js +1 -2
- package/lib/BryntumProgressBar.js.map +1 -1
- package/lib/BryntumRadio.d.ts +10 -17
- package/lib/BryntumRadio.js +2 -2
- package/lib/BryntumRadio.js.map +1 -1
- package/lib/BryntumRadioGroup.d.ts +12 -24
- package/lib/BryntumRadioGroup.js +2 -6
- package/lib/BryntumRadioGroup.js.map +1 -1
- package/lib/BryntumSlideToggle.d.ts +10 -17
- package/lib/BryntumSlideToggle.js +2 -2
- package/lib/BryntumSlideToggle.js.map +1 -1
- package/lib/BryntumSlider.d.ts +8 -15
- package/lib/BryntumSlider.js +2 -2
- package/lib/BryntumSlider.js.map +1 -1
- package/lib/BryntumSplitter.d.ts +7 -15
- package/lib/BryntumSplitter.js +1 -2
- package/lib/BryntumSplitter.js.map +1 -1
- package/lib/BryntumTabPanel.d.ts +13 -24
- package/lib/BryntumTabPanel.js +2 -5
- package/lib/BryntumTabPanel.js.map +1 -1
- package/lib/BryntumTextAreaField.d.ts +10 -16
- package/lib/BryntumTextAreaField.js +3 -2
- package/lib/BryntumTextAreaField.js.map +1 -1
- package/lib/BryntumTextAreaPickerField.d.ts +10 -17
- package/lib/BryntumTextAreaPickerField.js +2 -2
- package/lib/BryntumTextAreaPickerField.js.map +1 -1
- package/lib/BryntumTextField.d.ts +9 -16
- package/lib/BryntumTextField.js +2 -2
- package/lib/BryntumTextField.js.map +1 -1
- package/lib/BryntumTimeField.d.ts +10 -17
- package/lib/BryntumTimeField.js +2 -2
- package/lib/BryntumTimeField.js.map +1 -1
- package/lib/BryntumTimePicker.d.ts +8 -15
- package/lib/BryntumTimePicker.js +2 -5
- package/lib/BryntumTimePicker.js.map +1 -1
- package/lib/BryntumToolbar.d.ts +12 -19
- package/lib/BryntumToolbar.js +2 -5
- package/lib/BryntumToolbar.js.map +1 -1
- package/lib/BryntumWidget.d.ts +7 -15
- package/lib/BryntumWidget.js +1 -2
- package/lib/BryntumWidget.js.map +1 -1
- package/lib/BryntumYearPicker.d.ts +12 -23
- package/lib/BryntumYearPicker.js +2 -5
- package/lib/BryntumYearPicker.js.map +1 -1
- package/lib/WrapperHelper.js +2 -2
- package/lib/WrapperHelper.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/BryntumBooleanCombo.tsx +1190 -0
- package/src/BryntumButton.tsx +72 -118
- package/src/BryntumButtonGroup.tsx +79 -124
- package/src/BryntumChatPanel.tsx +142 -172
- package/src/BryntumCheckbox.tsx +85 -119
- package/src/BryntumCheckboxGroup.tsx +112 -182
- package/src/BryntumChipView.tsx +67 -107
- package/src/BryntumCodeEditor.tsx +109 -170
- package/src/BryntumColorField.tsx +84 -118
- package/src/BryntumCombo.tsx +103 -153
- package/src/BryntumContainer.tsx +79 -125
- package/src/BryntumDateField.tsx +91 -124
- package/src/BryntumDatePicker.tsx +122 -196
- package/src/BryntumDateRangeField.tsx +90 -127
- package/src/BryntumDateTimeField.tsx +84 -118
- package/src/BryntumDemoCodeEditor.tsx +109 -170
- package/src/BryntumDisplayField.tsx +85 -120
- package/src/BryntumDurationField.tsx +91 -126
- package/src/BryntumEditor.tsx +95 -145
- package/src/BryntumFieldFilterPicker.tsx +81 -129
- package/src/BryntumFieldFilterPickerGroup.tsx +84 -134
- package/src/BryntumFieldSet.tsx +108 -175
- package/src/BryntumFileField.tsx +84 -118
- package/src/BryntumFilePicker.tsx +79 -125
- package/src/BryntumFilterField.tsx +87 -124
- package/src/BryntumHint.tsx +136 -193
- package/src/BryntumLabel.tsx +60 -96
- package/src/BryntumList.tsx +64 -103
- package/src/BryntumMenu.tsx +131 -191
- package/src/BryntumMonthPicker.tsx +109 -170
- package/src/BryntumNumberField.tsx +88 -122
- package/src/BryntumPagingToolbar.tsx +84 -131
- package/src/BryntumPanel.tsx +109 -170
- package/src/BryntumPasswordField.tsx +84 -118
- package/src/BryntumProgressBar.tsx +59 -94
- package/src/BryntumRadio.tsx +85 -119
- package/src/BryntumRadioGroup.tsx +112 -181
- package/src/BryntumSlideToggle.tsx +85 -119
- package/src/BryntumSlider.tsx +68 -102
- package/src/BryntumSplitter.tsx +62 -100
- package/src/BryntumTabPanel.tsx +111 -173
- package/src/BryntumTextAreaField.tsx +92 -120
- package/src/BryntumTextAreaPickerField.tsx +86 -121
- package/src/BryntumTextField.tsx +85 -120
- package/src/BryntumTimeField.tsx +90 -121
- package/src/BryntumTimePicker.tsx +79 -125
- package/src/BryntumToolbar.tsx +84 -131
- package/src/BryntumWidget.tsx +60 -96
- package/src/BryntumYearPicker.tsx +110 -172
- package/src/WrapperHelper.tsx +2 -2
- package/src/index.ts +1 -0
|
@@ -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, DomConfig, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget, YearPicker, YearPickerListeners } from '@bryntum/core-thin';
|
|
6
|
+
import { AlignSpec, Base, Color, Container, CoreContainerItemConfig, CoreContainerLayoutConfig, 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, YearPicker, YearPickerListeners } from '@bryntum/core-thin';
|
|
7
7
|
|
|
8
8
|
import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
|
|
9
9
|
|
|
@@ -12,14 +12,12 @@ export type BryntumYearPickerProps = {
|
|
|
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/YearPicker#config-adopt)
|
|
15
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#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/YearPicker#config-align)
|
|
20
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-align)
|
|
23
21
|
*/
|
|
24
22
|
align? : AlignSpec|string
|
|
25
23
|
/**
|
|
@@ -41,15 +39,13 @@ export type BryntumYearPickerProps = {
|
|
|
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/YearPicker#config-ariaDescription)
|
|
42
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#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/YearPicker#config-ariaLabel)
|
|
48
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-ariaLabel)
|
|
53
49
|
*/
|
|
54
50
|
ariaLabel? : string
|
|
55
51
|
/**
|
|
@@ -59,14 +55,12 @@ export type BryntumYearPickerProps = {
|
|
|
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/YearPicker#config-bbar)
|
|
58
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#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/YearPicker#config-bodyCls)
|
|
63
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-bodyCls)
|
|
70
64
|
*/
|
|
71
65
|
bodyCls? : string|object
|
|
72
66
|
/**
|
|
@@ -76,21 +70,18 @@ export type BryntumYearPickerProps = {
|
|
|
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/YearPicker#config-bubbleEvents)
|
|
73
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#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/YearPicker#config-callOnFunctions)
|
|
78
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#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/YearPicker#config-catchEventHandlerExceptions)
|
|
84
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-catchEventHandlerExceptions)
|
|
94
85
|
*/
|
|
95
86
|
catchEventHandlerExceptions? : boolean
|
|
96
87
|
/**
|
|
@@ -102,8 +93,7 @@ export type BryntumYearPickerProps = {
|
|
|
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/YearPicker#config-cls)
|
|
96
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-cls)
|
|
107
97
|
*/
|
|
108
98
|
cls? : string|object
|
|
109
99
|
/**
|
|
@@ -113,15 +103,13 @@ export type BryntumYearPickerProps = {
|
|
|
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/YearPicker#config-collapsible)
|
|
106
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#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/YearPicker#config-color)
|
|
112
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-color)
|
|
125
113
|
*/
|
|
126
114
|
color? : Color
|
|
127
115
|
/**
|
|
@@ -145,8 +133,7 @@ export type BryntumYearPickerProps = {
|
|
|
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/YearPicker#config-contentElementCls)
|
|
136
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-contentElementCls)
|
|
150
137
|
*/
|
|
151
138
|
contentElementCls? : string|object
|
|
152
139
|
/**
|
|
@@ -166,8 +153,7 @@ export type BryntumYearPickerProps = {
|
|
|
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/YearPicker#config-defaultFocus)
|
|
156
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#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 BryntumYearPickerProps = {
|
|
|
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/YearPicker#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/YearPicker#config-disabled)
|
|
174
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-disabled)
|
|
190
175
|
*/
|
|
191
176
|
disabled? : boolean|'inert'
|
|
192
177
|
/**
|
|
@@ -194,39 +179,34 @@ export type BryntumYearPickerProps = {
|
|
|
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/YearPicker#config-dock)
|
|
182
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#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/YearPicker#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/YearPicker#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/YearPicker#config-elementAttributes)
|
|
209
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-elementAttributes)
|
|
230
210
|
*/
|
|
231
211
|
elementAttributes? : Record<string, string|null>
|
|
232
212
|
extraData? : any
|
|
@@ -246,18 +226,15 @@ export type BryntumYearPickerProps = {
|
|
|
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/YearPicker#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/YearPicker#config-header)
|
|
237
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-header)
|
|
261
238
|
*/
|
|
262
239
|
header? : string|boolean|PanelHeader
|
|
263
240
|
/**
|
|
@@ -272,25 +249,21 @@ export type BryntumYearPickerProps = {
|
|
|
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/YearPicker#config-hideAnimation)
|
|
252
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#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/YearPicker#config-hideWhenEmpty)
|
|
258
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#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/YearPicker#config-html)
|
|
263
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#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 BryntumYearPickerProps = {
|
|
|
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/YearPicker#config-ignoreParentReadOnly)
|
|
282
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#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/YearPicker#config-inputFieldAlign)
|
|
289
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-inputFieldAlign)
|
|
319
290
|
*/
|
|
320
291
|
inputFieldAlign? : 'start'|'end'
|
|
321
292
|
/**
|
|
@@ -333,55 +304,52 @@ export type BryntumYearPickerProps = {
|
|
|
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/YearPicker#config-items)
|
|
307
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#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/YearPicker#config-keyMap)
|
|
314
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#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/YearPicker#config-labelPosition)
|
|
319
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#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/YearPicker#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/YearPicker#config-layout)
|
|
329
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#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/YearPicker#config-layoutStyle)
|
|
334
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#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/YearPicker#config-lazyItems)
|
|
340
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#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/YearPicker#config-listeners)
|
|
345
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-listeners)
|
|
377
346
|
*/
|
|
378
347
|
listeners? : YearPickerListeners
|
|
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/YearPicker#config-localeClass)
|
|
352
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-localeClass)
|
|
385
353
|
*/
|
|
386
354
|
localeClass? : typeof Base
|
|
387
355
|
/**
|
|
@@ -393,8 +361,7 @@ export type BryntumYearPickerProps = {
|
|
|
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/YearPicker#config-localizableProperties)
|
|
364
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-localizableProperties)
|
|
398
365
|
*/
|
|
399
366
|
localizableProperties? : string[]
|
|
400
367
|
/**
|
|
@@ -420,8 +387,7 @@ export type BryntumYearPickerProps = {
|
|
|
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/YearPicker#config-maximizeOnMobile)
|
|
390
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-maximizeOnMobile)
|
|
425
391
|
*/
|
|
426
392
|
maximizeOnMobile? : number|string
|
|
427
393
|
/**
|
|
@@ -451,26 +417,22 @@ export type BryntumYearPickerProps = {
|
|
|
451
417
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
452
418
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
453
419
|
* layout.
|
|
454
|
-
* ...
|
|
455
|
-
*
|
|
420
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-monitorResize)
|
|
421
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
456
422
|
*/
|
|
457
|
-
monitorResize? : boolean|
|
|
458
|
-
immediate?: boolean
|
|
459
|
-
}
|
|
423
|
+
monitorResize? : boolean|object
|
|
460
424
|
/**
|
|
461
425
|
* 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)
|
|
462
426
|
* config. For example, a specialized [Menu](https://bryntum.com/products/core/docs/api/Core/widget/Menu) subclass may have a `namedItems` default
|
|
463
427
|
* value defined like this:
|
|
464
|
-
* ...
|
|
465
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-namedItems)
|
|
428
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-namedItems)
|
|
466
429
|
*/
|
|
467
430
|
namedItems? : Record<string, CoreContainerItemConfig>
|
|
468
431
|
/**
|
|
469
432
|
* 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
|
|
470
433
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
471
434
|
* widget's [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
472
|
-
* ...
|
|
473
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-positioned)
|
|
435
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-positioned)
|
|
474
436
|
*/
|
|
475
437
|
positioned? : boolean
|
|
476
438
|
/**
|
|
@@ -481,45 +443,45 @@ export type BryntumYearPickerProps = {
|
|
|
481
443
|
/**
|
|
482
444
|
* Whether this widget is read-only. This is only valid if the widget is an input
|
|
483
445
|
* field, <strong>or contains input fields at any depth</strong>.
|
|
484
|
-
* ...
|
|
485
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-readOnly)
|
|
446
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-readOnly)
|
|
486
447
|
*/
|
|
487
448
|
readOnly? : boolean
|
|
488
449
|
/**
|
|
489
450
|
* [Record](https://bryntum.com/products/core/docs/api/Core/data/Model) whose values will be used to populate fields in the container.
|
|
490
|
-
* ...
|
|
491
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-record)
|
|
451
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-record)
|
|
492
452
|
*/
|
|
493
453
|
record? : Model
|
|
494
454
|
relayStoreEvents? : boolean
|
|
495
455
|
/**
|
|
496
456
|
* Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget
|
|
497
457
|
* `type`.
|
|
498
|
-
* ...
|
|
499
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-rendition)
|
|
458
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-rendition)
|
|
500
459
|
*/
|
|
501
460
|
rendition? : string|Record<string, string>|null
|
|
502
461
|
/**
|
|
503
462
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
504
463
|
* [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
|
|
505
464
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
506
|
-
* ...
|
|
507
|
-
* [
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
465
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-ripple)
|
|
466
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
467
|
+
* @property {string} [color] A CSS color name or specification.
|
|
468
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
469
|
+
* @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.
|
|
470
|
+
*/
|
|
471
|
+
ripple? : boolean|object
|
|
472
|
+
/**
|
|
473
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
474
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
475
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-role)
|
|
476
|
+
*/
|
|
477
|
+
role? : string
|
|
515
478
|
/**
|
|
516
479
|
* 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`
|
|
517
480
|
*/
|
|
518
481
|
rootElement? : ShadowRoot|HTMLElement
|
|
519
482
|
/**
|
|
520
483
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
521
|
-
* ...
|
|
522
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-rtl)
|
|
484
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-rtl)
|
|
523
485
|
*/
|
|
524
486
|
rtl? : boolean
|
|
525
487
|
/**
|
|
@@ -527,8 +489,7 @@ export type BryntumYearPickerProps = {
|
|
|
527
489
|
* in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are
|
|
528
490
|
* applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to
|
|
529
491
|
* CSS overflow properties thus:
|
|
530
|
-
* ...
|
|
531
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-scrollable)
|
|
492
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-scrollable)
|
|
532
493
|
*/
|
|
533
494
|
scrollable? : boolean|ScrollerConfig|Scroller
|
|
534
495
|
/**
|
|
@@ -538,8 +499,7 @@ export type BryntumYearPickerProps = {
|
|
|
538
499
|
scrollAction? : 'hide'|'realign'|null
|
|
539
500
|
/**
|
|
540
501
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
541
|
-
* ...
|
|
542
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-showAnimation)
|
|
502
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-showAnimation)
|
|
543
503
|
*/
|
|
544
504
|
showAnimation? : boolean|object
|
|
545
505
|
/**
|
|
@@ -556,30 +516,26 @@ export type BryntumYearPickerProps = {
|
|
|
556
516
|
startYear? : number
|
|
557
517
|
/**
|
|
558
518
|
* This value can be one of the following:
|
|
559
|
-
* ...
|
|
560
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-stateful)
|
|
519
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-stateful)
|
|
561
520
|
*/
|
|
562
521
|
stateful? : boolean|object|string[]
|
|
563
522
|
/**
|
|
564
523
|
* The events that, when fired by this component, should trigger it to save its state by calling
|
|
565
524
|
* [saveState](https://bryntum.com/products/core/docs/api/Core/mixin/State#function-saveState).
|
|
566
|
-
* ...
|
|
567
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-statefulEvents)
|
|
525
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-statefulEvents)
|
|
568
526
|
*/
|
|
569
527
|
statefulEvents? : object|string[]
|
|
570
528
|
/**
|
|
571
529
|
* 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
|
|
572
530
|
* 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)
|
|
573
531
|
* (if explicitly specified) will be used as the `stateId`.
|
|
574
|
-
* ...
|
|
575
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-stateId)
|
|
532
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-stateId)
|
|
576
533
|
*/
|
|
577
534
|
stateId? : string
|
|
578
535
|
/**
|
|
579
536
|
* 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`
|
|
580
537
|
* will be saved using the [default state provider](https://bryntum.com/products/core/docs/api/Core/state/StateProvider#property-instance-static).
|
|
581
|
-
* ...
|
|
582
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-stateProvider)
|
|
538
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-stateProvider)
|
|
583
539
|
*/
|
|
584
540
|
stateProvider? : StateProvider
|
|
585
541
|
/**
|
|
@@ -591,23 +547,20 @@ export type BryntumYearPickerProps = {
|
|
|
591
547
|
* An object containing widgets keyed by name. By default (when no `type` is given), strips are
|
|
592
548
|
* [toolbars](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar). If you want to pass an array, you can use
|
|
593
549
|
* the toolbar's [items](https://bryntum.com/products/core/docs/api/Core/widget/Container#config-items).
|
|
594
|
-
* ...
|
|
595
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-strips)
|
|
550
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-strips)
|
|
596
551
|
*/
|
|
597
552
|
strips? : Record<string, CoreContainerItemConfig>
|
|
598
553
|
/**
|
|
599
554
|
* 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
|
|
600
555
|
* [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
|
|
601
556
|
* this widget:
|
|
602
|
-
* ...
|
|
603
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-tab)
|
|
557
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-tab)
|
|
604
558
|
*/
|
|
605
559
|
tab? : boolean|TabConfig
|
|
606
560
|
/**
|
|
607
561
|
* When this container is used as a tab in a TabPanel, these items are added to the
|
|
608
562
|
* [TabBar](https://bryntum.com/products/core/docs/api/Core/widget/TabBar) when this container is the active tab.
|
|
609
|
-
* ...
|
|
610
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-tabBarItems)
|
|
563
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-tabBarItems)
|
|
611
564
|
*/
|
|
612
565
|
tabBarItems? : ToolbarItems[]|Widget[]
|
|
613
566
|
/**
|
|
@@ -617,42 +570,36 @@ export type BryntumYearPickerProps = {
|
|
|
617
570
|
/**
|
|
618
571
|
* The definition of the top toolbar which displays the title and "previous" and
|
|
619
572
|
* "next" buttons.
|
|
620
|
-
* ...
|
|
621
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-tbar)
|
|
573
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-tbar)
|
|
622
574
|
*/
|
|
623
575
|
tbar? : ToolbarConfig
|
|
624
576
|
/**
|
|
625
577
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
626
|
-
* ...
|
|
627
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-textAlign)
|
|
578
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-textAlign)
|
|
628
579
|
*/
|
|
629
580
|
textAlign? : 'left'|'center'|'right'|'start'|'end'
|
|
630
581
|
/**
|
|
631
582
|
* Specify `true` for a container used to show text markup. It will apply the CSS class `b-text-content`
|
|
632
583
|
* which specifies a default max-width that makes long text more readable.
|
|
633
|
-
* ...
|
|
634
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-textContent)
|
|
584
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-textContent)
|
|
635
585
|
*/
|
|
636
586
|
textContent? : boolean
|
|
637
587
|
/**
|
|
638
588
|
* A title to display in the header or owning TabPanel. Causes creation and docking of a header
|
|
639
589
|
* to the top if no header is configured.
|
|
640
|
-
* ...
|
|
641
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-title)
|
|
590
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-title)
|
|
642
591
|
*/
|
|
643
592
|
title? : string
|
|
644
593
|
/**
|
|
645
594
|
* 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
|
|
646
595
|
* property name is the reference by which an instantiated tool may be retrieved from the live
|
|
647
596
|
* `[tools](https://bryntum.com/products/core/docs/api/Core/widget/mixin/Toolable#property-tools)` property.
|
|
648
|
-
* ...
|
|
649
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-tools)
|
|
597
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-tools)
|
|
650
598
|
*/
|
|
651
599
|
tools? : Record<string, ToolConfig>|null
|
|
652
600
|
/**
|
|
653
601
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
654
|
-
* ...
|
|
655
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-tooltip)
|
|
602
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-tooltip)
|
|
656
603
|
*/
|
|
657
604
|
tooltip? : string|TooltipConfig|null
|
|
658
605
|
/**
|
|
@@ -666,8 +613,7 @@ export type BryntumYearPickerProps = {
|
|
|
666
613
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
667
614
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
668
615
|
* values are used as the class names.
|
|
669
|
-
* ...
|
|
670
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-ui)
|
|
616
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-ui)
|
|
671
617
|
*/
|
|
672
618
|
ui? : 'plain'|'toolbar'|string|object
|
|
673
619
|
/**
|
|
@@ -683,14 +629,12 @@ export type BryntumYearPickerProps = {
|
|
|
683
629
|
width? : string|number
|
|
684
630
|
/**
|
|
685
631
|
* The x position for the widget.
|
|
686
|
-
* ...
|
|
687
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-x)
|
|
632
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-x)
|
|
688
633
|
*/
|
|
689
634
|
x? : number
|
|
690
635
|
/**
|
|
691
636
|
* The y position for the widget.
|
|
692
|
-
* ...
|
|
693
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-y)
|
|
637
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-y)
|
|
694
638
|
*/
|
|
695
639
|
y? : number
|
|
696
640
|
/**
|
|
@@ -699,8 +643,7 @@ export type BryntumYearPickerProps = {
|
|
|
699
643
|
year? : number
|
|
700
644
|
/**
|
|
701
645
|
* The number of clickable year buttons to display in the widget.
|
|
702
|
-
* ...
|
|
703
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-yearButtonCount)
|
|
646
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-yearButtonCount)
|
|
704
647
|
*/
|
|
705
648
|
yearButtonCount? : number
|
|
706
649
|
|
|
@@ -716,7 +659,7 @@ export type BryntumYearPickerProps = {
|
|
|
716
659
|
* @param {object} event Event object
|
|
717
660
|
* @param {Core.widget.Widget} event.source The widget being hidden.
|
|
718
661
|
*/
|
|
719
|
-
onBeforeHide? : ((event: { source: Widget }) =>
|
|
662
|
+
onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
|
|
720
663
|
/**
|
|
721
664
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
722
665
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -736,17 +679,16 @@ export type BryntumYearPickerProps = {
|
|
|
736
679
|
* @param {object} event Event object
|
|
737
680
|
* @param {any} event.state State object config
|
|
738
681
|
*/
|
|
739
|
-
onBeforeStateApply? : ((event: { state: any }) =>
|
|
682
|
+
onBeforeStateApply? : ((event: { state: any }) => boolean|void)|string
|
|
740
683
|
/**
|
|
741
684
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
742
685
|
* @param {object} event Event object
|
|
743
686
|
* @param {any} event.state State object config
|
|
744
687
|
*/
|
|
745
|
-
onBeforeStateSave? : ((event: { state: any }) =>
|
|
688
|
+
onBeforeStateSave? : ((event: { state: any }) => boolean|void)|string
|
|
746
689
|
/**
|
|
747
690
|
* Fires when any other event is fired from the object.
|
|
748
|
-
* ...
|
|
749
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#event-catchAll)
|
|
691
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#event-catchAll)
|
|
750
692
|
* @param {object} event Event object
|
|
751
693
|
* @param {{[key: string]: any, type: string}} event.event The Object that contains event details
|
|
752
694
|
* @param {string} event.event.type The type of the event which is caught by the listener
|
|
@@ -816,8 +758,7 @@ export type BryntumYearPickerProps = {
|
|
|
816
758
|
/**
|
|
817
759
|
* Triggered when a widget which had been in a non-visible state for any reason
|
|
818
760
|
* achieves visibility.
|
|
819
|
-
* ...
|
|
820
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#event-paint)
|
|
761
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#event-paint)
|
|
821
762
|
* @param {object} event Event object
|
|
822
763
|
* @param {Core.widget.Widget} event.source The widget being painted.
|
|
823
764
|
* @param {boolean} event.firstPaint `true` if this is the first paint.
|
|
@@ -925,6 +866,7 @@ export class BryntumYearPicker extends React.Component<BryntumYearPickerProps> {
|
|
|
925
866
|
'preventTooltipOnTouch',
|
|
926
867
|
'relayStoreEvents',
|
|
927
868
|
'ripple',
|
|
869
|
+
'role',
|
|
928
870
|
'rootElement',
|
|
929
871
|
'scrollAction',
|
|
930
872
|
'showAnimation',
|
|
@@ -970,6 +912,7 @@ export class BryntumYearPicker extends React.Component<BryntumYearPickerProps> {
|
|
|
970
912
|
'items',
|
|
971
913
|
'keyMap',
|
|
972
914
|
'labelPosition',
|
|
915
|
+
'labelWidth',
|
|
973
916
|
'layout',
|
|
974
917
|
'layoutStyle',
|
|
975
918
|
'margin',
|
|
@@ -1018,11 +961,6 @@ export class BryntumYearPicker extends React.Component<BryntumYearPickerProps> {
|
|
|
1018
961
|
];
|
|
1019
962
|
|
|
1020
963
|
static propertyNames = [
|
|
1021
|
-
'anchorSize',
|
|
1022
|
-
'focusVisible',
|
|
1023
|
-
'hasChanges',
|
|
1024
|
-
'isSettingValues',
|
|
1025
|
-
'isValid',
|
|
1026
964
|
'parent',
|
|
1027
965
|
'state',
|
|
1028
966
|
'value',
|