@openremote/or-vaadin-components 1.35.0 → 1.35.1
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/build/custom-elements-jsx.d.ts +229 -229
- package/build/custom-elements.json +7122 -7122
- package/package.json +5 -5
|
@@ -78,12 +78,12 @@ import type { Icon } from "/home/runner/work/core/core/node_modules/@vaadin/icon
|
|
|
78
78
|
import type { Iconset } from "/home/runner/work/core/core/node_modules/@vaadin/icon/./lib/vaadin-iconset.js";
|
|
79
79
|
import type { InputContainer } from "/home/runner/work/core/core/node_modules/@vaadin/input-container/./lib/vaadin-input-container.js";
|
|
80
80
|
import type { Item } from "/home/runner/work/core/core/node_modules/@vaadin/item/./lib/vaadin-item.js";
|
|
81
|
-
import type { ListBox } from "/home/runner/work/core/core/node_modules/@vaadin/list-box/./lib/vaadin-list-box.js";
|
|
82
81
|
import type { MenuBarButton } from "/home/runner/work/core/core/node_modules/@vaadin/menu-bar/./lib/vaadin-menu-bar-button.js";
|
|
83
82
|
import type { MenuBarListBox } from "/home/runner/work/core/core/node_modules/@vaadin/menu-bar/./lib/vaadin-menu-bar-list-box.js";
|
|
84
83
|
import type { MenuBarOverlay } from "/home/runner/work/core/core/node_modules/@vaadin/menu-bar/./lib/vaadin-menu-bar-overlay.js";
|
|
85
84
|
import type { MenuBarSubmenu } from "/home/runner/work/core/core/node_modules/@vaadin/menu-bar/./lib/vaadin-menu-bar-submenu.js";
|
|
86
85
|
import type { MenuBar } from "/home/runner/work/core/core/node_modules/@vaadin/menu-bar/./lib/vaadin-menu-bar.js";
|
|
86
|
+
import type { ListBox } from "/home/runner/work/core/core/node_modules/@vaadin/list-box/./lib/vaadin-list-box.js";
|
|
87
87
|
import type { MultiSelectComboBoxItem } from "/home/runner/work/core/core/node_modules/@vaadin/multi-select-combo-box/./lib/vaadin-multi-select-combo-box-item.js";
|
|
88
88
|
import type { MultiSelectComboBoxScroller } from "/home/runner/work/core/core/node_modules/@vaadin/multi-select-combo-box/./lib/vaadin-multi-select-combo-box-scroller.js";
|
|
89
89
|
import type { MultiSelectComboBox } from "/home/runner/work/core/core/node_modules/@vaadin/multi-select-combo-box/./lib/vaadin-multi-select-combo-box.js";
|
|
@@ -9904,90 +9904,6 @@ e.g. in VaadinListMixin it filters items by using the
|
|
|
9904
9904
|
textContent?: string | number;
|
|
9905
9905
|
};
|
|
9906
9906
|
|
|
9907
|
-
export type ListBoxProps = {
|
|
9908
|
-
/** The theme variants to apply to the component. */
|
|
9909
|
-
theme?: unknown;
|
|
9910
|
-
/** The theme variants to apply to the component. */
|
|
9911
|
-
undefined?: unknown;
|
|
9912
|
-
/** Define how items are disposed in the dom.
|
|
9913
|
-
Possible values are: `horizontal|vertical`.
|
|
9914
|
-
It also changes navigation keys from left/right to up/down. */
|
|
9915
|
-
orientation?: ListBox["orientation"];
|
|
9916
|
-
/** Set when the element has a slotted tooltip */
|
|
9917
|
-
"has-tooltip"?: unknown;
|
|
9918
|
-
/** */
|
|
9919
|
-
dir?: ListBox["dir"];
|
|
9920
|
-
/** Specifies that multiple options can be selected at once. */
|
|
9921
|
-
multiple?: ListBox["multiple"];
|
|
9922
|
-
/** Array of indexes of the items selected in the items array
|
|
9923
|
-
Note: Not updated when used in single selection mode. */
|
|
9924
|
-
selectedValues?: ListBox["selectedValues"];
|
|
9925
|
-
/** If true, the user cannot interact with this element.
|
|
9926
|
-
When the element is disabled, the selected item is
|
|
9927
|
-
not updated when `selected` property is changed. */
|
|
9928
|
-
disabled?: ListBox["disabled"];
|
|
9929
|
-
/** The index of the item selected in the items array.
|
|
9930
|
-
Note: Not updated when used in `multiple` selection mode. */
|
|
9931
|
-
selected?: ListBox["selected"];
|
|
9932
|
-
/** A read-only list of items from which a selection can be made.
|
|
9933
|
-
It is populated from the elements passed to the light DOM,
|
|
9934
|
-
and updated dynamically when adding or removing items. */
|
|
9935
|
-
items?: ListBox["items"];
|
|
9936
|
-
/** The search buffer for the keyboard selection feature. */
|
|
9937
|
-
_searchBuf?: ListBox["_searchBuf"];
|
|
9938
|
-
|
|
9939
|
-
/** Fired when the `items` property changes. */
|
|
9940
|
-
"onitems-changed"?: (e: CustomEvent) => void;
|
|
9941
|
-
/** Fired when the `selected` property changes. Not fired in multiple selection mode. */
|
|
9942
|
-
"onselected-changed"?: (e: CustomEvent) => void;
|
|
9943
|
-
/** Fired when the `selectedValues` property changes. Not fired in single selection mode. */
|
|
9944
|
-
"onselected-values-changed"?: (e: CustomEvent) => void;
|
|
9945
|
-
};
|
|
9946
|
-
|
|
9947
|
-
export type ListBoxSolidJsProps = {
|
|
9948
|
-
/** The theme variants to apply to the component. */
|
|
9949
|
-
"attr:theme"?: unknown;
|
|
9950
|
-
/** The theme variants to apply to the component. */
|
|
9951
|
-
"prop:undefined"?: unknown;
|
|
9952
|
-
/** Define how items are disposed in the dom.
|
|
9953
|
-
Possible values are: `horizontal|vertical`.
|
|
9954
|
-
It also changes navigation keys from left/right to up/down. */
|
|
9955
|
-
"prop:orientation"?: ListBox["orientation"];
|
|
9956
|
-
/** Set when the element has a slotted tooltip */
|
|
9957
|
-
"bool:has-tooltip"?: unknown;
|
|
9958
|
-
/** */
|
|
9959
|
-
"prop:dir"?: ListBox["dir"];
|
|
9960
|
-
/** Specifies that multiple options can be selected at once. */
|
|
9961
|
-
"prop:multiple"?: ListBox["multiple"];
|
|
9962
|
-
/** Array of indexes of the items selected in the items array
|
|
9963
|
-
Note: Not updated when used in single selection mode. */
|
|
9964
|
-
"prop:selectedValues"?: ListBox["selectedValues"];
|
|
9965
|
-
/** If true, the user cannot interact with this element.
|
|
9966
|
-
When the element is disabled, the selected item is
|
|
9967
|
-
not updated when `selected` property is changed. */
|
|
9968
|
-
"prop:disabled"?: ListBox["disabled"];
|
|
9969
|
-
/** The index of the item selected in the items array.
|
|
9970
|
-
Note: Not updated when used in `multiple` selection mode. */
|
|
9971
|
-
"prop:selected"?: ListBox["selected"];
|
|
9972
|
-
/** A read-only list of items from which a selection can be made.
|
|
9973
|
-
It is populated from the elements passed to the light DOM,
|
|
9974
|
-
and updated dynamically when adding or removing items. */
|
|
9975
|
-
"prop:items"?: ListBox["items"];
|
|
9976
|
-
/** The search buffer for the keyboard selection feature. */
|
|
9977
|
-
"prop:_searchBuf"?: ListBox["_searchBuf"];
|
|
9978
|
-
/** Fired when the `items` property changes. */
|
|
9979
|
-
"on:items-changed"?: (e: CustomEvent) => void;
|
|
9980
|
-
/** Fired when the `selected` property changes. Not fired in multiple selection mode. */
|
|
9981
|
-
"on:selected-changed"?: (e: CustomEvent) => void;
|
|
9982
|
-
/** Fired when the `selectedValues` property changes. Not fired in single selection mode. */
|
|
9983
|
-
"on:selected-values-changed"?: (e: CustomEvent) => void;
|
|
9984
|
-
|
|
9985
|
-
/** Set the innerHTML of the element */
|
|
9986
|
-
innerHTML?: string;
|
|
9987
|
-
/** Set the textContent of the element */
|
|
9988
|
-
textContent?: string | number;
|
|
9989
|
-
};
|
|
9990
|
-
|
|
9991
9907
|
export type MenuBarButtonProps = {
|
|
9992
9908
|
/** Indicates whether the element can be focused and where it participates in sequential keyboard navigation. */
|
|
9993
9909
|
tabindex?: MenuBarButton["tabindex"];
|
|
@@ -10775,6 +10691,90 @@ default I18N properties. */
|
|
|
10775
10691
|
textContent?: string | number;
|
|
10776
10692
|
};
|
|
10777
10693
|
|
|
10694
|
+
export type ListBoxProps = {
|
|
10695
|
+
/** The theme variants to apply to the component. */
|
|
10696
|
+
theme?: unknown;
|
|
10697
|
+
/** The theme variants to apply to the component. */
|
|
10698
|
+
undefined?: unknown;
|
|
10699
|
+
/** Define how items are disposed in the dom.
|
|
10700
|
+
Possible values are: `horizontal|vertical`.
|
|
10701
|
+
It also changes navigation keys from left/right to up/down. */
|
|
10702
|
+
orientation?: ListBox["orientation"];
|
|
10703
|
+
/** Set when the element has a slotted tooltip */
|
|
10704
|
+
"has-tooltip"?: unknown;
|
|
10705
|
+
/** */
|
|
10706
|
+
dir?: ListBox["dir"];
|
|
10707
|
+
/** Specifies that multiple options can be selected at once. */
|
|
10708
|
+
multiple?: ListBox["multiple"];
|
|
10709
|
+
/** Array of indexes of the items selected in the items array
|
|
10710
|
+
Note: Not updated when used in single selection mode. */
|
|
10711
|
+
selectedValues?: ListBox["selectedValues"];
|
|
10712
|
+
/** If true, the user cannot interact with this element.
|
|
10713
|
+
When the element is disabled, the selected item is
|
|
10714
|
+
not updated when `selected` property is changed. */
|
|
10715
|
+
disabled?: ListBox["disabled"];
|
|
10716
|
+
/** The index of the item selected in the items array.
|
|
10717
|
+
Note: Not updated when used in `multiple` selection mode. */
|
|
10718
|
+
selected?: ListBox["selected"];
|
|
10719
|
+
/** A read-only list of items from which a selection can be made.
|
|
10720
|
+
It is populated from the elements passed to the light DOM,
|
|
10721
|
+
and updated dynamically when adding or removing items. */
|
|
10722
|
+
items?: ListBox["items"];
|
|
10723
|
+
/** The search buffer for the keyboard selection feature. */
|
|
10724
|
+
_searchBuf?: ListBox["_searchBuf"];
|
|
10725
|
+
|
|
10726
|
+
/** Fired when the `items` property changes. */
|
|
10727
|
+
"onitems-changed"?: (e: CustomEvent) => void;
|
|
10728
|
+
/** Fired when the `selected` property changes. Not fired in multiple selection mode. */
|
|
10729
|
+
"onselected-changed"?: (e: CustomEvent) => void;
|
|
10730
|
+
/** Fired when the `selectedValues` property changes. Not fired in single selection mode. */
|
|
10731
|
+
"onselected-values-changed"?: (e: CustomEvent) => void;
|
|
10732
|
+
};
|
|
10733
|
+
|
|
10734
|
+
export type ListBoxSolidJsProps = {
|
|
10735
|
+
/** The theme variants to apply to the component. */
|
|
10736
|
+
"attr:theme"?: unknown;
|
|
10737
|
+
/** The theme variants to apply to the component. */
|
|
10738
|
+
"prop:undefined"?: unknown;
|
|
10739
|
+
/** Define how items are disposed in the dom.
|
|
10740
|
+
Possible values are: `horizontal|vertical`.
|
|
10741
|
+
It also changes navigation keys from left/right to up/down. */
|
|
10742
|
+
"prop:orientation"?: ListBox["orientation"];
|
|
10743
|
+
/** Set when the element has a slotted tooltip */
|
|
10744
|
+
"bool:has-tooltip"?: unknown;
|
|
10745
|
+
/** */
|
|
10746
|
+
"prop:dir"?: ListBox["dir"];
|
|
10747
|
+
/** Specifies that multiple options can be selected at once. */
|
|
10748
|
+
"prop:multiple"?: ListBox["multiple"];
|
|
10749
|
+
/** Array of indexes of the items selected in the items array
|
|
10750
|
+
Note: Not updated when used in single selection mode. */
|
|
10751
|
+
"prop:selectedValues"?: ListBox["selectedValues"];
|
|
10752
|
+
/** If true, the user cannot interact with this element.
|
|
10753
|
+
When the element is disabled, the selected item is
|
|
10754
|
+
not updated when `selected` property is changed. */
|
|
10755
|
+
"prop:disabled"?: ListBox["disabled"];
|
|
10756
|
+
/** The index of the item selected in the items array.
|
|
10757
|
+
Note: Not updated when used in `multiple` selection mode. */
|
|
10758
|
+
"prop:selected"?: ListBox["selected"];
|
|
10759
|
+
/** A read-only list of items from which a selection can be made.
|
|
10760
|
+
It is populated from the elements passed to the light DOM,
|
|
10761
|
+
and updated dynamically when adding or removing items. */
|
|
10762
|
+
"prop:items"?: ListBox["items"];
|
|
10763
|
+
/** The search buffer for the keyboard selection feature. */
|
|
10764
|
+
"prop:_searchBuf"?: ListBox["_searchBuf"];
|
|
10765
|
+
/** Fired when the `items` property changes. */
|
|
10766
|
+
"on:items-changed"?: (e: CustomEvent) => void;
|
|
10767
|
+
/** Fired when the `selected` property changes. Not fired in multiple selection mode. */
|
|
10768
|
+
"on:selected-changed"?: (e: CustomEvent) => void;
|
|
10769
|
+
/** Fired when the `selectedValues` property changes. Not fired in single selection mode. */
|
|
10770
|
+
"on:selected-values-changed"?: (e: CustomEvent) => void;
|
|
10771
|
+
|
|
10772
|
+
/** Set the innerHTML of the element */
|
|
10773
|
+
innerHTML?: string;
|
|
10774
|
+
/** Set the textContent of the element */
|
|
10775
|
+
textContent?: string | number;
|
|
10776
|
+
};
|
|
10777
|
+
|
|
10778
10778
|
export type MultiSelectComboBoxItemProps = {
|
|
10779
10779
|
/** The theme variants to apply to the component. */
|
|
10780
10780
|
theme?: unknown;
|
|
@@ -21625,77 +21625,6 @@ export type CustomElements = {
|
|
|
21625
21625
|
*/
|
|
21626
21626
|
"vaadin-item": Partial<ItemProps & BaseProps<Item> & BaseEvents>;
|
|
21627
21627
|
|
|
21628
|
-
/**
|
|
21629
|
-
* `<vaadin-list-box>` is a Web Component for creating menus.
|
|
21630
|
-
*
|
|
21631
|
-
* ```html
|
|
21632
|
-
* <vaadin-list-box selected="2">
|
|
21633
|
-
* <vaadin-item>Item 1</vaadin-item>
|
|
21634
|
-
* <vaadin-item>Item 2</vaadin-item>
|
|
21635
|
-
* <vaadin-item>Item 3</vaadin-item>
|
|
21636
|
-
* <vaadin-item>Item 4</vaadin-item>
|
|
21637
|
-
* </vaadin-list-box>
|
|
21638
|
-
* ```
|
|
21639
|
-
*
|
|
21640
|
-
* ### Styling
|
|
21641
|
-
*
|
|
21642
|
-
* The following shadow DOM parts are available for styling:
|
|
21643
|
-
*
|
|
21644
|
-
* Part name | Description
|
|
21645
|
-
* ------------------|------------------------
|
|
21646
|
-
* `items` | The items container
|
|
21647
|
-
*
|
|
21648
|
-
* The following state attributes are available for styling:
|
|
21649
|
-
*
|
|
21650
|
-
* Attribute | Description
|
|
21651
|
-
* ---------------|---------------------------------
|
|
21652
|
-
* `has-tooltip` | Set when the element has a slotted tooltip
|
|
21653
|
-
*
|
|
21654
|
-
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
|
|
21655
|
-
*
|
|
21656
|
-
* ## Attributes & Properties
|
|
21657
|
-
*
|
|
21658
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
21659
|
-
*
|
|
21660
|
-
* - `theme`/`undefined`: The theme variants to apply to the component.
|
|
21661
|
-
* - `orientation`: Define how items are disposed in the dom.
|
|
21662
|
-
* Possible values are: `horizontal|vertical`.
|
|
21663
|
-
* It also changes navigation keys from left/right to up/down.
|
|
21664
|
-
* - `has-tooltip`/`undefined`: Set when the element has a slotted tooltip
|
|
21665
|
-
* - `dir`: undefined
|
|
21666
|
-
* - `multiple`: Specifies that multiple options can be selected at once.
|
|
21667
|
-
* - `selectedValues`: Array of indexes of the items selected in the items array
|
|
21668
|
-
* Note: Not updated when used in single selection mode.
|
|
21669
|
-
* - `disabled`: If true, the user cannot interact with this element.
|
|
21670
|
-
* When the element is disabled, the selected item is
|
|
21671
|
-
* not updated when `selected` property is changed.
|
|
21672
|
-
* - `selected`: The index of the item selected in the items array.
|
|
21673
|
-
* Note: Not updated when used in `multiple` selection mode.
|
|
21674
|
-
* - `items`: A read-only list of items from which a selection can be made.
|
|
21675
|
-
* It is populated from the elements passed to the light DOM,
|
|
21676
|
-
* and updated dynamically when adding or removing items.
|
|
21677
|
-
* - `_searchBuf`: The search buffer for the keyboard selection feature.
|
|
21678
|
-
*
|
|
21679
|
-
* ## Events
|
|
21680
|
-
*
|
|
21681
|
-
* Events that will be emitted by the component.
|
|
21682
|
-
*
|
|
21683
|
-
* - `items-changed`: Fired when the `items` property changes.
|
|
21684
|
-
* - `selected-changed`: Fired when the `selected` property changes. Not fired in multiple selection mode.
|
|
21685
|
-
* - `selected-values-changed`: Fired when the `selectedValues` property changes. Not fired in single selection mode.
|
|
21686
|
-
* - `undefined`: undefined
|
|
21687
|
-
*
|
|
21688
|
-
* ## Methods
|
|
21689
|
-
*
|
|
21690
|
-
* Methods that can be called to access component functionality.
|
|
21691
|
-
*
|
|
21692
|
-
* - `createProperty(name, options) => void`: undefined
|
|
21693
|
-
* - `getOrCreateMap(name) => void`: undefined
|
|
21694
|
-
* - `addCheckedInitializer(initializer) => void`: undefined
|
|
21695
|
-
* - `getPropertyDescriptor(name, key, options) => void`: undefined
|
|
21696
|
-
*/
|
|
21697
|
-
"vaadin-list-box": Partial<ListBoxProps & BaseProps<ListBox> & BaseEvents>;
|
|
21698
|
-
|
|
21699
21628
|
/**
|
|
21700
21629
|
* An element used internally by `<vaadin-menu-bar>`. Not intended to be used separately.
|
|
21701
21630
|
*
|
|
@@ -22231,6 +22160,77 @@ export type CustomElements = {
|
|
|
22231
22160
|
*/
|
|
22232
22161
|
"vaadin-menu-bar": Partial<MenuBarProps & BaseProps<MenuBar> & BaseEvents>;
|
|
22233
22162
|
|
|
22163
|
+
/**
|
|
22164
|
+
* `<vaadin-list-box>` is a Web Component for creating menus.
|
|
22165
|
+
*
|
|
22166
|
+
* ```html
|
|
22167
|
+
* <vaadin-list-box selected="2">
|
|
22168
|
+
* <vaadin-item>Item 1</vaadin-item>
|
|
22169
|
+
* <vaadin-item>Item 2</vaadin-item>
|
|
22170
|
+
* <vaadin-item>Item 3</vaadin-item>
|
|
22171
|
+
* <vaadin-item>Item 4</vaadin-item>
|
|
22172
|
+
* </vaadin-list-box>
|
|
22173
|
+
* ```
|
|
22174
|
+
*
|
|
22175
|
+
* ### Styling
|
|
22176
|
+
*
|
|
22177
|
+
* The following shadow DOM parts are available for styling:
|
|
22178
|
+
*
|
|
22179
|
+
* Part name | Description
|
|
22180
|
+
* ------------------|------------------------
|
|
22181
|
+
* `items` | The items container
|
|
22182
|
+
*
|
|
22183
|
+
* The following state attributes are available for styling:
|
|
22184
|
+
*
|
|
22185
|
+
* Attribute | Description
|
|
22186
|
+
* ---------------|---------------------------------
|
|
22187
|
+
* `has-tooltip` | Set when the element has a slotted tooltip
|
|
22188
|
+
*
|
|
22189
|
+
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
|
|
22190
|
+
*
|
|
22191
|
+
* ## Attributes & Properties
|
|
22192
|
+
*
|
|
22193
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
22194
|
+
*
|
|
22195
|
+
* - `theme`/`undefined`: The theme variants to apply to the component.
|
|
22196
|
+
* - `orientation`: Define how items are disposed in the dom.
|
|
22197
|
+
* Possible values are: `horizontal|vertical`.
|
|
22198
|
+
* It also changes navigation keys from left/right to up/down.
|
|
22199
|
+
* - `has-tooltip`/`undefined`: Set when the element has a slotted tooltip
|
|
22200
|
+
* - `dir`: undefined
|
|
22201
|
+
* - `multiple`: Specifies that multiple options can be selected at once.
|
|
22202
|
+
* - `selectedValues`: Array of indexes of the items selected in the items array
|
|
22203
|
+
* Note: Not updated when used in single selection mode.
|
|
22204
|
+
* - `disabled`: If true, the user cannot interact with this element.
|
|
22205
|
+
* When the element is disabled, the selected item is
|
|
22206
|
+
* not updated when `selected` property is changed.
|
|
22207
|
+
* - `selected`: The index of the item selected in the items array.
|
|
22208
|
+
* Note: Not updated when used in `multiple` selection mode.
|
|
22209
|
+
* - `items`: A read-only list of items from which a selection can be made.
|
|
22210
|
+
* It is populated from the elements passed to the light DOM,
|
|
22211
|
+
* and updated dynamically when adding or removing items.
|
|
22212
|
+
* - `_searchBuf`: The search buffer for the keyboard selection feature.
|
|
22213
|
+
*
|
|
22214
|
+
* ## Events
|
|
22215
|
+
*
|
|
22216
|
+
* Events that will be emitted by the component.
|
|
22217
|
+
*
|
|
22218
|
+
* - `items-changed`: Fired when the `items` property changes.
|
|
22219
|
+
* - `selected-changed`: Fired when the `selected` property changes. Not fired in multiple selection mode.
|
|
22220
|
+
* - `selected-values-changed`: Fired when the `selectedValues` property changes. Not fired in single selection mode.
|
|
22221
|
+
* - `undefined`: undefined
|
|
22222
|
+
*
|
|
22223
|
+
* ## Methods
|
|
22224
|
+
*
|
|
22225
|
+
* Methods that can be called to access component functionality.
|
|
22226
|
+
*
|
|
22227
|
+
* - `createProperty(name, options) => void`: undefined
|
|
22228
|
+
* - `getOrCreateMap(name) => void`: undefined
|
|
22229
|
+
* - `addCheckedInitializer(initializer) => void`: undefined
|
|
22230
|
+
* - `getPropertyDescriptor(name, key, options) => void`: undefined
|
|
22231
|
+
*/
|
|
22232
|
+
"vaadin-list-box": Partial<ListBoxProps & BaseProps<ListBox> & BaseEvents>;
|
|
22233
|
+
|
|
22234
22234
|
/**
|
|
22235
22235
|
* An item element used by the `<vaadin-multi-select-combo-box>` dropdown.
|
|
22236
22236
|
*
|
|
@@ -32807,79 +32807,6 @@ export type CustomElementsSolidJs = {
|
|
|
32807
32807
|
ItemProps & ItemSolidJsProps & BaseProps<Item> & BaseEvents
|
|
32808
32808
|
>;
|
|
32809
32809
|
|
|
32810
|
-
/**
|
|
32811
|
-
* `<vaadin-list-box>` is a Web Component for creating menus.
|
|
32812
|
-
*
|
|
32813
|
-
* ```html
|
|
32814
|
-
* <vaadin-list-box selected="2">
|
|
32815
|
-
* <vaadin-item>Item 1</vaadin-item>
|
|
32816
|
-
* <vaadin-item>Item 2</vaadin-item>
|
|
32817
|
-
* <vaadin-item>Item 3</vaadin-item>
|
|
32818
|
-
* <vaadin-item>Item 4</vaadin-item>
|
|
32819
|
-
* </vaadin-list-box>
|
|
32820
|
-
* ```
|
|
32821
|
-
*
|
|
32822
|
-
* ### Styling
|
|
32823
|
-
*
|
|
32824
|
-
* The following shadow DOM parts are available for styling:
|
|
32825
|
-
*
|
|
32826
|
-
* Part name | Description
|
|
32827
|
-
* ------------------|------------------------
|
|
32828
|
-
* `items` | The items container
|
|
32829
|
-
*
|
|
32830
|
-
* The following state attributes are available for styling:
|
|
32831
|
-
*
|
|
32832
|
-
* Attribute | Description
|
|
32833
|
-
* ---------------|---------------------------------
|
|
32834
|
-
* `has-tooltip` | Set when the element has a slotted tooltip
|
|
32835
|
-
*
|
|
32836
|
-
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
|
|
32837
|
-
*
|
|
32838
|
-
* ## Attributes & Properties
|
|
32839
|
-
*
|
|
32840
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
32841
|
-
*
|
|
32842
|
-
* - `theme`/`undefined`: The theme variants to apply to the component.
|
|
32843
|
-
* - `orientation`: Define how items are disposed in the dom.
|
|
32844
|
-
* Possible values are: `horizontal|vertical`.
|
|
32845
|
-
* It also changes navigation keys from left/right to up/down.
|
|
32846
|
-
* - `has-tooltip`/`undefined`: Set when the element has a slotted tooltip
|
|
32847
|
-
* - `dir`: undefined
|
|
32848
|
-
* - `multiple`: Specifies that multiple options can be selected at once.
|
|
32849
|
-
* - `selectedValues`: Array of indexes of the items selected in the items array
|
|
32850
|
-
* Note: Not updated when used in single selection mode.
|
|
32851
|
-
* - `disabled`: If true, the user cannot interact with this element.
|
|
32852
|
-
* When the element is disabled, the selected item is
|
|
32853
|
-
* not updated when `selected` property is changed.
|
|
32854
|
-
* - `selected`: The index of the item selected in the items array.
|
|
32855
|
-
* Note: Not updated when used in `multiple` selection mode.
|
|
32856
|
-
* - `items`: A read-only list of items from which a selection can be made.
|
|
32857
|
-
* It is populated from the elements passed to the light DOM,
|
|
32858
|
-
* and updated dynamically when adding or removing items.
|
|
32859
|
-
* - `_searchBuf`: The search buffer for the keyboard selection feature.
|
|
32860
|
-
*
|
|
32861
|
-
* ## Events
|
|
32862
|
-
*
|
|
32863
|
-
* Events that will be emitted by the component.
|
|
32864
|
-
*
|
|
32865
|
-
* - `items-changed`: Fired when the `items` property changes.
|
|
32866
|
-
* - `selected-changed`: Fired when the `selected` property changes. Not fired in multiple selection mode.
|
|
32867
|
-
* - `selected-values-changed`: Fired when the `selectedValues` property changes. Not fired in single selection mode.
|
|
32868
|
-
* - `undefined`: undefined
|
|
32869
|
-
*
|
|
32870
|
-
* ## Methods
|
|
32871
|
-
*
|
|
32872
|
-
* Methods that can be called to access component functionality.
|
|
32873
|
-
*
|
|
32874
|
-
* - `createProperty(name, options) => void`: undefined
|
|
32875
|
-
* - `getOrCreateMap(name) => void`: undefined
|
|
32876
|
-
* - `addCheckedInitializer(initializer) => void`: undefined
|
|
32877
|
-
* - `getPropertyDescriptor(name, key, options) => void`: undefined
|
|
32878
|
-
*/
|
|
32879
|
-
"vaadin-list-box": Partial<
|
|
32880
|
-
ListBoxProps & ListBoxSolidJsProps & BaseProps<ListBox> & BaseEvents
|
|
32881
|
-
>;
|
|
32882
|
-
|
|
32883
32810
|
/**
|
|
32884
32811
|
* An element used internally by `<vaadin-menu-bar>`. Not intended to be used separately.
|
|
32885
32812
|
*
|
|
@@ -33432,6 +33359,79 @@ export type CustomElementsSolidJs = {
|
|
|
33432
33359
|
MenuBarProps & MenuBarSolidJsProps & BaseProps<MenuBar> & BaseEvents
|
|
33433
33360
|
>;
|
|
33434
33361
|
|
|
33362
|
+
/**
|
|
33363
|
+
* `<vaadin-list-box>` is a Web Component for creating menus.
|
|
33364
|
+
*
|
|
33365
|
+
* ```html
|
|
33366
|
+
* <vaadin-list-box selected="2">
|
|
33367
|
+
* <vaadin-item>Item 1</vaadin-item>
|
|
33368
|
+
* <vaadin-item>Item 2</vaadin-item>
|
|
33369
|
+
* <vaadin-item>Item 3</vaadin-item>
|
|
33370
|
+
* <vaadin-item>Item 4</vaadin-item>
|
|
33371
|
+
* </vaadin-list-box>
|
|
33372
|
+
* ```
|
|
33373
|
+
*
|
|
33374
|
+
* ### Styling
|
|
33375
|
+
*
|
|
33376
|
+
* The following shadow DOM parts are available for styling:
|
|
33377
|
+
*
|
|
33378
|
+
* Part name | Description
|
|
33379
|
+
* ------------------|------------------------
|
|
33380
|
+
* `items` | The items container
|
|
33381
|
+
*
|
|
33382
|
+
* The following state attributes are available for styling:
|
|
33383
|
+
*
|
|
33384
|
+
* Attribute | Description
|
|
33385
|
+
* ---------------|---------------------------------
|
|
33386
|
+
* `has-tooltip` | Set when the element has a slotted tooltip
|
|
33387
|
+
*
|
|
33388
|
+
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
|
|
33389
|
+
*
|
|
33390
|
+
* ## Attributes & Properties
|
|
33391
|
+
*
|
|
33392
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
33393
|
+
*
|
|
33394
|
+
* - `theme`/`undefined`: The theme variants to apply to the component.
|
|
33395
|
+
* - `orientation`: Define how items are disposed in the dom.
|
|
33396
|
+
* Possible values are: `horizontal|vertical`.
|
|
33397
|
+
* It also changes navigation keys from left/right to up/down.
|
|
33398
|
+
* - `has-tooltip`/`undefined`: Set when the element has a slotted tooltip
|
|
33399
|
+
* - `dir`: undefined
|
|
33400
|
+
* - `multiple`: Specifies that multiple options can be selected at once.
|
|
33401
|
+
* - `selectedValues`: Array of indexes of the items selected in the items array
|
|
33402
|
+
* Note: Not updated when used in single selection mode.
|
|
33403
|
+
* - `disabled`: If true, the user cannot interact with this element.
|
|
33404
|
+
* When the element is disabled, the selected item is
|
|
33405
|
+
* not updated when `selected` property is changed.
|
|
33406
|
+
* - `selected`: The index of the item selected in the items array.
|
|
33407
|
+
* Note: Not updated when used in `multiple` selection mode.
|
|
33408
|
+
* - `items`: A read-only list of items from which a selection can be made.
|
|
33409
|
+
* It is populated from the elements passed to the light DOM,
|
|
33410
|
+
* and updated dynamically when adding or removing items.
|
|
33411
|
+
* - `_searchBuf`: The search buffer for the keyboard selection feature.
|
|
33412
|
+
*
|
|
33413
|
+
* ## Events
|
|
33414
|
+
*
|
|
33415
|
+
* Events that will be emitted by the component.
|
|
33416
|
+
*
|
|
33417
|
+
* - `items-changed`: Fired when the `items` property changes.
|
|
33418
|
+
* - `selected-changed`: Fired when the `selected` property changes. Not fired in multiple selection mode.
|
|
33419
|
+
* - `selected-values-changed`: Fired when the `selectedValues` property changes. Not fired in single selection mode.
|
|
33420
|
+
* - `undefined`: undefined
|
|
33421
|
+
*
|
|
33422
|
+
* ## Methods
|
|
33423
|
+
*
|
|
33424
|
+
* Methods that can be called to access component functionality.
|
|
33425
|
+
*
|
|
33426
|
+
* - `createProperty(name, options) => void`: undefined
|
|
33427
|
+
* - `getOrCreateMap(name) => void`: undefined
|
|
33428
|
+
* - `addCheckedInitializer(initializer) => void`: undefined
|
|
33429
|
+
* - `getPropertyDescriptor(name, key, options) => void`: undefined
|
|
33430
|
+
*/
|
|
33431
|
+
"vaadin-list-box": Partial<
|
|
33432
|
+
ListBoxProps & ListBoxSolidJsProps & BaseProps<ListBox> & BaseEvents
|
|
33433
|
+
>;
|
|
33434
|
+
|
|
33435
33435
|
/**
|
|
33436
33436
|
* An item element used by the `<vaadin-multi-select-combo-box>` dropdown.
|
|
33437
33437
|
*
|