@ui5/webcomponents 2.7.0-rc.0 → 2.7.0-rc.2

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 (789) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/README.md +21 -16
  3. package/cypress/specs/Button.cy.ts +22 -0
  4. package/cypress/specs/Card.cy.ts +51 -0
  5. package/cypress/specs/ColorPalette.cy.ts +0 -1
  6. package/cypress/specs/ColorPicker.cy.ts +98 -0
  7. package/cypress/specs/Dialog.cy.ts +42 -0
  8. package/cypress/specs/ExpandableText.cy.ts +2 -1
  9. package/cypress/specs/F6.cy.ts +74 -6
  10. package/cypress/specs/Input.cy.ts +0 -1
  11. package/cypress/specs/Label.cy.ts +128 -0
  12. package/cypress/specs/Menu.cy.ts +36 -0
  13. package/cypress/specs/MultiComboBox.cy.ts +38 -0
  14. package/cypress/specs/MultiInput.cy.ts +0 -1
  15. package/cypress/specs/RatingIndicator.cy.ts +25 -0
  16. package/cypress/specs/Select.cy.ts +19 -0
  17. package/cypress/specs/Tag.cy.ts +76 -0
  18. package/cypress/specs/Text.cy.ts +31 -0
  19. package/cypress/specs/Title.cy.ts +37 -0
  20. package/cypress/specs/Toolbar.cy.ts +49 -0
  21. package/cypress/specs/base/Events.cy.ts +0 -1
  22. package/cypress/support/commands/ColorPalette.commands.ts +7 -1
  23. package/cypress/support/commands/ColorPicker.commands.ts +24 -0
  24. package/cypress/support/commands.ts +3 -0
  25. package/dist/.tsbuildinfo +1 -1
  26. package/dist/AvatarGroup.d.ts +1 -1
  27. package/dist/Button.d.ts +11 -0
  28. package/dist/Button.js +19 -0
  29. package/dist/Button.js.map +1 -1
  30. package/dist/ButtonBadge.d.ts +32 -0
  31. package/dist/ButtonBadge.js +62 -0
  32. package/dist/ButtonBadge.js.map +1 -0
  33. package/dist/ButtonBadgeTemplate.d.ts +2 -0
  34. package/dist/ButtonBadgeTemplate.js +6 -0
  35. package/dist/ButtonBadgeTemplate.js.map +1 -0
  36. package/dist/ButtonTemplate.js +8 -2
  37. package/dist/ButtonTemplate.js.map +1 -1
  38. package/dist/CardHeader.d.ts +1 -1
  39. package/dist/CardHeader.js +1 -1
  40. package/dist/CardHeader.js.map +1 -1
  41. package/dist/CardHeaderTemplate.js +1 -1
  42. package/dist/CardHeaderTemplate.js.map +1 -1
  43. package/dist/ColorPalette.d.ts +20 -12
  44. package/dist/ColorPalette.js +37 -32
  45. package/dist/ColorPalette.js.map +1 -1
  46. package/dist/ColorPalettePopover.d.ts +0 -1
  47. package/dist/ColorPalettePopover.js +0 -1
  48. package/dist/ColorPalettePopover.js.map +1 -1
  49. package/dist/ColorPaletteTemplate.js +2 -2
  50. package/dist/ColorPaletteTemplate.js.map +1 -1
  51. package/dist/ColorPicker.d.ts +30 -28
  52. package/dist/ColorPicker.js +145 -99
  53. package/dist/ColorPicker.js.map +1 -1
  54. package/dist/ColorPickerTemplate.js +5 -3
  55. package/dist/ColorPickerTemplate.js.map +1 -1
  56. package/dist/DateTimeInput.d.ts +20 -0
  57. package/dist/DateTimeInput.js +44 -0
  58. package/dist/DateTimeInput.js.map +1 -0
  59. package/dist/Dialog.js +1 -0
  60. package/dist/Dialog.js.map +1 -1
  61. package/dist/Input.d.ts +5 -15
  62. package/dist/Input.js +14 -21
  63. package/dist/Input.js.map +1 -1
  64. package/dist/Menu.d.ts +5 -0
  65. package/dist/Menu.js +35 -14
  66. package/dist/Menu.js.map +1 -1
  67. package/dist/MenuItem.d.ts +5 -0
  68. package/dist/MenuItem.js +25 -1
  69. package/dist/MenuItem.js.map +1 -1
  70. package/dist/MultiComboBox.js +4 -4
  71. package/dist/MultiComboBox.js.map +1 -1
  72. package/dist/Popover.d.ts +4 -0
  73. package/dist/Popover.js +6 -0
  74. package/dist/Popover.js.map +1 -1
  75. package/dist/Popup.js +0 -2
  76. package/dist/Popup.js.map +1 -1
  77. package/dist/RatingIndicator.js +4 -1
  78. package/dist/RatingIndicator.js.map +1 -1
  79. package/dist/SelectPopoverTemplate.js +2 -2
  80. package/dist/SelectPopoverTemplate.js.map +1 -1
  81. package/dist/SplitButton.d.ts +3 -0
  82. package/dist/SplitButton.js +3 -0
  83. package/dist/SplitButton.js.map +1 -1
  84. package/dist/Tab.d.ts +1 -1
  85. package/dist/TabContainer.js +3 -3
  86. package/dist/TabContainer.js.map +1 -1
  87. package/dist/Table.js +1 -1
  88. package/dist/Table.js.map +1 -1
  89. package/dist/TableGrowing.d.ts +6 -1
  90. package/dist/TableGrowing.js +6 -1
  91. package/dist/TableGrowing.js.map +1 -1
  92. package/dist/Tag.d.ts +2 -1
  93. package/dist/Tag.js +1 -0
  94. package/dist/Tag.js.map +1 -1
  95. package/dist/TagTemplate.js +2 -2
  96. package/dist/TagTemplate.js.map +1 -1
  97. package/dist/TimePicker.d.ts +27 -4
  98. package/dist/TimePicker.js +61 -8
  99. package/dist/TimePicker.js.map +1 -1
  100. package/dist/TimePickerClock.d.ts +22 -52
  101. package/dist/TimePickerClock.js +71 -224
  102. package/dist/TimePickerClock.js.map +1 -1
  103. package/dist/TimePickerClockTemplate.js +9 -6
  104. package/dist/TimePickerClockTemplate.js.map +1 -1
  105. package/dist/TimePickerInternals.d.ts +2 -1
  106. package/dist/TimePickerInternals.js.map +1 -1
  107. package/dist/TimePickerPopoverTemplate.js +29 -2
  108. package/dist/TimePickerPopoverTemplate.js.map +1 -1
  109. package/dist/TimePickerTemplate.js +4 -3
  110. package/dist/TimePickerTemplate.js.map +1 -1
  111. package/dist/TimeSelectionClocks.d.ts +15 -3
  112. package/dist/TimeSelectionClocks.js +64 -28
  113. package/dist/TimeSelectionClocks.js.map +1 -1
  114. package/dist/TimeSelectionClocksTemplate.js +1 -1
  115. package/dist/TimeSelectionClocksTemplate.js.map +1 -1
  116. package/dist/Toolbar.d.ts +1 -3
  117. package/dist/Toolbar.js +3 -42
  118. package/dist/Toolbar.js.map +1 -1
  119. package/dist/ToolbarButton.d.ts +1 -5
  120. package/dist/ToolbarButton.js +6 -4
  121. package/dist/ToolbarButton.js.map +1 -1
  122. package/dist/ToolbarButtonTemplate.js +1 -1
  123. package/dist/ToolbarButtonTemplate.js.map +1 -1
  124. package/dist/ToolbarItem.d.ts +6 -17
  125. package/dist/ToolbarItem.js +18 -8
  126. package/dist/ToolbarItem.js.map +1 -1
  127. package/dist/ToolbarPopoverButtonTemplate.js +1 -1
  128. package/dist/ToolbarPopoverButtonTemplate.js.map +1 -1
  129. package/dist/ToolbarPopoverSelectTemplate.js +1 -1
  130. package/dist/ToolbarPopoverSelectTemplate.js.map +1 -1
  131. package/dist/ToolbarSelect.d.ts +9 -11
  132. package/dist/ToolbarSelect.js +41 -41
  133. package/dist/ToolbarSelect.js.map +1 -1
  134. package/dist/ToolbarSelectTemplate.js +1 -1
  135. package/dist/ToolbarSelectTemplate.js.map +1 -1
  136. package/dist/ToolbarTemplate.js +1 -1
  137. package/dist/ToolbarTemplate.js.map +1 -1
  138. package/dist/TreeItemCustom.js +5 -1
  139. package/dist/TreeItemCustom.js.map +1 -1
  140. package/dist/bundle.esm.d.ts +0 -2
  141. package/dist/bundle.esm.js +1 -7
  142. package/dist/bundle.esm.js.map +1 -1
  143. package/dist/colorpicker-utils/ColorValue.d.ts +53 -0
  144. package/dist/colorpicker-utils/ColorValue.js +143 -0
  145. package/dist/colorpicker-utils/ColorValue.js.map +1 -0
  146. package/dist/css/themes/Avatar.css +1 -1
  147. package/dist/css/themes/AvatarGroup.css +1 -1
  148. package/dist/css/themes/Bar.css +1 -1
  149. package/dist/css/themes/Breadcrumbs.css +1 -1
  150. package/dist/css/themes/BusyIndicator.css +1 -1
  151. package/dist/css/themes/Button.css +1 -1
  152. package/dist/css/themes/ButtonBadge.css +1 -0
  153. package/dist/css/themes/Calendar.css +1 -1
  154. package/dist/css/themes/CalendarHeader.css +1 -1
  155. package/dist/css/themes/CalendarLegend.css +1 -1
  156. package/dist/css/themes/CalendarLegendItem.css +1 -1
  157. package/dist/css/themes/Card.css +1 -1
  158. package/dist/css/themes/CardHeader.css +1 -1
  159. package/dist/css/themes/Carousel.css +1 -1
  160. package/dist/css/themes/CheckBox.css +1 -1
  161. package/dist/css/themes/ColorPalette.css +1 -1
  162. package/dist/css/themes/ColorPaletteItem.css +1 -1
  163. package/dist/css/themes/ColorPalettePopover.css +1 -1
  164. package/dist/css/themes/ColorPicker.css +1 -1
  165. package/dist/css/themes/ComboBox.css +1 -1
  166. package/dist/css/themes/ComboBoxItem.css +1 -1
  167. package/dist/css/themes/DatePicker.css +1 -1
  168. package/dist/css/themes/DateTimePickerPopover.css +1 -1
  169. package/dist/css/themes/DayPicker.css +1 -1
  170. package/dist/css/themes/Dialog.css +1 -1
  171. package/dist/css/themes/FileUploader.css +1 -1
  172. package/dist/css/themes/Form.css +1 -1
  173. package/dist/css/themes/FormItem.css +1 -1
  174. package/dist/css/themes/FormItemSpan.css +1 -1
  175. package/dist/css/themes/GrowingButton.css +1 -1
  176. package/dist/css/themes/Icon.css +1 -1
  177. package/dist/css/themes/Input.css +1 -1
  178. package/dist/css/themes/InputIcon.css +1 -1
  179. package/dist/css/themes/InputSharedStyles.css +1 -1
  180. package/dist/css/themes/Link.css +1 -1
  181. package/dist/css/themes/List.css +1 -1
  182. package/dist/css/themes/ListItem.css +1 -1
  183. package/dist/css/themes/ListItemBase.css +1 -1
  184. package/dist/css/themes/ListItemCustom.css +1 -1
  185. package/dist/css/themes/ListItemGroup.css +1 -1
  186. package/dist/css/themes/ListItemGroupHeader.css +1 -1
  187. package/dist/css/themes/ListItemIcon.css +1 -1
  188. package/dist/css/themes/Menu.css +1 -1
  189. package/dist/css/themes/MenuItem.css +1 -1
  190. package/dist/css/themes/MessageStrip.css +1 -1
  191. package/dist/css/themes/MonthPicker.css +1 -1
  192. package/dist/css/themes/MultiComboBox.css +1 -1
  193. package/dist/css/themes/MultiComboBoxItem.css +1 -1
  194. package/dist/css/themes/MultiComboBoxPopover.css +1 -1
  195. package/dist/css/themes/MultiInput.css +1 -1
  196. package/dist/css/themes/OptionBase.css +1 -1
  197. package/dist/css/themes/Panel.css +1 -1
  198. package/dist/css/themes/Popover.css +1 -1
  199. package/dist/css/themes/PopupsCommon.css +1 -1
  200. package/dist/css/themes/ProgressIndicator.css +1 -1
  201. package/dist/css/themes/RadioButton.css +1 -1
  202. package/dist/css/themes/RangeSlider.css +1 -1
  203. package/dist/css/themes/RatingIndicator.css +1 -1
  204. package/dist/css/themes/ResponsivePopover.css +1 -1
  205. package/dist/css/themes/ResponsivePopoverCommon.css +1 -1
  206. package/dist/css/themes/SegmentedButton.css +1 -1
  207. package/dist/css/themes/SegmentedButtonItem.css +1 -1
  208. package/dist/css/themes/Select.css +1 -1
  209. package/dist/css/themes/SliderBase.css +1 -1
  210. package/dist/css/themes/SplitButton.css +1 -1
  211. package/dist/css/themes/StepInput.css +1 -1
  212. package/dist/css/themes/SuggestionItem.css +1 -1
  213. package/dist/css/themes/SuggestionItemCustom.css +1 -1
  214. package/dist/css/themes/Switch.css +1 -1
  215. package/dist/css/themes/TabContainer.css +1 -1
  216. package/dist/css/themes/TabInOverflow.css +1 -1
  217. package/dist/css/themes/TabInStrip.css +1 -1
  218. package/dist/css/themes/TabSemanticIcon.css +1 -1
  219. package/dist/css/themes/TabSeparatorInOverflow.css +1 -1
  220. package/dist/css/themes/Table.css +1 -1
  221. package/dist/css/themes/TableCellBase.css +1 -1
  222. package/dist/css/themes/TableHeaderRow.css +1 -1
  223. package/dist/css/themes/TableRow.css +1 -1
  224. package/dist/css/themes/TableRowActionBase.css +1 -1
  225. package/dist/css/themes/TableRowBase.css +1 -1
  226. package/dist/css/themes/Tag.css +1 -1
  227. package/dist/css/themes/Text.css +1 -1
  228. package/dist/css/themes/TextArea.css +1 -1
  229. package/dist/css/themes/TimePicker.css +1 -1
  230. package/dist/css/themes/TimePickerClock.css +1 -1
  231. package/dist/css/themes/TimePickerPopover.css +1 -1
  232. package/dist/css/themes/Toast.css +1 -1
  233. package/dist/css/themes/ToggleButton.css +1 -1
  234. package/dist/css/themes/Token.css +1 -1
  235. package/dist/css/themes/Tokenizer.css +1 -1
  236. package/dist/css/themes/TokenizerPopover.css +1 -1
  237. package/dist/css/themes/Toolbar.css +1 -1
  238. package/dist/css/themes/ToolbarPopover.css +1 -1
  239. package/dist/css/themes/TreeItem.css +1 -1
  240. package/dist/css/themes/ValueStateMessage.css +1 -1
  241. package/dist/css/themes/YearPicker.css +1 -1
  242. package/dist/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
  243. package/dist/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
  244. package/dist/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
  245. package/dist/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
  246. package/dist/css/themes/sap_horizon/parameters-bundle.css +1 -1
  247. package/dist/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
  248. package/dist/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
  249. package/dist/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
  250. package/dist/custom-elements-internal.json +222 -46
  251. package/dist/custom-elements.json +168 -45
  252. package/dist/features/ColorPaletteMoreColors.d.ts +1 -11
  253. package/dist/features/ColorPaletteMoreColors.js +3 -18
  254. package/dist/features/ColorPaletteMoreColors.js.map +1 -1
  255. package/dist/features/ColorPaletteMoreColorsTemplate.js +1 -1
  256. package/dist/features/ColorPaletteMoreColorsTemplate.js.map +1 -1
  257. package/dist/features/InputSuggestions.d.ts +1 -2
  258. package/dist/features/InputSuggestions.js +3 -5
  259. package/dist/features/InputSuggestions.js.map +1 -1
  260. package/dist/generated/assets/i18n/messagebundle_ar.json +1 -1
  261. package/dist/generated/assets/i18n/messagebundle_bg.json +1 -1
  262. package/dist/generated/assets/i18n/messagebundle_ca.json +1 -1
  263. package/dist/generated/assets/i18n/messagebundle_cnr.json +1 -1
  264. package/dist/generated/assets/i18n/messagebundle_cs.json +1 -1
  265. package/dist/generated/assets/i18n/messagebundle_cy.json +1 -1
  266. package/dist/generated/assets/i18n/messagebundle_da.json +1 -1
  267. package/dist/generated/assets/i18n/messagebundle_de.json +1 -1
  268. package/dist/generated/assets/i18n/messagebundle_el.json +1 -1
  269. package/dist/generated/assets/i18n/messagebundle_en.json +1 -1
  270. package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -1
  271. package/dist/generated/assets/i18n/messagebundle_en_US_sappsd.json +1 -1
  272. package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -1
  273. package/dist/generated/assets/i18n/messagebundle_en_US_saptrc.json +1 -1
  274. package/dist/generated/assets/i18n/messagebundle_es.json +1 -1
  275. package/dist/generated/assets/i18n/messagebundle_es_MX.json +1 -1
  276. package/dist/generated/assets/i18n/messagebundle_et.json +1 -1
  277. package/dist/generated/assets/i18n/messagebundle_fi.json +1 -1
  278. package/dist/generated/assets/i18n/messagebundle_fr.json +1 -1
  279. package/dist/generated/assets/i18n/messagebundle_fr_CA.json +1 -1
  280. package/dist/generated/assets/i18n/messagebundle_hi.json +1 -1
  281. package/dist/generated/assets/i18n/messagebundle_hr.json +1 -1
  282. package/dist/generated/assets/i18n/messagebundle_hu.json +1 -1
  283. package/dist/generated/assets/i18n/messagebundle_it.json +1 -1
  284. package/dist/generated/assets/i18n/messagebundle_iw.json +1 -1
  285. package/dist/generated/assets/i18n/messagebundle_ja.json +1 -1
  286. package/dist/generated/assets/i18n/messagebundle_kk.json +1 -1
  287. package/dist/generated/assets/i18n/messagebundle_ko.json +1 -1
  288. package/dist/generated/assets/i18n/messagebundle_lt.json +1 -1
  289. package/dist/generated/assets/i18n/messagebundle_lv.json +1 -1
  290. package/dist/generated/assets/i18n/messagebundle_mk.json +1 -1
  291. package/dist/generated/assets/i18n/messagebundle_ms.json +1 -1
  292. package/dist/generated/assets/i18n/messagebundle_nl.json +1 -1
  293. package/dist/generated/assets/i18n/messagebundle_no.json +1 -1
  294. package/dist/generated/assets/i18n/messagebundle_pl.json +1 -1
  295. package/dist/generated/assets/i18n/messagebundle_pt.json +1 -1
  296. package/dist/generated/assets/i18n/messagebundle_pt_PT.json +1 -1
  297. package/dist/generated/assets/i18n/messagebundle_ro.json +1 -1
  298. package/dist/generated/assets/i18n/messagebundle_ru.json +1 -1
  299. package/dist/generated/assets/i18n/messagebundle_sh.json +1 -1
  300. package/dist/generated/assets/i18n/messagebundle_sk.json +1 -1
  301. package/dist/generated/assets/i18n/messagebundle_sl.json +1 -1
  302. package/dist/generated/assets/i18n/messagebundle_sr.json +1 -1
  303. package/dist/generated/assets/i18n/messagebundle_sv.json +1 -1
  304. package/dist/generated/assets/i18n/messagebundle_th.json +1 -1
  305. package/dist/generated/assets/i18n/messagebundle_tr.json +1 -1
  306. package/dist/generated/assets/i18n/messagebundle_uk.json +1 -1
  307. package/dist/generated/assets/i18n/messagebundle_vi.json +1 -1
  308. package/dist/generated/assets/i18n/messagebundle_zh_CN.json +1 -1
  309. package/dist/generated/assets/i18n/messagebundle_zh_TW.json +1 -1
  310. package/dist/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json +1 -1
  311. package/dist/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json +1 -1
  312. package/dist/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json +1 -1
  313. package/dist/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json +1 -1
  314. package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -1
  315. package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -1
  316. package/dist/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json +1 -1
  317. package/dist/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json +1 -1
  318. package/dist/generated/i18n/i18n-defaults.d.ts +5 -2
  319. package/dist/generated/i18n/i18n-defaults.js +6 -3
  320. package/dist/generated/i18n/i18n-defaults.js.map +1 -1
  321. package/dist/generated/themes/Avatar.css.d.ts +1 -1
  322. package/dist/generated/themes/Avatar.css.js +1 -1
  323. package/dist/generated/themes/Avatar.css.js.map +1 -1
  324. package/dist/generated/themes/AvatarGroup.css.d.ts +1 -1
  325. package/dist/generated/themes/AvatarGroup.css.js +1 -1
  326. package/dist/generated/themes/AvatarGroup.css.js.map +1 -1
  327. package/dist/generated/themes/Bar.css.d.ts +1 -1
  328. package/dist/generated/themes/Bar.css.js +1 -1
  329. package/dist/generated/themes/Bar.css.js.map +1 -1
  330. package/dist/generated/themes/Breadcrumbs.css.d.ts +1 -1
  331. package/dist/generated/themes/Breadcrumbs.css.js +1 -1
  332. package/dist/generated/themes/Breadcrumbs.css.js.map +1 -1
  333. package/dist/generated/themes/BusyIndicator.css.d.ts +1 -1
  334. package/dist/generated/themes/BusyIndicator.css.js +1 -1
  335. package/dist/generated/themes/BusyIndicator.css.js.map +1 -1
  336. package/dist/generated/themes/Button.css.d.ts +1 -1
  337. package/dist/generated/themes/Button.css.js +1 -1
  338. package/dist/generated/themes/Button.css.js.map +1 -1
  339. package/dist/generated/themes/ButtonBadge.css.d.ts +2 -0
  340. package/dist/generated/themes/ButtonBadge.css.js +8 -0
  341. package/dist/generated/themes/ButtonBadge.css.js.map +1 -0
  342. package/dist/generated/themes/Calendar.css.d.ts +1 -1
  343. package/dist/generated/themes/Calendar.css.js +1 -1
  344. package/dist/generated/themes/Calendar.css.js.map +1 -1
  345. package/dist/generated/themes/CalendarHeader.css.d.ts +1 -1
  346. package/dist/generated/themes/CalendarHeader.css.js +1 -1
  347. package/dist/generated/themes/CalendarHeader.css.js.map +1 -1
  348. package/dist/generated/themes/CalendarLegend.css.d.ts +1 -1
  349. package/dist/generated/themes/CalendarLegend.css.js +1 -1
  350. package/dist/generated/themes/CalendarLegend.css.js.map +1 -1
  351. package/dist/generated/themes/CalendarLegendItem.css.d.ts +1 -1
  352. package/dist/generated/themes/CalendarLegendItem.css.js +1 -1
  353. package/dist/generated/themes/CalendarLegendItem.css.js.map +1 -1
  354. package/dist/generated/themes/Card.css.d.ts +1 -1
  355. package/dist/generated/themes/Card.css.js +1 -1
  356. package/dist/generated/themes/Card.css.js.map +1 -1
  357. package/dist/generated/themes/CardHeader.css.d.ts +1 -1
  358. package/dist/generated/themes/CardHeader.css.js +1 -1
  359. package/dist/generated/themes/CardHeader.css.js.map +1 -1
  360. package/dist/generated/themes/Carousel.css.d.ts +1 -1
  361. package/dist/generated/themes/Carousel.css.js +1 -1
  362. package/dist/generated/themes/Carousel.css.js.map +1 -1
  363. package/dist/generated/themes/CheckBox.css.d.ts +1 -1
  364. package/dist/generated/themes/CheckBox.css.js +1 -1
  365. package/dist/generated/themes/CheckBox.css.js.map +1 -1
  366. package/dist/generated/themes/ColorPalette.css.d.ts +1 -1
  367. package/dist/generated/themes/ColorPalette.css.js +1 -1
  368. package/dist/generated/themes/ColorPalette.css.js.map +1 -1
  369. package/dist/generated/themes/ColorPaletteItem.css.d.ts +1 -1
  370. package/dist/generated/themes/ColorPaletteItem.css.js +1 -1
  371. package/dist/generated/themes/ColorPaletteItem.css.js.map +1 -1
  372. package/dist/generated/themes/ColorPalettePopover.css.d.ts +1 -1
  373. package/dist/generated/themes/ColorPalettePopover.css.js +1 -1
  374. package/dist/generated/themes/ColorPalettePopover.css.js.map +1 -1
  375. package/dist/generated/themes/ColorPicker.css.d.ts +1 -1
  376. package/dist/generated/themes/ColorPicker.css.js +1 -1
  377. package/dist/generated/themes/ColorPicker.css.js.map +1 -1
  378. package/dist/generated/themes/ComboBox.css.d.ts +1 -1
  379. package/dist/generated/themes/ComboBox.css.js +1 -1
  380. package/dist/generated/themes/ComboBox.css.js.map +1 -1
  381. package/dist/generated/themes/ComboBoxItem.css.d.ts +1 -1
  382. package/dist/generated/themes/ComboBoxItem.css.js +1 -1
  383. package/dist/generated/themes/ComboBoxItem.css.js.map +1 -1
  384. package/dist/generated/themes/DatePicker.css.d.ts +1 -1
  385. package/dist/generated/themes/DatePicker.css.js +1 -1
  386. package/dist/generated/themes/DatePicker.css.js.map +1 -1
  387. package/dist/generated/themes/DateTimePickerPopover.css.d.ts +1 -1
  388. package/dist/generated/themes/DateTimePickerPopover.css.js +1 -1
  389. package/dist/generated/themes/DateTimePickerPopover.css.js.map +1 -1
  390. package/dist/generated/themes/DayPicker.css.d.ts +1 -1
  391. package/dist/generated/themes/DayPicker.css.js +1 -1
  392. package/dist/generated/themes/DayPicker.css.js.map +1 -1
  393. package/dist/generated/themes/Dialog.css.d.ts +1 -1
  394. package/dist/generated/themes/Dialog.css.js +1 -1
  395. package/dist/generated/themes/Dialog.css.js.map +1 -1
  396. package/dist/generated/themes/FileUploader.css.d.ts +1 -1
  397. package/dist/generated/themes/FileUploader.css.js +1 -1
  398. package/dist/generated/themes/FileUploader.css.js.map +1 -1
  399. package/dist/generated/themes/Form.css.d.ts +1 -1
  400. package/dist/generated/themes/Form.css.js +1 -1
  401. package/dist/generated/themes/Form.css.js.map +1 -1
  402. package/dist/generated/themes/FormItem.css.d.ts +1 -1
  403. package/dist/generated/themes/FormItem.css.js +1 -1
  404. package/dist/generated/themes/FormItem.css.js.map +1 -1
  405. package/dist/generated/themes/FormItemSpan.css.d.ts +1 -1
  406. package/dist/generated/themes/FormItemSpan.css.js +1 -1
  407. package/dist/generated/themes/FormItemSpan.css.js.map +1 -1
  408. package/dist/generated/themes/GrowingButton.css.d.ts +1 -1
  409. package/dist/generated/themes/GrowingButton.css.js +1 -1
  410. package/dist/generated/themes/GrowingButton.css.js.map +1 -1
  411. package/dist/generated/themes/Icon.css.d.ts +1 -1
  412. package/dist/generated/themes/Icon.css.js +1 -1
  413. package/dist/generated/themes/Icon.css.js.map +1 -1
  414. package/dist/generated/themes/Input.css.d.ts +1 -1
  415. package/dist/generated/themes/Input.css.js +1 -1
  416. package/dist/generated/themes/Input.css.js.map +1 -1
  417. package/dist/generated/themes/InputIcon.css.d.ts +1 -1
  418. package/dist/generated/themes/InputIcon.css.js +1 -1
  419. package/dist/generated/themes/InputIcon.css.js.map +1 -1
  420. package/dist/generated/themes/InputSharedStyles.css.d.ts +1 -1
  421. package/dist/generated/themes/InputSharedStyles.css.js +1 -1
  422. package/dist/generated/themes/InputSharedStyles.css.js.map +1 -1
  423. package/dist/generated/themes/Link.css.d.ts +1 -1
  424. package/dist/generated/themes/Link.css.js +1 -1
  425. package/dist/generated/themes/Link.css.js.map +1 -1
  426. package/dist/generated/themes/List.css.d.ts +1 -1
  427. package/dist/generated/themes/List.css.js +1 -1
  428. package/dist/generated/themes/List.css.js.map +1 -1
  429. package/dist/generated/themes/ListItem.css.d.ts +1 -1
  430. package/dist/generated/themes/ListItem.css.js +1 -1
  431. package/dist/generated/themes/ListItem.css.js.map +1 -1
  432. package/dist/generated/themes/ListItemBase.css.d.ts +1 -1
  433. package/dist/generated/themes/ListItemBase.css.js +1 -1
  434. package/dist/generated/themes/ListItemBase.css.js.map +1 -1
  435. package/dist/generated/themes/ListItemCustom.css.d.ts +1 -1
  436. package/dist/generated/themes/ListItemCustom.css.js +1 -1
  437. package/dist/generated/themes/ListItemCustom.css.js.map +1 -1
  438. package/dist/generated/themes/ListItemGroup.css.d.ts +1 -1
  439. package/dist/generated/themes/ListItemGroup.css.js +1 -1
  440. package/dist/generated/themes/ListItemGroup.css.js.map +1 -1
  441. package/dist/generated/themes/ListItemGroupHeader.css.d.ts +1 -1
  442. package/dist/generated/themes/ListItemGroupHeader.css.js +1 -1
  443. package/dist/generated/themes/ListItemGroupHeader.css.js.map +1 -1
  444. package/dist/generated/themes/ListItemIcon.css.d.ts +1 -1
  445. package/dist/generated/themes/ListItemIcon.css.js +1 -1
  446. package/dist/generated/themes/ListItemIcon.css.js.map +1 -1
  447. package/dist/generated/themes/Menu.css.d.ts +1 -1
  448. package/dist/generated/themes/Menu.css.js +1 -1
  449. package/dist/generated/themes/Menu.css.js.map +1 -1
  450. package/dist/generated/themes/MenuItem.css.d.ts +1 -1
  451. package/dist/generated/themes/MenuItem.css.js +1 -1
  452. package/dist/generated/themes/MenuItem.css.js.map +1 -1
  453. package/dist/generated/themes/MessageStrip.css.d.ts +1 -1
  454. package/dist/generated/themes/MessageStrip.css.js +1 -1
  455. package/dist/generated/themes/MessageStrip.css.js.map +1 -1
  456. package/dist/generated/themes/MonthPicker.css.d.ts +1 -1
  457. package/dist/generated/themes/MonthPicker.css.js +1 -1
  458. package/dist/generated/themes/MonthPicker.css.js.map +1 -1
  459. package/dist/generated/themes/MultiComboBox.css.d.ts +1 -1
  460. package/dist/generated/themes/MultiComboBox.css.js +1 -1
  461. package/dist/generated/themes/MultiComboBox.css.js.map +1 -1
  462. package/dist/generated/themes/MultiComboBoxItem.css.d.ts +1 -1
  463. package/dist/generated/themes/MultiComboBoxItem.css.js +1 -1
  464. package/dist/generated/themes/MultiComboBoxItem.css.js.map +1 -1
  465. package/dist/generated/themes/MultiComboBoxPopover.css.d.ts +1 -1
  466. package/dist/generated/themes/MultiComboBoxPopover.css.js +1 -1
  467. package/dist/generated/themes/MultiComboBoxPopover.css.js.map +1 -1
  468. package/dist/generated/themes/MultiInput.css.d.ts +1 -1
  469. package/dist/generated/themes/MultiInput.css.js +1 -1
  470. package/dist/generated/themes/MultiInput.css.js.map +1 -1
  471. package/dist/generated/themes/OptionBase.css.d.ts +1 -1
  472. package/dist/generated/themes/OptionBase.css.js +1 -1
  473. package/dist/generated/themes/OptionBase.css.js.map +1 -1
  474. package/dist/generated/themes/Panel.css.d.ts +1 -1
  475. package/dist/generated/themes/Panel.css.js +1 -1
  476. package/dist/generated/themes/Panel.css.js.map +1 -1
  477. package/dist/generated/themes/Popover.css.d.ts +1 -1
  478. package/dist/generated/themes/Popover.css.js +1 -1
  479. package/dist/generated/themes/Popover.css.js.map +1 -1
  480. package/dist/generated/themes/PopupsCommon.css.d.ts +1 -1
  481. package/dist/generated/themes/PopupsCommon.css.js +1 -1
  482. package/dist/generated/themes/PopupsCommon.css.js.map +1 -1
  483. package/dist/generated/themes/ProgressIndicator.css.d.ts +1 -1
  484. package/dist/generated/themes/ProgressIndicator.css.js +1 -1
  485. package/dist/generated/themes/ProgressIndicator.css.js.map +1 -1
  486. package/dist/generated/themes/RadioButton.css.d.ts +1 -1
  487. package/dist/generated/themes/RadioButton.css.js +1 -1
  488. package/dist/generated/themes/RadioButton.css.js.map +1 -1
  489. package/dist/generated/themes/RangeSlider.css.d.ts +1 -1
  490. package/dist/generated/themes/RangeSlider.css.js +1 -1
  491. package/dist/generated/themes/RangeSlider.css.js.map +1 -1
  492. package/dist/generated/themes/RatingIndicator.css.d.ts +1 -1
  493. package/dist/generated/themes/RatingIndicator.css.js +1 -1
  494. package/dist/generated/themes/RatingIndicator.css.js.map +1 -1
  495. package/dist/generated/themes/ResponsivePopover.css.d.ts +1 -1
  496. package/dist/generated/themes/ResponsivePopover.css.js +1 -1
  497. package/dist/generated/themes/ResponsivePopover.css.js.map +1 -1
  498. package/dist/generated/themes/ResponsivePopoverCommon.css.d.ts +1 -1
  499. package/dist/generated/themes/ResponsivePopoverCommon.css.js +1 -1
  500. package/dist/generated/themes/ResponsivePopoverCommon.css.js.map +1 -1
  501. package/dist/generated/themes/SegmentedButton.css.d.ts +1 -1
  502. package/dist/generated/themes/SegmentedButton.css.js +1 -1
  503. package/dist/generated/themes/SegmentedButton.css.js.map +1 -1
  504. package/dist/generated/themes/SegmentedButtonItem.css.d.ts +1 -1
  505. package/dist/generated/themes/SegmentedButtonItem.css.js +1 -1
  506. package/dist/generated/themes/SegmentedButtonItem.css.js.map +1 -1
  507. package/dist/generated/themes/Select.css.d.ts +1 -1
  508. package/dist/generated/themes/Select.css.js +1 -1
  509. package/dist/generated/themes/Select.css.js.map +1 -1
  510. package/dist/generated/themes/SliderBase.css.d.ts +1 -1
  511. package/dist/generated/themes/SliderBase.css.js +1 -1
  512. package/dist/generated/themes/SliderBase.css.js.map +1 -1
  513. package/dist/generated/themes/SplitButton.css.d.ts +1 -1
  514. package/dist/generated/themes/SplitButton.css.js +1 -1
  515. package/dist/generated/themes/SplitButton.css.js.map +1 -1
  516. package/dist/generated/themes/StepInput.css.d.ts +1 -1
  517. package/dist/generated/themes/StepInput.css.js +1 -1
  518. package/dist/generated/themes/StepInput.css.js.map +1 -1
  519. package/dist/generated/themes/SuggestionItem.css.d.ts +1 -1
  520. package/dist/generated/themes/SuggestionItem.css.js +1 -1
  521. package/dist/generated/themes/SuggestionItem.css.js.map +1 -1
  522. package/dist/generated/themes/SuggestionItemCustom.css.d.ts +1 -1
  523. package/dist/generated/themes/SuggestionItemCustom.css.js +1 -1
  524. package/dist/generated/themes/SuggestionItemCustom.css.js.map +1 -1
  525. package/dist/generated/themes/Switch.css.d.ts +1 -1
  526. package/dist/generated/themes/Switch.css.js +1 -1
  527. package/dist/generated/themes/Switch.css.js.map +1 -1
  528. package/dist/generated/themes/TabContainer.css.d.ts +1 -1
  529. package/dist/generated/themes/TabContainer.css.js +1 -1
  530. package/dist/generated/themes/TabContainer.css.js.map +1 -1
  531. package/dist/generated/themes/TabInOverflow.css.d.ts +1 -1
  532. package/dist/generated/themes/TabInOverflow.css.js +1 -1
  533. package/dist/generated/themes/TabInOverflow.css.js.map +1 -1
  534. package/dist/generated/themes/TabInStrip.css.d.ts +1 -1
  535. package/dist/generated/themes/TabInStrip.css.js +1 -1
  536. package/dist/generated/themes/TabInStrip.css.js.map +1 -1
  537. package/dist/generated/themes/TabSemanticIcon.css.d.ts +1 -1
  538. package/dist/generated/themes/TabSemanticIcon.css.js +1 -1
  539. package/dist/generated/themes/TabSemanticIcon.css.js.map +1 -1
  540. package/dist/generated/themes/TabSeparatorInOverflow.css.d.ts +1 -1
  541. package/dist/generated/themes/TabSeparatorInOverflow.css.js +1 -1
  542. package/dist/generated/themes/TabSeparatorInOverflow.css.js.map +1 -1
  543. package/dist/generated/themes/Table.css.d.ts +1 -1
  544. package/dist/generated/themes/Table.css.js +1 -1
  545. package/dist/generated/themes/Table.css.js.map +1 -1
  546. package/dist/generated/themes/TableCellBase.css.d.ts +1 -1
  547. package/dist/generated/themes/TableCellBase.css.js +1 -1
  548. package/dist/generated/themes/TableCellBase.css.js.map +1 -1
  549. package/dist/generated/themes/TableHeaderRow.css.d.ts +1 -1
  550. package/dist/generated/themes/TableHeaderRow.css.js +1 -1
  551. package/dist/generated/themes/TableHeaderRow.css.js.map +1 -1
  552. package/dist/generated/themes/TableRow.css.d.ts +1 -1
  553. package/dist/generated/themes/TableRow.css.js +1 -1
  554. package/dist/generated/themes/TableRow.css.js.map +1 -1
  555. package/dist/generated/themes/TableRowActionBase.css.d.ts +1 -1
  556. package/dist/generated/themes/TableRowActionBase.css.js +1 -1
  557. package/dist/generated/themes/TableRowActionBase.css.js.map +1 -1
  558. package/dist/generated/themes/TableRowBase.css.d.ts +1 -1
  559. package/dist/generated/themes/TableRowBase.css.js +1 -1
  560. package/dist/generated/themes/TableRowBase.css.js.map +1 -1
  561. package/dist/generated/themes/Tag.css.d.ts +1 -1
  562. package/dist/generated/themes/Tag.css.js +1 -1
  563. package/dist/generated/themes/Tag.css.js.map +1 -1
  564. package/dist/generated/themes/Text.css.d.ts +1 -1
  565. package/dist/generated/themes/Text.css.js +1 -1
  566. package/dist/generated/themes/Text.css.js.map +1 -1
  567. package/dist/generated/themes/TextArea.css.d.ts +1 -1
  568. package/dist/generated/themes/TextArea.css.js +1 -1
  569. package/dist/generated/themes/TextArea.css.js.map +1 -1
  570. package/dist/generated/themes/TimePicker.css.d.ts +1 -1
  571. package/dist/generated/themes/TimePicker.css.js +1 -1
  572. package/dist/generated/themes/TimePicker.css.js.map +1 -1
  573. package/dist/generated/themes/TimePickerClock.css.d.ts +1 -1
  574. package/dist/generated/themes/TimePickerClock.css.js +1 -1
  575. package/dist/generated/themes/TimePickerClock.css.js.map +1 -1
  576. package/dist/generated/themes/TimePickerPopover.css.d.ts +1 -1
  577. package/dist/generated/themes/TimePickerPopover.css.js +1 -1
  578. package/dist/generated/themes/TimePickerPopover.css.js.map +1 -1
  579. package/dist/generated/themes/Toast.css.d.ts +1 -1
  580. package/dist/generated/themes/Toast.css.js +1 -1
  581. package/dist/generated/themes/Toast.css.js.map +1 -1
  582. package/dist/generated/themes/ToggleButton.css.d.ts +1 -1
  583. package/dist/generated/themes/ToggleButton.css.js +1 -1
  584. package/dist/generated/themes/ToggleButton.css.js.map +1 -1
  585. package/dist/generated/themes/Token.css.d.ts +1 -1
  586. package/dist/generated/themes/Token.css.js +1 -1
  587. package/dist/generated/themes/Token.css.js.map +1 -1
  588. package/dist/generated/themes/Tokenizer.css.d.ts +1 -1
  589. package/dist/generated/themes/Tokenizer.css.js +1 -1
  590. package/dist/generated/themes/Tokenizer.css.js.map +1 -1
  591. package/dist/generated/themes/TokenizerPopover.css.d.ts +1 -1
  592. package/dist/generated/themes/TokenizerPopover.css.js +1 -1
  593. package/dist/generated/themes/TokenizerPopover.css.js.map +1 -1
  594. package/dist/generated/themes/Toolbar.css.d.ts +1 -1
  595. package/dist/generated/themes/Toolbar.css.js +1 -1
  596. package/dist/generated/themes/Toolbar.css.js.map +1 -1
  597. package/dist/generated/themes/ToolbarPopover.css.d.ts +1 -1
  598. package/dist/generated/themes/ToolbarPopover.css.js +1 -1
  599. package/dist/generated/themes/ToolbarPopover.css.js.map +1 -1
  600. package/dist/generated/themes/TreeItem.css.d.ts +1 -1
  601. package/dist/generated/themes/TreeItem.css.js +1 -1
  602. package/dist/generated/themes/TreeItem.css.js.map +1 -1
  603. package/dist/generated/themes/ValueStateMessage.css.d.ts +1 -1
  604. package/dist/generated/themes/ValueStateMessage.css.js +1 -1
  605. package/dist/generated/themes/ValueStateMessage.css.js.map +1 -1
  606. package/dist/generated/themes/YearPicker.css.d.ts +1 -1
  607. package/dist/generated/themes/YearPicker.css.js +1 -1
  608. package/dist/generated/themes/YearPicker.css.js.map +1 -1
  609. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.d.ts +1 -1
  610. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
  611. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js.map +1 -1
  612. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.d.ts +1 -1
  613. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
  614. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js.map +1 -1
  615. package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.d.ts +1 -1
  616. package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
  617. package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js.map +1 -1
  618. package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.d.ts +1 -1
  619. package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
  620. package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js.map +1 -1
  621. package/dist/generated/themes/sap_horizon/parameters-bundle.css.d.ts +1 -1
  622. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +1 -1
  623. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js.map +1 -1
  624. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.d.ts +1 -1
  625. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +1 -1
  626. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js.map +1 -1
  627. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.d.ts +1 -1
  628. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +1 -1
  629. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js.map +1 -1
  630. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.d.ts +1 -1
  631. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +1 -1
  632. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js.map +1 -1
  633. package/dist/types/ButtonBadgeDesign.d.ts +25 -0
  634. package/dist/types/ButtonBadgeDesign.js +27 -0
  635. package/dist/types/ButtonBadgeDesign.js.map +1 -0
  636. package/dist/types/TableGrowingMode.d.ts +2 -0
  637. package/dist/types/TableGrowingMode.js +2 -0
  638. package/dist/types/TableGrowingMode.js.map +1 -1
  639. package/dist/vscode.html-custom-data.json +31 -10
  640. package/dist/web-types.json +80 -17
  641. package/package.json +13 -10
  642. package/src/ButtonBadgeTemplate.tsx +6 -0
  643. package/src/ButtonTemplate.tsx +10 -1
  644. package/src/CardHeaderTemplate.tsx +1 -2
  645. package/src/ColorPaletteTemplate.tsx +2 -2
  646. package/src/ColorPickerTemplate.tsx +37 -37
  647. package/src/SelectPopoverTemplate.tsx +2 -2
  648. package/src/TagTemplate.tsx +2 -1
  649. package/src/TimePickerClockTemplate.tsx +35 -36
  650. package/src/TimePickerPopoverTemplate.tsx +49 -1
  651. package/src/TimePickerTemplate.tsx +7 -5
  652. package/src/TimeSelectionClocksTemplate.tsx +2 -1
  653. package/src/ToolbarButtonTemplate.tsx +1 -0
  654. package/src/ToolbarPopoverButtonTemplate.tsx +1 -0
  655. package/src/ToolbarPopoverSelectTemplate.tsx +4 -0
  656. package/src/ToolbarSelectTemplate.tsx +4 -0
  657. package/src/ToolbarTemplate.tsx +1 -0
  658. package/src/features/ColorPaletteMoreColorsTemplate.tsx +2 -2
  659. package/src/i18n/messagebundle.properties +17 -8
  660. package/src/i18n/messagebundle_ar.properties +11 -1
  661. package/src/i18n/messagebundle_bg.properties +11 -1
  662. package/src/i18n/messagebundle_ca.properties +11 -1
  663. package/src/i18n/messagebundle_cnr.properties +11 -1
  664. package/src/i18n/messagebundle_cs.properties +10 -0
  665. package/src/i18n/messagebundle_cy.properties +11 -1
  666. package/src/i18n/messagebundle_da.properties +10 -0
  667. package/src/i18n/messagebundle_de.properties +12 -2
  668. package/src/i18n/messagebundle_el.properties +11 -1
  669. package/src/i18n/messagebundle_en.properties +11 -1
  670. package/src/i18n/messagebundle_en_GB.properties +11 -1
  671. package/src/i18n/messagebundle_en_US_sappsd.properties +11 -1
  672. package/src/i18n/messagebundle_en_US_saprigi.properties +11 -1
  673. package/src/i18n/messagebundle_en_US_saptrc.properties +11 -1
  674. package/src/i18n/messagebundle_es.properties +11 -1
  675. package/src/i18n/messagebundle_es_MX.properties +11 -1
  676. package/src/i18n/messagebundle_et.properties +11 -1
  677. package/src/i18n/messagebundle_fi.properties +11 -1
  678. package/src/i18n/messagebundle_fr.properties +11 -1
  679. package/src/i18n/messagebundle_fr_CA.properties +11 -1
  680. package/src/i18n/messagebundle_hi.properties +11 -1
  681. package/src/i18n/messagebundle_hr.properties +11 -1
  682. package/src/i18n/messagebundle_hu.properties +11 -1
  683. package/src/i18n/messagebundle_id.properties +11 -1
  684. package/src/i18n/messagebundle_it.properties +11 -1
  685. package/src/i18n/messagebundle_iw.properties +11 -1
  686. package/src/i18n/messagebundle_ja.properties +11 -1
  687. package/src/i18n/messagebundle_kk.properties +11 -1
  688. package/src/i18n/messagebundle_ko.properties +11 -1
  689. package/src/i18n/messagebundle_lt.properties +11 -1
  690. package/src/i18n/messagebundle_lv.properties +11 -1
  691. package/src/i18n/messagebundle_mk.properties +11 -1
  692. package/src/i18n/messagebundle_ms.properties +11 -1
  693. package/src/i18n/messagebundle_nl.properties +11 -1
  694. package/src/i18n/messagebundle_no.properties +11 -1
  695. package/src/i18n/messagebundle_pl.properties +11 -1
  696. package/src/i18n/messagebundle_pt.properties +11 -1
  697. package/src/i18n/messagebundle_pt_PT.properties +11 -1
  698. package/src/i18n/messagebundle_ro.properties +11 -1
  699. package/src/i18n/messagebundle_ru.properties +10 -0
  700. package/src/i18n/messagebundle_sh.properties +11 -1
  701. package/src/i18n/messagebundle_sk.properties +11 -1
  702. package/src/i18n/messagebundle_sl.properties +12 -2
  703. package/src/i18n/messagebundle_sr.properties +11 -1
  704. package/src/i18n/messagebundle_sv.properties +10 -0
  705. package/src/i18n/messagebundle_th.properties +11 -1
  706. package/src/i18n/messagebundle_tr.properties +10 -0
  707. package/src/i18n/messagebundle_uk.properties +14 -4
  708. package/src/i18n/messagebundle_vi.properties +11 -1
  709. package/src/i18n/messagebundle_zh_CN.properties +11 -1
  710. package/src/i18n/messagebundle_zh_TW.properties +11 -1
  711. package/src/themes/Button.css +37 -0
  712. package/src/themes/ButtonBadge.css +17 -0
  713. package/src/themes/ColorPicker.css +51 -41
  714. package/src/themes/SegmentedButton.css +1 -1
  715. package/src/themes/SplitButton.css +8 -8
  716. package/src/themes/Switch.css +2 -0
  717. package/src/themes/TabInOverflow.css +6 -6
  718. package/src/themes/TableRow.css +0 -1
  719. package/src/themes/TableRowBase.css +1 -0
  720. package/src/themes/TimePicker.css +4 -0
  721. package/src/themes/TimePickerClock.css +180 -9
  722. package/src/themes/TimePickerPopover.css +5 -0
  723. package/src/themes/base/ButtonBadge-parameters.css +3 -0
  724. package/src/themes/base/ColorPicker-parameters.css +5 -5
  725. package/src/themes/base/SegmentedButtton-parameters.css +0 -1
  726. package/src/themes/base/SplitButton-parameters.css +0 -2
  727. package/src/themes/base/TabContainer-parameters.css +2 -1
  728. package/src/themes/base/sizes-parameters.css +33 -1
  729. package/src/themes/sap_fiori_3/parameters-bundle.css +1 -0
  730. package/src/themes/sap_fiori_3/sizes-parameters.css +6 -0
  731. package/src/themes/sap_fiori_3_dark/parameters-bundle.css +1 -0
  732. package/src/themes/sap_fiori_3_dark/sizes-parameters.css +6 -0
  733. package/src/themes/sap_fiori_3_hcb/ColorPicker-parameters.css +5 -1
  734. package/src/themes/sap_fiori_3_hcb/SplitButton-parameters.css +0 -1
  735. package/src/themes/sap_fiori_3_hcb/TabContainer-parameters.css +2 -1
  736. package/src/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -0
  737. package/src/themes/sap_fiori_3_hcb/sizes-parameters.css +6 -0
  738. package/src/themes/sap_fiori_3_hcw/ColorPicker-parameters.css +5 -1
  739. package/src/themes/sap_fiori_3_hcw/SplitButton-parameters.css +0 -1
  740. package/src/themes/sap_fiori_3_hcw/TabContainer-parameters.css +2 -1
  741. package/src/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -0
  742. package/src/themes/sap_fiori_3_hcw/sizes-parameters.css +6 -0
  743. package/src/themes/sap_horizon/ColorPicker-parameters.css +0 -4
  744. package/src/themes/sap_horizon/SegmentedButtton-parameters.css +0 -1
  745. package/src/themes/sap_horizon/SplitButton-parameters.css +0 -1
  746. package/src/themes/sap_horizon/parameters-bundle.css +1 -0
  747. package/src/themes/sap_horizon/sizes-parameters.css +0 -1
  748. package/src/themes/sap_horizon_dark/ColorPicker-parameters.css +0 -4
  749. package/src/themes/sap_horizon_dark/SegmentedButtton-parameters.css +0 -1
  750. package/src/themes/sap_horizon_dark/SplitButton-parameters.css +0 -1
  751. package/src/themes/sap_horizon_dark/parameters-bundle.css +1 -0
  752. package/src/themes/sap_horizon_dark/sizes-parameters.css +0 -1
  753. package/src/themes/sap_horizon_hcb/ColorPicker-parameters.css +3 -4
  754. package/src/themes/sap_horizon_hcb/SegmentedButtton-parameters.css +0 -1
  755. package/src/themes/sap_horizon_hcb/SplitButton-parameters.css +0 -1
  756. package/src/themes/sap_horizon_hcb/TabContainer-parameters.css +2 -1
  757. package/src/themes/sap_horizon_hcb/parameters-bundle.css +1 -0
  758. package/src/themes/sap_horizon_hcb/sizes-parameters.css +3 -1
  759. package/src/themes/sap_horizon_hcw/ColorPicker-parameters.css +3 -4
  760. package/src/themes/sap_horizon_hcw/SegmentedButtton-parameters.css +0 -1
  761. package/src/themes/sap_horizon_hcw/SplitButton-parameters.css +0 -1
  762. package/src/themes/sap_horizon_hcw/TabContainer-parameters.css +2 -1
  763. package/src/themes/sap_horizon_hcw/parameters-bundle.css +1 -0
  764. package/src/themes/sap_horizon_hcw/sizes-parameters.css +3 -1
  765. package/vitest.config.js +9 -0
  766. package/dist/NavigationMenu.d.ts +0 -34
  767. package/dist/NavigationMenu.js +0 -64
  768. package/dist/NavigationMenu.js.map +0 -1
  769. package/dist/NavigationMenuItem.d.ts +0 -76
  770. package/dist/NavigationMenuItem.js +0 -76
  771. package/dist/NavigationMenuItem.js.map +0 -1
  772. package/dist/NavigationMenuItemTemplate.d.ts +0 -3
  773. package/dist/NavigationMenuItemTemplate.js +0 -44
  774. package/dist/NavigationMenuItemTemplate.js.map +0 -1
  775. package/dist/NavigationMenuTemplate.d.ts +0 -2
  776. package/dist/NavigationMenuTemplate.js +0 -15
  777. package/dist/NavigationMenuTemplate.js.map +0 -1
  778. package/dist/css/themes/NavigationMenu.css +0 -1
  779. package/dist/css/themes/NavigationMenuItem.css +0 -1
  780. package/dist/generated/themes/NavigationMenu.css.d.ts +0 -2
  781. package/dist/generated/themes/NavigationMenu.css.js +0 -8
  782. package/dist/generated/themes/NavigationMenu.css.js.map +0 -1
  783. package/dist/generated/themes/NavigationMenuItem.css.d.ts +0 -2
  784. package/dist/generated/themes/NavigationMenuItem.css.js +0 -8
  785. package/dist/generated/themes/NavigationMenuItem.css.js.map +0 -1
  786. package/src/NavigationMenuItemTemplate.tsx +0 -144
  787. package/src/NavigationMenuTemplate.tsx +0 -68
  788. package/src/themes/NavigationMenu.css +0 -17
  789. package/src/themes/NavigationMenuItem.css +0 -56
package/dist/Table.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Table.js","sourceRoot":"","sources":["../src/Table.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,KAAK,MAAM,yDAAyD,CAAC;AAC5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,yBAAyB,EAAE,MAAM,+DAA+D,CAAC;AAE1G,OAAO,aAAa,MAAM,wDAAwD,CAAC;AAEnF,OAAO,IAAI,MAAM,iDAAiD,CAAC;AAEnE,OAAO,aAAa,MAAM,4CAA4C,CAAC;AACvE,OAAO,WAAW,MAAM,iCAAiC,CAAC;AAC1D,OAAO,QAAQ,MAAM,eAAe,CAAC;AACrC,OAAO,cAAc,MAAM,qBAAqB,CAAC;AAEjD,OAAO,cAAc,MAAM,qBAAqB,CAAC;AAEjD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a;SACb;KACD,CAAC;IAEF;;;;;OAKG;;IACF,KAAK,CAAC,WAAW,EAAE;QACnB,OAAO,EAAE,KAAK;KACd,CAAC;IAEF;;;;;;;;;;;;OAYG;;IACF,KAAK,CAAC,WAAW,EAAE;QACnB,UAAU,EAAE,IAAI;QAChB,OAAO,EAAE,IAAI;KACb,CAAC;IAEF;;;;;;;;;;;;;;OAcG;;IACF,KAAK,CAAC,MAAM,EAAE;QACd,OAAO,EAAE,IAAI;KACb,CAAC;IAEF;;;;;;OAMG;;IACF,KAAK,CAAC,kBAAkB,EAAE;QAC1B,OAAO,EAAE,KAAK;KACd,CAAC;GAEI,KAAK,CAwbV;AAED,KAAK,CAAC,MAAM,EAAE,CAAC;AAEf,eAAe,KAAK,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 event from \"@ui5/webcomponents-base/dist/decorators/event-strict.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 ResizeHandler from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport i18n from \"@ui5/webcomponents-base/dist/decorators/i18n.js\";\nimport type { MoveEventDetail } from \"@ui5/webcomponents-base/dist/util/dragAndDrop/DragRegistry.js\";\nimport TableTemplate from \"./generated/templates/TableTemplate.lit.js\";\nimport TableStyles from \"./generated/themes/Table.css.js\";\nimport TableRow from \"./TableRow.js\";\nimport TableHeaderRow from \"./TableHeaderRow.js\";\nimport type TableHeaderCell from \"./TableHeaderCell.js\";\nimport TableExtension from \"./TableExtension.js\";\nimport type TableSelection from \"./TableSelection.js\";\nimport TableOverflowMode from \"./types/TableOverflowMode.js\";\nimport TableNavigation from \"./TableNavigation.js\";\nimport DropIndicator from \"./DropIndicator.js\";\nimport {\n\tTABLE_NO_DATA,\n} from \"./generated/i18n/i18n-defaults.js\";\nimport BusyIndicator from \"./BusyIndicator.js\";\nimport TableCell from \"./TableCell.js\";\nimport { findVerticalScrollContainer, scrollElementIntoView, isFeature } from \"./TableUtils.js\";\nimport TableDragAndDrop from \"./TableDragAndDrop.js\";\nimport type TableRowActionBase from \"./TableRowActionBase.js\";\nimport type TableVirtualizer from \"./TableVirtualizer.js\";\n\n/**\n * Interface for components that can be slotted inside the `features` slot of the `ui5-table`.\n *\n * @public\n * @experimental\n */\ninterface ITableFeature extends UI5Element {\n\treadonly identifier: string;\n\t/**\n\t * Called when the table is activated.\n\t * @param table table instance\n\t */\n\tonTableActivate?(table: Table): void;\n\t/**\n\t * Called when the table finished rendering.\n\t */\n\tonTableAfterRendering?(table?: Table): void;\n}\n\n/**\n * Interface for components that can be slotted inside the `features` slot of the `ui5-table`\n * and provide growing/data loading functionality.\n * @public\n * @experimental\n */\ninterface ITableGrowing extends ITableFeature {\n\t/**\n\t * Called when the table needs to load more data.\n\t */\n\tloadMore(): void;\n\t/**\n\t * Determines whether the table has a growing control, that should be rendered in the table.\n\t */\n\thasGrowingComponent(): boolean;\n\t_individualSlot?: string;\n}\n\n/**\n * Fired when an interactive row is clicked.\n * @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 * @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@event(\"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@event(\"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@event(\"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 * @since 2.6.0\n * @public\n */\n@event(\"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 * @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 * @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: number;\n\n\tconstructor() {\n\t\tsuper();\n\t\tthis._poppedIn = [];\n\t\tthis._containerWidth = 0;\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}\n\n\tonAfterRendering(): void {\n\t\tthis.features.forEach(feature => feature.onTableAfterRendering?.(this));\n\t}\n\n\t_getSelection(): TableSelection | undefined {\n\t\treturn this.features.find(feature => isFeature<TableSelection>(feature, \"TableSelection\")) as TableSelection;\n\t}\n\n\t_getVirtualizer(): TableVirtualizer | undefined {\n\t\treturn this.features.find(feature => isFeature<TableVirtualizer>(feature, \"TableVirtualizer\")) as TableVirtualizer;\n\t}\n\n\t_onEvent(e: Event) {\n\t\tconst composedPath = e.composedPath();\n\t\tconst eventOrigin = composedPath[0] as HTMLElement;\n\t\tconst elements = [this._tableNavigation, this._tableDragAndDrop, ...composedPath, ...this.features];\n\t\telements.forEach(element => {\n\t\t\tif (element instanceof TableExtension || (element instanceof HTMLElement && element.localName.includes(\"ui5-table\"))) {\n\t\t\t\tconst eventHandlerName = `_on${e.type}` as keyof typeof element;\n\t\t\t\tconst eventHandler = element[eventHandlerName] as (e?: Event, eventOrigin?: HTMLElement) => void;\n\t\t\t\tif (typeof eventHandler === \"function\") {\n\t\t\t\t\teventHandler.call(element, e, eventOrigin);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n\n\t_onResize() {\n\t\tconst { clientWidth, scrollWidth } = this._tableElement;\n\n\t\tif (scrollWidth > clientWidth) {\n\t\t\t// Overflow Handling: Move columns into the popin until overflow is resolved\n\t\t\tconst overflow = scrollWidth - clientWidth;\n\t\t\tconst headers = this._getPopinOrderedColumns(false);\n\t\t\tconst poppedInWidth = headers.reduce((totalPoppedInWidth, headerCell) => {\n\t\t\t\tif (totalPoppedInWidth < overflow && !headerCell._popin) {\n\t\t\t\t\tconst headerWidth = Math.ceil(headerCell.getBoundingClientRect().width);\n\t\t\t\t\ttotalPoppedInWidth += headerWidth;\n\t\t\t\t\tthis._setHeaderPopinState(headerCell, true, headerWidth);\n\t\t\t\t}\n\t\t\t\treturn totalPoppedInWidth;\n\t\t\t}, 0);\n\t\t\t// Calculate container width considering popped-in columns\n\t\t\tconst columnOverflow = poppedInWidth - overflow;\n\t\t\tthis._containerWidth = clientWidth - columnOverflow;\n\t\t} else {\n\t\t\t// Underflow Handling: Restore columns from popin until container width is met\n\t\t\tconst headers = this._getPopinOrderedColumns(true).filter(it => it._popin);\n\n\t\t\theaders.every(headerCell => {\n\t\t\t\tconst underflow = clientWidth - this._containerWidth;\n\t\t\t\tif (underflow >= headerCell._popinWidth) {\n\t\t\t\t\tthis._containerWidth += headerCell._popinWidth;\n\t\t\t\t\tthis._setHeaderPopinState(headerCell, false, 0);\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t});\n\t\t}\n\t}\n\n\t_onfocusin(e: FocusEvent) {\n\t\tif (e.target === this) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Handles focus in the table, when the focus is below a sticky element\n\t\tscrollElementIntoView(this._scrollContainer, e.target as HTMLElement, this._stickyElements, this.effectiveDir === \"rtl\");\n\t}\n\n\t/**\n\t * Refreshes the popin state of the columns.\n\t * Syncs the popin state of the columns with the popin state of the header cells.\n\t * This is needed when additional rows are manually added and no resize happens.\n\t * @private\n\t */\n\t_refreshPopinState() {\n\t\tthis.headerRow[0]?.cells.forEach((header, index) => {\n\t\t\tthis.rows.forEach(row => {\n\t\t\t\tconst cell = row.cells[index];\n\t\t\t\tif (cell && cell._popin !== header._popin) {\n\t\t\t\t\tcell._popin = header._popin;\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n\n\t_onGrow() {\n\t\tthis._growing?.loadMore();\n\t}\n\n\t_getPopinOrderedColumns(reverse: boolean) {\n\t\tlet headers = [...this.headerRow[0].cells];\n\t\theaders = headers.reverse(); // reverse the \"visual\" order\n\t\theaders = headers.sort((a, b) => a.importance - b.importance); // sort by importance (asc)\n\t\theaders.pop(); // remove the most important column, as it will not be popped in\n\n\t\tif (reverse) {\n\t\t\theaders = headers.reverse();\n\t\t}\n\n\t\treturn headers;\n\t}\n\n\t_setHeaderPopinState(headerCell: TableHeaderCell, inPopin: boolean, popinWidth: number) {\n\t\tconst headerIndex = this.headerRow[0].cells.indexOf(headerCell);\n\t\theaderCell._popin = inPopin;\n\t\theaderCell._popinWidth = popinWidth;\n\t\tthis.rows.forEach(row => {\n\t\t\trow.cells[headerIndex]._popin = inPopin;\n\t\t});\n\t}\n\n\t_isFeature(feature: any) {\n\t\treturn Boolean(feature.onTableActivate || feature.onTableAfterRendering);\n\t}\n\n\t_isGrowingFeature(feature: any) {\n\t\treturn Boolean(feature.loadMore && feature.hasGrowingComponent && this._isFeature(feature));\n\t}\n\n\t_onRowClick(row: TableRow) {\n\t\tthis.fireDecoratorEvent(\"row-click\", { row });\n\t}\n\n\t_onRowActionClick(action: TableRowActionBase) {\n\t\tconst row = action.parentElement as TableRow;\n\t\tthis.fireDecoratorEvent(\"row-action-click\", { action, row });\n\t}\n\n\tget styles() {\n\t\tconst virtualizer = this._getVirtualizer();\n\t\tconst headerStyleMap = this.headerRow?.[0]?.cells?.reduce((headerStyles, headerCell) => {\n\t\t\tif (headerCell.horizontalAlign !== undefined && !headerCell._popin) {\n\t\t\t\theaderStyles[`--horizontal-align-${headerCell._individualSlot}`] = headerCell.horizontalAlign;\n\t\t\t}\n\t\t\treturn headerStyles;\n\t\t}, {} as { [key: string]: string });\n\t\treturn {\n\t\t\ttable: {\n\t\t\t\t\"grid-template-columns\": this._gridTemplateColumns,\n\t\t\t\t\"--row-height\": virtualizer ? `${virtualizer.rowHeight}px` : \"auto\",\n\t\t\t\t...headerStyleMap,\n\t\t\t},\n\t\t\tspacer: {\n\t\t\t\t\"transform\": virtualizer?._getTransform(),\n\t\t\t\t\"will-change\": virtualizer && \"transform\",\n\t\t\t},\n\t\t};\n\t}\n\n\tget _gridTemplateColumns() {\n\t\tif (!this.headerRow[0]) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst widths = [];\n\t\tconst visibleHeaderCells = this.headerRow[0]._visibleCells as TableHeaderCell[];\n\t\tif (this._getSelection()?.hasRowSelector()) {\n\t\t\twidths.push(`var(${getScopedVarName(\"--_ui5_checkbox_width_height\")})`);\n\t\t}\n\t\twidths.push(...visibleHeaderCells.map(cell => {\n\t\t\tconst minWidth = cell.minWidth === \"auto\" ? \"3rem\" : cell.minWidth;\n\t\t\tif (cell.width === \"auto\" || cell.width.includes(\"%\") || cell.width.includes(\"fr\") || cell.width.includes(\"vw\")) {\n\t\t\t\treturn `minmax(${minWidth}, ${cell.maxWidth})`;\n\t\t\t}\n\t\t\treturn `minmax(${cell.width}, ${cell.width})`;\n\t\t}));\n\n\t\tif (this.rowActionCount > 0) {\n\t\t\twidths.push(`calc(var(${getScopedVarName(\"--_ui5_button_base_min_width\")}) * ${this.rowActionCount} + var(${getScopedVarName(\"--_ui5_table_row_actions_gap\")}) * ${this.rowActionCount - 1} + var(${getScopedVarName(\"--_ui5_table_cell_horizontal_padding\")}) * 2)`);\n\t\t}\n\n\t\tif (this._renderNavigated) {\n\t\t\twidths.push(`var(${getScopedVarName(\"--_ui5_table_navigated_cell_width\")})`);\n\t\t}\n\n\t\treturn widths.join(\" \");\n\t}\n\n\tget _tableOverflowX() {\n\t\treturn (this.overflowMode === TableOverflowMode.Popin) ? \"clip\" : \"auto\";\n\t}\n\n\tget _tableOverflowY() {\n\t\treturn \"auto\";\n\t}\n\n\tget _nodataRow() {\n\t\treturn this.shadowRoot!.getElementById(\"nodata-row\") as TableRow;\n\t}\n\n\tget _beforeElement() {\n\t\treturn this.shadowRoot!.getElementById(\"before\") as HTMLElement;\n\t}\n\n\tget _afterElement() {\n\t\treturn this.shadowRoot!.getElementById(\"after\") as HTMLElement;\n\t}\n\n\tget _tableElement() {\n\t\treturn this.shadowRoot!.getElementById(\"table\") as HTMLElement;\n\t}\n\n\tget _loadingElement() {\n\t\treturn this.shadowRoot!.getElementById(\"loading\") as HTMLElement;\n\t}\n\n\tget _effectiveNoDataText() {\n\t\treturn this.noDataText || Table.i18nBundle.getText(TABLE_NO_DATA);\n\t}\n\n\tget _ariaLabel() {\n\t\treturn getEffectiveAriaLabelText(this) || undefined;\n\t}\n\n\tget _ariaRowCount() {\n\t\treturn this._getVirtualizer()?.rowCount || undefined;\n\t}\n\n\tget _ariaMultiSelectable() {\n\t\tconst selection = this._getSelection();\n\t\treturn (selection?.isSelectable() && this.rows.length) ? selection.isMultiSelect() : undefined;\n\t}\n\n\tget _shouldRenderGrowing() {\n\t\treturn this.rows.length && this._growing?.hasGrowingComponent();\n\t}\n\n\tget _growing() {\n\t\treturn this.features.find(feature => this._isGrowingFeature(feature)) as ITableGrowing;\n\t}\n\n\tget _stickyElements() {\n\t\tconst stickyRows = this.headerRow.filter(row => row.sticky);\n\t\tconst stickyColumns = this.headerRow[0]._stickyCells as TableHeaderCell[];\n\n\t\treturn [...stickyRows, ...stickyColumns];\n\t}\n\n\tget _scrollContainer() {\n\t\treturn this._getVirtualizer() ? this._tableElement : findVerticalScrollContainer(this);\n\t}\n\n\tget isTable() {\n\t\treturn true;\n\t}\n\n\tget dropIndicatorDOM(): DropIndicator | null {\n\t\treturn this.shadowRoot!.querySelector(\"[ui5-drop-indicator]\");\n\t}\n\n\tget _hasRowActions() {\n\t\treturn this.rowActionCount > 0;\n\t}\n}\n\nTable.define();\n\nexport default Table;\n\nexport type {\n\tITableFeature,\n\tITableGrowing,\n\tTableRowClickEventDetail,\n\tTableMoveEventDetail,\n\tTableRowActionClickEventDetail,\n};\n"]}
1
+ {"version":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,OAAO,EAAE,CAAC;sCACZ;AAQhB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;2CACP;AAMpB;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;AAtIzB,KAAK;IAzEV,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,KAAK,CAAC,WAAW,EAAE;QACnB,OAAO,EAAE,KAAK;KACd,CAAC;IAEF;;;;;;;;;;;;OAYG;;IACF,KAAK,CAAC,WAAW,EAAE;QACnB,UAAU,EAAE,IAAI;QAChB,OAAO,EAAE,IAAI;KACb,CAAC;IAEF;;;;;;;;;;;;;;OAcG;;IACF,KAAK,CAAC,MAAM,EAAE;QACd,OAAO,EAAE,IAAI;KACb,CAAC;IAEF;;;;;;OAMG;;IACF,KAAK,CAAC,kBAAkB,EAAE;QAC1B,OAAO,EAAE,KAAK;KACd,CAAC;GAEI,KAAK,CAwbV;AAED,KAAK,CAAC,MAAM,EAAE,CAAC;AAEf,eAAe,KAAK,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 event from \"@ui5/webcomponents-base/dist/decorators/event-strict.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 ResizeHandler from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport i18n from \"@ui5/webcomponents-base/dist/decorators/i18n.js\";\nimport type { MoveEventDetail } from \"@ui5/webcomponents-base/dist/util/dragAndDrop/DragRegistry.js\";\nimport TableTemplate from \"./generated/templates/TableTemplate.lit.js\";\nimport TableStyles from \"./generated/themes/Table.css.js\";\nimport TableRow from \"./TableRow.js\";\nimport TableHeaderRow from \"./TableHeaderRow.js\";\nimport type TableHeaderCell from \"./TableHeaderCell.js\";\nimport TableExtension from \"./TableExtension.js\";\nimport type TableSelection from \"./TableSelection.js\";\nimport TableOverflowMode from \"./types/TableOverflowMode.js\";\nimport TableNavigation from \"./TableNavigation.js\";\nimport DropIndicator from \"./DropIndicator.js\";\nimport {\n\tTABLE_NO_DATA,\n} from \"./generated/i18n/i18n-defaults.js\";\nimport BusyIndicator from \"./BusyIndicator.js\";\nimport TableCell from \"./TableCell.js\";\nimport { findVerticalScrollContainer, scrollElementIntoView, isFeature } from \"./TableUtils.js\";\nimport TableDragAndDrop from \"./TableDragAndDrop.js\";\nimport type TableRowActionBase from \"./TableRowActionBase.js\";\nimport type TableVirtualizer from \"./TableVirtualizer.js\";\n\n/**\n * Interface for components that can be slotted inside the `features` slot of the `ui5-table`.\n *\n * @public\n * @experimental\n */\ninterface ITableFeature extends UI5Element {\n\treadonly identifier: string;\n\t/**\n\t * Called when the table is activated.\n\t * @param table table instance\n\t */\n\tonTableActivate?(table: Table): void;\n\t/**\n\t * Called when the table finished rendering.\n\t */\n\tonTableAfterRendering?(table?: Table): void;\n}\n\n/**\n * Interface for components that can be slotted inside the `features` slot of the `ui5-table`\n * and provide growing/data loading functionality.\n * @public\n * @experimental\n */\ninterface ITableGrowing extends ITableFeature {\n\t/**\n\t * Called when the table needs to load more data.\n\t */\n\tloadMore(): void;\n\t/**\n\t * Determines whether the table has a growing control, that should be rendered in the table.\n\t */\n\thasGrowingComponent(): boolean;\n\t_individualSlot?: string;\n}\n\n/**\n * Fired when an interactive row is clicked.\n * @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 * @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@event(\"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@event(\"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@event(\"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 * @since 2.6.0\n * @public\n */\n@event(\"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 * @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 * @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: number;\n\n\tconstructor() {\n\t\tsuper();\n\t\tthis._poppedIn = [];\n\t\tthis._containerWidth = 0;\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}\n\n\tonAfterRendering(): void {\n\t\tthis.features.forEach(feature => feature.onTableAfterRendering?.(this));\n\t}\n\n\t_getSelection(): TableSelection | undefined {\n\t\treturn this.features.find(feature => isFeature<TableSelection>(feature, \"TableSelection\")) as TableSelection;\n\t}\n\n\t_getVirtualizer(): TableVirtualizer | undefined {\n\t\treturn this.features.find(feature => isFeature<TableVirtualizer>(feature, \"TableVirtualizer\")) as TableVirtualizer;\n\t}\n\n\t_onEvent(e: Event) {\n\t\tconst composedPath = e.composedPath();\n\t\tconst eventOrigin = composedPath[0] as HTMLElement;\n\t\tconst elements = [this._tableNavigation, this._tableDragAndDrop, ...composedPath, ...this.features];\n\t\telements.forEach(element => {\n\t\t\tif (element instanceof TableExtension || (element instanceof HTMLElement && element.localName.includes(\"ui5-table\"))) {\n\t\t\t\tconst eventHandlerName = `_on${e.type}` as keyof typeof element;\n\t\t\t\tconst eventHandler = element[eventHandlerName] as (e?: Event, eventOrigin?: HTMLElement) => void;\n\t\t\t\tif (typeof eventHandler === \"function\") {\n\t\t\t\t\teventHandler.call(element, e, eventOrigin);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n\n\t_onResize() {\n\t\tconst { clientWidth, scrollWidth } = this._tableElement;\n\n\t\tif (scrollWidth > clientWidth) {\n\t\t\t// Overflow Handling: Move columns into the popin until overflow is resolved\n\t\t\tconst overflow = scrollWidth - clientWidth;\n\t\t\tconst headers = this._getPopinOrderedColumns(false);\n\t\t\tconst poppedInWidth = headers.reduce((totalPoppedInWidth, headerCell) => {\n\t\t\t\tif (totalPoppedInWidth < overflow && !headerCell._popin) {\n\t\t\t\t\tconst headerWidth = Math.ceil(headerCell.getBoundingClientRect().width);\n\t\t\t\t\ttotalPoppedInWidth += headerWidth;\n\t\t\t\t\tthis._setHeaderPopinState(headerCell, true, headerWidth);\n\t\t\t\t}\n\t\t\t\treturn totalPoppedInWidth;\n\t\t\t}, 0);\n\t\t\t// Calculate container width considering popped-in columns\n\t\t\tconst columnOverflow = poppedInWidth - overflow;\n\t\t\tthis._containerWidth = clientWidth - columnOverflow;\n\t\t} else {\n\t\t\t// Underflow Handling: Restore columns from popin until container width is met\n\t\t\tconst headers = this._getPopinOrderedColumns(true).filter(it => it._popin);\n\n\t\t\theaders.every(headerCell => {\n\t\t\t\tconst underflow = clientWidth - this._containerWidth;\n\t\t\t\tif (underflow >= headerCell._popinWidth) {\n\t\t\t\t\tthis._containerWidth += headerCell._popinWidth;\n\t\t\t\t\tthis._setHeaderPopinState(headerCell, false, 0);\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t});\n\t\t}\n\t}\n\n\t_onfocusin(e: FocusEvent) {\n\t\tif (e.target === this) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Handles focus in the table, when the focus is below a sticky element\n\t\tscrollElementIntoView(this._scrollContainer, e.target as HTMLElement, this._stickyElements, this.effectiveDir === \"rtl\");\n\t}\n\n\t/**\n\t * Refreshes the popin state of the columns.\n\t * Syncs the popin state of the columns with the popin state of the header cells.\n\t * This is needed when additional rows are manually added and no resize happens.\n\t * @private\n\t */\n\t_refreshPopinState() {\n\t\tthis.headerRow[0]?.cells.forEach((header, index) => {\n\t\t\tthis.rows.forEach(row => {\n\t\t\t\tconst cell = row.cells[index];\n\t\t\t\tif (cell && cell._popin !== header._popin) {\n\t\t\t\t\tcell._popin = header._popin;\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n\n\t_onGrow() {\n\t\tthis._growing?.loadMore();\n\t}\n\n\t_getPopinOrderedColumns(reverse: boolean) {\n\t\tlet headers = [...this.headerRow[0].cells];\n\t\theaders = headers.reverse(); // reverse the \"visual\" order\n\t\theaders = headers.sort((a, b) => a.importance - b.importance); // sort by importance (asc)\n\t\theaders.pop(); // remove the most important column, as it will not be popped in\n\n\t\tif (reverse) {\n\t\t\theaders = headers.reverse();\n\t\t}\n\n\t\treturn headers;\n\t}\n\n\t_setHeaderPopinState(headerCell: TableHeaderCell, inPopin: boolean, popinWidth: number) {\n\t\tconst headerIndex = this.headerRow[0].cells.indexOf(headerCell);\n\t\theaderCell._popin = inPopin;\n\t\theaderCell._popinWidth = popinWidth;\n\t\tthis.rows.forEach(row => {\n\t\t\trow.cells[headerIndex]._popin = inPopin;\n\t\t});\n\t}\n\n\t_isFeature(feature: any) {\n\t\treturn Boolean(feature.onTableActivate || feature.onTableAfterRendering);\n\t}\n\n\t_isGrowingFeature(feature: any) {\n\t\treturn Boolean(feature.loadMore && feature.hasGrowingComponent && this._isFeature(feature));\n\t}\n\n\t_onRowClick(row: TableRow) {\n\t\tthis.fireDecoratorEvent(\"row-click\", { row });\n\t}\n\n\t_onRowActionClick(action: TableRowActionBase) {\n\t\tconst row = action.parentElement as TableRow;\n\t\tthis.fireDecoratorEvent(\"row-action-click\", { action, row });\n\t}\n\n\tget styles() {\n\t\tconst virtualizer = this._getVirtualizer();\n\t\tconst headerStyleMap = this.headerRow?.[0]?.cells?.reduce((headerStyles, headerCell) => {\n\t\t\tif (headerCell.horizontalAlign !== undefined && !headerCell._popin) {\n\t\t\t\theaderStyles[`--horizontal-align-${headerCell._individualSlot}`] = headerCell.horizontalAlign;\n\t\t\t}\n\t\t\treturn headerStyles;\n\t\t}, {} as { [key: string]: string });\n\t\treturn {\n\t\t\ttable: {\n\t\t\t\t\"grid-template-columns\": this._gridTemplateColumns,\n\t\t\t\t\"--row-height\": virtualizer ? `${virtualizer.rowHeight}px` : \"auto\",\n\t\t\t\t...headerStyleMap,\n\t\t\t},\n\t\t\tspacer: {\n\t\t\t\t\"transform\": virtualizer?._getTransform(),\n\t\t\t\t\"will-change\": virtualizer && \"transform\",\n\t\t\t},\n\t\t};\n\t}\n\n\tget _gridTemplateColumns() {\n\t\tif (!this.headerRow[0]) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst widths = [];\n\t\tconst visibleHeaderCells = this.headerRow[0]._visibleCells as TableHeaderCell[];\n\t\tif (this._getSelection()?.hasRowSelector()) {\n\t\t\twidths.push(\"min-content\");\n\t\t}\n\t\twidths.push(...visibleHeaderCells.map(cell => {\n\t\t\tconst minWidth = cell.minWidth === \"auto\" ? \"3rem\" : cell.minWidth;\n\t\t\tif (cell.width === \"auto\" || cell.width.includes(\"%\") || cell.width.includes(\"fr\") || cell.width.includes(\"vw\")) {\n\t\t\t\treturn `minmax(${minWidth}, ${cell.maxWidth})`;\n\t\t\t}\n\t\t\treturn `minmax(${cell.width}, ${cell.width})`;\n\t\t}));\n\n\t\tif (this.rowActionCount > 0) {\n\t\t\twidths.push(`calc(var(${getScopedVarName(\"--_ui5_button_base_min_width\")}) * ${this.rowActionCount} + var(${getScopedVarName(\"--_ui5_table_row_actions_gap\")}) * ${this.rowActionCount - 1} + var(${getScopedVarName(\"--_ui5_table_cell_horizontal_padding\")}) * 2)`);\n\t\t}\n\n\t\tif (this._renderNavigated) {\n\t\t\twidths.push(`var(${getScopedVarName(\"--_ui5_table_navigated_cell_width\")})`);\n\t\t}\n\n\t\treturn widths.join(\" \");\n\t}\n\n\tget _tableOverflowX() {\n\t\treturn (this.overflowMode === TableOverflowMode.Popin) ? \"clip\" : \"auto\";\n\t}\n\n\tget _tableOverflowY() {\n\t\treturn \"auto\";\n\t}\n\n\tget _nodataRow() {\n\t\treturn this.shadowRoot!.getElementById(\"nodata-row\") as TableRow;\n\t}\n\n\tget _beforeElement() {\n\t\treturn this.shadowRoot!.getElementById(\"before\") as HTMLElement;\n\t}\n\n\tget _afterElement() {\n\t\treturn this.shadowRoot!.getElementById(\"after\") as HTMLElement;\n\t}\n\n\tget _tableElement() {\n\t\treturn this.shadowRoot!.getElementById(\"table\") as HTMLElement;\n\t}\n\n\tget _loadingElement() {\n\t\treturn this.shadowRoot!.getElementById(\"loading\") as HTMLElement;\n\t}\n\n\tget _effectiveNoDataText() {\n\t\treturn this.noDataText || Table.i18nBundle.getText(TABLE_NO_DATA);\n\t}\n\n\tget _ariaLabel() {\n\t\treturn getEffectiveAriaLabelText(this) || undefined;\n\t}\n\n\tget _ariaRowCount() {\n\t\treturn this._getVirtualizer()?.rowCount || undefined;\n\t}\n\n\tget _ariaMultiSelectable() {\n\t\tconst selection = this._getSelection();\n\t\treturn (selection?.isSelectable() && this.rows.length) ? selection.isMultiSelect() : undefined;\n\t}\n\n\tget _shouldRenderGrowing() {\n\t\treturn this.rows.length && this._growing?.hasGrowingComponent();\n\t}\n\n\tget _growing() {\n\t\treturn this.features.find(feature => this._isGrowingFeature(feature)) as ITableGrowing;\n\t}\n\n\tget _stickyElements() {\n\t\tconst stickyRows = this.headerRow.filter(row => row.sticky);\n\t\tconst stickyColumns = this.headerRow[0]._stickyCells as TableHeaderCell[];\n\n\t\treturn [...stickyRows, ...stickyColumns];\n\t}\n\n\tget _scrollContainer() {\n\t\treturn this._getVirtualizer() ? this._tableElement : findVerticalScrollContainer(this);\n\t}\n\n\tget isTable() {\n\t\treturn true;\n\t}\n\n\tget dropIndicatorDOM(): DropIndicator | null {\n\t\treturn this.shadowRoot!.querySelector(\"[ui5-drop-indicator]\");\n\t}\n\n\tget _hasRowActions() {\n\t\treturn this.rowActionCount > 0;\n\t}\n}\n\nTable.define();\n\nexport default Table;\n\nexport type {\n\tITableFeature,\n\tITableGrowing,\n\tTableRowClickEventDetail,\n\tTableMoveEventDetail,\n\tTableRowActionClickEventDetail,\n};\n"]}
@@ -27,6 +27,10 @@ import TableGrowingMode from "./types/TableGrowingMode.js";
27
27
  * </ui5-table>
28
28
  * ```
29
29
  *
30
+ * **Notes**:
31
+ * * When the `ui5-table-growing` component is used with the `Scroll` type and the table is currently not scrollable,
32
+ * the component will render a growing button instead to ensure growing capabilities until the table becomes scrollable.
33
+ *
30
34
  * ### ES6 Module Import
31
35
  *
32
36
  * `import "@ui5/webcomponents/dist/TableGrowing.js";`
@@ -48,7 +52,8 @@ declare class TableGrowing extends UI5Element implements ITableGrowing {
48
52
  *
49
53
  * Button - Shows a More button at the bottom of the table, pressing it will load more rows.
50
54
  *
51
- * Scroll - The rows are loaded automatically by scrolling to the bottom of the table. If the table is not scrollable, this option is the same as the Button.
55
+ * Scroll - The rows are loaded automatically by scrolling to the bottom of the table. If the table is not scrollable,
56
+ * a growing button will be rendered instead to ensure growing functionality.
52
57
  * @default "Button"
53
58
  * @public
54
59
  */
@@ -42,6 +42,10 @@ import { TABLE_MORE, TABLE_MORE_DESCRIPTION, } from "./generated/i18n/i18n-defau
42
42
  * </ui5-table>
43
43
  * ```
44
44
  *
45
+ * **Notes**:
46
+ * * When the `ui5-table-growing` component is used with the `Scroll` type and the table is currently not scrollable,
47
+ * the component will render a growing button instead to ensure growing capabilities until the table becomes scrollable.
48
+ *
45
49
  * ### ES6 Module Import
46
50
  *
47
51
  * `import "@ui5/webcomponents/dist/TableGrowing.js";`
@@ -62,7 +66,8 @@ let TableGrowing = TableGrowing_1 = class TableGrowing extends UI5Element {
62
66
  *
63
67
  * Button - Shows a More button at the bottom of the table, pressing it will load more rows.
64
68
  *
65
- * Scroll - The rows are loaded automatically by scrolling to the bottom of the table. If the table is not scrollable, this option is the same as the Button.
69
+ * Scroll - The rows are loaded automatically by scrolling to the bottom of the table. If the table is not scrollable,
70
+ * a growing button will be rendered instead to ensure growing functionality.
66
71
  * @default "Button"
67
72
  * @public
68
73
  */
@@ -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,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,EACN,OAAO,EACP,OAAO,GACP,MAAM,sCAAsC,CAAC;AAI9C,OAAO,gBAAgB,MAAM,6BAA6B,CAAC;AAC3D,OAAO,oBAAoB,MAAM,mDAAmD,CAAC;AACrF,OAAO,eAAe,MAAM,wCAAwC,CAAC;AACrE,OAAO,EACN,UAAU,EACV,sBAAsB,GACtB,MAAM,mCAAmC,CAAC;AAE3C,2EAA2E;AAC3E,4FAA4F;AAE5F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAiBH,IAAM,YAAY,o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AE,CAAC;QACjB,CAAC;QACD,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;IAC3B,CAAC;IAED,WAAW;QACV,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;IAC3B,CAAC;IAED,IAAI,kBAAkB;QACrB,OAAO,IAAI,CAAC,WAAW,IAAI,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,CAAC;kDACP;AAGrB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;iDAC9B;AAUT;IADN,IAAI,CAAC,oBAAoB,CAAC;sCACG;AA5DzB,YAAY;IAhBjB,aAAa,CAAC;QACd,GAAG,EAAE,mBAAmB;QACxB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,oBAAoB;QAC9B,MAAM,EAAE,eAAe;KACvB,CAAC;IAEF;;;;OAIG;;IACF,KAAK,CAAC,WAAW,EAAE;QACnB,OAAO,EAAE,IAAI;KACb,CAAC;GAEI,YAAY,CAqNjB;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 * ### 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, this option is the same as the Button.\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,SAA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;iDAC9B;AAUT;IADN,IAAI,CAAC,oBAAoB,CAAC;sCACG;AA7DzB,YAAY;IAhBjB,aAAa,CAAC;QACd,GAAG,EAAE,mBAAmB;QACxB,QAAQ,EAAE,SAAS;QACnB,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 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"]}
package/dist/Tag.d.ts CHANGED
@@ -26,6 +26,7 @@ import type TagSize from "./types/TagSize.js";
26
26
  * ### ES6 Module Import
27
27
  *
28
28
  * `import "@ui5/webcomponents/dist/Tag.js";`
29
+ * @csspart root - Used to style the root element.
29
30
  * @constructor
30
31
  * @extends UI5Element
31
32
  * @since 2.0.0
@@ -114,7 +115,7 @@ declare class Tag extends UI5Element {
114
115
  get iconOnly(): boolean;
115
116
  get _title(): string | undefined;
116
117
  get tagDescription(): string | undefined;
117
- get _semanticIconName(): "alert" | "error" | "sys-enter-2" | "information" | "sys-help-2" | null;
118
+ get _semanticIconName(): "alert" | "sys-help-2" | "sys-enter-2" | "error" | "information" | null;
118
119
  _onclick(): void;
119
120
  }
120
121
  export default Tag;
package/dist/Tag.js CHANGED
@@ -42,6 +42,7 @@ import tagCss from "./generated/themes/Tag.css.js";
42
42
  * ### ES6 Module Import
43
43
  *
44
44
  * `import "@ui5/webcomponents/dist/Tag.js";`
45
+ * @csspart root - Used to style the root element.
45
46
  * @constructor
46
47
  * @extends UI5Element
47
48
  * @since 2.0.0
package/dist/Tag.js.map CHANGED
@@ -1 +1 @@
1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C;wCACR;AAYpB;IADC,QAAQ,EAAE;yCACgC;AAS3C;IADC,QAAQ,EAAE;iCACc;AAOzB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;qCACX;AAOjB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;sCACV;AASlB;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;iCACnB;AAOnB;IADC,IAAI,EAAE;iCACa;AAGb;IADN,IAAI,CAAC,oBAAoB,CAAC;6BACG;AA9FzB,GAAG;IAlBR,aAAa,CAAC;QACd,GAAG,EAAE,SAAS;QACd,aAAa,EAAE,IAAI;QACnB,QAAQ,EAAE,WAAW;QACrB,QAAQ,EAAE,WAAW;QACrB,MAAM,EAAE,MAAM;KACd,CAAC;IAEF;;;;;;OAMG;;IACF,KAAK,CAAC,OAAO,EAAE;QACf,OAAO,EAAE,IAAI;KACb,CAAC;GACI,GAAG,CAqLR;AAED,GAAG,CAAC,MAAM,EAAE,CAAC;AAEb,eAAe,GAAG,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event-strict.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport jsxRenderer from \"@ui5/webcomponents-base/dist/renderer/JsxRenderer.js\";\nimport i18n from \"@ui5/webcomponents-base/dist/decorators/i18n.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport willShowContent from \"@ui5/webcomponents-base/dist/util/willShowContent.js\";\nimport {\n\tisDesktop,\n} from \"@ui5/webcomponents-base/dist/Device.js\";\nimport type { IIcon } from \"./Icon.js\";\nimport \"@ui5/webcomponents-icons/dist/sys-help-2.js\";\nimport \"@ui5/webcomponents-icons/dist/sys-enter-2.js\";\nimport \"@ui5/webcomponents-icons/dist/error.js\";\nimport \"@ui5/webcomponents-icons/dist/alert.js\";\nimport \"@ui5/webcomponents-icons/dist/information.js\";\nimport type WrappingType from \"./types/WrappingType.js\";\nimport TagDesign from \"./types/TagDesign.js\";\nimport type TagSize from \"./types/TagSize.js\";\n// Template\nimport TagTemplate from \"./TagTemplate.js\";\n\nimport {\n\tTAG_DESCRIPTION_TAG,\n\tTAG_ROLE_DESCRIPTION,\n\tTAG_ERROR,\n\tTAG_WARNING,\n\tTAG_SUCCESS,\n\tTAG_INFORMATION,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n// Styles\nimport tagCss from \"./generated/themes/Tag.css.js\";\n\n/**\n * @class\n * ### Overview\n *\n * The `ui5-tag` is a component which serves\n * the purpose to attract the user attention to some piece\n * of information (state, quantity, condition, etc.).\n * It can contain icon and text information, and its design can be chosen from specific design types.\n *\n * ### Usage Guidelines\n *\n * - If the text is longer than the width of the component, it can wrap, or it can show ellipsis, depending on the `wrappingType` property.\n * - Colors can be semantic or not semantic.\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents/dist/Tag.js\";`\n * @constructor\n * @extends UI5Element\n * @since 2.0.0\n * @public\n */\n@customElement({\n\ttag: \"ui5-tag\",\n\tlanguageAware: true,\n\trenderer: jsxRenderer,\n\ttemplate: TagTemplate,\n\tstyles: tagCss,\n})\n\n/**\n * Fired when the user clicks on an interactive tag.\n *\n * **Note:** The event will be fired if the `interactive` property is `true`\n * @public\n * @since 1.22.0\n */\n@event(\"click\", {\n\tbubbles: true,\n})\nclass Tag extends UI5Element {\n\teventDetails!: {\n\t\tclick: void;\n\t}\n\t/**\n\t * Defines the design type of the component.\n\t * @default \"Neutral\"\n\t * @public\n\t * @since 1.22.0\n\t */\n\t@property()\n\tdesign: `${TagDesign}` = \"Neutral\"\n\n\t/**\n\t * Defines the color scheme of the component.\n\t * There are 10 predefined schemes.\n\t * To use one you can set a number from `\"1\"` to `\"10\"`. The `colorScheme` `\"1\"` will be set by default.\n\t * @default \"1\"\n\t * @public\n\t */\n\t@property()\n\tcolorScheme = \"1\";\n\n\t/**\n\t * Defines if the default state icon is shown.\n\t * @default false\n\t * @public\n\t * @since 1.22.0\n\t */\n\t@property({ type: Boolean })\n\thideStateIcon = false;\n\n\t/**\n\t * Defines if the component is interactive (focusable and pressable).\n\t *\n\t * @default false\n\t * @public\n\t * @since 1.22.0\n\t */\n\t@property({ type: Boolean })\n\tinteractive = false;\n\n\t/**\n\t * Defines how the text of a component will be displayed when there is not enough space.\n\t *\n\t * **Note:** For option \"Normal\" the text will wrap and the\n\t * words will not be broken based on hyphenation.\n\t * @default \"Normal\"\n\t * @public\n\t * @since 1.22.0\n\t */\n\t@property()\n\twrappingType: `${WrappingType}` = \"Normal\";\n\n\t/**\n\t * Defines predefined size of the component.\n\t * @default \"S\"\n\t * @public\n\t * @since 2.0.0\n\t */\n\t@property()\n\tsize: `${TagSize}` = \"S\";\n\n\t/**\n\t * Defines if the tag has an icon.\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\t_hasIcon = false;\n\n\t/**\n\t * Defines if the tag has only an icon (and no text).\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\t_iconOnly = false;\n\n\t/**\n\t * Defines the text of the component.\n\t *\n\t * **Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.\n\t * @public\n\t */\n\t@slot({ type: Node, \"default\": true })\n\ttext!: Array<Node>;\n\n\t/**\n\t * Defines the icon to be displayed in the component.\n\t * @public\n\t */\n\t@slot()\n\ticon!: Array<IIcon>;\n\n\t@i18n(\"@ui5/webcomponents\")\n\tstatic i18nBundle: I18nBundle;\n\n\tonEnterDOM() {\n\t\tif (isDesktop()) {\n\t\t\tthis.setAttribute(\"desktop\", \"\");\n\t\t}\n\t}\n\n\tonBeforeRendering() {\n\t\tthis._hasIcon = this.hasIcon || !!this._semanticIconName;\n\t\tthis._iconOnly = this.iconOnly;\n\t}\n\n\tget _roleDescription() {\n\t\treturn Tag.i18nBundle.getText(TAG_ROLE_DESCRIPTION);\n\t}\n\n\tget _valueState() {\n\t\tswitch (this.design) {\n\t\tcase TagDesign.Positive:\n\t\t\treturn Tag.i18nBundle.getText(TAG_SUCCESS);\n\t\tcase TagDesign.Negative:\n\t\t\treturn Tag.i18nBundle.getText(TAG_ERROR);\n\t\tcase TagDesign.Critical:\n\t\t\treturn Tag.i18nBundle.getText(TAG_WARNING);\n\t\tcase TagDesign.Information:\n\t\t\treturn Tag.i18nBundle.getText(TAG_INFORMATION);\n\t\t}\n\n\t\treturn undefined;\n\t}\n\n\tget hasText() {\n\t\treturn willShowContent(this.text);\n\t}\n\n\tget hasIcon() {\n\t\treturn !!this.icon.length;\n\t}\n\n\tget iconOnly() {\n\t\treturn this.hasIcon && !this.hasText;\n\t}\n\n\tget _title() {\n\t\treturn this.title || undefined;\n\t}\n\n\tget tagDescription() {\n\t\tif (this.interactive) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\tconst valueState = this._valueState;\n\t\tlet description = Tag.i18nBundle.getText(TAG_DESCRIPTION_TAG);\n\n\t\tif (valueState) {\n\t\t\tdescription = `${description} ${valueState}`;\n\t\t}\n\n\t\treturn description;\n\t}\n\n\tget _semanticIconName() {\n\t\tif (this.hideStateIcon || this.hasIcon) {\n\t\t\treturn null;\n\t\t}\n\n\t\tswitch (this.design) {\n\t\tcase TagDesign.Neutral:\n\t\t\treturn \"sys-help-2\";\n\t\tcase TagDesign.Positive:\n\t\t\treturn \"sys-enter-2\";\n\t\tcase TagDesign.Negative:\n\t\t\treturn \"error\";\n\t\tcase TagDesign.Critical:\n\t\t\treturn \"alert\";\n\t\tcase TagDesign.Information:\n\t\t\treturn \"information\";\n\t\tdefault:\n\t\t\treturn null;\n\t\t}\n\t}\n\n\t_onclick() {\n\t\tthis.fireDecoratorEvent(\"click\");\n\t}\n}\n\nTag.define();\n\nexport default Tag;\n"]}
1
+ {"version":3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;AAYpB;IADC,QAAQ,EAAE;yCACgC;AAS3C;IADC,QAAQ,EAAE;iCACc;AAOzB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;qCACX;AAOjB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;sCACV;AASlB;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;iCACnB;AAOnB;IADC,IAAI,EAAE;iCACa;AAGb;IADN,IAAI,CAAC,oBAAoB,CAAC;6BACG;AA9FzB,GAAG;IAlBR,aAAa,CAAC;QACd,GAAG,EAAE,SAAS;QACd,aAAa,EAAE,IAAI;QACnB,QAAQ,EAAE,WAAW;QACrB,QAAQ,EAAE,WAAW;QACrB,MAAM,EAAE,MAAM;KACd,CAAC;IAEF;;;;;;OAMG;;IACF,KAAK,CAAC,OAAO,EAAE;QACf,OAAO,EAAE,IAAI;KACb,CAAC;GACI,GAAG,CAqLR;AAED,GAAG,CAAC,MAAM,EAAE,CAAC;AAEb,eAAe,GAAG,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event-strict.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport jsxRenderer from \"@ui5/webcomponents-base/dist/renderer/JsxRenderer.js\";\nimport i18n from \"@ui5/webcomponents-base/dist/decorators/i18n.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport willShowContent from \"@ui5/webcomponents-base/dist/util/willShowContent.js\";\nimport {\n\tisDesktop,\n} from \"@ui5/webcomponents-base/dist/Device.js\";\nimport type { IIcon } from \"./Icon.js\";\nimport \"@ui5/webcomponents-icons/dist/sys-help-2.js\";\nimport \"@ui5/webcomponents-icons/dist/sys-enter-2.js\";\nimport \"@ui5/webcomponents-icons/dist/error.js\";\nimport \"@ui5/webcomponents-icons/dist/alert.js\";\nimport \"@ui5/webcomponents-icons/dist/information.js\";\nimport type WrappingType from \"./types/WrappingType.js\";\nimport TagDesign from \"./types/TagDesign.js\";\nimport type TagSize from \"./types/TagSize.js\";\n// Template\nimport TagTemplate from \"./TagTemplate.js\";\n\nimport {\n\tTAG_DESCRIPTION_TAG,\n\tTAG_ROLE_DESCRIPTION,\n\tTAG_ERROR,\n\tTAG_WARNING,\n\tTAG_SUCCESS,\n\tTAG_INFORMATION,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n// Styles\nimport tagCss from \"./generated/themes/Tag.css.js\";\n\n/**\n * @class\n * ### Overview\n *\n * The `ui5-tag` is a component which serves\n * the purpose to attract the user attention to some piece\n * of information (state, quantity, condition, etc.).\n * It can contain icon and text information, and its design can be chosen from specific design types.\n *\n * ### Usage Guidelines\n *\n * - If the text is longer than the width of the component, it can wrap, or it can show ellipsis, depending on the `wrappingType` property.\n * - Colors can be semantic or not semantic.\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents/dist/Tag.js\";`\n * @csspart root - Used to style the root element.\n * @constructor\n * @extends UI5Element\n * @since 2.0.0\n * @public\n */\n@customElement({\n\ttag: \"ui5-tag\",\n\tlanguageAware: true,\n\trenderer: jsxRenderer,\n\ttemplate: TagTemplate,\n\tstyles: tagCss,\n})\n\n/**\n * Fired when the user clicks on an interactive tag.\n *\n * **Note:** The event will be fired if the `interactive` property is `true`\n * @public\n * @since 1.22.0\n */\n@event(\"click\", {\n\tbubbles: true,\n})\nclass Tag extends UI5Element {\n\teventDetails!: {\n\t\tclick: void;\n\t}\n\t/**\n\t * Defines the design type of the component.\n\t * @default \"Neutral\"\n\t * @public\n\t * @since 1.22.0\n\t */\n\t@property()\n\tdesign: `${TagDesign}` = \"Neutral\"\n\n\t/**\n\t * Defines the color scheme of the component.\n\t * There are 10 predefined schemes.\n\t * To use one you can set a number from `\"1\"` to `\"10\"`. The `colorScheme` `\"1\"` will be set by default.\n\t * @default \"1\"\n\t * @public\n\t */\n\t@property()\n\tcolorScheme = \"1\";\n\n\t/**\n\t * Defines if the default state icon is shown.\n\t * @default false\n\t * @public\n\t * @since 1.22.0\n\t */\n\t@property({ type: Boolean })\n\thideStateIcon = false;\n\n\t/**\n\t * Defines if the component is interactive (focusable and pressable).\n\t *\n\t * @default false\n\t * @public\n\t * @since 1.22.0\n\t */\n\t@property({ type: Boolean })\n\tinteractive = false;\n\n\t/**\n\t * Defines how the text of a component will be displayed when there is not enough space.\n\t *\n\t * **Note:** For option \"Normal\" the text will wrap and the\n\t * words will not be broken based on hyphenation.\n\t * @default \"Normal\"\n\t * @public\n\t * @since 1.22.0\n\t */\n\t@property()\n\twrappingType: `${WrappingType}` = \"Normal\";\n\n\t/**\n\t * Defines predefined size of the component.\n\t * @default \"S\"\n\t * @public\n\t * @since 2.0.0\n\t */\n\t@property()\n\tsize: `${TagSize}` = \"S\";\n\n\t/**\n\t * Defines if the tag has an icon.\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\t_hasIcon = false;\n\n\t/**\n\t * Defines if the tag has only an icon (and no text).\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\t_iconOnly = false;\n\n\t/**\n\t * Defines the text of the component.\n\t *\n\t * **Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.\n\t * @public\n\t */\n\t@slot({ type: Node, \"default\": true })\n\ttext!: Array<Node>;\n\n\t/**\n\t * Defines the icon to be displayed in the component.\n\t * @public\n\t */\n\t@slot()\n\ticon!: Array<IIcon>;\n\n\t@i18n(\"@ui5/webcomponents\")\n\tstatic i18nBundle: I18nBundle;\n\n\tonEnterDOM() {\n\t\tif (isDesktop()) {\n\t\t\tthis.setAttribute(\"desktop\", \"\");\n\t\t}\n\t}\n\n\tonBeforeRendering() {\n\t\tthis._hasIcon = this.hasIcon || !!this._semanticIconName;\n\t\tthis._iconOnly = this.iconOnly;\n\t}\n\n\tget _roleDescription() {\n\t\treturn Tag.i18nBundle.getText(TAG_ROLE_DESCRIPTION);\n\t}\n\n\tget _valueState() {\n\t\tswitch (this.design) {\n\t\tcase TagDesign.Positive:\n\t\t\treturn Tag.i18nBundle.getText(TAG_SUCCESS);\n\t\tcase TagDesign.Negative:\n\t\t\treturn Tag.i18nBundle.getText(TAG_ERROR);\n\t\tcase TagDesign.Critical:\n\t\t\treturn Tag.i18nBundle.getText(TAG_WARNING);\n\t\tcase TagDesign.Information:\n\t\t\treturn Tag.i18nBundle.getText(TAG_INFORMATION);\n\t\t}\n\n\t\treturn undefined;\n\t}\n\n\tget hasText() {\n\t\treturn willShowContent(this.text);\n\t}\n\n\tget hasIcon() {\n\t\treturn !!this.icon.length;\n\t}\n\n\tget iconOnly() {\n\t\treturn this.hasIcon && !this.hasText;\n\t}\n\n\tget _title() {\n\t\treturn this.title || undefined;\n\t}\n\n\tget tagDescription() {\n\t\tif (this.interactive) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\tconst valueState = this._valueState;\n\t\tlet description = Tag.i18nBundle.getText(TAG_DESCRIPTION_TAG);\n\n\t\tif (valueState) {\n\t\t\tdescription = `${description} ${valueState}`;\n\t\t}\n\n\t\treturn description;\n\t}\n\n\tget _semanticIconName() {\n\t\tif (this.hideStateIcon || this.hasIcon) {\n\t\t\treturn null;\n\t\t}\n\n\t\tswitch (this.design) {\n\t\tcase TagDesign.Neutral:\n\t\t\treturn \"sys-help-2\";\n\t\tcase TagDesign.Positive:\n\t\t\treturn \"sys-enter-2\";\n\t\tcase TagDesign.Negative:\n\t\t\treturn \"error\";\n\t\tcase TagDesign.Critical:\n\t\t\treturn \"alert\";\n\t\tcase TagDesign.Information:\n\t\t\treturn \"information\";\n\t\tdefault:\n\t\t\treturn null;\n\t\t}\n\t}\n\n\t_onclick() {\n\t\tthis.fireDecoratorEvent(\"click\");\n\t}\n}\n\nTag.define();\n\nexport default Tag;\n"]}
@@ -2,9 +2,9 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "@ui5/webcompo
2
2
  import Icon from "./Icon.js";
3
3
  export default function TagTemplate() {
4
4
  return (_jsx(_Fragment, { children: this.interactive ?
5
- _jsx("button", { class: "ui5-tag-root", title: this._title, "aria-roledescription": this._roleDescription, "aria-description": this._valueState, onClick: this._onclick, children: content.call(this) })
5
+ _jsx("button", { class: "ui5-tag-root", title: this._title, "aria-roledescription": this._roleDescription, "aria-description": this._valueState, onClick: this._onclick, part: "root", children: content.call(this) })
6
6
  :
7
- _jsx("div", { class: "ui5-tag-root", title: this._title, children: content.call(this) }) }));
7
+ _jsx("div", { class: "ui5-tag-root", title: this._title, part: "root", children: content.call(this) }) }));
8
8
  }
9
9
  function content() {
10
10
  return (_jsxs(_Fragment, { children: [_jsx("slot", { name: "icon" }), this._semanticIconName &&
@@ -1 +1 @@
1
- {"version":3,"file":"TagTemplate.js","sourceRoot":"","sources":["../src/TagTemplate.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAG7B,MAAM,CAAC,OAAO,UAAU,WAAW;IAClC,OAAO,CACN,4BAEE,IAAI,CAAC,WAAW,CAAC,CAAC;YACjB,iBACC,KAAK,EAAC,cAAc,EACpB,KAAK,EAAE,IAAI,CAAC,MAAM,0BACI,IAAI,CAAC,gBAAgB,sBACzB,IAAI,CAAC,WAAW,EAClC,OAAO,EAAE,IAAI,CAAC,QAAQ,YAEpB,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,GACZ;YACT,CAAC;gBACD,cAAK,KAAK,EAAC,cAAc,EAAC,KAAK,EAAE,IAAI,CAAC,MAAM,YACzC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,GACf,GAEN,CACH,CAAC;AACH,CAAC;AAED,SAAS,OAAO;IACf,OAAO,CACN,8BACC,eAAM,IAAI,EAAC,MAAM,GAAQ,EACxB,IAAI,CAAC,iBAAiB;gBACtB,KAAC,IAAI,IAAC,KAAK,EAAC,uBAAuB,EAAC,IAAI,EAAE,IAAI,CAAC,iBAAiB,GAAI,EAErE,eAAM,KAAK,EAAC,iBAAiB,YAAE,IAAI,CAAC,cAAc,GAAQ,EACzD,IAAI,CAAC,OAAO;gBACZ,eAAM,KAAK,EAAC,cAAc,YAAC,gBAAa,GAAO,IAE9C,CACH,CAAC;AACH,CAAC","sourcesContent":["import Icon from \"./Icon.js\";\nimport type Tag from \"./Tag.js\";\n\nexport default function TagTemplate(this: Tag) {\n\treturn (\n\t\t<>\n\t\t\t{\n\t\t\t\tthis.interactive ?\n\t\t\t\t\t<button\n\t\t\t\t\t\tclass=\"ui5-tag-root\"\n\t\t\t\t\t\ttitle={this._title}\n\t\t\t\t\t\taria-roledescription={this._roleDescription}\n\t\t\t\t\t\taria-description={this._valueState}\n\t\t\t\t\t\tonClick={this._onclick}\n\t\t\t\t\t>\n\t\t\t\t\t\t{ content.call(this) }\n\t\t\t\t\t</button>\n\t\t\t\t\t:\n\t\t\t\t\t<div class=\"ui5-tag-root\" title={this._title}>\n\t\t\t\t\t\t{ content.call(this) }\n\t\t\t\t\t</div>\n\t\t\t}\n\t\t</>\n\t);\n}\n\nfunction content(this: Tag) {\n\treturn (\n\t\t<>\n\t\t\t<slot name=\"icon\"></slot>\n\t\t\t{this._semanticIconName &&\n\t\t\t\t<Icon class=\"ui5-tag-semantic-icon\" name={this._semanticIconName} />\n\t\t\t}\n\t\t\t<span class=\"ui5-hidden-text\">{this.tagDescription}</span>\n\t\t\t{this.hasText &&\n\t\t\t\t<span class=\"ui5-tag-text\"><slot></slot></span>\n\t\t\t}\n\t\t</>\n\t);\n}\n"]}
1
+ {"version":3,"file":"TagTemplate.js","sourceRoot":"","sources":["../src/TagTemplate.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAG7B,MAAM,CAAC,OAAO,UAAU,WAAW;IAClC,OAAO,CACN,4BAEE,IAAI,CAAC,WAAW,CAAC,CAAC;YACjB,iBACC,KAAK,EAAC,cAAc,EACpB,KAAK,EAAE,IAAI,CAAC,MAAM,0BACI,IAAI,CAAC,gBAAgB,sBACzB,IAAI,CAAC,WAAW,EAClC,OAAO,EAAE,IAAI,CAAC,QAAQ,EACtB,IAAI,EAAC,MAAM,YAET,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,GACZ;YACT,CAAC;gBACD,cAAK,KAAK,EAAC,cAAc,EAAC,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,IAAI,EAAC,MAAM,YACtD,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,GACf,GAEN,CACH,CAAC;AACH,CAAC;AAED,SAAS,OAAO;IACf,OAAO,CACN,8BACC,eAAM,IAAI,EAAC,MAAM,GAAQ,EACxB,IAAI,CAAC,iBAAiB;gBACtB,KAAC,IAAI,IAAC,KAAK,EAAC,uBAAuB,EAAC,IAAI,EAAE,IAAI,CAAC,iBAAiB,GAAI,EAErE,eAAM,KAAK,EAAC,iBAAiB,YAAE,IAAI,CAAC,cAAc,GAAQ,EACzD,IAAI,CAAC,OAAO;gBACZ,eAAM,KAAK,EAAC,cAAc,YAAC,gBAAa,GAAO,IAE9C,CACH,CAAC;AACH,CAAC","sourcesContent":["import Icon from \"./Icon.js\";\nimport type Tag from \"./Tag.js\";\n\nexport default function TagTemplate(this: Tag) {\n\treturn (\n\t\t<>\n\t\t\t{\n\t\t\t\tthis.interactive ?\n\t\t\t\t\t<button\n\t\t\t\t\t\tclass=\"ui5-tag-root\"\n\t\t\t\t\t\ttitle={this._title}\n\t\t\t\t\t\taria-roledescription={this._roleDescription}\n\t\t\t\t\t\taria-description={this._valueState}\n\t\t\t\t\t\tonClick={this._onclick}\n\t\t\t\t\t\tpart=\"root\"\n\t\t\t\t\t>\n\t\t\t\t\t\t{ content.call(this) }\n\t\t\t\t\t</button>\n\t\t\t\t\t:\n\t\t\t\t\t<div class=\"ui5-tag-root\" title={this._title} part=\"root\">\n\t\t\t\t\t\t{ content.call(this) }\n\t\t\t\t\t</div>\n\t\t\t}\n\t\t</>\n\t);\n}\n\nfunction content(this: Tag) {\n\treturn (\n\t\t<>\n\t\t\t<slot name=\"icon\"></slot>\n\t\t\t{this._semanticIconName &&\n\t\t\t\t<Icon class=\"ui5-tag-semantic-icon\" name={this._semanticIconName} />\n\t\t\t}\n\t\t\t<span class=\"ui5-hidden-text\">{this.tagDescription}</span>\n\t\t\t{this.hasText &&\n\t\t\t\t<span class=\"ui5-tag-text\"><slot></slot></span>\n\t\t\t}\n\t\t</>\n\t);\n}\n"]}
@@ -3,12 +3,13 @@ import type { IFormInputElement } from "@ui5/webcomponents-base/dist/features/In
3
3
  import type I18nBundle from "@ui5/webcomponents-base/dist/i18nBundle.js";
4
4
  import ValueState from "@ui5/webcomponents-base/dist/types/ValueState.js";
5
5
  import "@ui5/webcomponents-localization/dist/features/calendar/Gregorian.js";
6
- import "@ui5/webcomponents-icons/dist/time-entry-request.js";
7
6
  import type Popover from "./Popover.js";
8
7
  import type ResponsivePopover from "./ResponsivePopover.js";
9
- import type Input from "./Input.js";
8
+ import type DateTimeInput from "./DateTimeInput.js";
10
9
  import type { InputAccInfo } from "./Input.js";
10
+ import type TimeSelectionClocks from "./TimeSelectionClocks.js";
11
11
  import type { TimeSelectionChangeEventDetail } from "./TimePickerInternals.js";
12
+ type ValueStateAnnouncement = Record<Exclude<ValueState, ValueState.None>, string>;
12
13
  type TimePickerChangeInputEventDetail = {
13
14
  value: string;
14
15
  valid: boolean;
@@ -181,6 +182,7 @@ declare class TimePicker extends UI5Element implements IFormInputElement {
181
182
  * @public
182
183
  */
183
184
  valueStateMessage: Array<HTMLElement>;
185
+ _timeSelectionClocks?: TimeSelectionClocks;
184
186
  tempValue?: string;
185
187
  static i18nBundle: I18nBundle;
186
188
  get formValidityMessage(): string;
@@ -214,6 +216,7 @@ declare class TimePicker extends UI5Element implements IFormInputElement {
214
216
  _togglePicker(): void;
215
217
  submitPickers(): void;
216
218
  onResponsivePopoverAfterClose(): void;
219
+ onResponsivePopoverBeforeOpen(): void;
217
220
  onResponsivePopoverAfterOpen(): void;
218
221
  /**
219
222
  * Opens the Inputs popover.
@@ -245,8 +248,8 @@ declare class TimePicker extends UI5Element implements IFormInputElement {
245
248
  _canOpenInputsPopover(): boolean;
246
249
  _getPopover(): ResponsivePopover;
247
250
  _getInputsPopover(): Popover;
248
- _getInput(): Input;
249
- _getInputField(): HTMLInputElement | Input | null;
251
+ _getDateTimeInput(): DateTimeInput;
252
+ _getInputField(): HTMLInputElement | import("./Input.js").default | null;
250
253
  _onkeydown(e: KeyboardEvent): void;
251
254
  get _isPattern(): boolean;
252
255
  getFormat(): import("sap/ui/core/format/DateFormat").default;
@@ -279,8 +282,28 @@ declare class TimePicker extends UI5Element implements IFormInputElement {
279
282
  */
280
283
  _hideMobileKeyboard(): void;
281
284
  _onfocusin(e: FocusEvent): void;
285
+ get valueStateDefaultText(): string | undefined;
286
+ get valueStateTextMappings(): ValueStateAnnouncement;
287
+ get shouldDisplayDefaultValueStateMessage(): boolean;
282
288
  get submitButtonLabel(): string;
283
289
  get cancelButtonLabel(): string;
290
+ get hasValueStateText(): boolean;
291
+ get hasValueState(): boolean;
292
+ get classes(): {
293
+ popover: {
294
+ "ui5-suggestions-popover": boolean;
295
+ "ui5-popover-with-value-state-header-phone": boolean;
296
+ "ui5-popover-with-value-state-header": boolean;
297
+ };
298
+ popoverValueState: {
299
+ "ui5-valuestatemessage-header": boolean;
300
+ "ui5-valuestatemessage-root": boolean;
301
+ "ui5-valuestatemessage--success": boolean;
302
+ "ui5-valuestatemessage--error": boolean;
303
+ "ui5-valuestatemessage--warning": boolean;
304
+ "ui5-valuestatemessage--information": boolean;
305
+ };
306
+ };
284
307
  /**
285
308
  * @protected
286
309
  */