@ui5/webcomponents 2.8.0-rc.1 → 2.8.0-rc.3

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 (690) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/cypress/specs/Avatar.cy.tsx +15 -0
  3. package/cypress/specs/Dialog.cy.tsx +89 -0
  4. package/cypress/specs/Input.cy.tsx +230 -1
  5. package/cypress/specs/Popover.cy.tsx +242 -0
  6. package/cypress/specs/Select.cy.tsx +15 -0
  7. package/cypress/specs/Table.cy.tsx +86 -83
  8. package/cypress/specs/TableNavigation.cy.tsx +223 -0
  9. package/cypress/specs/TableNavigationFixedHeader.cy.tsx +199 -0
  10. package/cypress/specs/TableSelection.cy.tsx +280 -0
  11. package/cypress/specs/TableSelections.cy.tsx +296 -0
  12. package/cypress/specs/Text.cy.tsx +19 -3
  13. package/cypress/specs/Tokenizer.cy.tsx +36 -0
  14. package/cypress/specs/base/Events.cy.tsx +4 -5
  15. package/dist/.tsbuildinfo +1 -1
  16. package/dist/Avatar.d.ts +4 -1
  17. package/dist/Avatar.js.map +1 -1
  18. package/dist/AvatarTemplate.js +1 -1
  19. package/dist/AvatarTemplate.js.map +1 -1
  20. package/dist/ComboBoxItemGroupTemplate.js +2 -2
  21. package/dist/ComboBoxItemGroupTemplate.js.map +1 -1
  22. package/dist/ExpandableText.d.ts +0 -1
  23. package/dist/ExpandableText.js +0 -7
  24. package/dist/ExpandableText.js.map +1 -1
  25. package/dist/ExpandableTextTemplate.js +1 -1
  26. package/dist/ExpandableTextTemplate.js.map +1 -1
  27. package/dist/Input.d.ts +1 -1
  28. package/dist/Input.js +11 -8
  29. package/dist/Input.js.map +1 -1
  30. package/dist/InputPopoverTemplate.d.ts +4 -1
  31. package/dist/InputPopoverTemplate.js +3 -2
  32. package/dist/InputPopoverTemplate.js.map +1 -1
  33. package/dist/InputTemplate.d.ts +3 -1
  34. package/dist/InputTemplate.js +2 -1
  35. package/dist/InputTemplate.js.map +1 -1
  36. package/dist/List.d.ts +5 -2
  37. package/dist/List.js +24 -2
  38. package/dist/List.js.map +1 -1
  39. package/dist/ListBoxItemGroupTemplate.d.ts +4 -0
  40. package/dist/ListBoxItemGroupTemplate.js +13 -0
  41. package/dist/ListBoxItemGroupTemplate.js.map +1 -0
  42. package/dist/ListItemGroupHeader.d.ts +6 -0
  43. package/dist/ListItemGroupHeader.js +20 -3
  44. package/dist/ListItemGroupHeader.js.map +1 -1
  45. package/dist/ListItemGroupHeaderTemplate.js +3 -3
  46. package/dist/ListItemGroupHeaderTemplate.js.map +1 -1
  47. package/dist/ListItemGroupTemplate.d.ts +1 -3
  48. package/dist/ListItemGroupTemplate.js +5 -8
  49. package/dist/ListItemGroupTemplate.js.map +1 -1
  50. package/dist/ListTemplate.js +2 -2
  51. package/dist/ListTemplate.js.map +1 -1
  52. package/dist/MultiComboBoxItemGroupTemplate.js +2 -2
  53. package/dist/MultiComboBoxItemGroupTemplate.js.map +1 -1
  54. package/dist/Popover.d.ts +0 -6
  55. package/dist/Popover.js +8 -14
  56. package/dist/Popover.js.map +1 -1
  57. package/dist/Popup.js +3 -1
  58. package/dist/Popup.js.map +1 -1
  59. package/dist/Select.d.ts +7 -0
  60. package/dist/Select.js +4 -3
  61. package/dist/Select.js.map +1 -1
  62. package/dist/SelectTemplate.js +2 -2
  63. package/dist/SelectTemplate.js.map +1 -1
  64. package/dist/SuggestionItemGroup.js +2 -0
  65. package/dist/SuggestionItemGroup.js.map +1 -1
  66. package/dist/Table.d.ts +13 -7
  67. package/dist/Table.js +26 -28
  68. package/dist/Table.js.map +1 -1
  69. package/dist/TableCellBase.d.ts +1 -0
  70. package/dist/TableCellBase.js +4 -0
  71. package/dist/TableCellBase.js.map +1 -1
  72. package/dist/TableHeaderCell.d.ts +11 -0
  73. package/dist/TableHeaderCell.js +14 -0
  74. package/dist/TableHeaderCell.js.map +1 -1
  75. package/dist/TableHeaderCellActionAI.d.ts +1 -0
  76. package/dist/TableHeaderCellActionAI.js +1 -0
  77. package/dist/TableHeaderCellActionAI.js.map +1 -1
  78. package/dist/TableHeaderRow.d.ts +0 -1
  79. package/dist/TableHeaderRow.js +1 -4
  80. package/dist/TableHeaderRow.js.map +1 -1
  81. package/dist/TableRow.d.ts +5 -3
  82. package/dist/TableRow.js +2 -9
  83. package/dist/TableRow.js.map +1 -1
  84. package/dist/TableRowAction.d.ts +10 -8
  85. package/dist/TableRowAction.js +10 -11
  86. package/dist/TableRowAction.js.map +1 -1
  87. package/dist/TableRowActionNavigation.d.ts +1 -0
  88. package/dist/TableRowActionNavigation.js +1 -0
  89. package/dist/TableRowActionNavigation.js.map +1 -1
  90. package/dist/TableRowBase.d.ts +2 -2
  91. package/dist/TableRowBase.js +9 -7
  92. package/dist/TableRowBase.js.map +1 -1
  93. package/dist/TableSelection.d.ts +9 -7
  94. package/dist/TableSelection.js +34 -30
  95. package/dist/TableSelection.js.map +1 -1
  96. package/dist/TableSelectionBase.d.ts +79 -0
  97. package/dist/TableSelectionBase.js +108 -0
  98. package/dist/TableSelectionBase.js.map +1 -0
  99. package/dist/TableSelectionMulti.d.ts +92 -0
  100. package/dist/TableSelectionMulti.js +260 -0
  101. package/dist/TableSelectionMulti.js.map +1 -0
  102. package/dist/TableSelectionSingle.d.ts +49 -0
  103. package/dist/TableSelectionSingle.js +67 -0
  104. package/dist/TableSelectionSingle.js.map +1 -0
  105. package/dist/Tokenizer.js +2 -2
  106. package/dist/Tokenizer.js.map +1 -1
  107. package/dist/bundle.esm.js +2 -0
  108. package/dist/bundle.esm.js.map +1 -1
  109. package/dist/css/themes/Avatar.css +1 -1
  110. package/dist/css/themes/AvatarGroup.css +1 -1
  111. package/dist/css/themes/Bar.css +1 -1
  112. package/dist/css/themes/Breadcrumbs.css +1 -1
  113. package/dist/css/themes/BusyIndicator.css +1 -1
  114. package/dist/css/themes/Button.css +1 -1
  115. package/dist/css/themes/ButtonBadge.css +1 -1
  116. package/dist/css/themes/Calendar.css +1 -1
  117. package/dist/css/themes/CalendarHeader.css +1 -1
  118. package/dist/css/themes/CalendarLegend.css +1 -1
  119. package/dist/css/themes/CalendarLegendItem.css +1 -1
  120. package/dist/css/themes/Card.css +1 -1
  121. package/dist/css/themes/CardHeader.css +1 -1
  122. package/dist/css/themes/Carousel.css +1 -1
  123. package/dist/css/themes/CheckBox.css +1 -1
  124. package/dist/css/themes/ColorPalette.css +1 -1
  125. package/dist/css/themes/ColorPaletteItem.css +1 -1
  126. package/dist/css/themes/ColorPalettePopover.css +1 -1
  127. package/dist/css/themes/ColorPicker.css +1 -1
  128. package/dist/css/themes/ComboBox.css +1 -1
  129. package/dist/css/themes/ComboBoxItem.css +1 -1
  130. package/dist/css/themes/DatePicker.css +1 -1
  131. package/dist/css/themes/DateTimePickerPopover.css +1 -1
  132. package/dist/css/themes/DayPicker.css +1 -1
  133. package/dist/css/themes/Dialog.css +1 -1
  134. package/dist/css/themes/FileUploader.css +1 -1
  135. package/dist/css/themes/Form.css +1 -1
  136. package/dist/css/themes/FormItem.css +1 -1
  137. package/dist/css/themes/FormItemSpan.css +1 -1
  138. package/dist/css/themes/GrowingButton.css +1 -1
  139. package/dist/css/themes/Icon.css +1 -1
  140. package/dist/css/themes/Input.css +1 -1
  141. package/dist/css/themes/InputIcon.css +1 -1
  142. package/dist/css/themes/InputSharedStyles.css +1 -1
  143. package/dist/css/themes/Link.css +1 -1
  144. package/dist/css/themes/List.css +1 -1
  145. package/dist/css/themes/ListItem.css +1 -1
  146. package/dist/css/themes/ListItemBase.css +1 -1
  147. package/dist/css/themes/ListItemCustom.css +1 -1
  148. package/dist/css/themes/ListItemGroup.css +1 -1
  149. package/dist/css/themes/ListItemGroupHeader.css +1 -1
  150. package/dist/css/themes/ListItemIcon.css +1 -1
  151. package/dist/css/themes/Menu.css +1 -1
  152. package/dist/css/themes/MenuItem.css +1 -1
  153. package/dist/css/themes/MessageStrip.css +1 -1
  154. package/dist/css/themes/MonthPicker.css +1 -1
  155. package/dist/css/themes/MultiComboBox.css +1 -1
  156. package/dist/css/themes/MultiComboBoxItem.css +1 -1
  157. package/dist/css/themes/MultiComboBoxPopover.css +1 -1
  158. package/dist/css/themes/MultiInput.css +1 -1
  159. package/dist/css/themes/OptionBase.css +1 -1
  160. package/dist/css/themes/Panel.css +1 -1
  161. package/dist/css/themes/Popover.css +1 -1
  162. package/dist/css/themes/PopupsCommon.css +1 -1
  163. package/dist/css/themes/ProgressIndicator.css +1 -1
  164. package/dist/css/themes/RadioButton.css +1 -1
  165. package/dist/css/themes/RangeSlider.css +1 -1
  166. package/dist/css/themes/RatingIndicator.css +1 -1
  167. package/dist/css/themes/ResponsivePopover.css +1 -1
  168. package/dist/css/themes/ResponsivePopoverCommon.css +1 -1
  169. package/dist/css/themes/SegmentedButton.css +1 -1
  170. package/dist/css/themes/SegmentedButtonItem.css +1 -1
  171. package/dist/css/themes/Select.css +1 -1
  172. package/dist/css/themes/SliderBase.css +1 -1
  173. package/dist/css/themes/SplitButton.css +1 -1
  174. package/dist/css/themes/StepInput.css +1 -1
  175. package/dist/css/themes/SuggestionItem.css +1 -1
  176. package/dist/css/themes/SuggestionItemCustom.css +1 -1
  177. package/dist/css/themes/Switch.css +1 -1
  178. package/dist/css/themes/TabContainer.css +1 -1
  179. package/dist/css/themes/TabInOverflow.css +1 -1
  180. package/dist/css/themes/TabInStrip.css +1 -1
  181. package/dist/css/themes/TabSemanticIcon.css +1 -1
  182. package/dist/css/themes/TabSeparatorInOverflow.css +1 -1
  183. package/dist/css/themes/Table.css +1 -1
  184. package/dist/css/themes/TableCellBase.css +1 -1
  185. package/dist/css/themes/TableHeaderRow.css +1 -1
  186. package/dist/css/themes/TableRow.css +1 -1
  187. package/dist/css/themes/TableRowActionBase.css +1 -1
  188. package/dist/css/themes/TableRowBase.css +1 -1
  189. package/dist/css/themes/Tag.css +1 -1
  190. package/dist/css/themes/Text.css +1 -1
  191. package/dist/css/themes/TextArea.css +1 -1
  192. package/dist/css/themes/TimePicker.css +1 -1
  193. package/dist/css/themes/Toast.css +1 -1
  194. package/dist/css/themes/ToggleButton.css +1 -1
  195. package/dist/css/themes/Token.css +1 -1
  196. package/dist/css/themes/Tokenizer.css +1 -1
  197. package/dist/css/themes/TokenizerPopover.css +1 -1
  198. package/dist/css/themes/Toolbar.css +1 -1
  199. package/dist/css/themes/ToolbarPopover.css +1 -1
  200. package/dist/css/themes/TreeItem.css +1 -1
  201. package/dist/css/themes/ValueStateMessage.css +1 -1
  202. package/dist/css/themes/YearPicker.css +1 -1
  203. package/dist/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
  204. package/dist/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
  205. package/dist/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
  206. package/dist/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
  207. package/dist/css/themes/sap_horizon/parameters-bundle.css +1 -1
  208. package/dist/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
  209. package/dist/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
  210. package/dist/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
  211. package/dist/custom-elements-internal.json +772 -34
  212. package/dist/custom-elements.json +725 -31
  213. package/dist/features/InputSuggestions.js +0 -2
  214. package/dist/features/InputSuggestions.js.map +1 -1
  215. package/dist/features/InputSuggestionsTemplate.d.ts +5 -1
  216. package/dist/features/InputSuggestionsTemplate.js +9 -5
  217. package/dist/features/InputSuggestionsTemplate.js.map +1 -1
  218. package/dist/generated/assets/i18n/messagebundle_ar.json +1 -1
  219. package/dist/generated/assets/i18n/messagebundle_bg.json +1 -1
  220. package/dist/generated/assets/i18n/messagebundle_ca.json +1 -1
  221. package/dist/generated/assets/i18n/messagebundle_cnr.json +1 -1
  222. package/dist/generated/assets/i18n/messagebundle_cs.json +1 -1
  223. package/dist/generated/assets/i18n/messagebundle_cy.json +1 -1
  224. package/dist/generated/assets/i18n/messagebundle_da.json +1 -1
  225. package/dist/generated/assets/i18n/messagebundle_de.json +1 -1
  226. package/dist/generated/assets/i18n/messagebundle_el.json +1 -1
  227. package/dist/generated/assets/i18n/messagebundle_en.json +1 -1
  228. package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -1
  229. package/dist/generated/assets/i18n/messagebundle_en_US_sappsd.json +1 -1
  230. package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -1
  231. package/dist/generated/assets/i18n/messagebundle_en_US_saptrc.json +1 -1
  232. package/dist/generated/assets/i18n/messagebundle_es.json +1 -1
  233. package/dist/generated/assets/i18n/messagebundle_es_MX.json +1 -1
  234. package/dist/generated/assets/i18n/messagebundle_et.json +1 -1
  235. package/dist/generated/assets/i18n/messagebundle_fi.json +1 -1
  236. package/dist/generated/assets/i18n/messagebundle_fr.json +1 -1
  237. package/dist/generated/assets/i18n/messagebundle_fr_CA.json +1 -1
  238. package/dist/generated/assets/i18n/messagebundle_hi.json +1 -1
  239. package/dist/generated/assets/i18n/messagebundle_hr.json +1 -1
  240. package/dist/generated/assets/i18n/messagebundle_hu.json +1 -1
  241. package/dist/generated/assets/i18n/messagebundle_it.json +1 -1
  242. package/dist/generated/assets/i18n/messagebundle_iw.json +1 -1
  243. package/dist/generated/assets/i18n/messagebundle_ja.json +1 -1
  244. package/dist/generated/assets/i18n/messagebundle_kk.json +1 -1
  245. package/dist/generated/assets/i18n/messagebundle_ko.json +1 -1
  246. package/dist/generated/assets/i18n/messagebundle_lt.json +1 -1
  247. package/dist/generated/assets/i18n/messagebundle_lv.json +1 -1
  248. package/dist/generated/assets/i18n/messagebundle_mk.json +1 -1
  249. package/dist/generated/assets/i18n/messagebundle_ms.json +1 -1
  250. package/dist/generated/assets/i18n/messagebundle_nl.json +1 -1
  251. package/dist/generated/assets/i18n/messagebundle_no.json +1 -1
  252. package/dist/generated/assets/i18n/messagebundle_pl.json +1 -1
  253. package/dist/generated/assets/i18n/messagebundle_pt.json +1 -1
  254. package/dist/generated/assets/i18n/messagebundle_pt_PT.json +1 -1
  255. package/dist/generated/assets/i18n/messagebundle_ro.json +1 -1
  256. package/dist/generated/assets/i18n/messagebundle_ru.json +1 -1
  257. package/dist/generated/assets/i18n/messagebundle_sh.json +1 -1
  258. package/dist/generated/assets/i18n/messagebundle_sk.json +1 -1
  259. package/dist/generated/assets/i18n/messagebundle_sl.json +1 -1
  260. package/dist/generated/assets/i18n/messagebundle_sr.json +1 -1
  261. package/dist/generated/assets/i18n/messagebundle_sv.json +1 -1
  262. package/dist/generated/assets/i18n/messagebundle_th.json +1 -1
  263. package/dist/generated/assets/i18n/messagebundle_tr.json +1 -1
  264. package/dist/generated/assets/i18n/messagebundle_uk.json +1 -1
  265. package/dist/generated/assets/i18n/messagebundle_vi.json +1 -1
  266. package/dist/generated/assets/i18n/messagebundle_zh_CN.json +1 -1
  267. package/dist/generated/assets/i18n/messagebundle_zh_TW.json +1 -1
  268. package/dist/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json +1 -1
  269. package/dist/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json +1 -1
  270. package/dist/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json +1 -1
  271. package/dist/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json +1 -1
  272. package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -1
  273. package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -1
  274. package/dist/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json +1 -1
  275. package/dist/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json +1 -1
  276. package/dist/generated/i18n/i18n-defaults.d.ts +3 -1
  277. package/dist/generated/i18n/i18n-defaults.js +3 -1
  278. package/dist/generated/i18n/i18n-defaults.js.map +1 -1
  279. package/dist/generated/templates/TableHeaderRowTemplate.lit.js +1 -1
  280. package/dist/generated/templates/TableHeaderRowTemplate.lit.js.map +1 -1
  281. package/dist/generated/templates/TableRowTemplate.lit.js +2 -2
  282. package/dist/generated/templates/TableRowTemplate.lit.js.map +1 -1
  283. package/dist/generated/themes/Avatar.css.d.ts +1 -1
  284. package/dist/generated/themes/Avatar.css.js +1 -1
  285. package/dist/generated/themes/Avatar.css.js.map +1 -1
  286. package/dist/generated/themes/AvatarGroup.css.d.ts +1 -1
  287. package/dist/generated/themes/AvatarGroup.css.js +1 -1
  288. package/dist/generated/themes/AvatarGroup.css.js.map +1 -1
  289. package/dist/generated/themes/Bar.css.d.ts +1 -1
  290. package/dist/generated/themes/Bar.css.js +1 -1
  291. package/dist/generated/themes/Bar.css.js.map +1 -1
  292. package/dist/generated/themes/Breadcrumbs.css.d.ts +1 -1
  293. package/dist/generated/themes/Breadcrumbs.css.js +1 -1
  294. package/dist/generated/themes/Breadcrumbs.css.js.map +1 -1
  295. package/dist/generated/themes/BusyIndicator.css.d.ts +1 -1
  296. package/dist/generated/themes/BusyIndicator.css.js +1 -1
  297. package/dist/generated/themes/BusyIndicator.css.js.map +1 -1
  298. package/dist/generated/themes/Button.css.d.ts +1 -1
  299. package/dist/generated/themes/Button.css.js +1 -1
  300. package/dist/generated/themes/Button.css.js.map +1 -1
  301. package/dist/generated/themes/ButtonBadge.css.d.ts +1 -1
  302. package/dist/generated/themes/ButtonBadge.css.js +1 -1
  303. package/dist/generated/themes/ButtonBadge.css.js.map +1 -1
  304. package/dist/generated/themes/Calendar.css.d.ts +1 -1
  305. package/dist/generated/themes/Calendar.css.js +1 -1
  306. package/dist/generated/themes/Calendar.css.js.map +1 -1
  307. package/dist/generated/themes/CalendarHeader.css.d.ts +1 -1
  308. package/dist/generated/themes/CalendarHeader.css.js +1 -1
  309. package/dist/generated/themes/CalendarHeader.css.js.map +1 -1
  310. package/dist/generated/themes/CalendarLegend.css.d.ts +1 -1
  311. package/dist/generated/themes/CalendarLegend.css.js +1 -1
  312. package/dist/generated/themes/CalendarLegend.css.js.map +1 -1
  313. package/dist/generated/themes/CalendarLegendItem.css.d.ts +1 -1
  314. package/dist/generated/themes/CalendarLegendItem.css.js +1 -1
  315. package/dist/generated/themes/CalendarLegendItem.css.js.map +1 -1
  316. package/dist/generated/themes/Card.css.d.ts +1 -1
  317. package/dist/generated/themes/Card.css.js +1 -1
  318. package/dist/generated/themes/Card.css.js.map +1 -1
  319. package/dist/generated/themes/CardHeader.css.d.ts +1 -1
  320. package/dist/generated/themes/CardHeader.css.js +1 -1
  321. package/dist/generated/themes/CardHeader.css.js.map +1 -1
  322. package/dist/generated/themes/Carousel.css.d.ts +1 -1
  323. package/dist/generated/themes/Carousel.css.js +1 -1
  324. package/dist/generated/themes/Carousel.css.js.map +1 -1
  325. package/dist/generated/themes/CheckBox.css.d.ts +1 -1
  326. package/dist/generated/themes/CheckBox.css.js +1 -1
  327. package/dist/generated/themes/CheckBox.css.js.map +1 -1
  328. package/dist/generated/themes/ColorPalette.css.d.ts +1 -1
  329. package/dist/generated/themes/ColorPalette.css.js +1 -1
  330. package/dist/generated/themes/ColorPalette.css.js.map +1 -1
  331. package/dist/generated/themes/ColorPaletteItem.css.d.ts +1 -1
  332. package/dist/generated/themes/ColorPaletteItem.css.js +1 -1
  333. package/dist/generated/themes/ColorPaletteItem.css.js.map +1 -1
  334. package/dist/generated/themes/ColorPalettePopover.css.d.ts +1 -1
  335. package/dist/generated/themes/ColorPalettePopover.css.js +1 -1
  336. package/dist/generated/themes/ColorPalettePopover.css.js.map +1 -1
  337. package/dist/generated/themes/ColorPicker.css.d.ts +1 -1
  338. package/dist/generated/themes/ColorPicker.css.js +1 -1
  339. package/dist/generated/themes/ColorPicker.css.js.map +1 -1
  340. package/dist/generated/themes/ComboBox.css.d.ts +1 -1
  341. package/dist/generated/themes/ComboBox.css.js +1 -1
  342. package/dist/generated/themes/ComboBox.css.js.map +1 -1
  343. package/dist/generated/themes/ComboBoxItem.css.d.ts +1 -1
  344. package/dist/generated/themes/ComboBoxItem.css.js +1 -1
  345. package/dist/generated/themes/ComboBoxItem.css.js.map +1 -1
  346. package/dist/generated/themes/DatePicker.css.d.ts +1 -1
  347. package/dist/generated/themes/DatePicker.css.js +1 -1
  348. package/dist/generated/themes/DatePicker.css.js.map +1 -1
  349. package/dist/generated/themes/DateTimePickerPopover.css.d.ts +1 -1
  350. package/dist/generated/themes/DateTimePickerPopover.css.js +1 -1
  351. package/dist/generated/themes/DateTimePickerPopover.css.js.map +1 -1
  352. package/dist/generated/themes/DayPicker.css.d.ts +1 -1
  353. package/dist/generated/themes/DayPicker.css.js +1 -1
  354. package/dist/generated/themes/DayPicker.css.js.map +1 -1
  355. package/dist/generated/themes/Dialog.css.d.ts +1 -1
  356. package/dist/generated/themes/Dialog.css.js +1 -1
  357. package/dist/generated/themes/Dialog.css.js.map +1 -1
  358. package/dist/generated/themes/FileUploader.css.d.ts +1 -1
  359. package/dist/generated/themes/FileUploader.css.js +1 -1
  360. package/dist/generated/themes/FileUploader.css.js.map +1 -1
  361. package/dist/generated/themes/Form.css.d.ts +1 -1
  362. package/dist/generated/themes/Form.css.js +1 -1
  363. package/dist/generated/themes/Form.css.js.map +1 -1
  364. package/dist/generated/themes/FormItem.css.d.ts +1 -1
  365. package/dist/generated/themes/FormItem.css.js +1 -1
  366. package/dist/generated/themes/FormItem.css.js.map +1 -1
  367. package/dist/generated/themes/FormItemSpan.css.d.ts +1 -1
  368. package/dist/generated/themes/FormItemSpan.css.js +1 -1
  369. package/dist/generated/themes/FormItemSpan.css.js.map +1 -1
  370. package/dist/generated/themes/GrowingButton.css.d.ts +1 -1
  371. package/dist/generated/themes/GrowingButton.css.js +1 -1
  372. package/dist/generated/themes/GrowingButton.css.js.map +1 -1
  373. package/dist/generated/themes/Icon.css.d.ts +1 -1
  374. package/dist/generated/themes/Icon.css.js +1 -1
  375. package/dist/generated/themes/Icon.css.js.map +1 -1
  376. package/dist/generated/themes/Input.css.d.ts +1 -1
  377. package/dist/generated/themes/Input.css.js +1 -1
  378. package/dist/generated/themes/Input.css.js.map +1 -1
  379. package/dist/generated/themes/InputIcon.css.d.ts +1 -1
  380. package/dist/generated/themes/InputIcon.css.js +1 -1
  381. package/dist/generated/themes/InputIcon.css.js.map +1 -1
  382. package/dist/generated/themes/InputSharedStyles.css.d.ts +1 -1
  383. package/dist/generated/themes/InputSharedStyles.css.js +1 -1
  384. package/dist/generated/themes/InputSharedStyles.css.js.map +1 -1
  385. package/dist/generated/themes/Link.css.d.ts +1 -1
  386. package/dist/generated/themes/Link.css.js +1 -1
  387. package/dist/generated/themes/Link.css.js.map +1 -1
  388. package/dist/generated/themes/List.css.d.ts +1 -1
  389. package/dist/generated/themes/List.css.js +1 -1
  390. package/dist/generated/themes/List.css.js.map +1 -1
  391. package/dist/generated/themes/ListItem.css.d.ts +1 -1
  392. package/dist/generated/themes/ListItem.css.js +1 -1
  393. package/dist/generated/themes/ListItem.css.js.map +1 -1
  394. package/dist/generated/themes/ListItemBase.css.d.ts +1 -1
  395. package/dist/generated/themes/ListItemBase.css.js +1 -1
  396. package/dist/generated/themes/ListItemBase.css.js.map +1 -1
  397. package/dist/generated/themes/ListItemCustom.css.d.ts +1 -1
  398. package/dist/generated/themes/ListItemCustom.css.js +1 -1
  399. package/dist/generated/themes/ListItemCustom.css.js.map +1 -1
  400. package/dist/generated/themes/ListItemGroup.css.d.ts +1 -1
  401. package/dist/generated/themes/ListItemGroup.css.js +1 -1
  402. package/dist/generated/themes/ListItemGroup.css.js.map +1 -1
  403. package/dist/generated/themes/ListItemGroupHeader.css.d.ts +1 -1
  404. package/dist/generated/themes/ListItemGroupHeader.css.js +1 -1
  405. package/dist/generated/themes/ListItemGroupHeader.css.js.map +1 -1
  406. package/dist/generated/themes/ListItemIcon.css.d.ts +1 -1
  407. package/dist/generated/themes/ListItemIcon.css.js +1 -1
  408. package/dist/generated/themes/ListItemIcon.css.js.map +1 -1
  409. package/dist/generated/themes/Menu.css.d.ts +1 -1
  410. package/dist/generated/themes/Menu.css.js +1 -1
  411. package/dist/generated/themes/Menu.css.js.map +1 -1
  412. package/dist/generated/themes/MenuItem.css.d.ts +1 -1
  413. package/dist/generated/themes/MenuItem.css.js +1 -1
  414. package/dist/generated/themes/MenuItem.css.js.map +1 -1
  415. package/dist/generated/themes/MessageStrip.css.d.ts +1 -1
  416. package/dist/generated/themes/MessageStrip.css.js +1 -1
  417. package/dist/generated/themes/MessageStrip.css.js.map +1 -1
  418. package/dist/generated/themes/MonthPicker.css.d.ts +1 -1
  419. package/dist/generated/themes/MonthPicker.css.js +1 -1
  420. package/dist/generated/themes/MonthPicker.css.js.map +1 -1
  421. package/dist/generated/themes/MultiComboBox.css.d.ts +1 -1
  422. package/dist/generated/themes/MultiComboBox.css.js +1 -1
  423. package/dist/generated/themes/MultiComboBox.css.js.map +1 -1
  424. package/dist/generated/themes/MultiComboBoxItem.css.d.ts +1 -1
  425. package/dist/generated/themes/MultiComboBoxItem.css.js +1 -1
  426. package/dist/generated/themes/MultiComboBoxItem.css.js.map +1 -1
  427. package/dist/generated/themes/MultiComboBoxPopover.css.d.ts +1 -1
  428. package/dist/generated/themes/MultiComboBoxPopover.css.js +1 -1
  429. package/dist/generated/themes/MultiComboBoxPopover.css.js.map +1 -1
  430. package/dist/generated/themes/MultiInput.css.d.ts +1 -1
  431. package/dist/generated/themes/MultiInput.css.js +1 -1
  432. package/dist/generated/themes/MultiInput.css.js.map +1 -1
  433. package/dist/generated/themes/OptionBase.css.d.ts +1 -1
  434. package/dist/generated/themes/OptionBase.css.js +1 -1
  435. package/dist/generated/themes/OptionBase.css.js.map +1 -1
  436. package/dist/generated/themes/Panel.css.d.ts +1 -1
  437. package/dist/generated/themes/Panel.css.js +1 -1
  438. package/dist/generated/themes/Panel.css.js.map +1 -1
  439. package/dist/generated/themes/Popover.css.d.ts +1 -1
  440. package/dist/generated/themes/Popover.css.js +1 -1
  441. package/dist/generated/themes/Popover.css.js.map +1 -1
  442. package/dist/generated/themes/PopupsCommon.css.d.ts +1 -1
  443. package/dist/generated/themes/PopupsCommon.css.js +1 -1
  444. package/dist/generated/themes/PopupsCommon.css.js.map +1 -1
  445. package/dist/generated/themes/ProgressIndicator.css.d.ts +1 -1
  446. package/dist/generated/themes/ProgressIndicator.css.js +1 -1
  447. package/dist/generated/themes/ProgressIndicator.css.js.map +1 -1
  448. package/dist/generated/themes/RadioButton.css.d.ts +1 -1
  449. package/dist/generated/themes/RadioButton.css.js +1 -1
  450. package/dist/generated/themes/RadioButton.css.js.map +1 -1
  451. package/dist/generated/themes/RangeSlider.css.d.ts +1 -1
  452. package/dist/generated/themes/RangeSlider.css.js +1 -1
  453. package/dist/generated/themes/RangeSlider.css.js.map +1 -1
  454. package/dist/generated/themes/RatingIndicator.css.d.ts +1 -1
  455. package/dist/generated/themes/RatingIndicator.css.js +1 -1
  456. package/dist/generated/themes/RatingIndicator.css.js.map +1 -1
  457. package/dist/generated/themes/ResponsivePopover.css.d.ts +1 -1
  458. package/dist/generated/themes/ResponsivePopover.css.js +1 -1
  459. package/dist/generated/themes/ResponsivePopover.css.js.map +1 -1
  460. package/dist/generated/themes/ResponsivePopoverCommon.css.d.ts +1 -1
  461. package/dist/generated/themes/ResponsivePopoverCommon.css.js +1 -1
  462. package/dist/generated/themes/ResponsivePopoverCommon.css.js.map +1 -1
  463. package/dist/generated/themes/SegmentedButton.css.d.ts +1 -1
  464. package/dist/generated/themes/SegmentedButton.css.js +1 -1
  465. package/dist/generated/themes/SegmentedButton.css.js.map +1 -1
  466. package/dist/generated/themes/SegmentedButtonItem.css.d.ts +1 -1
  467. package/dist/generated/themes/SegmentedButtonItem.css.js +1 -1
  468. package/dist/generated/themes/SegmentedButtonItem.css.js.map +1 -1
  469. package/dist/generated/themes/Select.css.d.ts +1 -1
  470. package/dist/generated/themes/Select.css.js +1 -1
  471. package/dist/generated/themes/Select.css.js.map +1 -1
  472. package/dist/generated/themes/SliderBase.css.d.ts +1 -1
  473. package/dist/generated/themes/SliderBase.css.js +1 -1
  474. package/dist/generated/themes/SliderBase.css.js.map +1 -1
  475. package/dist/generated/themes/SplitButton.css.d.ts +1 -1
  476. package/dist/generated/themes/SplitButton.css.js +1 -1
  477. package/dist/generated/themes/SplitButton.css.js.map +1 -1
  478. package/dist/generated/themes/StepInput.css.d.ts +1 -1
  479. package/dist/generated/themes/StepInput.css.js +1 -1
  480. package/dist/generated/themes/StepInput.css.js.map +1 -1
  481. package/dist/generated/themes/SuggestionItem.css.d.ts +1 -1
  482. package/dist/generated/themes/SuggestionItem.css.js +1 -1
  483. package/dist/generated/themes/SuggestionItem.css.js.map +1 -1
  484. package/dist/generated/themes/SuggestionItemCustom.css.d.ts +1 -1
  485. package/dist/generated/themes/SuggestionItemCustom.css.js +1 -1
  486. package/dist/generated/themes/SuggestionItemCustom.css.js.map +1 -1
  487. package/dist/generated/themes/Switch.css.d.ts +1 -1
  488. package/dist/generated/themes/Switch.css.js +1 -1
  489. package/dist/generated/themes/Switch.css.js.map +1 -1
  490. package/dist/generated/themes/TabContainer.css.d.ts +1 -1
  491. package/dist/generated/themes/TabContainer.css.js +1 -1
  492. package/dist/generated/themes/TabContainer.css.js.map +1 -1
  493. package/dist/generated/themes/TabInOverflow.css.d.ts +1 -1
  494. package/dist/generated/themes/TabInOverflow.css.js +1 -1
  495. package/dist/generated/themes/TabInOverflow.css.js.map +1 -1
  496. package/dist/generated/themes/TabInStrip.css.d.ts +1 -1
  497. package/dist/generated/themes/TabInStrip.css.js +1 -1
  498. package/dist/generated/themes/TabInStrip.css.js.map +1 -1
  499. package/dist/generated/themes/TabSemanticIcon.css.d.ts +1 -1
  500. package/dist/generated/themes/TabSemanticIcon.css.js +1 -1
  501. package/dist/generated/themes/TabSemanticIcon.css.js.map +1 -1
  502. package/dist/generated/themes/TabSeparatorInOverflow.css.d.ts +1 -1
  503. package/dist/generated/themes/TabSeparatorInOverflow.css.js +1 -1
  504. package/dist/generated/themes/TabSeparatorInOverflow.css.js.map +1 -1
  505. package/dist/generated/themes/Table.css.d.ts +1 -1
  506. package/dist/generated/themes/Table.css.js +1 -1
  507. package/dist/generated/themes/Table.css.js.map +1 -1
  508. package/dist/generated/themes/TableCellBase.css.d.ts +1 -1
  509. package/dist/generated/themes/TableCellBase.css.js +1 -1
  510. package/dist/generated/themes/TableCellBase.css.js.map +1 -1
  511. package/dist/generated/themes/TableHeaderRow.css.d.ts +1 -1
  512. package/dist/generated/themes/TableHeaderRow.css.js +1 -1
  513. package/dist/generated/themes/TableHeaderRow.css.js.map +1 -1
  514. package/dist/generated/themes/TableRow.css.d.ts +1 -1
  515. package/dist/generated/themes/TableRow.css.js +1 -1
  516. package/dist/generated/themes/TableRow.css.js.map +1 -1
  517. package/dist/generated/themes/TableRowActionBase.css.d.ts +1 -1
  518. package/dist/generated/themes/TableRowActionBase.css.js +1 -1
  519. package/dist/generated/themes/TableRowActionBase.css.js.map +1 -1
  520. package/dist/generated/themes/TableRowBase.css.d.ts +1 -1
  521. package/dist/generated/themes/TableRowBase.css.js +1 -1
  522. package/dist/generated/themes/TableRowBase.css.js.map +1 -1
  523. package/dist/generated/themes/Tag.css.d.ts +1 -1
  524. package/dist/generated/themes/Tag.css.js +1 -1
  525. package/dist/generated/themes/Tag.css.js.map +1 -1
  526. package/dist/generated/themes/Text.css.d.ts +1 -1
  527. package/dist/generated/themes/Text.css.js +1 -1
  528. package/dist/generated/themes/Text.css.js.map +1 -1
  529. package/dist/generated/themes/TextArea.css.d.ts +1 -1
  530. package/dist/generated/themes/TextArea.css.js +1 -1
  531. package/dist/generated/themes/TextArea.css.js.map +1 -1
  532. package/dist/generated/themes/TimePicker.css.d.ts +1 -1
  533. package/dist/generated/themes/TimePicker.css.js +1 -1
  534. package/dist/generated/themes/TimePicker.css.js.map +1 -1
  535. package/dist/generated/themes/Toast.css.d.ts +1 -1
  536. package/dist/generated/themes/Toast.css.js +1 -1
  537. package/dist/generated/themes/Toast.css.js.map +1 -1
  538. package/dist/generated/themes/ToggleButton.css.d.ts +1 -1
  539. package/dist/generated/themes/ToggleButton.css.js +1 -1
  540. package/dist/generated/themes/ToggleButton.css.js.map +1 -1
  541. package/dist/generated/themes/Token.css.d.ts +1 -1
  542. package/dist/generated/themes/Token.css.js +1 -1
  543. package/dist/generated/themes/Token.css.js.map +1 -1
  544. package/dist/generated/themes/Tokenizer.css.d.ts +1 -1
  545. package/dist/generated/themes/Tokenizer.css.js +1 -1
  546. package/dist/generated/themes/Tokenizer.css.js.map +1 -1
  547. package/dist/generated/themes/TokenizerPopover.css.d.ts +1 -1
  548. package/dist/generated/themes/TokenizerPopover.css.js +1 -1
  549. package/dist/generated/themes/TokenizerPopover.css.js.map +1 -1
  550. package/dist/generated/themes/Toolbar.css.d.ts +1 -1
  551. package/dist/generated/themes/Toolbar.css.js +1 -1
  552. package/dist/generated/themes/Toolbar.css.js.map +1 -1
  553. package/dist/generated/themes/ToolbarPopover.css.d.ts +1 -1
  554. package/dist/generated/themes/ToolbarPopover.css.js +1 -1
  555. package/dist/generated/themes/ToolbarPopover.css.js.map +1 -1
  556. package/dist/generated/themes/TreeItem.css.d.ts +1 -1
  557. package/dist/generated/themes/TreeItem.css.js +1 -1
  558. package/dist/generated/themes/TreeItem.css.js.map +1 -1
  559. package/dist/generated/themes/ValueStateMessage.css.d.ts +1 -1
  560. package/dist/generated/themes/ValueStateMessage.css.js +1 -1
  561. package/dist/generated/themes/ValueStateMessage.css.js.map +1 -1
  562. package/dist/generated/themes/YearPicker.css.d.ts +1 -1
  563. package/dist/generated/themes/YearPicker.css.js +1 -1
  564. package/dist/generated/themes/YearPicker.css.js.map +1 -1
  565. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.d.ts +1 -1
  566. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
  567. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js.map +1 -1
  568. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.d.ts +1 -1
  569. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
  570. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js.map +1 -1
  571. package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.d.ts +1 -1
  572. package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
  573. package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js.map +1 -1
  574. package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.d.ts +1 -1
  575. package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
  576. package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js.map +1 -1
  577. package/dist/generated/themes/sap_horizon/parameters-bundle.css.d.ts +1 -1
  578. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +1 -1
  579. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js.map +1 -1
  580. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.d.ts +1 -1
  581. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +1 -1
  582. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js.map +1 -1
  583. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.d.ts +1 -1
  584. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +1 -1
  585. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js.map +1 -1
  586. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.d.ts +1 -1
  587. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +1 -1
  588. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js.map +1 -1
  589. package/dist/types/ListItemAccessibleRole.d.ts +5 -0
  590. package/dist/types/ListItemAccessibleRole.js +5 -0
  591. package/dist/types/ListItemAccessibleRole.js.map +1 -1
  592. package/dist/types/TableCellHorizontalAlign.d.ts +1 -0
  593. package/dist/types/TableCellHorizontalAlign.js +1 -0
  594. package/dist/types/TableCellHorizontalAlign.js.map +1 -1
  595. package/dist/types/TableGrowingMode.d.ts +1 -0
  596. package/dist/types/TableGrowingMode.js +1 -0
  597. package/dist/types/TableGrowingMode.js.map +1 -1
  598. package/dist/types/TableOverflowMode.d.ts +1 -0
  599. package/dist/types/TableOverflowMode.js +1 -0
  600. package/dist/types/TableOverflowMode.js.map +1 -1
  601. package/dist/types/TableSelectionMode.d.ts +2 -0
  602. package/dist/types/TableSelectionMode.js +2 -0
  603. package/dist/types/TableSelectionMode.js.map +1 -1
  604. package/dist/vscode.html-custom-data.json +51 -10
  605. package/dist/web-types.json +99 -23
  606. package/package.json +10 -10
  607. package/src/AvatarTemplate.tsx +1 -1
  608. package/src/ComboBoxItemGroupTemplate.tsx +2 -2
  609. package/src/ExpandableTextTemplate.tsx +0 -1
  610. package/src/InputPopoverTemplate.tsx +5 -2
  611. package/src/InputTemplate.tsx +5 -3
  612. package/src/ListBoxItemGroupTemplate.tsx +33 -0
  613. package/src/ListItemGroupHeaderTemplate.tsx +5 -3
  614. package/src/ListItemGroupTemplate.tsx +21 -19
  615. package/src/ListTemplate.tsx +2 -1
  616. package/src/MultiComboBoxItemGroupTemplate.tsx +2 -2
  617. package/src/SelectTemplate.tsx +2 -0
  618. package/src/TableHeaderRow.hbs +1 -1
  619. package/src/TableRow.hbs +2 -2
  620. package/src/features/InputSuggestionsTemplate.tsx +12 -6
  621. package/src/i18n/messagebundle.properties +6 -0
  622. package/src/i18n/messagebundle_ar.properties +2 -0
  623. package/src/i18n/messagebundle_bg.properties +2 -0
  624. package/src/i18n/messagebundle_ca.properties +2 -0
  625. package/src/i18n/messagebundle_cnr.properties +2 -0
  626. package/src/i18n/messagebundle_cs.properties +2 -0
  627. package/src/i18n/messagebundle_cy.properties +2 -0
  628. package/src/i18n/messagebundle_da.properties +2 -0
  629. package/src/i18n/messagebundle_de.properties +2 -0
  630. package/src/i18n/messagebundle_el.properties +2 -0
  631. package/src/i18n/messagebundle_en.properties +2 -0
  632. package/src/i18n/messagebundle_en_GB.properties +2 -0
  633. package/src/i18n/messagebundle_en_US_sappsd.properties +2 -0
  634. package/src/i18n/messagebundle_en_US_saprigi.properties +2 -0
  635. package/src/i18n/messagebundle_en_US_saptrc.properties +2 -0
  636. package/src/i18n/messagebundle_es.properties +2 -0
  637. package/src/i18n/messagebundle_es_MX.properties +2 -0
  638. package/src/i18n/messagebundle_et.properties +2 -0
  639. package/src/i18n/messagebundle_fi.properties +2 -0
  640. package/src/i18n/messagebundle_fr.properties +2 -0
  641. package/src/i18n/messagebundle_fr_CA.properties +2 -0
  642. package/src/i18n/messagebundle_hi.properties +2 -0
  643. package/src/i18n/messagebundle_hr.properties +2 -0
  644. package/src/i18n/messagebundle_hu.properties +2 -0
  645. package/src/i18n/messagebundle_id.properties +2 -0
  646. package/src/i18n/messagebundle_it.properties +2 -0
  647. package/src/i18n/messagebundle_iw.properties +2 -0
  648. package/src/i18n/messagebundle_ja.properties +2 -0
  649. package/src/i18n/messagebundle_kk.properties +2 -0
  650. package/src/i18n/messagebundle_ko.properties +2 -0
  651. package/src/i18n/messagebundle_lt.properties +2 -0
  652. package/src/i18n/messagebundle_lv.properties +2 -0
  653. package/src/i18n/messagebundle_mk.properties +2 -0
  654. package/src/i18n/messagebundle_ms.properties +2 -0
  655. package/src/i18n/messagebundle_nl.properties +2 -0
  656. package/src/i18n/messagebundle_no.properties +2 -0
  657. package/src/i18n/messagebundle_pl.properties +2 -0
  658. package/src/i18n/messagebundle_pt.properties +2 -0
  659. package/src/i18n/messagebundle_pt_PT.properties +2 -0
  660. package/src/i18n/messagebundle_ro.properties +2 -0
  661. package/src/i18n/messagebundle_ru.properties +2 -0
  662. package/src/i18n/messagebundle_sh.properties +2 -0
  663. package/src/i18n/messagebundle_sk.properties +2 -0
  664. package/src/i18n/messagebundle_sl.properties +2 -0
  665. package/src/i18n/messagebundle_sr.properties +2 -0
  666. package/src/i18n/messagebundle_sv.properties +2 -0
  667. package/src/i18n/messagebundle_th.properties +2 -0
  668. package/src/i18n/messagebundle_tr.properties +2 -0
  669. package/src/i18n/messagebundle_uk.properties +2 -0
  670. package/src/i18n/messagebundle_vi.properties +2 -0
  671. package/src/i18n/messagebundle_zh_CN.properties +2 -0
  672. package/src/i18n/messagebundle_zh_TW.properties +2 -0
  673. package/src/themes/Avatar.css +51 -2
  674. package/src/themes/CheckBox.css +1 -1
  675. package/src/themes/List.css +1 -1
  676. package/src/themes/Menu.css +7 -0
  677. package/src/themes/PopupsCommon.css +7 -4
  678. package/src/themes/Tag.css +1 -6
  679. package/src/themes/Text.css +9 -5
  680. package/src/themes/Toast.css +1 -1
  681. package/src/themes/base/Avatar-parameters.css +1 -1
  682. package/src/themes/base/Toast-parameters.css +2 -2
  683. package/src/themes/sap_horizon/Avatar-parameters.css +3 -2
  684. package/src/themes/sap_horizon_dark/Avatar-parameters.css +2 -1
  685. package/src/themes/sap_horizon_hcb/Avatar-parameters.css +3 -2
  686. package/src/themes/sap_horizon_hcw/Avatar-parameters.css +3 -2
  687. package/dist/SuggestionItemGroupTemplate.d.ts +0 -2
  688. package/dist/SuggestionItemGroupTemplate.js +0 -5
  689. package/dist/SuggestionItemGroupTemplate.js.map +0 -1
  690. package/src/SuggestionItemGroupTemplate.tsx +0 -6
package/dist/Table.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Table.js","sourceRoot":"","sources":["../src/Table.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,EACN,aAAa,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,IAAI,GAChD,MAAM,4CAA4C,CAAC;AACpD,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,aAAa,MAAM,4CAA4C,CAAC;AACvE,OAAO,WAAW,MAAM,iCAAiC,CAAC;AAC1D,OAAO,cAAc,MAAM,qBAAqB,CAAC;AACjD,OAAO,QAAQ,MAAM,eAAe,CAAC;AACrC,OAAO,SAAS,MAAM,gBAAgB,CAAC;AACvC,OAAO,cAAc,MAAM,qBAAqB,CAAC;AACjD,OAAO,eAAe,MAAM,sBAAsB,CAAC;AACnD,OAAO,iBAAiB,MAAM,8BAA8B,CAAC;AAC7D,OAAO,gBAAgB,MAAM,uBAAuB,CA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BAAoB,CAAC;+BACG;AAxIzB,KAAK;IA1EV,aAAa,CAAC;QACd,GAAG,EAAE,WAAW;QAChB,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE,WAAW;QACnB,QAAQ,EAAE,aAAa;QACvB,cAAc,EAAE,IAAI;QACpB,YAAY,EAAE;YACb,aAAa;YACb,cAAc;YACd,SAAS;YACT,QAAQ;YACR,aAAa;SACb;KACD,CAAC;IAEF;;;;;OAKG;;IACF,WAAW,CAAC,WAAW,EAAE;QACzB,OAAO,EAAE,KAAK;KACd,CAAC;IAEF;;;;;;;;;;;;OAYG;;IACF,WAAW,CAAC,WAAW,EAAE;QACzB,UAAU,EAAE,IAAI;QAChB,OAAO,EAAE,IAAI;KACb,CAAC;IAEF;;;;;;;;;;;;;;OAcG;;IACF,WAAW,CAAC,MAAM,EAAE;QACpB,OAAO,EAAE,IAAI;KACb,CAAC;IAEF;;;;;;;OAOG;;IACF,WAAW,CAAC,kBAAkB,EAAE;QAChC,OAAO,EAAE,KAAK;KACd,CAAC;GAEI,KAAK,CA6bV;AAED,KAAK,CAAC,MAAM,EAAE,CAAC;AAEf,eAAe,KAAK,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport {\n\tcustomElement, slot, property, eventStrict, i18n,\n} from \"@ui5/webcomponents-base/dist/decorators.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport TableTemplate from \"./generated/templates/TableTemplate.lit.js\";\nimport TableStyles from \"./generated/themes/Table.css.js\";\nimport TableHeaderRow from \"./TableHeaderRow.js\";\nimport TableRow from \"./TableRow.js\";\nimport TableCell from \"./TableCell.js\";\nimport TableExtension from \"./TableExtension.js\";\nimport TableNavigation from \"./TableNavigation.js\";\nimport TableOverflowMode from \"./types/TableOverflowMode.js\";\nimport TableDragAndDrop from \"./TableDragAndDrop.js\";\nimport DropIndicator from \"./DropIndicator.js\";\nimport BusyIndicator from \"./BusyIndicator.js\";\nimport ResizeHandler from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport { findVerticalScrollContainer, scrollElementIntoView, isFeature } from \"./TableUtils.js\";\nimport { getScopedVarName } from \"@ui5/webcomponents-base/dist/CustomElementsScope.js\";\nimport { getEffectiveAriaLabelText } from \"@ui5/webcomponents-base/dist/util/AccessibilityTextsHelper.js\";\nimport type { ResizeObserverCallback } from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport type { MoveEventDetail } from \"@ui5/webcomponents-base/dist/util/dragAndDrop/DragRegistry.js\";\nimport type TableHeaderCell from \"./TableHeaderCell.js\";\nimport type TableSelection from \"./TableSelection.js\";\nimport type TableRowActionBase from \"./TableRowActionBase.js\";\nimport type TableVirtualizer from \"./TableVirtualizer.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport {\n\tTABLE_NO_DATA,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n/**\n * Interface for components that can be slotted inside the `features` slot of the `ui5-table`.\n *\n * @public\n * @experimental\n */\ninterface ITableFeature extends UI5Element {\n\treadonly identifier: string;\n\t/**\n\t * Called when the table is activated.\n\t * @param table table instance\n\t */\n\tonTableActivate?(table: Table): void;\n\t/**\n\t * Called when the table finished rendering.\n\t */\n\tonTableAfterRendering?(table?: Table): void;\n}\n\n/**\n * Interface for components that can be slotted inside the `features` slot of the `ui5-table`\n * and provide growing/data loading functionality.\n * @public\n * @experimental\n */\ninterface ITableGrowing extends ITableFeature {\n\t/**\n\t * Called when the table needs to load more data.\n\t */\n\tloadMore(): void;\n\t/**\n\t * Determines whether the table has a growing control, that should be rendered in the table.\n\t */\n\thasGrowingComponent(): boolean;\n\t_individualSlot?: string;\n}\n\n/**\n * Fired when an interactive row is clicked.\n *\n * @param {TableRow} row The clicked row instance\n * @public\n */\ntype TableRowClickEventDetail = {\n\trow: TableRow,\n};\n\ntype TableMoveEventDetail = MoveEventDetail;\n\n/**\n * Fired when a row action is clicked.\n *\n * @param {TableRowActionBase} action The row action instance\n * @param {TableRow} row The row instance\n * @public\n */\ntype TableRowActionClickEventDetail = {\n\taction: TableRowActionBase,\n\trow: TableRow,\n};\n\n/**\n * @class\n *\n * ### Overview\n *\n * The `ui5-table` component provides a set of sophisticated features for displaying and dealing with vast amounts of data in a responsive manner.\n * To render the `ui5-table`, you need to define the columns and rows. You can use the provided `ui5-table-header-row` and `ui5-table-row` components for this purpose.\n *\n * ### Features\n *\n * The `ui5-table` can be enhanced in its functionalities by applying different features.\n * Features can be slotted into the `features` slot, to enable them in the component.\n * Features need to be imported separately, as they are not enabled by default.\n *\n * The following features are currently available:\n *\n * * [TableSelection](../TableSelection) - adds selection capabilities to the table\n * * [TableGrowing](../TableGrowing) - provides growing capabilities to load more data\n *\n * ### Keyboard Handling\n *\n * This component provides a build in fast navigation group which can be used via [F6] / [Shift] + [F6] / [Ctrl] + [Alt/Option] / [Down] or [Ctrl] + [Alt/Option] + [Up].\n * In order to use this functionality, you need to import the following module:\n * `import \"@ui5/webcomponents-base/dist/features/F6Navigation.js\"`\n *\n * Furthermore, you can interact with `ui5-table` via the following keys:\n *\n * If the focus is on a row, the following keyboard shortcuts are available:\n * * <kbd>Down</kbd> - Navigates down\n * * <kbd>Up</kbd> - Navigates up\n * * <kbd>Right</kbd> - Selects the first cell of the row\n * * <kbd>Space</kbd> - Toggles the selection of the row\n * * <kbd>Ctrl/Cmd + A</kbd> - In multi selection mode, toggles the selection of all rows\n * * <kbd>Home</kbd> - Navigates to the first row, if the focus is on the first row, navigates to the header row\n * * <kbd>End</kbd> - Navigates to the last row, if the focus is on the last row, navigates to the growing button\n * * <kbd>Page Up</kbd> - Navigates one page up, if the focus is on the first row, navigates to the header row\n * * <kbd>Page Down</kbd> - Navigates one page down, if the focus is on the last row, navigates to the growing button\n * * <kbd>F2</kbd> - Focuses the first tabbable element in the row\n * * <kbd>F7</kbd> - If focus position is remembered, moves focus to the corresponding focus position row, otherwise to the first tabbable element within the row\n * * <kbd>[Shift]Tab</kbd> - Move focus to the element in the tab chain outside the table\n\n *\n * If the focus is on a cell, the following keyboard shortcuts are available:\n * * <kbd>Down</kbd> - Navigates down\n * * <kbd>Up</kbd> - Navigates up\n * * <kbd>Right</kbd> - Navigates right\n * * <kbd>Left</kbd> - Navigates left, if the focus is on the first cell of the row, the focus is moved to the row.\n * * <kbd>Home</kbd> - Navigates to the first cell of the current row, if the focus is on the first cell, navigates to the corresponding row\n * * <kbd>End</kbd> - Navigates to the last cell of the current row, if the focus is on the last cell, navigates to the corresponding row\n * * <kbd>Page Up</kbd> - Navigates one page up while keeping the focus in same column\n * * <kbd>Page Down</kbd> - Navigates one page down while keeping the focus in same column\n * * <kbd>F2</kbd> - Toggles the focus between the first tabbable cell content and the cell\n * * <kbd>Enter</kbd> - Focuses the first tabbable cell content\n * * <kbd>F7</kbd> - If the focus is on an interactive element inside a row, moves focus to the corresponding row and remembers the focus position of the element within the row\n * * <kbd>[Shift]Tab</kbd> - Move focus to the element in the tab chain outside the table\n\n *\n * If the focus is on an interactive cell content, the following keyboard shortcuts are available:\n * * <kbd>Down</kbd> - Move the focus to the interactive element in the same column of the previous row, unless the focused element prevents the default\n * * <kbd>Up</kbd> - Move the focus to the interactive element in the same column of the next row, unless the focused element prevents the default\n * * <kbd>[Shift]Tab</kbd> - Move the focus to the element in the tab chain\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents/dist/Table.js\";`\\\n * `import \"@ui5/webcomponents/dist/TableRow.js\";` (`ui5-table-row`)\\\n * `import \"@ui5/webcomponents/dist/TableCell.js\";` (`ui5-table-cell`)\\\n * `import \"@ui5/webcomponents/dist/TableHeaderRow.js\";` (`ui5-table-header-row`)\\\n * `import \"@ui5/webcomponents/dist/TableHeaderCell.js\";` (`ui5-table-header-cell`)\n *\n * @constructor\n * @extends UI5Element\n * @since 2.0.0\n * @public\n * @experimental This Table web component is available since 2.0 and has been newly implemented to provide better screen reader and keyboard handling support.\n * Currently, it's considered experimental as its API is subject to change.\n * This Table replaces the previous Table web component, that has been part of **@ui5/webcomponents** version 1.x.\n * For compatibility reasons, we moved the previous Table implementation to the **@ui5/webcomponents-compat** package\n * and will be maintained until the new Table is experimental.\n * Keep in mind that you can use either the compat/Table, or the main/Table - you can't use them both as they both define the `ui5-table` tag name.\n */\n@customElement({\n\ttag: \"ui5-table\",\n\trenderer: litRender,\n\tstyles: TableStyles,\n\ttemplate: TableTemplate,\n\tfastNavigation: true,\n\tdependencies: [\n\t\tBusyIndicator,\n\t\tTableHeaderRow,\n\t\tTableCell,\n\t\tTableRow,\n\t\tDropIndicator,\n\t],\n})\n\n/**\n * Fired when an interactive row is clicked.\n *\n * @param {TableRow} row The row instance\n * @public\n */\n@eventStrict(\"row-click\", {\n\tbubbles: false,\n})\n\n/**\n * Fired when a movable item is moved over a potential drop target during a dragging operation.\n *\n * If the new position is valid, prevent the default action of the event using `preventDefault()`.\n *\n * **Note:** If the dragging operation is a cross-browser operation or files are moved to a potential drop target,\n * the `source` parameter will be `null`.\n *\n * @param {Event} originalEvent The original `dragover` event\n * @param {object} source The source object\n * @param {object} destination The destination object\n * @public\n */\n@eventStrict(\"move-over\", {\n\tcancelable: true,\n\tbubbles: true,\n})\n\n/**\n * Fired when a movable list item is dropped onto a drop target.\n *\n * **Notes:**\n *\n * The `move` event is fired only if there was a preceding `move-over` with prevented default action.\n *\n * If the dragging operation is a cross-browser operation or files are moved to a potential drop target,\n * the `source` parameter will be `null`.\n *\n * @param {Event} originalEvent The original `drop` event\n * @param {object} source The source object\n * @param {object} destination The destination object\n * @public\n */\n@eventStrict(\"move\", {\n\tbubbles: true,\n})\n\n/**\n * Fired when a row action is clicked.\n *\n * @param {TableRowActionBase} action The row action instance\n * @param {TableRow} row The row instance\n * @since 2.6.0\n * @public\n */\n@eventStrict(\"row-action-click\", {\n\tbubbles: false,\n})\n\nclass Table extends UI5Element {\n\teventDetails!: {\n\t\t\"row-click\": TableRowClickEventDetail;\n\t\t\"move-over\": TableMoveEventDetail;\n\t\t\"move\": TableMoveEventDetail;\n\t\t\"row-action-click\": TableRowActionClickEventDetail;\n\t}\n\t/**\n\t * Defines the rows of the component.\n\t *\n\t * **Note:** Use `ui5-table-row` for the intended design.\n\t *\n\t * @public\n\t */\n\t@slot({\n\t\ttype: HTMLElement,\n\t\t\"default\": true,\n\t\tinvalidateOnChildChange: {\n\t\t\tproperties: [\"navigated\", \"position\"],\n\t\t\tslots: false,\n\t\t},\n\t})\n\trows!: Array<TableRow>;\n\n\t/**\n\t * Defines the header row of the component.\n\t *\n\t * **Note:** Use `ui5-table-header-row` for the intended design.\n\t *\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, invalidateOnChildChange: { properties: false, slots: true } })\n\theaderRow!: Array<TableHeaderRow>;\n\n\t/**\n\t * Defines the custom visualization if there is no data available.\n\t *\n\t * @public\n\t */\n\t@slot()\n\tnodata!: Array<HTMLElement>;\n\n\t/**\n\t * Defines the features of the component.\n\t *\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, individualSlots: true })\n\tfeatures!: Array<ITableFeature>;\n\n\t/**\n\t * Defines the accessible ARIA name of the component.\n\t *\n\t * @default undefined\n\t * @public\n\t */\n\t@property()\n\taccessibleName?: string;\n\n\t/**\n\t * Identifies the element (or elements) that labels the component.\n\t *\n\t * @default undefined\n\t * @public\n\t */\n\t@property()\n\taccessibleNameRef?: string;\n\n\t/**\n\t * Defines the text to be displayed when there are no rows in the component.\n\t *\n\t * @default undefined\n\t * @public\n\t */\n\t@property()\n\tnoDataText?: string;\n\n\t/**\n\t * Defines the mode of the <code>ui5-table</code> overflow behavior.\n\t *\n\t * Available options are:\n\t *\n\t * <code>Scroll</code> - Columns are shown as regular columns and horizontal scrolling is enabled.\n\t *\n\t * <code>Popin</code> - Columns are shown as pop-ins instead of regular columns.\n\t *\n\t * @default \"Scroll\"\n\t * @public\n\t */\n\t@property()\n\toverflowMode: `${TableOverflowMode}` = \"Scroll\";\n\n\t/**\n\t * Defines if the loading indicator should be shown.\n\t *\n\t * **Note:** When the component is loading, it is not interactive.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tloading = false;\n\n\t/**\n * Defines the delay in milliseconds, after which the loading indicator will show up for this component.\n\t *\n * @default 1000\n * @public\n */\n\t@property({ type: Number })\n\tloadingDelay = 1000;\n\n\t/**\n\t * Defines the sticky top offset of the table, if other sticky elements outside of the table exist.\n\t */\n\t@property()\n\tstickyTop = \"0\";\n\n\t/**\n\t * Defines the maximum number of row actions that is displayed, which determines the width of the row action column.\n\t *\n\t * **Note:** It is recommended to use a maximum of 3 row actions, as exceeding this limit may take up too much space on smaller screens.\n\t *\n\t * @default 0\n\t * @since 2.7.0\n\t * @public\n\t */\n\t@property({ type: Number })\n\trowActionCount = 0;\n\n\t@property({ type: Number, noAttribute: true })\n\t_invalidate = 0;\n\n\t@property({ type: Boolean, noAttribute: true })\n\t_renderNavigated = false;\n\n\t@i18n(\"@ui5/webcomponents\")\n\tstatic i18nBundle: I18nBundle;\n\n\t_events = [\"keydown\", \"keyup\", \"click\", \"focusin\", \"focusout\", \"dragenter\", \"dragleave\", \"dragover\", \"drop\"];\n\t_onEventBound: (e: Event) => void;\n\t_onResizeBound: ResizeObserverCallback;\n\t_tableNavigation?: TableNavigation;\n\t_tableDragAndDrop?: TableDragAndDrop;\n\t_poppedIn: Array<{col: TableHeaderCell, width: float}> = [];\n\t_containerWidth = 0;\n\t_rowsLength = 0;\n\n\tconstructor() {\n\t\tsuper();\n\t\tthis._onResizeBound = this._onResize.bind(this);\n\t\tthis._onEventBound = this._onEvent.bind(this);\n\t}\n\n\tonEnterDOM() {\n\t\tif (this.overflowMode === TableOverflowMode.Popin) {\n\t\t\tResizeHandler.register(this, this._onResizeBound);\n\t\t}\n\t\tthis._events.forEach(eventType => this.addEventListener(eventType, this._onEventBound));\n\t\tthis.features.forEach(feature => feature.onTableActivate?.(this));\n\t\tthis._tableNavigation = new TableNavigation(this);\n\t\tthis._tableDragAndDrop = new TableDragAndDrop(this);\n\t}\n\n\tonExitDOM() {\n\t\tthis._tableNavigation = undefined;\n\t\tthis._tableDragAndDrop = undefined;\n\t\tthis._events.forEach(eventType => this.removeEventListener(eventType, this._onEventBound));\n\t\tif (this.overflowMode === TableOverflowMode.Popin) {\n\t\t\tResizeHandler.deregister(this, this._onResizeBound);\n\t\t}\n\t}\n\n\tonBeforeRendering(): void {\n\t\tthis._renderNavigated = this.rows.some(row => row.navigated);\n\t\tif (this.headerRow[0]) {\n\t\t\tthis.headerRow[0]._rowActionCount = this.rowActionCount;\n\t\t\tif (this._getSelection()?.isMultiSelect() && this._rowsLength !== this.rows.length) {\n\t\t\t\tthis._rowsLength = this.rows.length;\n\t\t\t\tthis.headerRow[0]._invalidate++;\n\t\t\t}\n\t\t}\n\t\tthis.rows.forEach(row => {\n\t\t\trow._renderNavigated = this._renderNavigated;\n\t\t\trow._rowActionCount = this.rowActionCount;\n\t\t});\n\n\t\tthis.style.setProperty(getScopedVarName(\"--ui5_grid_sticky_top\"), this.stickyTop);\n\t\tthis._refreshPopinState();\n\t}\n\n\tonAfterRendering(): void {\n\t\tthis.features.forEach(feature => feature.onTableAfterRendering?.(this));\n\t}\n\n\t_getSelection(): TableSelection | undefined {\n\t\treturn this.features.find(feature => isFeature<TableSelection>(feature, \"TableSelection\")) as TableSelection;\n\t}\n\n\t_getVirtualizer(): TableVirtualizer | undefined {\n\t\treturn this.features.find(feature => isFeature<TableVirtualizer>(feature, \"TableVirtualizer\")) as TableVirtualizer;\n\t}\n\n\t_onEvent(e: Event) {\n\t\tconst composedPath = e.composedPath();\n\t\tconst eventOrigin = composedPath[0] as HTMLElement;\n\t\tconst elements = [this._tableNavigation, this._tableDragAndDrop, ...composedPath, ...this.features];\n\t\telements.forEach(element => {\n\t\t\tif (element instanceof TableExtension || (element instanceof HTMLElement && element.localName.includes(\"ui5-table\"))) {\n\t\t\t\tconst eventHandlerName = `_on${e.type}` as keyof typeof element;\n\t\t\t\tconst eventHandler = element[eventHandlerName] as (e?: Event, eventOrigin?: HTMLElement) => void;\n\t\t\t\tif (typeof eventHandler === \"function\") {\n\t\t\t\t\teventHandler.call(element, e, eventOrigin);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n\n\t_onResize() {\n\t\tconst { clientWidth, scrollWidth } = this._tableElement;\n\n\t\tif (scrollWidth > clientWidth) {\n\t\t\t// Overflow Handling: Move columns into the popin until overflow is resolved\n\t\t\tconst overflow = scrollWidth - clientWidth;\n\t\t\tconst headers = this._getPopinOrderedColumns(false);\n\t\t\tconst poppedInWidth = headers.reduce((totalPoppedInWidth, headerCell) => {\n\t\t\t\tif (totalPoppedInWidth < overflow && !headerCell._popin) {\n\t\t\t\t\tconst headerWidth = Math.ceil(headerCell.getBoundingClientRect().width);\n\t\t\t\t\ttotalPoppedInWidth += headerWidth;\n\t\t\t\t\tthis._setHeaderPopinState(headerCell, true, headerWidth);\n\t\t\t\t}\n\t\t\t\treturn totalPoppedInWidth;\n\t\t\t}, 0);\n\t\t\t// Calculate container width considering popped-in columns\n\t\t\tconst columnOverflow = poppedInWidth - overflow;\n\t\t\tthis._containerWidth = clientWidth - columnOverflow;\n\t\t} else {\n\t\t\t// Underflow Handling: Restore columns from popin until container width is met\n\t\t\tconst headers = this._getPopinOrderedColumns(true).filter(it => it._popin);\n\n\t\t\theaders.every(headerCell => {\n\t\t\t\tconst underflow = clientWidth - this._containerWidth;\n\t\t\t\tif (underflow >= headerCell._popinWidth) {\n\t\t\t\t\tthis._containerWidth += headerCell._popinWidth;\n\t\t\t\t\tthis._setHeaderPopinState(headerCell, false, 0);\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t});\n\t\t}\n\t}\n\n\t_onfocusin(e: FocusEvent) {\n\t\tif (e.target === this) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Handles focus in the table, when the focus is below a sticky element\n\t\tscrollElementIntoView(this._scrollContainer, e.target as HTMLElement, this._stickyElements, this.effectiveDir === \"rtl\");\n\t}\n\n\t/**\n\t * Refreshes the popin state of the columns.\n\t * Syncs the popin state of the columns with the popin state of the header cells.\n\t * This is needed when additional rows are manually added and no resize happens.\n\t * @private\n\t */\n\t_refreshPopinState() {\n\t\tthis.headerRow[0]?.cells.forEach((header, index) => {\n\t\t\tthis.rows.forEach(row => {\n\t\t\t\tconst cell = row.cells[index];\n\t\t\t\tif (cell && cell._popin !== header._popin) {\n\t\t\t\t\tcell._popin = header._popin;\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n\n\t_onGrow() {\n\t\tthis._growing?.loadMore();\n\t}\n\n\t_getPopinOrderedColumns(reverse: boolean) {\n\t\tlet headers = [...this.headerRow[0].cells];\n\t\theaders = headers.reverse(); // reverse the \"visual\" order\n\t\theaders = headers.sort((a, b) => a.importance - b.importance); // sort by importance (asc)\n\t\theaders.pop(); // remove the most important column, as it will not be popped in\n\n\t\tif (reverse) {\n\t\t\theaders = headers.reverse();\n\t\t}\n\n\t\treturn headers;\n\t}\n\n\t_setHeaderPopinState(headerCell: TableHeaderCell, inPopin: boolean, popinWidth: number) {\n\t\tconst headerIndex = this.headerRow[0].cells.indexOf(headerCell);\n\t\theaderCell._popin = inPopin;\n\t\theaderCell._popinWidth = popinWidth;\n\t\tthis.rows.forEach(row => {\n\t\t\trow.cells[headerIndex]._popin = inPopin;\n\t\t});\n\t}\n\n\t_isFeature(feature: any) {\n\t\treturn Boolean(feature.onTableActivate || feature.onTableAfterRendering);\n\t}\n\n\t_isGrowingFeature(feature: any) {\n\t\treturn Boolean(feature.loadMore && feature.hasGrowingComponent && this._isFeature(feature));\n\t}\n\n\t_onRowClick(row: TableRow) {\n\t\tthis.fireDecoratorEvent(\"row-click\", { row });\n\t}\n\n\t_onRowActionClick(action: TableRowActionBase) {\n\t\tconst row = action.parentElement as TableRow;\n\t\tthis.fireDecoratorEvent(\"row-action-click\", { action, row });\n\t}\n\n\tget styles() {\n\t\tconst virtualizer = this._getVirtualizer();\n\t\tconst headerStyleMap = this.headerRow?.[0]?.cells?.reduce((headerStyles, headerCell) => {\n\t\t\tif (headerCell.horizontalAlign !== undefined && !headerCell._popin) {\n\t\t\t\theaderStyles[`--horizontal-align-${headerCell._individualSlot}`] = headerCell.horizontalAlign;\n\t\t\t}\n\t\t\treturn headerStyles;\n\t\t}, {} as { [key: string]: string });\n\t\treturn {\n\t\t\ttable: {\n\t\t\t\t\"grid-template-columns\": this._gridTemplateColumns,\n\t\t\t\t\"--row-height\": virtualizer ? `${virtualizer.rowHeight}px` : \"auto\",\n\t\t\t\t...headerStyleMap,\n\t\t\t},\n\t\t\tspacer: {\n\t\t\t\t\"transform\": virtualizer?._getTransform(),\n\t\t\t\t\"will-change\": virtualizer && \"transform\",\n\t\t\t},\n\t\t};\n\t}\n\n\tget _gridTemplateColumns() {\n\t\tif (!this.headerRow[0]) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst widths = [];\n\t\tconst visibleHeaderCells = this.headerRow[0]._visibleCells as TableHeaderCell[];\n\t\tif (this._getSelection()?.hasRowSelector()) {\n\t\t\twidths.push(\"min-content\");\n\t\t}\n\t\twidths.push(...visibleHeaderCells.map(cell => {\n\t\t\tconst minWidth = cell.minWidth === \"auto\" ? \"3rem\" : cell.minWidth;\n\t\t\tif (cell.width === \"auto\" || cell.width.includes(\"%\") || cell.width.includes(\"fr\") || cell.width.includes(\"vw\")) {\n\t\t\t\treturn `minmax(${minWidth}, ${cell.maxWidth})`;\n\t\t\t}\n\t\t\treturn `minmax(${cell.width}, ${cell.width})`;\n\t\t}));\n\n\t\tif (this.rowActionCount > 0) {\n\t\t\twidths.push(`calc(var(${getScopedVarName(\"--_ui5_button_base_min_width\")}) * ${this.rowActionCount} + var(${getScopedVarName(\"--_ui5_table_row_actions_gap\")}) * ${this.rowActionCount - 1} + var(${getScopedVarName(\"--_ui5_table_cell_horizontal_padding\")}) * 2)`);\n\t\t}\n\n\t\tif (this._renderNavigated) {\n\t\t\twidths.push(`var(${getScopedVarName(\"--_ui5_table_navigated_cell_width\")})`);\n\t\t}\n\n\t\treturn widths.join(\" \");\n\t}\n\n\tget _tableOverflowX() {\n\t\treturn (this.overflowMode === TableOverflowMode.Popin) ? \"clip\" : \"auto\";\n\t}\n\n\tget _tableOverflowY() {\n\t\treturn \"auto\";\n\t}\n\n\tget _nodataRow() {\n\t\treturn this.shadowRoot!.getElementById(\"nodata-row\") as TableRow;\n\t}\n\n\tget _beforeElement() {\n\t\treturn this.shadowRoot!.getElementById(\"before\") as HTMLElement;\n\t}\n\n\tget _afterElement() {\n\t\treturn this.shadowRoot!.getElementById(\"after\") as HTMLElement;\n\t}\n\n\tget _tableElement() {\n\t\treturn this.shadowRoot!.getElementById(\"table\") as HTMLElement;\n\t}\n\n\tget _loadingElement() {\n\t\treturn this.shadowRoot!.getElementById(\"loading\") as HTMLElement;\n\t}\n\n\tget _effectiveNoDataText() {\n\t\treturn this.noDataText || Table.i18nBundle.getText(TABLE_NO_DATA);\n\t}\n\n\tget _ariaLabel() {\n\t\treturn getEffectiveAriaLabelText(this) || undefined;\n\t}\n\n\tget _ariaRowCount() {\n\t\treturn this._getVirtualizer()?.rowCount || undefined;\n\t}\n\n\tget _ariaMultiSelectable() {\n\t\tconst selection = this._getSelection();\n\t\treturn (selection?.isSelectable() && this.rows.length) ? selection.isMultiSelect() : undefined;\n\t}\n\n\tget _shouldRenderGrowing() {\n\t\treturn this.rows.length && this._growing?.hasGrowingComponent();\n\t}\n\n\tget _growing() {\n\t\treturn this.features.find(feature => this._isGrowingFeature(feature)) as ITableGrowing;\n\t}\n\n\tget _stickyElements() {\n\t\tconst stickyRows = this.headerRow.filter(row => row.sticky);\n\t\tconst stickyColumns = this.headerRow[0]._stickyCells as TableHeaderCell[];\n\n\t\treturn [...stickyRows, ...stickyColumns];\n\t}\n\n\tget _scrollContainer() {\n\t\treturn this._getVirtualizer() ? this._tableElement : findVerticalScrollContainer(this);\n\t}\n\n\tget isTable() {\n\t\treturn true;\n\t}\n\n\tget dropIndicatorDOM(): DropIndicator | null {\n\t\treturn this.shadowRoot!.querySelector(\"[ui5-drop-indicator]\");\n\t}\n\n\tget _hasRowActions() {\n\t\treturn this.rowActionCount > 0;\n\t}\n}\n\nTable.define();\n\nexport default Table;\n\nexport type {\n\tITableFeature,\n\tITableGrowing,\n\tTableRowClickEventDetail,\n\tTableMoveEventDetail,\n\tTableRowActionClickEventDetail,\n};\n"]}
1
+ {"version":3,"file":"Table.js","sourceRoot":"","sources":["../src/Table.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,EACN,aAAa,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,IAAI,GAChD,MAAM,4CAA4C,CAAC;AACpD,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,aAAa,MAAM,4CAA4C,CAAC;AACvE,OAAO,WAAW,MAAM,iCAAiC,CAAC;AAC1D,OAAO,cAAc,MAAM,qBAAqB,CAAC;AACjD,OAAO,QAAQ,MAAM,eAAe,CAAC;AACrC,OAAO,SAAS,MAAM,gBAAgB,CAAC;AACvC,OAAO,cAAc,MAAM,qBAAqB,CAAC;AACjD,OAAO,eAAe,MAAM,sBAAsB,CAAC;AACnD,OAAO,iBAAiB,MAAM,8BAA8B,CAAC;AAC7D,OAAO,gBAAgB,MAAM,uBAAuB,CAAC;AACrD,OAAO,aAAa,MAAM,oBAAoB,CAAC;AAC/C,OAAO,aAAa,MAAM,oBAAoB,CAAC;AAC/C,OAAO,aAAa,MAAM,wDAAwD,CAAC;AACnF,OAAO,EAAE,2BAA2B,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,yBAAyB,EAAE,MAAM,+DAA+D,CAAC;AAS1G,OAAO,EACN,aAAa,GACb,MAAM,mCAAmC,CAAC;AAqE3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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O,EAAE,KAAK;KACd,CAAC;GAEI,KAAK,CA2bV;AAED,KAAK,CAAC,MAAM,EAAE,CAAC;AAEf,eAAe,KAAK,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport {\n\tcustomElement, slot, property, eventStrict, i18n,\n} from \"@ui5/webcomponents-base/dist/decorators.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport TableTemplate from \"./generated/templates/TableTemplate.lit.js\";\nimport TableStyles from \"./generated/themes/Table.css.js\";\nimport TableHeaderRow from \"./TableHeaderRow.js\";\nimport TableRow from \"./TableRow.js\";\nimport TableCell from \"./TableCell.js\";\nimport TableExtension from \"./TableExtension.js\";\nimport TableNavigation from \"./TableNavigation.js\";\nimport TableOverflowMode from \"./types/TableOverflowMode.js\";\nimport TableDragAndDrop from \"./TableDragAndDrop.js\";\nimport DropIndicator from \"./DropIndicator.js\";\nimport BusyIndicator from \"./BusyIndicator.js\";\nimport ResizeHandler from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport { findVerticalScrollContainer, scrollElementIntoView, isFeature } from \"./TableUtils.js\";\nimport { getScopedVarName } from \"@ui5/webcomponents-base/dist/CustomElementsScope.js\";\nimport { getEffectiveAriaLabelText } from \"@ui5/webcomponents-base/dist/util/AccessibilityTextsHelper.js\";\nimport type { ResizeObserverCallback } from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport type { MoveEventDetail } from \"@ui5/webcomponents-base/dist/util/dragAndDrop/DragRegistry.js\";\nimport type TableHeaderCell from \"./TableHeaderCell.js\";\nimport type TableSelection from \"./TableSelection.js\";\nimport type TableSelectionBase from \"./TableSelectionBase.js\";\nimport type TableRowActionBase from \"./TableRowActionBase.js\";\nimport type TableVirtualizer from \"./TableVirtualizer.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport {\n\tTABLE_NO_DATA,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n/**\n * Interface for components that can be slotted inside the `features` slot of the `ui5-table`.\n *\n * @public\n * @experimental\n */\ninterface ITableFeature extends UI5Element {\n\treadonly identifier: string;\n\t/**\n\t * Called when the table is activated.\n\t * @param table Table instance\n\t */\n\tonTableActivate?(table: Table): void;\n\t/**\n\t * Called every time before the table renders.\n\t * @param table Table instance\n\t */\n\tonTableBeforeRendering?(table?: Table): void;\n\t/**\n\t * Called every time after the table renders.\n\t * @param table Table instance\n\t */\n\tonTableAfterRendering?(table?: Table): void;\n}\n\n/**\n * Interface for components that can be slotted inside the `features` slot of the `ui5-table`\n * and provide growing/data loading functionality.\n * @public\n * @experimental\n */\ninterface ITableGrowing extends ITableFeature {\n\t/**\n\t * Called when the table needs to load more data.\n\t */\n\tloadMore(): void;\n\t/**\n\t * Determines whether the table has a growing control, that should be rendered in the table.\n\t */\n\thasGrowingComponent(): boolean;\n\t_individualSlot?: string;\n}\n\n/**\n * Fired when an interactive row is clicked.\n *\n * @param {TableRow} row The clicked row instance\n * @public\n */\ntype TableRowClickEventDetail = {\n\trow: TableRow,\n};\n\ntype TableMoveEventDetail = MoveEventDetail;\n\n/**\n * Fired when a row action is clicked.\n *\n * @param {TableRowActionBase} action The row action instance\n * @param {TableRow} row The row instance\n * @public\n */\ntype TableRowActionClickEventDetail = {\n\taction: TableRowActionBase,\n\trow: TableRow,\n};\n\n/**\n * @class\n *\n * ### Overview\n *\n * The `ui5-table` component provides a set of sophisticated features for displaying and dealing with vast amounts of data in a responsive manner.\n * To render the `ui5-table`, you need to define the columns and rows. You can use the provided `ui5-table-header-row` and `ui5-table-row` components for this purpose.\n *\n * ### Features\n *\n * The `ui5-table` can be enhanced in its functionalities by applying different features.\n * Features can be slotted into the `features` slot, to enable them in the component.\n * Features need to be imported separately, as they are not enabled by default.\n *\n * The following features are currently available:\n *\n * * [TableSelection](../TableSelection) - adds selection capabilities to the table\n * * [TableGrowing](../TableGrowing) - provides growing capabilities to load more data\n *\n * ### Keyboard Handling\n *\n * This component provides a build in fast navigation group which can be used via [F6] / [Shift] + [F6] / [Ctrl] + [Alt/Option] / [Down] or [Ctrl] + [Alt/Option] + [Up].\n * In order to use this functionality, you need to import the following module:\n * `import \"@ui5/webcomponents-base/dist/features/F6Navigation.js\"`\n *\n * Furthermore, you can interact with `ui5-table` via the following keys:\n *\n * If the focus is on a row, the following keyboard shortcuts are available:\n * * <kbd>Down</kbd> - Navigates down\n * * <kbd>Up</kbd> - Navigates up\n * * <kbd>Right</kbd> - Selects the first cell of the row\n * * <kbd>Space</kbd> - Toggles the selection of the row\n * * <kbd>Ctrl/Cmd + A</kbd> - In multi selection mode, toggles the selection of all rows\n * * <kbd>Home</kbd> - Navigates to the first row, if the focus is on the first row, navigates to the header row\n * * <kbd>End</kbd> - Navigates to the last row, if the focus is on the last row, navigates to the growing button\n * * <kbd>Page Up</kbd> - Navigates one page up, if the focus is on the first row, navigates to the header row\n * * <kbd>Page Down</kbd> - Navigates one page down, if the focus is on the last row, navigates to the growing button\n * * <kbd>F2</kbd> - Focuses the first tabbable element in the row\n * * <kbd>F7</kbd> - If focus position is remembered, moves focus to the corresponding focus position row, otherwise to the first tabbable element within the row\n * * <kbd>[Shift]Tab</kbd> - Move focus to the element in the tab chain outside the table\n\n *\n * If the focus is on a cell, the following keyboard shortcuts are available:\n * * <kbd>Down</kbd> - Navigates down\n * * <kbd>Up</kbd> - Navigates up\n * * <kbd>Right</kbd> - Navigates right\n * * <kbd>Left</kbd> - Navigates left, if the focus is on the first cell of the row, the focus is moved to the row.\n * * <kbd>Home</kbd> - Navigates to the first cell of the current row, if the focus is on the first cell, navigates to the corresponding row\n * * <kbd>End</kbd> - Navigates to the last cell of the current row, if the focus is on the last cell, navigates to the corresponding row\n * * <kbd>Page Up</kbd> - Navigates one page up while keeping the focus in same column\n * * <kbd>Page Down</kbd> - Navigates one page down while keeping the focus in same column\n * * <kbd>F2</kbd> - Toggles the focus between the first tabbable cell content and the cell\n * * <kbd>Enter</kbd> - Focuses the first tabbable cell content\n * * <kbd>F7</kbd> - If the focus is on an interactive element inside a row, moves focus to the corresponding row and remembers the focus position of the element within the row\n * * <kbd>[Shift]Tab</kbd> - Move focus to the element in the tab chain outside the table\n\n *\n * If the focus is on an interactive cell content, the following keyboard shortcuts are available:\n * * <kbd>Down</kbd> - Move the focus to the interactive element in the same column of the previous row, unless the focused element prevents the default\n * * <kbd>Up</kbd> - Move the focus to the interactive element in the same column of the next row, unless the focused element prevents the default\n * * <kbd>[Shift]Tab</kbd> - Move the focus to the element in the tab chain\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents/dist/Table.js\";`\\\n * `import \"@ui5/webcomponents/dist/TableRow.js\";` (`ui5-table-row`)\\\n * `import \"@ui5/webcomponents/dist/TableCell.js\";` (`ui5-table-cell`)\\\n * `import \"@ui5/webcomponents/dist/TableHeaderRow.js\";` (`ui5-table-header-row`)\\\n * `import \"@ui5/webcomponents/dist/TableHeaderCell.js\";` (`ui5-table-header-cell`)\n *\n * @constructor\n * @extends UI5Element\n * @since 2.0.0\n * @public\n * @experimental This Table web component is available since 2.0 and has been newly implemented to provide better screen reader and keyboard handling support.\n * Currently, it's considered experimental as its API is subject to change.\n * This Table replaces the previous Table web component, that has been part of **@ui5/webcomponents** version 1.x.\n * For compatibility reasons, we moved the previous Table implementation to the **@ui5/webcomponents-compat** package\n * and will be maintained until the new Table is experimental.\n * Keep in mind that you can use either the compat/Table, or the main/Table - you can't use them both as they both define the `ui5-table` tag name.\n */\n@customElement({\n\ttag: \"ui5-table\",\n\trenderer: litRender,\n\tstyles: TableStyles,\n\ttemplate: TableTemplate,\n\tfastNavigation: true,\n\tdependencies: [\n\t\tBusyIndicator,\n\t\tTableHeaderRow,\n\t\tTableCell,\n\t\tTableRow,\n\t\tDropIndicator,\n\t],\n})\n\n/**\n * Fired when an interactive row is clicked.\n *\n * @param {TableRow} row The row instance\n * @public\n */\n@eventStrict(\"row-click\", {\n\tbubbles: false,\n})\n\n/**\n * Fired when a movable item is moved over a potential drop target during a dragging operation.\n *\n * If the new position is valid, prevent the default action of the event using `preventDefault()`.\n *\n * **Note:** If the dragging operation is a cross-browser operation or files are moved to a potential drop target,\n * the `source` parameter will be `null`.\n *\n * @param {Event} originalEvent The original `dragover` event\n * @param {object} source The source object\n * @param {object} destination The destination object\n * @public\n */\n@eventStrict(\"move-over\", {\n\tcancelable: true,\n\tbubbles: true,\n})\n\n/**\n * Fired when a movable list item is dropped onto a drop target.\n *\n * **Notes:**\n *\n * The `move` event is fired only if there was a preceding `move-over` with prevented default action.\n *\n * If the dragging operation is a cross-browser operation or files are moved to a potential drop target,\n * the `source` parameter will be `null`.\n *\n * @param {Event} originalEvent The original `drop` event\n * @param {object} source The source object\n * @param {object} destination The destination object\n * @public\n */\n@eventStrict(\"move\", {\n\tbubbles: true,\n})\n\n/**\n * Fired when a row action is clicked.\n *\n * @param {TableRowActionBase} action The row action instance\n * @param {TableRow} row The row instance\n * @since 2.6.0\n * @public\n */\n@eventStrict(\"row-action-click\", {\n\tbubbles: false,\n})\n\nclass Table extends UI5Element {\n\teventDetails!: {\n\t\t\"row-click\": TableRowClickEventDetail;\n\t\t\"move-over\": TableMoveEventDetail;\n\t\t\"move\": TableMoveEventDetail;\n\t\t\"row-action-click\": TableRowActionClickEventDetail;\n\t}\n\t/**\n\t * Defines the rows of the component.\n\t *\n\t * **Note:** Use `ui5-table-row` for the intended design.\n\t *\n\t * @public\n\t */\n\t@slot({\n\t\ttype: HTMLElement,\n\t\t\"default\": true,\n\t\tinvalidateOnChildChange: {\n\t\t\tproperties: [\"navigated\", \"position\"],\n\t\t\tslots: false,\n\t\t},\n\t})\n\trows!: Array<TableRow>;\n\n\t/**\n\t * Defines the header row of the component.\n\t *\n\t * **Note:** Use `ui5-table-header-row` for the intended design.\n\t *\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, invalidateOnChildChange: { properties: false, slots: true } })\n\theaderRow!: Array<TableHeaderRow>;\n\n\t/**\n\t * Defines the custom visualization if there is no data available.\n\t *\n\t * @public\n\t */\n\t@slot()\n\tnodata!: Array<HTMLElement>;\n\n\t/**\n\t * Defines the features of the component.\n\t *\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, individualSlots: true })\n\tfeatures!: Array<ITableFeature>;\n\n\t/**\n\t * Defines the accessible ARIA name of the component.\n\t *\n\t * @default undefined\n\t * @public\n\t */\n\t@property()\n\taccessibleName?: string;\n\n\t/**\n\t * Identifies the element (or elements) that labels the component.\n\t *\n\t * @default undefined\n\t * @public\n\t */\n\t@property()\n\taccessibleNameRef?: string;\n\n\t/**\n\t * Defines the text to be displayed when there are no rows in the component.\n\t *\n\t * @default undefined\n\t * @public\n\t */\n\t@property()\n\tnoDataText?: string;\n\n\t/**\n\t * Defines the mode of the <code>ui5-table</code> overflow behavior.\n\t *\n\t * Available options are:\n\t *\n\t * <code>Scroll</code> - Columns are shown as regular columns and horizontal scrolling is enabled.\n\t *\n\t * <code>Popin</code> - Columns are shown as pop-ins instead of regular columns.\n\t *\n\t * @default \"Scroll\"\n\t * @public\n\t */\n\t@property()\n\toverflowMode: `${TableOverflowMode}` = \"Scroll\";\n\n\t/**\n\t * Defines if the loading indicator should be shown.\n\t *\n\t * **Note:** When the component is loading, it is not interactive.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tloading = false;\n\n\t/**\n * Defines the delay in milliseconds, after which the loading indicator will show up for this component.\n\t *\n * @default 1000\n * @public\n */\n\t@property({ type: Number })\n\tloadingDelay = 1000;\n\n\t/**\n\t * Defines the sticky top offset of the table, if other sticky elements outside of the table exist.\n\t */\n\t@property()\n\tstickyTop = \"0\";\n\n\t/**\n\t * Defines the maximum number of row actions that is displayed, which determines the width of the row action column.\n\t *\n\t * **Note:** It is recommended to use a maximum of 3 row actions, as exceeding this limit may take up too much space on smaller screens.\n\t *\n\t * @default 0\n\t * @since 2.7.0\n\t * @public\n\t */\n\t@property({ type: Number })\n\trowActionCount = 0;\n\n\t@property({ type: Number, noAttribute: true })\n\t_invalidate = 0;\n\n\t@property({ type: Boolean, noAttribute: true })\n\t_renderNavigated = false;\n\n\t@i18n(\"@ui5/webcomponents\")\n\tstatic i18nBundle: I18nBundle;\n\n\t_events = [\"keydown\", \"keyup\", \"click\", \"focusin\", \"focusout\", \"dragenter\", \"dragleave\", \"dragover\", \"drop\"];\n\t_onEventBound: (e: Event) => void;\n\t_onResizeBound: ResizeObserverCallback;\n\t_tableNavigation?: TableNavigation;\n\t_tableDragAndDrop?: TableDragAndDrop;\n\t_poppedIn: Array<{col: TableHeaderCell, width: float}> = [];\n\t_containerWidth = 0;\n\n\tconstructor() {\n\t\tsuper();\n\t\tthis._onResizeBound = this._onResize.bind(this);\n\t\tthis._onEventBound = this._onEvent.bind(this);\n\t}\n\n\tonEnterDOM() {\n\t\tif (this.overflowMode === TableOverflowMode.Popin) {\n\t\t\tResizeHandler.register(this, this._onResizeBound);\n\t\t}\n\t\tthis._events.forEach(eventType => this.addEventListener(eventType, this._onEventBound));\n\t\tthis.features.forEach(feature => feature.onTableActivate?.(this));\n\t\tthis._tableNavigation = new TableNavigation(this);\n\t\tthis._tableDragAndDrop = new TableDragAndDrop(this);\n\t}\n\n\tonExitDOM() {\n\t\tthis._tableNavigation = undefined;\n\t\tthis._tableDragAndDrop = undefined;\n\t\tthis._events.forEach(eventType => this.removeEventListener(eventType, this._onEventBound));\n\t\tif (this.overflowMode === TableOverflowMode.Popin) {\n\t\t\tResizeHandler.deregister(this, this._onResizeBound);\n\t\t}\n\t}\n\n\tonBeforeRendering(): void {\n\t\tthis._renderNavigated = this.rows.some(row => row.navigated);\n\t\tif (this.headerRow[0]) {\n\t\t\tthis.headerRow[0]._rowActionCount = this.rowActionCount;\n\t\t}\n\t\tthis.rows.forEach(row => {\n\t\t\trow._renderNavigated = this._renderNavigated;\n\t\t\trow._rowActionCount = this.rowActionCount;\n\t\t});\n\n\t\tthis.style.setProperty(getScopedVarName(\"--ui5_grid_sticky_top\"), this.stickyTop);\n\t\tthis._refreshPopinState();\n\t\tthis.features.forEach(feature => feature.onTableBeforeRendering?.(this));\n\t}\n\n\tonAfterRendering(): void {\n\t\tthis.features.forEach(feature => feature.onTableAfterRendering?.(this));\n\t}\n\n\t_findFeature<T>(featureName: string): T {\n\t\treturn this.features.find(feature => isFeature<T>(feature, featureName)) as T;\n\t}\n\n\t_getSelection(): TableSelectionBase | TableSelection | undefined {\n\t\treturn this._findFeature<TableSelectionBase>(\"TableSelectionBase\") || this._findFeature<TableSelection>(\"TableSelection\");\n\t}\n\n\t_getVirtualizer(): TableVirtualizer | undefined {\n\t\treturn this._findFeature<TableVirtualizer>(\"TableVirtualizer\");\n\t}\n\n\t_onEvent(e: Event) {\n\t\tconst composedPath = e.composedPath();\n\t\tconst eventOrigin = composedPath[0] as HTMLElement;\n\t\tconst elements = [this._tableNavigation, this._tableDragAndDrop, ...composedPath, ...this.features];\n\t\telements.forEach(element => {\n\t\t\tif (element instanceof TableExtension || (element instanceof HTMLElement && element.localName.includes(\"ui5-table\"))) {\n\t\t\t\tconst eventHandlerName = `_on${e.type}` as keyof typeof element;\n\t\t\t\tconst eventHandler = element[eventHandlerName] as (e?: Event, eventOrigin?: HTMLElement) => void;\n\t\t\t\tif (typeof eventHandler === \"function\") {\n\t\t\t\t\teventHandler.call(element, e, eventOrigin);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n\n\t_onResize() {\n\t\tconst { clientWidth, scrollWidth } = this._tableElement;\n\n\t\tif (scrollWidth > clientWidth) {\n\t\t\t// Overflow Handling: Move columns into the popin until overflow is resolved\n\t\t\tconst overflow = scrollWidth - clientWidth;\n\t\t\tconst headers = this._getPopinOrderedColumns(false);\n\t\t\tconst poppedInWidth = headers.reduce((totalPoppedInWidth, headerCell) => {\n\t\t\t\tif (totalPoppedInWidth < overflow && !headerCell._popin) {\n\t\t\t\t\tconst headerWidth = Math.ceil(headerCell.getBoundingClientRect().width);\n\t\t\t\t\ttotalPoppedInWidth += headerWidth;\n\t\t\t\t\tthis._setHeaderPopinState(headerCell, true, headerWidth);\n\t\t\t\t}\n\t\t\t\treturn totalPoppedInWidth;\n\t\t\t}, 0);\n\t\t\t// Calculate container width considering popped-in columns\n\t\t\tconst columnOverflow = poppedInWidth - overflow;\n\t\t\tthis._containerWidth = clientWidth - columnOverflow;\n\t\t} else {\n\t\t\t// Underflow Handling: Restore columns from popin until container width is met\n\t\t\tconst headers = this._getPopinOrderedColumns(true).filter(it => it._popin);\n\n\t\t\theaders.every(headerCell => {\n\t\t\t\tconst underflow = clientWidth - this._containerWidth;\n\t\t\t\tif (underflow >= headerCell._popinWidth) {\n\t\t\t\t\tthis._containerWidth += headerCell._popinWidth;\n\t\t\t\t\tthis._setHeaderPopinState(headerCell, false, 0);\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t});\n\t\t}\n\t}\n\n\t_onfocusin(e: FocusEvent) {\n\t\tif (e.target === this) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Handles focus in the table, when the focus is below a sticky element\n\t\tscrollElementIntoView(this._scrollContainer, e.target as HTMLElement, this._stickyElements, this.effectiveDir === \"rtl\");\n\t}\n\n\t_onGrow() {\n\t\tthis._growing?.loadMore();\n\t}\n\n\t_getPopinOrderedColumns(reverse: boolean) {\n\t\tlet headers = [...this.headerRow[0].cells];\n\t\theaders = headers.reverse(); // reverse the \"visual\" order\n\t\theaders = headers.sort((a, b) => a.importance - b.importance); // sort by importance (asc)\n\t\theaders.pop(); // remove the most important column, as it will not be popped in\n\n\t\tif (reverse) {\n\t\t\theaders = headers.reverse();\n\t\t}\n\n\t\treturn headers;\n\t}\n\n\t/**\n\t * Refreshes the popin state of the columns.\n\t * Syncs the popin state of the columns with the popin state of the header cells.\n\t * This is needed when additional rows are manually added and no resize happens.\n\t * @private\n\t */\n\t_refreshPopinState() {\n\t\tthis.headerRow[0]?.cells.forEach((header, index) => {\n\t\t\tthis.rows.forEach(row => {\n\t\t\t\tconst cell = row.cells[index];\n\t\t\t\tif (cell) {\n\t\t\t\t\tcell._popinHidden = header.popinHidden;\n\t\t\t\t\tcell._popin = header._popin;\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n\n\t_setHeaderPopinState(headerCell: TableHeaderCell, inPopin: boolean, popinWidth: number) {\n\t\tconst headerIndex = this.headerRow[0].cells.indexOf(headerCell);\n\t\theaderCell._popin = inPopin;\n\t\theaderCell._popinWidth = popinWidth;\n\t\tthis.rows.forEach(row => {\n\t\t\trow.cells[headerIndex]._popinHidden = headerCell.popinHidden;\n\t\t\trow.cells[headerIndex]._popin = inPopin;\n\t\t});\n\t}\n\n\t_isGrowingFeature(feature: any) {\n\t\treturn Boolean(feature.loadMore && feature.hasGrowingComponent && isFeature<ITableGrowing>(feature, \"TableGrowing\"));\n\t}\n\n\t_onRowClick(row: TableRow) {\n\t\tthis.fireDecoratorEvent(\"row-click\", { row });\n\t}\n\n\t_onRowActionClick(action: TableRowActionBase) {\n\t\tconst row = action.parentElement as TableRow;\n\t\tthis.fireDecoratorEvent(\"row-action-click\", { action, row });\n\t}\n\n\tget styles() {\n\t\tconst virtualizer = this._getVirtualizer();\n\t\tconst headerStyleMap = this.headerRow?.[0]?.cells?.reduce((headerStyles, headerCell) => {\n\t\t\tif (headerCell.horizontalAlign !== undefined && !headerCell._popin) {\n\t\t\t\theaderStyles[`--horizontal-align-${headerCell._individualSlot}`] = headerCell.horizontalAlign;\n\t\t\t}\n\t\t\treturn headerStyles;\n\t\t}, {} as { [key: string]: string });\n\t\treturn {\n\t\t\ttable: {\n\t\t\t\t\"grid-template-columns\": this._gridTemplateColumns,\n\t\t\t\t\"--row-height\": virtualizer ? `${virtualizer.rowHeight}px` : \"auto\",\n\t\t\t\t...headerStyleMap,\n\t\t\t},\n\t\t\tspacer: {\n\t\t\t\t\"transform\": virtualizer?._getTransform(),\n\t\t\t\t\"will-change\": virtualizer && \"transform\",\n\t\t\t},\n\t\t};\n\t}\n\n\tget _gridTemplateColumns() {\n\t\tif (!this.headerRow[0]) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst widths = [];\n\t\tconst visibleHeaderCells = this.headerRow[0]._visibleCells as TableHeaderCell[];\n\t\tif (this._getSelection()?.isRowSelectorRequired()) {\n\t\t\twidths.push(\"min-content\");\n\t\t}\n\t\twidths.push(...visibleHeaderCells.map(cell => {\n\t\t\tconst minWidth = cell.minWidth === \"auto\" ? \"3rem\" : cell.minWidth;\n\t\t\tif (cell.width === \"auto\" || cell.width.includes(\"%\") || cell.width.includes(\"fr\") || cell.width.includes(\"vw\")) {\n\t\t\t\treturn `minmax(${minWidth}, ${cell.maxWidth})`;\n\t\t\t}\n\t\t\treturn `minmax(${cell.width}, ${cell.width})`;\n\t\t}));\n\n\t\tif (this.rowActionCount > 0) {\n\t\t\twidths.push(`calc(var(${getScopedVarName(\"--_ui5_button_base_min_width\")}) * ${this.rowActionCount} + var(${getScopedVarName(\"--_ui5_table_row_actions_gap\")}) * ${this.rowActionCount - 1} + var(${getScopedVarName(\"--_ui5_table_cell_horizontal_padding\")}) * 2)`);\n\t\t}\n\n\t\tif (this._renderNavigated) {\n\t\t\twidths.push(`var(${getScopedVarName(\"--_ui5_table_navigated_cell_width\")})`);\n\t\t}\n\n\t\treturn widths.join(\" \");\n\t}\n\n\tget _tableOverflowX() {\n\t\treturn (this.overflowMode === TableOverflowMode.Popin) ? \"clip\" : \"auto\";\n\t}\n\n\tget _tableOverflowY() {\n\t\treturn \"auto\";\n\t}\n\n\tget _nodataRow() {\n\t\treturn this.shadowRoot!.getElementById(\"nodata-row\") as TableRow;\n\t}\n\n\tget _beforeElement() {\n\t\treturn this.shadowRoot!.getElementById(\"before\") as HTMLElement;\n\t}\n\n\tget _afterElement() {\n\t\treturn this.shadowRoot!.getElementById(\"after\") as HTMLElement;\n\t}\n\n\tget _tableElement() {\n\t\treturn this.shadowRoot!.getElementById(\"table\") as HTMLElement;\n\t}\n\n\tget _loadingElement() {\n\t\treturn this.shadowRoot!.getElementById(\"loading\") as HTMLElement;\n\t}\n\n\tget _effectiveNoDataText() {\n\t\treturn this.noDataText || Table.i18nBundle.getText(TABLE_NO_DATA);\n\t}\n\n\tget _ariaLabel() {\n\t\treturn getEffectiveAriaLabelText(this) || undefined;\n\t}\n\n\tget _ariaRowCount() {\n\t\treturn this._getVirtualizer()?.rowCount || undefined;\n\t}\n\n\tget _ariaMultiSelectable() {\n\t\tconst selection = this._getSelection();\n\t\treturn (selection?.isSelectable() && this.rows.length) ? selection.isMultiSelectable() : undefined;\n\t}\n\n\tget _shouldRenderGrowing() {\n\t\treturn this.rows.length && this._growing?.hasGrowingComponent();\n\t}\n\n\tget _growing() {\n\t\treturn this._findFeature<ITableGrowing>(\"TableGrowing\");\n\t}\n\n\tget _stickyElements() {\n\t\tconst stickyRows = this.headerRow.filter(row => row.sticky);\n\t\tconst stickyColumns = this.headerRow[0]._stickyCells as TableHeaderCell[];\n\n\t\treturn [...stickyRows, ...stickyColumns];\n\t}\n\n\tget _scrollContainer() {\n\t\treturn this._getVirtualizer() ? this._tableElement : findVerticalScrollContainer(this);\n\t}\n\n\tget isTable() {\n\t\treturn true;\n\t}\n\n\tget dropIndicatorDOM(): DropIndicator | null {\n\t\treturn this.shadowRoot!.querySelector(\"[ui5-drop-indicator]\");\n\t}\n\n\tget _hasRowActions() {\n\t\treturn this.rowActionCount > 0;\n\t}\n}\n\nTable.define();\n\nexport default Table;\n\nexport type {\n\tITableFeature,\n\tITableGrowing,\n\tTableRowClickEventDetail,\n\tTableMoveEventDetail,\n\tTableRowActionClickEventDetail,\n};\n"]}
@@ -24,6 +24,7 @@ declare abstract class TableCellBase extends UI5Element {
24
24
  */
25
25
  horizontalAlign?: `${TableCellHorizontalAlign}`;
26
26
  _popin: boolean;
27
+ _popinHidden: boolean;
27
28
  protected ariaRole: string;
28
29
  static i18nBundle: I18nBundle;
29
30
  onEnterDOM(): void;
@@ -24,6 +24,7 @@ let TableCellBase = class TableCellBase extends UI5Element {
24
24
  constructor() {
25
25
  super(...arguments);
26
26
  this._popin = false;
27
+ this._popinHidden = false;
27
28
  this.ariaRole = "gridcell";
28
29
  }
29
30
  onEnterDOM() {
@@ -53,6 +54,9 @@ __decorate([
53
54
  __decorate([
54
55
  property({ type: Boolean })
55
56
  ], TableCellBase.prototype, "_popin", void 0);
57
+ __decorate([
58
+ property({ type: Boolean, noAttribute: true })
59
+ ], TableCellBase.prototype, "_popinHidden", void 0);
56
60
  __decorate([
57
61
  i18n("@ui5/webcomponents")
58
62
  ], TableCellBase, "i18nBundle", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"TableCellBase.js","sourceRoot":"","sources":["../src/TableCellBase.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAE3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,mBAAmB,MAAM,yCAAyC,CAAC;AAG1E;;;;;;;;GAQG;AAKH,IAAe,aAAa,GAA5B,MAAe,aAAc,SAAQ,UAAU;IAA/C;;QAkBC,WAAM,GAAG,KAAK,CAAC;QAEL,aAAQ,GAAW,UAAU,CAAC;IAwBzC,CAAC;IAnBA,UAAU;QACT,IAAI,CAAC,eAAe,CAAC,qBAAqB,EAAE,IAAI,CAAC,CAAC;IACnD,CAAC;IAED,iBAAiB;QAChB,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YACjB,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;QAC9B,CAAC;aAAM,CAAC;YACP,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC1C,CAAC;IACF,CAAC;IAED,cAAc;QACb,OAAO,IAAI,CAAC;IACb,CAAC;IAED,eAAe;QACd,OAAO,IAAI,CAAC;IACb,CAAC;CACD,CAAA;AAtCA;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;8CAChB;AASnB;IADF,QAAQ,EAAE;sDACwC;AAGnD;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;6CACb;AAKR;IADN,IAAI,CAAC,oBAAoB,CAAC;uCACG;AAvBhB,aAAa;IAJ3B,aAAa,CAAC;QACd,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE,mBAAmB;KAC3B,CAAC;GACa,aAAa,CA4C3B;AAED,eAAe,aAAa,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport i18n from \"@ui5/webcomponents-base/dist/decorators/i18n.js\";\nimport TableCellBaseStyles from \"./generated/themes/TableCellBase.css.js\";\nimport type TableCellHorizontalAlign from \"./types/TableCellHorizontalAlign.js\";\n\n/**\n * @class\n * A class to serve as a foundation for the `TableCell` and `TableHeaderCell` classes.\n * @constructor\n * @abstract\n * @extends UI5Element\n * @since 2.0.0\n * @public\n */\n@customElement({\n\trenderer: litRender,\n\tstyles: TableCellBaseStyles,\n})\nabstract class TableCellBase extends UI5Element {\n\t/**\n\t * Defines the content of the component.\n\t * @public\n\t */\n\t@slot({ type: Node, \"default\": true })\n\tcontent!: Array<Node>;\n\n\t/**\n\t * Determines the horizontal alignment of table cells.\n\t *\n\t * @default undefined\n\t * @public\n\t */\n\t@property()\n horizontalAlign?: `${TableCellHorizontalAlign}`;\n\n\t@property({ type: Boolean })\n\t_popin = false;\n\n\tprotected ariaRole: string = \"gridcell\";\n\n\t@i18n(\"@ui5/webcomponents\")\n\tstatic i18nBundle: I18nBundle;\n\n\tonEnterDOM() {\n\t\tthis.toggleAttribute(\"ui5-table-cell-base\", true);\n\t}\n\n\tonBeforeRendering() {\n\t\tif (this._popin) {\n\t\t\tthis.removeAttribute(\"role\");\n\t\t} else {\n\t\t\tthis.setAttribute(\"role\", this.ariaRole);\n\t\t}\n\t}\n\n\tgetFocusDomRef() {\n\t\treturn this;\n\t}\n\n\tisTableCellBase() {\n\t\treturn true;\n\t}\n}\n\nexport default TableCellBase;\n"]}
1
+ {"version":3,"file":"TableCellBase.js","sourceRoot":"","sources":["../src/TableCellBase.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAE3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,mBAAmB,MAAM,yCAAyC,CAAC;AAG1E;;;;;;;;GAQG;AAKH,IAAe,aAAa,GAA5B,MAAe,aAAc,SAAQ,UAAU;IAA/C;;QAkBC,WAAM,GAAG,KAAK,CAAC;QAGf,iBAAY,GAAG,KAAK,CAAC;QAEX,aAAQ,GAAW,UAAU,CAAC;IAwBzC,CAAC;IAnBA,UAAU;QACT,IAAI,CAAC,eAAe,CAAC,qBAAqB,EAAE,IAAI,CAAC,CAAC;IACnD,CAAC;IAED,iBAAiB;QAChB,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YACjB,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;QAC9B,CAAC;aAAM,CAAC;YACP,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC1C,CAAC;IACF,CAAC;IAED,cAAc;QACb,OAAO,IAAI,CAAC;IACb,CAAC;IAED,eAAe;QACd,OAAO,IAAI,CAAC;IACb,CAAC;CACD,CAAA;AAzCA;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;8CAChB;AASnB;IADF,QAAQ,EAAE;sDACwC;AAGnD;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;6CACb;AAGf;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;mDAC1B;AAKd;IADN,IAAI,CAAC,oBAAoB,CAAC;uCACG;AA1BhB,aAAa;IAJ3B,aAAa,CAAC;QACd,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE,mBAAmB;KAC3B,CAAC;GACa,aAAa,CA+C3B;AAED,eAAe,aAAa,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport i18n from \"@ui5/webcomponents-base/dist/decorators/i18n.js\";\nimport TableCellBaseStyles from \"./generated/themes/TableCellBase.css.js\";\nimport type TableCellHorizontalAlign from \"./types/TableCellHorizontalAlign.js\";\n\n/**\n * @class\n * A class to serve as a foundation for the `TableCell` and `TableHeaderCell` classes.\n * @constructor\n * @abstract\n * @extends UI5Element\n * @since 2.0.0\n * @public\n */\n@customElement({\n\trenderer: litRender,\n\tstyles: TableCellBaseStyles,\n})\nabstract class TableCellBase extends UI5Element {\n\t/**\n\t * Defines the content of the component.\n\t * @public\n\t */\n\t@slot({ type: Node, \"default\": true })\n\tcontent!: Array<Node>;\n\n\t/**\n\t * Determines the horizontal alignment of table cells.\n\t *\n\t * @default undefined\n\t * @public\n\t */\n\t@property()\n horizontalAlign?: `${TableCellHorizontalAlign}`;\n\n\t@property({ type: Boolean })\n\t_popin = false;\n\n\t@property({ type: Boolean, noAttribute: true })\n\t_popinHidden = false;\n\n\tprotected ariaRole: string = \"gridcell\";\n\n\t@i18n(\"@ui5/webcomponents\")\n\tstatic i18nBundle: I18nBundle;\n\n\tonEnterDOM() {\n\t\tthis.toggleAttribute(\"ui5-table-cell-base\", true);\n\t}\n\n\tonBeforeRendering() {\n\t\tif (this._popin) {\n\t\t\tthis.removeAttribute(\"role\");\n\t\t} else {\n\t\t\tthis.setAttribute(\"role\", this.ariaRole);\n\t\t}\n\t}\n\n\tgetFocusDomRef() {\n\t\treturn this;\n\t}\n\n\tisTableCellBase() {\n\t\treturn true;\n\t}\n}\n\nexport default TableCellBase;\n"]}
@@ -77,6 +77,17 @@ declare class TableHeaderCell extends TableCellBase {
77
77
  * @public
78
78
  */
79
79
  sortIndicator: `${SortOrder}`;
80
+ /**
81
+ * Defines if the column is hidden in the popin.
82
+ *
83
+ * **Note:** Please be aware that hiding the column in the popin might lead to accessibility issues as
84
+ * users might not be able to access the content of the column on small screens.
85
+ *
86
+ * @default false
87
+ * @since 2.8.0
88
+ * @public
89
+ */
90
+ popinHidden: boolean;
80
91
  /**
81
92
  * Defines the action of the column.
82
93
  *
@@ -80,6 +80,17 @@ let TableHeaderCell = class TableHeaderCell extends TableCellBase {
80
80
  * @public
81
81
  */
82
82
  this.sortIndicator = "None";
83
+ /**
84
+ * Defines if the column is hidden in the popin.
85
+ *
86
+ * **Note:** Please be aware that hiding the column in the popin might lead to accessibility issues as
87
+ * users might not be able to access the content of the column on small screens.
88
+ *
89
+ * @default false
90
+ * @since 2.8.0
91
+ * @public
92
+ */
93
+ this.popinHidden = false;
83
94
  this._popin = false;
84
95
  this.ariaRole = "columnheader";
85
96
  this._popinWidth = 0;
@@ -127,6 +138,9 @@ __decorate([
127
138
  __decorate([
128
139
  property()
129
140
  ], TableHeaderCell.prototype, "sortIndicator", void 0);
141
+ __decorate([
142
+ property({ type: Boolean })
143
+ ], TableHeaderCell.prototype, "popinHidden", void 0);
130
144
  __decorate([
131
145
  slot()
132
146
  ], TableHeaderCell.prototype, "action", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"TableHeaderCell.js","sourceRoot":"","sources":["../src/TableHeaderCell.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,4CAA4C,CAAC;AAC3F,OAAO,aAAa,MAAM,oBAAoB,CAAC;AAC/C,OAAO,uBAAuB,MAAM,sDAAsD,CAAC;AAC3F,OAAO,qBAAqB,MAAM,2CAA2C,CAAC;AAC9E,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,SAAS,MAAM,iDAAiD,CAAC;AAExE,OAAO,iDAAiD,CAAC;AACzD,OAAO,kDAAkD,CAAC;AAE1D;;;;;;;;;;;;;;;;;;;GAmBG;AAOH,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,aAAa;IAA3C;;QACC;;;;;WAKG;QAEH,UAAK,GAAG,MAAM,CAAC;QAEf;;;;;;;;;;WAUG;QAEH,aAAQ,GAAG,MAAM,CAAC;QAElB;;;;;WAKG;QAEH,aAAQ,GAAG,MAAM,CAAC;QAElB;;;;;;;;;WASG;QAEH,eAAU,GAAG,CAAC,CAAC;QAYf;;;;;;WAMG;QAEH,kBAAa,GAAmB,MAAM,CAAC;QAcvC,WAAM,GAAG,KAAK,CAAC;QAEL,aAAQ,GAAW,cAAc,CAAC;QAC5C,gBAAW,GAAW,CAAC,CAAC;IA2BzB,CAAC;IAzBA,UAAU;QACT,KAAK,CAAC,UAAU,EAAE,CAAC;QACnB,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;QACpC,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI,CA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M,EAAE,qBAAqB,CAAC;QACrD,QAAQ,EAAE,uBAAuB;QACjC,YAAY,EAAE,CAAC,IAAI,CAAC;KACpB,CAAC;GACI,eAAe,CA4GpB;AAED,eAAe,CAAC,MAAM,EAAE,CAAC;AAEzB,eAAe,eAAe,CAAC","sourcesContent":["import { customElement, property, slot } from \"@ui5/webcomponents-base/dist/decorators.js\";\nimport TableCellBase from \"./TableCellBase.js\";\nimport TableHeaderCellTemplate from \"./generated/templates/TableHeaderCellTemplate.lit.js\";\nimport TableHeaderCellStyles from \"./generated/themes/TableHeaderCell.css.js\";\nimport Icon from \"./Icon.js\";\nimport SortOrder from \"@ui5/webcomponents-base/dist/types/SortOrder.js\";\nimport type TableHeaderCellActionBase from \"./TableHeaderCellActionBase.js\";\nimport \"@ui5/webcomponents-icons/dist/sort-ascending.js\";\nimport \"@ui5/webcomponents-icons/dist/sort-descending.js\";\n\n/**\n * @class\n *\n * ### Overview\n *\n * The `ui5-table-header-cell` component represents a column in the `ui5-table`.\n *\n * As it is tightly coupled to the `ui5-table`, it should only be used in the `ui5-table-header-row`\n * to ensure correct layout and design.\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents/dist/TableHeaderCell.js\";`\n *\n * @constructor\n * @extends TableCellBase\n * @since 2.0.0\n * @public\n * @experimental This web component is available since 2.0 with an experimental flag and its API and behavior are subject to change.\n */\n@customElement({\n\ttag: \"ui5-table-header-cell\",\n\tstyles: [TableCellBase.styles, TableHeaderCellStyles],\n\ttemplate: TableHeaderCellTemplate,\n\tdependencies: [Icon],\n})\nclass TableHeaderCell extends TableCellBase {\n\t/**\n\t * Defines the width of column.\n\t *\n\t * @default \"auto\"\n\t * @public\n\t */\n\t@property()\n\twidth = \"auto\";\n\n\t/**\n \t * Defines the minimum width of the column.\n\t *\n\t * If the table is in `Popin` mode and the minimum width does not fit anymore,\n\t * the column will move into the popin.\n\t *\n\t * **Note:** If `minWidth` has the `auto` value, the table ensures that the column is wider than at least `3rem`.\n\t *\n\t * @default \"auto\"\n\t * @public\n\t */\n\t@property()\n\tminWidth = \"auto\";\n\n\t/**\n\t * Defines the maximum width of the column.\n\t *\n\t * @default \"auto\"\n\t * @public\n\t */\n\t@property()\n\tmaxWidth = \"auto\";\n\n\t/**\n\t * Defines the importance of the column.\n\t *\n\t * This property affects the popin behaviour.\n\t * Columns with higher importance will move into the popin area later then less important\n\t * columns.\n\t *\n\t * @default 0\n\t * @public\n\t */\n\t@property({ type: Number })\n\timportance = 0;\n\n\t/**\n\t * The text for the column when it pops in.\n\t *\n\t * @default undefined\n\t * @since 2.7.0\n\t * @public\n\t */\n\t@property()\n\tpopinText?: string;\n\n\t/**\n\t * Defines the sort indicator of the column.\n\t *\n\t * @default \"None\"\n\t * @since 2.8.0\n\t * @public\n\t */\n\t@property()\n\tsortIndicator: `${SortOrder}` = \"None\";\n\n\t/**\n\t * Defines the action of the column.\n\t *\n\t * **Note:** While multiple actions are technically possible, this is not supported.\n\t *\n\t * @public\n\t * @since 2.8.0\n\t */\n\t@slot()\n\taction!: Array<TableHeaderCellActionBase>;\n\n\t@property({ type: Boolean, noAttribute: true })\n\t_popin = false;\n\n\tprotected ariaRole: string = \"columnheader\";\n\t_popinWidth: number = 0;\n\n\tonEnterDOM() {\n\t\tsuper.onEnterDOM();\n\t\tthis.style.minWidth = this.minWidth;\n\t\tthis.style.maxWidth = this.maxWidth;\n\t\tthis.style.width = this.width;\n\t}\n\n\tonBeforeRendering() {\n\t\tsuper.onBeforeRendering();\n\t\tif (this._individualSlot) {\n\t\t\t// overwrite setting of TableCellBase so that the TableHeaderCell always uses the slot variable\n\t\t\tthis.style.justifyContent = `var(--horizontal-align-${this._individualSlot})`;\n\t\t}\n\t\tif (this.sortIndicator !== SortOrder.None) {\n\t\t\tthis.setAttribute(\"aria-sort\", this.sortIndicator.toLowerCase());\n\t\t} else if (this.hasAttribute(\"aria-sort\")) {\n\t\t\tthis.removeAttribute(\"aria-sort\");\n\t\t}\n\t}\n\n\tget _sortIcon() {\n\t\tif (this.sortIndicator !== SortOrder.None) {\n\t\t\treturn `sort-${this.sortIndicator.toLowerCase()}`;\n\t\t}\n\t}\n}\n\nTableHeaderCell.define();\n\nexport default TableHeaderCell;\n"]}
1
+ {"version":3,"file":"TableHeaderCell.js","sourceRoot":"","sources":["../src/TableHeaderCell.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,4CAA4C,CAAC;AAC3F,OAAO,aAAa,MAAM,oBAAoB,CAAC;AAC/C,OAAO,uBAAuB,MAAM,sDAAsD,CAAC;AAC3F,OAAO,qBAAqB,MAAM,2CAA2C,CAAC;AAC9E,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,SAAS,MAAM,iDAAiD,CAAC;AAExE,OAAO,iDAAiD,CAAC;AACzD,OAAO,kDAAkD,CAAC;AAE1D;;;;;;;;;;;;;;;;;;;GAmBG;AAOH,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,aAAa;IAA3C;;QACC;;;;;WAKG;QAEH,UAAK,GAAG,MAAM,CAAC;QAEf;;;;;;;;;;WAUG;QAEH,aAAQ,GAAG,MAAM,CAAC;QAElB;;;;;WAKG;QAEH,aAAQ,GAAG,MAAM,CAAC;QAElB;;;;;;;;;WASG;QAEH,eAAU,GAAG,CAAC,CAAC;QAYf;;;;;;WAMG;QAEH,kBAAa,GAAmB,MAAM,CAAC;QAEvC;;;;;;;;;WASG;QAEH,gBAAW,GAAY,KAAK,CAAC;QAc7B,WAAM,GAAG,KAAK,CAAC;QAEL,aAAQ,GAAW,cAAc,CAAC;QAC5C,gBAAW,GAAW,CAAC,CAAC;IA2BzB,CAAC;IAzBA,UAAU;QACT,KAAK,CAAC,UAAU,EAAE,CAAC;QACnB,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;QACpC,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC,QA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GAAG,EAAE,uBAAuB;QAC5B,MAAM,EAAE,CAAC,aAAa,CAAC,MAAM,EAAE,qBAAqB,CAAC;QACrD,QAAQ,EAAE,uBAAuB;QACjC,YAAY,EAAE,CAAC,IAAI,CAAC;KACpB,CAAC;GACI,eAAe,CAyHpB;AAED,eAAe,CAAC,MAAM,EAAE,CAAC;AAEzB,eAAe,eAAe,CAAC","sourcesContent":["import { customElement, property, slot } from \"@ui5/webcomponents-base/dist/decorators.js\";\nimport TableCellBase from \"./TableCellBase.js\";\nimport TableHeaderCellTemplate from \"./generated/templates/TableHeaderCellTemplate.lit.js\";\nimport TableHeaderCellStyles from \"./generated/themes/TableHeaderCell.css.js\";\nimport Icon from \"./Icon.js\";\nimport SortOrder from \"@ui5/webcomponents-base/dist/types/SortOrder.js\";\nimport type TableHeaderCellActionBase from \"./TableHeaderCellActionBase.js\";\nimport \"@ui5/webcomponents-icons/dist/sort-ascending.js\";\nimport \"@ui5/webcomponents-icons/dist/sort-descending.js\";\n\n/**\n * @class\n *\n * ### Overview\n *\n * The `ui5-table-header-cell` component represents a column in the `ui5-table`.\n *\n * As it is tightly coupled to the `ui5-table`, it should only be used in the `ui5-table-header-row`\n * to ensure correct layout and design.\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents/dist/TableHeaderCell.js\";`\n *\n * @constructor\n * @extends TableCellBase\n * @since 2.0.0\n * @public\n * @experimental This web component is available since 2.0 with an experimental flag and its API and behavior are subject to change.\n */\n@customElement({\n\ttag: \"ui5-table-header-cell\",\n\tstyles: [TableCellBase.styles, TableHeaderCellStyles],\n\ttemplate: TableHeaderCellTemplate,\n\tdependencies: [Icon],\n})\nclass TableHeaderCell extends TableCellBase {\n\t/**\n\t * Defines the width of column.\n\t *\n\t * @default \"auto\"\n\t * @public\n\t */\n\t@property()\n\twidth = \"auto\";\n\n\t/**\n \t * Defines the minimum width of the column.\n\t *\n\t * If the table is in `Popin` mode and the minimum width does not fit anymore,\n\t * the column will move into the popin.\n\t *\n\t * **Note:** If `minWidth` has the `auto` value, the table ensures that the column is wider than at least `3rem`.\n\t *\n\t * @default \"auto\"\n\t * @public\n\t */\n\t@property()\n\tminWidth = \"auto\";\n\n\t/**\n\t * Defines the maximum width of the column.\n\t *\n\t * @default \"auto\"\n\t * @public\n\t */\n\t@property()\n\tmaxWidth = \"auto\";\n\n\t/**\n\t * Defines the importance of the column.\n\t *\n\t * This property affects the popin behaviour.\n\t * Columns with higher importance will move into the popin area later then less important\n\t * columns.\n\t *\n\t * @default 0\n\t * @public\n\t */\n\t@property({ type: Number })\n\timportance = 0;\n\n\t/**\n\t * The text for the column when it pops in.\n\t *\n\t * @default undefined\n\t * @since 2.7.0\n\t * @public\n\t */\n\t@property()\n\tpopinText?: string;\n\n\t/**\n\t * Defines the sort indicator of the column.\n\t *\n\t * @default \"None\"\n\t * @since 2.8.0\n\t * @public\n\t */\n\t@property()\n\tsortIndicator: `${SortOrder}` = \"None\";\n\n\t/**\n\t * Defines if the column is hidden in the popin.\n\t *\n\t * **Note:** Please be aware that hiding the column in the popin might lead to accessibility issues as\n\t * users might not be able to access the content of the column on small screens.\n\t *\n\t * @default false\n\t * @since 2.8.0\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tpopinHidden: boolean = false;\n\n\t/**\n\t * Defines the action of the column.\n\t *\n\t * **Note:** While multiple actions are technically possible, this is not supported.\n\t *\n\t * @public\n\t * @since 2.8.0\n\t */\n\t@slot()\n\taction!: Array<TableHeaderCellActionBase>;\n\n\t@property({ type: Boolean, noAttribute: true })\n\t_popin = false;\n\n\tprotected ariaRole: string = \"columnheader\";\n\t_popinWidth: number = 0;\n\n\tonEnterDOM() {\n\t\tsuper.onEnterDOM();\n\t\tthis.style.minWidth = this.minWidth;\n\t\tthis.style.maxWidth = this.maxWidth;\n\t\tthis.style.width = this.width;\n\t}\n\n\tonBeforeRendering() {\n\t\tsuper.onBeforeRendering();\n\t\tif (this._individualSlot) {\n\t\t\t// overwrite setting of TableCellBase so that the TableHeaderCell always uses the slot variable\n\t\t\tthis.style.justifyContent = `var(--horizontal-align-${this._individualSlot})`;\n\t\t}\n\t\tif (this.sortIndicator !== SortOrder.None) {\n\t\t\tthis.setAttribute(\"aria-sort\", this.sortIndicator.toLowerCase());\n\t\t} else if (this.hasAttribute(\"aria-sort\")) {\n\t\t\tthis.removeAttribute(\"aria-sort\");\n\t\t}\n\t}\n\n\tget _sortIcon() {\n\t\tif (this.sortIndicator !== SortOrder.None) {\n\t\t\treturn `sort-${this.sortIndicator.toLowerCase()}`;\n\t\t}\n\t}\n}\n\nTableHeaderCell.define();\n\nexport default TableHeaderCell;\n"]}
@@ -16,6 +16,7 @@ import "@ui5/webcomponents-icons/dist/ai.js";
16
16
  * @extends TableHeaderCellActionBase
17
17
  * @since 2.8.0
18
18
  * @public
19
+ * @experimental
19
20
  */
20
21
  declare class TableHeaderCellActionAI extends TableHeaderCellActionBase {
21
22
  static i18nBundle: I18nBundle;
@@ -24,6 +24,7 @@ import "@ui5/webcomponents-icons/dist/ai.js";
24
24
  * @extends TableHeaderCellActionBase
25
25
  * @since 2.8.0
26
26
  * @public
27
+ * @experimental
27
28
  */
28
29
  let TableHeaderCellActionAI = TableHeaderCellActionAI_1 = class TableHeaderCellActionAI extends TableHeaderCellActionBase {
29
30
  getRenderInfo() {
@@ -1 +1 @@
1
- {"version":3,"file":"TableHeaderCellActionAI.js","sourceRoot":"","sources":["../src/TableHeaderCellActionAI.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,4CAA4C,CAAC;AACjF,OAAO,yBAAyB,MAAM,gCAAgC,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAE1E,OAAO,qCAAqC,CAAC;AAE7C;;;;;;;;;;;;;;;GAeG;AAGH,IAAM,uBAAuB,+BAA7B,MAAM,uBAAwB,SAAQ,yBAAyB;IAI9D,aAAa;QACZ,OAAO;YACN,IAAI,EAAE,IAAI;YACV,OAAO,EAAE,yBAAuB,CAAC,UAAU,CAAC,OAAO,CAAC,qBAAqB,CAAC;SAC1E,CAAC;IACH,CAAC;CACD,CAAA;AARO;IADN,IAAI,CAAC,oBAAoB,CAAC;iDACG;AAFzB,uBAAuB;IAF5B,aAAa,CAAC,EAAE,GAAG,EAAE,iCAAiC,EAAE,CAAC;GAEpD,uBAAuB,CAU5B;AAED,uBAAuB,CAAC,MAAM,EAAE,CAAC;AAEjC,eAAe,uBAAuB,CAAC","sourcesContent":["import { customElement, i18n } from \"@ui5/webcomponents-base/dist/decorators.js\";\nimport TableHeaderCellActionBase from \"./TableHeaderCellActionBase.js\";\nimport { TABLE_GENERATED_BY_AI } from \"./generated/i18n/i18n-defaults.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport \"@ui5/webcomponents-icons/dist/ai.js\";\n\n/**\n * @class\n *\n * ### Overview\n *\n * The `ui5-table-header-cell-action-ai` component defines a dedicated AI action for the table column.\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents/dist/TableHeaderCellActionAI.js\";`\n *\n * @constructor\n * @extends TableHeaderCellActionBase\n * @since 2.8.0\n * @public\n */\n@customElement({ tag: \"ui5-table-header-cell-action-ai\" })\n\nclass TableHeaderCellActionAI extends TableHeaderCellActionBase {\n\t@i18n(\"@ui5/webcomponents\")\n\tstatic i18nBundle: I18nBundle;\n\n\tgetRenderInfo() {\n\t\treturn {\n\t\t\ticon: \"ai\",\n\t\t\ttooltip: TableHeaderCellActionAI.i18nBundle.getText(TABLE_GENERATED_BY_AI),\n\t\t};\n\t}\n}\n\nTableHeaderCellActionAI.define();\n\nexport default TableHeaderCellActionAI;\n"]}
1
+ {"version":3,"file":"TableHeaderCellActionAI.js","sourceRoot":"","sources":["../src/TableHeaderCellActionAI.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,4CAA4C,CAAC;AACjF,OAAO,yBAAyB,MAAM,gCAAgC,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAE1E,OAAO,qCAAqC,CAAC;AAE7C;;;;;;;;;;;;;;;;GAgBG;AAGH,IAAM,uBAAuB,+BAA7B,MAAM,uBAAwB,SAAQ,yBAAyB;IAI9D,aAAa;QACZ,OAAO;YACN,IAAI,EAAE,IAAI;YACV,OAAO,EAAE,yBAAuB,CAAC,UAAU,CAAC,OAAO,CAAC,qBAAqB,CAAC;SAC1E,CAAC;IACH,CAAC;CACD,CAAA;AARO;IADN,IAAI,CAAC,oBAAoB,CAAC;iDACG;AAFzB,uBAAuB;IAF5B,aAAa,CAAC,EAAE,GAAG,EAAE,iCAAiC,EAAE,CAAC;GAEpD,uBAAuB,CAU5B;AAED,uBAAuB,CAAC,MAAM,EAAE,CAAC;AAEjC,eAAe,uBAAuB,CAAC","sourcesContent":["import { customElement, i18n } from \"@ui5/webcomponents-base/dist/decorators.js\";\nimport TableHeaderCellActionBase from \"./TableHeaderCellActionBase.js\";\nimport { TABLE_GENERATED_BY_AI } from \"./generated/i18n/i18n-defaults.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport \"@ui5/webcomponents-icons/dist/ai.js\";\n\n/**\n * @class\n *\n * ### Overview\n *\n * The `ui5-table-header-cell-action-ai` component defines a dedicated AI action for the table column.\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents/dist/TableHeaderCellActionAI.js\";`\n *\n * @constructor\n * @extends TableHeaderCellActionBase\n * @since 2.8.0\n * @public\n * @experimental\n */\n@customElement({ tag: \"ui5-table-header-cell-action-ai\" })\n\nclass TableHeaderCellActionAI extends TableHeaderCellActionBase {\n\t@i18n(\"@ui5/webcomponents\")\n\tstatic i18nBundle: I18nBundle;\n\n\tgetRenderInfo() {\n\t\treturn {\n\t\t\ticon: \"ai\",\n\t\t\ttooltip: TableHeaderCellActionAI.i18nBundle.getText(TABLE_GENERATED_BY_AI),\n\t\t};\n\t}\n}\n\nTableHeaderCellActionAI.define();\n\nexport default TableHeaderCellActionAI;\n"]}
@@ -43,7 +43,6 @@ declare class TableHeaderRow extends TableRowBase {
43
43
  isHeaderRow(): boolean;
44
44
  get _hasRowActions(): boolean;
45
45
  get _isSelectable(): boolean | undefined;
46
- get _isSelected(): boolean | undefined;
47
46
  get _i18nSelection(): string;
48
47
  get _i18nRowPopin(): string;
49
48
  get _i18nRowActions(): string;
@@ -69,9 +69,6 @@ class TableHeaderRow extends TableRowBase {
69
69
  get _isSelectable() {
70
70
  return this._isMultiSelect;
71
71
  }
72
- get _isSelected() {
73
- return this._tableSelection?.areAllRowsSelected();
74
- }
75
72
  get _i18nSelection() {
76
73
  return TableRowBase.i18nBundle.getText(TABLE_SELECTION);
77
74
  }
@@ -87,7 +84,7 @@ __decorate([
87
84
  type: HTMLElement,
88
85
  "default": true,
89
86
  invalidateOnChildChange: {
90
- properties: ["width", "_popin", "horizontalAlign"],
87
+ properties: ["width", "_popin", "horizontalAlign", "popinHidden"],
91
88
  slots: false,
92
89
  },
93
90
  individualSlots: true,
@@ -1 +1 @@
1
- {"version":3,"file":"TableHeaderRow.js","sourceRoot":"","sources":["../src/TableHeaderRow.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,4CAA4C,CAAC;AAC3F,OAAO,YAAY,MAAM,mBAAmB,CAAC;AAC7C,OAAO,sBAAsB,MAAM,qDAAqD,CAAC;AACzF,OAAO,oBAAoB,MAAM,0CAA0C,CAAC;AAC5E,OAAO,eAAe,MAAM,sBAAsB,CAAC;AACnD,OAAO,EACN,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,uBAAuB,GACvB,MAAM,mCAAmC,CAAC;AAE3C;;;;;;;;;;;;;;;;;;;GAmBG;AAeH,IAAM,cAAc;AANpB;;;;;GAKG;AACH,MAAM,cAAe,SAAQ,YAAY;IAAzC;;QAmBC;;;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;QACD,eAAe,EAAE,IAAI;KACrB,CAAC;6CAC6B;AAW/B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;8CACb;AA5BV,cAAc;IAdnB,aAAa,CAAC;QACd,GAAG,EAAE,sBAAsB;QAC3B,aAAa,EAAE,IAAI;QACnB,MAAM,EAAE,CAAC,YAAY,CAAC,MAAM,EAAE,oBAAoB,CAAC;QACnD,QAAQ,EAAE,sBAAsB;QAChC,YAAY,EAAE,CAAC,GAAG,YAAY,CAAC,YAAY,EAAE,eAAe,CAAC;KAC7D,CAAC;IAEF;;;;;OAKG;GACG,cAAc,CAoEnB;AAED,cAAc,CAAC,MAAM,EAAE,CAAC;AAExB,eAAe,cAAc,CAAC","sourcesContent":["import { customElement, slot, property } from \"@ui5/webcomponents-base/dist/decorators.js\";\nimport TableRowBase from \"./TableRowBase.js\";\nimport TableHeaderRowTemplate from \"./generated/templates/TableHeaderRowTemplate.lit.js\";\nimport TableHeaderRowStyles from \"./generated/themes/TableHeaderRow.css.js\";\nimport TableHeaderCell from \"./TableHeaderCell.js\";\nimport {\n\tTABLE_SELECTION,\n\tTABLE_ROW_POPIN,\n\tTABLE_ROW_ACTIONS,\n\tTABLE_COLUMN_HEADER_ROW,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n/**\n * @class\n *\n * ### Overview\n *\n * The `ui5-table-header-row` component represents the table headers of a `ui5-table`.\n *\n * It is tightly coupled to the `ui5-table` and should therefore be used in the `ui5-table` only.\n * The header row is placed in the `headerRow` slot of the table.\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents/dist/TableHeaderRow.js\";`\n *\n * @constructor\n * @extends TableRowBase\n * @since 2.0.0\n * @public\n * @experimental This web component is available since 2.0 with an experimental flag and its API and behavior are subject to change.\n */\n@customElement({\n\ttag: \"ui5-table-header-row\",\n\tlanguageAware: true,\n\tstyles: [TableRowBase.styles, TableHeaderRowStyles],\n\ttemplate: TableHeaderRowTemplate,\n\tdependencies: [...TableRowBase.dependencies, TableHeaderCell],\n})\n\n/**\n * Example custom event.\n * Please keep in mind that all public events should be documented in the API Reference as shown below.\n *\n * @public\n */\nclass TableHeaderRow extends TableRowBase {\n\t/**\n\t * Defines the cells of the component.\n\t *\n\t * **Note:** Use `ui5-table-header-cell` for the intended design.\n\t *\n\t * @public\n\t */\n\t@slot({\n\t\ttype: HTMLElement,\n\t\t\"default\": true,\n\t\tinvalidateOnChildChange: {\n\t\t\tproperties: [\"width\", \"_popin\", \"horizontalAlign\"],\n\t\t\tslots: false,\n\t\t},\n\t\tindividualSlots: true,\n\t})\n\tcells!: Array<TableHeaderCell>;\n\n\t/**\n\t * Sticks the `ui5-table-header-row` to the top of a table.\n\t *\n\t * Note: If used in combination with overflowMode \"Scroll\", the table needs a defined height for the sticky header to work as expected.\n\t *\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tsticky = false;\n\n\tonEnterDOM(): void {\n\t\tsuper.onEnterDOM();\n\t\tthis.setAttribute(\"aria-roledescription\", TableRowBase.i18nBundle.getText(TABLE_COLUMN_HEADER_ROW));\n\t}\n\n\tonBeforeRendering() {\n\t\tsuper.onBeforeRendering();\n\t\tif (this._table) {\n\t\t\tthis.style.top = this._table.stickyTop;\n\t\t}\n\t}\n\n\tisHeaderRow(): boolean {\n\t\treturn true;\n\t}\n\n\tget _hasRowActions() {\n\t\treturn this._table ? this._table._hasRowActions : false;\n\t}\n\n\tget _isSelectable() {\n\t\treturn this._isMultiSelect;\n\t}\n\n\tget _isSelected() {\n\t\treturn this._tableSelection?.areAllRowsSelected();\n\t}\n\n\tget _i18nSelection() {\n\t\treturn TableRowBase.i18nBundle.getText(TABLE_SELECTION);\n\t}\n\n\tget _i18nRowPopin() {\n\t\treturn TableRowBase.i18nBundle.getText(TABLE_ROW_POPIN);\n\t}\n\tget _i18nRowActions() {\n\t\treturn TableRowBase.i18nBundle.getText(TABLE_ROW_ACTIONS);\n\t}\n}\n\nTableHeaderRow.define();\n\nex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QACjB,OAAO,YAAY,CAAC,UAAU,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;IACzD,CAAC;IAED,IAAI,aAAa;QAChB,OAAO,YAAY,CAAC,UAAU,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;IACzD,CAAC;IACD,IAAI,eAAe;QAClB,OAAO,YAAY,CAAC,UAAU,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAC3D,CAAC;CACD,CAAA;AA/CA;IATC,IAAI,CAAC;QACL,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,IAAI;QACf,uBAAuB,EAAE;YACxB,UAAU,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,iBAAiB,EAAE,aAAa,CAAC;YACjE,KAAK,EAAE,KAAK;SACZ;QACD,eAAe,EAAE,IAAI;KACrB,CAAC;6CAC6B;AAW/B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;8CACb;AA5BV,cAAc;IAdnB,aAAa,CAAC;QACd,GAAG,EAAE,sBAAsB;QAC3B,aAAa,EAAE,IAAI;QACnB,MAAM,EAAE,CAAC,YAAY,CAAC,MAAM,EAAE,oBAAoB,CAAC;QACnD,QAAQ,EAAE,sBAAsB;QAChC,YAAY,EAAE,CAAC,GAAG,YAAY,CAAC,YAAY,EAAE,eAAe,CAAC;KAC7D,CAAC;IAEF;;;;;OAKG;GACG,cAAc,CAgEnB;AAED,cAAc,CAAC,MAAM,EAAE,CAAC;AAExB,eAAe,cAAc,CAAC","sourcesContent":["import { customElement, slot, property } from \"@ui5/webcomponents-base/dist/decorators.js\";\nimport TableRowBase from \"./TableRowBase.js\";\nimport TableHeaderRowTemplate from \"./generated/templates/TableHeaderRowTemplate.lit.js\";\nimport TableHeaderRowStyles from \"./generated/themes/TableHeaderRow.css.js\";\nimport TableHeaderCell from \"./TableHeaderCell.js\";\nimport {\n\tTABLE_SELECTION,\n\tTABLE_ROW_POPIN,\n\tTABLE_ROW_ACTIONS,\n\tTABLE_COLUMN_HEADER_ROW,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n/**\n * @class\n *\n * ### Overview\n *\n * The `ui5-table-header-row` component represents the table headers of a `ui5-table`.\n *\n * It is tightly coupled to the `ui5-table` and should therefore be used in the `ui5-table` only.\n * The header row is placed in the `headerRow` slot of the table.\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents/dist/TableHeaderRow.js\";`\n *\n * @constructor\n * @extends TableRowBase\n * @since 2.0.0\n * @public\n * @experimental This web component is available since 2.0 with an experimental flag and its API and behavior are subject to change.\n */\n@customElement({\n\ttag: \"ui5-table-header-row\",\n\tlanguageAware: true,\n\tstyles: [TableRowBase.styles, TableHeaderRowStyles],\n\ttemplate: TableHeaderRowTemplate,\n\tdependencies: [...TableRowBase.dependencies, TableHeaderCell],\n})\n\n/**\n * Example custom event.\n * Please keep in mind that all public events should be documented in the API Reference as shown below.\n *\n * @public\n */\nclass TableHeaderRow extends TableRowBase {\n\t/**\n\t * Defines the cells of the component.\n\t *\n\t * **Note:** Use `ui5-table-header-cell` for the intended design.\n\t *\n\t * @public\n\t */\n\t@slot({\n\t\ttype: HTMLElement,\n\t\t\"default\": true,\n\t\tinvalidateOnChildChange: {\n\t\t\tproperties: [\"width\", \"_popin\", \"horizontalAlign\", \"popinHidden\"],\n\t\t\tslots: false,\n\t\t},\n\t\tindividualSlots: true,\n\t})\n\tcells!: Array<TableHeaderCell>;\n\n\t/**\n\t * Sticks the `ui5-table-header-row` to the top of a table.\n\t *\n\t * Note: If used in combination with overflowMode \"Scroll\", the table needs a defined height for the sticky header to work as expected.\n\t *\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tsticky = false;\n\n\tonEnterDOM(): void {\n\t\tsuper.onEnterDOM();\n\t\tthis.setAttribute(\"aria-roledescription\", TableRowBase.i18nBundle.getText(TABLE_COLUMN_HEADER_ROW));\n\t}\n\n\tonBeforeRendering() {\n\t\tsuper.onBeforeRendering();\n\t\tif (this._table) {\n\t\t\tthis.style.top = this._table.stickyTop;\n\t\t}\n\t}\n\n\tisHeaderRow(): boolean {\n\t\treturn true;\n\t}\n\n\tget _hasRowActions() {\n\t\treturn this._table ? this._table._hasRowActions : false;\n\t}\n\n\tget _isSelectable() {\n\t\treturn this._isMultiSelect;\n\t}\n\n\tget _i18nSelection() {\n\t\treturn TableRowBase.i18nBundle.getText(TABLE_SELECTION);\n\t}\n\n\tget _i18nRowPopin() {\n\t\treturn TableRowBase.i18nBundle.getText(TABLE_ROW_POPIN);\n\t}\n\tget _i18nRowActions() {\n\t\treturn TableRowBase.i18nBundle.getText(TABLE_ROW_ACTIONS);\n\t}\n}\n\nTableHeaderRow.define();\n\nexport default TableHeaderRow;\n"]}
@@ -40,12 +40,14 @@ declare class TableRow extends TableRowBase {
40
40
  /**
41
41
  * Unique identifier of the row.
42
42
  *
43
- * @default ""
43
+ * **Note:** For selection features to work properly, this property is mandatory, and its value must not contain spaces.
44
+ *
45
+ * @default undefined
44
46
  * @public
45
47
  */
46
- rowKey: string;
48
+ rowKey?: string;
47
49
  /**
48
- * Defines the position of the row respect to the total number of rows within the table when the `ui5-table-virtualizer` feature is used.
50
+ * Defines the position of the row related to the total number of rows within the table when the `ui5-table-virtualizer` feature is used.
49
51
  *
50
52
  * @default -1
51
53
  * @since 2.5.0
package/dist/TableRow.js CHANGED
@@ -37,14 +37,7 @@ let TableRow = class TableRow extends TableRowBase {
37
37
  constructor() {
38
38
  super(...arguments);
39
39
  /**
40
- * Unique identifier of the row.
41
- *
42
- * @default ""
43
- * @public
44
- */
45
- this.rowKey = "";
46
- /**
47
- * Defines the position of the row respect to the total number of rows within the table when the `ui5-table-virtualizer` feature is used.
40
+ * Defines the position of the row related to the total number of rows within the table when the `ui5-table-virtualizer` feature is used.
48
41
  *
49
42
  * @default -1
50
43
  * @since 2.5.0
@@ -181,7 +174,7 @@ __decorate([
181
174
  "default": true,
182
175
  individualSlots: true,
183
176
  invalidateOnChildChange: {
184
- properties: ["_popin"],
177
+ properties: ["_popin", "_popinHidden"],
185
178
  slots: false,
186
179
  },
187
180
  })
@@ -1 +1 @@
1
- {"version":3,"file":"TableRow.js","sourceRoot":"","sources":["../src/TableRow.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC;AAC/D,OAAO,gBAAgB,MAAM,uDAAuD,CAAC;AACrF,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,WAAW,MAAM,kBAAkB,CAAC;AAC3C,OAAO,gBAAgB,MAAM,+CAA+C,CAAC;AAC7E,OAAO,YAAY,MAAM,mBAAmB,CAAC;AAC7C,OAAO,WAAW,MAAM,oCAAoC,CAAC;AAC7D,OAAO,SAAS,MAAM,gBAAgB,CAAC;AAEvC,OAAO,2CAA2C,CAAC;AAEnD;;;;;;;;;;;;;;;;GAgBG;AAOH,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,YAAY;IAAnC;;QAiCC;;;;;WAKG;QAEH,WAAM,GAAG,EAAE,CAAC;QAEZ;;;;;;WAMM;QAEN,aAAQ,GAAG,CAAC,CAAC,CAAC;QAEd;;;;;WAKG;QAEH,gBAAW,GAAG,KAAK,CAAC;QAEpB;;;;;WAKG;QAEH,cAAS,GAAG,KAAK,CAAC;QAElB;;;;;;WAMG;QAEH,YAAO,GAAG,KAAK,CAAC;QAGhB,qBAAgB,GAAG,KAAK,CAAC;IAoH1B,CAAC;IAlHA,iBAAiB;QAChB,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAC1B,IAAI,CAAC,eAAe,CAAC,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;QAC1D,IAAI,IAAI,CAAC,QAAQ,KAAK,CAAC,CAAC,EAAE,CAAC;YAC1B,IAAI,CAAC,YAAY,CAAC,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ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport { isEnter } from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport getActiveElement from \"@ui5/webcomponents-base/dist/util/getActiveElement.js\";\nimport Button from \"./Button.js\";\nimport RadioButton from \"./RadioButton.js\";\nimport TableRowTemplate from \"./generated/templates/TableRowTemplate.lit.js\";\nimport TableRowBase from \"./TableRowBase.js\";\nimport TableRowCss from \"./generated/themes/TableRow.css.js\";\nimport TableCell from \"./TableCell.js\";\nimport type TableRowActionBase from \"./TableRowActionBase.js\";\nimport \"@ui5/webcomponents-icons/dist/overflow.js\";\n\n/**\n * @class\n *\n * ### Overview\n *\n * The `ui5-table-row` component represents a row in the `ui5-table`.\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents/dist/TableRow.js\";`\n *\n * @constructor\n * @extends TableRowBase\n * @since 2.0.0\n * @public\n * @experimental This web component is available since 2.0 with an experimental flag and its API and behavior are subject to change.\n */\n@customElement({\n\ttag: \"ui5-table-row\",\n\tstyles: [TableRowBase.styles, TableRowCss],\n\ttemplate: TableRowTemplate,\n\tdependencies: [...TableRowBase.dependencies, RadioButton, TableCell, Button],\n})\nclass TableRow extends TableRowBase {\n\t/**\n\t * Defines the cells of the component.\n\t *\n\t * **Note:** Use `ui5-table-cell` for the intended design.\n\t *\n\t * @public\n\t */\n\t@slot({\n\t\ttype: HTMLElement,\n\t\t\"default\": true,\n\t\tindividualSlots: true,\n\t\tinvalidateOnChildChange: {\n\t\t\tproperties: [\"_popin\"],\n\t\t\tslots: false,\n\t\t},\n\t})\n\tcells!: Array<TableCell>;\n\n\t/**\n\t * Defines the actions of the component.\n\t *\n\t * **Note:** Use `ui5-table-row-action` or `ui5-table-row-action-navigation` for the intended design.\n\t *\n\t * @since 2.7.0\n\t * @public\n\t */\n\t@slot({\n\t\ttype: HTMLElement,\n\t\tindividualSlots: true,\n\t})\n\tactions!: Array<TableRowActionBase>;\n\n\t/**\n\t * Unique identifier of the row.\n\t *\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\trowKey = \"\";\n\n\t/**\n\t * Defines the position of the row respect to the total number of rows within the table when the `ui5-table-virtualizer` feature is used.\n\t *\n * @default -1\n\t * @since 2.5.0\n * @public\n */\n\t@property({ type: Number })\n\tposition = -1;\n\n\t/**\n\t * Defines the interactive state of the row.\n\t *\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tinteractive = false;\n\n\t/**\n\t * Defines the navigated state of the row.\n\t *\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tnavigated = false;\n\n\t/**\n\t * Defines whether the row is movable.\n\t *\n\t * @default false\n\t * @since 2.6.0\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tmovable = false;\n\n\t@property({ type: Boolean, noAttribute: true })\n\t_renderNavigated = false;\n\n\tonBeforeRendering() {\n\t\tsuper.onBeforeRendering();\n\t\tthis.toggleAttribute(\"_interactive\", this._isInteractive);\n\t\tif (this.position !== -1) {\n\t\t\tthis.setAttribute(\"aria-rowindex\", `${this.position + 1}`);\n\t\t}\n\t\tif (this._renderNavigated && this.navigated) {\n\t\t\tthis.setAttribute(\"aria-current\", \"true\");\n\t\t} else {\n\t\t\tthis.removeAttribute(\"aria-current\");\n\t\t}\n\t\tif (this.movable) {\n\t\t\tthis.setAttribute(\"draggable\", \"true\");\n\t\t} else {\n\t\t\tthis.removeAttribute(\"draggable\");\n\t\t}\n\t}\n\n\tasync focus(focusOptions?: FocusOptions | undefined): Promise<void> {\n\t\tthis.setAttribute(\"tabindex\", \"-1\");\n\t\tHTMLElement.prototype.focus.call(this, focusOptions);\n\t\treturn Promise.resolve();\n\t}\n\n\t_onkeydown(e: KeyboardEvent, eventOrigin: HTMLElement) {\n\t\tsuper._onkeydown(e, eventOrigin);\n\t\tif (e.defaultPrevented) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (eventOrigin === this && this._isInteractive && isEnter(e)) {\n\t\t\tthis.toggleAttribute(\"_active\", true);\n\t\t\tthis._table?._onRowClick(this);\n\t\t}\n\t}\n\n\t_onclick() {\n\t\tif (this._isInteractive && this === getActiveElement()) {\n\t\t\tthis._table?._onRowClick(this);\n\t\t}\n\t}\n\n\t_onkeyup() {\n\t\tthis.removeAttribute(\"_active\");\n\t}\n\n\t_onfocusout() {\n\t\tthis.removeAttribute(\"_active\");\n\t}\n\n\t_onOverflowButtonClick(e: PointerEvent) {\n\t\tconst ctor = this.actions[0].constructor as typeof TableRowActionBase;\n\t\tctor.showMenu(this._overflowActions, e.target as HTMLElement);\n\t}\n\n\tget _isInteractive() {\n\t\treturn this.interactive;\n\t}\n\n\tget _hasRowActions() {\n\t\treturn this._rowActionCount > 0 && this.actions.some(action => action.isFixedAction() || !action.invisible);\n\t}\n\n\tget _hasOverflowActions() {\n\t\tlet renderedActionsCount = 0;\n\t\treturn this.actions.some(action => {\n\t\t\tif (action.isFixedAction() || !action.invisible) {\n\t\t\t\trenderedActionsCount++;\n\t\t\t}\n\t\t\treturn renderedActionsCount > this._rowActionCount;\n\t\t});\n\t}\n\n\tget _flexibleActions() {\n\t\tconst flexibleActions = this.actions.filter(action => !action.isFixedAction());\n\t\tconst fixedActionsCount = this.actions.length - flexibleActions.length;\n\t\tlet maxFlexibleActionsCount = this._rowActionCount - fixedActionsCount;\n\t\tif (maxFlexibleActionsCount < 1) {\n\t\t\treturn []; // fixed actions occupy all the available space\n\t\t}\n\t\tif (flexibleActions.length <= maxFlexibleActionsCount) {\n\t\t\treturn flexibleActions; // all actions fit the available space\n\t\t}\n\n\t\tconst visibleFlexibleActions = flexibleActions.filter(action => !action.invisible);\n\t\tif (visibleFlexibleActions.length > maxFlexibleActionsCount) {\n\t\t\tmaxFlexibleActionsCount--;\t// preserve space for the overflow button\n\t\t}\n\n\t\treturn visibleFlexibleActions.slice(0, maxFlexibleActionsCount);\n\t}\n\n\tget _fixedActions() {\n\t\tlet maxFixedActionsCount = this._rowActionCount;\n\t\tif (this._hasOverflowActions) {\n\t\t\tmaxFixedActionsCount--;\n\t\t}\n\n\t\tconst fixedActions = this.actions.filter(action => action.isFixedAction());\n\t\treturn fixedActions.slice(0, maxFixedActionsCount);\n\t}\n\n\tget _overflowActions() {\n\t\tconst fixedActions = this._fixedActions;\n\t\tconst flexibleActions = this._flexibleActions;\n\t\tconst overflowActions: Array<TableRowActionBase> = [];\n\t\tthis.actions.forEach(action => {\n\t\t\tif (!action.invisible && !fixedActions.includes(action) && !flexibleActions.includes(action)) {\n\t\t\t\toverflowActions.push(action);\n\t\t\t}\n\t\t});\n\n\t\treturn overflowActions;\n\t}\n}\n\nTableRow.define();\n\nexport default TableRow;\n"]}
1
+ {"version":3,"file":"TableRow.js","sourceRoot":"","sources":["../src/TableRow.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC;AAC/D,OAAO,gBAAgB,MAAM,uDAAuD,CAAC;AACrF,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,WAAW,MAAM,kBAAkB,CAAC;AAC3C,OAAO,gBAAgB,MAAM,+CAA+C,CAAC;AAC7E,OAAO,YAAY,MAAM,mBAAmB,CAAC;AAC7C,OAAO,WAAW,MAAM,oCAAoC,CAAC;AAC7D,OAAO,SAAS,MAAM,gBAAgB,CAAC;AAEvC,OAAO,2CAA2C,CAAC;AAEnD;;;;;;;;;;;;;;;;GAgBG;AAOH,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,YAAY;IAAnC;;QA4CC;;;;;;WAMM;QAEN,aAAQ,GAAG,CAAC,CAAC,CAAC;QAEd;;;;;WAKG;QAEH,gBAAW,GAAG,KAAK,CAAC;QAEpB;;;;;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AAE,CAAC;kDACtB;AAnFpB,QAAQ;IANb,aAAa,CAAC;QACd,GAAG,EAAE,eAAe;QACpB,MAAM,EAAE,CAAC,YAAY,CAAC,MAAM,EAAE,WAAW,CAAC;QAC1C,QAAQ,EAAE,gBAAgB;QAC1B,YAAY,EAAE,CAAC,GAAG,YAAY,CAAC,YAAY,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,CAAC;KAC5E,CAAC;GACI,QAAQ,CAuMb;AAED,QAAQ,CAAC,MAAM,EAAE,CAAC;AAElB,eAAe,QAAQ,CAAC","sourcesContent":["import customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport { isEnter } from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport getActiveElement from \"@ui5/webcomponents-base/dist/util/getActiveElement.js\";\nimport Button from \"./Button.js\";\nimport RadioButton from \"./RadioButton.js\";\nimport TableRowTemplate from \"./generated/templates/TableRowTemplate.lit.js\";\nimport TableRowBase from \"./TableRowBase.js\";\nimport TableRowCss from \"./generated/themes/TableRow.css.js\";\nimport TableCell from \"./TableCell.js\";\nimport type TableRowActionBase from \"./TableRowActionBase.js\";\nimport \"@ui5/webcomponents-icons/dist/overflow.js\";\n\n/**\n * @class\n *\n * ### Overview\n *\n * The `ui5-table-row` component represents a row in the `ui5-table`.\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents/dist/TableRow.js\";`\n *\n * @constructor\n * @extends TableRowBase\n * @since 2.0.0\n * @public\n * @experimental This web component is available since 2.0 with an experimental flag and its API and behavior are subject to change.\n */\n@customElement({\n\ttag: \"ui5-table-row\",\n\tstyles: [TableRowBase.styles, TableRowCss],\n\ttemplate: TableRowTemplate,\n\tdependencies: [...TableRowBase.dependencies, RadioButton, TableCell, Button],\n})\nclass TableRow extends TableRowBase {\n\t/**\n\t * Defines the cells of the component.\n\t *\n\t * **Note:** Use `ui5-table-cell` for the intended design.\n\t *\n\t * @public\n\t */\n\t@slot({\n\t\ttype: HTMLElement,\n\t\t\"default\": true,\n\t\tindividualSlots: true,\n\t\tinvalidateOnChildChange: {\n\t\t\tproperties: [\"_popin\", \"_popinHidden\"],\n\t\t\tslots: false,\n\t\t},\n\t})\n\tcells!: Array<TableCell>;\n\n\t/**\n\t * Defines the actions of the component.\n\t *\n\t * **Note:** Use `ui5-table-row-action` or `ui5-table-row-action-navigation` for the intended design.\n\t *\n\t * @since 2.7.0\n\t * @public\n\t */\n\t@slot({\n\t\ttype: HTMLElement,\n\t\tindividualSlots: true,\n\t})\n\tactions!: Array<TableRowActionBase>;\n\n\t/**\n\t * Unique identifier of the row.\n\t *\n\t * **Note:** For selection features to work properly, this property is mandatory, and its value must not contain spaces.\n\t *\n\t * @default undefined\n\t * @public\n\t */\n\t@property()\n\trowKey?: string;\n\n\t/**\n\t * Defines the position of the row related to the total number of rows within the table when the `ui5-table-virtualizer` feature is used.\n\t *\n * @default -1\n\t * @since 2.5.0\n * @public\n */\n\t@property({ type: Number })\n\tposition = -1;\n\n\t/**\n\t * Defines the interactive state of the row.\n\t *\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tinteractive = false;\n\n\t/**\n\t * Defines the navigated state of the row.\n\t *\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tnavigated = false;\n\n\t/**\n\t * Defines whether the row is movable.\n\t *\n\t * @default false\n\t * @since 2.6.0\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tmovable = false;\n\n\t@property({ type: Boolean, noAttribute: true })\n\t_renderNavigated = false;\n\n\tonBeforeRendering() {\n\t\tsuper.onBeforeRendering();\n\t\tthis.toggleAttribute(\"_interactive\", this._isInteractive);\n\t\tif (this.position !== -1) {\n\t\t\tthis.setAttribute(\"aria-rowindex\", `${this.position + 1}`);\n\t\t}\n\t\tif (this._renderNavigated && this.navigated) {\n\t\t\tthis.setAttribute(\"aria-current\", \"true\");\n\t\t} else {\n\t\t\tthis.removeAttribute(\"aria-current\");\n\t\t}\n\t\tif (this.movable) {\n\t\t\tthis.setAttribute(\"draggable\", \"true\");\n\t\t} else {\n\t\t\tthis.removeAttribute(\"draggable\");\n\t\t}\n\t}\n\n\tasync focus(focusOptions?: FocusOptions | undefined): Promise<void> {\n\t\tthis.setAttribute(\"tabindex\", \"-1\");\n\t\tHTMLElement.prototype.focus.call(this, focusOptions);\n\t\treturn Promise.resolve();\n\t}\n\n\t_onkeydown(e: KeyboardEvent, eventOrigin: HTMLElement) {\n\t\tsuper._onkeydown(e, eventOrigin);\n\t\tif (e.defaultPrevented) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (eventOrigin === this && this._isInteractive && isEnter(e)) {\n\t\t\tthis.toggleAttribute(\"_active\", true);\n\t\t\tthis._table?._onRowClick(this);\n\t\t}\n\t}\n\n\t_onclick() {\n\t\tif (this._isInteractive && this === getActiveElement()) {\n\t\t\tthis._table?._onRowClick(this);\n\t\t}\n\t}\n\n\t_onkeyup() {\n\t\tthis.removeAttribute(\"_active\");\n\t}\n\n\t_onfocusout() {\n\t\tthis.removeAttribute(\"_active\");\n\t}\n\n\t_onOverflowButtonClick(e: PointerEvent) {\n\t\tconst ctor = this.actions[0].constructor as typeof TableRowActionBase;\n\t\tctor.showMenu(this._overflowActions, e.target as HTMLElement);\n\t}\n\n\tget _isInteractive() {\n\t\treturn this.interactive;\n\t}\n\n\tget _hasRowActions() {\n\t\treturn this._rowActionCount > 0 && this.actions.some(action => action.isFixedAction() || !action.invisible);\n\t}\n\n\tget _hasOverflowActions() {\n\t\tlet renderedActionsCount = 0;\n\t\treturn this.actions.some(action => {\n\t\t\tif (action.isFixedAction() || !action.invisible) {\n\t\t\t\trenderedActionsCount++;\n\t\t\t}\n\t\t\treturn renderedActionsCount > this._rowActionCount;\n\t\t});\n\t}\n\n\tget _flexibleActions() {\n\t\tconst flexibleActions = this.actions.filter(action => !action.isFixedAction());\n\t\tconst fixedActionsCount = this.actions.length - flexibleActions.length;\n\t\tlet maxFlexibleActionsCount = this._rowActionCount - fixedActionsCount;\n\t\tif (maxFlexibleActionsCount < 1) {\n\t\t\treturn []; // fixed actions occupy all the available space\n\t\t}\n\t\tif (flexibleActions.length <= maxFlexibleActionsCount) {\n\t\t\treturn flexibleActions; // all actions fit the available space\n\t\t}\n\n\t\tconst visibleFlexibleActions = flexibleActions.filter(action => !action.invisible);\n\t\tif (visibleFlexibleActions.length > maxFlexibleActionsCount) {\n\t\t\tmaxFlexibleActionsCount--;\t// preserve space for the overflow button\n\t\t}\n\n\t\treturn visibleFlexibleActions.slice(0, maxFlexibleActionsCount);\n\t}\n\n\tget _fixedActions() {\n\t\tlet maxFixedActionsCount = this._rowActionCount;\n\t\tif (this._hasOverflowActions) {\n\t\t\tmaxFixedActionsCount--;\n\t\t}\n\n\t\tconst fixedActions = this.actions.filter(action => action.isFixedAction());\n\t\treturn fixedActions.slice(0, maxFixedActionsCount);\n\t}\n\n\tget _overflowActions() {\n\t\tconst fixedActions = this._fixedActions;\n\t\tconst flexibleActions = this._flexibleActions;\n\t\tconst overflowActions: Array<TableRowActionBase> = [];\n\t\tthis.actions.forEach(action => {\n\t\t\tif (!action.invisible && !fixedActions.includes(action) && !flexibleActions.includes(action)) {\n\t\t\t\toverflowActions.push(action);\n\t\t\t}\n\t\t});\n\n\t\treturn overflowActions;\n\t}\n}\n\nTableRow.define();\n\nexport default TableRow;\n"]}
@@ -1,11 +1,20 @@
1
1
  import TableRowActionBase from "./TableRowActionBase.js";
2
2
  /**
3
3
  * @class
4
- * The `TableRowAction` class defines a row action for table rows.
4
+ *
5
+ * ### Overview
6
+ *
7
+ * The `ui5-table-row-action` component defines an action for table rows.
8
+ *
9
+ * ### ES6 Module Import
10
+ *
11
+ * `import "@ui5/webcomponents/dist/TableRowAction.js";`
12
+ *
5
13
  * @constructor
6
14
  * @extends TableRowActionBase
7
15
  * @since 2.7.0
8
16
  * @public
17
+ * @experimental
9
18
  */
10
19
  declare class TableRowAction extends TableRowActionBase {
11
20
  /**
@@ -29,13 +38,6 @@ declare class TableRowAction extends TableRowActionBase {
29
38
  * @public
30
39
  */
31
40
  text: string;
32
- /**
33
- * Defines the disabled state of the row action.
34
- *
35
- * @default false
36
- * @public
37
- */
38
- disabled: boolean;
39
41
  getRenderInfo(): {
40
42
  text: string;
41
43
  icon: string;
@@ -9,11 +9,20 @@ import property from "@ui5/webcomponents-base/dist/decorators/property.js";
9
9
  import TableRowActionBase from "./TableRowActionBase.js";
10
10
  /**
11
11
  * @class
12
- * The `TableRowAction` class defines a row action for table rows.
12
+ *
13
+ * ### Overview
14
+ *
15
+ * The `ui5-table-row-action` component defines an action for table rows.
16
+ *
17
+ * ### ES6 Module Import
18
+ *
19
+ * `import "@ui5/webcomponents/dist/TableRowAction.js";`
20
+ *
13
21
  * @constructor
14
22
  * @extends TableRowActionBase
15
23
  * @since 2.7.0
16
24
  * @public
25
+ * @experimental
17
26
  */
18
27
  let TableRowAction = class TableRowAction extends TableRowActionBase {
19
28
  constructor() {
@@ -39,13 +48,6 @@ let TableRowAction = class TableRowAction extends TableRowActionBase {
39
48
  * @public
40
49
  */
41
50
  this.text = "";
42
- /**
43
- * Defines the disabled state of the row action.
44
- *
45
- * @default false
46
- * @public
47
- */
48
- this.disabled = false;
49
51
  }
50
52
  getRenderInfo() {
51
53
  return {
@@ -61,9 +63,6 @@ __decorate([
61
63
  __decorate([
62
64
  property()
63
65
  ], TableRowAction.prototype, "text", void 0);
64
- __decorate([
65
- property({ type: Boolean })
66
- ], TableRowAction.prototype, "disabled", void 0);
67
66
  TableRowAction = __decorate([
68
67
  customElement({ tag: "ui5-table-row-action" })
69
68
  ], TableRowAction);
@@ -1 +1 @@
1
- {"version":3,"file":"TableRowAction.js","sourceRoot":"","sources":["../src/TableRowAction.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,kBAAkB,MAAM,yBAAyB,CAAC;AAEzD;;;;;;;GAOG;AAGH,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,kBAAkB;IAA/C;;QACC;;;;;;;;;;WAUG;QAEH,SAAI,GAAG,EAAE,CAAC;QAEV;;;;;;;WAOG;QAEH,SAAI,GAAG,EAAE,CAAC;QAEV;;;;;WAKG;QAEH,aAAQ,GAAG,KAAK,CAAC;IASlB,CAAC;IAPA,aAAa;QACZ,OAAO;YACN,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,WAAW,EAAE,IAAI;SACjB,CAAC;IACH,CAAC;CACD,CAAA;AA7BA;IADC,QAAQ,EAAE;4CACD;AAWV;IADC,QAAQ,EAAE;4CACD;AASV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;gDACX;AAjCZ,cAAc;IAFnB,aAAa,CAAC,EAAE,GAAG,EAAE,sBAAsB,EAAE,CAAC;GAEzC,cAAc,CA0CnB;AAED,cAAc,CAAC,MAAM,EAAE,CAAC;AAExB,eAAe,cAAc,CAAC","sourcesContent":["import customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport TableRowActionBase from \"./TableRowActionBase.js\";\n\n/**\n * @class\n * The `TableRowAction` class defines a row action for table rows.\n * @constructor\n * @extends TableRowActionBase\n * @since 2.7.0\n * @public\n */\n@customElement({ tag: \"ui5-table-row-action\" })\n\nclass TableRowAction extends TableRowActionBase {\n\t/**\n\t * Defines the icon of the row action.\n\t *\n\t * **Note:** For row actions to work properly, this property is mandatory.\n\t *\n\t * **Note:** SAP-icons font provides numerous built-in icons. To find all the available icons, see the\n\t * [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).\n\t *\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\ticon = \"\";\n\n\t/**\n\t * Defines the text of the row action.\n\t *\n\t * **Note:** For row actions to work properly, this property is mandatory.\n\t *\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\ttext = \"\";\n\n\t/**\n\t * Defines the disabled state of the row action.\n\t *\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tdisabled = false;\n\n\tgetRenderInfo() {\n\t\treturn {\n\t\t\ttext: this.text,\n\t\t\ticon: this.icon,\n\t\t\tinteractive: true,\n\t\t};\n\t}\n}\n\nTableRowAction.define();\n\nexport default TableRowAction;\n"]}
1
+ {"version":3,"file":"TableRowAction.js","sourceRoot":"","sources":["../src/TableRowAction.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,kBAAkB,MAAM,yBAAyB,CAAC;AAEzD;;;;;;;;;;;;;;;;GAgBG;AAGH,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,kBAAkB;IAA/C;;QACC;;;;;;;;;;WAUG;QAEH,SAAI,GAAG,EAAE,CAAC;QAEV;;;;;;;WAOG;QAEH,SAAI,GAAG,EAAE,CAAC;IASX,CAAC;IAPA,aAAa;QACZ,OAAO;YACN,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,WAAW,EAAE,IAAI;SACjB,CAAC;IACH,CAAC;CACD,CAAA;AApBA;IADC,QAAQ,EAAE;4CACD;AAWV;IADC,QAAQ,EAAE;4CACD;AAxBL,cAAc;IAFnB,aAAa,CAAC,EAAE,GAAG,EAAE,sBAAsB,EAAE,CAAC;GAEzC,cAAc,CAiCnB;AAED,cAAc,CAAC,MAAM,EAAE,CAAC;AAExB,eAAe,cAAc,CAAC","sourcesContent":["import customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport TableRowActionBase from \"./TableRowActionBase.js\";\n\n/**\n * @class\n *\n * ### Overview\n *\n * The `ui5-table-row-action` component defines an action for table rows.\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents/dist/TableRowAction.js\";`\n *\n * @constructor\n * @extends TableRowActionBase\n * @since 2.7.0\n * @public\n * @experimental\n */\n@customElement({ tag: \"ui5-table-row-action\" })\n\nclass TableRowAction extends TableRowActionBase {\n\t/**\n\t * Defines the icon of the row action.\n\t *\n\t * **Note:** For row actions to work properly, this property is mandatory.\n\t *\n\t * **Note:** SAP-icons font provides numerous built-in icons. To find all the available icons, see the\n\t * [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).\n\t *\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\ticon = \"\";\n\n\t/**\n\t * Defines the text of the row action.\n\t *\n\t * **Note:** For row actions to work properly, this property is mandatory.\n\t *\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\ttext = \"\";\n\n\tgetRenderInfo() {\n\t\treturn {\n\t\t\ttext: this.text,\n\t\t\ticon: this.icon,\n\t\t\tinteractive: true,\n\t\t};\n\t}\n}\n\nTableRowAction.define();\n\nexport default TableRowAction;\n"]}