@openui5/sap.ui.mdc 1.97.1 → 1.99.1

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 (263) hide show
  1. package/.reuse/dep5 +25 -30
  2. package/THIRDPARTY.txt +14 -21
  3. package/package.json +4 -4
  4. package/src/sap/ui/mdc/.library +1 -1
  5. package/src/sap/ui/mdc/ActionToolbar.js +6 -3
  6. package/src/sap/ui/mdc/AggregationBaseDelegate.js +2 -2
  7. package/src/sap/ui/mdc/BaseDelegate.js +1 -1
  8. package/src/sap/ui/mdc/Chart.js +1100 -1796
  9. package/src/sap/ui/mdc/ChartDelegate.js +429 -270
  10. package/src/sap/ui/mdc/ChartRenderer.js +73 -77
  11. package/src/sap/ui/mdc/Control.js +1 -1
  12. package/src/sap/ui/mdc/Element.js +1 -1
  13. package/src/sap/ui/mdc/Field.js +2 -2
  14. package/src/sap/ui/mdc/FilterBar.js +3 -2
  15. package/src/sap/ui/mdc/FilterField.js +11 -8
  16. package/src/sap/ui/mdc/Link.js +23 -4
  17. package/src/sap/ui/mdc/LinkDelegate.js +3 -3
  18. package/src/sap/ui/mdc/MultiValueField.js +20 -6
  19. package/src/sap/ui/mdc/Table.js +79 -64
  20. package/src/sap/ui/mdc/TableDelegate.js +40 -12
  21. package/src/sap/ui/mdc/ValueHelp.js +19 -9
  22. package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +2 -2
  23. package/src/sap/ui/mdc/{chartNew/ChartSelectionDetailsNew.js → chart/ChartSelectionDetails.js} +8 -8
  24. package/src/sap/ui/mdc/{chartNew/ChartToolbarNew.js → chart/ChartToolbar.js} +49 -13
  25. package/src/sap/ui/mdc/chart/ChartTypeButton.js +55 -54
  26. package/src/sap/ui/mdc/{chartNew/DrillBreadcrumbsNew.js → chart/DrillBreadcrumbs.js} +3 -3
  27. package/src/sap/ui/mdc/chart/DrillStackHandler.js +38 -249
  28. package/src/sap/ui/mdc/chart/Item.js +62 -92
  29. package/src/sap/ui/mdc/{chartNew/PropertyHelperNew.js → chart/PropertyHelper.js} +3 -3
  30. package/src/sap/ui/mdc/chart/SelectionDetailsActions.js +17 -21
  31. package/src/sap/ui/mdc/condition/Condition.js +1 -1
  32. package/src/sap/ui/mdc/condition/ConditionConverter.js +1 -1
  33. package/src/sap/ui/mdc/condition/ConditionModel.js +1 -1
  34. package/src/sap/ui/mdc/condition/FilterConverter.js +1 -1
  35. package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +256 -43
  36. package/src/sap/ui/mdc/condition/Operator.js +1 -1
  37. package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +1 -1
  38. package/src/sap/ui/mdc/condition/RangeOperator.js +1 -1
  39. package/src/sap/ui/mdc/designtime/chart/Chart.designtime.js +80 -5
  40. package/src/sap/ui/mdc/designtime/field/Field.designtime.js +81 -5
  41. package/src/sap/ui/mdc/designtime/filterbar/FilterBarBase.designtime.js +3 -0
  42. package/src/sap/ui/mdc/designtime/table/Table.designtime.js +60 -20
  43. package/src/sap/ui/mdc/field/BoolFieldHelp.js +1 -1
  44. package/src/sap/ui/mdc/field/ConditionFieldHelp.js +1 -1
  45. package/src/sap/ui/mdc/field/ConditionType.js +3 -3
  46. package/src/sap/ui/mdc/field/ConditionsType.js +1 -1
  47. package/src/sap/ui/mdc/field/CustomFieldHelp.js +1 -1
  48. package/src/sap/ui/mdc/field/CustomFieldInfo.js +1 -1
  49. package/src/sap/ui/mdc/field/DefineConditionPanel.js +75 -27
  50. package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +4 -4
  51. package/src/sap/ui/mdc/field/FieldBase.js +32 -6
  52. package/src/sap/ui/mdc/field/FieldBaseRenderer.js +0 -3
  53. package/src/sap/ui/mdc/field/FieldHelpBase.js +2 -2
  54. package/src/sap/ui/mdc/field/FieldInfoBase.js +23 -10
  55. package/src/sap/ui/mdc/field/FieldInput.js +1 -1
  56. package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +1 -1
  57. package/src/sap/ui/mdc/field/FieldMultiInput.js +1 -1
  58. package/src/sap/ui/mdc/field/FieldValueHelp.js +2 -2
  59. package/src/sap/ui/mdc/field/FieldValueHelpContentWrapperBase.js +1 -1
  60. package/src/sap/ui/mdc/field/FieldValueHelpMTableWrapper.js +1 -1
  61. package/src/sap/ui/mdc/field/FieldValueHelpMdcTableWrapper.js +2 -2
  62. package/src/sap/ui/mdc/field/FieldValueHelpTableWrapperBase.js +6 -3
  63. package/src/sap/ui/mdc/field/FieldValueHelpUITableWrapper.js +1 -1
  64. package/src/sap/ui/mdc/field/InParameter.js +1 -1
  65. package/src/sap/ui/mdc/field/ListFieldHelp.js +10 -2
  66. package/src/sap/ui/mdc/field/ListFieldHelpItem.js +1 -1
  67. package/src/sap/ui/mdc/field/MultiValueFieldItem.js +1 -1
  68. package/src/sap/ui/mdc/field/OutParameter.js +1 -1
  69. package/src/sap/ui/mdc/field/TokenDisplay.js +70 -0
  70. package/src/sap/ui/mdc/field/TokenDisplayRenderer.js +24 -0
  71. package/src/sap/ui/mdc/field/TokenizerDisplay.js +80 -0
  72. package/src/sap/ui/mdc/field/TokenizerDisplayRenderer.js +69 -0
  73. package/src/sap/ui/mdc/field/ValueHelpPanel.js +1 -1
  74. package/src/sap/ui/mdc/field/content/ContentFactory.js +5 -5
  75. package/src/sap/ui/mdc/field/content/DateContent.js +2 -2
  76. package/src/sap/ui/mdc/field/content/DefaultContent.js +35 -13
  77. package/src/sap/ui/mdc/field/content/LinkContent.js +1 -1
  78. package/src/sap/ui/mdc/filterbar/FilterBarBase.js +335 -126
  79. package/src/sap/ui/mdc/filterbar/FilterBarBaseRenderer.js +1 -1
  80. package/src/sap/ui/mdc/filterbar/PropertyHelper.js +1 -1
  81. package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +8 -2
  82. package/src/sap/ui/mdc/filterbar/vh/CollectiveSearchSelect.js +3 -1
  83. package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +7 -1
  84. package/src/sap/ui/mdc/filterbar/vh/GenericFilterBarDelegate.js +6 -6
  85. package/src/sap/ui/mdc/flexibility/AggregateFlex.js +2 -2
  86. package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +6 -4
  87. package/src/sap/ui/mdc/flexibility/ColumnFlex.js +1 -1
  88. package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +4 -3
  89. package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +1 -1
  90. package/src/sap/ui/mdc/flexibility/GroupFlex.js +1 -1
  91. package/src/sap/ui/mdc/flexibility/Panel.flexibility.js +9 -3
  92. package/src/sap/ui/mdc/flexibility/PropertyInfoFlex.js +110 -0
  93. package/src/sap/ui/mdc/flexibility/SortFlex.js +2 -2
  94. package/src/sap/ui/mdc/flp/FlpLinkDelegate.js +6 -6
  95. package/src/sap/ui/mdc/library.js +45 -42
  96. package/src/sap/ui/mdc/link/ContactDetails.js +1 -1
  97. package/src/sap/ui/mdc/link/ContactDetailsAddressItem.js +1 -1
  98. package/src/sap/ui/mdc/link/ContactDetailsEmailItem.js +1 -1
  99. package/src/sap/ui/mdc/link/ContactDetailsItem.js +1 -1
  100. package/src/sap/ui/mdc/link/ContactDetailsPhoneItem.js +1 -1
  101. package/src/sap/ui/mdc/link/Factory.js +2 -2
  102. package/src/sap/ui/mdc/link/FakeFlpConnector.js +1 -1
  103. package/src/sap/ui/mdc/link/LinkItem.js +1 -1
  104. package/src/sap/ui/mdc/link/Log.js +1 -1
  105. package/src/sap/ui/mdc/link/Panel.js +140 -177
  106. package/src/sap/ui/mdc/link/PanelItem.js +1 -1
  107. package/src/sap/ui/mdc/link/PanelListItem.js +1 -1
  108. package/src/sap/ui/mdc/link/SemanticObjectMapping.js +1 -1
  109. package/src/sap/ui/mdc/link/SemanticObjectMappingItem.js +1 -1
  110. package/src/sap/ui/mdc/link/SemanticObjectUnavailableAction.js +1 -1
  111. package/src/sap/ui/mdc/messagebundle.properties +55 -1
  112. package/src/sap/ui/mdc/messagebundle_ar.properties +39 -4
  113. package/src/sap/ui/mdc/messagebundle_bg.properties +54 -19
  114. package/src/sap/ui/mdc/messagebundle_ca.properties +37 -2
  115. package/src/sap/ui/mdc/messagebundle_cs.properties +52 -17
  116. package/src/sap/ui/mdc/messagebundle_cy.properties +37 -2
  117. package/src/sap/ui/mdc/messagebundle_da.properties +44 -9
  118. package/src/sap/ui/mdc/messagebundle_de.properties +37 -2
  119. package/src/sap/ui/mdc/messagebundle_el.properties +38 -3
  120. package/src/sap/ui/mdc/messagebundle_en.properties +37 -2
  121. package/src/sap/ui/mdc/messagebundle_en_GB.properties +37 -2
  122. package/src/sap/ui/mdc/messagebundle_en_US_sappsd.properties +37 -2
  123. package/src/sap/ui/mdc/messagebundle_en_US_saprigi.properties +61 -4
  124. package/src/sap/ui/mdc/messagebundle_en_US_saptrc.properties +37 -2
  125. package/src/sap/ui/mdc/messagebundle_es.properties +37 -2
  126. package/src/sap/ui/mdc/messagebundle_es_MX.properties +51 -16
  127. package/src/sap/ui/mdc/messagebundle_et.properties +37 -2
  128. package/src/sap/ui/mdc/messagebundle_fi.properties +43 -8
  129. package/src/sap/ui/mdc/messagebundle_fr.properties +38 -3
  130. package/src/sap/ui/mdc/messagebundle_fr_CA.properties +37 -2
  131. package/src/sap/ui/mdc/messagebundle_hi.properties +38 -3
  132. package/src/sap/ui/mdc/messagebundle_hr.properties +37 -2
  133. package/src/sap/ui/mdc/messagebundle_hu.properties +37 -2
  134. package/src/sap/ui/mdc/messagebundle_id.properties +37 -2
  135. package/src/sap/ui/mdc/messagebundle_it.properties +53 -18
  136. package/src/sap/ui/mdc/messagebundle_iw.properties +38 -3
  137. package/src/sap/ui/mdc/messagebundle_ja.properties +37 -2
  138. package/src/sap/ui/mdc/messagebundle_kk.properties +37 -2
  139. package/src/sap/ui/mdc/messagebundle_ko.properties +41 -6
  140. package/src/sap/ui/mdc/messagebundle_lt.properties +37 -2
  141. package/src/sap/ui/mdc/messagebundle_lv.properties +41 -6
  142. package/src/sap/ui/mdc/messagebundle_ms.properties +37 -2
  143. package/src/sap/ui/mdc/messagebundle_nl.properties +42 -7
  144. package/src/sap/ui/mdc/messagebundle_no.properties +45 -10
  145. package/src/sap/ui/mdc/messagebundle_pl.properties +38 -3
  146. package/src/sap/ui/mdc/messagebundle_pt.properties +44 -9
  147. package/src/sap/ui/mdc/messagebundle_pt_PT.properties +37 -2
  148. package/src/sap/ui/mdc/messagebundle_ro.properties +37 -2
  149. package/src/sap/ui/mdc/messagebundle_ru.properties +37 -2
  150. package/src/sap/ui/mdc/messagebundle_sh.properties +37 -2
  151. package/src/sap/ui/mdc/messagebundle_sk.properties +37 -2
  152. package/src/sap/ui/mdc/messagebundle_sl.properties +37 -2
  153. package/src/sap/ui/mdc/messagebundle_sv.properties +39 -4
  154. package/src/sap/ui/mdc/messagebundle_th.properties +40 -5
  155. package/src/sap/ui/mdc/messagebundle_tr.properties +37 -2
  156. package/src/sap/ui/mdc/messagebundle_uk.properties +41 -6
  157. package/src/sap/ui/mdc/messagebundle_vi.properties +37 -2
  158. package/src/sap/ui/mdc/messagebundle_zh_CN.properties +37 -2
  159. package/src/sap/ui/mdc/messagebundle_zh_TW.properties +37 -2
  160. package/src/sap/ui/mdc/mixin/AdaptationMixin.js +19 -5
  161. package/src/sap/ui/mdc/mixin/DelegateMixin.js +2 -2
  162. package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +14 -9
  163. package/src/sap/ui/mdc/mixin/PromiseMixin.js +2 -3
  164. package/src/sap/ui/mdc/odata/TypeUtil.js +1 -1
  165. package/src/sap/ui/mdc/odata/v4/ChartDelegate.js +29 -483
  166. package/src/sap/ui/mdc/odata/v4/{ChartPropertyHelperNew.js → ChartPropertyHelper.js} +5 -5
  167. package/src/sap/ui/mdc/odata/v4/TableDelegate.js +112 -96
  168. package/src/sap/ui/mdc/odata/v4/TypeUtil.js +1 -1
  169. package/src/sap/ui/mdc/odata/v4/util/DelegateUtil.js +1 -1
  170. package/src/sap/ui/mdc/odata/v4/vizChart/{ChartDelegateNew.js → ChartDelegate.js} +206 -116
  171. package/src/sap/ui/mdc/p13n/Engine.js +31 -13
  172. package/src/sap/ui/mdc/p13n/FlexUtil.js +11 -118
  173. package/src/sap/ui/mdc/p13n/P13nBuilder.js +7 -7
  174. package/src/sap/ui/mdc/p13n/PropertyHelper.js +1 -1
  175. package/src/sap/ui/mdc/p13n/StateUtil.js +20 -6
  176. package/src/sap/ui/mdc/p13n/UIManager.js +5 -7
  177. package/src/sap/ui/mdc/p13n/modification/FlexModificationHandler.js +4 -1
  178. package/src/sap/ui/mdc/p13n/modification/ModificationHandler.js +9 -6
  179. package/src/sap/ui/mdc/p13n/modules/DefaultProviderRegistry.js +1 -1
  180. package/src/sap/ui/mdc/p13n/panels/ChartItemPanel.js +1092 -48
  181. package/src/sap/ui/mdc/p13n/panels/LinkSelectionPanel.js +72 -0
  182. package/src/sap/ui/mdc/p13n/panels/ListView.js +6 -2
  183. package/src/sap/ui/mdc/p13n/subcontroller/AdaptFiltersController.js +6 -5
  184. package/src/sap/ui/mdc/p13n/subcontroller/BaseController.js +156 -11
  185. package/src/sap/ui/mdc/p13n/subcontroller/ChartItemController.js +15 -26
  186. package/src/sap/ui/mdc/p13n/subcontroller/ColumnController.js +6 -5
  187. package/src/sap/ui/mdc/p13n/subcontroller/FilterController.js +14 -7
  188. package/src/sap/ui/mdc/p13n/subcontroller/LinkPanelController.js +173 -0
  189. package/src/sap/ui/mdc/p13n/subcontroller/SortController.js +10 -17
  190. package/src/sap/ui/mdc/table/Column.js +12 -12
  191. package/src/sap/ui/mdc/table/CreationRow.js +11 -11
  192. package/src/sap/ui/mdc/table/GridTableType.js +5 -6
  193. package/src/sap/ui/mdc/table/PropertyHelper.js +44 -7
  194. package/src/sap/ui/mdc/table/ResponsiveTableType.js +8 -10
  195. package/src/sap/ui/mdc/table/RowSettings.js +4 -4
  196. package/src/sap/ui/mdc/table/TableTypeBase.js +2 -2
  197. package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +1 -1
  198. package/src/sap/ui/mdc/themes/base/FieldBase.less +0 -5
  199. package/src/sap/ui/mdc/themes/base/TokenDisplay.less +89 -0
  200. package/src/sap/ui/mdc/themes/base/TokenizerDisplay.less +90 -0
  201. package/src/sap/ui/mdc/themes/base/ValueHelpDialog.less +15 -4
  202. package/src/sap/ui/mdc/themes/base/library.source.less +2 -0
  203. package/src/sap/ui/mdc/ui/Container.js +2 -2
  204. package/src/sap/ui/mdc/ui/ContainerItem.js +2 -2
  205. package/src/sap/ui/mdc/util/Common.js +1 -1
  206. package/src/sap/ui/mdc/util/DateUtil.js +1 -1
  207. package/src/sap/ui/mdc/util/FilterUtil.js +1 -1
  208. package/src/sap/ui/mdc/util/FormatUtil.js +3 -3
  209. package/src/sap/ui/mdc/util/IdentifierUtil.js +6 -6
  210. package/src/sap/ui/mdc/util/PromiseCache.js +1 -1
  211. package/src/sap/ui/mdc/util/PropertyHelper.js +43 -12
  212. package/src/sap/ui/mdc/util/TypeUtil.js +5 -4
  213. package/src/sap/ui/mdc/valuehelp/Dialog.js +11 -8
  214. package/src/sap/ui/mdc/valuehelp/Popover.js +2 -1
  215. package/src/sap/ui/mdc/valuehelp/base/Container.js +2 -1
  216. package/src/sap/ui/mdc/valuehelp/base/Content.js +2 -1
  217. package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +2 -1
  218. package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +2 -1
  219. package/src/sap/ui/mdc/valuehelp/base/ListContent.js +2 -1
  220. package/src/sap/ui/mdc/valuehelp/content/Bool.js +2 -1
  221. package/src/sap/ui/mdc/valuehelp/content/Conditions.js +4 -2
  222. package/src/sap/ui/mdc/valuehelp/content/FixedList.js +11 -5
  223. package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +43 -8
  224. package/src/sap/ui/mdc/valuehelp/content/MTable.js +43 -24
  225. package/test/sap/ui/mdc/testutils/opa/TestLibrary.js +3 -1
  226. package/test/sap/ui/mdc/testutils/opa/actions/OpenContextMenu.js +3 -3
  227. package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/ActionsBase.js +3 -3
  228. package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/ActionsViz.js +0 -0
  229. package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/AssertionsBase.js +1 -1
  230. package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/AssertionsViz.js +0 -0
  231. package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/ChartNew.js +0 -0
  232. package/test/sap/ui/mdc/testutils/opa/chart/TestObjects.js +289 -0
  233. package/test/sap/ui/mdc/testutils/opa/chartNew/TestObjects.js +7 -7
  234. package/test/sap/ui/mdc/testutils/opa/filterbar/TestObjects.js +9 -9
  235. package/test/sap/ui/mdc/testutils/opa/filterbar/Util.js +12 -11
  236. package/test/sap/ui/mdc/testutils/opa/link/Actions.js +85 -0
  237. package/test/sap/ui/mdc/testutils/opa/link/Assertions.js +79 -0
  238. package/test/sap/ui/mdc/testutils/opa/link/TestObjects.js +112 -0
  239. package/test/sap/ui/mdc/testutils/opa/link/waitForLink.js +50 -0
  240. package/test/sap/ui/mdc/testutils/opa/p13n/Actions.js +261 -138
  241. package/test/sap/ui/mdc/testutils/opa/p13n/Util.js +27 -26
  242. package/test/sap/ui/mdc/testutils/opa/valueHelp/Actions.js +54 -0
  243. package/test/sap/ui/mdc/testutils/opa/valueHelp/Assertions.js +5 -0
  244. package/test/sap/ui/mdc/testutils/opa/valueHelp/TestObjects.js +40 -0
  245. package/test/sap/ui/mdc/testutils/opa/valueHelp/Util.js +28 -0
  246. package/src/sap/ui/mdc/ChartDelegateNew.js +0 -395
  247. package/src/sap/ui/mdc/ChartNew.js +0 -1114
  248. package/src/sap/ui/mdc/ChartNewRenderer.js +0 -91
  249. package/src/sap/ui/mdc/chart/DimensionItem.js +0 -281
  250. package/src/sap/ui/mdc/chart/MeasureItem.js +0 -318
  251. package/src/sap/ui/mdc/chart/MetadataDelegate.js +0 -31
  252. package/src/sap/ui/mdc/chart/SelectionHandler.js +0 -127
  253. package/src/sap/ui/mdc/chart/ToolbarHandler.js +0 -328
  254. package/src/sap/ui/mdc/chartNew/ChartTypeButtonNew.js +0 -295
  255. package/src/sap/ui/mdc/chartNew/DrillStackHandlerNew.js +0 -212
  256. package/src/sap/ui/mdc/chartNew/ItemNew.js +0 -72
  257. package/src/sap/ui/mdc/chartNew/SelectionDetailsActionsNew.js +0 -34
  258. package/src/sap/ui/mdc/designtime/chart/ChartNew.designtime.js +0 -91
  259. package/src/sap/ui/mdc/link/SelectionDialog.control.xml +0 -66
  260. package/src/sap/ui/mdc/link/SelectionDialog.js +0 -213
  261. package/src/sap/ui/mdc/link/SelectionDialogItem.js +0 -86
  262. package/src/sap/ui/mdc/odata/v4/ChartDelegateNew.js +0 -35
  263. package/src/sap/ui/mdc/p13n/panels/ChartItemPanelNew.js +0 -1179
@@ -23,6 +23,7 @@ sap.ui.define([
23
23
  "sap/ui/core/dnd/DragDropInfo",
24
24
  "sap/ui/core/Item",
25
25
  "sap/ui/core/format/ListFormat",
26
+ "sap/ui/core/library",
26
27
  "sap/ui/events/KeyCodes",
27
28
  "sap/ui/model/Sorter",
28
29
  "sap/ui/dom/containsOrEquals",
@@ -59,6 +60,7 @@ sap.ui.define([
59
60
  DragDropInfo,
60
61
  Item,
61
62
  ListFormat,
63
+ coreLibrary,
62
64
  KeyCodes,
63
65
  Sorter,
64
66
  containsOrEquals,
@@ -85,6 +87,7 @@ sap.ui.define([
85
87
  var ToolbarDesign = MLibrary.ToolbarDesign;
86
88
  var ToolbarStyle = MLibrary.ToolbarStyle;
87
89
  var MultiSelectMode = library.MultiSelectMode;
90
+ var TitleLevel = coreLibrary.TitleLevel;
88
91
  var internalMap = new window.WeakMap();
89
92
  var internal = function(oTable) {
90
93
  if (!internalMap.has(oTable)) {
@@ -108,14 +111,13 @@ sap.ui.define([
108
111
  * Constructor for a new <code>MDCTable</code>.
109
112
  *
110
113
  * @param {string} [sId] Optional ID for the new control; generated automatically if no non-empty ID is given
111
- * <b>Note:</b> this can be omitted, no matter whether <code>mSettings</code> will be given or not.
114
+ * <b>Note:</b> The optional ID can be omitted, no matter whether <code>mSettings</code> is given or not.
112
115
  * @param {object} [mSettings] Object with initial settings for the new control
113
116
  * @class
114
- * <p>
115
- * A metadata-driven table to simplify the usage of existing tables, such as the <code>ResponsiveTable</code> and <code>GridTable</code>
116
- * controls. The metadata needs to be provided via the {@link sap.ui.mdc.TableDelegate TableDelegate} implementation in the form of a
117
- * <code>PropertyInfo</code>.
118
- * </p>
117
+ * A metadata-driven table to simplify the usage of existing tables, such as the <code>ResponsiveTable</code> and <code>GridTable</code>
118
+ * controls. The metadata needs to be provided via the {@link module:sap/ui/mdc/TableDelegate TableDelegate} implementation as
119
+ * {@link sap.ui.mdc.table.PropertyInfo}.
120
+ *
119
121
  * @extends sap.ui.mdc.Control
120
122
  * @author SAP SE
121
123
  * @private
@@ -196,7 +198,7 @@ sap.ui.define([
196
198
  headerLevel: {
197
199
  type: "sap.ui.core.TitleLevel",
198
200
  group: "Appearance",
199
- defaultValue: sap.ui.core.TitleLevel.Auto
201
+ defaultValue: TitleLevel.Auto
200
202
  },
201
203
  /**
202
204
  * Determines whether to bind the table automatically after the initial creation or re-creation of the table.
@@ -264,7 +266,7 @@ sap.ui.define([
264
266
  },
265
267
 
266
268
  /**
267
- * Determines the text shown when the table has no data.
269
+ * Determines the text shown if the table has no data.
268
270
  *
269
271
  * @since 1.63
270
272
  */
@@ -273,10 +275,10 @@ sap.ui.define([
273
275
  },
274
276
 
275
277
  /**
276
- * Sort conditions.
278
+ * Defines the sort conditions.
277
279
  *
278
280
  * <b>Note</b>: This property must not be bound.<br>
279
- * <b>Note:</b> This property is exclusively used for handling flexibility changes.
281
+ * <b>Note:</b> This property is used exclusively for handling SAPUI5 flexibility changes. Do not use it otherwise.
280
282
  *
281
283
  * @since 1.73
282
284
  */
@@ -285,10 +287,10 @@ sap.ui.define([
285
287
  },
286
288
 
287
289
  /**
288
- * Filter conditions.
290
+ * Defines the filter conditions.
289
291
  *
290
292
  * <b>Note</b>: This property must not be bound.<br>
291
- * <b>Note:</b> This property is exclusively used for handling flexibility changes.
293
+ * <b>Note:</b> This property is used exclusively for handling SAPUI5 flexibility changes. Do not use it otherwise.
292
294
  *
293
295
  * @since 1.80.0
294
296
  */
@@ -298,10 +300,10 @@ sap.ui.define([
298
300
  },
299
301
 
300
302
  /**
301
- * Group conditions.
303
+ * Defines the group conditions.
302
304
  *
303
305
  * <b>Note</b>: This property must not be bound.<br>
304
- * <b>Note:</b> This property is exclusively used for handling flexibility changes.
306
+ * <b>Note:</b> This property is used exclusively for handling SAPUI5 flexibility changes. Do not use it otherwise.
305
307
  *
306
308
  * @since 1.87
307
309
  */
@@ -310,10 +312,10 @@ sap.ui.define([
310
312
  },
311
313
 
312
314
  /**
313
- * Aggregate conditions.
315
+ * Defines the aggregate conditions.
314
316
  *
315
317
  * <b>Note</b>: This property must not be bound.<br>
316
- * <b>Note:</b> This property is exclusively used for handling flexibility changes.
318
+ * <b>Note:</b> This property is exclusively used for handling SAPUI5 flexibility changes.
317
319
  *
318
320
  * @since 1.87
319
321
  */
@@ -322,7 +324,7 @@ sap.ui.define([
322
324
  },
323
325
 
324
326
  /**
325
- * Determines whether table data export is enabled.
327
+ * Determines whether the table data export is enabled.
326
328
  *
327
329
  * @since 1.75
328
330
  */
@@ -385,12 +387,14 @@ sap.ui.define([
385
387
  /**
386
388
  * Enables automatic column width calculation based on metadata information if set to <code>true</code>.
387
389
  * The column width calculation takes the type, column label, referenced properties, and many other metadata parameters into account.
388
- * Providing a more precise <code>maxLength</code> value for the <code>String</code> type or <code>precision</code> value for numeric types can help this algorithm to produce better results.
390
+ * Providing a more precise <code>maxLength</code> value for the <code>String</code> type or <code>precision</code> value for numeric
391
+ * types can help this algorithm to produce better results.
389
392
  * The calculated column widths can have a minimum of 3rem and a maximum of 20rem.
390
393
  *
391
- * <b>Note:</b> To customize the automatic column width calculation the <code>visualSettings.widthSettings</code> key of the <code>PropertyInfo</code> can be used.
392
- * To avoid the heuristic column width calculation for a particular column, the <code>visualSettings.widthSettings</code> key of the <code>PropertyInfo</code> must be set to <code>null</code>.
393
- * This feature has no effect if the <code>width</code> property of the column is bound or its value is set.
394
+ * <b>Note:</b> To customize the automatic column width calculation, the <code>visualSettings.widthSettings</code> key of the
395
+ * <code>PropertyInfo</code> can be used. To avoid the heuristic column width calculation for a particular column, the
396
+ * <code>visualSettings.widthSettings</code> key of the <code>PropertyInfo</code> must be set to <code>null</code>. This feature has
397
+ * no effect if the <code>width</code> property of the column is bound or its value is set.
394
398
  *
395
399
  * @since 1.95
396
400
  */
@@ -426,7 +430,7 @@ sap.ui.define([
426
430
 
427
431
  /**
428
432
  * This row can be used for user input to create new data if {@link sap.ui.mdc.TableType TableType} is "<code>Table</code>".
429
- * <b>Note:</b> Once the binding implements support for creating transient records, this aggregation will be removed.
433
+ * <b>Note:</b> Once the binding supports creating transient records, this aggregation will be removed.
430
434
  */
431
435
  creationRow: {
432
436
  type: "sap.ui.mdc.table.CreationRow",
@@ -472,9 +476,9 @@ sap.ui.define([
472
476
  /**
473
477
  * <code>DataStateIndicator</code> plugin that can be used to show binding-related messages.
474
478
  *
475
- * <b>Note:</b> The message filtering is not yet supported for this control therefore
476
- * {@link sap.m.plugins.DataStateIndicator#getEnableFiltering enableFiltering} property of the <code>DataStateIndicator</code> must
477
- * not be set to <code>true</code>.
479
+ * <b>Note:</b> The message filtering is not yet supported for this control. Therefore the
480
+ * {@link sap.m.plugins.DataStateIndicator#getEnableFiltering enableFiltering} property of the <code>DataStateIndicator</code> plugin
481
+ * must not be set to <code>true</code>.
478
482
  *
479
483
  * @since 1.89
480
484
  */
@@ -495,7 +499,7 @@ sap.ui.define([
495
499
  },
496
500
  events: {
497
501
  /**
498
- * Fired when a row in the table is pressed.
502
+ * This event is fired when a row in the table is pressed.
499
503
  */
500
504
  rowPress: {
501
505
  parameters: {
@@ -508,7 +512,7 @@ sap.ui.define([
508
512
  }
509
513
  },
510
514
  /**
511
- * Fired when the selection in the table is changed.
515
+ * This event is fired when the selection in the table is changed.
512
516
  */
513
517
  selectionChange: {
514
518
  parameters: {
@@ -525,7 +529,7 @@ sap.ui.define([
525
529
  type: "boolean"
526
530
  },
527
531
  /**
528
- * Identifies whether selectAll was pressed
532
+ * Identifies whether the Select All checkbox was pressed
529
533
  */
530
534
  selectAll: {
531
535
  type: "boolean"
@@ -533,7 +537,7 @@ sap.ui.define([
533
537
  }
534
538
  },
535
539
  /**
536
- * Fired right before the export is triggered.
540
+ * This event is fired right before the export is triggered.
537
541
  *
538
542
  * For more information about the export settings, see {@link sap.ui.export.Spreadsheet} or
539
543
  * {@link topic:7e12e6b9154a4607be9d6072c72d609c Spreadsheet Export Configuration}.
@@ -560,7 +564,7 @@ sap.ui.define([
560
564
  }
561
565
  },
562
566
  /**
563
- * Fired when the user pastes content from the clipboard to the table.
567
+ * This event is fired when the user pastes content from the clipboard to the table.
564
568
  */
565
569
  paste: {
566
570
  parameters: {
@@ -715,7 +719,7 @@ sap.ui.define([
715
719
  Table.prototype._onApplyMessageFilter = function(oEvent) {
716
720
  this._oMessageFilter = oEvent.getParameter("filter");
717
721
  oEvent.preventDefault();
718
- this.rebind();
722
+ this._rebind();
719
723
  };
720
724
 
721
725
  /**
@@ -725,7 +729,7 @@ sap.ui.define([
725
729
  Table.prototype._onClearMessageFilter = function(oEvent) {
726
730
  this._oMessageFilter = null;
727
731
  oEvent.preventDefault();
728
- this.rebind();
732
+ this._rebind();
729
733
  };
730
734
 
731
735
  // ----Type----
@@ -876,7 +880,7 @@ sap.ui.define([
876
880
  }
877
881
 
878
882
  this._bForceRebind = true;
879
- this.checkAndRebind();
883
+ this._rebind();
880
884
  }
881
885
 
882
886
  return this;
@@ -1371,7 +1375,7 @@ sap.ui.define([
1371
1375
  }
1372
1376
 
1373
1377
  if (this.getAutoBindOnInit()) {
1374
- this.checkAndRebind();
1378
+ this.rebind();
1375
1379
  }
1376
1380
 
1377
1381
  return this.awaitPropertyHelper();
@@ -1493,7 +1497,7 @@ sap.ui.define([
1493
1497
  };
1494
1498
 
1495
1499
  /**
1496
- * Returns the current filter conditions present on the table
1500
+ * Returns the current filter conditions present on the table.
1497
1501
  *
1498
1502
  * @private
1499
1503
  * @ui5-restricted sap.ui.mdc
@@ -1729,13 +1733,28 @@ sap.ui.define([
1729
1733
  var oRowBinding = that._getRowBinding();
1730
1734
  var mExportSettings = {
1731
1735
  workbook: {
1732
- columns: aSheetColumns
1736
+ columns: aSheetColumns,
1737
+ context: {title: that.getHeader()}
1733
1738
  },
1734
1739
  dataSource: oRowBinding,
1735
1740
  fileType: mCustomConfig.selectedFileType == "pdf" ? "PDF" : "XLSX",
1736
- fileName: mCustomConfig ? mCustomConfig.fileName : that.getHeader()
1741
+ fileName: mCustomConfig ? mCustomConfig.fileName : this.getHeader()
1742
+ };
1743
+
1744
+ var mPDFUserSettings = {
1745
+ border: mCustomConfig.border,
1746
+ fontSize: mCustomConfig.fontSize,
1747
+ paperSize: mCustomConfig.selectedPaperSize,
1748
+ doEnableAccessibility: mCustomConfig.doEnableAccessibility,
1749
+ signature: mCustomConfig.signature,
1750
+ signatureReason: mCustomConfig.signatureReason,
1751
+ orientation: mCustomConfig.selectedOrientation
1737
1752
  };
1738
1753
 
1754
+ if (mExportSettings.fileType === "PDF") {
1755
+ Object.assign(mExportSettings, mPDFUserSettings);
1756
+ }
1757
+
1739
1758
  that._loadExportLibrary().then(function() {
1740
1759
  sap.ui.require(["sap/ui/export/ExportUtils"], function(ExportUtils) {
1741
1760
  var oProcessor = Promise.resolve();
@@ -1745,12 +1764,10 @@ sap.ui.define([
1745
1764
  return oPropertyHelper.hasProperty(sPropertyName) ? oPropertyHelper.getProperty(sPropertyName).label : null;
1746
1765
  }).then(function(oFilterConfig) {
1747
1766
  if (oFilterConfig) {
1748
- mExportSettings.workbook.context = {
1749
- metaSheetName: oFilterConfig.name,
1750
- metainfo: [
1751
- oFilterConfig
1752
- ]
1753
- };
1767
+ var oContext = mExportSettings.workbook.context;
1768
+
1769
+ oContext.metaSheetName = oFilterConfig.name;
1770
+ oContext.metainfo = [oFilterConfig];
1754
1771
  }
1755
1772
  });
1756
1773
  }
@@ -1795,10 +1812,11 @@ sap.ui.define([
1795
1812
 
1796
1813
  this._loadExportLibrary().then(function() {
1797
1814
  sap.ui.require(['sap/ui/export/ExportUtils'], function(ExportUtils) {
1798
- var bEnablePDFExport = new URL(window.location.href).search.indexOf("sap-ui-xx-enablePDFExport=true");
1799
- ExportUtils.getExportSettingsViaDialog(that._cachedExportSettings, that, undefined, bEnablePDFExport).then(function(oUserInput) {
1800
- that._cachedExportSettings = oUserInput;
1801
- that._onExport(oUserInput);
1815
+ that.getControlDelegate().fetchExportCapabilities().then(function(oExportCapabilities) {
1816
+ ExportUtils.getExportSettingsViaDialog(that._cachedExportSettings, that, undefined, oExportCapabilities).then(function(oUserInput) {
1817
+ that._cachedExportSettings = oUserInput;
1818
+ that._onExport(oUserInput);
1819
+ });
1802
1820
  });
1803
1821
  });
1804
1822
  });
@@ -2395,14 +2413,14 @@ sap.ui.define([
2395
2413
  this._onColumnPress(oEvent.getParameter("column"));
2396
2414
  };
2397
2415
 
2398
- // TODO: maybe selectedContexts should be an association
2399
- // TODO: The API is unstable/unreliable in GridTable scenarios and has to be worked upon
2400
2416
  /**
2401
- * Gets contexts from the table that have been selected by the user.
2417
+ * Gets contexts that have been selected by the user.
2402
2418
  *
2403
- * @returns {Array} Contexts of rows/items selected by the user
2419
+ * @returns {sap.ui.model.Context[]} The selected contexts
2404
2420
  * @private
2405
- * @experimental The API is unstable/unreliable in GridTable scenarios
2421
+ * @ui5-restricted sap.fe
2422
+ * MDC_PUBLIC_CANDIDATE
2423
+ * @experimental The API is subject to change.
2406
2424
  */
2407
2425
  Table.prototype.getSelectedContexts = function() {
2408
2426
  if (this._oTable) {
@@ -2420,9 +2438,11 @@ sap.ui.define([
2420
2438
  };
2421
2439
 
2422
2440
  /**
2423
- * API to get clear selection from the table.
2441
+ * Clears the selection.
2424
2442
  *
2425
2443
  * @private
2444
+ * @ui5-restricted sap.fe
2445
+ * MDC_PUBLIC_CANDIDATE
2426
2446
  */
2427
2447
  Table.prototype.clearSelection = function() {
2428
2448
  if (this._oTable) {
@@ -2438,7 +2458,7 @@ sap.ui.define([
2438
2458
 
2439
2459
  Table.prototype._registerInnerFilter = function(oFilter) {
2440
2460
  oFilter.attachSearch(function() {
2441
- this.rebind();
2461
+ this._rebind();
2442
2462
  }, this);
2443
2463
  };
2444
2464
 
@@ -2467,7 +2487,7 @@ sap.ui.define([
2467
2487
 
2468
2488
  var oBindingInfo = {};
2469
2489
 
2470
- this.getControlDelegate().updateBindingInfo(this, this.getPayload(), oBindingInfo);
2490
+ this.getControlDelegate().updateBindingInfo(this, oBindingInfo);
2471
2491
 
2472
2492
  if (oBindingInfo.path) {
2473
2493
  this._oTable.setShowOverlay(false);
@@ -2604,7 +2624,7 @@ sap.ui.define([
2604
2624
  };
2605
2625
 
2606
2626
  /**
2607
- * Gets the row count of the table
2627
+ * Gets the row count of the table.
2608
2628
  *
2609
2629
  * @private
2610
2630
  * @returns {int} the row count
@@ -2689,20 +2709,15 @@ sap.ui.define([
2689
2709
  }
2690
2710
  };
2691
2711
 
2692
- // TODO: Delete!
2693
- Table.prototype.rebindTable = function() {
2694
- this.rebind();
2695
- };
2696
-
2697
2712
  /**
2698
2713
  * Rebinds the table rows.
2699
2714
  */
2700
- Table.prototype.rebind = function() {
2715
+ Table.prototype._rebind = function() {
2701
2716
  // Bind the rows/items of the table, only once it is initialized.
2702
2717
  if (this._bFullyInitialized) {
2703
2718
  this.bindRows();
2704
2719
  } else {
2705
- this._fullyInitialized().then(this.rebind.bind(this));
2720
+ this._fullyInitialized().then(this._rebind.bind(this));
2706
2721
  }
2707
2722
  };
2708
2723
 
@@ -2743,7 +2758,7 @@ sap.ui.define([
2743
2758
  };
2744
2759
 
2745
2760
  /**
2746
- * Termination of the <code>MDCTable</code> control
2761
+ * Terminates the <code>MDCTable</code> control.
2747
2762
  * @private
2748
2763
  */
2749
2764
  Table.prototype.exit = function() {
@@ -14,12 +14,14 @@ sap.ui.define([
14
14
  "use strict";
15
15
 
16
16
  /**
17
- * Base delegate class for <code>sap.ui.mdc.Table</code>.
17
+ * Base delegate for {@link sap.ui.mdc.Table}.
18
18
  *
19
19
  * @author SAP SE
20
+ * @namespace
21
+ * @alias module:sap/ui/mdc/TableDelegate
22
+ * @extends module:sap/ui/mdc/AggregationBaseDelegate
20
23
  * @experimental
21
24
  * @since 1.60
22
- * @alias sap.ui.mdc.TableDelegate
23
25
  * @private
24
26
  * @ui5-restricted sap.fe
25
27
  * MDC_PUBLIC_CANDIDATE
@@ -30,11 +32,10 @@ sap.ui.define([
30
32
  * Provides a hook to update the binding info object that is used to bind the table to the model.
31
33
  *
32
34
  * @param {sap.ui.mdc.Table} oMDCTable Instance of the MDC table
33
- * @param {object} oDelegatePayload The delegate payload
34
35
  * @param {sap.ui.base.ManagedObject.AggregationBindingInfo} oBindingInfo The binding info object to be used to bind the table to the model
35
36
  * @protected
36
37
  */
37
- TableDelegate.updateBindingInfo = function(oMDCTable, oDelegatePayload, oBindingInfo) {
38
+ TableDelegate.updateBindingInfo = function(oMDCTable, oBindingInfo) {
38
39
  oBindingInfo.parameters = {};
39
40
 
40
41
  if (oMDCTable._oMessageFilter) {
@@ -49,15 +50,15 @@ sap.ui.define([
49
50
  * Updates the row binding of the table.
50
51
  *
51
52
  * The default implementation rebinds the table, but model-specific subclasses must call dedicated binding methods to update the binding instead
52
- * of using {@link #rebindTable}.
53
+ * of using {@link #rebind}.
53
54
  *
54
- * @param {sap.ui.mdc.Table} oMDCTable Instance of the MDC table
55
+ * @param {sap.ui.mdc.Table} oMDCTable Instance of the table
55
56
  * @param {sap.ui.base.ManagedObject.AggregationBindingInfo} oBindingInfo The binding info object to be used to bind the table to the model
56
57
  * @param {sap.ui.model.ListBinding} [oBinding] The binding instance of the table
57
58
  * @protected
58
59
  */
59
60
  TableDelegate.updateBinding = function(oMDCTable, oBindingInfo, oBinding) {
60
- this.rebindTable(oMDCTable, oBindingInfo);
61
+ this.rebind(oMDCTable, oBindingInfo);
61
62
  };
62
63
 
63
64
  TableDelegate.validateState = function(oControl, oState, sKey) {
@@ -79,16 +80,16 @@ sap.ui.define([
79
80
  * @param {sap.ui.base.ManagedObject.AggregationBindingInfo} oBindingInfo The binding info object to be used to bind the table to the model
80
81
  * @protected
81
82
  */
82
- TableDelegate.rebindTable = function(oMDCTable, oBindingInfo) {
83
+ TableDelegate.rebind = function (oMDCTable, oBindingInfo) {
83
84
  if (oMDCTable._oTable) {
84
85
  oMDCTable._oTable.bindRows(oBindingInfo);
85
86
  }
86
87
  };
87
88
 
88
89
  /**
89
- * Returns the filter delegate of the table that provides basic filter functionality such as adding filter fields.
90
- * <b>Note:</b> The functionality provided in this delegate should act as a subset of a <code>FilterBarDelegate</code> to enable the
91
- * table for inbuilt filtering.
90
+ * Returns the filter delegate of the table that provides basic filter functionality, such as adding filter fields.
91
+ * <b>Note:</b> The functionality provided in this delegate acts as a subset of a <code>FilterBarDelegate</code> to enable the table for inbuilt
92
+ * filtering.
92
93
  *
93
94
  * @example <caption>Example usage of <code>getFilterDelegate</code></caption>
94
95
  * oFilterDelegate = {
@@ -107,7 +108,7 @@ sap.ui.define([
107
108
  *
108
109
  * @param {string} sPropertyName The property name
109
110
  * @param {sap.ui.mdc.Table} oTable Instance of the table
110
- * @returns {Promise<sap.ui.mdc.FilterField>} Promise that resolves with an instance of a <code>sap.ui.mdc.FilterField</code>.
111
+ * @returns {Promise<sap.ui.mdc.FilterField>} <code>Promise</code> that resolves with an instance of a <code>sap.ui.mdc.FilterField</code>.
111
112
  * @see sap.ui.mdc.AggregationBaseDelegate#addItem
112
113
  */
113
114
  addItem: function(sPropertyName, oTable) {
@@ -116,5 +117,32 @@ sap.ui.define([
116
117
  };
117
118
  };
118
119
 
120
+ /**
121
+ * Returns the feature set for exporting data in the MDC Table.
122
+ *
123
+ * @returns {Promise} Export capabilities with specific features
124
+ * @protected
125
+ */
126
+ TableDelegate.fetchExportCapabilities = function() {
127
+ var oExportCapabilities = {
128
+ "XLSX": {} // default
129
+ };
130
+
131
+ // This is a temporary approach for testing purposes
132
+ if (new URL(window.location.href).search.indexOf("sap-ui-xx-enablePDFExport=true") > -1) {
133
+ oExportCapabilities["PDF"] = {
134
+ DocumentDescriptionReference: "../../../../default/iwbep/common/0001/$metadata",
135
+ DocumentDescriptionCollection: "MyDocumentDescriptions",
136
+ ArchiveFormat: true,
137
+ Signature: true,
138
+ CoverPage: true,
139
+ FitToPage: false,
140
+ ResultSizeDefault: 5000,
141
+ ResultSizeMaximum: 20000
142
+ };
143
+ }
144
+ return Promise.resolve(oExportCapabilities);
145
+ };
146
+
119
147
  return TableDelegate;
120
148
  });
@@ -69,13 +69,14 @@ sap.ui.define([
69
69
  * @class Element for the <code>FieldHelp</code> association in the <code>FieldBase</code> controls.
70
70
  * @extends sap.ui.mdc.Element
71
71
  * @implements sap.ui.core.PopupInterface
72
- * @version 1.97.1
72
+ * @version 1.99.1
73
73
  * @constructor
74
74
  * @abstract
75
75
  * @private
76
76
  * @ui5-restricted sap.fe
77
77
  * @MDC_PUBLIC_CANDIDATE
78
- * @since 1.91.0
78
+ * @since 1.95.0
79
+ * @experimental As of version 1.95
79
80
  * @alias sap.ui.mdc.ValueHelp
80
81
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
81
82
  */
@@ -454,6 +455,11 @@ sap.ui.define([
454
455
  ValueHelp.prototype.open = function(bTypeahead) {
455
456
  var oContainer = bTypeahead ? this.getTypeahead() : _getValueHelpContainer.call(this);
456
457
 
458
+ var oOtherContainer = bTypeahead ? this.getDialog() : this.getTypeahead();
459
+ if (oOtherContainer && oContainer !== oOtherContainer && (oOtherContainer.isOpen() || oOtherContainer.isOpening())) {
460
+ oOtherContainer.close(); // TODO: Check container to be fully closed via promise
461
+ }
462
+
457
463
  if (oContainer && !oContainer.isOpen() && !oContainer.isOpening()) {
458
464
  this._removePromise("delegateContent" + "--" + oContainer.getId());
459
465
  oContainer.open(this._retrieveDelegateContent(oContainer, true));
@@ -765,11 +771,13 @@ sap.ui.define([
765
771
 
766
772
  return oTypeahead.getItemForValue(oConfig).then(function(oItem) {
767
773
  _cleanupParameterBinding.call(this, aInBindings);
768
- if (oItem.inParameters) {
769
- oItem.inParameters = _mapParametersToField.call(this, oItem.inParameters, this.getInParameters());
770
- }
771
- if (oItem.outParameters) {
772
- oItem.outParameters = _mapParametersToField.call(this, oItem.outParameters, this.getOutParameters());
774
+ if (oItem) {
775
+ if (oItem.inParameters) {
776
+ oItem.inParameters = _mapParametersToField.call(this, oItem.inParameters, this.getInParameters());
777
+ }
778
+ if (oItem.outParameters) {
779
+ oItem.outParameters = _mapParametersToField.call(this, oItem.outParameters, this.getOutParameters());
780
+ }
773
781
  }
774
782
  return oItem;
775
783
  }.bind(this));
@@ -1124,14 +1132,16 @@ sap.ui.define([
1124
1132
  if (!vValue && bInitialValueFilterEmpty) {
1125
1133
  oCondition = Condition.createCondition("Empty", []);
1126
1134
  oCondition.isEmpty = false; // no explicit check needed
1127
- } else {
1135
+ } else if (vValue !== null) {
1128
1136
  // TODO: way to provide description on InParameter
1129
1137
  // validated to let FilterField determine description if visible on FilterBar.
1130
1138
  // Also to show it as selected on table in FieldHelp of FilterField.
1131
1139
  oCondition = Condition.createItemCondition(vValue);
1132
1140
  oCondition.validated = ConditionValidated.Validated;
1133
1141
  }
1134
- oInConditions[sFilterPath].push(oCondition);
1142
+ if (oCondition) {
1143
+ oInConditions[sFilterPath].push(oCondition);
1144
+ }
1135
1145
  }
1136
1146
 
1137
1147
  this.setProperty("_inConditions", oInConditions, true);
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @class The action for an {@link sap.ui.mdc.ActionToolbar ActionToolbar}) control
22
22
  * @extends sap.ui.core.Control
23
23
  * @author SAP SE
24
- * @version 1.97.1
24
+ * @version 1.99.1
25
25
  * @constructor
26
26
  * @private
27
27
  * @since 1.58
@@ -93,7 +93,7 @@ sap.ui.define([
93
93
 
94
94
  /**
95
95
  *
96
- * @returns {String} a text defining the label of this <code>ActionToolbarAction</code> defined by the inner action.
96
+ * @returns {string} a text defining the label of this <code>ActionToolbarAction</code> defined by the inner action.
97
97
  */
98
98
  ActionToolbarAction.prototype.getLabel = function() {
99
99
  var oAction = this.getAction();
@@ -11,7 +11,7 @@ sap.ui.define([
11
11
  "sap/m/SelectionDetailsItem",
12
12
  "sap/m/SelectionDetailsItemLine",
13
13
  "sap/m/SelectionDetailsRenderer",
14
- "./SelectionDetailsActionsNew"
14
+ "./SelectionDetailsActions"
15
15
  ],
16
16
  function (
17
17
  Core,
@@ -26,24 +26,24 @@ sap.ui.define([
26
26
 
27
27
  /**
28
28
  /**
29
- * Constructor for a new ChartSelectionDetailsNew.
29
+ * Constructor for a new ChartSelectionDetails.
30
30
  *
31
31
  * @param {string} [sId] id for the new control, generated automatically if no id is given
32
32
  * @param {object} [mSettings] initial settings for the new control
33
- * @class The ChartSelectionDetailsNew control creates a sap.m.SelectionDetails popover based on metadata and the configuration specified.
33
+ * @class The ChartSelectionDetails control creates a sap.m.SelectionDetails popover based on metadata and the configuration specified.
34
34
  * @extends sap.m.SelectionDetails
35
35
  * @author SAP SE
36
- * @version 1.97.1
36
+ * @version 1.99.1
37
37
  * @constructor
38
38
  * @experimental As of version ...
39
39
  * @private
40
40
  * @ui5-restricted sap.fe
41
41
  * @MDC_PUBLIC_CANDIDATE
42
42
  * @since 1.88
43
- * @alias sap.ui.mdc.chartNew.ChartSelectionDetailsNew
43
+ * @alias sap.ui.mdc.chart.ChartSelectionDetails
44
44
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
45
45
  */
46
- var ChartSelectionDetails = SelectionDetails.extend("sap.ui.mdc.chartNew.ChartSelectionDetailsNew", /** @lends sap.ui.mdc.chartNew.ChartSelectionDetailsNew.prototype */ {
46
+ var ChartSelectionDetails = SelectionDetails.extend("sap.ui.mdc.chart.ChartSelectionDetails", /** @lends sap.ui.mdc.chart.ChartSelectionDetails.prototype */ {
47
47
  metadata: {
48
48
  library: "sap.ui.mdc",
49
49
  interfaces: [
@@ -110,7 +110,7 @@ sap.ui.define([
110
110
  ChartSelectionDetails.prototype._hasNavigationTargets = function(aData) {
111
111
  return false;
112
112
  };
113
- //TODO: Consider implementation and handling within ChartToolbarNew like the update of actions as well
113
+ //TODO: Consider implementation and handling within ChartToolbar like the update of actions as well
114
114
  ChartSelectionDetails.prototype._attachEvents = function() {
115
115
  // Attach to navigation event of selectionDetails
116
116
  // for semantic object navigation
@@ -145,4 +145,4 @@ sap.ui.define([
145
145
  };
146
146
 
147
147
  return ChartSelectionDetails;
148
- }, true);
148
+ });