@openui5/sap.ui.mdc 1.134.0 → 1.136.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (302) hide show
  1. package/REUSE.toml +649 -0
  2. package/THIRDPARTY.txt +23 -23
  3. package/package.json +4 -4
  4. package/src/sap/ui/mdc/.library +2 -2
  5. package/src/sap/ui/mdc/ActionToolbar.js +2 -2
  6. package/src/sap/ui/mdc/AggregationBaseDelegate.js +1 -1
  7. package/src/sap/ui/mdc/BaseDelegate.js +1 -1
  8. package/src/sap/ui/mdc/Chart.js +2 -2
  9. package/src/sap/ui/mdc/ChartDelegate.js +1 -1
  10. package/src/sap/ui/mdc/ChartRenderer.js +1 -1
  11. package/src/sap/ui/mdc/Control.js +2 -2
  12. package/src/sap/ui/mdc/DefaultTypeMap.js +2 -2
  13. package/src/sap/ui/mdc/Element.js +2 -2
  14. package/src/sap/ui/mdc/Field.js +3 -3
  15. package/src/sap/ui/mdc/FilterBar.js +2 -2
  16. package/src/sap/ui/mdc/FilterBarDelegate.js +1 -1
  17. package/src/sap/ui/mdc/FilterField.js +3 -3
  18. package/src/sap/ui/mdc/Link.js +2 -2
  19. package/src/sap/ui/mdc/LinkDelegate.js +1 -1
  20. package/src/sap/ui/mdc/MultiValueField.js +2 -2
  21. package/src/sap/ui/mdc/Table.js +54 -8
  22. package/src/sap/ui/mdc/TableDelegate.js +1 -1
  23. package/src/sap/ui/mdc/ValueHelp.js +105 -28
  24. package/src/sap/ui/mdc/ValueHelpDelegate.js +88 -19
  25. package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +10 -2
  26. package/src/sap/ui/mdc/actiontoolbar/ActionToolbarActionRenderer.js +1 -1
  27. package/src/sap/ui/mdc/chart/ChartImplementationContainer.js +2 -2
  28. package/src/sap/ui/mdc/chart/ChartImplementationContainerRenderer.js +1 -1
  29. package/src/sap/ui/mdc/chart/ChartSelectionDetails.js +2 -2
  30. package/src/sap/ui/mdc/chart/DrillBreadcrumbs.js +1 -1
  31. package/src/sap/ui/mdc/chart/Item.js +1 -1
  32. package/src/sap/ui/mdc/chart/PropertyHelper.js +2 -2
  33. package/src/sap/ui/mdc/chart/SelectionButton.js +1 -1
  34. package/src/sap/ui/mdc/chart/SelectionButtonDisplay.js +1 -1
  35. package/src/sap/ui/mdc/chart/SelectionButtonItem.js +1 -1
  36. package/src/sap/ui/mdc/chart/SelectionDetailsActions.js +1 -1
  37. package/src/sap/ui/mdc/chart/ToolbarControlFactory.js +3 -3
  38. package/src/sap/ui/mdc/chart/Util.js +1 -1
  39. package/src/sap/ui/mdc/condition/Condition.js +2 -2
  40. package/src/sap/ui/mdc/condition/ConditionConverter.js +2 -2
  41. package/src/sap/ui/mdc/condition/ConditionModel.js +2 -2
  42. package/src/sap/ui/mdc/condition/ConditionModelPropertyBinding.js +1 -1
  43. package/src/sap/ui/mdc/condition/ConditionValidateException.js +1 -1
  44. package/src/sap/ui/mdc/condition/FilterConverter.js +91 -57
  45. package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +41 -4
  46. package/src/sap/ui/mdc/condition/Operator.js +18 -13
  47. package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +2 -2
  48. package/src/sap/ui/mdc/condition/RangeOperator.js +2 -2
  49. package/src/sap/ui/mdc/designtime/Util.js +1 -1
  50. package/src/sap/ui/mdc/designtime/actiontoolbar/ActionToolbar.designtime.js +1 -1
  51. package/src/sap/ui/mdc/designtime/actiontoolbar/ActionToolbarAction.designtime.js +1 -1
  52. package/src/sap/ui/mdc/designtime/chart/Chart.designtime.js +22 -18
  53. package/src/sap/ui/mdc/designtime/field/Field.designtime.js +1 -1
  54. package/src/sap/ui/mdc/designtime/field/FieldBase.designtime.js +1 -1
  55. package/src/sap/ui/mdc/designtime/field/FilterField.designtime.js +1 -1
  56. package/src/sap/ui/mdc/designtime/field/MultiValueField.designtime.js +1 -1
  57. package/src/sap/ui/mdc/designtime/filterbar/FilterBar.designtime.js +12 -9
  58. package/src/sap/ui/mdc/designtime/filterbar/FilterBarBase.designtime.js +1 -1
  59. package/src/sap/ui/mdc/designtime/library.designtime.js +1 -1
  60. package/src/sap/ui/mdc/designtime/table/Table.designtime.js +11 -8
  61. package/src/sap/ui/mdc/enum/ActionToolbarActionAlignment.js +1 -1
  62. package/src/sap/ui/mdc/enum/BaseType.js +1 -1
  63. package/src/sap/ui/mdc/enum/ConditionValidated.js +1 -1
  64. package/src/sap/ui/mdc/enum/ContentMode.js +1 -1
  65. package/src/sap/ui/mdc/enum/EditMode.js +1 -1
  66. package/src/sap/ui/mdc/enum/FieldDisplay.js +1 -1
  67. package/src/sap/ui/mdc/enum/FilterBarValidationStatus.js +1 -1
  68. package/src/sap/ui/mdc/enum/LinkType.js +1 -1
  69. package/src/sap/ui/mdc/enum/OperatorOverwrite.js +1 -1
  70. package/src/sap/ui/mdc/enum/OperatorValueType.js +1 -1
  71. package/src/sap/ui/mdc/enum/ProcessingStrategy.js +1 -1
  72. package/src/sap/ui/mdc/enum/PropagationReason.js +1 -1
  73. package/src/sap/ui/mdc/enum/ReasonMode.js +1 -1
  74. package/src/sap/ui/mdc/enum/SelectType.js +1 -1
  75. package/src/sap/ui/mdc/enums/ActionToolbarActionAlignment.js +1 -1
  76. package/src/sap/ui/mdc/enums/BaseType.js +1 -1
  77. package/src/sap/ui/mdc/enums/ChartItemRoleType.js +1 -1
  78. package/src/sap/ui/mdc/enums/ChartItemType.js +1 -1
  79. package/src/sap/ui/mdc/enums/ChartP13nMode.js +1 -1
  80. package/src/sap/ui/mdc/enums/ChartToolbarActionType.js +1 -1
  81. package/src/sap/ui/mdc/enums/ConditionValidated.js +1 -1
  82. package/src/sap/ui/mdc/enums/ContentMode.js +1 -1
  83. package/src/sap/ui/mdc/enums/FieldDisplay.js +1 -1
  84. package/src/sap/ui/mdc/enums/FieldEditMode.js +1 -1
  85. package/src/sap/ui/mdc/enums/FilterBarP13nMode.js +1 -1
  86. package/src/sap/ui/mdc/enums/FilterBarValidationStatus.js +1 -1
  87. package/src/sap/ui/mdc/enums/LinkType.js +1 -1
  88. package/src/sap/ui/mdc/enums/OperatorName.js +1 -1
  89. package/src/sap/ui/mdc/enums/OperatorOverwrite.js +1 -1
  90. package/src/sap/ui/mdc/enums/OperatorValueType.js +1 -1
  91. package/src/sap/ui/mdc/enums/ProcessingStrategy.js +1 -1
  92. package/src/sap/ui/mdc/enums/ReasonMode.js +1 -1
  93. package/src/sap/ui/mdc/enums/RequestShowContainerReason.js +62 -0
  94. package/src/sap/ui/mdc/enums/TableGrowingMode.js +1 -1
  95. package/src/sap/ui/mdc/enums/TableMultiSelectMode.js +1 -1
  96. package/src/sap/ui/mdc/enums/TableP13nMode.js +1 -1
  97. package/src/sap/ui/mdc/enums/TableRowActionType.js +1 -1
  98. package/src/sap/ui/mdc/enums/TableRowCountMode.js +1 -1
  99. package/src/sap/ui/mdc/enums/TableSelectionMode.js +1 -1
  100. package/src/sap/ui/mdc/enums/TableType.js +1 -1
  101. package/src/sap/ui/mdc/enums/ValueHelpPropagationReason.js +1 -1
  102. package/src/sap/ui/mdc/enums/ValueHelpSelectionType.js +1 -1
  103. package/src/sap/ui/mdc/field/ConditionType.js +2 -2
  104. package/src/sap/ui/mdc/field/ConditionTypeMixin.js +2 -2
  105. package/src/sap/ui/mdc/field/ConditionsType.js +2 -2
  106. package/src/sap/ui/mdc/field/CustomFieldInfo.js +2 -2
  107. package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +2 -2
  108. package/src/sap/ui/mdc/field/FieldBase.js +104 -47
  109. package/src/sap/ui/mdc/field/FieldBaseDelegate.js +1 -1
  110. package/src/sap/ui/mdc/field/FieldBaseRenderer.js +1 -1
  111. package/src/sap/ui/mdc/field/FieldInfoBase.js +2 -2
  112. package/src/sap/ui/mdc/field/FieldInput.js +44 -4
  113. package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +2 -2
  114. package/src/sap/ui/mdc/field/FieldInputRenderer.js +1 -1
  115. package/src/sap/ui/mdc/field/FieldMultiInput.js +48 -4
  116. package/src/sap/ui/mdc/field/FieldMultiInputRenderer.js +1 -1
  117. package/src/sap/ui/mdc/field/ListFieldHelpItem.js +2 -2
  118. package/src/sap/ui/mdc/field/MultiValueFieldDelegate.js +1 -1
  119. package/src/sap/ui/mdc/field/MultiValueFieldItem.js +2 -2
  120. package/src/sap/ui/mdc/field/TokenDisplay.js +2 -2
  121. package/src/sap/ui/mdc/field/TokenDisplayRenderer.js +1 -1
  122. package/src/sap/ui/mdc/field/TokenizerDisplay.js +43 -3
  123. package/src/sap/ui/mdc/field/TokenizerDisplayRenderer.js +1 -1
  124. package/src/sap/ui/mdc/field/content/BooleanContent.js +1 -1
  125. package/src/sap/ui/mdc/field/content/ContentFactory.js +2 -2
  126. package/src/sap/ui/mdc/field/content/DateContent.js +1 -1
  127. package/src/sap/ui/mdc/field/content/DateTimeContent.js +1 -1
  128. package/src/sap/ui/mdc/field/content/DefaultContent.js +1 -1
  129. package/src/sap/ui/mdc/field/content/LinkContent.js +1 -1
  130. package/src/sap/ui/mdc/field/content/SearchContent.js +1 -1
  131. package/src/sap/ui/mdc/field/content/TimeContent.js +1 -1
  132. package/src/sap/ui/mdc/field/content/UnitContent.js +1 -1
  133. package/src/sap/ui/mdc/field/splitValue.js +1 -1
  134. package/src/sap/ui/mdc/filterbar/FilterBarBase.js +2 -2
  135. package/src/sap/ui/mdc/filterbar/FilterBarBaseRenderer.js +1 -1
  136. package/src/sap/ui/mdc/filterbar/IFilterContainer.js +1 -1
  137. package/src/sap/ui/mdc/filterbar/PropertyHelper.js +2 -2
  138. package/src/sap/ui/mdc/filterbar/PropertyInfoValidator.js +1 -1
  139. package/src/sap/ui/mdc/filterbar/aligned/FilterContainer.js +1 -1
  140. package/src/sap/ui/mdc/filterbar/aligned/FilterItemLayout.js +1 -1
  141. package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +2 -2
  142. package/src/sap/ui/mdc/filterbar/p13n/FilterColumnLayout.js +1 -1
  143. package/src/sap/ui/mdc/filterbar/p13n/FilterGroupLayout.js +1 -1
  144. package/src/sap/ui/mdc/filterbar/p13n/GroupContainer.js +1 -1
  145. package/src/sap/ui/mdc/filterbar/p13n/TableContainer.js +1 -1
  146. package/src/sap/ui/mdc/filterbar/vh/CollectiveSearchSelect.js +1 -1
  147. package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +2 -2
  148. package/src/sap/ui/mdc/filterbar/vh/FilterBarDelegate.js +1 -1
  149. package/src/sap/ui/mdc/filterbar/vh/FilterContainer.js +1 -1
  150. package/src/sap/ui/mdc/flexibility/ActionToolbar.flexibility.js +1 -1
  151. package/src/sap/ui/mdc/flexibility/ActionToolbarAction.flexibility.js +1 -1
  152. package/src/sap/ui/mdc/flexibility/AggregateFlex.js +1 -1
  153. package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +2 -2
  154. package/src/sap/ui/mdc/flexibility/ChartItemFlex.js +1 -1
  155. package/src/sap/ui/mdc/flexibility/ChartTypeFlex.js +1 -1
  156. package/src/sap/ui/mdc/flexibility/ColumnFlex.js +1 -1
  157. package/src/sap/ui/mdc/flexibility/ConditionFlex.js +1 -1
  158. package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +2 -2
  159. package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +2 -2
  160. package/src/sap/ui/mdc/flexibility/GroupFlex.js +1 -1
  161. package/src/sap/ui/mdc/flexibility/ItemBaseFlex.js +1 -1
  162. package/src/sap/ui/mdc/flexibility/Panel.flexibility.js +1 -1
  163. package/src/sap/ui/mdc/flexibility/PanelItem.flexibility.js +1 -1
  164. package/src/sap/ui/mdc/flexibility/PropertyInfoFlex.js +1 -1
  165. package/src/sap/ui/mdc/flexibility/SortFlex.js +1 -1
  166. package/src/sap/ui/mdc/flexibility/Table.flexibility.js +5 -1
  167. package/src/sap/ui/mdc/flexibility/Util.js +1 -1
  168. package/src/sap/ui/mdc/flexibility/actiontoolbar/CombineAction.js +2 -2
  169. package/src/sap/ui/mdc/flexibility/actiontoolbar/SplitAction.js +2 -2
  170. package/src/sap/ui/mdc/flexibility/helpers/addKeyOrName.js +1 -1
  171. package/src/sap/ui/mdc/flexibility/xConfigFlex.js +1 -1
  172. package/src/sap/ui/mdc/flp/FlpLinkDelegate.js +1 -1
  173. package/src/sap/ui/mdc/i18n/interaction.xml +43 -0
  174. package/src/sap/ui/mdc/library.js +8 -4
  175. package/src/sap/ui/mdc/library.support.js +1 -1
  176. package/src/sap/ui/mdc/link/Factory.js +2 -2
  177. package/src/sap/ui/mdc/link/LinkItem.js +2 -2
  178. package/src/sap/ui/mdc/link/Log.js +1 -1
  179. package/src/sap/ui/mdc/link/Panel.js +2 -2
  180. package/src/sap/ui/mdc/link/PanelItem.js +2 -2
  181. package/src/sap/ui/mdc/link/PanelRenderer.js +1 -1
  182. package/src/sap/ui/mdc/link/SemanticObjectMapping.js +2 -2
  183. package/src/sap/ui/mdc/link/SemanticObjectMappingItem.js +2 -2
  184. package/src/sap/ui/mdc/link/SemanticObjectUnavailableAction.js +2 -2
  185. package/src/sap/ui/mdc/messagebundle_bg.properties +14 -14
  186. package/src/sap/ui/mdc/messagebundle_de.properties +1 -1
  187. package/src/sap/ui/mdc/messagebundle_es.properties +1 -1
  188. package/src/sap/ui/mdc/messagebundle_sl.properties +3 -3
  189. package/src/sap/ui/mdc/messagebundle_th.properties +8 -8
  190. package/src/sap/ui/mdc/mixin/AdaptationMixin.js +2 -2
  191. package/src/sap/ui/mdc/mixin/DelegateMixin.js +2 -2
  192. package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +2 -2
  193. package/src/sap/ui/mdc/mixin/PromiseMixin.js +2 -2
  194. package/src/sap/ui/mdc/mixin/PropertyHelperMixin.js +2 -2
  195. package/src/sap/ui/mdc/mixin/delegate/FilterIntegrationDefault.js +1 -1
  196. package/src/sap/ui/mdc/odata/TypeMap.js +2 -2
  197. package/src/sap/ui/mdc/odata/TypeUtil.js +1 -1
  198. package/src/sap/ui/mdc/odata/v4/ChartDelegate.js +1 -1
  199. package/src/sap/ui/mdc/odata/v4/ODataMetaModelUtil.js +1 -1
  200. package/src/sap/ui/mdc/odata/v4/TableDelegate.js +52 -29
  201. package/src/sap/ui/mdc/odata/v4/TypeMap.js +2 -2
  202. package/src/sap/ui/mdc/odata/v4/TypeUtil.js +1 -1
  203. package/src/sap/ui/mdc/odata/v4/ValueHelpDelegate.js +1 -1
  204. package/src/sap/ui/mdc/odata/v4/util/DelegateUtil.js +1 -1
  205. package/src/sap/ui/mdc/odata/v4/vizChart/ChartDelegate.js +3 -3
  206. package/src/sap/ui/mdc/p13n/P13nBuilder.js +1 -1
  207. package/src/sap/ui/mdc/p13n/PersistenceProvider.js +1 -1
  208. package/src/sap/ui/mdc/p13n/PropertyHelper.js +2 -2
  209. package/src/sap/ui/mdc/p13n/StateUtil.js +1 -1
  210. package/src/sap/ui/mdc/p13n/panels/ActionToolbarPanel.js +2 -2
  211. package/src/sap/ui/mdc/p13n/panels/AdaptFiltersPanel.js +1 -1
  212. package/src/sap/ui/mdc/p13n/panels/ChartItemPanel.js +1 -1
  213. package/src/sap/ui/mdc/p13n/panels/FilterPanel.js +1 -1
  214. package/src/sap/ui/mdc/p13n/panels/GroupView.js +1 -1
  215. package/src/sap/ui/mdc/p13n/panels/LinkSelectionPanel.js +4 -4
  216. package/src/sap/ui/mdc/p13n/subcontroller/ActionToolbarController.js +1 -1
  217. package/src/sap/ui/mdc/p13n/subcontroller/AdaptFiltersController.js +1 -1
  218. package/src/sap/ui/mdc/p13n/subcontroller/AggregateController.js +1 -1
  219. package/src/sap/ui/mdc/p13n/subcontroller/ChartItemController.js +1 -1
  220. package/src/sap/ui/mdc/p13n/subcontroller/ChartTypeController.js +1 -1
  221. package/src/sap/ui/mdc/p13n/subcontroller/ColumnController.js +1 -1
  222. package/src/sap/ui/mdc/p13n/subcontroller/ColumnFreezeController.js +161 -0
  223. package/src/sap/ui/mdc/p13n/subcontroller/FilterController.js +1 -1
  224. package/src/sap/ui/mdc/p13n/subcontroller/GroupController.js +1 -1
  225. package/src/sap/ui/mdc/p13n/subcontroller/LinkPanelController.js +1 -1
  226. package/src/sap/ui/mdc/p13n/subcontroller/SelectionController.js +1 -1
  227. package/src/sap/ui/mdc/p13n/subcontroller/ShowDetailsController.js +2 -2
  228. package/src/sap/ui/mdc/p13n/subcontroller/SortController.js +1 -1
  229. package/src/sap/ui/mdc/rules/Table.support.js +1 -1
  230. package/src/sap/ui/mdc/table/Column.js +20 -6
  231. package/src/sap/ui/mdc/table/ColumnSettings.js +2 -2
  232. package/src/sap/ui/mdc/table/CreationRow.js +2 -2
  233. package/src/sap/ui/mdc/table/DragDropConfig.js +2 -2
  234. package/src/sap/ui/mdc/table/GridTableType.js +64 -2
  235. package/src/sap/ui/mdc/table/PropertyHelper.js +18 -4
  236. package/src/sap/ui/mdc/table/ResponsiveColumnSettings.js +2 -2
  237. package/src/sap/ui/mdc/table/ResponsiveTableType.js +12 -6
  238. package/src/sap/ui/mdc/table/RowActionItem.js +2 -2
  239. package/src/sap/ui/mdc/table/RowSettings.js +2 -2
  240. package/src/sap/ui/mdc/table/TableSettings.js +1 -1
  241. package/src/sap/ui/mdc/table/TableTypeBase.js +1 -1
  242. package/src/sap/ui/mdc/table/TreeTableType.js +1 -1
  243. package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +114 -47
  244. package/src/sap/ui/mdc/table/menu/GroupHeaderRowContextMenu.js +1 -1
  245. package/src/sap/ui/mdc/table/menu/QuickActionContainer.js +1 -1
  246. package/src/sap/ui/mdc/table/utils/Personalization.js +20 -2
  247. package/src/sap/ui/mdc/themes/base/AdaptFiltersPanel.less +13 -8
  248. package/src/sap/ui/mdc/themes/base/AdaptationFilterBar.less +7 -2
  249. package/src/sap/ui/mdc/themes/base/FieldBase.less +11 -5
  250. package/src/sap/ui/mdc/themes/base/FilterBar.less +5 -3
  251. package/src/sap/ui/mdc/themes/base/GroupView.less +37 -32
  252. package/src/sap/ui/mdc/themes/base/InfoPanel.less +28 -22
  253. package/src/sap/ui/mdc/themes/base/ListView.less +20 -15
  254. package/src/sap/ui/mdc/themes/base/PersonalizationDialog.less +6 -13
  255. package/src/sap/ui/mdc/themes/base/QueryPanel.less +5 -4
  256. package/src/sap/ui/mdc/themes/base/Table.less +6 -0
  257. package/src/sap/ui/mdc/themes/base/TokenDisplay.less +27 -29
  258. package/src/sap/ui/mdc/themes/base/TokenizerDisplay.less +18 -22
  259. package/src/sap/ui/mdc/themes/base/ValueHelpDialog.less +31 -27
  260. package/src/sap/ui/mdc/themes/base/library.source.less +1 -3
  261. package/src/sap/ui/mdc/ushell/LinkDelegate.js +23 -23
  262. package/src/sap/ui/mdc/ushell/SemanticObjectMapping.js +2 -2
  263. package/src/sap/ui/mdc/ushell/SemanticObjectMappingItem.js +2 -2
  264. package/src/sap/ui/mdc/ushell/SemanticObjectUnavailableAction.js +2 -2
  265. package/src/sap/ui/mdc/util/Common.js +1 -1
  266. package/src/sap/ui/mdc/util/DateUtil.js +1 -1
  267. package/src/sap/ui/mdc/util/DensityHelper.js +1 -1
  268. package/src/sap/ui/mdc/util/FilterUtil.js +1 -1
  269. package/src/sap/ui/mdc/util/IdentifierUtil.js +1 -1
  270. package/src/sap/ui/mdc/util/InfoBar.js +2 -2
  271. package/src/sap/ui/mdc/util/InfoBarRenderer.js +1 -1
  272. package/src/sap/ui/mdc/util/PromiseCache.js +2 -2
  273. package/src/sap/ui/mdc/util/PropertyHelper.js +38 -10
  274. package/src/sap/ui/mdc/util/PropertyHelperUtil.js +2 -2
  275. package/src/sap/ui/mdc/util/TypeMap.js +1 -1
  276. package/src/sap/ui/mdc/util/TypeUtil.js +1 -1
  277. package/src/sap/ui/mdc/util/loadModules.js +1 -1
  278. package/src/sap/ui/mdc/valuehelp/CollectiveSearchSelect.js +1 -1
  279. package/src/sap/ui/mdc/valuehelp/Dialog.js +36 -17
  280. package/src/sap/ui/mdc/valuehelp/FilterBar.js +2 -2
  281. package/src/sap/ui/mdc/valuehelp/FilterBarDelegate.js +1 -1
  282. package/src/sap/ui/mdc/valuehelp/FilterContainer.js +1 -1
  283. package/src/sap/ui/mdc/valuehelp/Popover.js +73 -24
  284. package/src/sap/ui/mdc/valuehelp/base/Container.js +6 -20
  285. package/src/sap/ui/mdc/valuehelp/base/Content.js +13 -25
  286. package/src/sap/ui/mdc/valuehelp/base/DefineConditionPanel.js +4 -3
  287. package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +2 -2
  288. package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +6 -6
  289. package/src/sap/ui/mdc/valuehelp/base/ListContent.js +2 -2
  290. package/src/sap/ui/mdc/valuehelp/content/Bool.js +12 -2
  291. package/src/sap/ui/mdc/valuehelp/content/Conditions.js +12 -2
  292. package/src/sap/ui/mdc/valuehelp/content/FixedList.js +68 -34
  293. package/src/sap/ui/mdc/valuehelp/content/FixedListItem.js +2 -2
  294. package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +8 -4
  295. package/src/sap/ui/mdc/valuehelp/content/MTable.js +165 -92
  296. package/test/sap/ui/mdc/testutils/opa/p13n/Actions.js +206 -1
  297. package/test/sap/ui/mdc/testutils/opa/p13n/Util.js +2 -1
  298. package/test/sap/ui/mdc/testutils/opa/table/TestObjects.js +44 -0
  299. package/ui5.yaml +1 -1
  300. package/.reuse/dep5 +0 -471
  301. package/src/sap/ui/mdc/themes/base/SelectionDialog.less +0 -5
  302. package/src/sap/ui/mdc/themes/base/Wrapper.less +0 -17
@@ -1,8 +1,13 @@
1
+ /* =========================================== */
2
+ /* CSS for control sap.ui.mdc/ValueHelpDialog */
3
+ /* Base theme */
4
+ /* =========================================== */
5
+
1
6
  .sapMdcValueHelpPanel {
2
- background-color: @sapUiBaseBG;
7
+ background-color: var(--sapBackgroundColor);
3
8
  }
4
9
 
5
- // give all panels on the valueHelpPanel a left/right padding
10
+ /* give all panels on the valueHelpPanel a left/right padding */
6
11
  .sapMdcValueHelpPanel .sapMPanel {
7
12
  padding-top: 0.5rem;
8
13
  padding-left: 1rem;
@@ -12,7 +17,7 @@
12
17
  .sapMdcTokenizerPanel > .sapMPanelContent {
13
18
  padding-left: 1rem;
14
19
  padding-right: 1rem;
15
- padding-top: 0rem;
20
+ padding-top: 0;
16
21
  padding-bottom: 1rem;
17
22
  overflow: hidden;
18
23
  }
@@ -23,7 +28,7 @@
23
28
  }
24
29
 
25
30
  .sapMdcValueHelpPanel .sapMPanel.sapMdcTokenizerPanel {
26
- background-color: @sapUiBaseBG;
31
+ background-color: var(--sapBackgroundColor);
27
32
  }
28
33
 
29
34
  .sapMdcTablePanel > .sapMPanelHeadingDiv > .sapMPanelHdr,
@@ -33,12 +38,12 @@
33
38
  }
34
39
 
35
40
 
36
- // make the ITB header height 3rem
41
+ /* make the ITB header height 3rem */
37
42
  .sapMdcValueHelpPanel .sapMITBHead {
38
- margin-top: 0rem;
43
+ margin-top: 0;
39
44
  }
40
45
 
41
- // make the toolbar height 3rem and add 2rem padding left/right
46
+ /* make the toolbar height 3rem and add 2rem padding left/right */
42
47
  .sapMdcValueHelpPanel .sapMdcValueHelpPanelFilterbar .sapMTB {
43
48
  margin-top: 0.5rem;
44
49
  height: 3rem;
@@ -54,87 +59,88 @@
54
59
  margin-left: 0;
55
60
  }
56
61
 
57
- // padding between the Define Condition value fields
62
+ /* padding between the Define Condition value fields */
58
63
  .sapUiMdcDefineConditionPanel .sapUiRespGrid > div {
59
64
  padding-left: 0.25rem;
60
65
  padding-right: 0.25rem;
61
66
  box-sizing: border-box;
62
67
  }
63
68
 
64
- // correct paddings around the define conditions content
69
+ /* correct paddings around the define conditions content */
65
70
  .sapMdcDefineconditionPanel .sapMPanelContent {
66
71
  padding-left: 0.75rem;
67
- padding-right: 0rem;
68
- padding-top: 0rem;
72
+ padding-right: 0;
73
+ padding-top: 0;
69
74
  }
70
75
 
71
76
  .sapUiMdcDefineConditionPanel .sapUiMdcDefineConditionGrid {
72
77
  margin-bottom: 0.5rem;
73
78
  }
74
79
 
75
- // give the Filterbar the required padding and max height
80
+ /* give the Filterbar the required padding and max height */
76
81
  .sapMdcValueHelpPanelFilterbar {
77
82
  margin-left: 2rem;
78
83
  margin-right: 1rem;
79
84
  }
80
85
 
81
- // allign static text
86
+ /* allign static text */
82
87
  .sapUiMdcDefineConditionPanel .sapUiRespGrid .sapMText {
83
88
  min-height: 2.75rem;
84
89
  padding-top: 0.6875rem;
85
90
  padding-bottom: 0.6875rem;
86
91
  line-height: 1.375rem;
87
92
  }
93
+
88
94
  .sapUiSizeCompact .sapUiMdcDefineConditionPanel .sapUiRespGrid .sapMText {
89
95
  min-height: 2rem;
90
96
  padding-top: 0.3125rem;
91
97
  padding-bottom: 0.3125rem;
92
98
  }
93
99
 
94
- // spacing between rows
100
+ /* spacing between rows */
95
101
  .sapUiMdcDefineConditionPanel .sapUiRespGrid.sapUiRespGridMedia-Std-Phone > .sapUiRespGridBreak:not(:first-child),
96
102
  .sapUiMdcDefineConditionPanel .sapUiRespGrid.sapUiRespGridMedia-Std-Phone > .sapUiRespGridBreak:not(:first-child) + div {
97
103
  padding-top: 0.5rem;
98
104
  }
99
105
 
100
- // align add-button to the right
106
+ /* align add-button to the right */
101
107
  .sapUiMdcDefineConditionPanel .sapUiRespGrid > div:last-child {
102
108
  padding-top: 0.25rem;
103
109
  position: relative;
104
110
  height: 2.75rem;
105
111
  }
112
+
106
113
  .sapUiSizeCompact .sapUiMdcDefineConditionPanel .sapUiRespGrid > div:last-child {
107
114
  height: 2rem;
108
115
  }
116
+
109
117
  .sapUiMdcDefineConditionPanel .sapUiRespGrid > div:last-child > button{
110
118
  position: absolute;
111
119
  right: 0.25rem;
112
120
  }
113
121
 
114
- // hide the toolbar border and give some more top margin
122
+ /* hide the toolbar border and give some more top margin */
115
123
  .sapMdcValueHelpPanel .sapMTBStandard, .sapUiMdcDefineConditionPanel .sapMTBStandard {
116
124
  border-bottom: solid 1px transparent;
117
125
  }
118
126
 
119
- // hide the panel bottom border
127
+ /* hide the panel bottom border */
120
128
  .sapMdcValueHelpPanel .sapMPanelContent:not(.sapMPanelBGTransparent) {
121
129
  border-bottom: none;
122
130
  }
123
131
 
124
-
125
- // show padding on top of the defineConditionPanel when used on popover
132
+ /* show padding on top of the defineConditionPanel when used on popover */
126
133
  .sapMPopoverCont .sapMPopoverScroll > .sapUiMdcDefineConditionPanel {
127
134
  padding-top: 1rem;
128
- // padding-left: 0.75rem;
129
135
  padding-right: 0.75rem;
130
136
  }
131
137
 
132
- // makes the title of the used panels smaller
138
+ /* makes the title of the used panels smaller */
133
139
  .sapMdcValueHelpPanel .sapMPanel .sapMPanelHdr {
134
140
  font-size: @sapMFontHeader5Size;
135
141
  }
136
142
 
137
- // make the title shadows transparent
143
+ /* make the title shadows transparent */
138
144
  .sapMdcValueHelpTitleShadow.sapMDialog:not(.sapMDialogWithSubHeader) > header:first-of-type .sapMIBar {
139
145
  box-shadow: inset 0 -0.0625rem transparent;
140
146
  }
@@ -143,25 +149,23 @@
143
149
  box-shadow: inset 0 -0.0625rem transparent;
144
150
  }
145
151
 
146
- // remove some borders around the IconTabBar content
152
+ /* remove some borders around the IconTabBar content */
147
153
  .sapMdcValueHelpPanel .sapMITBContent {
148
154
  border-left: none;
149
155
  border-right: none;
150
156
  border-bottom: none;
151
157
  }
152
158
 
153
- // set the 2rem padding also on the OK and Cancel buttons in the footer
159
+ /* set the 2rem padding also on the OK and Cancel buttons in the footer */
154
160
  .sapMdcValueHelpTitle.sapMDialog footer .sapMTB {
155
161
  padding: 0 2rem;
156
162
  }
157
163
 
158
-
159
164
  .sapMdcValueHelpPanelTableBox {
160
165
  padding: 0 2rem;
161
166
  }
162
167
 
163
168
  .sapMdcValueHelpPanelTableBox > .sapMFlexItem {
164
- //min-height: 200px !important;
165
169
  height: 100%;
166
170
  }
167
171
 
@@ -175,7 +179,7 @@
175
179
  }
176
180
 
177
181
  .sapMdcValueHelpPopover.sapMdcValueHelpSingleSelect .sapUiMdcDefineConditionPanel {
178
- margin-left: 0rem;
182
+ margin-left: 0;
179
183
  margin-right: 0.75rem;
180
184
  margin-top: 1rem;
181
185
  }
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  @import "../../../../../sap/ui/core/themes/base/base.less";
@@ -12,9 +12,7 @@
12
12
  @import "InfoPanel.less";
13
13
  @import "FilterBar.less";
14
14
  @import "AdaptFiltersPanel.less";
15
- @import "Wrapper.less";
16
15
  @import "PersonalizationDialog.less";
17
- @import "SelectionDialog.less";
18
16
  @import "ListView.less";
19
17
  @import "GroupView.less";
20
18
  @import "Table.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -98,35 +98,35 @@ sap.ui.define([
98
98
  return mSemanticObjects[sSemanticObject] && (mSemanticObjects[sSemanticObject].exists === true);
99
99
  });
100
100
  };
101
- const fnRetrieveDistinctSemanticObjects = function() {
102
- if (!oPromise) {
103
- oPromise = Factory.getServiceAsync("Navigation").then((oNavigationService) => {
104
- if (!oNavigationService) {
105
- SapBaseLog.error("LinkDelegate: Service 'Navigation' could not be obtained");
106
- Promise.resolve({});
107
- return;
108
- }
109
- oNavigationService.getSemanticObjects().then((aDistinctSemanticObjects) => {
110
- aDistinctSemanticObjects.forEach((sSemanticObject) => {
111
- mSemanticObjects[sSemanticObject] = {
112
- exists: true
113
- };
114
- });
115
- oPromise = null;
116
- return Promise.resolve(mSemanticObjects);
117
- }, () => {
118
- SapBaseLog.error("LinkDelegate: getSemanticObjects() of service 'Navigation' failed");
119
- return Promise.resolve({});
120
- });
101
+ const fnRetrieveDistinctSemanticObjects = async () => {
102
+ const oNavigationService = await Factory.getServiceAsync("Navigation");
103
+ if (!oNavigationService) {
104
+ SapBaseLog.error("LinkDelegate: Service 'Navigation' could not be obtained");
105
+ return Promise.resolve({});
106
+ }
107
+ try {
108
+ const aDistinctSemanticObjects = await oNavigationService.getSemanticObjects();
109
+ aDistinctSemanticObjects.forEach((sSemanticObject) => {
110
+ mSemanticObjects[sSemanticObject] = {
111
+ exists: true
112
+ };
121
113
  });
114
+ return Promise.resolve(mSemanticObjects);
115
+ } catch (oError) {
116
+ SapBaseLog.error("LinkDelegate: getSemanticObjects() of service 'Navigation' failed");
117
+ return Promise.resolve({});
122
118
  }
123
- return oPromise;
124
119
  };
125
120
 
126
121
  if (fnHaveBeenRetrievedAllSemanticObjects(aSemanticObjects)) {
127
122
  return Promise.resolve(fnAtLeastOneExistsSemanticObject(aSemanticObjects));
128
123
  }
129
- return fnRetrieveDistinctSemanticObjects().then(() => {
124
+
125
+ if (!oPromise) {
126
+ oPromise = fnRetrieveDistinctSemanticObjects();
127
+ }
128
+
129
+ return oPromise.then(() => {
130
130
  return fnAtLeastOneExistsSemanticObject(aSemanticObjects);
131
131
  });
132
132
  };
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @param {object} [mSettings] initial settings for the new control
17
17
  * @class Type for...
18
18
  * @extends sap.ui.core.Element
19
- * @version 1.134.0
19
+ * @version 1.136.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.120
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @param {object} [mSettings] initial settings for the new control
17
17
  * @class Type for...
18
18
  * @extends sap.ui.core.Element
19
- * @version 1.134.0
19
+ * @version 1.136.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.120
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @param {object} [mSettings] initial settings for the new control
17
17
  * @class Type for...
18
18
  * @extends sap.ui.core.Element
19
- * @version 1.134.0
19
+ * @version 1.136.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.120
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ! OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @class The <code>InfoBar</code> control provides an easy way of displaying filter information inside an <code>sap.ui.mdc.Chart</code> and an <code>sap.ui.mdc.Table</code>.
25
25
  * @extends sap.ui.core.Control
26
26
  * @author SAP SE
27
- * @version 1.134.0
27
+ * @version 1.136.0
28
28
  * @constructor
29
29
  * @private
30
30
  * @ui5-restricted sap.ui.mdc
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define(
@@ -45,7 +45,7 @@ sap.ui.define(
45
45
  * Destroying the cache will cancel all registered promises and delete references. Convenience methods for promise creation, wrapping and replacement are offered.
46
46
  *
47
47
  * @author SAP SE
48
- * @version 1.134.0
48
+ * @version 1.136.0
49
49
  * @alias sap.ui.mdc.util.PromiseCache
50
50
  * @since 1.85.0
51
51
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -285,17 +285,35 @@ sap.ui.define([
285
285
  ];
286
286
  const _private = new WeakMap();
287
287
 
288
- function stringifyPlainObject(oObject) {
289
- return JSON.stringify(oObject, (sKey, oValue) => {
290
- return oValue === undefined ? null : oValue;
291
- }) || "";
288
+
289
+ /**
290
+ *
291
+ * @param {string} sMessage Additional message that should be shown in the error
292
+ * @param {Object | Array} vProperty Property or array of objects with property keys as keys
293
+ * @returns {string} Error message that should be thrown
294
+ */
295
+ function getErrorMessage(sMessage, vProperty) {
296
+ let sError = "";
297
+
298
+
299
+ if (!vProperty) {
300
+ sError = `Invalid property definition: ${sMessage}`;
301
+ } else if (Array.isArray(vProperty)) {
302
+ const sPropertyKeys = vProperty.map((oProp) => `'${Object.keys(oProp)[0]}'`).join(",");
303
+ sError = `Invalid property definition for properties with keys ${sPropertyKeys}: ${sMessage}`;
304
+ } else {
305
+ const sPropertyKey = vProperty.key ?? vProperty.name;
306
+ sError = `Invalid property definition for property with key '${sPropertyKey}': ${sMessage}`;
307
+ }
308
+ return sError;
292
309
  }
293
310
 
294
311
  function reportInvalidProperty(sMessage, oProperty) {
295
- const sAdditionalInfo = stringifyPlainObject(oProperty);
312
+ const sError = getErrorMessage(sMessage, oProperty);
313
+
296
314
  // implementation for this flag is within PropertyHelperMixin#_checkValidationExceptions
297
315
  if (PropertyHelperUtil.bValidationException) {
298
- future.errorThrows(`Invalid property definition: ${sMessage} ${sAdditionalInfo ? `\n${sAdditionalInfo}` : ""}.`, {
316
+ future.errorThrows(sError, {
299
317
  suffix: `Migrate this control's propertyInfo to avoid breaking changes in the future.`
300
318
  });
301
319
  } else {
@@ -304,8 +322,8 @@ sap.ui.define([
304
322
  }
305
323
 
306
324
  function throwInvalidPropertyError(sMessage, oProperty) {
307
- const sAdditionalInfo = oProperty ? stringifyPlainObject(oProperty) : null;
308
- throw new Error("Invalid property definition: " + sMessage + (sAdditionalInfo ? "\n" + sAdditionalInfo : ""));
325
+ const sError = getErrorMessage(sMessage, oProperty);
326
+ throw new Error(sError);
309
327
  }
310
328
 
311
329
  function enrichProperties(oPropertyHelper, aProperties) {
@@ -560,7 +578,7 @@ sap.ui.define([
560
578
  * @extends sap.ui.base.Object
561
579
  *
562
580
  * @author SAP SE
563
- * @version 1.134.0
581
+ * @version 1.136.0
564
582
  *
565
583
  * @private
566
584
  * @since 1.83
@@ -905,6 +923,16 @@ sap.ui.define([
905
923
  return mPrivate ? merge({}, mPrivate.mAttributeMetadata) : null;
906
924
  };
907
925
 
926
+ /**
927
+ * Gets a list of properties that are redundant and should be filtered out in the {@link sap.ui.mdc.p13n.SelectionController} for personalization.
928
+ *
929
+ * @protected
930
+ * @returns {object[]} A list of properties
931
+ */
932
+ PropertyHelper.prototype.getRedundantProperties = function() {
933
+ return [];
934
+ };
935
+
908
936
  Object.defineProperties(PropertyHelper, {
909
937
  reportInvalidProperty: {value: reportInvalidProperty},
910
938
  throwInvalidPropertyError: {value: throwInvalidPropertyError}
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * Provides validation functions for checking the (required) usage of the PropertyHelper.
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.134.0
22
+ * @version 1.136.0
23
23
  * @alias sap.ui.mdc.util.PropertyHelperUtil
24
24
  * @namespace
25
25
  * @since 1.132.0
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -68,7 +68,7 @@ sap.ui.define([
68
68
  * @param {object} [mSettings] Initial settings for the new control
69
69
  * @class Container for the {@link sap.ui.mdc.ValueHelp ValueHelp} element showing a dialog.
70
70
  * @extends sap.ui.mdc.valuehelp.base.Container
71
- * @version 1.134.0
71
+ * @version 1.136.0
72
72
  * @constructor
73
73
  * @public
74
74
  * @since 1.95.0
@@ -218,7 +218,7 @@ sap.ui.define([
218
218
  Dialog.prototype.getContainerControl = function() {
219
219
  if (!this.getModel("$i18n")) {
220
220
  // if ResourceModel not provided from outside create own one
221
- this.setModel(new ResourceModel({ bundleName: "sap/ui/mdc/messagebundle", async: false }), "$i18n");
221
+ this.setModel(new ResourceModel({ bundleName: "sap/ui/mdc/messagebundle", async: true }), "$i18n");
222
222
  }
223
223
 
224
224
  const oDialog = this.getAggregation("_container");
@@ -237,6 +237,10 @@ sap.ui.define([
237
237
  ManagedObjectModel = aModules[2];
238
238
  MLibrary = aModules[3];
239
239
 
240
+ if (this.isDestroyStarted()) {
241
+ return null;
242
+ }
243
+
240
244
  const { ButtonType } = MLibrary;
241
245
 
242
246
  if (!this._oResourceBundle) {
@@ -478,6 +482,10 @@ sap.ui.define([
478
482
  const Item = aModules[1];
479
483
  const JSONModel = aModules[2];
480
484
 
485
+ if (this.isDestroyStarted()) {
486
+ return null;
487
+ }
488
+
481
489
  if (!this._oGroupSelectModel) {
482
490
  this._oGroupSelectModel = new JSONModel();
483
491
  }
@@ -518,6 +526,10 @@ sap.ui.define([
518
526
  IconTabFilter = aModules[1];
519
527
  const { IconTabHeaderMode } = MLibrary;
520
528
 
529
+ if (this.isDestroyStarted()) {
530
+ return null;
531
+ }
532
+
521
533
  this._oIconTabBar = new IconTabBar(this.getId() + "-ITB", {
522
534
  expandable: false,
523
535
  upperCase: false,
@@ -588,6 +600,10 @@ sap.ui.define([
588
600
  const { BackgroundDesign } = MLibrary;
589
601
  const { ButtonType } = MLibrary;
590
602
 
603
+ if (this.isDestroyStarted()) {
604
+ return null;
605
+ }
606
+
591
607
  this.oTokenizerPanel = new Panel(this.getId() + "-TokenPanel", {
592
608
  backgroundDesign: BackgroundDesign.Transparent,
593
609
  expanded: true,
@@ -858,27 +874,30 @@ sap.ui.define([
858
874
  }
859
875
 
860
876
  return this._retrievePromise("open").then(() => {
861
- oNextContent.onShow(bInitial);
862
-
863
- if (bCollectiveSearchChange) {
864
- const oNextDisplayContent = oNextContent.getDisplayContent();
865
- const oEventDelegate = {
866
- onAfterRendering: () => {
867
- this._oGroupSelect.focus();
868
- oNextDisplayContent.removeEventDelegate(oEventDelegate);
869
- }
870
- };
871
- oNextDisplayContent?.addEventDelegate(oEventDelegate);
872
- }
877
+ return oNextContent.onShow(bInitial).then(() => {
878
+ if (bCollectiveSearchChange) {
879
+ const oNextDisplayContent = oNextContent.getDisplayContent();
880
+ const oEventDelegate = {
881
+ onAfterRendering: () => {
882
+ this._oGroupSelect.focus();
883
+ oNextDisplayContent.removeEventDelegate(oEventDelegate);
884
+ }
885
+ };
886
+ oNextDisplayContent?.addEventDelegate(oEventDelegate);
887
+ }
873
888
 
874
- return oNextContent;
889
+ return oNextContent;
890
+ });
875
891
  });
876
892
  });
877
893
  };
878
894
 
879
- Dialog.prototype.closeContainer = function() {
895
+ Dialog.prototype.closeContainer = function(bDoNotRestoreFocus) { // As focused control cannot be changed behind Dialog a preventing to restore the Focus is not needed
880
896
  const oContainer = this.getAggregation("_container");
881
897
  if (oContainer) {
898
+ if (bDoNotRestoreFocus) {
899
+ oContainer.oPopup._oPreviousFocus = null; // TODO - find real solution
900
+ }
882
901
  oContainer.close();
883
902
 
884
903
  if (this.oTokenMultiInput) { // remove tokenizer binding to prevent updates if closed