@ui5/webcomponents 0.0.0-97cba4b0b → 0.0.0-99b763015

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 (848) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/dist/Assets-static.js.map +1 -1
  3. package/dist/Assets.js.map +1 -1
  4. package/dist/Avatar.d.ts +1 -1
  5. package/dist/Avatar.js.map +1 -1
  6. package/dist/AvatarGroup.js.map +1 -1
  7. package/dist/Badge.js.map +1 -1
  8. package/dist/Breadcrumbs.js.map +1 -1
  9. package/dist/BreadcrumbsItem.js.map +1 -1
  10. package/dist/BusyIndicator.js.map +1 -1
  11. package/dist/Button.d.ts +1 -1
  12. package/dist/Button.js.map +1 -1
  13. package/dist/Calendar.js.map +1 -1
  14. package/dist/CalendarDate.js.map +1 -1
  15. package/dist/CalendarHeader.js.map +1 -1
  16. package/dist/CalendarPart.js.map +1 -1
  17. package/dist/Card.js.map +1 -1
  18. package/dist/CardHeader.js.map +1 -1
  19. package/dist/Carousel.js.map +1 -1
  20. package/dist/CheckBox.js.map +1 -1
  21. package/dist/ColorPalette.js.map +1 -1
  22. package/dist/ColorPaletteItem.js.map +1 -1
  23. package/dist/ColorPalettePopover.js.map +1 -1
  24. package/dist/ColorPicker.js.map +1 -1
  25. package/dist/ComboBox.js.map +1 -1
  26. package/dist/ComboBoxGroupItem.js.map +1 -1
  27. package/dist/ComboBoxItem.js.map +1 -1
  28. package/dist/CustomListItem.js.map +1 -1
  29. package/dist/DateComponentBase.js.map +1 -1
  30. package/dist/DatePicker.d.ts +1 -1
  31. package/dist/DatePicker.js +10 -7
  32. package/dist/DatePicker.js.map +1 -1
  33. package/dist/DateRangePicker.js.map +1 -1
  34. package/dist/DateTimePicker.d.ts +1 -1
  35. package/dist/DateTimePicker.js +1 -1
  36. package/dist/DateTimePicker.js.map +1 -1
  37. package/dist/DayPicker.js.map +1 -1
  38. package/dist/Dialog.js.map +1 -1
  39. package/dist/FileUploader.js.map +1 -1
  40. package/dist/Filters.js.map +1 -1
  41. package/dist/GroupHeaderListItem.js.map +1 -1
  42. package/dist/Icon.d.ts +10 -10
  43. package/dist/Icon.js +7 -7
  44. package/dist/Icon.js.map +1 -1
  45. package/dist/Input.d.ts +2 -1
  46. package/dist/Input.js +30 -16
  47. package/dist/Input.js.map +1 -1
  48. package/dist/Interfaces.js.map +1 -1
  49. package/dist/Label.js.map +1 -1
  50. package/dist/Link.js.map +1 -1
  51. package/dist/List.js.map +1 -1
  52. package/dist/ListItem.js.map +1 -1
  53. package/dist/ListItemBase.js.map +1 -1
  54. package/dist/Menu.js.map +1 -1
  55. package/dist/MenuItem.d.ts +1 -1
  56. package/dist/MenuItem.js.map +1 -1
  57. package/dist/MessageStrip.d.ts +1 -1
  58. package/dist/MessageStrip.js.map +1 -1
  59. package/dist/MonthPicker.js.map +1 -1
  60. package/dist/MultiComboBox.js.map +1 -1
  61. package/dist/MultiComboBoxGroupItem.js.map +1 -1
  62. package/dist/MultiComboBoxItem.js.map +1 -1
  63. package/dist/MultiInput.js.map +1 -1
  64. package/dist/Option.d.ts +1 -1
  65. package/dist/Option.js.map +1 -1
  66. package/dist/Panel.js.map +1 -1
  67. package/dist/Popover.d.ts +1 -0
  68. package/dist/Popover.js +18 -6
  69. package/dist/Popover.js.map +1 -1
  70. package/dist/Popup.js.map +1 -1
  71. package/dist/ProgressIndicator.js.map +1 -1
  72. package/dist/RadioButton.js.map +1 -1
  73. package/dist/RadioButtonGroup.js.map +1 -1
  74. package/dist/RangeSlider.js.map +1 -1
  75. package/dist/RatingIndicator.js.map +1 -1
  76. package/dist/ResponsivePopover.js.map +1 -1
  77. package/dist/SegmentedButton.js.map +1 -1
  78. package/dist/SegmentedButtonItem.js.map +1 -1
  79. package/dist/Select.js.map +1 -1
  80. package/dist/Slider.js.map +1 -1
  81. package/dist/SliderBase.js.map +1 -1
  82. package/dist/SplitButton.d.ts +2 -1
  83. package/dist/SplitButton.js +3 -0
  84. package/dist/SplitButton.js.map +1 -1
  85. package/dist/StandardListItem.d.ts +1 -1
  86. package/dist/StandardListItem.js.map +1 -1
  87. package/dist/StepInput.js.map +1 -1
  88. package/dist/SuggestionGroupItem.js.map +1 -1
  89. package/dist/SuggestionItem.d.ts +1 -1
  90. package/dist/SuggestionItem.js.map +1 -1
  91. package/dist/SuggestionListItem.js.map +1 -1
  92. package/dist/Switch.js.map +1 -1
  93. package/dist/Tab.d.ts +1 -1
  94. package/dist/Tab.js.map +1 -1
  95. package/dist/TabContainer.js.map +1 -1
  96. package/dist/TabSeparator.js.map +1 -1
  97. package/dist/Table.d.ts +1 -1
  98. package/dist/Table.js +1 -1
  99. package/dist/Table.js.map +1 -1
  100. package/dist/TableCell.js.map +1 -1
  101. package/dist/TableColumn.js.map +1 -1
  102. package/dist/TableGroupRow.js.map +1 -1
  103. package/dist/TableRow.js.map +1 -1
  104. package/dist/TextArea.js.map +1 -1
  105. package/dist/TimePicker.d.ts +1 -1
  106. package/dist/TimePicker.js +1 -1
  107. package/dist/TimePicker.js.map +1 -1
  108. package/dist/TimePickerBase.js +1 -1
  109. package/dist/TimePickerBase.js.map +1 -1
  110. package/dist/TimeSelection.js.map +1 -1
  111. package/dist/Title.js.map +1 -1
  112. package/dist/Toast.js.map +1 -1
  113. package/dist/ToggleButton.js.map +1 -1
  114. package/dist/Token.js.map +1 -1
  115. package/dist/Tokenizer.js.map +1 -1
  116. package/dist/Tree.js.map +1 -1
  117. package/dist/TreeItem.js.map +1 -1
  118. package/dist/TreeItemBase.js.map +1 -1
  119. package/dist/TreeItemCustom.d.ts +1 -1
  120. package/dist/TreeItemCustom.js +1 -1
  121. package/dist/TreeItemCustom.js.map +1 -1
  122. package/dist/TreeList.js.map +1 -1
  123. package/dist/WheelSlider.js.map +1 -1
  124. package/dist/YearPicker.js.map +1 -1
  125. package/dist/api.json +1 -1
  126. package/dist/assets/Popover.366b9193.css +1 -0
  127. package/dist/assets/SAP-icons-TNT.0ab30112.js +1 -0
  128. package/dist/assets/{SAP-icons-TNT.91a61c6d.js → SAP-icons-TNT.198a2fb9.js} +1 -1
  129. package/dist/assets/SAP-icons.535f5f87.js +1 -0
  130. package/dist/assets/SAP-icons.8ad12244.js +1 -0
  131. package/dist/assets/ar.79bcdac6.js +1 -0
  132. package/dist/assets/ar_EG.317b7da4.js +1 -0
  133. package/dist/assets/ar_SA.47fa752a.js +1 -0
  134. package/dist/assets/bg.9fa59b57.js +1 -0
  135. package/dist/assets/ca.33231602.js +1 -0
  136. package/dist/assets/cs.c6834326.js +1 -0
  137. package/dist/assets/da.7d6c5c63.js +1 -0
  138. package/dist/assets/de.034ba268.js +1 -0
  139. package/dist/assets/de_AT.c6f8b56c.js +1 -0
  140. package/dist/assets/de_CH.fbb1fd8b.js +1 -0
  141. package/dist/assets/el.a52af6dd.js +1 -0
  142. package/dist/assets/el_CY.dfc81973.js +1 -0
  143. package/dist/assets/en.9d5e30c6.js +1 -0
  144. package/dist/assets/en_AU.af8c9202.js +1 -0
  145. package/dist/assets/en_GB.e07779d4.js +1 -0
  146. package/dist/assets/en_HK.bdda93ce.js +1 -0
  147. package/dist/assets/en_IE.81db172b.js +1 -0
  148. package/dist/assets/en_IN.dc6c4aa0.js +1 -0
  149. package/dist/assets/en_NZ.a287ea30.js +1 -0
  150. package/dist/assets/en_PG.a841abf3.js +1 -0
  151. package/dist/assets/en_SG.a8c53dc3.js +1 -0
  152. package/dist/assets/en_ZA.e412e4cb.js +1 -0
  153. package/dist/assets/es.a8053ce5.js +1 -0
  154. package/dist/assets/es_AR.400678e2.js +1 -0
  155. package/dist/assets/es_BO.5d505e47.js +1 -0
  156. package/dist/assets/es_CL.a6e4a80b.js +1 -0
  157. package/dist/assets/es_CO.1f7597a4.js +1 -0
  158. package/dist/assets/es_MX.9164aad6.js +1 -0
  159. package/dist/assets/es_PE.85c8a5f4.js +1 -0
  160. package/dist/assets/es_UY.4b0bd2f1.js +1 -0
  161. package/dist/assets/es_VE.194a01d7.js +1 -0
  162. package/dist/assets/et.1ba4add0.js +1 -0
  163. package/dist/assets/fa.e60c18ea.js +1 -0
  164. package/dist/assets/fi.2b63587f.js +1 -0
  165. package/dist/assets/fr.f21ec134.js +1 -0
  166. package/dist/assets/fr_BE.bf9d2736.js +1 -0
  167. package/dist/assets/fr_CA.47fa4dde.js +1 -0
  168. package/dist/assets/fr_CH.6c03e6c0.js +1 -0
  169. package/dist/assets/fr_LU.19d18947.js +1 -0
  170. package/dist/assets/he.fd2788ce.js +1 -0
  171. package/dist/assets/hi.df686f37.js +1 -0
  172. package/dist/assets/hr.9540378d.js +1 -0
  173. package/dist/assets/hu.7fc5a600.js +1 -0
  174. package/dist/assets/id.a727d950.js +1 -0
  175. package/dist/assets/it.11c23822.js +1 -0
  176. package/dist/assets/it_CH.0daa9b0b.js +1 -0
  177. package/dist/assets/ja.65e8d301.js +1 -0
  178. package/dist/assets/{kitchen-scripts.f2c8101e.js → kitchen-scripts.4ffb6cdb.js} +1 -1
  179. package/dist/assets/kk.a1e73b3f.js +1 -0
  180. package/dist/assets/ko.3a143713.js +1 -0
  181. package/dist/assets/lt.5ff0cdf7.js +1 -0
  182. package/dist/assets/lv.d37ad18b.js +1 -0
  183. package/dist/assets/messagebundle_ar.4a952712.js +1 -0
  184. package/dist/assets/messagebundle_bg.005d394d.js +1 -0
  185. package/dist/assets/messagebundle_ca.42a55677.js +1 -0
  186. package/dist/assets/messagebundle_cs.af423fbd.js +1 -0
  187. package/dist/assets/messagebundle_cy.dbe56ca5.js +1 -0
  188. package/dist/assets/messagebundle_da.8c1bf79d.js +1 -0
  189. package/dist/assets/messagebundle_de.07dbdade.js +1 -0
  190. package/dist/assets/messagebundle_el.60b0af39.js +1 -0
  191. package/dist/assets/messagebundle_en.7bf1186a.js +1 -0
  192. package/dist/assets/messagebundle_en_GB.74ca8ab1.js +1 -0
  193. package/dist/assets/{messagebundle_en_US_saprigi.4fc3019b.js → messagebundle_en_US_saprigi.8f67a54b.js} +1 -1
  194. package/dist/assets/messagebundle_es.0cc30b6e.js +1 -0
  195. package/dist/assets/messagebundle_es_MX.af835417.js +1 -0
  196. package/dist/assets/messagebundle_et.f0b9692c.js +1 -0
  197. package/dist/assets/messagebundle_fi.ce799ebc.js +1 -0
  198. package/dist/assets/messagebundle_fr.138d08d9.js +1 -0
  199. package/dist/assets/messagebundle_fr_CA.21862365.js +1 -0
  200. package/dist/assets/messagebundle_hi.36d322e9.js +1 -0
  201. package/dist/assets/messagebundle_hr.aca7500d.js +1 -0
  202. package/dist/assets/messagebundle_hu.cd5bc60e.js +1 -0
  203. package/dist/assets/messagebundle_it.707234b5.js +1 -0
  204. package/dist/assets/messagebundle_iw.80b7ae6a.js +1 -0
  205. package/dist/assets/messagebundle_ja.54ced6c6.js +1 -0
  206. package/dist/assets/messagebundle_kk.29fafd2d.js +1 -0
  207. package/dist/assets/messagebundle_ko.8f74bc59.js +1 -0
  208. package/dist/assets/messagebundle_lt.d8c67fb7.js +1 -0
  209. package/dist/assets/messagebundle_lv.3a838a47.js +1 -0
  210. package/dist/assets/messagebundle_ms.57fb5eb8.js +1 -0
  211. package/dist/assets/messagebundle_nl.e091d15c.js +1 -0
  212. package/dist/assets/messagebundle_no.11207bec.js +1 -0
  213. package/dist/assets/messagebundle_pl.a642af11.js +1 -0
  214. package/dist/assets/messagebundle_pt.150a4c67.js +1 -0
  215. package/dist/assets/messagebundle_pt_PT.9c822d87.js +1 -0
  216. package/dist/assets/messagebundle_ro.8a4e217c.js +1 -0
  217. package/dist/assets/messagebundle_ru.3ab0178d.js +1 -0
  218. package/dist/assets/messagebundle_sh.67fd26db.js +1 -0
  219. package/dist/assets/messagebundle_sk.d5b20773.js +1 -0
  220. package/dist/assets/messagebundle_sl.2d887b8e.js +1 -0
  221. package/dist/assets/messagebundle_sv.e4cae15c.js +1 -0
  222. package/dist/assets/messagebundle_th.50b9123a.js +1 -0
  223. package/dist/assets/messagebundle_tr.6ea45efc.js +1 -0
  224. package/dist/assets/messagebundle_uk.9705fda1.js +1 -0
  225. package/dist/assets/messagebundle_uk.ed0a7c66.js +1 -0
  226. package/dist/assets/messagebundle_vi.fd114413.js +1 -0
  227. package/dist/assets/messagebundle_zh_CN.0f26b4c2.js +1 -0
  228. package/dist/assets/messagebundle_zh_TW.26f10b28.js +1 -0
  229. package/dist/assets/ms.073a5293.js +1 -0
  230. package/dist/assets/nb.2ac5f938.js +1 -0
  231. package/dist/assets/nl.32e385c8.js +1 -0
  232. package/dist/assets/nl_BE.5f2ba97a.js +1 -0
  233. package/dist/assets/pl.6bedf0c8.js +1 -0
  234. package/dist/assets/pt.98edc8e1.js +1 -0
  235. package/dist/assets/pt_PT.6026aa4b.js +1 -0
  236. package/dist/assets/ro.93c0d8c1.js +1 -0
  237. package/dist/assets/ru.0222a174.js +1 -0
  238. package/dist/assets/ru_UA.a32ee2f1.js +1 -0
  239. package/dist/assets/sk.42921e02.js +1 -0
  240. package/dist/assets/sl.2cdea3d5.js +1 -0
  241. package/dist/assets/sr.204807ce.js +1 -0
  242. package/dist/assets/sr_Latn.be10667b.js +1 -0
  243. package/dist/assets/sv.6ace6bc0.js +1 -0
  244. package/dist/assets/th.cb59bba6.js +1 -0
  245. package/dist/assets/tr.6fe122f4.js +1 -0
  246. package/dist/assets/uk.812ee10f.js +1 -0
  247. package/dist/assets/vi.33e14ba9.js +1 -0
  248. package/dist/assets/zh_CN.f23435f2.js +1 -0
  249. package/dist/assets/zh_HK.efe9e5bf.js +1 -0
  250. package/dist/assets/zh_SG.25dc8c02.js +1 -0
  251. package/dist/assets/zh_TW.a566ed25.js +1 -0
  252. package/dist/css/themes/Icon.css +1 -1
  253. package/dist/css/themes/StepInput.css +1 -1
  254. package/dist/custom-elements.json +1 -1
  255. package/dist/features/ColorPaletteMoreColors.js.map +1 -1
  256. package/dist/features/InputElementsFormSupport.d.ts +1 -1
  257. package/dist/features/InputElementsFormSupport.js.map +1 -1
  258. package/dist/features/InputSuggestions.js.map +1 -1
  259. package/dist/generated/assets/i18n/messagebundle_ar.json +1 -1
  260. package/dist/generated/assets/i18n/messagebundle_bg.json +1 -1
  261. package/dist/generated/assets/i18n/messagebundle_ca.json +1 -1
  262. package/dist/generated/assets/i18n/messagebundle_cs.json +1 -1
  263. package/dist/generated/assets/i18n/messagebundle_cy.json +1 -1
  264. package/dist/generated/assets/i18n/messagebundle_da.json +1 -1
  265. package/dist/generated/assets/i18n/messagebundle_de.json +1 -1
  266. package/dist/generated/assets/i18n/messagebundle_el.json +1 -1
  267. package/dist/generated/assets/i18n/messagebundle_en.json +1 -1
  268. package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -1
  269. package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -1
  270. package/dist/generated/assets/i18n/messagebundle_es.json +1 -1
  271. package/dist/generated/assets/i18n/messagebundle_es_MX.json +1 -1
  272. package/dist/generated/assets/i18n/messagebundle_et.json +1 -1
  273. package/dist/generated/assets/i18n/messagebundle_fi.json +1 -1
  274. package/dist/generated/assets/i18n/messagebundle_fr.json +1 -1
  275. package/dist/generated/assets/i18n/messagebundle_fr_CA.json +1 -1
  276. package/dist/generated/assets/i18n/messagebundle_hi.json +1 -1
  277. package/dist/generated/assets/i18n/messagebundle_hr.json +1 -1
  278. package/dist/generated/assets/i18n/messagebundle_hu.json +1 -1
  279. package/dist/generated/assets/i18n/messagebundle_it.json +1 -1
  280. package/dist/generated/assets/i18n/messagebundle_iw.json +1 -1
  281. package/dist/generated/assets/i18n/messagebundle_ja.json +1 -1
  282. package/dist/generated/assets/i18n/messagebundle_kk.json +1 -1
  283. package/dist/generated/assets/i18n/messagebundle_ko.json +1 -1
  284. package/dist/generated/assets/i18n/messagebundle_lt.json +1 -1
  285. package/dist/generated/assets/i18n/messagebundle_lv.json +1 -1
  286. package/dist/generated/assets/i18n/messagebundle_ms.json +1 -1
  287. package/dist/generated/assets/i18n/messagebundle_nl.json +1 -1
  288. package/dist/generated/assets/i18n/messagebundle_no.json +1 -1
  289. package/dist/generated/assets/i18n/messagebundle_pl.json +1 -1
  290. package/dist/generated/assets/i18n/messagebundle_pt.json +1 -1
  291. package/dist/generated/assets/i18n/messagebundle_pt_PT.json +1 -1
  292. package/dist/generated/assets/i18n/messagebundle_ro.json +1 -1
  293. package/dist/generated/assets/i18n/messagebundle_ru.json +1 -1
  294. package/dist/generated/assets/i18n/messagebundle_sh.json +1 -1
  295. package/dist/generated/assets/i18n/messagebundle_sk.json +1 -1
  296. package/dist/generated/assets/i18n/messagebundle_sl.json +1 -1
  297. package/dist/generated/assets/i18n/messagebundle_sv.json +1 -1
  298. package/dist/generated/assets/i18n/messagebundle_th.json +1 -1
  299. package/dist/generated/assets/i18n/messagebundle_tr.json +1 -1
  300. package/dist/generated/assets/i18n/messagebundle_uk.json +1 -1
  301. package/dist/generated/assets/i18n/messagebundle_vi.json +1 -1
  302. package/dist/generated/assets/i18n/messagebundle_zh_CN.json +1 -1
  303. package/dist/generated/assets/i18n/messagebundle_zh_TW.json +1 -1
  304. package/dist/generated/i18n/i18n-defaults.d.ts +1 -2
  305. package/dist/generated/i18n/i18n-defaults.js +1 -2
  306. package/dist/generated/i18n/i18n-defaults.js.map +1 -1
  307. package/dist/generated/templates/ComboBoxTemplate.lit.js +1 -1
  308. package/dist/generated/templates/DatePickerTemplate.lit.js +1 -1
  309. package/dist/generated/templates/MultiComboBoxTemplate.lit.js +1 -1
  310. package/dist/generated/templates/MultiInputTemplate.lit.js +1 -1
  311. package/dist/generated/templates/SplitButtonTemplate.lit.js +2 -1
  312. package/dist/generated/templates/StepInputTemplate.lit.js +2 -2
  313. package/dist/generated/templates/TimePickerTemplate.lit.js +1 -1
  314. package/dist/generated/templates/TreeItemBaseTemplate.lit.js +3 -3
  315. package/dist/generated/templates/TreeItemCustomTemplate.lit.js +3 -3
  316. package/dist/generated/templates/TreeItemTemplate.lit.js +3 -3
  317. package/dist/generated/themes/Avatar.css.js.map +1 -1
  318. package/dist/generated/themes/AvatarGroup.css.js.map +1 -1
  319. package/dist/generated/themes/Badge.css.js.map +1 -1
  320. package/dist/generated/themes/Breadcrumbs.css.js.map +1 -1
  321. package/dist/generated/themes/BreadcrumbsPopover.css.js.map +1 -1
  322. package/dist/generated/themes/BrowserScrollbar.css.js.map +1 -1
  323. package/dist/generated/themes/BusyIndicator.css.js.map +1 -1
  324. package/dist/generated/themes/Button.css.js.map +1 -1
  325. package/dist/generated/themes/Calendar.css.js.map +1 -1
  326. package/dist/generated/themes/CalendarHeader.css.js.map +1 -1
  327. package/dist/generated/themes/Card.css.js.map +1 -1
  328. package/dist/generated/themes/CardHeader.css.js.map +1 -1
  329. package/dist/generated/themes/Carousel.css.js.map +1 -1
  330. package/dist/generated/themes/CheckBox.css.js.map +1 -1
  331. package/dist/generated/themes/ColorPalette.css.js.map +1 -1
  332. package/dist/generated/themes/ColorPaletteItem.css.js.map +1 -1
  333. package/dist/generated/themes/ColorPalettePopover.css.js.map +1 -1
  334. package/dist/generated/themes/ColorPaletteStaticArea.css.js.map +1 -1
  335. package/dist/generated/themes/ColorPicker.css.js.map +1 -1
  336. package/dist/generated/themes/ComboBox.css.js.map +1 -1
  337. package/dist/generated/themes/ComboBoxPopover.css.js.map +1 -1
  338. package/dist/generated/themes/CustomListItem.css.js.map +1 -1
  339. package/dist/generated/themes/DatePicker.css.js.map +1 -1
  340. package/dist/generated/themes/DatePickerPopover.css.js.map +1 -1
  341. package/dist/generated/themes/DateRangePicker.css.js.map +1 -1
  342. package/dist/generated/themes/DateTimePicker.css.js.map +1 -1
  343. package/dist/generated/themes/DateTimePickerPopover.css.js.map +1 -1
  344. package/dist/generated/themes/DayPicker.css.js.map +1 -1
  345. package/dist/generated/themes/Dialog.css.js.map +1 -1
  346. package/dist/generated/themes/FileUploader.css.js.map +1 -1
  347. package/dist/generated/themes/GroupHeaderListItem.css.js.map +1 -1
  348. package/dist/generated/themes/GrowingButton.css.js.map +1 -1
  349. package/dist/generated/themes/Icon.css.js +1 -1
  350. package/dist/generated/themes/Icon.css.js.map +1 -1
  351. package/dist/generated/themes/Input.css.js.map +1 -1
  352. package/dist/generated/themes/InputIcon.css.js.map +1 -1
  353. package/dist/generated/themes/InvisibleTextStyles.css.js.map +1 -1
  354. package/dist/generated/themes/Label.css.js.map +1 -1
  355. package/dist/generated/themes/Link.css.js.map +1 -1
  356. package/dist/generated/themes/List.css.js.map +1 -1
  357. package/dist/generated/themes/ListItem.css.js.map +1 -1
  358. package/dist/generated/themes/ListItemBase.css.js.map +1 -1
  359. package/dist/generated/themes/Menu.css.js.map +1 -1
  360. package/dist/generated/themes/MessageStrip.css.js.map +1 -1
  361. package/dist/generated/themes/MonthPicker.css.js.map +1 -1
  362. package/dist/generated/themes/MultiComboBox.css.js.map +1 -1
  363. package/dist/generated/themes/MultiComboBoxPopover.css.js.map +1 -1
  364. package/dist/generated/themes/MultiInput.css.js.map +1 -1
  365. package/dist/generated/themes/Panel.css.js.map +1 -1
  366. package/dist/generated/themes/Popover.css.js.map +1 -1
  367. package/dist/generated/themes/Popup.css.js.map +1 -1
  368. package/dist/generated/themes/PopupGlobal.css.js.map +1 -1
  369. package/dist/generated/themes/PopupStaticAreaStyles.css.js.map +1 -1
  370. package/dist/generated/themes/PopupsCommon.css.js.map +1 -1
  371. package/dist/generated/themes/ProgressIndicator.css.js.map +1 -1
  372. package/dist/generated/themes/RadioButton.css.js.map +1 -1
  373. package/dist/generated/themes/RangeSlider.css.js.map +1 -1
  374. package/dist/generated/themes/RatingIndicator.css.js.map +1 -1
  375. package/dist/generated/themes/ResponsivePopover.css.js.map +1 -1
  376. package/dist/generated/themes/ResponsivePopoverCommon.css.js.map +1 -1
  377. package/dist/generated/themes/SegmentedButton.css.js.map +1 -1
  378. package/dist/generated/themes/Select.css.js.map +1 -1
  379. package/dist/generated/themes/SelectPopover.css.js.map +1 -1
  380. package/dist/generated/themes/SliderBase.css.js.map +1 -1
  381. package/dist/generated/themes/SplitButton.css.js.map +1 -1
  382. package/dist/generated/themes/StepInput.css.js +1 -1
  383. package/dist/generated/themes/StepInput.css.js.map +1 -1
  384. package/dist/generated/themes/Suggestions.css.js.map +1 -1
  385. package/dist/generated/themes/Switch.css.js.map +1 -1
  386. package/dist/generated/themes/Tab.css.js.map +1 -1
  387. package/dist/generated/themes/TabContainer.css.js.map +1 -1
  388. package/dist/generated/themes/TabInOverflow.css.js.map +1 -1
  389. package/dist/generated/themes/TabInStrip.css.js.map +1 -1
  390. package/dist/generated/themes/TabSemanticIcon.css.js.map +1 -1
  391. package/dist/generated/themes/TabSeparatorInOverflow.css.js.map +1 -1
  392. package/dist/generated/themes/TabSeparatorInStrip.css.js.map +1 -1
  393. package/dist/generated/themes/Table.css.js.map +1 -1
  394. package/dist/generated/themes/TableCell.css.js.map +1 -1
  395. package/dist/generated/themes/TableColumn.css.js.map +1 -1
  396. package/dist/generated/themes/TableGroupRow.css.js.map +1 -1
  397. package/dist/generated/themes/TableRow.css.js.map +1 -1
  398. package/dist/generated/themes/TapHighlightColor.css.js.map +1 -1
  399. package/dist/generated/themes/TextArea.css.js.map +1 -1
  400. package/dist/generated/themes/TimePicker.css.js.map +1 -1
  401. package/dist/generated/themes/TimePickerPopover.css.js.map +1 -1
  402. package/dist/generated/themes/TimeSelection.css.js.map +1 -1
  403. package/dist/generated/themes/Title.css.js.map +1 -1
  404. package/dist/generated/themes/Toast.css.js.map +1 -1
  405. package/dist/generated/themes/ToggleButton.css.js.map +1 -1
  406. package/dist/generated/themes/Token.css.js.map +1 -1
  407. package/dist/generated/themes/Tokenizer.css.js.map +1 -1
  408. package/dist/generated/themes/TokenizerPopover.css.js.map +1 -1
  409. package/dist/generated/themes/Tree.css.js.map +1 -1
  410. package/dist/generated/themes/TreeItem.css.js.map +1 -1
  411. package/dist/generated/themes/ValueStateMessage.css.js.map +1 -1
  412. package/dist/generated/themes/WheelSlider.css.js.map +1 -1
  413. package/dist/generated/themes/YearPicker.css.js.map +1 -1
  414. package/dist/generated/themes/sap_belize/parameters-bundle.css.js.map +1 -1
  415. package/dist/generated/themes/sap_belize_hcb/parameters-bundle.css.js.map +1 -1
  416. package/dist/generated/themes/sap_belize_hcw/parameters-bundle.css.js.map +1 -1
  417. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js.map +1 -1
  418. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js.map +1 -1
  419. package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js.map +1 -1
  420. package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js.map +1 -1
  421. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js.map +1 -1
  422. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js.map +1 -1
  423. package/dist/generated/themes/sap_horizon_exp/parameters-bundle.css.js.map +1 -1
  424. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js.map +1 -1
  425. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js.map +1 -1
  426. package/dist/i18n/messagebundle.properties +0 -3
  427. package/dist/i18n/messagebundle_ar.properties +0 -2
  428. package/dist/i18n/messagebundle_bg.properties +0 -2
  429. package/dist/i18n/messagebundle_ca.properties +0 -2
  430. package/dist/i18n/messagebundle_cs.properties +0 -2
  431. package/dist/i18n/messagebundle_cy.properties +0 -2
  432. package/dist/i18n/messagebundle_da.properties +0 -2
  433. package/dist/i18n/messagebundle_de.properties +0 -2
  434. package/dist/i18n/messagebundle_el.properties +0 -2
  435. package/dist/i18n/messagebundle_en.properties +0 -2
  436. package/dist/i18n/messagebundle_en_GB.properties +0 -2
  437. package/dist/i18n/messagebundle_en_US_saprigi.properties +0 -2
  438. package/dist/i18n/messagebundle_es.properties +0 -2
  439. package/dist/i18n/messagebundle_es_MX.properties +0 -2
  440. package/dist/i18n/messagebundle_et.properties +0 -2
  441. package/dist/i18n/messagebundle_fi.properties +0 -2
  442. package/dist/i18n/messagebundle_fr.properties +0 -2
  443. package/dist/i18n/messagebundle_fr_CA.properties +0 -2
  444. package/dist/i18n/messagebundle_hi.properties +0 -2
  445. package/dist/i18n/messagebundle_hr.properties +0 -2
  446. package/dist/i18n/messagebundle_hu.properties +0 -2
  447. package/dist/i18n/messagebundle_id.properties +0 -2
  448. package/dist/i18n/messagebundle_it.properties +0 -2
  449. package/dist/i18n/messagebundle_iw.properties +0 -2
  450. package/dist/i18n/messagebundle_ja.properties +0 -2
  451. package/dist/i18n/messagebundle_kk.properties +0 -2
  452. package/dist/i18n/messagebundle_ko.properties +0 -2
  453. package/dist/i18n/messagebundle_lt.properties +0 -2
  454. package/dist/i18n/messagebundle_lv.properties +0 -2
  455. package/dist/i18n/messagebundle_ms.properties +0 -2
  456. package/dist/i18n/messagebundle_nl.properties +0 -2
  457. package/dist/i18n/messagebundle_no.properties +0 -2
  458. package/dist/i18n/messagebundle_pl.properties +0 -2
  459. package/dist/i18n/messagebundle_pt.properties +0 -2
  460. package/dist/i18n/messagebundle_pt_PT.properties +0 -2
  461. package/dist/i18n/messagebundle_ro.properties +0 -2
  462. package/dist/i18n/messagebundle_ru.properties +0 -2
  463. package/dist/i18n/messagebundle_sh.properties +0 -2
  464. package/dist/i18n/messagebundle_sk.properties +0 -2
  465. package/dist/i18n/messagebundle_sl.properties +0 -2
  466. package/dist/i18n/messagebundle_sv.properties +0 -2
  467. package/dist/i18n/messagebundle_th.properties +0 -2
  468. package/dist/i18n/messagebundle_tr.properties +0 -2
  469. package/dist/i18n/messagebundle_uk.properties +0 -2
  470. package/dist/i18n/messagebundle_vi.properties +0 -2
  471. package/dist/i18n/messagebundle_zh_CN.properties +0 -2
  472. package/dist/i18n/messagebundle_zh_TW.properties +0 -2
  473. package/dist/popup-utils/OpenedPopupsRegistry.js.map +1 -1
  474. package/dist/popup-utils/PopoverRegistry.js.map +1 -1
  475. package/dist/timepicker-utils/TimeSlider.js.map +1 -1
  476. package/dist/types/AvatarColorScheme.js.map +1 -1
  477. package/dist/types/AvatarGroupType.js.map +1 -1
  478. package/dist/types/AvatarShape.js.map +1 -1
  479. package/dist/types/AvatarSize.js.map +1 -1
  480. package/dist/types/BreadcrumbsDesign.js.map +1 -1
  481. package/dist/types/BreadcrumbsSeparatorStyle.js.map +1 -1
  482. package/dist/types/BusyIndicatorSize.js.map +1 -1
  483. package/dist/types/ButtonDesign.js.map +1 -1
  484. package/dist/types/CalendarPickersMode.js.map +1 -1
  485. package/dist/types/CalendarSelectionMode.js.map +1 -1
  486. package/dist/types/CarouselArrowsPlacement.js.map +1 -1
  487. package/dist/types/CarouselPageIndicatorStyle.js.map +1 -1
  488. package/dist/types/ComboBoxFilter.js.map +1 -1
  489. package/dist/types/HasPopup.js.map +1 -1
  490. package/dist/types/IconDesign.js.map +1 -1
  491. package/dist/types/InputType.js.map +1 -1
  492. package/dist/types/LinkDesign.js.map +1 -1
  493. package/dist/types/ListGrowingMode.js.map +1 -1
  494. package/dist/types/ListItemType.js.map +1 -1
  495. package/dist/types/ListMode.js.map +1 -1
  496. package/dist/types/ListSeparators.js.map +1 -1
  497. package/dist/types/MessageStripDesign.js.map +1 -1
  498. package/dist/types/PanelAccessibleRole.js.map +1 -1
  499. package/dist/types/PopoverHorizontalAlign.d.ts +4 -4
  500. package/dist/types/PopoverHorizontalAlign.js +4 -4
  501. package/dist/types/PopoverHorizontalAlign.js.map +1 -1
  502. package/dist/types/PopoverPlacementType.js.map +1 -1
  503. package/dist/types/PopoverVerticalAlign.js.map +1 -1
  504. package/dist/types/PopupAccessibleRole.js.map +1 -1
  505. package/dist/types/Priority.js.map +1 -1
  506. package/dist/types/SemanticColor.js.map +1 -1
  507. package/dist/types/SwitchDesign.js.map +1 -1
  508. package/dist/types/TabContainerBackgroundDesign.js.map +1 -1
  509. package/dist/types/TabContainerTabsPlacement.js.map +1 -1
  510. package/dist/types/TabLayout.js.map +1 -1
  511. package/dist/types/TableColumnPopinDisplay.js.map +1 -1
  512. package/dist/types/TableGrowingMode.js.map +1 -1
  513. package/dist/types/TableMode.js.map +1 -1
  514. package/dist/types/TableRowType.js.map +1 -1
  515. package/dist/types/TabsOverflowMode.js.map +1 -1
  516. package/dist/types/TitleLevel.js.map +1 -1
  517. package/dist/types/ToastPlacement.js.map +1 -1
  518. package/dist/types/WrappingType.js.map +1 -1
  519. package/package.json +7 -7
  520. package/src/ComboBox.hbs +9 -10
  521. package/src/DatePicker.hbs +12 -12
  522. package/src/MultiComboBox.hbs +10 -11
  523. package/src/MultiInput.hbs +7 -8
  524. package/src/SplitButton.hbs +3 -1
  525. package/src/StepInput.hbs +2 -2
  526. package/src/TimePicker.hbs +10 -10
  527. package/src/TreeItemBase.hbs +2 -3
  528. package/src/i18n/messagebundle.properties +0 -3
  529. package/src/i18n/messagebundle_ar.properties +0 -2
  530. package/src/i18n/messagebundle_bg.properties +0 -2
  531. package/src/i18n/messagebundle_ca.properties +0 -2
  532. package/src/i18n/messagebundle_cs.properties +0 -2
  533. package/src/i18n/messagebundle_cy.properties +0 -2
  534. package/src/i18n/messagebundle_da.properties +0 -2
  535. package/src/i18n/messagebundle_de.properties +0 -2
  536. package/src/i18n/messagebundle_el.properties +0 -2
  537. package/src/i18n/messagebundle_en.properties +0 -2
  538. package/src/i18n/messagebundle_en_GB.properties +0 -2
  539. package/src/i18n/messagebundle_en_US_saprigi.properties +0 -2
  540. package/src/i18n/messagebundle_es.properties +0 -2
  541. package/src/i18n/messagebundle_es_MX.properties +0 -2
  542. package/src/i18n/messagebundle_et.properties +0 -2
  543. package/src/i18n/messagebundle_fi.properties +0 -2
  544. package/src/i18n/messagebundle_fr.properties +0 -2
  545. package/src/i18n/messagebundle_fr_CA.properties +0 -2
  546. package/src/i18n/messagebundle_hi.properties +0 -2
  547. package/src/i18n/messagebundle_hr.properties +0 -2
  548. package/src/i18n/messagebundle_hu.properties +0 -2
  549. package/src/i18n/messagebundle_id.properties +0 -2
  550. package/src/i18n/messagebundle_it.properties +0 -2
  551. package/src/i18n/messagebundle_iw.properties +0 -2
  552. package/src/i18n/messagebundle_ja.properties +0 -2
  553. package/src/i18n/messagebundle_kk.properties +0 -2
  554. package/src/i18n/messagebundle_ko.properties +0 -2
  555. package/src/i18n/messagebundle_lt.properties +0 -2
  556. package/src/i18n/messagebundle_lv.properties +0 -2
  557. package/src/i18n/messagebundle_ms.properties +0 -2
  558. package/src/i18n/messagebundle_nl.properties +0 -2
  559. package/src/i18n/messagebundle_no.properties +0 -2
  560. package/src/i18n/messagebundle_pl.properties +0 -2
  561. package/src/i18n/messagebundle_pt.properties +0 -2
  562. package/src/i18n/messagebundle_pt_PT.properties +0 -2
  563. package/src/i18n/messagebundle_ro.properties +0 -2
  564. package/src/i18n/messagebundle_ru.properties +0 -2
  565. package/src/i18n/messagebundle_sh.properties +0 -2
  566. package/src/i18n/messagebundle_sk.properties +0 -2
  567. package/src/i18n/messagebundle_sl.properties +0 -2
  568. package/src/i18n/messagebundle_sv.properties +0 -2
  569. package/src/i18n/messagebundle_th.properties +0 -2
  570. package/src/i18n/messagebundle_tr.properties +0 -2
  571. package/src/i18n/messagebundle_uk.properties +0 -2
  572. package/src/i18n/messagebundle_vi.properties +0 -2
  573. package/src/i18n/messagebundle_zh_CN.properties +0 -2
  574. package/src/i18n/messagebundle_zh_TW.properties +0 -2
  575. package/src/themes/Icon.css +0 -4
  576. package/src/themes/StepInput.css +1 -0
  577. package/tsconfig.json +1 -0
  578. package/.dev-server-port +0 -1
  579. package/dist/DurationPicker.js +0 -312
  580. package/dist/assets/DurationPicker.d4e0845b.css +0 -1
  581. package/dist/assets/Popover.bde799ce.css +0 -1
  582. package/dist/assets/SAP-icons-TNT.9ee5f818.js +0 -1
  583. package/dist/assets/SAP-icons.216218d4.js +0 -1
  584. package/dist/assets/SAP-icons.4f7faebd.js +0 -1
  585. package/dist/assets/ar.c8a9c7c2.js +0 -1
  586. package/dist/assets/ar_EG.bc0b8c4a.js +0 -1
  587. package/dist/assets/ar_SA.e02fea0b.js +0 -1
  588. package/dist/assets/bg.1c4cbc9c.js +0 -1
  589. package/dist/assets/ca.a4e7480a.js +0 -1
  590. package/dist/assets/cs.e731c541.js +0 -1
  591. package/dist/assets/da.718b3439.js +0 -1
  592. package/dist/assets/de.ae411210.js +0 -1
  593. package/dist/assets/de_AT.cb17127f.js +0 -1
  594. package/dist/assets/de_CH.b0eaf2ed.js +0 -1
  595. package/dist/assets/el.7daeddb3.js +0 -1
  596. package/dist/assets/el_CY.dac8ac43.js +0 -1
  597. package/dist/assets/en.baed18b1.js +0 -1
  598. package/dist/assets/en_AU.8c929d24.js +0 -1
  599. package/dist/assets/en_GB.4e429aa6.js +0 -1
  600. package/dist/assets/en_HK.529b415b.js +0 -1
  601. package/dist/assets/en_IE.ff068141.js +0 -1
  602. package/dist/assets/en_IN.30d13a3a.js +0 -1
  603. package/dist/assets/en_NZ.2529c280.js +0 -1
  604. package/dist/assets/en_PG.649a81d5.js +0 -1
  605. package/dist/assets/en_SG.1fbf47e1.js +0 -1
  606. package/dist/assets/en_ZA.bb83c383.js +0 -1
  607. package/dist/assets/es.5d010a1f.js +0 -1
  608. package/dist/assets/es_AR.7f372ffe.js +0 -1
  609. package/dist/assets/es_BO.7ba05a1b.js +0 -1
  610. package/dist/assets/es_CL.a37af7ca.js +0 -1
  611. package/dist/assets/es_CO.36557bc1.js +0 -1
  612. package/dist/assets/es_MX.0539dea0.js +0 -1
  613. package/dist/assets/es_PE.925f6359.js +0 -1
  614. package/dist/assets/es_UY.c3cd8bb4.js +0 -1
  615. package/dist/assets/es_VE.6ee9a7fe.js +0 -1
  616. package/dist/assets/et.90440de4.js +0 -1
  617. package/dist/assets/fa.5717a297.js +0 -1
  618. package/dist/assets/fi.1bfca1c3.js +0 -1
  619. package/dist/assets/fr.491d3e0c.js +0 -1
  620. package/dist/assets/fr_BE.6ccfd56c.js +0 -1
  621. package/dist/assets/fr_CA.ffe12267.js +0 -1
  622. package/dist/assets/fr_CH.5d77b4bc.js +0 -1
  623. package/dist/assets/fr_LU.c07815db.js +0 -1
  624. package/dist/assets/he.79f10a9d.js +0 -1
  625. package/dist/assets/hi.29863484.js +0 -1
  626. package/dist/assets/hr.99813023.js +0 -1
  627. package/dist/assets/hu.23e0baa9.js +0 -1
  628. package/dist/assets/id.4c30fabd.js +0 -1
  629. package/dist/assets/it.528a18da.js +0 -1
  630. package/dist/assets/it_CH.87ff79eb.js +0 -1
  631. package/dist/assets/ja.8846f5e2.js +0 -1
  632. package/dist/assets/kk.01694e17.js +0 -1
  633. package/dist/assets/ko.d3b0053b.js +0 -1
  634. package/dist/assets/lt.a74d5456.js +0 -1
  635. package/dist/assets/lv.6831c2cc.js +0 -1
  636. package/dist/assets/messagebundle_ar.74efb031.js +0 -1
  637. package/dist/assets/messagebundle_bg.369c6fc8.js +0 -1
  638. package/dist/assets/messagebundle_ca.a3cd4b52.js +0 -1
  639. package/dist/assets/messagebundle_cs.289421ac.js +0 -1
  640. package/dist/assets/messagebundle_cy.b1830522.js +0 -1
  641. package/dist/assets/messagebundle_da.c05fe259.js +0 -1
  642. package/dist/assets/messagebundle_de.8a4032cc.js +0 -1
  643. package/dist/assets/messagebundle_el.7c63c645.js +0 -1
  644. package/dist/assets/messagebundle_en.6e890ca9.js +0 -1
  645. package/dist/assets/messagebundle_en_GB.6a665cc2.js +0 -1
  646. package/dist/assets/messagebundle_es.0f0c4cdc.js +0 -1
  647. package/dist/assets/messagebundle_es_MX.f88d6e93.js +0 -1
  648. package/dist/assets/messagebundle_et.6e83e7fa.js +0 -1
  649. package/dist/assets/messagebundle_fi.ebcedd15.js +0 -1
  650. package/dist/assets/messagebundle_fr.f0c09c02.js +0 -1
  651. package/dist/assets/messagebundle_fr_CA.241e035f.js +0 -1
  652. package/dist/assets/messagebundle_hi.ea9222e3.js +0 -1
  653. package/dist/assets/messagebundle_hr.29b90b8a.js +0 -1
  654. package/dist/assets/messagebundle_hu.28f6367c.js +0 -1
  655. package/dist/assets/messagebundle_it.ef9f06fc.js +0 -1
  656. package/dist/assets/messagebundle_iw.52eeba6c.js +0 -1
  657. package/dist/assets/messagebundle_ja.54f39fb4.js +0 -1
  658. package/dist/assets/messagebundle_kk.4795b8bf.js +0 -1
  659. package/dist/assets/messagebundle_ko.298dee97.js +0 -1
  660. package/dist/assets/messagebundle_lt.50d45929.js +0 -1
  661. package/dist/assets/messagebundle_lv.6deb88b8.js +0 -1
  662. package/dist/assets/messagebundle_ms.0eb3e9fb.js +0 -1
  663. package/dist/assets/messagebundle_nl.d86b913f.js +0 -1
  664. package/dist/assets/messagebundle_no.4b4b68f9.js +0 -1
  665. package/dist/assets/messagebundle_pl.90d2d216.js +0 -1
  666. package/dist/assets/messagebundle_pt.682bdce3.js +0 -1
  667. package/dist/assets/messagebundle_pt_PT.5931734e.js +0 -1
  668. package/dist/assets/messagebundle_ro.c8b49647.js +0 -1
  669. package/dist/assets/messagebundle_ru.03b05c74.js +0 -1
  670. package/dist/assets/messagebundle_sh.d85d5fca.js +0 -1
  671. package/dist/assets/messagebundle_sk.0c356651.js +0 -1
  672. package/dist/assets/messagebundle_sl.6fbd00d2.js +0 -1
  673. package/dist/assets/messagebundle_sv.fd3992b5.js +0 -1
  674. package/dist/assets/messagebundle_th.69c4b78b.js +0 -1
  675. package/dist/assets/messagebundle_tr.f5e05dea.js +0 -1
  676. package/dist/assets/messagebundle_uk.8fe7f052.js +0 -1
  677. package/dist/assets/messagebundle_uk.e712215f.js +0 -1
  678. package/dist/assets/messagebundle_vi.dfccc988.js +0 -1
  679. package/dist/assets/messagebundle_zh_CN.0bec6825.js +0 -1
  680. package/dist/assets/messagebundle_zh_TW.be5ac4ff.js +0 -1
  681. package/dist/assets/ms.da64ef13.js +0 -1
  682. package/dist/assets/nb.06945878.js +0 -1
  683. package/dist/assets/nl.d0a7a73f.js +0 -1
  684. package/dist/assets/nl_BE.70dbb313.js +0 -1
  685. package/dist/assets/pl.695e03e0.js +0 -1
  686. package/dist/assets/pt.c917a469.js +0 -1
  687. package/dist/assets/pt_PT.0a89cd6c.js +0 -1
  688. package/dist/assets/ro.862460c6.js +0 -1
  689. package/dist/assets/ru.d1fa0fbb.js +0 -1
  690. package/dist/assets/ru_UA.37f83cbb.js +0 -1
  691. package/dist/assets/sk.c3dcbb2e.js +0 -1
  692. package/dist/assets/sl.a8e1c9c9.js +0 -1
  693. package/dist/assets/sr.8153af77.js +0 -1
  694. package/dist/assets/sr_Latn.99cb0a61.js +0 -1
  695. package/dist/assets/sv.bc115d54.js +0 -1
  696. package/dist/assets/th.688dbee7.js +0 -1
  697. package/dist/assets/tr.b0d6f870.js +0 -1
  698. package/dist/assets/uk.ab69fcaa.js +0 -1
  699. package/dist/assets/vi.5516bb07.js +0 -1
  700. package/dist/assets/zh_CN.f1932ba8.js +0 -1
  701. package/dist/assets/zh_HK.2a75a13d.js +0 -1
  702. package/dist/assets/zh_SG.bd55647f.js +0 -1
  703. package/dist/assets/zh_TW.2cab47aa.js +0 -1
  704. package/src/Assets-static.ts +0 -6
  705. package/src/Assets.ts +0 -7
  706. package/src/Avatar.ts +0 -422
  707. package/src/AvatarGroup.ts +0 -609
  708. package/src/Badge.ts +0 -133
  709. package/src/Breadcrumbs.ts +0 -665
  710. package/src/BreadcrumbsItem.ts +0 -93
  711. package/src/BusyIndicator.ts +0 -247
  712. package/src/Button.ts +0 -491
  713. package/src/Calendar.ts +0 -523
  714. package/src/CalendarDate.ts +0 -37
  715. package/src/CalendarHeader.ts +0 -205
  716. package/src/CalendarPart.ts +0 -100
  717. package/src/Card.ts +0 -139
  718. package/src/CardHeader.ts +0 -265
  719. package/src/Carousel.ts +0 -724
  720. package/src/CheckBox.ts +0 -462
  721. package/src/ColorPalette.ts +0 -492
  722. package/src/ColorPaletteItem.ts +0 -116
  723. package/src/ColorPalettePopover.ts +0 -234
  724. package/src/ColorPicker.ts +0 -524
  725. package/src/ComboBox.ts +0 -1229
  726. package/src/ComboBoxGroupItem.ts +0 -52
  727. package/src/ComboBoxItem.ts +0 -69
  728. package/src/CustomListItem.ts +0 -85
  729. package/src/DateComponentBase.ts +0 -173
  730. package/src/DatePicker.ts +0 -882
  731. package/src/DateRangePicker.ts +0 -370
  732. package/src/DateTimePicker.ts +0 -431
  733. package/src/DayPicker.ts +0 -805
  734. package/src/Dialog.ts +0 -702
  735. package/src/DurationPicker.js +0 -312
  736. package/src/FileUploader.ts +0 -511
  737. package/src/Filters.ts +0 -28
  738. package/src/GroupHeaderListItem.ts +0 -79
  739. package/src/Icon.ts +0 -423
  740. package/src/Input.ts +0 -1757
  741. package/src/Interfaces.ts +0 -202
  742. package/src/Label.ts +0 -136
  743. package/src/Link.ts +0 -397
  744. package/src/List.ts +0 -1129
  745. package/src/ListItem.ts +0 -498
  746. package/src/ListItemBase.ts +0 -165
  747. package/src/Menu.ts +0 -597
  748. package/src/MenuItem.ts +0 -169
  749. package/src/MessageStrip.ts +0 -232
  750. package/src/MonthPicker.ts +0 -345
  751. package/src/MultiComboBox.ts +0 -1698
  752. package/src/MultiComboBoxGroupItem.ts +0 -53
  753. package/src/MultiComboBoxItem.ts +0 -38
  754. package/src/MultiInput.ts +0 -379
  755. package/src/Option.ts +0 -119
  756. package/src/Panel.ts +0 -437
  757. package/src/Popover.ts +0 -850
  758. package/src/Popup.ts +0 -648
  759. package/src/ProgressIndicator.ts +0 -224
  760. package/src/RadioButton.ts +0 -518
  761. package/src/RadioButtonGroup.ts +0 -236
  762. package/src/RangeSlider.ts +0 -907
  763. package/src/RatingIndicator.ts +0 -315
  764. package/src/ResponsivePopover.ts +0 -227
  765. package/src/SegmentedButton.ts +0 -309
  766. package/src/SegmentedButtonItem.ts +0 -104
  767. package/src/Select.ts +0 -911
  768. package/src/Slider.ts +0 -364
  769. package/src/SliderBase.ts +0 -760
  770. package/src/SplitButton.ts +0 -410
  771. package/src/StandardListItem.ts +0 -212
  772. package/src/StepInput.ts +0 -636
  773. package/src/SuggestionGroupItem.ts +0 -49
  774. package/src/SuggestionItem.ts +0 -132
  775. package/src/SuggestionListItem.ts +0 -73
  776. package/src/Switch.ts +0 -291
  777. package/src/Tab.ts +0 -469
  778. package/src/TabContainer.ts +0 -1328
  779. package/src/TabSeparator.ts +0 -89
  780. package/src/Table.ts +0 -1289
  781. package/src/TableCell.ts +0 -71
  782. package/src/TableColumn.ts +0 -128
  783. package/src/TableGroupRow.ts +0 -146
  784. package/src/TableRow.ts +0 -492
  785. package/src/TextArea.ts +0 -703
  786. package/src/TimePicker.ts +0 -155
  787. package/src/TimePickerBase.ts +0 -494
  788. package/src/TimeSelection.ts +0 -510
  789. package/src/Title.ts +0 -110
  790. package/src/Toast.ts +0 -226
  791. package/src/ToggleButton.ts +0 -74
  792. package/src/Token.ts +0 -237
  793. package/src/Tokenizer.ts +0 -737
  794. package/src/Tree.ts +0 -509
  795. package/src/TreeItem.ts +0 -90
  796. package/src/TreeItemBase.ts +0 -410
  797. package/src/TreeItemCustom.ts +0 -89
  798. package/src/TreeList.ts +0 -44
  799. package/src/WheelSlider.ts +0 -432
  800. package/src/YearPicker.ts +0 -386
  801. package/src/features/ColorPaletteMoreColors.ts +0 -45
  802. package/src/features/InputElementsFormSupport.ts +0 -141
  803. package/src/features/InputSuggestions.ts +0 -669
  804. package/src/popup-utils/OpenedPopupsRegistry.ts +0 -76
  805. package/src/popup-utils/PopoverRegistry.ts +0 -166
  806. package/src/timepicker-utils/TimeSlider.ts +0 -120
  807. package/src/types/AvatarColorScheme.ts +0 -89
  808. package/src/types/AvatarGroupType.ts +0 -28
  809. package/src/types/AvatarShape.ts +0 -26
  810. package/src/types/AvatarSize.ts +0 -52
  811. package/src/types/BreadcrumbsDesign.ts +0 -28
  812. package/src/types/BreadcrumbsSeparatorStyle.ts +0 -55
  813. package/src/types/BusyIndicatorSize.ts +0 -33
  814. package/src/types/ButtonDesign.ts +0 -54
  815. package/src/types/CalendarPickersMode.ts +0 -34
  816. package/src/types/CalendarSelectionMode.ts +0 -33
  817. package/src/types/CarouselArrowsPlacement.ts +0 -26
  818. package/src/types/CarouselPageIndicatorStyle.ts +0 -27
  819. package/src/types/ComboBoxFilter.ts +0 -40
  820. package/src/types/HasPopup.ts +0 -47
  821. package/src/types/IconDesign.ts +0 -68
  822. package/src/types/InputType.ts +0 -54
  823. package/src/types/LinkDesign.ts +0 -33
  824. package/src/types/ListGrowingMode.ts +0 -34
  825. package/src/types/ListItemType.ts +0 -40
  826. package/src/types/ListMode.ts +0 -63
  827. package/src/types/ListSeparators.ts +0 -32
  828. package/src/types/MessageStripDesign.ts +0 -40
  829. package/src/types/PanelAccessibleRole.ts +0 -37
  830. package/src/types/PopoverHorizontalAlign.ts +0 -40
  831. package/src/types/PopoverPlacementType.ts +0 -40
  832. package/src/types/PopoverVerticalAlign.ts +0 -40
  833. package/src/types/PopupAccessibleRole.ts +0 -34
  834. package/src/types/Priority.ts +0 -40
  835. package/src/types/SemanticColor.ts +0 -47
  836. package/src/types/SwitchDesign.ts +0 -26
  837. package/src/types/TabContainerBackgroundDesign.ts +0 -33
  838. package/src/types/TabContainerTabsPlacement.ts +0 -26
  839. package/src/types/TabLayout.ts +0 -26
  840. package/src/types/TableColumnPopinDisplay.ts +0 -26
  841. package/src/types/TableGrowingMode.ts +0 -34
  842. package/src/types/TableMode.ts +0 -33
  843. package/src/types/TableRowType.ts +0 -26
  844. package/src/types/TabsOverflowMode.ts +0 -26
  845. package/src/types/TitleLevel.ts +0 -54
  846. package/src/types/ToastPlacement.ts +0 -77
  847. package/src/types/WrappingType.ts +0 -26
  848. /package/dist/assets/{kitchen-scripts.7e433e08.css → kitchen-styles.7e433e08.css} +0 -0
@@ -1,907 +0,0 @@
1
- import customElement from "@ui5/webcomponents-base/dist/decorators/customElement.js";
2
- import property from "@ui5/webcomponents-base/dist/decorators/property.js";
3
- import Float from "@ui5/webcomponents-base/dist/types/Float.js";
4
- import { getI18nBundle } from "@ui5/webcomponents-base/dist/i18nBundle.js";
5
- import type I18nBundle from "@ui5/webcomponents-base/dist/i18nBundle.js";
6
- import {
7
- isEscape,
8
- isHome,
9
- isEnd,
10
- } from "@ui5/webcomponents-base/dist/Keys.js";
11
- import SliderBase from "./SliderBase.js";
12
- import Icon from "./Icon.js";
13
- import RangeSliderTemplate from "./generated/templates/RangeSliderTemplate.lit.js";
14
-
15
- // Texts
16
- import {
17
- RANGE_SLIDER_ARIA_DESCRIPTION,
18
- RANGE_SLIDER_START_HANDLE_DESCRIPTION,
19
- RANGE_SLIDER_END_HANDLE_DESCRIPTION,
20
- } from "./generated/i18n/i18n-defaults.js";
21
-
22
- // Styles
23
- import rangeSliderStyles from "./generated/themes/RangeSlider.css.js";
24
-
25
- type AriaHandlesText = {
26
- startHandleText?: string,
27
- endHandleText?: string,
28
- }
29
-
30
- type AffectedValue = "startValue" | "endValue";
31
-
32
- /**
33
- * @class
34
- *
35
- * <h3 class="comment-api-title">Overview</h3>
36
- * Represents a numerical interval and two handles (grips) to select a sub-range within it.
37
- * The purpose of the component to enable visual selection of sub-ranges within a given interval.
38
- *
39
- * <h3>Structure</h3>
40
- * The most important properties of the Range Slider are:
41
- * <ul>
42
- * <li>min - The minimum value of the slider range.</li>
43
- * <li>max - The maximum value of the slider range.</li>
44
- * <li>value - The current value of the slider.</li>
45
- * <li>step - Determines the increments in which the slider will move.</li>
46
- * <li>showTooltip - Determines if a tooltip should be displayed above the handle.</li>
47
- * <li>showTickmarks - Displays a visual divider between the step values.</li>
48
- * <li>labelInterval - Labels some or all of the tickmarks with their values.</li>
49
- * </ul>
50
- * <h4>Notes:</h4>
51
- * <ul>
52
- * <li>The right and left handle can be moved individually and their positions could therefore switch.</li>
53
- * <li>The entire range can be moved along the interval.</li>
54
- * </ul>
55
- * <h3>Usage</h3>
56
- * The most common use case is to select and move sub-ranges on a continuous numerical scale.
57
- *
58
- * <h3>Responsive Behavior</h3>
59
- * You can move the currently selected range by clicking on it and dragging it along the interval.
60
- *
61
- * <h3>CSS Shadow Parts</h3>
62
- *
63
- * <ui5-link target="_blank" href="https://developer.mozilla.org/en-US/docs/Web/CSS/::part">CSS Shadow Parts</ui5-link> allow developers to style elements inside the Shadow DOM.
64
- * <br>
65
- * The <code>ui5-range-slider</code> exposes the following CSS Shadow Parts:
66
- * <ul>
67
- * <li>progress-container - Used to style the progress container(the horizontal bar which visually represents the range between the minimum and maximum value) of the <code>ui5-range-slider</code>.</li>
68
- * <li>progress-bar - Used to style the progress bar, which shows the progress of the <code>ui5-range-slider</code>.</li>
69
- * <li>handle - Used to style the handles of the <code>ui5-range-slider</code>.</li>
70
- * </ul>
71
- *
72
- * <h3>Keyboard Handling</h3>
73
- *
74
- * <ul>
75
- * <li><code>Left or Down Arrow</code> - Moves a component's handle or the entire selection one step to the left;</li>
76
- * <li><code>Right or Up Arrow</code> - Moves a component's handle or the entire selection one step to the right;</li>
77
- * <li><code>Left or Down Arrow + Ctrl/Cmd</code> - Moves a component's handle to the left or the entire range with step equal to 1/10th of the entire range;</li>
78
- * <li><code>Right or Up Arrow + Ctrl/Cmd</code> - Moves a component's handle to the right or the entire range with step equal to 1/10th of the entire range;</li>
79
- * <li><code>Plus</code> - Same as <code>Right or Up Arrow</code>;</li>
80
- * <li><code>Minus</code> - Same as <code>Left or Down Arrow</code>;</li>
81
- * <li><code>Home</code> - Moves the entire selection or the selected handle to the beginning of the component's range;</li>
82
- * <li><code>End</code> - Moves the entire selection or the selected handle to the end of the component's range;</li>
83
- * <li><code>Page Up</code> - Same as <code>Right or Up Arrow + Ctrl/Cmd</code>;</li>
84
- * <li><code>Page Down</code> - Same as <code>Left or Down Arrow + Ctrl/Cmd</code>;</li>
85
- * <li><code>Escape</code> - Resets the <code>startValue</code> and <code>endValue</code> properties to the values prior the component focusing;</li>
86
- * </ul>
87
- *
88
- * <h3>ES6 Module Import</h3>
89
- *
90
- * <code>import "@ui5/webcomponents/dist/RangeSlider";</code>
91
- *
92
- *
93
- * @constructor
94
- * @author SAP SE
95
- * @alias sap.ui.webc.main.RangeSlider
96
- * @extends sap.ui.webc.main.SliderBase
97
- * @tagname ui5-range-slider
98
- * @since 1.0.0-rc.11
99
- * @public
100
- */
101
- @customElement({
102
- tag: "ui5-range-slider",
103
- languageAware: true,
104
- template: RangeSliderTemplate,
105
- dependencies: [Icon],
106
- styles: [SliderBase.styles, rangeSliderStyles],
107
- })
108
- class RangeSlider extends SliderBase {
109
- /**
110
- * Defines start point of a selection - position of a first handle on the slider.
111
- * <br><br>
112
- *
113
- * @type {sap.ui.webc.base.types.Float}
114
- * @name sap.ui.webc.main.RangeSlider.prototype.startValue
115
- * @defaultvalue 0
116
- * @formEvents change input
117
- * @formProperty
118
- * @public
119
- */
120
- @property({ validator: Float, defaultValue: 0 })
121
- startValue!: number;
122
-
123
- /**
124
- * Defines end point of a selection - position of a second handle on the slider.
125
- * <br><br>
126
- *
127
- * @type {sap.ui.webc.base.types.Float}
128
- * @name sap.ui.webc.main.RangeSlider.prototype.endValue
129
- * @defaultvalue 100
130
- * @formEvents change input
131
- * @formProperty
132
- * @public
133
- */
134
- @property({ validator: Float, defaultValue: 100 })
135
- endValue!: number;
136
-
137
- @property({ type: Boolean })
138
- rangePressed!: boolean;
139
-
140
- _startValueInitial?: number;
141
- _endValueInitial?: number;
142
- _valueAffected?: AffectedValue;
143
- _isPressInCurrentRange = false;
144
- _handeIsPressed = false;
145
- _initialPageXPosition?: number;
146
- _startValueAtBeginningOfAction?: number;
147
- _endValueAtBeginningOfAction?: number;
148
- _initialStartHandlePageX?: number;
149
- _firstHandlePositionFromStart?: number;
150
- _secondHandlePositionFromStart?: number;
151
- _selectedRange?: number;
152
- _reversedValues = false;
153
-
154
- static i18nBundle: I18nBundle;
155
-
156
- constructor() {
157
- super();
158
- this._stateStorage.startValue = undefined;
159
- this._stateStorage.endValue = undefined;
160
- }
161
-
162
- get tooltipStartValue() {
163
- const ctor = this.constructor as typeof RangeSlider;
164
- const stepPrecision = ctor._getDecimalPrecisionOfNumber(this._effectiveStep);
165
- return this.startValue.toFixed(stepPrecision);
166
- }
167
-
168
- get tooltipEndValue() {
169
- const ctor = this.constructor as typeof RangeSlider;
170
- const stepPrecision = ctor._getDecimalPrecisionOfNumber(this._effectiveStep);
171
- return this.endValue.toFixed(stepPrecision);
172
- }
173
-
174
- get _ariaDisabled() {
175
- return this.disabled || undefined;
176
- }
177
-
178
- get _ariaLabelledByText() {
179
- return RangeSlider.i18nBundle.getText(RANGE_SLIDER_ARIA_DESCRIPTION);
180
- }
181
-
182
- get _ariaHandlesText() {
183
- const isRTL = this.effectiveDir === "rtl";
184
- const isReversed = this._areValuesReversed();
185
- const ariaHandlesText: AriaHandlesText = {};
186
-
187
- if ((isRTL && !isReversed) || (!isRTL && isReversed)) {
188
- ariaHandlesText.startHandleText = RangeSlider.i18nBundle.getText(RANGE_SLIDER_END_HANDLE_DESCRIPTION);
189
- ariaHandlesText.endHandleText = RangeSlider.i18nBundle.getText(RANGE_SLIDER_START_HANDLE_DESCRIPTION);
190
- } else {
191
- ariaHandlesText.startHandleText = RangeSlider.i18nBundle.getText(RANGE_SLIDER_START_HANDLE_DESCRIPTION);
192
- ariaHandlesText.endHandleText = RangeSlider.i18nBundle.getText(RANGE_SLIDER_END_HANDLE_DESCRIPTION);
193
- }
194
-
195
- return ariaHandlesText;
196
- }
197
-
198
- get _ariaValueNow() {
199
- return Math.abs(this.endValue - this.startValue);
200
- }
201
-
202
- /**
203
- * Check if the previously saved state is outdated. That would mean
204
- * either it is the initial rendering or that a property has been changed
205
- * programmatically - because the previous state is always updated in
206
- * the interaction handlers.
207
- *
208
- * Normalize current properties, update the previously stored state.
209
- * Update the visual UI representation of the Slider.
210
- *
211
- */
212
- onBeforeRendering() {
213
- if (this.startValue > this.endValue) {
214
- const affectedValue = this._valueAffected === "startValue" ? "endValue" : "startValue";
215
-
216
- this._swapValues();
217
- this._setAffectedValue(affectedValue);
218
- this.update(affectedValue, this.startValue, this.endValue);
219
- }
220
-
221
- if (!this.isCurrentStateOutdated()) {
222
- return;
223
- }
224
-
225
- this.notResized = true;
226
- this.syncUIAndState();
227
- this._updateHandlesAndRange(0);
228
- }
229
-
230
- syncUIAndState() {
231
- // Validate step and update the stored state for the step property.
232
- if (this.isPropertyUpdated("step")) {
233
- this._validateStep(this.step);
234
- this.storePropertyState("step");
235
- }
236
-
237
- // Recalculate the tickmarks and labels and update the stored state.
238
- if (this.isPropertyUpdated("min", "max", "startValue", "endValue")) {
239
- this.storePropertyState("min", "max");
240
-
241
- // Here the value props are changed programmatically (not by user interaction)
242
- // and it won't be "stepified" (rounded to the nearest step). 'Clip' them within
243
- // min and max bounderies and update the previous state reference.
244
- const normalizedStartValue = SliderBase.clipValue(this.startValue, this._effectiveMin, this._effectiveMax);
245
- this.startValue = normalizedStartValue;
246
- this.updateStateStorageAndFireInputEvent("startValue");
247
- this.storePropertyState("startValue");
248
-
249
- const normalizedEndValue = SliderBase.clipValue(this.endValue, this._effectiveMin, this._effectiveMax);
250
- this.endValue = normalizedEndValue;
251
- this.updateStateStorageAndFireInputEvent("endValue");
252
- this.storePropertyState("endValue");
253
- }
254
-
255
- // Labels must be updated if any of the min/max/step/labelInterval props are changed
256
- if (this.labelInterval && this.showTickmarks) {
257
- this._createLabels();
258
- }
259
-
260
- // Update the stored state for the labelInterval, if changed
261
- if (this.isPropertyUpdated("labelInterval")) {
262
- this.storePropertyState("labelInterval");
263
- }
264
- }
265
-
266
- _onfocusin() {
267
- // If this is the initial focusin of the component save its initial
268
- // value properties so they could be restored on ESC key press
269
- if (!this._endValueInitial) {
270
- this._startValueInitial = this.startValue;
271
- this._endValueInitial = this.endValue;
272
- }
273
-
274
- if (this.showTooltip) {
275
- this._tooltipVisibility = SliderBase.TOOLTIP_VISIBILITY.VISIBLE;
276
- }
277
- }
278
-
279
- /**
280
- * Handles focus out event of the focusable components inner elements.
281
- * Prevent focusout when the focus is getting initially set within the slider before the
282
- * slider customElement itself is finished focusing.
283
- *
284
- * Prevents the focus from leaving the Range Slider when the focus is managed between
285
- * its inner elements in result of user interactions.
286
- *
287
- * Resets the stored Range Slider's initial values saved when it was first focused
288
- *
289
- * @private
290
- */
291
- _onfocusout() {
292
- if (this._isFocusing()) {
293
- this._preventFocusOut();
294
- return;
295
- }
296
-
297
- this._setAffectedValue(undefined);
298
- this._startValueInitial = undefined;
299
- this._endValueInitial = undefined;
300
-
301
- if (this.showTooltip) {
302
- this._tooltipVisibility = SliderBase.TOOLTIP_VISIBILITY.HIDDEN;
303
- }
304
- }
305
-
306
- /**
307
- * Handles keyup logic. If one of the handles came across the other
308
- * swap the start and end values. Reset the affected value by the finished
309
- * user interaction.
310
- *
311
- * @private
312
- */
313
- _onkeyup() {
314
- super._onkeyup();
315
- this._setAffectedValue(undefined);
316
-
317
- if (this.startValue !== this._startValueAtBeginningOfAction || this.endValue !== this._endValueAtBeginningOfAction) {
318
- this.fireEvent("change");
319
- }
320
-
321
- this._startValueAtBeginningOfAction = undefined;
322
- this._endValueAtBeginningOfAction = undefined;
323
- }
324
-
325
- _handleActionKeyPress(e: KeyboardEvent) {
326
- this._startValueAtBeginningOfAction = this.startValue;
327
- this._endValueAtBeginningOfAction = this.endValue;
328
-
329
- if (isEscape(e)) {
330
- this.update(undefined, this._startValueInitial, this._endValueInitial);
331
- return;
332
- }
333
-
334
- // Set the target of the interaction based on the focused inner element
335
- this._setAffectedValueByFocusedElement();
336
-
337
- const min = this._effectiveMin;
338
- const max = this._effectiveMax;
339
- const affectedValue = this._valueAffected!;
340
-
341
- // If home/end key is pressed and no single handle is focused the active element
342
- // is the range selection - update both start and end values. Otherwise, if 'home'
343
- // is pressed the 'startValue'will be used for the start-handle offset calculation,
344
- // if 'End' is pressed - the 'endValue' will be used for the end-handle update.
345
- if ((isEnd(e) || isHome(e)) && !affectedValue) {
346
- this._homeEndForSelectedRange(e, isHome(e) ? "startValue" : "endValue", min, max);
347
- return;
348
- }
349
-
350
- // Calculate how much the value should be increased/decreased based on the action key
351
- const newValueOffset = this._handleActionKeyPressBase(e, affectedValue);
352
-
353
- if (!newValueOffset) {
354
- return;
355
- }
356
-
357
- // Update a single value if one of the handles is focused or the range if not already at min or max
358
- const ctor = this.constructor as typeof RangeSlider;
359
- if (affectedValue && !this._isPressInCurrentRange) {
360
- const propValue = this[affectedValue as keyof RangeSlider] as number;
361
- const newValue = ctor.clipValue(newValueOffset + propValue, min, max);
362
- this.update(affectedValue, newValue, undefined);
363
- } else if ((newValueOffset < 0 && this.startValue > min) || (newValueOffset > 0 && this.endValue < max)) {
364
- const newStartValue = ctor.clipValue(newValueOffset + this.startValue, min, max);
365
- const newEndValue = ctor.clipValue(newValueOffset + this.endValue, min, max);
366
- this.update(affectedValue, newStartValue, newEndValue);
367
- }
368
- }
369
-
370
- /**
371
- * Determines affected value (start/end) depending on the currently
372
- * active inner element within the Range Slider - used in the keyboard handling.
373
- *
374
- * @private
375
- */
376
- _setAffectedValueByFocusedElement() {
377
- if (this.shadowRoot!.activeElement === this._startHandle) {
378
- this._setAffectedValue("startValue");
379
- }
380
-
381
- if (this.shadowRoot!.activeElement === this._endHandle) {
382
- this._setAffectedValue("endValue");
383
- }
384
-
385
- if (this.shadowRoot!.activeElement === this._progressBar) {
386
- this._setAffectedValue(undefined);
387
- }
388
-
389
- this._setIsPressInCurrentRange(!this._valueAffected);
390
- }
391
-
392
- /**
393
- * Calculates the start and end values when the 'Home" or 'End' keys
394
- * are pressed on the selected range bar.
395
- *
396
- * @private
397
- */
398
- _homeEndForSelectedRange(e: KeyboardEvent, affectedValue: string, min: number, max: number) {
399
- const newValueOffset = this._handleActionKeyPressBase(e, affectedValue);
400
- const ctor = this.constructor as typeof RangeSlider;
401
- const newStartValue = ctor.clipValue(newValueOffset + this.startValue, min, max);
402
- const newEndValue = ctor.clipValue(newValueOffset + this.endValue, min, max);
403
-
404
- this.update(undefined, newStartValue, newEndValue);
405
- }
406
-
407
- /**
408
- * Update values, stored inner state and the visual UI representation of the component.
409
- * If no specific type of value property is passed - the range is selected - update both handles,
410
- * otherwise update the handle corresponding to the affected by the user interacton value prop.
411
- *
412
- * @private
413
- */
414
- update(affectedValue: string | undefined, startValue: number | undefined, endValue: number | undefined) {
415
- if (!affectedValue) {
416
- this.startValue = startValue!;
417
- this.updateStateStorageAndFireInputEvent("startValue");
418
-
419
- this.endValue = endValue!;
420
- this.updateStateStorageAndFireInputEvent("endValue");
421
- this._updateHandlesAndRange(0);
422
- } else {
423
- const newValue = endValue && affectedValue === "endValue" ? endValue : startValue;
424
- this._updateHandlesAndRange(newValue || 0);
425
-
426
- if (affectedValue === "startValue") {
427
- this.startValue = newValue!;
428
- this.updateStateStorageAndFireInputEvent("startValue");
429
- }
430
-
431
- if (affectedValue === "endValue") {
432
- this.endValue = newValue!;
433
- this.updateStateStorageAndFireInputEvent("endValue");
434
- }
435
- }
436
- }
437
-
438
- /**
439
- * Called when the user starts interacting with the slider
440
- *
441
- * @private
442
- */
443
- _onmousedown(e: TouchEvent | MouseEvent) {
444
- // If step is 0 no interaction is available because there is no constant
445
- // (equal for all user environments) quantitative representation of the value
446
- if (this.disabled || this._effectiveStep === 0) {
447
- return;
448
- }
449
-
450
- // Calculate the new value from the press position of the event
451
- const newValue = this.handleDownBase(e);
452
-
453
- // Determine the rest of the needed details from the start of the interaction.
454
- this._saveInteractionStartData(e, newValue);
455
-
456
- this.rangePressed = this._isPressInCurrentRange;
457
-
458
- // Do not yet update the RangeSlider if press is in range or over a handle.
459
- if (this._isPressInCurrentRange || this._handeIsPressed) {
460
- this._handeIsPressed = false;
461
- return;
462
- }
463
-
464
- // Update Slider UI and internal state
465
- this.update(this._valueAffected, newValue, undefined);
466
- }
467
-
468
- /**
469
- * Determines and saves needed values from the start of the interaction:
470
- *
471
- * Is the value calculated is within the currently selected range;
472
- * Initial pageX position of the start handle affected by the interaction;
473
- * Initial pageX value of the pressed postion;
474
- * Affected value property by the action;
475
- *
476
- * @private
477
- */
478
- _saveInteractionStartData(e: TouchEvent | MouseEvent, newValue: number) {
479
- const progressBarDom = this.shadowRoot!.querySelector(".ui5-slider-progress")!.getBoundingClientRect();
480
-
481
- // Save the state of the value properties on the start of the interaction
482
- this._startValueAtBeginningOfAction = this.startValue;
483
- this._endValueAtBeginningOfAction = this.endValue;
484
-
485
- // Save the initial press point coordinates (position)
486
- const ctor = this.constructor as typeof RangeSlider;
487
- this._initialPageXPosition = ctor.getPageXValueFromEvent(e);
488
- // Which element of the Range Slider is pressed and which value property to be modified on further interaction
489
- this._pressTargetAndAffectedValue(this._initialPageXPosition, newValue);
490
- // Use the progress bar to save the initial coordinates of the start-handle when the interaction begins.
491
- this._initialStartHandlePageX = this.directionStart === "left" ? progressBarDom.left : progressBarDom.right;
492
- }
493
-
494
- /**
495
- * Called when the user moves the slider
496
- *
497
- * @private
498
- */
499
- _handleMove(e: TouchEvent | MouseEvent) {
500
- e.preventDefault();
501
-
502
- // If 'step' is 0 no interaction is available as there is no constant quantitative representation of the value
503
- if (this.disabled || this._effectiveStep === 0) {
504
- return;
505
- }
506
-
507
- // Update UI and state when dragging a single Range Slider handle
508
- if (!this._isPressInCurrentRange) {
509
- this._updateValueOnHandleDrag(e);
510
- return;
511
- }
512
-
513
- // Updates UI and state when dragging of the whole selected range
514
- this._updateValueOnRangeDrag(e);
515
- }
516
-
517
- /**
518
- * Updates UI and state when dragging a single Range Slider handle
519
- *
520
- * @private
521
- */
522
- _updateValueOnHandleDrag(event: TouchEvent | MouseEvent) {
523
- const ctor = this.constructor as typeof RangeSlider;
524
- const newValue = ctor.getValueFromInteraction(event, this._effectiveStep, this._effectiveMin, this._effectiveMax, this.getBoundingClientRect(), this.directionStart);
525
- this.update(this._valueAffected, newValue, undefined);
526
- }
527
-
528
- /**
529
- * Updates UI and state when dragging of the whole selected range
530
- *
531
- * @private
532
- */
533
- _updateValueOnRangeDrag(event: TouchEvent | MouseEvent) {
534
- // Calculate the new 'start' and 'end' values from the offset between the original press point and the current position of the mouse
535
- const ctor = this.constructor as typeof RangeSlider;
536
- const currentPageXPos = ctor.getPageXValueFromEvent(event);
537
- const newValues = this._calculateRangeOffset(currentPageXPos, this._initialStartHandlePageX!);
538
-
539
- // No matter the which value is set as the one to be modified (by prev. user action) we want to modify both of them
540
- this._setAffectedValue(undefined);
541
-
542
- // Update the UI and the state according to the calculated new values
543
- this.update(undefined, newValues[0], newValues[1]);
544
- }
545
-
546
- _handleUp() {
547
- this._setAffectedValueByFocusedElement();
548
- this._setAffectedValue(undefined);
549
-
550
- if (this.startValue !== this._startValueAtBeginningOfAction || this.endValue !== this._endValueAtBeginningOfAction) {
551
- this.fireEvent("change");
552
- }
553
-
554
- this._setIsPressInCurrentRange(false);
555
- this.handleUpBase();
556
-
557
- this.rangePressed = false;
558
- this._startValueAtBeginningOfAction = undefined;
559
- this._endValueAtBeginningOfAction = undefined;
560
- }
561
-
562
- /**
563
- * Determines where the press occured and which values of the Range Slider
564
- * handles should be updated on further interaction.
565
- *
566
- * If the press is not in the selected range or over one of the Range Slider handles
567
- * determines which one from the value/endValue properties has to be updated
568
- * after the user action (based on closest handle).
569
- *
570
- * Set flags if the press is over a handle or in the selected range,
571
- * in such cases no values are changed on interaction start, but could be
572
- * updated later when dragging.
573
- *
574
- * @private
575
- */
576
- _pressTargetAndAffectedValue(clientX: number, value: number) {
577
- const startHandle = this.shadowRoot!.querySelector(".ui5-slider-handle--start")!;
578
- const endHandle = this.shadowRoot!.querySelector(".ui5-slider-handle--end")!;
579
-
580
- // Check if the press point is in the bounds of any of the Range Slider handles
581
- const handleStartDomRect = startHandle.getBoundingClientRect();
582
- const handleEndDomRect = endHandle.getBoundingClientRect();
583
- const inHandleStartDom = clientX >= handleStartDomRect.left && clientX <= handleStartDomRect.right;
584
- const inHandleEndDom = clientX >= handleEndDomRect.left && clientX <= handleEndDomRect.right;
585
-
586
- // Remove the flag for value in current range if the press action is over one of the handles
587
- if (inHandleEndDom || inHandleStartDom) {
588
- this._handeIsPressed = true;
589
- }
590
-
591
- // Return that handle that is closer to the press point
592
- if (inHandleEndDom || value > this.endValue) {
593
- this._setAffectedValue("endValue");
594
- }
595
-
596
- // If one of the handle is pressed return that one
597
- if (inHandleStartDom || value < this.startValue) {
598
- this._setAffectedValue("startValue");
599
- }
600
-
601
- // Flag if press is in the current select range
602
- const isNewValueInCurrentRange = this._startValueAtBeginningOfAction !== undefined && this._endValueAtBeginningOfAction !== undefined && value >= this._startValueAtBeginningOfAction && value <= this._endValueAtBeginningOfAction;
603
- this._setIsPressInCurrentRange(!(this._valueAffected || this._handeIsPressed) ? isNewValueInCurrentRange : false);
604
- }
605
-
606
- /**
607
- * Sets the value property (start/end) that will get updated
608
- * by a user action depending on that user action's characteristics
609
- * - mouse press position - cursor coordinates relative to the start/end handles
610
- * - selected inner element via a keyboard navigation
611
- *
612
- * @param {string} affectedValue The value that will get modified by the interaction
613
- * @private
614
- */
615
- _setAffectedValue(affectedValue: AffectedValue | undefined) {
616
- this._valueAffected = affectedValue;
617
-
618
- // If the values have been swapped reset the reversed flag
619
- if (this._areValuesReversed()) {
620
- this._setValuesAreReversed();
621
- }
622
- }
623
-
624
- /**
625
- * Flag if press action is made on the currently selected range of values
626
- *
627
- * @param {boolean} isPressInCurrentRange Did the current press action occur in the current range (between the two handles)
628
- * @private
629
- */
630
- _setIsPressInCurrentRange(isPressInCurrentRange: boolean) {
631
- this._isPressInCurrentRange = isPressInCurrentRange;
632
- }
633
-
634
- /**
635
- * Manage the focus between the focusable inner elements within the component.
636
- *
637
- * On initial focusin or if the whole range is affected by the user interaction
638
- * set the focus on the progress selection, otherwise on one of the Range Slider
639
- * handles based on the determined affected value by the user action.
640
- *
641
- * If one of the handles came across the other one in result of a user action
642
- * switch the focus between them to keep it visually consistent.
643
- *
644
- * Note:
645
- * In some cases this function is going to get called twice on one user action.
646
- *
647
- * 1. When the focus is initially set to an inner element it is done in the very beginning,
648
- * of an interaction - on 'mousedown' and 'keydown' events. The focus of the host custom element
649
- * is still not being received, causining an immediate focusout that we prevent by
650
- * calling this function once again.
651
- *
652
- * 2. When the focused is manually switched from one inner element to another.
653
- * The focusout handler is one and the same for all focusable parts within the
654
- * Range Slider and when is called it checks if it should keep the focus within
655
- * the component and which part of it should get focused if that is the case.
656
- *
657
- * @protected
658
- */
659
- focusInnerElement() {
660
- const isReversed = this._areValuesReversed();
661
- const affectedValue = this._valueAffected;
662
-
663
- if (this._isPressInCurrentRange || !affectedValue) {
664
- this._progressBar.focus();
665
- }
666
-
667
- if ((affectedValue === "startValue" && !isReversed) || (affectedValue === "endValue" && isReversed)) {
668
- this._startHandle.focus();
669
- }
670
-
671
- if ((affectedValue === "endValue" && !isReversed) || (affectedValue === "startValue" && isReversed)) {
672
- this._endHandle.focus();
673
- }
674
- }
675
-
676
- /**
677
- * Calculates startValue/endValue properties when the whole range is moved.
678
- *
679
- * Uses the change of the position of the start handle and adds the initially
680
- * selected range to it, to determine the whole range offset.
681
- *
682
- * @param {Integer} currentPageXPos The current horizontal position of the cursor/touch
683
- * @param {Integer} initialStartHandlePageXPos The initial horizontal position of the start handle
684
- *
685
- * @private
686
- */
687
- _calculateRangeOffset(currentPageXPos: number, initialStartHandlePageXPos: number) {
688
- // Return the current values if there is no difference in the
689
- // positions of the initial press and the current pointer
690
- if (this._initialPageXPosition === currentPageXPos) {
691
- return [this.startValue, this.endValue];
692
- }
693
-
694
- const min = this._effectiveMin;
695
- const max = this._effectiveMax;
696
- const selectedRange = this.endValue - this.startValue;
697
-
698
- // Computes the new value based on the difference of the current cursor location from the start of the interaction
699
- let startValue = this._calculateStartValueByOffset(currentPageXPos, initialStartHandlePageXPos);
700
-
701
- // When the end handle reaches the max possible value prevent the start handle from moving
702
- // And the opposite - if the start handle reaches the beginning of the slider keep the initially selected range.
703
- const ctor = this.constructor as typeof RangeSlider;
704
- startValue = ctor.clipValue(startValue, min, max - selectedRange);
705
-
706
- return [startValue, startValue + selectedRange];
707
- }
708
-
709
- /**
710
- * Computes the new value based on the difference of the current cursor location from the
711
- * start of the interaction.
712
- *
713
- * @param {Integer} currentPageXPos The current horizontal position of the cursor/touch
714
- * @param {Integer} initialStartHandlePageXPos The initial horizontal position of the start handle
715
- *
716
- * @private
717
- */
718
- _calculateStartValueByOffset(currentPageXPos: number, initialStartHandlePageXPos: number) {
719
- const min = this._effectiveMin;
720
- const max = this._effectiveMax;
721
- const step = this._effectiveStep;
722
- const dom = this.getBoundingClientRect();
723
-
724
- let startValue;
725
- let startValuePageX;
726
- let positionOffset;
727
-
728
- /* Depending on the dragging direction:
729
- - calculate the new position of the start handle from its old pageX value combined with the movement offset;
730
- - calculate the start value based on its new pageX coordinates;
731
- - 'stepify' the calculated value based on the specified step property; */
732
- const ctor = this.constructor as typeof RangeSlider;
733
- if (currentPageXPos > this._initialPageXPosition!) {
734
- // Difference between the new position of the pointer and when the press event initial occured
735
- positionOffset = currentPageXPos - this._initialPageXPosition!;
736
-
737
- startValuePageX = initialStartHandlePageXPos + positionOffset;
738
- startValue = ctor.computedValueFromPageX(startValuePageX, min, max, dom, this.directionStart);
739
- startValue = ctor.getSteppedValue(startValue, step, min);
740
- } else {
741
- positionOffset = this._initialPageXPosition! - currentPageXPos;
742
- startValuePageX = initialStartHandlePageXPos - positionOffset;
743
- startValue = ctor.computedValueFromPageX(startValuePageX, min, max, dom, this.directionStart);
744
- startValue = ctor.getSteppedValue(startValue, step, min);
745
- }
746
-
747
- return startValue;
748
- }
749
-
750
- /**
751
- * Updates the visual representation of the component by calculating
752
- * the styles of the handles and the range selection based on the new state.
753
- *
754
- * @private
755
- */
756
- _updateHandlesAndRange(newValue: number) {
757
- const max = this._effectiveMax;
758
- const min = this._effectiveMin;
759
- const prevStartValue = this.getStoredPropertyState("startValue") || 0;
760
- const prevEndValue = this.getStoredPropertyState("endValue") || 0;
761
- const affectedValue = this._valueAffected;
762
-
763
- // The value according to which we update the UI can be either the startValue
764
- // or the endValue property. It is determined in _getClosestHandle()
765
- // depending on to which handle is closer the user interaction.
766
- if (affectedValue === "startValue") {
767
- this._selectedRange = (prevEndValue - newValue) / (max - min);
768
- this._firstHandlePositionFromStart = ((newValue - min) / (max - min)) * 100;
769
- } else if (affectedValue === "endValue") {
770
- this._selectedRange = ((newValue - prevStartValue)) / (max - min);
771
- this._secondHandlePositionFromStart = ((newValue - min) / (max - min)) * 100;
772
- } else {
773
- // When both values are changed - UI sync or moving the whole selected range:
774
- this._selectedRange = ((this.endValue - this.startValue)) / (max - min);
775
- this._firstHandlePositionFromStart = ((this.startValue - min) / (max - min)) * 100;
776
- this._secondHandlePositionFromStart = ((this.endValue - min) / (max - min)) * 100;
777
- }
778
- }
779
-
780
- /**
781
- * Swaps the start and end values of the handles if one came accros the other:
782
- * - If the start value is greater than the endValue swap them and their handles
783
- * - If the endValue become less than the start value swap them and their handles
784
- *
785
- * Switches the focus to the opposite of the currently focused handle.
786
- *
787
- * Note: Only the property values are reversed, the DOM elements of the handles
788
- * corresponding to them are never switched.
789
- *
790
- * @private
791
- */
792
- _swapValues() {
793
- const affectedValue = this._valueAffected;
794
- if (!affectedValue) {
795
- return;
796
- }
797
-
798
- if (affectedValue === "startValue" && this.startValue > this.endValue) {
799
- const prevEndValue = this.endValue;
800
- this.endValue = this.startValue;
801
- this.startValue = prevEndValue;
802
- }
803
-
804
- if (affectedValue === "endValue" && this.endValue < this.startValue) {
805
- const prevStartValue = this.startValue;
806
- this.startValue = this.endValue;
807
- this.endValue = prevStartValue;
808
- }
809
-
810
- this._setValuesAreReversed();
811
- this._updateHandlesAndRange(this[affectedValue]);
812
- this.focusInnerElement();
813
- this.syncUIAndState();
814
- }
815
-
816
- /**
817
- * Flag that we have swapped the values of the 'start' and 'end' properties,
818
- * to correctly switch the focus within the component from one handle to another
819
- * when the swapping is finished. As we only swap property values and not
820
- * the handle elements themselves, we must also swap their focus.
821
- *
822
- * @private
823
- */
824
- _setValuesAreReversed() {
825
- this._reversedValues = !this._reversedValues;
826
- }
827
-
828
- _areValuesReversed() {
829
- return this._reversedValues;
830
- }
831
-
832
- get tickmarksObject() {
833
- const count = this._tickmarksCount;
834
- const arr = [];
835
-
836
- if (this._hiddenTickmarks) {
837
- return [false, false];
838
- }
839
-
840
- for (let i = 0; i <= count; i++) {
841
- const isBiggerThanStartValue = this._effectiveMin + (i * this.step) >= this.startValue;
842
- const isBiggerThanEndValue = this._effectiveMin + (i * this.step) <= this.endValue;
843
-
844
- arr.push(isBiggerThanStartValue && isBiggerThanEndValue);
845
- }
846
-
847
- return arr;
848
- }
849
-
850
- get _startHandle() {
851
- return this.shadowRoot!.querySelector<HTMLElement>(".ui5-slider-handle--start")!;
852
- }
853
-
854
- get _endHandle() {
855
- return this.shadowRoot!.querySelector<HTMLElement>(".ui5-slider-handle--end")!;
856
- }
857
-
858
- get _progressBar() {
859
- return this.shadowRoot!.querySelector<HTMLElement>(".ui5-slider-progress")!;
860
- }
861
-
862
- get _ariaLabelledByStartHandleRefs() {
863
- return [`${this._id}-accName`, `${this._id}-startHandleDesc`].join(" ").trim();
864
- }
865
-
866
- get _ariaLabelledByEndHandleRefs() {
867
- return [`${this._id}-accName`, `${this._id}-endHandleDesc`].join(" ").trim();
868
- }
869
-
870
- get _ariaLabelledByProgressBarRefs() {
871
- return [`${this._id}-accName`, `${this._id}-sliderDesc`].join(" ").trim();
872
- }
873
-
874
- get styles() {
875
- return {
876
- progress: {
877
- "width": `${this._selectedRange! * 100}%`,
878
- "transform-origin": `${this.directionStart} top`,
879
- [this.directionStart]: `${this._firstHandlePositionFromStart!}%`,
880
- },
881
- startHandle: {
882
- [this.directionStart]: `${this._firstHandlePositionFromStart!}%`,
883
- },
884
- endHandle: {
885
- [this.directionStart]: `${this._secondHandlePositionFromStart!}%`,
886
- },
887
- label: {
888
- "width": `${this._labelWidth}%`,
889
- },
890
- labelContainer: {
891
- "width": `100%`,
892
- [this.directionStart]: `-${this._labelWidth / 2}%`,
893
- },
894
- tooltip: {
895
- "visibility": `${this._tooltipVisibility}`,
896
- },
897
- };
898
- }
899
-
900
- static async onDefine() {
901
- RangeSlider.i18nBundle = await getI18nBundle("@ui5/webcomponents");
902
- }
903
- }
904
-
905
- RangeSlider.define();
906
-
907
- export default RangeSlider;