@vaadin/combo-box 25.2.0-alpha1 → 25.2.0-alpha10
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/custom-elements.json +591 -3
- package/package.json +14 -14
- package/src/vaadin-combo-box-mixin.js +1 -40
- package/src/vaadin-combo-box-scroll-to-index-mixin.d.ts +28 -0
- package/src/vaadin-combo-box-scroll-to-index-mixin.js +103 -0
- package/src/vaadin-combo-box-scroller-mixin.js +19 -0
- package/src/vaadin-combo-box.d.ts +4 -0
- package/src/vaadin-combo-box.js +9 -3
- package/web-types.json +66 -190
- package/web-types.lit.json +66 -73
package/custom-elements.json
CHANGED
|
@@ -36,11 +36,34 @@
|
|
|
36
36
|
"description": "Set true to prevent the overlay from opening automatically.",
|
|
37
37
|
"attribute": "auto-open-disabled"
|
|
38
38
|
},
|
|
39
|
+
{
|
|
40
|
+
"kind": "method",
|
|
41
|
+
"name": "clear",
|
|
42
|
+
"description": "Clear the value of the field.",
|
|
43
|
+
"inheritedFrom": {
|
|
44
|
+
"name": "InputMixin",
|
|
45
|
+
"package": "@vaadin/field-base/src/input-mixin.js"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
39
48
|
{
|
|
40
49
|
"kind": "method",
|
|
41
50
|
"name": "close",
|
|
42
51
|
"description": "Closes the dropdown list."
|
|
43
52
|
},
|
|
53
|
+
{
|
|
54
|
+
"kind": "field",
|
|
55
|
+
"name": "disabled",
|
|
56
|
+
"privacy": "public",
|
|
57
|
+
"type": {
|
|
58
|
+
"text": "boolean"
|
|
59
|
+
},
|
|
60
|
+
"description": "If true, the user cannot interact with this element.",
|
|
61
|
+
"attribute": "disabled",
|
|
62
|
+
"inheritedFrom": {
|
|
63
|
+
"name": "DisabledMixin",
|
|
64
|
+
"package": "@vaadin/a11y-base/src/disabled-mixin.js"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
44
67
|
{
|
|
45
68
|
"kind": "method",
|
|
46
69
|
"name": "open",
|
|
@@ -65,6 +88,20 @@
|
|
|
65
88
|
},
|
|
66
89
|
"description": "When present, it specifies that the field is read-only.",
|
|
67
90
|
"attribute": "readonly"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"kind": "field",
|
|
94
|
+
"name": "value",
|
|
95
|
+
"privacy": "public",
|
|
96
|
+
"type": {
|
|
97
|
+
"text": "string"
|
|
98
|
+
},
|
|
99
|
+
"description": "The value of the field.",
|
|
100
|
+
"attribute": "value",
|
|
101
|
+
"inheritedFrom": {
|
|
102
|
+
"name": "InputMixin",
|
|
103
|
+
"package": "@vaadin/field-base/src/input-mixin.js"
|
|
104
|
+
}
|
|
68
105
|
}
|
|
69
106
|
],
|
|
70
107
|
"attributes": [
|
|
@@ -76,6 +113,18 @@
|
|
|
76
113
|
"description": "Set true to prevent the overlay from opening automatically.",
|
|
77
114
|
"fieldName": "autoOpenDisabled"
|
|
78
115
|
},
|
|
116
|
+
{
|
|
117
|
+
"name": "disabled",
|
|
118
|
+
"type": {
|
|
119
|
+
"text": "boolean"
|
|
120
|
+
},
|
|
121
|
+
"description": "If true, the user cannot interact with this element.",
|
|
122
|
+
"fieldName": "disabled",
|
|
123
|
+
"inheritedFrom": {
|
|
124
|
+
"name": "DisabledMixin",
|
|
125
|
+
"package": "@vaadin/a11y-base/src/disabled-mixin.js"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
79
128
|
{
|
|
80
129
|
"name": "opened",
|
|
81
130
|
"type": {
|
|
@@ -91,6 +140,18 @@
|
|
|
91
140
|
},
|
|
92
141
|
"description": "When present, it specifies that the field is read-only.",
|
|
93
142
|
"fieldName": "readonly"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"name": "value",
|
|
146
|
+
"type": {
|
|
147
|
+
"text": "string"
|
|
148
|
+
},
|
|
149
|
+
"description": "The value of the field.",
|
|
150
|
+
"fieldName": "value",
|
|
151
|
+
"inheritedFrom": {
|
|
152
|
+
"name": "InputMixin",
|
|
153
|
+
"package": "@vaadin/field-base/src/input-mixin.js"
|
|
154
|
+
}
|
|
94
155
|
}
|
|
95
156
|
],
|
|
96
157
|
"mixins": [
|
|
@@ -382,6 +443,15 @@
|
|
|
382
443
|
"module": "src/vaadin-combo-box-base-mixin.js"
|
|
383
444
|
}
|
|
384
445
|
},
|
|
446
|
+
{
|
|
447
|
+
"kind": "method",
|
|
448
|
+
"name": "clear",
|
|
449
|
+
"description": "Clear the value of the field.",
|
|
450
|
+
"inheritedFrom": {
|
|
451
|
+
"name": "InputMixin",
|
|
452
|
+
"package": "@vaadin/field-base/src/input-mixin.js"
|
|
453
|
+
}
|
|
454
|
+
},
|
|
385
455
|
{
|
|
386
456
|
"kind": "method",
|
|
387
457
|
"name": "close",
|
|
@@ -391,6 +461,20 @@
|
|
|
391
461
|
"module": "src/vaadin-combo-box-base-mixin.js"
|
|
392
462
|
}
|
|
393
463
|
},
|
|
464
|
+
{
|
|
465
|
+
"kind": "field",
|
|
466
|
+
"name": "disabled",
|
|
467
|
+
"privacy": "public",
|
|
468
|
+
"type": {
|
|
469
|
+
"text": "boolean"
|
|
470
|
+
},
|
|
471
|
+
"description": "If true, the user cannot interact with this element.",
|
|
472
|
+
"attribute": "disabled",
|
|
473
|
+
"inheritedFrom": {
|
|
474
|
+
"name": "DisabledMixin",
|
|
475
|
+
"package": "@vaadin/a11y-base/src/disabled-mixin.js"
|
|
476
|
+
}
|
|
477
|
+
},
|
|
394
478
|
{
|
|
395
479
|
"kind": "field",
|
|
396
480
|
"name": "filter",
|
|
@@ -487,6 +571,20 @@
|
|
|
487
571
|
"name": "ComboBoxBaseMixin",
|
|
488
572
|
"module": "src/vaadin-combo-box-base-mixin.js"
|
|
489
573
|
}
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"kind": "field",
|
|
577
|
+
"name": "value",
|
|
578
|
+
"privacy": "public",
|
|
579
|
+
"type": {
|
|
580
|
+
"text": "string"
|
|
581
|
+
},
|
|
582
|
+
"description": "The value of the field.",
|
|
583
|
+
"attribute": "value",
|
|
584
|
+
"inheritedFrom": {
|
|
585
|
+
"name": "InputMixin",
|
|
586
|
+
"package": "@vaadin/field-base/src/input-mixin.js"
|
|
587
|
+
}
|
|
490
588
|
}
|
|
491
589
|
],
|
|
492
590
|
"attributes": [
|
|
@@ -502,6 +600,18 @@
|
|
|
502
600
|
"module": "src/vaadin-combo-box-base-mixin.js"
|
|
503
601
|
}
|
|
504
602
|
},
|
|
603
|
+
{
|
|
604
|
+
"name": "disabled",
|
|
605
|
+
"type": {
|
|
606
|
+
"text": "boolean"
|
|
607
|
+
},
|
|
608
|
+
"description": "If true, the user cannot interact with this element.",
|
|
609
|
+
"fieldName": "disabled",
|
|
610
|
+
"inheritedFrom": {
|
|
611
|
+
"name": "DisabledMixin",
|
|
612
|
+
"package": "@vaadin/a11y-base/src/disabled-mixin.js"
|
|
613
|
+
}
|
|
614
|
+
},
|
|
505
615
|
{
|
|
506
616
|
"name": "filter",
|
|
507
617
|
"type": {
|
|
@@ -549,6 +659,18 @@
|
|
|
549
659
|
"name": "ComboBoxBaseMixin",
|
|
550
660
|
"module": "src/vaadin-combo-box-base-mixin.js"
|
|
551
661
|
}
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"name": "value",
|
|
665
|
+
"type": {
|
|
666
|
+
"text": "string"
|
|
667
|
+
},
|
|
668
|
+
"description": "The value of the field.",
|
|
669
|
+
"fieldName": "value",
|
|
670
|
+
"inheritedFrom": {
|
|
671
|
+
"name": "InputMixin",
|
|
672
|
+
"package": "@vaadin/field-base/src/input-mixin.js"
|
|
673
|
+
}
|
|
552
674
|
}
|
|
553
675
|
],
|
|
554
676
|
"mixins": [
|
|
@@ -613,6 +735,29 @@
|
|
|
613
735
|
"name": "cancel",
|
|
614
736
|
"description": "Reverts back to original value."
|
|
615
737
|
},
|
|
738
|
+
{
|
|
739
|
+
"kind": "method",
|
|
740
|
+
"name": "checkValidity",
|
|
741
|
+
"description": "Returns true if the field value satisfies all constraints (if any).",
|
|
742
|
+
"return": {
|
|
743
|
+
"type": {
|
|
744
|
+
"text": "boolean"
|
|
745
|
+
}
|
|
746
|
+
},
|
|
747
|
+
"inheritedFrom": {
|
|
748
|
+
"name": "ValidateMixin",
|
|
749
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
750
|
+
}
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
"kind": "method",
|
|
754
|
+
"name": "clear",
|
|
755
|
+
"description": "Clear the value of the field.",
|
|
756
|
+
"inheritedFrom": {
|
|
757
|
+
"name": "InputMixin",
|
|
758
|
+
"package": "@vaadin/field-base/src/input-mixin.js"
|
|
759
|
+
}
|
|
760
|
+
},
|
|
616
761
|
{
|
|
617
762
|
"kind": "method",
|
|
618
763
|
"name": "close",
|
|
@@ -622,6 +767,20 @@
|
|
|
622
767
|
"module": "src/vaadin-combo-box-base-mixin.js"
|
|
623
768
|
}
|
|
624
769
|
},
|
|
770
|
+
{
|
|
771
|
+
"kind": "field",
|
|
772
|
+
"name": "disabled",
|
|
773
|
+
"privacy": "public",
|
|
774
|
+
"type": {
|
|
775
|
+
"text": "boolean"
|
|
776
|
+
},
|
|
777
|
+
"description": "If true, the user cannot interact with this element.",
|
|
778
|
+
"attribute": "disabled",
|
|
779
|
+
"inheritedFrom": {
|
|
780
|
+
"name": "DisabledMixin",
|
|
781
|
+
"package": "@vaadin/a11y-base/src/disabled-mixin.js"
|
|
782
|
+
}
|
|
783
|
+
},
|
|
625
784
|
{
|
|
626
785
|
"kind": "field",
|
|
627
786
|
"name": "filter",
|
|
@@ -650,6 +809,20 @@
|
|
|
650
809
|
"module": "src/vaadin-combo-box-items-mixin.js"
|
|
651
810
|
}
|
|
652
811
|
},
|
|
812
|
+
{
|
|
813
|
+
"kind": "field",
|
|
814
|
+
"name": "invalid",
|
|
815
|
+
"privacy": "public",
|
|
816
|
+
"type": {
|
|
817
|
+
"text": "boolean"
|
|
818
|
+
},
|
|
819
|
+
"description": "Set to true when the field is invalid.",
|
|
820
|
+
"attribute": "invalid",
|
|
821
|
+
"inheritedFrom": {
|
|
822
|
+
"name": "ValidateMixin",
|
|
823
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
824
|
+
}
|
|
825
|
+
},
|
|
653
826
|
{
|
|
654
827
|
"kind": "field",
|
|
655
828
|
"name": "itemClassNameGenerator",
|
|
@@ -736,6 +909,20 @@
|
|
|
736
909
|
"description": "When set to `true`, \"loading\" attribute is added to host and the overlay element.",
|
|
737
910
|
"attribute": "loading"
|
|
738
911
|
},
|
|
912
|
+
{
|
|
913
|
+
"kind": "field",
|
|
914
|
+
"name": "manualValidation",
|
|
915
|
+
"privacy": "public",
|
|
916
|
+
"type": {
|
|
917
|
+
"text": "boolean"
|
|
918
|
+
},
|
|
919
|
+
"description": "Set to true to enable manual validation mode. This mode disables automatic\nconstraint validation, allowing you to control the validation process yourself.\nYou can still trigger constraint validation manually with the `validate()` method\nor use `checkValidity()` to assess the component's validity without affecting\nthe invalid state. In manual validation mode, you can also manipulate\nthe `invalid` property directly through your application logic without conflicts\nwith the component's internal validation.",
|
|
920
|
+
"attribute": "manual-validation",
|
|
921
|
+
"inheritedFrom": {
|
|
922
|
+
"name": "ValidateMixin",
|
|
923
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
924
|
+
}
|
|
925
|
+
},
|
|
739
926
|
{
|
|
740
927
|
"kind": "method",
|
|
741
928
|
"name": "open",
|
|
@@ -788,6 +975,20 @@
|
|
|
788
975
|
"name": "requestContentUpdate",
|
|
789
976
|
"description": "Requests an update for the content of items.\nWhile performing the update, it invokes the renderer (passed in the `renderer` property) once an item.\n\nIt is not guaranteed that the update happens immediately (synchronously) after it is requested."
|
|
790
977
|
},
|
|
978
|
+
{
|
|
979
|
+
"kind": "field",
|
|
980
|
+
"name": "required",
|
|
981
|
+
"privacy": "public",
|
|
982
|
+
"type": {
|
|
983
|
+
"text": "boolean"
|
|
984
|
+
},
|
|
985
|
+
"description": "Specifies that the user must fill in a value.",
|
|
986
|
+
"attribute": "required",
|
|
987
|
+
"inheritedFrom": {
|
|
988
|
+
"name": "ValidateMixin",
|
|
989
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
990
|
+
}
|
|
991
|
+
},
|
|
791
992
|
{
|
|
792
993
|
"kind": "field",
|
|
793
994
|
"name": "selectedItem",
|
|
@@ -797,6 +998,34 @@
|
|
|
797
998
|
},
|
|
798
999
|
"description": "The selected item from the `items` array.",
|
|
799
1000
|
"attribute": "selected-item"
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
"kind": "method",
|
|
1004
|
+
"name": "validate",
|
|
1005
|
+
"description": "Validates the field and sets the `invalid` property based on the result.\n\nThe method fires a `validated` event with the result of the validation.",
|
|
1006
|
+
"return": {
|
|
1007
|
+
"type": {
|
|
1008
|
+
"text": "boolean"
|
|
1009
|
+
}
|
|
1010
|
+
},
|
|
1011
|
+
"inheritedFrom": {
|
|
1012
|
+
"name": "ValidateMixin",
|
|
1013
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
1014
|
+
}
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
"kind": "field",
|
|
1018
|
+
"name": "value",
|
|
1019
|
+
"privacy": "public",
|
|
1020
|
+
"type": {
|
|
1021
|
+
"text": "string"
|
|
1022
|
+
},
|
|
1023
|
+
"description": "The value of the field.",
|
|
1024
|
+
"attribute": "value",
|
|
1025
|
+
"inheritedFrom": {
|
|
1026
|
+
"name": "InputMixin",
|
|
1027
|
+
"package": "@vaadin/field-base/src/input-mixin.js"
|
|
1028
|
+
}
|
|
800
1029
|
}
|
|
801
1030
|
],
|
|
802
1031
|
"events": [
|
|
@@ -817,6 +1046,16 @@
|
|
|
817
1046
|
"type": {
|
|
818
1047
|
"text": "CustomEvent"
|
|
819
1048
|
}
|
|
1049
|
+
},
|
|
1050
|
+
{
|
|
1051
|
+
"name": "validated",
|
|
1052
|
+
"type": {
|
|
1053
|
+
"text": "CustomEvent"
|
|
1054
|
+
},
|
|
1055
|
+
"inheritedFrom": {
|
|
1056
|
+
"name": "ValidateMixin",
|
|
1057
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
1058
|
+
}
|
|
820
1059
|
}
|
|
821
1060
|
],
|
|
822
1061
|
"attributes": [
|
|
@@ -840,6 +1079,18 @@
|
|
|
840
1079
|
"module": "src/vaadin-combo-box-base-mixin.js"
|
|
841
1080
|
}
|
|
842
1081
|
},
|
|
1082
|
+
{
|
|
1083
|
+
"name": "disabled",
|
|
1084
|
+
"type": {
|
|
1085
|
+
"text": "boolean"
|
|
1086
|
+
},
|
|
1087
|
+
"description": "If true, the user cannot interact with this element.",
|
|
1088
|
+
"fieldName": "disabled",
|
|
1089
|
+
"inheritedFrom": {
|
|
1090
|
+
"name": "DisabledMixin",
|
|
1091
|
+
"package": "@vaadin/a11y-base/src/disabled-mixin.js"
|
|
1092
|
+
}
|
|
1093
|
+
},
|
|
843
1094
|
{
|
|
844
1095
|
"name": "filter",
|
|
845
1096
|
"type": {
|
|
@@ -852,6 +1103,18 @@
|
|
|
852
1103
|
"module": "src/vaadin-combo-box-items-mixin.js"
|
|
853
1104
|
}
|
|
854
1105
|
},
|
|
1106
|
+
{
|
|
1107
|
+
"name": "invalid",
|
|
1108
|
+
"type": {
|
|
1109
|
+
"text": "boolean"
|
|
1110
|
+
},
|
|
1111
|
+
"description": "Set to true when the field is invalid.",
|
|
1112
|
+
"fieldName": "invalid",
|
|
1113
|
+
"inheritedFrom": {
|
|
1114
|
+
"name": "ValidateMixin",
|
|
1115
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
1116
|
+
}
|
|
1117
|
+
},
|
|
855
1118
|
{
|
|
856
1119
|
"name": "item-id-path",
|
|
857
1120
|
"type": {
|
|
@@ -892,6 +1155,18 @@
|
|
|
892
1155
|
"description": "When set to `true`, \"loading\" attribute is added to host and the overlay element.",
|
|
893
1156
|
"fieldName": "loading"
|
|
894
1157
|
},
|
|
1158
|
+
{
|
|
1159
|
+
"name": "manual-validation",
|
|
1160
|
+
"type": {
|
|
1161
|
+
"text": "boolean"
|
|
1162
|
+
},
|
|
1163
|
+
"description": "Set to true to enable manual validation mode. This mode disables automatic\nconstraint validation, allowing you to control the validation process yourself.\nYou can still trigger constraint validation manually with the `validate()` method\nor use `checkValidity()` to assess the component's validity without affecting\nthe invalid state. In manual validation mode, you can also manipulate\nthe `invalid` property directly through your application logic without conflicts\nwith the component's internal validation.",
|
|
1164
|
+
"fieldName": "manualValidation",
|
|
1165
|
+
"inheritedFrom": {
|
|
1166
|
+
"name": "ValidateMixin",
|
|
1167
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
1168
|
+
}
|
|
1169
|
+
},
|
|
895
1170
|
{
|
|
896
1171
|
"name": "opened",
|
|
897
1172
|
"type": {
|
|
@@ -924,6 +1199,18 @@
|
|
|
924
1199
|
"description": "Custom function for rendering the content of every item.\nReceives three arguments:\n\n- `root` The `<vaadin-combo-box-item>` internal container DOM element.\n- `comboBox` The reference to the `<vaadin-combo-box>` element.\n- `model` The object with the properties related with the rendered\n item, contains:\n - `model.index` The index of the rendered item.\n - `model.item` The item.",
|
|
925
1200
|
"fieldName": "renderer"
|
|
926
1201
|
},
|
|
1202
|
+
{
|
|
1203
|
+
"name": "required",
|
|
1204
|
+
"type": {
|
|
1205
|
+
"text": "boolean"
|
|
1206
|
+
},
|
|
1207
|
+
"description": "Specifies that the user must fill in a value.",
|
|
1208
|
+
"fieldName": "required",
|
|
1209
|
+
"inheritedFrom": {
|
|
1210
|
+
"name": "ValidateMixin",
|
|
1211
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
1212
|
+
}
|
|
1213
|
+
},
|
|
927
1214
|
{
|
|
928
1215
|
"name": "selected-item",
|
|
929
1216
|
"type": {
|
|
@@ -931,6 +1218,18 @@
|
|
|
931
1218
|
},
|
|
932
1219
|
"description": "The selected item from the `items` array.",
|
|
933
1220
|
"fieldName": "selectedItem"
|
|
1221
|
+
},
|
|
1222
|
+
{
|
|
1223
|
+
"name": "value",
|
|
1224
|
+
"type": {
|
|
1225
|
+
"text": "string"
|
|
1226
|
+
},
|
|
1227
|
+
"description": "The value of the field.",
|
|
1228
|
+
"fieldName": "value",
|
|
1229
|
+
"inheritedFrom": {
|
|
1230
|
+
"name": "InputMixin",
|
|
1231
|
+
"package": "@vaadin/field-base/src/input-mixin.js"
|
|
1232
|
+
}
|
|
934
1233
|
}
|
|
935
1234
|
],
|
|
936
1235
|
"mixins": [
|
|
@@ -1166,6 +1465,48 @@
|
|
|
1166
1465
|
}
|
|
1167
1466
|
]
|
|
1168
1467
|
},
|
|
1468
|
+
{
|
|
1469
|
+
"kind": "javascript-module",
|
|
1470
|
+
"path": "src/vaadin-combo-box-scroll-to-index-mixin.js",
|
|
1471
|
+
"declarations": [
|
|
1472
|
+
{
|
|
1473
|
+
"kind": "mixin",
|
|
1474
|
+
"description": "",
|
|
1475
|
+
"name": "ComboBoxScrollToIndexMixin",
|
|
1476
|
+
"members": [
|
|
1477
|
+
{
|
|
1478
|
+
"kind": "method",
|
|
1479
|
+
"name": "scrollToIndex",
|
|
1480
|
+
"parameters": [
|
|
1481
|
+
{
|
|
1482
|
+
"name": "index",
|
|
1483
|
+
"description": "Index of the item to scroll to",
|
|
1484
|
+
"type": {
|
|
1485
|
+
"text": "number"
|
|
1486
|
+
}
|
|
1487
|
+
}
|
|
1488
|
+
],
|
|
1489
|
+
"description": "Scrolls the dropdown to the item at the given index and sets it as the\nfocused (highlighted) item. Safe to call before the dropdown is opened\nor while the data provider is loading: the call is queued and executed\nonce the overlay is open and not loading.\n\nBecause this sets the focused item, closing the dropdown without an\nexplicit selection change (e.g. via outside click or blur) will commit\nthe focused item as `selectedItem`. In the typical use case (scroll to\nthe currently selected item) this is a no-op; callers scrolling to a\ndifferent index should be aware of this behavior."
|
|
1490
|
+
}
|
|
1491
|
+
],
|
|
1492
|
+
"parameters": [
|
|
1493
|
+
{
|
|
1494
|
+
"name": "superClass"
|
|
1495
|
+
}
|
|
1496
|
+
]
|
|
1497
|
+
}
|
|
1498
|
+
],
|
|
1499
|
+
"exports": [
|
|
1500
|
+
{
|
|
1501
|
+
"kind": "js",
|
|
1502
|
+
"name": "ComboBoxScrollToIndexMixin",
|
|
1503
|
+
"declaration": {
|
|
1504
|
+
"name": "ComboBoxScrollToIndexMixin",
|
|
1505
|
+
"module": "src/vaadin-combo-box-scroll-to-index-mixin.js"
|
|
1506
|
+
}
|
|
1507
|
+
}
|
|
1508
|
+
]
|
|
1509
|
+
},
|
|
1169
1510
|
{
|
|
1170
1511
|
"kind": "javascript-module",
|
|
1171
1512
|
"path": "src/vaadin-combo-box-scroller-mixin.js",
|
|
@@ -1451,6 +1792,20 @@
|
|
|
1451
1792
|
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
1452
1793
|
}
|
|
1453
1794
|
},
|
|
1795
|
+
{
|
|
1796
|
+
"kind": "field",
|
|
1797
|
+
"name": "autofocus",
|
|
1798
|
+
"privacy": "public",
|
|
1799
|
+
"type": {
|
|
1800
|
+
"text": "boolean"
|
|
1801
|
+
},
|
|
1802
|
+
"description": "Specify that this control should have input focus when the page loads.",
|
|
1803
|
+
"attribute": "autofocus",
|
|
1804
|
+
"inheritedFrom": {
|
|
1805
|
+
"name": "DelegateFocusMixin",
|
|
1806
|
+
"package": "@vaadin/a11y-base/src/delegate-focus-mixin.js"
|
|
1807
|
+
}
|
|
1808
|
+
},
|
|
1454
1809
|
{
|
|
1455
1810
|
"kind": "field",
|
|
1456
1811
|
"name": "autoOpenDisabled",
|
|
@@ -1488,6 +1843,29 @@
|
|
|
1488
1843
|
"module": "src/vaadin-combo-box-mixin.js"
|
|
1489
1844
|
}
|
|
1490
1845
|
},
|
|
1846
|
+
{
|
|
1847
|
+
"kind": "method",
|
|
1848
|
+
"name": "checkValidity",
|
|
1849
|
+
"description": "Returns true if the field value satisfies all constraints (if any).",
|
|
1850
|
+
"return": {
|
|
1851
|
+
"type": {
|
|
1852
|
+
"text": "boolean"
|
|
1853
|
+
}
|
|
1854
|
+
},
|
|
1855
|
+
"inheritedFrom": {
|
|
1856
|
+
"name": "InputConstraintsMixin",
|
|
1857
|
+
"package": "@vaadin/field-base/src/input-constraints-mixin.js"
|
|
1858
|
+
}
|
|
1859
|
+
},
|
|
1860
|
+
{
|
|
1861
|
+
"kind": "method",
|
|
1862
|
+
"name": "clear",
|
|
1863
|
+
"description": "Clear the value of the field.",
|
|
1864
|
+
"inheritedFrom": {
|
|
1865
|
+
"name": "InputMixin",
|
|
1866
|
+
"package": "@vaadin/field-base/src/input-mixin.js"
|
|
1867
|
+
}
|
|
1868
|
+
},
|
|
1491
1869
|
{
|
|
1492
1870
|
"kind": "field",
|
|
1493
1871
|
"name": "clearButtonVisible",
|
|
@@ -1534,6 +1912,20 @@
|
|
|
1534
1912
|
"module": "src/vaadin-combo-box-data-provider-mixin.js"
|
|
1535
1913
|
}
|
|
1536
1914
|
},
|
|
1915
|
+
{
|
|
1916
|
+
"kind": "field",
|
|
1917
|
+
"name": "disabled",
|
|
1918
|
+
"privacy": "public",
|
|
1919
|
+
"type": {
|
|
1920
|
+
"text": "boolean"
|
|
1921
|
+
},
|
|
1922
|
+
"description": "If true, the user cannot interact with this element.",
|
|
1923
|
+
"attribute": "disabled",
|
|
1924
|
+
"inheritedFrom": {
|
|
1925
|
+
"name": "DisabledMixin",
|
|
1926
|
+
"package": "@vaadin/a11y-base/src/disabled-mixin.js"
|
|
1927
|
+
}
|
|
1928
|
+
},
|
|
1537
1929
|
{
|
|
1538
1930
|
"kind": "field",
|
|
1539
1931
|
"name": "errorMessage",
|
|
@@ -1590,6 +1982,20 @@
|
|
|
1590
1982
|
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
1591
1983
|
}
|
|
1592
1984
|
},
|
|
1985
|
+
{
|
|
1986
|
+
"kind": "field",
|
|
1987
|
+
"name": "invalid",
|
|
1988
|
+
"privacy": "public",
|
|
1989
|
+
"type": {
|
|
1990
|
+
"text": "boolean"
|
|
1991
|
+
},
|
|
1992
|
+
"description": "Set to true when the field is invalid.",
|
|
1993
|
+
"attribute": "invalid",
|
|
1994
|
+
"inheritedFrom": {
|
|
1995
|
+
"name": "ValidateMixin",
|
|
1996
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
1997
|
+
}
|
|
1998
|
+
},
|
|
1593
1999
|
{
|
|
1594
2000
|
"kind": "field",
|
|
1595
2001
|
"name": "itemClassNameGenerator",
|
|
@@ -1674,6 +2080,20 @@
|
|
|
1674
2080
|
"module": "src/vaadin-combo-box-items-mixin.js"
|
|
1675
2081
|
}
|
|
1676
2082
|
},
|
|
2083
|
+
{
|
|
2084
|
+
"kind": "field",
|
|
2085
|
+
"name": "label",
|
|
2086
|
+
"privacy": "public",
|
|
2087
|
+
"type": {
|
|
2088
|
+
"text": "string"
|
|
2089
|
+
},
|
|
2090
|
+
"description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
|
|
2091
|
+
"attribute": "label",
|
|
2092
|
+
"inheritedFrom": {
|
|
2093
|
+
"name": "LabelMixin",
|
|
2094
|
+
"package": "@vaadin/field-base/src/label-mixin.js"
|
|
2095
|
+
}
|
|
2096
|
+
},
|
|
1677
2097
|
{
|
|
1678
2098
|
"kind": "field",
|
|
1679
2099
|
"name": "loading",
|
|
@@ -1688,6 +2108,20 @@
|
|
|
1688
2108
|
"module": "src/vaadin-combo-box-mixin.js"
|
|
1689
2109
|
}
|
|
1690
2110
|
},
|
|
2111
|
+
{
|
|
2112
|
+
"kind": "field",
|
|
2113
|
+
"name": "manualValidation",
|
|
2114
|
+
"privacy": "public",
|
|
2115
|
+
"type": {
|
|
2116
|
+
"text": "boolean"
|
|
2117
|
+
},
|
|
2118
|
+
"description": "Set to true to enable manual validation mode. This mode disables automatic\nconstraint validation, allowing you to control the validation process yourself.\nYou can still trigger constraint validation manually with the `validate()` method\nor use `checkValidity()` to assess the component's validity without affecting\nthe invalid state. In manual validation mode, you can also manipulate\nthe `invalid` property directly through your application logic without conflicts\nwith the component's internal validation.",
|
|
2119
|
+
"attribute": "manual-validation",
|
|
2120
|
+
"inheritedFrom": {
|
|
2121
|
+
"name": "ValidateMixin",
|
|
2122
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
2123
|
+
}
|
|
2124
|
+
},
|
|
1691
2125
|
{
|
|
1692
2126
|
"kind": "field",
|
|
1693
2127
|
"name": "name",
|
|
@@ -1804,6 +2238,38 @@
|
|
|
1804
2238
|
"module": "src/vaadin-combo-box-mixin.js"
|
|
1805
2239
|
}
|
|
1806
2240
|
},
|
|
2241
|
+
{
|
|
2242
|
+
"kind": "field",
|
|
2243
|
+
"name": "required",
|
|
2244
|
+
"privacy": "public",
|
|
2245
|
+
"type": {
|
|
2246
|
+
"text": "boolean"
|
|
2247
|
+
},
|
|
2248
|
+
"description": "Specifies that the user must fill in a value.",
|
|
2249
|
+
"attribute": "required",
|
|
2250
|
+
"inheritedFrom": {
|
|
2251
|
+
"name": "ValidateMixin",
|
|
2252
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
2253
|
+
}
|
|
2254
|
+
},
|
|
2255
|
+
{
|
|
2256
|
+
"kind": "method",
|
|
2257
|
+
"name": "scrollToIndex",
|
|
2258
|
+
"parameters": [
|
|
2259
|
+
{
|
|
2260
|
+
"name": "index",
|
|
2261
|
+
"description": "Index of the item to scroll to",
|
|
2262
|
+
"type": {
|
|
2263
|
+
"text": "number"
|
|
2264
|
+
}
|
|
2265
|
+
}
|
|
2266
|
+
],
|
|
2267
|
+
"description": "Scrolls the dropdown to the item at the given index and sets it as the\nfocused (highlighted) item. Safe to call before the dropdown is opened\nor while the data provider is loading: the call is queued and executed\nonce the overlay is open and not loading.\n\nBecause this sets the focused item, closing the dropdown without an\nexplicit selection change (e.g. via outside click or blur) will commit\nthe focused item as `selectedItem`. In the typical use case (scroll to\nthe currently selected item) this is a no-op; callers scrolling to a\ndifferent index should be aware of this behavior.",
|
|
2268
|
+
"inheritedFrom": {
|
|
2269
|
+
"name": "ComboBoxScrollToIndexMixin",
|
|
2270
|
+
"module": "src/vaadin-combo-box-scroll-to-index-mixin.js"
|
|
2271
|
+
}
|
|
2272
|
+
},
|
|
1807
2273
|
{
|
|
1808
2274
|
"kind": "field",
|
|
1809
2275
|
"name": "selectedItem",
|
|
@@ -1845,6 +2311,34 @@
|
|
|
1845
2311
|
"name": "InputControlMixin",
|
|
1846
2312
|
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
1847
2313
|
}
|
|
2314
|
+
},
|
|
2315
|
+
{
|
|
2316
|
+
"kind": "method",
|
|
2317
|
+
"name": "validate",
|
|
2318
|
+
"description": "Validates the field and sets the `invalid` property based on the result.\n\nThe method fires a `validated` event with the result of the validation.",
|
|
2319
|
+
"return": {
|
|
2320
|
+
"type": {
|
|
2321
|
+
"text": "boolean"
|
|
2322
|
+
}
|
|
2323
|
+
},
|
|
2324
|
+
"inheritedFrom": {
|
|
2325
|
+
"name": "ValidateMixin",
|
|
2326
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
2327
|
+
}
|
|
2328
|
+
},
|
|
2329
|
+
{
|
|
2330
|
+
"kind": "field",
|
|
2331
|
+
"name": "value",
|
|
2332
|
+
"privacy": "public",
|
|
2333
|
+
"type": {
|
|
2334
|
+
"text": "string"
|
|
2335
|
+
},
|
|
2336
|
+
"description": "The value of the field.",
|
|
2337
|
+
"attribute": "value",
|
|
2338
|
+
"inheritedFrom": {
|
|
2339
|
+
"name": "InputMixin",
|
|
2340
|
+
"package": "@vaadin/field-base/src/input-mixin.js"
|
|
2341
|
+
}
|
|
1848
2342
|
}
|
|
1849
2343
|
],
|
|
1850
2344
|
"events": [
|
|
@@ -1855,8 +2349,8 @@
|
|
|
1855
2349
|
},
|
|
1856
2350
|
"description": "Fired when the user commits a value change.",
|
|
1857
2351
|
"inheritedFrom": {
|
|
1858
|
-
"name": "
|
|
1859
|
-
"
|
|
2352
|
+
"name": "InputConstraintsMixin",
|
|
2353
|
+
"package": "@vaadin/field-base/src/input-constraints-mixin.js"
|
|
1860
2354
|
}
|
|
1861
2355
|
},
|
|
1862
2356
|
{
|
|
@@ -1899,6 +2393,7 @@
|
|
|
1899
2393
|
"type": {
|
|
1900
2394
|
"text": "CustomEvent"
|
|
1901
2395
|
},
|
|
2396
|
+
"description": "Fired after the `vaadin-combo-box-overlay` closes.",
|
|
1902
2397
|
"inheritedFrom": {
|
|
1903
2398
|
"name": "ComboBoxMixin",
|
|
1904
2399
|
"module": "src/vaadin-combo-box-mixin.js"
|
|
@@ -1909,17 +2404,22 @@
|
|
|
1909
2404
|
"type": {
|
|
1910
2405
|
"text": "CustomEvent"
|
|
1911
2406
|
},
|
|
2407
|
+
"description": "Fired after the `vaadin-combo-box-overlay` opens.",
|
|
1912
2408
|
"inheritedFrom": {
|
|
1913
2409
|
"name": "ComboBoxMixin",
|
|
1914
2410
|
"module": "src/vaadin-combo-box-mixin.js"
|
|
1915
2411
|
}
|
|
1916
2412
|
},
|
|
1917
2413
|
{
|
|
2414
|
+
"name": "validated",
|
|
1918
2415
|
"type": {
|
|
1919
2416
|
"text": "CustomEvent"
|
|
1920
2417
|
},
|
|
1921
2418
|
"description": "Fired whenever the field is validated.",
|
|
1922
|
-
"
|
|
2419
|
+
"inheritedFrom": {
|
|
2420
|
+
"name": "ValidateMixin",
|
|
2421
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
2422
|
+
}
|
|
1923
2423
|
},
|
|
1924
2424
|
{
|
|
1925
2425
|
"type": {
|
|
@@ -1990,6 +2490,18 @@
|
|
|
1990
2490
|
"module": "src/vaadin-combo-box-base-mixin.js"
|
|
1991
2491
|
}
|
|
1992
2492
|
},
|
|
2493
|
+
{
|
|
2494
|
+
"name": "autofocus",
|
|
2495
|
+
"type": {
|
|
2496
|
+
"text": "boolean"
|
|
2497
|
+
},
|
|
2498
|
+
"description": "Specify that this control should have input focus when the page loads.",
|
|
2499
|
+
"fieldName": "autofocus",
|
|
2500
|
+
"inheritedFrom": {
|
|
2501
|
+
"name": "DelegateFocusMixin",
|
|
2502
|
+
"package": "@vaadin/a11y-base/src/delegate-focus-mixin.js"
|
|
2503
|
+
}
|
|
2504
|
+
},
|
|
1993
2505
|
{
|
|
1994
2506
|
"name": "autoselect",
|
|
1995
2507
|
"type": {
|
|
@@ -2026,6 +2538,18 @@
|
|
|
2026
2538
|
"module": "src/vaadin-combo-box-data-provider-mixin.js"
|
|
2027
2539
|
}
|
|
2028
2540
|
},
|
|
2541
|
+
{
|
|
2542
|
+
"name": "disabled",
|
|
2543
|
+
"type": {
|
|
2544
|
+
"text": "boolean"
|
|
2545
|
+
},
|
|
2546
|
+
"description": "If true, the user cannot interact with this element.",
|
|
2547
|
+
"fieldName": "disabled",
|
|
2548
|
+
"inheritedFrom": {
|
|
2549
|
+
"name": "DisabledMixin",
|
|
2550
|
+
"package": "@vaadin/a11y-base/src/disabled-mixin.js"
|
|
2551
|
+
}
|
|
2552
|
+
},
|
|
2029
2553
|
{
|
|
2030
2554
|
"name": "error-message",
|
|
2031
2555
|
"type": {
|
|
@@ -2062,6 +2586,18 @@
|
|
|
2062
2586
|
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
2063
2587
|
}
|
|
2064
2588
|
},
|
|
2589
|
+
{
|
|
2590
|
+
"name": "invalid",
|
|
2591
|
+
"type": {
|
|
2592
|
+
"text": "boolean"
|
|
2593
|
+
},
|
|
2594
|
+
"description": "Set to true when the field is invalid.",
|
|
2595
|
+
"fieldName": "invalid",
|
|
2596
|
+
"inheritedFrom": {
|
|
2597
|
+
"name": "ValidateMixin",
|
|
2598
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
2599
|
+
}
|
|
2600
|
+
},
|
|
2065
2601
|
{
|
|
2066
2602
|
"name": "item-id-path",
|
|
2067
2603
|
"type": {
|
|
@@ -2098,6 +2634,18 @@
|
|
|
2098
2634
|
"module": "src/vaadin-combo-box-items-mixin.js"
|
|
2099
2635
|
}
|
|
2100
2636
|
},
|
|
2637
|
+
{
|
|
2638
|
+
"name": "label",
|
|
2639
|
+
"type": {
|
|
2640
|
+
"text": "string"
|
|
2641
|
+
},
|
|
2642
|
+
"description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
|
|
2643
|
+
"fieldName": "label",
|
|
2644
|
+
"inheritedFrom": {
|
|
2645
|
+
"name": "LabelMixin",
|
|
2646
|
+
"package": "@vaadin/field-base/src/label-mixin.js"
|
|
2647
|
+
}
|
|
2648
|
+
},
|
|
2101
2649
|
{
|
|
2102
2650
|
"name": "loading",
|
|
2103
2651
|
"type": {
|
|
@@ -2110,6 +2658,18 @@
|
|
|
2110
2658
|
"module": "src/vaadin-combo-box-mixin.js"
|
|
2111
2659
|
}
|
|
2112
2660
|
},
|
|
2661
|
+
{
|
|
2662
|
+
"name": "manual-validation",
|
|
2663
|
+
"type": {
|
|
2664
|
+
"text": "boolean"
|
|
2665
|
+
},
|
|
2666
|
+
"description": "Set to true to enable manual validation mode. This mode disables automatic\nconstraint validation, allowing you to control the validation process yourself.\nYou can still trigger constraint validation manually with the `validate()` method\nor use `checkValidity()` to assess the component's validity without affecting\nthe invalid state. In manual validation mode, you can also manipulate\nthe `invalid` property directly through your application logic without conflicts\nwith the component's internal validation.",
|
|
2667
|
+
"fieldName": "manualValidation",
|
|
2668
|
+
"inheritedFrom": {
|
|
2669
|
+
"name": "ValidateMixin",
|
|
2670
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
2671
|
+
}
|
|
2672
|
+
},
|
|
2113
2673
|
{
|
|
2114
2674
|
"name": "name",
|
|
2115
2675
|
"type": {
|
|
@@ -2194,6 +2754,18 @@
|
|
|
2194
2754
|
"module": "src/vaadin-combo-box-mixin.js"
|
|
2195
2755
|
}
|
|
2196
2756
|
},
|
|
2757
|
+
{
|
|
2758
|
+
"name": "required",
|
|
2759
|
+
"type": {
|
|
2760
|
+
"text": "boolean"
|
|
2761
|
+
},
|
|
2762
|
+
"description": "Specifies that the user must fill in a value.",
|
|
2763
|
+
"fieldName": "required",
|
|
2764
|
+
"inheritedFrom": {
|
|
2765
|
+
"name": "ValidateMixin",
|
|
2766
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
2767
|
+
}
|
|
2768
|
+
},
|
|
2197
2769
|
{
|
|
2198
2770
|
"name": "selected-item",
|
|
2199
2771
|
"type": {
|
|
@@ -2229,9 +2801,25 @@
|
|
|
2229
2801
|
"name": "InputControlMixin",
|
|
2230
2802
|
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
2231
2803
|
}
|
|
2804
|
+
},
|
|
2805
|
+
{
|
|
2806
|
+
"name": "value",
|
|
2807
|
+
"type": {
|
|
2808
|
+
"text": "string"
|
|
2809
|
+
},
|
|
2810
|
+
"description": "The value of the field.",
|
|
2811
|
+
"fieldName": "value",
|
|
2812
|
+
"inheritedFrom": {
|
|
2813
|
+
"name": "InputMixin",
|
|
2814
|
+
"package": "@vaadin/field-base/src/input-mixin.js"
|
|
2815
|
+
}
|
|
2232
2816
|
}
|
|
2233
2817
|
],
|
|
2234
2818
|
"mixins": [
|
|
2819
|
+
{
|
|
2820
|
+
"name": "ComboBoxScrollToIndexMixin",
|
|
2821
|
+
"module": "src/vaadin-combo-box-scroll-to-index-mixin.js"
|
|
2822
|
+
},
|
|
2235
2823
|
{
|
|
2236
2824
|
"name": "ComboBoxDataProviderMixin",
|
|
2237
2825
|
"module": "src/vaadin-combo-box-data-provider-mixin.js"
|