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