@ui5/webcomponents 0.0.0-701b14e36 → 0.0.0-7a547f8cc

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