@openui5/sap.ui.webc.main 1.115.1 → 1.116.0

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.
Files changed (593) hide show
  1. package/.reuse/dep5 +0 -5
  2. package/THIRDPARTY.txt +1 -7
  3. package/package.json +3 -3
  4. package/src/sap/ui/webc/main/.library +1 -1
  5. package/src/sap/ui/webc/main/Avatar.js +23 -3
  6. package/src/sap/ui/webc/main/AvatarGroup.js +1 -1
  7. package/src/sap/ui/webc/main/Badge.js +2 -2
  8. package/src/sap/ui/webc/main/Breadcrumbs.js +1 -1
  9. package/src/sap/ui/webc/main/BreadcrumbsItem.js +3 -3
  10. package/src/sap/ui/webc/main/BusyIndicator.js +1 -1
  11. package/src/sap/ui/webc/main/Button.js +4 -3
  12. package/src/sap/ui/webc/main/Calendar.js +6 -2
  13. package/src/sap/ui/webc/main/CalendarDate.js +2 -2
  14. package/src/sap/ui/webc/main/Card.js +3 -7
  15. package/src/sap/ui/webc/main/CardHeader.js +7 -2
  16. package/src/sap/ui/webc/main/Carousel.js +49 -4
  17. package/src/sap/ui/webc/main/CheckBox.js +14 -4
  18. package/src/sap/ui/webc/main/ColorPalette.js +1 -1
  19. package/src/sap/ui/webc/main/ColorPaletteItem.js +1 -1
  20. package/src/sap/ui/webc/main/ColorPalettePopover.js +1 -1
  21. package/src/sap/ui/webc/main/ColorPicker.js +1 -1
  22. package/src/sap/ui/webc/main/ComboBox.js +11 -8
  23. package/src/sap/ui/webc/main/ComboBoxGroupItem.js +1 -1
  24. package/src/sap/ui/webc/main/ComboBoxItem.js +1 -1
  25. package/src/sap/ui/webc/main/CustomListItem.js +19 -3
  26. package/src/sap/ui/webc/main/DatePicker.js +7 -2
  27. package/src/sap/ui/webc/main/DateRangePicker.js +9 -3
  28. package/src/sap/ui/webc/main/DateTimePicker.js +8 -3
  29. package/src/sap/ui/webc/main/Dialog.js +37 -6
  30. package/src/sap/ui/webc/main/FileUploader.js +1 -1
  31. package/src/sap/ui/webc/main/GroupHeaderListItem.js +1 -1
  32. package/src/sap/ui/webc/main/Icon.js +42 -2
  33. package/src/sap/ui/webc/main/Input.js +2 -2
  34. package/src/sap/ui/webc/main/Label.js +7 -3
  35. package/src/sap/ui/webc/main/Link.js +12 -2
  36. package/src/sap/ui/webc/main/List.js +2 -1
  37. package/src/sap/ui/webc/main/Menu.js +87 -3
  38. package/src/sap/ui/webc/main/MenuItem.js +34 -1
  39. package/src/sap/ui/webc/main/MessageStrip.js +1 -1
  40. package/src/sap/ui/webc/main/MultiComboBox.js +8 -7
  41. package/src/sap/ui/webc/main/MultiComboBoxGroupItem.js +1 -1
  42. package/src/sap/ui/webc/main/MultiComboBoxItem.js +1 -1
  43. package/src/sap/ui/webc/main/MultiInput.js +4 -4
  44. package/src/sap/ui/webc/main/Option.js +1 -1
  45. package/src/sap/ui/webc/main/Panel.js +3 -3
  46. package/src/sap/ui/webc/main/Popover.js +18 -4
  47. package/src/sap/ui/webc/main/ProgressIndicator.js +1 -1
  48. package/src/sap/ui/webc/main/RadioButton.js +17 -1
  49. package/src/sap/ui/webc/main/RangeSlider.js +12 -2
  50. package/src/sap/ui/webc/main/RatingIndicator.js +2 -2
  51. package/src/sap/ui/webc/main/ResponsivePopover.js +18 -4
  52. package/src/sap/ui/webc/main/SegmentedButton.js +40 -5
  53. package/src/sap/ui/webc/main/SegmentedButtonItem.js +4 -3
  54. package/src/sap/ui/webc/main/Select.js +20 -4
  55. package/src/sap/ui/webc/main/Slider.js +2 -2
  56. package/src/sap/ui/webc/main/SplitButton.js +7 -7
  57. package/src/sap/ui/webc/main/StandardListItem.js +31 -4
  58. package/src/sap/ui/webc/main/StepInput.js +2 -2
  59. package/src/sap/ui/webc/main/SuggestionGroupItem.js +1 -1
  60. package/src/sap/ui/webc/main/SuggestionItem.js +2 -2
  61. package/src/sap/ui/webc/main/Switch.js +2 -2
  62. package/src/sap/ui/webc/main/Tab.js +3 -3
  63. package/src/sap/ui/webc/main/TabContainer.js +40 -4
  64. package/src/sap/ui/webc/main/TabSeparator.js +10 -2
  65. package/src/sap/ui/webc/main/Table.js +2 -2
  66. package/src/sap/ui/webc/main/TableCell.js +1 -1
  67. package/src/sap/ui/webc/main/TableColumn.js +21 -1
  68. package/src/sap/ui/webc/main/TableGroupRow.js +1 -1
  69. package/src/sap/ui/webc/main/TableRow.js +9 -1
  70. package/src/sap/ui/webc/main/TextArea.js +2 -3
  71. package/src/sap/ui/webc/main/TimePicker.js +31 -3
  72. package/src/sap/ui/webc/main/Title.js +1 -1
  73. package/src/sap/ui/webc/main/Toast.js +1 -1
  74. package/src/sap/ui/webc/main/ToggleButton.js +4 -3
  75. package/src/sap/ui/webc/main/Token.js +6 -4
  76. package/src/sap/ui/webc/main/Tree.js +31 -2
  77. package/src/sap/ui/webc/main/TreeItem.js +63 -10
  78. package/src/sap/ui/webc/main/TreeItemCustom.js +205 -0
  79. package/src/sap/ui/webc/main/changeHandler/ChangeLinkTarget.js +1 -1
  80. package/src/sap/ui/webc/main/library.js +348 -70
  81. package/src/sap/ui/webc/main/thirdparty/Avatar.js +130 -232
  82. package/src/sap/ui/webc/main/thirdparty/AvatarGroup.js +109 -184
  83. package/src/sap/ui/webc/main/thirdparty/Badge.js +40 -86
  84. package/src/sap/ui/webc/main/thirdparty/Breadcrumbs.js +152 -202
  85. package/src/sap/ui/webc/main/thirdparty/BreadcrumbsItem.js +27 -78
  86. package/src/sap/ui/webc/main/thirdparty/BusyIndicator.js +46 -115
  87. package/src/sap/ui/webc/main/thirdparty/Button.js +123 -287
  88. package/src/sap/ui/webc/main/thirdparty/Calendar.js +146 -197
  89. package/src/sap/ui/webc/main/thirdparty/CalendarDate.js +16 -26
  90. package/src/sap/ui/webc/main/thirdparty/CalendarHeader.js +78 -113
  91. package/src/sap/ui/webc/main/thirdparty/CalendarPart.js +16 -27
  92. package/src/sap/ui/webc/main/thirdparty/Card.js +43 -92
  93. package/src/sap/ui/webc/main/thirdparty/CardHeader.js +69 -129
  94. package/src/sap/ui/webc/main/thirdparty/Carousel.js +167 -229
  95. package/src/sap/ui/webc/main/thirdparty/CheckBox.js +103 -244
  96. package/src/sap/ui/webc/main/thirdparty/ColorPalette.js +122 -173
  97. package/src/sap/ui/webc/main/thirdparty/ColorPaletteItem.js +41 -77
  98. package/src/sap/ui/webc/main/thirdparty/ColorPalettePopover.js +62 -105
  99. package/src/sap/ui/webc/main/thirdparty/ColorPicker.js +138 -244
  100. package/src/sap/ui/webc/main/thirdparty/ComboBox.js +297 -419
  101. package/src/sap/ui/webc/main/thirdparty/ComboBoxGroupItem.js +20 -41
  102. package/src/sap/ui/webc/main/thirdparty/ComboBoxItem.js +30 -37
  103. package/src/sap/ui/webc/main/thirdparty/CustomListItem.js +33 -54
  104. package/src/sap/ui/webc/main/thirdparty/DateComponentBase.js +59 -76
  105. package/src/sap/ui/webc/main/thirdparty/DatePicker.js +207 -334
  106. package/src/sap/ui/webc/main/thirdparty/DateRangePicker.js +56 -72
  107. package/src/sap/ui/webc/main/thirdparty/DateTimePicker.js +63 -111
  108. package/src/sap/ui/webc/main/thirdparty/DayPicker.js +147 -212
  109. package/src/sap/ui/webc/main/thirdparty/Dialog.js +162 -183
  110. package/src/sap/ui/webc/main/thirdparty/FileUploader.js +101 -242
  111. package/src/sap/ui/webc/main/thirdparty/GroupHeaderListItem.js +25 -58
  112. package/src/sap/ui/webc/main/thirdparty/Icon.js +103 -193
  113. package/src/sap/ui/webc/main/thirdparty/Input.js +453 -717
  114. package/src/sap/ui/webc/main/thirdparty/Interfaces.js +51 -61
  115. package/src/sap/ui/webc/main/thirdparty/Label.js +49 -108
  116. package/src/sap/ui/webc/main/thirdparty/Link.js +104 -247
  117. package/src/sap/ui/webc/main/thirdparty/List.js +303 -468
  118. package/src/sap/ui/webc/main/thirdparty/ListItem.js +126 -166
  119. package/src/sap/ui/webc/main/thirdparty/ListItemBase.js +64 -104
  120. package/src/sap/ui/webc/main/thirdparty/Menu.js +264 -200
  121. package/src/sap/ui/webc/main/thirdparty/MenuItem.js +66 -117
  122. package/src/sap/ui/webc/main/thirdparty/MessageStrip.js +70 -141
  123. package/src/sap/ui/webc/main/thirdparty/MonthPicker.js +100 -103
  124. package/src/sap/ui/webc/main/thirdparty/MultiComboBox.js +381 -496
  125. package/src/sap/ui/webc/main/thirdparty/MultiComboBoxGroupItem.js +20 -34
  126. package/src/sap/ui/webc/main/thirdparty/MultiComboBoxItem.js +19 -26
  127. package/src/sap/ui/webc/main/thirdparty/MultiInput.js +127 -137
  128. package/src/sap/ui/webc/main/thirdparty/Option.js +40 -107
  129. package/src/sap/ui/webc/main/thirdparty/Panel.js +102 -214
  130. package/src/sap/ui/webc/main/thirdparty/Popover.js +141 -274
  131. package/src/sap/ui/webc/main/thirdparty/Popup.js +155 -250
  132. package/src/sap/ui/webc/main/thirdparty/ProgressIndicator.js +41 -109
  133. package/src/sap/ui/webc/main/thirdparty/RadioButton.js +111 -263
  134. package/src/sap/ui/webc/main/thirdparty/RadioButtonGroup.js +32 -13
  135. package/src/sap/ui/webc/main/thirdparty/RangeSlider.js +208 -208
  136. package/src/sap/ui/webc/main/thirdparty/RatingIndicator.js +79 -146
  137. package/src/sap/ui/webc/main/thirdparty/ResponsivePopover.js +70 -81
  138. package/src/sap/ui/webc/main/thirdparty/SegmentedButton.js +141 -126
  139. package/src/sap/ui/webc/main/thirdparty/SegmentedButtonItem.js +41 -73
  140. package/src/sap/ui/webc/main/thirdparty/Select.js +186 -285
  141. package/src/sap/ui/webc/main/thirdparty/Slider.js +84 -80
  142. package/src/sap/ui/webc/main/thirdparty/SliderBase.js +151 -326
  143. package/src/sap/ui/webc/main/thirdparty/SplitButton.js +111 -240
  144. package/src/sap/ui/webc/main/thirdparty/StandardListItem.js +50 -142
  145. package/src/sap/ui/webc/main/thirdparty/StepInput.js +137 -309
  146. package/src/sap/ui/webc/main/thirdparty/SuggestionGroupItem.js +22 -35
  147. package/src/sap/ui/webc/main/thirdparty/SuggestionItem.js +37 -114
  148. package/src/sap/ui/webc/main/thirdparty/SuggestionListItem.js +29 -37
  149. package/src/sap/ui/webc/main/thirdparty/Switch.js +63 -146
  150. package/src/sap/ui/webc/main/thirdparty/Tab.js +126 -168
  151. package/src/sap/ui/webc/main/thirdparty/TabContainer.js +344 -453
  152. package/src/sap/ui/webc/main/thirdparty/TabSeparator.js +35 -26
  153. package/src/sap/ui/webc/main/thirdparty/Table.js +319 -489
  154. package/src/sap/ui/webc/main/thirdparty/TableCell.js +41 -50
  155. package/src/sap/ui/webc/main/thirdparty/TableColumn.js +38 -88
  156. package/src/sap/ui/webc/main/thirdparty/TableGroupRow.js +50 -90
  157. package/src/sap/ui/webc/main/thirdparty/TableRow.js +137 -174
  158. package/src/sap/ui/webc/main/thirdparty/TextArea.js +162 -358
  159. package/src/sap/ui/webc/main/thirdparty/TimePicker.js +24 -52
  160. package/src/sap/ui/webc/main/thirdparty/TimePickerBase.js +116 -159
  161. package/src/sap/ui/webc/main/thirdparty/TimeSelection.js +121 -167
  162. package/src/sap/ui/webc/main/thirdparty/Title.js +38 -71
  163. package/src/sap/ui/webc/main/thirdparty/Toast.js +41 -110
  164. package/src/sap/ui/webc/main/thirdparty/ToggleButton.js +25 -39
  165. package/src/sap/ui/webc/main/thirdparty/Token.js +86 -143
  166. package/src/sap/ui/webc/main/thirdparty/Tokenizer.js +256 -202
  167. package/src/sap/ui/webc/main/thirdparty/Tree.js +227 -302
  168. package/src/sap/ui/webc/main/thirdparty/TreeItem.js +42 -156
  169. package/src/sap/ui/webc/main/thirdparty/TreeItemBase.js +256 -0
  170. package/src/sap/ui/webc/main/thirdparty/TreeItemCustom.js +80 -0
  171. package/src/sap/ui/webc/main/thirdparty/TreeList.js +51 -0
  172. package/src/sap/ui/webc/main/thirdparty/WheelSlider.js +75 -120
  173. package/src/sap/ui/webc/main/thirdparty/YearPicker.js +135 -124
  174. package/src/sap/ui/webc/main/thirdparty/css/themes/Avatar.css +1 -1
  175. package/src/sap/ui/webc/main/thirdparty/css/themes/AvatarGroup.css +1 -1
  176. package/src/sap/ui/webc/main/thirdparty/css/themes/Badge.css +1 -1
  177. package/src/sap/ui/webc/main/thirdparty/css/themes/Breadcrumbs.css +1 -1
  178. package/src/sap/ui/webc/main/thirdparty/css/themes/BreadcrumbsPopover.css +1 -1
  179. package/src/sap/ui/webc/main/thirdparty/css/themes/BrowserScrollbar.css +1 -1
  180. package/src/sap/ui/webc/main/thirdparty/css/themes/BusyIndicator.css +1 -1
  181. package/src/sap/ui/webc/main/thirdparty/css/themes/Button.css +1 -1
  182. package/src/sap/ui/webc/main/thirdparty/css/themes/Calendar.css +1 -1
  183. package/src/sap/ui/webc/main/thirdparty/css/themes/CalendarHeader.css +1 -1
  184. package/src/sap/ui/webc/main/thirdparty/css/themes/Card.css +1 -1
  185. package/src/sap/ui/webc/main/thirdparty/css/themes/CardHeader.css +1 -1
  186. package/src/sap/ui/webc/main/thirdparty/css/themes/Carousel.css +1 -1
  187. package/src/sap/ui/webc/main/thirdparty/css/themes/CheckBox.css +1 -1
  188. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPalette.css +1 -1
  189. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPaletteItem.css +1 -1
  190. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPalettePopover.css +1 -1
  191. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPaletteStaticArea.css +1 -1
  192. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPicker.css +1 -1
  193. package/src/sap/ui/webc/main/thirdparty/css/themes/ComboBox.css +1 -1
  194. package/src/sap/ui/webc/main/thirdparty/css/themes/ComboBoxPopover.css +1 -1
  195. package/src/sap/ui/webc/main/thirdparty/css/themes/CustomListItem.css +1 -1
  196. package/src/sap/ui/webc/main/thirdparty/css/themes/DatePicker.css +1 -1
  197. package/src/sap/ui/webc/main/thirdparty/css/themes/DatePickerPopover.css +1 -1
  198. package/src/sap/ui/webc/main/thirdparty/css/themes/DateRangePicker.css +1 -1
  199. package/src/sap/ui/webc/main/thirdparty/css/themes/DateTimePicker.css +1 -1
  200. package/src/sap/ui/webc/main/thirdparty/css/themes/DateTimePickerPopover.css +1 -1
  201. package/src/sap/ui/webc/main/thirdparty/css/themes/DayPicker.css +1 -1
  202. package/src/sap/ui/webc/main/thirdparty/css/themes/Dialog.css +1 -1
  203. package/src/sap/ui/webc/main/thirdparty/css/themes/FileUploader.css +1 -1
  204. package/src/sap/ui/webc/main/thirdparty/css/themes/FormComponents.css +1 -0
  205. package/src/sap/ui/webc/main/thirdparty/css/themes/GroupHeaderListItem.css +1 -1
  206. package/src/sap/ui/webc/main/thirdparty/css/themes/GrowingButton.css +1 -1
  207. package/src/sap/ui/webc/main/thirdparty/css/themes/Icon.css +1 -1
  208. package/src/sap/ui/webc/main/thirdparty/css/themes/Input.css +1 -1
  209. package/src/sap/ui/webc/main/thirdparty/css/themes/InputIcon.css +1 -1
  210. package/src/sap/ui/webc/main/thirdparty/css/themes/InvisibleTextStyles.css +1 -1
  211. package/src/sap/ui/webc/main/thirdparty/css/themes/Label.css +1 -1
  212. package/src/sap/ui/webc/main/thirdparty/css/themes/Link.css +1 -1
  213. package/src/sap/ui/webc/main/thirdparty/css/themes/List.css +1 -1
  214. package/src/sap/ui/webc/main/thirdparty/css/themes/ListItem.css +1 -1
  215. package/src/sap/ui/webc/main/thirdparty/css/themes/ListItemBase.css +1 -1
  216. package/src/sap/ui/webc/main/thirdparty/css/themes/Menu.css +1 -1
  217. package/src/sap/ui/webc/main/thirdparty/css/themes/MessageStrip.css +1 -1
  218. package/src/sap/ui/webc/main/thirdparty/css/themes/MonthPicker.css +1 -1
  219. package/src/sap/ui/webc/main/thirdparty/css/themes/MultiComboBox.css +1 -1
  220. package/src/sap/ui/webc/main/thirdparty/css/themes/MultiInput.css +1 -1
  221. package/src/sap/ui/webc/main/thirdparty/css/themes/Panel.css +1 -1
  222. package/src/sap/ui/webc/main/thirdparty/css/themes/Popover.css +1 -1
  223. package/src/sap/ui/webc/main/thirdparty/css/themes/Popup.css +1 -1
  224. package/src/sap/ui/webc/main/thirdparty/css/themes/PopupStaticAreaStyles.css +1 -1
  225. package/src/sap/ui/webc/main/thirdparty/css/themes/PopupsCommon.css +1 -1
  226. package/src/sap/ui/webc/main/thirdparty/css/themes/ProgressIndicator.css +3 -1
  227. package/src/sap/ui/webc/main/thirdparty/css/themes/RadioButton.css +1 -1
  228. package/src/sap/ui/webc/main/thirdparty/css/themes/RangeSlider.css +1 -1
  229. package/src/sap/ui/webc/main/thirdparty/css/themes/RatingIndicator.css +1 -1
  230. package/src/sap/ui/webc/main/thirdparty/css/themes/ResponsivePopover.css +1 -1
  231. package/src/sap/ui/webc/main/thirdparty/css/themes/ResponsivePopoverCommon.css +1 -1
  232. package/src/sap/ui/webc/main/thirdparty/css/themes/SegmentedButton.css +1 -1
  233. package/src/sap/ui/webc/main/thirdparty/css/themes/Select.css +1 -1
  234. package/src/sap/ui/webc/main/thirdparty/css/themes/SelectPopover.css +1 -1
  235. package/src/sap/ui/webc/main/thirdparty/css/themes/SliderBase.css +1 -1
  236. package/src/sap/ui/webc/main/thirdparty/css/themes/SplitButton.css +1 -1
  237. package/src/sap/ui/webc/main/thirdparty/css/themes/StepInput.css +1 -1
  238. package/src/sap/ui/webc/main/thirdparty/css/themes/Suggestions.css +1 -1
  239. package/src/sap/ui/webc/main/thirdparty/css/themes/Switch.css +1 -1
  240. package/src/sap/ui/webc/main/thirdparty/css/themes/Tab.css +1 -1
  241. package/src/sap/ui/webc/main/thirdparty/css/themes/TabContainer.css +1 -1
  242. package/src/sap/ui/webc/main/thirdparty/css/themes/TabInOverflow.css +1 -1
  243. package/src/sap/ui/webc/main/thirdparty/css/themes/TabInStrip.css +1 -1
  244. package/src/sap/ui/webc/main/thirdparty/css/themes/TabSemanticIcon.css +1 -1
  245. package/src/sap/ui/webc/main/thirdparty/css/themes/TabSeparatorInOverflow.css +1 -1
  246. package/src/sap/ui/webc/main/thirdparty/css/themes/TabSeparatorInStrip.css +1 -1
  247. package/src/sap/ui/webc/main/thirdparty/css/themes/Table.css +1 -1
  248. package/src/sap/ui/webc/main/thirdparty/css/themes/TableCell.css +1 -1
  249. package/src/sap/ui/webc/main/thirdparty/css/themes/TableColumn.css +1 -1
  250. package/src/sap/ui/webc/main/thirdparty/css/themes/TableGroupRow.css +1 -1
  251. package/src/sap/ui/webc/main/thirdparty/css/themes/TableRow.css +1 -1
  252. package/src/sap/ui/webc/main/thirdparty/css/themes/TextArea.css +2 -1
  253. package/src/sap/ui/webc/main/thirdparty/css/themes/TimePicker.css +1 -1
  254. package/src/sap/ui/webc/main/thirdparty/css/themes/TimePickerPopover.css +1 -1
  255. package/src/sap/ui/webc/main/thirdparty/css/themes/TimeSelection.css +1 -1
  256. package/src/sap/ui/webc/main/thirdparty/css/themes/Title.css +1 -1
  257. package/src/sap/ui/webc/main/thirdparty/css/themes/Toast.css +1 -1
  258. package/src/sap/ui/webc/main/thirdparty/css/themes/ToggleButton.css +1 -1
  259. package/src/sap/ui/webc/main/thirdparty/css/themes/Token.css +1 -1
  260. package/src/sap/ui/webc/main/thirdparty/css/themes/Tokenizer.css +1 -1
  261. package/src/sap/ui/webc/main/thirdparty/css/themes/Tree.css +1 -1
  262. package/src/sap/ui/webc/main/thirdparty/css/themes/TreeItem.css +1 -0
  263. package/src/sap/ui/webc/main/thirdparty/css/themes/ValueStateMessage.css +1 -1
  264. package/src/sap/ui/webc/main/thirdparty/css/themes/WheelSlider.css +1 -1
  265. package/src/sap/ui/webc/main/thirdparty/css/themes/YearPicker.css +1 -1
  266. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize/parameters-bundle.css +1 -1
  267. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcb/parameters-bundle.css +1 -1
  268. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcw/parameters-bundle.css +1 -1
  269. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
  270. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
  271. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
  272. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
  273. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon/parameters-bundle.css +1 -1
  274. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
  275. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_exp/parameters-bundle.css +1 -1
  276. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
  277. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
  278. package/src/sap/ui/webc/main/thirdparty/custom-elements.json.js +1 -0
  279. package/src/sap/ui/webc/main/thirdparty/features/InputElementsFormSupport.js +25 -10
  280. package/src/sap/ui/webc/main/thirdparty/features/InputSuggestions.js +70 -72
  281. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ar.json.js +1 -1
  282. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_bg.json.js +1 -1
  283. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ca.json.js +1 -1
  284. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_cs.json.js +1 -1
  285. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_cy.json.js +1 -1
  286. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_da.json.js +1 -1
  287. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_de.json.js +1 -1
  288. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_el.json.js +1 -1
  289. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en.json.js +1 -1
  290. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_GB.json.js +1 -1
  291. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_US_sappsd.json.js +1 -1
  292. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_US_saprigi.json.js +1 -1
  293. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_US_saptrc.json.js +1 -1
  294. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_es.json.js +1 -1
  295. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_es_MX.json.js +1 -1
  296. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_et.json.js +1 -1
  297. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_fi.json.js +1 -1
  298. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_fr.json.js +1 -1
  299. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_fr_CA.json.js +1 -1
  300. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_hi.json.js +1 -1
  301. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_hr.json.js +1 -1
  302. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_hu.json.js +1 -1
  303. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_it.json.js +1 -1
  304. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_iw.json.js +1 -1
  305. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ja.json.js +1 -1
  306. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_kk.json.js +1 -1
  307. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ko.json.js +1 -1
  308. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_lt.json.js +1 -1
  309. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_lv.json.js +1 -1
  310. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ms.json.js +1 -1
  311. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_nl.json.js +1 -1
  312. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_no.json.js +1 -1
  313. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_pl.json.js +1 -1
  314. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_pt.json.js +1 -1
  315. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_pt_PT.json.js +1 -1
  316. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ro.json.js +1 -1
  317. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ru.json.js +1 -1
  318. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sh.json.js +1 -1
  319. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sk.json.js +1 -1
  320. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sl.json.js +1 -1
  321. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sv.json.js +1 -1
  322. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_th.json.js +1 -1
  323. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_tr.json.js +1 -1
  324. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_uk.json.js +1 -1
  325. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_vi.json.js +1 -1
  326. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_zh_CN.json.js +1 -1
  327. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_zh_TW.json.js +1 -1
  328. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_belize/parameters-bundle.css.json.js +1 -1
  329. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_belize_hcb/parameters-bundle.css.json.js +1 -1
  330. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_belize_hcw/parameters-bundle.css.json.js +1 -1
  331. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json.js +1 -1
  332. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json.js +1 -1
  333. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json.js +1 -1
  334. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json.js +1 -1
  335. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon/parameters-bundle.css.json.js +1 -1
  336. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json.js +1 -1
  337. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_exp/parameters-bundle.css.json.js +1 -1
  338. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json.js +1 -1
  339. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json.js +1 -1
  340. package/src/sap/ui/webc/main/thirdparty/generated/i18n/i18n-defaults.js +108 -23
  341. package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarGroupTemplate.lit.js +9 -3
  342. package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarTemplate.lit.js +15 -6
  343. package/src/sap/ui/webc/main/thirdparty/generated/templates/BadgeTemplate.lit.js +6 -2
  344. package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsPopoverTemplate.lit.js +6 -2
  345. package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsTemplate.lit.js +9 -3
  346. package/src/sap/ui/webc/main/thirdparty/generated/templates/BusyIndicatorTemplate.lit.js +12 -4
  347. package/src/sap/ui/webc/main/thirdparty/generated/templates/ButtonTemplate.lit.js +9 -3
  348. package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarHeaderTemplate.lit.js +9 -3
  349. package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarTemplate.lit.js +3 -1
  350. package/src/sap/ui/webc/main/thirdparty/generated/templates/CardHeaderTemplate.lit.js +18 -6
  351. package/src/sap/ui/webc/main/thirdparty/generated/templates/CardTemplate.lit.js +6 -2
  352. package/src/sap/ui/webc/main/thirdparty/generated/templates/CarouselTemplate.lit.js +30 -10
  353. package/src/sap/ui/webc/main/thirdparty/generated/templates/CheckBoxTemplate.lit.js +12 -4
  354. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteDialogTemplate.lit.js +3 -1
  355. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteItemTemplate.lit.js +3 -1
  356. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPalettePopoverTemplate.lit.js +6 -2
  357. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteTemplate.lit.js +18 -6
  358. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPickerTemplate.lit.js +3 -1
  359. package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxPopoverTemplate.lit.js +57 -17
  360. package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxTemplate.lit.js +12 -4
  361. package/src/sap/ui/webc/main/thirdparty/generated/templates/CustomListItemTemplate.lit.js +48 -10
  362. package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerPopoverTemplate.lit.js +12 -4
  363. package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerTemplate.lit.js +9 -3
  364. package/src/sap/ui/webc/main/thirdparty/generated/templates/DateTimePickerPopoverTemplate.lit.js +18 -6
  365. package/src/sap/ui/webc/main/thirdparty/generated/templates/DayPickerTemplate.lit.js +30 -10
  366. package/src/sap/ui/webc/main/thirdparty/generated/templates/DialogTemplate.lit.js +36 -6
  367. package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderPopoverTemplate.lit.js +15 -5
  368. package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderTemplate.lit.js +12 -4
  369. package/src/sap/ui/webc/main/thirdparty/generated/templates/GroupHeaderListItemTemplate.lit.js +3 -1
  370. package/src/sap/ui/webc/main/thirdparty/generated/templates/IconTemplate.lit.js +16 -3
  371. package/src/sap/ui/webc/main/thirdparty/generated/templates/InputPopoverTemplate.lit.js +63 -21
  372. package/src/sap/ui/webc/main/thirdparty/generated/templates/InputTemplate.lit.js +18 -6
  373. package/src/sap/ui/webc/main/thirdparty/generated/templates/LabelTemplate.lit.js +3 -1
  374. package/src/sap/ui/webc/main/thirdparty/generated/templates/LinkTemplate.lit.js +6 -2
  375. package/src/sap/ui/webc/main/thirdparty/generated/templates/ListItemTemplate.lit.js +48 -10
  376. package/src/sap/ui/webc/main/thirdparty/generated/templates/ListTemplate.lit.js +27 -9
  377. package/src/sap/ui/webc/main/thirdparty/generated/templates/MenuTemplate.lit.js +33 -9
  378. package/src/sap/ui/webc/main/thirdparty/generated/templates/MessageStripTemplate.lit.js +15 -5
  379. package/src/sap/ui/webc/main/thirdparty/generated/templates/MonthPickerTemplate.lit.js +12 -3
  380. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxPopoverTemplate.lit.js +72 -24
  381. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxTemplate.lit.js +18 -6
  382. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiInputTemplate.lit.js +30 -10
  383. package/src/sap/ui/webc/main/thirdparty/generated/templates/PanelTemplate.lit.js +21 -6
  384. package/src/sap/ui/webc/main/thirdparty/generated/templates/PopoverTemplate.lit.js +18 -6
  385. package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupBlockLayerTemplate.lit.js +3 -1
  386. package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupTemplate.lit.js +3 -1
  387. package/src/sap/ui/webc/main/thirdparty/generated/templates/ProgressIndicatorTemplate.lit.js +33 -11
  388. package/src/sap/ui/webc/main/thirdparty/generated/templates/RadioButtonTemplate.lit.js +13 -4
  389. package/src/sap/ui/webc/main/thirdparty/generated/templates/RangeSliderTemplate.lit.js +30 -10
  390. package/src/sap/ui/webc/main/thirdparty/generated/templates/RatingIndicatorTemplate.lit.js +30 -10
  391. package/src/sap/ui/webc/main/thirdparty/generated/templates/ResponsivePopoverTemplate.lit.js +39 -13
  392. package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonItemTemplate.lit.js +6 -2
  393. package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonTemplate.lit.js +3 -1
  394. package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectPopoverTemplate.lit.js +51 -17
  395. package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectTemplate.lit.js +9 -3
  396. package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderBaseTemplate.lit.js +24 -8
  397. package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderTemplate.lit.js +27 -9
  398. package/src/sap/ui/webc/main/thirdparty/generated/templates/SplitButtonTemplate.lit.js +6 -1
  399. package/src/sap/ui/webc/main/thirdparty/generated/templates/StandardListItemTemplate.lit.js +78 -18
  400. package/src/sap/ui/webc/main/thirdparty/generated/templates/StepInputTemplate.lit.js +12 -4
  401. package/src/sap/ui/webc/main/thirdparty/generated/templates/SuggestionListItemTemplate.lit.js +87 -21
  402. package/src/sap/ui/webc/main/thirdparty/generated/templates/SwitchTemplate.lit.js +15 -5
  403. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerPopoverTemplate.lit.js +6 -2
  404. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerTemplate.lit.js +33 -10
  405. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInOverflowTemplate.lit.js +18 -5
  406. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInStripTemplate.lit.js +24 -8
  407. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInOverflowTemplate.lit.js +3 -1
  408. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInStripTemplate.lit.js +3 -1
  409. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabTemplate.lit.js +6 -2
  410. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableCellTemplate.lit.js +3 -1
  411. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableColumnTemplate.lit.js +3 -1
  412. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableGroupRowTemplate.lit.js +3 -1
  413. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableRowTemplate.lit.js +36 -9
  414. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableTemplate.lit.js +33 -10
  415. package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaPopoverTemplate.lit.js +15 -5
  416. package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaTemplate.lit.js +15 -5
  417. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerPopoverTemplate.lit.js +3 -1
  418. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerTemplate.lit.js +9 -3
  419. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimeSelectionTemplate.lit.js +15 -5
  420. package/src/sap/ui/webc/main/thirdparty/generated/templates/TitleTemplate.lit.js +21 -7
  421. package/src/sap/ui/webc/main/thirdparty/generated/templates/ToastTemplate.lit.js +6 -2
  422. package/src/sap/ui/webc/main/thirdparty/generated/templates/ToggleButtonTemplate.lit.js +9 -3
  423. package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenTemplate.lit.js +12 -4
  424. package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerPopoverTemplate.lit.js +18 -6
  425. package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerTemplate.lit.js +9 -3
  426. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemBaseTemplate.lit.js +72 -0
  427. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemCustomTemplate.lit.js +72 -0
  428. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemTemplate.lit.js +78 -0
  429. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeTemplate.lit.js +6 -2
  430. package/src/sap/ui/webc/main/thirdparty/generated/templates/WheelSliderTemplate.lit.js +12 -4
  431. package/src/sap/ui/webc/main/thirdparty/generated/templates/YearPickerTemplate.lit.js +12 -3
  432. package/src/sap/ui/webc/main/thirdparty/generated/themes/Avatar.css.js +5 -4
  433. package/src/sap/ui/webc/main/thirdparty/generated/themes/AvatarGroup.css.js +5 -4
  434. package/src/sap/ui/webc/main/thirdparty/generated/themes/Badge.css.js +5 -4
  435. package/src/sap/ui/webc/main/thirdparty/generated/themes/Breadcrumbs.css.js +5 -4
  436. package/src/sap/ui/webc/main/thirdparty/generated/themes/BreadcrumbsPopover.css.js +5 -4
  437. package/src/sap/ui/webc/main/thirdparty/generated/themes/BrowserScrollbar.css.js +5 -4
  438. package/src/sap/ui/webc/main/thirdparty/generated/themes/BusyIndicator.css.js +5 -4
  439. package/src/sap/ui/webc/main/thirdparty/generated/themes/Button.css.js +5 -4
  440. package/src/sap/ui/webc/main/thirdparty/generated/themes/Calendar.css.js +5 -4
  441. package/src/sap/ui/webc/main/thirdparty/generated/themes/CalendarHeader.css.js +5 -4
  442. package/src/sap/ui/webc/main/thirdparty/generated/themes/Card.css.js +5 -4
  443. package/src/sap/ui/webc/main/thirdparty/generated/themes/CardHeader.css.js +5 -4
  444. package/src/sap/ui/webc/main/thirdparty/generated/themes/Carousel.css.js +5 -4
  445. package/src/sap/ui/webc/main/thirdparty/generated/themes/CheckBox.css.js +5 -4
  446. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalette.css.js +5 -4
  447. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteItem.css.js +5 -4
  448. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalettePopover.css.js +5 -4
  449. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteStaticArea.css.js +5 -4
  450. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPicker.css.js +5 -4
  451. package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBox.css.js +5 -4
  452. package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBoxPopover.css.js +5 -4
  453. package/src/sap/ui/webc/main/thirdparty/generated/themes/CustomListItem.css.js +5 -4
  454. package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePicker.css.js +5 -4
  455. package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePickerPopover.css.js +5 -4
  456. package/src/sap/ui/webc/main/thirdparty/generated/themes/DateRangePicker.css.js +5 -4
  457. package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePicker.css.js +5 -4
  458. package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePickerPopover.css.js +5 -4
  459. package/src/sap/ui/webc/main/thirdparty/generated/themes/DayPicker.css.js +5 -4
  460. package/src/sap/ui/webc/main/thirdparty/generated/themes/Dialog.css.js +5 -4
  461. package/src/sap/ui/webc/main/thirdparty/generated/themes/FileUploader.css.js +5 -4
  462. package/src/sap/ui/webc/main/thirdparty/generated/themes/FormComponents.css.js +20 -0
  463. package/src/sap/ui/webc/main/thirdparty/generated/themes/GroupHeaderListItem.css.js +5 -4
  464. package/src/sap/ui/webc/main/thirdparty/generated/themes/GrowingButton.css.js +5 -4
  465. package/src/sap/ui/webc/main/thirdparty/generated/themes/Icon.css.js +5 -4
  466. package/src/sap/ui/webc/main/thirdparty/generated/themes/Input.css.js +5 -4
  467. package/src/sap/ui/webc/main/thirdparty/generated/themes/InputIcon.css.js +5 -4
  468. package/src/sap/ui/webc/main/thirdparty/generated/themes/InvisibleTextStyles.css.js +5 -4
  469. package/src/sap/ui/webc/main/thirdparty/generated/themes/Label.css.js +5 -4
  470. package/src/sap/ui/webc/main/thirdparty/generated/themes/Link.css.js +5 -4
  471. package/src/sap/ui/webc/main/thirdparty/generated/themes/List.css.js +5 -4
  472. package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItem.css.js +5 -4
  473. package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItemBase.css.js +5 -4
  474. package/src/sap/ui/webc/main/thirdparty/generated/themes/Menu.css.js +5 -4
  475. package/src/sap/ui/webc/main/thirdparty/generated/themes/MessageStrip.css.js +5 -4
  476. package/src/sap/ui/webc/main/thirdparty/generated/themes/MonthPicker.css.js +5 -4
  477. package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBox.css.js +5 -4
  478. package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBoxPopover.css.js +5 -4
  479. package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiInput.css.js +5 -4
  480. package/src/sap/ui/webc/main/thirdparty/generated/themes/Panel.css.js +5 -4
  481. package/src/sap/ui/webc/main/thirdparty/generated/themes/Popover.css.js +5 -4
  482. package/src/sap/ui/webc/main/thirdparty/generated/themes/Popup.css.js +5 -4
  483. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupGlobal.css.js +5 -4
  484. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupStaticAreaStyles.css.js +5 -4
  485. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupsCommon.css.js +5 -4
  486. package/src/sap/ui/webc/main/thirdparty/generated/themes/ProgressIndicator.css.js +5 -4
  487. package/src/sap/ui/webc/main/thirdparty/generated/themes/RadioButton.css.js +5 -4
  488. package/src/sap/ui/webc/main/thirdparty/generated/themes/RangeSlider.css.js +5 -4
  489. package/src/sap/ui/webc/main/thirdparty/generated/themes/RatingIndicator.css.js +5 -4
  490. package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopover.css.js +5 -4
  491. package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopoverCommon.css.js +5 -4
  492. package/src/sap/ui/webc/main/thirdparty/generated/themes/SegmentedButton.css.js +5 -4
  493. package/src/sap/ui/webc/main/thirdparty/generated/themes/Select.css.js +5 -4
  494. package/src/sap/ui/webc/main/thirdparty/generated/themes/SelectPopover.css.js +5 -4
  495. package/src/sap/ui/webc/main/thirdparty/generated/themes/SliderBase.css.js +5 -4
  496. package/src/sap/ui/webc/main/thirdparty/generated/themes/SplitButton.css.js +5 -4
  497. package/src/sap/ui/webc/main/thirdparty/generated/themes/StepInput.css.js +5 -4
  498. package/src/sap/ui/webc/main/thirdparty/generated/themes/Suggestions.css.js +5 -4
  499. package/src/sap/ui/webc/main/thirdparty/generated/themes/Switch.css.js +5 -4
  500. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tab.css.js +5 -4
  501. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabContainer.css.js +5 -4
  502. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInOverflow.css.js +5 -4
  503. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInStrip.css.js +5 -4
  504. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSemanticIcon.css.js +5 -4
  505. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInOverflow.css.js +5 -4
  506. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInStrip.css.js +5 -4
  507. package/src/sap/ui/webc/main/thirdparty/generated/themes/Table.css.js +5 -4
  508. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableCell.css.js +5 -4
  509. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableColumn.css.js +5 -4
  510. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableGroupRow.css.js +5 -4
  511. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableRow.css.js +5 -4
  512. package/src/sap/ui/webc/main/thirdparty/generated/themes/TapHighlightColor.css.js +5 -4
  513. package/src/sap/ui/webc/main/thirdparty/generated/themes/TextArea.css.js +5 -4
  514. package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePicker.css.js +5 -4
  515. package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePickerPopover.css.js +5 -4
  516. package/src/sap/ui/webc/main/thirdparty/generated/themes/TimeSelection.css.js +5 -4
  517. package/src/sap/ui/webc/main/thirdparty/generated/themes/Title.css.js +5 -4
  518. package/src/sap/ui/webc/main/thirdparty/generated/themes/Toast.css.js +5 -4
  519. package/src/sap/ui/webc/main/thirdparty/generated/themes/ToggleButton.css.js +5 -4
  520. package/src/sap/ui/webc/main/thirdparty/generated/themes/Token.css.js +5 -4
  521. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tokenizer.css.js +5 -4
  522. package/src/sap/ui/webc/main/thirdparty/generated/themes/TokenizerPopover.css.js +5 -4
  523. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tree.css.js +5 -4
  524. package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeItem.css.js +20 -0
  525. package/src/sap/ui/webc/main/thirdparty/generated/themes/ValueStateMessage.css.js +5 -4
  526. package/src/sap/ui/webc/main/thirdparty/generated/themes/WheelSlider.css.js +5 -4
  527. package/src/sap/ui/webc/main/thirdparty/generated/themes/YearPicker.css.js +5 -4
  528. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize/parameters-bundle.css.js +3 -2
  529. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcb/parameters-bundle.css.js +3 -2
  530. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcw/parameters-bundle.css.js +3 -2
  531. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3/parameters-bundle.css.js +3 -2
  532. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +3 -2
  533. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +3 -2
  534. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +3 -2
  535. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon/parameters-bundle.css.js +3 -2
  536. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_dark/parameters-bundle.css.js +3 -2
  537. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_exp/parameters-bundle.css.js +3 -2
  538. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +3 -2
  539. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +3 -2
  540. package/src/sap/ui/webc/main/thirdparty/popup-utils/OpenedPopupsRegistry.js +16 -1
  541. package/src/sap/ui/webc/main/thirdparty/popup-utils/PopoverRegistry.js +36 -21
  542. package/src/sap/ui/webc/main/thirdparty/timepicker-utils/TimeSlider.js +6 -3
  543. package/src/sap/ui/webc/main/thirdparty/types/AvatarColorScheme.js +21 -34
  544. package/src/sap/ui/webc/main/thirdparty/types/AvatarGroupType.js +13 -26
  545. package/src/sap/ui/webc/main/thirdparty/types/AvatarShape.js +11 -24
  546. package/src/sap/ui/webc/main/thirdparty/types/AvatarSize.js +19 -32
  547. package/src/sap/ui/webc/main/thirdparty/types/BackgroundDesign.js +40 -0
  548. package/src/sap/ui/webc/main/thirdparty/types/BorderDesign.js +34 -0
  549. package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsDesign.js +12 -24
  550. package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsSeparatorStyle.js +17 -29
  551. package/src/sap/ui/webc/main/thirdparty/types/BusyIndicatorSize.js +13 -25
  552. package/src/sap/ui/webc/main/thirdparty/types/ButtonDesign.js +16 -28
  553. package/src/sap/ui/webc/main/thirdparty/types/CalendarPickersMode.js +40 -0
  554. package/src/sap/ui/webc/main/thirdparty/types/CalendarSelectionMode.js +13 -25
  555. package/src/sap/ui/webc/main/thirdparty/types/CarouselArrowsPlacement.js +12 -24
  556. package/src/sap/ui/webc/main/thirdparty/types/CarouselPageIndicatorStyle.js +35 -0
  557. package/src/sap/ui/webc/main/thirdparty/types/ComboBoxFilter.js +46 -0
  558. package/src/sap/ui/webc/main/thirdparty/types/HasPopup.js +14 -27
  559. package/src/sap/ui/webc/main/thirdparty/types/IconDesign.js +70 -0
  560. package/src/sap/ui/webc/main/thirdparty/types/InputType.js +16 -28
  561. package/src/sap/ui/webc/main/thirdparty/types/LinkDesign.js +13 -25
  562. package/src/sap/ui/webc/main/thirdparty/types/ListGrowingMode.js +15 -27
  563. package/src/sap/ui/webc/main/thirdparty/types/ListItemType.js +19 -25
  564. package/src/sap/ui/webc/main/thirdparty/types/ListMode.js +17 -29
  565. package/src/sap/ui/webc/main/thirdparty/types/ListSeparators.js +14 -26
  566. package/src/sap/ui/webc/main/thirdparty/types/MessageStripDesign.js +14 -26
  567. package/src/sap/ui/webc/main/thirdparty/types/PanelAccessibleRole.js +19 -28
  568. package/src/sap/ui/webc/main/thirdparty/types/PopoverHorizontalAlign.js +18 -30
  569. package/src/sap/ui/webc/main/thirdparty/types/PopoverPlacementType.js +14 -26
  570. package/src/sap/ui/webc/main/thirdparty/types/PopoverVerticalAlign.js +14 -26
  571. package/src/sap/ui/webc/main/thirdparty/types/PopupAccessibleRole.js +40 -0
  572. package/src/sap/ui/webc/main/thirdparty/types/Priority.js +13 -26
  573. package/src/sap/ui/webc/main/thirdparty/types/SegmentedButtonMode.js +34 -0
  574. package/src/sap/ui/webc/main/thirdparty/types/SemanticColor.js +15 -27
  575. package/src/sap/ui/webc/main/thirdparty/types/SwitchDesign.js +12 -24
  576. package/src/sap/ui/webc/main/thirdparty/types/TabContainerBackgroundDesign.js +40 -0
  577. package/src/sap/ui/webc/main/thirdparty/types/TabContainerTabsPlacement.js +12 -24
  578. package/src/sap/ui/webc/main/thirdparty/types/TabLayout.js +14 -26
  579. package/src/sap/ui/webc/main/thirdparty/types/TableColumnPopinDisplay.js +34 -0
  580. package/src/sap/ui/webc/main/thirdparty/types/TableGrowingMode.js +17 -29
  581. package/src/sap/ui/webc/main/thirdparty/types/TableMode.js +13 -25
  582. package/src/sap/ui/webc/main/thirdparty/types/TableRowType.js +12 -24
  583. package/src/sap/ui/webc/main/thirdparty/types/TabsOverflowMode.js +12 -24
  584. package/src/sap/ui/webc/main/thirdparty/types/TitleLevel.js +16 -28
  585. package/src/sap/ui/webc/main/thirdparty/types/ToastPlacement.js +28 -40
  586. package/src/sap/ui/webc/main/thirdparty/types/WrappingType.js +11 -24
  587. package/ui5.yaml +15 -2
  588. package/src/sap/ui/webc/main/thirdparty/DurationPicker.js +0 -300
  589. package/src/sap/ui/webc/main/thirdparty/TreeListItem.js +0 -316
  590. package/src/sap/ui/webc/main/thirdparty/css/themes/TreeListItem.css +0 -1
  591. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeListItemTemplate.lit.js +0 -27
  592. package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeListItem.css.js +0 -19
  593. package/src/sap/ui/webc/main/thirdparty/types/GrowingMode.js +0 -53
@@ -1,4 +1,4 @@
1
- sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/ui/webc/common/thirdparty/base/renderer/LitRenderer", "sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler", "sap/ui/webc/common/thirdparty/base/delegate/ItemNavigation", "sap/ui/webc/common/thirdparty/base/types/Integer", "sap/ui/webc/common/thirdparty/base/types/NavigationMode", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/webc/common/thirdparty/base/util/getNormalizedTarget", "sap/ui/webc/common/thirdparty/base/util/getActiveElement", "sap/ui/webc/common/thirdparty/base/util/TabbableElements", "sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/ui/webc/common/thirdparty/base/util/debounce", "sap/ui/webc/common/thirdparty/base/util/isElementInView", "./types/TableGrowingMode", "./BusyIndicator", "./types/TableMode", "./CheckBox", "./generated/i18n/i18n-defaults", "./generated/templates/TableTemplate.lit", "./generated/themes/Table.css"], function (_exports, _UI5Element, _LitRenderer, _ResizeHandler, _ItemNavigation, _Integer, _NavigationMode, _Keys, _getNormalizedTarget, _getActiveElement, _TabbableElements, _AriaLabelHelper, _i18nBundle, _debounce, _isElementInView, _TableGrowingMode, _BusyIndicator, _TableMode, _CheckBox, _i18nDefaults, _TableTemplate, _Table) {
1
+ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/ui/webc/common/thirdparty/base/decorators/customElement", "sap/ui/webc/common/thirdparty/base/decorators/property", "sap/ui/webc/common/thirdparty/base/decorators/event", "sap/ui/webc/common/thirdparty/base/decorators/slot", "sap/ui/webc/common/thirdparty/base/renderer/LitRenderer", "sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler", "sap/ui/webc/common/thirdparty/base/delegate/ItemNavigation", "sap/ui/webc/common/thirdparty/base/types/Integer", "sap/ui/webc/common/thirdparty/base/types/NavigationMode", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/webc/common/thirdparty/base/util/getNormalizedTarget", "sap/ui/webc/common/thirdparty/base/util/getActiveElement", "sap/ui/webc/common/thirdparty/base/util/TabbableElements", "sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/ui/webc/common/thirdparty/base/util/debounce", "sap/ui/webc/common/thirdparty/base/util/isElementInView", "./types/TableGrowingMode", "./BusyIndicator", "./types/TableMode", "./CheckBox", "./generated/i18n/i18n-defaults", "./generated/templates/TableTemplate.lit", "./generated/themes/Table.css"], function (_exports, _UI5Element, _customElement, _property, _event, _slot, _LitRenderer, _ResizeHandler, _ItemNavigation, _Integer, _NavigationMode, _Keys, _getNormalizedTarget, _getActiveElement, _TabbableElements, _AriaLabelHelper, _i18nBundle, _debounce, _isElementInView, _TableGrowingMode, _BusyIndicator, _TableMode, _CheckBox, _i18nDefaults, _TableTemplate, _Table) {
2
2
  "use strict";
3
3
 
4
4
  Object.defineProperty(_exports, "__esModule", {
@@ -6,6 +6,10 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
6
6
  });
7
7
  _exports.default = void 0;
8
8
  _UI5Element = _interopRequireDefault(_UI5Element);
9
+ _customElement = _interopRequireDefault(_customElement);
10
+ _property = _interopRequireDefault(_property);
11
+ _event = _interopRequireDefault(_event);
12
+ _slot = _interopRequireDefault(_slot);
9
13
  _LitRenderer = _interopRequireDefault(_LitRenderer);
10
14
  _ResizeHandler = _interopRequireDefault(_ResizeHandler);
11
15
  _ItemNavigation = _interopRequireDefault(_ItemNavigation);
@@ -22,333 +26,23 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
22
26
  _TableTemplate = _interopRequireDefault(_TableTemplate);
23
27
  _Table = _interopRequireDefault(_Table);
24
28
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
25
- // Ensure the dependency as it is being used in the renderer
26
-
27
- // Texts
28
-
29
- // Template
30
-
31
- // Styles
32
-
29
+ var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
30
+ var c = arguments.length,
31
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
32
+ d;
33
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
34
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
35
+ };
36
+ var Table_1;
33
37
  const GROWING_WITH_SCROLL_DEBOUNCE_RATE = 250; // ms
34
-
35
38
  const PAGE_UP_DOWN_SIZE = 20;
36
-
37
- /**
38
- * @public
39
- */
40
- const metadata = {
41
- tag: "ui5-table",
42
- managedSlots: true,
43
- fastNavigation: true,
44
- slots: /** @lends sap.ui.webcomponents.main.Table.prototype */{
45
- /**
46
- * Defines the component rows.
47
- * <br><br>
48
- * <b>Note:</b> Use <code>ui5-table-row</code> for the intended design.
49
- *
50
- * @type {sap.ui.webcomponents.main.ITableRow[]}
51
- * @slot rows
52
- * @public
53
- */
54
- "default": {
55
- propertyName: "rows",
56
- type: HTMLElement,
57
- individualSlots: true,
58
- invalidateOnChildChange: true
59
- },
60
- /**
61
- * Defines the configuration for the columns of the component.
62
- * <br><br>
63
- * <b>Note:</b> Use <code>ui5-table-column</code> for the intended design.
64
- *
65
- * @type {sap.ui.webcomponents.main.ITableColumn[]}
66
- * @slot
67
- * @public
68
- */
69
- columns: {
70
- type: HTMLElement,
71
- individualSlots: true,
72
- invalidateOnChildChange: {
73
- properties: true,
74
- slots: false
75
- }
76
- }
77
- },
78
- properties: /** @lends sap.ui.webcomponents.main.Table.prototype */{
79
- /**
80
- * Defines the text that will be displayed when there is no data and <code>hideNoData</code> is not present.
81
- *
82
- * @type {string}
83
- * @defaultvalue ""
84
- * @public
85
- */
86
- noDataText: {
87
- type: String
88
- },
89
- /**
90
- * Defines the text that will be displayed inside the growing button at the bottom of the table,
91
- * meant for loading more rows upon press.
92
- *
93
- * <br><br>
94
- * <b>Note:</b> If not specified a built-in text will be displayed.
95
- * <br>
96
- * <b>Note:</b> This property takes effect if <code>growing</code> is set to <code>Button</code>.
97
- *
98
- * @type {string}
99
- * @defaultvalue ""
100
- * @since 1.0.0-rc.15
101
- * @public
102
- */
103
- growingButtonText: {
104
- type: String
105
- },
106
- /**
107
- * Defines the subtext that will be displayed under the <code>growingButtonText</code>.
108
- *
109
- * <br><br>
110
- * <b>Note:</b> This property takes effect if <code>growing</code> is set to <code>Button</code>.
111
- *
112
- * @type {string}
113
- * @defaultvalue ""
114
- * @since 1.0.0-rc.15
115
- * @public
116
- */
117
- growingButtonSubtext: {
118
- type: String
119
- },
120
- /**
121
- * Defines if the value of <code>noDataText</code> will be diplayed when there is no rows present in the table.
122
- *
123
- * @type {boolean}
124
- * @defaultvalue false
125
- * @public
126
- * @since 1.0.0-rc.15
127
- */
128
- hideNoData: {
129
- type: Boolean
130
- },
131
- /**
132
- * Defines whether the table will have growing capability either by pressing a <code>More</code> button,
133
- * or via user scroll. In both cases <code>load-more</code> event is fired.
134
- * <br><br>
135
- *
136
- * Available options:
137
- * <br><br>
138
- * <code>Button</code> - Shows a <code>More</code> button at the bottom of the table, pressing of which triggers the <code>load-more</code> event.
139
- * <br>
140
- * <code>Scroll</code> - The <code>load-more</code> event is triggered when the user scrolls to the bottom of the table;
141
- * <br>
142
- * <code>None</code> (default) - The growing is off.
143
- * <br><br>
144
- *
145
- * <b>Restrictions:</b> <code>growing="Scroll"</code> is not supported for Internet Explorer,
146
- * and the component will fallback to <code>growing="Button"</code>.
147
- * @type {TableGrowingMode}
148
- * @defaultvalue "None"
149
- * @since 1.0.0-rc.12
150
- * @public
151
- */
152
- growing: {
153
- type: _TableGrowingMode.default,
154
- defaultValue: _TableGrowingMode.default.None
155
- },
156
- /**
157
- * Defines if the table is in busy state.
158
- * <b>
159
- *
160
- * In this state the component's opacity is reduced
161
- * and busy indicator is displayed at the bottom of the table.
162
- * @type {boolean}
163
- * @defaultvalue false
164
- * @since 1.0.0-rc.12
165
- * @public
166
- */
167
- busy: {
168
- type: Boolean
169
- },
170
- /**
171
- * Defines the delay in milliseconds, after which the busy indicator will show up for this component.
172
- *
173
- * @type {Integer}
174
- * @defaultValue 1000
175
- * @public
176
- */
177
- busyDelay: {
178
- type: _Integer.default,
179
- defaultValue: 1000
180
- },
181
- /**
182
- * Determines whether the column headers remain fixed at the top of the page during
183
- * vertical scrolling as long as the Web Component is in the viewport.
184
- * <br><br>
185
- * <b>Restrictions:</b>
186
- * <ul>
187
- * <li>Browsers that do not support this feature:
188
- * <ul>
189
- * <li>Internet Explorer</li>
190
- * <li>Microsoft Edge lower than version 41 (EdgeHTML 16)</li>
191
- * <li>Mozilla Firefox lower than version 59</li>
192
- * </ul>
193
- * </li>
194
- * <li>Scrolling behavior:
195
- * <ul>
196
- * <li>If the Web Component is placed in layout containers that have the <code>overflow: hidden</code>
197
- * or <code>overflow: auto</code> style definition, this can
198
- * prevent the sticky elements of the Web Component from becoming fixed at the top of the viewport.</li>
199
- * </ul>
200
- * </li>
201
- * </ul>
202
- *
203
- * @type {boolean}
204
- * @defaultvalue false
205
- * @public
206
- */
207
- stickyColumnHeader: {
208
- type: Boolean
209
- },
210
- /**
211
- * Defines the mode of the component.
212
- * <br><br>
213
- * Available options are:
214
- * <ul>
215
- * <li><code>MultiSelect</code></li>
216
- * <li><code>SingleSelect</code></li>
217
- * <li><code>None</code></li>
218
- * <ul>
219
- * @type {TableMode}
220
- * @defaultvalue "None"
221
- * @since 1.0.0-rc.15
222
- * @public
223
- */
224
- mode: {
225
- type: _TableMode.default,
226
- defaultValue: _TableMode.default.None
227
- },
228
- /**
229
- * Defines the accessible aria name of the component.
230
- *
231
- * @type {string}
232
- * @defaultvalue: ""
233
- * @public
234
- * @since 1.3.0
235
- */
236
- accessibleName: {
237
- type: String,
238
- defaultValue: undefined
239
- },
240
- /**
241
- * Receives id(or many ids) of the elements that label the component.
242
- *
243
- * @type {string}
244
- * @defaultvalue ""
245
- * @public
246
- * @since 1.3.0
247
- */
248
- accessibleNameRef: {
249
- type: String,
250
- defaultValue: ""
251
- },
252
- _hiddenColumns: {
253
- type: Object,
254
- multiple: true
255
- },
256
- _noDataDisplayed: {
257
- type: Boolean
258
- },
259
- /**
260
- * Defines the active state of the <code>More</code> button.
261
- * @private
262
- */
263
- _loadMoreActive: {
264
- type: Boolean
265
- },
266
- /**
267
- * Used to represent the table column header for the purpose of the item navigation as it does not work with DOM objects directly
268
- * @private
269
- */
270
- _columnHeader: {
271
- type: Object
272
- },
273
- /**
274
- * Defines if the entire table is in view port.
275
- * @private
276
- */
277
- _inViewport: {
278
- type: Boolean
279
- },
280
- /**
281
- * Defines whether all rows are selected or not when table is in MultiSelect mode.
282
- * @type {boolean}
283
- * @defaultvalue false
284
- * @since 1.0.0-rc.15
285
- * @private
286
- */
287
- _allRowsSelected: {
288
- type: Boolean
289
- }
290
- },
291
- events: /** @lends sap.ui.webcomponents.main.Table.prototype */{
292
- /**
293
- * Fired when a row in <code>Active</code> mode is clicked or <code>Enter</code> key is pressed.
294
- *
295
- * @event sap.ui.webcomponents.main.Table#row-click
296
- * @param {HTMLElement} row the activated row.
297
- * @public
298
- */
299
- "row-click": {
300
- detail: {
301
- row: {
302
- type: HTMLElement
303
- }
304
- }
305
- },
306
- /**
307
- * Fired when <code>ui5-table-column</code> is shown as a pop-in instead of hiding it.
308
- *
309
- * @event sap.ui.webcomponents.main.Table#popin-change
310
- * @param {Array} poppedColumns popped-in columns.
311
- * @since 1.0.0-rc.6
312
- * @public
313
- */
314
- "popin-change": {
315
- detail: {
316
- poppedColumns: {}
317
- }
318
- },
319
- /**
320
- * Fired when the user presses the <code>More</code> button or scrolls to the table's end.
321
- * <br><br>
322
- *
323
- * <b>Note:</b> The event will be fired if <code>growing</code> is set to <code>Button</code> or <code>Scroll</code>.
324
- * @event sap.ui.webcomponents.main.Table#load-more
325
- * @public
326
- * @since 1.0.0-rc.11
327
- */
328
- "load-more": {},
329
- /**
330
- * Fired when selection is changed by user interaction
331
- * in <code>SingleSelect</code> and <code>MultiSelect</code> modes.
332
- *
333
- * @event sap.ui.webcomponents.main.Table#selection-change
334
- * @param {Array} selectedRows An array of the selected rows.
335
- * @param {Array} previouslySelectedRows An array of the previously selected rows.
336
- * @public
337
- * @since 1.0.0-rc.15
338
- */
339
- "selection-change": {
340
- detail: {
341
- selectedRows: {
342
- type: Array
343
- },
344
- previouslySelectedRows: {
345
- type: Array
346
- }
347
- }
348
- }
349
- }
350
- };
351
-
39
+ var TableFocusTargetElement;
40
+ (function (TableFocusTargetElement) {
41
+ TableFocusTargetElement["Row"] = "tableRow";
42
+ TableFocusTargetElement["GroupRow"] = "tableGroupRow";
43
+ TableFocusTargetElement["ColumnHeader"] = "columnHeader";
44
+ TableFocusTargetElement["MoreButton"] = "moreButton";
45
+ })(TableFocusTargetElement || (TableFocusTargetElement = {}));
352
46
  /**
353
47
  * @class
354
48
  *
@@ -413,34 +107,19 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
413
107
  *
414
108
  * @constructor
415
109
  * @author SAP SE
416
- * @alias sap.ui.webcomponents.main.Table
417
- * @extends sap.ui.webcomponents.base.UI5Element
110
+ * @alias sap.ui.webc.main.Table
111
+ * @extends sap.ui.webc.base.UI5Element
418
112
  * @tagname ui5-table
419
- * @appenddocs TableColumn TableRow TableGroupRow TableCell
113
+ * @appenddocs sap.ui.webc.main.TableColumn sap.ui.webc.main.TableRow sap.ui.webc.main.TableGroupRow sap.ui.webc.main.TableCell
420
114
  * @public
421
115
  */
422
- class Table extends _UI5Element.default {
423
- static get metadata() {
424
- return metadata;
425
- }
426
- static get styles() {
427
- return _Table.default;
428
- }
429
- static get render() {
430
- return _LitRenderer.default;
431
- }
432
- static get template() {
433
- return _TableTemplate.default;
434
- }
435
- static get dependencies() {
436
- return [_BusyIndicator.default, _CheckBox.default];
437
- }
116
+ let Table = Table_1 = class Table extends _UI5Element.default {
438
117
  static async onDefine() {
439
- Table.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
118
+ Table_1.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
440
119
  }
441
120
  constructor() {
442
121
  super();
443
-
122
+ this.visibleColumns = []; // template loop should always have a defined array
444
123
  // The ItemNavigation requires each item to 1) have a "_tabIndex" property and 2) be either a UI5Element, or have an id property (to find it in the component's shadow DOM by)
445
124
  this._columnHeader = {
446
125
  id: `${this._id}-columnHeader`,
@@ -452,34 +131,28 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
452
131
  getItemsCallback: () => [this._columnHeader, ...this.rows],
453
132
  skipItemsSize: PAGE_UP_DOWN_SIZE
454
133
  });
455
- this.fnOnRowFocused = this.onRowFocused.bind(this);
456
134
  this._handleResize = this.popinContent.bind(this);
135
+ this.fnOnRowFocused = this.onRowFocused.bind(this);
457
136
  this.fnHandleF7 = this._handleF7.bind(this);
458
137
  this.tableEndObserved = false;
459
- this.addEventListener("ui5-selection-requested", this._handleSelect.bind(this));
460
- this.addEventListener("ui5-_forward-after", this._onForwardAfter.bind(this));
461
- this.addEventListener("ui5-_forward-before", this._onForwardBefore.bind(this));
462
-
463
138
  // Stores the last focused element within the table.
464
139
  this.lastFocusedElement = null;
465
-
466
140
  // Indicates whether the table is forwarding focus before or after the current table row.
467
141
  this._forwardingFocus = false;
468
-
469
142
  // Stores the last focused nested element index (within a table row) for F7 navigation.
470
143
  this._prevNestedElementIndex = 0;
471
144
  }
472
145
  onBeforeRendering() {
473
146
  const columnSettings = this.getColumnPropagationSettings();
474
147
  const columnSettingsString = JSON.stringify(columnSettings);
475
- const rowsCount = this.rows.length;
148
+ const rowsCount = this.rows.length + 1;
476
149
  const selectedRows = this.selectedRows;
477
150
  this.rows.forEach((row, index) => {
478
151
  if (row._columnsInfoString !== columnSettingsString) {
479
152
  row._columnsInfo = columnSettings;
480
153
  row._columnsInfoString = JSON.stringify(row._columnsInfo);
481
154
  }
482
- row._ariaPosition = Table.i18nBundle.getText(_i18nDefaults.TABLE_ROW_POSITION, index + 1, rowsCount);
155
+ row._ariaPosition = Table_1.i18nBundle.getText(_i18nDefaults.TABLE_ROW_POSITION, index + 2, rowsCount);
483
156
  row._busy = this.busy;
484
157
  row.removeEventListener("ui5-_focused", this.fnOnRowFocused);
485
158
  row.addEventListener("ui5-_focused", this.fnOnRowFocused);
@@ -516,74 +189,74 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
516
189
  this.growingIntersectionObserver = null;
517
190
  this.tableEndObserved = false;
518
191
  }
519
- _onkeydown(event) {
520
- if ((0, _Keys.isTabNext)(event) || (0, _Keys.isTabPrevious)(event)) {
521
- this._handleTab(event);
192
+ _onkeydown(e) {
193
+ if ((0, _Keys.isTabNext)(e) || (0, _Keys.isTabPrevious)(e)) {
194
+ this._handleTab(e);
522
195
  }
523
- if ((0, _Keys.isCtrlA)(event)) {
524
- event.preventDefault();
525
- this.isMultiSelect && this._selectAll(event);
196
+ if ((0, _Keys.isCtrlA)(e)) {
197
+ e.preventDefault();
198
+ this.isMultiSelect && this._selectAll();
526
199
  }
527
- if ((0, _Keys.isUpAlt)(event) || (0, _Keys.isDownAlt)(event)) {
528
- this._handleArrowAlt(event);
200
+ if ((0, _Keys.isUpAlt)(e) || (0, _Keys.isDownAlt)(e)) {
201
+ this._handleArrowAlt(e);
529
202
  }
530
- if (((0, _Keys.isUpShift)(event) || (0, _Keys.isDownShift)(event)) && this.isMultiSelect) {
531
- this._handleArrowNav(event);
203
+ if (((0, _Keys.isUpShift)(e) || (0, _Keys.isDownShift)(e)) && this.isMultiSelect) {
204
+ this._handleArrowNav(e);
532
205
  }
533
- if ((0, _Keys.isHomeCtrl)(event)) {
534
- event.preventDefault();
535
- this._itemNavigation._handleHome(event);
206
+ if ((0, _Keys.isHomeCtrl)(e)) {
207
+ e.preventDefault();
208
+ this._itemNavigation._handleHome();
536
209
  this._itemNavigation._applyTabIndex();
537
210
  this._itemNavigation._focusCurrentItem();
538
211
  }
539
- if ((0, _Keys.isEndCtrl)(event)) {
540
- event.preventDefault();
541
- this._itemNavigation._handleEnd(event);
212
+ if ((0, _Keys.isEndCtrl)(e)) {
213
+ e.preventDefault();
214
+ this._itemNavigation._handleEnd();
542
215
  this._itemNavigation._applyTabIndex();
543
216
  this._itemNavigation._focusCurrentItem();
544
217
  }
545
- if (((0, _Keys.isHomeShift)(event) || (0, _Keys.isEndShift)(event)) && this.isMultiSelect) {
546
- this._handleHomeEndSelection(event);
218
+ if (((0, _Keys.isHomeShift)(e) || (0, _Keys.isEndShift)(e)) && this.isMultiSelect) {
219
+ this._handleHomeEndSelection(e);
547
220
  }
548
221
  }
549
- _handleTab(event) {
550
- const isNext = (0, _Keys.isTabNext)(event);
551
- const target = (0, _getNormalizedTarget.default)(event.target);
552
- const targetType = this.getFocusedElementType(event.target);
222
+ _handleTab(e) {
223
+ const isNext = (0, _Keys.isTabNext)(e);
224
+ const target = (0, _getNormalizedTarget.default)(e.target);
225
+ const targetType = this.getFocusedElementType(e.target);
553
226
  if (this.columnHeaderTabbables.includes(target)) {
554
227
  if (isNext && this.columnHeaderLastElement === target) {
555
- return this._focusNextElement(event);
228
+ return this._focusNextElement();
556
229
  }
557
230
  return;
558
231
  }
559
- if (isNext && targetType === "columnHeader" && !this.columnHeaderTabbables.length) {
560
- return this._focusNextElement(event);
232
+ if (isNext && targetType === TableFocusTargetElement.ColumnHeader && !this.columnHeaderTabbables.length) {
233
+ return this._focusNextElement();
561
234
  }
562
- if (targetType === "tableRow" || !targetType) {
235
+ if (targetType === TableFocusTargetElement.Row || !targetType) {
563
236
  return;
564
237
  }
565
238
  switch (targetType) {
566
- case "tableGroupRow":
567
- return isNext ? this._focusNextElement(event) : this._focusForwardElement(event, false);
568
- case "columnHeader":
569
- return !isNext && this._focusForwardElement(event, false);
570
- case "moreButton":
239
+ case TableFocusTargetElement.GroupRow:
240
+ return isNext ? this._focusNextElement() : this._focusForwardElement(false);
241
+ case TableFocusTargetElement.ColumnHeader:
242
+ return !isNext && this._focusForwardElement(false);
243
+ case TableFocusTargetElement.MoreButton:
571
244
  if (isNext) {
572
- this._focusForwardElement(event, true);
245
+ this._focusForwardElement(true);
573
246
  } else {
574
- event.preventDefault();
575
- this.currentElement.focus();
247
+ e.preventDefault();
248
+ this.currentElement?.focus();
576
249
  }
577
250
  }
578
251
  }
579
- _focusNextElement(event) {
252
+ _focusNextElement() {
580
253
  if (!this.growsWithButton) {
581
- this._focusForwardElement(event, true);
254
+ this._focusForwardElement(true);
582
255
  } else {
583
256
  this.morеBtn.focus();
584
257
  }
585
258
  }
586
- _handleArrowNav(event) {
259
+ _handleArrowNav(e) {
587
260
  const isRowFocused = this.currentElement.localName === "tr";
588
261
  if (!isRowFocused) {
589
262
  return;
@@ -595,16 +268,16 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
595
268
  const nextItemIdx = currentItemIdx + 1;
596
269
  const prevItem = this.rows[prevItemIdx];
597
270
  const nextItem = this.rows[nextItemIdx];
598
- const wasSelected = currentItem.selected;
599
- if ((0, _Keys.isUpShift)(event) && !prevItem || (0, _Keys.isDownShift)(event) && !nextItem) {
271
+ const wasSelected = !!currentItem.selected;
272
+ if ((0, _Keys.isUpShift)(e) && !prevItem || (0, _Keys.isDownShift)(e) && !nextItem) {
600
273
  return;
601
274
  }
602
- if ((0, _Keys.isUpShift)(event)) {
275
+ if ((0, _Keys.isUpShift)(e)) {
603
276
  currentItem.selected = currentItem.selected && !prevItem.selected;
604
277
  prevItem.selected = currentItem.selected || wasSelected && !currentItem.selected;
605
278
  prevItem.focus();
606
279
  }
607
- if ((0, _Keys.isDownShift)(event)) {
280
+ if ((0, _Keys.isDownShift)(e)) {
608
281
  currentItem.selected = currentItem.selected && !nextItem.selected;
609
282
  nextItem.selected = currentItem.selected || wasSelected && !currentItem.selected;
610
283
  nextItem.focus();
@@ -615,7 +288,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
615
288
  previouslySelectedRows
616
289
  });
617
290
  }
618
- _handleHomeEndSelection(event) {
291
+ _handleHomeEndSelection(e) {
619
292
  const isRowFocused = this.currentElement.localName === "tr";
620
293
  if (!isRowFocused) {
621
294
  return;
@@ -623,13 +296,13 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
623
296
  const rows = this.rows;
624
297
  const previouslySelectedRows = this.selectedRows;
625
298
  const currentItemIdx = this.currentItemIdx;
626
- if ((0, _Keys.isHomeShift)(event)) {
299
+ if ((0, _Keys.isHomeShift)(e)) {
627
300
  rows.slice(0, currentItemIdx + 1).forEach(item => {
628
301
  item.selected = true;
629
302
  });
630
303
  rows[0].focus();
631
304
  }
632
- if ((0, _Keys.isEndShift)(event)) {
305
+ if ((0, _Keys.isEndShift)(e)) {
633
306
  rows.slice(currentItemIdx).forEach(item => {
634
307
  item.selected = true;
635
308
  });
@@ -641,46 +314,45 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
641
314
  previouslySelectedRows
642
315
  });
643
316
  }
644
-
645
317
  /**
646
318
  * Handles Alt + Up/Down.
647
319
  * Switches focus between column header, last focused item, and "More" button (if applicable).
648
320
  * @private
649
- * @param {CustomEvent} event
321
+ * @param { KeyboardEvent } e
650
322
  */
651
- _handleArrowAlt(event) {
652
- const shouldMoveUp = (0, _Keys.isUpAlt)(event);
653
- const focusedElementType = this.getFocusedElementType(event.target);
323
+ _handleArrowAlt(e) {
324
+ const shouldMoveUp = (0, _Keys.isUpAlt)(e);
325
+ const target = e.target;
326
+ const focusedElementType = this.getFocusedElementType(target);
654
327
  if (shouldMoveUp) {
655
328
  switch (focusedElementType) {
656
- case "tableRow":
657
- case "tableGroupRow":
658
- this._prevFocusedRow = event.target;
659
- return this._onColumnHeaderClick(event);
660
- case "columnHeader":
661
- return this.morеBtn ? this.morеBtn.focus() : this._prevFocusedRow.focus();
662
- case "moreButton":
663
- return this._prevFocusedRow ? this._prevFocusedRow.focus() : this._onColumnHeaderClick(event);
329
+ case TableFocusTargetElement.Row:
330
+ case TableFocusTargetElement.GroupRow:
331
+ this._prevFocusedRow = target;
332
+ return this._onColumnHeaderClick(e);
333
+ case TableFocusTargetElement.ColumnHeader:
334
+ return this.morеBtn ? this.morеBtn.focus() : this._prevFocusedRow?.focus();
335
+ case TableFocusTargetElement.MoreButton:
336
+ return this._prevFocusedRow ? this._prevFocusedRow.focus() : this._onColumnHeaderClick(e);
664
337
  }
665
338
  } else {
666
339
  switch (focusedElementType) {
667
- case "tableRow":
668
- case "tableGroupRow":
669
- this._prevFocusedRow = event.target;
670
- return this.morеBtn ? this.morеBtn.focus() : this._onColumnHeaderClick(event);
671
- case "columnHeader":
340
+ case TableFocusTargetElement.Row:
341
+ case TableFocusTargetElement.GroupRow:
342
+ this._prevFocusedRow = target;
343
+ return this.morеBtn ? this.morеBtn.focus() : this._onColumnHeaderClick(e);
344
+ case TableFocusTargetElement.ColumnHeader:
672
345
  if (this._prevFocusedRow) {
673
346
  this._prevFocusedRow.focus();
674
347
  } else if (this.morеBtn) {
675
348
  this.morеBtn.focus();
676
349
  }
677
350
  return;
678
- case "moreButton":
679
- return this._onColumnHeaderClick(event);
351
+ case TableFocusTargetElement.MoreButton:
352
+ return this._onColumnHeaderClick(e);
680
353
  }
681
354
  }
682
355
  }
683
-
684
356
  /**
685
357
  * Determines the type of the currently focused element.
686
358
  * @private
@@ -689,24 +361,23 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
689
361
  */
690
362
  getFocusedElementType(element) {
691
363
  if (element === this.columnHeader) {
692
- return "columnHeader";
364
+ return TableFocusTargetElement.ColumnHeader;
693
365
  }
694
366
  if (element === this.morеBtn) {
695
- return "moreButton";
367
+ return TableFocusTargetElement.MoreButton;
696
368
  }
697
369
  if (this.rows.includes(element)) {
698
370
  const isGroupRow = element.hasAttribute("ui5-table-group-row");
699
- return isGroupRow ? "tableGroupRow" : "tableRow";
371
+ return isGroupRow ? TableFocusTargetElement.GroupRow : TableFocusTargetElement.Row;
700
372
  }
701
373
  }
702
-
703
374
  /**
704
375
  * Toggles focus between the table row's root and the last focused nested element.
705
376
  * @private
706
- * @param {CustomEvent} event "ui5-f7-pressed"
377
+ * @param { CustomEvent } e "ui5-f7-pressed"
707
378
  */
708
- _handleF7(event) {
709
- const row = event.detail.row;
379
+ _handleF7(e) {
380
+ const row = e.detail.row;
710
381
  row._tabbables = (0, _TabbableElements.getTabbableElements)(row);
711
382
  const activeElement = (0, _getActiveElement.default)();
712
383
  const lastFocusedElement = row._tabbables[this._prevNestedElementIndex] || row._tabbables[0];
@@ -721,8 +392,8 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
721
392
  row.root.focus();
722
393
  }
723
394
  }
724
- _onfocusin(event) {
725
- const target = (0, _getNormalizedTarget.default)(event.target);
395
+ _onfocusin(e) {
396
+ const target = (0, _getNormalizedTarget.default)(e.target);
726
397
  if (!this._isForwardElement(target)) {
727
398
  this.lastFocusedElement = target;
728
399
  return;
@@ -733,77 +404,88 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
733
404
  } else {
734
405
  this.currentElement.focus();
735
406
  }
736
- event.stopImmediatePropagation();
407
+ e.stopImmediatePropagation();
737
408
  }
738
409
  this._forwardingFocus = false;
739
410
  }
740
- _onForwardBefore(event) {
741
- this.lastFocusedElement = event.detail.target;
742
- this._focusForwardElement(event, false);
743
- event.stopImmediatePropagation();
411
+ _onForwardBefore(e) {
412
+ this.lastFocusedElement = e.detail.target;
413
+ this._focusForwardElement(false);
414
+ e.stopImmediatePropagation();
744
415
  }
745
- _onForwardAfter(event) {
746
- this.lastFocusedElement = event.detail.target;
416
+ _onForwardAfter(e) {
417
+ this.lastFocusedElement = e.detail.target;
747
418
  if (!this.growsWithButton) {
748
- this._focusForwardElement(event, true);
419
+ this._focusForwardElement(true);
749
420
  } else {
750
421
  this.morеBtn.focus();
751
422
  }
752
423
  }
753
- _focusForwardElement(event, isAfter) {
424
+ _focusForwardElement(isAfter) {
754
425
  this._forwardingFocus = true;
755
426
  this.shadowRoot.querySelector(`#${this._id}-${isAfter ? "after" : "before"}`).focus();
756
427
  }
757
- _isForwardElement(node) {
758
- const nodeId = node.id;
428
+ _isForwardElement(element) {
429
+ const elementId = element.id;
759
430
  const afterElement = this._getForwardElement(true);
760
431
  const beforeElement = this._getForwardElement(false);
761
- if (this._id === nodeId || beforeElement && beforeElement.id === nodeId) {
432
+ if (this._id === elementId || beforeElement && beforeElement.id === elementId) {
762
433
  return true;
763
434
  }
764
- return afterElement && afterElement.id === nodeId;
435
+ return !!(afterElement && afterElement.id === elementId);
765
436
  }
766
437
  _getForwardElement(isAfter) {
767
- const dir = isAfter ? "after" : "before";
768
- if (!this[`_${dir}Element`]) {
769
- this[`_${dir}Element`] = this.shadowRoot.querySelector(`#${this._id}-${dir}`);
438
+ if (isAfter) {
439
+ return this._getAfterForwardElement();
770
440
  }
771
- return this[`_${dir}Element`];
441
+ return this._getBeforeForwardElement();
772
442
  }
773
- onRowFocused(event) {
774
- this._itemNavigation.setCurrentItem(event.target);
443
+ _getAfterForwardElement() {
444
+ if (!this._afterElement) {
445
+ this._afterElement = this.shadowRoot.querySelector(`#${this._id}-after`);
446
+ }
447
+ return this._afterElement;
448
+ }
449
+ _getBeforeForwardElement() {
450
+ if (!this._beforeElement) {
451
+ this._beforeElement = this.shadowRoot.querySelector(`#${this._id}-before`);
452
+ }
453
+ return this._beforeElement;
775
454
  }
776
- _onColumnHeaderFocused(event) {
455
+ onRowFocused(e) {
456
+ this._itemNavigation.setCurrentItem(e.target);
457
+ }
458
+ _onColumnHeaderFocused() {
777
459
  this._itemNavigation.setCurrentItem(this._columnHeader);
778
460
  }
779
- _onColumnHeaderClick(event) {
780
- if (!event.target) {
461
+ _onColumnHeaderClick(e) {
462
+ if (!e.target) {
781
463
  this.columnHeader.focus();
782
464
  }
783
- const target = (0, _getNormalizedTarget.default)(event.target);
465
+ const target = (0, _getNormalizedTarget.default)(e.target);
784
466
  const isNestedElement = this.columnHeaderTabbables.includes(target);
785
467
  if (!isNestedElement) {
786
468
  this.columnHeader.focus();
787
469
  }
788
470
  }
789
- _onColumnHeaderKeydown(event) {
790
- if ((0, _Keys.isSpace)(event)) {
791
- event.preventDefault();
471
+ _onColumnHeaderKeydown(e) {
472
+ if ((0, _Keys.isSpace)(e)) {
473
+ e.preventDefault();
792
474
  this.isMultiSelect && this._selectAll();
793
475
  }
794
476
  }
795
- _onLoadMoreKeydown(event) {
796
- if ((0, _Keys.isSpace)(event)) {
797
- event.preventDefault();
477
+ _onLoadMoreKeydown(e) {
478
+ if ((0, _Keys.isSpace)(e)) {
479
+ e.preventDefault();
798
480
  this._loadMoreActive = true;
799
481
  }
800
- if ((0, _Keys.isEnter)(event)) {
482
+ if ((0, _Keys.isEnter)(e)) {
801
483
  this._onLoadMoreClick();
802
484
  this._loadMoreActive = true;
803
485
  }
804
486
  }
805
- _onLoadMoreKeyup(event) {
806
- if ((0, _Keys.isSpace)(event)) {
487
+ _onLoadMoreKeyup(e) {
488
+ if ((0, _Keys.isSpace)(e)) {
807
489
  this._onLoadMoreClick();
808
490
  }
809
491
  this._loadMoreActive = false;
@@ -825,8 +507,11 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
825
507
  loadMore() {
826
508
  this.fireEvent("load-more");
827
509
  }
828
- _handleSingleSelect(event) {
829
- const row = this.getRowParent(event.target);
510
+ _handleSingleSelect(e) {
511
+ const row = this.getRowParent(e.target);
512
+ if (!row) {
513
+ return;
514
+ }
830
515
  if (!row.selected) {
831
516
  const previouslySelectedRows = this.selectedRows;
832
517
  this.rows.forEach(item => {
@@ -841,9 +526,12 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
841
526
  });
842
527
  }
843
528
  }
844
- _handleMultiSelect(event) {
845
- const row = this.getRowParent(event.target);
529
+ _handleMultiSelect(e) {
530
+ const row = this.getRowParent(e.target);
846
531
  const previouslySelectedRows = this.selectedRows;
532
+ if (!row) {
533
+ return;
534
+ }
847
535
  row.selected = !row.selected;
848
536
  const selectedRows = this.selectedRows;
849
537
  if (selectedRows.length === this.rows.length) {
@@ -856,10 +544,16 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
856
544
  previouslySelectedRows
857
545
  });
858
546
  }
859
- _handleSelect(event) {
860
- this[`_handle${this.mode}`](event);
547
+ _handleSelect(e) {
548
+ if (this.isSingleSelect) {
549
+ this._handleSingleSelect(e);
550
+ return;
551
+ }
552
+ if (this.isMultiSelect) {
553
+ this._handleMultiSelect(e);
554
+ }
861
555
  }
862
- _selectAll(event) {
556
+ _selectAll() {
863
557
  const bAllSelected = !this._allRowsSelected;
864
558
  const previouslySelectedRows = this.rows.filter(row => row.selected);
865
559
  this._allRowsSelected = bAllSelected;
@@ -873,34 +567,41 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
873
567
  });
874
568
  }
875
569
  getRowParent(child) {
876
- const parent = child.parentElement;
877
570
  if (child.hasAttribute("ui5-table-row")) {
878
571
  return child;
879
572
  }
880
- if (parent && parent.hasAttribute("ui5-table-row")) {
573
+ const parent = child.parentElement;
574
+ if (!parent) {
575
+ return;
576
+ }
577
+ if (parent.hasAttribute("ui5-table-row")) {
881
578
  return parent;
882
579
  }
883
- this.getRowParent(parent);
580
+ return this.getRowParent(parent);
884
581
  }
885
582
  get columnHeader() {
886
- return this.getDomRef() && this.getDomRef().querySelector(`#${this._id}-columnHeader`);
583
+ const domRef = this.getDomRef();
584
+ return domRef ? domRef.querySelector(`#${this._id}-columnHeader`) : null;
887
585
  }
888
586
  get morеBtn() {
889
- return this.growsWithButton && this.getDomRef() && this.getDomRef().querySelector(`#${this._id}-growingButton`);
587
+ const domRef = this.getDomRef();
588
+ if (this.growsWithButton && domRef) {
589
+ return domRef.querySelector(`#${this._id}-growingButton`);
590
+ }
591
+ return null;
890
592
  }
891
- handleResize(event) {
593
+ handleResize() {
892
594
  this.checkTableInViewport();
893
- this.popinContent(event);
595
+ this.popinContent();
894
596
  }
895
597
  checkTableInViewport() {
896
598
  this._inViewport = (0, _isElementInView.default)(this.getDomRef());
897
599
  }
898
- popinContent(_event) {
600
+ popinContent() {
899
601
  const clientRect = this.getDomRef().getBoundingClientRect();
900
602
  const tableWidth = clientRect.width;
901
603
  const hiddenColumns = [];
902
604
  const visibleColumnsIndexes = [];
903
-
904
605
  // store the hidden columns
905
606
  this.columns.forEach((column, index) => {
906
607
  if (tableWidth < column.minWidth && column.minWidth !== Infinity) {
@@ -919,9 +620,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
919
620
  }
920
621
  this.columns[visibleColumnsIndexes[visibleColumnsIndexes.length - 1]].last = true;
921
622
  }
922
-
623
+ const hiddenColumnsChange = this._hiddenColumns.length !== hiddenColumns.length || this._hiddenColumns.some((column, index) => column !== hiddenColumns[index]);
923
624
  // invalidate only if hidden columns count has changed
924
- if (this._hiddenColumns.length !== hiddenColumns.length) {
625
+ if (hiddenColumnsChange) {
925
626
  this._hiddenColumns = hiddenColumns;
926
627
  if (hiddenColumns.length) {
927
628
  this.fireEvent("popin-change", {
@@ -930,11 +631,10 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
930
631
  }
931
632
  }
932
633
  }
933
-
934
634
  /**
935
635
  * Gets settings to be propagated from columns to rows.
936
636
  *
937
- * @returns {object}
637
+ * @returns { array }
938
638
  * @memberof Table
939
639
  */
940
640
  getColumnPropagationSettings() {
@@ -945,6 +645,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
945
645
  demandPopin: column.demandPopin,
946
646
  text: column.textContent,
947
647
  popinText: column.popinText,
648
+ popinDisplay: column.popinDisplay,
948
649
  visible: !this._hiddenColumns[index]
949
650
  };
950
651
  }, this);
@@ -973,10 +674,11 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
973
674
  return this.growing === _TableGrowingMode.default.Scroll;
974
675
  }
975
676
  get _growingButtonText() {
976
- return this.growingButtonText || Table.i18nBundle.getText(_i18nDefaults.LOAD_MORE_TEXT);
677
+ return this.growingButtonText || Table_1.i18nBundle.getText(_i18nDefaults.LOAD_MORE_TEXT);
977
678
  }
978
679
  get ariaLabelText() {
979
- const headerRowText = Table.i18nBundle.getText(_i18nDefaults.TABLE_HEADER_ROW_TEXT);
680
+ const rowsCount = this.rows.length + 1;
681
+ const headerRowText = Table_1.i18nBundle.getText(_i18nDefaults.TABLE_HEADER_ROW_INFORMATION, rowsCount);
980
682
  const columnsTitle = this.columns.map(column => {
981
683
  return column.textContent.trim();
982
684
  }).join(" ");
@@ -986,7 +688,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
986
688
  return (0, _AriaLabelHelper.getEffectiveAriaLabelText)(this);
987
689
  }
988
690
  get ariaLabelSelectAllText() {
989
- return Table.i18nBundle.getText(_i18nDefaults.ARIA_LABEL_SELECT_ALL_CHECKBOX);
691
+ return Table_1.i18nBundle.getText(_i18nDefaults.ARIA_LABEL_SELECT_ALL_CHECKBOX);
990
692
  }
991
693
  get loadMoreAriaLabelledBy() {
992
694
  if (this.moreDataText) {
@@ -1001,7 +703,10 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1001
703
  return this._inViewport ? "absolute" : "sticky";
1002
704
  }
1003
705
  get isMultiSelect() {
1004
- return this.mode === "MultiSelect";
706
+ return this.mode === _TableMode.default.MultiSelect;
707
+ }
708
+ get isSingleSelect() {
709
+ return this.mode === _TableMode.default.SingleSelect;
1005
710
  }
1006
711
  get selectedRows() {
1007
712
  return this.rows.filter(row => row.selected);
@@ -1016,12 +721,137 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1016
721
  return this._itemNavigation._getCurrentItem();
1017
722
  }
1018
723
  get columnHeaderTabbables() {
1019
- return (0, _TabbableElements.getTabbableElements)(this.columnHeader);
724
+ return this.columnHeader ? (0, _TabbableElements.getTabbableElements)(this.columnHeader) : [];
1020
725
  }
1021
726
  get columnHeaderLastElement() {
1022
- return (0, _TabbableElements.getLastTabbableElement)(this.columnHeader);
727
+ return this.columnHeader && (0, _TabbableElements.getLastTabbableElement)(this.columnHeader);
728
+ }
729
+ };
730
+ __decorate([(0, _property.default)()], Table.prototype, "noDataText", void 0);
731
+ __decorate([(0, _property.default)()], Table.prototype, "growingButtonText", void 0);
732
+ __decorate([(0, _property.default)()], Table.prototype, "growingButtonSubtext", void 0);
733
+ __decorate([(0, _property.default)({
734
+ type: Boolean
735
+ })], Table.prototype, "hideNoData", void 0);
736
+ __decorate([(0, _property.default)({
737
+ type: _TableGrowingMode.default,
738
+ defaultValue: _TableGrowingMode.default.None
739
+ })], Table.prototype, "growing", void 0);
740
+ __decorate([(0, _property.default)({
741
+ type: Boolean
742
+ })], Table.prototype, "busy", void 0);
743
+ __decorate([(0, _property.default)({
744
+ validator: _Integer.default,
745
+ defaultValue: 1000
746
+ })], Table.prototype, "busyDelay", void 0);
747
+ __decorate([(0, _property.default)({
748
+ type: Boolean
749
+ })], Table.prototype, "stickyColumnHeader", void 0);
750
+ __decorate([(0, _property.default)({
751
+ type: _TableMode.default,
752
+ defaultValue: _TableMode.default.None
753
+ })], Table.prototype, "mode", void 0);
754
+ __decorate([(0, _property.default)({
755
+ defaultValue: undefined
756
+ })], Table.prototype, "accessibleName", void 0);
757
+ __decorate([(0, _property.default)({
758
+ defaultValue: ""
759
+ })], Table.prototype, "accessibleNameRef", void 0);
760
+ __decorate([(0, _property.default)({
761
+ type: Object,
762
+ multiple: true
763
+ })], Table.prototype, "_hiddenColumns", void 0);
764
+ __decorate([(0, _property.default)({
765
+ type: Boolean
766
+ })], Table.prototype, "_noDataDisplayed", void 0);
767
+ __decorate([(0, _property.default)({
768
+ type: Boolean
769
+ })], Table.prototype, "_loadMoreActive", void 0);
770
+ __decorate([(0, _property.default)({
771
+ type: Object
772
+ })], Table.prototype, "_columnHeader", void 0);
773
+ __decorate([(0, _property.default)({
774
+ type: Boolean
775
+ })], Table.prototype, "_inViewport", void 0);
776
+ __decorate([(0, _property.default)({
777
+ type: Boolean
778
+ })], Table.prototype, "_allRowsSelected", void 0);
779
+ __decorate([(0, _slot.default)({
780
+ type: HTMLElement,
781
+ "default": true,
782
+ individualSlots: true,
783
+ invalidateOnChildChange: true
784
+ })], Table.prototype, "rows", void 0);
785
+ __decorate([(0, _slot.default)({
786
+ type: HTMLElement,
787
+ individualSlots: true,
788
+ invalidateOnChildChange: {
789
+ properties: true,
790
+ slots: false
791
+ }
792
+ })], Table.prototype, "columns", void 0);
793
+ Table = Table_1 = __decorate([(0, _customElement.default)({
794
+ tag: "ui5-table",
795
+ fastNavigation: true,
796
+ styles: _Table.default,
797
+ renderer: _LitRenderer.default,
798
+ template: _TableTemplate.default,
799
+ dependencies: [_BusyIndicator.default, _CheckBox.default]
800
+ })
801
+ /** Fired when a row in <code>Active</code> mode is clicked or <code>Enter</code> key is pressed.
802
+ *
803
+ * @event sap.ui.webc.main.Table#row-click
804
+ * @param {HTMLElement} row the activated row.
805
+ * @public
806
+ */, (0, _event.default)("row-click", {
807
+ detail: {
808
+ row: {
809
+ type: HTMLElement
810
+ }
811
+ }
812
+ })
813
+ /**
814
+ * Fired when <code>ui5-table-column</code> is shown as a pop-in instead of hiding it.
815
+ *
816
+ * @event sap.ui.webc.main.Table#popin-change
817
+ * @param {Array} poppedColumns popped-in columns.
818
+ * @since 1.0.0-rc.6
819
+ * @public
820
+ */, (0, _event.default)("popin-change", {
821
+ detail: {
822
+ poppedColumns: {
823
+ type: Array
824
+ }
825
+ }
826
+ })
827
+ /**
828
+ * Fired when the user presses the <code>More</code> button or scrolls to the table's end.
829
+ * <br><br>
830
+ *
831
+ * <b>Note:</b> The event will be fired if <code>growing</code> is set to <code>Button</code> or <code>Scroll</code>.
832
+ * @event sap.ui.webc.main.Table#load-more
833
+ * @public
834
+ * @since 1.0.0-rc.11
835
+ */, (0, _event.default)("load-more")
836
+ /**
837
+ * Fired when selection is changed by user interaction
838
+ * in <code>SingleSelect</code> and <code>MultiSelect</code> modes.
839
+ *
840
+ * @event sap.ui.webc.main.Table#selection-change
841
+ * @param {Array} selectedRows An array of the selected rows.
842
+ * @param {Array} previouslySelectedRows An array of the previously selected rows.
843
+ * @public
844
+ * @since 1.0.0-rc.15
845
+ */, (0, _event.default)("selection-change", {
846
+ detail: {
847
+ selectedRows: {
848
+ type: Array
849
+ },
850
+ previouslySelectedRows: {
851
+ type: Array
852
+ }
1023
853
  }
1024
- }
854
+ })], Table);
1025
855
  Table.define();
1026
856
  var _default = Table;
1027
857
  _exports.default = _default;