@bryntum/schedulerpro-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 +9 -9
- package/lib/chunks/{BFFz1c24.js → 7vz3cAx6.js} +6 -4
- package/lib/chunks/7vz3cAx6.js.map +1 -0
- package/lib/chunks/{oM3gO3yH.js → B1SaPsRu.js} +3 -1
- package/lib/chunks/B1SaPsRu.js.map +1 -0
- package/lib/chunks/B4dVznPx.js.map +1 -1
- package/lib/chunks/{Pb5GbfMi.js → B8GKehTJ.js} +6 -4
- package/lib/chunks/B8GKehTJ.js.map +1 -0
- package/lib/chunks/{CvNpXefN.js → BhXv58eE.js} +7 -5
- package/lib/chunks/BhXv58eE.js.map +1 -0
- package/lib/chunks/{DmFXOMJ5.js → BhfdqXGU.js} +6 -4
- package/lib/chunks/BhfdqXGU.js.map +1 -0
- package/lib/chunks/{b8yreHIz.js → Bk2bIVfG.js} +3 -1
- package/lib/chunks/Bk2bIVfG.js.map +1 -0
- package/lib/chunks/{s35t-2ke.js → C1vi1h_N.js} +6 -4
- package/lib/chunks/C1vi1h_N.js.map +1 -0
- package/lib/chunks/{CqtUB81W.js → CEQZr1q6.js} +3 -1
- package/lib/chunks/CEQZr1q6.js.map +1 -0
- package/lib/chunks/CPjow0gO.js.map +1 -1
- package/lib/chunks/{BNBuOpUp.js → Cb_akueu.js} +10 -8
- package/lib/chunks/Cb_akueu.js.map +1 -0
- package/lib/chunks/{BIkGnHve.js → Cc_DPp3S.js} +6 -4
- package/lib/chunks/Cc_DPp3S.js.map +1 -0
- package/lib/chunks/{Bp7aU5Ia.js → Cr5VTUbs.js} +11 -9
- package/lib/chunks/Cr5VTUbs.js.map +1 -0
- package/lib/chunks/{yF4wtntA.js → D-hmgVVF.js} +12 -10
- package/lib/chunks/D-hmgVVF.js.map +1 -0
- package/lib/chunks/{D1a3F6m-.js → D-v-Wqj4.js} +3 -1
- package/lib/chunks/D-v-Wqj4.js.map +1 -0
- package/lib/chunks/D0hJ3P6L.js.map +1 -1
- package/lib/chunks/DPA-xEW5.js.map +1 -1
- package/lib/chunks/{C3Dz-ovY.js → XQWZfDOm.js} +5 -3
- package/lib/chunks/XQWZfDOm.js.map +1 -0
- package/lib/chunks/{DdbMybqv.js → eKXSEOkn.js} +3 -1
- package/lib/chunks/eKXSEOkn.js.map +1 -0
- package/lib/chunks/{DjFBhm9P.js → edcDjaO2.js} +6 -4
- package/lib/chunks/edcDjaO2.js.map +1 -0
- package/lib/chunks/{p1r0F5YC.js → n2IZFQjR.js} +9 -7
- package/lib/chunks/n2IZFQjR.js.map +1 -0
- package/lib/chunks/{W-pa3HyX.js → zY4Qxi9x.js} +5 -3
- package/lib/chunks/zY4Qxi9x.js.map +1 -0
- package/lib/components/BryntumCalendarField.js +1 -1
- package/lib/components/BryntumConstraintTypePicker.js +1 -1
- package/lib/components/BryntumCostAccrualField.js +1 -1
- package/lib/components/BryntumDependencyTypePicker.js +1 -1
- package/lib/components/BryntumEffortField.js +1 -1
- package/lib/components/BryntumEndDateField.js +1 -1
- package/lib/components/BryntumModelCombo.js +1 -1
- package/lib/components/BryntumRateTableField.js +1 -1
- package/lib/components/BryntumResourceGrid.js +1 -1
- package/lib/components/BryntumResourceHistogram.js +1 -1
- package/lib/components/BryntumResourceTypeField.js +1 -1
- package/lib/components/BryntumResourceUtilization.js +1 -1
- package/lib/components/BryntumSchedulerPro.js +1 -1
- package/lib/components/BryntumSchedulerProBase.js +1 -1
- package/lib/components/BryntumSchedulingDirectionPicker.js +1 -1
- package/lib/components/BryntumSchedulingModePicker.js +1 -1
- package/lib/components/BryntumStartDateField.js +1 -1
- package/lib/components/BryntumTimeline.js +1 -1
- package/lib/index.js +18 -18
- package/package.json +1 -1
- package/src/components/BryntumCalendarEditor.vue +64 -106
- package/src/components/BryntumCalendarField.vue +81 -109
- package/src/components/BryntumCalendarFieldProps.ts +9 -0
- package/src/components/BryntumConstraintTypePicker.vue +81 -109
- package/src/components/BryntumConstraintTypePickerProps.ts +9 -0
- package/src/components/BryntumCostAccrualField.vue +81 -109
- package/src/components/BryntumCostAccrualFieldProps.ts +9 -0
- package/src/components/BryntumDependencyTypePicker.vue +81 -109
- package/src/components/BryntumDependencyTypePickerProps.ts +9 -0
- package/src/components/BryntumEffortField.vue +76 -102
- package/src/components/BryntumEffortFieldProps.ts +9 -0
- package/src/components/BryntumEndDateField.vue +80 -106
- package/src/components/BryntumEndDateFieldProps.ts +9 -0
- package/src/components/BryntumModelCombo.vue +81 -109
- package/src/components/BryntumModelComboProps.ts +9 -0
- package/src/components/BryntumRateTableField.vue +81 -109
- package/src/components/BryntumRateTableFieldProps.ts +9 -0
- package/src/components/BryntumResourceEditor.vue +64 -106
- package/src/components/BryntumResourceGrid.vue +529 -755
- package/src/components/BryntumResourceGridProps.ts +5 -0
- package/src/components/BryntumResourceHistogram.vue +773 -1091
- package/src/components/BryntumResourceHistogramProps.ts +5 -0
- package/src/components/BryntumResourceTypeField.vue +81 -109
- package/src/components/BryntumResourceTypeFieldProps.ts +9 -0
- package/src/components/BryntumResourceUtilization.vue +789 -1113
- package/src/components/BryntumResourceUtilizationProps.ts +5 -0
- package/src/components/BryntumSchedulerPro.vue +1613 -2195
- package/src/components/BryntumSchedulerProBase.vue +1613 -2195
- package/src/components/BryntumSchedulerProBaseProps.ts +5 -0
- package/src/components/BryntumSchedulerProProjectModel.vue +134 -187
- package/src/components/BryntumSchedulerProProjectModelProps.ts +8 -7
- package/src/components/BryntumSchedulerProProps.ts +5 -0
- package/src/components/BryntumSchedulingDirectionPicker.vue +81 -109
- package/src/components/BryntumSchedulingDirectionPickerProps.ts +9 -0
- package/src/components/BryntumSchedulingModePicker.vue +81 -109
- package/src/components/BryntumSchedulingModePickerProps.ts +9 -0
- package/src/components/BryntumStartDateField.vue +80 -106
- package/src/components/BryntumStartDateFieldProps.ts +9 -0
- package/src/components/BryntumTimeline.vue +1425 -1927
- package/src/components/BryntumTimelineProps.ts +5 -0
- package/src/components/BryntumVersionGrid.vue +527 -763
- package/lib/chunks/BFFz1c24.js.map +0 -1
- package/lib/chunks/BIkGnHve.js.map +0 -1
- package/lib/chunks/BNBuOpUp.js.map +0 -1
- package/lib/chunks/Bp7aU5Ia.js.map +0 -1
- package/lib/chunks/C3Dz-ovY.js.map +0 -1
- package/lib/chunks/CqtUB81W.js.map +0 -1
- package/lib/chunks/CvNpXefN.js.map +0 -1
- package/lib/chunks/D1a3F6m-.js.map +0 -1
- package/lib/chunks/DdbMybqv.js.map +0 -1
- package/lib/chunks/DjFBhm9P.js.map +0 -1
- package/lib/chunks/DmFXOMJ5.js.map +0 -1
- package/lib/chunks/Pb5GbfMi.js.map +0 -1
- package/lib/chunks/W-pa3HyX.js.map +0 -1
- package/lib/chunks/b8yreHIz.js.map +0 -1
- package/lib/chunks/oM3gO3yH.js.map +0 -1
- package/lib/chunks/p1r0F5YC.js.map +0 -1
- package/lib/chunks/s35t-2ke.js.map +0 -1
- package/lib/chunks/yF4wtntA.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/schedulerpro/docs/api/Core/widget/Field#property-isValid)
|
|
111
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-required) check.
|
|
112
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#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/schedulerpro/docs/api/Core/widget/ChipView) to display the
|
|
110
119
|
* selected value set when [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
|
|
@@ -793,44 +802,36 @@ const emit = defineEmits<{
|
|
|
793
802
|
* The default action was performed (an item in the list was selected)
|
|
794
803
|
* @param {string} e Event name
|
|
795
804
|
* @param {object} params Event parameters
|
|
796
|
-
* @param {
|
|
797
|
-
* @param {
|
|
798
|
-
* @param {
|
|
799
|
-
* @param {Core.
|
|
800
|
-
* @param {
|
|
801
|
-
* @param {
|
|
802
|
-
* @param {Core.data.Model[]} params.params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`
|
|
803
|
-
* @param {boolean} params.params.event.userAction `true` if the value change is due to user interaction
|
|
805
|
+
* @param {object} params.event Event object
|
|
806
|
+
* @param {Core.widget.Combo} params.event.source The combo
|
|
807
|
+
* @param {any} params.event.value The [value](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-valueField) of the selected record
|
|
808
|
+
* @param {Core.data.Model} params.event.record Selected record
|
|
809
|
+
* @param {Core.data.Model[]} params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`
|
|
810
|
+
* @param {boolean} params.event.userAction `true` if the value change is due to user interaction
|
|
804
811
|
*/
|
|
805
812
|
(e: 'action', params: ((event: { source: Combo, value: any, record: Model, records: Model[], userAction: boolean }) => void)|string): void
|
|
806
813
|
/**
|
|
807
814
|
* Fires before an object is destroyed.
|
|
808
815
|
* @param {string} e Event name
|
|
809
816
|
* @param {object} params Event parameters
|
|
810
|
-
* @param {
|
|
811
|
-
* @param {
|
|
812
|
-
* @param {object} params.params.event Event object
|
|
813
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
817
|
+
* @param {object} params.event Event object
|
|
818
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
814
819
|
*/
|
|
815
820
|
(e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
|
|
816
821
|
/**
|
|
817
822
|
* Triggered before a widget is hidden. Return `false` to prevent the action.
|
|
818
823
|
* @param {string} e Event name
|
|
819
824
|
* @param {object} params Event parameters
|
|
820
|
-
* @param {
|
|
821
|
-
* @param {
|
|
822
|
-
* @param {object} params.params.event Event object
|
|
823
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being hidden.
|
|
825
|
+
* @param {object} params.event Event object
|
|
826
|
+
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
824
827
|
*/
|
|
825
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
828
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
826
829
|
/**
|
|
827
830
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
828
831
|
* @param {string} e Event name
|
|
829
832
|
* @param {object} params Event parameters
|
|
830
|
-
* @param {
|
|
831
|
-
* @param {
|
|
832
|
-
* @param {object} params.params.event Event object
|
|
833
|
-
* @param {Core.widget.Widget,any} params.params.event.source The widget being shown
|
|
833
|
+
* @param {object} params.event Event object
|
|
834
|
+
* @param {Core.widget.Widget,any} params.event.source The widget being shown
|
|
834
835
|
*/
|
|
835
836
|
(e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
836
837
|
/**
|
|
@@ -838,27 +839,23 @@ const emit = defineEmits<{
|
|
|
838
839
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#event-catchAll)
|
|
839
840
|
* @param {string} e Event name
|
|
840
841
|
* @param {object} params Event parameters
|
|
841
|
-
* @param {
|
|
842
|
-
* @param {
|
|
843
|
-
* @param {
|
|
844
|
-
* @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details
|
|
845
|
-
* @param {string} params.params.event.event.type The type of the event which is caught by the listener
|
|
842
|
+
* @param {object} params.event Event object
|
|
843
|
+
* @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details
|
|
844
|
+
* @param {string} params.event.event.type The type of the event which is caught by the listener
|
|
846
845
|
*/
|
|
847
846
|
(e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
|
|
848
847
|
/**
|
|
849
848
|
* Fired when this field's value changes.
|
|
850
849
|
* @param {string} e Event name
|
|
851
850
|
* @param {object} params Event parameters
|
|
852
|
-
* @param {
|
|
853
|
-
* @param {
|
|
854
|
-
* @param {
|
|
855
|
-
* @param {
|
|
856
|
-
* @param {
|
|
857
|
-
* @param {
|
|
858
|
-
* @param {boolean} params.
|
|
859
|
-
* @param {
|
|
860
|
-
* @param {boolean} params.params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
861
|
-
* @param {boolean} params.params.event.checked
|
|
851
|
+
* @param {object} params.event Event object
|
|
852
|
+
* @param {Core.widget.Field,any} params.event.source This Field
|
|
853
|
+
* @param {string,number,boolean,any} params.event.value This field's value
|
|
854
|
+
* @param {string,number,boolean,any} params.event.oldValue This field's previous value
|
|
855
|
+
* @param {boolean} params.event.valid True if this field is in a valid state
|
|
856
|
+
* @param {Event} params.event.event The triggering DOM event if any
|
|
857
|
+
* @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
858
|
+
* @param {boolean} params.event.checked
|
|
862
859
|
*/
|
|
863
860
|
(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
|
|
864
861
|
/**
|
|
@@ -866,45 +863,37 @@ const emit = defineEmits<{
|
|
|
866
863
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#event-clear)
|
|
867
864
|
* @param {string} e Event name
|
|
868
865
|
* @param {object} params Event parameters
|
|
869
|
-
* @param {
|
|
870
|
-
* @param {
|
|
871
|
-
* @param {object} params.params.event Event object
|
|
872
|
-
* @param {Core.widget.Field,any} params.params.event.source This Field
|
|
866
|
+
* @param {object} params.event Event object
|
|
867
|
+
* @param {Core.widget.Field,any} params.event.source This Field
|
|
873
868
|
*/
|
|
874
869
|
(e: 'clear', params: ((event: { source: Field|any }) => void)|string): void
|
|
875
870
|
/**
|
|
876
871
|
* Fires when an object is destroyed.
|
|
877
872
|
* @param {string} e Event name
|
|
878
873
|
* @param {object} params Event parameters
|
|
879
|
-
* @param {
|
|
880
|
-
* @param {
|
|
881
|
-
* @param {object} params.params.event Event object
|
|
882
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
874
|
+
* @param {object} params.event Event object
|
|
875
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
883
876
|
*/
|
|
884
877
|
(e: 'destroy', params: ((event: { source: Base }) => void)|string): void
|
|
885
878
|
/**
|
|
886
879
|
* Triggered when a widget's [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element) is available.
|
|
887
880
|
* @param {string} e Event name
|
|
888
881
|
* @param {object} params Event parameters
|
|
889
|
-
* @param {
|
|
890
|
-
* @param {
|
|
891
|
-
* @param {object} params.params.event Event object
|
|
892
|
-
* @param {HTMLElement} params.params.event.element The Widget's element.
|
|
882
|
+
* @param {object} params.event Event object
|
|
883
|
+
* @param {HTMLElement} params.event.element The Widget's element.
|
|
893
884
|
*/
|
|
894
885
|
(e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
|
|
895
886
|
/**
|
|
896
887
|
* Fired when focus enters this Widget.
|
|
897
888
|
* @param {string} e Event name
|
|
898
889
|
* @param {object} params Event parameters
|
|
899
|
-
* @param {
|
|
900
|
-
* @param {
|
|
901
|
-
* @param {
|
|
902
|
-
* @param {
|
|
903
|
-
* @param {
|
|
904
|
-
* @param {
|
|
905
|
-
* @param {
|
|
906
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
907
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
890
|
+
* @param {object} params.event Event object
|
|
891
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
892
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
893
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
894
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
895
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
896
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
908
897
|
*/
|
|
909
898
|
(e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
910
899
|
/**
|
|
@@ -913,25 +902,21 @@ const emit = defineEmits<{
|
|
|
913
902
|
* will not trigger this event. This is when focus exits this widget completely.
|
|
914
903
|
* @param {string} e Event name
|
|
915
904
|
* @param {object} params Event parameters
|
|
916
|
-
* @param {
|
|
917
|
-
* @param {
|
|
918
|
-
* @param {
|
|
919
|
-
* @param {
|
|
920
|
-
* @param {
|
|
921
|
-
* @param {
|
|
922
|
-
* @param {
|
|
923
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
924
|
-
* @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.
|
|
925
912
|
*/
|
|
926
913
|
(e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
927
914
|
/**
|
|
928
915
|
* Triggered after a widget was hidden
|
|
929
916
|
* @param {string} e Event name
|
|
930
917
|
* @param {object} params Event parameters
|
|
931
|
-
* @param {
|
|
932
|
-
* @param {
|
|
933
|
-
* @param {object} params.params.event Event object
|
|
934
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
918
|
+
* @param {object} params.event Event object
|
|
919
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
935
920
|
*/
|
|
936
921
|
(e: 'hide', params: ((event: { source: Widget }) => void)|string): void
|
|
937
922
|
/**
|
|
@@ -939,12 +924,10 @@ const emit = defineEmits<{
|
|
|
939
924
|
* not the combos value
|
|
940
925
|
* @param {string} e Event name
|
|
941
926
|
* @param {object} params Event parameters
|
|
942
|
-
* @param {
|
|
943
|
-
* @param {
|
|
944
|
-
* @param {
|
|
945
|
-
* @param {
|
|
946
|
-
* @param {string} params.params.event.value Raw input value
|
|
947
|
-
* @param {Event} params.params.event.event The triggering DOM event if any.
|
|
927
|
+
* @param {object} params.event Event object
|
|
928
|
+
* @param {Core.widget.Combo} params.event.source The combo.
|
|
929
|
+
* @param {string} params.event.value Raw input value
|
|
930
|
+
* @param {Event} params.event.event The triggering DOM event if any.
|
|
948
931
|
*/
|
|
949
932
|
(e: 'input', params: ((event: { source: Combo, value: string, event: Event }) => void)|string): void
|
|
950
933
|
/**
|
|
@@ -953,21 +936,17 @@ const emit = defineEmits<{
|
|
|
953
936
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#event-paint)
|
|
954
937
|
* @param {string} e Event name
|
|
955
938
|
* @param {object} params Event parameters
|
|
956
|
-
* @param {
|
|
957
|
-
* @param {
|
|
958
|
-
* @param {
|
|
959
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being painted.
|
|
960
|
-
* @param {boolean} params.params.event.firstPaint `true` if this is the first paint.
|
|
939
|
+
* @param {object} params.event Event object
|
|
940
|
+
* @param {Core.widget.Widget} params.event.source The widget being painted.
|
|
941
|
+
* @param {boolean} params.event.firstPaint `true` if this is the first paint.
|
|
961
942
|
*/
|
|
962
943
|
(e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
|
|
963
944
|
/**
|
|
964
945
|
* Fired when a Widget's read only state is toggled
|
|
965
946
|
* @param {string} e Event name
|
|
966
947
|
* @param {object} params Event parameters
|
|
967
|
-
* @param {
|
|
968
|
-
* @param {
|
|
969
|
-
* @param {object} params.params.event Event object
|
|
970
|
-
* @param {boolean} params.params.event.readOnly Read only or not
|
|
948
|
+
* @param {object} params.event Event object
|
|
949
|
+
* @param {boolean} params.event.readOnly Read only or not
|
|
971
950
|
*/
|
|
972
951
|
(e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
|
|
973
952
|
/**
|
|
@@ -979,48 +958,40 @@ const emit = defineEmits<{
|
|
|
979
958
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
980
959
|
* @param {string} e Event name
|
|
981
960
|
* @param {object} params Event parameters
|
|
982
|
-
* @param {
|
|
983
|
-
* @param {
|
|
984
|
-
* @param {
|
|
985
|
-
* @param {
|
|
986
|
-
* @param {number} params.
|
|
987
|
-
* @param {number} params.
|
|
988
|
-
* @param {number} params.params.event.oldWidth The old width
|
|
989
|
-
* @param {number} params.params.event.oldHeight The old height
|
|
961
|
+
* @param {object} params.event Event object
|
|
962
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
963
|
+
* @param {number} params.event.width The new width
|
|
964
|
+
* @param {number} params.event.height The new height
|
|
965
|
+
* @param {number} params.event.oldWidth The old width
|
|
966
|
+
* @param {number} params.event.oldHeight The old height
|
|
990
967
|
*/
|
|
991
968
|
(e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
|
|
992
969
|
/**
|
|
993
970
|
* An item in the list was selected
|
|
994
971
|
* @param {string} e Event name
|
|
995
972
|
* @param {object} params Event parameters
|
|
996
|
-
* @param {
|
|
997
|
-
* @param {
|
|
998
|
-
* @param {
|
|
999
|
-
* @param {Core.
|
|
1000
|
-
* @param {
|
|
1001
|
-
* @param {Core.data.Model[]} params.params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`
|
|
1002
|
-
* @param {boolean} params.params.event.userAction `true` if the value change is due to user interaction
|
|
973
|
+
* @param {object} params.event Event object
|
|
974
|
+
* @param {Core.widget.Combo} params.event.source The combo
|
|
975
|
+
* @param {Core.data.Model} params.event.record Selected record
|
|
976
|
+
* @param {Core.data.Model[]} params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`
|
|
977
|
+
* @param {boolean} params.event.userAction `true` if the value change is due to user interaction
|
|
1003
978
|
*/
|
|
1004
979
|
(e: 'select', params: ((event: { source: Combo, record: Model, records: Model[], userAction: boolean }) => void)|string): void
|
|
1005
980
|
/**
|
|
1006
981
|
* Triggered after a widget is shown.
|
|
1007
982
|
* @param {string} e Event name
|
|
1008
983
|
* @param {object} params Event parameters
|
|
1009
|
-
* @param {
|
|
1010
|
-
* @param {
|
|
1011
|
-
* @param {object} params.params.event Event object
|
|
1012
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
984
|
+
* @param {object} params.event Event object
|
|
985
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
1013
986
|
*/
|
|
1014
987
|
(e: 'show', params: ((event: { source: Widget }) => void)|string): void
|
|
1015
988
|
/**
|
|
1016
989
|
* User clicked one of this field's [triggers](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-triggers)
|
|
1017
990
|
* @param {string} e Event name
|
|
1018
991
|
* @param {object} params Event parameters
|
|
1019
|
-
* @param {
|
|
1020
|
-
* @param {
|
|
1021
|
-
* @param {
|
|
1022
|
-
* @param {Core.widget.Field,any} params.params.event.source This field
|
|
1023
|
-
* @param {Core.widget.Widget} params.params.event.trigger The trigger activated by click or touch tap.
|
|
992
|
+
* @param {object} params.event Event object
|
|
993
|
+
* @param {Core.widget.Field,any} params.event.source This field
|
|
994
|
+
* @param {Core.widget.Widget} params.event.trigger The trigger activated by click or touch tap.
|
|
1024
995
|
*/
|
|
1025
996
|
(e: 'trigger', params: ((event: { source: Field|any, trigger: Widget }) => void)|string): void
|
|
1026
997
|
}>();
|
|
@@ -1042,6 +1013,7 @@ const widgetData = {
|
|
|
1042
1013
|
'cacheLastResult',
|
|
1043
1014
|
'caseSensitive',
|
|
1044
1015
|
'centered',
|
|
1016
|
+
'checkValidity',
|
|
1045
1017
|
'chipView',
|
|
1046
1018
|
'clearable',
|
|
1047
1019
|
'clearTextOnPickerHide',
|
|
@@ -90,6 +90,15 @@ export declare type BryntumConstraintTypePickerProps = {
|
|
|
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/schedulerpro/docs/api/Core/widget/Field#property-isValid)
|
|
96
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-required) check.
|
|
97
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ConstraintTypePicker#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/schedulerpro/docs/api/Core/widget/ChipView) to display the
|
|
95
104
|
* selected value set when [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
|