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