File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,7 +109,8 @@ interface IComboBoxItem extends UI5Element {
109109 additionalText ?: string ,
110110 _isVisible ?: boolean ,
111111 items ?: Array < IComboBoxItem > ,
112- eventDetails : { click ?: ListItemBaseClickEventDetail } ,
112+ eventDetails : { click ?: ListItemBaseClickEventDetail } ,
113+ }
113114
114115type ValueStateAnnouncement = Record < Exclude < ValueState , ValueState . None > , string > ;
115116type ValueStateTypeAnnouncement = Record < Exclude < ValueState , ValueState . None > , string > ;
Original file line number Diff line number Diff line change @@ -111,7 +111,8 @@ interface IInputSuggestionItem extends UI5Element {
111111 focused : boolean ;
112112 additionalText ?: string ;
113113 items ?: IInputSuggestionItem [ ] ;
114- eventDetails : { click ?: ListItemBaseClickEventDetail } ;
114+ eventDetails : { click ?: ListItemBaseClickEventDetail } ;
115+ }
115116
116117interface IInputSuggestionItemSelectable extends IInputSuggestionItem {
117118 text ?: string ;
Original file line number Diff line number Diff line change @@ -61,7 +61,10 @@ interface IMenuItem extends UI5Element {
6161 isMenuItem ?: boolean ;
6262 isSeparator ?: boolean ;
6363 isGroup ?: boolean ;
64- eventDetails : { click ?: ListItemBaseClickEventDetail } ;
64+ eventDetails : { click ?: ListItemBaseClickEventDetail } ;
65+ }
66+
67+ type MenuItemClickEventDetail = {
6568 item : MenuItem ,
6669 text : string ,
6770}
Original file line number Diff line number Diff line change @@ -112,6 +112,7 @@ import type ComboBoxFilter from "./types/ComboBoxFilter.js";
112112import CheckBox from "./CheckBox.js" ;
113113import Input from "./Input.js" ;
114114import type { InputEventDetail } from "./Input.js" ;
115+ import type { ListItemBaseClickEventDetail } from "./ListItemBase.js" ;
115116import SuggestionItem from "./SuggestionItem.js" ;
116117import type InputComposition from "./features/InputComposition.js" ;
117118
@@ -128,7 +129,8 @@ interface IMultiComboBoxItem extends UI5Element {
128129 isGroupItem ?: boolean ,
129130 _isVisible ?: boolean ,
130131 items ?: Array < IMultiComboBoxItem > ,
131- eventDetails : { click ?: ListItemBaseClickEventDetail } ,
132+ eventDetails : { click ?: ListItemBaseClickEventDetail } ,
133+ }
132134
133135type ValueStateAnnouncement = Record < Exclude < ValueState , ValueState . None > , string > ;
134136type ValueStateTypeAnnouncement = Record < Exclude < ValueState , ValueState . None > , string > ;
You can’t perform that action at this time.
0 commit comments