@ui5/webcomponents 0.0.0-c6c04c609 → 0.0.0-c8721b8d2

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 (1054) hide show
  1. package/.env.production +1 -0
  2. package/CHANGELOG.md +145 -0
  3. package/dist/.tsbuildinfo +1 -0
  4. package/dist/Button.d.ts +1 -0
  5. package/dist/Button.js +27 -8
  6. package/dist/Button.js.map +1 -1
  7. package/dist/CheckBox.d.ts +1 -0
  8. package/dist/CheckBox.js +1 -0
  9. package/dist/CheckBox.js.map +1 -1
  10. package/dist/ColorPalette.d.ts +4 -0
  11. package/dist/ColorPalette.js +23 -4
  12. package/dist/ColorPalette.js.map +1 -1
  13. package/dist/ColorPalettePopover.d.ts +25 -7
  14. package/dist/ColorPalettePopover.js +36 -23
  15. package/dist/ColorPalettePopover.js.map +1 -1
  16. package/dist/ComboBox.d.ts +3 -1
  17. package/dist/ComboBox.js +25 -3
  18. package/dist/ComboBox.js.map +1 -1
  19. package/dist/DatePicker.js +1 -0
  20. package/dist/DatePicker.js.map +1 -1
  21. package/dist/DateTimePicker.js +1 -1
  22. package/dist/DateTimePicker.js.map +1 -1
  23. package/dist/Dialog.d.ts +5 -4
  24. package/dist/Dialog.js +5 -4
  25. package/dist/Dialog.js.map +1 -1
  26. package/dist/Input.d.ts +1 -1
  27. package/dist/Input.js +41 -14
  28. package/dist/Input.js.map +1 -1
  29. package/dist/List.js +3 -0
  30. package/dist/List.js.map +1 -1
  31. package/dist/Menu.d.ts +2 -1
  32. package/dist/Menu.js +6 -2
  33. package/dist/Menu.js.map +1 -1
  34. package/dist/MultiComboBox.d.ts +19 -11
  35. package/dist/MultiComboBox.js +34 -8
  36. package/dist/MultiComboBox.js.map +1 -1
  37. package/dist/Popover.d.ts +12 -1
  38. package/dist/Popover.js +24 -2
  39. package/dist/Popover.js.map +1 -1
  40. package/dist/Select.d.ts +33 -1
  41. package/dist/Select.js +51 -8
  42. package/dist/Select.js.map +1 -1
  43. package/dist/SelectMenu.d.ts +4 -4
  44. package/dist/SelectMenu.js +8 -7
  45. package/dist/SelectMenu.js.map +1 -1
  46. package/dist/SelectMenuOption.d.ts +12 -2
  47. package/dist/SelectMenuOption.js +5 -2
  48. package/dist/SelectMenuOption.js.map +1 -1
  49. package/dist/SplitButton.d.ts +63 -2
  50. package/dist/SplitButton.js +149 -29
  51. package/dist/SplitButton.js.map +1 -1
  52. package/dist/StepInput.js +1 -0
  53. package/dist/StepInput.js.map +1 -1
  54. package/dist/TabContainer.d.ts +1 -0
  55. package/dist/TabContainer.js +1 -0
  56. package/dist/TabContainer.js.map +1 -1
  57. package/dist/Table.js +6 -7
  58. package/dist/Table.js.map +1 -1
  59. package/dist/TableGroupRow.js +1 -0
  60. package/dist/TableGroupRow.js.map +1 -1
  61. package/dist/TableRow.js +1 -1
  62. package/dist/TableRow.js.map +1 -1
  63. package/dist/TimePickerInternals.js +1 -0
  64. package/dist/TimePickerInternals.js.map +1 -1
  65. package/dist/Tokenizer.d.ts +1 -1
  66. package/dist/Tokenizer.js +6 -2
  67. package/dist/Tokenizer.js.map +1 -1
  68. package/dist/ToolbarItem.d.ts +2 -3
  69. package/dist/ToolbarItem.js +2 -2
  70. package/dist/ToolbarItem.js.map +1 -1
  71. package/dist/ToolbarSelect.d.ts +1 -1
  72. package/dist/ToolbarSelect.js +1 -1
  73. package/dist/ToolbarSelect.js.map +1 -1
  74. package/dist/TreeItemBase.js +8 -1
  75. package/dist/TreeItemBase.js.map +1 -1
  76. package/dist/WheelSlider.js +3 -0
  77. package/dist/WheelSlider.js.map +1 -1
  78. package/dist/api.json +1 -1
  79. package/dist/bundle.common.bootstrap.d.ts +1 -0
  80. package/dist/bundle.common.bootstrap.js.map +1 -0
  81. package/dist/bundle.esm.d.ts +58 -0
  82. package/dist/bundle.esm.js.map +1 -0
  83. package/dist/bundle.scoped.esm.d.ts +2 -0
  84. package/dist/bundle.scoped.esm.js.map +1 -0
  85. package/dist/css/themes/Avatar.css +1 -1
  86. package/dist/css/themes/AvatarGroup.css +1 -1
  87. package/dist/css/themes/Badge.css +1 -1
  88. package/dist/css/themes/Breadcrumbs.css +1 -1
  89. package/dist/css/themes/BreadcrumbsPopover.css +1 -1
  90. package/dist/css/themes/BrowserScrollbar.css +1 -1
  91. package/dist/css/themes/BusyIndicator.css +1 -1
  92. package/dist/css/themes/Button.css +1 -1
  93. package/dist/css/themes/Calendar.css +1 -1
  94. package/dist/css/themes/CalendarHeader.css +1 -1
  95. package/dist/css/themes/Card.css +1 -1
  96. package/dist/css/themes/CardHeader.css +1 -1
  97. package/dist/css/themes/Carousel.css +1 -1
  98. package/dist/css/themes/CheckBox.css +1 -1
  99. package/dist/css/themes/ColorPalette.css +1 -1
  100. package/dist/css/themes/ColorPaletteItem.css +1 -1
  101. package/dist/css/themes/ColorPalettePopover.css +1 -1
  102. package/dist/css/themes/ColorPaletteStaticArea.css +1 -1
  103. package/dist/css/themes/ColorPicker.css +1 -1
  104. package/dist/css/themes/ComboBox.css +1 -1
  105. package/dist/css/themes/ComboBoxPopover.css +1 -1
  106. package/dist/css/themes/CustomListItem.css +1 -1
  107. package/dist/css/themes/DatePicker.css +1 -1
  108. package/dist/css/themes/DatePickerPopover.css +1 -1
  109. package/dist/css/themes/DateRangePicker.css +1 -1
  110. package/dist/css/themes/DateTimePicker.css +1 -1
  111. package/dist/css/themes/DateTimePickerPopover.css +1 -1
  112. package/dist/css/themes/DayPicker.css +1 -1
  113. package/dist/css/themes/Dialog.css +1 -1
  114. package/dist/css/themes/FileUploader.css +1 -1
  115. package/dist/css/themes/FormComponents.css +1 -1
  116. package/dist/css/themes/GroupHeaderListItem.css +1 -1
  117. package/dist/css/themes/GrowingButton.css +1 -1
  118. package/dist/css/themes/Icon.css +1 -1
  119. package/dist/css/themes/Input.css +1 -1
  120. package/dist/css/themes/InputIcon.css +1 -1
  121. package/dist/css/themes/InputSharedStyles.css +1 -1
  122. package/dist/css/themes/InvisibleTextStyles.css +1 -1
  123. package/dist/css/themes/Label.css +1 -1
  124. package/dist/css/themes/Link.css +1 -1
  125. package/dist/css/themes/List.css +1 -1
  126. package/dist/css/themes/ListItem.css +1 -1
  127. package/dist/css/themes/ListItemBase.css +1 -1
  128. package/dist/css/themes/Menu.css +1 -1
  129. package/dist/css/themes/MessageStrip.css +1 -1
  130. package/dist/css/themes/MonthPicker.css +1 -1
  131. package/dist/css/themes/MultiComboBox.css +1 -1
  132. package/dist/css/themes/MultiComboBoxPopover.css +1 -1
  133. package/dist/css/themes/MultiInput.css +1 -1
  134. package/dist/css/themes/Panel.css +1 -1
  135. package/dist/css/themes/Popover.css +1 -1
  136. package/dist/css/themes/Popup.css +1 -1
  137. package/dist/css/themes/PopupGlobal.css +1 -1
  138. package/dist/css/themes/PopupStaticAreaStyles.css +1 -1
  139. package/dist/css/themes/PopupsCommon.css +1 -1
  140. package/dist/css/themes/ProgressIndicator.css +1 -3
  141. package/dist/css/themes/RadioButton.css +1 -1
  142. package/dist/css/themes/RangeSlider.css +1 -1
  143. package/dist/css/themes/RatingIndicator.css +1 -1
  144. package/dist/css/themes/ResponsivePopover.css +1 -1
  145. package/dist/css/themes/ResponsivePopoverCommon.css +1 -1
  146. package/dist/css/themes/SegmentedButton.css +1 -1
  147. package/dist/css/themes/Select.css +1 -1
  148. package/dist/css/themes/SelectMenu.css +1 -1
  149. package/dist/css/themes/SelectPopover.css +1 -1
  150. package/dist/css/themes/SliderBase.css +1 -1
  151. package/dist/css/themes/SplitButton.css +1 -1
  152. package/dist/css/themes/StepInput.css +1 -1
  153. package/dist/css/themes/Suggestions.css +1 -1
  154. package/dist/css/themes/Switch.css +1 -1
  155. package/dist/css/themes/Tab.css +1 -1
  156. package/dist/css/themes/TabContainer.css +1 -1
  157. package/dist/css/themes/TabInOverflow.css +1 -1
  158. package/dist/css/themes/TabInStrip.css +1 -1
  159. package/dist/css/themes/TabSemanticIcon.css +1 -1
  160. package/dist/css/themes/TabSeparatorInOverflow.css +1 -1
  161. package/dist/css/themes/TabSeparatorInStrip.css +1 -1
  162. package/dist/css/themes/Table.css +1 -1
  163. package/dist/css/themes/TableCell.css +1 -1
  164. package/dist/css/themes/TableColumn.css +1 -1
  165. package/dist/css/themes/TableGroupRow.css +1 -1
  166. package/dist/css/themes/TableRow.css +1 -1
  167. package/dist/css/themes/TapHighlightColor.css +1 -1
  168. package/dist/css/themes/TextArea.css +1 -2
  169. package/dist/css/themes/TimePicker.css +1 -1
  170. package/dist/css/themes/TimePickerClock.css +1 -1
  171. package/dist/css/themes/TimePickerPopover.css +1 -1
  172. package/dist/css/themes/TimeSelection.css +1 -1
  173. package/dist/css/themes/TimeSelectionClocks.css +1 -1
  174. package/dist/css/themes/TimeSelectionInputs.css +1 -1
  175. package/dist/css/themes/Title.css +1 -1
  176. package/dist/css/themes/Toast.css +1 -1
  177. package/dist/css/themes/ToggleButton.css +1 -1
  178. package/dist/css/themes/Token.css +1 -1
  179. package/dist/css/themes/Tokenizer.css +1 -1
  180. package/dist/css/themes/TokenizerPopover.css +1 -1
  181. package/dist/css/themes/Toolbar.css +1 -1
  182. package/dist/css/themes/ToolbarButtonPopover.css +1 -1
  183. package/dist/css/themes/ToolbarPopover.css +1 -1
  184. package/dist/css/themes/Tree.css +1 -1
  185. package/dist/css/themes/TreeItem.css +1 -1
  186. package/dist/css/themes/ValueStateMessage.css +1 -1
  187. package/dist/css/themes/WheelSlider.css +1 -1
  188. package/dist/css/themes/YearPicker.css +1 -1
  189. package/dist/css/themes/sap_belize/parameters-bundle.css +1 -1
  190. package/dist/css/themes/sap_belize_hcb/parameters-bundle.css +1 -1
  191. package/dist/css/themes/sap_belize_hcw/parameters-bundle.css +1 -1
  192. package/dist/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
  193. package/dist/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
  194. package/dist/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
  195. package/dist/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
  196. package/dist/css/themes/sap_horizon/parameters-bundle.css +1 -1
  197. package/dist/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
  198. package/dist/css/themes/sap_horizon_dark_exp/parameters-bundle.css +1 -1
  199. package/dist/css/themes/sap_horizon_exp/parameters-bundle.css +1 -1
  200. package/dist/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
  201. package/dist/css/themes/sap_horizon_hcb_exp/parameters-bundle.css +1 -1
  202. package/dist/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
  203. package/dist/css/themes/sap_horizon_hcw_exp/parameters-bundle.css +1 -1
  204. package/dist/custom-elements.json +1 -1
  205. package/dist/features/InputSuggestions.d.ts +1 -0
  206. package/dist/features/InputSuggestions.js +4 -0
  207. package/dist/features/InputSuggestions.js.map +1 -1
  208. package/dist/generated/assets/i18n/messagebundle_cnr.json +1 -0
  209. package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -1
  210. package/dist/generated/assets/i18n/messagebundle_mk.json +1 -0
  211. package/dist/generated/assets/i18n/messagebundle_sh.json +1 -1
  212. package/dist/generated/assets/i18n/messagebundle_sr.json +1 -0
  213. package/dist/generated/assets/themes/sap_belize/parameters-bundle.css.json +1 -1
  214. package/dist/generated/assets/themes/sap_belize_hcb/parameters-bundle.css.json +1 -1
  215. package/dist/generated/assets/themes/sap_belize_hcw/parameters-bundle.css.json +1 -1
  216. package/dist/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json +1 -1
  217. package/dist/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json +1 -1
  218. package/dist/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json +1 -1
  219. package/dist/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json +1 -1
  220. package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -1
  221. package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -1
  222. package/dist/generated/assets/themes/sap_horizon_dark_exp/parameters-bundle.css.json +1 -1
  223. package/dist/generated/assets/themes/sap_horizon_exp/parameters-bundle.css.json +1 -1
  224. package/dist/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json +1 -1
  225. package/dist/generated/assets/themes/sap_horizon_hcb_exp/parameters-bundle.css.json +1 -1
  226. package/dist/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json +1 -1
  227. package/dist/generated/assets/themes/sap_horizon_hcw_exp/parameters-bundle.css.json +1 -1
  228. package/dist/generated/i18n/i18n-defaults.js +1 -0
  229. package/dist/generated/i18n/i18n-defaults.js.map +1 -1
  230. package/dist/generated/json-imports/Themes-static.d.ts +1 -0
  231. package/dist/generated/json-imports/Themes-static.js +23 -25
  232. package/dist/generated/json-imports/Themes-static.js.map +1 -0
  233. package/dist/generated/json-imports/Themes.d.ts +1 -0
  234. package/dist/generated/json-imports/Themes.js +26 -27
  235. package/dist/generated/json-imports/Themes.js.map +1 -0
  236. package/dist/generated/json-imports/i18n-static.d.ts +1 -0
  237. package/dist/generated/json-imports/i18n-static.js +113 -107
  238. package/dist/generated/json-imports/i18n-static.js.map +1 -0
  239. package/dist/generated/json-imports/i18n.d.ts +1 -0
  240. package/dist/generated/json-imports/i18n.js +119 -116
  241. package/dist/generated/json-imports/i18n.js.map +1 -0
  242. package/dist/generated/templates/AvatarGroupTemplate.lit.d.ts +1 -1
  243. package/dist/generated/templates/AvatarTemplate.lit.d.ts +1 -1
  244. package/dist/generated/templates/BadgeTemplate.lit.d.ts +1 -1
  245. package/dist/generated/templates/BreadcrumbsPopoverTemplate.lit.d.ts +1 -1
  246. package/dist/generated/templates/BreadcrumbsTemplate.lit.d.ts +1 -1
  247. package/dist/generated/templates/BusyIndicatorTemplate.lit.d.ts +1 -1
  248. package/dist/generated/templates/ButtonTemplate.lit.d.ts +1 -1
  249. package/dist/generated/templates/CalendarHeaderTemplate.lit.d.ts +1 -1
  250. package/dist/generated/templates/CalendarTemplate.lit.d.ts +1 -1
  251. package/dist/generated/templates/CardHeaderTemplate.lit.d.ts +1 -1
  252. package/dist/generated/templates/CardTemplate.lit.d.ts +1 -1
  253. package/dist/generated/templates/CarouselTemplate.lit.d.ts +1 -1
  254. package/dist/generated/templates/CheckBoxTemplate.lit.d.ts +1 -1
  255. package/dist/generated/templates/CheckBoxTemplate.lit.js +1 -1
  256. package/dist/generated/templates/CheckBoxTemplate.lit.js.map +1 -1
  257. package/dist/generated/templates/ColorPaletteDialogTemplate.lit.d.ts +1 -1
  258. package/dist/generated/templates/ColorPaletteItemTemplate.lit.d.ts +1 -1
  259. package/dist/generated/templates/ColorPalettePopoverTemplate.lit.d.ts +1 -1
  260. package/dist/generated/templates/ColorPalettePopoverTemplate.lit.js +1 -1
  261. package/dist/generated/templates/ColorPalettePopoverTemplate.lit.js.map +1 -1
  262. package/dist/generated/templates/ColorPaletteTemplate.lit.d.ts +1 -1
  263. package/dist/generated/templates/ColorPickerTemplate.lit.d.ts +1 -1
  264. package/dist/generated/templates/ComboBoxPopoverTemplate.lit.d.ts +1 -1
  265. package/dist/generated/templates/ComboBoxPopoverTemplate.lit.js +2 -2
  266. package/dist/generated/templates/ComboBoxPopoverTemplate.lit.js.map +1 -1
  267. package/dist/generated/templates/ComboBoxTemplate.lit.d.ts +1 -1
  268. package/dist/generated/templates/CustomListItemTemplate.lit.d.ts +1 -1
  269. package/dist/generated/templates/DatePickerPopoverTemplate.lit.d.ts +1 -1
  270. package/dist/generated/templates/DatePickerTemplate.lit.d.ts +1 -1
  271. package/dist/generated/templates/DateTimePickerPopoverTemplate.lit.d.ts +1 -1
  272. package/dist/generated/templates/DateTimePickerPopoverTemplate.lit.js +3 -2
  273. package/dist/generated/templates/DateTimePickerPopoverTemplate.lit.js.map +1 -1
  274. package/dist/generated/templates/DayPickerTemplate.lit.d.ts +1 -1
  275. package/dist/generated/templates/DialogTemplate.lit.d.ts +1 -1
  276. package/dist/generated/templates/FileUploaderPopoverTemplate.lit.d.ts +1 -1
  277. package/dist/generated/templates/FileUploaderTemplate.lit.d.ts +1 -1
  278. package/dist/generated/templates/GroupHeaderListItemTemplate.lit.d.ts +1 -1
  279. package/dist/generated/templates/IconTemplate.lit.d.ts +1 -1
  280. package/dist/generated/templates/InputPopoverTemplate.lit.d.ts +1 -1
  281. package/dist/generated/templates/InputPopoverTemplate.lit.js +1 -1
  282. package/dist/generated/templates/InputPopoverTemplate.lit.js.map +1 -1
  283. package/dist/generated/templates/InputTemplate.lit.d.ts +1 -1
  284. package/dist/generated/templates/LabelTemplate.lit.d.ts +1 -1
  285. package/dist/generated/templates/LinkTemplate.lit.d.ts +1 -1
  286. package/dist/generated/templates/ListItemTemplate.lit.d.ts +1 -1
  287. package/dist/generated/templates/ListTemplate.lit.d.ts +1 -1
  288. package/dist/generated/templates/MenuTemplate.lit.d.ts +1 -1
  289. package/dist/generated/templates/MenuTemplate.lit.js +2 -2
  290. package/dist/generated/templates/MenuTemplate.lit.js.map +1 -1
  291. package/dist/generated/templates/MessageStripTemplate.lit.d.ts +1 -1
  292. package/dist/generated/templates/MonthPickerTemplate.lit.d.ts +1 -1
  293. package/dist/generated/templates/MultiComboBoxPopoverTemplate.lit.d.ts +1 -1
  294. package/dist/generated/templates/MultiComboBoxPopoverTemplate.lit.js +1 -1
  295. package/dist/generated/templates/MultiComboBoxPopoverTemplate.lit.js.map +1 -1
  296. package/dist/generated/templates/MultiComboBoxTemplate.lit.d.ts +1 -1
  297. package/dist/generated/templates/MultiInputTemplate.lit.d.ts +1 -1
  298. package/dist/generated/templates/PanelTemplate.lit.d.ts +1 -1
  299. package/dist/generated/templates/PopoverTemplate.lit.d.ts +1 -1
  300. package/dist/generated/templates/PopupBlockLayerTemplate.lit.d.ts +1 -1
  301. package/dist/generated/templates/PopupTemplate.lit.d.ts +1 -1
  302. package/dist/generated/templates/ProgressIndicatorTemplate.lit.d.ts +1 -1
  303. package/dist/generated/templates/RadioButtonTemplate.lit.d.ts +1 -1
  304. package/dist/generated/templates/RangeSliderTemplate.lit.d.ts +1 -1
  305. package/dist/generated/templates/RatingIndicatorTemplate.lit.d.ts +1 -1
  306. package/dist/generated/templates/ResponsivePopoverTemplate.lit.d.ts +1 -1
  307. package/dist/generated/templates/SegmentedButtonItemTemplate.lit.d.ts +1 -1
  308. package/dist/generated/templates/SegmentedButtonTemplate.lit.d.ts +1 -1
  309. package/dist/generated/templates/SelectMenuTemplate.lit.d.ts +1 -1
  310. package/dist/generated/templates/SelectMenuTemplate.lit.js +1 -1
  311. package/dist/generated/templates/SelectMenuTemplate.lit.js.map +1 -1
  312. package/dist/generated/templates/SelectPopoverTemplate.lit.d.ts +1 -1
  313. package/dist/generated/templates/SelectTemplate.lit.d.ts +1 -1
  314. package/dist/generated/templates/SelectTemplate.lit.js +3 -2
  315. package/dist/generated/templates/SelectTemplate.lit.js.map +1 -1
  316. package/dist/generated/templates/SliderBaseTemplate.lit.d.ts +1 -1
  317. package/dist/generated/templates/SliderTemplate.lit.d.ts +1 -1
  318. package/dist/generated/templates/SplitButtonTemplate.lit.d.ts +1 -1
  319. package/dist/generated/templates/SplitButtonTemplate.lit.js +1 -1
  320. package/dist/generated/templates/SplitButtonTemplate.lit.js.map +1 -1
  321. package/dist/generated/templates/StandardListItemTemplate.lit.d.ts +1 -1
  322. package/dist/generated/templates/StepInputTemplate.lit.d.ts +1 -1
  323. package/dist/generated/templates/SuggestionListItemTemplate.lit.d.ts +1 -1
  324. package/dist/generated/templates/SwitchTemplate.lit.d.ts +1 -1
  325. package/dist/generated/templates/TabContainerPopoverTemplate.lit.d.ts +1 -1
  326. package/dist/generated/templates/TabContainerTemplate.lit.d.ts +1 -1
  327. package/dist/generated/templates/TabContainerTemplate.lit.js +1 -1
  328. package/dist/generated/templates/TabContainerTemplate.lit.js.map +1 -1
  329. package/dist/generated/templates/TabInOverflowTemplate.lit.d.ts +1 -1
  330. package/dist/generated/templates/TabInStripTemplate.lit.d.ts +1 -1
  331. package/dist/generated/templates/TabSeparatorInOverflowTemplate.lit.d.ts +1 -1
  332. package/dist/generated/templates/TabSeparatorInStripTemplate.lit.d.ts +1 -1
  333. package/dist/generated/templates/TabTemplate.lit.d.ts +1 -1
  334. package/dist/generated/templates/TableCellTemplate.lit.d.ts +1 -1
  335. package/dist/generated/templates/TableColumnTemplate.lit.d.ts +1 -1
  336. package/dist/generated/templates/TableGroupRowTemplate.lit.d.ts +1 -1
  337. package/dist/generated/templates/TableRowTemplate.lit.d.ts +1 -1
  338. package/dist/generated/templates/TableTemplate.lit.d.ts +1 -1
  339. package/dist/generated/templates/TextAreaPopoverTemplate.lit.d.ts +1 -1
  340. package/dist/generated/templates/TextAreaTemplate.lit.d.ts +1 -1
  341. package/dist/generated/templates/TimePickerClockTemplate.lit.d.ts +1 -1
  342. package/dist/generated/templates/TimePickerPopoverTemplate.lit.d.ts +1 -1
  343. package/dist/generated/templates/TimePickerTemplate.lit.d.ts +1 -1
  344. package/dist/generated/templates/TimeSelectionClocksTemplate.lit.d.ts +1 -1
  345. package/dist/generated/templates/TimeSelectionInputsTemplate.lit.d.ts +1 -1
  346. package/dist/generated/templates/TimeSelectionTemplate.lit.d.ts +1 -1
  347. package/dist/generated/templates/TitleTemplate.lit.d.ts +1 -1
  348. package/dist/generated/templates/ToastTemplate.lit.d.ts +1 -1
  349. package/dist/generated/templates/ToggleButtonTemplate.lit.d.ts +1 -1
  350. package/dist/generated/templates/ToggleSpinButtonTemplate.lit.d.ts +1 -1
  351. package/dist/generated/templates/TokenTemplate.lit.d.ts +1 -1
  352. package/dist/generated/templates/TokenizerPopoverTemplate.lit.d.ts +1 -1
  353. package/dist/generated/templates/TokenizerPopoverTemplate.lit.js +7 -4
  354. package/dist/generated/templates/TokenizerPopoverTemplate.lit.js.map +1 -1
  355. package/dist/generated/templates/TokenizerTemplate.lit.d.ts +1 -1
  356. package/dist/generated/templates/ToolbarButtonTemplate.lit.d.ts +1 -1
  357. package/dist/generated/templates/ToolbarPopoverButtonTemplate.lit.d.ts +1 -1
  358. package/dist/generated/templates/ToolbarPopoverSelectTemplate.lit.d.ts +1 -1
  359. package/dist/generated/templates/ToolbarPopoverSeparatorTemplate.lit.d.ts +1 -1
  360. package/dist/generated/templates/ToolbarPopoverTemplate.lit.d.ts +1 -1
  361. package/dist/generated/templates/ToolbarSelectTemplate.lit.d.ts +1 -1
  362. package/dist/generated/templates/ToolbarSeparatorTemplate.lit.d.ts +1 -1
  363. package/dist/generated/templates/ToolbarSpacerTemplate.lit.d.ts +1 -1
  364. package/dist/generated/templates/ToolbarTemplate.lit.d.ts +1 -1
  365. package/dist/generated/templates/TreeItemBaseTemplate.lit.d.ts +1 -1
  366. package/dist/generated/templates/TreeItemCustomTemplate.lit.d.ts +1 -1
  367. package/dist/generated/templates/TreeItemTemplate.lit.d.ts +1 -1
  368. package/dist/generated/templates/TreeTemplate.lit.d.ts +1 -1
  369. package/dist/generated/templates/WheelSliderTemplate.lit.d.ts +1 -1
  370. package/dist/generated/templates/YearPickerTemplate.lit.d.ts +1 -1
  371. package/dist/generated/themes/Avatar.css.js +2 -1
  372. package/dist/generated/themes/Avatar.css.js.map +1 -1
  373. package/dist/generated/themes/AvatarGroup.css.js +2 -1
  374. package/dist/generated/themes/AvatarGroup.css.js.map +1 -1
  375. package/dist/generated/themes/Badge.css.js +2 -1
  376. package/dist/generated/themes/Badge.css.js.map +1 -1
  377. package/dist/generated/themes/Breadcrumbs.css.js +2 -1
  378. package/dist/generated/themes/Breadcrumbs.css.js.map +1 -1
  379. package/dist/generated/themes/BreadcrumbsPopover.css.js +2 -1
  380. package/dist/generated/themes/BreadcrumbsPopover.css.js.map +1 -1
  381. package/dist/generated/themes/BrowserScrollbar.css.js +2 -1
  382. package/dist/generated/themes/BrowserScrollbar.css.js.map +1 -1
  383. package/dist/generated/themes/BusyIndicator.css.js +2 -1
  384. package/dist/generated/themes/BusyIndicator.css.js.map +1 -1
  385. package/dist/generated/themes/Button.css.js +2 -1
  386. package/dist/generated/themes/Button.css.js.map +1 -1
  387. package/dist/generated/themes/Calendar.css.js +2 -1
  388. package/dist/generated/themes/Calendar.css.js.map +1 -1
  389. package/dist/generated/themes/CalendarHeader.css.js +2 -1
  390. package/dist/generated/themes/CalendarHeader.css.js.map +1 -1
  391. package/dist/generated/themes/Card.css.js +2 -1
  392. package/dist/generated/themes/Card.css.js.map +1 -1
  393. package/dist/generated/themes/CardHeader.css.js +2 -1
  394. package/dist/generated/themes/CardHeader.css.js.map +1 -1
  395. package/dist/generated/themes/Carousel.css.js +2 -1
  396. package/dist/generated/themes/Carousel.css.js.map +1 -1
  397. package/dist/generated/themes/CheckBox.css.js +2 -1
  398. package/dist/generated/themes/CheckBox.css.js.map +1 -1
  399. package/dist/generated/themes/ColorPalette.css.js +2 -1
  400. package/dist/generated/themes/ColorPalette.css.js.map +1 -1
  401. package/dist/generated/themes/ColorPaletteItem.css.js +2 -1
  402. package/dist/generated/themes/ColorPaletteItem.css.js.map +1 -1
  403. package/dist/generated/themes/ColorPalettePopover.css.js +2 -1
  404. package/dist/generated/themes/ColorPalettePopover.css.js.map +1 -1
  405. package/dist/generated/themes/ColorPaletteStaticArea.css.js +2 -1
  406. package/dist/generated/themes/ColorPaletteStaticArea.css.js.map +1 -1
  407. package/dist/generated/themes/ColorPicker.css.js +2 -1
  408. package/dist/generated/themes/ColorPicker.css.js.map +1 -1
  409. package/dist/generated/themes/ComboBox.css.js +2 -1
  410. package/dist/generated/themes/ComboBox.css.js.map +1 -1
  411. package/dist/generated/themes/ComboBoxPopover.css.js +2 -1
  412. package/dist/generated/themes/ComboBoxPopover.css.js.map +1 -1
  413. package/dist/generated/themes/CustomListItem.css.js +2 -1
  414. package/dist/generated/themes/CustomListItem.css.js.map +1 -1
  415. package/dist/generated/themes/DatePicker.css.js +2 -1
  416. package/dist/generated/themes/DatePicker.css.js.map +1 -1
  417. package/dist/generated/themes/DatePickerPopover.css.js +2 -1
  418. package/dist/generated/themes/DatePickerPopover.css.js.map +1 -1
  419. package/dist/generated/themes/DateRangePicker.css.js +2 -1
  420. package/dist/generated/themes/DateRangePicker.css.js.map +1 -1
  421. package/dist/generated/themes/DateTimePicker.css.js +2 -1
  422. package/dist/generated/themes/DateTimePicker.css.js.map +1 -1
  423. package/dist/generated/themes/DateTimePickerPopover.css.js +2 -1
  424. package/dist/generated/themes/DateTimePickerPopover.css.js.map +1 -1
  425. package/dist/generated/themes/DayPicker.css.js +2 -1
  426. package/dist/generated/themes/DayPicker.css.js.map +1 -1
  427. package/dist/generated/themes/Dialog.css.js +2 -1
  428. package/dist/generated/themes/Dialog.css.js.map +1 -1
  429. package/dist/generated/themes/FileUploader.css.js +2 -1
  430. package/dist/generated/themes/FileUploader.css.js.map +1 -1
  431. package/dist/generated/themes/FormComponents.css.js +2 -1
  432. package/dist/generated/themes/FormComponents.css.js.map +1 -1
  433. package/dist/generated/themes/GroupHeaderListItem.css.js +2 -1
  434. package/dist/generated/themes/GroupHeaderListItem.css.js.map +1 -1
  435. package/dist/generated/themes/GrowingButton.css.js +2 -1
  436. package/dist/generated/themes/GrowingButton.css.js.map +1 -1
  437. package/dist/generated/themes/Icon.css.js +2 -1
  438. package/dist/generated/themes/Icon.css.js.map +1 -1
  439. package/dist/generated/themes/Input.css.js +2 -1
  440. package/dist/generated/themes/Input.css.js.map +1 -1
  441. package/dist/generated/themes/InputIcon.css.js +2 -1
  442. package/dist/generated/themes/InputIcon.css.js.map +1 -1
  443. package/dist/generated/themes/InputSharedStyles.css.js +2 -1
  444. package/dist/generated/themes/InputSharedStyles.css.js.map +1 -1
  445. package/dist/generated/themes/InvisibleTextStyles.css.js +2 -1
  446. package/dist/generated/themes/InvisibleTextStyles.css.js.map +1 -1
  447. package/dist/generated/themes/Label.css.js +2 -1
  448. package/dist/generated/themes/Label.css.js.map +1 -1
  449. package/dist/generated/themes/Link.css.js +2 -1
  450. package/dist/generated/themes/Link.css.js.map +1 -1
  451. package/dist/generated/themes/List.css.js +2 -1
  452. package/dist/generated/themes/List.css.js.map +1 -1
  453. package/dist/generated/themes/ListItem.css.js +2 -1
  454. package/dist/generated/themes/ListItem.css.js.map +1 -1
  455. package/dist/generated/themes/ListItemBase.css.js +2 -1
  456. package/dist/generated/themes/ListItemBase.css.js.map +1 -1
  457. package/dist/generated/themes/Menu.css.js +2 -1
  458. package/dist/generated/themes/Menu.css.js.map +1 -1
  459. package/dist/generated/themes/MessageStrip.css.js +2 -1
  460. package/dist/generated/themes/MessageStrip.css.js.map +1 -1
  461. package/dist/generated/themes/MonthPicker.css.js +2 -1
  462. package/dist/generated/themes/MonthPicker.css.js.map +1 -1
  463. package/dist/generated/themes/MultiComboBox.css.js +2 -1
  464. package/dist/generated/themes/MultiComboBox.css.js.map +1 -1
  465. package/dist/generated/themes/MultiComboBoxPopover.css.js +2 -1
  466. package/dist/generated/themes/MultiComboBoxPopover.css.js.map +1 -1
  467. package/dist/generated/themes/MultiInput.css.js +2 -1
  468. package/dist/generated/themes/MultiInput.css.js.map +1 -1
  469. package/dist/generated/themes/Panel.css.js +2 -1
  470. package/dist/generated/themes/Panel.css.js.map +1 -1
  471. package/dist/generated/themes/Popover.css.js +2 -1
  472. package/dist/generated/themes/Popover.css.js.map +1 -1
  473. package/dist/generated/themes/Popup.css.js +2 -1
  474. package/dist/generated/themes/Popup.css.js.map +1 -1
  475. package/dist/generated/themes/PopupGlobal.css.js +2 -1
  476. package/dist/generated/themes/PopupGlobal.css.js.map +1 -1
  477. package/dist/generated/themes/PopupStaticAreaStyles.css.js +2 -1
  478. package/dist/generated/themes/PopupStaticAreaStyles.css.js.map +1 -1
  479. package/dist/generated/themes/PopupsCommon.css.js +2 -1
  480. package/dist/generated/themes/PopupsCommon.css.js.map +1 -1
  481. package/dist/generated/themes/ProgressIndicator.css.js +2 -1
  482. package/dist/generated/themes/ProgressIndicator.css.js.map +1 -1
  483. package/dist/generated/themes/RadioButton.css.js +2 -1
  484. package/dist/generated/themes/RadioButton.css.js.map +1 -1
  485. package/dist/generated/themes/RangeSlider.css.js +2 -1
  486. package/dist/generated/themes/RangeSlider.css.js.map +1 -1
  487. package/dist/generated/themes/RatingIndicator.css.js +2 -1
  488. package/dist/generated/themes/RatingIndicator.css.js.map +1 -1
  489. package/dist/generated/themes/ResponsivePopover.css.js +2 -1
  490. package/dist/generated/themes/ResponsivePopover.css.js.map +1 -1
  491. package/dist/generated/themes/ResponsivePopoverCommon.css.js +2 -1
  492. package/dist/generated/themes/ResponsivePopoverCommon.css.js.map +1 -1
  493. package/dist/generated/themes/SegmentedButton.css.js +2 -1
  494. package/dist/generated/themes/SegmentedButton.css.js.map +1 -1
  495. package/dist/generated/themes/Select.css.js +2 -1
  496. package/dist/generated/themes/Select.css.js.map +1 -1
  497. package/dist/generated/themes/SelectMenu.css.js +2 -1
  498. package/dist/generated/themes/SelectMenu.css.js.map +1 -1
  499. package/dist/generated/themes/SelectMenuOption.css.js +1 -1
  500. package/dist/generated/themes/SelectMenuOption.css.js.map +1 -1
  501. package/dist/generated/themes/SelectPopover.css.js +2 -1
  502. package/dist/generated/themes/SelectPopover.css.js.map +1 -1
  503. package/dist/generated/themes/SliderBase.css.js +2 -1
  504. package/dist/generated/themes/SliderBase.css.js.map +1 -1
  505. package/dist/generated/themes/SplitButton.css.js +2 -1
  506. package/dist/generated/themes/SplitButton.css.js.map +1 -1
  507. package/dist/generated/themes/StepInput.css.js +2 -1
  508. package/dist/generated/themes/StepInput.css.js.map +1 -1
  509. package/dist/generated/themes/Suggestions.css.js +2 -1
  510. package/dist/generated/themes/Suggestions.css.js.map +1 -1
  511. package/dist/generated/themes/Switch.css.js +2 -1
  512. package/dist/generated/themes/Switch.css.js.map +1 -1
  513. package/dist/generated/themes/Tab.css.js +2 -1
  514. package/dist/generated/themes/Tab.css.js.map +1 -1
  515. package/dist/generated/themes/TabContainer.css.js +2 -1
  516. package/dist/generated/themes/TabContainer.css.js.map +1 -1
  517. package/dist/generated/themes/TabInOverflow.css.js +2 -1
  518. package/dist/generated/themes/TabInOverflow.css.js.map +1 -1
  519. package/dist/generated/themes/TabInStrip.css.js +2 -1
  520. package/dist/generated/themes/TabInStrip.css.js.map +1 -1
  521. package/dist/generated/themes/TabSemanticIcon.css.js +2 -1
  522. package/dist/generated/themes/TabSemanticIcon.css.js.map +1 -1
  523. package/dist/generated/themes/TabSeparatorInOverflow.css.js +2 -1
  524. package/dist/generated/themes/TabSeparatorInOverflow.css.js.map +1 -1
  525. package/dist/generated/themes/TabSeparatorInStrip.css.js +2 -1
  526. package/dist/generated/themes/TabSeparatorInStrip.css.js.map +1 -1
  527. package/dist/generated/themes/Table.css.js +2 -1
  528. package/dist/generated/themes/Table.css.js.map +1 -1
  529. package/dist/generated/themes/TableCell.css.js +2 -1
  530. package/dist/generated/themes/TableCell.css.js.map +1 -1
  531. package/dist/generated/themes/TableColumn.css.js +2 -1
  532. package/dist/generated/themes/TableColumn.css.js.map +1 -1
  533. package/dist/generated/themes/TableGroupRow.css.js +2 -1
  534. package/dist/generated/themes/TableGroupRow.css.js.map +1 -1
  535. package/dist/generated/themes/TableRow.css.js +2 -1
  536. package/dist/generated/themes/TableRow.css.js.map +1 -1
  537. package/dist/generated/themes/TapHighlightColor.css.js +2 -1
  538. package/dist/generated/themes/TapHighlightColor.css.js.map +1 -1
  539. package/dist/generated/themes/TextArea.css.js +2 -1
  540. package/dist/generated/themes/TextArea.css.js.map +1 -1
  541. package/dist/generated/themes/TimePicker.css.js +2 -1
  542. package/dist/generated/themes/TimePicker.css.js.map +1 -1
  543. package/dist/generated/themes/TimePickerClock.css.js +2 -1
  544. package/dist/generated/themes/TimePickerClock.css.js.map +1 -1
  545. package/dist/generated/themes/TimePickerPopover.css.js +2 -1
  546. package/dist/generated/themes/TimePickerPopover.css.js.map +1 -1
  547. package/dist/generated/themes/TimeSelection.css.js +2 -1
  548. package/dist/generated/themes/TimeSelection.css.js.map +1 -1
  549. package/dist/generated/themes/TimeSelectionClocks.css.js +2 -1
  550. package/dist/generated/themes/TimeSelectionClocks.css.js.map +1 -1
  551. package/dist/generated/themes/TimeSelectionInputs.css.js +2 -1
  552. package/dist/generated/themes/TimeSelectionInputs.css.js.map +1 -1
  553. package/dist/generated/themes/Title.css.js +2 -1
  554. package/dist/generated/themes/Title.css.js.map +1 -1
  555. package/dist/generated/themes/Toast.css.js +2 -1
  556. package/dist/generated/themes/Toast.css.js.map +1 -1
  557. package/dist/generated/themes/ToggleButton.css.js +2 -1
  558. package/dist/generated/themes/ToggleButton.css.js.map +1 -1
  559. package/dist/generated/themes/Token.css.js +2 -1
  560. package/dist/generated/themes/Token.css.js.map +1 -1
  561. package/dist/generated/themes/Tokenizer.css.js +2 -1
  562. package/dist/generated/themes/Tokenizer.css.js.map +1 -1
  563. package/dist/generated/themes/TokenizerPopover.css.js +2 -1
  564. package/dist/generated/themes/TokenizerPopover.css.js.map +1 -1
  565. package/dist/generated/themes/Toolbar.css.js +2 -1
  566. package/dist/generated/themes/Toolbar.css.js.map +1 -1
  567. package/dist/generated/themes/ToolbarButtonPopover.css.js +2 -1
  568. package/dist/generated/themes/ToolbarButtonPopover.css.js.map +1 -1
  569. package/dist/generated/themes/ToolbarPopover.css.js +2 -1
  570. package/dist/generated/themes/ToolbarPopover.css.js.map +1 -1
  571. package/dist/generated/themes/Tree.css.js +2 -1
  572. package/dist/generated/themes/Tree.css.js.map +1 -1
  573. package/dist/generated/themes/TreeItem.css.js +2 -1
  574. package/dist/generated/themes/TreeItem.css.js.map +1 -1
  575. package/dist/generated/themes/ValueStateMessage.css.js +2 -1
  576. package/dist/generated/themes/ValueStateMessage.css.js.map +1 -1
  577. package/dist/generated/themes/WheelSlider.css.js +2 -1
  578. package/dist/generated/themes/WheelSlider.css.js.map +1 -1
  579. package/dist/generated/themes/YearPicker.css.js +2 -1
  580. package/dist/generated/themes/YearPicker.css.js.map +1 -1
  581. package/dist/generated/themes/sap_belize/parameters-bundle.css.js +2 -1
  582. package/dist/generated/themes/sap_belize/parameters-bundle.css.js.map +1 -1
  583. package/dist/generated/themes/sap_belize_hcb/parameters-bundle.css.js +2 -1
  584. package/dist/generated/themes/sap_belize_hcb/parameters-bundle.css.js.map +1 -1
  585. package/dist/generated/themes/sap_belize_hcw/parameters-bundle.css.js +2 -1
  586. package/dist/generated/themes/sap_belize_hcw/parameters-bundle.css.js.map +1 -1
  587. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js +2 -1
  588. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js.map +1 -1
  589. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +2 -1
  590. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js.map +1 -1
  591. package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +2 -1
  592. package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js.map +1 -1
  593. package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +2 -1
  594. package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js.map +1 -1
  595. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +2 -1
  596. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js.map +1 -1
  597. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +2 -1
  598. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js.map +1 -1
  599. package/dist/generated/themes/sap_horizon_dark_exp/parameters-bundle.css.js +2 -1
  600. package/dist/generated/themes/sap_horizon_dark_exp/parameters-bundle.css.js.map +1 -1
  601. package/dist/generated/themes/sap_horizon_exp/parameters-bundle.css.js +2 -1
  602. package/dist/generated/themes/sap_horizon_exp/parameters-bundle.css.js.map +1 -1
  603. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +2 -1
  604. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js.map +1 -1
  605. package/dist/generated/themes/sap_horizon_hcb_exp/parameters-bundle.css.js +2 -1
  606. package/dist/generated/themes/sap_horizon_hcb_exp/parameters-bundle.css.js.map +1 -1
  607. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +2 -1
  608. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js.map +1 -1
  609. package/dist/generated/themes/sap_horizon_hcw_exp/parameters-bundle.css.js +2 -1
  610. package/dist/generated/themes/sap_horizon_hcw_exp/parameters-bundle.css.js.map +1 -1
  611. package/dist/popup-utils/OpenedPopupsRegistry.js +1 -0
  612. package/dist/popup-utils/OpenedPopupsRegistry.js.map +1 -1
  613. package/package-scripts.cjs +1 -0
  614. package/package.json +13 -7
  615. package/src/CheckBox.hbs +1 -1
  616. package/src/ColorPalettePopover.hbs +3 -0
  617. package/src/ComboBoxPopover.hbs +8 -7
  618. package/src/DateTimePickerPopover.hbs +12 -10
  619. package/src/InputPopover.hbs +6 -6
  620. package/src/Menu.hbs +11 -5
  621. package/src/MultiComboBoxPopover.hbs +10 -11
  622. package/src/Select.hbs +8 -5
  623. package/src/SelectMenu.hbs +1 -1
  624. package/src/SplitButton.hbs +7 -5
  625. package/src/TabContainer.hbs +1 -0
  626. package/src/TokenizerPopover.hbs +20 -6
  627. package/src/i18n/messagebundle_cnr.properties +152 -152
  628. package/src/i18n/messagebundle_en_US_saprigi.properties +158 -156
  629. package/src/i18n/messagebundle_mk.properties +156 -156
  630. package/src/i18n/messagebundle_sh.properties +25 -25
  631. package/src/i18n/messagebundle_sr.properties +156 -156
  632. package/src/themes/Badge.css +2 -1
  633. package/src/themes/ColorPalettePopover.css +4 -0
  634. package/src/themes/Input.css +8 -0
  635. package/src/themes/Menu.css +19 -0
  636. package/src/themes/Panel.css +1 -1
  637. package/src/themes/SplitButton.css +90 -20
  638. package/src/themes/Table.css +1 -0
  639. package/src/themes/TableRow.css +4 -0
  640. package/src/themes/TextArea.css +4 -6
  641. package/src/themes/Toolbar.css +0 -18
  642. package/src/themes/ValueStateMessage.css +54 -1
  643. package/src/themes/base/Input-parameters.css +2 -0
  644. package/src/themes/base/Panel-parameters.css +4 -2
  645. package/src/themes/base/SplitButton-parameters.css +8 -1
  646. package/src/themes/base/TableRow-parameters.css +1 -0
  647. package/src/themes/base/TextArea-parameters.css +4 -0
  648. package/src/themes/base/ValueStateMessage-parameters.css +8 -0
  649. package/src/themes/base/sizes-parameters.css +3 -4
  650. package/src/themes/sap_belize/Panel-parameters.css +2 -0
  651. package/src/themes/sap_belize/TableRow-parameters.css +1 -0
  652. package/src/themes/sap_belize_hcb/TableRow-parameters.css +1 -0
  653. package/src/themes/sap_belize_hcb/ValueStateMessage-parameters.css +6 -3
  654. package/src/themes/sap_belize_hcw/TableRow-parameters.css +1 -0
  655. package/src/themes/sap_belize_hcw/ValueStateMessage-parameters.css +6 -3
  656. package/src/themes/sap_fiori_3/parameters-bundle.css +1 -1
  657. package/src/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
  658. package/src/themes/sap_fiori_3_hcb/ValueStateMessage-parameters.css +7 -2
  659. package/src/themes/sap_fiori_3_hcw/ValueStateMessage-parameters.css +7 -2
  660. package/src/themes/sap_horizon/Input-parameters.css +2 -0
  661. package/src/themes/sap_horizon/Panel-parameters.css +0 -1
  662. package/src/themes/sap_horizon/SplitButton-parameters.css +7 -1
  663. package/src/themes/sap_horizon/TextArea-parameters.css +4 -0
  664. package/src/themes/sap_horizon/ValueStateMessage-parameters.css +2 -0
  665. package/src/themes/sap_horizon_dark/Input-parameters.css +2 -0
  666. package/src/themes/sap_horizon_dark/Panel-parameters.css +0 -1
  667. package/src/themes/sap_horizon_dark/SplitButton-parameters.css +7 -1
  668. package/src/themes/sap_horizon_dark/TextArea-parameters.css +4 -0
  669. package/src/themes/sap_horizon_dark/ValueStateMessage-parameters.css +2 -0
  670. package/src/themes/sap_horizon_dark_exp/Input-parameters.css +2 -0
  671. package/src/themes/sap_horizon_dark_exp/SplitButton-parameters.css +7 -1
  672. package/src/themes/sap_horizon_exp/Input-parameters.css +2 -0
  673. package/src/themes/sap_horizon_exp/SplitButton-parameters.css +7 -1
  674. package/src/themes/sap_horizon_hcb/ValueStateMessage-parameters.css +7 -2
  675. package/src/themes/sap_horizon_hcw/Panel-parameters.css +0 -1
  676. package/src/themes/sap_horizon_hcw/ValueStateMessage-parameters.css +7 -2
  677. package/tsconfig.json +22 -0
  678. package/config/postcss.components/postcss.config.cjs +0 -1
  679. package/config/postcss.themes/postcss.config.cjs +0 -1
  680. package/dist/assets/72override-4f6354a6.css +0 -1
  681. package/dist/assets/AnimanitionOff-17238f14.css +0 -1
  682. package/dist/assets/Avatar-94951703.css +0 -1
  683. package/dist/assets/AvatarGroup-dfa05e72.css +0 -1
  684. package/dist/assets/Badge-59172fa9.css +0 -1
  685. package/dist/assets/Breadcrumbs-84456832.css +0 -1
  686. package/dist/assets/BusyIndicator-26348187.css +0 -1
  687. package/dist/assets/Button-50012cf5.css +0 -1
  688. package/dist/assets/Calendar-50f74bde.css +0 -1
  689. package/dist/assets/Card-7c4d9a54.css +0 -1
  690. package/dist/assets/Carousel-0d3d911d.css +0 -1
  691. package/dist/assets/CheckBox-46926e71.css +0 -1
  692. package/dist/assets/ColorPalette-63fbe3b6.css +0 -1
  693. package/dist/assets/ColorPalettePopover-49b33da8.css +0 -1
  694. package/dist/assets/ColorPicker-7cec8ee6.css +0 -1
  695. package/dist/assets/ComboBox-de651845.css +0 -1
  696. package/dist/assets/Components-2e97c4ff.css +0 -1
  697. package/dist/assets/CoreControls-fff9c510.css +0 -1
  698. package/dist/assets/CoreControls_exp-ab4b7ad2.css +0 -1
  699. package/dist/assets/CustomCSS-79ab0997.css +0 -1
  700. package/dist/assets/DatePicker-975133a2.css +0 -1
  701. package/dist/assets/DatePicker_test_page-3de901b4.css +0 -1
  702. package/dist/assets/DateRangePicker-0e44d4a3.css +0 -1
  703. package/dist/assets/DateTimePicker-81c1bacc.css +0 -1
  704. package/dist/assets/DayPicker-9d37213d.css +0 -1
  705. package/dist/assets/Dialog-be6e9063.css +0 -1
  706. package/dist/assets/DialogLifecycle-a25fbcc8.css +0 -1
  707. package/dist/assets/DialogSemantic-6c8938ae.css +0 -1
  708. package/dist/assets/Eventing-e9e4b0ce.css +0 -1
  709. package/dist/assets/F6Test-236247a9.css +0 -1
  710. package/dist/assets/FileUploader-3142a7fb.css +0 -1
  711. package/dist/assets/FontFace-9d4fe719.css +0 -1
  712. package/dist/assets/FormComponents-874ad9ae.css +0 -1
  713. package/dist/assets/FormSupport-54f70933.css +0 -1
  714. package/dist/assets/HCB-bfeb90c1.css +0 -1
  715. package/dist/assets/HT-1000-59a0ea5a.jpg +0 -0
  716. package/dist/assets/HT-1010-7b05e4f5.jpg +0 -0
  717. package/dist/assets/HT-1022-6fa171f0.jpg +0 -0
  718. package/dist/assets/Icon-026bf4d7.css +0 -1
  719. package/dist/assets/IconCollectionInCustomTheme-91b08a2b.css +0 -1
  720. package/dist/assets/IgnoreCustomElements-2238457d.css +0 -1
  721. package/dist/assets/Input-38261f5b.css +0 -1
  722. package/dist/assets/Input_quickview-fa68e418.css +0 -1
  723. package/dist/assets/InputsAlignment-a6c38318.css +0 -1
  724. package/dist/assets/ItemNavigation-a9d526f6.css +0 -1
  725. package/dist/assets/John Miller-fc9d0d73.png +0 -0
  726. package/dist/assets/Kitchen-84de5405.css +0 -1
  727. package/dist/assets/Kitchen.openui5-9a8987ae.css +0 -1
  728. package/dist/assets/Label-b443825c.css +0 -1
  729. package/dist/assets/Lamp_avatar_01-ab251b40.jpg +0 -0
  730. package/dist/assets/Link-0f05a18d.css +0 -1
  731. package/dist/assets/List-4be08d9a.css +0 -1
  732. package/dist/assets/ListGrowing_Button-00828da9.css +0 -1
  733. package/dist/assets/ListGrowing_Scroll-7e225b45.css +0 -1
  734. package/dist/assets/List_keyboard_support-32bd171d.css +0 -1
  735. package/dist/assets/List_test_page-bd80d576.css +0 -1
  736. package/dist/assets/LitKeyFunction-b42455f8.css +0 -1
  737. package/dist/assets/MemoryLeak-cc3e2da4.css +0 -1
  738. package/dist/assets/Menu-b5ca144e.css +0 -1
  739. package/dist/assets/MessagePage-9cd5d968.css +0 -1
  740. package/dist/assets/MessageStrip-c081bc94.css +0 -1
  741. package/dist/assets/MultiComboBox-4bfa2834.css +0 -1
  742. package/dist/assets/MultiInput-715aafd5.css +0 -1
  743. package/dist/assets/MultiInput_Suggestions-e43fcf8a.css +0 -1
  744. package/dist/assets/OpenUI5-ed5d1908.css +0 -1
  745. package/dist/assets/Panel-792d9387.css +0 -1
  746. package/dist/assets/Popover-366b9193.css +0 -1
  747. package/dist/assets/PopoverArrowBounds-32856f40.css +0 -1
  748. package/dist/assets/Popups-134655f2.css +0 -1
  749. package/dist/assets/ProgressIndicator-bce2138a.css +0 -1
  750. package/dist/assets/RTL-63030fdf.css +0 -1
  751. package/dist/assets/RadioButton-670a4ec8.css +0 -1
  752. package/dist/assets/RangeSlider-d631a51f.css +0 -1
  753. package/dist/assets/RatingIndicator-d544882e.css +0 -1
  754. package/dist/assets/ResizeHandler-7b58c78f.css +0 -1
  755. package/dist/assets/ResponsivePopover-0b11ba15.css +0 -1
  756. package/dist/assets/SAP-icons-95a98080.js +0 -1
  757. package/dist/assets/SAP-icons-TNT-1c4f464e.js +0 -1
  758. package/dist/assets/SAP-icons-TNT-c47f3e89.js +0 -1
  759. package/dist/assets/SAP-icons-business-suite-4e995702.js +0 -1
  760. package/dist/assets/SAP-icons-business-suite-8715d482.js +0 -1
  761. package/dist/assets/SAP-icons-e24df2c3.js +0 -1
  762. package/dist/assets/SegmentedButton-654bc4ab.css +0 -1
  763. package/dist/assets/Select-e17517bf.css +0 -1
  764. package/dist/assets/SelectMenu-b70fbe8e.css +0 -1
  765. package/dist/assets/Simple-02bd88fc.css +0 -1
  766. package/dist/assets/Slider-1416b3bb.css +0 -1
  767. package/dist/assets/SplitButton-d2e2e966.css +0 -1
  768. package/dist/assets/StepInput-5c7e8966.css +0 -1
  769. package/dist/assets/Switch-201b66b4.css +0 -1
  770. package/dist/assets/TabContainer-718b814c.css +0 -1
  771. package/dist/assets/Table-e1ec9973.css +0 -1
  772. package/dist/assets/Table-perf-7c9dda90.css +0 -1
  773. package/dist/assets/Table-perf-pure-59e24021.css +0 -1
  774. package/dist/assets/Table2-185517f2.css +0 -1
  775. package/dist/assets/TableAllPopin-ec8feace.css +0 -1
  776. package/dist/assets/TableCustomStyling-3de78436.css +0 -1
  777. package/dist/assets/TableGrouping-05ded42c.css +0 -1
  778. package/dist/assets/TableGrowingWithButton-cce942cc.css +0 -1
  779. package/dist/assets/TableGrowingWithScroll-5514d54d.css +0 -1
  780. package/dist/assets/TableSelection-de375a7c.css +0 -1
  781. package/dist/assets/TextArea-76f953a2.css +0 -1
  782. package/dist/assets/TimePicker-0bfa349e.css +0 -1
  783. package/dist/assets/TimePickerClock-9c31b552.css +0 -1
  784. package/dist/assets/TimeSelection-f76266ae.css +0 -1
  785. package/dist/assets/TimeSelectionClocks-6e241c3a.css +0 -1
  786. package/dist/assets/Title-3d358ef7.css +0 -1
  787. package/dist/assets/Toast-d7517578.css +0 -1
  788. package/dist/assets/ToggleButton-666e069a.css +0 -1
  789. package/dist/assets/Tokenizer-09a50163.css +0 -1
  790. package/dist/assets/Toolbar-d0c25006.css +0 -1
  791. package/dist/assets/Tree-e496f991.css +0 -1
  792. package/dist/assets/WheelSlider_Test_Page-e2918081.css +0 -1
  793. package/dist/assets/ar-f391a637.js +0 -1
  794. package/dist/assets/ar_EG-f391a637.js +0 -1
  795. package/dist/assets/ar_SA-e67e7965.js +0 -1
  796. package/dist/assets/bg-21fb4570.js +0 -1
  797. package/dist/assets/ca-5216c93d.js +0 -1
  798. package/dist/assets/cs-2b679c4b.js +0 -1
  799. package/dist/assets/da-6e408dba.js +0 -1
  800. package/dist/assets/de-de98c4fd.js +0 -1
  801. package/dist/assets/de_AT-3ec616a7.js +0 -1
  802. package/dist/assets/de_CH-7a09c0da.js +0 -1
  803. package/dist/assets/el-4e01da0b.js +0 -1
  804. package/dist/assets/el_CY-46ac97ab.js +0 -1
  805. package/dist/assets/en-b2552130.js +0 -1
  806. package/dist/assets/en_AU-4e7defd8.js +0 -1
  807. package/dist/assets/en_GB-01e748d6.js +0 -1
  808. package/dist/assets/en_HK-c2d514a5.js +0 -1
  809. package/dist/assets/en_IE-099d58ab.js +0 -1
  810. package/dist/assets/en_IN-7b7e05a9.js +0 -1
  811. package/dist/assets/en_NZ-aee4e9fc.js +0 -1
  812. package/dist/assets/en_PG-d1b649df.js +0 -1
  813. package/dist/assets/en_SG-b0c1cfe6.js +0 -1
  814. package/dist/assets/en_ZA-a2da5c54.js +0 -1
  815. package/dist/assets/es-dbd1ef07.js +0 -1
  816. package/dist/assets/es_AR-e32c9e25.js +0 -1
  817. package/dist/assets/es_BO-395d6215.js +0 -1
  818. package/dist/assets/es_CL-ef7ab9fb.js +0 -1
  819. package/dist/assets/es_CO-da4e3dfe.js +0 -1
  820. package/dist/assets/es_MX-fdd11249.js +0 -1
  821. package/dist/assets/es_PE-de798d28.js +0 -1
  822. package/dist/assets/es_UY-27072bac.js +0 -1
  823. package/dist/assets/es_VE-50afb346.js +0 -1
  824. package/dist/assets/et-29692c23.js +0 -1
  825. package/dist/assets/fa-b0fc4bf3.js +0 -1
  826. package/dist/assets/fi-3a9ffb94.js +0 -1
  827. package/dist/assets/form-a7c56399.css +0 -1
  828. package/dist/assets/fr-4ffed905.js +0 -1
  829. package/dist/assets/fr_BE-e65b48be.js +0 -1
  830. package/dist/assets/fr_CA-f5090063.js +0 -1
  831. package/dist/assets/fr_CH-4066a1c8.js +0 -1
  832. package/dist/assets/fr_LU-14474997.js +0 -1
  833. package/dist/assets/he-0e107fc6.js +0 -1
  834. package/dist/assets/hi-6bc0f028.js +0 -1
  835. package/dist/assets/hr-119c63ca.js +0 -1
  836. package/dist/assets/hu-c22bafeb.js +0 -1
  837. package/dist/assets/i18n-defaultLang-a3cc4720.css +0 -1
  838. package/dist/assets/i18n-demo-88e9e087.css +0 -1
  839. package/dist/assets/id-30e295ef.js +0 -1
  840. package/dist/assets/it-596f2bfd.js +0 -1
  841. package/dist/assets/it_CH-5fa7c26d.js +0 -1
  842. package/dist/assets/ja-6bb1563c.js +0 -1
  843. package/dist/assets/kitchen-scripts-674a1bd9.js +0 -1
  844. package/dist/assets/kitchen-styles-f4dfb211.css +0 -1
  845. package/dist/assets/kk-cb6040d6.js +0 -1
  846. package/dist/assets/ko-a2d67669.js +0 -1
  847. package/dist/assets/loading-b2cd685f.gif +0 -0
  848. package/dist/assets/lt-78eee7fc.js +0 -1
  849. package/dist/assets/lv-719f4db2.js +0 -1
  850. package/dist/assets/messagebundle_ar-44188cf1.js +0 -1
  851. package/dist/assets/messagebundle_ar-4782548b.js +0 -1
  852. package/dist/assets/messagebundle_bg-05eb1bd6.js +0 -1
  853. package/dist/assets/messagebundle_bg-a90aa5d5.js +0 -1
  854. package/dist/assets/messagebundle_ca-bf53c9ac.js +0 -1
  855. package/dist/assets/messagebundle_ca-fd9b9725.js +0 -1
  856. package/dist/assets/messagebundle_cs-6c5f4661.js +0 -1
  857. package/dist/assets/messagebundle_cs-bb92e5a1.js +0 -1
  858. package/dist/assets/messagebundle_cy-5b85b0fe.js +0 -1
  859. package/dist/assets/messagebundle_cy-f3425b6a.js +0 -1
  860. package/dist/assets/messagebundle_da-07b377a3.js +0 -1
  861. package/dist/assets/messagebundle_da-f61aace0.js +0 -1
  862. package/dist/assets/messagebundle_de-3cf371b0.js +0 -1
  863. package/dist/assets/messagebundle_de-43b1bd4d.js +0 -1
  864. package/dist/assets/messagebundle_el-0d337e59.js +0 -1
  865. package/dist/assets/messagebundle_el-b9f8553d.js +0 -1
  866. package/dist/assets/messagebundle_en-5cd4cf2a.js +0 -1
  867. package/dist/assets/messagebundle_en-7692c80a.js +0 -1
  868. package/dist/assets/messagebundle_en_GB-183238d7.js +0 -1
  869. package/dist/assets/messagebundle_en_GB-abb342c6.js +0 -1
  870. package/dist/assets/messagebundle_en_US_sappsd-19b6364e.js +0 -1
  871. package/dist/assets/messagebundle_en_US_sappsd-49b85609.js +0 -1
  872. package/dist/assets/messagebundle_en_US_saprigi-4be659a6.js +0 -1
  873. package/dist/assets/messagebundle_en_US_saprigi-f270a6e4.js +0 -1
  874. package/dist/assets/messagebundle_en_US_saptrc-2822dbad.js +0 -1
  875. package/dist/assets/messagebundle_en_US_saptrc-e63b0d1a.js +0 -1
  876. package/dist/assets/messagebundle_es-2ca9061f.js +0 -1
  877. package/dist/assets/messagebundle_es-4e7eca71.js +0 -1
  878. package/dist/assets/messagebundle_es_MX-191a1832.js +0 -1
  879. package/dist/assets/messagebundle_es_MX-f103bb14.js +0 -1
  880. package/dist/assets/messagebundle_et-55f516e7.js +0 -1
  881. package/dist/assets/messagebundle_et-9d772e73.js +0 -1
  882. package/dist/assets/messagebundle_fi-15e72d1f.js +0 -1
  883. package/dist/assets/messagebundle_fi-ae0984c5.js +0 -1
  884. package/dist/assets/messagebundle_fr-3745f3bb.js +0 -1
  885. package/dist/assets/messagebundle_fr-bd3ba1c8.js +0 -1
  886. package/dist/assets/messagebundle_fr_CA-2944b6e2.js +0 -1
  887. package/dist/assets/messagebundle_fr_CA-8d04ad98.js +0 -1
  888. package/dist/assets/messagebundle_hi-291cdc29.js +0 -1
  889. package/dist/assets/messagebundle_hi-b4549e84.js +0 -1
  890. package/dist/assets/messagebundle_hr-2021365c.js +0 -1
  891. package/dist/assets/messagebundle_hr-dc5ab77f.js +0 -1
  892. package/dist/assets/messagebundle_hu-60bcfab5.js +0 -1
  893. package/dist/assets/messagebundle_hu-8dd75a8d.js +0 -1
  894. package/dist/assets/messagebundle_in-165d36a7.js +0 -1
  895. package/dist/assets/messagebundle_in-a71f8537.js +0 -1
  896. package/dist/assets/messagebundle_it-2d16ebf4.js +0 -1
  897. package/dist/assets/messagebundle_it-368b28b6.js +0 -1
  898. package/dist/assets/messagebundle_iw-9969b4f6.js +0 -1
  899. package/dist/assets/messagebundle_iw-f3fae638.js +0 -1
  900. package/dist/assets/messagebundle_ja-8ab8edec.js +0 -1
  901. package/dist/assets/messagebundle_ja-95ab2a9d.js +0 -1
  902. package/dist/assets/messagebundle_kk-5c996508.js +0 -1
  903. package/dist/assets/messagebundle_kk-87ca26a7.js +0 -1
  904. package/dist/assets/messagebundle_ko-2a93fc1b.js +0 -1
  905. package/dist/assets/messagebundle_ko-73550dda.js +0 -1
  906. package/dist/assets/messagebundle_lt-2c2b7850.js +0 -1
  907. package/dist/assets/messagebundle_lt-d42040e5.js +0 -1
  908. package/dist/assets/messagebundle_lv-2d648d1f.js +0 -1
  909. package/dist/assets/messagebundle_lv-564d8d12.js +0 -1
  910. package/dist/assets/messagebundle_ms-4481b62b.js +0 -1
  911. package/dist/assets/messagebundle_ms-b29bc5de.js +0 -1
  912. package/dist/assets/messagebundle_nl-8903b79e.js +0 -1
  913. package/dist/assets/messagebundle_nl-cdb88819.js +0 -1
  914. package/dist/assets/messagebundle_no-281b6780.js +0 -1
  915. package/dist/assets/messagebundle_no-d232e13d.js +0 -1
  916. package/dist/assets/messagebundle_pl-38e24e06.js +0 -1
  917. package/dist/assets/messagebundle_pl-eae9b070.js +0 -1
  918. package/dist/assets/messagebundle_pt-983161ca.js +0 -1
  919. package/dist/assets/messagebundle_pt-e60705f6.js +0 -1
  920. package/dist/assets/messagebundle_pt_PT-5f46105d.js +0 -1
  921. package/dist/assets/messagebundle_pt_PT-e5c0e4c6.js +0 -1
  922. package/dist/assets/messagebundle_ro-d687cc88.js +0 -1
  923. package/dist/assets/messagebundle_ro-e3b4dcb2.js +0 -1
  924. package/dist/assets/messagebundle_ru-76ac5f54.js +0 -1
  925. package/dist/assets/messagebundle_ru-af77fe06.js +0 -1
  926. package/dist/assets/messagebundle_sh-58edcd14.js +0 -1
  927. package/dist/assets/messagebundle_sh-ee461b2a.js +0 -1
  928. package/dist/assets/messagebundle_sk-305ca75f.js +0 -1
  929. package/dist/assets/messagebundle_sk-f1bd3637.js +0 -1
  930. package/dist/assets/messagebundle_sl-375754b0.js +0 -1
  931. package/dist/assets/messagebundle_sl-fa70a2a8.js +0 -1
  932. package/dist/assets/messagebundle_sv-86e2ab29.js +0 -1
  933. package/dist/assets/messagebundle_sv-9ed56858.js +0 -1
  934. package/dist/assets/messagebundle_th-60f02032.js +0 -1
  935. package/dist/assets/messagebundle_th-83b6ca17.js +0 -1
  936. package/dist/assets/messagebundle_tr-8cd99bc0.js +0 -1
  937. package/dist/assets/messagebundle_tr-9c820e7f.js +0 -1
  938. package/dist/assets/messagebundle_uk-5aea802c.js +0 -1
  939. package/dist/assets/messagebundle_uk-8e3b4240.js +0 -1
  940. package/dist/assets/messagebundle_vi-0218d27e.js +0 -1
  941. package/dist/assets/messagebundle_vi-40949e1d.js +0 -1
  942. package/dist/assets/messagebundle_zh_CN-2175ebf7.js +0 -1
  943. package/dist/assets/messagebundle_zh_CN-79c8e486.js +0 -1
  944. package/dist/assets/messagebundle_zh_TW-31ee5033.js +0 -1
  945. package/dist/assets/messagebundle_zh_TW-94e0c73d.js +0 -1
  946. package/dist/assets/ms-3e52f673.js +0 -1
  947. package/dist/assets/nb-9638a305.js +0 -1
  948. package/dist/assets/nl-b8bbb7f2.js +0 -1
  949. package/dist/assets/nl_BE-6d04ce85.js +0 -1
  950. package/dist/assets/parameters-bundle.css-059b56e0.js +0 -1
  951. package/dist/assets/parameters-bundle.css-1643ff0c.js +0 -1
  952. package/dist/assets/parameters-bundle.css-22511c31.js +0 -1
  953. package/dist/assets/parameters-bundle.css-27fb6698.js +0 -1
  954. package/dist/assets/parameters-bundle.css-3ced62b7.js +0 -1
  955. package/dist/assets/parameters-bundle.css-43e2d88b.js +0 -1
  956. package/dist/assets/parameters-bundle.css-449b2867.js +0 -1
  957. package/dist/assets/parameters-bundle.css-4a4c8559.js +0 -1
  958. package/dist/assets/parameters-bundle.css-4c7d3418.js +0 -1
  959. package/dist/assets/parameters-bundle.css-602ae43c.js +0 -1
  960. package/dist/assets/parameters-bundle.css-681488bd.js +0 -1
  961. package/dist/assets/parameters-bundle.css-810ea9bd.js +0 -1
  962. package/dist/assets/parameters-bundle.css-8389be49.js +0 -1
  963. package/dist/assets/parameters-bundle.css-89a009ec.js +0 -1
  964. package/dist/assets/parameters-bundle.css-94b74881.js +0 -1
  965. package/dist/assets/parameters-bundle.css-a1da1b11.js +0 -1
  966. package/dist/assets/parameters-bundle.css-a28373f2.js +0 -1
  967. package/dist/assets/parameters-bundle.css-a2aafc1e.js +0 -1
  968. package/dist/assets/parameters-bundle.css-a5f98fe3.js +0 -1
  969. package/dist/assets/parameters-bundle.css-bb3fc6cf.js +0 -1
  970. package/dist/assets/parameters-bundle.css-c7ddb668.js +0 -1
  971. package/dist/assets/parameters-bundle.css-ca9e9d19.js +0 -1
  972. package/dist/assets/parameters-bundle.css-cca83ce9.js +0 -1
  973. package/dist/assets/parameters-bundle.css-d2a65afa.js +0 -1
  974. package/dist/assets/parameters-bundle.css-eabb426e.js +0 -1
  975. package/dist/assets/parameters-bundle.css-f13a803f.js +0 -1
  976. package/dist/assets/parameters-bundle.css-fa1b8a70.js +0 -1
  977. package/dist/assets/parameters-bundle.css-fa2f1a30.js +0 -1
  978. package/dist/assets/parameters-bundle.css-fc37c9e7.js +0 -1
  979. package/dist/assets/parameters-bundle.css-fe4bf0dd.js +0 -1
  980. package/dist/assets/pl-87b27ba8.js +0 -1
  981. package/dist/assets/pt-c5581ba3.js +0 -1
  982. package/dist/assets/pt_PT-47b5f71d.js +0 -1
  983. package/dist/assets/ro-af3d1686.js +0 -1
  984. package/dist/assets/ru-5cc367d3.js +0 -1
  985. package/dist/assets/ru_UA-219db2fe.js +0 -1
  986. package/dist/assets/sk-78f44edb.js +0 -1
  987. package/dist/assets/sl-25944595.js +0 -1
  988. package/dist/assets/sr-194e17ee.js +0 -1
  989. package/dist/assets/sr_Latn-fd6fd583.js +0 -1
  990. package/dist/assets/sv-26aca0d6.js +0 -1
  991. package/dist/assets/th-d960463e.js +0 -1
  992. package/dist/assets/tr-99cfc87c.js +0 -1
  993. package/dist/assets/uk-96f28c95.js +0 -1
  994. package/dist/assets/vi-d85bbf4d.js +0 -1
  995. package/dist/assets/woman_avatar_5-7316a316.png +0 -0
  996. package/dist/assets/zh_CN-17b0282c.js +0 -1
  997. package/dist/assets/zh_HK-44a29b1a.js +0 -1
  998. package/dist/assets/zh_SG-b54c584d.js +0 -1
  999. package/dist/assets/zh_TW-60f7a330.js +0 -1
  1000. package/dist/i18n/messagebundle.properties +0 -469
  1001. package/dist/i18n/messagebundle_ar.properties +0 -313
  1002. package/dist/i18n/messagebundle_bg.properties +0 -313
  1003. package/dist/i18n/messagebundle_ca.properties +0 -313
  1004. package/dist/i18n/messagebundle_cnr.properties +0 -313
  1005. package/dist/i18n/messagebundle_cs.properties +0 -313
  1006. package/dist/i18n/messagebundle_cy.properties +0 -313
  1007. package/dist/i18n/messagebundle_da.properties +0 -313
  1008. package/dist/i18n/messagebundle_de.properties +0 -313
  1009. package/dist/i18n/messagebundle_el.properties +0 -313
  1010. package/dist/i18n/messagebundle_en.properties +0 -313
  1011. package/dist/i18n/messagebundle_en_GB.properties +0 -313
  1012. package/dist/i18n/messagebundle_en_US_sappsd.properties +0 -311
  1013. package/dist/i18n/messagebundle_en_US_saprigi.properties +0 -311
  1014. package/dist/i18n/messagebundle_en_US_saptrc.properties +0 -311
  1015. package/dist/i18n/messagebundle_es.properties +0 -313
  1016. package/dist/i18n/messagebundle_es_MX.properties +0 -313
  1017. package/dist/i18n/messagebundle_et.properties +0 -313
  1018. package/dist/i18n/messagebundle_fi.properties +0 -313
  1019. package/dist/i18n/messagebundle_fr.properties +0 -313
  1020. package/dist/i18n/messagebundle_fr_CA.properties +0 -313
  1021. package/dist/i18n/messagebundle_hi.properties +0 -313
  1022. package/dist/i18n/messagebundle_hr.properties +0 -313
  1023. package/dist/i18n/messagebundle_hu.properties +0 -313
  1024. package/dist/i18n/messagebundle_id.properties +0 -313
  1025. package/dist/i18n/messagebundle_in.properties +0 -172
  1026. package/dist/i18n/messagebundle_it.properties +0 -313
  1027. package/dist/i18n/messagebundle_iw.properties +0 -313
  1028. package/dist/i18n/messagebundle_ja.properties +0 -313
  1029. package/dist/i18n/messagebundle_kk.properties +0 -313
  1030. package/dist/i18n/messagebundle_ko.properties +0 -313
  1031. package/dist/i18n/messagebundle_lt.properties +0 -313
  1032. package/dist/i18n/messagebundle_lv.properties +0 -313
  1033. package/dist/i18n/messagebundle_mk.properties +0 -313
  1034. package/dist/i18n/messagebundle_ms.properties +0 -313
  1035. package/dist/i18n/messagebundle_nl.properties +0 -313
  1036. package/dist/i18n/messagebundle_no.properties +0 -313
  1037. package/dist/i18n/messagebundle_pl.properties +0 -313
  1038. package/dist/i18n/messagebundle_pt.properties +0 -313
  1039. package/dist/i18n/messagebundle_pt_PT.properties +0 -313
  1040. package/dist/i18n/messagebundle_ro.properties +0 -313
  1041. package/dist/i18n/messagebundle_ru.properties +0 -313
  1042. package/dist/i18n/messagebundle_sh.properties +0 -313
  1043. package/dist/i18n/messagebundle_sk.properties +0 -313
  1044. package/dist/i18n/messagebundle_sl.properties +0 -313
  1045. package/dist/i18n/messagebundle_sr.properties +0 -313
  1046. package/dist/i18n/messagebundle_sv.properties +0 -313
  1047. package/dist/i18n/messagebundle_th.properties +0 -313
  1048. package/dist/i18n/messagebundle_tr.properties +0 -313
  1049. package/dist/i18n/messagebundle_uk.properties +0 -313
  1050. package/dist/i18n/messagebundle_vi.properties +0 -313
  1051. package/dist/i18n/messagebundle_zh_CN.properties +0 -313
  1052. package/dist/i18n/messagebundle_zh_TW.properties +0 -313
  1053. package/src/themes/sap_fiori_3/Panel-parameters.css +0 -5
  1054. package/src/themes/sap_fiori_3_dark/Panel-parameters.css +0 -5
package/dist/Popover.js CHANGED
@@ -13,6 +13,8 @@ import { isIOS } from "@ui5/webcomponents-base/dist/Device.js";
13
13
  import DOMReference from "@ui5/webcomponents-base/dist/types/DOMReference.js";
14
14
  import { getClosedPopupParent } from "@ui5/webcomponents-base/dist/util/PopupUtils.js";
15
15
  import clamp from "@ui5/webcomponents-base/dist/util/clamp.js";
16
+ import isElementContainingBlock from "@ui5/webcomponents-base/dist/util/isElementContainingBlock.js";
17
+ import getParentElement from "@ui5/webcomponents-base/dist/util/getParentElement.js";
16
18
  import Popup from "./Popup.js";
17
19
  import PopoverPlacementType from "./types/PopoverPlacementType.js";
18
20
  import PopoverVerticalAlign from "./types/PopoverVerticalAlign.js";
@@ -64,6 +66,13 @@ const ARROW_SIZE = 8;
64
66
  *
65
67
  * <code>import "@ui5/webcomponents/dist/Popover.js";</code>
66
68
  *
69
+ * <b>Note: </b> We recommend placing popup-like components (<code>ui5-dialog</code> and <code>ui5-popover</code>)
70
+ * outside any other components. Preferably, the popup-like components should be placed
71
+ * in an upper level HTML element. Otherwise, in some cases the parent HTML elements can break
72
+ * the position and/or z-index management of the popup-like components.
73
+ *
74
+ * <b>Note:</b> We don't recommend nesting popup-like components (<code>ui5-dialog</code>, <code>ui5-popover</code>).
75
+ *
67
76
  * @constructor
68
77
  * @author SAP SE
69
78
  * @alias sap.ui.webc.main.Popover
@@ -87,7 +96,7 @@ let Popover = Popover_1 = class Popover extends Popup {
87
96
  opener = this.opener;
88
97
  }
89
98
  else if (typeof this.opener === "string") {
90
- opener = this.getRootNode().getElementById(this.opener);
99
+ opener = this.getRootNode().getElementById(this.opener) || document.getElementById(this.opener);
91
100
  }
92
101
  if (!opener) {
93
102
  console.warn("Valid opener id is required."); // eslint-disable-line
@@ -199,7 +208,7 @@ let Popover = Popover_1 = class Popover extends Popup {
199
208
  // update opener rect if it was changed during the popover being opened
200
209
  this._openerRect = this._opener.getBoundingClientRect();
201
210
  }
202
- if (this.shouldCloseDueToNoOpener(this._openerRect) && this.isFocusWithin()) {
211
+ if (this.shouldCloseDueToNoOpener(this._openerRect) && this.isFocusWithin() && this._oldPlacement) {
203
212
  // reuse the old placement as the opener is not available,
204
213
  // but keep the popover open as the focus is within
205
214
  placement = this._oldPlacement;
@@ -223,6 +232,9 @@ let Popover = Popover_1 = class Popover extends Popup {
223
232
  this.arrowTranslateX = placement.arrow.x;
224
233
  this.arrowTranslateY = placement.arrow.y;
225
234
  top = this._adjustForIOSKeyboard(top);
235
+ const containingBlockClientLocation = this._getContainingBlockClientLocation();
236
+ left -= containingBlockClientLocation.left;
237
+ top -= containingBlockClientLocation.top;
226
238
  Object.assign(this.style, {
227
239
  top: `${top}px`,
228
240
  left: `${left}px`,
@@ -245,6 +257,16 @@ let Popover = Popover_1 = class Popover extends Popup {
245
257
  const actualTop = Math.ceil(this.getBoundingClientRect().top);
246
258
  return top + (Number.parseInt(this.style.top || "0") - actualTop);
247
259
  }
260
+ _getContainingBlockClientLocation() {
261
+ let parentElement = getParentElement(this);
262
+ while (parentElement) {
263
+ if (isElementContainingBlock(parentElement)) {
264
+ return parentElement.getBoundingClientRect();
265
+ }
266
+ parentElement = getParentElement(parentElement);
267
+ }
268
+ return { left: 0, top: 0 };
269
+ }
248
270
  getPopoverSize() {
249
271
  const rect = this.getBoundingClientRect(), width = rect.width, height = rect.height;
250
272
  return { width, height };
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.js","sourceRoot":"","sources":["../src/Popover.ts"],"names":[],"mappings":";;;;;;;AACA,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,OAAO,MAAM,+CAA+C,CAAC;AACpE,OAAO,EAAE,KAAK,EAAE,MAAM,wCAAwC,CAAC;AAC/D,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,iDAAiD,CAAC;AACvF,OAAO,KAAK,MAAM,4CAA4C,CAAC;AAC/D,OAAO,KAAK,MAAM,YAAY,CAAC;AAE/B,OAAO,oBAAoB,MAAM,iCAAiC,CAAC;AACnE,OAAO,oBAAoB,MAAM,iCAAiC,CAAC;AACnE,OAAO,sBAAsB,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAEzF,WAAW;AACX,OAAO,eAAe,MAAM,8CAA8C,CAAC;AAC3E,SAAS;AACT,OAAO,mBAAmB,MAAM,4CAA4C,CAAC;AAC7E,OAAO,eAAe,MAAM,wCAAwC,CAAC;AACrE,OAAO,UAAU,MA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,EAAE,OAAO,EAAE,CAAC;iDACD;AAQ3B;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,YAAY,EAAE,CAAC,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;gDAC5C;AAQzB;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,YAAY,EAAE,CAAC,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;gDAC5C;AAQzB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE,YAAY,EAAE,oBAAoB,CAAC,KAAK,EAAE,CAAC;oDACnC;AAGhD;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;2CAChC;AAGpB;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;0CACjC;AAWnB;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;uCACA;AAW5B;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;uCACA;AAtKvB,OAAO;IATZ,aAAa,CAAC;QACd,GAAG,EAAE,aAAa;QAClB,MAAM,EAAE;YACP,mBAAmB;YACnB,eAAe;YACf,UAAU;SACV;QACD,QAAQ,EAAE,eAAe;KACzB,CAAC;GACI,OAAO,CAiuBZ;AAED,MAAM,iBAAiB,GAAG,CAAC,MAAW,EAAqB,EAAE;IAC5D,OAAO,QAAQ,IAAI,MAAM,CAAC;AAC3B,CAAC,CAAC;AAEF,OAAO,CAAC,MAAM,EAAE,CAAC;AAEjB,eAAe,OAAO,CAAC;AAEvB,OAAO,EAAE,iBAAiB,EAAE,CAAC","sourcesContent":["import type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport Integer from \"@ui5/webcomponents-base/dist/types/Integer.js\";\nimport { isIOS } from \"@ui5/webcomponents-base/dist/Device.js\";\nimport DOMReference from \"@ui5/webcomponents-base/dist/types/DOMReference.js\";\nimport { getClosedPopupParent } from \"@ui5/webcomponents-base/dist/util/PopupUtils.js\";\nimport clamp from \"@ui5/webcomponents-base/dist/util/clamp.js\";\nimport Popup from \"./Popup.js\";\nimport type { PopupBeforeCloseEventDetail as PopoverBeforeCloseEventDetail } from \"./Popup.js\";\nimport PopoverPlacementType from \"./types/PopoverPlacementType.js\";\nimport PopoverVerticalAlign from \"./types/PopoverVerticalAlign.js\";\nimport PopoverHorizontalAlign from \"./types/PopoverHorizontalAlign.js\";\nimport { addOpenedPopover, removeOpenedPopover } from \"./popup-utils/PopoverRegistry.js\";\n\n// Template\nimport PopoverTemplate from \"./generated/templates/PopoverTemplate.lit.js\";\n// Styles\nimport browserScrollbarCSS from \"./generated/themes/BrowserScrollbar.css.js\";\nimport PopupsCommonCss from \"./generated/themes/PopupsCommon.css.js\";\nimport PopoverCss from \"./generated/themes/Popover.css.js\";\n\nconst ARROW_SIZE = 8;\n\ntype PopoverSize = {\n\twidth: number;\n\theight: number;\n}\n\ntype ArrowPosition = {\n\tx: number;\n\ty: number;\n}\n\ntype CalculatedPlacement = {\n\tarrow: ArrowPosition,\n\ttop: number,\n\tleft: number,\n\tplacementType: `${PopoverPlacementType}`,\n}\n\n/**\n * @class\n *\n * <h3 class=\"comment-api-title\">Overview</h3>\n *\n * The <code>ui5-popover</code> component displays additional information for an object\n * in a compact way and without leaving the page.\n * The Popover can contain various UI elements, such as fields, tables, images, and charts.\n * It can also include actions in the footer.\n *\n * <h3>Structure</h3>\n *\n * The popover has three main areas:\n * <ul>\n * <li>Header (optional)</li>\n * <li>Content</li>\n * <li>Footer (optional)</li>\n * </ul>\n *\n * <b>Note:</b> The <code>ui5-popover</code> is closed when the user clicks\n * or taps outside the popover\n * or selects an action within the popover. You can prevent this with the\n * <code>modal</code> property.\n *\n * <h3>CSS Shadow Parts</h3>\n *\n * <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.\n * <br>\n * The <code>ui5-popover</code> exposes the following CSS Shadow Parts:\n * <ul>\n * <li>header - Used to style the header of the component</li>\n * <li>content - Used to style the content of the component</li>\n * <li>footer - Used to style the footer of the component</li>\n * </ul>\n *\n * <h3>ES6 Module Import</h3>\n *\n * <code>import \"@ui5/webcomponents/dist/Popover.js\";</code>\n *\n * @constructor\n * @author SAP SE\n * @alias sap.ui.webc.main.Popover\n * @extends sap.ui.webc.main.Popup\n * @tagname ui5-popover\n * @since 1.0.0-rc.6\n * @public\n */\n@customElement({\n\ttag: \"ui5-popover\",\n\tstyles: [\n\t\tbrowserScrollbarCSS,\n\t\tPopupsCommonCss,\n\t\tPopoverCss,\n\t],\n\ttemplate: PopoverTemplate,\n})\nclass Popover extends Popup {\n\t/**\n\t * Defines the header text.\n\t * <br><br>\n\t * <b>Note:</b> If <code>header</code> slot is provided, the <code>headerText</code> is ignored.\n\t *\n\t * @type {string}\n\t * @name sap.ui.webc.main.Popover.prototype.headerText\n\t * @defaultvalue \"\"\n\t * @public\n\t */\n\t@property()\n\theaderText!: string;\n\n\t/**\n\t * Determines on which side the component is placed at.\n\t *\n\t * @type {sap.ui.webc.main.types.PopoverPlacementType}\n\t * @name sap.ui.webc.main.Popover.prototype.placementType\n\t * @defaultvalue \"Right\"\n\t * @public\n\t */\n\t@property({ type: PopoverPlacementType, defaultValue: PopoverPlacementType.Right })\n\tplacementType!: `${PopoverPlacementType}`;\n\n\t/**\n\t * Determines the horizontal alignment of the component.\n\t *\n\t * @type {sap.ui.webc.main.types.PopoverHorizontalAlign}\n\t * @name sap.ui.webc.main.Popover.prototype.horizontalAlign\n\t * @defaultvalue \"Center\"\n\t * @public\n\t */\n\t@property({ type: PopoverHorizontalAlign, defaultValue: PopoverHorizontalAlign.Center })\n\thorizontalAlign!: `${PopoverHorizontalAlign}`;\n\n\t/**\n\t * Determines the vertical alignment of the component.\n\t *\n\t * @type {sap.ui.webc.main.types.PopoverVerticalAlign}\n\t * @name sap.ui.webc.main.Popover.prototype.verticalAlign\n\t * @defaultvalue \"Center\"\n\t * @public\n\t */\n\t@property({ type: PopoverVerticalAlign, defaultValue: PopoverVerticalAlign.Center })\n\tverticalAlign!: `${PopoverVerticalAlign}`;\n\n\t/**\n\t * Defines whether the component should close when\n\t * clicking/tapping outside of the popover.\n\t * If enabled, it blocks any interaction with the background.\n\t *\n\t * @type {boolean}\n\t * @name sap.ui.webc.main.Popover.prototype.modal\n\t * @defaultvalue false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tmodal!: boolean;\n\n\t/**\n\t * Defines whether the block layer will be shown if modal property is set to true.\n\t * @type {boolean}\n\t * @name sap.ui.webc.main.Popover.prototype.hideBackdrop\n\t * @defaultvalue false\n\t * @public\n\t * @since 1.0.0-rc.10\n\t */\n\t@property({ type: Boolean })\n\thideBackdrop!: boolean;\n\n\t/**\n\t * Determines whether the component arrow is hidden.\n\t *\n\t * @type {boolean}\n\t * @name sap.ui.webc.main.Popover.prototype.hideArrow\n\t * @defaultvalue false\n\t * @public\n\t * @since 1.0.0-rc.15\n\t */\n\t@property({ type: Boolean })\n\thideArrow!: boolean;\n\n\t/**\n\t * Determines if there is no enough space, the component can be placed\n\t * over the target.\n\t *\n\t * @type {boolean}\n\t * @name sap.ui.webc.main.Popover.prototype.allowTargetOverlap\n\t * @defaultvalue false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tallowTargetOverlap!: boolean;\n\n\t/**\n\t * Defines the ID or DOM Reference of the element that the popover is shown at\n\t * @public\n\t * @type {sap.ui.webc.base.types.DOMReference}\n\t * @name sap.ui.webc.main.Popover.prototype.opener\n\t * @defaultvalue undefined\n\t * @since 1.2.0\n\t */\n\t@property({ validator: DOMReference })\n\topener?: HTMLElement | string;\n\n\t/**\n\t * Defines whether the content is scrollable.\n\t *\n\t * @type {boolean}\n\t * @defaultvalue false\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\tdisableScrolling!: boolean;\n\n\t/**\n\t * Sets the X translation of the arrow\n\t *\n\t * @private\n\t */\n\t@property({ validator: Integer, defaultValue: 0, noAttribute: true })\n\tarrowTranslateX!: number;\n\n\t/**\n\t * Sets the Y translation of the arrow\n\t *\n\t * @private\n\t */\n\t@property({ validator: Integer, defaultValue: 0, noAttribute: true })\n\tarrowTranslateY!: number;\n\n\t/**\n\t * Returns the calculated placement depending on the free space\n\t *\n\t * @private\n\t */\n\t@property({ type: PopoverPlacementType, defaultValue: PopoverPlacementType.Right })\n\tactualPlacementType!: `${PopoverPlacementType}`;\n\n\t@property({ validator: Integer, noAttribute: true })\n\t_maxHeight?: number;\n\n\t@property({ validator: Integer, noAttribute: true })\n\t_maxWidth?: number;\n\n\t/**\n\t * Defines the header HTML Element.\n\t *\n\t * @type {HTMLElement[]}\n\t * @name sap.ui.webc.main.Popover.prototype.header\n\t * @slot\n\t * @public\n\t */\n\t@slot({ type: HTMLElement })\n\theader!: Array<HTMLElement>;\n\n\t/**\n\t * Defines the footer HTML Element.\n\t *\n\t * @type {HTMLElement[]}\n\t * @name sap.ui.webc.main.Popover.prototype.footer\n\t * @slot\n\t * @public\n\t */\n\t@slot({ type: HTMLElement })\n\tfooter!: Array<HTMLElement>;\n\n\t_opener?: HTMLElement;\n\t_openerRect?: DOMRect;\n\t_preventRepositionAndClose?: boolean;\n\t_top?: number;\n\t_left?: number;\n\t_oldPlacement?: CalculatedPlacement;\n\t_width?: string;\n\n\tstatic get VIEWPORT_MARGIN() {\n\t\treturn 10; // px\n\t}\n\n\tconstructor() {\n\t\tsuper();\n\t}\n\n\tonAfterRendering() {\n\t\tsuper.onAfterRendering();\n\n\t\tif (!this.isOpen() && this.open) {\n\t\t\tlet opener;\n\n\t\t\tif (this.opener instanceof HTMLElement) {\n\t\t\t\topener = this.opener;\n\t\t\t} else if (typeof this.opener === \"string\") {\n\t\t\t\topener = (this.getRootNode() as Document).getElementById(this.opener);\n\t\t\t}\n\n\t\t\tif (!opener) {\n\t\t\t\tconsole.warn(\"Valid opener id is required.\"); // eslint-disable-line\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tthis.showAt(opener);\n\t\t} else if (this.isOpen() && !this.open) {\n\t\t\tthis.close();\n\t\t}\n\t}\n\n\tisOpenerClicked(e: MouseEvent) {\n\t\tconst target = e.target as HTMLElement;\n\t\tif (target === this._opener) {\n\t\t\treturn true;\n\t\t}\n\n\t\tconst ui5ElementTarget = target as UI5Element;\n\n\t\tif (ui5ElementTarget.getFocusDomRef && ui5ElementTarget.getFocusDomRef() === this._opener) {\n\t\t\treturn true;\n\t\t}\n\n\t\treturn e.composedPath().indexOf(this._opener as EventTarget) > -1;\n\t}\n\n\t/**\n\t * Shows the popover.\n\t * @param {HTMLElement} opener the element that the popover is shown at\n\t * @param {boolean} [preventInitialFocus=false] prevents applying the focus inside the popover\n\t * @public\n\t * @async\n\t * @method\n\t * @name sap.ui.webc.main.Popover#showAt\n\t * @async\n\t * @returns {Promise} Resolved when the popover is open\n\t */\n\tasync showAt(opener: HTMLElement, preventInitialFocus = false) {\n\t\tif (!opener || this.opened) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._opener = opener;\n\t\tthis._openerRect = opener.getBoundingClientRect();\n\n\t\tawait super._open(preventInitialFocus);\n\t}\n\n\t/**\n\t * Override for the _addOpenedPopup hook, which would otherwise just call addOpenedPopup(this)\n\t * @private\n\t */\n\t_addOpenedPopup() {\n\t\taddOpenedPopover(this);\n\t}\n\n\t/**\n\t * Override for the _removeOpenedPopup hook, which would otherwise just call removeOpenedPopup(this)\n\t * @private\n\t */\n\t_removeOpenedPopup() {\n\t\tremoveOpenedPopover(this);\n\t}\n\n\tshouldCloseDueToOverflow(placement: `${PopoverPlacementType}`, openerRect: DOMRect): boolean {\n\t\tconst threshold = 32;\n\t\tconst limits = {\n\t\t\t\"Right\": openerRect.right,\n\t\t\t\"Left\": openerRect.left,\n\t\t\t\"Top\": openerRect.top,\n\t\t\t\"Bottom\": openerRect.bottom,\n\t\t};\n\n\t\tconst closedPopupParent = getClosedPopupParent(this._opener!);\n\t\tlet overflowsBottom = false;\n\t\tlet overflowsTop = false;\n\n\t\tif ((closedPopupParent as Popover).showAt) {\n\t\t\tconst contentRect = (closedPopupParent as Popover).contentDOM.getBoundingClientRect();\n\t\t\toverflowsBottom = openerRect.top > (contentRect.top + contentRect.height);\n\t\t\toverflowsTop = (openerRect.top + openerRect.height) < contentRect.top;\n\t\t}\n\n\t\treturn (limits[placement] < 0 || (limits[placement] + threshold > (closedPopupParent as unknown as Window).innerHeight)) || overflowsBottom || overflowsTop;\n\t}\n\n\tshouldCloseDueToNoOpener(openerRect: DOMRect): boolean {\n\t\treturn openerRect.top === 0\n\t\t\t&& openerRect.bottom === 0\n\t\t\t&& openerRect.left === 0\n\t\t\t&& openerRect.right === 0;\n\t}\n\n\tisOpenerOutsideViewport(openerRect: DOMRect): boolean {\n\t\treturn openerRect.bottom < 0\n\t\t\t|| openerRect.top > window.innerHeight\n\t\t\t|| openerRect.right < 0\n\t\t\t|| openerRect.left > window.innerWidth;\n\t}\n\n\t/**\n\t * @override\n\t */\n\t_resize() {\n\t\tsuper._resize();\n\n\t\tif (this.opened) {\n\t\t\tthis.reposition();\n\t\t}\n\t}\n\n\treposition() {\n\t\tthis._show();\n\t}\n\n\t_show() {\n\t\tif (!this.opened) {\n\t\t\tthis._showOutsideViewport();\n\t\t}\n\n\t\tconst popoverSize = this.getPopoverSize();\n\t\tlet placement;\n\n\t\tif (popoverSize.width === 0 || popoverSize.height === 0) {\n\t\t\t// size can not be determined properly at this point, popover will be shown with the next reposition\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.isOpen()) {\n\t\t\t// update opener rect if it was changed during the popover being opened\n\t\t\tthis._openerRect = this._opener!.getBoundingClientRect();\n\t\t}\n\n\t\tif (this.shouldCloseDueToNoOpener(this._openerRect!) && this.isFocusWithin()) {\n\t\t\t// reuse the old placement as the opener is not available,\n\t\t\t// but keep the popover open as the focus is within\n\t\t\tplacement = this._oldPlacement;\n\t\t} else {\n\t\t\tplacement = this.calcPlacement(this._openerRect!, popoverSize);\n\t\t}\n\n\t\tif (this._preventRepositionAndClose || this.isOpenerOutsideViewport(this._openerRect!)) {\n\t\t\treturn this.close();\n\t\t}\n\n\t\tthis._oldPlacement = placement;\n\t\tthis.actualPlacementType = placement!.placementType;\n\n\t\tlet left = clamp(\n\t\t\tthis._left!,\n\t\t\tPopover.VIEWPORT_MARGIN,\n\t\t\tdocument.documentElement.clientWidth - popoverSize.width - Popover.VIEWPORT_MARGIN,\n\t\t);\n\n\t\tif (this.actualPlacementType === PopoverPlacementType.Right) {\n\t\t\tleft = Math.max(left, this._left!);\n\t\t}\n\n\t\tlet top = clamp(\n\t\t\tthis._top!,\n\t\t\tPopover.VIEWPORT_MARGIN,\n\t\t\tdocument.documentElement.clientHeight - popoverSize.height - Popover.VIEWPORT_MARGIN,\n\t\t);\n\n\t\tif (this.actualPlacementType === PopoverPlacementType.Bottom) {\n\t\t\ttop = Math.max(top, this._top!);\n\t\t}\n\n\t\tthis.arrowTranslateX = placement!.arrow.x;\n\t\tthis.arrowTranslateY = placement!.arrow.y;\n\n\t\ttop = this._adjustForIOSKeyboard(top);\n\n\t\tObject.assign(this.style, {\n\t\t\ttop: `${top}px`,\n\t\t\tleft: `${left}px`,\n\t\t});\n\n\t\tif (this.horizontalAlign === PopoverHorizontalAlign.Stretch && this._width) {\n\t\t\tthis.style.width = this._width;\n\t\t}\n\t}\n\n\t/**\n\t * Adjust the desired top position to compensate for shift of the screen\n\t * caused by opened keyboard on iOS which affects all elements with position:fixed.\n\t * @private\n\t * @param {int} top The target top in px.\n\t * @returns {int} The adjusted top in px.\n\t */\n\t_adjustForIOSKeyboard(top: number): number {\n\t\tif (!isIOS()) {\n\t\t\treturn top;\n\t\t}\n\n\t\tconst actualTop = Math.ceil(this.getBoundingClientRect().top);\n\n\t\treturn top + (Number.parseInt(this.style.top || \"0\") - actualTop);\n\t}\n\n\tgetPopoverSize(): PopoverSize {\n\t\tconst rect = this.getBoundingClientRect(),\n\t\t\twidth = rect.width,\n\t\t\theight = rect.height;\n\n\t\treturn { width, height };\n\t}\n\n\t_showOutsideViewport() {\n\t\tObject.assign(this.style, {\n\t\t\tdisplay: this._displayProp,\n\t\t\ttop: \"-10000px\",\n\t\t\tleft: \"-10000px\",\n\t\t});\n\t}\n\n\tget arrowDOM() {\n\t\treturn this.shadowRoot!.querySelector(\".ui5-popover-arrow\")!;\n\t}\n\n\t/**\n\t * @private\n\t */\n\tcalcPlacement(targetRect: DOMRect, popoverSize: PopoverSize): CalculatedPlacement {\n\t\tlet left = 0;\n\t\tlet top = 0;\n\t\tconst allowTargetOverlap = this.allowTargetOverlap;\n\n\t\tconst clientWidth = document.documentElement.clientWidth;\n\t\tconst clientHeight = document.documentElement.clientHeight;\n\n\t\tlet maxHeight = clientHeight;\n\t\tlet maxWidth = clientWidth;\n\n\t\tconst placementType = this.getActualPlacementType(targetRect, popoverSize);\n\n\t\tthis._preventRepositionAndClose = this.shouldCloseDueToNoOpener(targetRect) || this.shouldCloseDueToOverflow(placementType, targetRect);\n\n\t\tconst isVertical = placementType === PopoverPlacementType.Top\n\t\t\t|| placementType === PopoverPlacementType.Bottom;\n\n\t\tif (this.horizontalAlign === PopoverHorizontalAlign.Stretch && isVertical) {\n\t\t\tpopoverSize.width = targetRect.width;\n\t\t\tthis._width = `${targetRect.width}px`;\n\t\t} else if (this.verticalAlign === PopoverVerticalAlign.Stretch && !isVertical) {\n\t\t\tpopoverSize.height = targetRect.height;\n\t\t}\n\n\t\tconst arrowOffset = this.hideArrow ? 0 : ARROW_SIZE;\n\n\t\t// calc popover positions\n\t\tswitch (placementType) {\n\t\tcase PopoverPlacementType.Top:\n\t\t\tleft = this.getVerticalLeft(targetRect, popoverSize);\n\t\t\ttop = Math.max(targetRect.top - popoverSize.height - arrowOffset, 0);\n\n\t\t\tif (!allowTargetOverlap) {\n\t\t\t\tmaxHeight = targetRect.top - arrowOffset;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverPlacementType.Bottom:\n\t\t\tleft = this.getVerticalLeft(targetRect, popoverSize);\n\t\t\ttop = targetRect.bottom + arrowOffset;\n\n\t\t\tif (allowTargetOverlap) {\n\t\t\t\ttop = Math.max(Math.min(top, clientHeight - popoverSize.height), 0);\n\t\t\t} else {\n\t\t\t\tmaxHeight = clientHeight - targetRect.bottom - arrowOffset;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverPlacementType.Left:\n\t\t\tleft = Math.max(targetRect.left - popoverSize.width - arrowOffset, 0);\n\t\t\ttop = this.getHorizontalTop(targetRect, popoverSize);\n\n\t\t\tif (!allowTargetOverlap) {\n\t\t\t\tmaxWidth = targetRect.left - arrowOffset;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverPlacementType.Right:\n\t\t\tleft = targetRect.left + targetRect.width + arrowOffset;\n\t\t\ttop = this.getHorizontalTop(targetRect, popoverSize);\n\n\t\t\tif (allowTargetOverlap) {\n\t\t\t\tleft = Math.max(Math.min(left, clientWidth - popoverSize.width), 0);\n\t\t\t} else {\n\t\t\t\tmaxWidth = clientWidth - targetRect.right - arrowOffset;\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\n\t\t// correct popover positions\n\t\tif (isVertical) {\n\t\t\tif (popoverSize.width > clientWidth || left < 0) {\n\t\t\t\tleft = 0;\n\t\t\t} else if (left + popoverSize.width > clientWidth) {\n\t\t\t\tleft -= left + popoverSize.width - clientWidth;\n\t\t\t}\n\t\t} else {\n\t\t\tif (popoverSize.height > clientHeight || top < 0) { // eslint-disable-line\n\t\t\t\ttop = 0;\n\t\t\t} else if (top + popoverSize.height > clientHeight) {\n\t\t\t\ttop -= top + popoverSize.height - clientHeight;\n\t\t\t}\n\t\t}\n\n\t\tthis._maxHeight = Math.round(maxHeight - Popover.VIEWPORT_MARGIN);\n\t\tthis._maxWidth = Math.round(maxWidth - Popover.VIEWPORT_MARGIN);\n\n\t\tif (this._left === undefined || Math.abs(this._left - left) > 1.5) {\n\t\t\tthis._left = Math.round(left);\n\t\t}\n\n\t\tif (this._top === undefined || Math.abs(this._top - top) > 1.5) {\n\t\t\tthis._top = Math.round(top);\n\t\t}\n\n\t\tconst borderRadius = Number.parseInt(window.getComputedStyle(this).getPropertyValue(\"border-radius\"));\n\t\tconst arrowPos = this.getArrowPosition(targetRect, popoverSize, left, top, isVertical, borderRadius);\n\n\t\treturn {\n\t\t\tarrow: arrowPos,\n\t\t\ttop: this._top,\n\t\t\tleft: this._left,\n\t\t\tplacementType,\n\t\t};\n\t}\n\n\t/**\n\t * Calculates the position for the arrow.\n\t * @private\n\t * @param targetRect BoundingClientRect of the target element\n\t * @param {{width: number, height: number}} popoverSize Width and height of the popover\n\t * @param left Left offset of the popover\n\t * @param top Top offset of the popover\n\t * @param isVertical If the popover is positioned vertically to the target element\n\t * @param {number} borderRadius Value of the border-radius property\n\t * @returns {{x: number, y: number}} Arrow's coordinates\n\t */\n\tgetArrowPosition(targetRect: DOMRect, popoverSize: PopoverSize, left: number, top: number, isVertical: boolean, borderRadius: number): ArrowPosition {\n\t\tconst horizontalAlign = this._actualHorizontalAlign;\n\t\tlet arrowXCentered = horizontalAlign === PopoverHorizontalAlign.Center || horizontalAlign === PopoverHorizontalAlign.Stretch;\n\n\t\tif (horizontalAlign === PopoverHorizontalAlign.Right && left <= targetRect.left) {\n\t\t\tarrowXCentered = true;\n\t\t}\n\n\t\tif (horizontalAlign === PopoverHorizontalAlign.Left && left + popoverSize.width >= targetRect.left + targetRect.width) {\n\t\t\tarrowXCentered = true;\n\t\t}\n\n\t\tlet arrowTranslateX = 0;\n\t\tif (isVertical && arrowXCentered) {\n\t\t\tarrowTranslateX = targetRect.left + targetRect.width / 2 - left - popoverSize.width / 2;\n\t\t}\n\n\t\tlet arrowTranslateY = 0;\n\t\tif (!isVertical) {\n\t\t\tarrowTranslateY = targetRect.top + targetRect.height / 2 - top - popoverSize.height / 2;\n\t\t}\n\n\t\t// Restricts the arrow's translate value along each dimension,\n\t\t// so that the arrow does not clip over the popover's rounded borders.\n\t\tconst safeRangeForArrowY = popoverSize.height / 2 - borderRadius - ARROW_SIZE / 2;\n\t\tarrowTranslateY = clamp(\n\t\t\tarrowTranslateY,\n\t\t\t-safeRangeForArrowY,\n\t\t\tsafeRangeForArrowY,\n\t\t);\n\n\t\tconst safeRangeForArrowX = popoverSize.width / 2 - borderRadius - ARROW_SIZE / 2;\n\t\tarrowTranslateX = clamp(\n\t\t\tarrowTranslateX,\n\t\t\t-safeRangeForArrowX,\n\t\t\tsafeRangeForArrowX,\n\t\t);\n\n\t\treturn {\n\t\t\tx: Math.round(arrowTranslateX),\n\t\t\ty: Math.round(arrowTranslateY),\n\t\t};\n\t}\n\n\t/**\n\t * Fallbacks to new placement, prioritizing <code>Left</code> and <code>Right</code> placements.\n\t * @private\n\t */\n\tfallbackPlacement(clientWidth: number, clientHeight: number, targetRect: DOMRect, popoverSize: PopoverSize): PopoverPlacementType | undefined {\n\t\tif (targetRect.left > popoverSize.width) {\n\t\t\treturn PopoverPlacementType.Left;\n\t\t}\n\n\t\tif (clientWidth - targetRect.right > targetRect.left) {\n\t\t\treturn PopoverPlacementType.Right;\n\t\t}\n\n\t\tif (clientHeight - targetRect.bottom > popoverSize.height) {\n\t\t\treturn PopoverPlacementType.Bottom;\n\t\t}\n\n\t\tif (clientHeight - targetRect.bottom < targetRect.top) {\n\t\t\treturn PopoverPlacementType.Top;\n\t\t}\n\t}\n\n\tgetActualPlacementType(targetRect: DOMRect, popoverSize: PopoverSize): `${PopoverPlacementType}` {\n\t\tconst placementType = this.placementType;\n\t\tlet actualPlacementType = placementType;\n\n\t\tconst clientWidth = document.documentElement.clientWidth;\n\t\tconst clientHeight = document.documentElement.clientHeight;\n\n\t\tswitch (placementType) {\n\t\tcase PopoverPlacementType.Top:\n\t\t\tif (targetRect.top < popoverSize.height\n\t\t\t\t&& targetRect.top < clientHeight - targetRect.bottom) {\n\t\t\t\tactualPlacementType = PopoverPlacementType.Bottom;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverPlacementType.Bottom:\n\t\t\tif (clientHeight - targetRect.bottom < popoverSize.height\n\t\t\t\t&& clientHeight - targetRect.bottom < targetRect.top) {\n\t\t\t\tactualPlacementType = PopoverPlacementType.Top;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverPlacementType.Left:\n\t\t\tif (targetRect.left < popoverSize.width) {\n\t\t\t\tactualPlacementType = this.fallbackPlacement(clientWidth, clientHeight, targetRect, popoverSize) || placementType;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverPlacementType.Right:\n\t\t\tif (clientWidth - targetRect.right < popoverSize.width) {\n\t\t\t\tactualPlacementType = this.fallbackPlacement(clientWidth, clientHeight, targetRect, popoverSize) || placementType;\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\n\t\treturn actualPlacementType;\n\t}\n\n\tgetVerticalLeft(targetRect: DOMRect, popoverSize: PopoverSize): number {\n\t\tconst horizontalAlign = this._actualHorizontalAlign;\n\t\tlet left = 0;\n\n\t\tswitch (horizontalAlign) {\n\t\tcase PopoverHorizontalAlign.Center:\n\t\tcase PopoverHorizontalAlign.Stretch:\n\t\t\tleft = targetRect.left - (popoverSize.width - targetRect.width) / 2;\n\t\t\tbreak;\n\t\tcase PopoverHorizontalAlign.Left:\n\t\t\tleft = targetRect.left;\n\t\t\tbreak;\n\t\tcase PopoverHorizontalAlign.Right:\n\t\t\tleft = targetRect.right - popoverSize.width;\n\t\t\tbreak;\n\t\t}\n\n\t\treturn left;\n\t}\n\n\tgetHorizontalTop(targetRect: DOMRect, popoverSize: PopoverSize): number {\n\t\tlet top = 0;\n\n\t\tswitch (this.verticalAlign) {\n\t\tcase PopoverVerticalAlign.Center:\n\t\tcase PopoverVerticalAlign.Stretch:\n\t\t\ttop = targetRect.top - (popoverSize.height - targetRect.height) / 2;\n\t\t\tbreak;\n\t\tcase PopoverVerticalAlign.Top:\n\t\t\ttop = targetRect.top;\n\t\t\tbreak;\n\t\tcase PopoverVerticalAlign.Bottom:\n\t\t\ttop = targetRect.bottom - popoverSize.height;\n\t\t\tbreak;\n\t\t}\n\n\t\treturn top;\n\t}\n\n\tget isModal() { // Required by Popup.js\n\t\treturn this.modal;\n\t}\n\n\tget shouldHideBackdrop() { // Required by Popup.js\n\t\treturn this.hideBackdrop;\n\t}\n\n\tget _ariaLabelledBy() { // Required by Popup.js\n\t\tif (!this._ariaLabel && this._displayHeader) {\n\t\t\treturn \"ui5-popup-header\";\n\t\t}\n\n\t\treturn undefined;\n\t}\n\n\tget styles() {\n\t\treturn {\n\t\t\t...super.styles,\n\t\t\troot: {\n\t\t\t\t\"max-height\": this._maxHeight ? `${this._maxHeight}px` : \"\",\n\t\t\t\t\"max-width\": this._maxWidth ? `${this._maxWidth}px` : \"\",\n\t\t\t},\n\t\t\tarrow: {\n\t\t\t\ttransform: `translate(${this.arrowTranslateX}px, ${this.arrowTranslateY}px)`,\n\t\t\t},\n\t\t};\n\t}\n\n\tget classes() {\n\t\tconst allClasses = super.classes;\n\t\tallClasses.root[\"ui5-popover-root\"] = true;\n\n\t\treturn allClasses;\n\t}\n\n\t/**\n\t * Hook for descendants to hide header.\n\t */\n\tget _displayHeader() {\n\t\treturn !!(this.header.length || this.headerText);\n\t}\n\n\t/**\n\t * Hook for descendants to hide footer.\n\t */\n\tget _displayFooter() {\n\t\treturn true;\n\t}\n\n\tget _actualHorizontalAlign() {\n\t\tif (this.effectiveDir === \"rtl\") {\n\t\t\tif (this.horizontalAlign === PopoverHorizontalAlign.Left) {\n\t\t\t\treturn PopoverHorizontalAlign.Right;\n\t\t\t}\n\n\t\t\tif (this.horizontalAlign === PopoverHorizontalAlign.Right) {\n\t\t\t\treturn PopoverHorizontalAlign.Left;\n\t\t\t}\n\t\t}\n\n\t\treturn this.horizontalAlign;\n\t}\n}\n\nconst instanceOfPopover = (object: any): object is Popover => {\n\treturn \"showAt\" in object;\n};\n\nPopover.define();\n\nexport default Popover;\n\nexport { instanceOfPopover };\n\nexport type {\n\tPopoverBeforeCloseEventDetail,\n};\n"]}
1
+ {"version":3,"file":"Popover.js","sourceRoot":"","sources":["../src/Popover.ts"],"names":[],"mappings":";;;;;;;AACA,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,OAAO,MAAM,+CAA+C,CAAC;AACpE,OAAO,EAAE,KAAK,EAAE,MAAM,wCAAwC,CAAC;AAC/D,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,iDAAiD,CAAC;AACvF,OAAO,KAAK,MAAM,4CAA4C,CAAC;AAC/D,OAAO,wBAAwB,MAAM,+DAA+D,CAAC;AACrG,OAAO,gBAAgB,MAAM,uDAAuD,CAAC;AACrF,OAAO,KAAK,MAAM,YAAY,CAAC;AAE/B,OAAO,oBAAoB,MAAM,iCAAiC,CAAC;AACnE,OAAO,oBAAoB,MAAM,iCAAiC,CAAC;AACnE,OAAO,sBAAsB,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAEzF,WAAW;AACX,OAAO,eAAe,MAAM,8CAA8C,CAAC;AAC3E,SAAS;AACT,OAAO,mBAAmB,MAAM,4CAA4C,CAAC;AAC7E,OAAO,eAAe,MAAM,wCAAwC,CAAC;AACrE,OAAO,UAAU,MAAM,mCAAmC,CAAC;AAE3D,MAAM,UAAU,GAAG,CAAC,CAAC;AAmBrB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AAUH,IAAM,OAAO,eAAb,MAAM,OAAQ,SAAQ,K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CAAC;GACI,OAAO,CAkvBZ;AAED,MAAM,iBAAiB,GAAG,CAAC,MAAW,EAAqB,EAAE;IAC5D,OAAO,QAAQ,IAAI,MAAM,CAAC;AAC3B,CAAC,CAAC;AAEF,OAAO,CAAC,MAAM,EAAE,CAAC;AAEjB,eAAe,OAAO,CAAC;AAEvB,OAAO,EAAE,iBAAiB,EAAE,CAAC","sourcesContent":["import type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport Integer from \"@ui5/webcomponents-base/dist/types/Integer.js\";\nimport { isIOS } from \"@ui5/webcomponents-base/dist/Device.js\";\nimport DOMReference from \"@ui5/webcomponents-base/dist/types/DOMReference.js\";\nimport { getClosedPopupParent } from \"@ui5/webcomponents-base/dist/util/PopupUtils.js\";\nimport clamp from \"@ui5/webcomponents-base/dist/util/clamp.js\";\nimport isElementContainingBlock from \"@ui5/webcomponents-base/dist/util/isElementContainingBlock.js\";\nimport getParentElement from \"@ui5/webcomponents-base/dist/util/getParentElement.js\";\nimport Popup from \"./Popup.js\";\nimport type { PopupBeforeCloseEventDetail as PopoverBeforeCloseEventDetail } from \"./Popup.js\";\nimport PopoverPlacementType from \"./types/PopoverPlacementType.js\";\nimport PopoverVerticalAlign from \"./types/PopoverVerticalAlign.js\";\nimport PopoverHorizontalAlign from \"./types/PopoverHorizontalAlign.js\";\nimport { addOpenedPopover, removeOpenedPopover } from \"./popup-utils/PopoverRegistry.js\";\n\n// Template\nimport PopoverTemplate from \"./generated/templates/PopoverTemplate.lit.js\";\n// Styles\nimport browserScrollbarCSS from \"./generated/themes/BrowserScrollbar.css.js\";\nimport PopupsCommonCss from \"./generated/themes/PopupsCommon.css.js\";\nimport PopoverCss from \"./generated/themes/Popover.css.js\";\n\nconst ARROW_SIZE = 8;\n\ntype PopoverSize = {\n\twidth: number;\n\theight: number;\n}\n\ntype ArrowPosition = {\n\tx: number;\n\ty: number;\n}\n\ntype CalculatedPlacement = {\n\tarrow: ArrowPosition,\n\ttop: number,\n\tleft: number,\n\tplacementType: `${PopoverPlacementType}`,\n}\n\n/**\n * @class\n *\n * <h3 class=\"comment-api-title\">Overview</h3>\n *\n * The <code>ui5-popover</code> component displays additional information for an object\n * in a compact way and without leaving the page.\n * The Popover can contain various UI elements, such as fields, tables, images, and charts.\n * It can also include actions in the footer.\n *\n * <h3>Structure</h3>\n *\n * The popover has three main areas:\n * <ul>\n * <li>Header (optional)</li>\n * <li>Content</li>\n * <li>Footer (optional)</li>\n * </ul>\n *\n * <b>Note:</b> The <code>ui5-popover</code> is closed when the user clicks\n * or taps outside the popover\n * or selects an action within the popover. You can prevent this with the\n * <code>modal</code> property.\n *\n * <h3>CSS Shadow Parts</h3>\n *\n * <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.\n * <br>\n * The <code>ui5-popover</code> exposes the following CSS Shadow Parts:\n * <ul>\n * <li>header - Used to style the header of the component</li>\n * <li>content - Used to style the content of the component</li>\n * <li>footer - Used to style the footer of the component</li>\n * </ul>\n *\n * <h3>ES6 Module Import</h3>\n *\n * <code>import \"@ui5/webcomponents/dist/Popover.js\";</code>\n *\n * <b>Note: </b> We recommend placing popup-like components (<code>ui5-dialog</code> and <code>ui5-popover</code>)\n * outside any other components. Preferably, the popup-like components should be placed\n * in an upper level HTML element. Otherwise, in some cases the parent HTML elements can break\n * the position and/or z-index management of the popup-like components.\n *\n * <b>Note:</b> We don't recommend nesting popup-like components (<code>ui5-dialog</code>, <code>ui5-popover</code>).\n *\n * @constructor\n * @author SAP SE\n * @alias sap.ui.webc.main.Popover\n * @extends sap.ui.webc.main.Popup\n * @tagname ui5-popover\n * @since 1.0.0-rc.6\n * @public\n */\n@customElement({\n\ttag: \"ui5-popover\",\n\tstyles: [\n\t\tbrowserScrollbarCSS,\n\t\tPopupsCommonCss,\n\t\tPopoverCss,\n\t],\n\ttemplate: PopoverTemplate,\n})\nclass Popover extends Popup {\n\t/**\n\t * Defines the header text.\n\t * <br><br>\n\t * <b>Note:</b> If <code>header</code> slot is provided, the <code>headerText</code> is ignored.\n\t *\n\t * @type {string}\n\t * @name sap.ui.webc.main.Popover.prototype.headerText\n\t * @defaultvalue \"\"\n\t * @public\n\t */\n\t@property()\n\theaderText!: string;\n\n\t/**\n\t * Determines on which side the component is placed at.\n\t *\n\t * @type {sap.ui.webc.main.types.PopoverPlacementType}\n\t * @name sap.ui.webc.main.Popover.prototype.placementType\n\t * @defaultvalue \"Right\"\n\t * @public\n\t */\n\t@property({ type: PopoverPlacementType, defaultValue: PopoverPlacementType.Right })\n\tplacementType!: `${PopoverPlacementType}`;\n\n\t/**\n\t * Determines the horizontal alignment of the component.\n\t *\n\t * @type {sap.ui.webc.main.types.PopoverHorizontalAlign}\n\t * @name sap.ui.webc.main.Popover.prototype.horizontalAlign\n\t * @defaultvalue \"Center\"\n\t * @public\n\t */\n\t@property({ type: PopoverHorizontalAlign, defaultValue: PopoverHorizontalAlign.Center })\n\thorizontalAlign!: `${PopoverHorizontalAlign}`;\n\n\t/**\n\t * Determines the vertical alignment of the component.\n\t *\n\t * @type {sap.ui.webc.main.types.PopoverVerticalAlign}\n\t * @name sap.ui.webc.main.Popover.prototype.verticalAlign\n\t * @defaultvalue \"Center\"\n\t * @public\n\t */\n\t@property({ type: PopoverVerticalAlign, defaultValue: PopoverVerticalAlign.Center })\n\tverticalAlign!: `${PopoverVerticalAlign}`;\n\n\t/**\n\t * Defines whether the component should close when\n\t * clicking/tapping outside of the popover.\n\t * If enabled, it blocks any interaction with the background.\n\t *\n\t * @type {boolean}\n\t * @name sap.ui.webc.main.Popover.prototype.modal\n\t * @defaultvalue false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tmodal!: boolean;\n\n\t/**\n\t * Defines whether the block layer will be shown if modal property is set to true.\n\t * @type {boolean}\n\t * @name sap.ui.webc.main.Popover.prototype.hideBackdrop\n\t * @defaultvalue false\n\t * @public\n\t * @since 1.0.0-rc.10\n\t */\n\t@property({ type: Boolean })\n\thideBackdrop!: boolean;\n\n\t/**\n\t * Determines whether the component arrow is hidden.\n\t *\n\t * @type {boolean}\n\t * @name sap.ui.webc.main.Popover.prototype.hideArrow\n\t * @defaultvalue false\n\t * @public\n\t * @since 1.0.0-rc.15\n\t */\n\t@property({ type: Boolean })\n\thideArrow!: boolean;\n\n\t/**\n\t * Determines if there is no enough space, the component can be placed\n\t * over the target.\n\t *\n\t * @type {boolean}\n\t * @name sap.ui.webc.main.Popover.prototype.allowTargetOverlap\n\t * @defaultvalue false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tallowTargetOverlap!: boolean;\n\n\t/**\n\t * Defines the ID or DOM Reference of the element that the popover is shown at\n\t * @public\n\t * @type {sap.ui.webc.base.types.DOMReference}\n\t * @name sap.ui.webc.main.Popover.prototype.opener\n\t * @defaultvalue undefined\n\t * @since 1.2.0\n\t */\n\t@property({ validator: DOMReference })\n\topener?: HTMLElement | string;\n\n\t/**\n\t * Defines whether the content is scrollable.\n\t *\n\t * @type {boolean}\n\t * @defaultvalue false\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\tdisableScrolling!: boolean;\n\n\t/**\n\t * Sets the X translation of the arrow\n\t *\n\t * @private\n\t */\n\t@property({ validator: Integer, defaultValue: 0, noAttribute: true })\n\tarrowTranslateX!: number;\n\n\t/**\n\t * Sets the Y translation of the arrow\n\t *\n\t * @private\n\t */\n\t@property({ validator: Integer, defaultValue: 0, noAttribute: true })\n\tarrowTranslateY!: number;\n\n\t/**\n\t * Returns the calculated placement depending on the free space\n\t *\n\t * @private\n\t */\n\t@property({ type: PopoverPlacementType, defaultValue: PopoverPlacementType.Right })\n\tactualPlacementType!: `${PopoverPlacementType}`;\n\n\t@property({ validator: Integer, noAttribute: true })\n\t_maxHeight?: number;\n\n\t@property({ validator: Integer, noAttribute: true })\n\t_maxWidth?: number;\n\n\t/**\n\t * Defines the header HTML Element.\n\t *\n\t * @type {HTMLElement[]}\n\t * @name sap.ui.webc.main.Popover.prototype.header\n\t * @slot\n\t * @public\n\t */\n\t@slot({ type: HTMLElement })\n\theader!: Array<HTMLElement>;\n\n\t/**\n\t * Defines the footer HTML Element.\n\t *\n\t * @type {HTMLElement[]}\n\t * @name sap.ui.webc.main.Popover.prototype.footer\n\t * @slot\n\t * @public\n\t */\n\t@slot({ type: HTMLElement })\n\tfooter!: Array<HTMLElement>;\n\n\t_opener?: HTMLElement;\n\t_openerRect?: DOMRect;\n\t_preventRepositionAndClose?: boolean;\n\t_top?: number;\n\t_left?: number;\n\t_oldPlacement?: CalculatedPlacement;\n\t_width?: string;\n\n\tstatic get VIEWPORT_MARGIN() {\n\t\treturn 10; // px\n\t}\n\n\tconstructor() {\n\t\tsuper();\n\t}\n\n\tonAfterRendering() {\n\t\tsuper.onAfterRendering();\n\n\t\tif (!this.isOpen() && this.open) {\n\t\t\tlet opener;\n\n\t\t\tif (this.opener instanceof HTMLElement) {\n\t\t\t\topener = this.opener;\n\t\t\t} else if (typeof this.opener === \"string\") {\n\t\t\t\topener = (this.getRootNode() as Document).getElementById(this.opener) || document.getElementById(this.opener);\n\t\t\t}\n\n\t\t\tif (!opener) {\n\t\t\t\tconsole.warn(\"Valid opener id is required.\"); // eslint-disable-line\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tthis.showAt(opener);\n\t\t} else if (this.isOpen() && !this.open) {\n\t\t\tthis.close();\n\t\t}\n\t}\n\n\tisOpenerClicked(e: MouseEvent) {\n\t\tconst target = e.target as HTMLElement;\n\t\tif (target === this._opener) {\n\t\t\treturn true;\n\t\t}\n\n\t\tconst ui5ElementTarget = target as UI5Element;\n\n\t\tif (ui5ElementTarget.getFocusDomRef && ui5ElementTarget.getFocusDomRef() === this._opener) {\n\t\t\treturn true;\n\t\t}\n\n\t\treturn e.composedPath().indexOf(this._opener as EventTarget) > -1;\n\t}\n\n\t/**\n\t * Shows the popover.\n\t * @param {HTMLElement} opener the element that the popover is shown at\n\t * @param {boolean} [preventInitialFocus=false] prevents applying the focus inside the popover\n\t * @public\n\t * @async\n\t * @method\n\t * @name sap.ui.webc.main.Popover#showAt\n\t * @async\n\t * @returns {Promise} Resolved when the popover is open\n\t */\n\tasync showAt(opener: HTMLElement, preventInitialFocus = false) {\n\t\tif (!opener || this.opened) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._opener = opener;\n\t\tthis._openerRect = opener.getBoundingClientRect();\n\n\t\tawait super._open(preventInitialFocus);\n\t}\n\n\t/**\n\t * Override for the _addOpenedPopup hook, which would otherwise just call addOpenedPopup(this)\n\t * @private\n\t */\n\t_addOpenedPopup() {\n\t\taddOpenedPopover(this);\n\t}\n\n\t/**\n\t * Override for the _removeOpenedPopup hook, which would otherwise just call removeOpenedPopup(this)\n\t * @private\n\t */\n\t_removeOpenedPopup() {\n\t\tremoveOpenedPopover(this);\n\t}\n\n\tshouldCloseDueToOverflow(placement: `${PopoverPlacementType}`, openerRect: DOMRect): boolean {\n\t\tconst threshold = 32;\n\t\tconst limits = {\n\t\t\t\"Right\": openerRect.right,\n\t\t\t\"Left\": openerRect.left,\n\t\t\t\"Top\": openerRect.top,\n\t\t\t\"Bottom\": openerRect.bottom,\n\t\t};\n\n\t\tconst closedPopupParent = getClosedPopupParent(this._opener!);\n\t\tlet overflowsBottom = false;\n\t\tlet overflowsTop = false;\n\n\t\tif ((closedPopupParent as Popover).showAt) {\n\t\t\tconst contentRect = (closedPopupParent as Popover).contentDOM.getBoundingClientRect();\n\t\t\toverflowsBottom = openerRect.top > (contentRect.top + contentRect.height);\n\t\t\toverflowsTop = (openerRect.top + openerRect.height) < contentRect.top;\n\t\t}\n\n\t\treturn (limits[placement] < 0 || (limits[placement] + threshold > (closedPopupParent as unknown as Window).innerHeight)) || overflowsBottom || overflowsTop;\n\t}\n\n\tshouldCloseDueToNoOpener(openerRect: DOMRect): boolean {\n\t\treturn openerRect.top === 0\n\t\t\t&& openerRect.bottom === 0\n\t\t\t&& openerRect.left === 0\n\t\t\t&& openerRect.right === 0;\n\t}\n\n\tisOpenerOutsideViewport(openerRect: DOMRect): boolean {\n\t\treturn openerRect.bottom < 0\n\t\t\t|| openerRect.top > window.innerHeight\n\t\t\t|| openerRect.right < 0\n\t\t\t|| openerRect.left > window.innerWidth;\n\t}\n\n\t/**\n\t * @override\n\t */\n\t_resize() {\n\t\tsuper._resize();\n\n\t\tif (this.opened) {\n\t\t\tthis.reposition();\n\t\t}\n\t}\n\n\treposition() {\n\t\tthis._show();\n\t}\n\n\t_show() {\n\t\tif (!this.opened) {\n\t\t\tthis._showOutsideViewport();\n\t\t}\n\n\t\tconst popoverSize = this.getPopoverSize();\n\t\tlet placement;\n\n\t\tif (popoverSize.width === 0 || popoverSize.height === 0) {\n\t\t\t// size can not be determined properly at this point, popover will be shown with the next reposition\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.isOpen()) {\n\t\t\t// update opener rect if it was changed during the popover being opened\n\t\t\tthis._openerRect = this._opener!.getBoundingClientRect();\n\t\t}\n\n\t\tif (this.shouldCloseDueToNoOpener(this._openerRect!) && this.isFocusWithin() && this._oldPlacement) {\n\t\t\t// reuse the old placement as the opener is not available,\n\t\t\t// but keep the popover open as the focus is within\n\t\t\tplacement = this._oldPlacement;\n\t\t} else {\n\t\t\tplacement = this.calcPlacement(this._openerRect!, popoverSize);\n\t\t}\n\n\t\tif (this._preventRepositionAndClose || this.isOpenerOutsideViewport(this._openerRect!)) {\n\t\t\treturn this.close();\n\t\t}\n\n\t\tthis._oldPlacement = placement;\n\t\tthis.actualPlacementType = placement.placementType;\n\n\t\tlet left = clamp(\n\t\t\tthis._left!,\n\t\t\tPopover.VIEWPORT_MARGIN,\n\t\t\tdocument.documentElement.clientWidth - popoverSize.width - Popover.VIEWPORT_MARGIN,\n\t\t);\n\n\t\tif (this.actualPlacementType === PopoverPlacementType.Right) {\n\t\t\tleft = Math.max(left, this._left!);\n\t\t}\n\n\t\tlet top = clamp(\n\t\t\tthis._top!,\n\t\t\tPopover.VIEWPORT_MARGIN,\n\t\t\tdocument.documentElement.clientHeight - popoverSize.height - Popover.VIEWPORT_MARGIN,\n\t\t);\n\n\t\tif (this.actualPlacementType === PopoverPlacementType.Bottom) {\n\t\t\ttop = Math.max(top, this._top!);\n\t\t}\n\n\t\tthis.arrowTranslateX = placement.arrow.x;\n\t\tthis.arrowTranslateY = placement.arrow.y;\n\n\t\ttop = this._adjustForIOSKeyboard(top);\n\t\tconst containingBlockClientLocation = this._getContainingBlockClientLocation();\n\t\tleft -= containingBlockClientLocation.left;\n\t\ttop -= containingBlockClientLocation.top;\n\n\t\tObject.assign(this.style, {\n\t\t\ttop: `${top}px`,\n\t\t\tleft: `${left}px`,\n\t\t});\n\n\t\tif (this.horizontalAlign === PopoverHorizontalAlign.Stretch && this._width) {\n\t\t\tthis.style.width = this._width;\n\t\t}\n\t}\n\n\t/**\n\t * Adjust the desired top position to compensate for shift of the screen\n\t * caused by opened keyboard on iOS which affects all elements with position:fixed.\n\t * @private\n\t * @param {int} top The target top in px.\n\t * @returns {int} The adjusted top in px.\n\t */\n\t_adjustForIOSKeyboard(top: number): number {\n\t\tif (!isIOS()) {\n\t\t\treturn top;\n\t\t}\n\n\t\tconst actualTop = Math.ceil(this.getBoundingClientRect().top);\n\n\t\treturn top + (Number.parseInt(this.style.top || \"0\") - actualTop);\n\t}\n\n\t_getContainingBlockClientLocation() {\n\t\tlet parentElement = getParentElement(this);\n\n\t\twhile (parentElement) {\n\t\t\tif (isElementContainingBlock(parentElement)) {\n\t\t\t\treturn parentElement.getBoundingClientRect();\n\t\t\t}\n\n\t\t\tparentElement = getParentElement(parentElement);\n\t\t}\n\n\t\treturn { left: 0, top: 0 };\n\t}\n\n\tgetPopoverSize(): PopoverSize {\n\t\tconst rect = this.getBoundingClientRect(),\n\t\t\twidth = rect.width,\n\t\t\theight = rect.height;\n\n\t\treturn { width, height };\n\t}\n\n\t_showOutsideViewport() {\n\t\tObject.assign(this.style, {\n\t\t\tdisplay: this._displayProp,\n\t\t\ttop: \"-10000px\",\n\t\t\tleft: \"-10000px\",\n\t\t});\n\t}\n\n\tget arrowDOM() {\n\t\treturn this.shadowRoot!.querySelector(\".ui5-popover-arrow\")!;\n\t}\n\n\t/**\n\t * @private\n\t */\n\tcalcPlacement(targetRect: DOMRect, popoverSize: PopoverSize): CalculatedPlacement {\n\t\tlet left = 0;\n\t\tlet top = 0;\n\t\tconst allowTargetOverlap = this.allowTargetOverlap;\n\n\t\tconst clientWidth = document.documentElement.clientWidth;\n\t\tconst clientHeight = document.documentElement.clientHeight;\n\n\t\tlet maxHeight = clientHeight;\n\t\tlet maxWidth = clientWidth;\n\n\t\tconst placementType = this.getActualPlacementType(targetRect, popoverSize);\n\n\t\tthis._preventRepositionAndClose = this.shouldCloseDueToNoOpener(targetRect) || this.shouldCloseDueToOverflow(placementType, targetRect);\n\n\t\tconst isVertical = placementType === PopoverPlacementType.Top\n\t\t\t|| placementType === PopoverPlacementType.Bottom;\n\n\t\tif (this.horizontalAlign === PopoverHorizontalAlign.Stretch && isVertical) {\n\t\t\tpopoverSize.width = targetRect.width;\n\t\t\tthis._width = `${targetRect.width}px`;\n\t\t} else if (this.verticalAlign === PopoverVerticalAlign.Stretch && !isVertical) {\n\t\t\tpopoverSize.height = targetRect.height;\n\t\t}\n\n\t\tconst arrowOffset = this.hideArrow ? 0 : ARROW_SIZE;\n\n\t\t// calc popover positions\n\t\tswitch (placementType) {\n\t\tcase PopoverPlacementType.Top:\n\t\t\tleft = this.getVerticalLeft(targetRect, popoverSize);\n\t\t\ttop = Math.max(targetRect.top - popoverSize.height - arrowOffset, 0);\n\n\t\t\tif (!allowTargetOverlap) {\n\t\t\t\tmaxHeight = targetRect.top - arrowOffset;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverPlacementType.Bottom:\n\t\t\tleft = this.getVerticalLeft(targetRect, popoverSize);\n\t\t\ttop = targetRect.bottom + arrowOffset;\n\n\t\t\tif (allowTargetOverlap) {\n\t\t\t\ttop = Math.max(Math.min(top, clientHeight - popoverSize.height), 0);\n\t\t\t} else {\n\t\t\t\tmaxHeight = clientHeight - targetRect.bottom - arrowOffset;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverPlacementType.Left:\n\t\t\tleft = Math.max(targetRect.left - popoverSize.width - arrowOffset, 0);\n\t\t\ttop = this.getHorizontalTop(targetRect, popoverSize);\n\n\t\t\tif (!allowTargetOverlap) {\n\t\t\t\tmaxWidth = targetRect.left - arrowOffset;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverPlacementType.Right:\n\t\t\tleft = targetRect.left + targetRect.width + arrowOffset;\n\t\t\ttop = this.getHorizontalTop(targetRect, popoverSize);\n\n\t\t\tif (allowTargetOverlap) {\n\t\t\t\tleft = Math.max(Math.min(left, clientWidth - popoverSize.width), 0);\n\t\t\t} else {\n\t\t\t\tmaxWidth = clientWidth - targetRect.right - arrowOffset;\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\n\t\t// correct popover positions\n\t\tif (isVertical) {\n\t\t\tif (popoverSize.width > clientWidth || left < 0) {\n\t\t\t\tleft = 0;\n\t\t\t} else if (left + popoverSize.width > clientWidth) {\n\t\t\t\tleft -= left + popoverSize.width - clientWidth;\n\t\t\t}\n\t\t} else {\n\t\t\tif (popoverSize.height > clientHeight || top < 0) { // eslint-disable-line\n\t\t\t\ttop = 0;\n\t\t\t} else if (top + popoverSize.height > clientHeight) {\n\t\t\t\ttop -= top + popoverSize.height - clientHeight;\n\t\t\t}\n\t\t}\n\n\t\tthis._maxHeight = Math.round(maxHeight - Popover.VIEWPORT_MARGIN);\n\t\tthis._maxWidth = Math.round(maxWidth - Popover.VIEWPORT_MARGIN);\n\n\t\tif (this._left === undefined || Math.abs(this._left - left) > 1.5) {\n\t\t\tthis._left = Math.round(left);\n\t\t}\n\n\t\tif (this._top === undefined || Math.abs(this._top - top) > 1.5) {\n\t\t\tthis._top = Math.round(top);\n\t\t}\n\n\t\tconst borderRadius = Number.parseInt(window.getComputedStyle(this).getPropertyValue(\"border-radius\"));\n\t\tconst arrowPos = this.getArrowPosition(targetRect, popoverSize, left, top, isVertical, borderRadius);\n\n\t\treturn {\n\t\t\tarrow: arrowPos,\n\t\t\ttop: this._top,\n\t\t\tleft: this._left,\n\t\t\tplacementType,\n\t\t};\n\t}\n\n\t/**\n\t * Calculates the position for the arrow.\n\t * @private\n\t * @param targetRect BoundingClientRect of the target element\n\t * @param {{width: number, height: number}} popoverSize Width and height of the popover\n\t * @param left Left offset of the popover\n\t * @param top Top offset of the popover\n\t * @param isVertical If the popover is positioned vertically to the target element\n\t * @param {number} borderRadius Value of the border-radius property\n\t * @returns {{x: number, y: number}} Arrow's coordinates\n\t */\n\tgetArrowPosition(targetRect: DOMRect, popoverSize: PopoverSize, left: number, top: number, isVertical: boolean, borderRadius: number): ArrowPosition {\n\t\tconst horizontalAlign = this._actualHorizontalAlign;\n\t\tlet arrowXCentered = horizontalAlign === PopoverHorizontalAlign.Center || horizontalAlign === PopoverHorizontalAlign.Stretch;\n\n\t\tif (horizontalAlign === PopoverHorizontalAlign.Right && left <= targetRect.left) {\n\t\t\tarrowXCentered = true;\n\t\t}\n\n\t\tif (horizontalAlign === PopoverHorizontalAlign.Left && left + popoverSize.width >= targetRect.left + targetRect.width) {\n\t\t\tarrowXCentered = true;\n\t\t}\n\n\t\tlet arrowTranslateX = 0;\n\t\tif (isVertical && arrowXCentered) {\n\t\t\tarrowTranslateX = targetRect.left + targetRect.width / 2 - left - popoverSize.width / 2;\n\t\t}\n\n\t\tlet arrowTranslateY = 0;\n\t\tif (!isVertical) {\n\t\t\tarrowTranslateY = targetRect.top + targetRect.height / 2 - top - popoverSize.height / 2;\n\t\t}\n\n\t\t// Restricts the arrow's translate value along each dimension,\n\t\t// so that the arrow does not clip over the popover's rounded borders.\n\t\tconst safeRangeForArrowY = popoverSize.height / 2 - borderRadius - ARROW_SIZE / 2;\n\t\tarrowTranslateY = clamp(\n\t\t\tarrowTranslateY,\n\t\t\t-safeRangeForArrowY,\n\t\t\tsafeRangeForArrowY,\n\t\t);\n\n\t\tconst safeRangeForArrowX = popoverSize.width / 2 - borderRadius - ARROW_SIZE / 2;\n\t\tarrowTranslateX = clamp(\n\t\t\tarrowTranslateX,\n\t\t\t-safeRangeForArrowX,\n\t\t\tsafeRangeForArrowX,\n\t\t);\n\n\t\treturn {\n\t\t\tx: Math.round(arrowTranslateX),\n\t\t\ty: Math.round(arrowTranslateY),\n\t\t};\n\t}\n\n\t/**\n\t * Fallbacks to new placement, prioritizing <code>Left</code> and <code>Right</code> placements.\n\t * @private\n\t */\n\tfallbackPlacement(clientWidth: number, clientHeight: number, targetRect: DOMRect, popoverSize: PopoverSize): PopoverPlacementType | undefined {\n\t\tif (targetRect.left > popoverSize.width) {\n\t\t\treturn PopoverPlacementType.Left;\n\t\t}\n\n\t\tif (clientWidth - targetRect.right > targetRect.left) {\n\t\t\treturn PopoverPlacementType.Right;\n\t\t}\n\n\t\tif (clientHeight - targetRect.bottom > popoverSize.height) {\n\t\t\treturn PopoverPlacementType.Bottom;\n\t\t}\n\n\t\tif (clientHeight - targetRect.bottom < targetRect.top) {\n\t\t\treturn PopoverPlacementType.Top;\n\t\t}\n\t}\n\n\tgetActualPlacementType(targetRect: DOMRect, popoverSize: PopoverSize): `${PopoverPlacementType}` {\n\t\tconst placementType = this.placementType;\n\t\tlet actualPlacementType = placementType;\n\n\t\tconst clientWidth = document.documentElement.clientWidth;\n\t\tconst clientHeight = document.documentElement.clientHeight;\n\n\t\tswitch (placementType) {\n\t\tcase PopoverPlacementType.Top:\n\t\t\tif (targetRect.top < popoverSize.height\n\t\t\t\t&& targetRect.top < clientHeight - targetRect.bottom) {\n\t\t\t\tactualPlacementType = PopoverPlacementType.Bottom;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverPlacementType.Bottom:\n\t\t\tif (clientHeight - targetRect.bottom < popoverSize.height\n\t\t\t\t&& clientHeight - targetRect.bottom < targetRect.top) {\n\t\t\t\tactualPlacementType = PopoverPlacementType.Top;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverPlacementType.Left:\n\t\t\tif (targetRect.left < popoverSize.width) {\n\t\t\t\tactualPlacementType = this.fallbackPlacement(clientWidth, clientHeight, targetRect, popoverSize) || placementType;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase PopoverPlacementType.Right:\n\t\t\tif (clientWidth - targetRect.right < popoverSize.width) {\n\t\t\t\tactualPlacementType = this.fallbackPlacement(clientWidth, clientHeight, targetRect, popoverSize) || placementType;\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\n\t\treturn actualPlacementType;\n\t}\n\n\tgetVerticalLeft(targetRect: DOMRect, popoverSize: PopoverSize): number {\n\t\tconst horizontalAlign = this._actualHorizontalAlign;\n\t\tlet left = 0;\n\n\t\tswitch (horizontalAlign) {\n\t\tcase PopoverHorizontalAlign.Center:\n\t\tcase PopoverHorizontalAlign.Stretch:\n\t\t\tleft = targetRect.left - (popoverSize.width - targetRect.width) / 2;\n\t\t\tbreak;\n\t\tcase PopoverHorizontalAlign.Left:\n\t\t\tleft = targetRect.left;\n\t\t\tbreak;\n\t\tcase PopoverHorizontalAlign.Right:\n\t\t\tleft = targetRect.right - popoverSize.width;\n\t\t\tbreak;\n\t\t}\n\n\t\treturn left;\n\t}\n\n\tgetHorizontalTop(targetRect: DOMRect, popoverSize: PopoverSize): number {\n\t\tlet top = 0;\n\n\t\tswitch (this.verticalAlign) {\n\t\tcase PopoverVerticalAlign.Center:\n\t\tcase PopoverVerticalAlign.Stretch:\n\t\t\ttop = targetRect.top - (popoverSize.height - targetRect.height) / 2;\n\t\t\tbreak;\n\t\tcase PopoverVerticalAlign.Top:\n\t\t\ttop = targetRect.top;\n\t\t\tbreak;\n\t\tcase PopoverVerticalAlign.Bottom:\n\t\t\ttop = targetRect.bottom - popoverSize.height;\n\t\t\tbreak;\n\t\t}\n\n\t\treturn top;\n\t}\n\n\tget isModal() { // Required by Popup.js\n\t\treturn this.modal;\n\t}\n\n\tget shouldHideBackdrop() { // Required by Popup.js\n\t\treturn this.hideBackdrop;\n\t}\n\n\tget _ariaLabelledBy() { // Required by Popup.js\n\t\tif (!this._ariaLabel && this._displayHeader) {\n\t\t\treturn \"ui5-popup-header\";\n\t\t}\n\n\t\treturn undefined;\n\t}\n\n\tget styles() {\n\t\treturn {\n\t\t\t...super.styles,\n\t\t\troot: {\n\t\t\t\t\"max-height\": this._maxHeight ? `${this._maxHeight}px` : \"\",\n\t\t\t\t\"max-width\": this._maxWidth ? `${this._maxWidth}px` : \"\",\n\t\t\t},\n\t\t\tarrow: {\n\t\t\t\ttransform: `translate(${this.arrowTranslateX}px, ${this.arrowTranslateY}px)`,\n\t\t\t},\n\t\t};\n\t}\n\n\tget classes() {\n\t\tconst allClasses = super.classes;\n\t\tallClasses.root[\"ui5-popover-root\"] = true;\n\n\t\treturn allClasses;\n\t}\n\n\t/**\n\t * Hook for descendants to hide header.\n\t */\n\tget _displayHeader() {\n\t\treturn !!(this.header.length || this.headerText);\n\t}\n\n\t/**\n\t * Hook for descendants to hide footer.\n\t */\n\tget _displayFooter() {\n\t\treturn true;\n\t}\n\n\tget _actualHorizontalAlign() {\n\t\tif (this.effectiveDir === \"rtl\") {\n\t\t\tif (this.horizontalAlign === PopoverHorizontalAlign.Left) {\n\t\t\t\treturn PopoverHorizontalAlign.Right;\n\t\t\t}\n\n\t\t\tif (this.horizontalAlign === PopoverHorizontalAlign.Right) {\n\t\t\t\treturn PopoverHorizontalAlign.Left;\n\t\t\t}\n\t\t}\n\n\t\treturn this.horizontalAlign;\n\t}\n}\n\nconst instanceOfPopover = (object: any): object is Popover => {\n\treturn \"showAt\" in object;\n};\n\nPopover.define();\n\nexport default Popover;\n\nexport { instanceOfPopover };\n\nexport type {\n\tPopoverBeforeCloseEventDetail,\n};\n"]}
package/dist/Select.d.ts CHANGED
@@ -152,6 +152,19 @@ declare class Select extends UI5Element implements IFormElement {
152
152
  * @public
153
153
  */
154
154
  required: boolean;
155
+ /**
156
+ * Defines whether the component is read-only.
157
+ * <br><br>
158
+ * <b>Note:</b> A read-only component is not editable,
159
+ * but still provides visual feedback upon user interaction.
160
+ *
161
+ * @type {boolean}
162
+ * @name sap.ui.webc.main.Select.prototype.readonly
163
+ * @defaultvalue false
164
+ * @since 1.21.0
165
+ * @public
166
+ */
167
+ readonly: boolean;
155
168
  /**
156
169
  * Defines the accessible ARIA name of the component.
157
170
  *
@@ -208,7 +221,6 @@ declare class Select extends UI5Element implements IFormElement {
208
221
  responsivePopover: ResponsivePopover;
209
222
  selectedItem?: string | null;
210
223
  valueStatePopover?: Popover;
211
- value: string;
212
224
  selectMenu?: SelectMenu;
213
225
  /**
214
226
  * Defines the component options.
@@ -283,6 +295,26 @@ declare class Select extends UI5Element implements IFormElement {
283
295
  _onfocusout(): void;
284
296
  get _isPickerOpen(): boolean;
285
297
  _respPopover(): Promise<ResponsivePopover>;
298
+ /**
299
+ * Defines the value of the component:
300
+ * <br>
301
+ * - when get - returns the value of the component, e.g. the <code>value</code> property of the selected option or its text content.
302
+ * <br>
303
+ * - when set - selects the option with matching <code>value</code> property or text content.
304
+ * <br><br>
305
+ * <b>Note:</b> If the given value does not match any existing option,
306
+ * the first option will get selected.
307
+ *
308
+ * @public
309
+ * @type { string }
310
+ * @defaultvalue ""
311
+ * @name sap.ui.webc.main.Select.prototype.value
312
+ * @since 1.20.0
313
+ * @formProperty
314
+ * @formEvents change liveChange
315
+ */
316
+ set value(newValue: string);
317
+ get value(): string;
286
318
  /**
287
319
  * Currently selected <code>ui5-option</code> element.
288
320
  * @readonly
package/dist/Select.js CHANGED
@@ -114,11 +114,15 @@ let Select = Select_1 = class Select extends UI5Element {
114
114
  this._onMenuChange = this.onMenuChange.bind(this);
115
115
  this._attachMenuListeners = this.attachMenuListeners.bind(this);
116
116
  this._detachMenuListeners = this.detachMenuListeners.bind(this);
117
+ this._upgradeProperty("value");
117
118
  }
118
119
  onBeforeRendering() {
119
120
  const menu = this._getSelectMenu();
120
121
  if (menu) {
121
122
  menu.value = this.value;
123
+ // To cause invalidation when the menu is used for another Select that could have the same value as the previous.
124
+ // Otherwise, the menu won't re-render.
125
+ menu.selectId = this.__id;
122
126
  }
123
127
  else {
124
128
  this._syncSelection();
@@ -152,6 +156,34 @@ let Select = Select_1 = class Select extends UI5Element {
152
156
  const staticAreaItem = await this.getStaticAreaItemDomRef();
153
157
  return staticAreaItem.querySelector("[ui5-responsive-popover]");
154
158
  }
159
+ /**
160
+ * Defines the value of the component:
161
+ * <br>
162
+ * - when get - returns the value of the component, e.g. the <code>value</code> property of the selected option or its text content.
163
+ * <br>
164
+ * - when set - selects the option with matching <code>value</code> property or text content.
165
+ * <br><br>
166
+ * <b>Note:</b> If the given value does not match any existing option,
167
+ * the first option will get selected.
168
+ *
169
+ * @public
170
+ * @type { string }
171
+ * @defaultvalue ""
172
+ * @name sap.ui.webc.main.Select.prototype.value
173
+ * @since 1.20.0
174
+ * @formProperty
175
+ * @formEvents change liveChange
176
+ */
177
+ set value(newValue) {
178
+ const menu = this._getSelectMenu();
179
+ const selectOptions = Array.from(menu ? menu.children : this.children).filter(option => !option.getAttribute("disabled"));
180
+ selectOptions.forEach(option => {
181
+ option.selected = !!((option.getAttribute("value") || option.textContent) === newValue);
182
+ });
183
+ }
184
+ get value() {
185
+ return this.selectedOption?.value || this.selectedOption?.textContent || "";
186
+ }
155
187
  /**
156
188
  * Currently selected <code>ui5-option</code> element.
157
189
  * @readonly
@@ -198,7 +230,7 @@ let Select = Select_1 = class Select extends UI5Element {
198
230
  }
199
231
  }
200
232
  async _toggleRespPopover() {
201
- if (this.disabled) {
233
+ if (this.disabled || this.readonly) {
202
234
  return;
203
235
  }
204
236
  this._iconPressed = true;
@@ -225,8 +257,7 @@ let Select = Select_1 = class Select extends UI5Element {
225
257
  let lastSelectedOptionIndex = -1, firstEnabledOptionIndex = -1;
226
258
  const options = this._filteredItems;
227
259
  const syncOpts = options.map((opt, index) => {
228
- if (opt.selected || opt.textContent === this.value) {
229
- // The second condition in the IF statement is added because of Angular Reactive Forms Support(Two way data binding)
260
+ if (opt.selected) {
230
261
  lastSelectedOptionIndex = index;
231
262
  }
232
263
  if (firstEnabledOptionIndex === -1) {
@@ -300,7 +331,7 @@ let Select = Select_1 = class Select extends UI5Element {
300
331
  formSupport.syncNativeHiddenInput(this, (element, nativeInput) => {
301
332
  const selectElement = element;
302
333
  nativeInput.disabled = !!element.disabled;
303
- nativeInput.value = selectElement._currentlySelectedOption ? selectElement._currentlySelectedOption.value : "";
334
+ nativeInput.value = selectElement.value;
304
335
  });
305
336
  }
306
337
  else if (this.name) {
@@ -342,7 +373,7 @@ let Select = Select_1 = class Select extends UI5Element {
342
373
  }
343
374
  }
344
375
  _handleKeyboardNavigation(e) {
345
- if (isEnter(e)) {
376
+ if (isEnter(e) || this.readonly) {
346
377
  return;
347
378
  }
348
379
  const typedCharacter = e.key.toLowerCase();
@@ -378,11 +409,17 @@ let Select = Select_1 = class Select extends UI5Element {
378
409
  }
379
410
  _handleHomeKey(e) {
380
411
  e.preventDefault();
412
+ if (this.readonly) {
413
+ return;
414
+ }
381
415
  this._changeSelectedItem(this._selectedIndex, 0);
382
416
  }
383
417
  _handleEndKey(e) {
384
- const lastIndex = this.selectOptions.length - 1;
385
418
  e.preventDefault();
419
+ if (this.readonly) {
420
+ return;
421
+ }
422
+ const lastIndex = this.selectOptions.length - 1;
386
423
  this._changeSelectedItem(this._selectedIndex, lastIndex);
387
424
  }
388
425
  _onkeyup(e) {
@@ -444,10 +481,13 @@ let Select = Select_1 = class Select extends UI5Element {
444
481
  }
445
482
  }
446
483
  _handleArrowNavigation(e) {
484
+ e.preventDefault();
485
+ if (this.readonly) {
486
+ return;
487
+ }
447
488
  let nextIndex = -1;
448
489
  const currentIndex = this._selectedIndex;
449
490
  const isDownKey = isDown(e);
450
- e.preventDefault();
451
491
  if (isDownKey) {
452
492
  nextIndex = this._getNextOptionIndex();
453
493
  }
@@ -652,7 +692,7 @@ let Select = Select_1 = class Select extends UI5Element {
652
692
  return isPhone();
653
693
  }
654
694
  get _filteredItems() {
655
- return this.options.filter(option => !option.disabled);
695
+ return this.options.filter(option => !option.getAttribute("disabled"));
656
696
  }
657
697
  itemSelectionAnnounce() {
658
698
  let text;
@@ -706,6 +746,9 @@ __decorate([
706
746
  __decorate([
707
747
  property({ type: Boolean })
708
748
  ], Select.prototype, "required", void 0);
749
+ __decorate([
750
+ property({ type: Boolean })
751
+ ], Select.prototype, "readonly", void 0);
709
752
  __decorate([
710
753
  property()
711
754
  ], Select.prototype, "accessibleName", void 0);