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