@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
|
@@ -101,6 +101,15 @@ defineProps<{
|
|
|
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/EffortField#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
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
106
115
|
* in the [triggers](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|
|
@@ -653,45 +662,37 @@ const emit = defineEmits<{
|
|
|
653
662
|
* User performed the default action (typed into this field or hit the triggers).
|
|
654
663
|
* @param {string} e Event name
|
|
655
664
|
* @param {object} params Event parameters
|
|
656
|
-
* @param {
|
|
657
|
-
* @param {
|
|
658
|
-
* @param {
|
|
659
|
-
* @param {
|
|
660
|
-
* @param {
|
|
661
|
-
* @param {boolean} params.
|
|
662
|
-
* @param {
|
|
663
|
-
* @param {boolean} params.params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
664
|
-
* @param {Core.widget.DurationField} params.params.event.source This field
|
|
665
|
+
* @param {object} params.event Event object
|
|
666
|
+
* @param {Core.data.Duration} params.event.value This field's value
|
|
667
|
+
* @param {Core.data.Duration} params.event.oldValue This field's previous value
|
|
668
|
+
* @param {boolean} params.event.valid True if this field is in a valid state.
|
|
669
|
+
* @param {Event} [params.event.event] The triggering DOM event if any.
|
|
670
|
+
* @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
671
|
+
* @param {Core.widget.DurationField} params.event.source This field
|
|
665
672
|
*/
|
|
666
673
|
(e: 'action', params: ((event: { value: Duration, oldValue: Duration, valid: boolean, event?: Event, userAction: boolean, source: DurationField }) => void)|string): void
|
|
667
674
|
/**
|
|
668
675
|
* Fires before an object is destroyed.
|
|
669
676
|
* @param {string} e Event name
|
|
670
677
|
* @param {object} params Event parameters
|
|
671
|
-
* @param {
|
|
672
|
-
* @param {
|
|
673
|
-
* @param {object} params.params.event Event object
|
|
674
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
678
|
+
* @param {object} params.event Event object
|
|
679
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
675
680
|
*/
|
|
676
681
|
(e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
|
|
677
682
|
/**
|
|
678
683
|
* Triggered before a widget is hidden. Return `false` to prevent the action.
|
|
679
684
|
* @param {string} e Event name
|
|
680
685
|
* @param {object} params Event parameters
|
|
681
|
-
* @param {
|
|
682
|
-
* @param {
|
|
683
|
-
* @param {object} params.params.event Event object
|
|
684
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being hidden.
|
|
686
|
+
* @param {object} params.event Event object
|
|
687
|
+
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
685
688
|
*/
|
|
686
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
689
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
687
690
|
/**
|
|
688
691
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
689
692
|
* @param {string} e Event name
|
|
690
693
|
* @param {object} params Event parameters
|
|
691
|
-
* @param {
|
|
692
|
-
* @param {
|
|
693
|
-
* @param {object} params.params.event Event object
|
|
694
|
-
* @param {Core.widget.Widget,any} params.params.event.source The widget being shown
|
|
694
|
+
* @param {object} params.event Event object
|
|
695
|
+
* @param {Core.widget.Widget,any} params.event.source The widget being shown
|
|
695
696
|
*/
|
|
696
697
|
(e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
697
698
|
/**
|
|
@@ -699,26 +700,22 @@ const emit = defineEmits<{
|
|
|
699
700
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#event-catchAll)
|
|
700
701
|
* @param {string} e Event name
|
|
701
702
|
* @param {object} params Event parameters
|
|
702
|
-
* @param {
|
|
703
|
-
* @param {
|
|
704
|
-
* @param {
|
|
705
|
-
* @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details
|
|
706
|
-
* @param {string} params.params.event.event.type The type of the event which is caught by the listener
|
|
703
|
+
* @param {object} params.event Event object
|
|
704
|
+
* @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details
|
|
705
|
+
* @param {string} params.event.event.type The type of the event which is caught by the listener
|
|
707
706
|
*/
|
|
708
707
|
(e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
|
|
709
708
|
/**
|
|
710
709
|
* Fired when this field's value changes.
|
|
711
710
|
* @param {string} e Event name
|
|
712
711
|
* @param {object} params Event parameters
|
|
713
|
-
* @param {
|
|
714
|
-
* @param {
|
|
715
|
-
* @param {
|
|
716
|
-
* @param {
|
|
717
|
-
* @param {
|
|
718
|
-
* @param {boolean} params.
|
|
719
|
-
* @param {
|
|
720
|
-
* @param {boolean} params.params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
721
|
-
* @param {Core.widget.DurationField} params.params.event.source This field
|
|
712
|
+
* @param {object} params.event Event object
|
|
713
|
+
* @param {Core.data.Duration} params.event.value This field's value
|
|
714
|
+
* @param {Core.data.Duration} params.event.oldValue This field's previous value
|
|
715
|
+
* @param {boolean} params.event.valid True if this field is in a valid state.
|
|
716
|
+
* @param {Event} [params.event.event] The triggering DOM event if any.
|
|
717
|
+
* @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
718
|
+
* @param {Core.widget.DurationField} params.event.source This field
|
|
722
719
|
*/
|
|
723
720
|
(e: 'change', params: ((event: { value: Duration, oldValue: Duration, valid: boolean, event?: Event, userAction: boolean, source: DurationField }) => void)|string): void
|
|
724
721
|
/**
|
|
@@ -726,45 +723,37 @@ const emit = defineEmits<{
|
|
|
726
723
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#event-clear)
|
|
727
724
|
* @param {string} e Event name
|
|
728
725
|
* @param {object} params Event parameters
|
|
729
|
-
* @param {
|
|
730
|
-
* @param {
|
|
731
|
-
* @param {object} params.params.event Event object
|
|
732
|
-
* @param {Core.widget.Field,any} params.params.event.source This Field
|
|
726
|
+
* @param {object} params.event Event object
|
|
727
|
+
* @param {Core.widget.Field,any} params.event.source This Field
|
|
733
728
|
*/
|
|
734
729
|
(e: 'clear', params: ((event: { source: Field|any }) => void)|string): void
|
|
735
730
|
/**
|
|
736
731
|
* Fires when an object is destroyed.
|
|
737
732
|
* @param {string} e Event name
|
|
738
733
|
* @param {object} params Event parameters
|
|
739
|
-
* @param {
|
|
740
|
-
* @param {
|
|
741
|
-
* @param {object} params.params.event Event object
|
|
742
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
734
|
+
* @param {object} params.event Event object
|
|
735
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
743
736
|
*/
|
|
744
737
|
(e: 'destroy', params: ((event: { source: Base }) => void)|string): void
|
|
745
738
|
/**
|
|
746
739
|
* Triggered when a widget's [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element) is available.
|
|
747
740
|
* @param {string} e Event name
|
|
748
741
|
* @param {object} params Event parameters
|
|
749
|
-
* @param {
|
|
750
|
-
* @param {
|
|
751
|
-
* @param {object} params.params.event Event object
|
|
752
|
-
* @param {HTMLElement} params.params.event.element The Widget's element.
|
|
742
|
+
* @param {object} params.event Event object
|
|
743
|
+
* @param {HTMLElement} params.event.element The Widget's element.
|
|
753
744
|
*/
|
|
754
745
|
(e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
|
|
755
746
|
/**
|
|
756
747
|
* Fired when focus enters this Widget.
|
|
757
748
|
* @param {string} e Event name
|
|
758
749
|
* @param {object} params Event parameters
|
|
759
|
-
* @param {
|
|
760
|
-
* @param {
|
|
761
|
-
* @param {
|
|
762
|
-
* @param {
|
|
763
|
-
* @param {
|
|
764
|
-
* @param {
|
|
765
|
-
* @param {
|
|
766
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
767
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
750
|
+
* @param {object} params.event Event object
|
|
751
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
752
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
753
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
754
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
755
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
756
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
768
757
|
*/
|
|
769
758
|
(e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
770
759
|
/**
|
|
@@ -773,37 +762,31 @@ const emit = defineEmits<{
|
|
|
773
762
|
* will not trigger this event. This is when focus exits this widget completely.
|
|
774
763
|
* @param {string} e Event name
|
|
775
764
|
* @param {object} params Event parameters
|
|
776
|
-
* @param {
|
|
777
|
-
* @param {
|
|
778
|
-
* @param {
|
|
779
|
-
* @param {
|
|
780
|
-
* @param {
|
|
781
|
-
* @param {
|
|
782
|
-
* @param {
|
|
783
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
784
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
765
|
+
* @param {object} params.event Event object
|
|
766
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
767
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
768
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
769
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
770
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
771
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
785
772
|
*/
|
|
786
773
|
(e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
787
774
|
/**
|
|
788
775
|
* Triggered after a widget was hidden
|
|
789
776
|
* @param {string} e Event name
|
|
790
777
|
* @param {object} params Event parameters
|
|
791
|
-
* @param {
|
|
792
|
-
* @param {
|
|
793
|
-
* @param {object} params.params.event Event object
|
|
794
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
778
|
+
* @param {object} params.event Event object
|
|
779
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
795
780
|
*/
|
|
796
781
|
(e: 'hide', params: ((event: { source: Widget }) => void)|string): void
|
|
797
782
|
/**
|
|
798
783
|
* Fired when the user types into this field.
|
|
799
784
|
* @param {string} e Event name
|
|
800
785
|
* @param {object} params Event parameters
|
|
801
|
-
* @param {
|
|
802
|
-
* @param {
|
|
803
|
-
* @param {
|
|
804
|
-
* @param {
|
|
805
|
-
* @param {string,number,boolean,any} params.params.event.value This field's value
|
|
806
|
-
* @param {Event} params.params.event.event The triggering DOM event
|
|
786
|
+
* @param {object} params.event Event object
|
|
787
|
+
* @param {Core.widget.Field,any} params.event.source This field
|
|
788
|
+
* @param {string,number,boolean,any} params.event.value This field's value
|
|
789
|
+
* @param {Event} params.event.event The triggering DOM event
|
|
807
790
|
*/
|
|
808
791
|
(e: 'input', params: ((event: { source: Field|any, value: string|number|boolean|any, event: Event }) => void)|string): void
|
|
809
792
|
/**
|
|
@@ -812,21 +795,17 @@ const emit = defineEmits<{
|
|
|
812
795
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#event-paint)
|
|
813
796
|
* @param {string} e Event name
|
|
814
797
|
* @param {object} params Event parameters
|
|
815
|
-
* @param {
|
|
816
|
-
* @param {
|
|
817
|
-
* @param {
|
|
818
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being painted.
|
|
819
|
-
* @param {boolean} params.params.event.firstPaint `true` if this is the first paint.
|
|
798
|
+
* @param {object} params.event Event object
|
|
799
|
+
* @param {Core.widget.Widget} params.event.source The widget being painted.
|
|
800
|
+
* @param {boolean} params.event.firstPaint `true` if this is the first paint.
|
|
820
801
|
*/
|
|
821
802
|
(e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
|
|
822
803
|
/**
|
|
823
804
|
* Fired when a Widget's read only state is toggled
|
|
824
805
|
* @param {string} e Event name
|
|
825
806
|
* @param {object} params Event parameters
|
|
826
|
-
* @param {
|
|
827
|
-
* @param {
|
|
828
|
-
* @param {object} params.params.event Event object
|
|
829
|
-
* @param {boolean} params.params.event.readOnly Read only or not
|
|
807
|
+
* @param {object} params.event Event object
|
|
808
|
+
* @param {boolean} params.event.readOnly Read only or not
|
|
830
809
|
*/
|
|
831
810
|
(e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
|
|
832
811
|
/**
|
|
@@ -838,35 +817,29 @@ const emit = defineEmits<{
|
|
|
838
817
|
* 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`*.
|
|
839
818
|
* @param {string} e Event name
|
|
840
819
|
* @param {object} params Event parameters
|
|
841
|
-
* @param {
|
|
842
|
-
* @param {
|
|
843
|
-
* @param {
|
|
844
|
-
* @param {
|
|
845
|
-
* @param {number} params.
|
|
846
|
-
* @param {number} params.
|
|
847
|
-
* @param {number} params.params.event.oldWidth The old width
|
|
848
|
-
* @param {number} params.params.event.oldHeight The old height
|
|
820
|
+
* @param {object} params.event Event object
|
|
821
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
822
|
+
* @param {number} params.event.width The new width
|
|
823
|
+
* @param {number} params.event.height The new height
|
|
824
|
+
* @param {number} params.event.oldWidth The old width
|
|
825
|
+
* @param {number} params.event.oldHeight The old height
|
|
849
826
|
*/
|
|
850
827
|
(e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
|
|
851
828
|
/**
|
|
852
829
|
* Triggered after a widget is shown.
|
|
853
830
|
* @param {string} e Event name
|
|
854
831
|
* @param {object} params Event parameters
|
|
855
|
-
* @param {
|
|
856
|
-
* @param {
|
|
857
|
-
* @param {object} params.params.event Event object
|
|
858
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
832
|
+
* @param {object} params.event Event object
|
|
833
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
859
834
|
*/
|
|
860
835
|
(e: 'show', params: ((event: { source: Widget }) => void)|string): void
|
|
861
836
|
/**
|
|
862
837
|
* User clicked one of this field's [triggers](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-triggers)
|
|
863
838
|
* @param {string} e Event name
|
|
864
839
|
* @param {object} params Event parameters
|
|
865
|
-
* @param {
|
|
866
|
-
* @param {
|
|
867
|
-
* @param {
|
|
868
|
-
* @param {Core.widget.Field,any} params.params.event.source This field
|
|
869
|
-
* @param {Core.widget.Widget} params.params.event.trigger The trigger activated by click or touch tap.
|
|
840
|
+
* @param {object} params.event Event object
|
|
841
|
+
* @param {Core.widget.Field,any} params.event.source This field
|
|
842
|
+
* @param {Core.widget.Widget} params.event.trigger The trigger activated by click or touch tap.
|
|
870
843
|
*/
|
|
871
844
|
(e: 'trigger', params: ((event: { source: Field|any, trigger: Widget }) => void)|string): void
|
|
872
845
|
}>();
|
|
@@ -886,6 +859,7 @@ const widgetData = {
|
|
|
886
859
|
'autoSelect',
|
|
887
860
|
'bubbleEvents',
|
|
888
861
|
'centered',
|
|
862
|
+
'checkValidity',
|
|
889
863
|
'clearable',
|
|
890
864
|
'color',
|
|
891
865
|
'config',
|
|
@@ -86,6 +86,15 @@ export declare type BryntumEffortFieldProps = {
|
|
|
86
86
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
87
87
|
*/
|
|
88
88
|
centered ? : Boolean
|
|
89
|
+
/**
|
|
90
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
91
|
+
* 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)
|
|
92
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-required) check.
|
|
93
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-checkValidity)
|
|
94
|
+
* @param {Core.widget.Field} field The field being validated
|
|
95
|
+
* @returns {void}
|
|
96
|
+
*/
|
|
97
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
89
98
|
/**
|
|
90
99
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
91
100
|
* in the [triggers](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|