@ui5/webcomponents 0.0.0-453158269 → 0.0.0-49cef2d02

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 (1295) hide show
  1. package/.dev-server-port +1 -0
  2. package/CHANGELOG.md +236 -0
  3. package/README.md +9 -7
  4. package/dist/Avatar.d.ts +251 -0
  5. package/dist/Avatar.js +204 -348
  6. package/dist/Avatar.js.map +1 -0
  7. package/dist/AvatarGroup.js +30 -12
  8. package/dist/Badge.d.ts +82 -0
  9. package/dist/Badge.js +65 -116
  10. package/dist/Badge.js.map +1 -0
  11. package/dist/Breadcrumbs.d.ts +200 -0
  12. package/dist/Breadcrumbs.js +439 -574
  13. package/dist/Breadcrumbs.js.map +1 -0
  14. package/dist/BreadcrumbsItem.d.ts +73 -0
  15. package/dist/BreadcrumbsItem.js +34 -88
  16. package/dist/BreadcrumbsItem.js.map +1 -0
  17. package/dist/BusyIndicator.js +7 -10
  18. package/dist/Button.d.ts +257 -0
  19. package/dist/Button.js +236 -452
  20. package/dist/Button.js.map +1 -0
  21. package/dist/Calendar.d.ts +251 -0
  22. package/dist/Calendar.js +268 -364
  23. package/dist/Calendar.js.map +1 -0
  24. package/dist/CalendarDate.d.ts +28 -0
  25. package/dist/CalendarDate.js +20 -30
  26. package/dist/CalendarDate.js.map +1 -0
  27. package/dist/CalendarHeader.d.ts +87 -0
  28. package/dist/CalendarHeader.js +144 -194
  29. package/dist/CalendarHeader.js.map +1 -0
  30. package/dist/CalendarPart.d.ts +53 -0
  31. package/dist/CalendarPart.js +71 -92
  32. package/dist/CalendarPart.js.map +1 -0
  33. package/dist/Card.d.ts +91 -0
  34. package/dist/Card.js +68 -123
  35. package/dist/Card.js.map +1 -0
  36. package/dist/CardHeader.d.ts +123 -0
  37. package/dist/CardHeader.js +153 -241
  38. package/dist/CardHeader.js.map +1 -0
  39. package/dist/Carousel.js +52 -11
  40. package/dist/CheckBox.d.ts +256 -0
  41. package/dist/CheckBox.js +219 -408
  42. package/dist/CheckBox.js.map +1 -0
  43. package/dist/ColorPalette.d.ts +140 -0
  44. package/dist/ColorPalette.js +362 -455
  45. package/dist/ColorPalette.js.map +1 -0
  46. package/dist/ColorPaletteItem.d.ts +68 -0
  47. package/dist/ColorPaletteItem.js +66 -114
  48. package/dist/ColorPaletteItem.js.map +1 -0
  49. package/dist/ColorPalettePopover.d.ts +128 -0
  50. package/dist/ColorPalettePopover.js +141 -203
  51. package/dist/ColorPalettePopover.js.map +1 -0
  52. package/dist/ColorPicker.d.ts +147 -0
  53. package/dist/ColorPicker.js +371 -565
  54. package/dist/ColorPicker.js.map +1 -0
  55. package/dist/ComboBox.js +72 -18
  56. package/dist/ComboBoxGroupItem.js +7 -7
  57. package/dist/ComboBoxItem.js +4 -4
  58. package/dist/CustomListItem.d.ts +44 -0
  59. package/dist/CustomListItem.js +52 -79
  60. package/dist/CustomListItem.js.map +1 -0
  61. package/dist/DateComponentBase.d.ts +83 -0
  62. package/dist/DateComponentBase.js +101 -143
  63. package/dist/DateComponentBase.js.map +1 -0
  64. package/dist/DatePicker.d.ts +448 -0
  65. package/dist/DatePicker.js +542 -724
  66. package/dist/DatePicker.js.map +1 -0
  67. package/dist/DateRangePicker.d.ts +165 -0
  68. package/dist/DateRangePicker.js +265 -309
  69. package/dist/DateRangePicker.js.map +1 -0
  70. package/dist/DateTimePicker.d.ts +212 -0
  71. package/dist/DateTimePicker.js +255 -344
  72. package/dist/DateTimePicker.js.map +1 -0
  73. package/dist/DayPicker.d.ts +243 -0
  74. package/dist/DayPicker.js +605 -730
  75. package/dist/DayPicker.js.map +1 -0
  76. package/dist/Dialog.d.ts +236 -0
  77. package/dist/Dialog.js +386 -545
  78. package/dist/Dialog.js.map +1 -0
  79. package/dist/DurationPicker.js +5 -5
  80. package/dist/FileUploader.d.ts +237 -0
  81. package/dist/FileUploader.js +304 -487
  82. package/dist/FileUploader.js.map +1 -0
  83. package/dist/Filters.d.ts +5 -0
  84. package/dist/Filters.js +10 -21
  85. package/dist/Filters.js.map +1 -0
  86. package/dist/GroupHeaderListItem.d.ts +45 -0
  87. package/dist/GroupHeaderListItem.js +42 -76
  88. package/dist/GroupHeaderListItem.js.map +1 -0
  89. package/dist/Icon.d.ts +252 -0
  90. package/dist/Icon.js +183 -333
  91. package/dist/Icon.js.map +1 -0
  92. package/dist/Input.d.ts +598 -0
  93. package/dist/Input.js +1095 -1604
  94. package/dist/Input.js.map +1 -0
  95. package/dist/Interfaces.d.ts +161 -0
  96. package/dist/Interfaces.js +45 -85
  97. package/dist/Interfaces.js.map +1 -0
  98. package/dist/Label.d.ts +98 -0
  99. package/dist/Label.js +63 -124
  100. package/dist/Label.js.map +1 -0
  101. package/dist/Link.d.ts +222 -0
  102. package/dist/Link.js +177 -326
  103. package/dist/Link.js.map +1 -0
  104. package/dist/List.d.ts +383 -0
  105. package/dist/List.js +707 -1016
  106. package/dist/List.js.map +1 -0
  107. package/dist/ListItem.d.ts +196 -0
  108. package/dist/ListItem.js +298 -375
  109. package/dist/ListItem.js.map +1 -0
  110. package/dist/ListItemBase.d.ts +61 -0
  111. package/dist/ListItemBase.js +114 -167
  112. package/dist/ListItemBase.js.map +1 -0
  113. package/dist/Menu.d.ts +183 -0
  114. package/dist/Menu.js +426 -452
  115. package/dist/Menu.js.map +1 -0
  116. package/dist/MenuItem.d.ts +124 -0
  117. package/dist/MenuItem.js +67 -136
  118. package/dist/MenuItem.js.map +1 -0
  119. package/dist/MessageStrip.d.ts +135 -0
  120. package/dist/MessageStrip.js +119 -207
  121. package/dist/MessageStrip.js.map +1 -0
  122. package/dist/MonthPicker.d.ts +109 -0
  123. package/dist/MonthPicker.js +262 -278
  124. package/dist/MonthPicker.js.map +1 -0
  125. package/dist/MultiComboBox.js +169 -44
  126. package/dist/MultiComboBoxGroupItem.js +7 -7
  127. package/dist/MultiComboBoxItem.js +4 -4
  128. package/dist/MultiInput.js +28 -12
  129. package/dist/Option.js +8 -8
  130. package/dist/Panel.d.ts +238 -0
  131. package/dist/Panel.js +230 -385
  132. package/dist/Panel.js.map +1 -0
  133. package/dist/Popover.d.ts +329 -0
  134. package/dist/Popover.js +519 -762
  135. package/dist/Popover.js.map +1 -0
  136. package/dist/Popup.d.ts +290 -0
  137. package/dist/Popup.js +403 -567
  138. package/dist/Popup.js.map +1 -0
  139. package/dist/ProgressIndicator.d.ts +121 -0
  140. package/dist/ProgressIndicator.js +121 -207
  141. package/dist/ProgressIndicator.js.map +1 -0
  142. package/dist/RadioButton.js +40 -20
  143. package/dist/RadioButtonGroup.js +1 -1
  144. package/dist/RangeSlider.d.ts +363 -0
  145. package/dist/RangeSlider.js +682 -753
  146. package/dist/RangeSlider.js.map +1 -0
  147. package/dist/RatingIndicator.js +13 -8
  148. package/dist/ResponsivePopover.js +12 -4
  149. package/dist/SegmentedButton.js +26 -22
  150. package/dist/SegmentedButtonItem.js +6 -6
  151. package/dist/Select.js +43 -16
  152. package/dist/Slider.d.ts +163 -0
  153. package/dist/Slider.js +241 -259
  154. package/dist/Slider.js.map +1 -0
  155. package/dist/SliderBase.d.ts +357 -0
  156. package/dist/SliderBase.js +589 -795
  157. package/dist/SliderBase.js.map +1 -0
  158. package/dist/SplitButton.d.ts +220 -0
  159. package/dist/SplitButton.js +211 -382
  160. package/dist/SplitButton.js.map +1 -0
  161. package/dist/StandardListItem.d.ts +156 -0
  162. package/dist/StandardListItem.js +80 -159
  163. package/dist/StandardListItem.js.map +1 -0
  164. package/dist/StepInput.d.ts +301 -0
  165. package/dist/StepInput.js +378 -615
  166. package/dist/StepInput.js.map +1 -0
  167. package/dist/SuggestionGroupItem.d.ts +35 -0
  168. package/dist/SuggestionGroupItem.js +35 -51
  169. package/dist/SuggestionGroupItem.js.map +1 -0
  170. package/dist/SuggestionItem.d.ts +104 -0
  171. package/dist/SuggestionItem.js +49 -131
  172. package/dist/SuggestionItem.js.map +1 -0
  173. package/dist/SuggestionListItem.d.ts +47 -0
  174. package/dist/SuggestionListItem.js +38 -52
  175. package/dist/SuggestionListItem.js.map +1 -0
  176. package/dist/Switch.d.ts +167 -0
  177. package/dist/Switch.js +136 -236
  178. package/dist/Switch.js.map +1 -0
  179. package/dist/Tab.js +62 -19
  180. package/dist/TabContainer.js +219 -164
  181. package/dist/TabSeparator.js +11 -4
  182. package/dist/Table.d.ts +426 -0
  183. package/dist/Table.js +792 -1118
  184. package/dist/Table.js.map +1 -0
  185. package/dist/TableCell.d.ts +51 -0
  186. package/dist/TableCell.js +43 -60
  187. package/dist/TableCell.js.map +1 -0
  188. package/dist/TableColumn.d.ts +101 -0
  189. package/dist/TableColumn.js +53 -99
  190. package/dist/TableColumn.js.map +1 -0
  191. package/dist/TableGroupRow.d.ts +79 -0
  192. package/dist/TableGroupRow.js +97 -134
  193. package/dist/TableGroupRow.js.map +1 -0
  194. package/dist/TableRow.d.ts +160 -0
  195. package/dist/TableRow.js +315 -401
  196. package/dist/TableRow.js.map +1 -0
  197. package/dist/TextArea.js +56 -57
  198. package/dist/TimePicker.d.ts +115 -0
  199. package/dist/TimePicker.js +60 -96
  200. package/dist/TimePicker.js.map +1 -0
  201. package/dist/TimePickerBase.d.ts +180 -0
  202. package/dist/TimePickerBase.js +341 -443
  203. package/dist/TimePickerBase.js.map +1 -0
  204. package/dist/TimeSelection.d.ts +162 -0
  205. package/dist/TimeSelection.js +359 -474
  206. package/dist/TimeSelection.js.map +1 -0
  207. package/dist/Title.d.ts +69 -0
  208. package/dist/Title.js +62 -105
  209. package/dist/Title.js.map +1 -0
  210. package/dist/Toast.js +6 -6
  211. package/dist/ToggleButton.js +5 -8
  212. package/dist/Token.js +24 -7
  213. package/dist/Tokenizer.js +115 -25
  214. package/dist/Tree.js +122 -58
  215. package/dist/TreeItem.js +35 -120
  216. package/dist/TreeItemBase.js +431 -0
  217. package/dist/TreeItemCustom.js +102 -0
  218. package/dist/TreeList.js +48 -0
  219. package/dist/WheelSlider.d.ts +122 -0
  220. package/dist/WheelSlider.js +302 -410
  221. package/dist/WheelSlider.js.map +1 -0
  222. package/dist/YearPicker.d.ts +105 -0
  223. package/dist/YearPicker.js +299 -304
  224. package/dist/YearPicker.js.map +1 -0
  225. package/dist/api.json +1 -7488
  226. package/dist/assets/HT-1000.59a0ea5a.jpg +0 -0
  227. package/dist/assets/HT-1010.7b05e4f5.jpg +0 -0
  228. package/dist/assets/HT-1022.6fa171f0.jpg +0 -0
  229. package/dist/assets/John_Miller.fc9d0d73.png +0 -0
  230. package/dist/assets/Lamp_avatar_01.ab251b40.jpg +0 -0
  231. package/dist/assets/SAP-icons-TNT.fa06c05f.js +1 -0
  232. package/dist/assets/SAP-icons-business-suite.7cff1fd8.js +1 -0
  233. package/dist/assets/SAP-icons.7f154911.js +1 -0
  234. package/dist/assets/SAP-icons.e76c8241.js +1 -0
  235. package/dist/assets/ar.76457d6b.js +1 -0
  236. package/dist/assets/ar_EG.facab575.js +1 -0
  237. package/dist/assets/ar_SA.037c760a.js +1 -0
  238. package/dist/assets/bg.eb54e36a.js +1 -0
  239. package/dist/assets/ca.1047c043.js +1 -0
  240. package/dist/assets/cs.47109072.js +1 -0
  241. package/dist/assets/da.1562c279.js +1 -0
  242. package/dist/assets/de.3397b9d2.js +1 -0
  243. package/dist/assets/de_AT.fb777626.js +1 -0
  244. package/dist/assets/de_CH.c4011bf2.js +1 -0
  245. package/dist/assets/el.52a181c7.js +1 -0
  246. package/dist/assets/el_CY.065e8a48.js +1 -0
  247. package/dist/assets/en.8b571af2.js +1 -0
  248. package/dist/assets/en_AU.29f5e0e2.js +1 -0
  249. package/dist/assets/en_GB.b0afb274.js +1 -0
  250. package/dist/assets/en_HK.188c8a39.js +1 -0
  251. package/dist/assets/en_IE.b52bdf4f.js +1 -0
  252. package/dist/assets/en_IN.5925f501.js +1 -0
  253. package/dist/assets/en_NZ.adc1b6af.js +1 -0
  254. package/dist/assets/en_PG.2e475ab9.js +1 -0
  255. package/dist/assets/en_SG.400dc7e5.js +1 -0
  256. package/dist/assets/en_ZA.06de0b73.js +1 -0
  257. package/dist/assets/es.d137c08c.js +1 -0
  258. package/dist/assets/es_AR.a719c078.js +1 -0
  259. package/dist/assets/es_BO.ba051d49.js +1 -0
  260. package/dist/assets/es_CL.876855d2.js +1 -0
  261. package/dist/assets/es_CO.51c37c4d.js +1 -0
  262. package/dist/assets/es_MX.c11d012e.js +1 -0
  263. package/dist/assets/es_PE.1a5de4db.js +1 -0
  264. package/dist/assets/es_UY.29036823.js +1 -0
  265. package/dist/assets/es_VE.22e2164a.js +1 -0
  266. package/dist/assets/et.d802827f.js +1 -0
  267. package/dist/assets/fa.59b6aa5f.js +1 -0
  268. package/dist/assets/fi.2cc79303.js +1 -0
  269. package/dist/assets/fr.055c2d0d.js +1 -0
  270. package/dist/assets/fr_BE.79a4448b.js +1 -0
  271. package/dist/assets/fr_CA.0c4a98e4.js +1 -0
  272. package/dist/assets/fr_CH.ba0db8bd.js +1 -0
  273. package/dist/assets/fr_LU.21a6bcea.js +1 -0
  274. package/dist/assets/he.e187c6df.js +1 -0
  275. package/dist/assets/hi.cb35adb1.js +1 -0
  276. package/dist/assets/hr.24bc905c.js +1 -0
  277. package/dist/assets/hu.aadbd74c.js +1 -0
  278. package/dist/assets/id.b9bd26e5.js +1 -0
  279. package/dist/assets/it.36ffae4a.js +1 -0
  280. package/dist/assets/it_CH.7ef1e2bf.js +1 -0
  281. package/dist/assets/ja.a08af783.js +1 -0
  282. package/dist/assets/kitchen-scripts.489c25fb.css +1 -0
  283. package/dist/assets/kitchen-scripts.ec775613.js +1 -0
  284. package/dist/assets/kk.5d3dddbe.js +1 -0
  285. package/dist/assets/ko.264fdf35.js +1 -0
  286. package/dist/assets/loading.b2cd685f.gif +0 -0
  287. package/dist/assets/lt.b967d42b.js +1 -0
  288. package/dist/assets/lv.9c0f8206.js +1 -0
  289. package/dist/assets/messagebundle_ar.3285e748.js +1 -0
  290. package/dist/assets/messagebundle_ar.7f1e385c.js +1 -0
  291. package/dist/assets/messagebundle_bg.67505cb7.js +1 -0
  292. package/dist/assets/messagebundle_bg.eba3e906.js +1 -0
  293. package/dist/assets/messagebundle_ca.47eb5246.js +1 -0
  294. package/dist/assets/messagebundle_ca.64fb370c.js +1 -0
  295. package/dist/assets/messagebundle_cs.2c9254dc.js +1 -0
  296. package/dist/assets/messagebundle_cs.ce8b8a69.js +1 -0
  297. package/dist/assets/messagebundle_cy.3dad0e1d.js +1 -0
  298. package/dist/assets/messagebundle_cy.b66ab3d7.js +1 -0
  299. package/dist/assets/messagebundle_da.7306ba78.js +1 -0
  300. package/dist/assets/messagebundle_da.ff79429b.js +1 -0
  301. package/dist/assets/messagebundle_de.11a43c3f.js +1 -0
  302. package/dist/assets/messagebundle_de.e9f4d979.js +1 -0
  303. package/dist/assets/messagebundle_el.50666070.js +1 -0
  304. package/dist/assets/messagebundle_el.5313ff1a.js +1 -0
  305. package/dist/assets/messagebundle_en.4d827ce9.js +1 -0
  306. package/dist/assets/messagebundle_en.edda053c.js +1 -0
  307. package/dist/assets/messagebundle_en_GB.9eb5f8cf.js +1 -0
  308. package/dist/assets/messagebundle_en_GB.b09b6a64.js +1 -0
  309. package/dist/assets/messagebundle_en_US_sappsd.7d173b62.js +1 -0
  310. package/dist/assets/messagebundle_en_US_sappsd.c97ca89f.js +1 -0
  311. package/dist/assets/messagebundle_en_US_saprigi.443cefd7.js +1 -0
  312. package/dist/assets/messagebundle_en_US_saprigi.d0b577b7.js +1 -0
  313. package/dist/assets/messagebundle_en_US_saptrc.7da9b71b.js +1 -0
  314. package/dist/assets/messagebundle_en_US_saptrc.ec370551.js +1 -0
  315. package/dist/assets/messagebundle_es.3b0d6da4.js +1 -0
  316. package/dist/assets/messagebundle_es.881ff0f9.js +1 -0
  317. package/dist/assets/messagebundle_es_MX.3fc62f39.js +1 -0
  318. package/dist/assets/messagebundle_es_MX.da0228db.js +1 -0
  319. package/dist/assets/messagebundle_et.2cfc3295.js +1 -0
  320. package/dist/assets/messagebundle_et.45f3eda8.js +1 -0
  321. package/dist/assets/messagebundle_fi.17dccdfe.js +1 -0
  322. package/dist/assets/messagebundle_fi.f62f59fc.js +1 -0
  323. package/dist/assets/messagebundle_fr.01378189.js +1 -0
  324. package/dist/assets/messagebundle_fr.7d7c418f.js +1 -0
  325. package/dist/assets/messagebundle_fr_CA.2594af28.js +1 -0
  326. package/dist/assets/messagebundle_fr_CA.a4592fb9.js +1 -0
  327. package/dist/assets/messagebundle_hi.0dd7cf25.js +1 -0
  328. package/dist/assets/messagebundle_hi.2f3db639.js +1 -0
  329. package/dist/assets/messagebundle_hr.22e41fe6.js +1 -0
  330. package/dist/assets/messagebundle_hr.f8282341.js +1 -0
  331. package/dist/assets/messagebundle_hu.2589bdb3.js +1 -0
  332. package/dist/assets/messagebundle_hu.31a245d6.js +1 -0
  333. package/dist/assets/messagebundle_in.52c1e21c.js +1 -0
  334. package/dist/assets/messagebundle_in.920ee55c.js +1 -0
  335. package/dist/assets/messagebundle_it.146c4b3c.js +1 -0
  336. package/dist/assets/messagebundle_it.7c4db606.js +1 -0
  337. package/dist/assets/messagebundle_iw.2766f5a1.js +1 -0
  338. package/dist/assets/messagebundle_iw.668edbae.js +1 -0
  339. package/dist/assets/messagebundle_ja.4ca0da85.js +1 -0
  340. package/dist/assets/messagebundle_ja.b0b6d3d0.js +1 -0
  341. package/dist/assets/messagebundle_kk.f1d95e67.js +1 -0
  342. package/dist/assets/messagebundle_kk.f9132ede.js +1 -0
  343. package/dist/assets/messagebundle_ko.a9126af1.js +1 -0
  344. package/dist/assets/messagebundle_ko.d23a9de8.js +1 -0
  345. package/dist/assets/messagebundle_lt.1c86044c.js +1 -0
  346. package/dist/assets/messagebundle_lt.e2f6f5b0.js +1 -0
  347. package/dist/assets/messagebundle_lv.023b46ad.js +1 -0
  348. package/dist/assets/messagebundle_lv.6b0ad93c.js +1 -0
  349. package/dist/assets/messagebundle_ms.12fa7211.js +1 -0
  350. package/dist/assets/messagebundle_ms.8d8ac7f1.js +1 -0
  351. package/dist/assets/messagebundle_nl.1bb5da42.js +1 -0
  352. package/dist/assets/messagebundle_nl.3d8877e1.js +1 -0
  353. package/dist/assets/messagebundle_no.416b83e7.js +1 -0
  354. package/dist/assets/messagebundle_no.c7ee6784.js +1 -0
  355. package/dist/assets/messagebundle_pl.0d1b3dd1.js +1 -0
  356. package/dist/assets/messagebundle_pl.942cdbbd.js +1 -0
  357. package/dist/assets/messagebundle_pt.027e899b.js +1 -0
  358. package/dist/assets/messagebundle_pt.33ff9d42.js +1 -0
  359. package/dist/assets/messagebundle_pt_PT.9bca19db.js +1 -0
  360. package/dist/assets/messagebundle_pt_PT.a91f6468.js +1 -0
  361. package/dist/assets/messagebundle_ro.80e6cfad.js +1 -0
  362. package/dist/assets/messagebundle_ro.bd2e01e0.js +1 -0
  363. package/dist/assets/messagebundle_ru.388e4272.js +1 -0
  364. package/dist/assets/messagebundle_ru.e5bfb3ae.js +1 -0
  365. package/dist/assets/messagebundle_sh.122ca47b.js +1 -0
  366. package/dist/assets/messagebundle_sh.6d1a0a62.js +1 -0
  367. package/dist/assets/messagebundle_sk.1c800907.js +1 -0
  368. package/dist/assets/messagebundle_sk.66d70983.js +1 -0
  369. package/dist/assets/messagebundle_sl.3f1a077f.js +1 -0
  370. package/dist/assets/messagebundle_sl.af7daebc.js +1 -0
  371. package/dist/assets/messagebundle_sv.71f16a40.js +1 -0
  372. package/dist/assets/messagebundle_sv.d8d543df.js +1 -0
  373. package/dist/assets/messagebundle_th.700d6a4a.js +1 -0
  374. package/dist/assets/messagebundle_th.f54d55d7.js +1 -0
  375. package/dist/assets/messagebundle_tr.6f267da9.js +1 -0
  376. package/dist/assets/messagebundle_tr.971a97d0.js +1 -0
  377. package/dist/assets/messagebundle_uk.52e9f0c8.js +1 -0
  378. package/dist/assets/messagebundle_uk.e0830675.js +1 -0
  379. package/dist/assets/messagebundle_vi.57d3d183.js +1 -0
  380. package/dist/assets/messagebundle_vi.e9fe4caa.js +1 -0
  381. package/dist/assets/messagebundle_zh_CN.8ff0766b.js +1 -0
  382. package/dist/assets/messagebundle_zh_CN.9669c0a2.js +1 -0
  383. package/dist/assets/messagebundle_zh_TW.25b49650.js +1 -0
  384. package/dist/assets/messagebundle_zh_TW.4841569f.js +1 -0
  385. package/dist/assets/ms.5a523fbe.js +1 -0
  386. package/dist/assets/nb.6e98bbca.js +1 -0
  387. package/dist/assets/nl.84e9e6df.js +1 -0
  388. package/dist/assets/nl_BE.0f374ea5.js +1 -0
  389. package/dist/assets/parameters-bundle.css.06e5f6af.js +1 -0
  390. package/dist/assets/parameters-bundle.css.09fdcedf.js +1 -0
  391. package/dist/assets/parameters-bundle.css.0c16556f.js +1 -0
  392. package/dist/assets/parameters-bundle.css.1024d408.js +1 -0
  393. package/dist/assets/parameters-bundle.css.12ef5553.js +1 -0
  394. package/dist/assets/parameters-bundle.css.1d5159c7.js +1 -0
  395. package/dist/assets/parameters-bundle.css.2ff57cb9.js +1 -0
  396. package/dist/assets/parameters-bundle.css.3d586108.js +1 -0
  397. package/dist/assets/parameters-bundle.css.3fe96be2.js +1 -0
  398. package/dist/assets/parameters-bundle.css.44ff7825.js +1 -0
  399. package/dist/assets/parameters-bundle.css.50f83b44.js +1 -0
  400. package/dist/assets/parameters-bundle.css.58325286.js +1 -0
  401. package/dist/assets/parameters-bundle.css.5c29069a.js +1 -0
  402. package/dist/assets/parameters-bundle.css.759ff23e.js +1 -0
  403. package/dist/assets/parameters-bundle.css.76ee50df.js +1 -0
  404. package/dist/assets/parameters-bundle.css.7ad77620.js +1 -0
  405. package/dist/assets/parameters-bundle.css.828caf0e.js +1 -0
  406. package/dist/assets/parameters-bundle.css.89d7ea85.js +1 -0
  407. package/dist/assets/parameters-bundle.css.a1f2b381.js +1 -0
  408. package/dist/assets/parameters-bundle.css.a9042929.js +1 -0
  409. package/dist/assets/parameters-bundle.css.ab7cc9c4.js +1 -0
  410. package/dist/assets/parameters-bundle.css.c3acfe91.js +1 -0
  411. package/dist/assets/parameters-bundle.css.e7002fc1.js +1 -0
  412. package/dist/assets/parameters-bundle.css.fe4c8069.js +1 -0
  413. package/dist/assets/pl.c8acba9e.js +1 -0
  414. package/dist/assets/pt.676d5650.js +1 -0
  415. package/dist/assets/pt_PT.0bbc2da6.js +1 -0
  416. package/dist/assets/ro.10993af2.js +1 -0
  417. package/dist/assets/ru.4aba168e.js +1 -0
  418. package/dist/assets/ru_UA.334d6613.js +1 -0
  419. package/dist/assets/sk.3183c85e.js +1 -0
  420. package/dist/assets/sl.edad6042.js +1 -0
  421. package/dist/assets/sr.3e293379.js +1 -0
  422. package/dist/assets/sr_Latn.0f4a03c3.js +1 -0
  423. package/dist/assets/sv.e76e14e4.js +1 -0
  424. package/dist/assets/th.f5491ec1.js +1 -0
  425. package/dist/assets/tr.3b838818.js +1 -0
  426. package/dist/assets/uk.ebbd81a0.js +1 -0
  427. package/dist/assets/vi.87616fa0.js +1 -0
  428. package/dist/assets/woman_avatar_5.7316a316.png +0 -0
  429. package/dist/assets/zh_CN.de478ef9.js +1 -0
  430. package/dist/assets/zh_HK.834c3161.js +1 -0
  431. package/dist/assets/zh_SG.13241ee3.js +1 -0
  432. package/dist/assets/zh_TW.8f4a16b5.js +1 -0
  433. package/dist/css/themes/Avatar.css +1 -1
  434. package/dist/css/themes/AvatarGroup.css +1 -1
  435. package/dist/css/themes/Badge.css +1 -1
  436. package/dist/css/themes/Breadcrumbs.css +1 -1
  437. package/dist/css/themes/BreadcrumbsPopover.css +1 -1
  438. package/dist/css/themes/BrowserScrollbar.css +1 -1
  439. package/dist/css/themes/BusyIndicator.css +1 -1
  440. package/dist/css/themes/Button.css +1 -1
  441. package/dist/css/themes/CalendarHeader.css +1 -1
  442. package/dist/css/themes/CardHeader.css +1 -1
  443. package/dist/css/themes/Carousel.css +1 -1
  444. package/dist/css/themes/CheckBox.css +1 -1
  445. package/dist/css/themes/ColorPicker.css +1 -1
  446. package/dist/css/themes/ComboBox.css +1 -1
  447. package/dist/css/themes/DatePicker.css +1 -1
  448. package/dist/css/themes/DayPicker.css +1 -1
  449. package/dist/css/themes/Dialog.css +1 -1
  450. package/dist/css/themes/GroupHeaderListItem.css +1 -1
  451. package/dist/css/themes/Icon.css +1 -1
  452. package/dist/css/themes/Input.css +1 -1
  453. package/dist/css/themes/Link.css +1 -1
  454. package/dist/css/themes/ListItem.css +1 -1
  455. package/dist/css/themes/ListItemBase.css +1 -1
  456. package/dist/css/themes/Menu.css +1 -1
  457. package/dist/css/themes/MonthPicker.css +1 -1
  458. package/dist/css/themes/MultiComboBox.css +1 -1
  459. package/dist/css/themes/MultiInput.css +1 -1
  460. package/dist/css/themes/Panel.css +1 -1
  461. package/dist/css/themes/PopupsCommon.css +1 -1
  462. package/dist/css/themes/RadioButton.css +1 -1
  463. package/dist/css/themes/ResponsivePopoverCommon.css +1 -1
  464. package/dist/css/themes/Select.css +1 -1
  465. package/dist/css/themes/SliderBase.css +1 -1
  466. package/dist/css/themes/StepInput.css +1 -1
  467. package/dist/css/themes/Switch.css +1 -1
  468. package/dist/css/themes/TabContainer.css +1 -1
  469. package/dist/css/themes/TabInOverflow.css +1 -1
  470. package/dist/css/themes/TabInStrip.css +1 -1
  471. package/dist/css/themes/Table.css +1 -1
  472. package/dist/css/themes/TableCell.css +1 -1
  473. package/dist/css/themes/TableColumn.css +1 -1
  474. package/dist/css/themes/TableRow.css +1 -1
  475. package/dist/css/themes/TextArea.css +1 -1
  476. package/dist/css/themes/TimePicker.css +1 -1
  477. package/dist/css/themes/Title.css +1 -1
  478. package/dist/css/themes/Toast.css +1 -1
  479. package/dist/css/themes/ToggleButton.css +1 -1
  480. package/dist/css/themes/Tokenizer.css +1 -1
  481. package/dist/css/themes/TreeItem.css +1 -0
  482. package/dist/css/themes/ValueStateMessage.css +1 -1
  483. package/dist/css/themes/YearPicker.css +1 -1
  484. package/dist/css/themes/sap_belize/parameters-bundle.css +1 -1
  485. package/dist/css/themes/sap_belize_hcb/parameters-bundle.css +1 -1
  486. package/dist/css/themes/sap_belize_hcw/parameters-bundle.css +1 -1
  487. package/dist/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
  488. package/dist/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
  489. package/dist/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
  490. package/dist/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
  491. package/dist/css/themes/sap_horizon/parameters-bundle.css +1 -1
  492. package/dist/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
  493. package/dist/css/themes/sap_horizon_exp/parameters-bundle.css +1 -1
  494. package/dist/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
  495. package/dist/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
  496. package/dist/features/ColorPaletteMoreColors.d.ts +13 -0
  497. package/dist/features/ColorPaletteMoreColors.js +23 -33
  498. package/dist/features/ColorPaletteMoreColors.js.map +1 -0
  499. package/dist/features/InputElementsFormSupport.d.ts +31 -0
  500. package/dist/features/InputElementsFormSupport.js +95 -83
  501. package/dist/features/InputElementsFormSupport.js.map +1 -0
  502. package/dist/features/InputSuggestions.d.ts +126 -0
  503. package/dist/features/InputSuggestions.js +458 -573
  504. package/dist/features/InputSuggestions.js.map +1 -0
  505. package/dist/generated/assets/i18n/messagebundle_ar.json +1 -1
  506. package/dist/generated/assets/i18n/messagebundle_bg.json +1 -1
  507. package/dist/generated/assets/i18n/messagebundle_ca.json +1 -1
  508. package/dist/generated/assets/i18n/messagebundle_cs.json +1 -1
  509. package/dist/generated/assets/i18n/messagebundle_cy.json +1 -1
  510. package/dist/generated/assets/i18n/messagebundle_da.json +1 -1
  511. package/dist/generated/assets/i18n/messagebundle_de.json +1 -1
  512. package/dist/generated/assets/i18n/messagebundle_el.json +1 -1
  513. package/dist/generated/assets/i18n/messagebundle_en.json +1 -1
  514. package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -1
  515. package/dist/generated/assets/i18n/messagebundle_en_US_sappsd.json +1 -1
  516. package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -1
  517. package/dist/generated/assets/i18n/messagebundle_en_US_saptrc.json +1 -1
  518. package/dist/generated/assets/i18n/messagebundle_es.json +1 -1
  519. package/dist/generated/assets/i18n/messagebundle_es_MX.json +1 -1
  520. package/dist/generated/assets/i18n/messagebundle_et.json +1 -1
  521. package/dist/generated/assets/i18n/messagebundle_fi.json +1 -1
  522. package/dist/generated/assets/i18n/messagebundle_fr.json +1 -1
  523. package/dist/generated/assets/i18n/messagebundle_fr_CA.json +1 -1
  524. package/dist/generated/assets/i18n/messagebundle_hi.json +1 -1
  525. package/dist/generated/assets/i18n/messagebundle_hr.json +1 -1
  526. package/dist/generated/assets/i18n/messagebundle_hu.json +1 -1
  527. package/dist/generated/assets/i18n/messagebundle_it.json +1 -1
  528. package/dist/generated/assets/i18n/messagebundle_iw.json +1 -1
  529. package/dist/generated/assets/i18n/messagebundle_ja.json +1 -1
  530. package/dist/generated/assets/i18n/messagebundle_kk.json +1 -1
  531. package/dist/generated/assets/i18n/messagebundle_ko.json +1 -1
  532. package/dist/generated/assets/i18n/messagebundle_lt.json +1 -1
  533. package/dist/generated/assets/i18n/messagebundle_lv.json +1 -1
  534. package/dist/generated/assets/i18n/messagebundle_ms.json +1 -1
  535. package/dist/generated/assets/i18n/messagebundle_nl.json +1 -1
  536. package/dist/generated/assets/i18n/messagebundle_no.json +1 -1
  537. package/dist/generated/assets/i18n/messagebundle_pl.json +1 -1
  538. package/dist/generated/assets/i18n/messagebundle_pt.json +1 -1
  539. package/dist/generated/assets/i18n/messagebundle_pt_PT.json +1 -1
  540. package/dist/generated/assets/i18n/messagebundle_ro.json +1 -1
  541. package/dist/generated/assets/i18n/messagebundle_ru.json +1 -1
  542. package/dist/generated/assets/i18n/messagebundle_sh.json +1 -1
  543. package/dist/generated/assets/i18n/messagebundle_sk.json +1 -1
  544. package/dist/generated/assets/i18n/messagebundle_sl.json +1 -1
  545. package/dist/generated/assets/i18n/messagebundle_sv.json +1 -1
  546. package/dist/generated/assets/i18n/messagebundle_th.json +1 -1
  547. package/dist/generated/assets/i18n/messagebundle_tr.json +1 -1
  548. package/dist/generated/assets/i18n/messagebundle_uk.json +1 -1
  549. package/dist/generated/assets/i18n/messagebundle_vi.json +1 -1
  550. package/dist/generated/assets/i18n/messagebundle_zh_CN.json +1 -1
  551. package/dist/generated/assets/i18n/messagebundle_zh_TW.json +1 -1
  552. package/dist/generated/assets/themes/sap_belize/parameters-bundle.css.json +1 -1
  553. package/dist/generated/assets/themes/sap_belize_hcb/parameters-bundle.css.json +1 -1
  554. package/dist/generated/assets/themes/sap_belize_hcw/parameters-bundle.css.json +1 -1
  555. package/dist/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json +1 -1
  556. package/dist/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json +1 -1
  557. package/dist/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json +1 -1
  558. package/dist/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json +1 -1
  559. package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -1
  560. package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -1
  561. package/dist/generated/assets/themes/sap_horizon_exp/parameters-bundle.css.json +1 -1
  562. package/dist/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json +1 -1
  563. package/dist/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json +1 -1
  564. package/dist/generated/i18n/i18n-defaults.js +2 -2
  565. package/dist/generated/templates/AvatarTemplate.lit.js +1 -1
  566. package/dist/generated/templates/BreadcrumbsTemplate.lit.js +2 -2
  567. package/dist/generated/templates/ButtonTemplate.lit.js +1 -1
  568. package/dist/generated/templates/CalendarHeaderTemplate.lit.js +2 -2
  569. package/dist/generated/templates/CalendarTemplate.lit.js +1 -1
  570. package/dist/generated/templates/CardHeaderTemplate.lit.js +3 -3
  571. package/dist/generated/templates/CardTemplate.lit.js +1 -1
  572. package/dist/generated/templates/CarouselTemplate.lit.js +4 -4
  573. package/dist/generated/templates/CheckBoxTemplate.lit.js +1 -1
  574. package/dist/generated/templates/ComboBoxPopoverTemplate.lit.js +19 -17
  575. package/dist/generated/templates/ComboBoxTemplate.lit.js +1 -1
  576. package/dist/generated/templates/CustomListItemTemplate.lit.js +14 -8
  577. package/dist/generated/templates/DatePickerPopoverTemplate.lit.js +1 -1
  578. package/dist/generated/templates/DatePickerTemplate.lit.js +1 -1
  579. package/dist/generated/templates/DateTimePickerPopoverTemplate.lit.js +1 -1
  580. package/dist/generated/templates/DialogTemplate.lit.js +7 -6
  581. package/dist/generated/templates/GroupHeaderListItemTemplate.lit.js +1 -1
  582. package/dist/generated/templates/IconTemplate.lit.js +4 -2
  583. package/dist/generated/templates/InputPopoverTemplate.lit.js +1 -1
  584. package/dist/generated/templates/InputTemplate.lit.js +2 -2
  585. package/dist/generated/templates/LabelTemplate.lit.js +1 -1
  586. package/dist/generated/templates/LinkTemplate.lit.js +1 -1
  587. package/dist/generated/templates/ListItemTemplate.lit.js +14 -8
  588. package/dist/generated/templates/ListTemplate.lit.js +3 -3
  589. package/dist/generated/templates/MenuTemplate.lit.js +2 -2
  590. package/dist/generated/templates/MonthPickerTemplate.lit.js +3 -2
  591. package/dist/generated/templates/MultiComboBoxPopoverTemplate.lit.js +5 -5
  592. package/dist/generated/templates/MultiComboBoxTemplate.lit.js +2 -2
  593. package/dist/generated/templates/MultiInputTemplate.lit.js +2 -2
  594. package/dist/generated/templates/PanelTemplate.lit.js +7 -6
  595. package/dist/generated/templates/PopoverTemplate.lit.js +2 -2
  596. package/dist/generated/templates/PopupTemplate.lit.js +1 -1
  597. package/dist/generated/templates/RadioButtonTemplate.lit.js +1 -1
  598. package/dist/generated/templates/RangeSliderTemplate.lit.js +1 -1
  599. package/dist/generated/templates/ResponsivePopoverTemplate.lit.js +2 -2
  600. package/dist/generated/templates/SegmentedButtonTemplate.lit.js +1 -1
  601. package/dist/generated/templates/SliderBaseTemplate.lit.js +1 -1
  602. package/dist/generated/templates/SliderTemplate.lit.js +1 -1
  603. package/dist/generated/templates/StandardListItemTemplate.lit.js +24 -16
  604. package/dist/generated/templates/SuggestionListItemTemplate.lit.js +27 -19
  605. package/dist/generated/templates/SwitchTemplate.lit.js +1 -1
  606. package/dist/generated/templates/TabContainerTemplate.lit.js +1 -1
  607. package/dist/generated/templates/TabInOverflowTemplate.lit.js +3 -2
  608. package/dist/generated/templates/TabInStripTemplate.lit.js +9 -8
  609. package/dist/generated/templates/TableGroupRowTemplate.lit.js +1 -1
  610. package/dist/generated/templates/TableRowTemplate.lit.js +6 -3
  611. package/dist/generated/templates/TableTemplate.lit.js +9 -8
  612. package/dist/generated/templates/TextAreaPopoverTemplate.lit.js +1 -1
  613. package/dist/generated/templates/TextAreaTemplate.lit.js +2 -2
  614. package/dist/generated/templates/TimeSelectionTemplate.lit.js +3 -3
  615. package/dist/generated/templates/ToggleButtonTemplate.lit.js +1 -1
  616. package/dist/generated/templates/TokenTemplate.lit.js +1 -1
  617. package/dist/generated/templates/TreeItemBaseTemplate.lit.js +26 -0
  618. package/dist/generated/templates/TreeItemCustomTemplate.lit.js +26 -0
  619. package/dist/generated/templates/TreeItemTemplate.lit.js +28 -0
  620. package/dist/generated/templates/TreeTemplate.lit.js +1 -2
  621. package/dist/generated/templates/YearPickerTemplate.lit.js +3 -2
  622. package/dist/generated/themes/Avatar.css.js +1 -1
  623. package/dist/generated/themes/AvatarGroup.css.js +1 -1
  624. package/dist/generated/themes/Badge.css.js +1 -1
  625. package/dist/generated/themes/Breadcrumbs.css.js +1 -1
  626. package/dist/generated/themes/BreadcrumbsPopover.css.js +1 -1
  627. package/dist/generated/themes/BrowserScrollbar.css.js +1 -1
  628. package/dist/generated/themes/BusyIndicator.css.js +1 -1
  629. package/dist/generated/themes/Button.css.js +1 -1
  630. package/dist/generated/themes/CalendarHeader.css.js +1 -1
  631. package/dist/generated/themes/CardHeader.css.js +1 -1
  632. package/dist/generated/themes/Carousel.css.js +1 -1
  633. package/dist/generated/themes/CheckBox.css.js +1 -1
  634. package/dist/generated/themes/ColorPicker.css.js +1 -1
  635. package/dist/generated/themes/ComboBox.css.js +1 -1
  636. package/dist/generated/themes/DatePicker.css.js +1 -1
  637. package/dist/generated/themes/DayPicker.css.js +1 -1
  638. package/dist/generated/themes/Dialog.css.js +1 -1
  639. package/dist/generated/themes/GroupHeaderListItem.css.js +1 -1
  640. package/dist/generated/themes/Icon.css.js +1 -1
  641. package/dist/generated/themes/Input.css.js +1 -1
  642. package/dist/generated/themes/Link.css.js +1 -1
  643. package/dist/generated/themes/ListItem.css.js +1 -1
  644. package/dist/generated/themes/ListItemBase.css.js +1 -1
  645. package/dist/generated/themes/Menu.css.js +1 -1
  646. package/dist/generated/themes/MonthPicker.css.js +1 -1
  647. package/dist/generated/themes/MultiComboBox.css.js +1 -1
  648. package/dist/generated/themes/MultiInput.css.js +1 -1
  649. package/dist/generated/themes/Panel.css.js +1 -1
  650. package/dist/generated/themes/PopupsCommon.css.js +1 -1
  651. package/dist/generated/themes/RadioButton.css.js +1 -1
  652. package/dist/generated/themes/ResponsivePopoverCommon.css.js +1 -1
  653. package/dist/generated/themes/Select.css.js +1 -1
  654. package/dist/generated/themes/SliderBase.css.js +1 -1
  655. package/dist/generated/themes/StepInput.css.js +1 -1
  656. package/dist/generated/themes/Switch.css.js +1 -1
  657. package/dist/generated/themes/TabContainer.css.js +1 -1
  658. package/dist/generated/themes/TabInOverflow.css.js +1 -1
  659. package/dist/generated/themes/TabInStrip.css.js +1 -1
  660. package/dist/generated/themes/Table.css.js +1 -1
  661. package/dist/generated/themes/TableCell.css.js +1 -1
  662. package/dist/generated/themes/TableColumn.css.js +1 -1
  663. package/dist/generated/themes/TableRow.css.js +1 -1
  664. package/dist/generated/themes/TextArea.css.js +1 -1
  665. package/dist/generated/themes/TimePicker.css.js +1 -1
  666. package/dist/generated/themes/Title.css.js +1 -1
  667. package/dist/generated/themes/Toast.css.js +1 -1
  668. package/dist/generated/themes/ToggleButton.css.js +1 -1
  669. package/dist/generated/themes/Tokenizer.css.js +1 -1
  670. package/dist/generated/themes/TreeItem.css.js +8 -0
  671. package/dist/generated/themes/ValueStateMessage.css.js +1 -1
  672. package/dist/generated/themes/YearPicker.css.js +1 -1
  673. package/dist/generated/themes/sap_belize/parameters-bundle.css.js +1 -1
  674. package/dist/generated/themes/sap_belize_hcb/parameters-bundle.css.js +1 -1
  675. package/dist/generated/themes/sap_belize_hcw/parameters-bundle.css.js +1 -1
  676. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
  677. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
  678. package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
  679. package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
  680. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +1 -1
  681. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +1 -1
  682. package/dist/generated/themes/sap_horizon_exp/parameters-bundle.css.js +1 -1
  683. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +1 -1
  684. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +1 -1
  685. package/dist/i18n/messagebundle.properties +36 -6
  686. package/dist/i18n/messagebundle_ar.properties +30 -10
  687. package/dist/i18n/messagebundle_bg.properties +32 -12
  688. package/dist/i18n/messagebundle_ca.properties +29 -9
  689. package/dist/i18n/messagebundle_cs.properties +30 -10
  690. package/dist/i18n/messagebundle_cy.properties +29 -9
  691. package/dist/i18n/messagebundle_da.properties +29 -9
  692. package/dist/i18n/messagebundle_de.properties +30 -10
  693. package/dist/i18n/messagebundle_el.properties +30 -10
  694. package/dist/i18n/messagebundle_en.properties +23 -3
  695. package/dist/i18n/messagebundle_en_GB.properties +23 -3
  696. package/dist/i18n/messagebundle_en_US_sappsd.properties +38 -4
  697. package/dist/i18n/messagebundle_en_US_saprigi.properties +24 -4
  698. package/dist/i18n/messagebundle_en_US_saptrc.properties +39 -5
  699. package/dist/i18n/messagebundle_es.properties +29 -9
  700. package/dist/i18n/messagebundle_es_MX.properties +29 -9
  701. package/dist/i18n/messagebundle_et.properties +30 -10
  702. package/dist/i18n/messagebundle_fi.properties +30 -10
  703. package/dist/i18n/messagebundle_fr.properties +29 -9
  704. package/dist/i18n/messagebundle_fr_CA.properties +30 -10
  705. package/dist/i18n/messagebundle_hi.properties +30 -10
  706. package/dist/i18n/messagebundle_hr.properties +30 -10
  707. package/dist/i18n/messagebundle_hu.properties +30 -10
  708. package/dist/i18n/messagebundle_id.properties +30 -10
  709. package/dist/i18n/messagebundle_it.properties +32 -12
  710. package/dist/i18n/messagebundle_iw.properties +30 -10
  711. package/dist/i18n/messagebundle_ja.properties +30 -10
  712. package/dist/i18n/messagebundle_kk.properties +30 -10
  713. package/dist/i18n/messagebundle_ko.properties +30 -10
  714. package/dist/i18n/messagebundle_lt.properties +30 -10
  715. package/dist/i18n/messagebundle_lv.properties +30 -10
  716. package/dist/i18n/messagebundle_ms.properties +30 -10
  717. package/dist/i18n/messagebundle_nl.properties +32 -12
  718. package/dist/i18n/messagebundle_no.properties +31 -11
  719. package/dist/i18n/messagebundle_pl.properties +30 -10
  720. package/dist/i18n/messagebundle_pt.properties +29 -9
  721. package/dist/i18n/messagebundle_pt_PT.properties +29 -9
  722. package/dist/i18n/messagebundle_ro.properties +30 -10
  723. package/dist/i18n/messagebundle_ru.properties +30 -10
  724. package/dist/i18n/messagebundle_sh.properties +30 -10
  725. package/dist/i18n/messagebundle_sk.properties +30 -10
  726. package/dist/i18n/messagebundle_sl.properties +30 -10
  727. package/dist/i18n/messagebundle_sv.properties +29 -9
  728. package/dist/i18n/messagebundle_th.properties +33 -13
  729. package/dist/i18n/messagebundle_tr.properties +30 -10
  730. package/dist/i18n/messagebundle_uk.properties +31 -11
  731. package/dist/i18n/messagebundle_vi.properties +29 -9
  732. package/dist/i18n/messagebundle_zh_CN.properties +31 -11
  733. package/dist/i18n/messagebundle_zh_TW.properties +29 -9
  734. package/dist/popup-utils/OpenedPopupsRegistry.d.ts +9 -0
  735. package/dist/popup-utils/OpenedPopupsRegistry.js +43 -37
  736. package/dist/popup-utils/OpenedPopupsRegistry.js.map +1 -0
  737. package/dist/popup-utils/PopoverRegistry.d.ts +9 -0
  738. package/dist/popup-utils/PopoverRegistry.js +103 -123
  739. package/dist/popup-utils/PopoverRegistry.js.map +1 -0
  740. package/dist/timepicker-utils/TimeSlider.d.ts +15 -0
  741. package/dist/timepicker-utils/TimeSlider.js +80 -92
  742. package/dist/timepicker-utils/TimeSlider.js.map +1 -0
  743. package/dist/types/AvatarColorScheme.d.ts +78 -0
  744. package/dist/types/AvatarColorScheme.js +75 -99
  745. package/dist/types/AvatarColorScheme.js.map +1 -0
  746. package/dist/types/AvatarGroupType.d.ts +26 -0
  747. package/dist/types/AvatarGroupType.js +22 -37
  748. package/dist/types/AvatarGroupType.js.map +1 -0
  749. package/dist/types/AvatarShape.d.ts +24 -0
  750. package/dist/types/AvatarShape.js +20 -35
  751. package/dist/types/AvatarShape.js.map +1 -0
  752. package/dist/types/AvatarSize.d.ts +47 -0
  753. package/dist/types/AvatarSize.js +43 -61
  754. package/dist/types/AvatarSize.js.map +1 -0
  755. package/dist/types/BreadcrumbsDesign.d.ts +26 -0
  756. package/dist/types/BreadcrumbsDesign.js +23 -37
  757. package/dist/types/BreadcrumbsDesign.js.map +1 -0
  758. package/dist/types/BreadcrumbsSeparatorStyle.d.ts +48 -0
  759. package/dist/types/BreadcrumbsSeparatorStyle.js +45 -64
  760. package/dist/types/BreadcrumbsSeparatorStyle.js.map +1 -0
  761. package/dist/types/BusyIndicatorSize.d.ts +30 -0
  762. package/dist/types/BusyIndicatorSize.js +27 -42
  763. package/dist/types/BusyIndicatorSize.js.map +1 -0
  764. package/dist/types/ButtonDesign.d.ts +48 -0
  765. package/dist/types/ButtonDesign.js +45 -63
  766. package/dist/types/ButtonDesign.js.map +1 -0
  767. package/dist/types/CalendarSelectionMode.d.ts +30 -0
  768. package/dist/types/CalendarSelectionMode.js +27 -42
  769. package/dist/types/CalendarSelectionMode.js.map +1 -0
  770. package/dist/types/CarouselArrowsPlacement.d.ts +24 -0
  771. package/dist/types/CarouselArrowsPlacement.js +21 -35
  772. package/dist/types/CarouselArrowsPlacement.js.map +1 -0
  773. package/dist/types/CarouselPageIndicatorStyle.d.ts +25 -0
  774. package/dist/types/CarouselPageIndicatorStyle.js +27 -0
  775. package/dist/types/CarouselPageIndicatorStyle.js.map +1 -0
  776. package/dist/types/HasPopup.d.ts +42 -0
  777. package/dist/types/HasPopup.js +38 -56
  778. package/dist/types/HasPopup.js.map +1 -0
  779. package/dist/types/IconDesign.d.ts +60 -0
  780. package/dist/types/IconDesign.js +62 -0
  781. package/dist/types/IconDesign.js.map +1 -0
  782. package/dist/types/InputType.d.ts +48 -0
  783. package/dist/types/InputType.js +45 -63
  784. package/dist/types/InputType.js.map +1 -0
  785. package/dist/types/LinkDesign.d.ts +30 -0
  786. package/dist/types/LinkDesign.js +27 -42
  787. package/dist/types/LinkDesign.js.map +1 -0
  788. package/dist/types/ListGrowingMode.d.ts +31 -0
  789. package/dist/types/ListGrowingMode.js +28 -43
  790. package/dist/types/ListGrowingMode.js.map +1 -0
  791. package/dist/types/ListItemType.d.ts +36 -0
  792. package/dist/types/ListItemType.js +33 -42
  793. package/dist/types/ListItemType.js.map +1 -0
  794. package/dist/types/ListMode.d.ts +56 -0
  795. package/dist/types/ListMode.js +53 -72
  796. package/dist/types/ListMode.js.map +1 -0
  797. package/dist/types/ListSeparators.d.ts +31 -0
  798. package/dist/types/ListSeparators.js +28 -41
  799. package/dist/types/ListSeparators.js.map +1 -0
  800. package/dist/types/MessageStripDesign.d.ts +36 -0
  801. package/dist/types/MessageStripDesign.js +33 -49
  802. package/dist/types/MessageStripDesign.js.map +1 -0
  803. package/dist/types/PanelAccessibleRole.d.ts +33 -0
  804. package/dist/types/PanelAccessibleRole.js +30 -43
  805. package/dist/types/PanelAccessibleRole.js.map +1 -0
  806. package/dist/types/PopoverHorizontalAlign.d.ts +36 -0
  807. package/dist/types/PopoverHorizontalAlign.js +33 -49
  808. package/dist/types/PopoverHorizontalAlign.js.map +1 -0
  809. package/dist/types/PopoverPlacementType.d.ts +36 -0
  810. package/dist/types/PopoverPlacementType.js +33 -49
  811. package/dist/types/PopoverPlacementType.js.map +1 -0
  812. package/dist/types/PopoverVerticalAlign.d.ts +36 -0
  813. package/dist/types/PopoverVerticalAlign.js +33 -49
  814. package/dist/types/PopoverVerticalAlign.js.map +1 -0
  815. package/dist/types/Priority.d.ts +36 -0
  816. package/dist/types/Priority.js +32 -49
  817. package/dist/types/Priority.js.map +1 -0
  818. package/dist/types/SemanticColor.d.ts +42 -0
  819. package/dist/types/SemanticColor.js +39 -56
  820. package/dist/types/SemanticColor.js.map +1 -0
  821. package/dist/types/SwitchDesign.d.ts +24 -0
  822. package/dist/types/SwitchDesign.js +21 -35
  823. package/dist/types/SwitchDesign.js.map +1 -0
  824. package/dist/types/TabContainerBackgroundDesign.d.ts +30 -0
  825. package/dist/types/TabContainerBackgroundDesign.js +32 -0
  826. package/dist/types/TabContainerBackgroundDesign.js.map +1 -0
  827. package/dist/types/TabContainerTabsPlacement.d.ts +24 -0
  828. package/dist/types/TabContainerTabsPlacement.js +21 -35
  829. package/dist/types/TabContainerTabsPlacement.js.map +1 -0
  830. package/dist/types/TabLayout.d.ts +24 -0
  831. package/dist/types/TabLayout.js +21 -35
  832. package/dist/types/TabLayout.js.map +1 -0
  833. package/dist/types/TableColumnPopinDisplay.d.ts +24 -0
  834. package/dist/types/TableColumnPopinDisplay.js +26 -0
  835. package/dist/types/TableColumnPopinDisplay.js.map +1 -0
  836. package/dist/types/TableGrowingMode.d.ts +31 -0
  837. package/dist/types/TableGrowingMode.js +28 -43
  838. package/dist/types/TableGrowingMode.js.map +1 -0
  839. package/dist/types/TableMode.d.ts +30 -0
  840. package/dist/types/TableMode.js +27 -42
  841. package/dist/types/TableMode.js.map +1 -0
  842. package/dist/types/TableRowType.d.ts +24 -0
  843. package/dist/types/TableRowType.js +21 -35
  844. package/dist/types/TableRowType.js.map +1 -0
  845. package/dist/types/TabsOverflowMode.d.ts +24 -0
  846. package/dist/types/TabsOverflowMode.js +21 -35
  847. package/dist/types/TabsOverflowMode.js.map +1 -0
  848. package/dist/types/TitleLevel.d.ts +48 -0
  849. package/dist/types/TitleLevel.js +45 -63
  850. package/dist/types/TitleLevel.js.map +1 -0
  851. package/dist/types/ToastPlacement.d.ts +67 -0
  852. package/dist/types/ToastPlacement.js +64 -86
  853. package/dist/types/ToastPlacement.js.map +1 -0
  854. package/dist/types/WrappingType.d.ts +24 -0
  855. package/dist/types/WrappingType.js +20 -35
  856. package/dist/types/WrappingType.js.map +1 -0
  857. package/global.d.ts +12 -0
  858. package/package-scripts.js +1 -0
  859. package/package.json +10 -8
  860. package/src/Avatar.hbs +2 -0
  861. package/src/Avatar.ts +435 -0
  862. package/src/AvatarGroup.js +30 -12
  863. package/src/Badge.ts +143 -0
  864. package/src/Breadcrumbs.hbs +41 -38
  865. package/src/{Breadcrumbs.js → Breadcrumbs.ts} +234 -176
  866. package/src/BreadcrumbsItem.ts +92 -0
  867. package/src/BusyIndicator.js +7 -10
  868. package/src/Button.hbs +1 -0
  869. package/src/Button.ts +503 -0
  870. package/src/Calendar.hbs +3 -0
  871. package/src/{Calendar.js → Calendar.ts} +177 -179
  872. package/src/CalendarDate.ts +36 -0
  873. package/src/CalendarHeader.hbs +5 -1
  874. package/src/CalendarHeader.ts +218 -0
  875. package/src/{CalendarPart.js → CalendarPart.ts} +15 -26
  876. package/src/Card.hbs +1 -1
  877. package/src/{Card.js → Card.ts} +67 -75
  878. package/src/CardHeader.hbs +45 -29
  879. package/src/CardHeader.ts +275 -0
  880. package/src/Carousel.hbs +72 -72
  881. package/src/Carousel.js +52 -11
  882. package/src/CheckBox.hbs +3 -3
  883. package/src/CheckBox.ts +466 -0
  884. package/src/{ColorPalette.js → ColorPalette.ts} +184 -165
  885. package/src/ColorPaletteItem.ts +124 -0
  886. package/src/{ColorPalettePopover.js → ColorPalettePopover.ts} +105 -97
  887. package/src/ColorPicker.ts +536 -0
  888. package/src/ComboBox.hbs +1 -1
  889. package/src/ComboBox.js +72 -18
  890. package/src/ComboBoxGroupItem.js +7 -7
  891. package/src/ComboBoxItem.js +4 -4
  892. package/src/ComboBoxPopover.hbs +48 -44
  893. package/src/CustomListItem.ts +89 -0
  894. package/src/DateComponentBase.ts +174 -0
  895. package/src/DatePicker.hbs +2 -0
  896. package/src/{DatePicker.js → DatePicker.ts} +369 -329
  897. package/src/DatePickerPopover.hbs +0 -1
  898. package/src/{DateRangePicker.js → DateRangePicker.ts} +72 -66
  899. package/src/{DateTimePicker.js → DateTimePicker.ts} +95 -91
  900. package/src/{DayPicker.js → DayPicker.ts} +274 -218
  901. package/src/Dialog.hbs +6 -2
  902. package/src/{Dialog.js → Dialog.ts} +271 -191
  903. package/src/DurationPicker.js +5 -5
  904. package/src/FileUploader.ts +525 -0
  905. package/src/Filters.ts +28 -0
  906. package/src/GroupHeaderListItem.hbs +2 -2
  907. package/src/GroupHeaderListItem.ts +86 -0
  908. package/src/Icon.hbs +9 -3
  909. package/src/{Icon.js → Icon.ts} +211 -212
  910. package/src/Input.hbs +5 -3
  911. package/src/Input.ts +1726 -0
  912. package/src/InputPopover.hbs +1 -1
  913. package/src/{Interfaces.js → Interfaces.ts} +40 -40
  914. package/src/Label.hbs +0 -1
  915. package/src/Label.ts +143 -0
  916. package/src/Link.hbs +1 -1
  917. package/src/Link.ts +406 -0
  918. package/src/List.hbs +12 -3
  919. package/src/List.ts +1143 -0
  920. package/src/ListItem.hbs +23 -4
  921. package/src/ListItem.ts +492 -0
  922. package/src/ListItemBase.ts +168 -0
  923. package/src/Menu.hbs +7 -2
  924. package/src/Menu.ts +612 -0
  925. package/src/MenuItem.ts +168 -0
  926. package/src/MessageStrip.ts +245 -0
  927. package/src/MonthPicker.hbs +9 -1
  928. package/src/MonthPicker.ts +351 -0
  929. package/src/MultiComboBox.hbs +2 -1
  930. package/src/MultiComboBox.js +169 -44
  931. package/src/MultiComboBoxGroupItem.js +7 -7
  932. package/src/MultiComboBoxItem.js +4 -4
  933. package/src/MultiComboBoxPopover.hbs +4 -2
  934. package/src/MultiInput.js +28 -12
  935. package/src/Option.js +8 -8
  936. package/src/Panel.hbs +56 -46
  937. package/src/{Panel.js → Panel.ts} +197 -217
  938. package/src/Popover.hbs +1 -1
  939. package/src/{Popover.js → Popover.ts} +293 -266
  940. package/src/Popup.hbs +1 -1
  941. package/src/{Popup.js → Popup.ts} +236 -211
  942. package/src/{ProgressIndicator.js → ProgressIndicator.ts} +91 -95
  943. package/src/RadioButton.hbs +3 -3
  944. package/src/RadioButton.js +40 -20
  945. package/src/RadioButtonGroup.js +1 -1
  946. package/src/RangeSlider.hbs +13 -7
  947. package/src/{RangeSlider.js → RangeSlider.ts} +249 -170
  948. package/src/RatingIndicator.js +13 -8
  949. package/src/ResponsivePopover.js +12 -4
  950. package/src/SegmentedButton.hbs +1 -0
  951. package/src/SegmentedButton.js +26 -22
  952. package/src/SegmentedButtonItem.js +6 -6
  953. package/src/Select.js +43 -16
  954. package/src/Slider.hbs +3 -3
  955. package/src/{Slider.js → Slider.ts} +95 -61
  956. package/src/SliderBase.hbs +1 -0
  957. package/src/{SliderBase.js → SliderBase.ts} +240 -272
  958. package/src/{SplitButton.js → SplitButton.ts} +217 -235
  959. package/src/StandardListItem.hbs +10 -4
  960. package/src/StandardListItem.ts +217 -0
  961. package/src/StepInput.hbs +1 -1
  962. package/src/{StepInput.js → StepInput.ts} +275 -314
  963. package/src/SuggestionGroupItem.ts +51 -0
  964. package/src/SuggestionItem.ts +134 -0
  965. package/src/{SuggestionListItem.js → SuggestionListItem.ts} +30 -32
  966. package/src/Switch.hbs +3 -2
  967. package/src/Switch.ts +299 -0
  968. package/src/Tab.js +62 -19
  969. package/src/TabContainer.hbs +5 -1
  970. package/src/TabContainer.js +219 -164
  971. package/src/TabInOverflow.hbs +6 -5
  972. package/src/TabInStrip.hbs +10 -3
  973. package/src/TabSeparator.js +11 -4
  974. package/src/Table.hbs +18 -10
  975. package/src/Table.ts +1303 -0
  976. package/src/{TableCell.js → TableCell.ts} +32 -42
  977. package/src/TableColumn.ts +135 -0
  978. package/src/TableGroupRow.hbs +0 -1
  979. package/src/TableGroupRow.ts +159 -0
  980. package/src/TableRow.hbs +33 -10
  981. package/src/TableRow.ts +505 -0
  982. package/src/TextArea.hbs +30 -29
  983. package/src/TextArea.js +56 -57
  984. package/src/TextAreaPopover.hbs +1 -1
  985. package/src/{TimePicker.js → TimePicker.ts} +43 -51
  986. package/src/{TimePickerBase.js → TimePickerBase.ts} +158 -141
  987. package/src/TimeSelection.hbs +3 -3
  988. package/src/{TimeSelection.js → TimeSelection.ts} +200 -177
  989. package/src/Title.ts +117 -0
  990. package/src/Toast.js +6 -6
  991. package/src/ToggleButton.js +5 -8
  992. package/src/Token.hbs +1 -0
  993. package/src/Token.js +24 -7
  994. package/src/Tokenizer.js +115 -25
  995. package/src/Tree.hbs +10 -32
  996. package/src/Tree.js +122 -58
  997. package/src/TreeItem.hbs +13 -0
  998. package/src/TreeItem.js +35 -120
  999. package/src/{TreeListItem.hbs → TreeItemBase.hbs} +17 -10
  1000. package/src/TreeItemBase.js +431 -0
  1001. package/src/TreeItemCustom.hbs +7 -0
  1002. package/src/TreeItemCustom.js +102 -0
  1003. package/src/TreeList.js +48 -0
  1004. package/src/{WheelSlider.js → WheelSlider.ts} +120 -126
  1005. package/src/YearPicker.hbs +8 -0
  1006. package/src/YearPicker.ts +394 -0
  1007. package/src/features/{ColorPaletteMoreColors.js → ColorPaletteMoreColors.ts} +8 -3
  1008. package/src/features/InputElementsFormSupport.ts +141 -0
  1009. package/src/features/{InputSuggestions.js → InputSuggestions.ts} +170 -95
  1010. package/src/i18n/messagebundle.properties +36 -6
  1011. package/src/i18n/messagebundle_ar.properties +30 -10
  1012. package/src/i18n/messagebundle_bg.properties +32 -12
  1013. package/src/i18n/messagebundle_ca.properties +29 -9
  1014. package/src/i18n/messagebundle_cs.properties +30 -10
  1015. package/src/i18n/messagebundle_cy.properties +29 -9
  1016. package/src/i18n/messagebundle_da.properties +29 -9
  1017. package/src/i18n/messagebundle_de.properties +30 -10
  1018. package/src/i18n/messagebundle_el.properties +30 -10
  1019. package/src/i18n/messagebundle_en.properties +23 -3
  1020. package/src/i18n/messagebundle_en_GB.properties +23 -3
  1021. package/src/i18n/messagebundle_en_US_sappsd.properties +38 -4
  1022. package/src/i18n/messagebundle_en_US_saprigi.properties +24 -4
  1023. package/src/i18n/messagebundle_en_US_saptrc.properties +39 -5
  1024. package/src/i18n/messagebundle_es.properties +29 -9
  1025. package/src/i18n/messagebundle_es_MX.properties +29 -9
  1026. package/src/i18n/messagebundle_et.properties +30 -10
  1027. package/src/i18n/messagebundle_fi.properties +30 -10
  1028. package/src/i18n/messagebundle_fr.properties +29 -9
  1029. package/src/i18n/messagebundle_fr_CA.properties +30 -10
  1030. package/src/i18n/messagebundle_hi.properties +30 -10
  1031. package/src/i18n/messagebundle_hr.properties +30 -10
  1032. package/src/i18n/messagebundle_hu.properties +30 -10
  1033. package/src/i18n/messagebundle_id.properties +30 -10
  1034. package/src/i18n/messagebundle_it.properties +32 -12
  1035. package/src/i18n/messagebundle_iw.properties +30 -10
  1036. package/src/i18n/messagebundle_ja.properties +30 -10
  1037. package/src/i18n/messagebundle_kk.properties +30 -10
  1038. package/src/i18n/messagebundle_ko.properties +30 -10
  1039. package/src/i18n/messagebundle_lt.properties +30 -10
  1040. package/src/i18n/messagebundle_lv.properties +30 -10
  1041. package/src/i18n/messagebundle_ms.properties +30 -10
  1042. package/src/i18n/messagebundle_nl.properties +32 -12
  1043. package/src/i18n/messagebundle_no.properties +31 -11
  1044. package/src/i18n/messagebundle_pl.properties +30 -10
  1045. package/src/i18n/messagebundle_pt.properties +29 -9
  1046. package/src/i18n/messagebundle_pt_PT.properties +29 -9
  1047. package/src/i18n/messagebundle_ro.properties +30 -10
  1048. package/src/i18n/messagebundle_ru.properties +30 -10
  1049. package/src/i18n/messagebundle_sh.properties +30 -10
  1050. package/src/i18n/messagebundle_sk.properties +30 -10
  1051. package/src/i18n/messagebundle_sl.properties +30 -10
  1052. package/src/i18n/messagebundle_sv.properties +29 -9
  1053. package/src/i18n/messagebundle_th.properties +33 -13
  1054. package/src/i18n/messagebundle_tr.properties +30 -10
  1055. package/src/i18n/messagebundle_uk.properties +31 -11
  1056. package/src/i18n/messagebundle_vi.properties +29 -9
  1057. package/src/i18n/messagebundle_zh_CN.properties +31 -11
  1058. package/src/i18n/messagebundle_zh_TW.properties +29 -9
  1059. package/src/popup-utils/{OpenedPopupsRegistry.js → OpenedPopupsRegistry.ts} +31 -5
  1060. package/src/popup-utils/{PopoverRegistry.js → PopoverRegistry.ts} +50 -29
  1061. package/src/themes/Avatar.css +56 -2
  1062. package/src/themes/AvatarGroup.css +1 -0
  1063. package/src/themes/Badge.css +12 -5
  1064. package/src/themes/Breadcrumbs.css +3 -0
  1065. package/src/themes/BreadcrumbsPopover.css +1 -0
  1066. package/src/themes/BrowserScrollbar.css +6 -6
  1067. package/src/themes/BusyIndicator.css +1 -14
  1068. package/src/themes/Button.css +19 -14
  1069. package/src/themes/CalendarHeader.css +3 -4
  1070. package/src/themes/CardHeader.css +30 -2
  1071. package/src/themes/Carousel.css +6 -4
  1072. package/src/themes/CheckBox.css +0 -10
  1073. package/src/themes/ColorPicker.css +5 -5
  1074. package/src/themes/DatePicker.css +19 -1
  1075. package/src/themes/DayPicker.css +4 -5
  1076. package/src/themes/Dialog.css +45 -2
  1077. package/src/themes/GroupHeaderListItem.css +1 -0
  1078. package/src/themes/Icon.css +40 -1
  1079. package/src/themes/Input.css +60 -45
  1080. package/src/themes/Link.css +6 -8
  1081. package/src/themes/ListItem.css +30 -7
  1082. package/src/themes/ListItemBase.css +0 -2
  1083. package/src/themes/Menu.css +26 -2
  1084. package/src/themes/MonthPicker.css +9 -3
  1085. package/src/themes/MultiComboBox.css +0 -18
  1086. package/src/themes/MultiInput.css +0 -9
  1087. package/src/themes/Panel.css +12 -8
  1088. package/src/themes/PopupsCommon.css +0 -6
  1089. package/src/themes/RadioButton.css +6 -6
  1090. package/src/themes/ResponsivePopoverCommon.css +0 -11
  1091. package/src/themes/Select.css +1 -1
  1092. package/src/themes/SliderBase.css +3 -5
  1093. package/src/themes/StepInput.css +9 -0
  1094. package/src/themes/Switch.css +3 -4
  1095. package/src/themes/TabContainer.css +19 -3
  1096. package/src/themes/TabInOverflow.css +1 -0
  1097. package/src/themes/TabInStrip.css +12 -11
  1098. package/src/themes/Table.css +11 -1
  1099. package/src/themes/TableCell.css +4 -0
  1100. package/src/themes/TableColumn.css +1 -1
  1101. package/src/themes/TableRow.css +34 -4
  1102. package/src/themes/TextArea.css +243 -168
  1103. package/src/themes/TimePicker.css +12 -0
  1104. package/src/themes/Title.css +1 -1
  1105. package/src/themes/Toast.css +0 -6
  1106. package/src/themes/ToggleButton.css +1 -6
  1107. package/src/themes/Tokenizer.css +2 -6
  1108. package/src/themes/{TreeListItem.css → TreeItem.css} +49 -2
  1109. package/src/themes/ValueStateMessage.css +10 -1
  1110. package/src/themes/YearPicker.css +13 -3
  1111. package/src/themes/base/Avatar-parameters.css +1 -0
  1112. package/src/themes/base/DayPicker-parameters.css +3 -0
  1113. package/src/themes/base/Dialog-parameters.css +8 -0
  1114. package/src/themes/base/Input-parameters.css +13 -2
  1115. package/src/themes/base/Menu-parameters.css +2 -0
  1116. package/src/themes/base/Panel-parameters.css +1 -0
  1117. package/src/themes/base/Select-parameters.css +1 -1
  1118. package/src/themes/base/SliderBase-parameters.css +2 -0
  1119. package/src/themes/base/TabContainer-parameters.css +4 -0
  1120. package/src/themes/base/Table-parameters.css +1 -0
  1121. package/src/themes/base/TextArea-parameters.css +53 -17
  1122. package/src/themes/base/Tokenizer-parameters.css +1 -0
  1123. package/src/themes/base/ValueStateMessage-parameters.css +2 -1
  1124. package/src/themes/base/sizes-parameters.css +7 -4
  1125. package/src/themes/sap_belize/DayPicker-parameters.css +1 -1
  1126. package/src/themes/sap_belize/TabContainer-parameters.css +4 -0
  1127. package/src/themes/sap_belize/TextArea-parameters.css +23 -0
  1128. package/src/themes/sap_belize/parameters-bundle.css +2 -2
  1129. package/src/themes/sap_belize/sizes-parameters.css +2 -0
  1130. package/src/themes/sap_belize_hcb/Button-parameters.css +1 -0
  1131. package/src/themes/sap_belize_hcb/DayPicker-parameters.css +7 -0
  1132. package/src/themes/sap_belize_hcb/Input-parameters.css +3 -0
  1133. package/src/themes/sap_belize_hcb/TextArea-parameters.css +30 -4
  1134. package/src/themes/sap_belize_hcw/Button-parameters.css +1 -0
  1135. package/src/themes/sap_belize_hcw/DayPicker-parameters.css +7 -0
  1136. package/src/themes/sap_belize_hcw/Input-parameters.css +3 -0
  1137. package/src/themes/sap_belize_hcw/TextArea-parameters.css +30 -4
  1138. package/src/themes/sap_fiori_3_hcb/Button-parameters.css +1 -0
  1139. package/src/themes/sap_fiori_3_hcb/Dialog-parameters.css +8 -0
  1140. package/src/themes/sap_fiori_3_hcb/Input-parameters.css +2 -1
  1141. package/src/themes/sap_fiori_3_hcb/TextArea-parameters.css +29 -9
  1142. package/src/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
  1143. package/src/themes/sap_fiori_3_hcw/Button-parameters.css +1 -0
  1144. package/src/themes/sap_fiori_3_hcw/Dialog-parameters.css +8 -0
  1145. package/src/themes/sap_fiori_3_hcw/Input-parameters.css +2 -1
  1146. package/src/themes/sap_fiori_3_hcw/TextArea-parameters.css +29 -9
  1147. package/src/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
  1148. package/src/themes/sap_horizon/CheckBox-parameters.css +2 -0
  1149. package/src/themes/sap_horizon/Input-parameters.css +3 -0
  1150. package/src/themes/sap_horizon/Panel-parameters.css +1 -0
  1151. package/src/themes/sap_horizon/Table-parameters.css +0 -1
  1152. package/src/themes/sap_horizon/TextArea-parameters.css +45 -12
  1153. package/src/themes/sap_horizon/Tokenizer-parameters.css +5 -0
  1154. package/src/themes/sap_horizon/ValueStateMessage-parameters.css +1 -0
  1155. package/src/themes/sap_horizon/parameters-bundle.css +2 -2
  1156. package/src/themes/sap_horizon/sizes-parameters.css +4 -0
  1157. package/src/themes/sap_horizon_dark/CheckBox-parameters.css +1 -0
  1158. package/src/themes/sap_horizon_dark/Input-parameters.css +3 -0
  1159. package/src/themes/sap_horizon_dark/ListItemBase-parameters.css +0 -1
  1160. package/src/themes/sap_horizon_dark/Panel-parameters.css +1 -0
  1161. package/src/themes/sap_horizon_dark/Table-parameters.css +0 -1
  1162. package/src/themes/sap_horizon_dark/TextArea-parameters.css +45 -12
  1163. package/src/themes/sap_horizon_dark/Tokenizer-parameters.css +5 -0
  1164. package/src/themes/sap_horizon_dark/ValueStateMessage-parameters.css +1 -0
  1165. package/src/themes/sap_horizon_dark/parameters-bundle.css +2 -2
  1166. package/src/themes/sap_horizon_dark/sizes-parameters.css +6 -0
  1167. package/src/themes/sap_horizon_exp/Select-parameters.css +1 -1
  1168. package/src/themes/sap_horizon_hcb/CheckBox-parameters.css +1 -0
  1169. package/src/themes/sap_horizon_hcb/Dialog-parameters.css +4 -0
  1170. package/src/themes/sap_horizon_hcb/Input-parameters.css +2 -1
  1171. package/src/themes/sap_horizon_hcb/TextArea-parameters.css +33 -10
  1172. package/src/themes/sap_horizon_hcw/CheckBox-parameters.css +1 -0
  1173. package/src/themes/sap_horizon_hcw/Dialog-parameters.css +4 -0
  1174. package/src/themes/sap_horizon_hcw/Input-parameters.css +2 -1
  1175. package/src/themes/sap_horizon_hcw/TextArea-parameters.css +34 -11
  1176. package/src/timepicker-utils/{TimeSlider.js → TimeSlider.ts} +26 -9
  1177. package/src/types/AvatarColorScheme.ts +89 -0
  1178. package/src/types/AvatarGroupType.ts +28 -0
  1179. package/src/types/AvatarShape.ts +26 -0
  1180. package/src/types/AvatarSize.ts +52 -0
  1181. package/src/types/BreadcrumbsDesign.ts +28 -0
  1182. package/src/types/BreadcrumbsSeparatorStyle.ts +55 -0
  1183. package/src/types/BusyIndicatorSize.ts +33 -0
  1184. package/src/types/ButtonDesign.ts +54 -0
  1185. package/src/types/CalendarSelectionMode.ts +33 -0
  1186. package/src/types/CarouselArrowsPlacement.ts +26 -0
  1187. package/src/types/CarouselPageIndicatorStyle.ts +27 -0
  1188. package/src/types/HasPopup.ts +47 -0
  1189. package/src/types/IconDesign.ts +68 -0
  1190. package/src/types/{InputType.js → InputType.ts} +13 -27
  1191. package/src/types/LinkDesign.ts +33 -0
  1192. package/src/types/ListGrowingMode.ts +34 -0
  1193. package/src/types/ListItemType.ts +40 -0
  1194. package/src/types/{ListMode.js → ListMode.ts} +14 -28
  1195. package/src/types/ListSeparators.ts +32 -0
  1196. package/src/types/MessageStripDesign.ts +40 -0
  1197. package/src/types/PanelAccessibleRole.ts +37 -0
  1198. package/src/types/PopoverHorizontalAlign.ts +40 -0
  1199. package/src/types/PopoverPlacementType.ts +40 -0
  1200. package/src/types/PopoverVerticalAlign.ts +40 -0
  1201. package/src/types/Priority.ts +40 -0
  1202. package/src/types/SemanticColor.ts +47 -0
  1203. package/src/types/SwitchDesign.ts +26 -0
  1204. package/src/types/TabContainerBackgroundDesign.ts +33 -0
  1205. package/src/types/TabContainerTabsPlacement.ts +26 -0
  1206. package/src/types/TabLayout.ts +26 -0
  1207. package/src/types/TableColumnPopinDisplay.ts +26 -0
  1208. package/src/types/TableGrowingMode.ts +34 -0
  1209. package/src/types/TableMode.ts +33 -0
  1210. package/src/types/TableRowType.ts +26 -0
  1211. package/src/types/TabsOverflowMode.ts +26 -0
  1212. package/src/types/{TitleLevel.js → TitleLevel.ts} +13 -27
  1213. package/src/types/ToastPlacement.ts +77 -0
  1214. package/src/types/WrappingType.ts +26 -0
  1215. package/tsconfig.json +14 -0
  1216. package/dist/TreeListItem.js +0 -343
  1217. package/dist/css/themes/Button.ie11.css +0 -1
  1218. package/dist/css/themes/ToggleButton.ie11.css +0 -1
  1219. package/dist/css/themes/TreeListItem.css +0 -1
  1220. package/dist/generated/templates/TreeListItemTemplate.lit.js +0 -21
  1221. package/dist/generated/themes/Button.ie11.css.js +0 -8
  1222. package/dist/generated/themes/ToggleButton.ie11.css.js +0 -8
  1223. package/dist/generated/themes/TreeListItem.css.js +0 -8
  1224. package/dist/types/GrowingMode.js +0 -48
  1225. package/src/Avatar.js +0 -392
  1226. package/src/Badge.js +0 -150
  1227. package/src/BreadcrumbsItem.js +0 -103
  1228. package/src/Button.js +0 -509
  1229. package/src/CalendarDate.js +0 -45
  1230. package/src/CalendarHeader.js +0 -209
  1231. package/src/CardHeader.js +0 -283
  1232. package/src/CheckBox.js +0 -469
  1233. package/src/ColorPaletteItem.js +0 -137
  1234. package/src/ColorPicker.js +0 -609
  1235. package/src/CustomListItem.js +0 -99
  1236. package/src/DateComponentBase.js +0 -168
  1237. package/src/FileUploader.js +0 -531
  1238. package/src/Filters.js +0 -28
  1239. package/src/GroupHeaderListItem.js +0 -94
  1240. package/src/Input.js +0 -1679
  1241. package/src/Label.js +0 -158
  1242. package/src/Link.js +0 -378
  1243. package/src/List.js +0 -1106
  1244. package/src/ListItem.js +0 -396
  1245. package/src/ListItemBase.js +0 -181
  1246. package/src/Menu.js +0 -500
  1247. package/src/MenuItem.js +0 -162
  1248. package/src/MessageStrip.js +0 -256
  1249. package/src/MonthPicker.js +0 -299
  1250. package/src/StandardListItem.js +0 -191
  1251. package/src/SuggestionGroupItem.js +0 -64
  1252. package/src/SuggestionItem.js +0 -146
  1253. package/src/Switch.js +0 -291
  1254. package/src/Table.js +0 -1211
  1255. package/src/TableColumn.js +0 -129
  1256. package/src/TableGroupRow.js +0 -167
  1257. package/src/TableRow.js +0 -436
  1258. package/src/Title.js +0 -132
  1259. package/src/TreeListItem.js +0 -343
  1260. package/src/YearPicker.js +0 -324
  1261. package/src/features/InputElementsFormSupport.js +0 -91
  1262. package/src/themes/Button.ie11.css +0 -48
  1263. package/src/themes/ToggleButton.ie11.css +0 -48
  1264. package/src/types/AvatarColorScheme.js +0 -104
  1265. package/src/types/AvatarGroupType.js +0 -43
  1266. package/src/types/AvatarShape.js +0 -41
  1267. package/src/types/AvatarSize.js +0 -67
  1268. package/src/types/BreadcrumbsDesign.js +0 -42
  1269. package/src/types/BreadcrumbsSeparatorStyle.js +0 -69
  1270. package/src/types/BusyIndicatorSize.js +0 -47
  1271. package/src/types/ButtonDesign.js +0 -68
  1272. package/src/types/CalendarSelectionMode.js +0 -47
  1273. package/src/types/CarouselArrowsPlacement.js +0 -40
  1274. package/src/types/GrowingMode.js +0 -48
  1275. package/src/types/HasPopup.js +0 -62
  1276. package/src/types/LinkDesign.js +0 -47
  1277. package/src/types/ListGrowingMode.js +0 -48
  1278. package/src/types/ListItemType.js +0 -47
  1279. package/src/types/ListSeparators.js +0 -46
  1280. package/src/types/MessageStripDesign.js +0 -54
  1281. package/src/types/PanelAccessibleRole.js +0 -48
  1282. package/src/types/PopoverHorizontalAlign.js +0 -54
  1283. package/src/types/PopoverPlacementType.js +0 -54
  1284. package/src/types/PopoverVerticalAlign.js +0 -54
  1285. package/src/types/Priority.js +0 -55
  1286. package/src/types/SemanticColor.js +0 -61
  1287. package/src/types/SwitchDesign.js +0 -40
  1288. package/src/types/TabContainerTabsPlacement.js +0 -40
  1289. package/src/types/TabLayout.js +0 -40
  1290. package/src/types/TableGrowingMode.js +0 -48
  1291. package/src/types/TableMode.js +0 -47
  1292. package/src/types/TableRowType.js +0 -40
  1293. package/src/types/TabsOverflowMode.js +0 -40
  1294. package/src/types/ToastPlacement.js +0 -91
  1295. package/src/types/WrappingType.js +0 -41
@@ -1,63 +1,25 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var RangeSlider_1;
8
+ import customElement from "@ui5/webcomponents-base/dist/decorators/customElement.js";
9
+ import languageAware from "@ui5/webcomponents-base/dist/decorators/languageAware.js";
10
+ import property from "@ui5/webcomponents-base/dist/decorators/property.js";
1
11
  import Float from "@ui5/webcomponents-base/dist/types/Float.js";
2
12
  import { getI18nBundle } from "@ui5/webcomponents-base/dist/i18nBundle.js";
3
- import {
4
- isEscape,
5
- isHome,
6
- isEnd,
7
- } from "@ui5/webcomponents-base/dist/Keys.js";
13
+ import { isEscape, isHome, isEnd, } from "@ui5/webcomponents-base/dist/Keys.js";
8
14
  import SliderBase from "./SliderBase.js";
9
15
  import Icon from "./Icon.js";
10
16
  import RangeSliderTemplate from "./generated/templates/RangeSliderTemplate.lit.js";
11
-
12
17
  // Texts
13
- import {
14
- RANGE_SLIDER_ARIA_DESCRIPTION,
15
- RANGE_SLIDER_START_HANDLE_DESCRIPTION,
16
- RANGE_SLIDER_END_HANDLE_DESCRIPTION,
17
- } from "./generated/i18n/i18n-defaults.js";
18
-
18
+ import { RANGE_SLIDER_ARIA_DESCRIPTION, RANGE_SLIDER_START_HANDLE_DESCRIPTION, RANGE_SLIDER_END_HANDLE_DESCRIPTION,
19
+ // @ts-ignore
20
+ } from "./generated/i18n/i18n-defaults.js";
19
21
  // Styles
20
22
  import rangeSliderStyles from "./generated/themes/RangeSlider.css.js";
21
-
22
- /**
23
- * @public
24
- */
25
- const metadata = {
26
- tag: "ui5-range-slider",
27
- languageAware: true,
28
- managedSlots: true,
29
- properties: /** @lends sap.ui.webcomponents.main.RangeSlider.prototype */ {
30
- /**
31
- * Defines start point of a selection - position of a first handle on the slider.
32
- * <br><br>
33
- *
34
- * @type {Float}
35
- * @defaultvalue 0
36
- * @public
37
- */
38
- startValue: {
39
- type: Float,
40
- defaultValue: 0,
41
- },
42
- /**
43
- * Defines end point of a selection - position of a second handle on the slider.
44
- * <br><br>
45
- *
46
- * @type {Float}
47
- * @defaultvalue 100
48
- * @public
49
- */
50
- endValue: {
51
- type: Float,
52
- defaultValue: 100,
53
- },
54
-
55
- rangePressed: {
56
- type: Boolean,
57
- },
58
- },
59
- };
60
-
61
23
  /**
62
24
  * @class
63
25
  *
@@ -87,6 +49,17 @@ const metadata = {
87
49
  * <h3>Responsive Behavior</h3>
88
50
  * You can move the currently selected range by clicking on it and dragging it along the interval.
89
51
  *
52
+ * <h3>CSS Shadow Parts</h3>
53
+ *
54
+ * <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.
55
+ * <br>
56
+ * The <code>ui5-range-slider</code> exposes the following CSS Shadow Parts:
57
+ * <ul>
58
+ * <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>
59
+ * <li>progress-bar - Used to style the progress bar, which shows the progress of the <code>ui5-range-slider</code>.</li>
60
+ * <li>handle - Used to style the handles of the <code>ui5-range-slider</code>.</li>
61
+ * </ul>
62
+ *
90
63
  * <h3>Keyboard Handling</h3>
91
64
  *
92
65
  * <ul>
@@ -110,710 +83,666 @@ const metadata = {
110
83
  *
111
84
  * @constructor
112
85
  * @author SAP SE
113
- * @alias sap.ui.webcomponents.main.RangeSlider
114
- * @extends SliderBase
86
+ * @alias sap.ui.webc.main.RangeSlider
87
+ * @extends sap.ui.webc.main.SliderBase
115
88
  * @tagname ui5-range-slider
116
89
  * @since 1.0.0-rc.11
117
90
  * @public
118
91
  */
119
- class RangeSlider extends SliderBase {
120
- static get metadata() {
121
- return metadata;
122
- }
123
-
124
- static get template() {
125
- return RangeSliderTemplate;
126
- }
127
-
128
- static get VALUES() {
129
- return {
130
- start: "startValue",
131
- end: "endValue",
132
- };
133
- }
134
-
135
- static get dependencies() {
136
- return [Icon];
137
- }
138
-
139
- static get styles() {
140
- return [SliderBase.styles, rangeSliderStyles];
141
- }
142
-
143
- constructor() {
144
- super();
145
- this._stateStorage.startValue = null;
146
- this._stateStorage.endValue = null;
147
- }
148
-
149
- get tooltipStartValue() {
150
- const stepPrecision = this.constructor._getDecimalPrecisionOfNumber(this._effectiveStep);
151
- return this.startValue.toFixed(stepPrecision);
152
- }
153
-
154
- get tooltipEndValue() {
155
- const stepPrecision = this.constructor._getDecimalPrecisionOfNumber(this._effectiveStep);
156
- return this.endValue.toFixed(stepPrecision);
157
- }
158
-
159
- get _ariaDisabled() {
160
- return this.disabled || undefined;
161
- }
162
-
163
- get _ariaLabelledByText() {
164
- return RangeSlider.i18nBundle.getText(RANGE_SLIDER_ARIA_DESCRIPTION);
165
- }
166
-
167
- get _ariaHandlesText() {
168
- const isRTL = this.effectiveDir === "rtl";
169
- const isReversed = this._areValuesReversed();
170
- const ariaHandlesText = {};
171
-
172
- if ((isRTL && !isReversed) || (!isRTL && isReversed)) {
173
- ariaHandlesText.startHandleText = RangeSlider.i18nBundle.getText(RANGE_SLIDER_END_HANDLE_DESCRIPTION);
174
- ariaHandlesText.endHandleText = RangeSlider.i18nBundle.getText(RANGE_SLIDER_START_HANDLE_DESCRIPTION);
175
- } else {
176
- ariaHandlesText.startHandleText = RangeSlider.i18nBundle.getText(RANGE_SLIDER_START_HANDLE_DESCRIPTION);
177
- ariaHandlesText.endHandleText = RangeSlider.i18nBundle.getText(RANGE_SLIDER_END_HANDLE_DESCRIPTION);
178
- }
179
-
180
- return ariaHandlesText;
181
- }
182
-
183
- /**
184
- * Check if the previously saved state is outdated. That would mean
185
- * either it is the initial rendering or that a property has been changed
186
- * programatically - because the previous state is always updated in
187
- * the interaction handlers.
188
- *
189
- * Normalize current properties, update the previously stored state.
190
- * Update the visual UI representation of the Slider.
191
- *
192
- */
193
- onBeforeRendering() {
194
- if (!this.isCurrentStateOutdated()) {
195
- return;
196
- }
197
-
198
- this.notResized = true;
199
- this.syncUIAndState("startValue", "endValue");
200
- this._updateHandlesAndRange(null);
201
- }
202
-
203
- _onfocusin(event) {
204
- // If this is the initial focusin of the component save its initial
205
- // value properties so they could be restored on ESC key press
206
- if (!this._getInitialValue("endValue")) {
207
- this._setInitialValue("startValue", this.startValue);
208
- this._setInitialValue("endValue", this.endValue);
209
- }
210
-
211
- if (this.showTooltip) {
212
- this._tooltipVisibility = SliderBase.TOOLTIP_VISIBILITY.VISIBLE;
213
- }
214
- }
215
-
216
- /**
217
- * Handles focus out event of the focusable components inner elements.
218
- * Prevent focusout when the focus is getting initially set within the slider before the
219
- * slider customElement itself is finished focusing.
220
- *
221
- * Prevents the focus from leaving the Range Slider when the focus is managed between
222
- * its inner elements in result of user interactions.
223
- *
224
- * Resets the stored Range Slider's initial values saved when it was first focused
225
- *
226
- * @private
227
- */
228
- _onfocusout(event) {
229
- if (this._isFocusing()) {
230
- this._preventFocusOut();
231
- return;
232
- }
233
-
234
- this._setAffectedValue(null);
235
- this._setInitialValue("startValue", null);
236
- this._setInitialValue("endValue", null);
237
-
238
- if (this.showTooltip) {
239
- this._tooltipVisibility = SliderBase.TOOLTIP_VISIBILITY.HIDDEN;
240
- }
241
- }
242
-
243
- /**
244
- * Handles keyup logic. If one of the handles came across the other
245
- * swap the start and end values. Reset the affected value by the finished
246
- * user interaction.
247
- *
248
- * @private
249
- */
250
- _onkeyup(event) {
251
- super._onkeyup(event);
252
-
253
- this._swapValues();
254
- this._setAffectedValue(null);
255
- }
256
-
257
- _handleActionKeyPress(event) {
258
- if (isEscape(event)) {
259
- this.update(null, this._getInitialValue("startValue"), this._getInitialValue("endValue"));
260
- return;
261
- }
262
-
263
- // Set the target of the interaction based on the focused inner element
264
- this._setAffectedValueByFocusedElement();
265
-
266
- const min = this._effectiveMin;
267
- const max = this._effectiveMax;
268
- const affectedValue = this._valueAffected;
269
-
270
- // If home/end key is pressed and no single handle is focused the active element
271
- // is the range selection - update both start and end values. Otherwise, if 'home'
272
- // is pressed the 'startValue'will be used for the start-handle offset calculation,
273
- // if 'End' is pressed - the 'endValue' will be used for the end-handle update.
274
- if ((isEnd(event) || isHome(event)) && !affectedValue) {
275
- this._homeEndForSelectedRange(event, isHome(event) ? "startValue" : "endValue", min, max);
276
- return;
277
- }
278
-
279
- // Calculate how much the value should be increased/decreased based on the action key
280
- const newValueOffset = this._handleActionKeyPressBase(event, affectedValue);
281
-
282
- if (!newValueOffset) {
283
- return;
284
- }
285
-
286
- // Update a single value if one of the handles is focused or the range if not already at min or max
287
- if (affectedValue && !this._isPressInCurrentRange) {
288
- const newValue = this.constructor.clipValue(newValueOffset + this[affectedValue], min, max);
289
- this.update(affectedValue, newValue, null);
290
- } else if ((newValueOffset < 0 && this.startValue > min) || (newValueOffset > 0 && this.endValue < max)) {
291
- const newStartValue = this.constructor.clipValue(newValueOffset + this.startValue, min, max);
292
- const newEndValue = this.constructor.clipValue(newValueOffset + this.endValue, min, max);
293
- this.update(affectedValue, newStartValue, newEndValue);
294
- }
295
- }
296
-
297
- /**
298
- * Determines affected value (start/end) depending on the currently
299
- * active inner element within the Range Slider - used in the keyboard handling.
300
- *
301
- * @private
302
- */
303
- _setAffectedValueByFocusedElement() {
304
- if (this.shadowRoot.activeElement === this._startHandle) {
305
- this._setAffectedValue(RangeSlider.VALUES.start);
306
- }
307
-
308
- if (this.shadowRoot.activeElement === this._endHandle) {
309
- this._setAffectedValue(RangeSlider.VALUES.end);
310
- }
311
-
312
- if (this.shadowRoot.activeElement === this._progressBar) {
313
- this._setAffectedValue(null);
314
- }
315
-
316
- this._setIsPressInCurrentRange(!this._valueAffected);
317
- }
318
-
319
- /**
320
- * Calculates the start and end values when the 'Home" or 'End' keys
321
- * are pressed on the selected range bar.
322
- *
323
- * @private
324
- */
325
- _homeEndForSelectedRange(event, affectedValue, min, max) {
326
- const newValueOffset = this._handleActionKeyPressBase(event, affectedValue);
327
- const newStartValue = this.constructor.clipValue(newValueOffset + this.startValue, min, max);
328
- const newEndValue = this.constructor.clipValue(newValueOffset + this.endValue, min, max);
329
-
330
- this.update(null, newStartValue, newEndValue);
331
- }
332
-
333
- /**
334
- * Update values, stored inner state and the visual UI representation of the component.
335
- * If no specific type of value property is passed - the range is selected - update both handles,
336
- * otherwise update the handle corresponding to the affected by the user interacton value prop.
337
- *
338
- * @private
339
- */
340
- update(affectedValue, startValue, endValue) {
341
- if (!affectedValue) {
342
- this.updateValue("startValue", startValue);
343
- this.updateValue("endValue", endValue);
344
- this._updateHandlesAndRange(null);
345
- } else {
346
- const newValue = startValue;
347
- this._updateHandlesAndRange(newValue);
348
- this.updateValue(affectedValue, newValue);
349
- }
350
- }
351
-
352
- /**
353
- * Called when the user starts interacting with the slider
354
- *
355
- * @private
356
- */
357
- _onmousedown(event) {
358
- // If step is 0 no interaction is available because there is no constant
359
- // (equal for all user environments) quantitative representation of the value
360
- if (this.disabled || this._effectiveStep === 0) {
361
- return;
362
- }
363
-
364
- // Calculate the new value from the press position of the event
365
- const newValue = this.handleDownBase(event);
366
-
367
- // Determine the rest of the needed details from the start of the interaction.
368
- this._saveInteractionStartData(event, newValue);
369
-
370
- this.rangePressed = this._isPressInCurrentRange;
371
-
372
- // Do not yet update the RangeSlider if press is in range or over a handle.
373
- if (this._isPressInCurrentRange || this._handeIsPressed) {
374
- this._handeIsPressed = false;
375
- return;
376
- }
377
-
378
- // Update Slider UI and internal state
379
- this.update(this._valueAffected, newValue, null);
380
- }
381
-
382
- /**
383
- * Determines and saves needed values from the start of the interaction:
384
- *
385
- * Is the value calculated is within the currently selected range;
386
- * Initial pageX position of the start handle affected by the interaction;
387
- * Initial pageX value of the pressed postion;
388
- * Affected value property by the action;
389
- *
390
- * @private
391
- */
392
- _saveInteractionStartData(event, newValue) {
393
- const progressBarDom = this.shadowRoot.querySelector(".ui5-slider-progress").getBoundingClientRect();
394
-
395
- // Save the state of the value properties on the start of the interaction
396
- this._startValueAtBeginningOfAction = this.startValue;
397
- this._endValueAtBeginningOfAction = this.endValue;
398
-
399
- // Save the initial press point coordinates (position)
400
- this._initialPageXPosition = this.constructor.getPageXValueFromEvent(event);
401
- // Which element of the Range Slider is pressed and which value property to be modified on further interaction
402
- this._pressTargetAndAffectedValue(this._initialPageXPosition, newValue);
403
- // Use the progress bar to save the initial coordinates of the start-handle when the interaction begins.
404
- this._initialStartHandlePageX = this.directionStart === "left" ? progressBarDom.left : progressBarDom.right;
405
- }
406
-
407
- /**
408
- * Called when the user moves the slider
409
- *
410
- * @private
411
- */
412
- _handleMove(event) {
413
- event.preventDefault();
414
-
415
- // If 'step' is 0 no interaction is available as there is no constant quantitative representation of the value
416
- if (this.disabled || this._effectiveStep === 0) {
417
- return;
418
- }
419
-
420
- // Update UI and state when dragging a single Range Slider handle
421
- if (!this._isPressInCurrentRange) {
422
- this._updateValueOnHandleDrag(event);
423
- return;
424
- }
425
-
426
- // Updates UI and state when dragging of the whole selected range
427
- this._updateValueOnRangeDrag(event);
428
- }
429
-
430
- /**
431
- * Updates UI and state when dragging a single Range Slider handle
432
- *
433
- * @private
434
- */
435
- _updateValueOnHandleDrag(event) {
436
- const newValue = this.constructor.getValueFromInteraction(event, this._effectiveStep, this._effectiveMin, this._effectiveMax, this.getBoundingClientRect(), this.directionStart);
437
- this.update(this._valueAffected, newValue, null);
438
- }
439
-
440
- /**
441
- * Updates UI and state when dragging of the whole selected range
442
- *
443
- * @private
444
- */
445
- _updateValueOnRangeDrag(event) {
446
- // Calculate the new 'start' and 'end' values from the offset between the original press point and the current position of the mouse
447
- const currentPageXPos = this.constructor.getPageXValueFromEvent(event);
448
- const newValues = this._calculateRangeOffset(currentPageXPos, this._initialStartHandlePageX);
449
-
450
- // No matter the which value is set as the one to be modified (by prev. user action) we want to modify both of them
451
- this._setAffectedValue(null);
452
-
453
- // Update the UI and the state acccording to the calculated new values
454
- this.update(null, newValues[0], newValues[1]);
455
- }
456
-
457
- _handleUp() {
458
- if (this.startValue !== this._startValueAtBeginningOfAction || this.endValue !== this._endValueAtBeginningOfAction) {
459
- this.fireEvent("change");
460
- }
461
-
462
- this._swapValues();
463
- this._setAffectedValueByFocusedElement();
464
- this._setAffectedValue(null);
465
-
466
- this._startValueAtBeginningOfAction = null;
467
- this._endValueAtBeginningOfAction = null;
468
- this._setIsPressInCurrentRange(false);
469
-
470
- this.handleUpBase();
471
-
472
- this.rangePressed = false;
473
- }
474
-
475
- /**
476
- * Determines where the press occured and which values of the Range Slider
477
- * handles should be updated on further interaction.
478
- *
479
- * If the press is not in the selected range or over one of the Range Slider handles
480
- * determines which one from the value/endValue properties has to be updated
481
- * after the user action (based on closest handle).
482
- *
483
- * Set flags if the press is over a handle or in the selected range,
484
- * in such cases no values are changed on interaction start, but could be
485
- * updated later when dragging.
486
- *
487
- * @private
488
- */
489
- _pressTargetAndAffectedValue(clientX, value) {
490
- const startHandle = this.shadowRoot.querySelector(".ui5-slider-handle--start");
491
- const endHandle = this.shadowRoot.querySelector(".ui5-slider-handle--end");
492
-
493
- // Check if the press point is in the bounds of any of the Range Slider handles
494
- const handleStartDomRect = startHandle.getBoundingClientRect();
495
- const handleEndDomRect = endHandle.getBoundingClientRect();
496
- const inHandleStartDom = clientX >= handleStartDomRect.left && clientX <= handleStartDomRect.right;
497
- const inHandleEndDom = clientX >= handleEndDomRect.left && clientX <= handleEndDomRect.right;
498
-
499
- // Remove the flag for value in current range if the press action is over one of the handles
500
- if (inHandleEndDom || inHandleStartDom) {
501
- this._handeIsPressed = true;
502
- }
503
-
504
- // Return that handle that is closer to the press point
505
- if (inHandleEndDom || value > this.endValue) {
506
- this._setAffectedValue(RangeSlider.VALUES.end);
507
- }
508
-
509
- // If one of the handle is pressed return that one
510
- if (inHandleStartDom || value < this.startValue) {
511
- this._setAffectedValue(RangeSlider.VALUES.start);
512
- }
513
-
514
- // Flag if press is in the current select range
515
- const isNewValueInCurrentRange = value >= this._startValueAtBeginningOfAction && value <= this._endValueAtBeginningOfAction;
516
- this._setIsPressInCurrentRange(!(this._valueAffected || this._handeIsPressed) ? isNewValueInCurrentRange : false);
517
- }
518
-
519
- /**
520
- * Sets the value property (start/end) that will get updated
521
- * by a user action depending on that user action's characteristics
522
- * - mouse press position - cursor coordinates relative to the start/end handles
523
- * - selected inner element via a keyboard navigation
524
- *
525
- * @param {string} valuePropAffectedByInteraction The value that will get modified by the interaction
526
- * @private
527
- */
528
- _setAffectedValue(valuePropAffectedByInteraction) {
529
- this._valueAffected = valuePropAffectedByInteraction;
530
-
531
- // If the values have been swapped reset the reversed flag
532
- if (this._areValuesReversed()) {
533
- this._setValuesAreReversed();
534
- }
535
- }
536
-
537
- /**
538
- * Flag if press action is made on the currently selected range of values
539
- *
540
- * @param {boolean} isPressInCurrentRange Did the current press action occur in the current range (between the two handles)
541
- * @private
542
- */
543
- _setIsPressInCurrentRange(isPressInCurrentRange) {
544
- this._isPressInCurrentRange = isPressInCurrentRange;
545
- }
546
-
547
- /**
548
- * Manage the focus between the focusable inner elements within the component.
549
- *
550
- * On initial focusin or if the whole range is affected by the user interaction
551
- * set the focus on the progress selection, otherwise on one of the Range Slider
552
- * handles based on the determined affected value by the user action.
553
- *
554
- * If one of the handles came across the other one in result of a user action
555
- * switch the focus between them to keep it visually consistent.
556
- *
557
- * Note:
558
- * In some cases this function is going to get called twice on one user action.
559
- *
560
- * 1. When the focus is initially set to an inner element it is done in the very beginning,
561
- * of an interaction - on 'mousedown' and 'keydown' events. The focus of the host custom element
562
- * is still not being received, causining an immediate focusout that we prevent by
563
- * calling this function once again.
564
- *
565
- * 2. When the focused is manually switched from one inner element to another.
566
- * The focusout handler is one and the same for all focusable parts within the
567
- * Range Slider and when is called it checks if it should keep the focus within
568
- * the component and which part of it should get focused if that is the case.
569
- *
570
- * @protected
571
- */
572
- focusInnerElement() {
573
- const isReversed = this._areValuesReversed();
574
- const affectedValue = this._valueAffected;
575
-
576
- if (this._isPressInCurrentRange || !affectedValue) {
577
- this._progressBar.focus();
578
- }
579
-
580
- if ((affectedValue === RangeSlider.VALUES.start && !isReversed) || (affectedValue === RangeSlider.VALUES.end && isReversed)) {
581
- this._startHandle.focus();
582
- }
583
-
584
- if ((affectedValue === RangeSlider.VALUES.end && !isReversed) || (affectedValue === RangeSlider.VALUES.start && isReversed)) {
585
- this._endHandle.focus();
586
- }
587
- }
588
-
589
- /**
590
- * Calculates startValue/endValue properties when the whole range is moved.
591
- *
592
- * Uses the change of the position of the start handle and adds the initially
593
- * selected range to it, to determine the whole range offset.
594
- *
595
- * @param {Integer} currentPageXPos The current horizontal position of the cursor/touch
596
- * @param {Integer} initialStartHandlePageXPos The initial horizontal position of the start handle
597
- *
598
- * @private
599
- */
600
- _calculateRangeOffset(currentPageXPos, initialStartHandlePageXPos) {
601
- // Return the current values if there is no difference in the
602
- // possitions of the initial press and the current pointer
603
- if (this._initialPageXPosition === currentPageXPos) {
604
- return [this.startValue, this.endValue];
605
- }
606
-
607
- const min = this._effectiveMin;
608
- const max = this._effectiveMax;
609
- const selectedRange = this.endValue - this.startValue;
610
-
611
- // Computes the new value based on the difference of the current cursor location from the start of the interaction
612
- let startValue = this._calculateStartValueByOffset(currentPageXPos, initialStartHandlePageXPos);
613
-
614
- // When the end handle reaches the max possible value prevent the start handle from moving
615
- // And the opposite - if the start handle reaches the beginning of the slider keep the initially selected range.
616
- startValue = this.constructor.clipValue(startValue, min, max - selectedRange);
617
-
618
- return [startValue, startValue + selectedRange];
619
- }
620
-
621
- /**
622
- * Computes the new value based on the difference of the current cursor location from the
623
- * start of the interaction.
624
- *
625
- * @param {Integer} currentPageXPos The current horizontal position of the cursor/touch
626
- * @param {Integer} initialStartHandlePageXPos The initial horizontal position of the start handle
627
- *
628
- * @private
629
- */
630
- _calculateStartValueByOffset(currentPageXPos, initialStartHandlePageXPos) {
631
- const min = this._effectiveMin;
632
- const max = this._effectiveMax;
633
- const step = this._effectiveStep;
634
- const dom = this.getBoundingClientRect();
635
-
636
- let startValue;
637
- let startValuePageX;
638
- let positionOffset;
639
-
640
- /* Depending on the dragging direction:
641
- - calculate the new position of the start handle from its old pageX value combined with the movement offset;
642
- - calculate the start value based on its new pageX coordinates;
643
- - 'stepify' the calculated value based on the specified step property; */
644
- if (currentPageXPos > this._initialPageXPosition) {
645
- // Difference between the new position of the pointer and when the press event initial occured
646
- positionOffset = currentPageXPos - this._initialPageXPosition;
647
-
648
- startValuePageX = initialStartHandlePageXPos + positionOffset;
649
- startValue = this.constructor.computedValueFromPageX(startValuePageX, min, max, dom, this.directionStart);
650
- startValue = this.constructor.getSteppedValue(startValue, step, min);
651
- } else {
652
- positionOffset = this._initialPageXPosition - currentPageXPos;
653
- startValuePageX = initialStartHandlePageXPos - positionOffset;
654
- startValue = this.constructor.computedValueFromPageX(startValuePageX, min, max, dom, this.directionStart);
655
- startValue = this.constructor.getSteppedValue(startValue, step, min);
656
- }
657
-
658
- return startValue;
659
- }
660
-
661
- /**
662
- * Updates the visual representation of the component by calculating
663
- * the styles of the handles and the range selection based on the new state.
664
- *
665
- * @private
666
- */
667
- _updateHandlesAndRange(newValue) {
668
- const max = this._effectiveMax;
669
- const min = this._effectiveMin;
670
- const prevStartValue = this.getStoredPropertyState("startValue");
671
- const prevEndValue = this.getStoredPropertyState("endValue");
672
- const affectedValue = this._valueAffected;
673
-
674
- // The value according to which we update the UI can be either the startValue
675
- // or the endValue property. It is determined in _getClosestHandle()
676
- // depending on to which handle is closer the user interaction.
677
- if (affectedValue === RangeSlider.VALUES.start) {
678
- this._selectedRange = (prevEndValue - newValue) / (max - min);
679
- this._firstHandlePositionFromStart = ((newValue - min) / (max - min)) * 100;
680
- } else if (affectedValue === RangeSlider.VALUES.end) {
681
- this._selectedRange = ((newValue - prevStartValue)) / (max - min);
682
- this._secondHandlePositionFromStart = ((newValue - min) / (max - min)) * 100;
683
- } else {
684
- // When both values are changed - UI sync or moving the whole selected range:
685
- this._selectedRange = ((this.endValue - this.startValue)) / (max - min);
686
- this._firstHandlePositionFromStart = ((this.startValue - min) / (max - min)) * 100;
687
- this._secondHandlePositionFromStart = ((this.endValue - min) / (max - min)) * 100;
688
- }
689
- }
690
-
691
- /**
692
- * Swaps the start and end values of the handles if one came accros the other:
693
- * - If the start value is greater than the endValue swap them and their handles
694
- * - If the endValue become less than the start value swap them and their handles
695
- *
696
- * Switches the focus to the opposite of the currently focused handle.
697
- *
698
- * Note: Only the property values are reversed, the DOM elements of the handles
699
- * corresponding to them are never switched.
700
- *
701
- * @private
702
- */
703
- _swapValues() {
704
- const affectedValue = this._valueAffected;
705
-
706
- if (affectedValue === RangeSlider.VALUES.start && this.startValue > this.endValue) {
707
- const prevEndValue = this.endValue;
708
- this.endValue = this.startValue;
709
- this.startValue = prevEndValue;
710
-
711
- this._setValuesAreReversed();
712
- this.focusInnerElement();
713
- }
714
-
715
- if (affectedValue === RangeSlider.VALUES.end && this.endValue < this.startValue) {
716
- const prevStartValue = this.startValue;
717
- this.startValue = this.endValue;
718
- this.endValue = prevStartValue;
719
-
720
- this._setValuesAreReversed();
721
- this.focusInnerElement();
722
- }
723
- }
724
-
725
- /**
726
- * Flag that we have swapped the values of the 'start' and 'end' properties,
727
- * to correctly switch the focus within the component from one handle to another
728
- * when the swapping is finished. As we only swap property values and not
729
- * the handle elements themselves, we must also swap their focus.
730
- *
731
- * @private
732
- */
733
- _setValuesAreReversed() {
734
- this._reversedValues = !this._reversedValues;
735
- }
736
-
737
- _areValuesReversed() {
738
- return this._reversedValues;
739
- }
740
-
741
- get tickmarksObject() {
742
- const count = this._tickmarksCount;
743
- const arr = [];
744
-
745
- if (this._hiddenTickmarks) {
746
- return [false, false];
747
- }
748
-
749
- for (let i = 0; i <= count; i++) {
750
- const isBiggerThanStartValue = this._effectiveMin + (i * this.step) >= this.startValue;
751
- const isBiggerThanEndValue = this._effectiveMin + (i * this.step) <= this.endValue;
752
-
753
- arr.push(isBiggerThanStartValue && isBiggerThanEndValue);
754
- }
755
-
756
- return arr;
757
- }
758
-
759
- get _startHandle() {
760
- return this.shadowRoot.querySelector(".ui5-slider-handle--start");
761
- }
762
-
763
- get _endHandle() {
764
- return this.shadowRoot.querySelector(".ui5-slider-handle--end");
765
- }
766
-
767
- get _progressBar() {
768
- return this.shadowRoot.querySelector(".ui5-slider-progress");
769
- }
770
-
771
- get _ariaLabelledByStartHandleRefs() {
772
- return [`${this._id}-accName`, `${this._id}-startHandleDesc`].join(" ").trim();
773
- }
774
-
775
- get _ariaLabelledByEndHandleRefs() {
776
- return [`${this._id}-accName`, `${this._id}-endHandleDesc`].join(" ").trim();
777
- }
778
-
779
- get _ariaLabelledByProgressBarRefs() {
780
- return [`${this._id}-accName`, `${this._id}-sliderDesc`].join(" ").trim();
781
- }
782
-
783
- get styles() {
784
- return {
785
- progress: {
786
- "width": `${this._selectedRange * 100}%`,
787
- "transform-origin": `${this.directionStart} top`,
788
- [this.directionStart]: `${this._firstHandlePositionFromStart}%`,
789
- },
790
- startHandle: {
791
- [this.directionStart]: `${this._firstHandlePositionFromStart}%`,
792
- },
793
- endHandle: {
794
- [this.directionStart]: `${this._secondHandlePositionFromStart}%`,
795
- },
796
- tickmarks: {
797
- "background": `${this._tickmarks}`,
798
- },
799
- label: {
800
- "width": `${this._labelWidth}%`,
801
- },
802
- labelContainer: {
803
- "width": `100%`,
804
- [this.directionStart]: `-${this._labelWidth / 2}%`,
805
- },
806
- tooltip: {
807
- "visibility": `${this._tooltipVisibility}`,
808
- },
809
- };
810
- }
811
-
812
- static async onDefine() {
813
- RangeSlider.i18nBundle = await getI18nBundle("@ui5/webcomponents");
814
- }
815
- }
816
-
92
+ let RangeSlider = RangeSlider_1 = class RangeSlider extends SliderBase {
93
+ static get template() {
94
+ return RangeSliderTemplate;
95
+ }
96
+ static get dependencies() {
97
+ return [Icon];
98
+ }
99
+ static get styles() {
100
+ return [SliderBase.styles, rangeSliderStyles];
101
+ }
102
+ constructor() {
103
+ super();
104
+ this._isPressInCurrentRange = false;
105
+ this._handeIsPressed = false;
106
+ this._reversedValues = false;
107
+ this._stateStorage.startValue = undefined;
108
+ this._stateStorage.endValue = undefined;
109
+ }
110
+ get tooltipStartValue() {
111
+ const ctor = this.constructor;
112
+ const stepPrecision = ctor._getDecimalPrecisionOfNumber(this._effectiveStep);
113
+ return this.startValue.toFixed(stepPrecision);
114
+ }
115
+ get tooltipEndValue() {
116
+ const ctor = this.constructor;
117
+ const stepPrecision = ctor._getDecimalPrecisionOfNumber(this._effectiveStep);
118
+ return this.endValue.toFixed(stepPrecision);
119
+ }
120
+ get _ariaDisabled() {
121
+ return this.disabled || undefined;
122
+ }
123
+ get _ariaLabelledByText() {
124
+ return RangeSlider_1.i18nBundle.getText(RANGE_SLIDER_ARIA_DESCRIPTION);
125
+ }
126
+ get _ariaHandlesText() {
127
+ const isRTL = this.effectiveDir === "rtl";
128
+ const isReversed = this._areValuesReversed();
129
+ const ariaHandlesText = {};
130
+ if ((isRTL && !isReversed) || (!isRTL && isReversed)) {
131
+ ariaHandlesText.startHandleText = RangeSlider_1.i18nBundle.getText(RANGE_SLIDER_END_HANDLE_DESCRIPTION);
132
+ ariaHandlesText.endHandleText = RangeSlider_1.i18nBundle.getText(RANGE_SLIDER_START_HANDLE_DESCRIPTION);
133
+ }
134
+ else {
135
+ ariaHandlesText.startHandleText = RangeSlider_1.i18nBundle.getText(RANGE_SLIDER_START_HANDLE_DESCRIPTION);
136
+ ariaHandlesText.endHandleText = RangeSlider_1.i18nBundle.getText(RANGE_SLIDER_END_HANDLE_DESCRIPTION);
137
+ }
138
+ return ariaHandlesText;
139
+ }
140
+ /**
141
+ * Check if the previously saved state is outdated. That would mean
142
+ * either it is the initial rendering or that a property has been changed
143
+ * programmatically - because the previous state is always updated in
144
+ * the interaction handlers.
145
+ *
146
+ * Normalize current properties, update the previously stored state.
147
+ * Update the visual UI representation of the Slider.
148
+ *
149
+ */
150
+ onBeforeRendering() {
151
+ if (!this.isCurrentStateOutdated()) {
152
+ return;
153
+ }
154
+ this.notResized = true;
155
+ this.syncUIAndState();
156
+ this._updateHandlesAndRange(0);
157
+ }
158
+ syncUIAndState() {
159
+ // Validate step and update the stored state for the step property.
160
+ if (this.isPropertyUpdated("step")) {
161
+ this._validateStep(this.step);
162
+ this.storePropertyState("step");
163
+ }
164
+ // Recalculate the tickmarks and labels and update the stored state.
165
+ if (this.isPropertyUpdated("min", "max", "startValue", "endValue")) {
166
+ this.storePropertyState("min", "max");
167
+ // Here the value props are changed programmatically (not by user interaction)
168
+ // and it won't be "stepified" (rounded to the nearest step). 'Clip' them within
169
+ // min and max bounderies and update the previous state reference.
170
+ const normalizedStartValue = SliderBase.clipValue(this.startValue, this._effectiveMin, this._effectiveMax);
171
+ this.startValue = normalizedStartValue;
172
+ this.updateStateStorageAndFireInputEvent("startValue");
173
+ this.storePropertyState("startValue");
174
+ const normalizedEndValue = SliderBase.clipValue(this.endValue, this._effectiveMin, this._effectiveMax);
175
+ this.endValue = normalizedEndValue;
176
+ this.updateStateStorageAndFireInputEvent("endValue");
177
+ this.storePropertyState("endValue");
178
+ }
179
+ // Labels must be updated if any of the min/max/step/labelInterval props are changed
180
+ if (this.labelInterval && this.showTickmarks) {
181
+ this._createLabels();
182
+ }
183
+ // Update the stored state for the labelInterval, if changed
184
+ if (this.isPropertyUpdated("labelInterval")) {
185
+ this.storePropertyState("labelInterval");
186
+ }
187
+ }
188
+ _onfocusin() {
189
+ // If this is the initial focusin of the component save its initial
190
+ // value properties so they could be restored on ESC key press
191
+ if (!this._endValueInitial) {
192
+ this._startValueInitial = this.startValue;
193
+ this._endValueInitial = this.endValue;
194
+ }
195
+ if (this.showTooltip) {
196
+ this._tooltipVisibility = SliderBase.TOOLTIP_VISIBILITY.VISIBLE;
197
+ }
198
+ }
199
+ /**
200
+ * Handles focus out event of the focusable components inner elements.
201
+ * Prevent focusout when the focus is getting initially set within the slider before the
202
+ * slider customElement itself is finished focusing.
203
+ *
204
+ * Prevents the focus from leaving the Range Slider when the focus is managed between
205
+ * its inner elements in result of user interactions.
206
+ *
207
+ * Resets the stored Range Slider's initial values saved when it was first focused
208
+ *
209
+ * @private
210
+ */
211
+ _onfocusout() {
212
+ if (this._isFocusing()) {
213
+ this._preventFocusOut();
214
+ return;
215
+ }
216
+ this._setAffectedValue(undefined);
217
+ this._startValueInitial = undefined;
218
+ this._endValueInitial = undefined;
219
+ if (this.showTooltip) {
220
+ this._tooltipVisibility = SliderBase.TOOLTIP_VISIBILITY.HIDDEN;
221
+ }
222
+ }
223
+ /**
224
+ * Handles keyup logic. If one of the handles came across the other
225
+ * swap the start and end values. Reset the affected value by the finished
226
+ * user interaction.
227
+ *
228
+ * @private
229
+ */
230
+ _onkeyup() {
231
+ super._onkeyup();
232
+ this._swapValues();
233
+ this._setAffectedValue(undefined);
234
+ }
235
+ _handleActionKeyPress(e) {
236
+ if (isEscape(e)) {
237
+ this.update(undefined, this._startValueInitial, this._endValueInitial);
238
+ return;
239
+ }
240
+ // Set the target of the interaction based on the focused inner element
241
+ this._setAffectedValueByFocusedElement();
242
+ const min = this._effectiveMin;
243
+ const max = this._effectiveMax;
244
+ const affectedValue = this._valueAffected;
245
+ // If home/end key is pressed and no single handle is focused the active element
246
+ // is the range selection - update both start and end values. Otherwise, if 'home'
247
+ // is pressed the 'startValue'will be used for the start-handle offset calculation,
248
+ // if 'End' is pressed - the 'endValue' will be used for the end-handle update.
249
+ if ((isEnd(e) || isHome(e)) && !affectedValue) {
250
+ this._homeEndForSelectedRange(e, isHome(e) ? "startValue" : "endValue", min, max);
251
+ return;
252
+ }
253
+ // Calculate how much the value should be increased/decreased based on the action key
254
+ const newValueOffset = this._handleActionKeyPressBase(e, affectedValue);
255
+ if (!newValueOffset) {
256
+ return;
257
+ }
258
+ // Update a single value if one of the handles is focused or the range if not already at min or max
259
+ const ctor = this.constructor;
260
+ if (affectedValue && !this._isPressInCurrentRange) {
261
+ const propValue = this[affectedValue];
262
+ const newValue = ctor.clipValue(newValueOffset + propValue, min, max);
263
+ this.update(affectedValue, newValue, undefined);
264
+ }
265
+ else if ((newValueOffset < 0 && this.startValue > min) || (newValueOffset > 0 && this.endValue < max)) {
266
+ const newStartValue = ctor.clipValue(newValueOffset + this.startValue, min, max);
267
+ const newEndValue = ctor.clipValue(newValueOffset + this.endValue, min, max);
268
+ this.update(affectedValue, newStartValue, newEndValue);
269
+ }
270
+ }
271
+ /**
272
+ * Determines affected value (start/end) depending on the currently
273
+ * active inner element within the Range Slider - used in the keyboard handling.
274
+ *
275
+ * @private
276
+ */
277
+ _setAffectedValueByFocusedElement() {
278
+ if (this.shadowRoot.activeElement === this._startHandle) {
279
+ this._setAffectedValue("startValue");
280
+ }
281
+ if (this.shadowRoot.activeElement === this._endHandle) {
282
+ this._setAffectedValue("endValue");
283
+ }
284
+ if (this.shadowRoot.activeElement === this._progressBar) {
285
+ this._setAffectedValue(undefined);
286
+ }
287
+ this._setIsPressInCurrentRange(!this._valueAffected);
288
+ }
289
+ /**
290
+ * Calculates the start and end values when the 'Home" or 'End' keys
291
+ * are pressed on the selected range bar.
292
+ *
293
+ * @private
294
+ */
295
+ _homeEndForSelectedRange(e, affectedValue, min, max) {
296
+ const newValueOffset = this._handleActionKeyPressBase(e, affectedValue);
297
+ const ctor = this.constructor;
298
+ const newStartValue = ctor.clipValue(newValueOffset + this.startValue, min, max);
299
+ const newEndValue = ctor.clipValue(newValueOffset + this.endValue, min, max);
300
+ this.update(undefined, newStartValue, newEndValue);
301
+ }
302
+ /**
303
+ * Update values, stored inner state and the visual UI representation of the component.
304
+ * If no specific type of value property is passed - the range is selected - update both handles,
305
+ * otherwise update the handle corresponding to the affected by the user interacton value prop.
306
+ *
307
+ * @private
308
+ */
309
+ update(affectedValue, startValue, endValue) {
310
+ if (!affectedValue) {
311
+ this.startValue = startValue;
312
+ this.updateStateStorageAndFireInputEvent("startValue");
313
+ this.endValue = endValue;
314
+ this.updateStateStorageAndFireInputEvent("endValue");
315
+ this._updateHandlesAndRange(0);
316
+ }
317
+ else {
318
+ const newValue = startValue;
319
+ this._updateHandlesAndRange(newValue || 0);
320
+ if (affectedValue === "startValue") {
321
+ this.startValue = newValue;
322
+ this.updateStateStorageAndFireInputEvent("startValue");
323
+ }
324
+ if (affectedValue === "endValue") {
325
+ this.endValue = newValue;
326
+ this.updateStateStorageAndFireInputEvent("endValue");
327
+ }
328
+ }
329
+ }
330
+ /**
331
+ * Called when the user starts interacting with the slider
332
+ *
333
+ * @private
334
+ */
335
+ _onmousedown(e) {
336
+ // If step is 0 no interaction is available because there is no constant
337
+ // (equal for all user environments) quantitative representation of the value
338
+ if (this.disabled || this._effectiveStep === 0) {
339
+ return;
340
+ }
341
+ // Calculate the new value from the press position of the event
342
+ const newValue = this.handleDownBase(e);
343
+ // Determine the rest of the needed details from the start of the interaction.
344
+ this._saveInteractionStartData(e, newValue);
345
+ this.rangePressed = this._isPressInCurrentRange;
346
+ // Do not yet update the RangeSlider if press is in range or over a handle.
347
+ if (this._isPressInCurrentRange || this._handeIsPressed) {
348
+ this._handeIsPressed = false;
349
+ return;
350
+ }
351
+ // Update Slider UI and internal state
352
+ this.update(this._valueAffected, newValue, undefined);
353
+ }
354
+ /**
355
+ * Determines and saves needed values from the start of the interaction:
356
+ *
357
+ * Is the value calculated is within the currently selected range;
358
+ * Initial pageX position of the start handle affected by the interaction;
359
+ * Initial pageX value of the pressed postion;
360
+ * Affected value property by the action;
361
+ *
362
+ * @private
363
+ */
364
+ _saveInteractionStartData(e, newValue) {
365
+ const progressBarDom = this.shadowRoot.querySelector(".ui5-slider-progress").getBoundingClientRect();
366
+ // Save the state of the value properties on the start of the interaction
367
+ this._startValueAtBeginningOfAction = this.startValue;
368
+ this._endValueAtBeginningOfAction = this.endValue;
369
+ // Save the initial press point coordinates (position)
370
+ const ctor = this.constructor;
371
+ this._initialPageXPosition = ctor.getPageXValueFromEvent(e);
372
+ // Which element of the Range Slider is pressed and which value property to be modified on further interaction
373
+ this._pressTargetAndAffectedValue(this._initialPageXPosition, newValue);
374
+ // Use the progress bar to save the initial coordinates of the start-handle when the interaction begins.
375
+ this._initialStartHandlePageX = this.directionStart === "left" ? progressBarDom.left : progressBarDom.right;
376
+ }
377
+ /**
378
+ * Called when the user moves the slider
379
+ *
380
+ * @private
381
+ */
382
+ _handleMove(e) {
383
+ e.preventDefault();
384
+ // If 'step' is 0 no interaction is available as there is no constant quantitative representation of the value
385
+ if (this.disabled || this._effectiveStep === 0) {
386
+ return;
387
+ }
388
+ // Update UI and state when dragging a single Range Slider handle
389
+ if (!this._isPressInCurrentRange) {
390
+ this._updateValueOnHandleDrag(e);
391
+ return;
392
+ }
393
+ // Updates UI and state when dragging of the whole selected range
394
+ this._updateValueOnRangeDrag(e);
395
+ }
396
+ /**
397
+ * Updates UI and state when dragging a single Range Slider handle
398
+ *
399
+ * @private
400
+ */
401
+ _updateValueOnHandleDrag(event) {
402
+ const ctor = this.constructor;
403
+ const newValue = ctor.getValueFromInteraction(event, this._effectiveStep, this._effectiveMin, this._effectiveMax, this.getBoundingClientRect(), this.directionStart);
404
+ this.update(this._valueAffected, newValue, undefined);
405
+ }
406
+ /**
407
+ * Updates UI and state when dragging of the whole selected range
408
+ *
409
+ * @private
410
+ */
411
+ _updateValueOnRangeDrag(event) {
412
+ // Calculate the new 'start' and 'end' values from the offset between the original press point and the current position of the mouse
413
+ const ctor = this.constructor;
414
+ const currentPageXPos = ctor.getPageXValueFromEvent(event);
415
+ const newValues = this._calculateRangeOffset(currentPageXPos, this._initialStartHandlePageX);
416
+ // No matter the which value is set as the one to be modified (by prev. user action) we want to modify both of them
417
+ this._setAffectedValue(undefined);
418
+ // Update the UI and the state according to the calculated new values
419
+ this.update(undefined, newValues[0], newValues[1]);
420
+ }
421
+ _handleUp() {
422
+ this._swapValues();
423
+ this._setAffectedValueByFocusedElement();
424
+ this._setAffectedValue(undefined);
425
+ this._startValueAtBeginningOfAction = undefined;
426
+ this._endValueAtBeginningOfAction = undefined;
427
+ this._setIsPressInCurrentRange(false);
428
+ this.handleUpBase();
429
+ this.rangePressed = false;
430
+ if (this.startValue !== this._startValueAtBeginningOfAction || this.endValue !== this._endValueAtBeginningOfAction) {
431
+ this.fireEvent("change");
432
+ }
433
+ }
434
+ /**
435
+ * Determines where the press occured and which values of the Range Slider
436
+ * handles should be updated on further interaction.
437
+ *
438
+ * If the press is not in the selected range or over one of the Range Slider handles
439
+ * determines which one from the value/endValue properties has to be updated
440
+ * after the user action (based on closest handle).
441
+ *
442
+ * Set flags if the press is over a handle or in the selected range,
443
+ * in such cases no values are changed on interaction start, but could be
444
+ * updated later when dragging.
445
+ *
446
+ * @private
447
+ */
448
+ _pressTargetAndAffectedValue(clientX, value) {
449
+ const startHandle = this.shadowRoot.querySelector(".ui5-slider-handle--start");
450
+ const endHandle = this.shadowRoot.querySelector(".ui5-slider-handle--end");
451
+ // Check if the press point is in the bounds of any of the Range Slider handles
452
+ const handleStartDomRect = startHandle.getBoundingClientRect();
453
+ const handleEndDomRect = endHandle.getBoundingClientRect();
454
+ const inHandleStartDom = clientX >= handleStartDomRect.left && clientX <= handleStartDomRect.right;
455
+ const inHandleEndDom = clientX >= handleEndDomRect.left && clientX <= handleEndDomRect.right;
456
+ // Remove the flag for value in current range if the press action is over one of the handles
457
+ if (inHandleEndDom || inHandleStartDom) {
458
+ this._handeIsPressed = true;
459
+ }
460
+ // Return that handle that is closer to the press point
461
+ if (inHandleEndDom || value > this.endValue) {
462
+ this._setAffectedValue("endValue");
463
+ }
464
+ // If one of the handle is pressed return that one
465
+ if (inHandleStartDom || value < this.startValue) {
466
+ this._setAffectedValue("startValue");
467
+ }
468
+ // Flag if press is in the current select range
469
+ const isNewValueInCurrentRange = this._startValueAtBeginningOfAction !== undefined && this._endValueAtBeginningOfAction !== undefined && value >= this._startValueAtBeginningOfAction && value <= this._endValueAtBeginningOfAction;
470
+ this._setIsPressInCurrentRange(!(this._valueAffected || this._handeIsPressed) ? isNewValueInCurrentRange : false);
471
+ }
472
+ /**
473
+ * Sets the value property (start/end) that will get updated
474
+ * by a user action depending on that user action's characteristics
475
+ * - mouse press position - cursor coordinates relative to the start/end handles
476
+ * - selected inner element via a keyboard navigation
477
+ *
478
+ * @param {string} affectedValue The value that will get modified by the interaction
479
+ * @private
480
+ */
481
+ _setAffectedValue(affectedValue) {
482
+ this._valueAffected = affectedValue;
483
+ // If the values have been swapped reset the reversed flag
484
+ if (this._areValuesReversed()) {
485
+ this._setValuesAreReversed();
486
+ }
487
+ }
488
+ /**
489
+ * Flag if press action is made on the currently selected range of values
490
+ *
491
+ * @param {boolean} isPressInCurrentRange Did the current press action occur in the current range (between the two handles)
492
+ * @private
493
+ */
494
+ _setIsPressInCurrentRange(isPressInCurrentRange) {
495
+ this._isPressInCurrentRange = isPressInCurrentRange;
496
+ }
497
+ /**
498
+ * Manage the focus between the focusable inner elements within the component.
499
+ *
500
+ * On initial focusin or if the whole range is affected by the user interaction
501
+ * set the focus on the progress selection, otherwise on one of the Range Slider
502
+ * handles based on the determined affected value by the user action.
503
+ *
504
+ * If one of the handles came across the other one in result of a user action
505
+ * switch the focus between them to keep it visually consistent.
506
+ *
507
+ * Note:
508
+ * In some cases this function is going to get called twice on one user action.
509
+ *
510
+ * 1. When the focus is initially set to an inner element it is done in the very beginning,
511
+ * of an interaction - on 'mousedown' and 'keydown' events. The focus of the host custom element
512
+ * is still not being received, causining an immediate focusout that we prevent by
513
+ * calling this function once again.
514
+ *
515
+ * 2. When the focused is manually switched from one inner element to another.
516
+ * The focusout handler is one and the same for all focusable parts within the
517
+ * Range Slider and when is called it checks if it should keep the focus within
518
+ * the component and which part of it should get focused if that is the case.
519
+ *
520
+ * @protected
521
+ */
522
+ focusInnerElement() {
523
+ const isReversed = this._areValuesReversed();
524
+ const affectedValue = this._valueAffected;
525
+ if (this._isPressInCurrentRange || !affectedValue) {
526
+ this._progressBar.focus();
527
+ }
528
+ if ((affectedValue === "startValue" && !isReversed) || (affectedValue === "endValue" && isReversed)) {
529
+ this._startHandle.focus();
530
+ }
531
+ if ((affectedValue === "endValue" && !isReversed) || (affectedValue === "startValue" && isReversed)) {
532
+ this._endHandle.focus();
533
+ }
534
+ }
535
+ /**
536
+ * Calculates startValue/endValue properties when the whole range is moved.
537
+ *
538
+ * Uses the change of the position of the start handle and adds the initially
539
+ * selected range to it, to determine the whole range offset.
540
+ *
541
+ * @param {Integer} currentPageXPos The current horizontal position of the cursor/touch
542
+ * @param {Integer} initialStartHandlePageXPos The initial horizontal position of the start handle
543
+ *
544
+ * @private
545
+ */
546
+ _calculateRangeOffset(currentPageXPos, initialStartHandlePageXPos) {
547
+ // Return the current values if there is no difference in the
548
+ // positions of the initial press and the current pointer
549
+ if (this._initialPageXPosition === currentPageXPos) {
550
+ return [this.startValue, this.endValue];
551
+ }
552
+ const min = this._effectiveMin;
553
+ const max = this._effectiveMax;
554
+ const selectedRange = this.endValue - this.startValue;
555
+ // Computes the new value based on the difference of the current cursor location from the start of the interaction
556
+ let startValue = this._calculateStartValueByOffset(currentPageXPos, initialStartHandlePageXPos);
557
+ // When the end handle reaches the max possible value prevent the start handle from moving
558
+ // And the opposite - if the start handle reaches the beginning of the slider keep the initially selected range.
559
+ const ctor = this.constructor;
560
+ startValue = ctor.clipValue(startValue, min, max - selectedRange);
561
+ return [startValue, startValue + selectedRange];
562
+ }
563
+ /**
564
+ * Computes the new value based on the difference of the current cursor location from the
565
+ * start of the interaction.
566
+ *
567
+ * @param {Integer} currentPageXPos The current horizontal position of the cursor/touch
568
+ * @param {Integer} initialStartHandlePageXPos The initial horizontal position of the start handle
569
+ *
570
+ * @private
571
+ */
572
+ _calculateStartValueByOffset(currentPageXPos, initialStartHandlePageXPos) {
573
+ const min = this._effectiveMin;
574
+ const max = this._effectiveMax;
575
+ const step = this._effectiveStep;
576
+ const dom = this.getBoundingClientRect();
577
+ let startValue;
578
+ let startValuePageX;
579
+ let positionOffset;
580
+ /* Depending on the dragging direction:
581
+ - calculate the new position of the start handle from its old pageX value combined with the movement offset;
582
+ - calculate the start value based on its new pageX coordinates;
583
+ - 'stepify' the calculated value based on the specified step property; */
584
+ const ctor = this.constructor;
585
+ if (currentPageXPos > this._initialPageXPosition) {
586
+ // Difference between the new position of the pointer and when the press event initial occured
587
+ positionOffset = currentPageXPos - this._initialPageXPosition;
588
+ startValuePageX = initialStartHandlePageXPos + positionOffset;
589
+ startValue = ctor.computedValueFromPageX(startValuePageX, min, max, dom, this.directionStart);
590
+ startValue = ctor.getSteppedValue(startValue, step, min);
591
+ }
592
+ else {
593
+ positionOffset = this._initialPageXPosition - currentPageXPos;
594
+ startValuePageX = initialStartHandlePageXPos - positionOffset;
595
+ startValue = ctor.computedValueFromPageX(startValuePageX, min, max, dom, this.directionStart);
596
+ startValue = ctor.getSteppedValue(startValue, step, min);
597
+ }
598
+ return startValue;
599
+ }
600
+ /**
601
+ * Updates the visual representation of the component by calculating
602
+ * the styles of the handles and the range selection based on the new state.
603
+ *
604
+ * @private
605
+ */
606
+ _updateHandlesAndRange(newValue) {
607
+ const max = this._effectiveMax;
608
+ const min = this._effectiveMin;
609
+ const prevStartValue = this.getStoredPropertyState("startValue") || 0;
610
+ const prevEndValue = this.getStoredPropertyState("endValue") || 0;
611
+ const affectedValue = this._valueAffected;
612
+ // The value according to which we update the UI can be either the startValue
613
+ // or the endValue property. It is determined in _getClosestHandle()
614
+ // depending on to which handle is closer the user interaction.
615
+ if (affectedValue === "startValue") {
616
+ this._selectedRange = (prevEndValue - newValue) / (max - min);
617
+ this._firstHandlePositionFromStart = ((newValue - min) / (max - min)) * 100;
618
+ }
619
+ else if (affectedValue === "endValue") {
620
+ this._selectedRange = ((newValue - prevStartValue)) / (max - min);
621
+ this._secondHandlePositionFromStart = ((newValue - min) / (max - min)) * 100;
622
+ }
623
+ else {
624
+ // When both values are changed - UI sync or moving the whole selected range:
625
+ this._selectedRange = ((this.endValue - this.startValue)) / (max - min);
626
+ this._firstHandlePositionFromStart = ((this.startValue - min) / (max - min)) * 100;
627
+ this._secondHandlePositionFromStart = ((this.endValue - min) / (max - min)) * 100;
628
+ }
629
+ }
630
+ /**
631
+ * Swaps the start and end values of the handles if one came accros the other:
632
+ * - If the start value is greater than the endValue swap them and their handles
633
+ * - If the endValue become less than the start value swap them and their handles
634
+ *
635
+ * Switches the focus to the opposite of the currently focused handle.
636
+ *
637
+ * Note: Only the property values are reversed, the DOM elements of the handles
638
+ * corresponding to them are never switched.
639
+ *
640
+ * @private
641
+ */
642
+ _swapValues() {
643
+ const affectedValue = this._valueAffected;
644
+ if (affectedValue === "startValue" && this.startValue > this.endValue) {
645
+ const prevEndValue = this.endValue;
646
+ this.endValue = this.startValue;
647
+ this.startValue = prevEndValue;
648
+ this._setValuesAreReversed();
649
+ this.focusInnerElement();
650
+ }
651
+ if (affectedValue === "endValue" && this.endValue < this.startValue) {
652
+ const prevStartValue = this.startValue;
653
+ this.startValue = this.endValue;
654
+ this.endValue = prevStartValue;
655
+ this._setValuesAreReversed();
656
+ this.focusInnerElement();
657
+ }
658
+ }
659
+ /**
660
+ * Flag that we have swapped the values of the 'start' and 'end' properties,
661
+ * to correctly switch the focus within the component from one handle to another
662
+ * when the swapping is finished. As we only swap property values and not
663
+ * the handle elements themselves, we must also swap their focus.
664
+ *
665
+ * @private
666
+ */
667
+ _setValuesAreReversed() {
668
+ this._reversedValues = !this._reversedValues;
669
+ }
670
+ _areValuesReversed() {
671
+ return this._reversedValues;
672
+ }
673
+ get tickmarksObject() {
674
+ const count = this._tickmarksCount;
675
+ const arr = [];
676
+ if (this._hiddenTickmarks) {
677
+ return [false, false];
678
+ }
679
+ for (let i = 0; i <= count; i++) {
680
+ const isBiggerThanStartValue = this._effectiveMin + (i * this.step) >= this.startValue;
681
+ const isBiggerThanEndValue = this._effectiveMin + (i * this.step) <= this.endValue;
682
+ arr.push(isBiggerThanStartValue && isBiggerThanEndValue);
683
+ }
684
+ return arr;
685
+ }
686
+ get _startHandle() {
687
+ return this.shadowRoot.querySelector(".ui5-slider-handle--start");
688
+ }
689
+ get _endHandle() {
690
+ return this.shadowRoot.querySelector(".ui5-slider-handle--end");
691
+ }
692
+ get _progressBar() {
693
+ return this.shadowRoot.querySelector(".ui5-slider-progress");
694
+ }
695
+ get _ariaLabelledByStartHandleRefs() {
696
+ return [`${this._id}-accName`, `${this._id}-startHandleDesc`].join(" ").trim();
697
+ }
698
+ get _ariaLabelledByEndHandleRefs() {
699
+ return [`${this._id}-accName`, `${this._id}-endHandleDesc`].join(" ").trim();
700
+ }
701
+ get _ariaLabelledByProgressBarRefs() {
702
+ return [`${this._id}-accName`, `${this._id}-sliderDesc`].join(" ").trim();
703
+ }
704
+ get styles() {
705
+ return {
706
+ progress: {
707
+ "width": `${this._selectedRange * 100}%`,
708
+ "transform-origin": `${this.directionStart} top`,
709
+ [this.directionStart]: `${this._firstHandlePositionFromStart}%`,
710
+ },
711
+ startHandle: {
712
+ [this.directionStart]: `${this._firstHandlePositionFromStart}%`,
713
+ },
714
+ endHandle: {
715
+ [this.directionStart]: `${this._secondHandlePositionFromStart}%`,
716
+ },
717
+ label: {
718
+ "width": `${this._labelWidth}%`,
719
+ },
720
+ labelContainer: {
721
+ "width": `100%`,
722
+ [this.directionStart]: `-${this._labelWidth / 2}%`,
723
+ },
724
+ tooltip: {
725
+ "visibility": `${this._tooltipVisibility}`,
726
+ },
727
+ };
728
+ }
729
+ static async onDefine() {
730
+ RangeSlider_1.i18nBundle = await getI18nBundle("@ui5/webcomponents");
731
+ }
732
+ };
733
+ __decorate([
734
+ property({ validator: Float, defaultValue: 0 })
735
+ ], RangeSlider.prototype, "startValue", void 0);
736
+ __decorate([
737
+ property({ validator: Float, defaultValue: 100 })
738
+ ], RangeSlider.prototype, "endValue", void 0);
739
+ __decorate([
740
+ property({ type: Boolean })
741
+ ], RangeSlider.prototype, "rangePressed", void 0);
742
+ RangeSlider = RangeSlider_1 = __decorate([
743
+ customElement("ui5-range-slider"),
744
+ languageAware
745
+ ], RangeSlider);
817
746
  RangeSlider.define();
818
-
819
747
  export default RangeSlider;
748
+ //# sourceMappingURL=RangeSlider.js.map