@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
|
@@ -96,6 +96,15 @@ defineProps<{
|
|
|
96
96
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
97
97
|
*/
|
|
98
98
|
centered ? : Boolean
|
|
99
|
+
/**
|
|
100
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
101
|
+
* 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)
|
|
102
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-required) check.
|
|
103
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-checkValidity)
|
|
104
|
+
* @param {Core.widget.Field} field The field being validated
|
|
105
|
+
* @returns {void}
|
|
106
|
+
*/
|
|
107
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
99
108
|
/**
|
|
100
109
|
* 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
|
|
101
110
|
* 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
|
|
@@ -682,48 +691,40 @@ const emit = defineEmits<{
|
|
|
682
691
|
* User performed default action (typed into this field).
|
|
683
692
|
* @param {string} e Event name
|
|
684
693
|
* @param {object} params Event parameters
|
|
685
|
-
* @param {
|
|
686
|
-
* @param {
|
|
687
|
-
* @param {
|
|
688
|
-
* @param {
|
|
689
|
-
* @param {
|
|
690
|
-
* @param {
|
|
691
|
-
* @param {
|
|
692
|
-
* @param {
|
|
693
|
-
* @param {
|
|
694
|
-
* @param {
|
|
695
|
-
* @param {boolean} params.params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
696
|
-
* @param {boolean} params.params.event.checked
|
|
694
|
+
* @param {object} params.event Event object
|
|
695
|
+
* @param {Core.widget.Field,any} params.event.source This Field
|
|
696
|
+
* @param {string,number,boolean,any} params.event.value This field's value
|
|
697
|
+
* @param {string,number,boolean,any} params.event.oldValue This field's previous value
|
|
698
|
+
* @param {boolean} params.event.valid True if this field is in a valid state
|
|
699
|
+
* @param {Event} params.event.event The triggering DOM event if any
|
|
700
|
+
* @param {Core.data.Model} params.event.record Selected record. Available for fields with records selection functionality
|
|
701
|
+
* @param {Core.data.Model[]} params.event.records Selected records as an array. Available for fields with records selection functionality
|
|
702
|
+
* @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
703
|
+
* @param {boolean} params.event.checked
|
|
697
704
|
*/
|
|
698
705
|
(e: 'action', params: ((event: { source: Field|any, value: string|number|boolean|any, oldValue: string|number|boolean|any, valid: boolean, event: Event, record: Model, records: Model[], userAction: boolean, checked: boolean }) => void)|string): void
|
|
699
706
|
/**
|
|
700
707
|
* Fires before an object is destroyed.
|
|
701
708
|
* @param {string} e Event name
|
|
702
709
|
* @param {object} params Event parameters
|
|
703
|
-
* @param {
|
|
704
|
-
* @param {
|
|
705
|
-
* @param {object} params.params.event Event object
|
|
706
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
710
|
+
* @param {object} params.event Event object
|
|
711
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
707
712
|
*/
|
|
708
713
|
(e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
|
|
709
714
|
/**
|
|
710
715
|
* Triggered before a widget is hidden. Return `false` to prevent the action.
|
|
711
716
|
* @param {string} e Event name
|
|
712
717
|
* @param {object} params Event parameters
|
|
713
|
-
* @param {
|
|
714
|
-
* @param {
|
|
715
|
-
* @param {object} params.params.event Event object
|
|
716
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being hidden.
|
|
718
|
+
* @param {object} params.event Event object
|
|
719
|
+
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
717
720
|
*/
|
|
718
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
721
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
719
722
|
/**
|
|
720
723
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
721
724
|
* @param {string} e Event name
|
|
722
725
|
* @param {object} params Event parameters
|
|
723
|
-
* @param {
|
|
724
|
-
* @param {
|
|
725
|
-
* @param {object} params.params.event Event object
|
|
726
|
-
* @param {Core.widget.Widget,any} params.params.event.source The widget being shown
|
|
726
|
+
* @param {object} params.event Event object
|
|
727
|
+
* @param {Core.widget.Widget,any} params.event.source The widget being shown
|
|
727
728
|
*/
|
|
728
729
|
(e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
729
730
|
/**
|
|
@@ -731,27 +732,23 @@ const emit = defineEmits<{
|
|
|
731
732
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#event-catchAll)
|
|
732
733
|
* @param {string} e Event name
|
|
733
734
|
* @param {object} params Event parameters
|
|
734
|
-
* @param {
|
|
735
|
-
* @param {
|
|
736
|
-
* @param {
|
|
737
|
-
* @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details
|
|
738
|
-
* @param {string} params.params.event.event.type The type of the event which is caught by the listener
|
|
735
|
+
* @param {object} params.event Event object
|
|
736
|
+
* @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details
|
|
737
|
+
* @param {string} params.event.event.type The type of the event which is caught by the listener
|
|
739
738
|
*/
|
|
740
739
|
(e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
|
|
741
740
|
/**
|
|
742
741
|
* Fired when this field's value changes.
|
|
743
742
|
* @param {string} e Event name
|
|
744
743
|
* @param {object} params Event parameters
|
|
745
|
-
* @param {
|
|
746
|
-
* @param {
|
|
747
|
-
* @param {
|
|
748
|
-
* @param {
|
|
749
|
-
* @param {
|
|
750
|
-
* @param {
|
|
751
|
-
* @param {boolean} params.
|
|
752
|
-
* @param {
|
|
753
|
-
* @param {boolean} params.params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
754
|
-
* @param {boolean} params.params.event.checked
|
|
744
|
+
* @param {object} params.event Event object
|
|
745
|
+
* @param {Core.widget.DateField} params.event.source This DateField
|
|
746
|
+
* @param {Date} params.event.value This field's value
|
|
747
|
+
* @param {Date} params.event.oldValue This field's previous value
|
|
748
|
+
* @param {boolean} params.event.valid True if this field is in a valid state
|
|
749
|
+
* @param {Event} params.event.event The triggering DOM event if any
|
|
750
|
+
* @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
751
|
+
* @param {boolean} params.event.checked
|
|
755
752
|
*/
|
|
756
753
|
(e: 'change', params: ((event: { source: DateField, value: Date, oldValue: Date, valid: boolean, event: Event, userAction: boolean, checked: boolean }) => void)|string): void
|
|
757
754
|
/**
|
|
@@ -759,45 +756,37 @@ const emit = defineEmits<{
|
|
|
759
756
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#event-clear)
|
|
760
757
|
* @param {string} e Event name
|
|
761
758
|
* @param {object} params Event parameters
|
|
762
|
-
* @param {
|
|
763
|
-
* @param {
|
|
764
|
-
* @param {object} params.params.event Event object
|
|
765
|
-
* @param {Core.widget.Field,any} params.params.event.source This Field
|
|
759
|
+
* @param {object} params.event Event object
|
|
760
|
+
* @param {Core.widget.Field,any} params.event.source This Field
|
|
766
761
|
*/
|
|
767
762
|
(e: 'clear', params: ((event: { source: Field|any }) => void)|string): void
|
|
768
763
|
/**
|
|
769
764
|
* Fires when an object is destroyed.
|
|
770
765
|
* @param {string} e Event name
|
|
771
766
|
* @param {object} params Event parameters
|
|
772
|
-
* @param {
|
|
773
|
-
* @param {
|
|
774
|
-
* @param {object} params.params.event Event object
|
|
775
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
767
|
+
* @param {object} params.event Event object
|
|
768
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
776
769
|
*/
|
|
777
770
|
(e: 'destroy', params: ((event: { source: Base }) => void)|string): void
|
|
778
771
|
/**
|
|
779
772
|
* Triggered when a widget's [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element) is available.
|
|
780
773
|
* @param {string} e Event name
|
|
781
774
|
* @param {object} params Event parameters
|
|
782
|
-
* @param {
|
|
783
|
-
* @param {
|
|
784
|
-
* @param {object} params.params.event Event object
|
|
785
|
-
* @param {HTMLElement} params.params.event.element The Widget's element.
|
|
775
|
+
* @param {object} params.event Event object
|
|
776
|
+
* @param {HTMLElement} params.event.element The Widget's element.
|
|
786
777
|
*/
|
|
787
778
|
(e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
|
|
788
779
|
/**
|
|
789
780
|
* Fired when focus enters this Widget.
|
|
790
781
|
* @param {string} e Event name
|
|
791
782
|
* @param {object} params Event parameters
|
|
792
|
-
* @param {
|
|
793
|
-
* @param {
|
|
794
|
-
* @param {
|
|
795
|
-
* @param {
|
|
796
|
-
* @param {
|
|
797
|
-
* @param {
|
|
798
|
-
* @param {
|
|
799
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
800
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
783
|
+
* @param {object} params.event Event object
|
|
784
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
785
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
786
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
787
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
788
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
789
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
801
790
|
*/
|
|
802
791
|
(e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
803
792
|
/**
|
|
@@ -806,37 +795,31 @@ const emit = defineEmits<{
|
|
|
806
795
|
* will not trigger this event. This is when focus exits this widget completely.
|
|
807
796
|
* @param {string} e Event name
|
|
808
797
|
* @param {object} params Event parameters
|
|
809
|
-
* @param {
|
|
810
|
-
* @param {
|
|
811
|
-
* @param {
|
|
812
|
-
* @param {
|
|
813
|
-
* @param {
|
|
814
|
-
* @param {
|
|
815
|
-
* @param {
|
|
816
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
817
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
798
|
+
* @param {object} params.event Event object
|
|
799
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
800
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
801
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
802
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
803
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
804
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
818
805
|
*/
|
|
819
806
|
(e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
820
807
|
/**
|
|
821
808
|
* Triggered after a widget was hidden
|
|
822
809
|
* @param {string} e Event name
|
|
823
810
|
* @param {object} params Event parameters
|
|
824
|
-
* @param {
|
|
825
|
-
* @param {
|
|
826
|
-
* @param {object} params.params.event Event object
|
|
827
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
811
|
+
* @param {object} params.event Event object
|
|
812
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
828
813
|
*/
|
|
829
814
|
(e: 'hide', params: ((event: { source: Widget }) => void)|string): void
|
|
830
815
|
/**
|
|
831
816
|
* Fired when the user types into this field.
|
|
832
817
|
* @param {string} e Event name
|
|
833
818
|
* @param {object} params Event parameters
|
|
834
|
-
* @param {
|
|
835
|
-
* @param {
|
|
836
|
-
* @param {
|
|
837
|
-
* @param {
|
|
838
|
-
* @param {string,number,boolean,any} params.params.event.value This field's value
|
|
839
|
-
* @param {Event} params.params.event.event The triggering DOM event
|
|
819
|
+
* @param {object} params.event Event object
|
|
820
|
+
* @param {Core.widget.Field,any} params.event.source This field
|
|
821
|
+
* @param {string,number,boolean,any} params.event.value This field's value
|
|
822
|
+
* @param {Event} params.event.event The triggering DOM event
|
|
840
823
|
*/
|
|
841
824
|
(e: 'input', params: ((event: { source: Field|any, value: string|number|boolean|any, event: Event }) => void)|string): void
|
|
842
825
|
/**
|
|
@@ -845,21 +828,17 @@ const emit = defineEmits<{
|
|
|
845
828
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#event-paint)
|
|
846
829
|
* @param {string} e Event name
|
|
847
830
|
* @param {object} params Event parameters
|
|
848
|
-
* @param {
|
|
849
|
-
* @param {
|
|
850
|
-
* @param {
|
|
851
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being painted.
|
|
852
|
-
* @param {boolean} params.params.event.firstPaint `true` if this is the first paint.
|
|
831
|
+
* @param {object} params.event Event object
|
|
832
|
+
* @param {Core.widget.Widget} params.event.source The widget being painted.
|
|
833
|
+
* @param {boolean} params.event.firstPaint `true` if this is the first paint.
|
|
853
834
|
*/
|
|
854
835
|
(e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
|
|
855
836
|
/**
|
|
856
837
|
* Fired when a Widget's read only state is toggled
|
|
857
838
|
* @param {string} e Event name
|
|
858
839
|
* @param {object} params Event parameters
|
|
859
|
-
* @param {
|
|
860
|
-
* @param {
|
|
861
|
-
* @param {object} params.params.event Event object
|
|
862
|
-
* @param {boolean} params.params.event.readOnly Read only or not
|
|
840
|
+
* @param {object} params.event Event object
|
|
841
|
+
* @param {boolean} params.event.readOnly Read only or not
|
|
863
842
|
*/
|
|
864
843
|
(e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
|
|
865
844
|
/**
|
|
@@ -871,35 +850,29 @@ const emit = defineEmits<{
|
|
|
871
850
|
* 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`*.
|
|
872
851
|
* @param {string} e Event name
|
|
873
852
|
* @param {object} params Event parameters
|
|
874
|
-
* @param {
|
|
875
|
-
* @param {
|
|
876
|
-
* @param {
|
|
877
|
-
* @param {
|
|
878
|
-
* @param {number} params.
|
|
879
|
-
* @param {number} params.
|
|
880
|
-
* @param {number} params.params.event.oldWidth The old width
|
|
881
|
-
* @param {number} params.params.event.oldHeight The old height
|
|
853
|
+
* @param {object} params.event Event object
|
|
854
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
855
|
+
* @param {number} params.event.width The new width
|
|
856
|
+
* @param {number} params.event.height The new height
|
|
857
|
+
* @param {number} params.event.oldWidth The old width
|
|
858
|
+
* @param {number} params.event.oldHeight The old height
|
|
882
859
|
*/
|
|
883
860
|
(e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
|
|
884
861
|
/**
|
|
885
862
|
* Triggered after a widget is shown.
|
|
886
863
|
* @param {string} e Event name
|
|
887
864
|
* @param {object} params Event parameters
|
|
888
|
-
* @param {
|
|
889
|
-
* @param {
|
|
890
|
-
* @param {object} params.params.event Event object
|
|
891
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
865
|
+
* @param {object} params.event Event object
|
|
866
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
892
867
|
*/
|
|
893
868
|
(e: 'show', params: ((event: { source: Widget }) => void)|string): void
|
|
894
869
|
/**
|
|
895
870
|
* User clicked one of this field's [triggers](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-triggers)
|
|
896
871
|
* @param {string} e Event name
|
|
897
872
|
* @param {object} params Event parameters
|
|
898
|
-
* @param {
|
|
899
|
-
* @param {
|
|
900
|
-
* @param {
|
|
901
|
-
* @param {Core.widget.Field,any} params.params.event.source This field
|
|
902
|
-
* @param {Core.widget.Widget} params.params.event.trigger The trigger activated by click or touch tap.
|
|
873
|
+
* @param {object} params.event Event object
|
|
874
|
+
* @param {Core.widget.Field,any} params.event.source This field
|
|
875
|
+
* @param {Core.widget.Widget} params.event.trigger The trigger activated by click or touch tap.
|
|
903
876
|
*/
|
|
904
877
|
(e: 'trigger', params: ((event: { source: Field|any, trigger: Widget }) => void)|string): void
|
|
905
878
|
}>();
|
|
@@ -919,6 +892,7 @@ const widgetData = {
|
|
|
919
892
|
'autoSelect',
|
|
920
893
|
'bubbleEvents',
|
|
921
894
|
'centered',
|
|
895
|
+
'checkValidity',
|
|
922
896
|
'clearable',
|
|
923
897
|
'color',
|
|
924
898
|
'config',
|
|
@@ -81,6 +81,15 @@ export declare type BryntumEndDateFieldProps = {
|
|
|
81
81
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
82
82
|
*/
|
|
83
83
|
centered ? : Boolean
|
|
84
|
+
/**
|
|
85
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
86
|
+
* 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)
|
|
87
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-required) check.
|
|
88
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-checkValidity)
|
|
89
|
+
* @param {Core.widget.Field} field The field being validated
|
|
90
|
+
* @returns {void}
|
|
91
|
+
*/
|
|
92
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
84
93
|
/**
|
|
85
94
|
* 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
|
|
86
95
|
* 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
|