@ui5/webcomponents 2.8.0-rc.3 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (562) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/cypress/specs/AvatarGroup.cy.tsx +36 -0
  3. package/cypress/specs/Link.cy.tsx +199 -14
  4. package/cypress/specs/Popover.cy.tsx +25 -0
  5. package/cypress/specs/TabContainer.cy.tsx +29 -0
  6. package/cypress/specs/Table.cy.tsx +2 -2
  7. package/cypress/specs/TableDragAndDrop.cy.tsx +1 -1
  8. package/cypress/specs/Toolbar.cy.tsx +22 -0
  9. package/dist/.tsbuildinfo +1 -1
  10. package/dist/AvatarGroup.js +1 -0
  11. package/dist/AvatarGroup.js.map +1 -1
  12. package/dist/ColorPicker.d.ts +4 -1
  13. package/dist/ColorPicker.js +1 -1
  14. package/dist/ColorPicker.js.map +1 -1
  15. package/dist/TabContainer.d.ts +11 -0
  16. package/dist/TabContainer.js +18 -4
  17. package/dist/TabContainer.js.map +1 -1
  18. package/dist/TabContainerTemplate.js +1 -0
  19. package/dist/TabContainerTemplate.js.map +1 -1
  20. package/dist/Table.d.ts +6 -6
  21. package/dist/Table.js +7 -22
  22. package/dist/Table.js.map +1 -1
  23. package/dist/TableCell.d.ts +1 -0
  24. package/dist/TableCell.js +8 -1
  25. package/dist/TableCell.js.map +1 -1
  26. package/dist/TableCellBase.js +2 -2
  27. package/dist/TableCellBase.js.map +1 -1
  28. package/dist/TableCellTemplate.d.ts +2 -0
  29. package/dist/TableCellTemplate.js +6 -0
  30. package/dist/TableCellTemplate.js.map +1 -0
  31. package/dist/TableGrowing.js +4 -4
  32. package/dist/TableGrowing.js.map +1 -1
  33. package/dist/TableGrowingTemplate.d.ts +2 -0
  34. package/dist/TableGrowingTemplate.js +6 -0
  35. package/dist/TableGrowingTemplate.js.map +1 -0
  36. package/dist/TableHeaderCell.d.ts +0 -3
  37. package/dist/TableHeaderCell.js +1 -10
  38. package/dist/TableHeaderCell.js.map +1 -1
  39. package/dist/TableHeaderCellActionBase.js +5 -6
  40. package/dist/TableHeaderCellActionBase.js.map +1 -1
  41. package/dist/TableHeaderCellActionBaseTemplate.d.ts +2 -0
  42. package/dist/TableHeaderCellActionBaseTemplate.js +6 -0
  43. package/dist/TableHeaderCellActionBaseTemplate.js.map +1 -0
  44. package/dist/TableHeaderCellTemplate.d.ts +2 -0
  45. package/dist/TableHeaderCellTemplate.js +19 -0
  46. package/dist/TableHeaderCellTemplate.js.map +1 -0
  47. package/dist/TableHeaderRow.d.ts +2 -2
  48. package/dist/TableHeaderRow.js +1 -3
  49. package/dist/TableHeaderRow.js.map +1 -1
  50. package/dist/TableHeaderRowTemplate.d.ts +2 -0
  51. package/dist/TableHeaderRowTemplate.js +11 -0
  52. package/dist/TableHeaderRowTemplate.js.map +1 -0
  53. package/dist/TableNavigation.js +3 -3
  54. package/dist/TableNavigation.js.map +1 -1
  55. package/dist/TableRow.d.ts +2 -2
  56. package/dist/TableRow.js +3 -6
  57. package/dist/TableRow.js.map +1 -1
  58. package/dist/TableRowActionBase.js +3 -6
  59. package/dist/TableRowActionBase.js.map +1 -1
  60. package/dist/TableRowActionBaseTemplate.d.ts +2 -0
  61. package/dist/TableRowActionBaseTemplate.js +13 -0
  62. package/dist/TableRowActionBaseTemplate.js.map +1 -0
  63. package/dist/TableRowBase.d.ts +2 -2
  64. package/dist/TableRowBase.js +4 -6
  65. package/dist/TableRowBase.js.map +1 -1
  66. package/dist/TableRowTemplate.d.ts +2 -0
  67. package/dist/TableRowTemplate.js +17 -0
  68. package/dist/TableRowTemplate.js.map +1 -0
  69. package/dist/TableTemplate.d.ts +2 -0
  70. package/dist/TableTemplate.js +18 -0
  71. package/dist/TableTemplate.js.map +1 -0
  72. package/dist/TableUtils.js +1 -1
  73. package/dist/TableUtils.js.map +1 -1
  74. package/dist/Toolbar.d.ts +3 -0
  75. package/dist/Toolbar.js +4 -1
  76. package/dist/Toolbar.js.map +1 -1
  77. package/dist/ToolbarPopoverTemplate.js +1 -1
  78. package/dist/ToolbarPopoverTemplate.js.map +1 -1
  79. package/dist/css/themes/Avatar.css +1 -1
  80. package/dist/css/themes/AvatarGroup.css +1 -1
  81. package/dist/css/themes/Bar.css +1 -1
  82. package/dist/css/themes/Breadcrumbs.css +1 -1
  83. package/dist/css/themes/BusyIndicator.css +1 -1
  84. package/dist/css/themes/Button.css +1 -1
  85. package/dist/css/themes/ButtonBadge.css +1 -1
  86. package/dist/css/themes/Calendar.css +1 -1
  87. package/dist/css/themes/CalendarHeader.css +1 -1
  88. package/dist/css/themes/CalendarLegend.css +1 -1
  89. package/dist/css/themes/CalendarLegendItem.css +1 -1
  90. package/dist/css/themes/Card.css +1 -1
  91. package/dist/css/themes/CardHeader.css +1 -1
  92. package/dist/css/themes/Carousel.css +1 -1
  93. package/dist/css/themes/CheckBox.css +1 -1
  94. package/dist/css/themes/ColorPalette.css +1 -1
  95. package/dist/css/themes/ColorPaletteItem.css +1 -1
  96. package/dist/css/themes/ColorPalettePopover.css +1 -1
  97. package/dist/css/themes/ColorPicker.css +1 -1
  98. package/dist/css/themes/ComboBox.css +1 -1
  99. package/dist/css/themes/ComboBoxItem.css +1 -1
  100. package/dist/css/themes/DatePicker.css +1 -1
  101. package/dist/css/themes/DateTimePickerPopover.css +1 -1
  102. package/dist/css/themes/DayPicker.css +1 -1
  103. package/dist/css/themes/Dialog.css +1 -1
  104. package/dist/css/themes/FileUploader.css +1 -1
  105. package/dist/css/themes/Form.css +1 -1
  106. package/dist/css/themes/FormItem.css +1 -1
  107. package/dist/css/themes/FormItemSpan.css +1 -1
  108. package/dist/css/themes/GrowingButton.css +1 -1
  109. package/dist/css/themes/Icon.css +1 -1
  110. package/dist/css/themes/Input.css +1 -1
  111. package/dist/css/themes/InputIcon.css +1 -1
  112. package/dist/css/themes/InputSharedStyles.css +1 -1
  113. package/dist/css/themes/Link.css +1 -1
  114. package/dist/css/themes/List.css +1 -1
  115. package/dist/css/themes/ListItem.css +1 -1
  116. package/dist/css/themes/ListItemBase.css +1 -1
  117. package/dist/css/themes/ListItemCustom.css +1 -1
  118. package/dist/css/themes/ListItemGroup.css +1 -1
  119. package/dist/css/themes/ListItemGroupHeader.css +1 -1
  120. package/dist/css/themes/ListItemIcon.css +1 -1
  121. package/dist/css/themes/Menu.css +1 -1
  122. package/dist/css/themes/MenuItem.css +1 -1
  123. package/dist/css/themes/MessageStrip.css +1 -1
  124. package/dist/css/themes/MonthPicker.css +1 -1
  125. package/dist/css/themes/MultiComboBox.css +1 -1
  126. package/dist/css/themes/MultiComboBoxItem.css +1 -1
  127. package/dist/css/themes/MultiComboBoxPopover.css +1 -1
  128. package/dist/css/themes/MultiInput.css +1 -1
  129. package/dist/css/themes/OptionBase.css +1 -1
  130. package/dist/css/themes/Panel.css +1 -1
  131. package/dist/css/themes/Popover.css +1 -1
  132. package/dist/css/themes/PopupsCommon.css +1 -1
  133. package/dist/css/themes/ProgressIndicator.css +1 -1
  134. package/dist/css/themes/RadioButton.css +1 -1
  135. package/dist/css/themes/RangeSlider.css +1 -1
  136. package/dist/css/themes/RatingIndicator.css +1 -1
  137. package/dist/css/themes/ResponsivePopover.css +1 -1
  138. package/dist/css/themes/ResponsivePopoverCommon.css +1 -1
  139. package/dist/css/themes/SegmentedButton.css +1 -1
  140. package/dist/css/themes/SegmentedButtonItem.css +1 -1
  141. package/dist/css/themes/Select.css +1 -1
  142. package/dist/css/themes/SliderBase.css +1 -1
  143. package/dist/css/themes/SplitButton.css +1 -1
  144. package/dist/css/themes/StepInput.css +1 -1
  145. package/dist/css/themes/SuggestionItem.css +1 -1
  146. package/dist/css/themes/SuggestionItemCustom.css +1 -1
  147. package/dist/css/themes/Switch.css +1 -1
  148. package/dist/css/themes/TabContainer.css +1 -1
  149. package/dist/css/themes/TabInOverflow.css +1 -1
  150. package/dist/css/themes/TabInStrip.css +1 -1
  151. package/dist/css/themes/TabSemanticIcon.css +1 -1
  152. package/dist/css/themes/TabSeparatorInOverflow.css +1 -1
  153. package/dist/css/themes/Table.css +1 -1
  154. package/dist/css/themes/TableCell.css +1 -1
  155. package/dist/css/themes/TableCellBase.css +1 -1
  156. package/dist/css/themes/TableGrowing.css +1 -1
  157. package/dist/css/themes/TableHeaderRow.css +1 -1
  158. package/dist/css/themes/TableRow.css +1 -1
  159. package/dist/css/themes/TableRowActionBase.css +1 -1
  160. package/dist/css/themes/TableRowBase.css +1 -1
  161. package/dist/css/themes/Tag.css +1 -1
  162. package/dist/css/themes/Text.css +1 -1
  163. package/dist/css/themes/TextArea.css +1 -1
  164. package/dist/css/themes/TimePicker.css +1 -1
  165. package/dist/css/themes/Toast.css +1 -1
  166. package/dist/css/themes/ToggleButton.css +1 -1
  167. package/dist/css/themes/Token.css +1 -1
  168. package/dist/css/themes/Tokenizer.css +1 -1
  169. package/dist/css/themes/TokenizerPopover.css +1 -1
  170. package/dist/css/themes/Toolbar.css +1 -1
  171. package/dist/css/themes/ToolbarPopover.css +1 -1
  172. package/dist/css/themes/TreeItem.css +1 -1
  173. package/dist/css/themes/ValueStateMessage.css +1 -1
  174. package/dist/css/themes/YearPicker.css +1 -1
  175. package/dist/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
  176. package/dist/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
  177. package/dist/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
  178. package/dist/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
  179. package/dist/css/themes/sap_horizon/parameters-bundle.css +1 -1
  180. package/dist/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
  181. package/dist/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
  182. package/dist/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
  183. package/dist/custom-elements-internal.json +20 -0
  184. package/dist/custom-elements.json +19 -0
  185. package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -1
  186. package/dist/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json +1 -1
  187. package/dist/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json +1 -1
  188. package/dist/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json +1 -1
  189. package/dist/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json +1 -1
  190. package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -1
  191. package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -1
  192. package/dist/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json +1 -1
  193. package/dist/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json +1 -1
  194. package/dist/generated/i18n/i18n-defaults.d.ts +2 -1
  195. package/dist/generated/i18n/i18n-defaults.js +2 -1
  196. package/dist/generated/i18n/i18n-defaults.js.map +1 -1
  197. package/dist/generated/themes/Avatar.css.d.ts +1 -1
  198. package/dist/generated/themes/Avatar.css.js +1 -1
  199. package/dist/generated/themes/Avatar.css.js.map +1 -1
  200. package/dist/generated/themes/AvatarGroup.css.d.ts +1 -1
  201. package/dist/generated/themes/AvatarGroup.css.js +1 -1
  202. package/dist/generated/themes/AvatarGroup.css.js.map +1 -1
  203. package/dist/generated/themes/Bar.css.d.ts +1 -1
  204. package/dist/generated/themes/Bar.css.js +1 -1
  205. package/dist/generated/themes/Bar.css.js.map +1 -1
  206. package/dist/generated/themes/Breadcrumbs.css.d.ts +1 -1
  207. package/dist/generated/themes/Breadcrumbs.css.js +1 -1
  208. package/dist/generated/themes/Breadcrumbs.css.js.map +1 -1
  209. package/dist/generated/themes/BusyIndicator.css.d.ts +1 -1
  210. package/dist/generated/themes/BusyIndicator.css.js +1 -1
  211. package/dist/generated/themes/BusyIndicator.css.js.map +1 -1
  212. package/dist/generated/themes/Button.css.d.ts +1 -1
  213. package/dist/generated/themes/Button.css.js +1 -1
  214. package/dist/generated/themes/Button.css.js.map +1 -1
  215. package/dist/generated/themes/ButtonBadge.css.d.ts +1 -1
  216. package/dist/generated/themes/ButtonBadge.css.js +1 -1
  217. package/dist/generated/themes/ButtonBadge.css.js.map +1 -1
  218. package/dist/generated/themes/Calendar.css.d.ts +1 -1
  219. package/dist/generated/themes/Calendar.css.js +1 -1
  220. package/dist/generated/themes/Calendar.css.js.map +1 -1
  221. package/dist/generated/themes/CalendarHeader.css.d.ts +1 -1
  222. package/dist/generated/themes/CalendarHeader.css.js +1 -1
  223. package/dist/generated/themes/CalendarHeader.css.js.map +1 -1
  224. package/dist/generated/themes/CalendarLegend.css.d.ts +1 -1
  225. package/dist/generated/themes/CalendarLegend.css.js +1 -1
  226. package/dist/generated/themes/CalendarLegend.css.js.map +1 -1
  227. package/dist/generated/themes/CalendarLegendItem.css.d.ts +1 -1
  228. package/dist/generated/themes/CalendarLegendItem.css.js +1 -1
  229. package/dist/generated/themes/CalendarLegendItem.css.js.map +1 -1
  230. package/dist/generated/themes/Card.css.d.ts +1 -1
  231. package/dist/generated/themes/Card.css.js +1 -1
  232. package/dist/generated/themes/Card.css.js.map +1 -1
  233. package/dist/generated/themes/CardHeader.css.d.ts +1 -1
  234. package/dist/generated/themes/CardHeader.css.js +1 -1
  235. package/dist/generated/themes/CardHeader.css.js.map +1 -1
  236. package/dist/generated/themes/Carousel.css.d.ts +1 -1
  237. package/dist/generated/themes/Carousel.css.js +1 -1
  238. package/dist/generated/themes/Carousel.css.js.map +1 -1
  239. package/dist/generated/themes/CheckBox.css.d.ts +1 -1
  240. package/dist/generated/themes/CheckBox.css.js +1 -1
  241. package/dist/generated/themes/CheckBox.css.js.map +1 -1
  242. package/dist/generated/themes/ColorPalette.css.d.ts +1 -1
  243. package/dist/generated/themes/ColorPalette.css.js +1 -1
  244. package/dist/generated/themes/ColorPalette.css.js.map +1 -1
  245. package/dist/generated/themes/ColorPaletteItem.css.d.ts +1 -1
  246. package/dist/generated/themes/ColorPaletteItem.css.js +1 -1
  247. package/dist/generated/themes/ColorPaletteItem.css.js.map +1 -1
  248. package/dist/generated/themes/ColorPalettePopover.css.d.ts +1 -1
  249. package/dist/generated/themes/ColorPalettePopover.css.js +1 -1
  250. package/dist/generated/themes/ColorPalettePopover.css.js.map +1 -1
  251. package/dist/generated/themes/ColorPicker.css.d.ts +1 -1
  252. package/dist/generated/themes/ColorPicker.css.js +1 -1
  253. package/dist/generated/themes/ColorPicker.css.js.map +1 -1
  254. package/dist/generated/themes/ComboBox.css.d.ts +1 -1
  255. package/dist/generated/themes/ComboBox.css.js +1 -1
  256. package/dist/generated/themes/ComboBox.css.js.map +1 -1
  257. package/dist/generated/themes/ComboBoxItem.css.d.ts +1 -1
  258. package/dist/generated/themes/ComboBoxItem.css.js +1 -1
  259. package/dist/generated/themes/ComboBoxItem.css.js.map +1 -1
  260. package/dist/generated/themes/DatePicker.css.d.ts +1 -1
  261. package/dist/generated/themes/DatePicker.css.js +1 -1
  262. package/dist/generated/themes/DatePicker.css.js.map +1 -1
  263. package/dist/generated/themes/DateTimePickerPopover.css.d.ts +1 -1
  264. package/dist/generated/themes/DateTimePickerPopover.css.js +1 -1
  265. package/dist/generated/themes/DateTimePickerPopover.css.js.map +1 -1
  266. package/dist/generated/themes/DayPicker.css.d.ts +1 -1
  267. package/dist/generated/themes/DayPicker.css.js +1 -1
  268. package/dist/generated/themes/DayPicker.css.js.map +1 -1
  269. package/dist/generated/themes/Dialog.css.d.ts +1 -1
  270. package/dist/generated/themes/Dialog.css.js +1 -1
  271. package/dist/generated/themes/Dialog.css.js.map +1 -1
  272. package/dist/generated/themes/FileUploader.css.d.ts +1 -1
  273. package/dist/generated/themes/FileUploader.css.js +1 -1
  274. package/dist/generated/themes/FileUploader.css.js.map +1 -1
  275. package/dist/generated/themes/Form.css.d.ts +1 -1
  276. package/dist/generated/themes/Form.css.js +1 -1
  277. package/dist/generated/themes/Form.css.js.map +1 -1
  278. package/dist/generated/themes/FormItem.css.d.ts +1 -1
  279. package/dist/generated/themes/FormItem.css.js +1 -1
  280. package/dist/generated/themes/FormItem.css.js.map +1 -1
  281. package/dist/generated/themes/FormItemSpan.css.d.ts +1 -1
  282. package/dist/generated/themes/FormItemSpan.css.js +1 -1
  283. package/dist/generated/themes/FormItemSpan.css.js.map +1 -1
  284. package/dist/generated/themes/GrowingButton.css.d.ts +1 -1
  285. package/dist/generated/themes/GrowingButton.css.js +1 -1
  286. package/dist/generated/themes/GrowingButton.css.js.map +1 -1
  287. package/dist/generated/themes/Icon.css.d.ts +1 -1
  288. package/dist/generated/themes/Icon.css.js +1 -1
  289. package/dist/generated/themes/Icon.css.js.map +1 -1
  290. package/dist/generated/themes/Input.css.d.ts +1 -1
  291. package/dist/generated/themes/Input.css.js +1 -1
  292. package/dist/generated/themes/Input.css.js.map +1 -1
  293. package/dist/generated/themes/InputIcon.css.d.ts +1 -1
  294. package/dist/generated/themes/InputIcon.css.js +1 -1
  295. package/dist/generated/themes/InputIcon.css.js.map +1 -1
  296. package/dist/generated/themes/InputSharedStyles.css.d.ts +1 -1
  297. package/dist/generated/themes/InputSharedStyles.css.js +1 -1
  298. package/dist/generated/themes/InputSharedStyles.css.js.map +1 -1
  299. package/dist/generated/themes/Link.css.d.ts +1 -1
  300. package/dist/generated/themes/Link.css.js +1 -1
  301. package/dist/generated/themes/Link.css.js.map +1 -1
  302. package/dist/generated/themes/List.css.d.ts +1 -1
  303. package/dist/generated/themes/List.css.js +1 -1
  304. package/dist/generated/themes/List.css.js.map +1 -1
  305. package/dist/generated/themes/ListItem.css.d.ts +1 -1
  306. package/dist/generated/themes/ListItem.css.js +1 -1
  307. package/dist/generated/themes/ListItem.css.js.map +1 -1
  308. package/dist/generated/themes/ListItemBase.css.d.ts +1 -1
  309. package/dist/generated/themes/ListItemBase.css.js +1 -1
  310. package/dist/generated/themes/ListItemBase.css.js.map +1 -1
  311. package/dist/generated/themes/ListItemCustom.css.d.ts +1 -1
  312. package/dist/generated/themes/ListItemCustom.css.js +1 -1
  313. package/dist/generated/themes/ListItemCustom.css.js.map +1 -1
  314. package/dist/generated/themes/ListItemGroup.css.d.ts +1 -1
  315. package/dist/generated/themes/ListItemGroup.css.js +1 -1
  316. package/dist/generated/themes/ListItemGroup.css.js.map +1 -1
  317. package/dist/generated/themes/ListItemGroupHeader.css.d.ts +1 -1
  318. package/dist/generated/themes/ListItemGroupHeader.css.js +1 -1
  319. package/dist/generated/themes/ListItemGroupHeader.css.js.map +1 -1
  320. package/dist/generated/themes/ListItemIcon.css.d.ts +1 -1
  321. package/dist/generated/themes/ListItemIcon.css.js +1 -1
  322. package/dist/generated/themes/ListItemIcon.css.js.map +1 -1
  323. package/dist/generated/themes/Menu.css.d.ts +1 -1
  324. package/dist/generated/themes/Menu.css.js +1 -1
  325. package/dist/generated/themes/Menu.css.js.map +1 -1
  326. package/dist/generated/themes/MenuItem.css.d.ts +1 -1
  327. package/dist/generated/themes/MenuItem.css.js +1 -1
  328. package/dist/generated/themes/MenuItem.css.js.map +1 -1
  329. package/dist/generated/themes/MessageStrip.css.d.ts +1 -1
  330. package/dist/generated/themes/MessageStrip.css.js +1 -1
  331. package/dist/generated/themes/MessageStrip.css.js.map +1 -1
  332. package/dist/generated/themes/MonthPicker.css.d.ts +1 -1
  333. package/dist/generated/themes/MonthPicker.css.js +1 -1
  334. package/dist/generated/themes/MonthPicker.css.js.map +1 -1
  335. package/dist/generated/themes/MultiComboBox.css.d.ts +1 -1
  336. package/dist/generated/themes/MultiComboBox.css.js +1 -1
  337. package/dist/generated/themes/MultiComboBox.css.js.map +1 -1
  338. package/dist/generated/themes/MultiComboBoxItem.css.d.ts +1 -1
  339. package/dist/generated/themes/MultiComboBoxItem.css.js +1 -1
  340. package/dist/generated/themes/MultiComboBoxItem.css.js.map +1 -1
  341. package/dist/generated/themes/MultiComboBoxPopover.css.d.ts +1 -1
  342. package/dist/generated/themes/MultiComboBoxPopover.css.js +1 -1
  343. package/dist/generated/themes/MultiComboBoxPopover.css.js.map +1 -1
  344. package/dist/generated/themes/MultiInput.css.d.ts +1 -1
  345. package/dist/generated/themes/MultiInput.css.js +1 -1
  346. package/dist/generated/themes/MultiInput.css.js.map +1 -1
  347. package/dist/generated/themes/OptionBase.css.d.ts +1 -1
  348. package/dist/generated/themes/OptionBase.css.js +1 -1
  349. package/dist/generated/themes/OptionBase.css.js.map +1 -1
  350. package/dist/generated/themes/Panel.css.d.ts +1 -1
  351. package/dist/generated/themes/Panel.css.js +1 -1
  352. package/dist/generated/themes/Panel.css.js.map +1 -1
  353. package/dist/generated/themes/Popover.css.d.ts +1 -1
  354. package/dist/generated/themes/Popover.css.js +1 -1
  355. package/dist/generated/themes/Popover.css.js.map +1 -1
  356. package/dist/generated/themes/PopupsCommon.css.d.ts +1 -1
  357. package/dist/generated/themes/PopupsCommon.css.js +1 -1
  358. package/dist/generated/themes/PopupsCommon.css.js.map +1 -1
  359. package/dist/generated/themes/ProgressIndicator.css.d.ts +1 -1
  360. package/dist/generated/themes/ProgressIndicator.css.js +1 -1
  361. package/dist/generated/themes/ProgressIndicator.css.js.map +1 -1
  362. package/dist/generated/themes/RadioButton.css.d.ts +1 -1
  363. package/dist/generated/themes/RadioButton.css.js +1 -1
  364. package/dist/generated/themes/RadioButton.css.js.map +1 -1
  365. package/dist/generated/themes/RangeSlider.css.d.ts +1 -1
  366. package/dist/generated/themes/RangeSlider.css.js +1 -1
  367. package/dist/generated/themes/RangeSlider.css.js.map +1 -1
  368. package/dist/generated/themes/RatingIndicator.css.d.ts +1 -1
  369. package/dist/generated/themes/RatingIndicator.css.js +1 -1
  370. package/dist/generated/themes/RatingIndicator.css.js.map +1 -1
  371. package/dist/generated/themes/ResponsivePopover.css.d.ts +1 -1
  372. package/dist/generated/themes/ResponsivePopover.css.js +1 -1
  373. package/dist/generated/themes/ResponsivePopover.css.js.map +1 -1
  374. package/dist/generated/themes/ResponsivePopoverCommon.css.d.ts +1 -1
  375. package/dist/generated/themes/ResponsivePopoverCommon.css.js +1 -1
  376. package/dist/generated/themes/ResponsivePopoverCommon.css.js.map +1 -1
  377. package/dist/generated/themes/SegmentedButton.css.d.ts +1 -1
  378. package/dist/generated/themes/SegmentedButton.css.js +1 -1
  379. package/dist/generated/themes/SegmentedButton.css.js.map +1 -1
  380. package/dist/generated/themes/SegmentedButtonItem.css.d.ts +1 -1
  381. package/dist/generated/themes/SegmentedButtonItem.css.js +1 -1
  382. package/dist/generated/themes/SegmentedButtonItem.css.js.map +1 -1
  383. package/dist/generated/themes/Select.css.d.ts +1 -1
  384. package/dist/generated/themes/Select.css.js +1 -1
  385. package/dist/generated/themes/Select.css.js.map +1 -1
  386. package/dist/generated/themes/SliderBase.css.d.ts +1 -1
  387. package/dist/generated/themes/SliderBase.css.js +1 -1
  388. package/dist/generated/themes/SliderBase.css.js.map +1 -1
  389. package/dist/generated/themes/SplitButton.css.d.ts +1 -1
  390. package/dist/generated/themes/SplitButton.css.js +1 -1
  391. package/dist/generated/themes/SplitButton.css.js.map +1 -1
  392. package/dist/generated/themes/StepInput.css.d.ts +1 -1
  393. package/dist/generated/themes/StepInput.css.js +1 -1
  394. package/dist/generated/themes/StepInput.css.js.map +1 -1
  395. package/dist/generated/themes/SuggestionItem.css.d.ts +1 -1
  396. package/dist/generated/themes/SuggestionItem.css.js +1 -1
  397. package/dist/generated/themes/SuggestionItem.css.js.map +1 -1
  398. package/dist/generated/themes/SuggestionItemCustom.css.d.ts +1 -1
  399. package/dist/generated/themes/SuggestionItemCustom.css.js +1 -1
  400. package/dist/generated/themes/SuggestionItemCustom.css.js.map +1 -1
  401. package/dist/generated/themes/Switch.css.d.ts +1 -1
  402. package/dist/generated/themes/Switch.css.js +1 -1
  403. package/dist/generated/themes/Switch.css.js.map +1 -1
  404. package/dist/generated/themes/TabContainer.css.d.ts +1 -1
  405. package/dist/generated/themes/TabContainer.css.js +1 -1
  406. package/dist/generated/themes/TabContainer.css.js.map +1 -1
  407. package/dist/generated/themes/TabInOverflow.css.d.ts +1 -1
  408. package/dist/generated/themes/TabInOverflow.css.js +1 -1
  409. package/dist/generated/themes/TabInOverflow.css.js.map +1 -1
  410. package/dist/generated/themes/TabInStrip.css.d.ts +1 -1
  411. package/dist/generated/themes/TabInStrip.css.js +1 -1
  412. package/dist/generated/themes/TabInStrip.css.js.map +1 -1
  413. package/dist/generated/themes/TabSemanticIcon.css.d.ts +1 -1
  414. package/dist/generated/themes/TabSemanticIcon.css.js +1 -1
  415. package/dist/generated/themes/TabSemanticIcon.css.js.map +1 -1
  416. package/dist/generated/themes/TabSeparatorInOverflow.css.d.ts +1 -1
  417. package/dist/generated/themes/TabSeparatorInOverflow.css.js +1 -1
  418. package/dist/generated/themes/TabSeparatorInOverflow.css.js.map +1 -1
  419. package/dist/generated/themes/Table.css.d.ts +1 -1
  420. package/dist/generated/themes/Table.css.js +1 -1
  421. package/dist/generated/themes/Table.css.js.map +1 -1
  422. package/dist/generated/themes/TableCell.css.d.ts +1 -1
  423. package/dist/generated/themes/TableCell.css.js +1 -1
  424. package/dist/generated/themes/TableCell.css.js.map +1 -1
  425. package/dist/generated/themes/TableCellBase.css.d.ts +1 -1
  426. package/dist/generated/themes/TableCellBase.css.js +1 -1
  427. package/dist/generated/themes/TableCellBase.css.js.map +1 -1
  428. package/dist/generated/themes/TableGrowing.css.d.ts +1 -1
  429. package/dist/generated/themes/TableGrowing.css.js +1 -1
  430. package/dist/generated/themes/TableGrowing.css.js.map +1 -1
  431. package/dist/generated/themes/TableHeaderRow.css.d.ts +1 -1
  432. package/dist/generated/themes/TableHeaderRow.css.js +1 -1
  433. package/dist/generated/themes/TableHeaderRow.css.js.map +1 -1
  434. package/dist/generated/themes/TableRow.css.d.ts +1 -1
  435. package/dist/generated/themes/TableRow.css.js +1 -1
  436. package/dist/generated/themes/TableRow.css.js.map +1 -1
  437. package/dist/generated/themes/TableRowActionBase.css.d.ts +1 -1
  438. package/dist/generated/themes/TableRowActionBase.css.js +1 -1
  439. package/dist/generated/themes/TableRowActionBase.css.js.map +1 -1
  440. package/dist/generated/themes/TableRowBase.css.d.ts +1 -1
  441. package/dist/generated/themes/TableRowBase.css.js +1 -1
  442. package/dist/generated/themes/TableRowBase.css.js.map +1 -1
  443. package/dist/generated/themes/Tag.css.d.ts +1 -1
  444. package/dist/generated/themes/Tag.css.js +1 -1
  445. package/dist/generated/themes/Tag.css.js.map +1 -1
  446. package/dist/generated/themes/Text.css.d.ts +1 -1
  447. package/dist/generated/themes/Text.css.js +1 -1
  448. package/dist/generated/themes/Text.css.js.map +1 -1
  449. package/dist/generated/themes/TextArea.css.d.ts +1 -1
  450. package/dist/generated/themes/TextArea.css.js +1 -1
  451. package/dist/generated/themes/TextArea.css.js.map +1 -1
  452. package/dist/generated/themes/TimePicker.css.d.ts +1 -1
  453. package/dist/generated/themes/TimePicker.css.js +1 -1
  454. package/dist/generated/themes/TimePicker.css.js.map +1 -1
  455. package/dist/generated/themes/Toast.css.d.ts +1 -1
  456. package/dist/generated/themes/Toast.css.js +1 -1
  457. package/dist/generated/themes/Toast.css.js.map +1 -1
  458. package/dist/generated/themes/ToggleButton.css.d.ts +1 -1
  459. package/dist/generated/themes/ToggleButton.css.js +1 -1
  460. package/dist/generated/themes/ToggleButton.css.js.map +1 -1
  461. package/dist/generated/themes/Token.css.d.ts +1 -1
  462. package/dist/generated/themes/Token.css.js +1 -1
  463. package/dist/generated/themes/Token.css.js.map +1 -1
  464. package/dist/generated/themes/Tokenizer.css.d.ts +1 -1
  465. package/dist/generated/themes/Tokenizer.css.js +1 -1
  466. package/dist/generated/themes/Tokenizer.css.js.map +1 -1
  467. package/dist/generated/themes/TokenizerPopover.css.d.ts +1 -1
  468. package/dist/generated/themes/TokenizerPopover.css.js +1 -1
  469. package/dist/generated/themes/TokenizerPopover.css.js.map +1 -1
  470. package/dist/generated/themes/Toolbar.css.d.ts +1 -1
  471. package/dist/generated/themes/Toolbar.css.js +1 -1
  472. package/dist/generated/themes/Toolbar.css.js.map +1 -1
  473. package/dist/generated/themes/ToolbarPopover.css.d.ts +1 -1
  474. package/dist/generated/themes/ToolbarPopover.css.js +1 -1
  475. package/dist/generated/themes/ToolbarPopover.css.js.map +1 -1
  476. package/dist/generated/themes/TreeItem.css.d.ts +1 -1
  477. package/dist/generated/themes/TreeItem.css.js +1 -1
  478. package/dist/generated/themes/TreeItem.css.js.map +1 -1
  479. package/dist/generated/themes/ValueStateMessage.css.d.ts +1 -1
  480. package/dist/generated/themes/ValueStateMessage.css.js +1 -1
  481. package/dist/generated/themes/ValueStateMessage.css.js.map +1 -1
  482. package/dist/generated/themes/YearPicker.css.d.ts +1 -1
  483. package/dist/generated/themes/YearPicker.css.js +1 -1
  484. package/dist/generated/themes/YearPicker.css.js.map +1 -1
  485. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.d.ts +1 -1
  486. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
  487. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js.map +1 -1
  488. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.d.ts +1 -1
  489. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
  490. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js.map +1 -1
  491. package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.d.ts +1 -1
  492. package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
  493. package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js.map +1 -1
  494. package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.d.ts +1 -1
  495. package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
  496. package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js.map +1 -1
  497. package/dist/generated/themes/sap_horizon/parameters-bundle.css.d.ts +1 -1
  498. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +1 -1
  499. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js.map +1 -1
  500. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.d.ts +1 -1
  501. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +1 -1
  502. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js.map +1 -1
  503. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.d.ts +1 -1
  504. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +1 -1
  505. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js.map +1 -1
  506. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.d.ts +1 -1
  507. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +1 -1
  508. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js.map +1 -1
  509. package/dist/popup-utils/PopoverRegistry.js +2 -2
  510. package/dist/popup-utils/PopoverRegistry.js.map +1 -1
  511. package/dist/vscode.html-custom-data.json +5 -0
  512. package/dist/web-types.json +11 -1
  513. package/package.json +9 -9
  514. package/src/TabContainerTemplate.tsx +1 -0
  515. package/src/TableCellTemplate.tsx +15 -0
  516. package/src/TableGrowingTemplate.tsx +23 -0
  517. package/src/TableHeaderCellActionBaseTemplate.tsx +13 -0
  518. package/src/TableHeaderCellTemplate.tsx +27 -0
  519. package/src/TableHeaderRowTemplate.tsx +44 -0
  520. package/src/TableRowActionBaseTemplate.tsx +28 -0
  521. package/src/TableRowTemplate.tsx +76 -0
  522. package/src/TableTemplate.tsx +76 -0
  523. package/src/ToolbarPopoverTemplate.tsx +1 -0
  524. package/src/i18n/messagebundle.properties +3 -0
  525. package/src/i18n/messagebundle_en_US_saprigi.properties +4 -0
  526. package/src/themes/TabContainer.css +4 -0
  527. package/src/themes/TableCell.css +5 -1
  528. package/src/themes/TableCellBase.css +1 -1
  529. package/src/themes/TableGrowing.css +4 -1
  530. package/src/themes/Token.css +10 -10
  531. package/src/themes/sap_horizon/Switch-parameters.css +7 -7
  532. package/src/themes/sap_horizon_dark/Switch-parameters.css +7 -7
  533. package/src/themes/sap_horizon_hcb/Switch-parameters.css +7 -28
  534. package/src/themes/sap_horizon_hcw/Switch-parameters.css +7 -7
  535. package/dist/generated/templates/TableGrowingTemplate.lit.d.ts +0 -3
  536. package/dist/generated/templates/TableGrowingTemplate.lit.js +0 -8
  537. package/dist/generated/templates/TableGrowingTemplate.lit.js.map +0 -1
  538. package/dist/generated/templates/TableHeaderCellActionBaseTemplate.lit.d.ts +0 -3
  539. package/dist/generated/templates/TableHeaderCellActionBaseTemplate.lit.js +0 -7
  540. package/dist/generated/templates/TableHeaderCellActionBaseTemplate.lit.js.map +0 -1
  541. package/dist/generated/templates/TableHeaderCellTemplate.lit.d.ts +0 -3
  542. package/dist/generated/templates/TableHeaderCellTemplate.lit.js +0 -8
  543. package/dist/generated/templates/TableHeaderCellTemplate.lit.js.map +0 -1
  544. package/dist/generated/templates/TableHeaderRowTemplate.lit.d.ts +0 -3
  545. package/dist/generated/templates/TableHeaderRowTemplate.lit.js +0 -12
  546. package/dist/generated/templates/TableHeaderRowTemplate.lit.js.map +0 -1
  547. package/dist/generated/templates/TableRowActionBaseTemplate.lit.d.ts +0 -3
  548. package/dist/generated/templates/TableRowActionBaseTemplate.lit.js +0 -11
  549. package/dist/generated/templates/TableRowActionBaseTemplate.lit.js.map +0 -1
  550. package/dist/generated/templates/TableRowTemplate.lit.d.ts +0 -3
  551. package/dist/generated/templates/TableRowTemplate.lit.js +0 -18
  552. package/dist/generated/templates/TableRowTemplate.lit.js.map +0 -1
  553. package/dist/generated/templates/TableTemplate.lit.d.ts +0 -3
  554. package/dist/generated/templates/TableTemplate.lit.js +0 -12
  555. package/dist/generated/templates/TableTemplate.lit.js.map +0 -1
  556. package/src/Table.hbs +0 -63
  557. package/src/TableGrowing.hbs +0 -17
  558. package/src/TableHeaderCell.hbs +0 -5
  559. package/src/TableHeaderCellActionBase.hbs +0 -6
  560. package/src/TableHeaderRow.hbs +0 -28
  561. package/src/TableRow.hbs +0 -55
  562. package/src/TableRowActionBase.hbs +0 -16
package/dist/Table.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Table.js","sourceRoot":"","sources":["../src/Table.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,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MpB;IADC,QAAQ,EAAE;wCACK;AAYhB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;6CACR;AAGnB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;0CAC9B;AAGhB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;+CACtB;AAGlB;IADN,IAAI,CAAC,oBAAoB,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,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"]}
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,WAAW,MAAM,sDAAsD,CAAC;AAC/E,OAAO,aAAa,MAAM,oBAAoB,CAAC;AAC/C,OAAO,WAAW,MAAM,iCAAiC,CAAC;AAC1D,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,wDAAwD,CAAC;AACnF,OAAO,EAAE,2BAA2B,EAAE,qBAAqB,EAAE,SAAS,EAAE,M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AkB,EAAE;QAChC,OAAO,EAAE,KAAK;KACd,CAAC;GAEI,KAAK,CAubV;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 jsxRenderer from \"@ui5/webcomponents-base/dist/renderer/JsxRenderer.js\";\nimport TableTemplate from \"./TableTemplate.js\";\nimport TableStyles from \"./generated/themes/Table.css.js\";\nimport TableExtension from \"./TableExtension.js\";\nimport TableNavigation from \"./TableNavigation.js\";\nimport TableOverflowMode from \"./types/TableOverflowMode.js\";\nimport TableDragAndDrop from \"./TableDragAndDrop.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 DropIndicator from \"./DropIndicator.js\";\nimport type TableHeaderRow from \"./TableHeaderRow.js\";\nimport type TableRow from \"./TableRow.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 TableGrowing from \"./TableGrowing.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: jsxRenderer,\n\tstyles: TableStyles,\n\ttemplate: TableTemplate,\n\tfastNavigation: true,\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_getGrowing(): TableGrowing | undefined {\n\t\treturn this._findFeature<TableGrowing>(\"TableGrowing\");\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._getGrowing()?.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 _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"]}
@@ -19,6 +19,7 @@ import TableCellBase from "./TableCellBase.js";
19
19
  */
20
20
  declare class TableCell extends TableCellBase {
21
21
  onBeforeRendering(): void;
22
+ injectHeaderNodes(ref: HTMLElement | null): void;
22
23
  get _headerCell(): import("./TableHeaderCell.js").default;
23
24
  get _popinHeaderNodes(): (string | Node)[];
24
25
  get _i18nPopinColon(): string;
package/dist/TableCell.js CHANGED
@@ -5,7 +5,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
7
  import customElement from "@ui5/webcomponents-base/dist/decorators/customElement.js";
8
- import TableCellTemplate from "./generated/templates/TableCellTemplate.lit.js";
8
+ import jsxRenderer from "@ui5/webcomponents-base/dist/renderer/JsxRenderer.js";
9
+ import TableCellTemplate from "./TableCellTemplate.js";
9
10
  import TableCellStyles from "./generated/themes/TableCell.css.js";
10
11
  import TableCellBase from "./TableCellBase.js";
11
12
  import { LABEL_COLON } from "./generated/i18n/i18n-defaults.js";
@@ -37,6 +38,11 @@ let TableCell = class TableCell extends TableCellBase {
37
38
  this.style.justifyContent = `var(--horizontal-align-${this._individualSlot})`;
38
39
  }
39
40
  }
41
+ injectHeaderNodes(ref) {
42
+ if (ref && !ref.hasChildNodes()) {
43
+ ref.replaceChildren(...this._popinHeaderNodes);
44
+ }
45
+ }
40
46
  get _headerCell() {
41
47
  const row = this.parentElement;
42
48
  const table = row.parentElement;
@@ -64,6 +70,7 @@ let TableCell = class TableCell extends TableCellBase {
64
70
  TableCell = __decorate([
65
71
  customElement({
66
72
  tag: "ui5-table-cell",
73
+ renderer: jsxRenderer,
67
74
  styles: [TableCellBase.styles, TableCellStyles],
68
75
  template: TableCellTemplate,
69
76
  })
@@ -1 +1 @@
1
- {"version":3,"file":"TableCell.js","sourceRoot":"","sources":["../src/TableCell.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,iBAAiB,MAAM,gDAAgD,CAAC;AAC/E,OAAO,eAAe,MAAM,qCAAqC,CAAC;AAClE,OAAO,aAAa,MAAM,oBAAoB,CAAC;AAG/C,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAEhE;;;;;;;;;;;;;;;;;GAiBG;AAMH,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,aAAa;IACpC,iBAAiB;QAChB,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAC1B,IAAI,IAAI,CAAC,eAAe,EAAE,CAAC;YAC1B,IAAI,CAAC,KAAK,CAAC,cAAc,GAAG,IAAI,CAAC,eAAe,CAAC;QAClD,CAAC;aAAM,IAAI,IAA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CAAC,MAAM,EAAE,eAAe,CAAC;QAC/C,QAAQ,EAAE,iBAAiB;KAC3B,CAAC;GACI,SAAS,CAkCd;AAED,SAAS,CAAC,MAAM,EAAE,CAAC;AAEnB,eAAe,SAAS,CAAC","sourcesContent":["import customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport TableCellTemplate from \"./generated/templates/TableCellTemplate.lit.js\";\nimport TableCellStyles from \"./generated/themes/TableCell.css.js\";\nimport TableCellBase from \"./TableCellBase.js\";\nimport type TableRow from \"./TableRow.js\";\nimport type Table from \"./Table.js\";\nimport { LABEL_COLON } from \"./generated/i18n/i18n-defaults.js\";\n\n/**\n * @class\n *\n * ### Overview\n *\n * The `ui5-table-cell` represents a cell inside of a `ui5-table`.\n * It is tightly coupled to the `ui5-table` and thus should only be used in the table component.\n *\n * ### ES6 Module Import\n *\n * `import @ui5/webcomponents/dist/TableCell.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-cell\",\n\tstyles: [TableCellBase.styles, TableCellStyles],\n\ttemplate: TableCellTemplate,\n})\nclass TableCell extends TableCellBase {\n\tonBeforeRendering() {\n\t\tsuper.onBeforeRendering();\n\t\tif (this.horizontalAlign) {\n\t\t\tthis.style.justifyContent = this.horizontalAlign;\n\t\t} else if (this._individualSlot) {\n\t\t\tthis.style.justifyContent = `var(--horizontal-align-${this._individualSlot})`;\n\t\t}\n\t}\n\n\tget _headerCell() {\n\t\tconst row = this.parentElement as TableRow;\n\t\tconst table = row.parentElement as Table;\n\t\tconst index = row.cells.indexOf(this);\n\t\treturn table.headerRow[0].cells[index];\n\t}\n\n\tget _popinHeaderNodes() {\n\t\tconst nodes = [];\n\t\tconst headerCell = this._headerCell;\n\t\tif (headerCell.popinText) {\n\t\t\tnodes.push(headerCell.popinText);\n\t\t} else {\n\t\t\tnodes.push(...this._headerCell.content.map(node => node.cloneNode(true)));\n\t\t}\n\t\tif (headerCell.action[0]) {\n\t\t\tnodes.push(headerCell.action[0].cloneNode(true));\n\t\t}\n\t\treturn nodes;\n\t}\n\n\tget _i18nPopinColon() {\n\t\treturn TableCellBase.i18nBundle.getText(LABEL_COLON);\n\t}\n}\n\nTableCell.define();\n\nexport default TableCell;\n"]}
1
+ {"version":3,"file":"TableCell.js","sourceRoot":"","sources":["../src/TableCell.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,WAAW,MAAM,sDAAsD,CAAC;AAC/E,OAAO,iBAAiB,MAAM,wBAAwB,CAAC;AACvD,OAAO,eAAe,MAAM,qCAAqC,CAAC;AAClE,OAAO,aAAa,MAAM,oBAAoB,CAAC;AAG/C,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAEhE;;;;;;;;;;;;;;;;;GAiBG;AAOH,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,aAAa;IACpC,iBAAiB;QAChB,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAC1B,IAAI,IAAI,CAAC,eAAe,EAAE,CAAC;YAC1B,IAAI,CAAC,KAAK,CAAC,cAAc,GAAG,IAAI,CAAC,eAAe,CAAC;QAClD,CAAC;aAAM,IAAI,IAAI,CAAC,eAAe,EAAE,CAAC;YACjC,IAAI,CAAC,KAAK,CAAC,cAAc,GAAG,0BAA0B,IAAI,CAAC,eAAe,GAAG,CAAC;QAC/E,CAAC;IACF,CAAC;IAED,iBAAiB,CAAC,GAAuB;QACxC,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,EAAE,CAAC;YACjC,GAAG,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,iBAAiB,CAAC,CAAC;QAChD,CAAC;IACF,CAAC;IAED,IAAI,WAAW;QACd,MAAM,GAAG,GAAG,IAAI,CAAC,aAAyB,CAAC;QAC3C,MAAM,KAAK,GAAG,GAAG,CAA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jsxRenderer from \"@ui5/webcomponents-base/dist/renderer/JsxRenderer.js\";\nimport TableCellTemplate from \"./TableCellTemplate.js\";\nimport TableCellStyles from \"./generated/themes/TableCell.css.js\";\nimport TableCellBase from \"./TableCellBase.js\";\nimport type TableRow from \"./TableRow.js\";\nimport type Table from \"./Table.js\";\nimport { LABEL_COLON } from \"./generated/i18n/i18n-defaults.js\";\n\n/**\n * @class\n *\n * ### Overview\n *\n * The `ui5-table-cell` represents a cell inside of a `ui5-table`.\n * It is tightly coupled to the `ui5-table` and thus should only be used in the table component.\n *\n * ### ES6 Module Import\n *\n * `import @ui5/webcomponents/dist/TableCell.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-cell\",\n\trenderer: jsxRenderer,\n\tstyles: [TableCellBase.styles, TableCellStyles],\n\ttemplate: TableCellTemplate,\n})\nclass TableCell extends TableCellBase {\n\tonBeforeRendering() {\n\t\tsuper.onBeforeRendering();\n\t\tif (this.horizontalAlign) {\n\t\t\tthis.style.justifyContent = this.horizontalAlign;\n\t\t} else if (this._individualSlot) {\n\t\t\tthis.style.justifyContent = `var(--horizontal-align-${this._individualSlot})`;\n\t\t}\n\t}\n\n\tinjectHeaderNodes(ref: HTMLElement | null) {\n\t\tif (ref && !ref.hasChildNodes()) {\n\t\t\tref.replaceChildren(...this._popinHeaderNodes);\n\t\t}\n\t}\n\n\tget _headerCell() {\n\t\tconst row = this.parentElement as TableRow;\n\t\tconst table = row.parentElement as Table;\n\t\tconst index = row.cells.indexOf(this);\n\t\treturn table.headerRow[0].cells[index];\n\t}\n\n\tget _popinHeaderNodes() {\n\t\tconst nodes = [];\n\t\tconst headerCell = this._headerCell;\n\t\tif (headerCell.popinText) {\n\t\t\tnodes.push(headerCell.popinText);\n\t\t} else {\n\t\t\tnodes.push(...this._headerCell.content.map(node => node.cloneNode(true)));\n\t\t}\n\t\tif (headerCell.action[0]) {\n\t\t\tnodes.push(headerCell.action[0].cloneNode(true));\n\t\t}\n\t\treturn nodes;\n\t}\n\n\tget _i18nPopinColon() {\n\t\treturn TableCellBase.i18nBundle.getText(LABEL_COLON);\n\t}\n}\n\nTableCell.define();\n\nexport default TableCell;\n"]}
@@ -6,7 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  };
7
7
  import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
8
8
  import customElement from "@ui5/webcomponents-base/dist/decorators/customElement.js";
9
- import litRender from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
9
+ import jsxRenderer from "@ui5/webcomponents-base/dist/renderer/JsxRenderer.js";
10
10
  import slot from "@ui5/webcomponents-base/dist/decorators/slot.js";
11
11
  import property from "@ui5/webcomponents-base/dist/decorators/property.js";
12
12
  import i18n from "@ui5/webcomponents-base/dist/decorators/i18n.js";
@@ -62,7 +62,7 @@ __decorate([
62
62
  ], TableCellBase, "i18nBundle", void 0);
63
63
  TableCellBase = __decorate([
64
64
  customElement({
65
- renderer: litRender,
65
+ renderer: jsxRenderer,
66
66
  styles: TableCellBaseStyles,
67
67
  })
68
68
  ], TableCellBase);
@@ -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;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"]}
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,WAAW,MAAM,sDAAsD,CAAC;AAC/E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,QAAQ,MAAM,qDAAqD,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dist/decorators/customElement.js\";\nimport jsxRenderer from \"@ui5/webcomponents-base/dist/renderer/JsxRenderer.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: jsxRenderer,\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"]}
@@ -0,0 +1,2 @@
1
+ import type TableCell from "./TableCell.js";
2
+ export default function TableCellTemplate(this: TableCell): import("@ui5/webcomponents-base/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "@ui5/webcomponents-base/jsx-runtime";
2
+ export default function TableCellTemplate() {
3
+ return (_jsxs(_Fragment, { children: [this._popin &&
4
+ _jsxs(_Fragment, { children: [_jsx("div", { class: "popin-header", ref: this.injectHeaderNodes.bind(this) }), _jsx("span", { class: "popin-colon", children: this._i18nPopinColon })] }), _jsx("slot", {})] }));
5
+ }
6
+ //# sourceMappingURL=TableCellTemplate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableCellTemplate.js","sourceRoot":"","sources":["../src/TableCellTemplate.tsx"],"names":[],"mappings":";AAEA,MAAM,CAAC,OAAO,UAAU,iBAAiB;IACxC,OAAO,CACN,8BACG,IAAI,CAAC,MAAM;gBACZ,8BACC,cAAK,KAAK,EAAC,cAAc,EAAC,GAAG,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,GAAQ,EACxE,eAAM,KAAK,EAAC,aAAa,YAAE,IAAI,CAAC,eAAe,GAAQ,IACrD,EAEJ,gBAAa,IACX,CACH,CAAC;AACH,CAAC","sourcesContent":["import type TableCell from \"./TableCell.js\";\n\nexport default function TableCellTemplate(this: TableCell) {\n\treturn (\n\t\t<>\n\t\t\t{ this._popin &&\n\t\t\t\t<>\n\t\t\t\t\t<div class=\"popin-header\" ref={this.injectHeaderNodes.bind(this)}></div>\n\t\t\t\t\t<span class=\"popin-colon\">{this._i18nPopinColon}</span>\n\t\t\t\t</>\n\t\t\t}\n\t\t\t<slot></slot>\n\t\t</>\n\t);\n}\n"]}
@@ -6,14 +6,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  };
7
7
  var TableGrowing_1;
8
8
  import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
9
- import litRender from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
9
+ import jsxRenderer from "@ui5/webcomponents-base/dist/renderer/JsxRenderer.js";
10
10
  import customElement from "@ui5/webcomponents-base/dist/decorators/customElement.js";
11
11
  import property from "@ui5/webcomponents-base/dist/decorators/property.js";
12
12
  import event from "@ui5/webcomponents-base/dist/decorators/event-strict.js";
13
13
  import i18n from "@ui5/webcomponents-base/dist/decorators/i18n.js";
14
14
  import { isSpace, isEnter, } from "@ui5/webcomponents-base/dist/Keys.js";
15
15
  import TableGrowingMode from "./types/TableGrowingMode.js";
16
- import TableGrowingTemplate from "./generated/templates/TableGrowingTemplate.lit.js";
16
+ import TableGrowingTemplate from "./TableGrowingTemplate.js";
17
17
  import TableGrowingCss from "./generated/themes/TableGrowing.css.js";
18
18
  import { TABLE_MORE, TABLE_MORE_DESCRIPTION, } from "./generated/i18n/i18n-defaults.js";
19
19
  // The documentation should be similar to the Table.ts class documentation!
@@ -219,7 +219,7 @@ __decorate([
219
219
  property()
220
220
  ], TableGrowing.prototype, "growingSubText", void 0);
221
221
  __decorate([
222
- property({ type: Boolean })
222
+ property({ type: Boolean, noAttribute: true })
223
223
  ], TableGrowing.prototype, "_activeState", void 0);
224
224
  __decorate([
225
225
  property({ type: Number, noAttribute: true })
@@ -230,7 +230,7 @@ __decorate([
230
230
  TableGrowing = TableGrowing_1 = __decorate([
231
231
  customElement({
232
232
  tag: "ui5-table-growing",
233
- renderer: litRender,
233
+ renderer: jsxRenderer,
234
234
  template: TableGrowingTemplate,
235
235
  styles: TableGrowingCss,
236
236
  })
@@ -1 +1 @@
1
- {"version":3,"file":"TableGrowing.js","sourceRoot":"","sources":["../src/TableGrowing.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,KAAK,MAAM,yDAAyD,CAAC;AAG5E,OAAO,IA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oBAAoB;QAC9B,MAAM,EAAE,eAAe;KACvB,CAAC;IAEF;;;;OAIG;;IACF,KAAK,CAAC,WAAW,EAAE;QACnB,OAAO,EAAE,IAAI;KACb,CAAC;GAEI,YAAY,CAsNjB;AAED,YAAY,CAAC,MAAM,EAAE,CAAC;AAEtB,eAAe,YAAY,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event-strict.js\";\n\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport i18n from \"@ui5/webcomponents-base/dist/decorators/i18n.js\";\nimport {\n\tisSpace,\n\tisEnter,\n} from \"@ui5/webcomponents-base/dist/Keys.js\";\n\nimport type Table from \"./Table.js\";\nimport type { ITableGrowing } from \"./Table.js\";\nimport TableGrowingMode from \"./types/TableGrowingMode.js\";\nimport TableGrowingTemplate from \"./generated/templates/TableGrowingTemplate.lit.js\";\nimport TableGrowingCss from \"./generated/themes/TableGrowing.css.js\";\nimport {\n\tTABLE_MORE,\n\tTABLE_MORE_DESCRIPTION,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n// The documentation should be similar to the Table.ts class documentation!\n// Please only use that style where it uses markdown and the documentation is more readable.\n\n/**\n * @class\n *\n * ### Overview\n *\n * The `ui5-table-growing` component is used inside the `ui5-table` to add a growing/data loading functionalities\n * to the table.\n *\n * The component offers two options:\n * * Button - a More button is displayed, clicking it will load more data.\n * * Scroll - additional data is loaded automatically when the user scrolls to the end of the table.\n *\n * ### Usage\n *\n * The `ui5-table-growing` component is only used inside the `ui5-table` component as a feature.\n * It has to be slotted inside the `ui5-table` in the `features` slot.\n * The component is not intended to be used as a standalone component.\n *\n * ```html\n * <ui5-table>\n * \t<ui5-table-growing type=\"Button\" growing-text=\"More\" slot=\"features\"></ui5-table-growing>\n * </ui5-table>\n * ```\n *\n * **Notes**:\n * * When the `ui5-table-growing` component is used with the `Scroll` type and the table is currently not scrollable,\n * the component will render a growing button instead to ensure growing capabilities until the table becomes scrollable.\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents/dist/TableGrowing.js\";`\n *\n * @constructor\n * @extends UI5Element\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-growing\",\n\trenderer: litRender,\n\ttemplate: TableGrowingTemplate,\n\tstyles: TableGrowingCss,\n})\n\n/**\n * Fired when the growing button is pressed or the user scrolls to the end of the table.\n *\n * @public\n */\n@event(\"load-more\", {\n\tbubbles: true,\n})\n\nclass TableGrowing extends UI5Element implements ITableGrowing {\n\teventDetails!: {\n\t\t\"load-more\": void;\n\t}\n\t/**\n\t * Defines the mode of the <code>ui5-table</code> growing.\n\t *\n\t * Available options are:\n\t *\n\t * Button - Shows a More button at the bottom of the table, pressing it will load more rows.\n\t *\n\t * Scroll - The rows are loaded automatically by scrolling to the bottom of the table. If the table is not scrollable,\n\t * a growing button will be rendered instead to ensure growing functionality.\n\t * @default \"Button\"\n\t * @public\n\t */\n\t@property()\n\ttype: `${TableGrowingMode}` = \"Button\";\n\n\t/**\n\t * Defines the text that will be displayed inside the growing button.\n\t * Has no effect when type is set to `Scroll`.\n\t *\n\t * **Note:** When not provided and the type is set to Button, a default text is displayed, corresponding to the\n\t * current language.\n\t *\n\t * @default undefined\n\t * @public\n\t */\n\t@property()\n\tgrowingText?: string;\n\n\t/**\n\t * Defines the text that will be displayed below the `growingText` inside the growing button.\n\t * Has no effect when type is set to Scroll.\n\t *\n\t * @default undefined\n\t * @public\n\t */\n\t@property()\n\tgrowingSubText?: string;\n\n\t/**\n\t * Defines the active state of the growing button.\n\t * Used for keyboard interaction.\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\t_activeState = false;\n\n\t@property({ type: Number, noAttribute: true })\n\t_invalidate = 0;\n\n\treadonly identifier = \"TableGrowing\";\n\t_table?: Table;\n\t_observer?: IntersectionObserver;\n\t_currentLastRow?: HTMLElement;\n\t_shouldFocusRow?: boolean;\n\t_renderContent = true;\n\n\t@i18n(\"@ui5/webcomponents\")\n\tstatic i18nBundle: I18nBundle;\n\n\tonTableActivate(table: Table): void {\n\t\tthis._table = table;\n\t\tthis._shouldFocusRow = false;\n\t}\n\n\tonTableAfterRendering(): void {\n\t\t// Focus the first row after growing, when the growing button is used\n\t\tif (this._shouldFocusRow) {\n\t\t\tthis._shouldFocusRow = false;\n\t\t\tlet focusRow = this._currentLastRow?.nextElementSibling as HTMLElement;\n\n\t\t\tif (this.hasGrowingComponent()) {\n\t\t\t\tfocusRow ||= this.getFocusDomRef() as HTMLElement;\n\t\t\t}\n\n\t\t\tfocusRow ||= this._table?.rows[0] as HTMLElement;\n\n\t\t\tfocusRow?.focus();\n\t\t}\n\n\t\tif (this._renderContent !== this.hasGrowingComponent()) {\n\t\t\tthis._invalidate++;\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._hasScrollToLoad() && !this.hasGrowingComponent() && !this._observer) {\n\t\t\tthis._observeTableEnd();\n\t\t}\n\t}\n\n\tonExitDOM(): void {\n\t\tthis._table = undefined;\n\t\tthis._observer?.disconnect();\n\t\tthis._observer = undefined;\n\t\tthis._currentLastRow = undefined;\n\t}\n\n\tonBeforeRendering(): void {\n\t\tthis._observer?.disconnect();\n\t\tthis._observer = undefined;\n\t\tthis._currentLastRow = undefined;\n\t\tthis._renderContent = this.hasGrowingComponent();\n\t\tthis._invalidateTable();\n\t}\n\n\thasGrowingComponent(): boolean {\n\t\tif (this.type === TableGrowingMode.Scroll) {\n\t\t\treturn !!this._table && this._table._scrollContainer.clientHeight >= this._table._tableElement.scrollHeight;\n\t\t}\n\n\t\treturn this.type === `${TableGrowingMode.Button}`;\n\t}\n\n\t/**\n\t * An event handler that can be used by the Table to notify the TableGrowing that\n\t * the Table is growing either by pressing the load more button or by scrolling to the end of the table.\n\t */\n\tloadMore(): void {\n\t\t// remembers the last row. only do this when the table has a growing component rendered.\n\t\tif (this._table && this.hasGrowingComponent()) {\n\t\t\tthis._currentLastRow = this._table.rows[this._table.rows.length - 1];\n\t\t}\n\t\tthis._shouldFocusRow = true;\n\n\t\tthis.fireDecoratorEvent(\"load-more\");\n\t}\n\n\t_hasScrollToLoad() {\n\t\treturn this.type === TableGrowingMode.Scroll;\n\t}\n\n\t/**\n\t * Observes the end of the table.\n\t * @private\n\t */\n\t_observeTableEnd(): void {\n\t\tif (!this._table) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst lastElement = this._table.shadowRoot?.querySelector(\"#table-end-row\");\n\t\tif (lastElement) {\n\t\t\tthis._getIntersectionObserver().observe(lastElement);\n\t\t}\n\t}\n\n\t/**\n\t * Returns the IntersectionObserver instance. If it does not exist, it will be created.\n\t * The observer will call the loadMore function when the end of the table is reached.\n\t * @private\n\t */\n\t_getIntersectionObserver(): IntersectionObserver {\n\t\tif (!this._observer) {\n\t\t\tthis._observer = new IntersectionObserver(this._onIntersection.bind(this), { root: document });\n\t\t}\n\t\treturn this._observer;\n\t}\n\n\t_onIntersection(entries: Array<IntersectionObserverEntry>) {\n\t\tif (entries.some(entry => entry.isIntersecting)) {\n\t\t\tthis.loadMore();\n\t\t}\n\t}\n\n\t_invalidateTable() {\n\t\tif (!this._table) {\n\t\t\treturn;\n\t\t}\n\t\tthis._table._invalidate++;\n\t}\n\n\t/**\n\t * Handles the keydown event on the growing button.\n\t *\n\t * Calls the loadMore function when the Enter and Space keys are pressed.\n\t * @private\n\t */\n\t_onKeydown(e: KeyboardEvent) {\n\t\tif (isSpace(e)) {\n\t\t\te.preventDefault();\n\t\t\tthis._activeState = true;\n\t\t}\n\n\t\tif (isEnter(e)) {\n\t\t\tthis.loadMore();\n\t\t\tthis._activeState = true;\n\t\t}\n\t}\n\n\t_onKeyup(e: KeyboardEvent) {\n\t\tif (isSpace(e)) {\n\t\t\tthis.loadMore();\n\t\t}\n\t\tthis._activeState = false;\n\t}\n\n\t_onFocusout() {\n\t\tthis._activeState = false;\n\t}\n\n\tget _growingButtonText() {\n\t\treturn this.growingText || TableGrowing.i18nBundle.getText(TABLE_MORE);\n\t}\n\n\tget _growingButtonDescription() {\n\t\treturn TableGrowing.i18nBundle.getText(TABLE_MORE_DESCRIPTION);\n\t}\n\n\tget _hasGrowingButton() {\n\t\treturn this.hasGrowingComponent();\n\t}\n}\n\nTableGrowing.define();\n\nexport default TableGrowing;\n"]}
1
+ {"version":3,"file":"TableGrowing.js","sourceRoot":"","sources":["../src/TableGrowing.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,WAAW,MAAM,sDAAsD,CAAC;AAC/E,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,KAAK,MAAM,yDAAyD,CAAC;AAG5E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,EACN,OAAO,EACP,OAAO,GACP,MAAM,sCAAsC,CAAC;AAI9C,OAAO,gBAAgB,MAAM,6BAA6B,CAAC;AAC3D,OAAO,oBAAoB,MAAM,2BAA2B,CAAC;AAC7D,OAAO,eAAe,MAAM,wCAAwC,CAAC;AACrE,OAAO,EACN,UAAU,EACV,sBAAsB,GACtB,MAAM,mCAAmC,CAAC;AAE3C,2EAA2E;AAC3E,4FAA4F;AAE5F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAiBH,IAAM,YAAY,oBAAlB,MAAM,YAAa,SAAQ,UAAU;IAArC;;QAIC;;;;;;;;;;;WAWG;QAEH,SAAI,GAA0B,QAAQ,CAAC;QAyBvC;;;;WAIG;QAEH,iBAAY,GAAG,KAAK,CAAC;QAGrB,gBAAW,GAAG,CAAC,CAAC;QAEP,eAAU,GAA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AI,cAAY,CAAC,UAAU,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IACxE,CAAC;IAED,IAAI,yBAAyB;QAC5B,OAAO,cAAY,CAAC,UAAU,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC;IAChE,CAAC;IAED,IAAI,iBAAiB;QACpB,OAAO,IAAI,CAAC,mBAAmB,EAAE,CAAC;IACnC,CAAC;CACD,CAAA;AArMA;IADC,QAAQ,EAAE;0CAC4B;AAavC;IADC,QAAQ,EAAE;iDACU;AAUrB;IADC,QAAQ,EAAE;oDACa;AAQxB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;kDAC1B;AAGrB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;iDAC9B;AAUT;IADN,IAAI,CAAC,oBAAoB,CAAC;sCACG;AA7DzB,YAAY;IAhBjB,aAAa,CAAC;QACd,GAAG,EAAE,mBAAmB;QACxB,QAAQ,EAAE,WAAW;QACrB,QAAQ,EAAE,oBAAoB;QAC9B,MAAM,EAAE,eAAe;KACvB,CAAC;IAEF;;;;OAIG;;IACF,KAAK,CAAC,WAAW,EAAE;QACnB,OAAO,EAAE,IAAI;KACb,CAAC;GAEI,YAAY,CAsNjB;AAED,YAAY,CAAC,MAAM,EAAE,CAAC;AAEtB,eAAe,YAAY,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport jsxRenderer from \"@ui5/webcomponents-base/dist/renderer/JsxRenderer.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event-strict.js\";\n\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport i18n from \"@ui5/webcomponents-base/dist/decorators/i18n.js\";\nimport {\n\tisSpace,\n\tisEnter,\n} from \"@ui5/webcomponents-base/dist/Keys.js\";\n\nimport type Table from \"./Table.js\";\nimport type { ITableGrowing } from \"./Table.js\";\nimport TableGrowingMode from \"./types/TableGrowingMode.js\";\nimport TableGrowingTemplate from \"./TableGrowingTemplate.js\";\nimport TableGrowingCss from \"./generated/themes/TableGrowing.css.js\";\nimport {\n\tTABLE_MORE,\n\tTABLE_MORE_DESCRIPTION,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n// The documentation should be similar to the Table.ts class documentation!\n// Please only use that style where it uses markdown and the documentation is more readable.\n\n/**\n * @class\n *\n * ### Overview\n *\n * The `ui5-table-growing` component is used inside the `ui5-table` to add a growing/data loading functionalities\n * to the table.\n *\n * The component offers two options:\n * * Button - a More button is displayed, clicking it will load more data.\n * * Scroll - additional data is loaded automatically when the user scrolls to the end of the table.\n *\n * ### Usage\n *\n * The `ui5-table-growing` component is only used inside the `ui5-table` component as a feature.\n * It has to be slotted inside the `ui5-table` in the `features` slot.\n * The component is not intended to be used as a standalone component.\n *\n * ```html\n * <ui5-table>\n * \t<ui5-table-growing type=\"Button\" growing-text=\"More\" slot=\"features\"></ui5-table-growing>\n * </ui5-table>\n * ```\n *\n * **Notes**:\n * * When the `ui5-table-growing` component is used with the `Scroll` type and the table is currently not scrollable,\n * the component will render a growing button instead to ensure growing capabilities until the table becomes scrollable.\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents/dist/TableGrowing.js\";`\n *\n * @constructor\n * @extends UI5Element\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-growing\",\n\trenderer: jsxRenderer,\n\ttemplate: TableGrowingTemplate,\n\tstyles: TableGrowingCss,\n})\n\n/**\n * Fired when the growing button is pressed or the user scrolls to the end of the table.\n *\n * @public\n */\n@event(\"load-more\", {\n\tbubbles: true,\n})\n\nclass TableGrowing extends UI5Element implements ITableGrowing {\n\teventDetails!: {\n\t\t\"load-more\": void;\n\t}\n\t/**\n\t * Defines the mode of the <code>ui5-table</code> growing.\n\t *\n\t * Available options are:\n\t *\n\t * Button - Shows a More button at the bottom of the table, pressing it will load more rows.\n\t *\n\t * Scroll - The rows are loaded automatically by scrolling to the bottom of the table. If the table is not scrollable,\n\t * a growing button will be rendered instead to ensure growing functionality.\n\t * @default \"Button\"\n\t * @public\n\t */\n\t@property()\n\ttype: `${TableGrowingMode}` = \"Button\";\n\n\t/**\n\t * Defines the text that will be displayed inside the growing button.\n\t * Has no effect when type is set to `Scroll`.\n\t *\n\t * **Note:** When not provided and the type is set to Button, a default text is displayed, corresponding to the\n\t * current language.\n\t *\n\t * @default undefined\n\t * @public\n\t */\n\t@property()\n\tgrowingText?: string;\n\n\t/**\n\t * Defines the text that will be displayed below the `growingText` inside the growing button.\n\t * Has no effect when type is set to Scroll.\n\t *\n\t * @default undefined\n\t * @public\n\t */\n\t@property()\n\tgrowingSubText?: string;\n\n\t/**\n\t * Defines the active state of the growing button.\n\t * Used for keyboard interaction.\n\t * @private\n\t */\n\t@property({ type: Boolean, noAttribute: true })\n\t_activeState = false;\n\n\t@property({ type: Number, noAttribute: true })\n\t_invalidate = 0;\n\n\treadonly identifier = \"TableGrowing\";\n\t_table?: Table;\n\t_observer?: IntersectionObserver;\n\t_currentLastRow?: HTMLElement;\n\t_shouldFocusRow?: boolean;\n\t_renderContent = true;\n\n\t@i18n(\"@ui5/webcomponents\")\n\tstatic i18nBundle: I18nBundle;\n\n\tonTableActivate(table: Table): void {\n\t\tthis._table = table;\n\t\tthis._shouldFocusRow = false;\n\t}\n\n\tonTableAfterRendering(): void {\n\t\t// Focus the first row after growing, when the growing button is used\n\t\tif (this._shouldFocusRow) {\n\t\t\tthis._shouldFocusRow = false;\n\t\t\tlet focusRow = this._currentLastRow?.nextElementSibling as HTMLElement;\n\n\t\t\tif (this.hasGrowingComponent()) {\n\t\t\t\tfocusRow ||= this.getFocusDomRef() as HTMLElement;\n\t\t\t}\n\n\t\t\tfocusRow ||= this._table?.rows[0] as HTMLElement;\n\n\t\t\tfocusRow?.focus();\n\t\t}\n\n\t\tif (this._renderContent !== this.hasGrowingComponent()) {\n\t\t\tthis._invalidate++;\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._hasScrollToLoad() && !this.hasGrowingComponent() && !this._observer) {\n\t\t\tthis._observeTableEnd();\n\t\t}\n\t}\n\n\tonExitDOM(): void {\n\t\tthis._table = undefined;\n\t\tthis._observer?.disconnect();\n\t\tthis._observer = undefined;\n\t\tthis._currentLastRow = undefined;\n\t}\n\n\tonBeforeRendering(): void {\n\t\tthis._observer?.disconnect();\n\t\tthis._observer = undefined;\n\t\tthis._currentLastRow = undefined;\n\t\tthis._renderContent = this.hasGrowingComponent();\n\t\tthis._invalidateTable();\n\t}\n\n\thasGrowingComponent(): boolean {\n\t\tif (this.type === TableGrowingMode.Scroll) {\n\t\t\treturn !!this._table && this._table._scrollContainer.clientHeight >= this._table._tableElement.scrollHeight;\n\t\t}\n\n\t\treturn this.type === `${TableGrowingMode.Button}`;\n\t}\n\n\t/**\n\t * An event handler that can be used by the Table to notify the TableGrowing that\n\t * the Table is growing either by pressing the load more button or by scrolling to the end of the table.\n\t */\n\tloadMore(): void {\n\t\t// remembers the last row. only do this when the table has a growing component rendered.\n\t\tif (this._table && this.hasGrowingComponent()) {\n\t\t\tthis._currentLastRow = this._table.rows[this._table.rows.length - 1];\n\t\t}\n\t\tthis._shouldFocusRow = true;\n\n\t\tthis.fireDecoratorEvent(\"load-more\");\n\t}\n\n\t_hasScrollToLoad() {\n\t\treturn this.type === TableGrowingMode.Scroll;\n\t}\n\n\t/**\n\t * Observes the end of the table.\n\t * @private\n\t */\n\t_observeTableEnd(): void {\n\t\tif (!this._table) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst lastElement = this._table.shadowRoot?.querySelector(\"#table-end-row\");\n\t\tif (lastElement) {\n\t\t\tthis._getIntersectionObserver().observe(lastElement);\n\t\t}\n\t}\n\n\t/**\n\t * Returns the IntersectionObserver instance. If it does not exist, it will be created.\n\t * The observer will call the loadMore function when the end of the table is reached.\n\t * @private\n\t */\n\t_getIntersectionObserver(): IntersectionObserver {\n\t\tif (!this._observer) {\n\t\t\tthis._observer = new IntersectionObserver(this._onIntersection.bind(this), { root: document });\n\t\t}\n\t\treturn this._observer;\n\t}\n\n\t_onIntersection(entries: Array<IntersectionObserverEntry>) {\n\t\tif (entries.some(entry => entry.isIntersecting)) {\n\t\t\tthis.loadMore();\n\t\t}\n\t}\n\n\t_invalidateTable() {\n\t\tif (!this._table) {\n\t\t\treturn;\n\t\t}\n\t\tthis._table._invalidate++;\n\t}\n\n\t/**\n\t * Handles the keydown event on the growing button.\n\t *\n\t * Calls the loadMore function when the Enter and Space keys are pressed.\n\t * @private\n\t */\n\t_onKeydown(e: KeyboardEvent) {\n\t\tif (isSpace(e)) {\n\t\t\te.preventDefault();\n\t\t\tthis._activeState = true;\n\t\t}\n\n\t\tif (isEnter(e)) {\n\t\t\tthis.loadMore();\n\t\t\tthis._activeState = true;\n\t\t}\n\t}\n\n\t_onKeyup(e: KeyboardEvent) {\n\t\tif (isSpace(e)) {\n\t\t\tthis.loadMore();\n\t\t}\n\t\tthis._activeState = false;\n\t}\n\n\t_onFocusout() {\n\t\tthis._activeState = false;\n\t}\n\n\tget _growingButtonText() {\n\t\treturn this.growingText || TableGrowing.i18nBundle.getText(TABLE_MORE);\n\t}\n\n\tget _growingButtonDescription() {\n\t\treturn TableGrowing.i18nBundle.getText(TABLE_MORE_DESCRIPTION);\n\t}\n\n\tget _hasGrowingButton() {\n\t\treturn this.hasGrowingComponent();\n\t}\n}\n\nTableGrowing.define();\n\nexport default TableGrowing;\n"]}
@@ -0,0 +1,2 @@
1
+ import type TableGrowing from "./TableGrowing.js";
2
+ export default function TableGrowingTemplate(this: TableGrowing): import("@ui5/webcomponents-base/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@ui5/webcomponents-base/jsx-runtime";
2
+ export default function TableGrowingTemplate() {
3
+ return (_jsxs("div", { id: "growing-button", tabindex: -1, "data-ui5-growing-active": this._activeState, onClick: this.loadMore, onKeyDown: this._onKeydown, onKeyUp: this._onKeyup, onFocusOut: this._onFocusout, role: "button", "aria-labelledby": "growing-text growing-subtext", "aria-describedby": "growing-description", children: [_jsx("span", { id: "growing-text", children: this._growingButtonText }), this.growingSubText &&
4
+ _jsx("span", { id: "growing-subtext", children: this.growingSubText }), _jsx("span", { id: "growing-description", class: "ui5-hidden-text", "aria-hidden": "true", children: this._growingButtonDescription })] }));
5
+ }
6
+ //# sourceMappingURL=TableGrowingTemplate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableGrowingTemplate.js","sourceRoot":"","sources":["../src/TableGrowingTemplate.tsx"],"names":[],"mappings":";AAEA,MAAM,CAAC,OAAO,UAAU,oBAAoB;IAC3C,OAAO,CACN,eACC,EAAE,EAAC,gBAAgB,EACnB,QAAQ,EAAE,CAAC,CAAC,6BACa,IAAI,CAAC,YAAY,EAC1C,OAAO,EAAE,IAAI,CAAC,QAAQ,EACtB,SAAS,EAAE,IAAI,CAAC,UAAU,EAC1B,OAAO,EAAE,IAAI,CAAC,QAAQ,EACtB,UAAU,EAAE,IAAI,CAAC,WAAW,EAC5B,IAAI,EAAC,QAAQ,qBACG,8BAA8B,sBAC7B,qBAAqB,aACtC,eAAM,EAAE,EAAC,cAAc,YAAE,IAAI,CAAC,kBAAkB,GAAQ,EACtD,IAAI,CAAC,cAAc;gBACpB,eAAM,EAAE,EAAC,iBAAiB,YAAE,IAAI,CAAC,cAAc,GAAQ,EAExD,eAAM,EAAE,EAAC,qBAAqB,EAAC,KAAK,EAAC,iBAAiB,iBAAa,MAAM,YAAE,IAAI,CAAC,yBAAyB,GAAQ,IAC5G,CACN,CAAC;AACH,CAAC","sourcesContent":["import type TableGrowing from \"./TableGrowing.js\";\n\nexport default function TableGrowingTemplate(this: TableGrowing) {\n\treturn (\n\t\t<div\n\t\t\tid=\"growing-button\"\n\t\t\ttabindex={-1}\n\t\t\tdata-ui5-growing-active={this._activeState}\n\t\t\tonClick={this.loadMore}\n\t\t\tonKeyDown={this._onKeydown}\n\t\t\tonKeyUp={this._onKeyup}\n\t\t\tonFocusOut={this._onFocusout}\n\t\t\trole=\"button\"\n\t\t\taria-labelledby=\"growing-text growing-subtext\"\n\t\t\taria-describedby=\"growing-description\">\n\t\t\t<span id=\"growing-text\">{this._growingButtonText}</span>\n\t\t\t{ this.growingSubText &&\n\t\t\t\t<span id=\"growing-subtext\">{this.growingSubText}</span>\n\t\t\t}\n\t\t\t<span id=\"growing-description\" class=\"ui5-hidden-text\" aria-hidden=\"true\">{this._growingButtonDescription}</span>\n\t\t</div>\n\t);\n}\n"]}
@@ -1,8 +1,6 @@
1
1
  import TableCellBase from "./TableCellBase.js";
2
2
  import SortOrder from "@ui5/webcomponents-base/dist/types/SortOrder.js";
3
3
  import type TableHeaderCellActionBase from "./TableHeaderCellActionBase.js";
4
- import "@ui5/webcomponents-icons/dist/sort-ascending.js";
5
- import "@ui5/webcomponents-icons/dist/sort-descending.js";
6
4
  /**
7
5
  * @class
8
6
  *
@@ -102,6 +100,5 @@ declare class TableHeaderCell extends TableCellBase {
102
100
  _popinWidth: number;
103
101
  onEnterDOM(): void;
104
102
  onBeforeRendering(): void;
105
- get _sortIcon(): string | undefined;
106
103
  }
107
104
  export default TableHeaderCell;
@@ -6,12 +6,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  };
7
7
  import { customElement, property, slot } from "@ui5/webcomponents-base/dist/decorators.js";
8
8
  import TableCellBase from "./TableCellBase.js";
9
- import TableHeaderCellTemplate from "./generated/templates/TableHeaderCellTemplate.lit.js";
9
+ import TableHeaderCellTemplate from "./TableHeaderCellTemplate.js";
10
10
  import TableHeaderCellStyles from "./generated/themes/TableHeaderCell.css.js";
11
- import Icon from "./Icon.js";
12
11
  import SortOrder from "@ui5/webcomponents-base/dist/types/SortOrder.js";
13
- import "@ui5/webcomponents-icons/dist/sort-ascending.js";
14
- import "@ui5/webcomponents-icons/dist/sort-descending.js";
15
12
  /**
16
13
  * @class
17
14
  *
@@ -114,11 +111,6 @@ let TableHeaderCell = class TableHeaderCell extends TableCellBase {
114
111
  this.removeAttribute("aria-sort");
115
112
  }
116
113
  }
117
- get _sortIcon() {
118
- if (this.sortIndicator !== SortOrder.None) {
119
- return `sort-${this.sortIndicator.toLowerCase()}`;
120
- }
121
- }
122
114
  };
123
115
  __decorate([
124
116
  property()
@@ -152,7 +144,6 @@ TableHeaderCell = __decorate([
152
144
  tag: "ui5-table-header-cell",
153
145
  styles: [TableCellBase.styles, TableHeaderCellStyles],
154
146
  template: TableHeaderCellTemplate,
155
- dependencies: [Icon],
156
147
  })
157
148
  ], TableHeaderCell);
158
149
  TableHeaderCell.define();
@@ -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;QA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f;IADC,QAAQ,EAAE;iDACO;AASlB;IADC,QAAQ,EAAE;iDACO;AAalB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;mDACZ;AAUf;IADC,QAAQ,EAAE;kDACQ;AAUnB;IADC,QAAQ,EAAE;sDAC4B;AAavC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;oDACC;AAW7B;IADC,IAAI,EAAE;+CACmC;AAG1C;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;+CAChC;AA3FV,eAAe;IANpB,aAAa,CAAC;QACd,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"]}
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,8BAA8B,CAAC;AACnE,OAAO,qBAAqB,MAAM,2CAA2C,CAAC;AAC9E,OAAO,SAAS,MAAM,iDAAiD,CAAC;AAGxE;;;;;;;;;;;;;;;;;;;GAmBG;AAMH,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,aAAa;IAA3C;;QACC;;;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Q,EAAE;iDACO;AASlB;IADC,QAAQ,EAAE;iDACO;AAalB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;mDACZ;AAUf;IADC,QAAQ,EAAE;kDACQ;AAUnB;IADC,QAAQ,EAAE;sDAC4B;AAavC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;oDACC;AAW7B;IADC,IAAI,EAAE;+CACmC;AAG1C;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;+CAChC;AA3FV,eAAe;IALpB,aAAa,CAAC;QACd,GAAG,EAAE,uBAAuB;QAC5B,MAAM,EAAE,CAAC,aAAa,CAAC,MAAM,EAAE,qBAAqB,CAAC;QACrD,QAAQ,EAAE,uBAAuB;KACjC,CAAC;GACI,eAAe,CAmHpB;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 \"./TableHeaderCellTemplate.js\";\nimport TableHeaderCellStyles from \"./generated/themes/TableHeaderCell.css.js\";\nimport SortOrder from \"@ui5/webcomponents-base/dist/types/SortOrder.js\";\nimport type TableHeaderCellActionBase from \"./TableHeaderCellActionBase.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})\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\nTableHeaderCell.define();\n\nexport default TableHeaderCell;\n"]}
@@ -6,10 +6,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  };
7
7
  import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
8
8
  import { customElement, eventStrict } from "@ui5/webcomponents-base/dist/decorators.js";
9
- import litRender from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
10
- import TableHeaderCellActionBaseTemplate from "./generated/templates/TableHeaderCellActionBaseTemplate.lit.js";
9
+ import jsxRenderer from "@ui5/webcomponents-base/dist/renderer/JsxRenderer.js";
10
+ import TableHeaderCellActionBaseTemplate from "./TableHeaderCellActionBaseTemplate.js";
11
11
  import TableHeaderCellActionBaseStyles from "./generated/themes/TableHeaderCellActionBase.css.js";
12
- import Button from "./Button.js";
13
12
  /**
14
13
  * Fired when a header cell action is clicked.
15
14
  *
@@ -22,7 +21,8 @@ let TableHeaderCellActionBase = class TableHeaderCellActionBase extends UI5Eleme
22
21
  this.toggleAttribute("_popin", !this.parentElement);
23
22
  }
24
23
  _onClick(e) {
25
- const action = this.parentElement ? this : this.getRootNode().host._headerCell.action[0];
24
+ // Retrieve the real action (if parent is header cell this instance is fine, otherwise retrieve it from the header cell)
25
+ const action = this.parentElement?.hasAttribute("ui5-table-header-cell") ? this : this.getRootNode().host._headerCell.action[0];
26
26
  action.fireDecoratorEvent("click", { targetRef: e.target });
27
27
  e.stopPropagation();
28
28
  }
@@ -48,10 +48,9 @@ TableHeaderCellActionBase = __decorate([
48
48
  */
49
49
  ,
50
50
  customElement({
51
- renderer: litRender,
51
+ renderer: jsxRenderer,
52
52
  styles: TableHeaderCellActionBaseStyles,
53
53
  template: TableHeaderCellActionBaseTemplate,
54
- dependencies: [Button],
55
54
  })
56
55
  ], TableHeaderCellActionBase);
57
56
  export default TableHeaderCellActionBase;
@@ -1 +1 @@
1
- {"version":3,"file":"TableHeaderCellActionBase.js","sourceRoot":"","sources":["../src/TableHeaderCellActionBase.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,iCAAiC,MAAM,gEAAgE,CAAC;AAC/G,OAAO,+BAA+B,MAAM,qDAAqD,CAAC;AAClG,OAAO,MAAM,MAAM,aAAa,CAAC;AAcjC;;;;;;GAMG;AAoBH,IAAe,yBAAyB,GAAxC,MAAe,yBAA0B,SAAQ,UAAU;IAU1D,iBAAiB;QAChB,IAAI,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IACrD,CAAC;IAED,QAAQ,CAAC,CAAa;QACrB,MAAM,MAAM,GAAG,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAG,IAAI,CAAC,WAAW,EAAiB,CAAC,IAAkB,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAS,CAAC;QAChI,MAAM,CAAC,kBAAkB,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,CAAC,CAAC,MAAqB,EAAE,CAAC,CAAC;QAC3E,CAAC,CAAC,eAAe,EAAE,CAAC;IACrB,CAAC;IAED,IAAI,QAAQ;QACX,OAAO,IAAI,CAAC,aAAa,EAAE,CAAC,OAAO,CAAC;IACrC,CAAC;IAED,IAAI,KAAK;QACR,OAAO,IAAI,CAAC,aAAa,EAAE,CAAC,IAAI,CAAC;IAClC,CAAC;CACD,CAAA;AA3Bc,yBAAyB;IAnBvC,WAAW,CAAC,OAAO,EAAE;QACrB,OAAO,EAAE,KAAK;KACd,CAAC;IAEF;;;;;;;;OAQG;;IACF,aAAa,CAAC;QACd,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE,+BAA+B;QACvC,QAAQ,EAAE,iCAAiC;QAC3C,YAAY,EAAE,CAAC,MAAM,CAAC;KACtB,CAAC;GACa,yBAAyB,CA2BvC;AAED,eAAe,yBAAyB,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport { customElement, eventStrict } from \"@ui5/webcomponents-base/dist/decorators.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport TableHeaderCellActionBaseTemplate from \"./generated/templates/TableHeaderCellActionBaseTemplate.lit.js\";\nimport TableHeaderCellActionBaseStyles from \"./generated/themes/TableHeaderCellActionBase.css.js\";\nimport Button from \"./Button.js\";\nimport type TableCell from \"./TableCell.js\";\n\n/**\n * Fired when a header cell action is clicked.\n *\n * @param {HTMLElement} targetRef The reference to the element that triggered the event\n * @public\n * @since 2.8.0\n */\ntype TableHeaderCellActionClickEventDetail = {\n\ttargetRef: HTMLElement;\n};\n\n/**\n * Fired when a header cell action is clicked.\n *\n * @param {HTMLElement} targetRef The reference to the element that triggered the event\n * @public\n * @since 2.8.0\n */\n@eventStrict(\"click\", {\n\tbubbles: false,\n})\n\n/**\n * @class\n * The `TableHeaderCellActionBase` class serves as a foundation for table header cell actions.\n * @constructor\n * @abstract\n * @extends UI5Element\n * @since 2.8.0\n * @public\n */\n@customElement({\n\trenderer: litRender,\n\tstyles: TableHeaderCellActionBaseStyles,\n\ttemplate: TableHeaderCellActionBaseTemplate,\n\tdependencies: [Button],\n})\nabstract class TableHeaderCellActionBase extends UI5Element {\n\teventDetails!: {\n\t\t\"click\": TableHeaderCellActionClickEventDetail,\n\t}\n\n\tabstract getRenderInfo(): {\n\t\ticon: string;\n\t\ttooltip: string;\n\t};\n\n\tonBeforeRendering() {\n\t\tthis.toggleAttribute(\"_popin\", !this.parentElement);\n\t}\n\n\t_onClick(e: MouseEvent) {\n\t\tconst action = this.parentElement ? this : ((this.getRootNode() as ShadowRoot).host as TableCell)._headerCell.action[0] as this;\n\t\taction.fireDecoratorEvent(\"click\", { targetRef: e.target as HTMLElement });\n\t\te.stopPropagation();\n\t}\n\n\tget _tooltip() {\n\t\treturn this.getRenderInfo().tooltip;\n\t}\n\n\tget _icon() {\n\t\treturn this.getRenderInfo().icon;\n\t}\n}\n\nexport default TableHeaderCellActionBase;\n\nexport type {\n\tTableHeaderCellActionClickEventDetail,\n};\n"]}
1
+ {"version":3,"file":"TableHeaderCellActionBase.js","sourceRoot":"","sources":["../src/TableHeaderCellActionBase.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,WAAW,MAAM,sDAAsD,CAAC;AAC/E,OAAO,iCAAiC,MAAM,wCAAwC,CAAC;AACvF,OAAO,+BAA+B,MAAM,qDAAqD,CAAC;AAclG;;;;;;GAMG;AAmBH,IAAe,yBAAyB,GAAxC,MAAe,yBAA0B,SAAQ,UAAU;IAU1D,iBAAiB;QAChB,IAAI,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IACrD,CAAC;IAED,QAAQ,CAAC,CAAa;QACrB,wHAAwH;QACxH,MAAM,MAAM,GAAG,IAAI,CAAC,aAAa,EAAE,YAAY,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAG,IAAI,CAAC,WAAW,EAAiB,CAAC,IAAkB,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAS,CAAC;QACvK,MAAM,CAAC,kBAAkB,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,CAAC,CAAC,MAAqB,EAAE,CAAC,CAAC;QAC3E,CAAC,CAAC,eAAe,EAAE,CAAC;IACrB,CAAC;IAED,IAAI,QAAQ;QACX,OAAO,IAAI,CAAC,aAAa,EAAE,CAAC,OAAO,CAAC;IACrC,CAAC;IAED,IAAI,KAAK;QACR,OAAO,IAAI,CAAC,aAAa,EAAE,CAAC,IAAI,CAAC;IAClC,CAAC;CACD,CAAA;AA5Bc,yBAAyB;IAlBvC,WAAW,CAAC,OAAO,EAAE;QACrB,OAAO,EAAE,KAAK;KACd,CAAC;IAEF;;;;;;;;OAQG;;IACF,aAAa,CAAC;QACd,QAAQ,EAAE,WAAW;QACrB,MAAM,EAAE,+BAA+B;QACvC,QAAQ,EAAE,iCAAiC;KAC3C,CAAC;GACa,yBAAyB,CA4BvC;AAED,eAAe,yBAAyB,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport { customElement, eventStrict } from \"@ui5/webcomponents-base/dist/decorators.js\";\nimport jsxRenderer from \"@ui5/webcomponents-base/dist/renderer/JsxRenderer.js\";\nimport TableHeaderCellActionBaseTemplate from \"./TableHeaderCellActionBaseTemplate.js\";\nimport TableHeaderCellActionBaseStyles from \"./generated/themes/TableHeaderCellActionBase.css.js\";\nimport type TableCell from \"./TableCell.js\";\n\n/**\n * Fired when a header cell action is clicked.\n *\n * @param {HTMLElement} targetRef The reference to the element that triggered the event\n * @public\n * @since 2.8.0\n */\ntype TableHeaderCellActionClickEventDetail = {\n\ttargetRef: HTMLElement;\n};\n\n/**\n * Fired when a header cell action is clicked.\n *\n * @param {HTMLElement} targetRef The reference to the element that triggered the event\n * @public\n * @since 2.8.0\n */\n@eventStrict(\"click\", {\n\tbubbles: false,\n})\n\n/**\n * @class\n * The `TableHeaderCellActionBase` class serves as a foundation for table header cell actions.\n * @constructor\n * @abstract\n * @extends UI5Element\n * @since 2.8.0\n * @public\n */\n@customElement({\n\trenderer: jsxRenderer,\n\tstyles: TableHeaderCellActionBaseStyles,\n\ttemplate: TableHeaderCellActionBaseTemplate,\n})\nabstract class TableHeaderCellActionBase extends UI5Element {\n\teventDetails!: {\n\t\t\"click\": TableHeaderCellActionClickEventDetail,\n\t}\n\n\tabstract getRenderInfo(): {\n\t\ticon: string;\n\t\ttooltip: string;\n\t};\n\n\tonBeforeRendering() {\n\t\tthis.toggleAttribute(\"_popin\", !this.parentElement);\n\t}\n\n\t_onClick(e: MouseEvent) {\n\t\t// Retrieve the real action (if parent is header cell this instance is fine, otherwise retrieve it from the header cell)\n\t\tconst action = this.parentElement?.hasAttribute(\"ui5-table-header-cell\") ? this : ((this.getRootNode() as ShadowRoot).host as TableCell)._headerCell.action[0] as this;\n\t\taction.fireDecoratorEvent(\"click\", { targetRef: e.target as HTMLElement });\n\t\te.stopPropagation();\n\t}\n\n\tget _tooltip() {\n\t\treturn this.getRenderInfo().tooltip;\n\t}\n\n\tget _icon() {\n\t\treturn this.getRenderInfo().icon;\n\t}\n}\n\nexport default TableHeaderCellActionBase;\n\nexport type {\n\tTableHeaderCellActionClickEventDetail,\n};\n"]}
@@ -0,0 +1,2 @@
1
+ import type TableHeaderCellActionBase from "./TableHeaderCellActionBase.js";
2
+ export default function TableHeaderCellActionBaseTemplate(this: TableHeaderCellActionBase): import("@ui5/webcomponents-base/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "@ui5/webcomponents-base/jsx-runtime";
2
+ import Button from "./Button.js";
3
+ export default function TableHeaderCellActionBaseTemplate() {
4
+ return (_jsx(Button, { icon: this._icon, tooltip: this._tooltip, onClick: this._onClick, design: "Transparent" }));
5
+ }
6
+ //# sourceMappingURL=TableHeaderCellActionBaseTemplate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableHeaderCellActionBaseTemplate.js","sourceRoot":"","sources":["../src/TableHeaderCellActionBaseTemplate.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAGjC,MAAM,CAAC,OAAO,UAAU,iCAAiC;IACxD,OAAO,CACN,KAAC,MAAM,IACN,IAAI,EAAE,IAAI,CAAC,KAAK,EAChB,OAAO,EAAE,IAAI,CAAC,QAAQ,EACtB,OAAO,EAAE,IAAI,CAAC,QAAQ,EACtB,MAAM,EAAC,aAAa,GACX,CACV,CAAC;AACH,CAAC","sourcesContent":["import Button from \"./Button.js\";\nimport type TableHeaderCellActionBase from \"./TableHeaderCellActionBase.js\";\n\nexport default function TableHeaderCellActionBaseTemplate(this: TableHeaderCellActionBase) {\n\treturn (\n\t\t<Button\n\t\t\ticon={this._icon}\n\t\t\ttooltip={this._tooltip}\n\t\t\tonClick={this._onClick}\n\t\t\tdesign=\"Transparent\"\n\t\t></Button>\n\t);\n}\n"]}
@@ -0,0 +1,2 @@
1
+ import type TableHeaderCell from "./TableHeaderCell.js";
2
+ export default function TableHeaderCellTemplate(this: TableHeaderCell): import("@ui5/webcomponents-base/jsx-runtime").JSX.Element;