@openui5/sap.ui.mdc 1.98.0 → 1.101.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 (267) hide show
  1. package/THIRDPARTY.txt +6 -6
  2. package/package.json +4 -4
  3. package/src/sap/ui/mdc/.library +1 -1
  4. package/src/sap/ui/mdc/ActionToolbar.js +6 -3
  5. package/src/sap/ui/mdc/AggregationBaseDelegate.js +1 -1
  6. package/src/sap/ui/mdc/Chart.js +186 -102
  7. package/src/sap/ui/mdc/ChartDelegate.js +85 -30
  8. package/src/sap/ui/mdc/ChartRenderer.js +1 -1
  9. package/src/sap/ui/mdc/Control.js +11 -6
  10. package/src/sap/ui/mdc/Element.js +10 -6
  11. package/src/sap/ui/mdc/Field.js +19 -4
  12. package/src/sap/ui/mdc/FilterBar.js +1 -1
  13. package/src/sap/ui/mdc/FilterBarDelegate.js +26 -0
  14. package/src/sap/ui/mdc/FilterField.js +41 -3
  15. package/src/sap/ui/mdc/Link.js +22 -4
  16. package/src/sap/ui/mdc/LinkDelegate.js +9 -7
  17. package/src/sap/ui/mdc/MultiValueField.js +30 -6
  18. package/src/sap/ui/mdc/Table.js +332 -316
  19. package/src/sap/ui/mdc/TableDelegate.js +146 -31
  20. package/src/sap/ui/mdc/ValueHelp.js +136 -624
  21. package/src/sap/ui/mdc/ValueHelpDelegate.js +154 -7
  22. package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +2 -2
  23. package/src/sap/ui/mdc/actiontoolbar/ActionToolbarActionRenderer.js +1 -1
  24. package/src/sap/ui/mdc/chart/ChartSelectionDetails.js +1 -1
  25. package/src/sap/ui/mdc/chart/ChartToolbar.js +56 -11
  26. package/src/sap/ui/mdc/chart/ChartTypeButton.js +24 -10
  27. package/src/sap/ui/mdc/chart/DrillBreadcrumbs.js +9 -7
  28. package/src/sap/ui/mdc/chart/DrillStackHandler.js +6 -6
  29. package/src/sap/ui/mdc/chart/PropertyHelper.js +1 -1
  30. package/src/sap/ui/mdc/condition/Condition.js +14 -9
  31. package/src/sap/ui/mdc/condition/ConditionConverter.js +58 -6
  32. package/src/sap/ui/mdc/condition/ConditionModel.js +1 -1
  33. package/src/sap/ui/mdc/condition/FilterConverter.js +4 -2
  34. package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +393 -68
  35. package/src/sap/ui/mdc/condition/Operator.js +14 -2
  36. package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +78 -24
  37. package/src/sap/ui/mdc/condition/RangeOperator.js +5 -5
  38. package/src/sap/ui/mdc/designtime/Util.js +63 -0
  39. package/src/sap/ui/mdc/designtime/actiontoolbar/ActionToolbar.designtime.js +23 -30
  40. package/src/sap/ui/mdc/designtime/chart/Chart.designtime.js +6 -0
  41. package/src/sap/ui/mdc/designtime/filterbar/FilterBar.designtime.js +3 -1
  42. package/src/sap/ui/mdc/designtime/link/PanelItem.designtime.js +3 -1
  43. package/src/sap/ui/mdc/designtime/table/Table.designtime.js +36 -9
  44. package/src/sap/ui/mdc/enum/PropagationReason.js +43 -0
  45. package/src/sap/ui/mdc/field/BoolFieldHelp.js +1 -1
  46. package/src/sap/ui/mdc/field/ConditionFieldHelp.js +1 -1
  47. package/src/sap/ui/mdc/field/ConditionType.js +44 -13
  48. package/src/sap/ui/mdc/field/ConditionsType.js +3 -1
  49. package/src/sap/ui/mdc/field/CustomFieldHelp.js +1 -1
  50. package/src/sap/ui/mdc/field/CustomFieldInfo.js +1 -1
  51. package/src/sap/ui/mdc/field/DefineConditionPanel.js +31 -9
  52. package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +76 -19
  53. package/src/sap/ui/mdc/field/FieldBase.js +69 -14
  54. package/src/sap/ui/mdc/field/FieldBaseDelegate.js +41 -19
  55. package/src/sap/ui/mdc/field/FieldHelpBase.js +2 -2
  56. package/src/sap/ui/mdc/field/FieldInfoBase.js +24 -10
  57. package/src/sap/ui/mdc/field/FieldInput.js +1 -1
  58. package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +1 -1
  59. package/src/sap/ui/mdc/field/FieldMultiInput.js +1 -1
  60. package/src/sap/ui/mdc/field/FieldValueHelp.js +9 -4
  61. package/src/sap/ui/mdc/field/FieldValueHelpContentWrapperBase.js +1 -1
  62. package/src/sap/ui/mdc/field/FieldValueHelpDelegate.js +1 -1
  63. package/src/sap/ui/mdc/field/FieldValueHelpMTableWrapper.js +5 -4
  64. package/src/sap/ui/mdc/field/FieldValueHelpMdcTableWrapper.js +6 -4
  65. package/src/sap/ui/mdc/field/FieldValueHelpTableWrapperBase.js +6 -3
  66. package/src/sap/ui/mdc/field/FieldValueHelpUITableWrapper.js +7 -7
  67. package/src/sap/ui/mdc/field/InParameter.js +1 -1
  68. package/src/sap/ui/mdc/field/ListFieldHelp.js +1 -1
  69. package/src/sap/ui/mdc/field/ListFieldHelpItem.js +1 -1
  70. package/src/sap/ui/mdc/field/MultiValueFieldItem.js +1 -1
  71. package/src/sap/ui/mdc/field/OutParameter.js +1 -1
  72. package/src/sap/ui/mdc/field/TokenDisplay.js +70 -0
  73. package/src/sap/ui/mdc/field/TokenDisplayRenderer.js +24 -0
  74. package/src/sap/ui/mdc/field/TokenizerDisplay.js +80 -0
  75. package/src/sap/ui/mdc/field/TokenizerDisplayRenderer.js +69 -0
  76. package/src/sap/ui/mdc/field/ValueHelpPanel.js +1 -1
  77. package/src/sap/ui/mdc/field/content/ContentFactory.js +10 -6
  78. package/src/sap/ui/mdc/field/content/DateContent.js +27 -19
  79. package/src/sap/ui/mdc/field/content/DateTimeContent.js +0 -6
  80. package/src/sap/ui/mdc/field/content/DefaultContent.js +35 -13
  81. package/src/sap/ui/mdc/field/content/LinkContent.js +1 -1
  82. package/src/sap/ui/mdc/filterbar/FilterBarBase.js +137 -216
  83. package/src/sap/ui/mdc/filterbar/FilterBarBaseRenderer.js +1 -1
  84. package/src/sap/ui/mdc/filterbar/IFilterContainer.js +5 -0
  85. package/src/sap/ui/mdc/filterbar/PropertyHelper.js +27 -2
  86. package/src/sap/ui/mdc/filterbar/aligned/FilterContainer.js +1 -0
  87. package/src/sap/ui/mdc/filterbar/aligned/FilterItemLayout.js +1 -0
  88. package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +144 -64
  89. package/src/sap/ui/mdc/filterbar/p13n/FilterColumnLayout.js +2 -2
  90. package/src/sap/ui/mdc/filterbar/p13n/GroupContainer.js +7 -3
  91. package/src/sap/ui/mdc/filterbar/p13n/TableContainer.js +52 -14
  92. package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +73 -23
  93. package/src/sap/ui/mdc/filterbar/vh/FilterContainer.js +1 -1
  94. package/src/sap/ui/mdc/flexibility/AggregationConfigFlex.js +48 -31
  95. package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +7 -42
  96. package/src/sap/ui/mdc/flexibility/ChartItemFlex.js +36 -0
  97. package/src/sap/ui/mdc/flexibility/ChartTypeFlex.js +54 -0
  98. package/src/sap/ui/mdc/flexibility/ConditionFlex.js +49 -12
  99. package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +1 -1
  100. package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +1 -1
  101. package/src/sap/ui/mdc/flexibility/ItemBaseFlex.js +0 -1
  102. package/src/sap/ui/mdc/flexibility/PropertyInfoFlex.js +2 -85
  103. package/src/sap/ui/mdc/flp/FlpLinkDelegate.js +5 -5
  104. package/src/sap/ui/mdc/library.js +41 -30
  105. package/src/sap/ui/mdc/link/ContactDetails.js +107 -23
  106. package/src/sap/ui/mdc/link/ContactDetailsAddressItem.js +1 -1
  107. package/src/sap/ui/mdc/link/ContactDetailsEmailItem.js +1 -1
  108. package/src/sap/ui/mdc/link/ContactDetailsItem.js +1 -1
  109. package/src/sap/ui/mdc/link/ContactDetailsPhoneItem.js +1 -1
  110. package/src/sap/ui/mdc/link/ContactDetailsRenderer.js +26 -0
  111. package/src/sap/ui/mdc/link/Factory.js +1 -1
  112. package/src/sap/ui/mdc/link/FakeFlpConnector.js +1 -1
  113. package/src/sap/ui/mdc/link/LinkItem.js +1 -1
  114. package/src/sap/ui/mdc/link/Log.js +1 -1
  115. package/src/sap/ui/mdc/link/Panel.js +205 -29
  116. package/src/sap/ui/mdc/link/PanelItem.js +1 -1
  117. package/src/sap/ui/mdc/link/PanelRenderer.js +26 -0
  118. package/src/sap/ui/mdc/link/SemanticObjectMapping.js +1 -1
  119. package/src/sap/ui/mdc/link/SemanticObjectMappingItem.js +1 -1
  120. package/src/sap/ui/mdc/link/SemanticObjectUnavailableAction.js +1 -1
  121. package/src/sap/ui/mdc/messagebundle.properties +59 -6
  122. package/src/sap/ui/mdc/messagebundle_ar.properties +40 -6
  123. package/src/sap/ui/mdc/messagebundle_bg.properties +58 -24
  124. package/src/sap/ui/mdc/messagebundle_ca.properties +40 -6
  125. package/src/sap/ui/mdc/messagebundle_cs.properties +40 -6
  126. package/src/sap/ui/mdc/messagebundle_cy.properties +40 -6
  127. package/src/sap/ui/mdc/messagebundle_da.properties +40 -6
  128. package/src/sap/ui/mdc/messagebundle_de.properties +40 -6
  129. package/src/sap/ui/mdc/messagebundle_el.properties +39 -5
  130. package/src/sap/ui/mdc/messagebundle_en.properties +40 -6
  131. package/src/sap/ui/mdc/messagebundle_en_GB.properties +40 -6
  132. package/src/sap/ui/mdc/messagebundle_en_US_sappsd.properties +40 -6
  133. package/src/sap/ui/mdc/messagebundle_en_US_saprigi.properties +68 -9
  134. package/src/sap/ui/mdc/messagebundle_en_US_saptrc.properties +41 -7
  135. package/src/sap/ui/mdc/messagebundle_es.properties +40 -6
  136. package/src/sap/ui/mdc/messagebundle_es_MX.properties +41 -7
  137. package/src/sap/ui/mdc/messagebundle_et.properties +40 -6
  138. package/src/sap/ui/mdc/messagebundle_fi.properties +40 -6
  139. package/src/sap/ui/mdc/messagebundle_fr.properties +41 -7
  140. package/src/sap/ui/mdc/messagebundle_fr_CA.properties +40 -6
  141. package/src/sap/ui/mdc/messagebundle_hi.properties +40 -6
  142. package/src/sap/ui/mdc/messagebundle_hr.properties +40 -6
  143. package/src/sap/ui/mdc/messagebundle_hu.properties +40 -6
  144. package/src/sap/ui/mdc/messagebundle_id.properties +40 -6
  145. package/src/sap/ui/mdc/messagebundle_it.properties +41 -7
  146. package/src/sap/ui/mdc/messagebundle_iw.properties +39 -5
  147. package/src/sap/ui/mdc/messagebundle_ja.properties +41 -7
  148. package/src/sap/ui/mdc/messagebundle_kk.properties +40 -6
  149. package/src/sap/ui/mdc/messagebundle_ko.properties +39 -5
  150. package/src/sap/ui/mdc/messagebundle_lt.properties +40 -6
  151. package/src/sap/ui/mdc/messagebundle_lv.properties +44 -10
  152. package/src/sap/ui/mdc/messagebundle_ms.properties +40 -6
  153. package/src/sap/ui/mdc/messagebundle_nl.properties +40 -6
  154. package/src/sap/ui/mdc/messagebundle_no.properties +40 -6
  155. package/src/sap/ui/mdc/messagebundle_pl.properties +40 -6
  156. package/src/sap/ui/mdc/messagebundle_pt.properties +41 -7
  157. package/src/sap/ui/mdc/messagebundle_pt_PT.properties +40 -6
  158. package/src/sap/ui/mdc/messagebundle_ro.properties +40 -6
  159. package/src/sap/ui/mdc/messagebundle_ru.properties +40 -6
  160. package/src/sap/ui/mdc/messagebundle_sh.properties +43 -9
  161. package/src/sap/ui/mdc/messagebundle_sk.properties +40 -6
  162. package/src/sap/ui/mdc/messagebundle_sl.properties +41 -7
  163. package/src/sap/ui/mdc/messagebundle_sv.properties +41 -7
  164. package/src/sap/ui/mdc/messagebundle_th.properties +43 -9
  165. package/src/sap/ui/mdc/messagebundle_tr.properties +41 -7
  166. package/src/sap/ui/mdc/messagebundle_uk.properties +43 -9
  167. package/src/sap/ui/mdc/messagebundle_vi.properties +40 -6
  168. package/src/sap/ui/mdc/messagebundle_zh_CN.properties +40 -6
  169. package/src/sap/ui/mdc/messagebundle_zh_TW.properties +40 -6
  170. package/src/sap/ui/mdc/mixin/AdaptationMixin.js +24 -15
  171. package/src/sap/ui/mdc/mixin/DelegateMixin.js +1 -141
  172. package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +1 -9
  173. package/src/sap/ui/mdc/mixin/PromiseMixin.js +1 -1
  174. package/src/sap/ui/mdc/mixin/PropertyHelperMixin.js +354 -0
  175. package/src/sap/ui/mdc/odata/TypeUtil.js +1 -1
  176. package/src/sap/ui/mdc/odata/v4/ChartPropertyHelper.js +70 -3
  177. package/src/sap/ui/mdc/odata/v4/FieldBaseDelegate.js +8 -6
  178. package/src/sap/ui/mdc/odata/v4/FilterBarDelegate.js +116 -20
  179. package/src/sap/ui/mdc/odata/v4/ODataMetaModelUtil.js +2 -2
  180. package/src/sap/ui/mdc/odata/v4/TableDelegate.js +32 -69
  181. package/src/sap/ui/mdc/odata/v4/TypeUtil.js +2 -4
  182. package/src/sap/ui/mdc/odata/v4/ValueHelpDelegate.js +65 -5
  183. package/src/sap/ui/mdc/odata/v4/vizChart/ChartDelegate.js +412 -326
  184. package/src/sap/ui/mdc/p13n/AdaptationProvider.js +1 -1
  185. package/src/sap/ui/mdc/p13n/Engine.js +169 -66
  186. package/src/sap/ui/mdc/p13n/FlexUtil.js +26 -19
  187. package/src/sap/ui/mdc/p13n/P13nBuilder.js +6 -6
  188. package/src/sap/ui/mdc/p13n/PropertyHelper.js +2 -2
  189. package/src/sap/ui/mdc/p13n/StateUtil.js +34 -51
  190. package/src/sap/ui/mdc/p13n/UIManager.js +21 -14
  191. package/src/sap/ui/mdc/p13n/modification/ModificationHandler.js +0 -174
  192. package/src/sap/ui/mdc/p13n/modules/DefaultProviderRegistry.js +2 -2
  193. package/src/sap/ui/mdc/p13n/modules/xConfigAPI.js +219 -0
  194. package/src/sap/ui/mdc/p13n/panels/ActionToolbarPanel.js +6 -6
  195. package/src/sap/ui/mdc/p13n/panels/AdaptFiltersPanel.js +49 -27
  196. package/src/sap/ui/mdc/p13n/panels/ChartItemPanel.js +76 -16
  197. package/src/sap/ui/mdc/p13n/panels/FilterPanel.js +136 -0
  198. package/src/sap/ui/mdc/p13n/panels/GroupView.js +53 -28
  199. package/src/sap/ui/mdc/p13n/panels/LinkSelectionPanel.js +54 -18
  200. package/src/sap/ui/mdc/p13n/subcontroller/ActionToolbarController.js +4 -7
  201. package/src/sap/ui/mdc/p13n/subcontroller/AdaptFiltersController.js +1 -2
  202. package/src/sap/ui/mdc/p13n/subcontroller/AggregateController.js +2 -2
  203. package/src/sap/ui/mdc/p13n/subcontroller/BaseController.js +30 -2
  204. package/src/sap/ui/mdc/p13n/subcontroller/ChartTypeController.js +46 -0
  205. package/src/sap/ui/mdc/p13n/subcontroller/ColumnWidthController.js +37 -6
  206. package/src/sap/ui/mdc/p13n/subcontroller/FilterController.js +40 -12
  207. package/src/sap/ui/mdc/p13n/subcontroller/GroupController.js +9 -2
  208. package/src/sap/ui/mdc/p13n/subcontroller/LinkPanelController.js +1 -0
  209. package/src/sap/ui/mdc/p13n/subcontroller/SortController.js +4 -4
  210. package/src/sap/ui/mdc/table/Column.js +271 -132
  211. package/src/sap/ui/mdc/table/CreationRow.js +1 -1
  212. package/src/sap/ui/mdc/table/GridTableType.js +75 -27
  213. package/src/sap/ui/mdc/table/PropertyHelper.js +71 -95
  214. package/src/sap/ui/mdc/table/ResponsiveTableType.js +121 -40
  215. package/src/sap/ui/mdc/table/RowActionItem.js +119 -0
  216. package/src/sap/ui/mdc/table/RowSettings.js +42 -1
  217. package/src/sap/ui/mdc/table/TableSettings.js +10 -22
  218. package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +2 -2
  219. package/src/sap/ui/mdc/table/menu/Item.js +78 -0
  220. package/src/sap/ui/mdc/table/menu/ItemContainer.js +60 -0
  221. package/src/sap/ui/mdc/table/menu/QuickActionContainer.js +151 -0
  222. package/src/sap/ui/mdc/themes/base/Chart.less +6 -0
  223. package/src/sap/ui/mdc/themes/base/TokenDisplay.less +89 -0
  224. package/src/sap/ui/mdc/themes/base/TokenizerDisplay.less +90 -0
  225. package/src/sap/ui/mdc/themes/base/ValueHelpDialog.less +4 -3
  226. package/src/sap/ui/mdc/themes/base/library.source.less +2 -0
  227. package/src/sap/ui/mdc/ui/Container.js +0 -240
  228. package/src/sap/ui/mdc/util/DateUtil.js +32 -7
  229. package/src/sap/ui/mdc/util/FilterUtil.js +2 -2
  230. package/src/sap/ui/mdc/util/FormatUtil.js +2 -2
  231. package/src/sap/ui/mdc/util/IdentifierUtil.js +7 -7
  232. package/src/sap/ui/mdc/util/PromiseCache.js +6 -2
  233. package/src/sap/ui/mdc/util/PropertyHelper.js +205 -76
  234. package/src/sap/ui/mdc/util/TypeUtil.js +1 -1
  235. package/src/sap/ui/mdc/valuehelp/Dialog.js +234 -44
  236. package/src/sap/ui/mdc/valuehelp/Popover.js +7 -4
  237. package/src/sap/ui/mdc/valuehelp/base/Container.js +63 -48
  238. package/src/sap/ui/mdc/valuehelp/base/Content.js +35 -16
  239. package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +1 -1
  240. package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +161 -284
  241. package/src/sap/ui/mdc/valuehelp/base/ListContent.js +4 -4
  242. package/src/sap/ui/mdc/valuehelp/content/Bool.js +4 -4
  243. package/src/sap/ui/mdc/valuehelp/content/Conditions.js +4 -4
  244. package/src/sap/ui/mdc/valuehelp/content/FixedList.js +16 -13
  245. package/src/sap/ui/mdc/valuehelp/content/ListCollection.js +205 -0
  246. package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +67 -66
  247. package/src/sap/ui/mdc/valuehelp/content/MTable.js +94 -185
  248. package/test/sap/ui/mdc/testutils/opa/TestLibrary.js +2 -1
  249. package/test/sap/ui/mdc/testutils/opa/chart/TestObjects.js +6 -5
  250. package/test/sap/ui/mdc/testutils/opa/chartNew/TestObjects.js +4 -5
  251. package/test/sap/ui/mdc/testutils/opa/filterbar/TestObjects.js +8 -9
  252. package/test/sap/ui/mdc/testutils/opa/link/TestObjects.js +8 -8
  253. package/test/sap/ui/mdc/testutils/opa/p13n/Actions.js +43 -27
  254. package/test/sap/ui/mdc/testutils/opa/valueHelp/Actions.js +54 -0
  255. package/test/sap/ui/mdc/testutils/opa/valueHelp/Assertions.js +5 -0
  256. package/test/sap/ui/mdc/testutils/opa/valueHelp/TestObjects.js +40 -0
  257. package/test/sap/ui/mdc/testutils/opa/valueHelp/Util.js +28 -0
  258. package/src/sap/ui/mdc/filterbar/vh/GenericFilterBarDelegate.js +0 -150
  259. package/src/sap/ui/mdc/link/ContactDetails.control.xml +0 -29
  260. package/src/sap/ui/mdc/link/Panel.control.xml +0 -36
  261. package/src/sap/ui/mdc/link/PanelListItem.control.xml +0 -24
  262. package/src/sap/ui/mdc/link/PanelListItem.js +0 -101
  263. package/src/sap/ui/mdc/p13n/panels/BasePanel.js +0 -721
  264. package/src/sap/ui/mdc/p13n/panels/ListView.js +0 -408
  265. package/src/sap/ui/mdc/p13n/panels/SelectionPanel.js +0 -92
  266. package/src/sap/ui/mdc/p13n/panels/SortPanel.js +0 -150
  267. package/src/sap/ui/mdc/ui/ContainerItem.js +0 -79
@@ -3,102 +3,19 @@
3
3
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
- sap.ui.define([
7
- 'sap/base/util/merge'
8
- ], function(merge) {
6
+ sap.ui.define([], function() {
9
7
  "use strict";
10
8
 
11
- /*
12
- * NOTE: As the PropertyInfoFlex is the central change handler for property info
13
- * processing, it might happen that the in/out handling of the ConditionModel
14
- * might cause multiple condition changes to be applied in parallel. Due to the
15
- * asynchronous modifier handling, we need to make sure to queue these changes in their
16
- * incoming order as parallel processing might falsely overwrite the 'filterConditions' or the 'propertyInfo'
17
- * properties causing the change handler to break the controls housekeeping and the last
18
- * parallel filter change would always win.
19
- *
20
- * Same processing is done in the ConditionFlex - handler.
21
- */
22
- var fnQueueChange = function(oControl, fTask) {
23
- var fCleanupPromiseQueue = function(pOriginalPromise) {
24
- if (oControl._pQueue === pOriginalPromise){
25
- delete oControl._pQueue;
26
- }
27
- };
28
-
29
- oControl._pQueue = oControl._pQueue instanceof Promise ? oControl._pQueue.then(fTask) : fTask();
30
- oControl._pQueue.then(fCleanupPromiseQueue.bind(null, oControl._pQueue));
31
-
32
- return oControl._pQueue;
33
- };
34
-
35
- var fAddFilterInfo = function(oChange, oChangeContent, oControl, mPropertyBag) {
36
-
37
- return fnQueueChange(oControl, function(){
38
- var oModifier = mPropertyBag.modifier;
39
-
40
- return oModifier.getProperty(oControl, "propertyInfo")
41
- .then(function(aPropertyInfo) {
42
-
43
- var aPropertiesInfo = merge([], aPropertyInfo);
44
- var nIdx = aPropertiesInfo.findIndex(function(oEntry) {
45
- return oEntry.name === oChangeContent.name;
46
- });
47
- if (nIdx < 0) {
48
- aPropertiesInfo.push({
49
- name: oChangeContent.name,
50
- dataType: oChangeContent.dataType,
51
- maxConditions: oChangeContent.maxConditions,
52
- constraints: oChangeContent.constraints,
53
- formatOptions: oChangeContent.formatOptions,
54
- required: oChangeContent.required,
55
- caseSensitive: oChangeContent.caseSensitive,
56
- display: oChangeContent.display
57
- });
58
-
59
- oModifier.setProperty(oControl, "propertyInfo", aPropertiesInfo);
60
-
61
- // Set revert data on the change
62
- oChange.setRevertData({ name: oChangeContent.name});
63
- }
64
- });
65
- });
66
- };
67
-
68
- var fRemoveFilterInfo = function(oChange, oChangeContent, oControl, mPropertyBag) {
69
-
70
- return fnQueueChange(oControl, function(){
71
- var oModifier = mPropertyBag.modifier;
72
-
73
- return oModifier.getProperty(oControl, "propertyInfo")
74
- .then(function(aPropertyInfos) {
75
- var aPropertiesInfo = merge([], aPropertyInfos);
76
- var nIdx = aPropertiesInfo.findIndex(function(oEntry) {
77
- return oEntry.name === oChangeContent.name;
78
- });
79
- if (nIdx >= 0) {
80
- aPropertiesInfo.splice(nIdx, 1);
81
- oModifier.setProperty(oControl, "propertyInfo", aPropertiesInfo);
82
- }
83
- });
84
- });
85
- };
86
-
87
-
9
+ //obsolete
88
10
  var oPropertyInfoFlex = {};
89
11
 
90
12
  oPropertyInfoFlex.addPropertyInfo = {
91
13
  "changeHandler": {
92
14
  applyChange: function(oChange, oControl, mPropertyBag) {
93
- return fAddFilterInfo(oChange, oChange.getContent(), oControl, mPropertyBag);
94
15
  },
95
16
  completeChangeContent: function(oChange, mChangeSpecificInfo, mPropertyBag) {
96
- // TODO
97
17
  },
98
18
  revertChange: function(oChange, oControl, mPropertyBag) {
99
- return fRemoveFilterInfo(oChange, oChange.getRevertData(), oControl, mPropertyBag).then(function() {
100
- oChange.resetRevertData();
101
- });
102
19
  }
103
20
  },
104
21
  "layers": {
@@ -58,7 +58,7 @@ sap.ui.define([
58
58
  * Calculates the type of link that should be displayed
59
59
  * @param {Object} oPayload - The Payload of the Link given by the application
60
60
  * @returns {Promise} once resolved an object oLinkType is returned
61
- * @returns {Number} oLinkType.type - 0 (Text) | 1 (Direct Link) | 2 (Popup)
61
+ * @returns {int} oLinkType.type - 0 (Text) | 1 (Direct Link) | 2 (Popup)
62
62
  * @returns {sap.ui.mdc.link.LinkItem} oLinkType.directLink - instance of {@link sap.ui.mdc.link.LinkItem} which should be used for direct navigation
63
63
  * In case oLinkType.type is 0 the Link will get rendered as a text
64
64
  * In case oLinkType.type is 1 the Link will get rendered as a Link but it won't have a Popover - it will trigger a direct navigation on press
@@ -216,7 +216,7 @@ sap.ui.define([
216
216
  * Retrieves the actual targets for the navigation of the link. This uses the UShell loaded by the {@link sap.ui.mdc.link.Factory} to retrieve
217
217
  * the navigation targets from the FLP service.
218
218
  * @private
219
- * @param {String} sAppStateKey key of the appstate (not used yet)
219
+ * @param {string} sAppStateKey key of the appstate (not used yet)
220
220
  * @param {Object} oSemanticAttributes calculated by _calculateSemanticAttributes
221
221
  * @param {Object} oPayload given by the application
222
222
  * @param {Object} oInfoLog of type {@link sap.ui.mdc.link.Log} - the corresponding InfoLog of the Link
@@ -345,7 +345,7 @@ sap.ui.define([
345
345
  * This will return an array of the SemanticObjects as strings given by the payload.
346
346
  * @private
347
347
  * @param {Object} oPayload defined by the application
348
- * @returns {String[]} containing SemanticObjects based of the payload
348
+ * @returns {string[]} containing SemanticObjects based of the payload
349
349
  */
350
350
  FlpLinkDelegate._getSemanticObjects = function(oPayload) {
351
351
  return oPayload.semanticObjects ? oPayload.semanticObjects : [];
@@ -403,7 +403,7 @@ sap.ui.define([
403
403
  * Converts a given array of SemanticObjectMapping into a Map containing SemanticObjects as Keys and a Map of it's corresponding SemanticObjectMappings as values.
404
404
  * @private
405
405
  * @param {Object[]} aSemanticObjectMappings of type {@link sap.ui.mdc.link.SemanticObjectMapping}
406
- * @returns {Map<String, Map<String, String>>} mSemanticObjectMappings
406
+ * @returns {Object<string, Object<string, string>>} mSemanticObjectMappings
407
407
  */
408
408
  FlpLinkDelegate._convertSemanticObjectMapping = function(aSemanticObjectMappings) {
409
409
  if (!aSemanticObjectMappings.length) {
@@ -426,7 +426,7 @@ sap.ui.define([
426
426
  * Converts a given array of SemanticObjectUnavailableActions into a Map containing SemanticObjects as Keys and a Map of it's corresponding SemanticObjectUnavailableActions as values.
427
427
  * @private
428
428
  * @param {Object[]} aSemanticObjectUnavailableActions of type {@link sap.ui.mdc.link.SemanticObjectUnavailableAction}
429
- * @returns {Map<String, Map<String, String>>} mSemanticObjectUnavailableActions
429
+ * @returns {Object<string, Object<string, string>>} mSemanticObjectUnavailableActions
430
430
  */
431
431
  FlpLinkDelegate._convertSemanticObjectUnavailableAction = function(aSemanticObjectUnavailableActions) {
432
432
  if (!aSemanticObjectUnavailableActions.length) {
@@ -7,15 +7,30 @@
7
7
  /**
8
8
  * Initialization Code and shared classes of library sap.ui.mdc.
9
9
  */
10
- sap.ui.define([
10
+ sap.ui.define([
11
11
  "sap/ui/core/Core", // provides sap.ui.getCore()
12
12
  "sap/ui/core/library", // library dependency
13
13
  "sap/m/library" // library dependency
14
14
  ], function () {
15
15
  "use strict";
16
16
 
17
- sap.ui.getCore().initLibrary({
18
- version: "1.98.0",
17
+ /**
18
+ * The SAPUI5 library that contains the metadata-driven controls and other entities.
19
+ *
20
+ * SAP Internal
21
+ * This library is restricted to use by SAP internal projects only.
22
+ *
23
+ * @namespace
24
+ * @alias sap.ui.mdc
25
+ * @author SAP SE
26
+ * @version 1.101.0
27
+ * @since 1.80
28
+ * @private
29
+ * @ui5-restricted sap.fe
30
+ * @experimental As of version 1.54 Disclaimer: Usage Restrictions: The components of this library are under development and documented as private. Their APIs are subject to change and should not be used in productive scenarios without further agreement. A general availability of sap.ui.mdc will be announced via the usual channels.
31
+ */
32
+ var thisLib = sap.ui.getCore().initLibrary({
33
+ version: "1.101.0",
19
34
  name: "sap.ui.mdc",
20
35
  dependencies: ["sap.ui.core", "sap.m"],
21
36
  designtime: "sap/ui/mdc/designtime/library.designtime",
@@ -52,7 +67,6 @@ sap.ui.define([
52
67
  "sap.ui.mdc.MultiValueField",
53
68
  "sap.ui.mdc.link.Panel",
54
69
  "sap.ui.mdc.link.ContactDetails",
55
- "sap.ui.mdc.ui.Container",
56
70
  "sap.ui.mdc.Chart",
57
71
  "sap.ui.mdc.p13n.PersistenceProvider"
58
72
  ],
@@ -84,6 +98,7 @@ sap.ui.define([
84
98
  "sap.ui.mdc.field.BoolFieldHelp",
85
99
  "sap.ui.mdc.field.ConditionFieldHelp",
86
100
  "sap.ui.mdc.filterbar.aligned.FilterItemLayout",
101
+ "sap.ui.mdc.Link",
87
102
  "sap.ui.mdc.link.ContactDetailsAddressItem",
88
103
  "sap.ui.mdc.link.ContactDetailsEmailItem",
89
104
  "sap.ui.mdc.link.ContactDetailsItem",
@@ -95,7 +110,6 @@ sap.ui.define([
95
110
  "sap.ui.mdc.link.SemanticObjectMappingItem",
96
111
  "sap.ui.mdc.field.InParameter",
97
112
  "sap.ui.mdc.field.OutParameter",
98
- "sap.ui.mdc.ui.ContainerItem",
99
113
  "sap.ui.mdc.field.MultiValueFieldItem",
100
114
  "sap.ui.mdc.ValueHelp",
101
115
  "sap.ui.mdc.valuehelp.Popover",
@@ -112,6 +126,7 @@ sap.ui.define([
112
126
  "sap.ui.mdc.Chart": "sap/ui/mdc/flexibility/Chart",
113
127
  "sap.ui.mdc.FilterBar": "sap/ui/mdc/flexibility/FilterBar",
114
128
  "sap.ui.mdc.filterbar.p13n.AdaptationFilterBar": "sap/ui/mdc/flexibility/FilterBar",
129
+ "sap.ui.mdc.filterbar.vh.FilterBar": "sap/ui/mdc/flexibility/FilterBar",
115
130
  "sap.ui.mdc.link.PanelItem": "sap/ui/mdc/flexibility/PanelItem",
116
131
  "sap.ui.mdc.link.Panel": "sap/ui/mdc/flexibility/Panel",
117
132
  "sap.ui.mdc.ActionToolbar": "sap/ui/mdc/flexibility/ActionToolbar",
@@ -122,30 +137,10 @@ sap.ui.define([
122
137
  noLibraryCSS: false
123
138
  });
124
139
 
125
- /* eslint-disable no-undef */
126
- /**
127
- * The SAPUI5 library that contains the metadata-driven controls and other entities.
128
- *
129
- * SAP Internal
130
- * This library is restricted to use by SAP internal projects only.
131
- *
132
- * @namespace
133
- * @alias sap.ui.mdc
134
- * @author SAP SE
135
- * @version 1.98.0
136
- * @since 1.80
137
- * @private
138
- * @ui5-restricted sap.fe
139
- * @experimental As of version 1.54 Disclaimer: Usage Restrictions: The components of this library are under development and documented as private. Their APIs are subject to change and should not be used in productive scenarios without further agreement. A general availability of sap.ui.mdc will be announced via the usual channels.
140
- */
141
- var thisLib = sap.ui.mdc;
142
- /* eslint-enable no-undef */
143
-
144
140
  /**
145
141
  *
146
142
  * Interface for valuehelp containers / contents supporting typeahead functionality
147
143
  *
148
- *
149
144
  * @since 1.95
150
145
  * @name sap.ui.mdc.valuehelp.ITypeaheadContent
151
146
  * @interface
@@ -694,7 +689,7 @@ sap.ui.define([
694
689
  * @type {sap.ui.mdc.valuehelp.ValueHelpItem}
695
690
  * @static
696
691
  * @constant
697
- * @typedef {Object} sap.ui.mdc.valuehelp.ValueHelpItem
692
+ * @typedef {object} sap.ui.mdc.valuehelp.ValueHelpItem
698
693
  * @property {any} key Key of the item
699
694
  * @property {string} description Description of the item
700
695
  * @property {object} [inParameters] In parameters of the item. For each field path a value is stored
@@ -977,12 +972,18 @@ sap.ui.define([
977
972
  * @public
978
973
  */
979
974
  Sort: "Sort",
980
- /**
975
+ /**
981
976
  * Chart type personalization is enabled.
982
977
  *
983
978
  * @public
984
979
  */
985
- Type: "Type"
980
+ Type: "Type",
981
+ /**
982
+ * Filter personalization is enabled.
983
+ *
984
+ * @public
985
+ */
986
+ Filter: "Filter"
986
987
  };
987
988
 
988
989
  /**
@@ -1156,9 +1157,11 @@ sap.ui.define([
1156
1157
  };
1157
1158
 
1158
1159
  /**
1159
- * Enumeration of the <code>multiSelectMode>/code> in <code>ListBase</code>.
1160
+ * Enumeration of the <code>multiSelectMode</code> in <code>ListBase</code>.
1160
1161
  * @enum {string}
1161
- * @public
1162
+ * @private
1163
+ * @ui5-restricted sap.ui.mdc
1164
+ * @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
1162
1165
  */
1163
1166
  thisLib.MultiSelectMode = {
1164
1167
  /**
@@ -1189,5 +1192,13 @@ sap.ui.define([
1189
1192
  * @private
1190
1193
  */
1191
1194
 
1195
+ /**
1196
+ * @namespace
1197
+ * @name sap.ui.mdc.mixin
1198
+ * @private
1199
+ * @experimental As of version 1.82.0
1200
+ * @ui5-restricted sap.ui.mdc
1201
+ */
1202
+
1192
1203
  return thisLib;
1193
1204
  });
@@ -4,7 +4,17 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- sap.ui.define(['sap/ui/core/XMLComposite', 'sap/m/Text', 'sap/m/Link', 'sap/m/Label'], function(XMLComposite, Text, Link, Label) {
7
+ sap.ui.define([
8
+ "sap/ui/core/Control",
9
+ "./ContactDetailsRenderer",
10
+ "sap/ui/core/Title",
11
+ "sap/m/VBox",
12
+ "sap/m/Text",
13
+ "sap/m/Link",
14
+ "sap/m/Label",
15
+ "sap/m/Image",
16
+ "sap/ui/layout/form/SimpleForm"
17
+ ], function(Control, ContactDetailsRenderer, Title, VBox, Text, Link, Label, Image, SimpleForm) {
8
18
  "use strict";
9
19
 
10
20
  /**
@@ -13,40 +23,114 @@ sap.ui.define(['sap/ui/core/XMLComposite', 'sap/m/Text', 'sap/m/Link', 'sap/m/La
13
23
  * @param {string} [sId] ID for the new control, generated automatically if no ID is given
14
24
  * @param {object} [mSettings] initial settings for the new control
15
25
  * @class The ContactDetails control is used to show additional information like for example 'contact details'.
16
- * @extends sap.ui.core.XMLComposite
26
+ * @extends sap.ui.core.Control
17
27
  * @author SAP SE
18
- * @version 1.98.0
28
+ * @version 1.101.0
19
29
  * @constructor
20
30
  * @private
21
31
  * @since 1.56.0
22
32
  * @alias sap.ui.mdc.link.ContactDetails
23
33
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
24
34
  */
25
- var ContactDetails = XMLComposite.extend("sap.ui.mdc.link.ContactDetails", /** @lends sap.ui.mdc.link.ContactDetails.prototype */
26
- {
27
- metadata: {
28
- library: "sap.ui.mdc",
29
- defaultAggregation: "items",
30
- aggregations: {
31
- items: {
32
- type: "sap.ui.mdc.link.ContactDetailsItem",
33
- multiple: true,
34
- singularName: "item"
35
- }
35
+ var ContactDetails = Control.extend("sap.ui.mdc.link.ContactDetails", /** @lends sap.ui.mdc.link.ContactDetails.prototype */ {
36
+ metadata: {
37
+ library: "sap.ui.mdc",
38
+ defaultAggregation: "items",
39
+ aggregations: {
40
+ items: {
41
+ type: "sap.ui.mdc.link.ContactDetailsItem",
42
+ multiple: true,
43
+ singularName: "item"
44
+ },
45
+ _content: {
46
+ type: "sap.m.VBox",
47
+ visibility: "hidden",
48
+ multiple: false
36
49
  }
37
50
  }
38
- });
51
+ },
52
+ renderer: ContactDetailsRenderer
53
+ });
39
54
 
55
+ var oRB = sap.ui.getCore().getLibraryResourceBundle("sap.ui.mdc");
40
56
  ContactDetails.prototype.applySettings = function() {
41
- XMLComposite.prototype.applySettings.apply(this, arguments);
57
+ Control.prototype.applySettings.apply(this, arguments);
42
58
 
43
- var oRB = sap.ui.getCore().getLibraryResourceBundle("sap.ui.mdc");
44
- var oVBox = this._getCompositeAggregation();
45
- oVBox.getItems().forEach(function(oSimpleForm, iIndex) {
46
- this._addEmailsToSimpleForm(this.getItems()[iIndex], oSimpleForm, oRB);
47
- this._addPhonesToSimpleForm(this.getItems()[iIndex], oSimpleForm, oRB);
48
- this._addAddressesToSimpleForm(this.getItems()[iIndex], oSimpleForm, oRB);
49
- }, this);
59
+ this._createContent();
60
+ };
61
+ ContactDetails.prototype._createContent = function() {
62
+ var aSimpleForms = [];
63
+ this.getItems().forEach(function(oContactDetailsItem) {
64
+ var oTitle = new Title({
65
+ text: oContactDetailsItem.getSectionTitle()
66
+ });
67
+ var oImage = new Image({
68
+ src: oContactDetailsItem.getPhoto(),
69
+ visible: !!oContactDetailsItem.getPhoto(),
70
+ decorative: false,
71
+ width: "5rem",
72
+ height: "5rem"
73
+ });
74
+ var oLabelImage = new Label({
75
+ text: "",
76
+ labelFor: oImage,
77
+ visible: !!oContactDetailsItem.getPhoto()
78
+ });
79
+ var oTextName = new Text({
80
+ text: oContactDetailsItem.getFormattedName(),
81
+ visible: !!oContactDetailsItem.getFormattedName()
82
+ });
83
+ var oLabelName = new Label({
84
+ text: oRB.getText("info.POPOVER_CONTACT_SECTION_NAME"),
85
+ labelFor: oTextName,
86
+ visible: !!oContactDetailsItem.getFormattedName()
87
+ });
88
+ var oTextRole = new Text({
89
+ text: oContactDetailsItem.getRole(),
90
+ visible: !!oContactDetailsItem.getRole()
91
+ });
92
+ var oLabelRole = new Label({
93
+ text: oRB.getText("info.POPOVER_CONTACT_SECTION_ROLE"),
94
+ labelFor: oTextRole,
95
+ visible: !!oContactDetailsItem.getRole()
96
+ });
97
+ var oTextTitle = new Text({
98
+ text: oContactDetailsItem.getTitle(),
99
+ visible: !!oContactDetailsItem.getTitle()
100
+ });
101
+ var oLabelTitle = new Label({
102
+ text: oRB.getText("info.POPOVER_CONTACT_SECTION_JOBTITLE"),
103
+ labelFor: oTextTitle,
104
+ visible: !!oContactDetailsItem.getTitle()
105
+ });
106
+ var oTextOrg = new Text({
107
+ text: oContactDetailsItem.getOrg(),
108
+ visible: !!oContactDetailsItem.getOrg()
109
+ });
110
+ var oLabelOrg = new Label({
111
+ text: oRB.getText("info.POPOVER_CONTACT_SECTION_DEPARTMENT"),
112
+ labelFor: oTextOrg,
113
+ visible: !!oContactDetailsItem.getOrg()
114
+ });
115
+
116
+ var oSimpleForm = new SimpleForm({
117
+ editable: false,
118
+ layout: "ColumnLayout",
119
+ content: [
120
+ oTitle, oLabelImage, oImage, oLabelName, oTextName, oLabelRole, oTextRole, oLabelTitle, oTextTitle, oLabelOrg, oTextOrg
121
+ ]
122
+ });
123
+ this._addEmailsToSimpleForm(oContactDetailsItem, oSimpleForm, oRB);
124
+ this._addPhonesToSimpleForm(oContactDetailsItem, oSimpleForm, oRB);
125
+ this._addAddressesToSimpleForm(oContactDetailsItem, oSimpleForm, oRB);
126
+
127
+ aSimpleForms.push(oSimpleForm);
128
+ }.bind(this));
129
+
130
+ this.setAggregation("_content", new VBox({
131
+ //ariaLabelledBy: aSimpleForms.length ? aSimpleForms[0].getContent()[0] : undefined,
132
+ items: aSimpleForms
133
+ }));
50
134
  };
51
135
  ContactDetails.prototype._addEmailsToSimpleForm = function(oContactDetailsItem, oSimpleForm, oRB) {
52
136
  // Show email(s) annotated with 'preferred' on top (independent on type e.g. 'work' or 'home' etc) and then non 'preferred' email(s) below.
@@ -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.98.0
19
+ * @version 1.101.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.56.0
@@ -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.98.0
19
+ * @version 1.101.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.56.0
@@ -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.98.0
19
+ * @version 1.101.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.56.0
@@ -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.98.0
19
+ * @version 1.101.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.56.0
@@ -0,0 +1,26 @@
1
+ /*
2
+ * ! OpenUI5
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
+ * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
+ */
6
+ sap.ui.define([], function(VerticalLayoutRenderer) {
7
+ "use strict";
8
+
9
+ var ContactDetailsRenderer = {
10
+ apiVersion: 2
11
+ };
12
+
13
+ ContactDetailsRenderer.render = function(oRenderManager, oContactDetails) {
14
+ var oContent = oContactDetails.getAggregation("_content");
15
+
16
+ oRenderManager.openStart("div", oContactDetails);
17
+ oRenderManager.openEnd();
18
+
19
+ oRenderManager.renderControl(oContent);
20
+
21
+ oRenderManager.close("div");
22
+ };
23
+
24
+ return ContactDetailsRenderer;
25
+
26
+ });
@@ -11,7 +11,7 @@ sap.ui.define([], function() {
11
11
  * @namespace Factory to access services outside of sap.ui.mdc library like for example <code>ushell</code> services.
12
12
  * @name sap.ui.mdc.link.Factory
13
13
  * @author SAP SE
14
- * @version 1.98.0
14
+ * @version 1.101.0
15
15
  * @private
16
16
  * @since 1.54.0
17
17
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
@@ -13,7 +13,7 @@ sap.ui.define([
13
13
  * @namespace FakeFlpConnector.
14
14
  * @name sap.ui.mdc.link.FakeFlpConnector
15
15
  * @author SAP SE
16
- * @version 1.98.0
16
+ * @version 1.101.0
17
17
  * @private
18
18
  * @since 1.54.0
19
19
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @param {object} [mSettings] Initial settings for the new control
17
17
  * @class A <code>LinkItem</code> control is used in the {@link sap.ui.mdc.Link} control to provide a navigation target.
18
18
  * @extends sap.ui.core.Element
19
- * @version 1.98.0
19
+ * @version 1.101.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.58.0
@@ -214,7 +214,7 @@ sap.ui.define([
214
214
 
215
215
  /**
216
216
  * @private
217
- * @returns {String} Contains information of the InfoLog | "No logging data available"
217
+ * @returns {string} Contains information of the InfoLog | "No logging data available"
218
218
  */
219
219
  Log.prototype._getLogFormattedText = function() {
220
220
  return (!this.isEmpty()) ? "---------------------------------------------\nsap.ui.mdc.Link:\nBelow you can see detailed information regarding semantic attributes which have been calculated for one or more semantic objects defined in a Link control. Semantic attributes are used to create the URL parameters. Additionally you can see all links containing the URL parameters.\n" + this.getFormattedText() : "No logging data available";