@bryntum/schedulerpro-vue-3-thin 7.3.0 → 7.3.2
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 +70 -106
- package/src/components/BryntumCalendarEditorProps.ts +6 -0
- package/src/components/BryntumCalendarField.vue +87 -109
- package/src/components/BryntumCalendarFieldProps.ts +15 -0
- package/src/components/BryntumConstraintTypePicker.vue +87 -109
- package/src/components/BryntumConstraintTypePickerProps.ts +15 -0
- package/src/components/BryntumCostAccrualField.vue +87 -109
- package/src/components/BryntumCostAccrualFieldProps.ts +15 -0
- package/src/components/BryntumDependencyTypePicker.vue +87 -109
- package/src/components/BryntumDependencyTypePickerProps.ts +15 -0
- package/src/components/BryntumEffortField.vue +82 -102
- package/src/components/BryntumEffortFieldProps.ts +15 -0
- package/src/components/BryntumEndDateField.vue +87 -107
- package/src/components/BryntumEndDateFieldProps.ts +16 -1
- package/src/components/BryntumModelCombo.vue +87 -109
- package/src/components/BryntumModelComboProps.ts +15 -0
- package/src/components/BryntumRateTableField.vue +87 -109
- package/src/components/BryntumRateTableFieldProps.ts +15 -0
- package/src/components/BryntumResourceEditor.vue +70 -106
- package/src/components/BryntumResourceEditorProps.ts +6 -0
- package/src/components/BryntumResourceGrid.vue +536 -756
- package/src/components/BryntumResourceGridProps.ts +12 -1
- package/src/components/BryntumResourceHistogram.vue +780 -1092
- package/src/components/BryntumResourceHistogramProps.ts +12 -1
- package/src/components/BryntumResourceTypeField.vue +87 -109
- package/src/components/BryntumResourceTypeFieldProps.ts +15 -0
- package/src/components/BryntumResourceUtilization.vue +796 -1114
- package/src/components/BryntumResourceUtilizationProps.ts +12 -1
- package/src/components/BryntumSchedulerPro.vue +1620 -2196
- package/src/components/BryntumSchedulerProBase.vue +1620 -2196
- package/src/components/BryntumSchedulerProBaseProps.ts +12 -1
- package/src/components/BryntumSchedulerProProjectModel.vue +140 -190
- package/src/components/BryntumSchedulerProProjectModelProps.ts +9 -7
- package/src/components/BryntumSchedulerProProps.ts +12 -1
- package/src/components/BryntumSchedulingDirectionPicker.vue +87 -109
- package/src/components/BryntumSchedulingDirectionPickerProps.ts +15 -0
- package/src/components/BryntumSchedulingModePicker.vue +87 -109
- package/src/components/BryntumSchedulingModePickerProps.ts +15 -0
- package/src/components/BryntumStartDateField.vue +87 -107
- package/src/components/BryntumStartDateFieldProps.ts +16 -1
- package/src/components/BryntumTimeline.vue +1432 -1928
- package/src/components/BryntumTimelineProps.ts +12 -1
- package/src/components/BryntumVersionGrid.vue +534 -764
- package/src/components/BryntumVersionGridProps.ts +7 -1
- 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
|
@@ -44,6 +44,8 @@ defineProps<{
|
|
|
44
44
|
/**
|
|
45
45
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
46
46
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element).
|
|
47
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
48
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/DependencyTypePicker#config-appendTo)
|
|
47
49
|
*/
|
|
48
50
|
appendTo ? : HTMLElement|string
|
|
49
51
|
/**
|
|
@@ -106,6 +108,15 @@ defineProps<{
|
|
|
106
108
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
107
109
|
*/
|
|
108
110
|
centered ? : Boolean
|
|
111
|
+
/**
|
|
112
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
113
|
+
* 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)
|
|
114
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-required) check.
|
|
115
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/DependencyTypePicker#config-checkValidity)
|
|
116
|
+
* @param {Core.widget.Field} field The field being validated
|
|
117
|
+
* @returns {void}
|
|
118
|
+
*/
|
|
119
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
109
120
|
/**
|
|
110
121
|
* A config object to configure the [ChipView](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/ChipView) to display the
|
|
111
122
|
* selected value set when [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
|
|
@@ -404,10 +415,14 @@ defineProps<{
|
|
|
404
415
|
inputWidth ? : string|number
|
|
405
416
|
/**
|
|
406
417
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
418
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
419
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/DependencyTypePicker#config-insertBefore)
|
|
407
420
|
*/
|
|
408
421
|
insertBefore ? : HTMLElement|string
|
|
409
422
|
/**
|
|
410
423
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
424
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
425
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/DependencyTypePicker#config-insertFirst)
|
|
411
426
|
*/
|
|
412
427
|
insertFirst ? : HTMLElement|string
|
|
413
428
|
/**
|
|
@@ -799,44 +814,36 @@ const emit = defineEmits<{
|
|
|
799
814
|
* The default action was performed (an item in the list was selected)
|
|
800
815
|
* @param {string} e Event name
|
|
801
816
|
* @param {object} params Event parameters
|
|
802
|
-
* @param {
|
|
803
|
-
* @param {
|
|
804
|
-
* @param {
|
|
805
|
-
* @param {Core.
|
|
806
|
-
* @param {
|
|
807
|
-
* @param {
|
|
808
|
-
* @param {Core.data.Model[]} params.params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`
|
|
809
|
-
* @param {boolean} params.params.event.userAction `true` if the value change is due to user interaction
|
|
817
|
+
* @param {object} params.event Event object
|
|
818
|
+
* @param {Core.widget.Combo} params.event.source The combo
|
|
819
|
+
* @param {any} params.event.value The [value](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-valueField) of the selected record
|
|
820
|
+
* @param {Core.data.Model} params.event.record Selected record
|
|
821
|
+
* @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`
|
|
822
|
+
* @param {boolean} params.event.userAction `true` if the value change is due to user interaction
|
|
810
823
|
*/
|
|
811
824
|
(e: 'action', params: ((event: { source: Combo, value: any, record: Model, records: Model[], userAction: boolean }) => void)|string): void
|
|
812
825
|
/**
|
|
813
826
|
* Fires before an object is destroyed.
|
|
814
827
|
* @param {string} e Event name
|
|
815
828
|
* @param {object} params Event parameters
|
|
816
|
-
* @param {
|
|
817
|
-
* @param {
|
|
818
|
-
* @param {object} params.params.event Event object
|
|
819
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
829
|
+
* @param {object} params.event Event object
|
|
830
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
820
831
|
*/
|
|
821
832
|
(e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
|
|
822
833
|
/**
|
|
823
834
|
* Triggered before a widget is hidden. Return `false` to prevent the action.
|
|
824
835
|
* @param {string} e Event name
|
|
825
836
|
* @param {object} params Event parameters
|
|
826
|
-
* @param {
|
|
827
|
-
* @param {
|
|
828
|
-
* @param {object} params.params.event Event object
|
|
829
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being hidden.
|
|
837
|
+
* @param {object} params.event Event object
|
|
838
|
+
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
830
839
|
*/
|
|
831
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
840
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
832
841
|
/**
|
|
833
842
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
834
843
|
* @param {string} e Event name
|
|
835
844
|
* @param {object} params Event parameters
|
|
836
|
-
* @param {
|
|
837
|
-
* @param {
|
|
838
|
-
* @param {object} params.params.event Event object
|
|
839
|
-
* @param {Core.widget.Widget,any} params.params.event.source The widget being shown
|
|
845
|
+
* @param {object} params.event Event object
|
|
846
|
+
* @param {Core.widget.Widget,any} params.event.source The widget being shown
|
|
840
847
|
*/
|
|
841
848
|
(e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
842
849
|
/**
|
|
@@ -844,27 +851,23 @@ const emit = defineEmits<{
|
|
|
844
851
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/DependencyTypePicker#event-catchAll)
|
|
845
852
|
* @param {string} e Event name
|
|
846
853
|
* @param {object} params Event parameters
|
|
847
|
-
* @param {
|
|
848
|
-
* @param {
|
|
849
|
-
* @param {
|
|
850
|
-
* @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details
|
|
851
|
-
* @param {string} params.params.event.event.type The type of the event which is caught by the listener
|
|
854
|
+
* @param {object} params.event Event object
|
|
855
|
+
* @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details
|
|
856
|
+
* @param {string} params.event.event.type The type of the event which is caught by the listener
|
|
852
857
|
*/
|
|
853
858
|
(e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
|
|
854
859
|
/**
|
|
855
860
|
* Fired when this field's value changes.
|
|
856
861
|
* @param {string} e Event name
|
|
857
862
|
* @param {object} params Event parameters
|
|
858
|
-
* @param {
|
|
859
|
-
* @param {
|
|
860
|
-
* @param {
|
|
861
|
-
* @param {
|
|
862
|
-
* @param {
|
|
863
|
-
* @param {
|
|
864
|
-
* @param {boolean} params.
|
|
865
|
-
* @param {
|
|
866
|
-
* @param {boolean} params.params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
867
|
-
* @param {boolean} params.params.event.checked
|
|
863
|
+
* @param {object} params.event Event object
|
|
864
|
+
* @param {Core.widget.Field,any} params.event.source This Field
|
|
865
|
+
* @param {string,number,boolean,any} params.event.value This field's value
|
|
866
|
+
* @param {string,number,boolean,any} params.event.oldValue This field's previous value
|
|
867
|
+
* @param {boolean} params.event.valid True if this field is in a valid state
|
|
868
|
+
* @param {Event} params.event.event The triggering DOM event if any
|
|
869
|
+
* @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
870
|
+
* @param {boolean} params.event.checked
|
|
868
871
|
*/
|
|
869
872
|
(e: 'change', params: ((event: { source: Field|any, value: string|number|boolean|any, oldValue: string|number|boolean|any, valid: boolean, event: Event, userAction: boolean, checked: boolean }) => void)|string): void
|
|
870
873
|
/**
|
|
@@ -872,45 +875,37 @@ const emit = defineEmits<{
|
|
|
872
875
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/DependencyTypePicker#event-clear)
|
|
873
876
|
* @param {string} e Event name
|
|
874
877
|
* @param {object} params Event parameters
|
|
875
|
-
* @param {
|
|
876
|
-
* @param {
|
|
877
|
-
* @param {object} params.params.event Event object
|
|
878
|
-
* @param {Core.widget.Field,any} params.params.event.source This Field
|
|
878
|
+
* @param {object} params.event Event object
|
|
879
|
+
* @param {Core.widget.Field,any} params.event.source This Field
|
|
879
880
|
*/
|
|
880
881
|
(e: 'clear', params: ((event: { source: Field|any }) => void)|string): void
|
|
881
882
|
/**
|
|
882
883
|
* Fires when an object is destroyed.
|
|
883
884
|
* @param {string} e Event name
|
|
884
885
|
* @param {object} params Event parameters
|
|
885
|
-
* @param {
|
|
886
|
-
* @param {
|
|
887
|
-
* @param {object} params.params.event Event object
|
|
888
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
886
|
+
* @param {object} params.event Event object
|
|
887
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
889
888
|
*/
|
|
890
889
|
(e: 'destroy', params: ((event: { source: Base }) => void)|string): void
|
|
891
890
|
/**
|
|
892
891
|
* Triggered when a widget's [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element) is available.
|
|
893
892
|
* @param {string} e Event name
|
|
894
893
|
* @param {object} params Event parameters
|
|
895
|
-
* @param {
|
|
896
|
-
* @param {
|
|
897
|
-
* @param {object} params.params.event Event object
|
|
898
|
-
* @param {HTMLElement} params.params.event.element The Widget's element.
|
|
894
|
+
* @param {object} params.event Event object
|
|
895
|
+
* @param {HTMLElement} params.event.element The Widget's element.
|
|
899
896
|
*/
|
|
900
897
|
(e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
|
|
901
898
|
/**
|
|
902
899
|
* Fired when focus enters this Widget.
|
|
903
900
|
* @param {string} e Event name
|
|
904
901
|
* @param {object} params Event parameters
|
|
905
|
-
* @param {
|
|
906
|
-
* @param {
|
|
907
|
-
* @param {
|
|
908
|
-
* @param {
|
|
909
|
-
* @param {
|
|
910
|
-
* @param {
|
|
911
|
-
* @param {
|
|
912
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
913
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
902
|
+
* @param {object} params.event Event object
|
|
903
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
904
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
905
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
906
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
907
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
908
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
914
909
|
*/
|
|
915
910
|
(e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
916
911
|
/**
|
|
@@ -919,25 +914,21 @@ const emit = defineEmits<{
|
|
|
919
914
|
* will not trigger this event. This is when focus exits this widget completely.
|
|
920
915
|
* @param {string} e Event name
|
|
921
916
|
* @param {object} params Event parameters
|
|
922
|
-
* @param {
|
|
923
|
-
* @param {
|
|
924
|
-
* @param {
|
|
925
|
-
* @param {
|
|
926
|
-
* @param {
|
|
927
|
-
* @param {
|
|
928
|
-
* @param {
|
|
929
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
930
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
917
|
+
* @param {object} params.event Event object
|
|
918
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
919
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
920
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
921
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
922
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
923
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
931
924
|
*/
|
|
932
925
|
(e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
933
926
|
/**
|
|
934
927
|
* Triggered after a widget was hidden
|
|
935
928
|
* @param {string} e Event name
|
|
936
929
|
* @param {object} params Event parameters
|
|
937
|
-
* @param {
|
|
938
|
-
* @param {
|
|
939
|
-
* @param {object} params.params.event Event object
|
|
940
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
930
|
+
* @param {object} params.event Event object
|
|
931
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
941
932
|
*/
|
|
942
933
|
(e: 'hide', params: ((event: { source: Widget }) => void)|string): void
|
|
943
934
|
/**
|
|
@@ -945,12 +936,10 @@ const emit = defineEmits<{
|
|
|
945
936
|
* not the combos value
|
|
946
937
|
* @param {string} e Event name
|
|
947
938
|
* @param {object} params Event parameters
|
|
948
|
-
* @param {
|
|
949
|
-
* @param {
|
|
950
|
-
* @param {
|
|
951
|
-
* @param {
|
|
952
|
-
* @param {string} params.params.event.value Raw input value
|
|
953
|
-
* @param {Event} params.params.event.event The triggering DOM event if any.
|
|
939
|
+
* @param {object} params.event Event object
|
|
940
|
+
* @param {Core.widget.Combo} params.event.source The combo.
|
|
941
|
+
* @param {string} params.event.value Raw input value
|
|
942
|
+
* @param {Event} params.event.event The triggering DOM event if any.
|
|
954
943
|
*/
|
|
955
944
|
(e: 'input', params: ((event: { source: Combo, value: string, event: Event }) => void)|string): void
|
|
956
945
|
/**
|
|
@@ -959,21 +948,17 @@ const emit = defineEmits<{
|
|
|
959
948
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/DependencyTypePicker#event-paint)
|
|
960
949
|
* @param {string} e Event name
|
|
961
950
|
* @param {object} params Event parameters
|
|
962
|
-
* @param {
|
|
963
|
-
* @param {
|
|
964
|
-
* @param {
|
|
965
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being painted.
|
|
966
|
-
* @param {boolean} params.params.event.firstPaint `true` if this is the first paint.
|
|
951
|
+
* @param {object} params.event Event object
|
|
952
|
+
* @param {Core.widget.Widget} params.event.source The widget being painted.
|
|
953
|
+
* @param {boolean} params.event.firstPaint `true` if this is the first paint.
|
|
967
954
|
*/
|
|
968
955
|
(e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
|
|
969
956
|
/**
|
|
970
957
|
* Fired when a Widget's read only state is toggled
|
|
971
958
|
* @param {string} e Event name
|
|
972
959
|
* @param {object} params Event parameters
|
|
973
|
-
* @param {
|
|
974
|
-
* @param {
|
|
975
|
-
* @param {object} params.params.event Event object
|
|
976
|
-
* @param {boolean} params.params.event.readOnly Read only or not
|
|
960
|
+
* @param {object} params.event Event object
|
|
961
|
+
* @param {boolean} params.event.readOnly Read only or not
|
|
977
962
|
*/
|
|
978
963
|
(e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
|
|
979
964
|
/**
|
|
@@ -985,48 +970,40 @@ const emit = defineEmits<{
|
|
|
985
970
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
986
971
|
* @param {string} e Event name
|
|
987
972
|
* @param {object} params Event parameters
|
|
988
|
-
* @param {
|
|
989
|
-
* @param {
|
|
990
|
-
* @param {
|
|
991
|
-
* @param {
|
|
992
|
-
* @param {number} params.
|
|
993
|
-
* @param {number} params.
|
|
994
|
-
* @param {number} params.params.event.oldWidth The old width
|
|
995
|
-
* @param {number} params.params.event.oldHeight The old height
|
|
973
|
+
* @param {object} params.event Event object
|
|
974
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
975
|
+
* @param {number} params.event.width The new width
|
|
976
|
+
* @param {number} params.event.height The new height
|
|
977
|
+
* @param {number} params.event.oldWidth The old width
|
|
978
|
+
* @param {number} params.event.oldHeight The old height
|
|
996
979
|
*/
|
|
997
980
|
(e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
|
|
998
981
|
/**
|
|
999
982
|
* An item in the list was selected
|
|
1000
983
|
* @param {string} e Event name
|
|
1001
984
|
* @param {object} params Event parameters
|
|
1002
|
-
* @param {
|
|
1003
|
-
* @param {
|
|
1004
|
-
* @param {
|
|
1005
|
-
* @param {Core.
|
|
1006
|
-
* @param {
|
|
1007
|
-
* @param {Core.data.Model[]} params.params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`
|
|
1008
|
-
* @param {boolean} params.params.event.userAction `true` if the value change is due to user interaction
|
|
985
|
+
* @param {object} params.event Event object
|
|
986
|
+
* @param {Core.widget.Combo} params.event.source The combo
|
|
987
|
+
* @param {Core.data.Model} params.event.record Selected record
|
|
988
|
+
* @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`
|
|
989
|
+
* @param {boolean} params.event.userAction `true` if the value change is due to user interaction
|
|
1009
990
|
*/
|
|
1010
991
|
(e: 'select', params: ((event: { source: Combo, record: Model, records: Model[], userAction: boolean }) => void)|string): void
|
|
1011
992
|
/**
|
|
1012
993
|
* Triggered after a widget is shown.
|
|
1013
994
|
* @param {string} e Event name
|
|
1014
995
|
* @param {object} params Event parameters
|
|
1015
|
-
* @param {
|
|
1016
|
-
* @param {
|
|
1017
|
-
* @param {object} params.params.event Event object
|
|
1018
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
996
|
+
* @param {object} params.event Event object
|
|
997
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
1019
998
|
*/
|
|
1020
999
|
(e: 'show', params: ((event: { source: Widget }) => void)|string): void
|
|
1021
1000
|
/**
|
|
1022
1001
|
* User clicked one of this field's [triggers](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-triggers)
|
|
1023
1002
|
* @param {string} e Event name
|
|
1024
1003
|
* @param {object} params Event parameters
|
|
1025
|
-
* @param {
|
|
1026
|
-
* @param {
|
|
1027
|
-
* @param {
|
|
1028
|
-
* @param {Core.widget.Field,any} params.params.event.source This field
|
|
1029
|
-
* @param {Core.widget.Widget} params.params.event.trigger The trigger activated by click or touch tap.
|
|
1004
|
+
* @param {object} params.event Event object
|
|
1005
|
+
* @param {Core.widget.Field,any} params.event.source This field
|
|
1006
|
+
* @param {Core.widget.Widget} params.event.trigger The trigger activated by click or touch tap.
|
|
1030
1007
|
*/
|
|
1031
1008
|
(e: 'trigger', params: ((event: { source: Field|any, trigger: Widget }) => void)|string): void
|
|
1032
1009
|
}>();
|
|
@@ -1048,6 +1025,7 @@ const widgetData = {
|
|
|
1048
1025
|
'cacheLastResult',
|
|
1049
1026
|
'caseSensitive',
|
|
1050
1027
|
'centered',
|
|
1028
|
+
'checkValidity',
|
|
1051
1029
|
'chipView',
|
|
1052
1030
|
'clearable',
|
|
1053
1031
|
'clearTextOnPickerHide',
|
|
@@ -29,6 +29,8 @@ export declare type BryntumDependencyTypePickerProps = {
|
|
|
29
29
|
/**
|
|
30
30
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
31
31
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element).
|
|
32
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
33
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/DependencyTypePicker#config-appendTo)
|
|
32
34
|
*/
|
|
33
35
|
appendTo ? : HTMLElement|string
|
|
34
36
|
/**
|
|
@@ -91,6 +93,15 @@ export declare type BryntumDependencyTypePickerProps = {
|
|
|
91
93
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
92
94
|
*/
|
|
93
95
|
centered ? : Boolean
|
|
96
|
+
/**
|
|
97
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
98
|
+
* 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)
|
|
99
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-required) check.
|
|
100
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/DependencyTypePicker#config-checkValidity)
|
|
101
|
+
* @param {Core.widget.Field} field The field being validated
|
|
102
|
+
* @returns {void}
|
|
103
|
+
*/
|
|
104
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
94
105
|
/**
|
|
95
106
|
* A config object to configure the [ChipView](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/ChipView) to display the
|
|
96
107
|
* selected value set when [multiSelect](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
|
|
@@ -389,10 +400,14 @@ export declare type BryntumDependencyTypePickerProps = {
|
|
|
389
400
|
inputWidth ? : string|number
|
|
390
401
|
/**
|
|
391
402
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
403
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
404
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/DependencyTypePicker#config-insertBefore)
|
|
392
405
|
*/
|
|
393
406
|
insertBefore ? : HTMLElement|string
|
|
394
407
|
/**
|
|
395
408
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
409
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
410
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/DependencyTypePicker#config-insertFirst)
|
|
396
411
|
*/
|
|
397
412
|
insertFirst ? : HTMLElement|string
|
|
398
413
|
/**
|