@ui5/webcomponents 1.15.1 → 1.16.0-rc.1

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 (453) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/LICENSE.txt +201 -0
  3. package/dist/FileUploader.d.ts +2 -1
  4. package/dist/FileUploader.js.map +1 -1
  5. package/dist/List.js +5 -1
  6. package/dist/List.js.map +1 -1
  7. package/dist/ProgressIndicator.d.ts +10 -0
  8. package/dist/ProgressIndicator.js +3 -0
  9. package/dist/ProgressIndicator.js.map +1 -1
  10. package/dist/Tab.d.ts +1 -0
  11. package/dist/Tab.js +6 -0
  12. package/dist/Tab.js.map +1 -1
  13. package/dist/TabSeparator.js.map +1 -1
  14. package/dist/api.json +1 -1
  15. package/dist/assets/messagebundle_ar.8f003fc0.js +1 -0
  16. package/dist/assets/{messagebundle_bg.d3de38e8.js → messagebundle_bg.9ff1b6f7.js} +1 -1
  17. package/dist/assets/messagebundle_ca.466e4a79.js +1 -0
  18. package/dist/assets/messagebundle_cs.36465c55.js +1 -0
  19. package/dist/assets/{messagebundle_cy.f17e97a8.js → messagebundle_cy.2fb5cdfe.js} +1 -1
  20. package/dist/assets/messagebundle_da.a12b113c.js +1 -0
  21. package/dist/assets/messagebundle_de.be906091.js +1 -0
  22. package/dist/assets/messagebundle_el.71cab461.js +1 -0
  23. package/dist/assets/messagebundle_es.9ebe094d.js +1 -0
  24. package/dist/assets/messagebundle_es_MX.288df73a.js +1 -0
  25. package/dist/assets/messagebundle_et.9982f6ab.js +1 -0
  26. package/dist/assets/messagebundle_fi.25f7adf5.js +1 -0
  27. package/dist/assets/messagebundle_fr.e156ec79.js +1 -0
  28. package/dist/assets/messagebundle_fr_CA.f1ed7b62.js +1 -0
  29. package/dist/assets/messagebundle_hi.738d393d.js +1 -0
  30. package/dist/assets/{messagebundle_hr.51dca98d.js → messagebundle_hr.cabca13a.js} +1 -1
  31. package/dist/assets/messagebundle_hu.c7ad15af.js +1 -0
  32. package/dist/assets/messagebundle_it.c78e0d70.js +1 -0
  33. package/dist/assets/messagebundle_iw.76edb3ae.js +1 -0
  34. package/dist/assets/messagebundle_ja.64f780d2.js +1 -0
  35. package/dist/assets/messagebundle_kk.3f5c2564.js +1 -0
  36. package/dist/assets/messagebundle_ko.6e922d42.js +1 -0
  37. package/dist/assets/messagebundle_lt.042630fb.js +1 -0
  38. package/dist/assets/messagebundle_lv.0ea7d632.js +1 -0
  39. package/dist/assets/messagebundle_ms.33aa74c3.js +1 -0
  40. package/dist/assets/messagebundle_nl.b4d1aee5.js +1 -0
  41. package/dist/assets/messagebundle_no.29655ced.js +1 -0
  42. package/dist/assets/{messagebundle_pl.473d42fa.js → messagebundle_pl.c1c9d156.js} +1 -1
  43. package/dist/assets/messagebundle_pt.5b3f9f66.js +1 -0
  44. package/dist/assets/messagebundle_pt_PT.dd525495.js +1 -0
  45. package/dist/assets/messagebundle_ro.2c0a7e52.js +1 -0
  46. package/dist/assets/messagebundle_ru.e4116d50.js +1 -0
  47. package/dist/assets/{messagebundle_sh.cc8fa481.js → messagebundle_sh.4c88d9a8.js} +1 -1
  48. package/dist/assets/messagebundle_sk.37bc22fd.js +1 -0
  49. package/dist/assets/messagebundle_sl.96cd12a7.js +1 -0
  50. package/dist/assets/messagebundle_sv.60da1ace.js +1 -0
  51. package/dist/assets/messagebundle_th.fcc3f996.js +1 -0
  52. package/dist/assets/messagebundle_tr.0cf52130.js +1 -0
  53. package/dist/assets/messagebundle_uk.c10c1dfd.js +1 -0
  54. package/dist/assets/messagebundle_vi.589ad9cc.js +1 -0
  55. package/dist/assets/messagebundle_zh_CN.cd32cbb8.js +1 -0
  56. package/dist/assets/messagebundle_zh_TW.46975e5a.js +1 -0
  57. package/dist/assets/{parameters-bundle.css.113b138f.js → parameters-bundle.css.13511e8e.js} +10 -11
  58. package/dist/assets/{parameters-bundle.css.a9684a33.js → parameters-bundle.css.169ca31c.js} +10 -11
  59. package/dist/assets/{parameters-bundle.css.cbf2d54e.js → parameters-bundle.css.32fe7583.js} +10 -14
  60. package/dist/assets/{parameters-bundle.css.38f3f1ec.js → parameters-bundle.css.38cb80ec.js} +11 -11
  61. package/dist/assets/{parameters-bundle.css.22703d74.js → parameters-bundle.css.3bf8316f.js} +10 -10
  62. package/dist/assets/{parameters-bundle.css.3e91895e.js → parameters-bundle.css.7d4be06d.js} +10 -11
  63. package/dist/assets/{parameters-bundle.css.286f2f43.js → parameters-bundle.css.b2aa72d6.js} +10 -11
  64. package/dist/assets/{parameters-bundle.css.524141f6.js → parameters-bundle.css.b8ce3a86.js} +25 -24
  65. package/dist/assets/{parameters-bundle.css.2f291cba.js → parameters-bundle.css.bf7d5006.js} +25 -24
  66. package/dist/assets/{parameters-bundle.css.507d64e4.js → parameters-bundle.css.c33b3381.js} +18 -11
  67. package/dist/assets/{parameters-bundle.css.142a4e2c.js → parameters-bundle.css.e43900d4.js} +31 -15
  68. package/dist/assets/{parameters-bundle.css.3f8b081a.js → parameters-bundle.css.f9f9a3af.js} +10 -10
  69. package/dist/assets/test/pages/ComboBox.html.08f25321.js +1 -0
  70. package/dist/assets/test/pages/Icon.html.99274700.js +1 -0
  71. package/dist/assets/test/pages/Label.html.2a3495d8.js +4 -0
  72. package/dist/assets/test/pages/Popups.html.8f3b1dcf.js +1 -0
  73. package/dist/css/themes/ListItem.css +1 -1
  74. package/dist/css/themes/TabContainer.css +1 -1
  75. package/dist/css/themes/TabInOverflow.css +1 -1
  76. package/dist/css/themes/TabInStrip.css +1 -1
  77. package/dist/css/themes/Token.css +1 -1
  78. package/dist/css/themes/sap_belize/parameters-bundle.css +1 -1
  79. package/dist/css/themes/sap_belize_hcb/parameters-bundle.css +1 -1
  80. package/dist/css/themes/sap_belize_hcw/parameters-bundle.css +1 -1
  81. package/dist/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
  82. package/dist/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
  83. package/dist/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
  84. package/dist/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
  85. package/dist/css/themes/sap_horizon/parameters-bundle.css +1 -1
  86. package/dist/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
  87. package/dist/css/themes/sap_horizon_exp/parameters-bundle.css +1 -1
  88. package/dist/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
  89. package/dist/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
  90. package/dist/custom-elements.json +1 -1
  91. package/dist/generated/assets/i18n/messagebundle_ar.json +1 -1
  92. package/dist/generated/assets/i18n/messagebundle_bg.json +1 -1
  93. package/dist/generated/assets/i18n/messagebundle_ca.json +1 -1
  94. package/dist/generated/assets/i18n/messagebundle_cs.json +1 -1
  95. package/dist/generated/assets/i18n/messagebundle_cy.json +1 -1
  96. package/dist/generated/assets/i18n/messagebundle_da.json +1 -1
  97. package/dist/generated/assets/i18n/messagebundle_de.json +1 -1
  98. package/dist/generated/assets/i18n/messagebundle_el.json +1 -1
  99. package/dist/generated/assets/i18n/messagebundle_es.json +1 -1
  100. package/dist/generated/assets/i18n/messagebundle_es_MX.json +1 -1
  101. package/dist/generated/assets/i18n/messagebundle_et.json +1 -1
  102. package/dist/generated/assets/i18n/messagebundle_fi.json +1 -1
  103. package/dist/generated/assets/i18n/messagebundle_fr.json +1 -1
  104. package/dist/generated/assets/i18n/messagebundle_fr_CA.json +1 -1
  105. package/dist/generated/assets/i18n/messagebundle_hi.json +1 -1
  106. package/dist/generated/assets/i18n/messagebundle_hr.json +1 -1
  107. package/dist/generated/assets/i18n/messagebundle_hu.json +1 -1
  108. package/dist/generated/assets/i18n/messagebundle_it.json +1 -1
  109. package/dist/generated/assets/i18n/messagebundle_iw.json +1 -1
  110. package/dist/generated/assets/i18n/messagebundle_ja.json +1 -1
  111. package/dist/generated/assets/i18n/messagebundle_kk.json +1 -1
  112. package/dist/generated/assets/i18n/messagebundle_ko.json +1 -1
  113. package/dist/generated/assets/i18n/messagebundle_lt.json +1 -1
  114. package/dist/generated/assets/i18n/messagebundle_lv.json +1 -1
  115. package/dist/generated/assets/i18n/messagebundle_ms.json +1 -1
  116. package/dist/generated/assets/i18n/messagebundle_nl.json +1 -1
  117. package/dist/generated/assets/i18n/messagebundle_no.json +1 -1
  118. package/dist/generated/assets/i18n/messagebundle_pl.json +1 -1
  119. package/dist/generated/assets/i18n/messagebundle_pt.json +1 -1
  120. package/dist/generated/assets/i18n/messagebundle_pt_PT.json +1 -1
  121. package/dist/generated/assets/i18n/messagebundle_ro.json +1 -1
  122. package/dist/generated/assets/i18n/messagebundle_ru.json +1 -1
  123. package/dist/generated/assets/i18n/messagebundle_sh.json +1 -1
  124. package/dist/generated/assets/i18n/messagebundle_sk.json +1 -1
  125. package/dist/generated/assets/i18n/messagebundle_sl.json +1 -1
  126. package/dist/generated/assets/i18n/messagebundle_sv.json +1 -1
  127. package/dist/generated/assets/i18n/messagebundle_th.json +1 -1
  128. package/dist/generated/assets/i18n/messagebundle_tr.json +1 -1
  129. package/dist/generated/assets/i18n/messagebundle_uk.json +1 -1
  130. package/dist/generated/assets/i18n/messagebundle_vi.json +1 -1
  131. package/dist/generated/assets/i18n/messagebundle_zh_CN.json +1 -1
  132. package/dist/generated/assets/i18n/messagebundle_zh_TW.json +1 -1
  133. package/dist/generated/assets/themes/sap_belize/parameters-bundle.css.json +1 -1
  134. package/dist/generated/assets/themes/sap_belize_hcb/parameters-bundle.css.json +1 -1
  135. package/dist/generated/assets/themes/sap_belize_hcw/parameters-bundle.css.json +1 -1
  136. package/dist/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json +1 -1
  137. package/dist/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json +1 -1
  138. package/dist/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json +1 -1
  139. package/dist/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json +1 -1
  140. package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -1
  141. package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -1
  142. package/dist/generated/assets/themes/sap_horizon_exp/parameters-bundle.css.json +1 -1
  143. package/dist/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json +1 -1
  144. package/dist/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json +1 -1
  145. package/dist/generated/templates/ProgressIndicatorTemplate.lit.js +1 -1
  146. package/dist/generated/templates/ProgressIndicatorTemplate.lit.js.map +1 -1
  147. package/dist/generated/templates/TabInStripTemplate.lit.js +1 -1
  148. package/dist/generated/templates/TabInStripTemplate.lit.js.map +1 -1
  149. package/dist/generated/themes/ListItem.css.js +1 -1
  150. package/dist/generated/themes/ListItem.css.js.map +1 -1
  151. package/dist/generated/themes/TabContainer.css.js +1 -1
  152. package/dist/generated/themes/TabContainer.css.js.map +1 -1
  153. package/dist/generated/themes/TabInOverflow.css.js +1 -1
  154. package/dist/generated/themes/TabInOverflow.css.js.map +1 -1
  155. package/dist/generated/themes/TabInStrip.css.js +1 -1
  156. package/dist/generated/themes/TabInStrip.css.js.map +1 -1
  157. package/dist/generated/themes/Token.css.js +1 -1
  158. package/dist/generated/themes/Token.css.js.map +1 -1
  159. package/dist/generated/themes/sap_belize/parameters-bundle.css.js +1 -1
  160. package/dist/generated/themes/sap_belize/parameters-bundle.css.js.map +1 -1
  161. package/dist/generated/themes/sap_belize_hcb/parameters-bundle.css.js +1 -1
  162. package/dist/generated/themes/sap_belize_hcb/parameters-bundle.css.js.map +1 -1
  163. package/dist/generated/themes/sap_belize_hcw/parameters-bundle.css.js +1 -1
  164. package/dist/generated/themes/sap_belize_hcw/parameters-bundle.css.js.map +1 -1
  165. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
  166. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js.map +1 -1
  167. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
  168. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js.map +1 -1
  169. package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
  170. package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js.map +1 -1
  171. package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
  172. package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js.map +1 -1
  173. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +1 -1
  174. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js.map +1 -1
  175. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +1 -1
  176. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js.map +1 -1
  177. package/dist/generated/themes/sap_horizon_exp/parameters-bundle.css.js +1 -1
  178. package/dist/generated/themes/sap_horizon_exp/parameters-bundle.css.js.map +1 -1
  179. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +1 -1
  180. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js.map +1 -1
  181. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +1 -1
  182. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js.map +1 -1
  183. package/dist/i18n/messagebundle_ar.properties +1 -1
  184. package/dist/i18n/messagebundle_bg.properties +1 -1
  185. package/dist/i18n/messagebundle_ca.properties +1 -1
  186. package/dist/i18n/messagebundle_cs.properties +1 -1
  187. package/dist/i18n/messagebundle_cy.properties +1 -1
  188. package/dist/i18n/messagebundle_da.properties +1 -1
  189. package/dist/i18n/messagebundle_de.properties +1 -1
  190. package/dist/i18n/messagebundle_el.properties +1 -1
  191. package/dist/i18n/messagebundle_es.properties +1 -1
  192. package/dist/i18n/messagebundle_es_MX.properties +1 -1
  193. package/dist/i18n/messagebundle_et.properties +1 -1
  194. package/dist/i18n/messagebundle_fi.properties +1 -1
  195. package/dist/i18n/messagebundle_fr.properties +1 -1
  196. package/dist/i18n/messagebundle_fr_CA.properties +1 -1
  197. package/dist/i18n/messagebundle_hi.properties +1 -1
  198. package/dist/i18n/messagebundle_hr.properties +1 -1
  199. package/dist/i18n/messagebundle_hu.properties +1 -1
  200. package/dist/i18n/messagebundle_id.properties +1 -1
  201. package/dist/i18n/messagebundle_it.properties +1 -1
  202. package/dist/i18n/messagebundle_iw.properties +1 -1
  203. package/dist/i18n/messagebundle_ja.properties +1 -1
  204. package/dist/i18n/messagebundle_kk.properties +1 -1
  205. package/dist/i18n/messagebundle_ko.properties +1 -1
  206. package/dist/i18n/messagebundle_lt.properties +1 -1
  207. package/dist/i18n/messagebundle_lv.properties +1 -1
  208. package/dist/i18n/messagebundle_ms.properties +1 -1
  209. package/dist/i18n/messagebundle_nl.properties +1 -1
  210. package/dist/i18n/messagebundle_no.properties +1 -1
  211. package/dist/i18n/messagebundle_pl.properties +1 -1
  212. package/dist/i18n/messagebundle_pt.properties +1 -1
  213. package/dist/i18n/messagebundle_pt_PT.properties +1 -1
  214. package/dist/i18n/messagebundle_ro.properties +1 -1
  215. package/dist/i18n/messagebundle_ru.properties +1 -1
  216. package/dist/i18n/messagebundle_sh.properties +1 -1
  217. package/dist/i18n/messagebundle_sk.properties +1 -1
  218. package/dist/i18n/messagebundle_sl.properties +1 -1
  219. package/dist/i18n/messagebundle_sv.properties +1 -1
  220. package/dist/i18n/messagebundle_th.properties +1 -1
  221. package/dist/i18n/messagebundle_tr.properties +1 -1
  222. package/dist/i18n/messagebundle_uk.properties +1 -1
  223. package/dist/i18n/messagebundle_vi.properties +1 -1
  224. package/dist/i18n/messagebundle_zh_CN.properties +1 -1
  225. package/dist/i18n/messagebundle_zh_TW.properties +1 -1
  226. package/dist/test/pages/72override.html +33 -0
  227. package/dist/test/pages/AnimanitionOff.html +52 -0
  228. package/dist/test/pages/Avatar.html +264 -0
  229. package/dist/test/pages/AvatarGroup.html +376 -0
  230. package/dist/test/pages/Badge.html +75 -0
  231. package/dist/test/pages/Breadcrumbs.html +239 -0
  232. package/dist/test/pages/BusyIndicator.html +278 -0
  233. package/dist/test/pages/Button.html +280 -0
  234. package/dist/test/pages/Calendar.html +103 -0
  235. package/dist/test/pages/Card.html +348 -0
  236. package/dist/test/pages/Carousel.html +613 -0
  237. package/dist/test/pages/CheckBox.html +90 -0
  238. package/dist/test/pages/ColorPalette.html +126 -0
  239. package/dist/test/pages/ColorPalettePopover.html +141 -0
  240. package/dist/test/pages/ColorPicker.html +66 -0
  241. package/dist/test/pages/ComboBox.html +302 -0
  242. package/dist/test/pages/Components.html +106 -0
  243. package/dist/test/pages/CoreControls.html +203 -0
  244. package/dist/test/pages/CoreControls_exp.html +203 -0
  245. package/dist/test/pages/CustomCSS.html +55 -0
  246. package/dist/test/pages/DatePicker.html +211 -0
  247. package/dist/test/pages/DatePicker_test_page.html +109 -0
  248. package/dist/test/pages/DateRangePicker.html +67 -0
  249. package/dist/test/pages/DateTimePicker.html +199 -0
  250. package/dist/test/pages/DateTimePicker_Timezone.html +72 -0
  251. package/dist/test/pages/DayPicker.html +37 -0
  252. package/dist/test/pages/Dialog.html +813 -0
  253. package/dist/test/pages/DialogLifecycle.html +62 -0
  254. package/dist/test/pages/DialogSemantic.html +58 -0
  255. package/dist/test/pages/Eventing.html +33 -0
  256. package/dist/test/pages/F6Test1.html +42 -0
  257. package/dist/test/pages/F6Test2.html +42 -0
  258. package/dist/test/pages/F6Test3.html +39 -0
  259. package/dist/test/pages/F6Test4.html +46 -0
  260. package/dist/test/pages/F6Test5.html +42 -0
  261. package/dist/test/pages/F6Test6.html +39 -0
  262. package/dist/test/pages/F6Test7.html +36 -0
  263. package/dist/test/pages/FileUploader.html +138 -0
  264. package/dist/test/pages/FontFace.html +21 -0
  265. package/dist/test/pages/FormComponents.html +76 -0
  266. package/dist/test/pages/FormSupport.html +59 -0
  267. package/dist/test/pages/HCB.html +45 -0
  268. package/dist/test/pages/Icon.html +278 -0
  269. package/dist/test/pages/Icon_and_theming.html +67 -0
  270. package/dist/test/pages/Icon_custom.html +26 -0
  271. package/dist/test/pages/Input.html +731 -0
  272. package/dist/test/pages/InputFieldLabels.html +355 -0
  273. package/dist/test/pages/InputFieldMinWidth.html +230 -0
  274. package/dist/test/pages/InputIcons.html +80 -0
  275. package/dist/test/pages/Input_quickview.html +204 -0
  276. package/dist/test/pages/InputsAlignment.html +131 -0
  277. package/dist/test/pages/InputsLazyLoading.html +244 -0
  278. package/dist/test/pages/ItemNavigation.html +94 -0
  279. package/dist/test/pages/Kitchen.html +637 -0
  280. package/dist/test/pages/Kitchen.openui5.html +571 -0
  281. package/dist/test/pages/Label.html +192 -0
  282. package/dist/test/pages/Link.html +201 -0
  283. package/dist/test/pages/List.html +465 -0
  284. package/dist/test/pages/ListGrowing_Button.html +64 -0
  285. package/dist/test/pages/ListGrowing_Scroll.html +93 -0
  286. package/dist/test/pages/List_keyboard_support.html +130 -0
  287. package/dist/test/pages/List_test_page.html +430 -0
  288. package/dist/test/pages/LitKeyFunction.html +40 -0
  289. package/dist/test/pages/MemoryLeak.html +78 -0
  290. package/dist/test/pages/Menu.html +161 -0
  291. package/dist/test/pages/MessagePage.html +39 -0
  292. package/dist/test/pages/MessageStrip.html +55 -0
  293. package/dist/test/pages/MultiComboBox.html +500 -0
  294. package/dist/test/pages/MultiInput.html +485 -0
  295. package/dist/test/pages/MultiInput_Suggestions.html +161 -0
  296. package/dist/test/pages/OpenUI5-second.html +60 -0
  297. package/dist/test/pages/OpenUI5.html +104 -0
  298. package/dist/test/pages/OpenUI5Nightly.html +83 -0
  299. package/dist/test/pages/Panel.html +226 -0
  300. package/dist/test/pages/Popover.html +658 -0
  301. package/dist/test/pages/PopoverArrowBounds.html +52 -0
  302. package/dist/test/pages/Popups.html +131 -0
  303. package/dist/test/pages/ProgressIndicator.html +154 -0
  304. package/dist/test/pages/RTL.html +118 -0
  305. package/dist/test/pages/RadioButton.html +201 -0
  306. package/dist/test/pages/RangeSlider.html +96 -0
  307. package/dist/test/pages/RatingIndicator.html +117 -0
  308. package/dist/test/pages/ResizeHandler.html +74 -0
  309. package/dist/test/pages/ResponsivePopover.html +267 -0
  310. package/dist/test/pages/SegmentedButton.html +151 -0
  311. package/dist/test/pages/Select.html +272 -0
  312. package/dist/test/pages/Simple.html +25 -0
  313. package/dist/test/pages/Slider.html +79 -0
  314. package/dist/test/pages/SplitButton.html +127 -0
  315. package/dist/test/pages/StepInput.html +189 -0
  316. package/dist/test/pages/Switch.html +97 -0
  317. package/dist/test/pages/TabContainer.html +904 -0
  318. package/dist/test/pages/Table-perf-pure.html +73 -0
  319. package/dist/test/pages/Table-perf.html +76 -0
  320. package/dist/test/pages/Table.html +2808 -0
  321. package/dist/test/pages/Table2.html +53 -0
  322. package/dist/test/pages/TableAllPopin.html +228 -0
  323. package/dist/test/pages/TableCustomStyling.html +89 -0
  324. package/dist/test/pages/TableGrouping.html +109 -0
  325. package/dist/test/pages/TableGrowingWithButton.html +805 -0
  326. package/dist/test/pages/TableGrowingWithScroll.html +801 -0
  327. package/dist/test/pages/TableSelection.html +445 -0
  328. package/dist/test/pages/Test.html +15 -0
  329. package/dist/test/pages/TextArea.html +222 -0
  330. package/dist/test/pages/TimePicker.html +89 -0
  331. package/dist/test/pages/TimePickerClock.html +90 -0
  332. package/dist/test/pages/TimeSelection.html +31 -0
  333. package/dist/test/pages/TimeSelectionClocks.html +64 -0
  334. package/dist/test/pages/Title.html +60 -0
  335. package/dist/test/pages/Toast.html +111 -0
  336. package/dist/test/pages/ToggleButton.html +71 -0
  337. package/dist/test/pages/Tokenizer.html +91 -0
  338. package/dist/test/pages/Tree.html +307 -0
  339. package/dist/test/pages/TreeDynamic.html +56 -0
  340. package/dist/test/pages/WheelSlider_Test_Page.html +26 -0
  341. package/dist/test/pages/base/AriaLabelHelper.html +334 -0
  342. package/dist/test/pages/base/DOMObserver.html +20 -0
  343. package/dist/test/pages/base/IconCollection.html +23 -0
  344. package/dist/test/pages/base/IconCollectionInCustomTheme.html +25 -0
  345. package/dist/test/pages/base/IgnoreCustomElements.html +26 -0
  346. package/dist/test/pages/base/InvisibleMessage.html +44 -0
  347. package/dist/test/pages/form.html +123 -0
  348. package/dist/test/pages/i18n-defaultLang.html +31 -0
  349. package/dist/test/pages/i18n-demo.html +79 -0
  350. package/package.json +9 -8
  351. package/src/ProgressIndicator.hbs +1 -0
  352. package/src/TabInStrip.hbs +1 -0
  353. package/src/i18n/messagebundle_ar.properties +1 -1
  354. package/src/i18n/messagebundle_bg.properties +1 -1
  355. package/src/i18n/messagebundle_ca.properties +1 -1
  356. package/src/i18n/messagebundle_cs.properties +1 -1
  357. package/src/i18n/messagebundle_cy.properties +1 -1
  358. package/src/i18n/messagebundle_da.properties +1 -1
  359. package/src/i18n/messagebundle_de.properties +1 -1
  360. package/src/i18n/messagebundle_el.properties +1 -1
  361. package/src/i18n/messagebundle_es.properties +1 -1
  362. package/src/i18n/messagebundle_es_MX.properties +1 -1
  363. package/src/i18n/messagebundle_et.properties +1 -1
  364. package/src/i18n/messagebundle_fi.properties +1 -1
  365. package/src/i18n/messagebundle_fr.properties +1 -1
  366. package/src/i18n/messagebundle_fr_CA.properties +1 -1
  367. package/src/i18n/messagebundle_hi.properties +1 -1
  368. package/src/i18n/messagebundle_hr.properties +1 -1
  369. package/src/i18n/messagebundle_hu.properties +1 -1
  370. package/src/i18n/messagebundle_id.properties +1 -1
  371. package/src/i18n/messagebundle_it.properties +1 -1
  372. package/src/i18n/messagebundle_iw.properties +1 -1
  373. package/src/i18n/messagebundle_ja.properties +1 -1
  374. package/src/i18n/messagebundle_kk.properties +1 -1
  375. package/src/i18n/messagebundle_ko.properties +1 -1
  376. package/src/i18n/messagebundle_lt.properties +1 -1
  377. package/src/i18n/messagebundle_lv.properties +1 -1
  378. package/src/i18n/messagebundle_ms.properties +1 -1
  379. package/src/i18n/messagebundle_nl.properties +1 -1
  380. package/src/i18n/messagebundle_no.properties +1 -1
  381. package/src/i18n/messagebundle_pl.properties +1 -1
  382. package/src/i18n/messagebundle_pt.properties +1 -1
  383. package/src/i18n/messagebundle_pt_PT.properties +1 -1
  384. package/src/i18n/messagebundle_ro.properties +1 -1
  385. package/src/i18n/messagebundle_ru.properties +1 -1
  386. package/src/i18n/messagebundle_sh.properties +1 -1
  387. package/src/i18n/messagebundle_sk.properties +1 -1
  388. package/src/i18n/messagebundle_sl.properties +1 -1
  389. package/src/i18n/messagebundle_sv.properties +1 -1
  390. package/src/i18n/messagebundle_th.properties +1 -1
  391. package/src/i18n/messagebundle_tr.properties +1 -1
  392. package/src/i18n/messagebundle_uk.properties +1 -1
  393. package/src/i18n/messagebundle_vi.properties +1 -1
  394. package/src/i18n/messagebundle_zh_CN.properties +1 -1
  395. package/src/i18n/messagebundle_zh_TW.properties +1 -1
  396. package/src/themes/ListItem.css +0 -1
  397. package/src/themes/TabContainer.css +8 -1
  398. package/src/themes/TabInOverflow.css +0 -1
  399. package/src/themes/TabInStrip.css +50 -44
  400. package/src/themes/Token.css +7 -8
  401. package/src/themes/base/TabContainer-parameters.css +8 -6
  402. package/src/themes/base/Token-parameters.css +1 -3
  403. package/src/themes/base/sizes-parameters.css +1 -1
  404. package/src/themes/sap_belize_hcb/TabContainer-parameters.css +0 -1
  405. package/src/themes/sap_belize_hcw/TabContainer-parameters.css +0 -1
  406. package/src/themes/sap_fiori_3_hcb/TabContainer-parameters.css +0 -1
  407. package/src/themes/sap_fiori_3_hcw/TabContainer-parameters.css +0 -1
  408. package/src/themes/sap_horizon/TabContainer-parameters.css +7 -0
  409. package/src/themes/sap_horizon/Token-parameters.css +1 -1
  410. package/src/themes/sap_horizon_dark/TabContainer-parameters.css +20 -4
  411. package/src/themes/sap_horizon_dark/Token-parameters.css +1 -1
  412. package/src/themes/sap_horizon_exp/TabContainer-parameters.css +0 -4
  413. package/src/themes/sap_horizon_hcb/TabContainer-parameters.css +14 -10
  414. package/src/themes/sap_horizon_hcb/Token-parameters.css +1 -4
  415. package/src/themes/sap_horizon_hcw/TabContainer-parameters.css +14 -10
  416. package/src/themes/sap_horizon_hcw/Token-parameters.css +1 -4
  417. package/dist/assets/messagebundle_ar.89f785bc.js +0 -1
  418. package/dist/assets/messagebundle_ca.9004e476.js +0 -1
  419. package/dist/assets/messagebundle_cs.610334fa.js +0 -1
  420. package/dist/assets/messagebundle_da.1bb73130.js +0 -1
  421. package/dist/assets/messagebundle_de.32e39742.js +0 -1
  422. package/dist/assets/messagebundle_el.10dce9af.js +0 -1
  423. package/dist/assets/messagebundle_es.c1fe5985.js +0 -1
  424. package/dist/assets/messagebundle_es_MX.2f8e550c.js +0 -1
  425. package/dist/assets/messagebundle_et.e26ea1a0.js +0 -1
  426. package/dist/assets/messagebundle_fi.fbf9e68d.js +0 -1
  427. package/dist/assets/messagebundle_fr.7fe3db6c.js +0 -1
  428. package/dist/assets/messagebundle_fr_CA.25b32600.js +0 -1
  429. package/dist/assets/messagebundle_hi.02192e32.js +0 -1
  430. package/dist/assets/messagebundle_hu.fdf148af.js +0 -1
  431. package/dist/assets/messagebundle_it.0c4762e4.js +0 -1
  432. package/dist/assets/messagebundle_iw.41598a70.js +0 -1
  433. package/dist/assets/messagebundle_ja.39a03cfb.js +0 -1
  434. package/dist/assets/messagebundle_kk.dae6279f.js +0 -1
  435. package/dist/assets/messagebundle_ko.7eb7315b.js +0 -1
  436. package/dist/assets/messagebundle_lt.b70be4b9.js +0 -1
  437. package/dist/assets/messagebundle_lv.ddcf0766.js +0 -1
  438. package/dist/assets/messagebundle_ms.83a403f5.js +0 -1
  439. package/dist/assets/messagebundle_nl.558102cd.js +0 -1
  440. package/dist/assets/messagebundle_no.60d7fa92.js +0 -1
  441. package/dist/assets/messagebundle_pt.a948edc6.js +0 -1
  442. package/dist/assets/messagebundle_pt_PT.d65ed049.js +0 -1
  443. package/dist/assets/messagebundle_ro.1ef34428.js +0 -1
  444. package/dist/assets/messagebundle_ru.8661c34a.js +0 -1
  445. package/dist/assets/messagebundle_sk.602a50db.js +0 -1
  446. package/dist/assets/messagebundle_sl.166a52b0.js +0 -1
  447. package/dist/assets/messagebundle_sv.cf568a3b.js +0 -1
  448. package/dist/assets/messagebundle_th.f04a0ed1.js +0 -1
  449. package/dist/assets/messagebundle_tr.8ba3768e.js +0 -1
  450. package/dist/assets/messagebundle_uk.5cf857be.js +0 -1
  451. package/dist/assets/messagebundle_vi.e742259d.js +0 -1
  452. package/dist/assets/messagebundle_zh_CN.59e18572.js +0 -1
  453. package/dist/assets/messagebundle_zh_TW.8156116f.js +0 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,36 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.16.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v1.16.0-rc.0...v1.16.0-rc.1) (2023-07-13)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **ui5-li:** remove additional text width restriction ([#7274](https://github.com/SAP/ui5-webcomponents/issues/7274)) ([d80dbac](https://github.com/SAP/ui5-webcomponents/commit/d80dbac326af54e9f70635c35a1593bc1d3b55c7)), closes [#6937](https://github.com/SAP/ui5-webcomponents/issues/6937)
12
+ * **ui5-list:** avoid close event conflicts ([#7272](https://github.com/SAP/ui5-webcomponents/issues/7272)) ([0b7617e](https://github.com/SAP/ui5-webcomponents/commit/0b7617e65783a5788b4754001e5842778b7d8670))
13
+ * **ui5-tabcontainer:** remove extra padding from overflow menu ([#7316](https://github.com/SAP/ui5-webcomponents/issues/7316)) ([1705972](https://github.com/SAP/ui5-webcomponents/commit/1705972af8960bed7561142443a2428b44dd7528))
14
+ * **ui5-token:** adjust Horizon themes according to the specification ([#7266](https://github.com/SAP/ui5-webcomponents/issues/7266)) ([133ce18](https://github.com/SAP/ui5-webcomponents/commit/133ce189cfddd4d548fa21ecf31b65b30e8fdee1))
15
+
16
+
17
+ ### Features
18
+
19
+ * **ui5-tabcontainer:** implement latest SAP Horizon design ([#7257](https://github.com/SAP/ui5-webcomponents/issues/7257)) ([9ee9ec4](https://github.com/SAP/ui5-webcomponents/commit/9ee9ec4f9e3c45b07e90d28b0f1253b5d1091623))
20
+
21
+
22
+
23
+
24
+
25
+ # [1.16.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.15.1...v1.16.0-rc.0) (2023-07-06)
26
+
27
+
28
+ ### Features
29
+
30
+ * **ui5-progress-indicator:** accessibleName property added ([#7231](https://github.com/SAP/ui5-webcomponents/issues/7231)) ([ca66fd7](https://github.com/SAP/ui5-webcomponents/commit/ca66fd74dd88f0749f51fc94a52b10ab26e0985d))
31
+
32
+
33
+
34
+
35
+
6
36
  # [1.15.0](https://github.com/SAP/ui5-webcomponents/compare/v1.15.0-rc.2...v1.15.0) (2023-06-30)
7
37
 
8
38
 
package/LICENSE.txt ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2020-21 SAP SE or an SAP affiliate company and OpenUI5 contributors
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -133,7 +133,8 @@ declare class FileUploader extends UI5Element implements IFormElement {
133
133
  focused: boolean;
134
134
  /**
135
135
  * By default the component contains a single input field. With this slot you can pass any content that you wish to add. See the samples for more information. <br>
136
- * <b>Note:</b> If no content is provided in this slot, the component will only consist of an input field and will not be interactable using the keyboard.
136
+ * <b>Note:</b> If no content is provided in this slot, the component will only consist of an input field and will not be interactable using the keyboard.<br>
137
+ * Also it is not recommended to use any non-interactable components, as it may lead to poor accessibility experience.
137
138
  *
138
139
  * @type {HTMLElement[]}
139
140
  * @name sap.ui.webc.main.FileUploader.prototype.default
@@ -1 +1 @@
1
- {"version":3,"file":"FileUploader.js","sourceRoot":"","sources":["../src/FileUploader.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,KAAK,MAAM,kDAAkD,CAAC;AACrE,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,UAAU,MAAM,kDAAkD,CAAC;AAC1E,OAAO,EAA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Ae,YAAY,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.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.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport ValueState from \"@ui5/webcomponents-base/dist/types/ValueState.js\";\nimport { getFeature } from \"@ui5/webcomponents-base/dist/FeaturesRegistry.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport { getEventMark } from \"@ui5/webcomponents-base/dist/MarkedEvents.js\";\nimport { isEnter, isSpace } from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport {\n\tFILEUPLOAD_BROWSE,\n\tFILEUPLOADER_TITLE,\n\tVALUE_STATE_SUCCESS,\n\tVALUE_STATE_INFORMATION,\n\tVALUE_STATE_ERROR,\n\tVALUE_STATE_WARNING,\n} from \"./generated/i18n/i18n-defaults.js\";\n\nimport Input from \"./Input.js\";\nimport Popover from \"./Popover.js\";\nimport Icon from \"./Icon.js\";\n\n// Template\nimport FileUploaderTemplate from \"./generated/templates/FileUploaderTemplate.lit.js\";\nimport FileUploaderPopoverTemplate from \"./generated/templates/FileUploaderPopoverTemplate.lit.js\";\n\n// Styles\nimport FileUploaderCss from \"./generated/themes/FileUploader.css.js\";\nimport ResponsivePopoverCommonCss from \"./generated/themes/ResponsivePopoverCommon.css.js\";\nimport ValueStateMessageCss from \"./generated/themes/ValueStateMessage.css.js\";\nimport type FormSupport from \"./features/InputElementsFormSupport.js\";\nimport type { IFormElement } from \"./features/InputElementsFormSupport.js\";\n\ntype FileUploaderChangeEventDetail = {\n\tfiles: FileList | null,\n}\n\n/**\n * @class\n *\n * <h3 class=\"comment-api-title\">Overview</h3>\n *\n * The <code>ui5-file-uploader</code> opens a file explorer dialog and enables users to upload files.\n * The component consists of input field, but you can provide an HTML element by your choice\n * to trigger the file upload, by using the default slot.\n * Furthermore, you can set the property \"hideInput\" to \"true\" to hide the input field.\n * <br>\n * To get all selected files, you can simply use the read-only \"files\" property.\n * To restrict the types of files the user can select, you can use the \"accept\" property.\n * <br>\n * And, similar to all input based components, the FileUploader supports \"valueState\", \"placeholder\", \"name\", and \"disabled\" properties.\n *\n * For the <code>ui5-file-uploader</code>\n * <h3>ES6 Module Import</h3>\n *\n * <code>import \"@ui5/webcomponents/dist/FileUploader.js\";</code>\n *\n * @constructor\n * @since 1.0.0-rc.6\n * @author SAP SE\n * @alias sap.ui.webc.main.FileUploader\n * @extends sap.ui.webc.base.UI5Element\n * @tagname ui5-file-uploader\n * @public\n */\n@customElement({\n\ttag: \"ui5-file-uploader\",\n\tlanguageAware: true,\n\trenderer: litRender,\n\tstyles: FileUploaderCss,\n\ttemplate: FileUploaderTemplate,\n\tstaticAreaTemplate: FileUploaderPopoverTemplate,\n\tstaticAreaStyles: [ResponsivePopoverCommonCss, ValueStateMessageCss],\n\tdependencies: [\n\t\tInput,\n\t\tPopover,\n\t\tIcon,\n\t],\n})\n/**\n * Event is fired when the value of the file path has been changed.\n * <b>Note:</b> Keep in mind that because of the HTML input element of type file, the event is also fired in Chrome browser when the Cancel button of the uploads window is pressed.\n *\n * @event sap.ui.webc.main.FileUploader#change\n * @param {FileList} files The current files.\n * @public\n */\n@event(\"change\", {\n\tdetail: {\n\t\tfiles: { type: FileList },\n\t},\n})\nclass FileUploader extends UI5Element implements IFormElement {\n\t/**\n\t * Comma-separated list of file types that the component should accept.\n\t * <br><br>\n\t * <b>Note:</b> Please make sure you are adding the <code>.</code> in front on the file type, e.g. <code>.png</code> in case you want to accept png's only.\n\t * @type {string}\n\t * @name sap.ui.webc.main.FileUploader.prototype.accept\n\t * @defaultvalue \"\"\n\t * @public\n\t */\n\t@property()\n\taccept!: string;\n\n\t/**\n\t * If set to \"true\", the input field of component will not be rendered. Only the default slot that is passed will be rendered.\n\t * @type {boolean}\n\t * @name sap.ui.webc.main.FileUploader.prototype.hideInput\n\t * @defaultvalue false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\thideInput!: boolean;\n\n\t/**\n\t * Defines whether the component is in disabled state.\n\t * <br><br>\n\t * <b>Note:</b> A disabled component is completely noninteractive.\n\t *\n\t * @type {boolean}\n\t * @name sap.ui.webc.main.FileUploader.prototype.disabled\n\t * @defaultvalue false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tdisabled!: boolean;\n\n\t/**\n\t * Allows multiple files to be chosen.\n\t * @type {boolean}\n\t * @name sap.ui.webc.main.FileUploader.prototype.multiple\n\t * @defaultvalue false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tmultiple!: boolean;\n\n\t/**\n\t * Determines the name with which the component will be submitted in an HTML form.\n\t *\n\t * <br><br>\n\t * <b>Important:</b> For the <code>name</code> property to have effect, you must add the following import to your project:\n\t * <code>import \"@ui5/webcomponents/dist/features/InputElementsFormSupport.js\";</code>\n\t *\n\t * <br><br>\n\t * <b>Note:</b> When set, a native <code>input</code> HTML element\n\t * will be created inside the component so that it can be submitted as\n\t * part of an HTML form. Do not use this property unless you need to submit a form.\n\t *\n\t * @type {string}\n\t * @name sap.ui.webc.main.FileUploader.prototype.name\n\t * @defaultvalue \"\"\n\t * @public\n\t */\n\t@property()\n\tname!: string;\n\n\t/**\n\t * Defines a short hint intended to aid the user with data entry when the component has no value.\n\t * @type {string}\n\t * @name sap.ui.webc.main.FileUploader.prototype.placeholder\n\t * @defaultvalue \"\"\n\t * @public\n\t */\n\t@property()\n\tplaceholder!: string;\n\n\t/**\n\t * Defines the name/names of the file/files to upload.\n\t * @type {string}\n\t * @name sap.ui.webc.main.FileUploader.prototype.value\n\t * @defaultvalue \"\"\n\t * @formEvents change\n\t * @formProperty\n\t * @public\n\t */\n\t@property()\n\tvalue!: string;\n\n\t/**\n\t * Defines the value state of the component.\n\t * <br><br>\n\t * Available options are:\n\t * <ul>\n\t * <li><code>None</code></li>\n\t * <li><code>Error</code></li>\n\t * <li><code>Warning</code></li>\n\t * <li><code>Success</code></li>\n\t * <li><code>Information</code></li>\n\t * </ul>\n\t *\n\t * @type {sap.ui.webc.base.types.ValueState}\n\t * @name sap.ui.webc.main.FileUploader.prototype.valueState\n\t * @defaultvalue \"None\"\n\t * @public\n\t */\n\t@property({ type: ValueState, defaultValue: ValueState.None })\n\tvalueState!: `${ValueState}`;\n\n\t/**\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\tfocused!: boolean;\n\n\t/**\n\t * By default the component contains a single input field. With this slot you can pass any content that you wish to add. See the samples for more information. <br>\n\t * <b>Note:</b> If no content is provided in this slot, the component will only consist of an input field and will not be interactable using the keyboard.\n\t *\n\t * @type {HTMLElement[]}\n\t * @name sap.ui.webc.main.FileUploader.prototype.default\n\t * @slot content\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, \"default\": true })\n\tcontent!: Array<HTMLElement>;\n\n\t/**\n\t * Defines the value state message that will be displayed as pop up under the component.\n\t * <br><br>\n\t *\n\t * <b>Note:</b> If not specified, a default text (in the respective language) will be displayed.\n\t * <br>\n\t * <b>Note:</b> The <code>valueStateMessage</code> would be displayed,\n\t * when the component is in <code>Information</code>, <code>Warning</code> or <code>Error</code> value state.\n\t * @type {HTMLElement[]}\n\t * @name sap.ui.webc.main.FileUploader.prototype.valueStateMessage\n\t * @since 1.0.0-rc.9\n\t * @slot\n\t * @public\n\t */\n\t@slot()\n\tvalueStateMessage!: Array<HTMLElement>;\n\n\t/**\n\t * The slot is used to render native <code>input</code> HTML element within Light DOM to enable form submit,\n\t * when <code>name</code> property is set.\n\t * @type {HTMLElement[]}\n\t * @slot\n\t * @private\n\t */\n\t@slot()\n\tformSupport!: Array<HTMLElement>;\n\n\t_internals: ElementInternals;\n\n\tstatic emptyInput: HTMLInputElement;\n\n\tstatic i18nBundle: I18nBundle;\n\n\tstatic get formAssociated() {\n\t\treturn true;\n\t}\n\n\tconstructor() {\n\t\tsuper();\n\t\tthis._internals = this.attachInternals && this.attachInternals();\n\t}\n\n\t_onmouseover() {\n\t\tthis.content.forEach(item => {\n\t\t\titem.classList.add(\"ui5_hovered\");\n\t\t});\n\t}\n\n\t_onmouseout() {\n\t\tthis.content.forEach(item => {\n\t\t\titem.classList.remove(\"ui5_hovered\");\n\t\t});\n\t}\n\n\t_onclick(e: MouseEvent) {\n\t\tif (getEventMark(e) === \"button\") {\n\t\t\tthis._input.click();\n\t\t}\n\t}\n\n\t_onkeydown(e: KeyboardEvent) {\n\t\tif (isEnter(e)) {\n\t\t\tthis._input.click();\n\t\t\te.preventDefault();\n\t\t}\n\t}\n\n\t_onkeyup(e: KeyboardEvent) {\n\t\tif (isSpace(e)) {\n\t\t\tthis._input.click();\n\t\t\te.preventDefault();\n\t\t}\n\t}\n\n\t_onfocusin() {\n\t\tthis.focused = true;\n\t}\n\n\t_onfocusout() {\n\t\tthis.focused = false;\n\t}\n\n\t/**\n\t * FileList of all selected files.\n\t * @readonly\n\t * @type {FileList}\n\t * @public\n\t * @name sap.ui.webc.main.FileUploader.prototype.files\n\t */\n\tget files() {\n\t\tif (this._input) {\n\t\t\treturn this._input.files;\n\t\t}\n\n\t\treturn FileUploader._emptyFilesList;\n\t}\n\n\tonBeforeRendering() {\n\t\tthis._enableFormSupport();\n\t}\n\n\tonAfterRendering() {\n\t\tif (!this.value) {\n\t\t\tthis._input.value = \"\";\n\t\t}\n\n\t\tthis.toggleValueStatePopover(this.shouldOpenValueStateMessagePopover);\n\t}\n\n\t_enableFormSupport() {\n\t\tconst formSupport = getFeature<typeof FormSupport>(\"FormSupport\");\n\n\t\tif (formSupport) {\n\t\t\tif (this._canUseNativeFormSupport) {\n\t\t\t\tthis._setFormValue();\n\t\t\t} else {\n\t\t\t\tformSupport.syncNativeFileInput(this,\n\t\t\t\t\t(element: IFormElement, nativeInput: HTMLInputElement) => {\n\t\t\t\t\t\tnativeInput.disabled = !!element.disabled;\n\t\t\t\t\t},\n\t\t\t\t\tthis._onChange.bind(this));\n\t\t\t}\n\t\t} else if (this.name) {\n\t\t\tconsole.warn(`In order for the \"name\" property to have effect, you should also: import \"@ui5/webcomponents/dist/features/InputElementsFormSupport.js\";`); // eslint-disable-line\n\t\t}\n\t}\n\n\t_onChange(e: Event) {\n\t\tconst changedFiles = (e.target as HTMLInputElement).files;\n\n\t\tthis._updateValue(changedFiles);\n\t\tthis.fireEvent<FileUploaderChangeEventDetail>(\"change\", {\n\t\t\tfiles: changedFiles,\n\t\t});\n\t}\n\n\t_updateValue(files: FileList | null) {\n\t\tthis.value = Array.from(files || []).reduce((acc, currFile) => {\n\t\t\treturn `${acc}\"${currFile.name}\" `;\n\t\t}, \"\");\n\t}\n\n\t_setFormValue() {\n\t\tconst formData = new FormData();\n\n\t\tif (this.files) {\n\t\t\tfor (let i = 0; i < this.files.length; i++) {\n\t\t\t\tformData.append(this.name, this.files[i]);\n\t\t\t}\n\t\t}\n\n\t\tthis._internals.setFormValue(formData);\n\t}\n\n\ttoggleValueStatePopover(open: boolean) {\n\t\tif (open) {\n\t\t\tthis.openValueStatePopover();\n\t\t} else {\n\t\t\tthis.closeValueStatePopover();\n\t\t}\n\t}\n\n\tasync openValueStatePopover() {\n\t\tconst popover = await this._getPopover();\n\n\t\tif (popover) {\n\t\t\tpopover.showAt(this);\n\t\t}\n\t}\n\n\tasync closeValueStatePopover() {\n\t\tconst popover = await this._getPopover();\n\n\t\tif (popover) {\n\t\t\tpopover.close();\n\t\t}\n\t}\n\n\tasync _getPopover(): Promise<Popover> {\n\t\tconst staticAreaItem = await this.getStaticAreaItemDomRef();\n\t\treturn staticAreaItem!.querySelector<Popover>(\".ui5-valuestatemessage-popover\")!;\n\t}\n\n\t/**\n\t * in case when the component is not placed in the DOM, return empty FileList, like native input would do\n\t * @private\n\t */\n\tstatic get _emptyFilesList() {\n\t\tif (!this.emptyInput) {\n\t\t\tthis.emptyInput = document.createElement(\"input\");\n\t\t\tthis.emptyInput.type = \"file\";\n\t\t}\n\t\treturn this.emptyInput.files;\n\t}\n\n\tget browseText(): string {\n\t\treturn FileUploader.i18nBundle.getText(FILEUPLOAD_BROWSE);\n\t}\n\n\tget titleText(): string {\n\t\treturn FileUploader.i18nBundle.getText(FILEUPLOADER_TITLE);\n\t}\n\n\tget _canUseNativeFormSupport(): boolean {\n\t\treturn !!(this._internals && this._internals.setFormValue);\n\t}\n\n\tget _keepInputInShadowDOM(): boolean {\n\t\t// only put input in the light dom when ui5-file-uploader is placed inside form and there is no support for form elements\n\t\treturn this._canUseNativeFormSupport || !this.name;\n\t}\n\n\tget _input(): HTMLInputElement {\n\t\treturn (this.shadowRoot!.querySelector<HTMLInputElement>(\"input[type=file]\") || this.querySelector<HTMLInputElement>(\"input[type=file][data-ui5-form-support]\"))!;\n\t}\n\n\tget valueStateTextMappings(): Record<string, string> {\n\t\treturn {\n\t\t\t\"Success\": FileUploader.i18nBundle.getText(VALUE_STATE_SUCCESS),\n\t\t\t\"Information\": FileUploader.i18nBundle.getText(VALUE_STATE_INFORMATION),\n\t\t\t\"Error\": FileUploader.i18nBundle.getText(VALUE_STATE_ERROR),\n\t\t\t\"Warning\": FileUploader.i18nBundle.getText(VALUE_STATE_WARNING),\n\t\t};\n\t}\n\n\tget valueStateText(): string {\n\t\treturn this.valueStateTextMappings[this.valueState];\n\t}\n\n\tget hasValueState(): boolean {\n\t\treturn this.valueState !== ValueState.None;\n\t}\n\n\tget hasValueStateText(): boolean {\n\t\treturn this.hasValueState && this.valueState !== ValueState.Success;\n\t}\n\n\tget valueStateMessageText() {\n\t\treturn this.getSlottedNodes(\"valueStateMessage\").map(el => el.cloneNode(true));\n\t}\n\n\tget shouldDisplayDefaultValueStateMessage(): boolean {\n\t\treturn !this.valueStateMessage.length && this.hasValueStateText;\n\t}\n\n\tget shouldOpenValueStateMessagePopover(): boolean {\n\t\treturn this.focused && this.hasValueStateText && !this.hideInput;\n\t}\n\n\t/**\n\t * This method is relevant for sap_horizon theme only\n\t */\n\tget _valueStateMessageInputIcon(): string {\n\t\tconst iconPerValueState = {\n\t\t\tError: \"error\",\n\t\t\tWarning: \"alert\",\n\t\t\tSuccess: \"sys-enter-2\",\n\t\t\tInformation: \"information\",\n\t\t};\n\n\t\treturn this.valueState !== ValueState.None ? iconPerValueState[this.valueState] : \"\";\n\t}\n\n\tget classes() {\n\t\treturn {\n\t\t\tpopoverValueState: {\n\t\t\t\t\"ui5-valuestatemessage-root\": true,\n\t\t\t\t\"ui5-valuestatemessage--success\": this.valueState === ValueState.Success,\n\t\t\t\t\"ui5-valuestatemessage--error\": this.valueState === ValueState.Error,\n\t\t\t\t\"ui5-valuestatemessage--warning\": this.valueState === ValueState.Warning,\n\t\t\t\t\"ui5-valuestatemessage--information\": this.valueState === ValueState.Information,\n\t\t\t},\n\t\t};\n\t}\n\n\tget styles() {\n\t\treturn {\n\t\t\tpopoverHeader: {\n\t\t\t\t\"width\": `${this.ui5Input ? this.ui5Input.offsetWidth : 0}px`,\n\t\t\t},\n\t\t};\n\t}\n\n\tget ui5Input() {\n\t\treturn this.shadowRoot!.querySelector<Input>(\".ui5-file-uploader-input\");\n\t}\n\n\tstatic async onDefine() {\n\t\tFileUploader.i18nBundle = await getI18nBundle(\"@ui5/webcomponents\");\n\t}\n}\n\nFileUploader.define();\n\nexport default FileUploader;\nexport type {\n\tFileUploaderChangeEventDetail,\n};\n"]}
1
+ {"version":3,"file":"FileUploader.js","sourceRoot":"","sources":["../src/FileUploader.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,KAAK,MAAM,kDAAkD,CAAC;AACrE,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,UAAU,MAAM,kDAAkD,CAAC;AAC1E,OAAO,EAA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Ae,YAAY,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.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.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport ValueState from \"@ui5/webcomponents-base/dist/types/ValueState.js\";\nimport { getFeature } from \"@ui5/webcomponents-base/dist/FeaturesRegistry.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport { getEventMark } from \"@ui5/webcomponents-base/dist/MarkedEvents.js\";\nimport { isEnter, isSpace } from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport {\n\tFILEUPLOAD_BROWSE,\n\tFILEUPLOADER_TITLE,\n\tVALUE_STATE_SUCCESS,\n\tVALUE_STATE_INFORMATION,\n\tVALUE_STATE_ERROR,\n\tVALUE_STATE_WARNING,\n} from \"./generated/i18n/i18n-defaults.js\";\n\nimport Input from \"./Input.js\";\nimport Popover from \"./Popover.js\";\nimport Icon from \"./Icon.js\";\n\n// Template\nimport FileUploaderTemplate from \"./generated/templates/FileUploaderTemplate.lit.js\";\nimport FileUploaderPopoverTemplate from \"./generated/templates/FileUploaderPopoverTemplate.lit.js\";\n\n// Styles\nimport FileUploaderCss from \"./generated/themes/FileUploader.css.js\";\nimport ResponsivePopoverCommonCss from \"./generated/themes/ResponsivePopoverCommon.css.js\";\nimport ValueStateMessageCss from \"./generated/themes/ValueStateMessage.css.js\";\nimport type FormSupport from \"./features/InputElementsFormSupport.js\";\nimport type { IFormElement } from \"./features/InputElementsFormSupport.js\";\n\ntype FileUploaderChangeEventDetail = {\n\tfiles: FileList | null,\n}\n\n/**\n * @class\n *\n * <h3 class=\"comment-api-title\">Overview</h3>\n *\n * The <code>ui5-file-uploader</code> opens a file explorer dialog and enables users to upload files.\n * The component consists of input field, but you can provide an HTML element by your choice\n * to trigger the file upload, by using the default slot.\n * Furthermore, you can set the property \"hideInput\" to \"true\" to hide the input field.\n * <br>\n * To get all selected files, you can simply use the read-only \"files\" property.\n * To restrict the types of files the user can select, you can use the \"accept\" property.\n * <br>\n * And, similar to all input based components, the FileUploader supports \"valueState\", \"placeholder\", \"name\", and \"disabled\" properties.\n *\n * For the <code>ui5-file-uploader</code>\n * <h3>ES6 Module Import</h3>\n *\n * <code>import \"@ui5/webcomponents/dist/FileUploader.js\";</code>\n *\n * @constructor\n * @since 1.0.0-rc.6\n * @author SAP SE\n * @alias sap.ui.webc.main.FileUploader\n * @extends sap.ui.webc.base.UI5Element\n * @tagname ui5-file-uploader\n * @public\n */\n@customElement({\n\ttag: \"ui5-file-uploader\",\n\tlanguageAware: true,\n\trenderer: litRender,\n\tstyles: FileUploaderCss,\n\ttemplate: FileUploaderTemplate,\n\tstaticAreaTemplate: FileUploaderPopoverTemplate,\n\tstaticAreaStyles: [ResponsivePopoverCommonCss, ValueStateMessageCss],\n\tdependencies: [\n\t\tInput,\n\t\tPopover,\n\t\tIcon,\n\t],\n})\n/**\n * Event is fired when the value of the file path has been changed.\n * <b>Note:</b> Keep in mind that because of the HTML input element of type file, the event is also fired in Chrome browser when the Cancel button of the uploads window is pressed.\n *\n * @event sap.ui.webc.main.FileUploader#change\n * @param {FileList} files The current files.\n * @public\n */\n@event(\"change\", {\n\tdetail: {\n\t\tfiles: { type: FileList },\n\t},\n})\nclass FileUploader extends UI5Element implements IFormElement {\n\t/**\n\t * Comma-separated list of file types that the component should accept.\n\t * <br><br>\n\t * <b>Note:</b> Please make sure you are adding the <code>.</code> in front on the file type, e.g. <code>.png</code> in case you want to accept png's only.\n\t * @type {string}\n\t * @name sap.ui.webc.main.FileUploader.prototype.accept\n\t * @defaultvalue \"\"\n\t * @public\n\t */\n\t@property()\n\taccept!: string;\n\n\t/**\n\t * If set to \"true\", the input field of component will not be rendered. Only the default slot that is passed will be rendered.\n\t * @type {boolean}\n\t * @name sap.ui.webc.main.FileUploader.prototype.hideInput\n\t * @defaultvalue false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\thideInput!: boolean;\n\n\t/**\n\t * Defines whether the component is in disabled state.\n\t * <br><br>\n\t * <b>Note:</b> A disabled component is completely noninteractive.\n\t *\n\t * @type {boolean}\n\t * @name sap.ui.webc.main.FileUploader.prototype.disabled\n\t * @defaultvalue false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tdisabled!: boolean;\n\n\t/**\n\t * Allows multiple files to be chosen.\n\t * @type {boolean}\n\t * @name sap.ui.webc.main.FileUploader.prototype.multiple\n\t * @defaultvalue false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tmultiple!: boolean;\n\n\t/**\n\t * Determines the name with which the component will be submitted in an HTML form.\n\t *\n\t * <br><br>\n\t * <b>Important:</b> For the <code>name</code> property to have effect, you must add the following import to your project:\n\t * <code>import \"@ui5/webcomponents/dist/features/InputElementsFormSupport.js\";</code>\n\t *\n\t * <br><br>\n\t * <b>Note:</b> When set, a native <code>input</code> HTML element\n\t * will be created inside the component so that it can be submitted as\n\t * part of an HTML form. Do not use this property unless you need to submit a form.\n\t *\n\t * @type {string}\n\t * @name sap.ui.webc.main.FileUploader.prototype.name\n\t * @defaultvalue \"\"\n\t * @public\n\t */\n\t@property()\n\tname!: string;\n\n\t/**\n\t * Defines a short hint intended to aid the user with data entry when the component has no value.\n\t * @type {string}\n\t * @name sap.ui.webc.main.FileUploader.prototype.placeholder\n\t * @defaultvalue \"\"\n\t * @public\n\t */\n\t@property()\n\tplaceholder!: string;\n\n\t/**\n\t * Defines the name/names of the file/files to upload.\n\t * @type {string}\n\t * @name sap.ui.webc.main.FileUploader.prototype.value\n\t * @defaultvalue \"\"\n\t * @formEvents change\n\t * @formProperty\n\t * @public\n\t */\n\t@property()\n\tvalue!: string;\n\n\t/**\n\t * Defines the value state of the component.\n\t * <br><br>\n\t * Available options are:\n\t * <ul>\n\t * <li><code>None</code></li>\n\t * <li><code>Error</code></li>\n\t * <li><code>Warning</code></li>\n\t * <li><code>Success</code></li>\n\t * <li><code>Information</code></li>\n\t * </ul>\n\t *\n\t * @type {sap.ui.webc.base.types.ValueState}\n\t * @name sap.ui.webc.main.FileUploader.prototype.valueState\n\t * @defaultvalue \"None\"\n\t * @public\n\t */\n\t@property({ type: ValueState, defaultValue: ValueState.None })\n\tvalueState!: `${ValueState}`;\n\n\t/**\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\tfocused!: boolean;\n\n\t/**\n\t * By default the component contains a single input field. With this slot you can pass any content that you wish to add. See the samples for more information. <br>\n\t * <b>Note:</b> If no content is provided in this slot, the component will only consist of an input field and will not be interactable using the keyboard.<br>\n\t * Also it is not recommended to use any non-interactable components, as it may lead to poor accessibility experience.\n\t *\n\t * @type {HTMLElement[]}\n\t * @name sap.ui.webc.main.FileUploader.prototype.default\n\t * @slot content\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, \"default\": true })\n\tcontent!: Array<HTMLElement>;\n\n\t/**\n\t * Defines the value state message that will be displayed as pop up under the component.\n\t * <br><br>\n\t *\n\t * <b>Note:</b> If not specified, a default text (in the respective language) will be displayed.\n\t * <br>\n\t * <b>Note:</b> The <code>valueStateMessage</code> would be displayed,\n\t * when the component is in <code>Information</code>, <code>Warning</code> or <code>Error</code> value state.\n\t * @type {HTMLElement[]}\n\t * @name sap.ui.webc.main.FileUploader.prototype.valueStateMessage\n\t * @since 1.0.0-rc.9\n\t * @slot\n\t * @public\n\t */\n\t@slot()\n\tvalueStateMessage!: Array<HTMLElement>;\n\n\t/**\n\t * The slot is used to render native <code>input</code> HTML element within Light DOM to enable form submit,\n\t * when <code>name</code> property is set.\n\t * @type {HTMLElement[]}\n\t * @slot\n\t * @private\n\t */\n\t@slot()\n\tformSupport!: Array<HTMLElement>;\n\n\t_internals: ElementInternals;\n\n\tstatic emptyInput: HTMLInputElement;\n\n\tstatic i18nBundle: I18nBundle;\n\n\tstatic get formAssociated() {\n\t\treturn true;\n\t}\n\n\tconstructor() {\n\t\tsuper();\n\t\tthis._internals = this.attachInternals && this.attachInternals();\n\t}\n\n\t_onmouseover() {\n\t\tthis.content.forEach(item => {\n\t\t\titem.classList.add(\"ui5_hovered\");\n\t\t});\n\t}\n\n\t_onmouseout() {\n\t\tthis.content.forEach(item => {\n\t\t\titem.classList.remove(\"ui5_hovered\");\n\t\t});\n\t}\n\n\t_onclick(e: MouseEvent) {\n\t\tif (getEventMark(e) === \"button\") {\n\t\t\tthis._input.click();\n\t\t}\n\t}\n\n\t_onkeydown(e: KeyboardEvent) {\n\t\tif (isEnter(e)) {\n\t\t\tthis._input.click();\n\t\t\te.preventDefault();\n\t\t}\n\t}\n\n\t_onkeyup(e: KeyboardEvent) {\n\t\tif (isSpace(e)) {\n\t\t\tthis._input.click();\n\t\t\te.preventDefault();\n\t\t}\n\t}\n\n\t_onfocusin() {\n\t\tthis.focused = true;\n\t}\n\n\t_onfocusout() {\n\t\tthis.focused = false;\n\t}\n\n\t/**\n\t * FileList of all selected files.\n\t * @readonly\n\t * @type {FileList}\n\t * @public\n\t * @name sap.ui.webc.main.FileUploader.prototype.files\n\t */\n\tget files() {\n\t\tif (this._input) {\n\t\t\treturn this._input.files;\n\t\t}\n\n\t\treturn FileUploader._emptyFilesList;\n\t}\n\n\tonBeforeRendering() {\n\t\tthis._enableFormSupport();\n\t}\n\n\tonAfterRendering() {\n\t\tif (!this.value) {\n\t\t\tthis._input.value = \"\";\n\t\t}\n\n\t\tthis.toggleValueStatePopover(this.shouldOpenValueStateMessagePopover);\n\t}\n\n\t_enableFormSupport() {\n\t\tconst formSupport = getFeature<typeof FormSupport>(\"FormSupport\");\n\n\t\tif (formSupport) {\n\t\t\tif (this._canUseNativeFormSupport) {\n\t\t\t\tthis._setFormValue();\n\t\t\t} else {\n\t\t\t\tformSupport.syncNativeFileInput(this,\n\t\t\t\t\t(element: IFormElement, nativeInput: HTMLInputElement) => {\n\t\t\t\t\t\tnativeInput.disabled = !!element.disabled;\n\t\t\t\t\t},\n\t\t\t\t\tthis._onChange.bind(this));\n\t\t\t}\n\t\t} else if (this.name) {\n\t\t\tconsole.warn(`In order for the \"name\" property to have effect, you should also: import \"@ui5/webcomponents/dist/features/InputElementsFormSupport.js\";`); // eslint-disable-line\n\t\t}\n\t}\n\n\t_onChange(e: Event) {\n\t\tconst changedFiles = (e.target as HTMLInputElement).files;\n\n\t\tthis._updateValue(changedFiles);\n\t\tthis.fireEvent<FileUploaderChangeEventDetail>(\"change\", {\n\t\t\tfiles: changedFiles,\n\t\t});\n\t}\n\n\t_updateValue(files: FileList | null) {\n\t\tthis.value = Array.from(files || []).reduce((acc, currFile) => {\n\t\t\treturn `${acc}\"${currFile.name}\" `;\n\t\t}, \"\");\n\t}\n\n\t_setFormValue() {\n\t\tconst formData = new FormData();\n\n\t\tif (this.files) {\n\t\t\tfor (let i = 0; i < this.files.length; i++) {\n\t\t\t\tformData.append(this.name, this.files[i]);\n\t\t\t}\n\t\t}\n\n\t\tthis._internals.setFormValue(formData);\n\t}\n\n\ttoggleValueStatePopover(open: boolean) {\n\t\tif (open) {\n\t\t\tthis.openValueStatePopover();\n\t\t} else {\n\t\t\tthis.closeValueStatePopover();\n\t\t}\n\t}\n\n\tasync openValueStatePopover() {\n\t\tconst popover = await this._getPopover();\n\n\t\tif (popover) {\n\t\t\tpopover.showAt(this);\n\t\t}\n\t}\n\n\tasync closeValueStatePopover() {\n\t\tconst popover = await this._getPopover();\n\n\t\tif (popover) {\n\t\t\tpopover.close();\n\t\t}\n\t}\n\n\tasync _getPopover(): Promise<Popover> {\n\t\tconst staticAreaItem = await this.getStaticAreaItemDomRef();\n\t\treturn staticAreaItem!.querySelector<Popover>(\".ui5-valuestatemessage-popover\")!;\n\t}\n\n\t/**\n\t * in case when the component is not placed in the DOM, return empty FileList, like native input would do\n\t * @private\n\t */\n\tstatic get _emptyFilesList() {\n\t\tif (!this.emptyInput) {\n\t\t\tthis.emptyInput = document.createElement(\"input\");\n\t\t\tthis.emptyInput.type = \"file\";\n\t\t}\n\t\treturn this.emptyInput.files;\n\t}\n\n\tget browseText(): string {\n\t\treturn FileUploader.i18nBundle.getText(FILEUPLOAD_BROWSE);\n\t}\n\n\tget titleText(): string {\n\t\treturn FileUploader.i18nBundle.getText(FILEUPLOADER_TITLE);\n\t}\n\n\tget _canUseNativeFormSupport(): boolean {\n\t\treturn !!(this._internals && this._internals.setFormValue);\n\t}\n\n\tget _keepInputInShadowDOM(): boolean {\n\t\t// only put input in the light dom when ui5-file-uploader is placed inside form and there is no support for form elements\n\t\treturn this._canUseNativeFormSupport || !this.name;\n\t}\n\n\tget _input(): HTMLInputElement {\n\t\treturn (this.shadowRoot!.querySelector<HTMLInputElement>(\"input[type=file]\") || this.querySelector<HTMLInputElement>(\"input[type=file][data-ui5-form-support]\"))!;\n\t}\n\n\tget valueStateTextMappings(): Record<string, string> {\n\t\treturn {\n\t\t\t\"Success\": FileUploader.i18nBundle.getText(VALUE_STATE_SUCCESS),\n\t\t\t\"Information\": FileUploader.i18nBundle.getText(VALUE_STATE_INFORMATION),\n\t\t\t\"Error\": FileUploader.i18nBundle.getText(VALUE_STATE_ERROR),\n\t\t\t\"Warning\": FileUploader.i18nBundle.getText(VALUE_STATE_WARNING),\n\t\t};\n\t}\n\n\tget valueStateText(): string {\n\t\treturn this.valueStateTextMappings[this.valueState];\n\t}\n\n\tget hasValueState(): boolean {\n\t\treturn this.valueState !== ValueState.None;\n\t}\n\n\tget hasValueStateText(): boolean {\n\t\treturn this.hasValueState && this.valueState !== ValueState.Success;\n\t}\n\n\tget valueStateMessageText() {\n\t\treturn this.getSlottedNodes(\"valueStateMessage\").map(el => el.cloneNode(true));\n\t}\n\n\tget shouldDisplayDefaultValueStateMessage(): boolean {\n\t\treturn !this.valueStateMessage.length && this.hasValueStateText;\n\t}\n\n\tget shouldOpenValueStateMessagePopover(): boolean {\n\t\treturn this.focused && this.hasValueStateText && !this.hideInput;\n\t}\n\n\t/**\n\t * This method is relevant for sap_horizon theme only\n\t */\n\tget _valueStateMessageInputIcon(): string {\n\t\tconst iconPerValueState = {\n\t\t\tError: \"error\",\n\t\t\tWarning: \"alert\",\n\t\t\tSuccess: \"sys-enter-2\",\n\t\t\tInformation: \"information\",\n\t\t};\n\n\t\treturn this.valueState !== ValueState.None ? iconPerValueState[this.valueState] : \"\";\n\t}\n\n\tget classes() {\n\t\treturn {\n\t\t\tpopoverValueState: {\n\t\t\t\t\"ui5-valuestatemessage-root\": true,\n\t\t\t\t\"ui5-valuestatemessage--success\": this.valueState === ValueState.Success,\n\t\t\t\t\"ui5-valuestatemessage--error\": this.valueState === ValueState.Error,\n\t\t\t\t\"ui5-valuestatemessage--warning\": this.valueState === ValueState.Warning,\n\t\t\t\t\"ui5-valuestatemessage--information\": this.valueState === ValueState.Information,\n\t\t\t},\n\t\t};\n\t}\n\n\tget styles() {\n\t\treturn {\n\t\t\tpopoverHeader: {\n\t\t\t\t\"width\": `${this.ui5Input ? this.ui5Input.offsetWidth : 0}px`,\n\t\t\t},\n\t\t};\n\t}\n\n\tget ui5Input() {\n\t\treturn this.shadowRoot!.querySelector<Input>(\".ui5-file-uploader-input\");\n\t}\n\n\tstatic async onDefine() {\n\t\tFileUploader.i18nBundle = await getI18nBundle(\"@ui5/webcomponents\");\n\t}\n}\n\nFileUploader.define();\n\nexport default FileUploader;\nexport type {\n\tFileUploaderChangeEventDetail,\n};\n"]}
package/dist/List.js CHANGED
@@ -510,7 +510,11 @@ let List = List_1 = class List extends UI5Element {
510
510
  }
511
511
  // This is applicable to NotificationListItem
512
512
  onItemClose(e) {
513
- this.fireEvent("item-close", { item: e.detail.item });
513
+ const target = e.target;
514
+ const shouldFireItemClose = target?.hasAttribute("ui5-li-notification") || target?.hasAttribute("ui5-li-notification-group");
515
+ if (shouldFireItemClose) {
516
+ this.fireEvent("item-close", { item: e.detail?.item });
517
+ }
514
518
  }
515
519
  onItemToggle(e) {
516
520
  this.fireEvent("item-toggle", { item: e.detail.item });