@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
|
@@ -43,6 +43,8 @@ defineProps<{
|
|
|
43
43
|
/**
|
|
44
44
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
45
45
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element).
|
|
46
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
47
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-appendTo)
|
|
46
48
|
*/
|
|
47
49
|
appendTo ? : HTMLElement|string
|
|
48
50
|
/**
|
|
@@ -334,10 +336,14 @@ defineProps<{
|
|
|
334
336
|
inputFieldAlign ? : 'start'|'end'
|
|
335
337
|
/**
|
|
336
338
|
* 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.
|
|
339
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
340
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-insertBefore)
|
|
337
341
|
*/
|
|
338
342
|
insertBefore ? : HTMLElement|string
|
|
339
343
|
/**
|
|
340
344
|
* 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.
|
|
345
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
346
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-insertFirst)
|
|
341
347
|
*/
|
|
342
348
|
insertFirst ? : HTMLElement|string
|
|
343
349
|
/**
|
|
@@ -721,150 +727,122 @@ const emit = defineEmits<{
|
|
|
721
727
|
* May be vetoed by returning `false` from a handler.
|
|
722
728
|
* @param {string} e Event name
|
|
723
729
|
* @param {object} params Event parameters
|
|
724
|
-
* @param {
|
|
725
|
-
* @param {
|
|
726
|
-
* @param {object} params.params.event Event object
|
|
727
|
-
* @param {Core.widget.Popup} params.params.event.source This Popup
|
|
730
|
+
* @param {object} params.event Event object
|
|
731
|
+
* @param {Core.widget.Popup} params.event.source This Popup
|
|
728
732
|
*/
|
|
729
733
|
(e: 'beforeClose', params: ((event: { source: Popup }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
730
734
|
/**
|
|
731
735
|
* Fires before an object is destroyed.
|
|
732
736
|
* @param {string} e Event name
|
|
733
737
|
* @param {object} params Event parameters
|
|
734
|
-
* @param {
|
|
735
|
-
* @param {
|
|
736
|
-
* @param {object} params.params.event Event object
|
|
737
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
738
|
+
* @param {object} params.event Event object
|
|
739
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
738
740
|
*/
|
|
739
741
|
(e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
|
|
740
742
|
/**
|
|
741
743
|
* Triggered before a widget is hidden. Return `false` to prevent the action.
|
|
742
744
|
* @param {string} e Event name
|
|
743
745
|
* @param {object} params Event parameters
|
|
744
|
-
* @param {
|
|
745
|
-
* @param {
|
|
746
|
-
* @param {object} params.params.event Event object
|
|
747
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being hidden.
|
|
746
|
+
* @param {object} params.event Event object
|
|
747
|
+
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
748
748
|
*/
|
|
749
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
749
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
750
750
|
/**
|
|
751
751
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
752
752
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
753
753
|
* @param {string} e Event name
|
|
754
754
|
* @param {object} params Event parameters
|
|
755
|
-
* @param {
|
|
756
|
-
* @param {
|
|
757
|
-
* @param {
|
|
758
|
-
* @param {Core.widget.Container} params.params.event.source The container
|
|
759
|
-
* @param {Core.data.Model} params.params.event.record The record
|
|
755
|
+
* @param {object} params.event Event object
|
|
756
|
+
* @param {Core.widget.Container} params.event.source The container
|
|
757
|
+
* @param {Core.data.Model} params.event.record The record
|
|
760
758
|
*/
|
|
761
759
|
(e: 'beforeSetRecord', params: ((event: { source: Container, record: Model }) => void)|string): void
|
|
762
760
|
/**
|
|
763
761
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
764
762
|
* @param {string} e Event name
|
|
765
763
|
* @param {object} params Event parameters
|
|
766
|
-
* @param {
|
|
767
|
-
* @param {
|
|
768
|
-
* @param {object} params.params.event Event object
|
|
769
|
-
* @param {Core.widget.Widget,any} params.params.event.source The widget being shown
|
|
764
|
+
* @param {object} params.event Event object
|
|
765
|
+
* @param {Core.widget.Widget,any} params.event.source The widget being shown
|
|
770
766
|
*/
|
|
771
767
|
(e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
772
768
|
/**
|
|
773
769
|
* Fired before state is applied to the source. Allows editing the state object or preventing the operation.
|
|
774
770
|
* @param {string} e Event name
|
|
775
771
|
* @param {object} params Event parameters
|
|
776
|
-
* @param {
|
|
777
|
-
* @param {
|
|
778
|
-
* @param {object} params.params.event Event object
|
|
779
|
-
* @param {any} params.params.event.state State object config
|
|
772
|
+
* @param {object} params.event Event object
|
|
773
|
+
* @param {any} params.event.state State object config
|
|
780
774
|
*/
|
|
781
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
775
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
782
776
|
/**
|
|
783
777
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
784
778
|
* @param {string} e Event name
|
|
785
779
|
* @param {object} params Event parameters
|
|
786
|
-
* @param {
|
|
787
|
-
* @param {
|
|
788
|
-
* @param {object} params.params.event Event object
|
|
789
|
-
* @param {any} params.params.event.state State object config
|
|
780
|
+
* @param {object} params.event Event object
|
|
781
|
+
* @param {any} params.event.state State object config
|
|
790
782
|
*/
|
|
791
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
783
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
792
784
|
/**
|
|
793
785
|
* Fires when any other event is fired from the object.
|
|
794
786
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#event-catchAll)
|
|
795
787
|
* @param {string} e Event name
|
|
796
788
|
* @param {object} params Event parameters
|
|
797
|
-
* @param {
|
|
798
|
-
* @param {
|
|
799
|
-
* @param {
|
|
800
|
-
* @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details
|
|
801
|
-
* @param {string} params.params.event.event.type The type of the event which is caught by the listener
|
|
789
|
+
* @param {object} params.event Event object
|
|
790
|
+
* @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details
|
|
791
|
+
* @param {string} params.event.event.type The type of the event which is caught by the listener
|
|
802
792
|
*/
|
|
803
793
|
(e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
|
|
804
794
|
/**
|
|
805
795
|
* Fires when a Panel is collapsed using the [collapsible](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-collapsible) setting.
|
|
806
796
|
* @param {string} e Event name
|
|
807
797
|
* @param {object} params Event parameters
|
|
808
|
-
* @param {
|
|
809
|
-
* @param {
|
|
810
|
-
* @param {object} params.params.event Event object
|
|
811
|
-
* @param {Core.widget.Panel} params.params.event.source This Panel.
|
|
798
|
+
* @param {object} params.event Event object
|
|
799
|
+
* @param {Core.widget.Panel} params.event.source This Panel.
|
|
812
800
|
*/
|
|
813
801
|
(e: 'collapse', params: ((event: { source: Panel }) => void)|string): void
|
|
814
802
|
/**
|
|
815
803
|
* Fires when an object is destroyed.
|
|
816
804
|
* @param {string} e Event name
|
|
817
805
|
* @param {object} params Event parameters
|
|
818
|
-
* @param {
|
|
819
|
-
* @param {
|
|
820
|
-
* @param {object} params.params.event Event object
|
|
821
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
806
|
+
* @param {object} params.event Event object
|
|
807
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
822
808
|
*/
|
|
823
809
|
(e: 'destroy', params: ((event: { source: Base }) => void)|string): void
|
|
824
810
|
/**
|
|
825
811
|
* Fires when a field is mutated and the state of the [hasChanges](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-hasChanges) property changes
|
|
826
812
|
* @param {string} e Event name
|
|
827
813
|
* @param {object} params Event parameters
|
|
828
|
-
* @param {
|
|
829
|
-
* @param {
|
|
830
|
-
* @param {
|
|
831
|
-
* @param {Core.widget.Container} params.params.event.source The container.
|
|
832
|
-
* @param {boolean} params.params.event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.
|
|
814
|
+
* @param {object} params.event Event object
|
|
815
|
+
* @param {Core.widget.Container} params.event.source The container.
|
|
816
|
+
* @param {boolean} params.event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.
|
|
833
817
|
*/
|
|
834
818
|
(e: 'dirtyStateChange', params: ((event: { source: Container, dirty: boolean }) => void)|string): void
|
|
835
819
|
/**
|
|
836
820
|
* Triggered when a widget's [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element) is available.
|
|
837
821
|
* @param {string} e Event name
|
|
838
822
|
* @param {object} params Event parameters
|
|
839
|
-
* @param {
|
|
840
|
-
* @param {
|
|
841
|
-
* @param {object} params.params.event Event object
|
|
842
|
-
* @param {HTMLElement} params.params.event.element The Widget's element.
|
|
823
|
+
* @param {object} params.event Event object
|
|
824
|
+
* @param {HTMLElement} params.event.element The Widget's element.
|
|
843
825
|
*/
|
|
844
826
|
(e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
|
|
845
827
|
/**
|
|
846
828
|
* Fires when a Panel is expanded using the [collapsible](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-collapsible) setting.
|
|
847
829
|
* @param {string} e Event name
|
|
848
830
|
* @param {object} params Event parameters
|
|
849
|
-
* @param {
|
|
850
|
-
* @param {
|
|
851
|
-
* @param {object} params.params.event Event object
|
|
852
|
-
* @param {Core.widget.Panel} params.params.event.source This Panel.
|
|
831
|
+
* @param {object} params.event Event object
|
|
832
|
+
* @param {Core.widget.Panel} params.event.source This Panel.
|
|
853
833
|
*/
|
|
854
834
|
(e: 'expand', params: ((event: { source: Panel }) => void)|string): void
|
|
855
835
|
/**
|
|
856
836
|
* Fired when focus enters this Widget.
|
|
857
837
|
* @param {string} e Event name
|
|
858
838
|
* @param {object} params Event parameters
|
|
859
|
-
* @param {
|
|
860
|
-
* @param {
|
|
861
|
-
* @param {
|
|
862
|
-
* @param {
|
|
863
|
-
* @param {
|
|
864
|
-
* @param {
|
|
865
|
-
* @param {
|
|
866
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
867
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
839
|
+
* @param {object} params.event Event object
|
|
840
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
841
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
842
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
843
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
844
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
845
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
868
846
|
*/
|
|
869
847
|
(e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
870
848
|
/**
|
|
@@ -873,25 +851,21 @@ const emit = defineEmits<{
|
|
|
873
851
|
* will not trigger this event. This is when focus exits this widget completely.
|
|
874
852
|
* @param {string} e Event name
|
|
875
853
|
* @param {object} params Event parameters
|
|
876
|
-
* @param {
|
|
877
|
-
* @param {
|
|
878
|
-
* @param {
|
|
879
|
-
* @param {
|
|
880
|
-
* @param {
|
|
881
|
-
* @param {
|
|
882
|
-
* @param {
|
|
883
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
884
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
854
|
+
* @param {object} params.event Event object
|
|
855
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
856
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
857
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
858
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
859
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
860
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
885
861
|
*/
|
|
886
862
|
(e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
887
863
|
/**
|
|
888
864
|
* Triggered after a widget was hidden
|
|
889
865
|
* @param {string} e Event name
|
|
890
866
|
* @param {object} params Event parameters
|
|
891
|
-
* @param {
|
|
892
|
-
* @param {
|
|
893
|
-
* @param {object} params.params.event Event object
|
|
894
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
867
|
+
* @param {object} params.event Event object
|
|
868
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
895
869
|
*/
|
|
896
870
|
(e: 'hide', params: ((event: { source: Widget }) => void)|string): void
|
|
897
871
|
/**
|
|
@@ -900,21 +874,17 @@ const emit = defineEmits<{
|
|
|
900
874
|
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#event-paint)
|
|
901
875
|
* @param {string} e Event name
|
|
902
876
|
* @param {object} params Event parameters
|
|
903
|
-
* @param {
|
|
904
|
-
* @param {
|
|
905
|
-
* @param {
|
|
906
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being painted.
|
|
907
|
-
* @param {boolean} params.params.event.firstPaint `true` if this is the first paint.
|
|
877
|
+
* @param {object} params.event Event object
|
|
878
|
+
* @param {Core.widget.Widget} params.event.source The widget being painted.
|
|
879
|
+
* @param {boolean} params.event.firstPaint `true` if this is the first paint.
|
|
908
880
|
*/
|
|
909
881
|
(e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
|
|
910
882
|
/**
|
|
911
883
|
* Fired when a Widget's read only state is toggled
|
|
912
884
|
* @param {string} e Event name
|
|
913
885
|
* @param {object} params Event parameters
|
|
914
|
-
* @param {
|
|
915
|
-
* @param {
|
|
916
|
-
* @param {object} params.params.event Event object
|
|
917
|
-
* @param {boolean} params.params.event.readOnly Read only or not
|
|
886
|
+
* @param {object} params.event Event object
|
|
887
|
+
* @param {boolean} params.event.readOnly Read only or not
|
|
918
888
|
*/
|
|
919
889
|
(e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
|
|
920
890
|
/**
|
|
@@ -926,35 +896,29 @@ const emit = defineEmits<{
|
|
|
926
896
|
* 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`*.
|
|
927
897
|
* @param {string} e Event name
|
|
928
898
|
* @param {object} params Event parameters
|
|
929
|
-
* @param {
|
|
930
|
-
* @param {
|
|
931
|
-
* @param {
|
|
932
|
-
* @param {
|
|
933
|
-
* @param {number} params.
|
|
934
|
-
* @param {number} params.
|
|
935
|
-
* @param {number} params.params.event.oldWidth The old width
|
|
936
|
-
* @param {number} params.params.event.oldHeight The old height
|
|
899
|
+
* @param {object} params.event Event object
|
|
900
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
901
|
+
* @param {number} params.event.width The new width
|
|
902
|
+
* @param {number} params.event.height The new height
|
|
903
|
+
* @param {number} params.event.oldWidth The old width
|
|
904
|
+
* @param {number} params.event.oldHeight The old height
|
|
937
905
|
*/
|
|
938
906
|
(e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
|
|
939
907
|
/**
|
|
940
908
|
* Triggered after a widget is shown.
|
|
941
909
|
* @param {string} e Event name
|
|
942
910
|
* @param {object} params Event parameters
|
|
943
|
-
* @param {
|
|
944
|
-
* @param {
|
|
945
|
-
* @param {object} params.params.event Event object
|
|
946
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
911
|
+
* @param {object} params.event Event object
|
|
912
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
947
913
|
*/
|
|
948
914
|
(e: 'show', params: ((event: { source: Widget }) => void)|string): void
|
|
949
915
|
/**
|
|
950
916
|
* A header [tool](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-tools) has been clicked.
|
|
951
917
|
* @param {string} e Event name
|
|
952
918
|
* @param {object} params Event parameters
|
|
953
|
-
* @param {
|
|
954
|
-
* @param {
|
|
955
|
-
* @param {
|
|
956
|
-
* @param {Core.widget.Tool} params.params.event.source This Panel.
|
|
957
|
-
* @param {Core.widget.Tool} params.params.event.tool The tool which is being clicked.
|
|
919
|
+
* @param {object} params.event Event object
|
|
920
|
+
* @param {Core.widget.Tool} params.event.source This Panel.
|
|
921
|
+
* @param {Core.widget.Tool} params.event.tool The tool which is being clicked.
|
|
958
922
|
*/
|
|
959
923
|
(e: 'toolClick', params: ((event: { source: Tool, tool: Tool }) => void)|string): void
|
|
960
924
|
}>();
|
|
@@ -28,6 +28,8 @@ export declare type BryntumResourceEditorProps = {
|
|
|
28
28
|
/**
|
|
29
29
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
30
30
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element).
|
|
31
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
32
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-appendTo)
|
|
31
33
|
*/
|
|
32
34
|
appendTo ? : HTMLElement|string
|
|
33
35
|
/**
|
|
@@ -319,10 +321,14 @@ export declare type BryntumResourceEditorProps = {
|
|
|
319
321
|
inputFieldAlign ? : 'start'|'end'
|
|
320
322
|
/**
|
|
321
323
|
* 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.
|
|
324
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
325
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-insertBefore)
|
|
322
326
|
*/
|
|
323
327
|
insertBefore ? : HTMLElement|string
|
|
324
328
|
/**
|
|
325
329
|
* 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.
|
|
330
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
331
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-insertFirst)
|
|
326
332
|
*/
|
|
327
333
|
insertFirst ? : HTMLElement|string
|
|
328
334
|
/**
|