@bryntum/grid-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 +4 -4
- package/lib/chunks/Bc2x_WPR.js.map +1 -1
- package/lib/chunks/Be7ZZzGW.js.map +1 -1
- package/lib/chunks/BpNo5v3W.js.map +1 -1
- package/lib/chunks/{BeyOFZne.js → C87PnYXS.js} +11 -9
- package/lib/chunks/C87PnYXS.js.map +1 -0
- package/lib/chunks/{Ba35uKyP.js → C9RmZYoQ.js} +7 -5
- package/lib/chunks/C9RmZYoQ.js.map +1 -0
- package/lib/chunks/CAlh-Y8B.js.map +1 -1
- package/lib/chunks/CWYhi4DG.js.map +1 -1
- package/lib/chunks/CcfDAcJD.js.map +1 -1
- package/lib/chunks/{BGeNcVH6.js → DZ2V6NNc.js} +12 -10
- package/lib/chunks/DZ2V6NNc.js.map +1 -0
- package/lib/chunks/w2GDktIt.js.map +1 -1
- package/lib/components/BryntumAIFilterField.js +1 -1
- package/lib/components/BryntumChecklistFilterCombo.js +1 -1
- package/lib/components/BryntumTreeCombo.js +1 -1
- package/lib/index.js +3 -3
- package/package.json +1 -1
- package/src/components/BryntumAIFilterField.vue +86 -106
- package/src/components/BryntumAIFilterFieldProps.ts +15 -0
- package/src/components/BryntumChecklistFilterCombo.vue +87 -109
- package/src/components/BryntumChecklistFilterComboProps.ts +15 -0
- package/src/components/BryntumGrid.vue +529 -755
- package/src/components/BryntumGridBase.vue +529 -755
- package/src/components/BryntumGridBaseProps.ts +6 -0
- package/src/components/BryntumGridChartDesigner.vue +49 -69
- package/src/components/BryntumGridChartDesignerProps.ts +6 -0
- package/src/components/BryntumGridFieldFilterPicker.vue +59 -85
- package/src/components/BryntumGridFieldFilterPickerGroup.vue +63 -91
- package/src/components/BryntumGridFieldFilterPickerGroupProps.ts +6 -0
- package/src/components/BryntumGridFieldFilterPickerProps.ts +6 -0
- package/src/components/BryntumGridProps.ts +6 -0
- package/src/components/BryntumGroupBar.vue +74 -102
- package/src/components/BryntumGroupBarProps.ts +9 -1
- package/src/components/BryntumTreeCombo.vue +87 -109
- package/src/components/BryntumTreeComboProps.ts +15 -0
- package/src/components/BryntumTreeGrid.vue +529 -755
- package/src/components/BryntumTreeGridProps.ts +6 -0
- package/lib/chunks/BGeNcVH6.js.map +0 -1
- package/lib/chunks/Ba35uKyP.js.map +0 -1
- package/lib/chunks/BeyOFZne.js.map +0 -1
package/lib/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as o } from "./chunks/
|
|
2
|
-
import { _ as m } from "./chunks/
|
|
1
|
+
import { _ as o } from "./chunks/DZ2V6NNc.js";
|
|
2
|
+
import { _ as m } from "./chunks/C9RmZYoQ.js";
|
|
3
3
|
import { _ as a } from "./chunks/Be7ZZzGW.js";
|
|
4
4
|
import { _ as p } from "./chunks/Bc2x_WPR.js";
|
|
5
5
|
import { _ as B } from "./chunks/CAlh-Y8B.js";
|
|
6
6
|
import { _ as f } from "./chunks/BpNo5v3W.js";
|
|
7
7
|
import { _ as y } from "./chunks/CWYhi4DG.js";
|
|
8
8
|
import { _ as d } from "./chunks/CcfDAcJD.js";
|
|
9
|
-
import { _ as G } from "./chunks/
|
|
9
|
+
import { _ as G } from "./chunks/C87PnYXS.js";
|
|
10
10
|
import { _ as C } from "./chunks/w2GDktIt.js";
|
|
11
11
|
export {
|
|
12
12
|
o as BryntumAIFilterField,
|
package/package.json
CHANGED
|
@@ -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/grid/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/grid/docs/api/Grid/widget/AIFilterField#config-appendTo)
|
|
46
48
|
*/
|
|
47
49
|
appendTo ? : HTMLElement|string
|
|
48
50
|
/**
|
|
@@ -92,6 +94,15 @@ defineProps<{
|
|
|
92
94
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
93
95
|
*/
|
|
94
96
|
centered ? : Boolean
|
|
97
|
+
/**
|
|
98
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
99
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/grid/docs/api/Core/widget/Field#property-isValid)
|
|
100
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-required) check.
|
|
101
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-checkValidity)
|
|
102
|
+
* @param {Core.widget.Field} field The field being validated
|
|
103
|
+
* @returns {void}
|
|
104
|
+
*/
|
|
105
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
95
106
|
/**
|
|
96
107
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
97
108
|
* in the [triggers](https://bryntum.com/products/grid/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|
|
@@ -300,10 +311,14 @@ defineProps<{
|
|
|
300
311
|
inputWidth ? : string|number
|
|
301
312
|
/**
|
|
302
313
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
314
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
315
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-insertBefore)
|
|
303
316
|
*/
|
|
304
317
|
insertBefore ? : HTMLElement|string
|
|
305
318
|
/**
|
|
306
319
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
320
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
321
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-insertFirst)
|
|
307
322
|
*/
|
|
308
323
|
insertFirst ? : HTMLElement|string
|
|
309
324
|
/**
|
|
@@ -616,48 +631,40 @@ const emit = defineEmits<{
|
|
|
616
631
|
* User performed default action (typed into this field).
|
|
617
632
|
* @param {string} e Event name
|
|
618
633
|
* @param {object} params Event parameters
|
|
619
|
-
* @param {
|
|
620
|
-
* @param {
|
|
621
|
-
* @param {
|
|
622
|
-
* @param {
|
|
623
|
-
* @param {
|
|
624
|
-
* @param {
|
|
625
|
-
* @param {
|
|
626
|
-
* @param {
|
|
627
|
-
* @param {
|
|
628
|
-
* @param {
|
|
629
|
-
* @param {boolean} params.params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
630
|
-
* @param {boolean} params.params.event.checked
|
|
634
|
+
* @param {object} params.event Event object
|
|
635
|
+
* @param {Core.widget.Field,any} params.event.source This Field
|
|
636
|
+
* @param {string,number,boolean,any} params.event.value This field's value
|
|
637
|
+
* @param {string,number,boolean,any} params.event.oldValue This field's previous value
|
|
638
|
+
* @param {boolean} params.event.valid True if this field is in a valid state
|
|
639
|
+
* @param {Event} params.event.event The triggering DOM event if any
|
|
640
|
+
* @param {Core.data.Model} params.event.record Selected record. Available for fields with records selection functionality
|
|
641
|
+
* @param {Core.data.Model[]} params.event.records Selected records as an array. Available for fields with records selection functionality
|
|
642
|
+
* @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
643
|
+
* @param {boolean} params.event.checked
|
|
631
644
|
*/
|
|
632
645
|
(e: 'action', params: ((event: { source: Field|any, value: string|number|boolean|any, oldValue: string|number|boolean|any, valid: boolean, event: Event, record: Model, records: Model[], userAction: boolean, checked: boolean }) => void)|string): void
|
|
633
646
|
/**
|
|
634
647
|
* Fires before an object is destroyed.
|
|
635
648
|
* @param {string} e Event name
|
|
636
649
|
* @param {object} params Event parameters
|
|
637
|
-
* @param {
|
|
638
|
-
* @param {
|
|
639
|
-
* @param {object} params.params.event Event object
|
|
640
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
650
|
+
* @param {object} params.event Event object
|
|
651
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
641
652
|
*/
|
|
642
653
|
(e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
|
|
643
654
|
/**
|
|
644
655
|
* Triggered before a widget is hidden. Return `false` to prevent the action.
|
|
645
656
|
* @param {string} e Event name
|
|
646
657
|
* @param {object} params Event parameters
|
|
647
|
-
* @param {
|
|
648
|
-
* @param {
|
|
649
|
-
* @param {object} params.params.event Event object
|
|
650
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being hidden.
|
|
658
|
+
* @param {object} params.event Event object
|
|
659
|
+
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
651
660
|
*/
|
|
652
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
661
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
653
662
|
/**
|
|
654
663
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
655
664
|
* @param {string} e Event name
|
|
656
665
|
* @param {object} params Event parameters
|
|
657
|
-
* @param {
|
|
658
|
-
* @param {
|
|
659
|
-
* @param {object} params.params.event Event object
|
|
660
|
-
* @param {Core.widget.Widget,any} params.params.event.source The widget being shown
|
|
666
|
+
* @param {object} params.event Event object
|
|
667
|
+
* @param {Core.widget.Widget,any} params.event.source The widget being shown
|
|
661
668
|
*/
|
|
662
669
|
(e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
663
670
|
/**
|
|
@@ -665,27 +672,23 @@ const emit = defineEmits<{
|
|
|
665
672
|
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#event-catchAll)
|
|
666
673
|
* @param {string} e Event name
|
|
667
674
|
* @param {object} params Event parameters
|
|
668
|
-
* @param {
|
|
669
|
-
* @param {
|
|
670
|
-
* @param {
|
|
671
|
-
* @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details
|
|
672
|
-
* @param {string} params.params.event.event.type The type of the event which is caught by the listener
|
|
675
|
+
* @param {object} params.event Event object
|
|
676
|
+
* @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details
|
|
677
|
+
* @param {string} params.event.event.type The type of the event which is caught by the listener
|
|
673
678
|
*/
|
|
674
679
|
(e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void
|
|
675
680
|
/**
|
|
676
681
|
* Fired when this field's value changes.
|
|
677
682
|
* @param {string} e Event name
|
|
678
683
|
* @param {object} params Event parameters
|
|
679
|
-
* @param {
|
|
680
|
-
* @param {
|
|
681
|
-
* @param {
|
|
682
|
-
* @param {
|
|
683
|
-
* @param {
|
|
684
|
-
* @param {
|
|
685
|
-
* @param {boolean} params.
|
|
686
|
-
* @param {
|
|
687
|
-
* @param {boolean} params.params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
688
|
-
* @param {boolean} params.params.event.checked
|
|
684
|
+
* @param {object} params.event Event object
|
|
685
|
+
* @param {Core.widget.Field,any} params.event.source This Field
|
|
686
|
+
* @param {string,number,boolean,any} params.event.value This field's value
|
|
687
|
+
* @param {string,number,boolean,any} params.event.oldValue This field's previous value
|
|
688
|
+
* @param {boolean} params.event.valid True if this field is in a valid state
|
|
689
|
+
* @param {Event} params.event.event The triggering DOM event if any
|
|
690
|
+
* @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)
|
|
691
|
+
* @param {boolean} params.event.checked
|
|
689
692
|
*/
|
|
690
693
|
(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
|
|
691
694
|
/**
|
|
@@ -693,45 +696,37 @@ const emit = defineEmits<{
|
|
|
693
696
|
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#event-clear)
|
|
694
697
|
* @param {string} e Event name
|
|
695
698
|
* @param {object} params Event parameters
|
|
696
|
-
* @param {
|
|
697
|
-
* @param {
|
|
698
|
-
* @param {object} params.params.event Event object
|
|
699
|
-
* @param {Core.widget.Field,any} params.params.event.source This Field
|
|
699
|
+
* @param {object} params.event Event object
|
|
700
|
+
* @param {Core.widget.Field,any} params.event.source This Field
|
|
700
701
|
*/
|
|
701
702
|
(e: 'clear', params: ((event: { source: Field|any }) => void)|string): void
|
|
702
703
|
/**
|
|
703
704
|
* Fires when an object is destroyed.
|
|
704
705
|
* @param {string} e Event name
|
|
705
706
|
* @param {object} params Event parameters
|
|
706
|
-
* @param {
|
|
707
|
-
* @param {
|
|
708
|
-
* @param {object} params.params.event Event object
|
|
709
|
-
* @param {Core.Base} params.params.event.source The Object that is being destroyed.
|
|
707
|
+
* @param {object} params.event Event object
|
|
708
|
+
* @param {Core.Base} params.event.source The Object that is being destroyed.
|
|
710
709
|
*/
|
|
711
710
|
(e: 'destroy', params: ((event: { source: Base }) => void)|string): void
|
|
712
711
|
/**
|
|
713
712
|
* Triggered when a widget's [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element) is available.
|
|
714
713
|
* @param {string} e Event name
|
|
715
714
|
* @param {object} params Event parameters
|
|
716
|
-
* @param {
|
|
717
|
-
* @param {
|
|
718
|
-
* @param {object} params.params.event Event object
|
|
719
|
-
* @param {HTMLElement} params.params.event.element The Widget's element.
|
|
715
|
+
* @param {object} params.event Event object
|
|
716
|
+
* @param {HTMLElement} params.event.element The Widget's element.
|
|
720
717
|
*/
|
|
721
718
|
(e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void
|
|
722
719
|
/**
|
|
723
720
|
* Fired when focus enters this Widget.
|
|
724
721
|
* @param {string} e Event name
|
|
725
722
|
* @param {object} params Event parameters
|
|
726
|
-
* @param {
|
|
727
|
-
* @param {
|
|
728
|
-
* @param {
|
|
729
|
-
* @param {
|
|
730
|
-
* @param {
|
|
731
|
-
* @param {
|
|
732
|
-
* @param {
|
|
733
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
734
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
723
|
+
* @param {object} params.event Event object
|
|
724
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
725
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
726
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
727
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
728
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
729
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
735
730
|
*/
|
|
736
731
|
(e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
737
732
|
/**
|
|
@@ -740,37 +735,31 @@ const emit = defineEmits<{
|
|
|
740
735
|
* will not trigger this event. This is when focus exits this widget completely.
|
|
741
736
|
* @param {string} e Event name
|
|
742
737
|
* @param {object} params Event parameters
|
|
743
|
-
* @param {
|
|
744
|
-
* @param {
|
|
745
|
-
* @param {
|
|
746
|
-
* @param {
|
|
747
|
-
* @param {
|
|
748
|
-
* @param {
|
|
749
|
-
* @param {
|
|
750
|
-
* @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.
|
|
751
|
-
* @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
738
|
+
* @param {object} params.event Event object
|
|
739
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
740
|
+
* @param {HTMLElement} params.event.fromElement The element which lost focus.
|
|
741
|
+
* @param {HTMLElement} params.event.toElement The element which gained focus.
|
|
742
|
+
* @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.
|
|
743
|
+
* @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.
|
|
744
|
+
* @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.
|
|
752
745
|
*/
|
|
753
746
|
(e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void
|
|
754
747
|
/**
|
|
755
748
|
* Triggered after a widget was hidden
|
|
756
749
|
* @param {string} e Event name
|
|
757
750
|
* @param {object} params Event parameters
|
|
758
|
-
* @param {
|
|
759
|
-
* @param {
|
|
760
|
-
* @param {object} params.params.event Event object
|
|
761
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
751
|
+
* @param {object} params.event Event object
|
|
752
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
762
753
|
*/
|
|
763
754
|
(e: 'hide', params: ((event: { source: Widget }) => void)|string): void
|
|
764
755
|
/**
|
|
765
756
|
* Fired when the user types into this field.
|
|
766
757
|
* @param {string} e Event name
|
|
767
758
|
* @param {object} params Event parameters
|
|
768
|
-
* @param {
|
|
769
|
-
* @param {
|
|
770
|
-
* @param {
|
|
771
|
-
* @param {
|
|
772
|
-
* @param {string,number,boolean,any} params.params.event.value This field's value
|
|
773
|
-
* @param {Event} params.params.event.event The triggering DOM event
|
|
759
|
+
* @param {object} params.event Event object
|
|
760
|
+
* @param {Core.widget.Field,any} params.event.source This field
|
|
761
|
+
* @param {string,number,boolean,any} params.event.value This field's value
|
|
762
|
+
* @param {Event} params.event.event The triggering DOM event
|
|
774
763
|
*/
|
|
775
764
|
(e: 'input', params: ((event: { source: Field|any, value: string|number|boolean|any, event: Event }) => void)|string): void
|
|
776
765
|
/**
|
|
@@ -779,21 +768,17 @@ const emit = defineEmits<{
|
|
|
779
768
|
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#event-paint)
|
|
780
769
|
* @param {string} e Event name
|
|
781
770
|
* @param {object} params Event parameters
|
|
782
|
-
* @param {
|
|
783
|
-
* @param {
|
|
784
|
-
* @param {
|
|
785
|
-
* @param {Core.widget.Widget} params.params.event.source The widget being painted.
|
|
786
|
-
* @param {boolean} params.params.event.firstPaint `true` if this is the first paint.
|
|
771
|
+
* @param {object} params.event Event object
|
|
772
|
+
* @param {Core.widget.Widget} params.event.source The widget being painted.
|
|
773
|
+
* @param {boolean} params.event.firstPaint `true` if this is the first paint.
|
|
787
774
|
*/
|
|
788
775
|
(e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void
|
|
789
776
|
/**
|
|
790
777
|
* Fired when a Widget's read only state is toggled
|
|
791
778
|
* @param {string} e Event name
|
|
792
779
|
* @param {object} params Event parameters
|
|
793
|
-
* @param {
|
|
794
|
-
* @param {
|
|
795
|
-
* @param {object} params.params.event Event object
|
|
796
|
-
* @param {boolean} params.params.event.readOnly Read only or not
|
|
780
|
+
* @param {object} params.event Event object
|
|
781
|
+
* @param {boolean} params.event.readOnly Read only or not
|
|
797
782
|
*/
|
|
798
783
|
(e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void
|
|
799
784
|
/**
|
|
@@ -805,35 +790,29 @@ const emit = defineEmits<{
|
|
|
805
790
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
806
791
|
* @param {string} e Event name
|
|
807
792
|
* @param {object} params Event parameters
|
|
808
|
-
* @param {
|
|
809
|
-
* @param {
|
|
810
|
-
* @param {
|
|
811
|
-
* @param {
|
|
812
|
-
* @param {number} params.
|
|
813
|
-
* @param {number} params.
|
|
814
|
-
* @param {number} params.params.event.oldWidth The old width
|
|
815
|
-
* @param {number} params.params.event.oldHeight The old height
|
|
793
|
+
* @param {object} params.event Event object
|
|
794
|
+
* @param {Core.widget.Widget} params.event.source This Widget
|
|
795
|
+
* @param {number} params.event.width The new width
|
|
796
|
+
* @param {number} params.event.height The new height
|
|
797
|
+
* @param {number} params.event.oldWidth The old width
|
|
798
|
+
* @param {number} params.event.oldHeight The old height
|
|
816
799
|
*/
|
|
817
800
|
(e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void
|
|
818
801
|
/**
|
|
819
802
|
* Triggered after a widget is shown.
|
|
820
803
|
* @param {string} e Event name
|
|
821
804
|
* @param {object} params Event parameters
|
|
822
|
-
* @param {
|
|
823
|
-
* @param {
|
|
824
|
-
* @param {object} params.params.event Event object
|
|
825
|
-
* @param {Core.widget.Widget} params.params.event.source The widget
|
|
805
|
+
* @param {object} params.event Event object
|
|
806
|
+
* @param {Core.widget.Widget} params.event.source The widget
|
|
826
807
|
*/
|
|
827
808
|
(e: 'show', params: ((event: { source: Widget }) => void)|string): void
|
|
828
809
|
/**
|
|
829
810
|
* User clicked one of this field's [triggers](https://bryntum.com/products/grid/docs/api/Core/widget/Field#property-triggers)
|
|
830
811
|
* @param {string} e Event name
|
|
831
812
|
* @param {object} params Event parameters
|
|
832
|
-
* @param {
|
|
833
|
-
* @param {
|
|
834
|
-
* @param {
|
|
835
|
-
* @param {Core.widget.Field,any} params.params.event.source This field
|
|
836
|
-
* @param {Core.widget.Widget} params.params.event.trigger The trigger activated by click or touch tap.
|
|
813
|
+
* @param {object} params.event Event object
|
|
814
|
+
* @param {Core.widget.Field,any} params.event.source This field
|
|
815
|
+
* @param {Core.widget.Widget} params.event.trigger The trigger activated by click or touch tap.
|
|
837
816
|
*/
|
|
838
817
|
(e: 'trigger', params: ((event: { source: Field|any, trigger: Widget }) => void)|string): void
|
|
839
818
|
}>();
|
|
@@ -852,6 +831,7 @@ const widgetData = {
|
|
|
852
831
|
'autoSelect',
|
|
853
832
|
'bubbleEvents',
|
|
854
833
|
'centered',
|
|
834
|
+
'checkValidity',
|
|
855
835
|
'clearable',
|
|
856
836
|
'client',
|
|
857
837
|
'color',
|
|
@@ -28,6 +28,8 @@ export declare type BryntumAIFilterFieldProps = {
|
|
|
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/grid/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/grid/docs/api/Grid/widget/AIFilterField#config-appendTo)
|
|
31
33
|
*/
|
|
32
34
|
appendTo ? : HTMLElement|string
|
|
33
35
|
/**
|
|
@@ -77,6 +79,15 @@ export declare type BryntumAIFilterFieldProps = {
|
|
|
77
79
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
78
80
|
*/
|
|
79
81
|
centered ? : Boolean
|
|
82
|
+
/**
|
|
83
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
84
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/grid/docs/api/Core/widget/Field#property-isValid)
|
|
85
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-required) check.
|
|
86
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-checkValidity)
|
|
87
|
+
* @param {Core.widget.Field} field The field being validated
|
|
88
|
+
* @returns {void}
|
|
89
|
+
*/
|
|
90
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
80
91
|
/**
|
|
81
92
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
82
93
|
* in the [triggers](https://bryntum.com/products/grid/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|
|
@@ -285,10 +296,14 @@ export declare type BryntumAIFilterFieldProps = {
|
|
|
285
296
|
inputWidth ? : string|number
|
|
286
297
|
/**
|
|
287
298
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
299
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
300
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-insertBefore)
|
|
288
301
|
*/
|
|
289
302
|
insertBefore ? : HTMLElement|string
|
|
290
303
|
/**
|
|
291
304
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
305
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
306
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-insertFirst)
|
|
292
307
|
*/
|
|
293
308
|
insertFirst ? : HTMLElement|string
|
|
294
309
|
/**
|