@bryntum/core-react-thin 7.3.4 → 7.3.6
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/README.md +2 -1
- package/lib/BryntumBooleanCombo.d.ts +2 -1
- package/lib/BryntumBooleanCombo.js +1 -0
- package/lib/BryntumBooleanCombo.js.map +1 -1
- package/lib/BryntumButton.d.ts +3 -1
- package/lib/BryntumButton.js +2 -0
- package/lib/BryntumButton.js.map +1 -1
- package/lib/BryntumButtonGroup.d.ts +4 -1
- package/lib/BryntumButtonGroup.js +4 -1
- package/lib/BryntumButtonGroup.js.map +1 -1
- package/lib/BryntumChatPanel.d.ts +3 -2
- package/lib/BryntumChatPanel.js +3 -2
- package/lib/BryntumChatPanel.js.map +1 -1
- package/lib/BryntumCheckbox.d.ts +2 -1
- package/lib/BryntumCheckbox.js +1 -0
- package/lib/BryntumCheckbox.js.map +1 -1
- package/lib/BryntumCheckboxGroup.d.ts +3 -2
- package/lib/BryntumCheckboxGroup.js +3 -2
- package/lib/BryntumCheckboxGroup.js.map +1 -1
- package/lib/BryntumChipView.d.ts +2 -1
- package/lib/BryntumChipView.js +1 -0
- package/lib/BryntumChipView.js.map +1 -1
- package/lib/BryntumCodeEditor.d.ts +3 -2
- package/lib/BryntumCodeEditor.js +3 -2
- package/lib/BryntumCodeEditor.js.map +1 -1
- package/lib/BryntumColorField.d.ts +2 -1
- package/lib/BryntumColorField.js +1 -0
- package/lib/BryntumColorField.js.map +1 -1
- package/lib/BryntumCombo.d.ts +2 -1
- package/lib/BryntumCombo.js +1 -0
- package/lib/BryntumCombo.js.map +1 -1
- package/lib/BryntumContainer.d.ts +2 -1
- package/lib/BryntumContainer.js +2 -1
- package/lib/BryntumContainer.js.map +1 -1
- package/lib/BryntumDateField.d.ts +2 -1
- package/lib/BryntumDateField.js +1 -0
- package/lib/BryntumDateField.js.map +1 -1
- package/lib/BryntumDatePicker.d.ts +3 -2
- package/lib/BryntumDatePicker.js +3 -2
- package/lib/BryntumDatePicker.js.map +1 -1
- package/lib/BryntumDateRangeField.d.ts +3 -2
- package/lib/BryntumDateRangeField.js +1 -0
- package/lib/BryntumDateRangeField.js.map +1 -1
- package/lib/BryntumDateTimeField.d.ts +2 -1
- package/lib/BryntumDateTimeField.js +1 -0
- package/lib/BryntumDateTimeField.js.map +1 -1
- package/lib/BryntumDemoCodeEditor.d.ts +3 -2
- package/lib/BryntumDemoCodeEditor.js +3 -2
- package/lib/BryntumDemoCodeEditor.js.map +1 -1
- package/lib/BryntumDisplayField.d.ts +2 -1
- package/lib/BryntumDisplayField.js +1 -0
- package/lib/BryntumDisplayField.js.map +1 -1
- package/lib/BryntumDurationField.d.ts +2 -1
- package/lib/BryntumDurationField.js +1 -0
- package/lib/BryntumDurationField.js.map +1 -1
- package/lib/BryntumEditor.d.ts +2 -1
- package/lib/BryntumEditor.js +2 -1
- package/lib/BryntumEditor.js.map +1 -1
- package/lib/BryntumFieldFilterPicker.d.ts +2 -1
- package/lib/BryntumFieldFilterPicker.js +2 -1
- package/lib/BryntumFieldFilterPicker.js.map +1 -1
- package/lib/BryntumFieldFilterPickerGroup.d.ts +2 -1
- package/lib/BryntumFieldFilterPickerGroup.js +2 -1
- package/lib/BryntumFieldFilterPickerGroup.js.map +1 -1
- package/lib/BryntumFieldSet.d.ts +3 -2
- package/lib/BryntumFieldSet.js +3 -2
- package/lib/BryntumFieldSet.js.map +1 -1
- package/lib/BryntumFileField.d.ts +2 -1
- package/lib/BryntumFileField.js +1 -0
- package/lib/BryntumFileField.js.map +1 -1
- package/lib/BryntumFilePicker.d.ts +2 -1
- package/lib/BryntumFilePicker.js +2 -1
- package/lib/BryntumFilePicker.js.map +1 -1
- package/lib/BryntumFilterField.d.ts +2 -1
- package/lib/BryntumFilterField.js +1 -0
- package/lib/BryntumFilterField.js.map +1 -1
- package/lib/BryntumHint.d.ts +3 -2
- package/lib/BryntumHint.js +3 -2
- package/lib/BryntumHint.js.map +1 -1
- package/lib/BryntumLabel.d.ts +2 -1
- package/lib/BryntumLabel.js +1 -0
- package/lib/BryntumLabel.js.map +1 -1
- package/lib/BryntumList.d.ts +2 -1
- package/lib/BryntumList.js +1 -0
- package/lib/BryntumList.js.map +1 -1
- package/lib/BryntumMenu.d.ts +3 -2
- package/lib/BryntumMenu.js +3 -2
- package/lib/BryntumMenu.js.map +1 -1
- package/lib/BryntumMonthPicker.d.ts +3 -2
- package/lib/BryntumMonthPicker.js +3 -2
- package/lib/BryntumMonthPicker.js.map +1 -1
- package/lib/BryntumNumberField.d.ts +2 -1
- package/lib/BryntumNumberField.js +1 -0
- package/lib/BryntumNumberField.js.map +1 -1
- package/lib/BryntumPagingToolbar.d.ts +4 -1
- package/lib/BryntumPagingToolbar.js +4 -1
- package/lib/BryntumPagingToolbar.js.map +1 -1
- package/lib/BryntumPanel.d.ts +3 -2
- package/lib/BryntumPanel.js +3 -2
- package/lib/BryntumPanel.js.map +1 -1
- package/lib/BryntumPasswordField.d.ts +2 -1
- package/lib/BryntumPasswordField.js +1 -0
- package/lib/BryntumPasswordField.js.map +1 -1
- package/lib/BryntumProgressBar.d.ts +2 -1
- package/lib/BryntumProgressBar.js +1 -0
- package/lib/BryntumProgressBar.js.map +1 -1
- package/lib/BryntumRadio.d.ts +2 -1
- package/lib/BryntumRadio.js +1 -0
- package/lib/BryntumRadio.js.map +1 -1
- package/lib/BryntumRadioGroup.d.ts +3 -2
- package/lib/BryntumRadioGroup.js +3 -2
- package/lib/BryntumRadioGroup.js.map +1 -1
- package/lib/BryntumSlideToggle.d.ts +2 -1
- package/lib/BryntumSlideToggle.js +1 -0
- package/lib/BryntumSlideToggle.js.map +1 -1
- package/lib/BryntumSlider.d.ts +2 -1
- package/lib/BryntumSlider.js +1 -0
- package/lib/BryntumSlider.js.map +1 -1
- package/lib/BryntumSplitter.d.ts +2 -1
- package/lib/BryntumSplitter.js +1 -0
- package/lib/BryntumSplitter.js.map +1 -1
- package/lib/BryntumTabPanel.d.ts +3 -2
- package/lib/BryntumTabPanel.js +3 -2
- package/lib/BryntumTabPanel.js.map +1 -1
- package/lib/BryntumTextAreaField.d.ts +2 -1
- package/lib/BryntumTextAreaField.js +1 -0
- package/lib/BryntumTextAreaField.js.map +1 -1
- package/lib/BryntumTextAreaPickerField.d.ts +2 -1
- package/lib/BryntumTextAreaPickerField.js +1 -0
- package/lib/BryntumTextAreaPickerField.js.map +1 -1
- package/lib/BryntumTextField.d.ts +2 -1
- package/lib/BryntumTextField.js +1 -0
- package/lib/BryntumTextField.js.map +1 -1
- package/lib/BryntumThemeCombo.js +1 -0
- package/lib/BryntumThemeCombo.js.map +1 -1
- package/lib/BryntumTimeField.d.ts +2 -1
- package/lib/BryntumTimeField.js +1 -0
- package/lib/BryntumTimeField.js.map +1 -1
- package/lib/BryntumTimePicker.d.ts +2 -1
- package/lib/BryntumTimePicker.js +2 -1
- package/lib/BryntumTimePicker.js.map +1 -1
- package/lib/BryntumToolbar.d.ts +2 -1
- package/lib/BryntumToolbar.js +2 -1
- package/lib/BryntumToolbar.js.map +1 -1
- package/lib/BryntumWidget.d.ts +2 -1
- package/lib/BryntumWidget.js +1 -0
- package/lib/BryntumWidget.js.map +1 -1
- package/lib/BryntumYearPicker.d.ts +3 -2
- package/lib/BryntumYearPicker.js +3 -2
- package/lib/BryntumYearPicker.js.map +1 -1
- package/lib/WrapperHelper.js +2 -2
- package/lib/WrapperHelper.js.map +1 -1
- package/package.json +1 -1
- package/src/BryntumBooleanCombo.tsx +8 -1
- package/src/BryntumButton.tsx +17 -2
- package/src/BryntumButtonGroup.tsx +23 -3
- package/src/BryntumChatPanel.tsx +12 -5
- package/src/BryntumCheckbox.tsx +8 -1
- package/src/BryntumCheckboxGroup.tsx +12 -5
- package/src/BryntumChipView.tsx +8 -1
- package/src/BryntumCodeEditor.tsx +12 -5
- package/src/BryntumColorField.tsx +8 -1
- package/src/BryntumCombo.tsx +8 -1
- package/src/BryntumContainer.tsx +10 -3
- package/src/BryntumDateField.tsx +8 -1
- package/src/BryntumDatePicker.tsx +12 -5
- package/src/BryntumDateRangeField.tsx +11 -3
- package/src/BryntumDateTimeField.tsx +8 -1
- package/src/BryntumDemoCodeEditor.tsx +12 -5
- package/src/BryntumDisplayField.tsx +8 -1
- package/src/BryntumDurationField.tsx +8 -1
- package/src/BryntumEditor.tsx +10 -3
- package/src/BryntumFieldFilterPicker.tsx +10 -3
- package/src/BryntumFieldFilterPickerGroup.tsx +10 -3
- package/src/BryntumFieldSet.tsx +12 -5
- package/src/BryntumFileField.tsx +8 -1
- package/src/BryntumFilePicker.tsx +10 -3
- package/src/BryntumFilterField.tsx +8 -1
- package/src/BryntumHint.tsx +12 -5
- package/src/BryntumLabel.tsx +8 -1
- package/src/BryntumList.tsx +8 -1
- package/src/BryntumMenu.tsx +12 -5
- package/src/BryntumMonthPicker.tsx +12 -5
- package/src/BryntumNumberField.tsx +8 -1
- package/src/BryntumPagingToolbar.tsx +21 -3
- package/src/BryntumPanel.tsx +12 -5
- package/src/BryntumPasswordField.tsx +8 -1
- package/src/BryntumProgressBar.tsx +8 -1
- package/src/BryntumRadio.tsx +8 -1
- package/src/BryntumRadioGroup.tsx +12 -5
- package/src/BryntumSlideToggle.tsx +8 -1
- package/src/BryntumSlider.tsx +8 -1
- package/src/BryntumSplitter.tsx +8 -1
- package/src/BryntumTabPanel.tsx +12 -5
- package/src/BryntumTextAreaField.tsx +8 -1
- package/src/BryntumTextAreaPickerField.tsx +8 -1
- package/src/BryntumTextField.tsx +8 -1
- package/src/BryntumThemeCombo.tsx +1 -0
- package/src/BryntumTimeField.tsx +8 -1
- package/src/BryntumTimePicker.tsx +10 -3
- package/src/BryntumToolbar.tsx +10 -3
- package/src/BryntumWidget.tsx +8 -1
- package/src/BryntumYearPicker.tsx +12 -5
- package/src/WrapperHelper.tsx +1 -1
package/src/BryntumTabPanel.tsx
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
5
5
|
import React, { RefObject } from 'react';
|
|
6
|
-
import { AlignSpec, Base, Color, Container, CoreContainerItemConfig, CoreContainerLayoutConfig, DomConfig, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ReactJSX, Rectangle, Scroller, ScrollerConfig, StateProvider, TabBarConfig, TabConfig, TabPanel, TabPanelListeners, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
6
|
+
import { AlignSpec, Base, Color, Container, CoreContainerItemConfig, CoreContainerLayoutConfig, DomConfig, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, OverflowTwinConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ReactJSX, Rectangle, Scroller, ScrollerConfig, StateProvider, TabBarConfig, TabConfig, TabPanel, TabPanelListeners, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
7
7
|
|
|
8
8
|
import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
|
|
9
9
|
|
|
@@ -63,7 +63,7 @@ export type BryntumTabPanelProps = {
|
|
|
63
63
|
*/
|
|
64
64
|
autoHeight? : boolean
|
|
65
65
|
/**
|
|
66
|
-
* Update assigned [record](https://bryntum.com/products/core/docs/api/Core/widget/Container#config-record) automatically on field changes
|
|
66
|
+
* Update assigned [record](https://bryntum.com/products/core/docs/api/Core/widget/Container#config-record) automatically on field changes.
|
|
67
67
|
*/
|
|
68
68
|
autoUpdateRecord? : boolean
|
|
69
69
|
/**
|
|
@@ -439,6 +439,12 @@ export type BryntumTabPanelProps = {
|
|
|
439
439
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-namedItems)
|
|
440
440
|
*/
|
|
441
441
|
namedItems? : Record<string, CoreContainerItemConfig>
|
|
442
|
+
/**
|
|
443
|
+
* Customizes the config object used to create this widget's clone in a [Toolbar](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar)'s
|
|
444
|
+
* overflow menu (see [overflow](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar#config-overflow)).
|
|
445
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-overflowTwinConfig)
|
|
446
|
+
*/
|
|
447
|
+
overflowTwinConfig? : OverflowTwinConfig|null
|
|
442
448
|
/**
|
|
443
449
|
* 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
|
|
444
450
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
@@ -538,7 +544,7 @@ export type BryntumTabPanelProps = {
|
|
|
538
544
|
* (if explicitly specified) will be used as the `stateId`.
|
|
539
545
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TabPanel#config-stateId)
|
|
540
546
|
*/
|
|
541
|
-
stateId? : string
|
|
547
|
+
stateId? : string|null
|
|
542
548
|
/**
|
|
543
549
|
* The `StateProvider` to use to save and restore this object's [state](https://bryntum.com/products/core/docs/api/Core/mixin/State#property-state). By default, `state`
|
|
544
550
|
* will be saved using the [default state provider](https://bryntum.com/products/core/docs/api/Core/state/StateProvider#property-instance-static).
|
|
@@ -847,7 +853,6 @@ export class BryntumTabPanel extends React.Component<BryntumTabPanelProps> {
|
|
|
847
853
|
'ariaDescription',
|
|
848
854
|
'ariaLabel',
|
|
849
855
|
'autoHeight',
|
|
850
|
-
'autoUpdateRecord',
|
|
851
856
|
'bbar',
|
|
852
857
|
'bodyCls',
|
|
853
858
|
'border',
|
|
@@ -884,6 +889,7 @@ export class BryntumTabPanel extends React.Component<BryntumTabPanelProps> {
|
|
|
884
889
|
'masked',
|
|
885
890
|
'monitorResize',
|
|
886
891
|
'namedItems',
|
|
892
|
+
'overflowTwinConfig',
|
|
887
893
|
'positioned',
|
|
888
894
|
'preventTooltipOnTouch',
|
|
889
895
|
'relayStoreEvents',
|
|
@@ -895,7 +901,6 @@ export class BryntumTabPanel extends React.Component<BryntumTabPanelProps> {
|
|
|
895
901
|
'showTooltipWhenDisabled',
|
|
896
902
|
'stateful',
|
|
897
903
|
'statefulEvents',
|
|
898
|
-
'stateId',
|
|
899
904
|
'stateProvider',
|
|
900
905
|
'strips',
|
|
901
906
|
'tab',
|
|
@@ -917,6 +922,7 @@ export class BryntumTabPanel extends React.Component<BryntumTabPanelProps> {
|
|
|
917
922
|
'activeTab',
|
|
918
923
|
'alignSelf',
|
|
919
924
|
'appendTo',
|
|
925
|
+
'autoUpdateRecord',
|
|
920
926
|
'callOnFunctions',
|
|
921
927
|
'catchEventHandlerExceptions',
|
|
922
928
|
'centered',
|
|
@@ -976,6 +982,7 @@ export class BryntumTabPanel extends React.Component<BryntumTabPanelProps> {
|
|
|
976
982
|
'rtl',
|
|
977
983
|
'scrollable',
|
|
978
984
|
'span',
|
|
985
|
+
'stateId',
|
|
979
986
|
'strictRecordMapping',
|
|
980
987
|
'title',
|
|
981
988
|
'tools',
|
|
@@ -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, CoreContainerItemConfig, DomConfig, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, ReactJSX, Rectangle, Scroller, TabConfig, TextAreaField, TextAreaFieldListeners, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
6
|
+
import { AlignSpec, Base, Color, CoreContainerItemConfig, DomConfig, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, OverflowTwinConfig, ReactJSX, Rectangle, Scroller, TabConfig, TextAreaField, TextAreaFieldListeners, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
7
7
|
|
|
8
8
|
import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
|
|
9
9
|
|
|
@@ -434,6 +434,12 @@ export type BryntumTextAreaFieldProps = {
|
|
|
434
434
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaField#config-name)
|
|
435
435
|
*/
|
|
436
436
|
name? : string
|
|
437
|
+
/**
|
|
438
|
+
* Customizes the config object used to create this widget's clone in a [Toolbar](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar)'s
|
|
439
|
+
* overflow menu (see [overflow](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar#config-overflow)).
|
|
440
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaField#config-overflowTwinConfig)
|
|
441
|
+
*/
|
|
442
|
+
overflowTwinConfig? : OverflowTwinConfig|null
|
|
437
443
|
/**
|
|
438
444
|
* Text to display in empty field.
|
|
439
445
|
*/
|
|
@@ -823,6 +829,7 @@ export class BryntumTextAreaField extends React.Component<BryntumTextAreaFieldPr
|
|
|
823
829
|
'masked',
|
|
824
830
|
'monitorResize',
|
|
825
831
|
'name',
|
|
832
|
+
'overflowTwinConfig',
|
|
826
833
|
'positioned',
|
|
827
834
|
'preventTooltipOnTouch',
|
|
828
835
|
'relayStoreEvents',
|
|
@@ -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, CoreContainerItemConfig, DomConfig, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, ReactJSX, Rectangle, Scroller, TabConfig, TextAreaPickerField, TextAreaPickerFieldListeners, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
6
|
+
import { AlignSpec, Base, Color, CoreContainerItemConfig, DomConfig, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, OverflowTwinConfig, ReactJSX, Rectangle, Scroller, TabConfig, TextAreaPickerField, TextAreaPickerFieldListeners, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
7
7
|
|
|
8
8
|
import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
|
|
9
9
|
|
|
@@ -433,6 +433,12 @@ export type BryntumTextAreaPickerFieldProps = {
|
|
|
433
433
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-name)
|
|
434
434
|
*/
|
|
435
435
|
name? : string
|
|
436
|
+
/**
|
|
437
|
+
* Customizes the config object used to create this widget's clone in a [Toolbar](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar)'s
|
|
438
|
+
* overflow menu (see [overflow](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar#config-overflow)).
|
|
439
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-overflowTwinConfig)
|
|
440
|
+
*/
|
|
441
|
+
overflowTwinConfig? : OverflowTwinConfig|null
|
|
436
442
|
/**
|
|
437
443
|
* Configuration object for the [picker](https://bryntum.com/products/core/docs/api/Core/widget/List) on initialization. Returns the
|
|
438
444
|
* [picker](https://bryntum.com/products/core/docs/api/Core/widget/List) instance at runtime.
|
|
@@ -834,6 +840,7 @@ export class BryntumTextAreaPickerField extends React.Component<BryntumTextAreaP
|
|
|
834
840
|
'minLength',
|
|
835
841
|
'monitorResize',
|
|
836
842
|
'name',
|
|
843
|
+
'overflowTwinConfig',
|
|
837
844
|
'picker',
|
|
838
845
|
'pickerAlignElement',
|
|
839
846
|
'positioned',
|
package/src/BryntumTextField.tsx
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
5
5
|
import React, { RefObject } from 'react';
|
|
6
|
-
import { AlignSpec, Base, Color, CoreContainerItemConfig, DomConfig, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, ReactJSX, Rectangle, Scroller, TabConfig, TextField, TextFieldListeners, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
6
|
+
import { AlignSpec, Base, Color, CoreContainerItemConfig, DomConfig, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, OverflowTwinConfig, ReactJSX, Rectangle, Scroller, TabConfig, TextField, TextFieldListeners, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
7
7
|
|
|
8
8
|
import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
|
|
9
9
|
|
|
@@ -436,6 +436,12 @@ export type BryntumTextFieldProps = {
|
|
|
436
436
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-name)
|
|
437
437
|
*/
|
|
438
438
|
name? : string
|
|
439
|
+
/**
|
|
440
|
+
* Customizes the config object used to create this widget's clone in a [Toolbar](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar)'s
|
|
441
|
+
* overflow menu (see [overflow](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar#config-overflow)).
|
|
442
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-overflowTwinConfig)
|
|
443
|
+
*/
|
|
444
|
+
overflowTwinConfig? : OverflowTwinConfig|null
|
|
439
445
|
/**
|
|
440
446
|
* Text to display in empty field.
|
|
441
447
|
*/
|
|
@@ -822,6 +828,7 @@ export class BryntumTextField extends React.Component<BryntumTextFieldProps> {
|
|
|
822
828
|
'minLength',
|
|
823
829
|
'monitorResize',
|
|
824
830
|
'name',
|
|
831
|
+
'overflowTwinConfig',
|
|
825
832
|
'positioned',
|
|
826
833
|
'preventTooltipOnTouch',
|
|
827
834
|
'relayStoreEvents',
|
|
@@ -52,6 +52,7 @@ export class BryntumThemeCombo extends Component<BryntumThemeComboProps> {
|
|
|
52
52
|
value : 'svalbard-light',
|
|
53
53
|
editable : false,
|
|
54
54
|
labelPosition : 'before',
|
|
55
|
+
ref : 'themeCombo',
|
|
55
56
|
listeners : {
|
|
56
57
|
change({ value }: { value: string }) {
|
|
57
58
|
DomHelper.setTheme(value).then((context: any) => {
|
package/src/BryntumTimeField.tsx
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
5
5
|
import React, { RefObject } from 'react';
|
|
6
|
-
import { AlignSpec, Base, Color, CoreContainerItemConfig, DateField, DomConfig, DurationConfig, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, ReactJSX, Rectangle, Scroller, TabConfig, TimeField, TimeFieldListeners, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
6
|
+
import { AlignSpec, Base, Color, CoreContainerItemConfig, DateField, DomConfig, DurationConfig, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, OverflowTwinConfig, ReactJSX, Rectangle, Scroller, TabConfig, TimeField, TimeFieldListeners, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
7
7
|
|
|
8
8
|
import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
|
|
9
9
|
|
|
@@ -455,6 +455,12 @@ export type BryntumTimeFieldProps = {
|
|
|
455
455
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TimeField#config-name)
|
|
456
456
|
*/
|
|
457
457
|
name? : string
|
|
458
|
+
/**
|
|
459
|
+
* Customizes the config object used to create this widget's clone in a [Toolbar](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar)'s
|
|
460
|
+
* overflow menu (see [overflow](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar#config-overflow)).
|
|
461
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TimeField#config-overflowTwinConfig)
|
|
462
|
+
*/
|
|
463
|
+
overflowTwinConfig? : OverflowTwinConfig|null
|
|
458
464
|
/**
|
|
459
465
|
* A reference to a partner DateField which this TimeField should sync its value with.
|
|
460
466
|
* When the DateField's value is changed, this TimeField's value is updated to match.
|
|
@@ -875,6 +881,7 @@ export class BryntumTimeField extends React.Component<BryntumTimeFieldProps> {
|
|
|
875
881
|
'minLength',
|
|
876
882
|
'monitorResize',
|
|
877
883
|
'name',
|
|
884
|
+
'overflowTwinConfig',
|
|
878
885
|
'picker',
|
|
879
886
|
'pickerAlignElement',
|
|
880
887
|
'positioned',
|
|
@@ -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, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, TimePicker, TimePickerListeners, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
6
|
+
import { AlignSpec, Base, Color, Container, CoreContainerItemConfig, CoreContainerLayoutConfig, DomConfig, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, MenuItemEntry, Model, OverflowTwinConfig, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, TimePicker, TimePickerListeners, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
7
7
|
|
|
8
8
|
import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
|
|
9
9
|
|
|
@@ -51,7 +51,7 @@ export type BryntumTimePickerProps = {
|
|
|
51
51
|
*/
|
|
52
52
|
ariaLabel? : string
|
|
53
53
|
/**
|
|
54
|
-
* Update assigned [record](https://bryntum.com/products/core/docs/api/Core/widget/Container#config-record) automatically on field changes
|
|
54
|
+
* Update assigned [record](https://bryntum.com/products/core/docs/api/Core/widget/Container#config-record) automatically on field changes.
|
|
55
55
|
*/
|
|
56
56
|
autoUpdateRecord? : boolean
|
|
57
57
|
/**
|
|
@@ -389,6 +389,12 @@ export type BryntumTimePickerProps = {
|
|
|
389
389
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TimePicker#config-namedItems)
|
|
390
390
|
*/
|
|
391
391
|
namedItems? : Record<string, CoreContainerItemConfig>
|
|
392
|
+
/**
|
|
393
|
+
* Customizes the config object used to create this widget's clone in a [Toolbar](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar)'s
|
|
394
|
+
* overflow menu (see [overflow](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar#config-overflow)).
|
|
395
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TimePicker#config-overflowTwinConfig)
|
|
396
|
+
*/
|
|
397
|
+
overflowTwinConfig? : OverflowTwinConfig|null
|
|
392
398
|
/**
|
|
393
399
|
* 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
|
|
394
400
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
@@ -691,7 +697,6 @@ export class BryntumTimePicker extends React.Component<BryntumTimePickerProps> {
|
|
|
691
697
|
'anchor',
|
|
692
698
|
'ariaDescription',
|
|
693
699
|
'ariaLabel',
|
|
694
|
-
'autoUpdateRecord',
|
|
695
700
|
'border',
|
|
696
701
|
'bubbleEvents',
|
|
697
702
|
'color',
|
|
@@ -721,6 +726,7 @@ export class BryntumTimePicker extends React.Component<BryntumTimePickerProps> {
|
|
|
721
726
|
'masked',
|
|
722
727
|
'monitorResize',
|
|
723
728
|
'namedItems',
|
|
729
|
+
'overflowTwinConfig',
|
|
724
730
|
'positioned',
|
|
725
731
|
'preventTooltipOnTouch',
|
|
726
732
|
'relayStoreEvents',
|
|
@@ -744,6 +750,7 @@ export class BryntumTimePicker extends React.Component<BryntumTimePickerProps> {
|
|
|
744
750
|
static propertyConfigNames = [
|
|
745
751
|
'alignSelf',
|
|
746
752
|
'appendTo',
|
|
753
|
+
'autoUpdateRecord',
|
|
747
754
|
'callOnFunctions',
|
|
748
755
|
'catchEventHandlerExceptions',
|
|
749
756
|
'centered',
|
package/src/BryntumToolbar.tsx
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
5
5
|
import React, { RefObject } from 'react';
|
|
6
|
-
import { AlignSpec, Base, ClickRepeaterConfig, Color, Container, CoreContainerItemConfig, CoreContainerLayoutConfig, DomConfig, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, Model, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, Tool, ToolConfig, Toolbar, ToolbarItems, ToolbarListeners, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
6
|
+
import { AlignSpec, Base, ClickRepeaterConfig, Color, Container, CoreContainerItemConfig, CoreContainerLayoutConfig, DomConfig, KeyMapConfig, Layout, MaskConfig, MenuItemConfig, Model, OverflowTwinConfig, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, Tool, ToolConfig, Toolbar, ToolbarItems, ToolbarListeners, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
7
7
|
|
|
8
8
|
import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
|
|
9
9
|
|
|
@@ -51,7 +51,7 @@ export type BryntumToolbarProps = {
|
|
|
51
51
|
*/
|
|
52
52
|
ariaLabel? : string
|
|
53
53
|
/**
|
|
54
|
-
* Update assigned [record](https://bryntum.com/products/core/docs/api/Core/widget/Container#config-record) automatically on field changes
|
|
54
|
+
* Update assigned [record](https://bryntum.com/products/core/docs/api/Core/widget/Container#config-record) automatically on field changes.
|
|
55
55
|
*/
|
|
56
56
|
autoUpdateRecord? : boolean
|
|
57
57
|
/**
|
|
@@ -386,6 +386,12 @@ export type BryntumToolbarProps = {
|
|
|
386
386
|
* @property {Function} overflow.filter A filter function which may return a falsy value to prevent toolbar items from being cloned into the overflow menu.
|
|
387
387
|
*/
|
|
388
388
|
overflow? : string|{ type: 'scroll'|'menu', repeat: ClickRepeaterConfig, filter: () => void }|null
|
|
389
|
+
/**
|
|
390
|
+
* Customizes the config object used to create this widget's clone in a [Toolbar](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar)'s
|
|
391
|
+
* overflow menu (see [overflow](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar#config-overflow)).
|
|
392
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Toolbar#config-overflowTwinConfig)
|
|
393
|
+
*/
|
|
394
|
+
overflowTwinConfig? : OverflowTwinConfig|null
|
|
389
395
|
/**
|
|
390
396
|
* 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
|
|
391
397
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
@@ -713,7 +719,6 @@ export class BryntumToolbar extends React.Component<BryntumToolbarProps> {
|
|
|
713
719
|
'anchor',
|
|
714
720
|
'ariaDescription',
|
|
715
721
|
'ariaLabel',
|
|
716
|
-
'autoUpdateRecord',
|
|
717
722
|
'border',
|
|
718
723
|
'bubbleEvents',
|
|
719
724
|
'color',
|
|
@@ -744,6 +749,7 @@ export class BryntumToolbar extends React.Component<BryntumToolbarProps> {
|
|
|
744
749
|
'monitorResize',
|
|
745
750
|
'namedItems',
|
|
746
751
|
'overflow',
|
|
752
|
+
'overflowTwinConfig',
|
|
747
753
|
'positioned',
|
|
748
754
|
'preventTooltipOnTouch',
|
|
749
755
|
'relayStoreEvents',
|
|
@@ -768,6 +774,7 @@ export class BryntumToolbar extends React.Component<BryntumToolbarProps> {
|
|
|
768
774
|
static propertyConfigNames = [
|
|
769
775
|
'alignSelf',
|
|
770
776
|
'appendTo',
|
|
777
|
+
'autoUpdateRecord',
|
|
771
778
|
'callOnFunctions',
|
|
772
779
|
'catchEventHandlerExceptions',
|
|
773
780
|
'centered',
|
package/src/BryntumWidget.tsx
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
5
5
|
import React, { RefObject } from 'react';
|
|
6
|
-
import { AlignSpec, Base, Color, DomConfig, KeyMapConfig, MaskConfig, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget, WidgetListeners } from '@bryntum/core-thin';
|
|
6
|
+
import { AlignSpec, Base, Color, DomConfig, KeyMapConfig, MaskConfig, OverflowTwinConfig, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget, WidgetListeners } from '@bryntum/core-thin';
|
|
7
7
|
|
|
8
8
|
import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
|
|
9
9
|
|
|
@@ -298,6 +298,12 @@ export type BryntumWidgetProps = {
|
|
|
298
298
|
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
299
299
|
*/
|
|
300
300
|
monitorResize? : boolean|object
|
|
301
|
+
/**
|
|
302
|
+
* Customizes the config object used to create this widget's clone in a [Toolbar](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar)'s
|
|
303
|
+
* overflow menu (see [overflow](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar#config-overflow)).
|
|
304
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-overflowTwinConfig)
|
|
305
|
+
*/
|
|
306
|
+
overflowTwinConfig? : OverflowTwinConfig|null
|
|
301
307
|
/**
|
|
302
308
|
* 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
|
|
303
309
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
@@ -568,6 +574,7 @@ export class BryntumWidget extends React.Component<BryntumWidgetProps> {
|
|
|
568
574
|
'maskDefaults',
|
|
569
575
|
'masked',
|
|
570
576
|
'monitorResize',
|
|
577
|
+
'overflowTwinConfig',
|
|
571
578
|
'positioned',
|
|
572
579
|
'preventTooltipOnTouch',
|
|
573
580
|
'relayStoreEvents',
|
|
@@ -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, ReactJSX, 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, OverflowTwinConfig, 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
|
|
|
@@ -51,7 +51,7 @@ export type BryntumYearPickerProps = {
|
|
|
51
51
|
*/
|
|
52
52
|
ariaLabel? : string
|
|
53
53
|
/**
|
|
54
|
-
* Update assigned [record](https://bryntum.com/products/core/docs/api/Core/widget/Container#config-record) automatically on field changes
|
|
54
|
+
* Update assigned [record](https://bryntum.com/products/core/docs/api/Core/widget/Container#config-record) automatically on field changes.
|
|
55
55
|
*/
|
|
56
56
|
autoUpdateRecord? : boolean
|
|
57
57
|
/**
|
|
@@ -435,6 +435,12 @@ export type BryntumYearPickerProps = {
|
|
|
435
435
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-namedItems)
|
|
436
436
|
*/
|
|
437
437
|
namedItems? : Record<string, CoreContainerItemConfig>
|
|
438
|
+
/**
|
|
439
|
+
* Customizes the config object used to create this widget's clone in a [Toolbar](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar)'s
|
|
440
|
+
* overflow menu (see [overflow](https://bryntum.com/products/core/docs/api/Core/widget/Toolbar#config-overflow)).
|
|
441
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-overflowTwinConfig)
|
|
442
|
+
*/
|
|
443
|
+
overflowTwinConfig? : OverflowTwinConfig|null
|
|
438
444
|
/**
|
|
439
445
|
* Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement), but must
|
|
440
446
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
@@ -538,7 +544,7 @@ export type BryntumYearPickerProps = {
|
|
|
538
544
|
* (if explicitly specified) will be used as the `stateId`.
|
|
539
545
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#config-stateId)
|
|
540
546
|
*/
|
|
541
|
-
stateId? : string
|
|
547
|
+
stateId? : string|null
|
|
542
548
|
/**
|
|
543
549
|
* The `StateProvider` to use to save and restore this object's [state](https://bryntum.com/products/core/docs/api/Core/mixin/State#property-state). By default, `state`
|
|
544
550
|
* will be saved using the [default state provider](https://bryntum.com/products/core/docs/api/Core/state/StateProvider#property-instance-static).
|
|
@@ -829,7 +835,6 @@ export class BryntumYearPicker extends React.Component<BryntumYearPickerProps> {
|
|
|
829
835
|
'anchor',
|
|
830
836
|
'ariaDescription',
|
|
831
837
|
'ariaLabel',
|
|
832
|
-
'autoUpdateRecord',
|
|
833
838
|
'bbar',
|
|
834
839
|
'bodyCls',
|
|
835
840
|
'border',
|
|
@@ -868,6 +873,7 @@ export class BryntumYearPicker extends React.Component<BryntumYearPickerProps> {
|
|
|
868
873
|
'minYear',
|
|
869
874
|
'monitorResize',
|
|
870
875
|
'namedItems',
|
|
876
|
+
'overflowTwinConfig',
|
|
871
877
|
'positioned',
|
|
872
878
|
'preventTooltipOnTouch',
|
|
873
879
|
'relayStoreEvents',
|
|
@@ -879,7 +885,6 @@ export class BryntumYearPicker extends React.Component<BryntumYearPickerProps> {
|
|
|
879
885
|
'showTooltipWhenDisabled',
|
|
880
886
|
'stateful',
|
|
881
887
|
'statefulEvents',
|
|
882
|
-
'stateId',
|
|
883
888
|
'stateProvider',
|
|
884
889
|
'strips',
|
|
885
890
|
'tab',
|
|
@@ -898,6 +903,7 @@ export class BryntumYearPicker extends React.Component<BryntumYearPickerProps> {
|
|
|
898
903
|
static propertyConfigNames = [
|
|
899
904
|
'alignSelf',
|
|
900
905
|
'appendTo',
|
|
906
|
+
'autoUpdateRecord',
|
|
901
907
|
'callOnFunctions',
|
|
902
908
|
'catchEventHandlerExceptions',
|
|
903
909
|
'centered',
|
|
@@ -957,6 +963,7 @@ export class BryntumYearPicker extends React.Component<BryntumYearPickerProps> {
|
|
|
957
963
|
'scrollable',
|
|
958
964
|
'span',
|
|
959
965
|
'startYear',
|
|
966
|
+
'stateId',
|
|
960
967
|
'strictRecordMapping',
|
|
961
968
|
'title',
|
|
962
969
|
'tools',
|
package/src/WrapperHelper.tsx
CHANGED
|
@@ -803,7 +803,7 @@ function processCalendarEventContent(this: any, {
|
|
|
803
803
|
refHolder = targetElement.closest('[data-ref]') as HTMLElement,
|
|
804
804
|
mode = typeof this.mode === 'string' ? this.mode : this.mode?.type?.slice(0, 4),
|
|
805
805
|
lastPortalId = wrap?.dataset.lastPortalId,
|
|
806
|
-
portalKey = domConfig
|
|
806
|
+
portalKey = domConfig?.dataset?.date || dataHolder?.dataset.date,
|
|
807
807
|
containerRef = refHolder?.dataset?.ref;
|
|
808
808
|
|
|
809
809
|
reactComponent.syncContent = reactComponent.syncContent || function(fn: () => unknown) {
|