@bryntum/core-react-thin 7.3.0 → 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 +2 -1
- package/lib/BryntumBooleanCombo.js +1 -0
- package/lib/BryntumBooleanCombo.js.map +1 -1
- package/lib/BryntumButton.d.ts +3 -3
- package/lib/BryntumButtonGroup.d.ts +1 -1
- package/lib/BryntumChatPanel.d.ts +3 -3
- package/lib/BryntumCheckbox.d.ts +3 -2
- package/lib/BryntumCheckbox.js +1 -0
- package/lib/BryntumCheckbox.js.map +1 -1
- package/lib/BryntumCheckboxGroup.d.ts +3 -3
- package/lib/BryntumChipView.d.ts +2 -2
- package/lib/BryntumCodeEditor.d.ts +3 -3
- 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 +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 -3
- package/lib/BryntumDateRangeField.d.ts +2 -1
- 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 -3
- 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 +5 -5
- package/lib/BryntumFieldFilterPicker.d.ts +1 -1
- package/lib/BryntumFieldFilterPickerGroup.d.ts +2 -2
- package/lib/BryntumFieldSet.d.ts +3 -3
- 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 +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 -3
- package/lib/BryntumLabel.d.ts +1 -1
- package/lib/BryntumList.d.ts +2 -2
- package/lib/BryntumMenu.d.ts +3 -3
- package/lib/BryntumMonthPicker.d.ts +3 -3
- 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 +2 -2
- package/lib/BryntumPanel.d.ts +3 -3
- 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 +1 -1
- package/lib/BryntumRadio.d.ts +3 -2
- package/lib/BryntumRadio.js +1 -0
- package/lib/BryntumRadio.js.map +1 -1
- package/lib/BryntumRadioGroup.d.ts +3 -3
- package/lib/BryntumSlideToggle.d.ts +3 -2
- package/lib/BryntumSlideToggle.js +1 -0
- package/lib/BryntumSlideToggle.js.map +1 -1
- package/lib/BryntumSlider.d.ts +1 -1
- package/lib/BryntumSplitter.d.ts +1 -1
- package/lib/BryntumTabPanel.d.ts +4 -4
- 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/BryntumTimeField.d.ts +2 -1
- package/lib/BryntumTimeField.js +1 -0
- package/lib/BryntumTimeField.js.map +1 -1
- package/lib/BryntumTimePicker.d.ts +1 -1
- package/lib/BryntumToolbar.d.ts +2 -2
- package/lib/BryntumWidget.d.ts +1 -1
- package/lib/BryntumYearPicker.d.ts +3 -3
- package/package.json +1 -1
- package/src/BryntumBooleanCombo.tsx +11 -1
- package/src/BryntumButton.tsx +3 -3
- package/src/BryntumButtonGroup.tsx +1 -1
- package/src/BryntumChatPanel.tsx +3 -3
- package/src/BryntumCheckbox.tsx +12 -2
- package/src/BryntumCheckboxGroup.tsx +3 -3
- package/src/BryntumChipView.tsx +2 -2
- package/src/BryntumCodeEditor.tsx +3 -3
- package/src/BryntumColorField.tsx +11 -1
- package/src/BryntumCombo.tsx +11 -1
- package/src/BryntumContainer.tsx +1 -1
- package/src/BryntumDateField.tsx +11 -1
- package/src/BryntumDatePicker.tsx +3 -3
- package/src/BryntumDateRangeField.tsx +11 -1
- package/src/BryntumDateTimeField.tsx +11 -1
- package/src/BryntumDemoCodeEditor.tsx +3 -3
- package/src/BryntumDisplayField.tsx +11 -1
- package/src/BryntumDurationField.tsx +11 -1
- package/src/BryntumEditor.tsx +5 -5
- package/src/BryntumFieldFilterPicker.tsx +1 -1
- package/src/BryntumFieldFilterPickerGroup.tsx +2 -2
- package/src/BryntumFieldSet.tsx +3 -3
- package/src/BryntumFileField.tsx +11 -1
- package/src/BryntumFilePicker.tsx +1 -1
- package/src/BryntumFilterField.tsx +11 -1
- package/src/BryntumHint.tsx +3 -3
- package/src/BryntumLabel.tsx +1 -1
- package/src/BryntumList.tsx +2 -2
- package/src/BryntumMenu.tsx +3 -3
- package/src/BryntumMonthPicker.tsx +3 -3
- package/src/BryntumNumberField.tsx +11 -1
- package/src/BryntumPagingToolbar.tsx +2 -2
- package/src/BryntumPanel.tsx +3 -3
- package/src/BryntumPasswordField.tsx +11 -1
- package/src/BryntumProgressBar.tsx +1 -1
- package/src/BryntumRadio.tsx +12 -2
- package/src/BryntumRadioGroup.tsx +3 -3
- package/src/BryntumSlideToggle.tsx +12 -2
- package/src/BryntumSlider.tsx +1 -1
- package/src/BryntumSplitter.tsx +1 -1
- package/src/BryntumTabPanel.tsx +4 -4
- package/src/BryntumTextAreaField.tsx +11 -1
- package/src/BryntumTextAreaPickerField.tsx +11 -1
- package/src/BryntumTextField.tsx +11 -1
- package/src/BryntumTimeField.tsx +11 -1
- package/src/BryntumTimePicker.tsx +1 -1
- package/src/BryntumToolbar.tsx +2 -2
- package/src/BryntumWidget.tsx +1 -1
- package/src/BryntumYearPicker.tsx +3 -3
|
@@ -89,6 +89,15 @@ export type BryntumTextAreaFieldProps = {
|
|
|
89
89
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
90
90
|
*/
|
|
91
91
|
centered? : boolean
|
|
92
|
+
/**
|
|
93
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
94
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
|
|
95
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
|
|
96
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaField#config-checkValidity)
|
|
97
|
+
* @param {Core.widget.Field} field The field being validated
|
|
98
|
+
* @returns {void}
|
|
99
|
+
*/
|
|
100
|
+
checkValidity? : ((field: Field) => void)|string
|
|
92
101
|
/**
|
|
93
102
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
94
103
|
* in the [triggers](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|
|
@@ -619,7 +628,7 @@ export type BryntumTextAreaFieldProps = {
|
|
|
619
628
|
* @param {object} event Event object
|
|
620
629
|
* @param {Core.widget.Widget} event.source The widget being hidden.
|
|
621
630
|
*/
|
|
622
|
-
onBeforeHide? : ((event: { source: Widget }) =>
|
|
631
|
+
onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
|
|
623
632
|
/**
|
|
624
633
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
625
634
|
* @param {object} event Event object
|
|
@@ -768,6 +777,7 @@ export class BryntumTextAreaField extends React.Component<BryntumTextAreaFieldPr
|
|
|
768
777
|
'autoSelect',
|
|
769
778
|
'bubbleEvents',
|
|
770
779
|
'centered',
|
|
780
|
+
'checkValidity',
|
|
771
781
|
'clearable',
|
|
772
782
|
'color',
|
|
773
783
|
'config',
|
|
@@ -87,6 +87,15 @@ export type BryntumTextAreaPickerFieldProps = {
|
|
|
87
87
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
88
88
|
*/
|
|
89
89
|
centered? : boolean
|
|
90
|
+
/**
|
|
91
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
92
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
|
|
93
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
|
|
94
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextAreaPickerField#config-checkValidity)
|
|
95
|
+
* @param {Core.widget.Field} field The field being validated
|
|
96
|
+
* @returns {void}
|
|
97
|
+
*/
|
|
98
|
+
checkValidity? : ((field: Field) => void)|string
|
|
90
99
|
/**
|
|
91
100
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
92
101
|
* in the [triggers](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|
|
@@ -628,7 +637,7 @@ export type BryntumTextAreaPickerFieldProps = {
|
|
|
628
637
|
* @param {object} event Event object
|
|
629
638
|
* @param {Core.widget.Widget} event.source The widget being hidden.
|
|
630
639
|
*/
|
|
631
|
-
onBeforeHide? : ((event: { source: Widget }) =>
|
|
640
|
+
onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
|
|
632
641
|
/**
|
|
633
642
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
634
643
|
* @param {object} event Event object
|
|
@@ -777,6 +786,7 @@ export class BryntumTextAreaPickerField extends React.Component<BryntumTextAreaP
|
|
|
777
786
|
'autoSelect',
|
|
778
787
|
'bubbleEvents',
|
|
779
788
|
'centered',
|
|
789
|
+
'checkValidity',
|
|
780
790
|
'clearable',
|
|
781
791
|
'color',
|
|
782
792
|
'config',
|
package/src/BryntumTextField.tsx
CHANGED
|
@@ -83,6 +83,15 @@ export type BryntumTextFieldProps = {
|
|
|
83
83
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
84
84
|
*/
|
|
85
85
|
centered? : boolean
|
|
86
|
+
/**
|
|
87
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
88
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
|
|
89
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
|
|
90
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-checkValidity)
|
|
91
|
+
* @param {Core.widget.Field} field The field being validated
|
|
92
|
+
* @returns {void}
|
|
93
|
+
*/
|
|
94
|
+
checkValidity? : ((field: Field) => void)|string
|
|
86
95
|
/**
|
|
87
96
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
88
97
|
* in the [triggers](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|
|
@@ -617,7 +626,7 @@ export type BryntumTextFieldProps = {
|
|
|
617
626
|
* @param {object} event Event object
|
|
618
627
|
* @param {Core.widget.Widget} event.source The widget being hidden.
|
|
619
628
|
*/
|
|
620
|
-
onBeforeHide? : ((event: { source: Widget }) =>
|
|
629
|
+
onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
|
|
621
630
|
/**
|
|
622
631
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
623
632
|
* @param {object} event Event object
|
|
@@ -765,6 +774,7 @@ export class BryntumTextField extends React.Component<BryntumTextFieldProps> {
|
|
|
765
774
|
'autoSelect',
|
|
766
775
|
'bubbleEvents',
|
|
767
776
|
'centered',
|
|
777
|
+
'checkValidity',
|
|
768
778
|
'clearable',
|
|
769
779
|
'color',
|
|
770
780
|
'config',
|
package/src/BryntumTimeField.tsx
CHANGED
|
@@ -87,6 +87,15 @@ export type BryntumTimeFieldProps = {
|
|
|
87
87
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
88
88
|
*/
|
|
89
89
|
centered? : boolean
|
|
90
|
+
/**
|
|
91
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
92
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
|
|
93
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
|
|
94
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TimeField#config-checkValidity)
|
|
95
|
+
* @param {Core.widget.Field} field The field being validated
|
|
96
|
+
* @returns {void}
|
|
97
|
+
*/
|
|
98
|
+
checkValidity? : ((field: Field) => void)|string
|
|
90
99
|
/**
|
|
91
100
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
92
101
|
* in the [triggers](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|
|
@@ -669,7 +678,7 @@ export type BryntumTimeFieldProps = {
|
|
|
669
678
|
* @param {object} event Event object
|
|
670
679
|
* @param {Core.widget.Widget} event.source The widget being hidden.
|
|
671
680
|
*/
|
|
672
|
-
onBeforeHide? : ((event: { source: Widget }) =>
|
|
681
|
+
onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
|
|
673
682
|
/**
|
|
674
683
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
675
684
|
* @param {object} event Event object
|
|
@@ -818,6 +827,7 @@ export class BryntumTimeField extends React.Component<BryntumTimeFieldProps> {
|
|
|
818
827
|
'autoSelect',
|
|
819
828
|
'bubbleEvents',
|
|
820
829
|
'centered',
|
|
830
|
+
'checkValidity',
|
|
821
831
|
'clearable',
|
|
822
832
|
'color',
|
|
823
833
|
'config',
|
|
@@ -553,7 +553,7 @@ export type BryntumTimePickerProps = {
|
|
|
553
553
|
* @param {object} event Event object
|
|
554
554
|
* @param {Core.widget.Widget} event.source The widget being hidden.
|
|
555
555
|
*/
|
|
556
|
-
onBeforeHide? : ((event: { source: Widget }) =>
|
|
556
|
+
onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
|
|
557
557
|
/**
|
|
558
558
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
559
559
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
package/src/BryntumToolbar.tsx
CHANGED
|
@@ -555,7 +555,7 @@ export type BryntumToolbarProps = {
|
|
|
555
555
|
* @param {object} event Event object
|
|
556
556
|
* @param {Core.widget.Widget} event.source The widget being hidden.
|
|
557
557
|
*/
|
|
558
|
-
onBeforeHide? : ((event: { source: Widget }) =>
|
|
558
|
+
onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
|
|
559
559
|
/**
|
|
560
560
|
* This event is fired on the owning Toolbar prior to starting a drag gesture. The drag is canceled if
|
|
561
561
|
* a listener returns `false`.
|
|
@@ -564,7 +564,7 @@ export type BryntumToolbarProps = {
|
|
|
564
564
|
* @param {Core.widget.Widget} event.item The dragged item.
|
|
565
565
|
* @param {Event} event.domEvent The browser event.
|
|
566
566
|
*/
|
|
567
|
-
onBeforeItemDragStart? : ((event: { source: Toolbar, item: Widget, domEvent: Event }) =>
|
|
567
|
+
onBeforeItemDragStart? : ((event: { source: Toolbar, item: Widget, domEvent: Event }) => boolean|void)|string
|
|
568
568
|
/**
|
|
569
569
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
570
570
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
package/src/BryntumWidget.tsx
CHANGED
|
@@ -429,7 +429,7 @@ export type BryntumWidgetProps = {
|
|
|
429
429
|
* @param {object} event Event object
|
|
430
430
|
* @param {Core.widget.Widget} event.source The widget being hidden.
|
|
431
431
|
*/
|
|
432
|
-
onBeforeHide? : ((event: { source: Widget }) =>
|
|
432
|
+
onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
|
|
433
433
|
/**
|
|
434
434
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
435
435
|
* @param {object} event Event object
|
|
@@ -659,7 +659,7 @@ export type BryntumYearPickerProps = {
|
|
|
659
659
|
* @param {object} event Event object
|
|
660
660
|
* @param {Core.widget.Widget} event.source The widget being hidden.
|
|
661
661
|
*/
|
|
662
|
-
onBeforeHide? : ((event: { source: Widget }) =>
|
|
662
|
+
onBeforeHide? : ((event: { source: Widget }) => boolean|void)|string
|
|
663
663
|
/**
|
|
664
664
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
665
665
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -679,13 +679,13 @@ export type BryntumYearPickerProps = {
|
|
|
679
679
|
* @param {object} event Event object
|
|
680
680
|
* @param {any} event.state State object config
|
|
681
681
|
*/
|
|
682
|
-
onBeforeStateApply? : ((event: { state: any }) =>
|
|
682
|
+
onBeforeStateApply? : ((event: { state: any }) => boolean|void)|string
|
|
683
683
|
/**
|
|
684
684
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
685
685
|
* @param {object} event Event object
|
|
686
686
|
* @param {any} event.state State object config
|
|
687
687
|
*/
|
|
688
|
-
onBeforeStateSave? : ((event: { state: any }) =>
|
|
688
|
+
onBeforeStateSave? : ((event: { state: any }) => boolean|void)|string
|
|
689
689
|
/**
|
|
690
690
|
* Fires when any other event is fired from the object.
|
|
691
691
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/YearPicker#event-catchAll)
|