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