@vaadin/multi-select-combo-box 25.4.0-alpha3 → 25.4.0-alpha5
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 +75 -253
- package/package.json +15 -15
- package/src/styles/vaadin-multi-select-combo-box-base-styles.js +5 -2
- package/web-types.json +14 -14
- package/web-types.lit.json +9 -9
package/custom-elements.json
CHANGED
|
@@ -196,20 +196,12 @@
|
|
|
196
196
|
"type": {
|
|
197
197
|
"text": "boolean"
|
|
198
198
|
}
|
|
199
|
-
},
|
|
200
|
-
"inheritedFrom": {
|
|
201
|
-
"name": "FieldMixin",
|
|
202
|
-
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
203
199
|
}
|
|
204
200
|
},
|
|
205
201
|
{
|
|
206
202
|
"kind": "method",
|
|
207
203
|
"name": "clear",
|
|
208
|
-
"description": "Clears the selected items."
|
|
209
|
-
"inheritedFrom": {
|
|
210
|
-
"name": "ClearButtonMixin",
|
|
211
|
-
"package": "@vaadin/field-base/src/clear-button-mixin.js"
|
|
212
|
-
}
|
|
204
|
+
"description": "Clears the selected items."
|
|
213
205
|
},
|
|
214
206
|
{
|
|
215
207
|
"kind": "field",
|
|
@@ -228,11 +220,7 @@
|
|
|
228
220
|
{
|
|
229
221
|
"kind": "method",
|
|
230
222
|
"name": "clearCache",
|
|
231
|
-
"description": "Clears the cached pages and reloads data from data provider when needed."
|
|
232
|
-
"inheritedFrom": {
|
|
233
|
-
"name": "ComboBoxDataProviderMixin",
|
|
234
|
-
"package": "@vaadin/combo-box/src/vaadin-combo-box-data-provider-mixin.js"
|
|
235
|
-
}
|
|
223
|
+
"description": "Clears the cached pages and reloads data from data provider when needed."
|
|
236
224
|
},
|
|
237
225
|
{
|
|
238
226
|
"kind": "method",
|
|
@@ -261,7 +249,6 @@
|
|
|
261
249
|
"text": "ComboBoxDataProvider | undefined"
|
|
262
250
|
},
|
|
263
251
|
"description": "Function that provides items lazily. Receives arguments `params`, `callback`\n\n`params.page` Requested page index\n\n`params.pageSize` Current page size\n\n`params.filter` Currently applied filter\n\n`callback(items, size)` Callback function with arguments:\n - `items` Current page of items\n - `size` Total number of items.",
|
|
264
|
-
"attribute": "data-provider",
|
|
265
252
|
"inheritedFrom": {
|
|
266
253
|
"name": "ComboBoxDataProviderMixin",
|
|
267
254
|
"package": "@vaadin/combo-box/src/vaadin-combo-box-data-provider-mixin.js"
|
|
@@ -277,8 +264,8 @@
|
|
|
277
264
|
"description": "If true, the user cannot interact with this element.",
|
|
278
265
|
"attribute": "disabled",
|
|
279
266
|
"inheritedFrom": {
|
|
280
|
-
"name": "
|
|
281
|
-
"package": "@vaadin/a11y-base/src/
|
|
267
|
+
"name": "DisabledMixin",
|
|
268
|
+
"package": "@vaadin/a11y-base/src/disabled-mixin.js"
|
|
282
269
|
}
|
|
283
270
|
},
|
|
284
271
|
{
|
|
@@ -317,7 +304,6 @@
|
|
|
317
304
|
"text": "!Array<!ComboBoxItem | string> | undefined"
|
|
318
305
|
},
|
|
319
306
|
"description": "A subset of items, filtered based on the user input. Filtered items\ncan be assigned directly to omit the internal filtering functionality.\nThe items can be of either `String` or `Object` type.",
|
|
320
|
-
"attribute": "filtered-items",
|
|
321
307
|
"inheritedFrom": {
|
|
322
308
|
"name": "ComboBoxItemsMixin",
|
|
323
309
|
"package": "@vaadin/combo-box/src/vaadin-combo-box-items-mixin.js"
|
|
@@ -340,16 +326,11 @@
|
|
|
340
326
|
{
|
|
341
327
|
"kind": "field",
|
|
342
328
|
"name": "i18n",
|
|
343
|
-
"
|
|
329
|
+
"description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nThe object has the following JSON structure and default values:\n```js\n{\n // Screen reader announcement on clear button click.\n cleared: 'Selection cleared',\n // Screen reader announcement when a chip is focused.\n focused: ' focused. Press Backspace to remove',\n // Screen reader announcement when item is selected.\n selected: 'added to selection',\n // Screen reader announcement when item is deselected.\n deselected: 'removed from selection',\n // Screen reader announcement of the selected items count.\n // {count} is replaced with the actual count of items.\n total: '{count} items selected',\n // Text of the select all button when no filter is set.\n selectAll: 'Select All',\n // Text of the select all button when no filter is set\n // and all items are selected.\n deselectAll: 'Deselect All',\n // Text of the select all button when a filter is set.\n selectFiltered: 'Select Filtered',\n // Text of the select all button when a filter is set\n // and all items matching the filter are selected.\n deselectFiltered: 'Deselect Filtered',\n}\n```",
|
|
344
330
|
"type": {
|
|
345
|
-
"text": "
|
|
331
|
+
"text": "MultiSelectComboBoxI18n | undefined"
|
|
346
332
|
},
|
|
347
|
-
"
|
|
348
|
-
"attribute": "i18n",
|
|
349
|
-
"inheritedFrom": {
|
|
350
|
-
"name": "I18nMixin",
|
|
351
|
-
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
352
|
-
}
|
|
333
|
+
"privacy": "public"
|
|
353
334
|
},
|
|
354
335
|
{
|
|
355
336
|
"kind": "field",
|
|
@@ -361,8 +342,8 @@
|
|
|
361
342
|
"description": "Set to true when the field is invalid.",
|
|
362
343
|
"attribute": "invalid",
|
|
363
344
|
"inheritedFrom": {
|
|
364
|
-
"name": "
|
|
365
|
-
"package": "@vaadin/field-base/src/
|
|
345
|
+
"name": "ValidateMixin",
|
|
346
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
366
347
|
}
|
|
367
348
|
},
|
|
368
349
|
{
|
|
@@ -372,8 +353,7 @@
|
|
|
372
353
|
"type": {
|
|
373
354
|
"text": "object"
|
|
374
355
|
},
|
|
375
|
-
"description": "A function used to generate CSS class names for dropdown\nitems and selected chips based on the item. The return\nvalue should be the generated class name as a string, or\nmultiple class names separated by whitespace characters."
|
|
376
|
-
"attribute": "item-class-name-generator"
|
|
356
|
+
"description": "A function used to generate CSS class names for dropdown\nitems and selected chips based on the item. The return\nvalue should be the generated class name as a string, or\nmultiple class names separated by whitespace characters."
|
|
377
357
|
},
|
|
378
358
|
{
|
|
379
359
|
"kind": "field",
|
|
@@ -397,7 +377,6 @@
|
|
|
397
377
|
"text": "object"
|
|
398
378
|
},
|
|
399
379
|
"description": "A function that is used to generate the label for dropdown\nitems based on the item. Receives one argument:\n- `item` The item to generate the label for.",
|
|
400
|
-
"attribute": "item-label-generator",
|
|
401
380
|
"inheritedFrom": {
|
|
402
381
|
"name": "ComboBoxItemsMixin",
|
|
403
382
|
"package": "@vaadin/combo-box/src/vaadin-combo-box-items-mixin.js"
|
|
@@ -425,7 +404,6 @@
|
|
|
425
404
|
"text": "!Array<!ComboBoxItem | string> | undefined"
|
|
426
405
|
},
|
|
427
406
|
"description": "A full set of items to filter the visible options from.\nThe items can be of either `String` or `Object` type.",
|
|
428
|
-
"attribute": "items",
|
|
429
407
|
"inheritedFrom": {
|
|
430
408
|
"name": "ComboBoxItemsMixin",
|
|
431
409
|
"package": "@vaadin/combo-box/src/vaadin-combo-box-items-mixin.js"
|
|
@@ -465,8 +443,8 @@
|
|
|
465
443
|
"description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
|
|
466
444
|
"attribute": "label",
|
|
467
445
|
"inheritedFrom": {
|
|
468
|
-
"name": "
|
|
469
|
-
"package": "@vaadin/field-base/src/
|
|
446
|
+
"name": "LabelMixin",
|
|
447
|
+
"package": "@vaadin/field-base/src/label-mixin.js"
|
|
470
448
|
}
|
|
471
449
|
},
|
|
472
450
|
{
|
|
@@ -489,8 +467,8 @@
|
|
|
489
467
|
"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.",
|
|
490
468
|
"attribute": "manual-validation",
|
|
491
469
|
"inheritedFrom": {
|
|
492
|
-
"name": "
|
|
493
|
-
"package": "@vaadin/field-base/src/
|
|
470
|
+
"name": "ValidateMixin",
|
|
471
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
494
472
|
}
|
|
495
473
|
},
|
|
496
474
|
{
|
|
@@ -510,11 +488,7 @@
|
|
|
510
488
|
{
|
|
511
489
|
"kind": "method",
|
|
512
490
|
"name": "open",
|
|
513
|
-
"description": "Opens the dropdown list."
|
|
514
|
-
"inheritedFrom": {
|
|
515
|
-
"name": "ComboBoxBaseMixin",
|
|
516
|
-
"package": "@vaadin/combo-box/src/vaadin-combo-box-base-mixin.js"
|
|
517
|
-
}
|
|
491
|
+
"description": "Opens the dropdown list."
|
|
518
492
|
},
|
|
519
493
|
{
|
|
520
494
|
"kind": "field",
|
|
@@ -566,11 +540,7 @@
|
|
|
566
540
|
"text": "string"
|
|
567
541
|
},
|
|
568
542
|
"description": "A hint to the user of what can be entered in the control.\nThe placeholder will be only displayed in the case when\nthere is no item selected.",
|
|
569
|
-
"attribute": "placeholder"
|
|
570
|
-
"inheritedFrom": {
|
|
571
|
-
"name": "InputControlMixin",
|
|
572
|
-
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
573
|
-
}
|
|
543
|
+
"attribute": "placeholder"
|
|
574
544
|
},
|
|
575
545
|
{
|
|
576
546
|
"kind": "field",
|
|
@@ -580,11 +550,7 @@
|
|
|
580
550
|
"text": "boolean"
|
|
581
551
|
},
|
|
582
552
|
"description": "When present, it specifies that the field is read-only.",
|
|
583
|
-
"attribute": "readonly"
|
|
584
|
-
"inheritedFrom": {
|
|
585
|
-
"name": "InputControlMixin",
|
|
586
|
-
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
587
|
-
}
|
|
553
|
+
"attribute": "readonly"
|
|
588
554
|
},
|
|
589
555
|
{
|
|
590
556
|
"kind": "field",
|
|
@@ -593,8 +559,7 @@
|
|
|
593
559
|
"type": {
|
|
594
560
|
"text": "function"
|
|
595
561
|
},
|
|
596
|
-
"description": "Custom function for rendering the content of every item.\nReceives three arguments:\n\n- `root` The `<vaadin-multi-select-combo-box-item>` internal container DOM element.\n- `comboBox` The reference to the `<vaadin-multi-select-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."
|
|
597
|
-
"attribute": "renderer"
|
|
562
|
+
"description": "Custom function for rendering the content of every item.\nReceives three arguments:\n\n- `root` The `<vaadin-multi-select-combo-box-item>` internal container DOM element.\n- `comboBox` The reference to the `<vaadin-multi-select-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."
|
|
598
563
|
},
|
|
599
564
|
{
|
|
600
565
|
"kind": "method",
|
|
@@ -615,8 +580,8 @@
|
|
|
615
580
|
"description": "Specifies that the user must fill in a value.",
|
|
616
581
|
"attribute": "required",
|
|
617
582
|
"inheritedFrom": {
|
|
618
|
-
"name": "
|
|
619
|
-
"package": "@vaadin/field-base/src/
|
|
583
|
+
"name": "ValidateMixin",
|
|
584
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
620
585
|
}
|
|
621
586
|
},
|
|
622
587
|
{
|
|
@@ -640,8 +605,7 @@
|
|
|
640
605
|
"type": {
|
|
641
606
|
"text": "array"
|
|
642
607
|
},
|
|
643
|
-
"description": "The list of selected items.\nNote: modifying the selected items creates a new array each time."
|
|
644
|
-
"attribute": "selected-items"
|
|
608
|
+
"description": "The list of selected items.\nNote: modifying the selected items creates a new array each time."
|
|
645
609
|
},
|
|
646
610
|
{
|
|
647
611
|
"kind": "field",
|
|
@@ -691,22 +655,8 @@
|
|
|
691
655
|
}
|
|
692
656
|
},
|
|
693
657
|
"inheritedFrom": {
|
|
694
|
-
"name": "
|
|
695
|
-
"package": "@vaadin/field-base/src/
|
|
696
|
-
}
|
|
697
|
-
},
|
|
698
|
-
{
|
|
699
|
-
"kind": "field",
|
|
700
|
-
"name": "value",
|
|
701
|
-
"privacy": "public",
|
|
702
|
-
"type": {
|
|
703
|
-
"text": "string"
|
|
704
|
-
},
|
|
705
|
-
"description": "The value of the field.",
|
|
706
|
-
"attribute": "value",
|
|
707
|
-
"inheritedFrom": {
|
|
708
|
-
"name": "ClearButtonMixin",
|
|
709
|
-
"package": "@vaadin/field-base/src/clear-button-mixin.js"
|
|
658
|
+
"name": "ValidateMixin",
|
|
659
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
710
660
|
}
|
|
711
661
|
}
|
|
712
662
|
],
|
|
@@ -715,10 +665,6 @@
|
|
|
715
665
|
"name": "change",
|
|
716
666
|
"type": {
|
|
717
667
|
"text": "CustomEvent"
|
|
718
|
-
},
|
|
719
|
-
"inheritedFrom": {
|
|
720
|
-
"name": "InputConstraintsMixin",
|
|
721
|
-
"package": "@vaadin/field-base/src/input-constraints-mixin.js"
|
|
722
668
|
}
|
|
723
669
|
},
|
|
724
670
|
{
|
|
@@ -733,8 +679,8 @@
|
|
|
733
679
|
"text": "CustomEvent"
|
|
734
680
|
},
|
|
735
681
|
"inheritedFrom": {
|
|
736
|
-
"name": "
|
|
737
|
-
"package": "@vaadin/field-base/src/
|
|
682
|
+
"name": "ValidateMixin",
|
|
683
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
738
684
|
}
|
|
739
685
|
}
|
|
740
686
|
],
|
|
@@ -867,18 +813,6 @@
|
|
|
867
813
|
"description": "Set to true to collapse all selected items chips into the overflow\nchip when they don't all fit, instead of showing as many as possible.\nHas no effect when `autoExpandVertically` is true.",
|
|
868
814
|
"fieldName": "collapseChips"
|
|
869
815
|
},
|
|
870
|
-
{
|
|
871
|
-
"name": "data-provider",
|
|
872
|
-
"type": {
|
|
873
|
-
"text": "ComboBoxDataProvider | undefined"
|
|
874
|
-
},
|
|
875
|
-
"description": "Function that provides items lazily. Receives arguments `params`, `callback`\n\n`params.page` Requested page index\n\n`params.pageSize` Current page size\n\n`params.filter` Currently applied filter\n\n`callback(items, size)` Callback function with arguments:\n - `items` Current page of items\n - `size` Total number of items.",
|
|
876
|
-
"fieldName": "dataProvider",
|
|
877
|
-
"inheritedFrom": {
|
|
878
|
-
"name": "ComboBoxDataProviderMixin",
|
|
879
|
-
"package": "@vaadin/combo-box/src/vaadin-combo-box-data-provider-mixin.js"
|
|
880
|
-
}
|
|
881
|
-
},
|
|
882
816
|
{
|
|
883
817
|
"name": "disabled",
|
|
884
818
|
"type": {
|
|
@@ -887,8 +821,8 @@
|
|
|
887
821
|
"description": "If true, the user cannot interact with this element.",
|
|
888
822
|
"fieldName": "disabled",
|
|
889
823
|
"inheritedFrom": {
|
|
890
|
-
"name": "
|
|
891
|
-
"package": "@vaadin/a11y-base/src/
|
|
824
|
+
"name": "DisabledMixin",
|
|
825
|
+
"package": "@vaadin/a11y-base/src/disabled-mixin.js"
|
|
892
826
|
}
|
|
893
827
|
},
|
|
894
828
|
{
|
|
@@ -927,18 +861,6 @@
|
|
|
927
861
|
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
928
862
|
}
|
|
929
863
|
},
|
|
930
|
-
{
|
|
931
|
-
"name": "i18n",
|
|
932
|
-
"type": {
|
|
933
|
-
"text": "Object | undefined"
|
|
934
|
-
},
|
|
935
|
-
"description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nShould be overridden by subclasses to provide a custom JSDoc with the\ndefault I18N properties.",
|
|
936
|
-
"fieldName": "i18n",
|
|
937
|
-
"inheritedFrom": {
|
|
938
|
-
"name": "I18nMixin",
|
|
939
|
-
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
940
|
-
}
|
|
941
|
-
},
|
|
942
864
|
{
|
|
943
865
|
"name": "invalid",
|
|
944
866
|
"type": {
|
|
@@ -947,8 +869,8 @@
|
|
|
947
869
|
"description": "Set to true when the field is invalid.",
|
|
948
870
|
"fieldName": "invalid",
|
|
949
871
|
"inheritedFrom": {
|
|
950
|
-
"name": "
|
|
951
|
-
"package": "@vaadin/field-base/src/
|
|
872
|
+
"name": "ValidateMixin",
|
|
873
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
952
874
|
}
|
|
953
875
|
},
|
|
954
876
|
{
|
|
@@ -1003,8 +925,8 @@
|
|
|
1003
925
|
"description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
|
|
1004
926
|
"fieldName": "label",
|
|
1005
927
|
"inheritedFrom": {
|
|
1006
|
-
"name": "
|
|
1007
|
-
"package": "@vaadin/field-base/src/
|
|
928
|
+
"name": "LabelMixin",
|
|
929
|
+
"package": "@vaadin/field-base/src/label-mixin.js"
|
|
1008
930
|
}
|
|
1009
931
|
},
|
|
1010
932
|
{
|
|
@@ -1023,8 +945,8 @@
|
|
|
1023
945
|
"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.",
|
|
1024
946
|
"fieldName": "manualValidation",
|
|
1025
947
|
"inheritedFrom": {
|
|
1026
|
-
"name": "
|
|
1027
|
-
"package": "@vaadin/field-base/src/
|
|
948
|
+
"name": "ValidateMixin",
|
|
949
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
1028
950
|
}
|
|
1029
951
|
},
|
|
1030
952
|
{
|
|
@@ -1081,11 +1003,7 @@
|
|
|
1081
1003
|
"text": "string"
|
|
1082
1004
|
},
|
|
1083
1005
|
"description": "A hint to the user of what can be entered in the control.\nThe placeholder will be only displayed in the case when\nthere is no item selected.",
|
|
1084
|
-
"fieldName": "placeholder"
|
|
1085
|
-
"inheritedFrom": {
|
|
1086
|
-
"name": "InputControlMixin",
|
|
1087
|
-
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
1088
|
-
}
|
|
1006
|
+
"fieldName": "placeholder"
|
|
1089
1007
|
},
|
|
1090
1008
|
{
|
|
1091
1009
|
"name": "readonly",
|
|
@@ -1093,19 +1011,7 @@
|
|
|
1093
1011
|
"text": "boolean"
|
|
1094
1012
|
},
|
|
1095
1013
|
"description": "When present, it specifies that the field is read-only.",
|
|
1096
|
-
"fieldName": "readonly"
|
|
1097
|
-
"inheritedFrom": {
|
|
1098
|
-
"name": "InputControlMixin",
|
|
1099
|
-
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
1100
|
-
}
|
|
1101
|
-
},
|
|
1102
|
-
{
|
|
1103
|
-
"name": "renderer",
|
|
1104
|
-
"type": {
|
|
1105
|
-
"text": "function"
|
|
1106
|
-
},
|
|
1107
|
-
"description": "Custom function for rendering the content of every item.\nReceives three arguments:\n\n- `root` The `<vaadin-multi-select-combo-box-item>` internal container DOM element.\n- `comboBox` The reference to the `<vaadin-multi-select-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.",
|
|
1108
|
-
"fieldName": "renderer"
|
|
1014
|
+
"fieldName": "readonly"
|
|
1109
1015
|
},
|
|
1110
1016
|
{
|
|
1111
1017
|
"name": "required",
|
|
@@ -1115,8 +1021,8 @@
|
|
|
1115
1021
|
"description": "Specifies that the user must fill in a value.",
|
|
1116
1022
|
"fieldName": "required",
|
|
1117
1023
|
"inheritedFrom": {
|
|
1118
|
-
"name": "
|
|
1119
|
-
"package": "@vaadin/field-base/src/
|
|
1024
|
+
"name": "ValidateMixin",
|
|
1025
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
1120
1026
|
}
|
|
1121
1027
|
},
|
|
1122
1028
|
{
|
|
@@ -1131,14 +1037,6 @@
|
|
|
1131
1037
|
"module": "src/vaadin-multi-select-combo-box-select-all-mixin.js"
|
|
1132
1038
|
}
|
|
1133
1039
|
},
|
|
1134
|
-
{
|
|
1135
|
-
"name": "selected-items",
|
|
1136
|
-
"type": {
|
|
1137
|
-
"text": "array"
|
|
1138
|
-
},
|
|
1139
|
-
"description": "The list of selected items.\nNote: modifying the selected items creates a new array each time.",
|
|
1140
|
-
"fieldName": "selectedItems"
|
|
1141
|
-
},
|
|
1142
1040
|
{
|
|
1143
1041
|
"name": "selected-items-on-top",
|
|
1144
1042
|
"type": {
|
|
@@ -1170,18 +1068,6 @@
|
|
|
1170
1068
|
"name": "InputControlMixin",
|
|
1171
1069
|
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
1172
1070
|
}
|
|
1173
|
-
},
|
|
1174
|
-
{
|
|
1175
|
-
"name": "value",
|
|
1176
|
-
"type": {
|
|
1177
|
-
"text": "string"
|
|
1178
|
-
},
|
|
1179
|
-
"description": "The value of the field.",
|
|
1180
|
-
"fieldName": "value",
|
|
1181
|
-
"inheritedFrom": {
|
|
1182
|
-
"name": "ClearButtonMixin",
|
|
1183
|
-
"package": "@vaadin/field-base/src/clear-button-mixin.js"
|
|
1184
|
-
}
|
|
1185
1071
|
}
|
|
1186
1072
|
],
|
|
1187
1073
|
"mixins": [
|
|
@@ -1475,8 +1361,8 @@
|
|
|
1475
1361
|
"name": "clearCache",
|
|
1476
1362
|
"description": "Clears the cached pages and reloads data from data provider when needed.",
|
|
1477
1363
|
"inheritedFrom": {
|
|
1478
|
-
"name": "
|
|
1479
|
-
"
|
|
1364
|
+
"name": "MultiSelectComboBoxMixin",
|
|
1365
|
+
"module": "src/vaadin-multi-select-combo-box-mixin.js"
|
|
1480
1366
|
}
|
|
1481
1367
|
},
|
|
1482
1368
|
{
|
|
@@ -1510,7 +1396,6 @@
|
|
|
1510
1396
|
"text": "ComboBoxDataProvider | undefined"
|
|
1511
1397
|
},
|
|
1512
1398
|
"description": "Function that provides items lazily. Receives arguments `params`, `callback`\n\n`params.page` Requested page index\n\n`params.pageSize` Current page size\n\n`params.filter` Currently applied filter\n\n`callback(items, size)` Callback function with arguments:\n - `items` Current page of items\n - `size` Total number of items.",
|
|
1513
|
-
"attribute": "data-provider",
|
|
1514
1399
|
"inheritedFrom": {
|
|
1515
1400
|
"name": "ComboBoxDataProviderMixin",
|
|
1516
1401
|
"package": "@vaadin/combo-box/src/vaadin-combo-box-data-provider-mixin.js"
|
|
@@ -1526,8 +1411,8 @@
|
|
|
1526
1411
|
"description": "If true, the user cannot interact with this element.",
|
|
1527
1412
|
"attribute": "disabled",
|
|
1528
1413
|
"inheritedFrom": {
|
|
1529
|
-
"name": "
|
|
1530
|
-
"package": "@vaadin/a11y-base/src/
|
|
1414
|
+
"name": "DisabledMixin",
|
|
1415
|
+
"package": "@vaadin/a11y-base/src/disabled-mixin.js"
|
|
1531
1416
|
}
|
|
1532
1417
|
},
|
|
1533
1418
|
{
|
|
@@ -1566,7 +1451,6 @@
|
|
|
1566
1451
|
"text": "!Array<!ComboBoxItem | string> | undefined"
|
|
1567
1452
|
},
|
|
1568
1453
|
"description": "A subset of items, filtered based on the user input. Filtered items\ncan be assigned directly to omit the internal filtering functionality.\nThe items can be of either `String` or `Object` type.",
|
|
1569
|
-
"attribute": "filtered-items",
|
|
1570
1454
|
"inheritedFrom": {
|
|
1571
1455
|
"name": "ComboBoxItemsMixin",
|
|
1572
1456
|
"package": "@vaadin/combo-box/src/vaadin-combo-box-items-mixin.js"
|
|
@@ -1589,15 +1473,14 @@
|
|
|
1589
1473
|
{
|
|
1590
1474
|
"kind": "field",
|
|
1591
1475
|
"name": "i18n",
|
|
1592
|
-
"
|
|
1476
|
+
"description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nThe object has the following JSON structure and default values:\n```js\n{\n // Screen reader announcement on clear button click.\n cleared: 'Selection cleared',\n // Screen reader announcement when a chip is focused.\n focused: ' focused. Press Backspace to remove',\n // Screen reader announcement when item is selected.\n selected: 'added to selection',\n // Screen reader announcement when item is deselected.\n deselected: 'removed from selection',\n // Screen reader announcement of the selected items count.\n // {count} is replaced with the actual count of items.\n total: '{count} items selected',\n // Text of the select all button when no filter is set.\n selectAll: 'Select All',\n // Text of the select all button when no filter is set\n // and all items are selected.\n deselectAll: 'Deselect All',\n // Text of the select all button when a filter is set.\n selectFiltered: 'Select Filtered',\n // Text of the select all button when a filter is set\n // and all items matching the filter are selected.\n deselectFiltered: 'Deselect Filtered',\n}\n```",
|
|
1593
1477
|
"type": {
|
|
1594
|
-
"text": "
|
|
1478
|
+
"text": "MultiSelectComboBoxI18n | undefined"
|
|
1595
1479
|
},
|
|
1596
|
-
"
|
|
1597
|
-
"attribute": "i18n",
|
|
1480
|
+
"privacy": "public",
|
|
1598
1481
|
"inheritedFrom": {
|
|
1599
|
-
"name": "
|
|
1600
|
-
"
|
|
1482
|
+
"name": "MultiSelectComboBoxMixin",
|
|
1483
|
+
"module": "src/vaadin-multi-select-combo-box-mixin.js"
|
|
1601
1484
|
}
|
|
1602
1485
|
},
|
|
1603
1486
|
{
|
|
@@ -1610,8 +1493,8 @@
|
|
|
1610
1493
|
"description": "Set to true when the field is invalid.",
|
|
1611
1494
|
"attribute": "invalid",
|
|
1612
1495
|
"inheritedFrom": {
|
|
1613
|
-
"name": "
|
|
1614
|
-
"package": "@vaadin/field-base/src/
|
|
1496
|
+
"name": "ValidateMixin",
|
|
1497
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
1615
1498
|
}
|
|
1616
1499
|
},
|
|
1617
1500
|
{
|
|
@@ -1622,7 +1505,6 @@
|
|
|
1622
1505
|
"text": "object"
|
|
1623
1506
|
},
|
|
1624
1507
|
"description": "A function used to generate CSS class names for dropdown\nitems and selected chips based on the item. The return\nvalue should be the generated class name as a string, or\nmultiple class names separated by whitespace characters.",
|
|
1625
|
-
"attribute": "item-class-name-generator",
|
|
1626
1508
|
"inheritedFrom": {
|
|
1627
1509
|
"name": "MultiSelectComboBoxMixin",
|
|
1628
1510
|
"module": "src/vaadin-multi-select-combo-box-mixin.js"
|
|
@@ -1650,7 +1532,6 @@
|
|
|
1650
1532
|
"text": "object"
|
|
1651
1533
|
},
|
|
1652
1534
|
"description": "A function that is used to generate the label for dropdown\nitems based on the item. Receives one argument:\n- `item` The item to generate the label for.",
|
|
1653
|
-
"attribute": "item-label-generator",
|
|
1654
1535
|
"inheritedFrom": {
|
|
1655
1536
|
"name": "ComboBoxItemsMixin",
|
|
1656
1537
|
"package": "@vaadin/combo-box/src/vaadin-combo-box-items-mixin.js"
|
|
@@ -1678,7 +1559,6 @@
|
|
|
1678
1559
|
"text": "!Array<!ComboBoxItem | string> | undefined"
|
|
1679
1560
|
},
|
|
1680
1561
|
"description": "A full set of items to filter the visible options from.\nThe items can be of either `String` or `Object` type.",
|
|
1681
|
-
"attribute": "items",
|
|
1682
1562
|
"inheritedFrom": {
|
|
1683
1563
|
"name": "ComboBoxItemsMixin",
|
|
1684
1564
|
"package": "@vaadin/combo-box/src/vaadin-combo-box-items-mixin.js"
|
|
@@ -1722,8 +1602,8 @@
|
|
|
1722
1602
|
"description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
|
|
1723
1603
|
"attribute": "label",
|
|
1724
1604
|
"inheritedFrom": {
|
|
1725
|
-
"name": "
|
|
1726
|
-
"package": "@vaadin/field-base/src/
|
|
1605
|
+
"name": "LabelMixin",
|
|
1606
|
+
"package": "@vaadin/field-base/src/label-mixin.js"
|
|
1727
1607
|
}
|
|
1728
1608
|
},
|
|
1729
1609
|
{
|
|
@@ -1750,8 +1630,8 @@
|
|
|
1750
1630
|
"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.",
|
|
1751
1631
|
"attribute": "manual-validation",
|
|
1752
1632
|
"inheritedFrom": {
|
|
1753
|
-
"name": "
|
|
1754
|
-
"package": "@vaadin/field-base/src/
|
|
1633
|
+
"name": "ValidateMixin",
|
|
1634
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
1755
1635
|
}
|
|
1756
1636
|
},
|
|
1757
1637
|
{
|
|
@@ -1829,8 +1709,8 @@
|
|
|
1829
1709
|
"description": "A hint to the user of what can be entered in the control.\nThe placeholder will be only displayed in the case when\nthere is no item selected.",
|
|
1830
1710
|
"attribute": "placeholder",
|
|
1831
1711
|
"inheritedFrom": {
|
|
1832
|
-
"name": "
|
|
1833
|
-
"
|
|
1712
|
+
"name": "MultiSelectComboBoxMixin",
|
|
1713
|
+
"module": "src/vaadin-multi-select-combo-box-mixin.js"
|
|
1834
1714
|
}
|
|
1835
1715
|
},
|
|
1836
1716
|
{
|
|
@@ -1843,8 +1723,8 @@
|
|
|
1843
1723
|
"description": "When present, it specifies that the field is read-only.",
|
|
1844
1724
|
"attribute": "readonly",
|
|
1845
1725
|
"inheritedFrom": {
|
|
1846
|
-
"name": "
|
|
1847
|
-
"
|
|
1726
|
+
"name": "MultiSelectComboBoxMixin",
|
|
1727
|
+
"module": "src/vaadin-multi-select-combo-box-mixin.js"
|
|
1848
1728
|
}
|
|
1849
1729
|
},
|
|
1850
1730
|
{
|
|
@@ -1855,7 +1735,6 @@
|
|
|
1855
1735
|
"text": "function"
|
|
1856
1736
|
},
|
|
1857
1737
|
"description": "Custom function for rendering the content of every item.\nReceives three arguments:\n\n- `root` The `<vaadin-multi-select-combo-box-item>` internal container DOM element.\n- `comboBox` The reference to the `<vaadin-multi-select-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.",
|
|
1858
|
-
"attribute": "renderer",
|
|
1859
1738
|
"inheritedFrom": {
|
|
1860
1739
|
"name": "MultiSelectComboBoxMixin",
|
|
1861
1740
|
"module": "src/vaadin-multi-select-combo-box-mixin.js"
|
|
@@ -1880,8 +1759,8 @@
|
|
|
1880
1759
|
"description": "Specifies that the user must fill in a value.",
|
|
1881
1760
|
"attribute": "required",
|
|
1882
1761
|
"inheritedFrom": {
|
|
1883
|
-
"name": "
|
|
1884
|
-
"package": "@vaadin/field-base/src/
|
|
1762
|
+
"name": "ValidateMixin",
|
|
1763
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
1885
1764
|
}
|
|
1886
1765
|
},
|
|
1887
1766
|
{
|
|
@@ -1906,7 +1785,6 @@
|
|
|
1906
1785
|
"text": "array"
|
|
1907
1786
|
},
|
|
1908
1787
|
"description": "The list of selected items.\nNote: modifying the selected items creates a new array each time.",
|
|
1909
|
-
"attribute": "selected-items",
|
|
1910
1788
|
"inheritedFrom": {
|
|
1911
1789
|
"name": "MultiSelectComboBoxMixin",
|
|
1912
1790
|
"module": "src/vaadin-multi-select-combo-box-mixin.js"
|
|
@@ -1964,33 +1842,25 @@
|
|
|
1964
1842
|
}
|
|
1965
1843
|
},
|
|
1966
1844
|
"inheritedFrom": {
|
|
1967
|
-
"name": "
|
|
1968
|
-
"package": "@vaadin/field-base/src/
|
|
1845
|
+
"name": "ValidateMixin",
|
|
1846
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
1969
1847
|
}
|
|
1970
1848
|
}
|
|
1971
1849
|
],
|
|
1972
1850
|
"events": [
|
|
1973
1851
|
{
|
|
1974
|
-
"name": "change",
|
|
1975
1852
|
"type": {
|
|
1976
|
-
"text": "
|
|
1853
|
+
"text": "Event"
|
|
1977
1854
|
},
|
|
1978
1855
|
"description": "Fired when the user commits a value change.",
|
|
1979
|
-
"
|
|
1980
|
-
"name": "MultiSelectComboBoxMixin",
|
|
1981
|
-
"module": "src/vaadin-multi-select-combo-box-mixin.js"
|
|
1982
|
-
}
|
|
1856
|
+
"name": "change"
|
|
1983
1857
|
},
|
|
1984
1858
|
{
|
|
1985
|
-
"name": "custom-value-set",
|
|
1986
1859
|
"type": {
|
|
1987
1860
|
"text": "CustomEvent"
|
|
1988
1861
|
},
|
|
1989
1862
|
"description": "Fired when the user sets a custom value.",
|
|
1990
|
-
"
|
|
1991
|
-
"name": "MultiSelectComboBoxMixin",
|
|
1992
|
-
"module": "src/vaadin-multi-select-combo-box-mixin.js"
|
|
1993
|
-
}
|
|
1863
|
+
"name": "custom-value-set"
|
|
1994
1864
|
},
|
|
1995
1865
|
{
|
|
1996
1866
|
"type": {
|
|
@@ -2173,18 +2043,6 @@
|
|
|
2173
2043
|
"module": "src/vaadin-multi-select-combo-box-mixin.js"
|
|
2174
2044
|
}
|
|
2175
2045
|
},
|
|
2176
|
-
{
|
|
2177
|
-
"name": "data-provider",
|
|
2178
|
-
"type": {
|
|
2179
|
-
"text": "ComboBoxDataProvider | undefined"
|
|
2180
|
-
},
|
|
2181
|
-
"description": "Function that provides items lazily. Receives arguments `params`, `callback`\n\n`params.page` Requested page index\n\n`params.pageSize` Current page size\n\n`params.filter` Currently applied filter\n\n`callback(items, size)` Callback function with arguments:\n - `items` Current page of items\n - `size` Total number of items.",
|
|
2182
|
-
"fieldName": "dataProvider",
|
|
2183
|
-
"inheritedFrom": {
|
|
2184
|
-
"name": "ComboBoxDataProviderMixin",
|
|
2185
|
-
"package": "@vaadin/combo-box/src/vaadin-combo-box-data-provider-mixin.js"
|
|
2186
|
-
}
|
|
2187
|
-
},
|
|
2188
2046
|
{
|
|
2189
2047
|
"name": "disabled",
|
|
2190
2048
|
"type": {
|
|
@@ -2193,8 +2051,8 @@
|
|
|
2193
2051
|
"description": "If true, the user cannot interact with this element.",
|
|
2194
2052
|
"fieldName": "disabled",
|
|
2195
2053
|
"inheritedFrom": {
|
|
2196
|
-
"name": "
|
|
2197
|
-
"package": "@vaadin/a11y-base/src/
|
|
2054
|
+
"name": "DisabledMixin",
|
|
2055
|
+
"package": "@vaadin/a11y-base/src/disabled-mixin.js"
|
|
2198
2056
|
}
|
|
2199
2057
|
},
|
|
2200
2058
|
{
|
|
@@ -2233,18 +2091,6 @@
|
|
|
2233
2091
|
"package": "@vaadin/field-base/src/field-mixin.js"
|
|
2234
2092
|
}
|
|
2235
2093
|
},
|
|
2236
|
-
{
|
|
2237
|
-
"name": "i18n",
|
|
2238
|
-
"type": {
|
|
2239
|
-
"text": "Object | undefined"
|
|
2240
|
-
},
|
|
2241
|
-
"description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nShould be overridden by subclasses to provide a custom JSDoc with the\ndefault I18N properties.",
|
|
2242
|
-
"fieldName": "i18n",
|
|
2243
|
-
"inheritedFrom": {
|
|
2244
|
-
"name": "I18nMixin",
|
|
2245
|
-
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
2246
|
-
}
|
|
2247
|
-
},
|
|
2248
2094
|
{
|
|
2249
2095
|
"name": "invalid",
|
|
2250
2096
|
"type": {
|
|
@@ -2253,8 +2099,8 @@
|
|
|
2253
2099
|
"description": "Set to true when the field is invalid.",
|
|
2254
2100
|
"fieldName": "invalid",
|
|
2255
2101
|
"inheritedFrom": {
|
|
2256
|
-
"name": "
|
|
2257
|
-
"package": "@vaadin/field-base/src/
|
|
2102
|
+
"name": "ValidateMixin",
|
|
2103
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
2258
2104
|
}
|
|
2259
2105
|
},
|
|
2260
2106
|
{
|
|
@@ -2313,8 +2159,8 @@
|
|
|
2313
2159
|
"description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
|
|
2314
2160
|
"fieldName": "label",
|
|
2315
2161
|
"inheritedFrom": {
|
|
2316
|
-
"name": "
|
|
2317
|
-
"package": "@vaadin/field-base/src/
|
|
2162
|
+
"name": "LabelMixin",
|
|
2163
|
+
"package": "@vaadin/field-base/src/label-mixin.js"
|
|
2318
2164
|
}
|
|
2319
2165
|
},
|
|
2320
2166
|
{
|
|
@@ -2337,8 +2183,8 @@
|
|
|
2337
2183
|
"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.",
|
|
2338
2184
|
"fieldName": "manualValidation",
|
|
2339
2185
|
"inheritedFrom": {
|
|
2340
|
-
"name": "
|
|
2341
|
-
"package": "@vaadin/field-base/src/
|
|
2186
|
+
"name": "ValidateMixin",
|
|
2187
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
2342
2188
|
}
|
|
2343
2189
|
},
|
|
2344
2190
|
{
|
|
@@ -2397,8 +2243,8 @@
|
|
|
2397
2243
|
"description": "A hint to the user of what can be entered in the control.\nThe placeholder will be only displayed in the case when\nthere is no item selected.",
|
|
2398
2244
|
"fieldName": "placeholder",
|
|
2399
2245
|
"inheritedFrom": {
|
|
2400
|
-
"name": "
|
|
2401
|
-
"
|
|
2246
|
+
"name": "MultiSelectComboBoxMixin",
|
|
2247
|
+
"module": "src/vaadin-multi-select-combo-box-mixin.js"
|
|
2402
2248
|
}
|
|
2403
2249
|
},
|
|
2404
2250
|
{
|
|
@@ -2408,18 +2254,6 @@
|
|
|
2408
2254
|
},
|
|
2409
2255
|
"description": "When present, it specifies that the field is read-only.",
|
|
2410
2256
|
"fieldName": "readonly",
|
|
2411
|
-
"inheritedFrom": {
|
|
2412
|
-
"name": "InputControlMixin",
|
|
2413
|
-
"package": "@vaadin/field-base/src/input-control-mixin.js"
|
|
2414
|
-
}
|
|
2415
|
-
},
|
|
2416
|
-
{
|
|
2417
|
-
"name": "renderer",
|
|
2418
|
-
"type": {
|
|
2419
|
-
"text": "function"
|
|
2420
|
-
},
|
|
2421
|
-
"description": "Custom function for rendering the content of every item.\nReceives three arguments:\n\n- `root` The `<vaadin-multi-select-combo-box-item>` internal container DOM element.\n- `comboBox` The reference to the `<vaadin-multi-select-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.",
|
|
2422
|
-
"fieldName": "renderer",
|
|
2423
2257
|
"inheritedFrom": {
|
|
2424
2258
|
"name": "MultiSelectComboBoxMixin",
|
|
2425
2259
|
"module": "src/vaadin-multi-select-combo-box-mixin.js"
|
|
@@ -2433,8 +2267,8 @@
|
|
|
2433
2267
|
"description": "Specifies that the user must fill in a value.",
|
|
2434
2268
|
"fieldName": "required",
|
|
2435
2269
|
"inheritedFrom": {
|
|
2436
|
-
"name": "
|
|
2437
|
-
"package": "@vaadin/field-base/src/
|
|
2270
|
+
"name": "ValidateMixin",
|
|
2271
|
+
"package": "@vaadin/field-base/src/validate-mixin.js"
|
|
2438
2272
|
}
|
|
2439
2273
|
},
|
|
2440
2274
|
{
|
|
@@ -2449,18 +2283,6 @@
|
|
|
2449
2283
|
"module": "src/vaadin-multi-select-combo-box-select-all-mixin.js"
|
|
2450
2284
|
}
|
|
2451
2285
|
},
|
|
2452
|
-
{
|
|
2453
|
-
"name": "selected-items",
|
|
2454
|
-
"type": {
|
|
2455
|
-
"text": "array"
|
|
2456
|
-
},
|
|
2457
|
-
"description": "The list of selected items.\nNote: modifying the selected items creates a new array each time.",
|
|
2458
|
-
"fieldName": "selectedItems",
|
|
2459
|
-
"inheritedFrom": {
|
|
2460
|
-
"name": "MultiSelectComboBoxMixin",
|
|
2461
|
-
"module": "src/vaadin-multi-select-combo-box-mixin.js"
|
|
2462
|
-
}
|
|
2463
|
-
},
|
|
2464
2286
|
{
|
|
2465
2287
|
"name": "selected-items-on-top",
|
|
2466
2288
|
"type": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/multi-select-combo-box",
|
|
3
|
-
"version": "25.4.0-
|
|
3
|
+
"version": "25.4.0-alpha5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -37,23 +37,23 @@
|
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
40
|
-
"@vaadin/a11y-base": "25.4.0-
|
|
41
|
-
"@vaadin/combo-box": "25.4.0-
|
|
42
|
-
"@vaadin/component-base": "25.4.0-
|
|
43
|
-
"@vaadin/field-base": "25.4.0-
|
|
44
|
-
"@vaadin/input-container": "25.4.0-
|
|
45
|
-
"@vaadin/item": "25.4.0-
|
|
46
|
-
"@vaadin/lit-renderer": "25.4.0-
|
|
47
|
-
"@vaadin/overlay": "25.4.0-
|
|
48
|
-
"@vaadin/vaadin-themable-mixin": "25.4.0-
|
|
40
|
+
"@vaadin/a11y-base": "25.4.0-alpha5",
|
|
41
|
+
"@vaadin/combo-box": "25.4.0-alpha5",
|
|
42
|
+
"@vaadin/component-base": "25.4.0-alpha5",
|
|
43
|
+
"@vaadin/field-base": "25.4.0-alpha5",
|
|
44
|
+
"@vaadin/input-container": "25.4.0-alpha5",
|
|
45
|
+
"@vaadin/item": "25.4.0-alpha5",
|
|
46
|
+
"@vaadin/lit-renderer": "25.4.0-alpha5",
|
|
47
|
+
"@vaadin/overlay": "25.4.0-alpha5",
|
|
48
|
+
"@vaadin/vaadin-themable-mixin": "25.4.0-alpha5",
|
|
49
49
|
"lit": "^3.0.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@vaadin/aura": "25.4.0-
|
|
53
|
-
"@vaadin/chai-plugins": "25.4.0-
|
|
54
|
-
"@vaadin/test-runner-commands": "25.4.0-
|
|
52
|
+
"@vaadin/aura": "25.4.0-alpha5",
|
|
53
|
+
"@vaadin/chai-plugins": "25.4.0-alpha5",
|
|
54
|
+
"@vaadin/test-runner-commands": "25.4.0-alpha5",
|
|
55
55
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
56
|
-
"@vaadin/vaadin-lumo-styles": "25.4.0-
|
|
56
|
+
"@vaadin/vaadin-lumo-styles": "25.4.0-alpha5",
|
|
57
57
|
"sinon": "^22.0.0"
|
|
58
58
|
},
|
|
59
59
|
"customElements": "custom-elements.json",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"web-types.json",
|
|
62
62
|
"web-types.lit.json"
|
|
63
63
|
],
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "65e9c9e49c0a723b08ee91b9aae8b901e91a3597"
|
|
65
65
|
}
|
|
@@ -12,13 +12,16 @@ export const multiSelectComboBoxStyles = [
|
|
|
12
12
|
css`
|
|
13
13
|
:host {
|
|
14
14
|
max-width: 100%;
|
|
15
|
-
/* Content stays at the top, keep the default guide height */
|
|
16
|
-
--_field-input-height: var(--_field-input-default-height);
|
|
17
15
|
--_input-min-width: var(--vaadin-multi-select-combo-box-input-min-width, 4rem);
|
|
18
16
|
--_chip-min-width: var(--vaadin-multi-select-combo-box-chip-min-width, 48px);
|
|
19
17
|
--_wrapper-gap: var(--vaadin-multi-select-combo-box-chips-gap, 2px);
|
|
20
18
|
}
|
|
21
19
|
|
|
20
|
+
/* Content stays at the top, keep the default guide height */
|
|
21
|
+
:host::before {
|
|
22
|
+
--_field-input-height: var(--_field-input-default-height);
|
|
23
|
+
}
|
|
24
|
+
|
|
22
25
|
#chips {
|
|
23
26
|
display: flex;
|
|
24
27
|
align-items: center;
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/multi-select-combo-box",
|
|
4
|
-
"version": "25.4.0-
|
|
4
|
+
"version": "25.4.0-alpha5",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -401,8 +401,8 @@
|
|
|
401
401
|
}
|
|
402
402
|
},
|
|
403
403
|
{
|
|
404
|
-
"name": "
|
|
405
|
-
"description": "
|
|
404
|
+
"name": "autoOpenDisabled",
|
|
405
|
+
"description": "Set true to prevent the overlay from opening automatically.",
|
|
406
406
|
"value": {
|
|
407
407
|
"type": [
|
|
408
408
|
"boolean"
|
|
@@ -410,8 +410,8 @@
|
|
|
410
410
|
}
|
|
411
411
|
},
|
|
412
412
|
{
|
|
413
|
-
"name": "
|
|
414
|
-
"description": "
|
|
413
|
+
"name": "autofocus",
|
|
414
|
+
"description": "Specify that this control should have input focus when the page loads.",
|
|
415
415
|
"value": {
|
|
416
416
|
"type": [
|
|
417
417
|
"boolean"
|
|
@@ -507,7 +507,7 @@
|
|
|
507
507
|
"description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nThe object has the following JSON structure and default values:\n```js\n{\n // Screen reader announcement on clear button click.\n cleared: 'Selection cleared',\n // Screen reader announcement when a chip is focused.\n focused: ' focused. Press Backspace to remove',\n // Screen reader announcement when item is selected.\n selected: 'added to selection',\n // Screen reader announcement when item is deselected.\n deselected: 'removed from selection',\n // Screen reader announcement of the selected items count.\n // {count} is replaced with the actual count of items.\n total: '{count} items selected',\n // Text of the select all button when no filter is set.\n selectAll: 'Select All',\n // Text of the select all button when no filter is set\n // and all items are selected.\n deselectAll: 'Deselect All',\n // Text of the select all button when a filter is set.\n selectFiltered: 'Select Filtered',\n // Text of the select all button when a filter is set\n // and all items matching the filter are selected.\n deselectFiltered: 'Deselect Filtered',\n}\n```",
|
|
508
508
|
"value": {
|
|
509
509
|
"type": [
|
|
510
|
-
"
|
|
510
|
+
"MultiSelectComboBoxI18n",
|
|
511
511
|
"undefined"
|
|
512
512
|
]
|
|
513
513
|
}
|
|
@@ -558,22 +558,22 @@
|
|
|
558
558
|
}
|
|
559
559
|
},
|
|
560
560
|
{
|
|
561
|
-
"name": "
|
|
562
|
-
"description": "
|
|
561
|
+
"name": "itemValuePath",
|
|
562
|
+
"description": "Path for the value of the item. If `items` is an array of objects, the\n`itemValuePath:` is used to fetch the string value for the selected\nitem.\n\nThe item value is used in the `value` property of the combo box,\nto provide the form value.",
|
|
563
563
|
"value": {
|
|
564
564
|
"type": [
|
|
565
|
-
"
|
|
566
|
-
"string>",
|
|
567
|
-
"undefined"
|
|
565
|
+
"string"
|
|
568
566
|
]
|
|
569
567
|
}
|
|
570
568
|
},
|
|
571
569
|
{
|
|
572
|
-
"name": "
|
|
573
|
-
"description": "
|
|
570
|
+
"name": "items",
|
|
571
|
+
"description": "A full set of items to filter the visible options from.\nThe items can be of either `String` or `Object` type.",
|
|
574
572
|
"value": {
|
|
575
573
|
"type": [
|
|
576
|
-
"
|
|
574
|
+
"Array<ComboBoxItem",
|
|
575
|
+
"string>",
|
|
576
|
+
"undefined"
|
|
577
577
|
]
|
|
578
578
|
}
|
|
579
579
|
},
|
package/web-types.lit.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/multi-select-combo-box",
|
|
4
|
-
"version": "25.4.0-
|
|
4
|
+
"version": "25.4.0-alpha5",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework": "lit",
|
|
7
7
|
"framework-config": {
|
|
@@ -69,15 +69,15 @@
|
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
|
-
"name": "?
|
|
73
|
-
"description": "
|
|
72
|
+
"name": "?autoOpenDisabled",
|
|
73
|
+
"description": "Set true to prevent the overlay from opening automatically.",
|
|
74
74
|
"value": {
|
|
75
75
|
"kind": "expression"
|
|
76
76
|
}
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
|
-
"name": "?
|
|
80
|
-
"description": "
|
|
79
|
+
"name": "?autofocus",
|
|
80
|
+
"description": "Specify that this control should have input focus when the page loads.",
|
|
81
81
|
"value": {
|
|
82
82
|
"kind": "expression"
|
|
83
83
|
}
|
|
@@ -188,15 +188,15 @@
|
|
|
188
188
|
}
|
|
189
189
|
},
|
|
190
190
|
{
|
|
191
|
-
"name": ".
|
|
192
|
-
"description": "
|
|
191
|
+
"name": ".itemValuePath",
|
|
192
|
+
"description": "Path for the value of the item. If `items` is an array of objects, the\n`itemValuePath:` is used to fetch the string value for the selected\nitem.\n\nThe item value is used in the `value` property of the combo box,\nto provide the form value.",
|
|
193
193
|
"value": {
|
|
194
194
|
"kind": "expression"
|
|
195
195
|
}
|
|
196
196
|
},
|
|
197
197
|
{
|
|
198
|
-
"name": ".
|
|
199
|
-
"description": "
|
|
198
|
+
"name": ".items",
|
|
199
|
+
"description": "A full set of items to filter the visible options from.\nThe items can be of either `String` or `Object` type.",
|
|
200
200
|
"value": {
|
|
201
201
|
"kind": "expression"
|
|
202
202
|
}
|