@bryntum/grid-vue-3-thin 7.3.0 → 7.3.2
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 +4 -4
- package/lib/chunks/Bc2x_WPR.js.map +1 -1
- package/lib/chunks/Be7ZZzGW.js.map +1 -1
- package/lib/chunks/BpNo5v3W.js.map +1 -1
- package/lib/chunks/{BeyOFZne.js → C87PnYXS.js} +11 -9
- package/lib/chunks/C87PnYXS.js.map +1 -0
- package/lib/chunks/{Ba35uKyP.js → C9RmZYoQ.js} +7 -5
- package/lib/chunks/C9RmZYoQ.js.map +1 -0
- package/lib/chunks/CAlh-Y8B.js.map +1 -1
- package/lib/chunks/CWYhi4DG.js.map +1 -1
- package/lib/chunks/CcfDAcJD.js.map +1 -1
- package/lib/chunks/{BGeNcVH6.js → DZ2V6NNc.js} +12 -10
- package/lib/chunks/DZ2V6NNc.js.map +1 -0
- package/lib/chunks/w2GDktIt.js.map +1 -1
- package/lib/components/BryntumAIFilterField.js +1 -1
- package/lib/components/BryntumChecklistFilterCombo.js +1 -1
- package/lib/components/BryntumTreeCombo.js +1 -1
- package/lib/index.js +3 -3
- package/package.json +1 -1
- package/src/components/BryntumAIFilterField.vue +86 -106
- package/src/components/BryntumAIFilterFieldProps.ts +15 -0
- package/src/components/BryntumChecklistFilterCombo.vue +87 -109
- package/src/components/BryntumChecklistFilterComboProps.ts +15 -0
- package/src/components/BryntumGrid.vue +529 -755
- package/src/components/BryntumGridBase.vue +529 -755
- package/src/components/BryntumGridBaseProps.ts +6 -0
- package/src/components/BryntumGridChartDesigner.vue +49 -69
- package/src/components/BryntumGridChartDesignerProps.ts +6 -0
- package/src/components/BryntumGridFieldFilterPicker.vue +59 -85
- package/src/components/BryntumGridFieldFilterPickerGroup.vue +63 -91
- package/src/components/BryntumGridFieldFilterPickerGroupProps.ts +6 -0
- package/src/components/BryntumGridFieldFilterPickerProps.ts +6 -0
- package/src/components/BryntumGridProps.ts +6 -0
- package/src/components/BryntumGroupBar.vue +74 -102
- package/src/components/BryntumGroupBarProps.ts +9 -1
- package/src/components/BryntumTreeCombo.vue +87 -109
- package/src/components/BryntumTreeComboProps.ts +15 -0
- package/src/components/BryntumTreeGrid.vue +529 -755
- package/src/components/BryntumTreeGridProps.ts +6 -0
- package/lib/chunks/BGeNcVH6.js.map +0 -1
- package/lib/chunks/Ba35uKyP.js.map +0 -1
- package/lib/chunks/BeyOFZne.js.map +0 -1
|
@@ -43,6 +43,8 @@ defineProps<{
|
|
|
43
43
|
/**
|
|
44
44
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
45
45
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element).
|
|
46
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
47
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-appendTo)
|
|
46
48
|
*/
|
|
47
49
|
appendTo ? : HTMLElement|string
|
|
48
50
|
/**
|
|
@@ -105,6 +107,15 @@ defineProps<{
|
|
|
105
107
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
106
108
|
*/
|
|
107
109
|
centered ? : Boolean
|
|
110
|
+
/**
|
|
111
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
112
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/grid/docs/api/Core/widget/Field#property-isValid)
|
|
113
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-required) check.
|
|
114
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-checkValidity)
|
|
115
|
+
* @param {Core.widget.Field} field The field being validated
|
|
116
|
+
* @returns {void}
|
|
117
|
+
*/
|
|
118
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
108
119
|
/**
|
|
109
120
|
* A config object to configure the [ChipView](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView) to display the
|
|
110
121
|
* selected value set when [multiSelect](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
|
|
@@ -398,10 +409,14 @@ defineProps<{
|
|
|
398
409
|
inputWidth ? : string|number
|
|
399
410
|
/**
|
|
400
411
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
412
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
413
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-insertBefore)
|
|
401
414
|
*/
|
|
402
415
|
insertBefore ? : HTMLElement|string
|
|
403
416
|
/**
|
|
404
417
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
418
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
419
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-insertFirst)
|
|
405
420
|
*/
|
|
406
421
|
insertFirst ? : HTMLElement|string
|
|
407
422
|
/**
|
|
@@ -802,44 +817,36 @@ const emit = defineEmits<{
|
|
|
802
817
|
* The default action was performed (an item in the list was selected)
|
|
803
818
|
* @param {string} e Event name
|
|
804
819
|
* @param {object} params Event parameters
|
|
805
|
-
* @param {
|
|
806
|
-
* @param {
|
|
807
|
-
* @param {
|
|
808
|
-
* @param {Core.
|
|
809
|
-
* @param {
|
|
810
|
-
* @param {
|
|
811
|
-
* @param {Core.data.Model[]} params.params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-multiSelect) is `true`
|
|
812
|
-
* @param {boolean} params.params.event.userAction `true` if the value change is due to user interaction
|
|
820
|
+
* @param {object} params.event Event object
|
|
821
|
+
* @param {Core.widget.Combo} params.event.source The combo
|
|
822
|
+
* @param {any} params.event.value The [value](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-valueField) of the selected record
|
|
823
|
+
* @param {Core.data.Model} params.event.record Selected record
|
|
824
|
+
* @param {Core.data.Model[]} params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-multiSelect) is `true`
|
|
825
|
+
* @param {boolean} params.event.userAction `true` if the value change is due to user interaction
|
|
813
826
|
*/
|
|
814
827
|
(e: 'action', params: ((event: { source: Combo, value: any, record: Model, records: Model[], userAction: boolean }) => void)|string): void
|
|
815
828
|
/**
|
|
816
829
|
* Fires before an object is destroyed.
|
|
817
830
|
* @param {string} e Event name
|
|
818
831
|
* @param {object} params Event parameters
|
|
819
|
-
* @param {
|
|
820
|
-
* @param {
|
|
821
|
-
* @param {object} params.params.event Event object
|
|
822
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
832
|
+
* @param {object} params.event Event object
|
|
833
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
823
834
|
*/
|
|
824
835
|
(e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
|
|
825
836
|
/**
|
|
826
837
|
* Triggered before a widget is hidden. Return `false` to prevent the action.
|
|
827
838
|
* @param {string} e Event name
|
|
828
839
|
* @param {object} params Event parameters
|
|
829
|
-
* @param {
|
|
830
|
-
* @param {
|
|
831
|
-
* @param {object} params.params.event Event object
|
|
832
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being hidden.
|
|
840
|
+
* @param {object} params.event Event object
|
|
841
|
+
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
833
842
|
*/
|
|
834
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
843
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
835
844
|
/**
|
|
836
845
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
837
846
|
* @param {string} e Event name
|
|
838
847
|
* @param {object} params Event parameters
|
|
839
|
-
* @param {
|
|
840
|
-
* @param {
|
|
841
|
-
* @param {object} params.params.event Event object
|
|
842
|
-
* @param {Core.widget.Widget,any} params.params.event.source The widget being shown
|
|
848
|
+
* @param {object} params.event Event object
|
|
849
|
+
* @param {Core.widget.Widget,any} params.event.source The widget being shown
|
|
843
850
|
*/
|
|
844
851
|
(e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
845
852
|
/**
|
|
@@ -847,27 +854,23 @@ const emit = defineEmits<{
|
|
|
847
854
|
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#event-catchAll)
|
|
848
855
|
* @param {string} e Event name
|
|
849
856
|
* @param {object} params Event parameters
|
|
850
|
-
* @param {
|
|
851
|
-
* @param {
|
|
852
|
-
* @param {
|
|
853
|
-
* @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details
|
|
854
|
-
* @param {string} params.params.event.event.type The type of the event which is caught by the listener
|
|
857
|
+
* @param {object} params.event Event object
|
|
858
|
+
* @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details
|
|
859
|
+
* @param {string} params.event.event.type The type of the event which is caught by the listener
|
|
855
860
|
*/
|
|
856
861
|
(e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
|
|
857
862
|
/**
|
|
858
863
|
* Fired when this field's value changes.
|
|
859
864
|
* @param {string} e Event name
|
|
860
865
|
* @param {object} params Event parameters
|
|
861
|
-
* @param {
|
|
862
|
-
* @param {
|
|
863
|
-
* @param {
|
|
864
|
-
* @param {
|
|
865
|
-
* @param {
|
|
866
|
-
* @param {
|
|
867
|
-
* @param {boolean} params.
|
|
868
|
-
* @param {
|
|
869
|
-
* @param {boolean} params.params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
870
|
-
* @param {boolean} params.params.event.checked
|
|
866
|
+
* @param {object} params.event Event object
|
|
867
|
+
* @param {Core.widget.Field,any} params.event.source This Field
|
|
868
|
+
* @param {string,number,boolean,any} params.event.value This field's value
|
|
869
|
+
* @param {string,number,boolean,any} params.event.oldValue This field's previous value
|
|
870
|
+
* @param {boolean} params.event.valid True if this field is in a valid state
|
|
871
|
+
* @param {Event} params.event.event The triggering DOM event if any
|
|
872
|
+
* @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
873
|
+
* @param {boolean} params.event.checked
|
|
871
874
|
*/
|
|
872
875
|
(e: 'change', params: ((event: { source: Field|any, value: string|number|boolean|any, oldValue: string|number|boolean|any, valid: boolean, event: Event, userAction: boolean, checked: boolean }) => void)|string): void
|
|
873
876
|
/**
|
|
@@ -875,45 +878,37 @@ const emit = defineEmits<{
|
|
|
875
878
|
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#event-clear)
|
|
876
879
|
* @param {string} e Event name
|
|
877
880
|
* @param {object} params Event parameters
|
|
878
|
-
* @param {
|
|
879
|
-
* @param {
|
|
880
|
-
* @param {object} params.params.event Event object
|
|
881
|
-
* @param {Core.widget.Field,any} params.params.event.source This Field
|
|
881
|
+
* @param {object} params.event Event object
|
|
882
|
+
* @param {Core.widget.Field,any} params.event.source This Field
|
|
882
883
|
*/
|
|
883
884
|
(e: 'clear', params: ((event: { source: Field|any }) => void)|string): void
|
|
884
885
|
/**
|
|
885
886
|
* Fires when an object is destroyed.
|
|
886
887
|
* @param {string} e Event name
|
|
887
888
|
* @param {object} params Event parameters
|
|
888
|
-
* @param {
|
|
889
|
-
* @param {
|
|
890
|
-
* @param {object} params.params.event Event object
|
|
891
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
889
|
+
* @param {object} params.event Event object
|
|
890
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
892
891
|
*/
|
|
893
892
|
(e: 'destroy', params: ((event: { source: Base }) => void)|string): void
|
|
894
893
|
/**
|
|
895
894
|
* Triggered when a widget's [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element) is available.
|
|
896
895
|
* @param {string} e Event name
|
|
897
896
|
* @param {object} params Event parameters
|
|
898
|
-
* @param {
|
|
899
|
-
* @param {
|
|
900
|
-
* @param {object} params.params.event Event object
|
|
901
|
-
* @param {HTMLElement} params.params.event.element The Widget's element.
|
|
897
|
+
* @param {object} params.event Event object
|
|
898
|
+
* @param {HTMLElement} params.event.element The Widget's element.
|
|
902
899
|
*/
|
|
903
900
|
(e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
|
|
904
901
|
/**
|
|
905
902
|
* Fired when focus enters this Widget.
|
|
906
903
|
* @param {string} e Event name
|
|
907
904
|
* @param {object} params Event parameters
|
|
908
|
-
* @param {
|
|
909
|
-
* @param {
|
|
910
|
-
* @param {
|
|
911
|
-
* @param {
|
|
912
|
-
* @param {
|
|
913
|
-
* @param {
|
|
914
|
-
* @param {
|
|
915
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
916
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
905
|
+
* @param {object} params.event Event object
|
|
906
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
907
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
908
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
909
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
910
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
911
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
917
912
|
*/
|
|
918
913
|
(e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
919
914
|
/**
|
|
@@ -922,25 +917,21 @@ const emit = defineEmits<{
|
|
|
922
917
|
* will not trigger this event. This is when focus exits this widget completely.
|
|
923
918
|
* @param {string} e Event name
|
|
924
919
|
* @param {object} params Event parameters
|
|
925
|
-
* @param {
|
|
926
|
-
* @param {
|
|
927
|
-
* @param {
|
|
928
|
-
* @param {
|
|
929
|
-
* @param {
|
|
930
|
-
* @param {
|
|
931
|
-
* @param {
|
|
932
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
933
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
920
|
+
* @param {object} params.event Event object
|
|
921
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
922
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
923
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
924
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
925
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
926
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
934
927
|
*/
|
|
935
928
|
(e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
936
929
|
/**
|
|
937
930
|
* Triggered after a widget was hidden
|
|
938
931
|
* @param {string} e Event name
|
|
939
932
|
* @param {object} params Event parameters
|
|
940
|
-
* @param {
|
|
941
|
-
* @param {
|
|
942
|
-
* @param {object} params.params.event Event object
|
|
943
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
933
|
+
* @param {object} params.event Event object
|
|
934
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
944
935
|
*/
|
|
945
936
|
(e: 'hide', params: ((event: { source: Widget }) => void)|string): void
|
|
946
937
|
/**
|
|
@@ -948,12 +939,10 @@ const emit = defineEmits<{
|
|
|
948
939
|
* not the combos value
|
|
949
940
|
* @param {string} e Event name
|
|
950
941
|
* @param {object} params Event parameters
|
|
951
|
-
* @param {
|
|
952
|
-
* @param {
|
|
953
|
-
* @param {
|
|
954
|
-
* @param {
|
|
955
|
-
* @param {string} params.params.event.value Raw input value
|
|
956
|
-
* @param {Event} params.params.event.event The triggering DOM event if any.
|
|
942
|
+
* @param {object} params.event Event object
|
|
943
|
+
* @param {Core.widget.Combo} params.event.source The combo.
|
|
944
|
+
* @param {string} params.event.value Raw input value
|
|
945
|
+
* @param {Event} params.event.event The triggering DOM event if any.
|
|
957
946
|
*/
|
|
958
947
|
(e: 'input', params: ((event: { source: Combo, value: string, event: Event }) => void)|string): void
|
|
959
948
|
/**
|
|
@@ -962,21 +951,17 @@ const emit = defineEmits<{
|
|
|
962
951
|
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#event-paint)
|
|
963
952
|
* @param {string} e Event name
|
|
964
953
|
* @param {object} params Event parameters
|
|
965
|
-
* @param {
|
|
966
|
-
* @param {
|
|
967
|
-
* @param {
|
|
968
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being painted.
|
|
969
|
-
* @param {boolean} params.params.event.firstPaint `true` if this is the first paint.
|
|
954
|
+
* @param {object} params.event Event object
|
|
955
|
+
* @param {Core.widget.Widget} params.event.source The widget being painted.
|
|
956
|
+
* @param {boolean} params.event.firstPaint `true` if this is the first paint.
|
|
970
957
|
*/
|
|
971
958
|
(e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
|
|
972
959
|
/**
|
|
973
960
|
* Fired when a Widget's read only state is toggled
|
|
974
961
|
* @param {string} e Event name
|
|
975
962
|
* @param {object} params Event parameters
|
|
976
|
-
* @param {
|
|
977
|
-
* @param {
|
|
978
|
-
* @param {object} params.params.event Event object
|
|
979
|
-
* @param {boolean} params.params.event.readOnly Read only or not
|
|
963
|
+
* @param {object} params.event Event object
|
|
964
|
+
* @param {boolean} params.event.readOnly Read only or not
|
|
980
965
|
*/
|
|
981
966
|
(e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
|
|
982
967
|
/**
|
|
@@ -988,48 +973,40 @@ const emit = defineEmits<{
|
|
|
988
973
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
989
974
|
* @param {string} e Event name
|
|
990
975
|
* @param {object} params Event parameters
|
|
991
|
-
* @param {
|
|
992
|
-
* @param {
|
|
993
|
-
* @param {
|
|
994
|
-
* @param {
|
|
995
|
-
* @param {number} params.
|
|
996
|
-
* @param {number} params.
|
|
997
|
-
* @param {number} params.params.event.oldWidth The old width
|
|
998
|
-
* @param {number} params.params.event.oldHeight The old height
|
|
976
|
+
* @param {object} params.event Event object
|
|
977
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
978
|
+
* @param {number} params.event.width The new width
|
|
979
|
+
* @param {number} params.event.height The new height
|
|
980
|
+
* @param {number} params.event.oldWidth The old width
|
|
981
|
+
* @param {number} params.event.oldHeight The old height
|
|
999
982
|
*/
|
|
1000
983
|
(e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
|
|
1001
984
|
/**
|
|
1002
985
|
* An item in the list was selected
|
|
1003
986
|
* @param {string} e Event name
|
|
1004
987
|
* @param {object} params Event parameters
|
|
1005
|
-
* @param {
|
|
1006
|
-
* @param {
|
|
1007
|
-
* @param {
|
|
1008
|
-
* @param {Core.
|
|
1009
|
-
* @param {
|
|
1010
|
-
* @param {Core.data.Model[]} params.params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-multiSelect) is `true`
|
|
1011
|
-
* @param {boolean} params.params.event.userAction `true` if the value change is due to user interaction
|
|
988
|
+
* @param {object} params.event Event object
|
|
989
|
+
* @param {Core.widget.Combo} params.event.source The combo
|
|
990
|
+
* @param {Core.data.Model} params.event.record Selected record
|
|
991
|
+
* @param {Core.data.Model[]} params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-multiSelect) is `true`
|
|
992
|
+
* @param {boolean} params.event.userAction `true` if the value change is due to user interaction
|
|
1012
993
|
*/
|
|
1013
994
|
(e: 'select', params: ((event: { source: Combo, record: Model, records: Model[], userAction: boolean }) => void)|string): void
|
|
1014
995
|
/**
|
|
1015
996
|
* Triggered after a widget is shown.
|
|
1016
997
|
* @param {string} e Event name
|
|
1017
998
|
* @param {object} params Event parameters
|
|
1018
|
-
* @param {
|
|
1019
|
-
* @param {
|
|
1020
|
-
* @param {object} params.params.event Event object
|
|
1021
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
999
|
+
* @param {object} params.event Event object
|
|
1000
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
1022
1001
|
*/
|
|
1023
1002
|
(e: 'show', params: ((event: { source: Widget }) => void)|string): void
|
|
1024
1003
|
/**
|
|
1025
1004
|
* User clicked one of this field's [triggers](https://bryntum.com/products/grid/docs/api/Core/widget/Field#property-triggers)
|
|
1026
1005
|
* @param {string} e Event name
|
|
1027
1006
|
* @param {object} params Event parameters
|
|
1028
|
-
* @param {
|
|
1029
|
-
* @param {
|
|
1030
|
-
* @param {
|
|
1031
|
-
* @param {Core.widget.Field,any} params.params.event.source This field
|
|
1032
|
-
* @param {Core.widget.Widget} params.params.event.trigger The trigger activated by click or touch tap.
|
|
1007
|
+
* @param {object} params.event Event object
|
|
1008
|
+
* @param {Core.widget.Field,any} params.event.source This field
|
|
1009
|
+
* @param {Core.widget.Widget} params.event.trigger The trigger activated by click or touch tap.
|
|
1033
1010
|
*/
|
|
1034
1011
|
(e: 'trigger', params: ((event: { source: Field|any, trigger: Widget }) => void)|string): void
|
|
1035
1012
|
}>();
|
|
@@ -1051,6 +1028,7 @@ const widgetData = {
|
|
|
1051
1028
|
'cacheLastResult',
|
|
1052
1029
|
'caseSensitive',
|
|
1053
1030
|
'centered',
|
|
1031
|
+
'checkValidity',
|
|
1054
1032
|
'chipView',
|
|
1055
1033
|
'clearable',
|
|
1056
1034
|
'clearTextOnPickerHide',
|
|
@@ -28,6 +28,8 @@ export declare type BryntumChecklistFilterComboProps = {
|
|
|
28
28
|
/**
|
|
29
29
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
30
30
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element).
|
|
31
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
32
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-appendTo)
|
|
31
33
|
*/
|
|
32
34
|
appendTo ? : HTMLElement|string
|
|
33
35
|
/**
|
|
@@ -90,6 +92,15 @@ export declare type BryntumChecklistFilterComboProps = {
|
|
|
90
92
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
91
93
|
*/
|
|
92
94
|
centered ? : Boolean
|
|
95
|
+
/**
|
|
96
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
97
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/grid/docs/api/Core/widget/Field#property-isValid)
|
|
98
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-required) check.
|
|
99
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-checkValidity)
|
|
100
|
+
* @param {Core.widget.Field} field The field being validated
|
|
101
|
+
* @returns {void}
|
|
102
|
+
*/
|
|
103
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
93
104
|
/**
|
|
94
105
|
* A config object to configure the [ChipView](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView) to display the
|
|
95
106
|
* selected value set when [multiSelect](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
|
|
@@ -383,10 +394,14 @@ export declare type BryntumChecklistFilterComboProps = {
|
|
|
383
394
|
inputWidth ? : string|number
|
|
384
395
|
/**
|
|
385
396
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
397
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
398
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-insertBefore)
|
|
386
399
|
*/
|
|
387
400
|
insertBefore ? : HTMLElement|string
|
|
388
401
|
/**
|
|
389
402
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
403
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
404
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-insertFirst)
|
|
390
405
|
*/
|
|
391
406
|
insertFirst ? : HTMLElement|string
|
|
392
407
|
/**
|