@openui5/sap.ui.webc.main 1.96.2 → 1.97.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (449) hide show
  1. package/.reuse/dep5 +1 -1
  2. package/THIRDPARTY.txt +2 -1
  3. package/package.json +3 -3
  4. package/src/sap/ui/webc/main/.library +1 -1
  5. package/src/sap/ui/webc/main/Avatar.js +2 -2
  6. package/src/sap/ui/webc/main/AvatarGroup.js +1 -1
  7. package/src/sap/ui/webc/main/Badge.js +1 -1
  8. package/src/sap/ui/webc/main/Breadcrumbs.js +4 -4
  9. package/src/sap/ui/webc/main/BreadcrumbsItem.js +4 -4
  10. package/src/sap/ui/webc/main/BusyIndicator.js +1 -1
  11. package/src/sap/ui/webc/main/Button.js +3 -3
  12. package/src/sap/ui/webc/main/Calendar.js +4 -4
  13. package/src/sap/ui/webc/main/CalendarDate.js +1 -1
  14. package/src/sap/ui/webc/main/Card.js +17 -1
  15. package/src/sap/ui/webc/main/CardHeader.js +4 -4
  16. package/src/sap/ui/webc/main/Carousel.js +1 -1
  17. package/src/sap/ui/webc/main/CheckBox.js +1 -1
  18. package/src/sap/ui/webc/main/ColorPalette.js +4 -4
  19. package/src/sap/ui/webc/main/ColorPaletteItem.js +1 -1
  20. package/src/sap/ui/webc/main/ColorPalettePopover.js +112 -0
  21. package/src/sap/ui/webc/main/ColorPicker.js +3 -3
  22. package/src/sap/ui/webc/main/ComboBox.js +4 -4
  23. package/src/sap/ui/webc/main/ComboBoxGroupItem.js +4 -4
  24. package/src/sap/ui/webc/main/ComboBoxItem.js +1 -1
  25. package/src/sap/ui/webc/main/CustomListItem.js +1 -1
  26. package/src/sap/ui/webc/main/DatePicker.js +5 -5
  27. package/src/sap/ui/webc/main/DateRangePicker.js +3 -3
  28. package/src/sap/ui/webc/main/DateTimePicker.js +4 -6
  29. package/src/sap/ui/webc/main/Dialog.js +1 -1
  30. package/src/sap/ui/webc/main/FileUploader.js +2 -2
  31. package/src/sap/ui/webc/main/GroupHeaderListItem.js +1 -1
  32. package/src/sap/ui/webc/main/Icon.js +1 -1
  33. package/src/sap/ui/webc/main/Input.js +6 -27
  34. package/src/sap/ui/webc/main/Label.js +2 -2
  35. package/src/sap/ui/webc/main/Link.js +2 -2
  36. package/src/sap/ui/webc/main/List.js +5 -6
  37. package/src/sap/ui/webc/main/MessageStrip.js +2 -2
  38. package/src/sap/ui/webc/main/MultiComboBox.js +4 -6
  39. package/src/sap/ui/webc/main/MultiComboBoxItem.js +1 -1
  40. package/src/sap/ui/webc/main/MultiInput.js +6 -27
  41. package/src/sap/ui/webc/main/Option.js +1 -1
  42. package/src/sap/ui/webc/main/Panel.js +5 -4
  43. package/src/sap/ui/webc/main/Popover.js +1 -1
  44. package/src/sap/ui/webc/main/ProgressIndicator.js +14 -1
  45. package/src/sap/ui/webc/main/RadioButton.js +1 -1
  46. package/src/sap/ui/webc/main/RangeSlider.js +15 -17
  47. package/src/sap/ui/webc/main/RatingIndicator.js +4 -4
  48. package/src/sap/ui/webc/main/ResponsivePopover.js +1 -1
  49. package/src/sap/ui/webc/main/SegmentedButton.js +1 -1
  50. package/src/sap/ui/webc/main/SegmentedButtonItem.js +5 -5
  51. package/src/sap/ui/webc/main/Select.js +1 -1
  52. package/src/sap/ui/webc/main/Slider.js +20 -20
  53. package/src/sap/ui/webc/main/StandardListItem.js +1 -1
  54. package/src/sap/ui/webc/main/StepInput.js +1 -1
  55. package/src/sap/ui/webc/main/SuggestionGroupItem.js +4 -4
  56. package/src/sap/ui/webc/main/SuggestionItem.js +2 -2
  57. package/src/sap/ui/webc/main/Switch.js +5 -5
  58. package/src/sap/ui/webc/main/Tab.js +1 -1
  59. package/src/sap/ui/webc/main/TabContainer.js +1 -1
  60. package/src/sap/ui/webc/main/TabSeparator.js +1 -1
  61. package/src/sap/ui/webc/main/Table.js +1 -1
  62. package/src/sap/ui/webc/main/TableCell.js +1 -1
  63. package/src/sap/ui/webc/main/TableColumn.js +1 -1
  64. package/src/sap/ui/webc/main/TableGroupRow.js +5 -5
  65. package/src/sap/ui/webc/main/TableRow.js +5 -5
  66. package/src/sap/ui/webc/main/TextArea.js +5 -5
  67. package/src/sap/ui/webc/main/TimePicker.js +3 -3
  68. package/src/sap/ui/webc/main/Title.js +1 -1
  69. package/src/sap/ui/webc/main/Toast.js +1 -1
  70. package/src/sap/ui/webc/main/ToggleButton.js +3 -3
  71. package/src/sap/ui/webc/main/Token.js +2 -2
  72. package/src/sap/ui/webc/main/Tree.js +29 -1
  73. package/src/sap/ui/webc/main/TreeItem.js +1 -1
  74. package/src/sap/ui/webc/main/library.js +16 -12
  75. package/src/sap/ui/webc/main/thirdparty/Assets.js +1 -1
  76. package/src/sap/ui/webc/main/thirdparty/Avatar.js +8 -11
  77. package/src/sap/ui/webc/main/thirdparty/AvatarGroup.js +6 -7
  78. package/src/sap/ui/webc/main/thirdparty/Badge.js +11 -6
  79. package/src/sap/ui/webc/main/thirdparty/Breadcrumbs.js +6 -4
  80. package/src/sap/ui/webc/main/thirdparty/BusyIndicator.js +2 -3
  81. package/src/sap/ui/webc/main/thirdparty/Button.js +3 -4
  82. package/src/sap/ui/webc/main/thirdparty/Calendar.js +73 -2
  83. package/src/sap/ui/webc/main/thirdparty/CalendarHeader.js +17 -55
  84. package/src/sap/ui/webc/main/thirdparty/Card.js +13 -9
  85. package/src/sap/ui/webc/main/thirdparty/CardHeader.js +16 -11
  86. package/src/sap/ui/webc/main/thirdparty/Carousel.js +8 -7
  87. package/src/sap/ui/webc/main/thirdparty/CheckBox.js +31 -6
  88. package/src/sap/ui/webc/main/thirdparty/ColorPalette.js +161 -12
  89. package/src/sap/ui/webc/main/thirdparty/ColorPaletteItem.js +14 -4
  90. package/src/sap/ui/webc/main/thirdparty/ColorPalettePopover.js +110 -0
  91. package/src/sap/ui/webc/main/thirdparty/ColorPicker.js +10 -1
  92. package/src/sap/ui/webc/main/thirdparty/ComboBox.js +146 -57
  93. package/src/sap/ui/webc/main/thirdparty/DateComponentBase.js +2 -3
  94. package/src/sap/ui/webc/main/thirdparty/DatePicker.js +3 -3
  95. package/src/sap/ui/webc/main/thirdparty/DateRangePicker.js +1 -1
  96. package/src/sap/ui/webc/main/thirdparty/DateTimePicker.js +7 -6
  97. package/src/sap/ui/webc/main/thirdparty/DayPicker.js +9 -4
  98. package/src/sap/ui/webc/main/thirdparty/Dialog.js +11 -4
  99. package/src/sap/ui/webc/main/thirdparty/DurationPicker.js +1 -1
  100. package/src/sap/ui/webc/main/thirdparty/FileUploader.js +14 -9
  101. package/src/sap/ui/webc/main/thirdparty/GroupHeaderListItem.js +5 -8
  102. package/src/sap/ui/webc/main/thirdparty/Icon.js +14 -11
  103. package/src/sap/ui/webc/main/thirdparty/Input.js +68 -39
  104. package/src/sap/ui/webc/main/thirdparty/Link.js +2 -3
  105. package/src/sap/ui/webc/main/thirdparty/List.js +41 -12
  106. package/src/sap/ui/webc/main/thirdparty/ListItem.js +13 -8
  107. package/src/sap/ui/webc/main/thirdparty/MessageStrip.js +2 -3
  108. package/src/sap/ui/webc/main/thirdparty/MultiComboBox.js +189 -59
  109. package/src/sap/ui/webc/main/thirdparty/MultiInput.js +1 -1
  110. package/src/sap/ui/webc/main/thirdparty/Panel.js +2 -3
  111. package/src/sap/ui/webc/main/thirdparty/Popover.js +52 -31
  112. package/src/sap/ui/webc/main/thirdparty/Popup.js +14 -25
  113. package/src/sap/ui/webc/main/thirdparty/ProgressIndicator.js +8 -7
  114. package/src/sap/ui/webc/main/thirdparty/RadioButton.js +35 -7
  115. package/src/sap/ui/webc/main/thirdparty/RangeSlider.js +6 -7
  116. package/src/sap/ui/webc/main/thirdparty/RatingIndicator.js +3 -4
  117. package/src/sap/ui/webc/main/thirdparty/ResponsivePopover.js +5 -23
  118. package/src/sap/ui/webc/main/thirdparty/SegmentedButton.js +4 -4
  119. package/src/sap/ui/webc/main/thirdparty/SegmentedButtonItem.js +1 -1
  120. package/src/sap/ui/webc/main/thirdparty/Select.js +53 -47
  121. package/src/sap/ui/webc/main/thirdparty/Slider.js +2 -3
  122. package/src/sap/ui/webc/main/thirdparty/SliderBase.js +4 -9
  123. package/src/sap/ui/webc/main/thirdparty/StepInput.js +3 -4
  124. package/src/sap/ui/webc/main/thirdparty/Switch.js +5 -6
  125. package/src/sap/ui/webc/main/thirdparty/Tab.js +12 -2
  126. package/src/sap/ui/webc/main/thirdparty/TabContainer.js +12 -5
  127. package/src/sap/ui/webc/main/thirdparty/Table.js +8 -6
  128. package/src/sap/ui/webc/main/thirdparty/TableGroupRow.js +2 -3
  129. package/src/sap/ui/webc/main/thirdparty/TableRow.js +4 -8
  130. package/src/sap/ui/webc/main/thirdparty/TextArea.js +11 -10
  131. package/src/sap/ui/webc/main/thirdparty/TimePicker.js +1 -1
  132. package/src/sap/ui/webc/main/thirdparty/TimePickerBase.js +9 -6
  133. package/src/sap/ui/webc/main/thirdparty/TimeSelection.js +8 -9
  134. package/src/sap/ui/webc/main/thirdparty/Toast.js +5 -0
  135. package/src/sap/ui/webc/main/thirdparty/Token.js +2 -6
  136. package/src/sap/ui/webc/main/thirdparty/Tokenizer.js +12 -14
  137. package/src/sap/ui/webc/main/thirdparty/Tree.js +18 -0
  138. package/src/sap/ui/webc/main/thirdparty/TreeListItem.js +12 -15
  139. package/src/sap/ui/webc/main/thirdparty/YearPicker.js +1 -0
  140. package/src/sap/ui/webc/main/thirdparty/css/themes/Avatar.css +1 -0
  141. package/src/sap/ui/webc/main/thirdparty/css/themes/AvatarGroup.css +1 -0
  142. package/src/sap/ui/webc/main/thirdparty/css/themes/Badge.css +1 -0
  143. package/src/sap/ui/webc/main/thirdparty/css/themes/Breadcrumbs.css +1 -0
  144. package/src/sap/ui/webc/main/thirdparty/css/themes/BreadcrumbsPopover.css +1 -0
  145. package/src/sap/ui/webc/main/thirdparty/css/themes/BrowserScrollbar.css +1 -0
  146. package/src/sap/ui/webc/main/thirdparty/css/themes/BusyIndicator.css +1 -0
  147. package/src/sap/ui/webc/main/thirdparty/css/themes/Button.css +1 -0
  148. package/src/sap/ui/webc/main/thirdparty/css/themes/Button.ie11.css +1 -0
  149. package/src/sap/ui/webc/main/thirdparty/css/themes/Calendar.css +1 -0
  150. package/src/sap/ui/webc/main/thirdparty/css/themes/CalendarHeader.css +1 -0
  151. package/src/sap/ui/webc/main/thirdparty/css/themes/Card.css +1 -0
  152. package/src/sap/ui/webc/main/thirdparty/css/themes/CardHeader.css +1 -0
  153. package/src/sap/ui/webc/main/thirdparty/css/themes/Carousel.css +1 -0
  154. package/src/sap/ui/webc/main/thirdparty/css/themes/CheckBox.css +1 -0
  155. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPalette.css +1 -0
  156. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPaletteItem.css +1 -0
  157. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPalettePopover.css +1 -0
  158. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPaletteStaticArea.css +1 -0
  159. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPicker.css +1 -0
  160. package/src/sap/ui/webc/main/thirdparty/css/themes/ComboBox.css +1 -0
  161. package/src/sap/ui/webc/main/thirdparty/css/themes/ComboBoxPopover.css +1 -0
  162. package/src/sap/ui/webc/main/thirdparty/css/themes/CustomListItem.css +1 -0
  163. package/src/sap/ui/webc/main/thirdparty/css/themes/DatePicker.css +1 -0
  164. package/src/sap/ui/webc/main/thirdparty/css/themes/DatePickerPopover.css +1 -0
  165. package/src/sap/ui/webc/main/thirdparty/css/themes/DateRangePicker.css +1 -0
  166. package/src/sap/ui/webc/main/thirdparty/css/themes/DateTimePicker.css +1 -0
  167. package/src/sap/ui/webc/main/thirdparty/css/themes/DateTimePickerPopover.css +1 -0
  168. package/src/sap/ui/webc/main/thirdparty/css/themes/DayPicker.css +1 -0
  169. package/src/sap/ui/webc/main/thirdparty/css/themes/Dialog.css +1 -0
  170. package/src/sap/ui/webc/main/thirdparty/css/themes/FileUploader.css +1 -0
  171. package/src/sap/ui/webc/main/thirdparty/css/themes/GroupHeaderListItem.css +1 -0
  172. package/src/sap/ui/webc/main/thirdparty/css/themes/GrowingButton.css +1 -0
  173. package/src/sap/ui/webc/main/thirdparty/css/themes/Icon.css +1 -0
  174. package/src/sap/ui/webc/main/thirdparty/css/themes/Input.css +1 -0
  175. package/src/sap/ui/webc/main/thirdparty/css/themes/InputIcon.css +1 -0
  176. package/src/sap/ui/webc/main/thirdparty/css/themes/InvisibleTextStyles.css +1 -0
  177. package/src/sap/ui/webc/main/thirdparty/css/themes/Label.css +1 -0
  178. package/src/sap/ui/webc/main/thirdparty/css/themes/Link.css +1 -0
  179. package/src/sap/ui/webc/main/thirdparty/css/themes/List.css +1 -0
  180. package/src/sap/ui/webc/main/thirdparty/css/themes/ListItem.css +1 -0
  181. package/src/sap/ui/webc/main/thirdparty/css/themes/ListItemBase.css +1 -0
  182. package/src/sap/ui/webc/main/thirdparty/css/themes/MessageStrip.css +1 -0
  183. package/src/sap/ui/webc/main/thirdparty/css/themes/MonthPicker.css +1 -0
  184. package/src/sap/ui/webc/main/thirdparty/css/themes/MultiComboBox.css +1 -0
  185. package/src/sap/ui/webc/main/thirdparty/css/themes/MultiInput.css +1 -0
  186. package/src/sap/ui/webc/main/thirdparty/css/themes/Panel.css +1 -0
  187. package/src/sap/ui/webc/main/thirdparty/css/themes/Popover.css +1 -0
  188. package/src/sap/ui/webc/main/thirdparty/css/themes/Popup.css +1 -0
  189. package/src/sap/ui/webc/main/thirdparty/css/themes/PopupGlobal.css +1 -0
  190. package/src/sap/ui/webc/main/thirdparty/css/themes/PopupStaticAreaStyles.css +1 -0
  191. package/src/sap/ui/webc/main/thirdparty/css/themes/PopupsCommon.css +1 -0
  192. package/src/sap/ui/webc/main/thirdparty/css/themes/ProgressIndicator.css +1 -0
  193. package/src/sap/ui/webc/main/thirdparty/css/themes/RadioButton.css +1 -0
  194. package/src/sap/ui/webc/main/thirdparty/css/themes/RatingIndicator.css +1 -0
  195. package/src/sap/ui/webc/main/thirdparty/css/themes/ResponsivePopover.css +1 -0
  196. package/src/sap/ui/webc/main/thirdparty/css/themes/ResponsivePopoverCommon.css +1 -0
  197. package/src/sap/ui/webc/main/thirdparty/css/themes/SegmentedButton.css +1 -0
  198. package/src/sap/ui/webc/main/thirdparty/css/themes/Select.css +1 -0
  199. package/src/sap/ui/webc/main/thirdparty/css/themes/SelectPopover.css +1 -0
  200. package/src/sap/ui/webc/main/thirdparty/css/themes/SliderBase.css +1 -0
  201. package/src/sap/ui/webc/main/thirdparty/css/themes/StepInput.css +1 -0
  202. package/src/sap/ui/webc/main/thirdparty/css/themes/Suggestions.css +1 -0
  203. package/src/sap/ui/webc/main/thirdparty/css/themes/Switch.css +1 -0
  204. package/src/sap/ui/webc/main/thirdparty/css/themes/Tab.css +1 -0
  205. package/src/sap/ui/webc/main/thirdparty/css/themes/TabContainer.css +1 -0
  206. package/src/sap/ui/webc/main/thirdparty/css/themes/TabInOverflow.css +1 -0
  207. package/src/sap/ui/webc/main/thirdparty/css/themes/TabInStrip.css +1 -0
  208. package/src/sap/ui/webc/main/thirdparty/css/themes/Table.css +1 -0
  209. package/src/sap/ui/webc/main/thirdparty/css/themes/TableCell.css +1 -0
  210. package/src/sap/ui/webc/main/thirdparty/css/themes/TableColumn.css +1 -0
  211. package/src/sap/ui/webc/main/thirdparty/css/themes/TableGroupRow.css +1 -0
  212. package/src/sap/ui/webc/main/thirdparty/css/themes/TableRow.css +1 -0
  213. package/src/sap/ui/webc/main/thirdparty/css/themes/TapHighlightColor.css +1 -0
  214. package/src/sap/ui/webc/main/thirdparty/css/themes/TextArea.css +1 -0
  215. package/src/sap/ui/webc/main/thirdparty/css/themes/TimePicker.css +1 -0
  216. package/src/sap/ui/webc/main/thirdparty/css/themes/TimePickerPopover.css +1 -0
  217. package/src/sap/ui/webc/main/thirdparty/css/themes/TimeSelection.css +1 -0
  218. package/src/sap/ui/webc/main/thirdparty/css/themes/Title.css +1 -0
  219. package/src/sap/ui/webc/main/thirdparty/css/themes/Toast.css +1 -0
  220. package/src/sap/ui/webc/main/thirdparty/css/themes/ToggleButton.css +1 -0
  221. package/src/sap/ui/webc/main/thirdparty/css/themes/ToggleButton.ie11.css +1 -0
  222. package/src/sap/ui/webc/main/thirdparty/css/themes/Token.css +1 -0
  223. package/src/sap/ui/webc/main/thirdparty/css/themes/Tokenizer.css +1 -0
  224. package/src/sap/ui/webc/main/thirdparty/css/themes/Tree.css +1 -0
  225. package/src/sap/ui/webc/main/thirdparty/css/themes/TreeListItem.css +1 -0
  226. package/src/sap/ui/webc/main/thirdparty/css/themes/ValueStateMessage.css +1 -0
  227. package/src/sap/ui/webc/main/thirdparty/css/themes/WheelSlider.css +1 -0
  228. package/src/sap/ui/webc/main/thirdparty/css/themes/YearPicker.css +1 -0
  229. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize/parameters-bundle.css +1 -0
  230. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcb/parameters-bundle.css +1 -0
  231. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcw/parameters-bundle.css +1 -0
  232. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3/parameters-bundle.css +1 -0
  233. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -0
  234. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -0
  235. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -0
  236. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon/parameters-bundle.css +1 -0
  237. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_exp/parameters-bundle.css +1 -0
  238. package/src/sap/ui/webc/main/thirdparty/features/ColorPaletteMoreColors.js +6 -6
  239. package/src/sap/ui/webc/main/thirdparty/features/InputSuggestions.js +20 -15
  240. package/src/sap/ui/webc/main/thirdparty/generated/i18n/i18n-defaults.js +8 -1
  241. package/src/sap/ui/webc/main/thirdparty/generated/json-imports/Themes.js +10 -8
  242. package/src/sap/ui/webc/main/thirdparty/generated/json-imports/i18n.js +47 -47
  243. package/src/sap/ui/webc/main/thirdparty/generated/templates/BadgeTemplate.lit.js +1 -1
  244. package/src/sap/ui/webc/main/thirdparty/generated/templates/BusyIndicatorTemplate.lit.js +1 -1
  245. package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarTemplate.lit.js +1 -1
  246. package/src/sap/ui/webc/main/thirdparty/generated/templates/CardHeaderTemplate.lit.js +2 -2
  247. package/src/sap/ui/webc/main/thirdparty/generated/templates/CardTemplate.lit.js +1 -1
  248. package/src/sap/ui/webc/main/thirdparty/generated/templates/CarouselTemplate.lit.js +1 -1
  249. package/src/sap/ui/webc/main/thirdparty/generated/templates/CheckBoxTemplate.lit.js +1 -1
  250. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteItemTemplate.lit.js +1 -1
  251. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPalettePopoverTemplate.lit.js +8 -0
  252. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteTemplate.lit.js +6 -5
  253. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPickerTemplate.lit.js +1 -1
  254. package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxPopoverTemplate.lit.js +2 -2
  255. package/src/sap/ui/webc/main/thirdparty/generated/templates/CustomListItemTemplate.lit.js +3 -3
  256. package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerPopoverTemplate.lit.js +1 -1
  257. package/src/sap/ui/webc/main/thirdparty/generated/templates/DateTimePickerPopoverTemplate.lit.js +2 -2
  258. package/src/sap/ui/webc/main/thirdparty/generated/templates/DayPickerTemplate.lit.js +2 -2
  259. package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderTemplate.lit.js +1 -1
  260. package/src/sap/ui/webc/main/thirdparty/generated/templates/GroupHeaderListItemTemplate.lit.js +1 -1
  261. package/src/sap/ui/webc/main/thirdparty/generated/templates/InputPopoverTemplate.lit.js +1 -1
  262. package/src/sap/ui/webc/main/thirdparty/generated/templates/InputTemplate.lit.js +1 -1
  263. package/src/sap/ui/webc/main/thirdparty/generated/templates/ListItemTemplate.lit.js +3 -3
  264. package/src/sap/ui/webc/main/thirdparty/generated/templates/ListTemplate.lit.js +3 -3
  265. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxPopoverTemplate.lit.js +12 -9
  266. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxTemplate.lit.js +2 -2
  267. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiInputTemplate.lit.js +1 -1
  268. package/src/sap/ui/webc/main/thirdparty/generated/templates/ProgressIndicatorTemplate.lit.js +9 -5
  269. package/src/sap/ui/webc/main/thirdparty/generated/templates/RadioButtonTemplate.lit.js +1 -1
  270. package/src/sap/ui/webc/main/thirdparty/generated/templates/RangeSliderTemplate.lit.js +1 -1
  271. package/src/sap/ui/webc/main/thirdparty/generated/templates/RatingIndicatorTemplate.lit.js +6 -4
  272. package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectPopoverTemplate.lit.js +2 -2
  273. package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectTemplate.lit.js +1 -1
  274. package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderTemplate.lit.js +1 -1
  275. package/src/sap/ui/webc/main/thirdparty/generated/templates/StandardListItemTemplate.lit.js +3 -3
  276. package/src/sap/ui/webc/main/thirdparty/generated/templates/SuggestionListItemTemplate.lit.js +3 -3
  277. package/src/sap/ui/webc/main/thirdparty/generated/templates/SwitchTemplate.lit.js +1 -1
  278. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerTemplate.lit.js +1 -1
  279. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInStripTemplate.lit.js +2 -4
  280. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorTemplate.lit.js +1 -1
  281. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableTemplate.lit.js +2 -2
  282. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerPopoverTemplate.lit.js +1 -1
  283. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerTemplate.lit.js +1 -1
  284. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimeSelectionTemplate.lit.js +1 -1
  285. package/src/sap/ui/webc/main/thirdparty/generated/templates/ToastTemplate.lit.js +2 -1
  286. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeListItemTemplate.lit.js +3 -3
  287. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeTemplate.lit.js +1 -1
  288. package/src/sap/ui/webc/main/thirdparty/generated/templates/WheelSliderTemplate.lit.js +2 -2
  289. package/src/sap/ui/webc/main/thirdparty/generated/themes/Avatar.css.js +3 -3
  290. package/src/sap/ui/webc/main/thirdparty/generated/themes/AvatarGroup.css.js +3 -3
  291. package/src/sap/ui/webc/main/thirdparty/generated/themes/Badge.css.js +3 -3
  292. package/src/sap/ui/webc/main/thirdparty/generated/themes/Breadcrumbs.css.js +3 -3
  293. package/src/sap/ui/webc/main/thirdparty/generated/themes/BreadcrumbsPopover.css.js +3 -3
  294. package/src/sap/ui/webc/main/thirdparty/generated/themes/BrowserScrollbar.css.js +3 -3
  295. package/src/sap/ui/webc/main/thirdparty/generated/themes/BusyIndicator.css.js +3 -3
  296. package/src/sap/ui/webc/main/thirdparty/generated/themes/Button.css.js +3 -3
  297. package/src/sap/ui/webc/main/thirdparty/generated/themes/Button.ie11.css.js +3 -3
  298. package/src/sap/ui/webc/main/thirdparty/generated/themes/Calendar.css.js +3 -3
  299. package/src/sap/ui/webc/main/thirdparty/generated/themes/CalendarHeader.css.js +3 -3
  300. package/src/sap/ui/webc/main/thirdparty/generated/themes/Card.css.js +3 -3
  301. package/src/sap/ui/webc/main/thirdparty/generated/themes/CardHeader.css.js +3 -3
  302. package/src/sap/ui/webc/main/thirdparty/generated/themes/Carousel.css.js +3 -3
  303. package/src/sap/ui/webc/main/thirdparty/generated/themes/CheckBox.css.js +3 -3
  304. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalette.css.js +3 -3
  305. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteItem.css.js +3 -3
  306. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalettePopover.css.js +13 -0
  307. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteStaticArea.css.js +3 -3
  308. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPicker.css.js +3 -3
  309. package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBox.css.js +3 -3
  310. package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBoxPopover.css.js +3 -3
  311. package/src/sap/ui/webc/main/thirdparty/generated/themes/CustomListItem.css.js +3 -3
  312. package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePicker.css.js +3 -3
  313. package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePickerPopover.css.js +3 -3
  314. package/src/sap/ui/webc/main/thirdparty/generated/themes/DateRangePicker.css.js +3 -3
  315. package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePicker.css.js +3 -3
  316. package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePickerPopover.css.js +3 -3
  317. package/src/sap/ui/webc/main/thirdparty/generated/themes/DayPicker.css.js +3 -3
  318. package/src/sap/ui/webc/main/thirdparty/generated/themes/Dialog.css.js +3 -3
  319. package/src/sap/ui/webc/main/thirdparty/generated/themes/FileUploader.css.js +3 -3
  320. package/src/sap/ui/webc/main/thirdparty/generated/themes/GroupHeaderListItem.css.js +3 -3
  321. package/src/sap/ui/webc/main/thirdparty/generated/themes/GrowingButton.css.js +3 -3
  322. package/src/sap/ui/webc/main/thirdparty/generated/themes/Icon.css.js +3 -3
  323. package/src/sap/ui/webc/main/thirdparty/generated/themes/Input.css.js +3 -3
  324. package/src/sap/ui/webc/main/thirdparty/generated/themes/InputIcon.css.js +3 -3
  325. package/src/sap/ui/webc/main/thirdparty/generated/themes/InvisibleTextStyles.css.js +3 -3
  326. package/src/sap/ui/webc/main/thirdparty/generated/themes/Label.css.js +3 -3
  327. package/src/sap/ui/webc/main/thirdparty/generated/themes/Link.css.js +3 -3
  328. package/src/sap/ui/webc/main/thirdparty/generated/themes/List.css.js +3 -3
  329. package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItem.css.js +3 -3
  330. package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItemBase.css.js +3 -3
  331. package/src/sap/ui/webc/main/thirdparty/generated/themes/MessageStrip.css.js +3 -3
  332. package/src/sap/ui/webc/main/thirdparty/generated/themes/MonthPicker.css.js +3 -3
  333. package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBox.css.js +3 -3
  334. package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiInput.css.js +3 -3
  335. package/src/sap/ui/webc/main/thirdparty/generated/themes/Panel.css.js +3 -3
  336. package/src/sap/ui/webc/main/thirdparty/generated/themes/Popover.css.js +3 -3
  337. package/src/sap/ui/webc/main/thirdparty/generated/themes/Popup.css.js +3 -3
  338. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupGlobal.css.js +13 -0
  339. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupStaticAreaStyles.css.js +3 -3
  340. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupsCommon.css.js +3 -3
  341. package/src/sap/ui/webc/main/thirdparty/generated/themes/ProgressIndicator.css.js +3 -3
  342. package/src/sap/ui/webc/main/thirdparty/generated/themes/RadioButton.css.js +3 -3
  343. package/src/sap/ui/webc/main/thirdparty/generated/themes/RatingIndicator.css.js +3 -3
  344. package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopover.css.js +3 -3
  345. package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopoverCommon.css.js +3 -3
  346. package/src/sap/ui/webc/main/thirdparty/generated/themes/SegmentedButton.css.js +3 -3
  347. package/src/sap/ui/webc/main/thirdparty/generated/themes/Select.css.js +3 -3
  348. package/src/sap/ui/webc/main/thirdparty/generated/themes/SelectPopover.css.js +3 -3
  349. package/src/sap/ui/webc/main/thirdparty/generated/themes/SliderBase.css.js +3 -3
  350. package/src/sap/ui/webc/main/thirdparty/generated/themes/StepInput.css.js +3 -3
  351. package/src/sap/ui/webc/main/thirdparty/generated/themes/Suggestions.css.js +13 -0
  352. package/src/sap/ui/webc/main/thirdparty/generated/themes/Switch.css.js +3 -3
  353. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tab.css.js +3 -3
  354. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabContainer.css.js +3 -3
  355. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInOverflow.css.js +3 -3
  356. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInStrip.css.js +3 -3
  357. package/src/sap/ui/webc/main/thirdparty/generated/themes/Table.css.js +3 -3
  358. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableCell.css.js +3 -3
  359. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableColumn.css.js +3 -3
  360. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableGroupRow.css.js +3 -3
  361. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableRow.css.js +3 -3
  362. package/src/sap/ui/webc/main/thirdparty/generated/themes/TapHighlightColor.css.js +13 -0
  363. package/src/sap/ui/webc/main/thirdparty/generated/themes/TextArea.css.js +3 -3
  364. package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePicker.css.js +3 -3
  365. package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePickerPopover.css.js +3 -3
  366. package/src/sap/ui/webc/main/thirdparty/generated/themes/TimeSelection.css.js +3 -3
  367. package/src/sap/ui/webc/main/thirdparty/generated/themes/Title.css.js +3 -3
  368. package/src/sap/ui/webc/main/thirdparty/generated/themes/Toast.css.js +3 -3
  369. package/src/sap/ui/webc/main/thirdparty/generated/themes/ToggleButton.css.js +3 -3
  370. package/src/sap/ui/webc/main/thirdparty/generated/themes/ToggleButton.ie11.css.js +3 -3
  371. package/src/sap/ui/webc/main/thirdparty/generated/themes/Token.css.js +3 -3
  372. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tokenizer.css.js +3 -3
  373. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tree.css.js +3 -3
  374. package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeListItem.css.js +3 -3
  375. package/src/sap/ui/webc/main/thirdparty/generated/themes/ValueStateMessage.css.js +3 -3
  376. package/src/sap/ui/webc/main/thirdparty/generated/themes/WheelSlider.css.js +3 -3
  377. package/src/sap/ui/webc/main/thirdparty/generated/themes/YearPicker.css.js +3 -3
  378. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize/parameters-bundle.css.js +1 -1
  379. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcb/parameters-bundle.css.js +1 -1
  380. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcw/parameters-bundle.css.js +1 -1
  381. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
  382. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
  383. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
  384. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
  385. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon/parameters-bundle.css.js +7 -0
  386. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_exp/parameters-bundle.css.js +7 -0
  387. package/src/sap/ui/webc/main/thirdparty/{messagebundle_ar-7754de1c.js → messagebundle_ar-f610ffe9.js} +7 -0
  388. package/src/sap/ui/webc/main/thirdparty/{messagebundle_bg-041345aa.js → messagebundle_bg-e372ad7a.js} +7 -0
  389. package/src/sap/ui/webc/main/thirdparty/{messagebundle_ca-df38eb0b.js → messagebundle_ca-64403819.js} +7 -0
  390. package/src/sap/ui/webc/main/thirdparty/{messagebundle_cs-51d17321.js → messagebundle_cs-f5276d1f.js} +7 -0
  391. package/src/sap/ui/webc/main/thirdparty/{messagebundle_cy-cc129f0c.js → messagebundle_cy-5b51959f.js} +7 -0
  392. package/src/sap/ui/webc/main/thirdparty/{messagebundle_da-bc87b599.js → messagebundle_da-3f0c542a.js} +7 -0
  393. package/src/sap/ui/webc/main/thirdparty/{messagebundle_de-518b0a75.js → messagebundle_de-ff52e292.js} +7 -0
  394. package/src/sap/ui/webc/main/thirdparty/{messagebundle_el-9686b145.js → messagebundle_el-8a8f0e04.js} +7 -0
  395. package/src/sap/ui/webc/main/thirdparty/{messagebundle_en-57ad19b6.js → messagebundle_en-39f79920.js} +7 -0
  396. package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_GB-588d53e3.js → messagebundle_en_GB-9a6995bc.js} +7 -0
  397. package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_US_sappsd-e370df7b.js → messagebundle_en_US_sappsd-1cd6f946.js} +7 -0
  398. package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_US_saprigi-adf0ddb3.js → messagebundle_en_US_saprigi-88214efb.js} +10 -0
  399. package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_US_saptrc-261422e2.js → messagebundle_en_US_saptrc-d8b4cc37.js} +7 -0
  400. package/src/sap/ui/webc/main/thirdparty/{messagebundle_es-ec258b44.js → messagebundle_es-4e7804b3.js} +7 -0
  401. package/src/sap/ui/webc/main/thirdparty/{messagebundle_es_MX-5f113e73.js → messagebundle_es_MX-5d55637e.js} +8 -1
  402. package/src/sap/ui/webc/main/thirdparty/{messagebundle_et-901c732b.js → messagebundle_et-d019447e.js} +7 -0
  403. package/src/sap/ui/webc/main/thirdparty/{messagebundle_fi-0a2a6323.js → messagebundle_fi-115f5a0c.js} +7 -0
  404. package/src/sap/ui/webc/main/thirdparty/{messagebundle_fr-5df8899a.js → messagebundle_fr-f4458a8c.js} +7 -0
  405. package/src/sap/ui/webc/main/thirdparty/{messagebundle_fr_CA-0de6a568.js → messagebundle_fr_CA-d3ac2579.js} +7 -0
  406. package/src/sap/ui/webc/main/thirdparty/{messagebundle_hi-13e67957.js → messagebundle_hi-3dbf5206.js} +7 -0
  407. package/src/sap/ui/webc/main/thirdparty/{messagebundle_hr-93fbc1d1.js → messagebundle_hr-3112e358.js} +7 -0
  408. package/src/sap/ui/webc/main/thirdparty/{messagebundle_hu-dd94c35e.js → messagebundle_hu-90f77b24.js} +7 -0
  409. package/src/sap/ui/webc/main/thirdparty/{messagebundle_it-0c46ce25.js → messagebundle_it-4fd2c566.js} +7 -0
  410. package/src/sap/ui/webc/main/thirdparty/{messagebundle_iw-946df0a2.js → messagebundle_iw-ff53b57b.js} +7 -0
  411. package/src/sap/ui/webc/main/thirdparty/{messagebundle_ja-9cb333bb.js → messagebundle_ja-050a69c3.js} +7 -0
  412. package/src/sap/ui/webc/main/thirdparty/{messagebundle_kk-239d7820.js → messagebundle_kk-597a9724.js} +7 -0
  413. package/src/sap/ui/webc/main/thirdparty/{messagebundle_ko-6f09e984.js → messagebundle_ko-d840efd8.js} +7 -0
  414. package/src/sap/ui/webc/main/thirdparty/{messagebundle_lt-2d4f9935.js → messagebundle_lt-d15c1526.js} +7 -0
  415. package/src/sap/ui/webc/main/thirdparty/{messagebundle_lv-d73bf0c0.js → messagebundle_lv-539ad33e.js} +7 -0
  416. package/src/sap/ui/webc/main/thirdparty/{messagebundle_ms-9b4b2929.js → messagebundle_ms-98b3e6dd.js} +7 -0
  417. package/src/sap/ui/webc/main/thirdparty/{messagebundle_nl-55193168.js → messagebundle_nl-5c52e887.js} +7 -0
  418. package/src/sap/ui/webc/main/thirdparty/{messagebundle_no-7f4a6832.js → messagebundle_no-04ee2aaf.js} +7 -0
  419. package/src/sap/ui/webc/main/thirdparty/{messagebundle_pl-89c36a34.js → messagebundle_pl-6da30702.js} +7 -0
  420. package/src/sap/ui/webc/main/thirdparty/{messagebundle_pt-b87f9645.js → messagebundle_pt-71f281c3.js} +7 -0
  421. package/src/sap/ui/webc/main/thirdparty/{messagebundle_pt_PT-0e8230b0.js → messagebundle_pt_PT-6d966418.js} +7 -0
  422. package/src/sap/ui/webc/main/thirdparty/{messagebundle_ro-83e7f44d.js → messagebundle_ro-e76a9c5d.js} +7 -0
  423. package/src/sap/ui/webc/main/thirdparty/{messagebundle_ru-befd37d0.js → messagebundle_ru-dc34dd79.js} +7 -0
  424. package/src/sap/ui/webc/main/thirdparty/{messagebundle_sh-4edec182.js → messagebundle_sh-f2171ee6.js} +7 -0
  425. package/src/sap/ui/webc/main/thirdparty/{messagebundle_sk-29160489.js → messagebundle_sk-5c10a3c8.js} +7 -0
  426. package/src/sap/ui/webc/main/thirdparty/{messagebundle_sl-fd9ba370.js → messagebundle_sl-14cff3cf.js} +7 -0
  427. package/src/sap/ui/webc/main/thirdparty/{messagebundle_sv-57bfda52.js → messagebundle_sv-44a9e5d4.js} +7 -0
  428. package/src/sap/ui/webc/main/thirdparty/{messagebundle_th-184c45a0.js → messagebundle_th-6cbca7a8.js} +7 -0
  429. package/src/sap/ui/webc/main/thirdparty/{messagebundle_tr-d5781fbb.js → messagebundle_tr-00ce0f94.js} +7 -0
  430. package/src/sap/ui/webc/main/thirdparty/{messagebundle_uk-e49bb47f.js → messagebundle_uk-bf2de1c7.js} +7 -0
  431. package/src/sap/ui/webc/main/thirdparty/{messagebundle_vi-ce27847a.js → messagebundle_vi-a0de6aa8.js} +7 -0
  432. package/src/sap/ui/webc/main/thirdparty/{messagebundle_zh_CN-bdbfb1bd.js → messagebundle_zh_CN-7cbf9197.js} +7 -0
  433. package/src/sap/ui/webc/main/thirdparty/{messagebundle_zh_TW-ca1de535.js → messagebundle_zh_TW-53705d5b.js} +7 -0
  434. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-0f28e359.js +13 -0
  435. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-1ee56435.js +13 -0
  436. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-4d4cd873.js +13 -0
  437. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-5bdedee7.js +13 -0
  438. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-60d672db.js +13 -0
  439. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-793a420b.js +13 -0
  440. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-7c549d8f.js +13 -0
  441. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-7e5617d6.js +13 -0
  442. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-e75a0bfb.js +13 -0
  443. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-09f8e92d.js +0 -9
  444. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-19666884.js +0 -9
  445. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-8e7c6ad9.js +0 -9
  446. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-cb713657.js +0 -9
  447. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-dd8f2f47.js +0 -9
  448. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-e3a31f8e.js +0 -9
  449. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-e44b2b84.js +0 -9
@@ -6,6 +6,8 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/
6
6
  var litRender__default = /*#__PURE__*/_interopDefaultLegacy(litRender);
7
7
  var ValueState__default = /*#__PURE__*/_interopDefaultLegacy(ValueState);
8
8
 
9
+ let isGlobalHandlerAttached = false;
10
+ let activeCb = null;
9
11
  const metadata = {
10
12
  tag: "ui5-checkbox",
11
13
  languageAware: true,
@@ -36,6 +38,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/
36
38
  name: {
37
39
  type: String,
38
40
  },
41
+ active: {
42
+ type: Boolean,
43
+ },
39
44
  },
40
45
  events: {
41
46
  change: {},
@@ -61,7 +66,15 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/
61
66
  }
62
67
  constructor() {
63
68
  super();
64
- this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents");
69
+ this._deactivate = () => {
70
+ if (activeCb) {
71
+ activeCb.active = false;
72
+ }
73
+ };
74
+ if (!isGlobalHandlerAttached) {
75
+ document.addEventListener("mouseup", this._deactivate);
76
+ isGlobalHandlerAttached = true;
77
+ }
65
78
  }
66
79
  onBeforeRendering() {
67
80
  this._enableFormSupport();
@@ -80,18 +93,31 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/
80
93
  _onclick() {
81
94
  this.toggle();
82
95
  }
96
+ _onmousedown() {
97
+ this.active = true;
98
+ activeCb = this;
99
+ }
100
+ _onmouseup() {
101
+ this.active = false;
102
+ }
103
+ _onfocusout() {
104
+ this.active = false;
105
+ }
83
106
  _onkeydown(event) {
84
107
  if (Keys.isSpace(event)) {
85
108
  event.preventDefault();
109
+ this.active = true;
86
110
  }
87
111
  if (Keys.isEnter(event)) {
88
112
  this.toggle();
113
+ this.active = true;
89
114
  }
90
115
  }
91
116
  _onkeyup(event) {
92
117
  if (Keys.isSpace(event)) {
93
118
  this.toggle();
94
119
  }
120
+ this.active = false;
95
121
  }
96
122
  toggle() {
97
123
  if (this.canToggle()) {
@@ -110,11 +136,10 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/
110
136
  return !(this.disabled || this.readonly);
111
137
  }
112
138
  valueStateTextMappings() {
113
- const i18nBundle = this.i18nBundle;
114
139
  return {
115
- "Error": i18nBundle.getText(i18nDefaults.VALUE_STATE_ERROR),
116
- "Warning": i18nBundle.getText(i18nDefaults.VALUE_STATE_WARNING),
117
- "Success": i18nBundle.getText(i18nDefaults.VALUE_STATE_SUCCESS),
140
+ "Error": CheckBox.i18nBundle.getText(i18nDefaults.VALUE_STATE_ERROR),
141
+ "Warning": CheckBox.i18nBundle.getText(i18nDefaults.VALUE_STATE_WARNING),
142
+ "Success": CheckBox.i18nBundle.getText(i18nDefaults.VALUE_STATE_SUCCESS),
118
143
  };
119
144
  }
120
145
  get classes() {
@@ -159,7 +184,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/
159
184
  ];
160
185
  }
161
186
  static async onDefine() {
162
- await i18nBundle.fetchI18nBundle("@ui5/webcomponents");
187
+ CheckBox.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents");
163
188
  }
164
189
  }
165
190
  CheckBox.define();
@@ -1,4 +1,4 @@
1
- sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/common/thirdparty/base/delegate/ItemNavigation', 'sap/ui/webc/common/thirdparty/base/types/CSSColor', 'sap/ui/webc/common/thirdparty/base/types/ItemNavigationBehavior', 'sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/thirdparty/base/FeaturesRegistry', './generated/templates/ColorPaletteTemplate.lit', './generated/templates/ColorPaletteDialogTemplate.lit', './ColorPaletteItem', './generated/i18n/i18n-defaults', './generated/themes/ColorPalette.css', './generated/themes/ColorPaletteStaticArea.css'], function (UI5Element, litRender, i18nBundle, ItemNavigation, CSSColor, ItemNavigationBehavior, Keys, FeaturesRegistry, ColorPaletteTemplate_lit, ColorPaletteDialogTemplate_lit, ColorPaletteItem, i18nDefaults, ColorPalette_css, ColorPaletteStaticArea_css) { 'use strict';
1
+ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/common/thirdparty/base/delegate/ItemNavigation', 'sap/ui/webc/common/thirdparty/base/types/CSSColor', 'sap/ui/webc/common/thirdparty/base/types/ItemNavigationBehavior', 'sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/thirdparty/base/FeaturesRegistry', './generated/templates/ColorPaletteTemplate.lit', './generated/templates/ColorPaletteDialogTemplate.lit', './ColorPaletteItem', './generated/i18n/i18n-defaults', './generated/themes/ColorPalette.css', './generated/themes/ColorPaletteStaticArea.css'], function (UI5Element, litRender, i18nBundle, ItemNavigation, CSSColor, ItemNavigationBehavior, Device, Keys, FeaturesRegistry, ColorPaletteTemplate_lit, ColorPaletteDialogTemplate_lit, ColorPaletteItem, i18nDefaults, ColorPalette_css, ColorPaletteStaticArea_css) { 'use strict';
2
2
 
3
3
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
4
4
 
@@ -18,9 +18,18 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
18
18
  showMoreColors: {
19
19
  type: Boolean,
20
20
  },
21
+ showDefaultColor: {
22
+ type: Boolean,
23
+ },
24
+ defaultColor: {
25
+ type: CSSColor__default,
26
+ },
21
27
  _selectedColor: {
22
28
  type: CSSColor__default,
23
29
  },
30
+ popupMode: {
31
+ type: Boolean,
32
+ },
24
33
  },
25
34
  slots: {
26
35
  "default": {
@@ -64,16 +73,24 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
64
73
  return [ColorPaletteItem].concat(ColorPaletteMoreColors ? ColorPaletteMoreColors.dependencies : []);
65
74
  }
66
75
  static async onDefine() {
67
- await i18nBundle.fetchI18nBundle("@ui5/webcomponents");
76
+ const ColorPaletteMoreColors = FeaturesRegistry.getFeature("ColorPaletteMoreColors");
77
+ [ColorPalette.i18nBundle] = await Promise.all([
78
+ i18nBundle.getI18nBundle("@ui5/webcomponents"),
79
+ ColorPaletteMoreColors ? ColorPaletteMoreColors.init() : Promise.resolve(),
80
+ ]);
68
81
  }
69
82
  constructor() {
70
83
  super();
71
- this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents");
72
84
  this._itemNavigation = new ItemNavigation__default(this, {
73
85
  getItemsCallback: () => this.displayedColors,
74
- rowSize: 5,
86
+ rowSize: this.rowSize,
75
87
  behavior: ItemNavigationBehavior__default.Cyclic,
76
88
  });
89
+ this._itemNavigationRecentColors = new ItemNavigation__default(this, {
90
+ getItemsCallback: () => this.recentColorsElements,
91
+ rowSize: this.rowSize,
92
+ behavior: ItemNavigationBehavior__default.Static,
93
+ });
77
94
  this._recentColors = [];
78
95
  }
79
96
  onBeforeRendering() {
@@ -90,6 +107,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
90
107
  }
91
108
  }
92
109
  selectColor(item) {
110
+ if (!item.value) {
111
+ return;
112
+ }
93
113
  item.focus();
94
114
  if (this.displayedColors.includes(item)) {
95
115
  this._itemNavigation.setCurrentItem(item);
@@ -115,16 +135,105 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
115
135
  }
116
136
  }
117
137
  _onkeyup(event) {
118
- if (Keys.isSpace(event)) {
138
+ if (Keys.isSpace(event) && event.target.localName === "ui5-color-palette-item") {
119
139
  event.preventDefault();
120
140
  this.selectColor(event.target);
121
141
  }
122
142
  }
123
143
  _onkeydown(event) {
124
- if (Keys.isEnter(event)) {
144
+ if (Keys.isEnter(event) && event.target.localName === "ui5-color-palette-item") {
125
145
  this.selectColor(event.target);
126
146
  }
127
147
  }
148
+ _onDefaultColorKeyDown(event) {
149
+ if (Keys.isTabNext(event) && this.popupMode) {
150
+ event.preventDefault();
151
+ this._onDefaultColorClick();
152
+ }
153
+ if (Keys.isDown(event)) {
154
+ event.stopPropagation();
155
+ this.focusColorElement(this.colorPaletteNavigationElements[1], this._itemNavigation);
156
+ } else if (Keys.isUp(event)) {
157
+ event.stopPropagation();
158
+ const lastElementInNavigation = this.colorPaletteNavigationElements[this.colorPaletteNavigationElements.length - 1];
159
+ if (this.hasRecentColors) {
160
+ this.focusColorElement(lastElementInNavigation, this._itemNavigationRecentColors);
161
+ } else if (this.showMoreColors) {
162
+ lastElementInNavigation.focus();
163
+ } else {
164
+ const colorPaletteFocusIndex = (this.displayedColors.length % this.rowSize) * this.rowSize;
165
+ this.focusColorElement(this.displayedColors[colorPaletteFocusIndex], this._itemNavigation);
166
+ }
167
+ }
168
+ }
169
+ _onMoreColorsKeyDown(event) {
170
+ const index = this.colorPaletteNavigationElements.indexOf(event.target);
171
+ const colorPaletteFocusIndex = (this.displayedColors.length % this.rowSize) * this.rowSize;
172
+ if (Keys.isUp(event)) {
173
+ event.stopPropagation();
174
+ this.focusColorElement(this.displayedColors[colorPaletteFocusIndex], this._itemNavigation);
175
+ } else if (Keys.isDown(event)) {
176
+ event.stopPropagation();
177
+ if (this.hasRecentColors) {
178
+ this.focusColorElement(this.colorPaletteNavigationElements[index + 1], this._itemNavigationRecentColors);
179
+ } else if (this.showDefaultColor) {
180
+ this.colorPaletteNavigationElements[0].focus();
181
+ } else {
182
+ this.focusColorElement(this.displayedColors[0], this._itemNavigation);
183
+ }
184
+ }
185
+ }
186
+ _onColorContainerKeyDown(event) {
187
+ const lastElementInNavigation = this.colorPaletteNavigationElements[this.colorPaletteNavigationElements.length - 1];
188
+ if (Keys.isTabNext(event) && this.popupMode) {
189
+ event.preventDefault();
190
+ this.selectColor(event.target);
191
+ }
192
+ if (Keys.isUp(event) && event.target === this.displayedColors[0] && this.colorPaletteNavigationElements.length > 1) {
193
+ event.stopPropagation();
194
+ if (this.showDefaultColor) {
195
+ this.colorPaletteNavigationElements[0].focus();
196
+ } else if (!this.showDefaultColor && this.hasRecentColors) {
197
+ this.focusColorElement(lastElementInNavigation, this._itemNavigationRecentColors);
198
+ } else if (!this.showDefaultColor && this.showMoreColors) {
199
+ lastElementInNavigation.focus();
200
+ }
201
+ } else if (Keys.isDown(event) && event.target === this.displayedColors[this.displayedColors.length - 1] && this.colorPaletteNavigationElements.length > 1) {
202
+ event.stopPropagation();
203
+ const isRecentColorsNextElement = (this.showDefaultColor && !this.showMoreColors && this.hasRecentColors) || (!this.showDefaultColor && !this.showMoreColors && this.hasRecentColors);
204
+ if (this.showDefaultColor && this.showMoreColors) {
205
+ this.colorPaletteNavigationElements[2].focus();
206
+ } else if (this.showDefaultColor && !this.showMoreColors && (!this.showRecentColors || !this.recentColors[0])) {
207
+ this.colorPaletteNavigationElements[0].focus();
208
+ } else if (isRecentColorsNextElement) {
209
+ this.focusColorElement(lastElementInNavigation, this._itemNavigationRecentColors);
210
+ } else if (!this.showDefaultColor && this.showMoreColors) {
211
+ this.colorPaletteNavigationElements[1].focus();
212
+ }
213
+ }
214
+ }
215
+ _onRecentColorsContainerKeyDown(event) {
216
+ if (Keys.isUp(event)) {
217
+ if (this.showMoreColors) {
218
+ this.colorPaletteNavigationElements[1 + this.showDefaultColor].focus();
219
+ } else if (!this.showMoreColors && this.colorPaletteNavigationElements.length > 1) {
220
+ const colorPaletteFocusIndex = (this.displayedColors.length % this.rowSize) * this.rowSize;
221
+ event.stopPropagation();
222
+ this.focusColorElement(this.displayedColors[colorPaletteFocusIndex], this._itemNavigation);
223
+ }
224
+ } else if (Keys.isDown(event)) {
225
+ if (this.showDefaultColor) {
226
+ this.colorPaletteNavigationElements[0].focus();
227
+ } else {
228
+ event.stopPropagation();
229
+ this.focusColorElement(this.displayedColors[0], this._itemNavigation);
230
+ }
231
+ }
232
+ }
233
+ focusColorElement(element, itemNavigation) {
234
+ itemNavigation.setCurrentItem(element);
235
+ itemNavigation._focusCurrentItem();
236
+ }
128
237
  async _chooseCustomColor() {
129
238
  const colorPicker = await this.getColorPicker();
130
239
  this._setColor(colorPicker.color);
@@ -138,30 +247,70 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
138
247
  const dialog = await this._getDialog();
139
248
  dialog.show();
140
249
  }
250
+ _onDefaultColorClick() {
251
+ if (this.defaultColor) {
252
+ this._setColor(this.defaultColor);
253
+ }
254
+ }
141
255
  get selectedColor() {
142
256
  return this._selectedColor;
143
257
  }
144
258
  get displayedColors() {
145
- return this.colors.filter(item => item.value).slice(0, 15);
259
+ return this.getSlottedNodes("colors").filter(item => item.value).slice(0, 15);
146
260
  }
147
261
  get colorContainerLabel() {
148
- return this.i18nBundle.getText(i18nDefaults.COLORPALETTE_CONTAINER_LABEL);
262
+ return ColorPalette.i18nBundle.getText(i18nDefaults.COLORPALETTE_CONTAINER_LABEL);
149
263
  }
150
264
  get colorPaleteMoreColorsText() {
151
- return this.i18nBundle.getText(i18nDefaults.COLOR_PALETTE_MORE_COLORS_TEXT);
265
+ return ColorPalette.i18nBundle.getText(i18nDefaults.COLOR_PALETTE_MORE_COLORS_TEXT);
152
266
  }
153
267
  get _showMoreColors() {
154
268
  return this.showMoreColors && this.moreColorsFeature;
155
269
  }
270
+ get rowSize() {
271
+ return 5;
272
+ }
273
+ get hasRecentColors() {
274
+ return this.showRecentColors && this.recentColors[0];
275
+ }
156
276
  get recentColors() {
157
- if (this._recentColors.length > 5) {
158
- this._recentColors = this._recentColors.slice(0, 5);
277
+ if (this._recentColors.length > this.rowSize) {
278
+ this._recentColors = this._recentColors.slice(0, this.rowSize);
159
279
  }
160
- while (this._recentColors.length < 5) {
280
+ while (this._recentColors.length < this.rowSize) {
161
281
  this._recentColors.push("");
162
282
  }
163
283
  return this._recentColors;
164
284
  }
285
+ get recentColorsElements() {
286
+ if (this.getDomRef()) {
287
+ return Array.from(this.getDomRef().querySelectorAll(".ui5-cp-recent-colors-wrapper [ui5-color-palette-item]")).filter(x => x.value !== "");
288
+ }
289
+ return [];
290
+ }
291
+ get colorPaletteNavigationElements() {
292
+ const navigationElements = [];
293
+ const rootElement = this.shadowRoot.querySelector(".ui5-cp-root");
294
+ if (this.showDefaultColor) {
295
+ navigationElements.push(rootElement.querySelector(".ui5-cp-default-color-button"));
296
+ }
297
+ navigationElements.push(this.displayedColors[0]);
298
+ if (this.showMoreColors) {
299
+ navigationElements.push(rootElement.querySelector(".ui5-cp-more-colors"));
300
+ }
301
+ if (this.showRecentColors && !!this.recentColorsElements.length) {
302
+ navigationElements.push(this.recentColorsElements[0]);
303
+ }
304
+ return navigationElements;
305
+ }
306
+ get classes() {
307
+ return {
308
+ colorPaletteRoot: {
309
+ "ui5-cp-root": true,
310
+ "ui5-cp-root-phone": Device.isPhone(),
311
+ },
312
+ };
313
+ }
165
314
  async _getDialog() {
166
315
  const staticAreaItem = await this.getStaticAreaItemDomRef();
167
316
  return staticAreaItem.querySelector("[ui5-dialog]");
@@ -1,4 +1,4 @@
1
- sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/common/thirdparty/base/types/CSSColor', './generated/templates/ColorPaletteItemTemplate.lit', './generated/i18n/i18n-defaults', './generated/themes/ColorPaletteItem.css'], function (UI5Element, litRender, i18nBundle, CSSColor, ColorPaletteItemTemplate_lit, i18nDefaults, ColorPaletteItem_css) { 'use strict';
1
+ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/common/thirdparty/base/types/CSSColor', 'sap/ui/webc/common/thirdparty/base/Device', './generated/templates/ColorPaletteItemTemplate.lit', './generated/i18n/i18n-defaults', './generated/themes/ColorPaletteItem.css'], function (UI5Element, litRender, i18nBundle, CSSColor, Device, ColorPaletteItemTemplate_lit, i18nDefaults, ColorPaletteItem_css) { 'use strict';
2
2
 
3
3
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
4
4
 
@@ -21,6 +21,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
21
21
  index: {
22
22
  type: String,
23
23
  },
24
+ phone: {
25
+ type: Boolean,
26
+ },
24
27
  _disabled: {
25
28
  type: Boolean,
26
29
  },
@@ -44,17 +47,24 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
44
47
  return ColorPaletteItemTemplate_lit;
45
48
  }
46
49
  static async onDefine() {
47
- await i18nBundle.fetchI18nBundle("@ui5/webcomponents");
50
+ ColorPaletteItem.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents");
48
51
  }
49
52
  constructor() {
50
53
  super();
51
- this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents");
52
54
  }
53
55
  onBeforeRendering() {
54
56
  this._disabled = !this.value;
57
+ this.phone = Device.isPhone();
55
58
  }
56
59
  get colorLabel() {
57
- return this.i18nBundle.getText(i18nDefaults.COLORPALETTE_COLOR_LABEL);
60
+ return ColorPaletteItem.i18nBundle.getText(i18nDefaults.COLORPALETTE_COLOR_LABEL);
61
+ }
62
+ get styles() {
63
+ return {
64
+ root: {
65
+ "background-color": this.value,
66
+ },
67
+ };
58
68
  }
59
69
  }
60
70
  ColorPaletteItem.define();
@@ -0,0 +1,110 @@
1
+ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/common/thirdparty/base/types/CSSColor', './generated/templates/ColorPalettePopoverTemplate.lit', './generated/themes/ColorPalettePopover.css', './generated/themes/ResponsivePopoverCommon.css', './generated/i18n/i18n-defaults', './Button', './ResponsivePopover', './ColorPalette'], function (UI5Element, litRender, i18nBundle, CSSColor, ColorPalettePopoverTemplate_lit, ColorPalettePopover_css, ResponsivePopoverCommon_css, i18nDefaults, Button, ResponsivePopover, ColorPalette) { 'use strict';
2
+
3
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
4
+
5
+ var UI5Element__default = /*#__PURE__*/_interopDefaultLegacy(UI5Element);
6
+ var litRender__default = /*#__PURE__*/_interopDefaultLegacy(litRender);
7
+ var CSSColor__default = /*#__PURE__*/_interopDefaultLegacy(CSSColor);
8
+
9
+ const metadata = {
10
+ tag: "ui5-color-palette-popover",
11
+ managedSlots: true,
12
+ properties: {
13
+ showRecentColors: {
14
+ type: Boolean,
15
+ },
16
+ showMoreColors: {
17
+ type: Boolean,
18
+ },
19
+ showDefaultColor: {
20
+ type: Boolean,
21
+ },
22
+ defaultColor: {
23
+ type: CSSColor__default,
24
+ },
25
+ },
26
+ slots: {
27
+ "default": {
28
+ type: HTMLElement,
29
+ propertyName: "colors",
30
+ individualSlots: true,
31
+ },
32
+ },
33
+ events: {
34
+ "item-click": {
35
+ details: {
36
+ color: {
37
+ type: String,
38
+ },
39
+ },
40
+ },
41
+ },
42
+ };
43
+ class ColorPalettePopover extends UI5Element__default {
44
+ static get metadata() {
45
+ return metadata;
46
+ }
47
+ static get render() {
48
+ return litRender__default;
49
+ }
50
+ static get styles() {
51
+ return [ResponsivePopoverCommon_css, ColorPalettePopover_css];
52
+ }
53
+ static get template() {
54
+ return ColorPalettePopoverTemplate_lit;
55
+ }
56
+ static get dependencies() {
57
+ return [
58
+ ResponsivePopover,
59
+ Button,
60
+ ColorPalette,
61
+ ];
62
+ }
63
+ static async onDefine() {
64
+ ColorPalettePopover.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents");
65
+ }
66
+ constructor() {
67
+ super();
68
+ }
69
+ _respPopover() {
70
+ this.responsivePopover = this.shadowRoot.querySelector("[ui5-responsive-popover]");
71
+ return this.responsivePopover;
72
+ }
73
+ _colorPalette() {
74
+ return this.responsivePopover.content[0].querySelector("[ui5-color-palette]");
75
+ }
76
+ closePopover() {
77
+ this.responsivePopover.close();
78
+ }
79
+ openPopover(opener) {
80
+ this._respPopover();
81
+ this.responsivePopover.showAt(opener, true);
82
+ if (this.showDefaultColor) {
83
+ this._colorPalette().colorPaletteNavigationElements[0].focus();
84
+ } else {
85
+ this._colorPalette().focusColorElement(this._colorPalette().colorPaletteNavigationElements[0], this._colorPalette()._itemNavigation);
86
+ }
87
+ }
88
+ onSelectedColor(event) {
89
+ this.closePopover();
90
+ this.fireEvent("item-click", event.detail);
91
+ }
92
+ isOpen() {
93
+ this._respPopover();
94
+ return this.responsivePopover.opened;
95
+ }
96
+ get colorPaletteColors() {
97
+ return this.getSlottedNodes("colors");
98
+ }
99
+ get _colorPaletteTitle() {
100
+ return ColorPalettePopover.i18nBundle.getText(i18nDefaults.COLORPALETTE_POPOVER_TITLE);
101
+ }
102
+ get _cancelButtonLabel() {
103
+ return ColorPalettePopover.i18nBundle.getText(i18nDefaults.COLOR_PALETTE_DIALOG_CANCEL_BUTTON);
104
+ }
105
+ }
106
+ ColorPalettePopover.define();
107
+
108
+ return ColorPalettePopover;
109
+
110
+ });
@@ -83,9 +83,10 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
83
83
  }
84
84
  onBeforeRendering() {
85
85
  this._color = ColorConversion.getRGBColor(this.color);
86
+ const tempColor = `rgba(${this._color.r}, ${this._color.g}, ${this._color.b}, 1)`;
86
87
  this._setHex();
87
88
  this._setValues();
88
- this.style.setProperty("--ui5_Color_Picker_Progress_Container_Color", this.color);
89
+ this.style.setProperty("--ui5_Color_Picker_Progress_Container_Color", tempColor);
89
90
  }
90
91
  async onAfterRendering() {
91
92
  if (Device.isIE()) {
@@ -183,10 +184,16 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
183
184
  }
184
185
  _handleAlphaInput(event) {
185
186
  this._alpha = parseFloat(event.target.value);
187
+ this._setColor(this._color);
186
188
  }
187
189
  _handleHueInput(event) {
188
190
  this.selectedHue = event.target.value;
191
+ this._hue = this.selectedHue;
189
192
  this._setMainColor(this._hue);
193
+ const tempColor = this._calculateColorFromCoordinates(this._selectedCoordinates.x + 6.5, this._selectedCoordinates.y + 6.5);
194
+ if (tempColor) {
195
+ this._setColor(ColorConversion.HSLToRGB(tempColor));
196
+ }
190
197
  }
191
198
  _handleHEXChange(event) {
192
199
  let newValue = event.target.value.toLowerCase();
@@ -215,6 +222,8 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
215
222
  case "blue":
216
223
  tempColor = { ...this._color, b: targetValue };
217
224
  break;
225
+ default:
226
+ tempColor = { ...this._color };
218
227
  }
219
228
  this._setColor(tempColor);
220
229
  }