@bryntum/scheduler-vue-3-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/README.md +8 -8
- package/lib/chunks/{DVFhf2Ma.js → BTSObfAz.js} +6 -4
- package/lib/chunks/BTSObfAz.js.map +1 -0
- package/lib/chunks/BXIuEgYD.js.map +1 -1
- package/lib/chunks/{DhhzgoYL.js → CCTV8qn0.js} +3 -1
- package/lib/chunks/CCTV8qn0.js.map +1 -0
- package/lib/chunks/{kN-s_8Na.js → COFzBhB8.js} +8 -6
- package/lib/chunks/COFzBhB8.js.map +1 -0
- package/lib/chunks/DB0UHrA3.js.map +1 -1
- package/lib/chunks/{5o-YjSb7.js → DJSlX0qP.js} +3 -1
- package/lib/chunks/DJSlX0qP.js.map +1 -0
- package/lib/chunks/DP61St-u.js.map +1 -1
- package/lib/chunks/{ZkU6CtWX.js → LNqNYJck.js} +9 -7
- package/lib/chunks/LNqNYJck.js.map +1 -0
- package/lib/chunks/R69sJLmF.js.map +1 -1
- package/lib/chunks/{OJaN5ZWK.js → WykRcMCN.js} +6 -4
- package/lib/chunks/WykRcMCN.js.map +1 -0
- package/lib/chunks/eUISgYXE.js.map +1 -1
- package/lib/chunks/t8aiH3XL.js.map +1 -1
- package/lib/components/BryntumEventColorField.js +1 -1
- package/lib/components/BryntumProjectCombo.js +1 -1
- package/lib/components/BryntumResourceCombo.js +1 -1
- package/lib/components/BryntumScheduler.js +1 -1
- package/lib/components/BryntumSchedulerBase.js +1 -1
- package/lib/components/BryntumViewPresetCombo.js +1 -1
- package/lib/index.js +6 -6
- package/package.json +1 -1
- package/src/components/BryntumEventColorField.vue +80 -106
- package/src/components/BryntumEventColorFieldProps.ts +9 -0
- package/src/components/BryntumProjectCombo.vue +81 -109
- package/src/components/BryntumProjectComboProps.ts +9 -0
- package/src/components/BryntumResourceCombo.vue +81 -109
- package/src/components/BryntumResourceComboProps.ts +9 -0
- package/src/components/BryntumResourceFilter.vue +69 -107
- package/src/components/BryntumScheduler.vue +1425 -1927
- package/src/components/BryntumSchedulerBase.vue +1425 -1927
- package/src/components/BryntumSchedulerBaseProps.ts +5 -0
- package/src/components/BryntumSchedulerDatePicker.vue +85 -135
- package/src/components/BryntumSchedulerProjectModel.vue +11 -15
- package/src/components/BryntumSchedulerProps.ts +5 -0
- package/src/components/BryntumTimeZoomSlider.vue +50 -80
- package/src/components/BryntumTimelineHistogram.vue +722 -1030
- package/src/components/BryntumUndoRedo.vue +49 -79
- package/src/components/BryntumViewPresetCombo.vue +77 -103
- package/src/components/BryntumViewPresetComboProps.ts +9 -0
- package/lib/chunks/5o-YjSb7.js.map +0 -1
- package/lib/chunks/DVFhf2Ma.js.map +0 -1
- package/lib/chunks/DhhzgoYL.js.map +0 -1
- package/lib/chunks/OJaN5ZWK.js.map +0 -1
- package/lib/chunks/ZkU6CtWX.js.map +0 -1
- package/lib/chunks/kN-s_8Na.js.map +0 -1
|
@@ -105,6 +105,15 @@ defineProps<{
|
|
|
105
105
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
106
106
|
*/
|
|
107
107
|
centered ? : Boolean
|
|
108
|
+
/**
|
|
109
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
110
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#property-isValid)
|
|
111
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#config-required) check.
|
|
112
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceCombo#config-checkValidity)
|
|
113
|
+
* @param {Core.widget.Field} field The field being validated
|
|
114
|
+
* @returns {void}
|
|
115
|
+
*/
|
|
116
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
108
117
|
/**
|
|
109
118
|
* A config object to configure the [ChipView](https://bryntum.com/products/scheduler/docs/api/Core/widget/ChipView) to display the
|
|
110
119
|
* selected value set when [multiSelect](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
|
|
@@ -797,44 +806,36 @@ const emit = defineEmits<{
|
|
|
797
806
|
* The default action was performed (an item in the list was selected)
|
|
798
807
|
* @param {string} e Event name
|
|
799
808
|
* @param {object} params Event parameters
|
|
800
|
-
* @param {
|
|
801
|
-
* @param {
|
|
802
|
-
* @param {
|
|
803
|
-
* @param {Core.
|
|
804
|
-
* @param {
|
|
805
|
-
* @param {
|
|
806
|
-
* @param {Core.data.Model[]} params.params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-multiSelect) is `true`
|
|
807
|
-
* @param {boolean} params.params.event.userAction `true` if the value change is due to user interaction
|
|
809
|
+
* @param {object} params.event Event object
|
|
810
|
+
* @param {Core.widget.Combo} params.event.source The combo
|
|
811
|
+
* @param {any} params.event.value The [value](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-valueField) of the selected record
|
|
812
|
+
* @param {Core.data.Model} params.event.record Selected record
|
|
813
|
+
* @param {Core.data.Model[]} params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-multiSelect) is `true`
|
|
814
|
+
* @param {boolean} params.event.userAction `true` if the value change is due to user interaction
|
|
808
815
|
*/
|
|
809
816
|
(e: 'action', params: ((event: { source: Combo, value: any, record: Model, records: Model[], userAction: boolean }) => void)|string): void
|
|
810
817
|
/**
|
|
811
818
|
* Fires before an object is destroyed.
|
|
812
819
|
* @param {string} e Event name
|
|
813
820
|
* @param {object} params Event parameters
|
|
814
|
-
* @param {
|
|
815
|
-
* @param {
|
|
816
|
-
* @param {object} params.params.event Event object
|
|
817
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
821
|
+
* @param {object} params.event Event object
|
|
822
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
818
823
|
*/
|
|
819
824
|
(e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
|
|
820
825
|
/**
|
|
821
826
|
* Triggered before a widget is hidden. Return `false` to prevent the action.
|
|
822
827
|
* @param {string} e Event name
|
|
823
828
|
* @param {object} params Event parameters
|
|
824
|
-
* @param {
|
|
825
|
-
* @param {
|
|
826
|
-
* @param {object} params.params.event Event object
|
|
827
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being hidden.
|
|
829
|
+
* @param {object} params.event Event object
|
|
830
|
+
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
828
831
|
*/
|
|
829
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
832
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
830
833
|
/**
|
|
831
834
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
832
835
|
* @param {string} e Event name
|
|
833
836
|
* @param {object} params Event parameters
|
|
834
|
-
* @param {
|
|
835
|
-
* @param {
|
|
836
|
-
* @param {object} params.params.event Event object
|
|
837
|
-
* @param {Core.widget.Widget,any} params.params.event.source The widget being shown
|
|
837
|
+
* @param {object} params.event Event object
|
|
838
|
+
* @param {Core.widget.Widget,any} params.event.source The widget being shown
|
|
838
839
|
*/
|
|
839
840
|
(e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
840
841
|
/**
|
|
@@ -842,27 +843,23 @@ const emit = defineEmits<{
|
|
|
842
843
|
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceCombo#event-catchAll)
|
|
843
844
|
* @param {string} e Event name
|
|
844
845
|
* @param {object} params Event parameters
|
|
845
|
-
* @param {
|
|
846
|
-
* @param {
|
|
847
|
-
* @param {
|
|
848
|
-
* @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details
|
|
849
|
-
* @param {string} params.params.event.event.type The type of the event which is caught by the listener
|
|
846
|
+
* @param {object} params.event Event object
|
|
847
|
+
* @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details
|
|
848
|
+
* @param {string} params.event.event.type The type of the event which is caught by the listener
|
|
850
849
|
*/
|
|
851
850
|
(e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
|
|
852
851
|
/**
|
|
853
852
|
* Fired when this field's value changes.
|
|
854
853
|
* @param {string} e Event name
|
|
855
854
|
* @param {object} params Event parameters
|
|
856
|
-
* @param {
|
|
857
|
-
* @param {
|
|
858
|
-
* @param {
|
|
859
|
-
* @param {
|
|
860
|
-
* @param {
|
|
861
|
-
* @param {
|
|
862
|
-
* @param {boolean} params.
|
|
863
|
-
* @param {
|
|
864
|
-
* @param {boolean} params.params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
865
|
-
* @param {boolean} params.params.event.checked
|
|
855
|
+
* @param {object} params.event Event object
|
|
856
|
+
* @param {Core.widget.Field,any} params.event.source This Field
|
|
857
|
+
* @param {string,number,boolean,any} params.event.value This field's value
|
|
858
|
+
* @param {string,number,boolean,any} params.event.oldValue This field's previous value
|
|
859
|
+
* @param {boolean} params.event.valid True if this field is in a valid state
|
|
860
|
+
* @param {Event} params.event.event The triggering DOM event if any
|
|
861
|
+
* @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
862
|
+
* @param {boolean} params.event.checked
|
|
866
863
|
*/
|
|
867
864
|
(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
|
|
868
865
|
/**
|
|
@@ -870,45 +867,37 @@ const emit = defineEmits<{
|
|
|
870
867
|
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceCombo#event-clear)
|
|
871
868
|
* @param {string} e Event name
|
|
872
869
|
* @param {object} params Event parameters
|
|
873
|
-
* @param {
|
|
874
|
-
* @param {
|
|
875
|
-
* @param {object} params.params.event Event object
|
|
876
|
-
* @param {Core.widget.Field,any} params.params.event.source This Field
|
|
870
|
+
* @param {object} params.event Event object
|
|
871
|
+
* @param {Core.widget.Field,any} params.event.source This Field
|
|
877
872
|
*/
|
|
878
873
|
(e: 'clear', params: ((event: { source: Field|any }) => void)|string): void
|
|
879
874
|
/**
|
|
880
875
|
* Fires when an object is destroyed.
|
|
881
876
|
* @param {string} e Event name
|
|
882
877
|
* @param {object} params Event parameters
|
|
883
|
-
* @param {
|
|
884
|
-
* @param {
|
|
885
|
-
* @param {object} params.params.event Event object
|
|
886
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
878
|
+
* @param {object} params.event Event object
|
|
879
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
887
880
|
*/
|
|
888
881
|
(e: 'destroy', params: ((event: { source: Base }) => void)|string): void
|
|
889
882
|
/**
|
|
890
883
|
* Triggered when a widget's [element](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-element) is available.
|
|
891
884
|
* @param {string} e Event name
|
|
892
885
|
* @param {object} params Event parameters
|
|
893
|
-
* @param {
|
|
894
|
-
* @param {
|
|
895
|
-
* @param {object} params.params.event Event object
|
|
896
|
-
* @param {HTMLElement} params.params.event.element The Widget's element.
|
|
886
|
+
* @param {object} params.event Event object
|
|
887
|
+
* @param {HTMLElement} params.event.element The Widget's element.
|
|
897
888
|
*/
|
|
898
889
|
(e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
|
|
899
890
|
/**
|
|
900
891
|
* Fired when focus enters this Widget.
|
|
901
892
|
* @param {string} e Event name
|
|
902
893
|
* @param {object} params Event parameters
|
|
903
|
-
* @param {
|
|
904
|
-
* @param {
|
|
905
|
-
* @param {
|
|
906
|
-
* @param {
|
|
907
|
-
* @param {
|
|
908
|
-
* @param {
|
|
909
|
-
* @param {
|
|
910
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
911
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
894
|
+
* @param {object} params.event Event object
|
|
895
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
896
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
897
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
898
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
899
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
900
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
912
901
|
*/
|
|
913
902
|
(e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
914
903
|
/**
|
|
@@ -917,25 +906,21 @@ const emit = defineEmits<{
|
|
|
917
906
|
* will not trigger this event. This is when focus exits this widget completely.
|
|
918
907
|
* @param {string} e Event name
|
|
919
908
|
* @param {object} params Event parameters
|
|
920
|
-
* @param {
|
|
921
|
-
* @param {
|
|
922
|
-
* @param {
|
|
923
|
-
* @param {
|
|
924
|
-
* @param {
|
|
925
|
-
* @param {
|
|
926
|
-
* @param {
|
|
927
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
928
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
909
|
+
* @param {object} params.event Event object
|
|
910
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
911
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
912
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
913
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
914
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
915
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
929
916
|
*/
|
|
930
917
|
(e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
931
918
|
/**
|
|
932
919
|
* Triggered after a widget was hidden
|
|
933
920
|
* @param {string} e Event name
|
|
934
921
|
* @param {object} params Event parameters
|
|
935
|
-
* @param {
|
|
936
|
-
* @param {
|
|
937
|
-
* @param {object} params.params.event Event object
|
|
938
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
922
|
+
* @param {object} params.event Event object
|
|
923
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
939
924
|
*/
|
|
940
925
|
(e: 'hide', params: ((event: { source: Widget }) => void)|string): void
|
|
941
926
|
/**
|
|
@@ -943,12 +928,10 @@ const emit = defineEmits<{
|
|
|
943
928
|
* not the combos value
|
|
944
929
|
* @param {string} e Event name
|
|
945
930
|
* @param {object} params Event parameters
|
|
946
|
-
* @param {
|
|
947
|
-
* @param {
|
|
948
|
-
* @param {
|
|
949
|
-
* @param {
|
|
950
|
-
* @param {string} params.params.event.value Raw input value
|
|
951
|
-
* @param {Event} params.params.event.event The triggering DOM event if any.
|
|
931
|
+
* @param {object} params.event Event object
|
|
932
|
+
* @param {Core.widget.Combo} params.event.source The combo.
|
|
933
|
+
* @param {string} params.event.value Raw input value
|
|
934
|
+
* @param {Event} params.event.event The triggering DOM event if any.
|
|
952
935
|
*/
|
|
953
936
|
(e: 'input', params: ((event: { source: Combo, value: string, event: Event }) => void)|string): void
|
|
954
937
|
/**
|
|
@@ -957,21 +940,17 @@ const emit = defineEmits<{
|
|
|
957
940
|
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceCombo#event-paint)
|
|
958
941
|
* @param {string} e Event name
|
|
959
942
|
* @param {object} params Event parameters
|
|
960
|
-
* @param {
|
|
961
|
-
* @param {
|
|
962
|
-
* @param {
|
|
963
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being painted.
|
|
964
|
-
* @param {boolean} params.params.event.firstPaint `true` if this is the first paint.
|
|
943
|
+
* @param {object} params.event Event object
|
|
944
|
+
* @param {Core.widget.Widget} params.event.source The widget being painted.
|
|
945
|
+
* @param {boolean} params.event.firstPaint `true` if this is the first paint.
|
|
965
946
|
*/
|
|
966
947
|
(e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
|
|
967
948
|
/**
|
|
968
949
|
* Fired when a Widget's read only state is toggled
|
|
969
950
|
* @param {string} e Event name
|
|
970
951
|
* @param {object} params Event parameters
|
|
971
|
-
* @param {
|
|
972
|
-
* @param {
|
|
973
|
-
* @param {object} params.params.event Event object
|
|
974
|
-
* @param {boolean} params.params.event.readOnly Read only or not
|
|
952
|
+
* @param {object} params.event Event object
|
|
953
|
+
* @param {boolean} params.event.readOnly Read only or not
|
|
975
954
|
*/
|
|
976
955
|
(e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
|
|
977
956
|
/**
|
|
@@ -983,48 +962,40 @@ const emit = defineEmits<{
|
|
|
983
962
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
984
963
|
* @param {string} e Event name
|
|
985
964
|
* @param {object} params Event parameters
|
|
986
|
-
* @param {
|
|
987
|
-
* @param {
|
|
988
|
-
* @param {
|
|
989
|
-
* @param {
|
|
990
|
-
* @param {number} params.
|
|
991
|
-
* @param {number} params.
|
|
992
|
-
* @param {number} params.params.event.oldWidth The old width
|
|
993
|
-
* @param {number} params.params.event.oldHeight The old height
|
|
965
|
+
* @param {object} params.event Event object
|
|
966
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
967
|
+
* @param {number} params.event.width The new width
|
|
968
|
+
* @param {number} params.event.height The new height
|
|
969
|
+
* @param {number} params.event.oldWidth The old width
|
|
970
|
+
* @param {number} params.event.oldHeight The old height
|
|
994
971
|
*/
|
|
995
972
|
(e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
|
|
996
973
|
/**
|
|
997
974
|
* An item in the list was selected
|
|
998
975
|
* @param {string} e Event name
|
|
999
976
|
* @param {object} params Event parameters
|
|
1000
|
-
* @param {
|
|
1001
|
-
* @param {
|
|
1002
|
-
* @param {
|
|
1003
|
-
* @param {Core.
|
|
1004
|
-
* @param {
|
|
1005
|
-
* @param {Core.data.Model[]} params.params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-multiSelect) is `true`
|
|
1006
|
-
* @param {boolean} params.params.event.userAction `true` if the value change is due to user interaction
|
|
977
|
+
* @param {object} params.event Event object
|
|
978
|
+
* @param {Core.widget.Combo} params.event.source The combo
|
|
979
|
+
* @param {Core.data.Model} params.event.record Selected record
|
|
980
|
+
* @param {Core.data.Model[]} params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-multiSelect) is `true`
|
|
981
|
+
* @param {boolean} params.event.userAction `true` if the value change is due to user interaction
|
|
1007
982
|
*/
|
|
1008
983
|
(e: 'select', params: ((event: { source: Combo, record: Model, records: Model[], userAction: boolean }) => void)|string): void
|
|
1009
984
|
/**
|
|
1010
985
|
* Triggered after a widget is shown.
|
|
1011
986
|
* @param {string} e Event name
|
|
1012
987
|
* @param {object} params Event parameters
|
|
1013
|
-
* @param {
|
|
1014
|
-
* @param {
|
|
1015
|
-
* @param {object} params.params.event Event object
|
|
1016
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
988
|
+
* @param {object} params.event Event object
|
|
989
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
1017
990
|
*/
|
|
1018
991
|
(e: 'show', params: ((event: { source: Widget }) => void)|string): void
|
|
1019
992
|
/**
|
|
1020
993
|
* User clicked one of this field's [triggers](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#property-triggers)
|
|
1021
994
|
* @param {string} e Event name
|
|
1022
995
|
* @param {object} params Event parameters
|
|
1023
|
-
* @param {
|
|
1024
|
-
* @param {
|
|
1025
|
-
* @param {
|
|
1026
|
-
* @param {Core.widget.Field,any} params.params.event.source This field
|
|
1027
|
-
* @param {Core.widget.Widget} params.params.event.trigger The trigger activated by click or touch tap.
|
|
996
|
+
* @param {object} params.event Event object
|
|
997
|
+
* @param {Core.widget.Field,any} params.event.source This field
|
|
998
|
+
* @param {Core.widget.Widget} params.event.trigger The trigger activated by click or touch tap.
|
|
1028
999
|
*/
|
|
1029
1000
|
(e: 'trigger', params: ((event: { source: Field|any, trigger: Widget }) => void)|string): void
|
|
1030
1001
|
}>();
|
|
@@ -1046,6 +1017,7 @@ const widgetData = {
|
|
|
1046
1017
|
'cacheLastResult',
|
|
1047
1018
|
'caseSensitive',
|
|
1048
1019
|
'centered',
|
|
1020
|
+
'checkValidity',
|
|
1049
1021
|
'chipView',
|
|
1050
1022
|
'clearable',
|
|
1051
1023
|
'clearTextOnPickerHide',
|
|
@@ -90,6 +90,15 @@ export declare type BryntumResourceComboProps = {
|
|
|
90
90
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
91
91
|
*/
|
|
92
92
|
centered ? : Boolean
|
|
93
|
+
/**
|
|
94
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
95
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#property-isValid)
|
|
96
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#config-required) check.
|
|
97
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceCombo#config-checkValidity)
|
|
98
|
+
* @param {Core.widget.Field} field The field being validated
|
|
99
|
+
* @returns {void}
|
|
100
|
+
*/
|
|
101
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
93
102
|
/**
|
|
94
103
|
* A config object to configure the [ChipView](https://bryntum.com/products/scheduler/docs/api/Core/widget/ChipView) to display the
|
|
95
104
|
* selected value set when [multiSelect](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
|