@ui5/webcomponents 1.14.0-rc.1 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (613) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/dist/Breadcrumbs.d.ts +10 -2
  3. package/dist/Breadcrumbs.js.map +1 -1
  4. package/dist/Calendar.d.ts +2 -2
  5. package/dist/Calendar.js.map +1 -1
  6. package/dist/Carousel.d.ts +31 -0
  7. package/dist/Carousel.js +16 -0
  8. package/dist/Carousel.js.map +1 -1
  9. package/dist/ComboBox.d.ts +2 -2
  10. package/dist/ComboBox.js.map +1 -1
  11. package/dist/DatePicker.d.ts +9 -5
  12. package/dist/DatePicker.js.map +1 -1
  13. package/dist/DateRangePicker.d.ts +4 -2
  14. package/dist/DateRangePicker.js.map +1 -1
  15. package/dist/DateTimePicker.d.ts +4 -2
  16. package/dist/DateTimePicker.js.map +1 -1
  17. package/dist/Dialog.d.ts +10 -0
  18. package/dist/Dialog.js +20 -0
  19. package/dist/Dialog.js.map +1 -1
  20. package/dist/FileUploader.d.ts +4 -0
  21. package/dist/FileUploader.js.map +1 -1
  22. package/dist/Input.d.ts +12 -0
  23. package/dist/Input.js.map +1 -1
  24. package/dist/Label.d.ts +7 -4
  25. package/dist/Label.js +14 -6
  26. package/dist/Label.js.map +1 -1
  27. package/dist/List.d.ts +15 -9
  28. package/dist/List.js.map +1 -1
  29. package/dist/Menu.d.ts +15 -2
  30. package/dist/Menu.js +43 -22
  31. package/dist/Menu.js.map +1 -1
  32. package/dist/MultiComboBox.d.ts +2 -2
  33. package/dist/MultiComboBox.js.map +1 -1
  34. package/dist/MultiInput.d.ts +2 -1
  35. package/dist/MultiInput.js.map +1 -1
  36. package/dist/Popover.d.ts +2 -0
  37. package/dist/Popover.js.map +1 -1
  38. package/dist/Popup.js +5 -2
  39. package/dist/Popup.js.map +1 -1
  40. package/dist/SegmentedButton.d.ts +36 -0
  41. package/dist/SegmentedButton.js +56 -26
  42. package/dist/SegmentedButton.js.map +1 -1
  43. package/dist/Select.d.ts +2 -2
  44. package/dist/Select.js +6 -1
  45. package/dist/Select.js.map +1 -1
  46. package/dist/TabContainer.d.ts +2 -2
  47. package/dist/TabContainer.js.map +1 -1
  48. package/dist/Table.d.ts +9 -2
  49. package/dist/Table.js.map +1 -1
  50. package/dist/TimePicker.d.ts +2 -0
  51. package/dist/TimePicker.js.map +1 -1
  52. package/dist/TimePickerBase.d.ts +8 -1
  53. package/dist/TimePickerBase.js.map +1 -1
  54. package/dist/Tree.d.ts +3 -3
  55. package/dist/Tree.js.map +1 -1
  56. package/dist/api.json +1 -1
  57. package/dist/assets/{Label.95b96777.css → Label.b443825c.css} +1 -1
  58. package/dist/assets/TimePicker.0bfa349e.css +1 -0
  59. package/dist/assets/messagebundle_ar.cb2d513f.js +1 -0
  60. package/dist/assets/messagebundle_bg.fe0fc2a7.js +1 -0
  61. package/dist/assets/messagebundle_ca.5188156e.js +1 -0
  62. package/dist/assets/messagebundle_cs.326d268e.js +1 -0
  63. package/dist/assets/messagebundle_cy.27c00e72.js +1 -0
  64. package/dist/assets/messagebundle_da.8b2efe9a.js +1 -0
  65. package/dist/assets/messagebundle_de.f247aeb5.js +1 -0
  66. package/dist/assets/messagebundle_el.2aa42d04.js +1 -0
  67. package/dist/assets/messagebundle_en.0339fd5b.js +1 -0
  68. package/dist/assets/messagebundle_en_GB.fb50b51d.js +1 -0
  69. package/dist/assets/{messagebundle_en_US_sappsd.aec484c1.js → messagebundle_en_US_sappsd.1c34c7f1.js} +1 -1
  70. package/dist/assets/{messagebundle_en_US_saprigi.f321a5ab.js → messagebundle_en_US_saprigi.72615e29.js} +1 -1
  71. package/dist/assets/messagebundle_en_US_saptrc.2ec2f5b5.js +1 -0
  72. package/dist/assets/messagebundle_es.c3e0ee87.js +1 -0
  73. package/dist/assets/messagebundle_es_MX.66753849.js +1 -0
  74. package/dist/assets/messagebundle_et.416acfd2.js +1 -0
  75. package/dist/assets/messagebundle_fi.d1cbd526.js +1 -0
  76. package/dist/assets/messagebundle_fr.dc36e584.js +1 -0
  77. package/dist/assets/messagebundle_fr_CA.2523bd90.js +1 -0
  78. package/dist/assets/messagebundle_hi.ce0e6a15.js +1 -0
  79. package/dist/assets/messagebundle_hr.ceaae56a.js +1 -0
  80. package/dist/assets/messagebundle_hu.1ea9e4b9.js +1 -0
  81. package/dist/assets/messagebundle_it.42236d24.js +1 -0
  82. package/dist/assets/messagebundle_iw.a7ef7e16.js +1 -0
  83. package/dist/assets/messagebundle_ja.5d29b9fe.js +1 -0
  84. package/dist/assets/messagebundle_kk.a06da1f6.js +1 -0
  85. package/dist/assets/messagebundle_ko.21aacadd.js +1 -0
  86. package/dist/assets/messagebundle_lt.ce9c0489.js +1 -0
  87. package/dist/assets/messagebundle_lv.04d3cfc7.js +1 -0
  88. package/dist/assets/messagebundle_ms.95abdbb4.js +1 -0
  89. package/dist/assets/messagebundle_nl.57fa959f.js +1 -0
  90. package/dist/assets/messagebundle_no.e5f967f2.js +1 -0
  91. package/dist/assets/messagebundle_pl.4e8d92c7.js +1 -0
  92. package/dist/assets/messagebundle_pt.81f79352.js +1 -0
  93. package/dist/assets/messagebundle_pt_PT.57ea1c45.js +1 -0
  94. package/dist/assets/messagebundle_ro.4045f404.js +1 -0
  95. package/dist/assets/messagebundle_ru.093d6aec.js +1 -0
  96. package/dist/assets/messagebundle_sh.adc6cb96.js +1 -0
  97. package/dist/assets/messagebundle_sk.3d142f10.js +1 -0
  98. package/dist/assets/messagebundle_sl.504df99f.js +1 -0
  99. package/dist/assets/messagebundle_sv.614c8881.js +1 -0
  100. package/dist/assets/messagebundle_th.38af175f.js +1 -0
  101. package/dist/assets/messagebundle_tr.888a1c33.js +1 -0
  102. package/dist/assets/messagebundle_uk.89e0a61e.js +1 -0
  103. package/dist/assets/messagebundle_vi.36e677bb.js +1 -0
  104. package/dist/assets/messagebundle_zh_CN.00a7ca32.js +1 -0
  105. package/dist/assets/messagebundle_zh_TW.c2379ed2.js +1 -0
  106. package/dist/assets/parameters-bundle.css.0ec52ac7.js +1 -0
  107. package/dist/assets/parameters-bundle.css.23bec147.js +1 -0
  108. package/dist/assets/{parameters-bundle.css.bdbac4ec.js → parameters-bundle.css.397d6040.js} +1 -1
  109. package/dist/assets/{parameters-bundle.css.ef6e66b9.js → parameters-bundle.css.3fee12aa.js} +1 -1
  110. package/dist/assets/parameters-bundle.css.4a898a1b.js +1 -0
  111. package/dist/assets/parameters-bundle.css.4c54fb75.js +1 -0
  112. package/dist/assets/parameters-bundle.css.6646bc95.js +1 -0
  113. package/dist/assets/parameters-bundle.css.72ef7ff2.js +1 -0
  114. package/dist/assets/parameters-bundle.css.76a7a9e4.js +1 -0
  115. package/dist/assets/parameters-bundle.css.7edd6913.js +1 -0
  116. package/dist/assets/{parameters-bundle.css.0d6c19c9.js → parameters-bundle.css.86ed4ed5.js} +1 -1
  117. package/dist/assets/parameters-bundle.css.8bd32b39.js +1 -0
  118. package/dist/assets/parameters-bundle.css.9ca7ff31.js +1 -0
  119. package/dist/assets/parameters-bundle.css.bed7b1d7.js +1 -0
  120. package/dist/assets/{parameters-bundle.css.b8686554.js → parameters-bundle.css.bfd87960.js} +1 -1
  121. package/dist/assets/parameters-bundle.css.c8caca4e.js +1 -0
  122. package/dist/assets/{parameters-bundle.css.ab21e265.js → parameters-bundle.css.c9f57df8.js} +1 -1
  123. package/dist/assets/parameters-bundle.css.cd179234.js +1 -0
  124. package/dist/assets/parameters-bundle.css.dd9c4590.js +1 -0
  125. package/dist/assets/parameters-bundle.css.ddac1eb8.js +1 -0
  126. package/dist/assets/parameters-bundle.css.e1417378.js +1 -0
  127. package/dist/assets/{parameters-bundle.css.7bae430d.js → parameters-bundle.css.e2318f88.js} +1 -1
  128. package/dist/assets/parameters-bundle.css.e870ea96.js +1 -0
  129. package/dist/assets/parameters-bundle.css.ef756ba2.js +1 -0
  130. package/dist/assets/test/pages/{ComboBox.html.2d8ba2b0.js → ComboBox.html.f440f43b.js} +1 -1
  131. package/dist/assets/test/pages/{Icon.html.23e5ba67.js → Icon.html.dfe2d272.js} +1 -1
  132. package/dist/assets/test/pages/Label.html.717f733f.js +4 -0
  133. package/dist/assets/test/pages/{Popups.html.aee5c427.js → Popups.html.272c9aca.js} +1 -1
  134. package/dist/css/themes/AvatarGroup.css +1 -1
  135. package/dist/css/themes/Carousel.css +1 -1
  136. package/dist/css/themes/DatePicker.css +1 -1
  137. package/dist/css/themes/DayPicker.css +1 -1
  138. package/dist/css/themes/Dialog.css +1 -1
  139. package/dist/css/themes/FileUploader.css +1 -1
  140. package/dist/css/themes/Label.css +1 -1
  141. package/dist/css/themes/Link.css +1 -1
  142. package/dist/css/themes/TimePicker.css +1 -1
  143. package/dist/css/themes/sap_belize/parameters-bundle.css +1 -1
  144. package/dist/css/themes/sap_belize_hcb/parameters-bundle.css +1 -1
  145. package/dist/css/themes/sap_belize_hcw/parameters-bundle.css +1 -1
  146. package/dist/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
  147. package/dist/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
  148. package/dist/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
  149. package/dist/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
  150. package/dist/css/themes/sap_horizon/parameters-bundle.css +1 -1
  151. package/dist/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
  152. package/dist/css/themes/sap_horizon_exp/parameters-bundle.css +1 -1
  153. package/dist/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
  154. package/dist/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
  155. package/dist/custom-elements.json +1 -1
  156. package/dist/features/InputSuggestions.d.ts +3 -3
  157. package/dist/features/InputSuggestions.js.map +1 -1
  158. package/dist/generated/assets/i18n/messagebundle_ar.json +1 -1
  159. package/dist/generated/assets/i18n/messagebundle_bg.json +1 -1
  160. package/dist/generated/assets/i18n/messagebundle_ca.json +1 -1
  161. package/dist/generated/assets/i18n/messagebundle_cs.json +1 -1
  162. package/dist/generated/assets/i18n/messagebundle_cy.json +1 -1
  163. package/dist/generated/assets/i18n/messagebundle_da.json +1 -1
  164. package/dist/generated/assets/i18n/messagebundle_de.json +1 -1
  165. package/dist/generated/assets/i18n/messagebundle_el.json +1 -1
  166. package/dist/generated/assets/i18n/messagebundle_en.json +1 -1
  167. package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -1
  168. package/dist/generated/assets/i18n/messagebundle_en_US_sappsd.json +1 -1
  169. package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -1
  170. package/dist/generated/assets/i18n/messagebundle_en_US_saptrc.json +1 -1
  171. package/dist/generated/assets/i18n/messagebundle_es.json +1 -1
  172. package/dist/generated/assets/i18n/messagebundle_es_MX.json +1 -1
  173. package/dist/generated/assets/i18n/messagebundle_et.json +1 -1
  174. package/dist/generated/assets/i18n/messagebundle_fi.json +1 -1
  175. package/dist/generated/assets/i18n/messagebundle_fr.json +1 -1
  176. package/dist/generated/assets/i18n/messagebundle_fr_CA.json +1 -1
  177. package/dist/generated/assets/i18n/messagebundle_hi.json +1 -1
  178. package/dist/generated/assets/i18n/messagebundle_hr.json +1 -1
  179. package/dist/generated/assets/i18n/messagebundle_hu.json +1 -1
  180. package/dist/generated/assets/i18n/messagebundle_it.json +1 -1
  181. package/dist/generated/assets/i18n/messagebundle_iw.json +1 -1
  182. package/dist/generated/assets/i18n/messagebundle_ja.json +1 -1
  183. package/dist/generated/assets/i18n/messagebundle_kk.json +1 -1
  184. package/dist/generated/assets/i18n/messagebundle_ko.json +1 -1
  185. package/dist/generated/assets/i18n/messagebundle_lt.json +1 -1
  186. package/dist/generated/assets/i18n/messagebundle_lv.json +1 -1
  187. package/dist/generated/assets/i18n/messagebundle_ms.json +1 -1
  188. package/dist/generated/assets/i18n/messagebundle_nl.json +1 -1
  189. package/dist/generated/assets/i18n/messagebundle_no.json +1 -1
  190. package/dist/generated/assets/i18n/messagebundle_pl.json +1 -1
  191. package/dist/generated/assets/i18n/messagebundle_pt.json +1 -1
  192. package/dist/generated/assets/i18n/messagebundle_pt_PT.json +1 -1
  193. package/dist/generated/assets/i18n/messagebundle_ro.json +1 -1
  194. package/dist/generated/assets/i18n/messagebundle_ru.json +1 -1
  195. package/dist/generated/assets/i18n/messagebundle_sh.json +1 -1
  196. package/dist/generated/assets/i18n/messagebundle_sk.json +1 -1
  197. package/dist/generated/assets/i18n/messagebundle_sl.json +1 -1
  198. package/dist/generated/assets/i18n/messagebundle_sv.json +1 -1
  199. package/dist/generated/assets/i18n/messagebundle_th.json +1 -1
  200. package/dist/generated/assets/i18n/messagebundle_tr.json +1 -1
  201. package/dist/generated/assets/i18n/messagebundle_uk.json +1 -1
  202. package/dist/generated/assets/i18n/messagebundle_vi.json +1 -1
  203. package/dist/generated/assets/i18n/messagebundle_zh_CN.json +1 -1
  204. package/dist/generated/assets/i18n/messagebundle_zh_TW.json +1 -1
  205. package/dist/generated/assets/themes/sap_belize/parameters-bundle.css.json +1 -1
  206. package/dist/generated/assets/themes/sap_belize_hcb/parameters-bundle.css.json +1 -1
  207. package/dist/generated/assets/themes/sap_belize_hcw/parameters-bundle.css.json +1 -1
  208. package/dist/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json +1 -1
  209. package/dist/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json +1 -1
  210. package/dist/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json +1 -1
  211. package/dist/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json +1 -1
  212. package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -1
  213. package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -1
  214. package/dist/generated/assets/themes/sap_horizon_exp/parameters-bundle.css.json +1 -1
  215. package/dist/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json +1 -1
  216. package/dist/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json +1 -1
  217. package/dist/generated/i18n/i18n-defaults.d.ts +6 -1
  218. package/dist/generated/i18n/i18n-defaults.js +6 -1
  219. package/dist/generated/i18n/i18n-defaults.js.map +1 -1
  220. package/dist/generated/templates/AvatarTemplate.lit.js +3 -3
  221. package/dist/generated/templates/AvatarTemplate.lit.js.map +1 -1
  222. package/dist/generated/templates/CarouselTemplate.lit.js +2 -2
  223. package/dist/generated/templates/CarouselTemplate.lit.js.map +1 -1
  224. package/dist/generated/templates/DialogTemplate.lit.js +9 -4
  225. package/dist/generated/templates/DialogTemplate.lit.js.map +1 -1
  226. package/dist/generated/templates/LabelTemplate.lit.js +1 -1
  227. package/dist/generated/templates/LabelTemplate.lit.js.map +1 -1
  228. package/dist/generated/themes/AvatarGroup.css.js +1 -1
  229. package/dist/generated/themes/AvatarGroup.css.js.map +1 -1
  230. package/dist/generated/themes/Carousel.css.js +1 -1
  231. package/dist/generated/themes/Carousel.css.js.map +1 -1
  232. package/dist/generated/themes/DatePicker.css.js +1 -1
  233. package/dist/generated/themes/DatePicker.css.js.map +1 -1
  234. package/dist/generated/themes/DayPicker.css.js +1 -1
  235. package/dist/generated/themes/DayPicker.css.js.map +1 -1
  236. package/dist/generated/themes/Dialog.css.js +1 -1
  237. package/dist/generated/themes/Dialog.css.js.map +1 -1
  238. package/dist/generated/themes/FileUploader.css.js +1 -1
  239. package/dist/generated/themes/FileUploader.css.js.map +1 -1
  240. package/dist/generated/themes/Label.css.js +1 -1
  241. package/dist/generated/themes/Label.css.js.map +1 -1
  242. package/dist/generated/themes/Link.css.js +1 -1
  243. package/dist/generated/themes/Link.css.js.map +1 -1
  244. package/dist/generated/themes/TimePicker.css.js +1 -1
  245. package/dist/generated/themes/TimePicker.css.js.map +1 -1
  246. package/dist/generated/themes/sap_belize/parameters-bundle.css.js +1 -1
  247. package/dist/generated/themes/sap_belize/parameters-bundle.css.js.map +1 -1
  248. package/dist/generated/themes/sap_belize_hcb/parameters-bundle.css.js +1 -1
  249. package/dist/generated/themes/sap_belize_hcb/parameters-bundle.css.js.map +1 -1
  250. package/dist/generated/themes/sap_belize_hcw/parameters-bundle.css.js +1 -1
  251. package/dist/generated/themes/sap_belize_hcw/parameters-bundle.css.js.map +1 -1
  252. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
  253. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js.map +1 -1
  254. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
  255. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js.map +1 -1
  256. package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
  257. package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js.map +1 -1
  258. package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
  259. package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js.map +1 -1
  260. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +1 -1
  261. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js.map +1 -1
  262. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +1 -1
  263. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js.map +1 -1
  264. package/dist/generated/themes/sap_horizon_exp/parameters-bundle.css.js +1 -1
  265. package/dist/generated/themes/sap_horizon_exp/parameters-bundle.css.js.map +1 -1
  266. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +1 -1
  267. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js.map +1 -1
  268. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +1 -1
  269. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js.map +1 -1
  270. package/dist/i18n/messagebundle.properties +14 -0
  271. package/dist/i18n/messagebundle_ar.properties +3 -1
  272. package/dist/i18n/messagebundle_bg.properties +3 -1
  273. package/dist/i18n/messagebundle_ca.properties +3 -1
  274. package/dist/i18n/messagebundle_cs.properties +3 -1
  275. package/dist/i18n/messagebundle_cy.properties +3 -1
  276. package/dist/i18n/messagebundle_da.properties +3 -1
  277. package/dist/i18n/messagebundle_de.properties +2 -0
  278. package/dist/i18n/messagebundle_el.properties +3 -1
  279. package/dist/i18n/messagebundle_en.properties +2 -0
  280. package/dist/i18n/messagebundle_en_GB.properties +2 -0
  281. package/dist/i18n/messagebundle_en_US_sappsd.properties +2 -0
  282. package/dist/i18n/messagebundle_en_US_saprigi.properties +2 -0
  283. package/dist/i18n/messagebundle_en_US_saptrc.properties +2 -0
  284. package/dist/i18n/messagebundle_es.properties +3 -1
  285. package/dist/i18n/messagebundle_es_MX.properties +3 -1
  286. package/dist/i18n/messagebundle_et.properties +3 -1
  287. package/dist/i18n/messagebundle_fi.properties +3 -1
  288. package/dist/i18n/messagebundle_fr.properties +3 -1
  289. package/dist/i18n/messagebundle_fr_CA.properties +3 -1
  290. package/dist/i18n/messagebundle_hi.properties +3 -1
  291. package/dist/i18n/messagebundle_hr.properties +3 -1
  292. package/dist/i18n/messagebundle_hu.properties +3 -1
  293. package/dist/i18n/messagebundle_id.properties +3 -1
  294. package/dist/i18n/messagebundle_it.properties +3 -1
  295. package/dist/i18n/messagebundle_iw.properties +3 -1
  296. package/dist/i18n/messagebundle_ja.properties +5 -3
  297. package/dist/i18n/messagebundle_kk.properties +3 -1
  298. package/dist/i18n/messagebundle_ko.properties +3 -1
  299. package/dist/i18n/messagebundle_lt.properties +3 -1
  300. package/dist/i18n/messagebundle_lv.properties +3 -1
  301. package/dist/i18n/messagebundle_ms.properties +3 -1
  302. package/dist/i18n/messagebundle_nl.properties +3 -1
  303. package/dist/i18n/messagebundle_no.properties +3 -1
  304. package/dist/i18n/messagebundle_pl.properties +3 -1
  305. package/dist/i18n/messagebundle_pt.properties +3 -1
  306. package/dist/i18n/messagebundle_pt_PT.properties +3 -1
  307. package/dist/i18n/messagebundle_ro.properties +3 -1
  308. package/dist/i18n/messagebundle_ru.properties +3 -1
  309. package/dist/i18n/messagebundle_sh.properties +3 -1
  310. package/dist/i18n/messagebundle_sk.properties +3 -1
  311. package/dist/i18n/messagebundle_sl.properties +3 -1
  312. package/dist/i18n/messagebundle_sv.properties +3 -1
  313. package/dist/i18n/messagebundle_th.properties +3 -1
  314. package/dist/i18n/messagebundle_tr.properties +3 -1
  315. package/dist/i18n/messagebundle_uk.properties +3 -1
  316. package/dist/i18n/messagebundle_vi.properties +3 -1
  317. package/dist/i18n/messagebundle_zh_CN.properties +3 -1
  318. package/dist/i18n/messagebundle_zh_TW.properties +3 -1
  319. package/dist/test/pages/72override.html +1 -1
  320. package/dist/test/pages/AnimanitionOff.html +1 -1
  321. package/dist/test/pages/Avatar.html +2 -2
  322. package/dist/test/pages/AvatarGroup.html +1 -1
  323. package/dist/test/pages/Badge.html +1 -1
  324. package/dist/test/pages/Breadcrumbs.html +1 -1
  325. package/dist/test/pages/BusyIndicator.html +1 -1
  326. package/dist/test/pages/Button.html +1 -1
  327. package/dist/test/pages/Calendar.html +1 -1
  328. package/dist/test/pages/Card.html +1 -1
  329. package/dist/test/pages/Carousel.html +7 -2
  330. package/dist/test/pages/CheckBox.html +1 -1
  331. package/dist/test/pages/ColorPalette.html +1 -1
  332. package/dist/test/pages/ColorPalettePopover.html +1 -1
  333. package/dist/test/pages/ColorPicker.html +1 -1
  334. package/dist/test/pages/ComboBox.html +2 -2
  335. package/dist/test/pages/Components.html +1 -1
  336. package/dist/test/pages/CoreControls.html +1 -1
  337. package/dist/test/pages/CoreControls_exp.html +1 -1
  338. package/dist/test/pages/CustomCSS.html +1 -1
  339. package/dist/test/pages/DatePicker.html +1 -1
  340. package/dist/test/pages/DatePicker_test_page.html +1 -1
  341. package/dist/test/pages/DateRangePicker.html +1 -1
  342. package/dist/test/pages/DateTimePicker.html +1 -1
  343. package/dist/test/pages/DateTimePicker_Timezone.html +1 -1
  344. package/dist/test/pages/DayPicker.html +1 -1
  345. package/dist/test/pages/Dialog.html +22 -8
  346. package/dist/test/pages/DialogLifecycle.html +1 -1
  347. package/dist/test/pages/DialogSemantic.html +1 -1
  348. package/dist/test/pages/Eventing.html +1 -1
  349. package/dist/test/pages/F6Test1.html +1 -1
  350. package/dist/test/pages/F6Test2.html +1 -1
  351. package/dist/test/pages/F6Test3.html +1 -1
  352. package/dist/test/pages/F6Test4.html +1 -1
  353. package/dist/test/pages/F6Test5.html +1 -1
  354. package/dist/test/pages/F6Test6.html +1 -1
  355. package/dist/test/pages/F6Test7.html +1 -1
  356. package/dist/test/pages/FileUploader.html +1 -1
  357. package/dist/test/pages/FormComponents.html +1 -1
  358. package/dist/test/pages/FormSupport.html +1 -1
  359. package/dist/test/pages/HCB.html +1 -1
  360. package/dist/test/pages/Icon.html +2 -2
  361. package/dist/test/pages/Icon_and_theming.html +1 -1
  362. package/dist/test/pages/Icon_custom.html +1 -1
  363. package/dist/test/pages/Input.html +1 -1
  364. package/dist/test/pages/InputFieldLabels.html +1 -1
  365. package/dist/test/pages/InputFieldMinWidth.html +1 -1
  366. package/dist/test/pages/InputIcons.html +1 -1
  367. package/dist/test/pages/Input_quickview.html +1 -1
  368. package/dist/test/pages/InputsAlignment.html +1 -1
  369. package/dist/test/pages/InputsLazyLoading.html +1 -1
  370. package/dist/test/pages/ItemNavigation.html +1 -1
  371. package/dist/test/pages/Kitchen.html +1 -1
  372. package/dist/test/pages/Kitchen.openui5.html +1 -1
  373. package/dist/test/pages/Label.html +33 -5
  374. package/dist/test/pages/Link.html +1 -1
  375. package/dist/test/pages/List.html +1 -1
  376. package/dist/test/pages/ListGrowing_Button.html +1 -1
  377. package/dist/test/pages/ListGrowing_Scroll.html +1 -1
  378. package/dist/test/pages/List_keyboard_support.html +1 -1
  379. package/dist/test/pages/List_test_page.html +1 -1
  380. package/dist/test/pages/LitKeyFunction.html +1 -1
  381. package/dist/test/pages/MemoryLeak.html +1 -1
  382. package/dist/test/pages/Menu.html +17 -1
  383. package/dist/test/pages/MessagePage.html +1 -1
  384. package/dist/test/pages/MessageStrip.html +1 -1
  385. package/dist/test/pages/MultiComboBox.html +1 -1
  386. package/dist/test/pages/MultiInput.html +1 -1
  387. package/dist/test/pages/MultiInput_Suggestions.html +1 -1
  388. package/dist/test/pages/OpenUI5-second.html +1 -1
  389. package/dist/test/pages/OpenUI5.html +1 -1
  390. package/dist/test/pages/Panel.html +1 -1
  391. package/dist/test/pages/Popover.html +35 -1
  392. package/dist/test/pages/PopoverArrowBounds.html +1 -1
  393. package/dist/test/pages/Popups.html +2 -2
  394. package/dist/test/pages/ProgressIndicator.html +1 -1
  395. package/dist/test/pages/RTL.html +1 -1
  396. package/dist/test/pages/RadioButton.html +1 -1
  397. package/dist/test/pages/RangeSlider.html +1 -1
  398. package/dist/test/pages/RatingIndicator.html +1 -1
  399. package/dist/test/pages/ResizeHandler.html +1 -1
  400. package/dist/test/pages/ResponsivePopover.html +1 -1
  401. package/dist/test/pages/SegmentedButton.html +2 -2
  402. package/dist/test/pages/Select.html +13 -1
  403. package/dist/test/pages/Simple.html +1 -1
  404. package/dist/test/pages/Slider.html +1 -1
  405. package/dist/test/pages/SplitButton.html +1 -1
  406. package/dist/test/pages/StepInput.html +1 -1
  407. package/dist/test/pages/Switch.html +1 -1
  408. package/dist/test/pages/TabContainer.html +1 -1
  409. package/dist/test/pages/Table-perf-pure.html +1 -1
  410. package/dist/test/pages/Table-perf.html +1 -1
  411. package/dist/test/pages/Table.html +1 -1
  412. package/dist/test/pages/Table2.html +1 -1
  413. package/dist/test/pages/TableAllPopin.html +1 -1
  414. package/dist/test/pages/TableCustomStyling.html +1 -1
  415. package/dist/test/pages/TableGrouping.html +1 -1
  416. package/dist/test/pages/TableGrowingWithButton.html +1 -1
  417. package/dist/test/pages/TableGrowingWithScroll.html +1 -1
  418. package/dist/test/pages/TableSelection.html +1 -1
  419. package/dist/test/pages/TextArea.html +1 -1
  420. package/dist/test/pages/TimePicker.html +18 -10
  421. package/dist/test/pages/TimeSelection.html +1 -1
  422. package/dist/test/pages/Title.html +1 -1
  423. package/dist/test/pages/Toast.html +1 -1
  424. package/dist/test/pages/ToggleButton.html +1 -1
  425. package/dist/test/pages/Tokenizer.html +1 -1
  426. package/dist/test/pages/Tree.html +1 -1
  427. package/dist/test/pages/TreeDynamic.html +1 -1
  428. package/dist/test/pages/WheelSlider_Test_Page.html +1 -1
  429. package/dist/test/pages/base/AriaLabelHelper.html +1 -1
  430. package/dist/test/pages/base/DOMObserver.html +1 -1
  431. package/dist/test/pages/base/IconCollection.html +1 -1
  432. package/dist/test/pages/base/IconCollectionInCustomTheme.html +1 -1
  433. package/dist/test/pages/base/IgnoreCustomElements.html +1 -1
  434. package/dist/test/pages/base/InvisibleMessage.html +1 -1
  435. package/dist/test/pages/form.html +1 -1
  436. package/dist/test/pages/i18n-defaultLang.html +1 -1
  437. package/dist/test/pages/i18n-demo.html +1 -1
  438. package/dist/types/BackgroundDesign.d.ts +30 -0
  439. package/dist/types/BackgroundDesign.js +32 -0
  440. package/dist/types/BackgroundDesign.js.map +1 -0
  441. package/dist/types/BorderDesign.d.ts +24 -0
  442. package/dist/types/BorderDesign.js +26 -0
  443. package/dist/types/BorderDesign.js.map +1 -0
  444. package/dist/types/SegmentedButtonMode.d.ts +24 -0
  445. package/dist/types/SegmentedButtonMode.js +26 -0
  446. package/dist/types/SegmentedButtonMode.js.map +1 -0
  447. package/package.json +7 -7
  448. package/src/Avatar.hbs +3 -2
  449. package/src/Carousel.hbs +2 -2
  450. package/src/Dialog.hbs +33 -16
  451. package/src/Label.hbs +6 -1
  452. package/src/i18n/messagebundle.properties +14 -0
  453. package/src/i18n/messagebundle_ar.properties +3 -1
  454. package/src/i18n/messagebundle_bg.properties +3 -1
  455. package/src/i18n/messagebundle_ca.properties +3 -1
  456. package/src/i18n/messagebundle_cs.properties +3 -1
  457. package/src/i18n/messagebundle_cy.properties +3 -1
  458. package/src/i18n/messagebundle_da.properties +3 -1
  459. package/src/i18n/messagebundle_de.properties +2 -0
  460. package/src/i18n/messagebundle_el.properties +3 -1
  461. package/src/i18n/messagebundle_en.properties +2 -0
  462. package/src/i18n/messagebundle_en_GB.properties +2 -0
  463. package/src/i18n/messagebundle_en_US_sappsd.properties +2 -0
  464. package/src/i18n/messagebundle_en_US_saprigi.properties +2 -0
  465. package/src/i18n/messagebundle_en_US_saptrc.properties +2 -0
  466. package/src/i18n/messagebundle_es.properties +3 -1
  467. package/src/i18n/messagebundle_es_MX.properties +3 -1
  468. package/src/i18n/messagebundle_et.properties +3 -1
  469. package/src/i18n/messagebundle_fi.properties +3 -1
  470. package/src/i18n/messagebundle_fr.properties +3 -1
  471. package/src/i18n/messagebundle_fr_CA.properties +3 -1
  472. package/src/i18n/messagebundle_hi.properties +3 -1
  473. package/src/i18n/messagebundle_hr.properties +3 -1
  474. package/src/i18n/messagebundle_hu.properties +3 -1
  475. package/src/i18n/messagebundle_id.properties +3 -1
  476. package/src/i18n/messagebundle_it.properties +3 -1
  477. package/src/i18n/messagebundle_iw.properties +3 -1
  478. package/src/i18n/messagebundle_ja.properties +5 -3
  479. package/src/i18n/messagebundle_kk.properties +3 -1
  480. package/src/i18n/messagebundle_ko.properties +3 -1
  481. package/src/i18n/messagebundle_lt.properties +3 -1
  482. package/src/i18n/messagebundle_lv.properties +3 -1
  483. package/src/i18n/messagebundle_ms.properties +3 -1
  484. package/src/i18n/messagebundle_nl.properties +3 -1
  485. package/src/i18n/messagebundle_no.properties +3 -1
  486. package/src/i18n/messagebundle_pl.properties +3 -1
  487. package/src/i18n/messagebundle_pt.properties +3 -1
  488. package/src/i18n/messagebundle_pt_PT.properties +3 -1
  489. package/src/i18n/messagebundle_ro.properties +3 -1
  490. package/src/i18n/messagebundle_ru.properties +3 -1
  491. package/src/i18n/messagebundle_sh.properties +3 -1
  492. package/src/i18n/messagebundle_sk.properties +3 -1
  493. package/src/i18n/messagebundle_sl.properties +3 -1
  494. package/src/i18n/messagebundle_sv.properties +3 -1
  495. package/src/i18n/messagebundle_th.properties +3 -1
  496. package/src/i18n/messagebundle_tr.properties +3 -1
  497. package/src/i18n/messagebundle_uk.properties +3 -1
  498. package/src/i18n/messagebundle_vi.properties +3 -1
  499. package/src/i18n/messagebundle_zh_CN.properties +3 -1
  500. package/src/i18n/messagebundle_zh_TW.properties +3 -1
  501. package/src/themes/AvatarGroup.css +4 -0
  502. package/src/themes/Carousel.css +40 -3
  503. package/src/themes/DatePicker.css +2 -0
  504. package/src/themes/DayPicker.css +59 -18
  505. package/src/themes/Dialog.css +2 -0
  506. package/src/themes/FileUploader.css +1 -0
  507. package/src/themes/Label.css +2 -1
  508. package/src/themes/Link.css +20 -23
  509. package/src/themes/TimePicker.css +2 -0
  510. package/src/themes/base/AvatarGroup-parameters.css +2 -2
  511. package/src/themes/base/Carousel-parameters.css +6 -5
  512. package/src/themes/base/DatePicker-parameters.css +1 -0
  513. package/src/themes/base/DayPicker-parameters.css +16 -0
  514. package/src/themes/base/Link-parameters.css +1 -1
  515. package/src/themes/base/Switch-parameters.css +25 -22
  516. package/src/themes/base/sizes-parameters.css +10 -60
  517. package/src/themes/sap_belize/DayPicker-parameters.css +4 -2
  518. package/src/themes/sap_belize/parameters-bundle.css +3 -3
  519. package/src/themes/sap_belize_hcb/DayPicker-parameters.css +3 -0
  520. package/src/themes/sap_belize_hcb/parameters-bundle.css +3 -3
  521. package/src/themes/sap_belize_hcw/DayPicker-parameters.css +3 -0
  522. package/src/themes/sap_belize_hcw/parameters-bundle.css +3 -3
  523. package/src/themes/sap_fiori_3/DayPicker-parameters.css +4 -2
  524. package/src/themes/sap_fiori_3/parameters-bundle.css +3 -3
  525. package/src/themes/sap_fiori_3_dark/DayPicker-parameters.css +4 -2
  526. package/src/themes/sap_fiori_3_dark/parameters-bundle.css +2 -2
  527. package/src/themes/sap_fiori_3_hcb/DayPicker-parameters.css +7 -2
  528. package/src/themes/sap_fiori_3_hcb/Link-parameters.css +3 -0
  529. package/src/themes/sap_fiori_3_hcb/parameters-bundle.css +3 -3
  530. package/src/themes/sap_fiori_3_hcw/DayPicker-parameters.css +7 -2
  531. package/src/themes/sap_fiori_3_hcw/Link-parameters.css +3 -0
  532. package/src/themes/sap_fiori_3_hcw/parameters-bundle.css +3 -3
  533. package/src/themes/sap_horizon/DayPicker-parameters.css +24 -7
  534. package/src/themes/sap_horizon/Link-parameters.css +3 -2
  535. package/src/themes/sap_horizon/Switch-parameters.css +26 -20
  536. package/src/themes/sap_horizon/parameters-bundle.css +2 -2
  537. package/src/themes/sap_horizon_dark/DayPicker-parameters.css +21 -7
  538. package/src/themes/sap_horizon_dark/Link-parameters.css +3 -2
  539. package/src/themes/sap_horizon_dark/Switch-parameters.css +25 -21
  540. package/src/themes/sap_horizon_dark/parameters-bundle.css +2 -2
  541. package/src/themes/sap_horizon_exp/parameters-bundle.css +3 -3
  542. package/src/themes/sap_horizon_hcb/DayPicker-parameters.css +17 -4
  543. package/src/themes/sap_horizon_hcb/Link-parameters.css +4 -3
  544. package/src/themes/sap_horizon_hcb/parameters-bundle.css +3 -3
  545. package/src/themes/sap_horizon_hcw/DayPicker-parameters.css +24 -3
  546. package/src/themes/sap_horizon_hcw/Link-parameters.css +4 -3
  547. package/src/themes/sap_horizon_hcw/Switch-parameters.css +25 -20
  548. package/src/themes/sap_horizon_hcw/parameters-bundle.css +3 -3
  549. package/dist/assets/TimePicker.ad7096e8.css +0 -1
  550. package/dist/assets/messagebundle_ar.79af67c0.js +0 -1
  551. package/dist/assets/messagebundle_bg.762bcd17.js +0 -1
  552. package/dist/assets/messagebundle_ca.408fb1e6.js +0 -1
  553. package/dist/assets/messagebundle_cs.89560d48.js +0 -1
  554. package/dist/assets/messagebundle_cy.af5eb0c4.js +0 -1
  555. package/dist/assets/messagebundle_da.37164a0f.js +0 -1
  556. package/dist/assets/messagebundle_de.e01539c8.js +0 -1
  557. package/dist/assets/messagebundle_el.fb7685a3.js +0 -1
  558. package/dist/assets/messagebundle_en.c44f1aa9.js +0 -1
  559. package/dist/assets/messagebundle_en_GB.2a910709.js +0 -1
  560. package/dist/assets/messagebundle_en_US_saptrc.94f1e535.js +0 -1
  561. package/dist/assets/messagebundle_es.4c047282.js +0 -1
  562. package/dist/assets/messagebundle_es_MX.6b49ce4e.js +0 -1
  563. package/dist/assets/messagebundle_et.88bb961a.js +0 -1
  564. package/dist/assets/messagebundle_fi.b549b299.js +0 -1
  565. package/dist/assets/messagebundle_fr.f5c457c3.js +0 -1
  566. package/dist/assets/messagebundle_fr_CA.6289fadd.js +0 -1
  567. package/dist/assets/messagebundle_hi.f7be0b9a.js +0 -1
  568. package/dist/assets/messagebundle_hr.77e98c16.js +0 -1
  569. package/dist/assets/messagebundle_hu.b57f9066.js +0 -1
  570. package/dist/assets/messagebundle_it.31fa8b53.js +0 -1
  571. package/dist/assets/messagebundle_iw.443316ed.js +0 -1
  572. package/dist/assets/messagebundle_ja.74b06d37.js +0 -1
  573. package/dist/assets/messagebundle_kk.73efd728.js +0 -1
  574. package/dist/assets/messagebundle_ko.f3b32369.js +0 -1
  575. package/dist/assets/messagebundle_lt.65455dfe.js +0 -1
  576. package/dist/assets/messagebundle_lv.0c8602cf.js +0 -1
  577. package/dist/assets/messagebundle_ms.29617199.js +0 -1
  578. package/dist/assets/messagebundle_nl.8f0db1e8.js +0 -1
  579. package/dist/assets/messagebundle_no.21449f71.js +0 -1
  580. package/dist/assets/messagebundle_pl.3550da6c.js +0 -1
  581. package/dist/assets/messagebundle_pt.e53ae247.js +0 -1
  582. package/dist/assets/messagebundle_pt_PT.1b2444c9.js +0 -1
  583. package/dist/assets/messagebundle_ro.915e50eb.js +0 -1
  584. package/dist/assets/messagebundle_ru.49a1191e.js +0 -1
  585. package/dist/assets/messagebundle_sh.e46b398f.js +0 -1
  586. package/dist/assets/messagebundle_sk.8dbd5574.js +0 -1
  587. package/dist/assets/messagebundle_sl.1b1b7790.js +0 -1
  588. package/dist/assets/messagebundle_sv.a67b53be.js +0 -1
  589. package/dist/assets/messagebundle_th.b34a5bf2.js +0 -1
  590. package/dist/assets/messagebundle_tr.95abc23c.js +0 -1
  591. package/dist/assets/messagebundle_uk.00795c72.js +0 -1
  592. package/dist/assets/messagebundle_vi.2391fb9a.js +0 -1
  593. package/dist/assets/messagebundle_zh_CN.aaaf5d44.js +0 -1
  594. package/dist/assets/messagebundle_zh_TW.6e48da4d.js +0 -1
  595. package/dist/assets/parameters-bundle.css.067142cc.js +0 -1
  596. package/dist/assets/parameters-bundle.css.0c0f77f7.js +0 -1
  597. package/dist/assets/parameters-bundle.css.2280ce3e.js +0 -1
  598. package/dist/assets/parameters-bundle.css.3e7079bc.js +0 -1
  599. package/dist/assets/parameters-bundle.css.472c33c9.js +0 -1
  600. package/dist/assets/parameters-bundle.css.49431a75.js +0 -1
  601. package/dist/assets/parameters-bundle.css.4d5e6b22.js +0 -1
  602. package/dist/assets/parameters-bundle.css.5a35203e.js +0 -1
  603. package/dist/assets/parameters-bundle.css.6cfbdef7.js +0 -1
  604. package/dist/assets/parameters-bundle.css.7f80e0a9.js +0 -1
  605. package/dist/assets/parameters-bundle.css.a20b2e10.js +0 -1
  606. package/dist/assets/parameters-bundle.css.a3056727.js +0 -1
  607. package/dist/assets/parameters-bundle.css.a51d0093.js +0 -1
  608. package/dist/assets/parameters-bundle.css.b7a02c6d.js +0 -1
  609. package/dist/assets/parameters-bundle.css.c948f166.js +0 -1
  610. package/dist/assets/parameters-bundle.css.c9ff28ae.js +0 -1
  611. package/dist/assets/parameters-bundle.css.f3164b8d.js +0 -1
  612. package/dist/assets/parameters-bundle.css.f81c3a09.js +0 -1
  613. package/dist/assets/test/pages/Label.html.09573306.js +0 -4
package/CHANGELOG.md CHANGED
@@ -3,6 +3,42 @@
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.14.0](https://github.com/SAP/ui5-webcomponents/compare/v1.14.0-rc.2...v1.14.0) (2023-06-01)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **ui5-dialog:** add text with instructions for resizing or dragging of dialog fo… ([#6989](https://github.com/SAP/ui5-webcomponents/issues/6989)) ([74c877b](https://github.com/SAP/ui5-webcomponents/commit/74c877b2fd674711a331ab4716c89df3cd50c3fa)), closes [#6659](https://github.com/SAP/ui5-webcomponents/issues/6659)
12
+
13
+
14
+
15
+
16
+
17
+ # [1.14.0-rc.2](https://github.com/SAP/ui5-webcomponents/compare/v1.14.0-rc.1...v1.14.0-rc.2) (2023-06-01)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **ui5-avatar:** aria-label added to initials ([#6967](https://github.com/SAP/ui5-webcomponents/issues/6967)) ([c89c5d3](https://github.com/SAP/ui5-webcomponents/commit/c89c5d30615308708c1d219264d3c4773fe5a825))
23
+ * **ui5-carousel:** update carousel horizon theme ([#6984](https://github.com/SAP/ui5-webcomponents/issues/6984)) ([ecaa0e7](https://github.com/SAP/ui5-webcomponents/commit/ecaa0e79b836c928114d592fe0a6faea94e61ae4))
24
+ * **ui5-datetime-picker/ui5-time-picker:** fix top and bottom overflows of input ([#6886](https://github.com/SAP/ui5-webcomponents/issues/6886)) ([5c995bf](https://github.com/SAP/ui5-webcomponents/commit/5c995bf378e305296917b2636abdfcf4ddf81958))
25
+ * **ui5-file-uploader:** align vertically input and the button ([#7058](https://github.com/SAP/ui5-webcomponents/issues/7058)) ([1bf009a](https://github.com/SAP/ui5-webcomponents/commit/1bf009a6bd9bca9b3d4b0ed914cc6d98efc3fac7))
26
+ * **ui5-label:** colon symbol is now language-dependent ([#7090](https://github.com/SAP/ui5-webcomponents/issues/7090)) ([d0f4c8f](https://github.com/SAP/ui5-webcomponents/commit/d0f4c8fe79d225afb7111f5e26e14216702d7aff))
27
+ * **ui5-popup:** cancel focus application if the popup is removed from the DOM in the meantime ([#7084](https://github.com/SAP/ui5-webcomponents/issues/7084)) ([9c03282](https://github.com/SAP/ui5-webcomponents/commit/9c0328229e56a100e8f7282ef84f37dc8f93aace))
28
+
29
+
30
+ ### Features
31
+
32
+ * **ui5-calendar:** update visual design to latest SAP Horizon spec ([#6953](https://github.com/SAP/ui5-webcomponents/issues/6953)) ([f11032a](https://github.com/SAP/ui5-webcomponents/commit/f11032a0a7f9448fb78275983ea04f4bf0b3e5b2))
33
+ * **ui5-link:** update visual design according to the latest Horizon spec ([#6988](https://github.com/SAP/ui5-webcomponents/issues/6988)) ([3cce241](https://github.com/SAP/ui5-webcomponents/commit/3cce24166c333f1d8bfbde92bb1226d228ebd709)), closes [#6999](https://github.com/SAP/ui5-webcomponents/issues/6999)
34
+ * **ui5-menu:** dispatch ui5-before-open for the sub-menus ([#7064](https://github.com/SAP/ui5-webcomponents/issues/7064)) ([e4a7f2d](https://github.com/SAP/ui5-webcomponents/commit/e4a7f2d514debea41b4620ea806dbd49821e3394)), closes [#6131](https://github.com/SAP/ui5-webcomponents/issues/6131) [#6131](https://github.com/SAP/ui5-webcomponents/issues/6131) [#6131](https://github.com/SAP/ui5-webcomponents/issues/6131) [#6131](https://github.com/SAP/ui5-webcomponents/issues/6131) [#6131](https://github.com/SAP/ui5-webcomponents/issues/6131) [#6131](https://github.com/SAP/ui5-webcomponents/issues/6131) [#6131](https://github.com/SAP/ui5-webcomponents/issues/6131) [#6131](https://github.com/SAP/ui5-webcomponents/issues/6131) [#6131](https://github.com/SAP/ui5-webcomponents/issues/6131)
35
+ * **ui5-segmented-button:** enable multiple selection ([#6959](https://github.com/SAP/ui5-webcomponents/issues/6959)) ([f8f44e4](https://github.com/SAP/ui5-webcomponents/commit/f8f44e41ac55c0d3c4b1a72648043a1cc9652437))
36
+ * **ui5-select:** change event is now preventable ([#7113](https://github.com/SAP/ui5-webcomponents/issues/7113)) ([9c851c5](https://github.com/SAP/ui5-webcomponents/commit/9c851c5a65094926360530eb3e6cc6050e1f8ce6)), closes [#6648](https://github.com/SAP/ui5-webcomponents/issues/6648)
37
+
38
+
39
+
40
+
41
+
6
42
  # [1.14.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v1.14.0-rc.0...v1.14.0-rc.1) (2023-05-25)
7
43
 
8
44
 
@@ -11,8 +11,15 @@ import Link from "./Link.js";
11
11
  import type { LinkClickEventDetail } from "./Link.js";
12
12
  import Label from "./Label.js";
13
13
  import ResponsivePopover from "./ResponsivePopover.js";
14
- import type { SelectionChangeEventDetail } from "./List.js";
14
+ import type { ListSelectionChangeEventDetail } from "./List.js";
15
15
  import "@ui5/webcomponents-icons/dist/slim-arrow-down.js";
16
+ type BreadcrumbsItemClickEventDetail = {
17
+ item: BreadcrumbsItem;
18
+ altKey: boolean;
19
+ ctrlKey: boolean;
20
+ metaKey: boolean;
21
+ shiftKey: boolean;
22
+ };
16
23
  type FocusAdaptor = ITabbable & {
17
24
  getlabelWrapper: () => Element | null;
18
25
  };
@@ -138,7 +145,7 @@ declare class Breadcrumbs extends UI5Element {
138
145
  _getTotalContentWidth(): number;
139
146
  _onLinkPress(e: CustomEvent<LinkClickEventDetail>): void;
140
147
  _onLabelPress(e: MouseEvent | KeyboardEvent): void;
141
- _onOverflowListItemSelect(e: CustomEvent<SelectionChangeEventDetail>): void;
148
+ _onOverflowListItemSelect(e: CustomEvent<ListSelectionChangeEventDetail>): void;
142
149
  _respPopover(): Promise<ResponsivePopover>;
143
150
  _toggleRespPopover(): Promise<void>;
144
151
  _closeRespPopover(): void;
@@ -190,3 +197,4 @@ declare class Breadcrumbs extends UI5Element {
190
197
  static onDefine(): Promise<void>;
191
198
  }
192
199
  export default Breadcrumbs;
200
+ export type { BreadcrumbsItemClickEventDetail, };
@@ -1 +1 @@
1
- {"version":3,"file":"Breadcrumbs.js","sourceRoot":"","sources":["../src/Breadcrumbs.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AAEpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,KAAK,MAAM,kDAAkD,CAAC;AACrE,OAAO,cAAc,MAAM,yDAAyD,CAAC;AAErF,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,E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,eAAe;YACf,IAAI;YACJ,KAAK;YACL,iBAAiB;YACjB,IAAI;YACJ,gBAAgB;YAChB,IAAI;YACJ,MAAM;SACN;KACD,CAAC;IACF;;;;;;;;;;;;OAYG;;IACF,KAAK,CAAC,YAAY,EAAE;QACpB,MAAM,EAAE;YACP,IAAI,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;YAC3B,MAAM,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;YACzB,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;YAC1B,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;YAC1B,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;SAC3B;KACD,CAAC;GACI,WAAW,CA2gBhB;AAED,WAAW,CAAC,MAAM,EAAE,CAAC;AAErB,eAAe,WAAW,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport type { ChangeInfo } 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 slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport ItemNavigation from \"@ui5/webcomponents-base/dist/delegate/ItemNavigation.js\";\nimport type { ITabbable } from \"@ui5/webcomponents-base/dist/delegate/ItemNavigation.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport {\n\tisEnter,\n\tisSpace,\n\tisShow,\n} from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport Integer from \"@ui5/webcomponents-base/dist/types/Integer.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport ResizeHandler from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport type { ResizeObserverCallback } from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport NavigationMode from \"@ui5/webcomponents-base/dist/types/NavigationMode.js\";\nimport BreadcrumbsDesign from \"./types/BreadcrumbsDesign.js\";\nimport BreadcrumbsSeparatorStyle from \"./types/BreadcrumbsSeparatorStyle.js\";\nimport BreadcrumbsItem from \"./BreadcrumbsItem.js\";\nimport {\n\tBREADCRUMB_ITEM_POS,\n\tBREADCRUMBS_ARIA_LABEL,\n\tBREADCRUMBS_OVERFLOW_ARIA_LABEL,\n\tBREADCRUMBS_CANCEL_BUTTON,\n} from \"./generated/i18n/i18n-defaults.js\";\nimport Link from \"./Link.js\";\nimport type { LinkClickEventDetail } from \"./Link.js\";\nimport Label from \"./Label.js\";\nimport ResponsivePopover from \"./ResponsivePopover.js\";\nimport List from \"./List.js\";\nimport type { SelectionChangeEventDetail } from \"./List.js\";\nimport StandardListItem from \"./StandardListItem.js\";\nimport Icon from \"./Icon.js\";\nimport Button from \"./Button.js\";\nimport \"@ui5/webcomponents-icons/dist/slim-arrow-down.js\";\n\n// Templates\nimport BreadcrumbsTemplate from \"./generated/templates/BreadcrumbsTemplate.lit.js\";\nimport BreadcrumbsPopoverTemplate from \"./generated/templates/BreadcrumbsPopoverTemplate.lit.js\";\n\n// Styles\nimport breadcrumbsCss from \"./generated/themes/Breadcrumbs.css.js\";\nimport breadcrumbsPopoverCss from \"./generated/themes/BreadcrumbsPopover.css.js\";\n\ntype BreadcrumbsItemClickEventDetail = {\n\titem: BreadcrumbsItem;\n\taltKey: boolean;\n\tctrlKey: boolean;\n\tmetaKey: boolean;\n\tshiftKey: boolean;\n}\n\ntype FocusAdaptor = ITabbable & {\n\tgetlabelWrapper: () => Element | null;\n}\n\n/**\n * @class\n *\n * <h3 class=\"comment-api-title\">Overview</h3>\n * Enables users to navigate between items by providing a list of links to previous steps in the user's navigation path.\n * It helps the user to be aware of their location within the application and allows faster navigation.\n * <br><br>\n * The last three steps can be accessed as links directly, while the remaining links prior to them are available\n * in a drop-down menu.\n * <br><br>\n * You can choose the type of separator to be used from a number of predefined options.\n *\n * <h3>Keyboard Handling</h3>\n * The <code>ui5-breadcrumbs</code> provides advanced keyboard handling.\n * <br>\n * <ul>\n * <li>[F4, ALT+UP, ALT+DOWN, SPACE, ENTER] - If the dropdown arrow is focused - opens/closes the drop-down.</li>\n * <li>[SPACE, ENTER] - Activates the focused item and triggers the <code>item-click</code> event.</li>\n * <li>[ESC] - Closes the drop-down.</li>\n * <li>[LEFT] - If the drop-down is closed - navigates one item to the left.</li>\n * <li>[RIGHT] - If the drop-down is closed - navigates one item to the right.</li>\n * <li>[UP] - If the drop-down is open - moves focus to the next item.</li>\n * <li>[DOWN] - If the drop-down is open - moves focus to the previous item.</li>\n * <li>[HOME] - Navigates to the first item.</li>\n * <li>[END] - Navigates to the last item.</li>\n * </ul>\n * <br>\n * @constructor\n * @author SAP SE\n * @alias sap.ui.webc.main.Breadcrumbs\n * @extends sap.ui.webc.base.UI5Element\n * @tagname ui5-breadcrumbs\n * @appenddocs sap.ui.webc.main.BreadcrumbsItem\n * @public\n * @since 1.0.0-rc.15\n */\n@customElement({\n\ttag: \"ui5-breadcrumbs\",\n\tlanguageAware: true,\n\trenderer: litRender,\n\ttemplate: BreadcrumbsTemplate,\n\tstaticAreaTemplate: BreadcrumbsPopoverTemplate,\n\tstyles: breadcrumbsCss,\n\tstaticAreaStyles: breadcrumbsPopoverCss,\n\tdependencies: [\n\t\tBreadcrumbsItem,\n\t\tLink,\n\t\tLabel,\n\t\tResponsivePopover,\n\t\tList,\n\t\tStandardListItem,\n\t\tIcon,\n\t\tButton,\n\t],\n})\n/**\n * Fires when a <code>BreadcrumbsItem</code> is clicked.\n * <b>Note:</b> You can prevent browser location change by calling <code>event.preventDefault()</code>.\n *\n * @event sap.ui.webc.main.Breadcrumbs#item-click\n * @allowPreventDefault\n * @param {HTMLElement} item The clicked item.\n * @param {Boolean} altKey Returns whether the \"ALT\" key was pressed when the event was triggered.\n * @param {Boolean} ctrlKey Returns whether the \"CTRL\" key was pressed when the event was triggered.\n * @param {Boolean} metaKey Returns whether the \"META\" key was pressed when the event was triggered.\n * @param {Boolean} shiftKey Returns whether the \"SHIFT\" key was pressed when the event was triggered.\n * @public\n */\n@event(\"item-click\", {\n\tdetail: {\n\t\titem: { type: HTMLElement },\n\t\taltKey: { type: Boolean },\n\t\tctrlKey: { type: Boolean },\n\t\tmetaKey: { type: Boolean },\n\t\tshiftKey: { type: Boolean },\n\t},\n})\nclass Breadcrumbs extends UI5Element {\n\t/**\n\t * Defines the visual indication and behavior of the breadcrumbs.\n\t * Available options are <code>Standard</code> (by default) and <code>NoCurrentPage</code>.\n\t * <br><br>\n\t * <b>Note:</b> The <code>Standard</code> breadcrumbs show the current page as the last item in the trail.\n\t * The last item contains only plain text and is not a link.\n\t *\n\t * @type {sap.ui.webc.main.types.BreadcrumbsDesign}\n\t * @name sap.ui.webc.main.Breadcrumbs.prototype.design\n\t * @defaultvalue \"Standard\"\n\t * @public\n\t*/\n\t@property({ type: BreadcrumbsDesign, defaultValue: BreadcrumbsDesign.Standard })\n\tdesign!: `${BreadcrumbsDesign}`;\n\n\t/**\n\t * Determines the visual style of the separator between the breadcrumb items.\n\t *\n\t * <br><br>\n\t * Available options are:\n\t * <ul>\n\t * <li><code>Slash</code></li>\n\t * <li><code>BackSlash</code></li>\n\t * <li><code>DoubleBackSlash</code></li>\n\t * <li><code>DoubleGreaterThan</code></li>\n\t * <li><code>DoubleSlash</code></li>\n\t * <li><code>GreaterThan</code></li>\n\t * </ul>\n\t *\n\t * @type {sap.ui.webc.main.types.BreadcrumbsSeparatorStyle}\n\t * @name sap.ui.webc.main.Breadcrumbs.prototype.separatorStyle\n\t * @defaultvalue \"Slash\"\n\t * @public\n\t */\n\t@property({ type: BreadcrumbsSeparatorStyle, defaultValue: BreadcrumbsSeparatorStyle.Slash })\n\tseparatorStyle!: `${BreadcrumbsSeparatorStyle}`;\n\n\t/**\n\t * Holds the number of items in the overflow.\n\t *\n\t * @type {sap.ui.webc.base.types.Integer}\n\t * @defaultvalue 0\n\t * @private\n\t */\n\t@property({ validator: Integer, noAttribute: true, defaultValue: 0 })\n\t_overflowSize!: number;\n\n\t/**\n\t * Defines the component items.\n\t *\n\t * <br><br>\n\t * <b>Note:</b> Use the <code>ui5-breadcrumbs-item</code> component to define the desired items.\n\t * @type {sap.ui.webc.main.IBreadcrumbsItem[]}\n\t * @name sap.ui.webc.main.Breadcrumbs.prototype.default\n\t * @slot items\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, invalidateOnChildChange: true, \"default\": true })\n\titems!: Array<BreadcrumbsItem>;\n\n\t_itemNavigation: ItemNavigation\n\t_onResizeHandler: ResizeObserverCallback;\n\n\t// maps items to their widths\n\t_breadcrumbItemWidths = new WeakMap<BreadcrumbsItem, number>();\n\t// the width of the interactive element that opens the overflow\n\t_dropdownArrowLinkWidth = 0;\n\tresponsivePopover?: ResponsivePopover;\n\t_labelFocusAdaptor: FocusAdaptor;\n\tstatic i18nBundle: I18nBundle;\n\n\tconstructor() {\n\t\tsuper();\n\n\t\tthis._itemNavigation = new ItemNavigation(this, {\n\t\t\tnavigationMode: NavigationMode.Horizontal,\n\t\t\tgetItemsCallback: () => this._getFocusableItems(),\n\t\t});\n\n\t\tthis._onResizeHandler = this._updateOverflow.bind(this);\n\n\t\tthis._labelFocusAdaptor = {\n\t\t\tid: `${this._id}-labelWrapper`,\n\t\t\tgetlabelWrapper: this.getCurrentLocationLabelWrapper.bind(this),\n\t\t\tset _tabIndex(value: string) {\n\t\t\t\tconst wrapper = this.getlabelWrapper();\n\t\t\t\twrapper && wrapper.setAttribute(\"tabindex\", value);\n\t\t\t},\n\t\t\tget _tabIndex() {\n\t\t\t\tconst wrapper = this.getlabelWrapper();\n\t\t\t\treturn wrapper?.getAttribute(\"tabindex\") || \"\";\n\t\t\t},\n\t\t};\n\t}\n\n\tonInvalidation(changeInfo: ChangeInfo) {\n\t\tif (changeInfo.reason === \"childchange\") {\n\t\t\tconst itemIndex = this._getItems().indexOf(changeInfo.child as BreadcrumbsItem),\n\t\t\t\tisInOverflow = itemIndex < this._overflowSize;\n\t\t\tif (isInOverflow) {\n\t\t\t\t// the content of an overflowing item has changed\n\t\t\t\t// => need to render the item outside the overflow to obtain its new width\n\t\t\t\t// => lower-down the <code>_overfowSize</code> to exclude that item from the overflow\n\t\t\t\tthis._overflowSize = itemIndex;\n\t\t\t}\n\t\t}\n\t}\n\n\t_getItems() {\n\t\treturn this.getSlottedNodes<BreadcrumbsItem>(\"items\");\n\t}\n\n\tonBeforeRendering() {\n\t\tthis._preprocessItems();\n\t}\n\n\tonAfterRendering() {\n\t\tthis._cacheWidths();\n\t\tthis._updateOverflow();\n\t}\n\n\tonEnterDOM() {\n\t\tResizeHandler.register(this, this._onResizeHandler);\n\t}\n\n\tonExitDOM() {\n\t\tResizeHandler.deregister(this, this._onResizeHandler);\n\t}\n\n\t_initItemNavigation() {\n\t\tif (!this._itemNavigation) {\n\t\t\tthis._itemNavigation = new ItemNavigation(this, {\n\t\t\t\tnavigationMode: NavigationMode.Horizontal,\n\t\t\t\tgetItemsCallback: () => this._getFocusableItems(),\n\t\t\t});\n\t\t}\n\t}\n\n\t/**\n\t * Obtains the items for navigation via keyboard\n\t * @private\n\t */\n\t_getFocusableItems() {\n\t\tconst items: Array<ITabbable> = this._links;\n\n\t\tif (!this._isOverflowEmpty) {\n\t\t\titems.unshift(this._dropdownArrowLink);\n\t\t}\n\n\t\tif (this._endsWithCurrentLocationLabel) {\n\t\t\titems.push(this._labelFocusAdaptor);\n\t\t}\n\t\treturn items;\n\t}\n\n\t_onfocusin(e: FocusEvent) {\n\t\tconst target = e.target,\n\t\t\tlabelWrapper = this.getCurrentLocationLabelWrapper(),\n\t\t\tcurrentItem = (target === labelWrapper) ? this._labelFocusAdaptor : target as Link;\n\n\t\tthis._itemNavigation.setCurrentItem(currentItem);\n\t}\n\n\t_onkeydown(e: KeyboardEvent) {\n\t\tconst isDropdownArrowFocused = this._isDropdownArrowFocused;\n\n\t\tif (isShow(e) && isDropdownArrowFocused && !this._isOverflowEmpty) {\n\t\t\te.preventDefault();\n\t\t\tthis._toggleRespPopover();\n\t\t\treturn;\n\t\t}\n\t\tif (isSpace(e) && isDropdownArrowFocused && !this._isOverflowEmpty && !this._isPickerOpen) {\n\t\t\te.preventDefault();\n\t\t\treturn;\n\t\t}\n\t\tif ((isEnter(e) || isSpace(e)) && this._isCurrentLocationLabelFocused) {\n\t\t\tthis._onLabelPress(e);\n\t\t}\n\t}\n\n\t_onkeyup(e: KeyboardEvent) {\n\t\tif (this._isDropdownArrowFocused && isSpace(e) && !this._isOverflowEmpty && !this._isPickerOpen) {\n\t\t\tthis._openRespPopover();\n\t\t}\n\t}\n\n\t/**\n\t * Caches the space required to render the content\n\t * @private\n\t */\n\t_cacheWidths() {\n\t\tconst map = this._breadcrumbItemWidths,\n\t\t\titems = this._getItems(),\n\t\t\tlabel = this._currentLocationLabel;\n\n\t\tfor (let i = this._overflowSize; i < items.length; i++) {\n\t\t\tconst item = items[i],\n\t\t\t\tlink = this.shadowRoot!.querySelector<HTMLElement>(`#${item._id}-link-wrapper`)!;\n\t\t\tmap.set(item, this._getElementWidth(link));\n\t\t}\n\n\t\tif (items.length && this._endsWithCurrentLocationLabel && label) {\n\t\t\tconst item = items[items.length - 1];\n\n\t\t\tmap.set(item, this._getElementWidth(label));\n\t\t}\n\n\t\tif (!this._isOverflowEmpty) {\n\t\t\tconst arrow = this.shadowRoot!.querySelector<HTMLElement>(\".ui5-breadcrumbs-dropdown-arrow-link-wrapper\")!;\n\t\t\tthis._dropdownArrowLinkWidth = this._getElementWidth(arrow);\n\t\t}\n\t}\n\n\t_updateOverflow() {\n\t\tconst items = this._getItems(),\n\t\t\tavailableWidth = this.shadowRoot!.querySelector<HTMLElement>(\".ui5-breadcrumbs-root\")!.offsetWidth;\n\t\tlet requiredWidth = this._getTotalContentWidth(),\n\t\t\toverflowSize = 0;\n\n\t\tif (requiredWidth > availableWidth) {\n\t\t\t// need to show the component that opens the overflow\n\t\t\trequiredWidth += this._dropdownArrowLinkWidth;\n\t\t}\n\n\t\twhile ((requiredWidth > availableWidth) && (overflowSize < this._maxAllowedOverflowSize)) {\n\t\t\tconst itemToOverflow = items[overflowSize];\n\t\t\tlet itemWidth = 0;\n\n\t\t\tif (this._isItemVisible(itemToOverflow)) {\n\t\t\t\titemWidth = this._breadcrumbItemWidths.get(itemToOverflow) || 0;\n\t\t\t}\n\n\t\t\t// move the item to the overflow\n\t\t\trequiredWidth -= itemWidth;\n\t\t\toverflowSize++;\n\t\t}\n\n\t\tthis._overflowSize = overflowSize;\n\n\t\t// if overflow was emptied while picker was open => close redundant popup\n\t\tif (this._isOverflowEmpty && this._isPickerOpen) {\n\t\t\tthis.responsivePopover!.close();\n\t\t}\n\n\t\t// if the last focused link has done into the overflow =>\n\t\t// ensure the first visible link is focusable\n\t\tconst focusableItems = this._getFocusableItems();\n\t\tif (!focusableItems.some(x => x._tabIndex === \"0\")) {\n\t\t\tthis._itemNavigation.setCurrentItem(focusableItems[0]);\n\t\t}\n\t}\n\n\t_getElementWidth(element: HTMLElement) {\n\t\tif (element) {\n\t\t\treturn Math.ceil(element.getBoundingClientRect().width);\n\t\t}\n\n\t\treturn 0;\n\t}\n\n\t_getTotalContentWidth() {\n\t\tconst items = this._getItems(),\n\t\t\twidthsMap = this._breadcrumbItemWidths,\n\t\t\ttotalLinksWidth = items.reduce((sum, link) => sum + widthsMap.get(link)!, 0);\n\n\t\treturn totalLinksWidth;\n\t}\n\n\t_onLinkPress(e: CustomEvent<LinkClickEventDetail>) {\n\t\tconst link = e.target as Link,\n\t\t\titems = this._getItems(),\n\t\t\titem = items.find(x => `${x._id}-link` === link.id),\n\t\t\t{\n\t\t\t\taltKey,\n\t\t\t\tctrlKey,\n\t\t\t\tmetaKey,\n\t\t\t\tshiftKey,\n\t\t\t} = e.detail;\n\n\t\tif (!this.fireEvent(\"item-click\", {\n\t\t\titem,\n\t\t\taltKey,\n\t\t\tctrlKey,\n\t\t\tmetaKey,\n\t\t\tshiftKey,\n\t\t}, true)) {\n\t\t\te.preventDefault();\n\t\t}\n\t}\n\n\t_onLabelPress(e: MouseEvent | KeyboardEvent) {\n\t\tconst items = this._getItems(),\n\t\t\titem = items[items.length - 1],\n\t\t\t{\n\t\t\t\taltKey,\n\t\t\t\tctrlKey,\n\t\t\t\tmetaKey,\n\t\t\t\tshiftKey,\n\t\t\t} = e;\n\n\t\tthis.fireEvent<BreadcrumbsItemClickEventDetail>(\"item-click\", {\n\t\t\titem,\n\t\t\taltKey,\n\t\t\tctrlKey,\n\t\t\tmetaKey,\n\t\t\tshiftKey,\n\t\t});\n\t}\n\n\t_onOverflowListItemSelect(e: CustomEvent<SelectionChangeEventDetail>) {\n\t\tconst listItem = e.detail.selectedItems[0],\n\t\t\titems = this._getItems(),\n\t\t\titem = items.find(x => `${x._id}-li` === listItem.id)!;\n\n\t\tif (this.fireEvent(\"item-click\", { item }, true)) {\n\t\t\twindow.open(item.href, item.target || \"_self\", \"noopener,noreferrer\");\n\t\t\tthis.responsivePopover!.close();\n\t\t}\n\t}\n\n\tasync _respPopover() {\n\t\tconst staticAreaItem = await this.getStaticAreaItemDomRef();\n\t\treturn staticAreaItem!.querySelector<ResponsivePopover>(\"[ui5-responsive-popover]\")!;\n\t}\n\n\tasync _toggleRespPopover() {\n\t\tthis.responsivePopover = await this._respPopover();\n\n\t\tif (this._isPickerOpen) {\n\t\t\tthis._closeRespPopover();\n\t\t} else {\n\t\t\tthis._openRespPopover();\n\t\t}\n\t}\n\n\t_closeRespPopover() {\n\t\tthis.responsivePopover && this.responsivePopover.close();\n\t}\n\n\tasync _openRespPopover() {\n\t\tthis.responsivePopover = await this._respPopover();\n\t\tthis.responsivePopover.showAt(this._dropdownArrowLink);\n\t}\n\n\t_isItemVisible(item: BreadcrumbsItem) {\n\t\treturn !item.hidden && this._hasVisibleContent(item);\n\t}\n\n\t_hasVisibleContent(item: BreadcrumbsItem) {\n\t\t// the check is not complete but may be extended in the future if needed to cover\n\t\t// cases besides the standard (UX-recommended) ones\n\t\treturn item.innerText || Array.from(item.children).some(child => !(child as HTMLElement).hidden);\n\t}\n\n\t_preprocessItems() {\n\t\tthis.items.forEach(item => {\n\t\t\titem._getRealDomRef = () => this.getDomRef()!.querySelector(`[data-ui5-stable*=${item.stableDomRef}]`)!;\n\t\t});\n\t}\n\n\t_getItemPositionText(position: number, size: number) {\n\t\treturn Breadcrumbs.i18nBundle.getText(BREADCRUMB_ITEM_POS, position, size);\n\t}\n\n\t_getItemAccessibleName(item: BreadcrumbsItem, position: number, size: number) {\n\t\tconst positionText = this._getItemPositionText(position, size);\n\t\tconst itemsText = item.textContent || \"\";\n\n\t\t// innerText is needed as it is no longer read out when label is set\n\t\tlet text = \"\";\n\t\tif (item.accessibleName) {\n\t\t\ttext = `${itemsText.trim()} ${item.accessibleName} ${positionText}`;\n\t\t} else {\n\t\t\ttext = `${itemsText.trim()} ${positionText}`;\n\t\t}\n\n\t\treturn text;\n\t}\n\n\tgetCurrentLocationLabelWrapper() {\n\t\treturn this.shadowRoot!.querySelector<HTMLElement>(\".ui5-breadcrumbs-current-location > span\");\n\t}\n\n\tget _visibleItems() {\n\t\treturn this._getItems()\n\t\t\t.slice(this._overflowSize)\n\t\t\t.filter(i => this._isItemVisible(i));\n\t}\n\n\tget _endsWithCurrentLocationLabel() {\n\t\treturn this.design === BreadcrumbsDesign.Standard;\n\t}\n\n\tget _currentLocationText() {\n\t\tconst items = this._getItems();\n\t\tif (this._endsWithCurrentLocationLabel && items.length) {\n\t\t\tconst item = items[items.length - 1];\n\t\t\tif (this._isItemVisible(item)) {\n\t\t\t\treturn item.innerText;\n\t\t\t}\n\t\t}\n\t\treturn \"\";\n\t}\n\n\tget _currentLocationLabel() {\n\t\treturn this.shadowRoot!.querySelector<Label>(\".ui5-breadcrumbs-current-location [ui5-label]\");\n\t}\n\n\tget _isDropdownArrowFocused() {\n\t\treturn this._dropdownArrowLink._tabIndex === \"0\";\n\t}\n\n\tget _isCurrentLocationLabelFocused() {\n\t\tconst label = this.getCurrentLocationLabelWrapper();\n\t\treturn label && label.tabIndex === 0;\n\t}\n\n\t/**\n\t * Returns the maximum allowed count of items in the overflow\n\t * with respect to the UX requirement to never overflow the last visible item\n\t */\n\tget _maxAllowedOverflowSize() {\n\t\tconst items = this._getItems().filter(item => this._isItemVisible(item));\n\t\t// all items except tha last visible one are allowed to overflow by UX requirement\n\t\treturn items.length - 1;\n\t}\n\n\t/**\n\t * Getter for the interactive element that opens the overflow\n\t * @private\n\t */\n\tget _dropdownArrowLink() {\n\t\treturn this.shadowRoot!.querySelector<Link>(\".ui5-breadcrumbs-dropdown-arrow-link-wrapper [ui5-link]\")!;\n\t}\n\n\t/**\n\t * Getter for the list of abstract breadcrumb items to be rendered as list-items inside the overflow\n\t */\n\tget _overflowItemsData() {\n\t\treturn this._getItems()\n\t\t\t.slice(0, this._overflowSize)\n\t\t\t.filter(item => this._isItemVisible(item))\n\t\t\t.reverse();\n\t}\n\n\t/**\n\t * Getter for the list of abstract breadcrumb items to be rendered as links outside the overflow\n\t */\n\tget _linksData() {\n\t\tconst items = this._visibleItems;\n\t\tconst itemsCount = items.length; // get size before removing of current location\n\n\t\tif (this._endsWithCurrentLocationLabel) {\n\t\t\titems.pop();\n\t\t}\n\n\t\treturn items\n\t\t\t.map((item, index) => {\n\t\t\t\titem._accessibleNameText = this._getItemAccessibleName(item, index + 1, itemsCount);\n\t\t\t\treturn item;\n\t\t\t});\n\t}\n\n\t/**\n\t * Getter for accessible name of the current location. Includes the position of the current location and the size of the breadcrumbs\n\t */\n\tget _currentLocationAccName() {\n\t\tconst items = this._visibleItems;\n\n\t\tconst positionText = this._getItemPositionText(items.length, items.length);\n\t\tconst lastItem = items[items.length - 1];\n\n\t\tif (!lastItem) {\n\t\t\treturn positionText;\n\t\t}\n\n\t\tconst lastItemText = lastItem.textContent || \"\";\n\n\t\tif (lastItem.accessibleName) {\n\t\t\treturn `${lastItemText.trim()} ${lastItem.accessibleName} ${positionText}`;\n\t\t}\n\n\t\treturn `${lastItemText.trim()} ${positionText}`;\n\t}\n\n\t/**\n\t * Getter for the list of links corresponding to the abstract breadcrumb items\n\t */\n\tget _links() {\n\t\treturn Array.from(this.shadowRoot!.querySelectorAll<Link>(\".ui5-breadcrumbs-link-wrapper [ui5-link]\"));\n\t}\n\n\tget _isOverflowEmpty() {\n\t\treturn this._overflowItemsData.length === 0;\n\t}\n\n\tget _ariaHasPopup() {\n\t\tif (!this._isOverflowEmpty) {\n\t\t\treturn \"listbox\";\n\t\t}\n\t\treturn undefined;\n\t}\n\n\tget _isPickerOpen() {\n\t\treturn !!this.responsivePopover && this.responsivePopover.opened;\n\t}\n\n\tget _accessibleNameText() {\n\t\treturn Breadcrumbs.i18nBundle.getText(BREADCRUMBS_ARIA_LABEL);\n\t}\n\n\tget _dropdownArrowAccessibleNameText() {\n\t\treturn Breadcrumbs.i18nBundle.getText(BREADCRUMBS_OVERFLOW_ARIA_LABEL);\n\t}\n\n\tget _cancelButtonText() {\n\t\treturn Breadcrumbs.i18nBundle.getText(BREADCRUMBS_CANCEL_BUTTON);\n\t}\n\n\tstatic async onDefine() {\n\t\tBreadcrumbs.i18nBundle = await getI18nBundle(\"@ui5/webcomponents\");\n\t}\n}\n\nBreadcrumbs.define();\n\nexport default Breadcrumbs;\n"]}
1
+ {"version":3,"file":"Breadcrumbs.js","sourceRoot":"","sources":["../src/Breadcrumbs.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AAEpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,KAAK,MAAM,kDAAkD,CAAC;AACrE,OAAO,cAAc,MAAM,yDAAyD,CAAC;AAErF,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,EACN,OAAO,EACP,OA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I;YACJ,KAAK;YACL,iBAAiB;YACjB,IAAI;YACJ,gBAAgB;YAChB,IAAI;YACJ,MAAM;SACN;KACD,CAAC;IACF;;;;;;;;;;;;OAYG;;IACF,KAAK,CAAC,YAAY,EAAE;QACpB,MAAM,EAAE;YACP,IAAI,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;YAC3B,MAAM,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;YACzB,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;YAC1B,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;YAC1B,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;SAC3B;KACD,CAAC;GACI,WAAW,CA2gBhB;AAED,WAAW,CAAC,MAAM,EAAE,CAAC;AAErB,eAAe,WAAW,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport type { ChangeInfo } 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 slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport ItemNavigation from \"@ui5/webcomponents-base/dist/delegate/ItemNavigation.js\";\nimport type { ITabbable } from \"@ui5/webcomponents-base/dist/delegate/ItemNavigation.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport {\n\tisEnter,\n\tisSpace,\n\tisShow,\n} from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport Integer from \"@ui5/webcomponents-base/dist/types/Integer.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport ResizeHandler from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport type { ResizeObserverCallback } from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport NavigationMode from \"@ui5/webcomponents-base/dist/types/NavigationMode.js\";\nimport BreadcrumbsDesign from \"./types/BreadcrumbsDesign.js\";\nimport BreadcrumbsSeparatorStyle from \"./types/BreadcrumbsSeparatorStyle.js\";\nimport BreadcrumbsItem from \"./BreadcrumbsItem.js\";\nimport {\n\tBREADCRUMB_ITEM_POS,\n\tBREADCRUMBS_ARIA_LABEL,\n\tBREADCRUMBS_OVERFLOW_ARIA_LABEL,\n\tBREADCRUMBS_CANCEL_BUTTON,\n} from \"./generated/i18n/i18n-defaults.js\";\nimport Link from \"./Link.js\";\nimport type { LinkClickEventDetail } from \"./Link.js\";\nimport Label from \"./Label.js\";\nimport ResponsivePopover from \"./ResponsivePopover.js\";\nimport List from \"./List.js\";\nimport type { ListSelectionChangeEventDetail } from \"./List.js\";\nimport StandardListItem from \"./StandardListItem.js\";\nimport Icon from \"./Icon.js\";\nimport Button from \"./Button.js\";\nimport \"@ui5/webcomponents-icons/dist/slim-arrow-down.js\";\n\n// Templates\nimport BreadcrumbsTemplate from \"./generated/templates/BreadcrumbsTemplate.lit.js\";\nimport BreadcrumbsPopoverTemplate from \"./generated/templates/BreadcrumbsPopoverTemplate.lit.js\";\n\n// Styles\nimport breadcrumbsCss from \"./generated/themes/Breadcrumbs.css.js\";\nimport breadcrumbsPopoverCss from \"./generated/themes/BreadcrumbsPopover.css.js\";\n\ntype BreadcrumbsItemClickEventDetail = {\n\titem: BreadcrumbsItem;\n\taltKey: boolean;\n\tctrlKey: boolean;\n\tmetaKey: boolean;\n\tshiftKey: boolean;\n}\n\ntype FocusAdaptor = ITabbable & {\n\tgetlabelWrapper: () => Element | null;\n}\n\n/**\n * @class\n *\n * <h3 class=\"comment-api-title\">Overview</h3>\n * Enables users to navigate between items by providing a list of links to previous steps in the user's navigation path.\n * It helps the user to be aware of their location within the application and allows faster navigation.\n * <br><br>\n * The last three steps can be accessed as links directly, while the remaining links prior to them are available\n * in a drop-down menu.\n * <br><br>\n * You can choose the type of separator to be used from a number of predefined options.\n *\n * <h3>Keyboard Handling</h3>\n * The <code>ui5-breadcrumbs</code> provides advanced keyboard handling.\n * <br>\n * <ul>\n * <li>[F4, ALT+UP, ALT+DOWN, SPACE, ENTER] - If the dropdown arrow is focused - opens/closes the drop-down.</li>\n * <li>[SPACE, ENTER] - Activates the focused item and triggers the <code>item-click</code> event.</li>\n * <li>[ESC] - Closes the drop-down.</li>\n * <li>[LEFT] - If the drop-down is closed - navigates one item to the left.</li>\n * <li>[RIGHT] - If the drop-down is closed - navigates one item to the right.</li>\n * <li>[UP] - If the drop-down is open - moves focus to the next item.</li>\n * <li>[DOWN] - If the drop-down is open - moves focus to the previous item.</li>\n * <li>[HOME] - Navigates to the first item.</li>\n * <li>[END] - Navigates to the last item.</li>\n * </ul>\n * <br>\n * @constructor\n * @author SAP SE\n * @alias sap.ui.webc.main.Breadcrumbs\n * @extends sap.ui.webc.base.UI5Element\n * @tagname ui5-breadcrumbs\n * @appenddocs sap.ui.webc.main.BreadcrumbsItem\n * @public\n * @since 1.0.0-rc.15\n */\n@customElement({\n\ttag: \"ui5-breadcrumbs\",\n\tlanguageAware: true,\n\trenderer: litRender,\n\ttemplate: BreadcrumbsTemplate,\n\tstaticAreaTemplate: BreadcrumbsPopoverTemplate,\n\tstyles: breadcrumbsCss,\n\tstaticAreaStyles: breadcrumbsPopoverCss,\n\tdependencies: [\n\t\tBreadcrumbsItem,\n\t\tLink,\n\t\tLabel,\n\t\tResponsivePopover,\n\t\tList,\n\t\tStandardListItem,\n\t\tIcon,\n\t\tButton,\n\t],\n})\n/**\n * Fires when a <code>BreadcrumbsItem</code> is clicked.\n * <b>Note:</b> You can prevent browser location change by calling <code>event.preventDefault()</code>.\n *\n * @event sap.ui.webc.main.Breadcrumbs#item-click\n * @allowPreventDefault\n * @param {HTMLElement} item The clicked item.\n * @param {Boolean} altKey Returns whether the \"ALT\" key was pressed when the event was triggered.\n * @param {Boolean} ctrlKey Returns whether the \"CTRL\" key was pressed when the event was triggered.\n * @param {Boolean} metaKey Returns whether the \"META\" key was pressed when the event was triggered.\n * @param {Boolean} shiftKey Returns whether the \"SHIFT\" key was pressed when the event was triggered.\n * @public\n */\n@event(\"item-click\", {\n\tdetail: {\n\t\titem: { type: HTMLElement },\n\t\taltKey: { type: Boolean },\n\t\tctrlKey: { type: Boolean },\n\t\tmetaKey: { type: Boolean },\n\t\tshiftKey: { type: Boolean },\n\t},\n})\nclass Breadcrumbs extends UI5Element {\n\t/**\n\t * Defines the visual indication and behavior of the breadcrumbs.\n\t * Available options are <code>Standard</code> (by default) and <code>NoCurrentPage</code>.\n\t * <br><br>\n\t * <b>Note:</b> The <code>Standard</code> breadcrumbs show the current page as the last item in the trail.\n\t * The last item contains only plain text and is not a link.\n\t *\n\t * @type {sap.ui.webc.main.types.BreadcrumbsDesign}\n\t * @name sap.ui.webc.main.Breadcrumbs.prototype.design\n\t * @defaultvalue \"Standard\"\n\t * @public\n\t*/\n\t@property({ type: BreadcrumbsDesign, defaultValue: BreadcrumbsDesign.Standard })\n\tdesign!: `${BreadcrumbsDesign}`;\n\n\t/**\n\t * Determines the visual style of the separator between the breadcrumb items.\n\t *\n\t * <br><br>\n\t * Available options are:\n\t * <ul>\n\t * <li><code>Slash</code></li>\n\t * <li><code>BackSlash</code></li>\n\t * <li><code>DoubleBackSlash</code></li>\n\t * <li><code>DoubleGreaterThan</code></li>\n\t * <li><code>DoubleSlash</code></li>\n\t * <li><code>GreaterThan</code></li>\n\t * </ul>\n\t *\n\t * @type {sap.ui.webc.main.types.BreadcrumbsSeparatorStyle}\n\t * @name sap.ui.webc.main.Breadcrumbs.prototype.separatorStyle\n\t * @defaultvalue \"Slash\"\n\t * @public\n\t */\n\t@property({ type: BreadcrumbsSeparatorStyle, defaultValue: BreadcrumbsSeparatorStyle.Slash })\n\tseparatorStyle!: `${BreadcrumbsSeparatorStyle}`;\n\n\t/**\n\t * Holds the number of items in the overflow.\n\t *\n\t * @type {sap.ui.webc.base.types.Integer}\n\t * @defaultvalue 0\n\t * @private\n\t */\n\t@property({ validator: Integer, noAttribute: true, defaultValue: 0 })\n\t_overflowSize!: number;\n\n\t/**\n\t * Defines the component items.\n\t *\n\t * <br><br>\n\t * <b>Note:</b> Use the <code>ui5-breadcrumbs-item</code> component to define the desired items.\n\t * @type {sap.ui.webc.main.IBreadcrumbsItem[]}\n\t * @name sap.ui.webc.main.Breadcrumbs.prototype.default\n\t * @slot items\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, invalidateOnChildChange: true, \"default\": true })\n\titems!: Array<BreadcrumbsItem>;\n\n\t_itemNavigation: ItemNavigation\n\t_onResizeHandler: ResizeObserverCallback;\n\n\t// maps items to their widths\n\t_breadcrumbItemWidths = new WeakMap<BreadcrumbsItem, number>();\n\t// the width of the interactive element that opens the overflow\n\t_dropdownArrowLinkWidth = 0;\n\tresponsivePopover?: ResponsivePopover;\n\t_labelFocusAdaptor: FocusAdaptor;\n\tstatic i18nBundle: I18nBundle;\n\n\tconstructor() {\n\t\tsuper();\n\n\t\tthis._itemNavigation = new ItemNavigation(this, {\n\t\t\tnavigationMode: NavigationMode.Horizontal,\n\t\t\tgetItemsCallback: () => this._getFocusableItems(),\n\t\t});\n\n\t\tthis._onResizeHandler = this._updateOverflow.bind(this);\n\n\t\tthis._labelFocusAdaptor = {\n\t\t\tid: `${this._id}-labelWrapper`,\n\t\t\tgetlabelWrapper: this.getCurrentLocationLabelWrapper.bind(this),\n\t\t\tset _tabIndex(value: string) {\n\t\t\t\tconst wrapper = this.getlabelWrapper();\n\t\t\t\twrapper && wrapper.setAttribute(\"tabindex\", value);\n\t\t\t},\n\t\t\tget _tabIndex() {\n\t\t\t\tconst wrapper = this.getlabelWrapper();\n\t\t\t\treturn wrapper?.getAttribute(\"tabindex\") || \"\";\n\t\t\t},\n\t\t};\n\t}\n\n\tonInvalidation(changeInfo: ChangeInfo) {\n\t\tif (changeInfo.reason === \"childchange\") {\n\t\t\tconst itemIndex = this._getItems().indexOf(changeInfo.child as BreadcrumbsItem),\n\t\t\t\tisInOverflow = itemIndex < this._overflowSize;\n\t\t\tif (isInOverflow) {\n\t\t\t\t// the content of an overflowing item has changed\n\t\t\t\t// => need to render the item outside the overflow to obtain its new width\n\t\t\t\t// => lower-down the <code>_overfowSize</code> to exclude that item from the overflow\n\t\t\t\tthis._overflowSize = itemIndex;\n\t\t\t}\n\t\t}\n\t}\n\n\t_getItems() {\n\t\treturn this.getSlottedNodes<BreadcrumbsItem>(\"items\");\n\t}\n\n\tonBeforeRendering() {\n\t\tthis._preprocessItems();\n\t}\n\n\tonAfterRendering() {\n\t\tthis._cacheWidths();\n\t\tthis._updateOverflow();\n\t}\n\n\tonEnterDOM() {\n\t\tResizeHandler.register(this, this._onResizeHandler);\n\t}\n\n\tonExitDOM() {\n\t\tResizeHandler.deregister(this, this._onResizeHandler);\n\t}\n\n\t_initItemNavigation() {\n\t\tif (!this._itemNavigation) {\n\t\t\tthis._itemNavigation = new ItemNavigation(this, {\n\t\t\t\tnavigationMode: NavigationMode.Horizontal,\n\t\t\t\tgetItemsCallback: () => this._getFocusableItems(),\n\t\t\t});\n\t\t}\n\t}\n\n\t/**\n\t * Obtains the items for navigation via keyboard\n\t * @private\n\t */\n\t_getFocusableItems() {\n\t\tconst items: Array<ITabbable> = this._links;\n\n\t\tif (!this._isOverflowEmpty) {\n\t\t\titems.unshift(this._dropdownArrowLink);\n\t\t}\n\n\t\tif (this._endsWithCurrentLocationLabel) {\n\t\t\titems.push(this._labelFocusAdaptor);\n\t\t}\n\t\treturn items;\n\t}\n\n\t_onfocusin(e: FocusEvent) {\n\t\tconst target = e.target,\n\t\t\tlabelWrapper = this.getCurrentLocationLabelWrapper(),\n\t\t\tcurrentItem = (target === labelWrapper) ? this._labelFocusAdaptor : target as Link;\n\n\t\tthis._itemNavigation.setCurrentItem(currentItem);\n\t}\n\n\t_onkeydown(e: KeyboardEvent) {\n\t\tconst isDropdownArrowFocused = this._isDropdownArrowFocused;\n\n\t\tif (isShow(e) && isDropdownArrowFocused && !this._isOverflowEmpty) {\n\t\t\te.preventDefault();\n\t\t\tthis._toggleRespPopover();\n\t\t\treturn;\n\t\t}\n\t\tif (isSpace(e) && isDropdownArrowFocused && !this._isOverflowEmpty && !this._isPickerOpen) {\n\t\t\te.preventDefault();\n\t\t\treturn;\n\t\t}\n\t\tif ((isEnter(e) || isSpace(e)) && this._isCurrentLocationLabelFocused) {\n\t\t\tthis._onLabelPress(e);\n\t\t}\n\t}\n\n\t_onkeyup(e: KeyboardEvent) {\n\t\tif (this._isDropdownArrowFocused && isSpace(e) && !this._isOverflowEmpty && !this._isPickerOpen) {\n\t\t\tthis._openRespPopover();\n\t\t}\n\t}\n\n\t/**\n\t * Caches the space required to render the content\n\t * @private\n\t */\n\t_cacheWidths() {\n\t\tconst map = this._breadcrumbItemWidths,\n\t\t\titems = this._getItems(),\n\t\t\tlabel = this._currentLocationLabel;\n\n\t\tfor (let i = this._overflowSize; i < items.length; i++) {\n\t\t\tconst item = items[i],\n\t\t\t\tlink = this.shadowRoot!.querySelector<HTMLElement>(`#${item._id}-link-wrapper`)!;\n\t\t\tmap.set(item, this._getElementWidth(link));\n\t\t}\n\n\t\tif (items.length && this._endsWithCurrentLocationLabel && label) {\n\t\t\tconst item = items[items.length - 1];\n\n\t\t\tmap.set(item, this._getElementWidth(label));\n\t\t}\n\n\t\tif (!this._isOverflowEmpty) {\n\t\t\tconst arrow = this.shadowRoot!.querySelector<HTMLElement>(\".ui5-breadcrumbs-dropdown-arrow-link-wrapper\")!;\n\t\t\tthis._dropdownArrowLinkWidth = this._getElementWidth(arrow);\n\t\t}\n\t}\n\n\t_updateOverflow() {\n\t\tconst items = this._getItems(),\n\t\t\tavailableWidth = this.shadowRoot!.querySelector<HTMLElement>(\".ui5-breadcrumbs-root\")!.offsetWidth;\n\t\tlet requiredWidth = this._getTotalContentWidth(),\n\t\t\toverflowSize = 0;\n\n\t\tif (requiredWidth > availableWidth) {\n\t\t\t// need to show the component that opens the overflow\n\t\t\trequiredWidth += this._dropdownArrowLinkWidth;\n\t\t}\n\n\t\twhile ((requiredWidth > availableWidth) && (overflowSize < this._maxAllowedOverflowSize)) {\n\t\t\tconst itemToOverflow = items[overflowSize];\n\t\t\tlet itemWidth = 0;\n\n\t\t\tif (this._isItemVisible(itemToOverflow)) {\n\t\t\t\titemWidth = this._breadcrumbItemWidths.get(itemToOverflow) || 0;\n\t\t\t}\n\n\t\t\t// move the item to the overflow\n\t\t\trequiredWidth -= itemWidth;\n\t\t\toverflowSize++;\n\t\t}\n\n\t\tthis._overflowSize = overflowSize;\n\n\t\t// if overflow was emptied while picker was open => close redundant popup\n\t\tif (this._isOverflowEmpty && this._isPickerOpen) {\n\t\t\tthis.responsivePopover!.close();\n\t\t}\n\n\t\t// if the last focused link has done into the overflow =>\n\t\t// ensure the first visible link is focusable\n\t\tconst focusableItems = this._getFocusableItems();\n\t\tif (!focusableItems.some(x => x._tabIndex === \"0\")) {\n\t\t\tthis._itemNavigation.setCurrentItem(focusableItems[0]);\n\t\t}\n\t}\n\n\t_getElementWidth(element: HTMLElement) {\n\t\tif (element) {\n\t\t\treturn Math.ceil(element.getBoundingClientRect().width);\n\t\t}\n\n\t\treturn 0;\n\t}\n\n\t_getTotalContentWidth() {\n\t\tconst items = this._getItems(),\n\t\t\twidthsMap = this._breadcrumbItemWidths,\n\t\t\ttotalLinksWidth = items.reduce((sum, link) => sum + widthsMap.get(link)!, 0);\n\n\t\treturn totalLinksWidth;\n\t}\n\n\t_onLinkPress(e: CustomEvent<LinkClickEventDetail>) {\n\t\tconst link = e.target as Link,\n\t\t\titems = this._getItems(),\n\t\t\titem = items.find(x => `${x._id}-link` === link.id)!,\n\t\t\t{\n\t\t\t\taltKey,\n\t\t\t\tctrlKey,\n\t\t\t\tmetaKey,\n\t\t\t\tshiftKey,\n\t\t\t} = e.detail;\n\n\t\tif (!this.fireEvent<BreadcrumbsItemClickEventDetail>(\"item-click\", {\n\t\t\titem,\n\t\t\taltKey,\n\t\t\tctrlKey,\n\t\t\tmetaKey,\n\t\t\tshiftKey,\n\t\t}, true)) {\n\t\t\te.preventDefault();\n\t\t}\n\t}\n\n\t_onLabelPress(e: MouseEvent | KeyboardEvent) {\n\t\tconst items = this._getItems(),\n\t\t\titem = items[items.length - 1],\n\t\t\t{\n\t\t\t\taltKey,\n\t\t\t\tctrlKey,\n\t\t\t\tmetaKey,\n\t\t\t\tshiftKey,\n\t\t\t} = e;\n\n\t\tthis.fireEvent<BreadcrumbsItemClickEventDetail>(\"item-click\", {\n\t\t\titem,\n\t\t\taltKey,\n\t\t\tctrlKey,\n\t\t\tmetaKey,\n\t\t\tshiftKey,\n\t\t});\n\t}\n\n\t_onOverflowListItemSelect(e: CustomEvent<ListSelectionChangeEventDetail>) {\n\t\tconst listItem = e.detail.selectedItems[0],\n\t\t\titems = this._getItems(),\n\t\t\titem = items.find(x => `${x._id}-li` === listItem.id)!;\n\n\t\tif (this.fireEvent(\"item-click\", { item }, true)) {\n\t\t\twindow.open(item.href, item.target || \"_self\", \"noopener,noreferrer\");\n\t\t\tthis.responsivePopover!.close();\n\t\t}\n\t}\n\n\tasync _respPopover() {\n\t\tconst staticAreaItem = await this.getStaticAreaItemDomRef();\n\t\treturn staticAreaItem!.querySelector<ResponsivePopover>(\"[ui5-responsive-popover]\")!;\n\t}\n\n\tasync _toggleRespPopover() {\n\t\tthis.responsivePopover = await this._respPopover();\n\n\t\tif (this._isPickerOpen) {\n\t\t\tthis._closeRespPopover();\n\t\t} else {\n\t\t\tthis._openRespPopover();\n\t\t}\n\t}\n\n\t_closeRespPopover() {\n\t\tthis.responsivePopover && this.responsivePopover.close();\n\t}\n\n\tasync _openRespPopover() {\n\t\tthis.responsivePopover = await this._respPopover();\n\t\tthis.responsivePopover.showAt(this._dropdownArrowLink);\n\t}\n\n\t_isItemVisible(item: BreadcrumbsItem) {\n\t\treturn !item.hidden && this._hasVisibleContent(item);\n\t}\n\n\t_hasVisibleContent(item: BreadcrumbsItem) {\n\t\t// the check is not complete but may be extended in the future if needed to cover\n\t\t// cases besides the standard (UX-recommended) ones\n\t\treturn item.innerText || Array.from(item.children).some(child => !(child as HTMLElement).hidden);\n\t}\n\n\t_preprocessItems() {\n\t\tthis.items.forEach(item => {\n\t\t\titem._getRealDomRef = () => this.getDomRef()!.querySelector(`[data-ui5-stable*=${item.stableDomRef}]`)!;\n\t\t});\n\t}\n\n\t_getItemPositionText(position: number, size: number) {\n\t\treturn Breadcrumbs.i18nBundle.getText(BREADCRUMB_ITEM_POS, position, size);\n\t}\n\n\t_getItemAccessibleName(item: BreadcrumbsItem, position: number, size: number) {\n\t\tconst positionText = this._getItemPositionText(position, size);\n\t\tconst itemsText = item.textContent || \"\";\n\n\t\t// innerText is needed as it is no longer read out when label is set\n\t\tlet text = \"\";\n\t\tif (item.accessibleName) {\n\t\t\ttext = `${itemsText.trim()} ${item.accessibleName} ${positionText}`;\n\t\t} else {\n\t\t\ttext = `${itemsText.trim()} ${positionText}`;\n\t\t}\n\n\t\treturn text;\n\t}\n\n\tgetCurrentLocationLabelWrapper() {\n\t\treturn this.shadowRoot!.querySelector<HTMLElement>(\".ui5-breadcrumbs-current-location > span\");\n\t}\n\n\tget _visibleItems() {\n\t\treturn this._getItems()\n\t\t\t.slice(this._overflowSize)\n\t\t\t.filter(i => this._isItemVisible(i));\n\t}\n\n\tget _endsWithCurrentLocationLabel() {\n\t\treturn this.design === BreadcrumbsDesign.Standard;\n\t}\n\n\tget _currentLocationText() {\n\t\tconst items = this._getItems();\n\t\tif (this._endsWithCurrentLocationLabel && items.length) {\n\t\t\tconst item = items[items.length - 1];\n\t\t\tif (this._isItemVisible(item)) {\n\t\t\t\treturn item.innerText;\n\t\t\t}\n\t\t}\n\t\treturn \"\";\n\t}\n\n\tget _currentLocationLabel() {\n\t\treturn this.shadowRoot!.querySelector<Label>(\".ui5-breadcrumbs-current-location [ui5-label]\");\n\t}\n\n\tget _isDropdownArrowFocused() {\n\t\treturn this._dropdownArrowLink._tabIndex === \"0\";\n\t}\n\n\tget _isCurrentLocationLabelFocused() {\n\t\tconst label = this.getCurrentLocationLabelWrapper();\n\t\treturn label && label.tabIndex === 0;\n\t}\n\n\t/**\n\t * Returns the maximum allowed count of items in the overflow\n\t * with respect to the UX requirement to never overflow the last visible item\n\t */\n\tget _maxAllowedOverflowSize() {\n\t\tconst items = this._getItems().filter(item => this._isItemVisible(item));\n\t\t// all items except tha last visible one are allowed to overflow by UX requirement\n\t\treturn items.length - 1;\n\t}\n\n\t/**\n\t * Getter for the interactive element that opens the overflow\n\t * @private\n\t */\n\tget _dropdownArrowLink() {\n\t\treturn this.shadowRoot!.querySelector<Link>(\".ui5-breadcrumbs-dropdown-arrow-link-wrapper [ui5-link]\")!;\n\t}\n\n\t/**\n\t * Getter for the list of abstract breadcrumb items to be rendered as list-items inside the overflow\n\t */\n\tget _overflowItemsData() {\n\t\treturn this._getItems()\n\t\t\t.slice(0, this._overflowSize)\n\t\t\t.filter(item => this._isItemVisible(item))\n\t\t\t.reverse();\n\t}\n\n\t/**\n\t * Getter for the list of abstract breadcrumb items to be rendered as links outside the overflow\n\t */\n\tget _linksData() {\n\t\tconst items = this._visibleItems;\n\t\tconst itemsCount = items.length; // get size before removing of current location\n\n\t\tif (this._endsWithCurrentLocationLabel) {\n\t\t\titems.pop();\n\t\t}\n\n\t\treturn items\n\t\t\t.map((item, index) => {\n\t\t\t\titem._accessibleNameText = this._getItemAccessibleName(item, index + 1, itemsCount);\n\t\t\t\treturn item;\n\t\t\t});\n\t}\n\n\t/**\n\t * Getter for accessible name of the current location. Includes the position of the current location and the size of the breadcrumbs\n\t */\n\tget _currentLocationAccName() {\n\t\tconst items = this._visibleItems;\n\n\t\tconst positionText = this._getItemPositionText(items.length, items.length);\n\t\tconst lastItem = items[items.length - 1];\n\n\t\tif (!lastItem) {\n\t\t\treturn positionText;\n\t\t}\n\n\t\tconst lastItemText = lastItem.textContent || \"\";\n\n\t\tif (lastItem.accessibleName) {\n\t\t\treturn `${lastItemText.trim()} ${lastItem.accessibleName} ${positionText}`;\n\t\t}\n\n\t\treturn `${lastItemText.trim()} ${positionText}`;\n\t}\n\n\t/**\n\t * Getter for the list of links corresponding to the abstract breadcrumb items\n\t */\n\tget _links() {\n\t\treturn Array.from(this.shadowRoot!.querySelectorAll<Link>(\".ui5-breadcrumbs-link-wrapper [ui5-link]\"));\n\t}\n\n\tget _isOverflowEmpty() {\n\t\treturn this._overflowItemsData.length === 0;\n\t}\n\n\tget _ariaHasPopup() {\n\t\tif (!this._isOverflowEmpty) {\n\t\t\treturn \"listbox\";\n\t\t}\n\t\treturn undefined;\n\t}\n\n\tget _isPickerOpen() {\n\t\treturn !!this.responsivePopover && this.responsivePopover.opened;\n\t}\n\n\tget _accessibleNameText() {\n\t\treturn Breadcrumbs.i18nBundle.getText(BREADCRUMBS_ARIA_LABEL);\n\t}\n\n\tget _dropdownArrowAccessibleNameText() {\n\t\treturn Breadcrumbs.i18nBundle.getText(BREADCRUMBS_OVERFLOW_ARIA_LABEL);\n\t}\n\n\tget _cancelButtonText() {\n\t\treturn Breadcrumbs.i18nBundle.getText(BREADCRUMBS_CANCEL_BUTTON);\n\t}\n\n\tstatic async onDefine() {\n\t\tBreadcrumbs.i18nBundle = await getI18nBundle(\"@ui5/webcomponents\");\n\t}\n}\n\nBreadcrumbs.define();\n\nexport default Breadcrumbs;\nexport type {\n\tBreadcrumbsItemClickEventDetail,\n};\n"]}
@@ -15,7 +15,7 @@ interface ICalendarPicker {
15
15
  _firstYear?: number;
16
16
  _lastYear?: number;
17
17
  }
18
- type CalendarChangeEventDetail = {
18
+ type CalendarSelectedDatesChangeEventDetail = {
19
19
  values: Array<string>;
20
20
  dates: Array<number>;
21
21
  timestamp: number | undefined;
@@ -249,4 +249,4 @@ declare class Calendar extends CalendarPart {
249
249
  set selectedDates(selectedDates: Array<number>);
250
250
  }
251
251
  export default Calendar;
252
- export type { ICalendarPicker, CalendarChangeEventDetail, };
252
+ export type { ICalendarPicker,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E,IAAI,EAAE,KAAK,EAAE;SACvB;KACD,CAAC;IAED,KAAK,CAAC,kBAAkB,CAAC;IACzB,KAAK,CAAC,iBAAiB,CAAC;GACnB,QAAQ,CAwTb;AAED,QAAQ,CAAC,MAAM,EAAE,CAAC;AAElB,eAAe,QAAQ,CAAC","sourcesContent":["import customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport transformDateToSecondaryType from \"@ui5/webcomponents-localization/dist/dates/transformDateToSecondaryType.js\";\nimport convertMonthNumbersToMonthNames from \"@ui5/webcomponents-localization/dist/dates/convertMonthNumbersToMonthNames.js\";\nimport CalendarDate from \"@ui5/webcomponents-localization/dist/dates/CalendarDate.js\";\nimport { renderFinished } from \"@ui5/webcomponents-base/dist/Render.js\";\nimport {\n\tisF4,\n\tisF4Shift,\n} from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport getCachedLocaleDataInstance from \"@ui5/webcomponents-localization/dist/getCachedLocaleDataInstance.js\";\nimport getLocale from \"@ui5/webcomponents-base/dist/locale/getLocale.js\";\nimport DateFormat from \"@ui5/webcomponents-localization/dist/DateFormat.js\";\nimport * as CalendarDateComponent from \"./CalendarDate.js\";\nimport type CalendarDateComponentT from \"./CalendarDate.js\";\nimport CalendarPart from \"./CalendarPart.js\";\nimport CalendarHeader from \"./CalendarHeader.js\";\nimport DayPicker from \"./DayPicker.js\";\nimport type { DayPickerChangeEventDetail } from \"./DayPicker.js\";\nimport MonthPicker from \"./MonthPicker.js\";\nimport type { MonthPickerChangeEventDetail } from \"./MonthPicker.js\";\nimport YearPicker from \"./YearPicker.js\";\nimport type { YearPickerChangeEventDetail } from \"./YearPicker.js\";\nimport CalendarSelectionMode from \"./types/CalendarSelectionMode.js\";\nimport CalendarPickersMode from \"./types/CalendarPickersMode.js\";\n\n// Default calendar for bundling\nimport \"@ui5/webcomponents-localization/dist/features/calendar/Gregorian.js\";\n\n// Template\nimport CalendarTemplate from \"./generated/templates/CalendarTemplate.lit.js\";\n\n// Styles\nimport calendarCSS from \"./generated/themes/Calendar.css.js\";\n\ninterface ICalendarPicker {\n\t_showPreviousPage: () => void,\n\t_showNextPage: () => void,\n\t_hasPreviousPage: () => boolean,\n\t_hasNextPage: () => boolean,\n\t_autoFocus?: boolean,\n\t_firstYear?: number,\n\t_lastYear?: number,\n}\n\ntype CalendarChangeEventDetail = {\n\tvalues: Array<string>,\n\tdates: Array<number>,\n\ttimestamp: number | undefined,\n}\n\n/**\n * @class\n *\n * <h3 class=\"comment-api-title\">Overview</h3>\n *\n * The <code>ui5-calendar</code> component allows users to select one or more dates.\n * <br><br>\n * Currently selected dates are represented with instances of <code>ui5-date</code> as\n * children of the <code>ui5-calendar</code>. The value property of each <code>ui5-date</code> must be a\n * date string, correctly formatted according to the <code>ui5-calendar</code>'s <code>formatPattern</code> property.\n * Whenever the user changes the date selection, <code>ui5-calendar</code> will automatically create/remove instances\n * of <code>ui5-date</code> in itself, unless you prevent this behavior by calling <code>preventDefault()</code> for the\n * <code>selected-dates-change</code> event. This is useful if you want to control the selected dates externally.\n * <br><br>\n *\n * <h3>Usage</h3>\n *\n * The user can navigate to a particular date by:\n * <br>\n * <ul>\n * <li>Pressing over a month inside the months view</li>\n * <li>Pressing over an year inside the years view</li>\n * </ul>\n * <br>\n * The user can confirm a date selection by pressing over a date inside the days view.\n * <br><br>\n *\n * <h3>Keyboard Handling</h3>\n * The <code>ui5-calendar</code> provides advanced keyboard handling.\n * When a picker is showed and focused the user can use the following keyboard\n * shortcuts in order to perform a navigation:\n * <br>\n * - Day picker: <br>\n * <ul>\n * <li>[F4] - Shows month picker</li>\n * <li>[SHIFT] + [F4] - Shows year picker</li>\n * <li>[PAGEUP] - Navigate to the previous month</li>\n * <li>[PAGEDOWN] - Navigate to the next month</li>\n * <li>[SHIFT] + [PAGEUP] - Navigate to the previous year</li>\n * <li>[SHIFT] + [PAGEDOWN] - Navigate to the next year</li>\n * <li>[CTRL] + [SHIFT] + [PAGEUP] - Navigate ten years backwards</li>\n * <li>[CTRL] + [SHIFT] + [PAGEDOWN] - Navigate ten years forwards</li>\n * <li>[HOME] - Navigate to the first day of the week</li>\n * <li>[END] - Navigate to the last day of the week</li>\n * <li>[CTRL] + [HOME] - Navigate to the first day of the month</li>\n * <li>[CTRL] + [END] - Navigate to the last day of the month</li>\n * </ul>\n * <br>\n * - Month picker: <br>\n * <ul>\n * <li>[PAGEUP] - Navigate to the previous year</li>\n * <li>[PAGEDOWN] - Navigate to the next year</li>\n * <li>[HOME] - Navigate to the first month of the current row</li>\n * <li>[END] - Navigate to the last month of the current row</li>\n * <li>[CTRL] + [HOME] - Navigate to the first month of the current year</li>\n * <li>[CTRL] + [END] - Navigate to the last month of the year</li>\n * </ul>\n * <br>\n * - Year picker: <br>\n * <ul>\n * <li>[PAGEUP] - Navigate to the previous year range</li>\n * <li>[PAGEDOWN] - Navigate the next year range</li>\n * <li>[HOME] - Navigate to the first year of the current row</li>\n * <li>[END] - Navigate to the last year of the current row</li>\n * <li>[CTRL] + [HOME] - Navigate to the first year of the current year range</li>\n * <li>[CTRL] + [END] - Navigate to the last year of the current year range</li>\n * </ul>\n * <br>\n *\n * <h4>Fast Navigation</h4>\n * This component provides a build in fast navigation group which can be used via <code>F6 / Shift + F6</code> or <code> Ctrl + Alt(Option) + Down / Ctrl + Alt(Option) + Up</code>.\n * In order to use this functionality, you need to import the following module:\n * <code>import \"@ui5/webcomponents-base/dist/features/F6Navigation.js\"</code>\n * <br><br>\n *\n* <h3>Calendar types</h3>\n * The component supports several calendar types - Gregorian, Buddhist, Islamic, Japanese and Persian.\n * By default the Gregorian Calendar is used. In order to use the Buddhist, Islamic, Japanese or Persian calendar,\n * you need to set the <code>primaryCalendarType</code> property and import one or more of the following modules:\n * <br><br>\n *\n * <code>import \"@ui5/webcomponents-localization/dist/features/calendar/Buddhist.js\";</code>\n * <br>\n * <code>import \"@ui5/webcomponents-localization/dist/features/calendar/Islamic.js\";</code>\n * <br>\n * <code>import \"@ui5/webcomponents-localization/dist/features/calendar/Japanese.js\";</code>\n * <br>\n * <code>import \"@ui5/webcomponents-localization/dist/features/calendar/Persian.js\";</code>\n * <br><br>\n *\n * Or, you can use the global configuration and set the <code>calendarType</code> key:\n * <br>\n * <code>\n * &lt;script data-id=\"sap-ui-config\" type=\"application/json\"&gt;\n * {\n *\t\"calendarType\": \"Japanese\"\n * }\n * &lt;/script&gt;\n * </code>\n *\n *\n * <h3>ES6 Module Import</h3>\n *\n * <code>import \"@ui5/webcomponents/dist/Calendar\";</code>\n *\n * @constructor\n * @author SAP SE\n * @alias sap.ui.webc.main.Calendar\n * @extends sap.ui.webc.main.CalendarPart\n * @tagname ui5-calendar\n * @appenddocs sap.ui.webc.main.CalendarDate\n * @public\n * @since 1.0.0-rc.11\n */\n@customElement({\n\ttag: \"ui5-calendar\",\n\tfastNavigation: true,\n\ttemplate: CalendarTemplate,\n\tstyles: calendarCSS,\n\tdependencies: [\n\t\tCalendarDateComponent.default,\n\t\tCalendarHeader,\n\t\tDayPicker,\n\t\tMonthPicker,\n\t\tYearPicker,\n\t],\n})\n/**\n * Fired when the selected dates change.\n * <b>Note:</b> If you call <code>preventDefault()</code> for this event, the component will not\n * create instances of <code>ui5-date</code> for the newly selected dates. In that case you should do this manually.\n *\n * @event sap.ui.webc.main.Calendar#selected-dates-change\n * @allowPreventDefault\n * @param {Array} values The selected dates\n * @param {Array} dates The selected dates as UTC timestamps\n * @public\n */\n@event(\"selected-dates-change\", {\n\tdetail: {\n\t\tdates: { type: Array },\n\t\tvalues: { type: Array },\n\t},\n})\n\n@event(\"show-month-press\")\n@event(\"show-year-press\")\nclass Calendar extends CalendarPart {\n\t/**\n\t * Defines the type of selection used in the calendar component.\n\t * Accepted property values are:<br>\n\t * <ul>\n\t * <li><code>CalendarSelectionMode.Single</code> - enables a single date selection.(default value)</li>\n\t * <li><code>CalendarSelectionMode.Range</code> - enables selection of a date range.</li>\n\t * <li><code>CalendarSelectionMode.Multiple</code> - enables selection of multiple dates.</li>\n\t * </ul>\n\t * @type {sap.ui.webc.main.types.CalendarSelectionMode}\n\t * @name sap.ui.webc.main.Calendar.prototype.selectionMode\n\t * @defaultvalue \"Single\"\n\t * @public\n\t */\n\t@property({\n\t\ttype: CalendarSelectionMode,\n\t\tdefaultValue: CalendarSelectionMode.Single,\n\t})\n\tselectionMode!: `${CalendarSelectionMode}`;\n\n\t/**\n\t * Defines the visibility of the week numbers column.\n\t * <br><br>\n\t *\n\t * <b>Note:</b> For calendars other than Gregorian,\n\t * the week numbers are not displayed regardless of what is set.\n\t *\n\t * @type {boolean}\n\t * @name sap.ui.webc.main.Calendar.prototype.hideWeekNumbers\n\t * @defaultvalue false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\thideWeekNumbers!: boolean;\n\n\t/**\n\t * Which picker is currently visible to the user: day/month/year\n\t */\n\t@property({ defaultValue: \"day\" })\n\t_currentPicker!: string;\n\n\t@property({ type: Boolean })\n\t_previousButtonDisabled!: boolean;\n\n\t@property({ type: Boolean })\n\t_nextButtonDisabled!: boolean;\n\n\t@property()\n\t_headerMonthButtonText!: string;\n\n\t@property()\n\t_headerYearButtonText!: string;\n\n\t@property()\n\t_headerYearButtonTextSecType!: string;\n\n\t@property({ type: CalendarPickersMode, defaultValue: CalendarPickersMode.DAY_MONTH_YEAR, noAttribute: true })\n\t_pickersMode!: CalendarPickersMode;\n\n\t/**\n\t * Defines the selected date or dates (depending on the <code>selectionMode</code> property)\n\t * for this calendar as instances of <code>ui5-date</code>.\n\t *\n\t * @type {sap.ui.webc.main.ICalendarDate[]}\n\t * @name sap.ui.webc.main.Calendar.prototype.default\n\t * @slot dates\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, invalidateOnChildChange: true, \"default\": true })\n\tdates!: Array<CalendarDateComponentT>;\n\n\t/**\n\t * @private\n\t */\n\tget _selectedDatesTimestamps(): Array<number> {\n\t\treturn this.dates.map(date => {\n\t\t\tconst value = date.value;\n\t\t\tconst validValue = value && !!this.getFormat().parse(value);\n\t\t\treturn validValue ? this._getTimeStampFromString(value)! / 1000 : undefined;\n\t\t}).filter((date): date is number => !!date);\n\t}\n\n\t/**\n\t * @private\n\t */\n\t_setSelectedDates(selectedDates: Array<number>) {\n\t\tconst selectedValues = selectedDates.map(timestamp => this.getFormat().format(new Date(timestamp * 1000), true)); // Format as UTC\n\t\tconst valuesInDOM = [...this.dates].map(dateElement => dateElement.value);\n\n\t\t// Remove all elements for dates that are no longer selected\n\t\tthis.dates.filter(dateElement => !selectedValues.includes(dateElement.value)).forEach(dateElement => {\n\t\t\tthis.removeChild(dateElement);\n\t\t});\n\n\t\t// Create tags for the selected dates that don't already exist in DOM\n\t\tselectedValues.filter(value => !valuesInDOM.includes(value)).forEach(value => {\n\t\t\tconst dateElement = document.createElement(CalendarDateComponent.default.getMetadata().getTag()) as CalendarDateComponentT;\n\t\t\tdateElement.value = value;\n\t\t\tthis.appendChild(dateElement);\n\t\t});\n\t}\n\n\t/**\n\t * Makes sure that _currentPicker is always set to a value, allowed by _pickersMode\n\t */\n\t_normalizeCurrentPicker() {\n\t\tif (this._currentPicker === \"day\" && this._pickersMode !== CalendarPickersMode.DAY_MONTH_YEAR) {\n\t\t\tthis._currentPicker = \"month\";\n\t\t}\n\n\t\tif (this._currentPicker === \"month\" && this._pickersMode === CalendarPickersMode.YEAR) {\n\t\t\tthis._currentPicker = \"year\";\n\t\t}\n\t}\n\n\tonBeforeRendering() {\n\t\tthis._normalizeCurrentPicker();\n\t}\n\n\tasync onAfterRendering() {\n\t\tawait renderFinished(); // Await for the current picker to render and then ask if it has previous/next pages\n\t\tthis._previousButtonDisabled = !this._currentPickerDOM._hasPreviousPage();\n\t\tthis._nextButtonDisabled = !this._currentPickerDOM._hasNextPage();\n\n\t\tconst yearFormat = DateFormat.getDateInstance({ format: \"y\", calendarType: this.primaryCalendarType });\n\t\tconst localeData = getCachedLocaleDataInstance(getLocale());\n\t\tthis._headerMonthButtonText = localeData.getMonthsStandAlone(\"wide\", this.primaryCalendarType)[this._calendarDate.getMonth()];\n\n\t\tif (this._currentPicker === \"year\") {\n\t\t\tconst rangeStart = new CalendarDate(this._calendarDate, this._primaryCalendarType);\n\t\t\tconst rangeEnd = new CalendarDate(this._calendarDate, this._primaryCalendarType);\n\t\t\trangeStart.setYear(this._currentPickerDOM._firstYear!);\n\t\t\trangeEnd.setYear(this._currentPickerDOM._lastYear!);\n\n\t\t\tthis._headerYearButtonText = `${yearFormat.format(rangeStart.toLocalJSDate(), true)} - ${yearFormat.format(rangeEnd.toLocalJSDate(), true)}`;\n\t\t} else {\n\t\t\tthis._headerYearButtonText = String(yearFormat.format(this._localDate, true));\n\t\t}\n\n\t\tthis.secondaryCalendarType && this._setSecondaryCalendarTypeButtonText();\n\t}\n\n\t/**\n\t * The user clicked the \"month\" button in the header\n\t */\n\tonHeaderShowMonthPress(e: CustomEvent) {\n\t\tthis._currentPickerDOM._autoFocus = false;\n\t\tthis._currentPicker = \"month\";\n\t\tthis.fireEvent(\"show-month-press\", e);\n\t}\n\n\t/**\n\t * The user clicked the \"year\" button in the header\n\t */\n\tonHeaderShowYearPress(e: CustomEvent) {\n\t\tthis._currentPickerDOM._autoFocus = false;\n\t\tthis._currentPicker = \"year\";\n\t\tthis.fireEvent(\"show-year-press\", e);\n\t}\n\n\tget _currentPickerDOM() {\n\t\t// Calendar's shadowRoot and all the pickers are always present - the \"!\" is safe to be used.\n\t\treturn this.shadowRoot!.querySelector(`[ui5-${this._currentPicker}picker]`)! as unknown as ICalendarPicker;\n\t}\n\n\t/**\n\t * The year clicked the \"Previous\" button in the header\n\t */\n\tonHeaderPreviousPress() {\n\t\tthis._currentPickerDOM._showPreviousPage();\n\t}\n\n\t/**\n\t * The year clicked the \"Next\" button in the header\n\t */\n\tonHeaderNextPress() {\n\t\tthis._currentPickerDOM._showNextPage();\n\t}\n\n\t_setSecondaryCalendarTypeButtonText() {\n\t\tconst yearFormatSecType = DateFormat.getDateInstance({ format: \"y\", calendarType: this.secondaryCalendarType });\n\n\t\tif (this._currentPicker === \"year\") {\n\t\t\tconst rangeStart = new CalendarDate(this._calendarDate, this._primaryCalendarType);\n\t\t\tconst rangeEnd = new CalendarDate(this._calendarDate, this._primaryCalendarType);\n\t\t\trangeStart.setYear(this._currentPickerDOM._firstYear!);\n\t\t\trangeEnd.setYear(this._currentPickerDOM._lastYear!);\n\n\t\t\tconst rangeStartSecType = transformDateToSecondaryType(this.primaryCalendarType, this.secondaryCalendarType, rangeStart.valueOf() / 1000, true)\n\t\t\t\t.firstDate;\n\t\t\tconst rangeEndSecType = transformDateToSecondaryType(this.primaryCalendarType, this.secondaryCalendarType, rangeEnd.valueOf() / 1000, true)\n\t\t\t\t.lastDate;\n\t\t\tthis._headerYearButtonTextSecType = `${yearFormatSecType.format(rangeStartSecType.toLocalJSDate(), true)} - ${yearFormatSecType.format(rangeEndSecType.toLocalJSDate(), true)}`;\n\t\t} else {\n\t\t\tthis._headerYearButtonTextSecType = String(yearFormatSecType.format(this._localDate, true));\n\t\t}\n\t}\n\n\tget secondaryCalendarTypeButtonText() {\n\t\tif (!this.secondaryCalendarType) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst localDate = new Date(this._timestamp * 1000);\n\t\tconst secondYearFormat = DateFormat.getDateInstance({ format: \"y\", calendarType: this.secondaryCalendarType });\n\t\tconst dateInSecType = transformDateToSecondaryType(this._primaryCalendarType, this.secondaryCalendarType, this._timestamp);\n\t\tconst secondMonthInfo = convertMonthNumbersToMonthNames(dateInSecType.firstDate.getMonth(), dateInSecType.lastDate.getMonth(), this.secondaryCalendarType);\n\t\tconst secondYearText = secondYearFormat.format(localDate, true);\n\n\t\treturn {\n\t\t\tyearButtonText: secondYearText,\n\t\t\tmonthButtonText: secondMonthInfo.text,\n\t\t\tmonthButtonInfo: secondMonthInfo.textInfo,\n\t\t};\n\t}\n\n\t/**\n\t * The month button is hidden when the month picker or year picker is shown\n\t * @returns {boolean}\n\t * @private\n\t */\n\tget _isHeaderMonthButtonHidden() {\n\t\treturn this._currentPicker === \"month\" || this._currentPicker === \"year\";\n\t}\n\n\tget _isDayPickerHidden() {\n\t\treturn this._currentPicker !== \"day\";\n\t}\n\n\tget _isMonthPickerHidden() {\n\t\treturn this._currentPicker !== \"month\";\n\t}\n\n\tget _isYearPickerHidden() {\n\t\treturn this._currentPicker !== \"year\";\n\t}\n\n\t_fireEventAndUpdateSelectedDates(selectedDates: Array<number>) {\n\t\tconst datesValues = selectedDates.map(timestamp => {\n\t\t\tconst calendarDate = CalendarDate.fromTimestamp(timestamp * 1000, this._primaryCalendarType);\n\t\t\treturn this.getFormat().format(calendarDate.toUTCJSDate(), true);\n\t\t});\n\n\t\tconst defaultPrevented = !this.fireEvent<CalendarChangeEventDetail>(\"selected-dates-change\", { timestamp: this.timestamp, dates: [...selectedDates], values: datesValues }, true);\n\t\tif (!defaultPrevented) {\n\t\t\tthis._setSelectedDates(selectedDates);\n\t\t}\n\t}\n\n\tonSelectedDatesChange(e: CustomEvent<DayPickerChangeEventDetail>) {\n\t\tthis.timestamp = e.detail.timestamp;\n\t\tthis._fireEventAndUpdateSelectedDates(e.detail.dates);\n\t}\n\n\tonSelectedMonthChange(e: CustomEvent<MonthPickerChangeEventDetail>) {\n\t\tthis.timestamp = e.detail.timestamp;\n\n\t\tif (this._pickersMode === CalendarPickersMode.DAY_MONTH_YEAR) {\n\t\t\tthis._currentPicker = \"day\";\n\t\t} else {\n\t\t\tthis._fireEventAndUpdateSelectedDates([this.timestamp]);\n\t\t}\n\n\t\tthis._currentPickerDOM._autoFocus = true;\n\t}\n\n\tonSelectedYearChange(e: CustomEvent<YearPickerChangeEventDetail>) {\n\t\tthis.timestamp = e.detail.timestamp;\n\n\t\tif (this._pickersMode === CalendarPickersMode.DAY_MONTH_YEAR) {\n\t\t\tthis._currentPicker = \"day\";\n\t\t} else if (this._pickersMode === CalendarPickersMode.MONTH_YEAR) {\n\t\t\tthis._currentPicker = \"month\";\n\t\t} else {\n\t\t\tthis._fireEventAndUpdateSelectedDates([this.timestamp]);\n\t\t}\n\n\t\tthis._currentPickerDOM._autoFocus = true;\n\t}\n\n\tonNavigate(e: CustomEvent) {\n\t\tthis.timestamp = e.detail.timestamp;\n\t}\n\n\t_onkeydown(e: KeyboardEvent) {\n\t\tif (isF4(e) && this._currentPicker !== \"month\") {\n\t\t\tthis._currentPicker = \"month\";\n\t\t}\n\n\t\tif (isF4Shift(e) && this._currentPicker !== \"year\") {\n\t\t\tthis._currentPicker = \"year\";\n\t\t}\n\t}\n\n\t/**\n\t * Returns an array of UTC timestamps, representing the selected dates.\n\t * @protected\n\t * @deprecated\n\t */\n\tget selectedDates(): Array<number> {\n\t\treturn this._selectedDatesTimestamps;\n\t}\n\n\t/**\n\t * Creates instances of <code>ui5-date</code> inside this <code>ui5-calendar</code> with values, equal to the provided UTC timestamps\n\t * @protected\n\t * @deprecated\n\t * @param { Array<number> } selectedDates Array of UTC timestamps\n\t */\n\tset selectedDates(selectedDates: Array<number>) {\n\t\tthis._setSelectedDates(selectedDates);\n\t}\n}\n\nCalendar.define();\n\nexport default Calendar;\nexport type {\n\tICalendarPicker,\n\tCalendarChangeEventDetail,\n};\n"]}
1
+ {"version":3,"file":"Calendar.js","sourceRoot":"","sources":["../src/Calendar.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,KAAK,MAAM,kDAAkD,CAAC;AACrE,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,4BAA4B,MAAM,4EAA4E,CAAC;AACtH,OAAO,+BAA+B,MAAM,+EAA+E,CAAC;AAC5H,OAAO,YAAY,MAAM,4DAA4D,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AACxE,OAAO,EACN,IAAI,EACJ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,EAAE,OAAO,EAAE,CAAC;qDACE;AAG9B;IADC,QAAQ,EAAE;wDACqB;AAGhC;IADC,QAAQ,EAAE;uDACoB;AAG/B;IADC,QAAQ,EAAE;8DAC2B;AAGtC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,YAAY,EAAE,mBAAmB,CAAC,cAAc,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;8CAC1E;AAYnC;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,uBAAuB,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;uCACtC;AArEjC,QAAQ;IAjCb,aAAa,CAAC;QACd,GAAG,EAAE,cAAc;QACnB,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE,gBAAgB;QAC1B,MAAM,EAAE,WAAW;QACnB,YAAY,EAAE;YACb,qBAAqB,CAAC,OAAO;YAC7B,cAAc;YACd,SAAS;YACT,WAAW;YACX,UAAU;SACV;KACD,CAAC;IACF;;;;;;;;;;OAUG;;IACF,KAAK,CAAC,uBAAuB,EAAE;QAC/B,MAAM,EAAE;YACP,KAAK,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE;YACtB,MAAM,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE;SACvB;KACD,CAAC;IAED,KAAK,CAAC,kBAAkB,CAAC;IACzB,KAAK,CAAC,iBAAiB,CAAC;GACnB,QAAQ,CAwTb;AAED,QAAQ,CAAC,MAAM,EAAE,CAAC;AAElB,eAAe,QAAQ,CAAC","sourcesContent":["import customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport transformDateToSecondaryType from \"@ui5/webcomponents-localization/dist/dates/transformDateToSecondaryType.js\";\nimport convertMonthNumbersToMonthNames from \"@ui5/webcomponents-localization/dist/dates/convertMonthNumbersToMonthNames.js\";\nimport CalendarDate from \"@ui5/webcomponents-localization/dist/dates/CalendarDate.js\";\nimport { renderFinished } from \"@ui5/webcomponents-base/dist/Render.js\";\nimport {\n\tisF4,\n\tisF4Shift,\n} from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport getCachedLocaleDataInstance from \"@ui5/webcomponents-localization/dist/getCachedLocaleDataInstance.js\";\nimport getLocale from \"@ui5/webcomponents-base/dist/locale/getLocale.js\";\nimport DateFormat from \"@ui5/webcomponents-localization/dist/DateFormat.js\";\nimport * as CalendarDateComponent from \"./CalendarDate.js\";\nimport type CalendarDateComponentT from \"./CalendarDate.js\";\nimport CalendarPart from \"./CalendarPart.js\";\nimport CalendarHeader from \"./CalendarHeader.js\";\nimport DayPicker from \"./DayPicker.js\";\nimport type { DayPickerChangeEventDetail } from \"./DayPicker.js\";\nimport MonthPicker from \"./MonthPicker.js\";\nimport type { MonthPickerChangeEventDetail } from \"./MonthPicker.js\";\nimport YearPicker from \"./YearPicker.js\";\nimport type { YearPickerChangeEventDetail } from \"./YearPicker.js\";\nimport CalendarSelectionMode from \"./types/CalendarSelectionMode.js\";\nimport CalendarPickersMode from \"./types/CalendarPickersMode.js\";\n\n// Default calendar for bundling\nimport \"@ui5/webcomponents-localization/dist/features/calendar/Gregorian.js\";\n\n// Template\nimport CalendarTemplate from \"./generated/templates/CalendarTemplate.lit.js\";\n\n// Styles\nimport calendarCSS from \"./generated/themes/Calendar.css.js\";\n\ninterface ICalendarPicker {\n\t_showPreviousPage: () => void,\n\t_showNextPage: () => void,\n\t_hasPreviousPage: () => boolean,\n\t_hasNextPage: () => boolean,\n\t_autoFocus?: boolean,\n\t_firstYear?: number,\n\t_lastYear?: number,\n}\n\ntype CalendarSelectedDatesChangeEventDetail = {\n\tvalues: Array<string>,\n\tdates: Array<number>,\n\ttimestamp: number | undefined,\n}\n\n/**\n * @class\n *\n * <h3 class=\"comment-api-title\">Overview</h3>\n *\n * The <code>ui5-calendar</code> component allows users to select one or more dates.\n * <br><br>\n * Currently selected dates are represented with instances of <code>ui5-date</code> as\n * children of the <code>ui5-calendar</code>. The value property of each <code>ui5-date</code> must be a\n * date string, correctly formatted according to the <code>ui5-calendar</code>'s <code>formatPattern</code> property.\n * Whenever the user changes the date selection, <code>ui5-calendar</code> will automatically create/remove instances\n * of <code>ui5-date</code> in itself, unless you prevent this behavior by calling <code>preventDefault()</code> for the\n * <code>selected-dates-change</code> event. This is useful if you want to control the selected dates externally.\n * <br><br>\n *\n * <h3>Usage</h3>\n *\n * The user can navigate to a particular date by:\n * <br>\n * <ul>\n * <li>Pressing over a month inside the months view</li>\n * <li>Pressing over an year inside the years view</li>\n * </ul>\n * <br>\n * The user can confirm a date selection by pressing over a date inside the days view.\n * <br><br>\n *\n * <h3>Keyboard Handling</h3>\n * The <code>ui5-calendar</code> provides advanced keyboard handling.\n * When a picker is showed and focused the user can use the following keyboard\n * shortcuts in order to perform a navigation:\n * <br>\n * - Day picker: <br>\n * <ul>\n * <li>[F4] - Shows month picker</li>\n * <li>[SHIFT] + [F4] - Shows year picker</li>\n * <li>[PAGEUP] - Navigate to the previous month</li>\n * <li>[PAGEDOWN] - Navigate to the next month</li>\n * <li>[SHIFT] + [PAGEUP] - Navigate to the previous year</li>\n * <li>[SHIFT] + [PAGEDOWN] - Navigate to the next year</li>\n * <li>[CTRL] + [SHIFT] + [PAGEUP] - Navigate ten years backwards</li>\n * <li>[CTRL] + [SHIFT] + [PAGEDOWN] - Navigate ten years forwards</li>\n * <li>[HOME] - Navigate to the first day of the week</li>\n * <li>[END] - Navigate to the last day of the week</li>\n * <li>[CTRL] + [HOME] - Navigate to the first day of the month</li>\n * <li>[CTRL] + [END] - Navigate to the last day of the month</li>\n * </ul>\n * <br>\n * - Month picker: <br>\n * <ul>\n * <li>[PAGEUP] - Navigate to the previous year</li>\n * <li>[PAGEDOWN] - Navigate to the next year</li>\n * <li>[HOME] - Navigate to the first month of the current row</li>\n * <li>[END] - Navigate to the last month of the current row</li>\n * <li>[CTRL] + [HOME] - Navigate to the first month of the current year</li>\n * <li>[CTRL] + [END] - Navigate to the last month of the year</li>\n * </ul>\n * <br>\n * - Year picker: <br>\n * <ul>\n * <li>[PAGEUP] - Navigate to the previous year range</li>\n * <li>[PAGEDOWN] - Navigate the next year range</li>\n * <li>[HOME] - Navigate to the first year of the current row</li>\n * <li>[END] - Navigate to the last year of the current row</li>\n * <li>[CTRL] + [HOME] - Navigate to the first year of the current year range</li>\n * <li>[CTRL] + [END] - Navigate to the last year of the current year range</li>\n * </ul>\n * <br>\n *\n * <h4>Fast Navigation</h4>\n * This component provides a build in fast navigation group which can be used via <code>F6 / Shift + F6</code> or <code> Ctrl + Alt(Option) + Down / Ctrl + Alt(Option) + Up</code>.\n * In order to use this functionality, you need to import the following module:\n * <code>import \"@ui5/webcomponents-base/dist/features/F6Navigation.js\"</code>\n * <br><br>\n *\n* <h3>Calendar types</h3>\n * The component supports several calendar types - Gregorian, Buddhist, Islamic, Japanese and Persian.\n * By default the Gregorian Calendar is used. In order to use the Buddhist, Islamic, Japanese or Persian calendar,\n * you need to set the <code>primaryCalendarType</code> property and import one or more of the following modules:\n * <br><br>\n *\n * <code>import \"@ui5/webcomponents-localization/dist/features/calendar/Buddhist.js\";</code>\n * <br>\n * <code>import \"@ui5/webcomponents-localization/dist/features/calendar/Islamic.js\";</code>\n * <br>\n * <code>import \"@ui5/webcomponents-localization/dist/features/calendar/Japanese.js\";</code>\n * <br>\n * <code>import \"@ui5/webcomponents-localization/dist/features/calendar/Persian.js\";</code>\n * <br><br>\n *\n * Or, you can use the global configuration and set the <code>calendarType</code> key:\n * <br>\n * <code>\n * &lt;script data-id=\"sap-ui-config\" type=\"application/json\"&gt;\n * {\n *\t\"calendarType\": \"Japanese\"\n * }\n * &lt;/script&gt;\n * </code>\n *\n *\n * <h3>ES6 Module Import</h3>\n *\n * <code>import \"@ui5/webcomponents/dist/Calendar\";</code>\n *\n * @constructor\n * @author SAP SE\n * @alias sap.ui.webc.main.Calendar\n * @extends sap.ui.webc.main.CalendarPart\n * @tagname ui5-calendar\n * @appenddocs sap.ui.webc.main.CalendarDate\n * @public\n * @since 1.0.0-rc.11\n */\n@customElement({\n\ttag: \"ui5-calendar\",\n\tfastNavigation: true,\n\ttemplate: CalendarTemplate,\n\tstyles: calendarCSS,\n\tdependencies: [\n\t\tCalendarDateComponent.default,\n\t\tCalendarHeader,\n\t\tDayPicker,\n\t\tMonthPicker,\n\t\tYearPicker,\n\t],\n})\n/**\n * Fired when the selected dates change.\n * <b>Note:</b> If you call <code>preventDefault()</code> for this event, the component will not\n * create instances of <code>ui5-date</code> for the newly selected dates. In that case you should do this manually.\n *\n * @event sap.ui.webc.main.Calendar#selected-dates-change\n * @allowPreventDefault\n * @param {Array} values The selected dates\n * @param {Array} dates The selected dates as UTC timestamps\n * @public\n */\n@event(\"selected-dates-change\", {\n\tdetail: {\n\t\tdates: { type: Array },\n\t\tvalues: { type: Array },\n\t},\n})\n\n@event(\"show-month-press\")\n@event(\"show-year-press\")\nclass Calendar extends CalendarPart {\n\t/**\n\t * Defines the type of selection used in the calendar component.\n\t * Accepted property values are:<br>\n\t * <ul>\n\t * <li><code>CalendarSelectionMode.Single</code> - enables a single date selection.(default value)</li>\n\t * <li><code>CalendarSelectionMode.Range</code> - enables selection of a date range.</li>\n\t * <li><code>CalendarSelectionMode.Multiple</code> - enables selection of multiple dates.</li>\n\t * </ul>\n\t * @type {sap.ui.webc.main.types.CalendarSelectionMode}\n\t * @name sap.ui.webc.main.Calendar.prototype.selectionMode\n\t * @defaultvalue \"Single\"\n\t * @public\n\t */\n\t@property({\n\t\ttype: CalendarSelectionMode,\n\t\tdefaultValue: CalendarSelectionMode.Single,\n\t})\n\tselectionMode!: `${CalendarSelectionMode}`;\n\n\t/**\n\t * Defines the visibility of the week numbers column.\n\t * <br><br>\n\t *\n\t * <b>Note:</b> For calendars other than Gregorian,\n\t * the week numbers are not displayed regardless of what is set.\n\t *\n\t * @type {boolean}\n\t * @name sap.ui.webc.main.Calendar.prototype.hideWeekNumbers\n\t * @defaultvalue false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\thideWeekNumbers!: boolean;\n\n\t/**\n\t * Which picker is currently visible to the user: day/month/year\n\t */\n\t@property({ defaultValue: \"day\" })\n\t_currentPicker!: string;\n\n\t@property({ type: Boolean })\n\t_previousButtonDisabled!: boolean;\n\n\t@property({ type: Boolean })\n\t_nextButtonDisabled!: boolean;\n\n\t@property()\n\t_headerMonthButtonText!: string;\n\n\t@property()\n\t_headerYearButtonText!: string;\n\n\t@property()\n\t_headerYearButtonTextSecType!: string;\n\n\t@property({ type: CalendarPickersMode, defaultValue: CalendarPickersMode.DAY_MONTH_YEAR, noAttribute: true })\n\t_pickersMode!: CalendarPickersMode;\n\n\t/**\n\t * Defines the selected date or dates (depending on the <code>selectionMode</code> property)\n\t * for this calendar as instances of <code>ui5-date</code>.\n\t *\n\t * @type {sap.ui.webc.main.ICalendarDate[]}\n\t * @name sap.ui.webc.main.Calendar.prototype.default\n\t * @slot dates\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, invalidateOnChildChange: true, \"default\": true })\n\tdates!: Array<CalendarDateComponentT>;\n\n\t/**\n\t * @private\n\t */\n\tget _selectedDatesTimestamps(): Array<number> {\n\t\treturn this.dates.map(date => {\n\t\t\tconst value = date.value;\n\t\t\tconst validValue = value && !!this.getFormat().parse(value);\n\t\t\treturn validValue ? this._getTimeStampFromString(value)! / 1000 : undefined;\n\t\t}).filter((date): date is number => !!date);\n\t}\n\n\t/**\n\t * @private\n\t */\n\t_setSelectedDates(selectedDates: Array<number>) {\n\t\tconst selectedValues = selectedDates.map(timestamp => this.getFormat().format(new Date(timestamp * 1000), true)); // Format as UTC\n\t\tconst valuesInDOM = [...this.dates].map(dateElement => dateElement.value);\n\n\t\t// Remove all elements for dates that are no longer selected\n\t\tthis.dates.filter(dateElement => !selectedValues.includes(dateElement.value)).forEach(dateElement => {\n\t\t\tthis.removeChild(dateElement);\n\t\t});\n\n\t\t// Create tags for the selected dates that don't already exist in DOM\n\t\tselectedValues.filter(value => !valuesInDOM.includes(value)).forEach(value => {\n\t\t\tconst dateElement = document.createElement(CalendarDateComponent.default.getMetadata().getTag()) as CalendarDateComponentT;\n\t\t\tdateElement.value = value;\n\t\t\tthis.appendChild(dateElement);\n\t\t});\n\t}\n\n\t/**\n\t * Makes sure that _currentPicker is always set to a value, allowed by _pickersMode\n\t */\n\t_normalizeCurrentPicker() {\n\t\tif (this._currentPicker === \"day\" && this._pickersMode !== CalendarPickersMode.DAY_MONTH_YEAR) {\n\t\t\tthis._currentPicker = \"month\";\n\t\t}\n\n\t\tif (this._currentPicker === \"month\" && this._pickersMode === CalendarPickersMode.YEAR) {\n\t\t\tthis._currentPicker = \"year\";\n\t\t}\n\t}\n\n\tonBeforeRendering() {\n\t\tthis._normalizeCurrentPicker();\n\t}\n\n\tasync onAfterRendering() {\n\t\tawait renderFinished(); // Await for the current picker to render and then ask if it has previous/next pages\n\t\tthis._previousButtonDisabled = !this._currentPickerDOM._hasPreviousPage();\n\t\tthis._nextButtonDisabled = !this._currentPickerDOM._hasNextPage();\n\n\t\tconst yearFormat = DateFormat.getDateInstance({ format: \"y\", calendarType: this.primaryCalendarType });\n\t\tconst localeData = getCachedLocaleDataInstance(getLocale());\n\t\tthis._headerMonthButtonText = localeData.getMonthsStandAlone(\"wide\", this.primaryCalendarType)[this._calendarDate.getMonth()];\n\n\t\tif (this._currentPicker === \"year\") {\n\t\t\tconst rangeStart = new CalendarDate(this._calendarDate, this._primaryCalendarType);\n\t\t\tconst rangeEnd = new CalendarDate(this._calendarDate, this._primaryCalendarType);\n\t\t\trangeStart.setYear(this._currentPickerDOM._firstYear!);\n\t\t\trangeEnd.setYear(this._currentPickerDOM._lastYear!);\n\n\t\t\tthis._headerYearButtonText = `${yearFormat.format(rangeStart.toLocalJSDate(), true)} - ${yearFormat.format(rangeEnd.toLocalJSDate(), true)}`;\n\t\t} else {\n\t\t\tthis._headerYearButtonText = String(yearFormat.format(this._localDate, true));\n\t\t}\n\n\t\tthis.secondaryCalendarType && this._setSecondaryCalendarTypeButtonText();\n\t}\n\n\t/**\n\t * The user clicked the \"month\" button in the header\n\t */\n\tonHeaderShowMonthPress(e: CustomEvent) {\n\t\tthis._currentPickerDOM._autoFocus = false;\n\t\tthis._currentPicker = \"month\";\n\t\tthis.fireEvent(\"show-month-press\", e);\n\t}\n\n\t/**\n\t * The user clicked the \"year\" button in the header\n\t */\n\tonHeaderShowYearPress(e: CustomEvent) {\n\t\tthis._currentPickerDOM._autoFocus = false;\n\t\tthis._currentPicker = \"year\";\n\t\tthis.fireEvent(\"show-year-press\", e);\n\t}\n\n\tget _currentPickerDOM() {\n\t\t// Calendar's shadowRoot and all the pickers are always present - the \"!\" is safe to be used.\n\t\treturn this.shadowRoot!.querySelector(`[ui5-${this._currentPicker}picker]`)! as unknown as ICalendarPicker;\n\t}\n\n\t/**\n\t * The year clicked the \"Previous\" button in the header\n\t */\n\tonHeaderPreviousPress() {\n\t\tthis._currentPickerDOM._showPreviousPage();\n\t}\n\n\t/**\n\t * The year clicked the \"Next\" button in the header\n\t */\n\tonHeaderNextPress() {\n\t\tthis._currentPickerDOM._showNextPage();\n\t}\n\n\t_setSecondaryCalendarTypeButtonText() {\n\t\tconst yearFormatSecType = DateFormat.getDateInstance({ format: \"y\", calendarType: this.secondaryCalendarType });\n\n\t\tif (this._currentPicker === \"year\") {\n\t\t\tconst rangeStart = new CalendarDate(this._calendarDate, this._primaryCalendarType);\n\t\t\tconst rangeEnd = new CalendarDate(this._calendarDate, this._primaryCalendarType);\n\t\t\trangeStart.setYear(this._currentPickerDOM._firstYear!);\n\t\t\trangeEnd.setYear(this._currentPickerDOM._lastYear!);\n\n\t\t\tconst rangeStartSecType = transformDateToSecondaryType(this.primaryCalendarType, this.secondaryCalendarType, rangeStart.valueOf() / 1000, true)\n\t\t\t\t.firstDate;\n\t\t\tconst rangeEndSecType = transformDateToSecondaryType(this.primaryCalendarType, this.secondaryCalendarType, rangeEnd.valueOf() / 1000, true)\n\t\t\t\t.lastDate;\n\t\t\tthis._headerYearButtonTextSecType = `${yearFormatSecType.format(rangeStartSecType.toLocalJSDate(), true)} - ${yearFormatSecType.format(rangeEndSecType.toLocalJSDate(), true)}`;\n\t\t} else {\n\t\t\tthis._headerYearButtonTextSecType = String(yearFormatSecType.format(this._localDate, true));\n\t\t}\n\t}\n\n\tget secondaryCalendarTypeButtonText() {\n\t\tif (!this.secondaryCalendarType) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst localDate = new Date(this._timestamp * 1000);\n\t\tconst secondYearFormat = DateFormat.getDateInstance({ format: \"y\", calendarType: this.secondaryCalendarType });\n\t\tconst dateInSecType = transformDateToSecondaryType(this._primaryCalendarType, this.secondaryCalendarType, this._timestamp);\n\t\tconst secondMonthInfo = convertMonthNumbersToMonthNames(dateInSecType.firstDate.getMonth(), dateInSecType.lastDate.getMonth(), this.secondaryCalendarType);\n\t\tconst secondYearText = secondYearFormat.format(localDate, true);\n\n\t\treturn {\n\t\t\tyearButtonText: secondYearText,\n\t\t\tmonthButtonText: secondMonthInfo.text,\n\t\t\tmonthButtonInfo: secondMonthInfo.textInfo,\n\t\t};\n\t}\n\n\t/**\n\t * The month button is hidden when the month picker or year picker is shown\n\t * @returns {boolean}\n\t * @private\n\t */\n\tget _isHeaderMonthButtonHidden() {\n\t\treturn this._currentPicker === \"month\" || this._currentPicker === \"year\";\n\t}\n\n\tget _isDayPickerHidden() {\n\t\treturn this._currentPicker !== \"day\";\n\t}\n\n\tget _isMonthPickerHidden() {\n\t\treturn this._currentPicker !== \"month\";\n\t}\n\n\tget _isYearPickerHidden() {\n\t\treturn this._currentPicker !== \"year\";\n\t}\n\n\t_fireEventAndUpdateSelectedDates(selectedDates: Array<number>) {\n\t\tconst datesValues = selectedDates.map(timestamp => {\n\t\t\tconst calendarDate = CalendarDate.fromTimestamp(timestamp * 1000, this._primaryCalendarType);\n\t\t\treturn this.getFormat().format(calendarDate.toUTCJSDate(), true);\n\t\t});\n\n\t\tconst defaultPrevented = !this.fireEvent<CalendarSelectedDatesChangeEventDetail>(\"selected-dates-change\", { timestamp: this.timestamp, dates: [...selectedDates], values: datesValues }, true);\n\t\tif (!defaultPrevented) {\n\t\t\tthis._setSelectedDates(selectedDates);\n\t\t}\n\t}\n\n\tonSelectedDatesChange(e: CustomEvent<DayPickerChangeEventDetail>) {\n\t\tthis.timestamp = e.detail.timestamp;\n\t\tthis._fireEventAndUpdateSelectedDates(e.detail.dates);\n\t}\n\n\tonSelectedMonthChange(e: CustomEvent<MonthPickerChangeEventDetail>) {\n\t\tthis.timestamp = e.detail.timestamp;\n\n\t\tif (this._pickersMode === CalendarPickersMode.DAY_MONTH_YEAR) {\n\t\t\tthis._currentPicker = \"day\";\n\t\t} else {\n\t\t\tthis._fireEventAndUpdateSelectedDates([this.timestamp]);\n\t\t}\n\n\t\tthis._currentPickerDOM._autoFocus = true;\n\t}\n\n\tonSelectedYearChange(e: CustomEvent<YearPickerChangeEventDetail>) {\n\t\tthis.timestamp = e.detail.timestamp;\n\n\t\tif (this._pickersMode === CalendarPickersMode.DAY_MONTH_YEAR) {\n\t\t\tthis._currentPicker = \"day\";\n\t\t} else if (this._pickersMode === CalendarPickersMode.MONTH_YEAR) {\n\t\t\tthis._currentPicker = \"month\";\n\t\t} else {\n\t\t\tthis._fireEventAndUpdateSelectedDates([this.timestamp]);\n\t\t}\n\n\t\tthis._currentPickerDOM._autoFocus = true;\n\t}\n\n\tonNavigate(e: CustomEvent) {\n\t\tthis.timestamp = e.detail.timestamp;\n\t}\n\n\t_onkeydown(e: KeyboardEvent) {\n\t\tif (isF4(e) && this._currentPicker !== \"month\") {\n\t\t\tthis._currentPicker = \"month\";\n\t\t}\n\n\t\tif (isF4Shift(e) && this._currentPicker !== \"year\") {\n\t\t\tthis._currentPicker = \"year\";\n\t\t}\n\t}\n\n\t/**\n\t * Returns an array of UTC timestamps, representing the selected dates.\n\t * @protected\n\t * @deprecated\n\t */\n\tget selectedDates(): Array<number> {\n\t\treturn this._selectedDatesTimestamps;\n\t}\n\n\t/**\n\t * Creates instances of <code>ui5-date</code> inside this <code>ui5-calendar</code> with values, equal to the provided UTC timestamps\n\t * @protected\n\t * @deprecated\n\t * @param { Array<number> } selectedDates Array of UTC timestamps\n\t */\n\tset selectedDates(selectedDates: Array<number>) {\n\t\tthis._setSelectedDates(selectedDates);\n\t}\n}\n\nCalendar.define();\n\nexport default Calendar;\nexport type {\n\tICalendarPicker,\n\tCalendarSelectedDatesChangeEventDetail,\n};\n"]}
@@ -5,6 +5,8 @@ import type { ScrollEnablementEventListenerParam } from "@ui5/webcomponents-base
5
5
  import type { ResizeObserverCallback } from "@ui5/webcomponents-base/dist/delegate/ResizeHandler.js";
6
6
  import CarouselArrowsPlacement from "./types/CarouselArrowsPlacement.js";
7
7
  import CarouselPageIndicatorStyle from "./types/CarouselPageIndicatorStyle.js";
8
+ import BackgroundDesign from "./types/BackgroundDesign.js";
9
+ import BorderDesign from "./types/BorderDesign.js";
8
10
  import "@ui5/webcomponents-icons/dist/slim-arrow-left.js";
9
11
  import "@ui5/webcomponents-icons/dist/slim-arrow-right.js";
10
12
  type CarouselNavigateEventDetail = {
@@ -147,6 +149,33 @@ declare class Carousel extends UI5Element {
147
149
  * @public
148
150
  */
149
151
  pageIndicatorStyle: `${CarouselPageIndicatorStyle}`;
152
+ /**
153
+ * Defines the carousel's background design.
154
+ * @type {sap.ui.webc.main.types.BackgroundDesign}
155
+ * @name sap.ui.webc.main.Carousel.prototype.backgroundDesign
156
+ * @since 1.14
157
+ * @defaultvalue "Translucent"
158
+ * @public
159
+ */
160
+ backgroundDesign: BackgroundDesign;
161
+ /**
162
+ * Defines the page indicator background design.
163
+ * @type {sap.ui.webc.main.types.BackgroundDesign}
164
+ * @name sap.ui.webc.main.Carousel.prototype.pageIndicatorBackgroundDesign
165
+ * @since 1.14
166
+ * @defaultvalue "Solid"
167
+ * @public
168
+ */
169
+ pageIndicatorBackgroundDesign: BackgroundDesign;
170
+ /**
171
+ * Defines the page indicator border design.
172
+ * @type {sap.ui.webc.main.types.BorderDesign}
173
+ * @name sap.ui.webc.main.Carousel.prototype.pageIndicatorBorderDesign
174
+ * @since 1.14
175
+ * @defaultvalue "Solid"
176
+ * @public
177
+ */
178
+ pageIndicatorBorderDesign: BorderDesign;
150
179
  /**
151
180
  * Defines the index of the initially selected item.
152
181
  * @type {sap.ui.webc.base.types.Integer}
@@ -217,6 +246,7 @@ declare class Carousel extends UI5Element {
217
246
  _onmouseout(): void;
218
247
  _onmouseover(): void;
219
248
  _handleF7Key(e: KeyboardEvent): void;
249
+ get _backgroundDesign(): string;
220
250
  get _getLastFocusedActivePageIndex(): number;
221
251
  navigateLeft(): void;
222
252
  navigateRight(): void;
@@ -270,6 +300,7 @@ declare class Carousel extends UI5Element {
270
300
  "ui5-carousel-content-has-navigation-and-buttons": boolean;
271
301
  };
272
302
  navigation: {
303
+ [x: string]: boolean;
273
304
  "ui5-carousel-navigation-wrapper": boolean;
274
305
  "ui5-carousel-navigation-with-buttons": boolean;
275
306
  };
package/dist/Carousel.js CHANGED
@@ -23,6 +23,8 @@ import { getAnimationMode } from "@ui5/webcomponents-base/dist/config/AnimationM
23
23
  import { CAROUSEL_OF_TEXT, CAROUSEL_DOT_TEXT, CAROUSEL_PREVIOUS_ARROW_TEXT, CAROUSEL_NEXT_ARROW_TEXT, } from "./generated/i18n/i18n-defaults.js";
24
24
  import CarouselArrowsPlacement from "./types/CarouselArrowsPlacement.js";
25
25
  import CarouselPageIndicatorStyle from "./types/CarouselPageIndicatorStyle.js";
26
+ import BackgroundDesign from "./types/BackgroundDesign.js";
27
+ import BorderDesign from "./types/BorderDesign.js";
26
28
  import CarouselTemplate from "./generated/templates/CarouselTemplate.lit.js";
27
29
  import "@ui5/webcomponents-icons/dist/slim-arrow-left.js";
28
30
  import "@ui5/webcomponents-icons/dist/slim-arrow-right.js";
@@ -224,6 +226,9 @@ let Carousel = Carousel_1 = class Carousel extends UI5Element {
224
226
  this.getDomRef().focus();
225
227
  }
226
228
  }
229
+ get _backgroundDesign() {
230
+ return this.backgroundDesign.toLowerCase();
231
+ }
227
232
  get _getLastFocusedActivePageIndex() {
228
233
  for (let i = 0; i < this._orderOfLastFocusedPages.length; i++) {
229
234
  const pageIndex = this._orderOfLastFocusedPages[i];
@@ -367,6 +372,8 @@ let Carousel = Carousel_1 = class Carousel extends UI5Element {
367
372
  navigation: {
368
373
  "ui5-carousel-navigation-wrapper": true,
369
374
  "ui5-carousel-navigation-with-buttons": this.renderNavigation && this.arrowsPlacement === CarouselArrowsPlacement.Navigation && !this.hideNavigationArrows,
375
+ [`ui5-carousel-navigation-wrapper-bg-${this.pageIndicatorBackgroundDesign.toLowerCase()}`]: true,
376
+ [`ui5-carousel-navigation-wrapper-border-${this.pageIndicatorBorderDesign.toLowerCase()}`]: true,
370
377
  },
371
378
  navPrevButton: {
372
379
  "ui5-carousel-navigation-button--hidden": !this.hasPrev,
@@ -472,6 +479,15 @@ __decorate([
472
479
  __decorate([
473
480
  property({ type: CarouselPageIndicatorStyle, defaultValue: CarouselPageIndicatorStyle.Default })
474
481
  ], Carousel.prototype, "pageIndicatorStyle", void 0);
482
+ __decorate([
483
+ property({ type: BackgroundDesign, defaultValue: BackgroundDesign.Translucent })
484
+ ], Carousel.prototype, "backgroundDesign", void 0);
485
+ __decorate([
486
+ property({ type: BackgroundDesign, defaultValue: BackgroundDesign.Solid })
487
+ ], Carousel.prototype, "pageIndicatorBackgroundDesign", void 0);
488
+ __decorate([
489
+ property({ type: BorderDesign, defaultValue: BorderDesign.Solid })
490
+ ], Carousel.prototype, "pageIndicatorBorderDesign", void 0);
475
491
  __decorate([
476
492
  property({ validator: Integer, defaultValue: 0 })
477
493
  ], Carousel.prototype, "_selectedIndex", void 0);