@bryntum/scheduler-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 +8 -8
- package/lib/chunks/{DVFhf2Ma.js → BTSObfAz.js} +6 -4
- package/lib/chunks/BTSObfAz.js.map +1 -0
- package/lib/chunks/BXIuEgYD.js.map +1 -1
- package/lib/chunks/{DhhzgoYL.js → CCTV8qn0.js} +3 -1
- package/lib/chunks/CCTV8qn0.js.map +1 -0
- package/lib/chunks/{kN-s_8Na.js → COFzBhB8.js} +8 -6
- package/lib/chunks/COFzBhB8.js.map +1 -0
- package/lib/chunks/DB0UHrA3.js.map +1 -1
- package/lib/chunks/{5o-YjSb7.js → DJSlX0qP.js} +3 -1
- package/lib/chunks/DJSlX0qP.js.map +1 -0
- package/lib/chunks/DP61St-u.js.map +1 -1
- package/lib/chunks/{ZkU6CtWX.js → LNqNYJck.js} +9 -7
- package/lib/chunks/LNqNYJck.js.map +1 -0
- package/lib/chunks/R69sJLmF.js.map +1 -1
- package/lib/chunks/{OJaN5ZWK.js → WykRcMCN.js} +6 -4
- package/lib/chunks/WykRcMCN.js.map +1 -0
- package/lib/chunks/eUISgYXE.js.map +1 -1
- package/lib/chunks/t8aiH3XL.js.map +1 -1
- package/lib/components/BryntumEventColorField.js +1 -1
- package/lib/components/BryntumProjectCombo.js +1 -1
- package/lib/components/BryntumResourceCombo.js +1 -1
- package/lib/components/BryntumScheduler.js +1 -1
- package/lib/components/BryntumSchedulerBase.js +1 -1
- package/lib/components/BryntumViewPresetCombo.js +1 -1
- package/lib/index.js +6 -6
- package/package.json +1 -1
- package/src/components/BryntumEventColorField.vue +86 -106
- package/src/components/BryntumEventColorFieldProps.ts +15 -0
- package/src/components/BryntumProjectCombo.vue +88 -110
- package/src/components/BryntumProjectComboProps.ts +16 -1
- package/src/components/BryntumResourceCombo.vue +87 -109
- package/src/components/BryntumResourceComboProps.ts +15 -0
- package/src/components/BryntumResourceFilter.vue +75 -107
- package/src/components/BryntumResourceFilterProps.ts +6 -0
- package/src/components/BryntumScheduler.vue +1432 -1928
- package/src/components/BryntumSchedulerBase.vue +1432 -1928
- package/src/components/BryntumSchedulerBaseProps.ts +12 -1
- package/src/components/BryntumSchedulerDatePicker.vue +91 -135
- package/src/components/BryntumSchedulerDatePickerProps.ts +6 -0
- package/src/components/BryntumSchedulerProjectModel.vue +11 -15
- package/src/components/BryntumSchedulerProps.ts +12 -1
- package/src/components/BryntumTimeZoomSlider.vue +56 -80
- package/src/components/BryntumTimeZoomSliderProps.ts +6 -0
- package/src/components/BryntumTimelineHistogram.vue +728 -1030
- package/src/components/BryntumTimelineHistogramProps.ts +6 -0
- package/src/components/BryntumUndoRedo.vue +56 -80
- package/src/components/BryntumUndoRedoProps.ts +7 -1
- package/src/components/BryntumViewPresetCombo.vue +83 -103
- package/src/components/BryntumViewPresetComboProps.ts +15 -0
- package/lib/chunks/5o-YjSb7.js.map +0 -1
- package/lib/chunks/DVFhf2Ma.js.map +0 -1
- package/lib/chunks/DhhzgoYL.js.map +0 -1
- package/lib/chunks/OJaN5ZWK.js.map +0 -1
- package/lib/chunks/ZkU6CtWX.js.map +0 -1
- package/lib/chunks/kN-s_8Na.js.map +0 -1
|
@@ -37,6 +37,8 @@ defineProps<{
|
|
|
37
37
|
/**
|
|
38
38
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
39
39
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-element).
|
|
40
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
41
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-appendTo)
|
|
40
42
|
*/
|
|
41
43
|
appendTo ? : HTMLElement|string
|
|
42
44
|
/**
|
|
@@ -82,6 +84,15 @@ defineProps<{
|
|
|
82
84
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
83
85
|
*/
|
|
84
86
|
centered ? : Boolean
|
|
87
|
+
/**
|
|
88
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
89
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#property-isValid)
|
|
90
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#config-required) check.
|
|
91
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-checkValidity)
|
|
92
|
+
* @param {Core.widget.Field} field The field being validated
|
|
93
|
+
* @returns {void}
|
|
94
|
+
*/
|
|
95
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
85
96
|
/**
|
|
86
97
|
* Specify `false` to not clear value typed to a multiselect combo when an item is selected.
|
|
87
98
|
*/
|
|
@@ -261,10 +272,14 @@ defineProps<{
|
|
|
261
272
|
inputWidth ? : string|number
|
|
262
273
|
/**
|
|
263
274
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
275
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
276
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-insertBefore)
|
|
264
277
|
*/
|
|
265
278
|
insertBefore ? : HTMLElement|string
|
|
266
279
|
/**
|
|
267
280
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
281
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
282
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-insertFirst)
|
|
268
283
|
*/
|
|
269
284
|
insertFirst ? : HTMLElement|string
|
|
270
285
|
/**
|
|
@@ -550,44 +565,36 @@ const emit = defineEmits<{
|
|
|
550
565
|
* The default action was performed (an item in the list was selected)
|
|
551
566
|
* @param {string} e Event name
|
|
552
567
|
* @param {object} params Event parameters
|
|
553
|
-
* @param {
|
|
554
|
-
* @param {
|
|
555
|
-
* @param {
|
|
556
|
-
* @param {Core.
|
|
557
|
-
* @param {
|
|
558
|
-
* @param {
|
|
559
|
-
* @param {Core.data.Model[]} params.params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-multiSelect) is `true`
|
|
560
|
-
* @param {boolean} params.params.event.userAction `true` if the value change is due to user interaction
|
|
568
|
+
* @param {object} params.event Event object
|
|
569
|
+
* @param {Core.widget.Combo} params.event.source The combo
|
|
570
|
+
* @param {any} params.event.value The [value](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-valueField) of the selected record
|
|
571
|
+
* @param {Core.data.Model} params.event.record Selected record
|
|
572
|
+
* @param {Core.data.Model[]} params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-multiSelect) is `true`
|
|
573
|
+
* @param {boolean} params.event.userAction `true` if the value change is due to user interaction
|
|
561
574
|
*/
|
|
562
575
|
(e: 'action', params: ((event: { source: Combo, value: any, record: Model, records: Model[], userAction: boolean }) => void)|string): void
|
|
563
576
|
/**
|
|
564
577
|
* Fires before an object is destroyed.
|
|
565
578
|
* @param {string} e Event name
|
|
566
579
|
* @param {object} params Event parameters
|
|
567
|
-
* @param {
|
|
568
|
-
* @param {
|
|
569
|
-
* @param {object} params.params.event Event object
|
|
570
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
580
|
+
* @param {object} params.event Event object
|
|
581
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
571
582
|
*/
|
|
572
583
|
(e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
|
|
573
584
|
/**
|
|
574
585
|
* Triggered before a widget is hidden. Return `false` to prevent the action.
|
|
575
586
|
* @param {string} e Event name
|
|
576
587
|
* @param {object} params Event parameters
|
|
577
|
-
* @param {
|
|
578
|
-
* @param {
|
|
579
|
-
* @param {object} params.params.event Event object
|
|
580
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being hidden.
|
|
588
|
+
* @param {object} params.event Event object
|
|
589
|
+
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
581
590
|
*/
|
|
582
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
591
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
583
592
|
/**
|
|
584
593
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
585
594
|
* @param {string} e Event name
|
|
586
595
|
* @param {object} params Event parameters
|
|
587
|
-
* @param {
|
|
588
|
-
* @param {
|
|
589
|
-
* @param {object} params.params.event Event object
|
|
590
|
-
* @param {Core.widget.Widget,any} params.params.event.source The widget being shown
|
|
596
|
+
* @param {object} params.event Event object
|
|
597
|
+
* @param {Core.widget.Widget,any} params.event.source The widget being shown
|
|
591
598
|
*/
|
|
592
599
|
(e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
593
600
|
/**
|
|
@@ -595,27 +602,23 @@ const emit = defineEmits<{
|
|
|
595
602
|
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#event-catchAll)
|
|
596
603
|
* @param {string} e Event name
|
|
597
604
|
* @param {object} params Event parameters
|
|
598
|
-
* @param {
|
|
599
|
-
* @param {
|
|
600
|
-
* @param {
|
|
601
|
-
* @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details
|
|
602
|
-
* @param {string} params.params.event.event.type The type of the event which is caught by the listener
|
|
605
|
+
* @param {object} params.event Event object
|
|
606
|
+
* @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details
|
|
607
|
+
* @param {string} params.event.event.type The type of the event which is caught by the listener
|
|
603
608
|
*/
|
|
604
609
|
(e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
|
|
605
610
|
/**
|
|
606
611
|
* Fired when this field's value changes.
|
|
607
612
|
* @param {string} e Event name
|
|
608
613
|
* @param {object} params Event parameters
|
|
609
|
-
* @param {
|
|
610
|
-
* @param {
|
|
611
|
-
* @param {
|
|
612
|
-
* @param {
|
|
613
|
-
* @param {
|
|
614
|
-
* @param {
|
|
615
|
-
* @param {boolean} params.
|
|
616
|
-
* @param {
|
|
617
|
-
* @param {boolean} params.params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
618
|
-
* @param {boolean} params.params.event.checked
|
|
614
|
+
* @param {object} params.event Event object
|
|
615
|
+
* @param {Core.widget.Field,any} params.event.source This Field
|
|
616
|
+
* @param {string,number,boolean,any} params.event.value This field's value
|
|
617
|
+
* @param {string,number,boolean,any} params.event.oldValue This field's previous value
|
|
618
|
+
* @param {boolean} params.event.valid True if this field is in a valid state
|
|
619
|
+
* @param {Event} params.event.event The triggering DOM event if any
|
|
620
|
+
* @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
621
|
+
* @param {boolean} params.event.checked
|
|
619
622
|
*/
|
|
620
623
|
(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
|
|
621
624
|
/**
|
|
@@ -623,45 +626,37 @@ const emit = defineEmits<{
|
|
|
623
626
|
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#event-clear)
|
|
624
627
|
* @param {string} e Event name
|
|
625
628
|
* @param {object} params Event parameters
|
|
626
|
-
* @param {
|
|
627
|
-
* @param {
|
|
628
|
-
* @param {object} params.params.event Event object
|
|
629
|
-
* @param {Core.widget.Field,any} params.params.event.source This Field
|
|
629
|
+
* @param {object} params.event Event object
|
|
630
|
+
* @param {Core.widget.Field,any} params.event.source This Field
|
|
630
631
|
*/
|
|
631
632
|
(e: 'clear', params: ((event: { source: Field|any }) => void)|string): void
|
|
632
633
|
/**
|
|
633
634
|
* Fires when an object is destroyed.
|
|
634
635
|
* @param {string} e Event name
|
|
635
636
|
* @param {object} params Event parameters
|
|
636
|
-
* @param {
|
|
637
|
-
* @param {
|
|
638
|
-
* @param {object} params.params.event Event object
|
|
639
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
637
|
+
* @param {object} params.event Event object
|
|
638
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
640
639
|
*/
|
|
641
640
|
(e: 'destroy', params: ((event: { source: Base }) => void)|string): void
|
|
642
641
|
/**
|
|
643
642
|
* Triggered when a widget's [element](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-element) is available.
|
|
644
643
|
* @param {string} e Event name
|
|
645
644
|
* @param {object} params Event parameters
|
|
646
|
-
* @param {
|
|
647
|
-
* @param {
|
|
648
|
-
* @param {object} params.params.event Event object
|
|
649
|
-
* @param {HTMLElement} params.params.event.element The Widget's element.
|
|
645
|
+
* @param {object} params.event Event object
|
|
646
|
+
* @param {HTMLElement} params.event.element The Widget's element.
|
|
650
647
|
*/
|
|
651
648
|
(e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
|
|
652
649
|
/**
|
|
653
650
|
* Fired when focus enters this Widget.
|
|
654
651
|
* @param {string} e Event name
|
|
655
652
|
* @param {object} params Event parameters
|
|
656
|
-
* @param {
|
|
657
|
-
* @param {
|
|
658
|
-
* @param {
|
|
659
|
-
* @param {
|
|
660
|
-
* @param {
|
|
661
|
-
* @param {
|
|
662
|
-
* @param {
|
|
663
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
664
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
653
|
+
* @param {object} params.event Event object
|
|
654
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
655
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
656
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
657
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
658
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
659
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
665
660
|
*/
|
|
666
661
|
(e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
667
662
|
/**
|
|
@@ -670,25 +665,21 @@ const emit = defineEmits<{
|
|
|
670
665
|
* will not trigger this event. This is when focus exits this widget completely.
|
|
671
666
|
* @param {string} e Event name
|
|
672
667
|
* @param {object} params Event parameters
|
|
673
|
-
* @param {
|
|
674
|
-
* @param {
|
|
675
|
-
* @param {
|
|
676
|
-
* @param {
|
|
677
|
-
* @param {
|
|
678
|
-
* @param {
|
|
679
|
-
* @param {
|
|
680
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
681
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
668
|
+
* @param {object} params.event Event object
|
|
669
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
670
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
671
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
672
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
673
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
674
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
682
675
|
*/
|
|
683
676
|
(e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
684
677
|
/**
|
|
685
678
|
* Triggered after a widget was hidden
|
|
686
679
|
* @param {string} e Event name
|
|
687
680
|
* @param {object} params Event parameters
|
|
688
|
-
* @param {
|
|
689
|
-
* @param {
|
|
690
|
-
* @param {object} params.params.event Event object
|
|
691
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
681
|
+
* @param {object} params.event Event object
|
|
682
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
692
683
|
*/
|
|
693
684
|
(e: 'hide', params: ((event: { source: Widget }) => void)|string): void
|
|
694
685
|
/**
|
|
@@ -697,21 +688,17 @@ const emit = defineEmits<{
|
|
|
697
688
|
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#event-paint)
|
|
698
689
|
* @param {string} e Event name
|
|
699
690
|
* @param {object} params Event parameters
|
|
700
|
-
* @param {
|
|
701
|
-
* @param {
|
|
702
|
-
* @param {
|
|
703
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being painted.
|
|
704
|
-
* @param {boolean} params.params.event.firstPaint `true` if this is the first paint.
|
|
691
|
+
* @param {object} params.event Event object
|
|
692
|
+
* @param {Core.widget.Widget} params.event.source The widget being painted.
|
|
693
|
+
* @param {boolean} params.event.firstPaint `true` if this is the first paint.
|
|
705
694
|
*/
|
|
706
695
|
(e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
|
|
707
696
|
/**
|
|
708
697
|
* Fired when a Widget's read only state is toggled
|
|
709
698
|
* @param {string} e Event name
|
|
710
699
|
* @param {object} params Event parameters
|
|
711
|
-
* @param {
|
|
712
|
-
* @param {
|
|
713
|
-
* @param {object} params.params.event Event object
|
|
714
|
-
* @param {boolean} params.params.event.readOnly Read only or not
|
|
700
|
+
* @param {object} params.event Event object
|
|
701
|
+
* @param {boolean} params.event.readOnly Read only or not
|
|
715
702
|
*/
|
|
716
703
|
(e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
|
|
717
704
|
/**
|
|
@@ -723,48 +710,40 @@ const emit = defineEmits<{
|
|
|
723
710
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
724
711
|
* @param {string} e Event name
|
|
725
712
|
* @param {object} params Event parameters
|
|
726
|
-
* @param {
|
|
727
|
-
* @param {
|
|
728
|
-
* @param {
|
|
729
|
-
* @param {
|
|
730
|
-
* @param {number} params.
|
|
731
|
-
* @param {number} params.
|
|
732
|
-
* @param {number} params.params.event.oldWidth The old width
|
|
733
|
-
* @param {number} params.params.event.oldHeight The old height
|
|
713
|
+
* @param {object} params.event Event object
|
|
714
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
715
|
+
* @param {number} params.event.width The new width
|
|
716
|
+
* @param {number} params.event.height The new height
|
|
717
|
+
* @param {number} params.event.oldWidth The old width
|
|
718
|
+
* @param {number} params.event.oldHeight The old height
|
|
734
719
|
*/
|
|
735
720
|
(e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
|
|
736
721
|
/**
|
|
737
722
|
* An item in the list was selected
|
|
738
723
|
* @param {string} e Event name
|
|
739
724
|
* @param {object} params Event parameters
|
|
740
|
-
* @param {
|
|
741
|
-
* @param {
|
|
742
|
-
* @param {
|
|
743
|
-
* @param {Core.
|
|
744
|
-
* @param {
|
|
745
|
-
* @param {Core.data.Model[]} params.params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-multiSelect) is `true`
|
|
746
|
-
* @param {boolean} params.params.event.userAction `true` if the value change is due to user interaction
|
|
725
|
+
* @param {object} params.event Event object
|
|
726
|
+
* @param {Core.widget.Combo} params.event.source The combo
|
|
727
|
+
* @param {Core.data.Model} params.event.record Selected record
|
|
728
|
+
* @param {Core.data.Model[]} params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-multiSelect) is `true`
|
|
729
|
+
* @param {boolean} params.event.userAction `true` if the value change is due to user interaction
|
|
747
730
|
*/
|
|
748
731
|
(e: 'select', params: ((event: { source: Combo, record: Model, records: Model[], userAction: boolean }) => void)|string): void
|
|
749
732
|
/**
|
|
750
733
|
* Triggered after a widget is shown.
|
|
751
734
|
* @param {string} e Event name
|
|
752
735
|
* @param {object} params Event parameters
|
|
753
|
-
* @param {
|
|
754
|
-
* @param {
|
|
755
|
-
* @param {object} params.params.event Event object
|
|
756
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
736
|
+
* @param {object} params.event Event object
|
|
737
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
757
738
|
*/
|
|
758
739
|
(e: 'show', params: ((event: { source: Widget }) => void)|string): void
|
|
759
740
|
/**
|
|
760
741
|
* User clicked one of this field's [triggers](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#property-triggers)
|
|
761
742
|
* @param {string} e Event name
|
|
762
743
|
* @param {object} params Event parameters
|
|
763
|
-
* @param {
|
|
764
|
-
* @param {
|
|
765
|
-
* @param {
|
|
766
|
-
* @param {Core.widget.Field,any} params.params.event.source This field
|
|
767
|
-
* @param {Core.widget.Widget} params.params.event.trigger The trigger activated by click or touch tap.
|
|
744
|
+
* @param {object} params.event Event object
|
|
745
|
+
* @param {Core.widget.Field,any} params.event.source This field
|
|
746
|
+
* @param {Core.widget.Widget} params.event.trigger The trigger activated by click or touch tap.
|
|
768
747
|
*/
|
|
769
748
|
(e: 'trigger', params: ((event: { source: Field|any, trigger: Widget }) => void)|string): void
|
|
770
749
|
}>();
|
|
@@ -781,6 +760,7 @@ const widgetData = {
|
|
|
781
760
|
'bubbleEvents',
|
|
782
761
|
'cacheLastResult',
|
|
783
762
|
'centered',
|
|
763
|
+
'checkValidity',
|
|
784
764
|
'clearTextOnSelection',
|
|
785
765
|
'clearWhenInputEmpty',
|
|
786
766
|
'client',
|
|
@@ -22,6 +22,8 @@ export declare type BryntumViewPresetComboProps = {
|
|
|
22
22
|
/**
|
|
23
23
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
24
24
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-element).
|
|
25
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
26
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-appendTo)
|
|
25
27
|
*/
|
|
26
28
|
appendTo ? : HTMLElement|string
|
|
27
29
|
/**
|
|
@@ -67,6 +69,15 @@ export declare type BryntumViewPresetComboProps = {
|
|
|
67
69
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
68
70
|
*/
|
|
69
71
|
centered ? : Boolean
|
|
72
|
+
/**
|
|
73
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
74
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#property-isValid)
|
|
75
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#config-required) check.
|
|
76
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-checkValidity)
|
|
77
|
+
* @param {Core.widget.Field} field The field being validated
|
|
78
|
+
* @returns {void}
|
|
79
|
+
*/
|
|
80
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
70
81
|
/**
|
|
71
82
|
* Specify `false` to not clear value typed to a multiselect combo when an item is selected.
|
|
72
83
|
*/
|
|
@@ -246,10 +257,14 @@ export declare type BryntumViewPresetComboProps = {
|
|
|
246
257
|
inputWidth ? : string|number
|
|
247
258
|
/**
|
|
248
259
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
260
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
261
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-insertBefore)
|
|
249
262
|
*/
|
|
250
263
|
insertBefore ? : HTMLElement|string
|
|
251
264
|
/**
|
|
252
265
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
266
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
267
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-insertFirst)
|
|
253
268
|
*/
|
|
254
269
|
insertFirst ? : HTMLElement|string
|
|
255
270
|
/**
|