@openui5/sap.ui.mdc 1.97.1 → 1.100.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 (296) hide show
  1. package/.reuse/dep5 +25 -30
  2. package/THIRDPARTY.txt +15 -22
  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 +1128 -1806
  9. package/src/sap/ui/mdc/ChartDelegate.js +454 -250
  10. package/src/sap/ui/mdc/ChartRenderer.js +73 -77
  11. package/src/sap/ui/mdc/Control.js +11 -6
  12. package/src/sap/ui/mdc/Element.js +10 -6
  13. package/src/sap/ui/mdc/Field.js +19 -4
  14. package/src/sap/ui/mdc/FilterBar.js +3 -2
  15. package/src/sap/ui/mdc/FilterBarDelegate.js +26 -0
  16. package/src/sap/ui/mdc/FilterField.js +50 -9
  17. package/src/sap/ui/mdc/Link.js +25 -6
  18. package/src/sap/ui/mdc/LinkDelegate.js +3 -3
  19. package/src/sap/ui/mdc/MultiValueField.js +30 -6
  20. package/src/sap/ui/mdc/Table.js +151 -102
  21. package/src/sap/ui/mdc/TableDelegate.js +68 -13
  22. package/src/sap/ui/mdc/ValueHelp.js +26 -11
  23. package/src/sap/ui/mdc/ValueHelpDelegate.js +2 -1
  24. package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +2 -2
  25. package/src/sap/ui/mdc/actiontoolbar/ActionToolbarActionRenderer.js +1 -1
  26. package/src/sap/ui/mdc/{chartNew/ChartSelectionDetailsNew.js → chart/ChartSelectionDetails.js} +8 -8
  27. package/src/sap/ui/mdc/{chartNew/ChartToolbarNew.js → chart/ChartToolbar.js} +60 -17
  28. package/src/sap/ui/mdc/chart/ChartTypeButton.js +55 -54
  29. package/src/sap/ui/mdc/{chartNew/DrillBreadcrumbsNew.js → chart/DrillBreadcrumbs.js} +10 -10
  30. package/src/sap/ui/mdc/chart/DrillStackHandler.js +43 -254
  31. package/src/sap/ui/mdc/chart/Item.js +62 -92
  32. package/src/sap/ui/mdc/{chartNew/PropertyHelperNew.js → chart/PropertyHelper.js} +3 -3
  33. package/src/sap/ui/mdc/chart/SelectionDetailsActions.js +17 -21
  34. package/src/sap/ui/mdc/condition/Condition.js +1 -1
  35. package/src/sap/ui/mdc/condition/ConditionConverter.js +1 -1
  36. package/src/sap/ui/mdc/condition/ConditionModel.js +1 -1
  37. package/src/sap/ui/mdc/condition/FilterConverter.js +4 -2
  38. package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +388 -67
  39. package/src/sap/ui/mdc/condition/Operator.js +4 -2
  40. package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +78 -24
  41. package/src/sap/ui/mdc/condition/RangeOperator.js +5 -5
  42. package/src/sap/ui/mdc/designtime/Util.js +63 -0
  43. package/src/sap/ui/mdc/designtime/actiontoolbar/ActionToolbar.designtime.js +23 -30
  44. package/src/sap/ui/mdc/designtime/chart/Chart.designtime.js +83 -5
  45. package/src/sap/ui/mdc/designtime/field/Field.designtime.js +81 -5
  46. package/src/sap/ui/mdc/designtime/filterbar/FilterBarBase.designtime.js +3 -0
  47. package/src/sap/ui/mdc/designtime/link/PanelItem.designtime.js +3 -1
  48. package/src/sap/ui/mdc/designtime/table/Table.designtime.js +35 -8
  49. package/src/sap/ui/mdc/field/BoolFieldHelp.js +1 -1
  50. package/src/sap/ui/mdc/field/ConditionFieldHelp.js +1 -1
  51. package/src/sap/ui/mdc/field/ConditionType.js +17 -6
  52. package/src/sap/ui/mdc/field/ConditionsType.js +2 -1
  53. package/src/sap/ui/mdc/field/CustomFieldHelp.js +1 -1
  54. package/src/sap/ui/mdc/field/CustomFieldInfo.js +1 -1
  55. package/src/sap/ui/mdc/field/DefineConditionPanel.js +88 -29
  56. package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +77 -20
  57. package/src/sap/ui/mdc/field/FieldBase.js +93 -16
  58. package/src/sap/ui/mdc/field/FieldBaseDelegate.js +1 -1
  59. package/src/sap/ui/mdc/field/FieldBaseRenderer.js +0 -3
  60. package/src/sap/ui/mdc/field/FieldHelpBase.js +2 -2
  61. package/src/sap/ui/mdc/field/FieldInfoBase.js +24 -10
  62. package/src/sap/ui/mdc/field/FieldInput.js +1 -1
  63. package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +1 -1
  64. package/src/sap/ui/mdc/field/FieldMultiInput.js +1 -1
  65. package/src/sap/ui/mdc/field/FieldValueHelp.js +5 -2
  66. package/src/sap/ui/mdc/field/FieldValueHelpContentWrapperBase.js +1 -1
  67. package/src/sap/ui/mdc/field/FieldValueHelpDelegate.js +1 -1
  68. package/src/sap/ui/mdc/field/FieldValueHelpMTableWrapper.js +5 -4
  69. package/src/sap/ui/mdc/field/FieldValueHelpMdcTableWrapper.js +6 -4
  70. package/src/sap/ui/mdc/field/FieldValueHelpTableWrapperBase.js +6 -3
  71. package/src/sap/ui/mdc/field/FieldValueHelpUITableWrapper.js +7 -7
  72. package/src/sap/ui/mdc/field/InParameter.js +1 -1
  73. package/src/sap/ui/mdc/field/ListFieldHelp.js +10 -2
  74. package/src/sap/ui/mdc/field/ListFieldHelpItem.js +1 -1
  75. package/src/sap/ui/mdc/field/MultiValueFieldItem.js +1 -1
  76. package/src/sap/ui/mdc/field/OutParameter.js +1 -1
  77. package/src/sap/ui/mdc/field/TokenDisplay.js +70 -0
  78. package/src/sap/ui/mdc/field/TokenDisplayRenderer.js +24 -0
  79. package/src/sap/ui/mdc/field/TokenizerDisplay.js +80 -0
  80. package/src/sap/ui/mdc/field/TokenizerDisplayRenderer.js +69 -0
  81. package/src/sap/ui/mdc/field/ValueHelpPanel.js +1 -1
  82. package/src/sap/ui/mdc/field/content/ContentFactory.js +10 -6
  83. package/src/sap/ui/mdc/field/content/DateContent.js +27 -19
  84. package/src/sap/ui/mdc/field/content/DateTimeContent.js +0 -6
  85. package/src/sap/ui/mdc/field/content/DefaultContent.js +35 -13
  86. package/src/sap/ui/mdc/field/content/LinkContent.js +1 -1
  87. package/src/sap/ui/mdc/filterbar/FilterBarBase.js +285 -208
  88. package/src/sap/ui/mdc/filterbar/FilterBarBaseRenderer.js +1 -1
  89. package/src/sap/ui/mdc/filterbar/PropertyHelper.js +27 -2
  90. package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +132 -56
  91. package/src/sap/ui/mdc/filterbar/p13n/FilterColumnLayout.js +2 -2
  92. package/src/sap/ui/mdc/filterbar/p13n/GroupContainer.js +7 -3
  93. package/src/sap/ui/mdc/filterbar/p13n/TableContainer.js +52 -14
  94. package/src/sap/ui/mdc/filterbar/vh/CollectiveSearchSelect.js +3 -1
  95. package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +43 -19
  96. package/src/sap/ui/mdc/filterbar/vh/FilterContainer.js +1 -1
  97. package/src/sap/ui/mdc/flexibility/AggregateFlex.js +2 -2
  98. package/src/sap/ui/mdc/flexibility/AggregationConfigFlex.js +48 -31
  99. package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +6 -4
  100. package/src/sap/ui/mdc/flexibility/ChartItemFlex.js +36 -0
  101. package/src/sap/ui/mdc/flexibility/ColumnFlex.js +1 -1
  102. package/src/sap/ui/mdc/flexibility/ConditionFlex.js +47 -10
  103. package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +4 -3
  104. package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +1 -1
  105. package/src/sap/ui/mdc/flexibility/GroupFlex.js +1 -1
  106. package/src/sap/ui/mdc/flexibility/ItemBaseFlex.js +0 -1
  107. package/src/sap/ui/mdc/flexibility/Panel.flexibility.js +9 -3
  108. package/src/sap/ui/mdc/flexibility/PropertyInfoFlex.js +27 -0
  109. package/src/sap/ui/mdc/flexibility/SortFlex.js +2 -2
  110. package/src/sap/ui/mdc/flp/FlpLinkDelegate.js +6 -6
  111. package/src/sap/ui/mdc/library.js +54 -44
  112. package/src/sap/ui/mdc/link/ContactDetails.js +1 -1
  113. package/src/sap/ui/mdc/link/ContactDetailsAddressItem.js +1 -1
  114. package/src/sap/ui/mdc/link/ContactDetailsEmailItem.js +1 -1
  115. package/src/sap/ui/mdc/link/ContactDetailsItem.js +1 -1
  116. package/src/sap/ui/mdc/link/ContactDetailsPhoneItem.js +1 -1
  117. package/src/sap/ui/mdc/link/Factory.js +2 -2
  118. package/src/sap/ui/mdc/link/FakeFlpConnector.js +1 -1
  119. package/src/sap/ui/mdc/link/LinkItem.js +1 -1
  120. package/src/sap/ui/mdc/link/Log.js +1 -1
  121. package/src/sap/ui/mdc/link/Panel.js +140 -177
  122. package/src/sap/ui/mdc/link/PanelItem.js +1 -1
  123. package/src/sap/ui/mdc/link/PanelListItem.js +1 -1
  124. package/src/sap/ui/mdc/link/SemanticObjectMapping.js +1 -1
  125. package/src/sap/ui/mdc/link/SemanticObjectMappingItem.js +1 -1
  126. package/src/sap/ui/mdc/link/SemanticObjectUnavailableAction.js +1 -1
  127. package/src/sap/ui/mdc/messagebundle.properties +57 -2
  128. package/src/sap/ui/mdc/messagebundle_ar.properties +39 -4
  129. package/src/sap/ui/mdc/messagebundle_bg.properties +54 -19
  130. package/src/sap/ui/mdc/messagebundle_ca.properties +37 -2
  131. package/src/sap/ui/mdc/messagebundle_cs.properties +52 -17
  132. package/src/sap/ui/mdc/messagebundle_cy.properties +37 -2
  133. package/src/sap/ui/mdc/messagebundle_da.properties +44 -9
  134. package/src/sap/ui/mdc/messagebundle_de.properties +37 -2
  135. package/src/sap/ui/mdc/messagebundle_el.properties +38 -3
  136. package/src/sap/ui/mdc/messagebundle_en.properties +37 -2
  137. package/src/sap/ui/mdc/messagebundle_en_GB.properties +37 -2
  138. package/src/sap/ui/mdc/messagebundle_en_US_sappsd.properties +37 -2
  139. package/src/sap/ui/mdc/messagebundle_en_US_saprigi.properties +61 -4
  140. package/src/sap/ui/mdc/messagebundle_en_US_saptrc.properties +37 -2
  141. package/src/sap/ui/mdc/messagebundle_es.properties +37 -2
  142. package/src/sap/ui/mdc/messagebundle_es_MX.properties +51 -16
  143. package/src/sap/ui/mdc/messagebundle_et.properties +37 -2
  144. package/src/sap/ui/mdc/messagebundle_fi.properties +43 -8
  145. package/src/sap/ui/mdc/messagebundle_fr.properties +38 -3
  146. package/src/sap/ui/mdc/messagebundle_fr_CA.properties +37 -2
  147. package/src/sap/ui/mdc/messagebundle_hi.properties +38 -3
  148. package/src/sap/ui/mdc/messagebundle_hr.properties +37 -2
  149. package/src/sap/ui/mdc/messagebundle_hu.properties +37 -2
  150. package/src/sap/ui/mdc/messagebundle_id.properties +37 -2
  151. package/src/sap/ui/mdc/messagebundle_it.properties +53 -18
  152. package/src/sap/ui/mdc/messagebundle_iw.properties +38 -3
  153. package/src/sap/ui/mdc/messagebundle_ja.properties +37 -2
  154. package/src/sap/ui/mdc/messagebundle_kk.properties +37 -2
  155. package/src/sap/ui/mdc/messagebundle_ko.properties +41 -6
  156. package/src/sap/ui/mdc/messagebundle_lt.properties +37 -2
  157. package/src/sap/ui/mdc/messagebundle_lv.properties +41 -6
  158. package/src/sap/ui/mdc/messagebundle_ms.properties +37 -2
  159. package/src/sap/ui/mdc/messagebundle_nl.properties +42 -7
  160. package/src/sap/ui/mdc/messagebundle_no.properties +45 -10
  161. package/src/sap/ui/mdc/messagebundle_pl.properties +38 -3
  162. package/src/sap/ui/mdc/messagebundle_pt.properties +44 -9
  163. package/src/sap/ui/mdc/messagebundle_pt_PT.properties +37 -2
  164. package/src/sap/ui/mdc/messagebundle_ro.properties +37 -2
  165. package/src/sap/ui/mdc/messagebundle_ru.properties +37 -2
  166. package/src/sap/ui/mdc/messagebundle_sh.properties +37 -2
  167. package/src/sap/ui/mdc/messagebundle_sk.properties +37 -2
  168. package/src/sap/ui/mdc/messagebundle_sl.properties +37 -2
  169. package/src/sap/ui/mdc/messagebundle_sv.properties +39 -4
  170. package/src/sap/ui/mdc/messagebundle_th.properties +40 -5
  171. package/src/sap/ui/mdc/messagebundle_tr.properties +37 -2
  172. package/src/sap/ui/mdc/messagebundle_uk.properties +41 -6
  173. package/src/sap/ui/mdc/messagebundle_vi.properties +37 -2
  174. package/src/sap/ui/mdc/messagebundle_zh_CN.properties +37 -2
  175. package/src/sap/ui/mdc/messagebundle_zh_TW.properties +37 -2
  176. package/src/sap/ui/mdc/mixin/AdaptationMixin.js +30 -15
  177. package/src/sap/ui/mdc/mixin/DelegateMixin.js +2 -142
  178. package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +14 -17
  179. package/src/sap/ui/mdc/mixin/PromiseMixin.js +2 -3
  180. package/src/sap/ui/mdc/mixin/PropertyHelperMixin.js +348 -0
  181. package/src/sap/ui/mdc/odata/TypeUtil.js +2 -2
  182. package/src/sap/ui/mdc/odata/v4/ChartDelegate.js +29 -483
  183. package/src/sap/ui/mdc/odata/v4/ChartPropertyHelper.js +106 -0
  184. package/src/sap/ui/mdc/odata/v4/FilterBarDelegate.js +116 -20
  185. package/src/sap/ui/mdc/odata/v4/ODataMetaModelUtil.js +2 -2
  186. package/src/sap/ui/mdc/odata/v4/TableDelegate.js +117 -123
  187. package/src/sap/ui/mdc/odata/v4/TypeUtil.js +3 -5
  188. package/src/sap/ui/mdc/odata/v4/ValueHelpDelegate.js +1 -1
  189. package/src/sap/ui/mdc/odata/v4/util/DelegateUtil.js +1 -1
  190. package/src/sap/ui/mdc/odata/v4/vizChart/{ChartDelegateNew.js → ChartDelegate.js} +459 -351
  191. package/src/sap/ui/mdc/p13n/AdaptationProvider.js +1 -1
  192. package/src/sap/ui/mdc/p13n/Engine.js +51 -30
  193. package/src/sap/ui/mdc/p13n/FlexUtil.js +6 -118
  194. package/src/sap/ui/mdc/p13n/P13nBuilder.js +7 -7
  195. package/src/sap/ui/mdc/p13n/PropertyHelper.js +2 -2
  196. package/src/sap/ui/mdc/p13n/StateUtil.js +24 -6
  197. package/src/sap/ui/mdc/p13n/UIManager.js +20 -19
  198. package/src/sap/ui/mdc/p13n/modification/FlexModificationHandler.js +4 -1
  199. package/src/sap/ui/mdc/p13n/modification/ModificationHandler.js +19 -12
  200. package/src/sap/ui/mdc/p13n/modules/DefaultProviderRegistry.js +1 -1
  201. package/src/sap/ui/mdc/p13n/panels/ActionToolbarPanel.js +6 -6
  202. package/src/sap/ui/mdc/p13n/panels/AdaptFiltersPanel.js +49 -27
  203. package/src/sap/ui/mdc/p13n/panels/ChartItemPanel.js +1094 -49
  204. package/src/sap/ui/mdc/p13n/panels/FilterPanel.js +136 -0
  205. package/src/sap/ui/mdc/p13n/panels/GroupView.js +53 -28
  206. package/src/sap/ui/mdc/p13n/panels/LinkSelectionPanel.js +108 -0
  207. package/src/sap/ui/mdc/p13n/subcontroller/ActionToolbarController.js +4 -7
  208. package/src/sap/ui/mdc/p13n/subcontroller/AdaptFiltersController.js +7 -7
  209. package/src/sap/ui/mdc/p13n/subcontroller/BaseController.js +156 -11
  210. package/src/sap/ui/mdc/p13n/subcontroller/ChartItemController.js +15 -26
  211. package/src/sap/ui/mdc/p13n/subcontroller/ColumnController.js +6 -5
  212. package/src/sap/ui/mdc/p13n/subcontroller/FilterController.js +22 -11
  213. package/src/sap/ui/mdc/p13n/subcontroller/LinkPanelController.js +174 -0
  214. package/src/sap/ui/mdc/p13n/subcontroller/SortController.js +12 -19
  215. package/src/sap/ui/mdc/table/Column.js +12 -12
  216. package/src/sap/ui/mdc/table/CreationRow.js +11 -11
  217. package/src/sap/ui/mdc/table/GridTableType.js +80 -33
  218. package/src/sap/ui/mdc/table/PropertyHelper.js +63 -19
  219. package/src/sap/ui/mdc/table/ResponsiveTableType.js +94 -23
  220. package/src/sap/ui/mdc/table/RowActionItem.js +119 -0
  221. package/src/sap/ui/mdc/table/RowSettings.js +45 -4
  222. package/src/sap/ui/mdc/table/TableTypeBase.js +2 -2
  223. package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +2 -2
  224. package/src/sap/ui/mdc/themes/base/Chart.less +2 -0
  225. package/src/sap/ui/mdc/themes/base/FieldBase.less +0 -5
  226. package/src/sap/ui/mdc/themes/base/TokenDisplay.less +89 -0
  227. package/src/sap/ui/mdc/themes/base/TokenizerDisplay.less +90 -0
  228. package/src/sap/ui/mdc/themes/base/ValueHelpDialog.less +16 -4
  229. package/src/sap/ui/mdc/themes/base/library.source.less +2 -0
  230. package/src/sap/ui/mdc/util/Common.js +1 -1
  231. package/src/sap/ui/mdc/util/DateUtil.js +33 -8
  232. package/src/sap/ui/mdc/util/FilterUtil.js +2 -2
  233. package/src/sap/ui/mdc/util/FormatUtil.js +3 -3
  234. package/src/sap/ui/mdc/util/IdentifierUtil.js +6 -6
  235. package/src/sap/ui/mdc/util/PromiseCache.js +1 -1
  236. package/src/sap/ui/mdc/util/PropertyHelper.js +243 -87
  237. package/src/sap/ui/mdc/util/TypeUtil.js +6 -5
  238. package/src/sap/ui/mdc/valuehelp/Dialog.js +11 -8
  239. package/src/sap/ui/mdc/valuehelp/Popover.js +6 -3
  240. package/src/sap/ui/mdc/valuehelp/base/Container.js +2 -1
  241. package/src/sap/ui/mdc/valuehelp/base/Content.js +2 -1
  242. package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +2 -1
  243. package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +5 -4
  244. package/src/sap/ui/mdc/valuehelp/base/ListContent.js +2 -1
  245. package/src/sap/ui/mdc/valuehelp/content/Bool.js +2 -1
  246. package/src/sap/ui/mdc/valuehelp/content/Conditions.js +4 -2
  247. package/src/sap/ui/mdc/valuehelp/content/FixedList.js +23 -14
  248. package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +46 -17
  249. package/src/sap/ui/mdc/valuehelp/content/MTable.js +48 -27
  250. package/test/sap/ui/mdc/testutils/opa/TestLibrary.js +3 -1
  251. package/test/sap/ui/mdc/testutils/opa/actions/OpenContextMenu.js +3 -3
  252. package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/ActionsBase.js +3 -3
  253. package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/ActionsViz.js +0 -0
  254. package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/AssertionsBase.js +1 -1
  255. package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/AssertionsViz.js +0 -0
  256. package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/ChartNew.js +0 -0
  257. package/test/sap/ui/mdc/testutils/opa/chart/TestObjects.js +291 -0
  258. package/test/sap/ui/mdc/testutils/opa/chartNew/TestObjects.js +7 -7
  259. package/test/sap/ui/mdc/testutils/opa/filterbar/TestObjects.js +8 -9
  260. package/test/sap/ui/mdc/testutils/opa/filterbar/Util.js +12 -11
  261. package/test/sap/ui/mdc/testutils/opa/link/Actions.js +85 -0
  262. package/test/sap/ui/mdc/testutils/opa/link/Assertions.js +79 -0
  263. package/test/sap/ui/mdc/testutils/opa/link/TestObjects.js +112 -0
  264. package/test/sap/ui/mdc/testutils/opa/link/waitForLink.js +50 -0
  265. package/test/sap/ui/mdc/testutils/opa/p13n/Actions.js +264 -139
  266. package/test/sap/ui/mdc/testutils/opa/p13n/Util.js +27 -26
  267. package/test/sap/ui/mdc/testutils/opa/valueHelp/Actions.js +54 -0
  268. package/test/sap/ui/mdc/testutils/opa/valueHelp/Assertions.js +5 -0
  269. package/test/sap/ui/mdc/testutils/opa/valueHelp/TestObjects.js +40 -0
  270. package/test/sap/ui/mdc/testutils/opa/valueHelp/Util.js +28 -0
  271. package/src/sap/ui/mdc/ChartDelegateNew.js +0 -395
  272. package/src/sap/ui/mdc/ChartNew.js +0 -1114
  273. package/src/sap/ui/mdc/ChartNewRenderer.js +0 -91
  274. package/src/sap/ui/mdc/chart/DimensionItem.js +0 -281
  275. package/src/sap/ui/mdc/chart/MeasureItem.js +0 -318
  276. package/src/sap/ui/mdc/chart/MetadataDelegate.js +0 -31
  277. package/src/sap/ui/mdc/chart/SelectionHandler.js +0 -127
  278. package/src/sap/ui/mdc/chart/ToolbarHandler.js +0 -328
  279. package/src/sap/ui/mdc/chartNew/ChartTypeButtonNew.js +0 -295
  280. package/src/sap/ui/mdc/chartNew/DrillStackHandlerNew.js +0 -212
  281. package/src/sap/ui/mdc/chartNew/ItemNew.js +0 -72
  282. package/src/sap/ui/mdc/chartNew/SelectionDetailsActionsNew.js +0 -34
  283. package/src/sap/ui/mdc/designtime/chart/ChartNew.designtime.js +0 -91
  284. package/src/sap/ui/mdc/filterbar/vh/GenericFilterBarDelegate.js +0 -150
  285. package/src/sap/ui/mdc/link/SelectionDialog.control.xml +0 -66
  286. package/src/sap/ui/mdc/link/SelectionDialog.js +0 -213
  287. package/src/sap/ui/mdc/link/SelectionDialogItem.js +0 -86
  288. package/src/sap/ui/mdc/odata/v4/ChartDelegateNew.js +0 -35
  289. package/src/sap/ui/mdc/odata/v4/ChartPropertyHelperNew.js +0 -39
  290. package/src/sap/ui/mdc/p13n/panels/BasePanel.js +0 -721
  291. package/src/sap/ui/mdc/p13n/panels/ChartItemPanelNew.js +0 -1179
  292. package/src/sap/ui/mdc/p13n/panels/ListView.js +0 -404
  293. package/src/sap/ui/mdc/p13n/panels/SelectionPanel.js +0 -92
  294. package/src/sap/ui/mdc/p13n/panels/SortPanel.js +0 -150
  295. package/src/sap/ui/mdc/ui/Container.js +0 -240
  296. package/src/sap/ui/mdc/ui/ContainerItem.js +0 -79
@@ -5,91 +5,87 @@
5
5
  */
6
6
 
7
7
  sap.ui.define(['./library'],
8
- function(library) {
9
- "use strict";
8
+ function(library) {
9
+ "use strict";
10
10
 
11
- /**
12
- * Chart renderer.
13
- * @namespace
14
- */
15
- var ChartRenderer = {
16
- apiVersion: 2
17
- };
11
+ /**
12
+ * Chart renderer.
13
+ * @namespace
14
+ */
15
+ var ChartRenderer = {
16
+ apiVersion: 2
17
+ };
18
18
 
19
- /**
20
- * CSS class to be applied to the HTML root element of the control.
21
- *
22
- * @readonly
23
- * @const {string}
24
- */
25
- ChartRenderer.CSS_CLASS = "sapUiMDCChart";
19
+ /**
20
+ * CSS class to be applied to the HTML root element of the control.
21
+ *
22
+ * @readonly
23
+ * @const {string}
24
+ */
25
+ ChartRenderer.CSS_CLASS = "sapUiMDCChart";
26
26
 
27
- /**
28
- * Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
29
- *
30
- * @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer
31
- * @param {sap.ui.core.Control} oControl An object representation of the control that should be rendered
32
- */
33
- ChartRenderer.render = function(oRm, oControl) {
34
- oRm.openStart("div", oControl);
35
- oRm.class(ChartRenderer.CSS_CLASS);
36
- oRm.class("sapUiFixFlex");
37
- oRm.style("overflow", "hidden");
38
- oRm.style("height", oControl.getHeight());
39
- oRm.style("width", oControl.getWidth());
40
- oRm.style("min-height", oControl.getMinHeight());
41
- oRm.style("min-width", oControl.getMinWidth());
42
- oRm.openEnd();
43
- this.renderToolbar(oRm, oControl.getAggregation("_toolbar"));
44
- this.renderBreadcrumbs(oRm, oControl.getAggregation("_breadcrumbs"));
45
- this.renderChart(oRm, oControl.getAggregation("_chart"));
46
- this.renderNoDataStruct(oRm, oControl.getAggregation("_noDataStruct"));
47
- oRm.close("div");
48
- };
27
+ /**
28
+ * Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
29
+ *
30
+ * @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer
31
+ * @param {sap.ui.mdc.Chart} oMDCChart An object representation of the control that should be rendered
32
+ */
33
+ ChartRenderer.render = function(oRm, oMDCChart) {
34
+ oRm.openStart("div", oMDCChart);
35
+ //TODO: Clarify why writeControlData doesn't work on rerender
36
+ oRm.attr("id", oMDCChart.getId());
37
+ oRm.class(ChartRenderer.CSS_CLASS);
38
+ //oRm.class("sapUiFixFlex");
39
+ //oRm.style("overflow", "hidden");
40
+ oRm.style("height", oMDCChart.getHeight());
41
+ oRm.style("width", oMDCChart.getWidth());
42
+ oRm.style("min-height", oMDCChart.getMinHeight());
43
+ oRm.style("min-width", oMDCChart.getMinWidth());
44
+ oRm.openEnd();
45
+ this.renderToolbar(oRm, oMDCChart.getAggregation("_toolbar"));
46
+ this.renderBreadcrumbs(oRm, oMDCChart.getAggregation("_breadcrumbs"));
47
+ //this.renderInnerChart(oRm, oMDCChart._getInnerChart());
48
+ this.renderInnerStructure(oRm, oMDCChart.getAggregation("_innerChart"));
49
+ oRm.close("div");
50
+ };
49
51
 
50
- ChartRenderer.renderNoDataStruct = function(oRm, oNoDataStruct) {
51
- if (oNoDataStruct) {
52
- oRm.openStart("div");
53
- oRm.class("sapUiFixFlexFlexibleContainer");
54
- oRm.openEnd();
55
- oRm.renderControl(oNoDataStruct);
56
- oRm.close("div");
57
- }
58
- };
52
+ ChartRenderer.renderNoDataStruct = function(oRm, oNoDataStruct) {
53
+ if (oNoDataStruct) {
54
+ /*oRm.openStart("div");
55
+ oRm.class("sapUiFixFlexFlexibleContainer");
56
+ oRm.openEnd();
57
+ oRm.renderControl(oNoDataStruct);
58
+ oRm.close("div");*/
59
+ }
60
+ };
59
61
 
60
- ChartRenderer.renderToolbar = function(oRm, oToolbar) {
62
+ ChartRenderer.renderToolbar = function(oRm, oToolbar) {
61
63
 
62
- if (oToolbar) {
63
- oRm.openStart("div");
64
- oRm.class("sapUiFixFlexFixed");
65
- oRm.openEnd();
66
- oRm.renderControl(oToolbar);
67
- oRm.close("div");
68
- }
69
- };
64
+ if (oToolbar) {
65
+ oRm.openStart("div");
66
+ oRm.class("sapUiFixFlexFixed");
67
+ oRm.openEnd();
68
+ oRm.renderControl(oToolbar);
69
+ oRm.close("div");
70
+ }
71
+ };
70
72
 
71
- ChartRenderer.renderBreadcrumbs = function(oRm, oDrillBreadcrumbs) {
73
+ ChartRenderer.renderBreadcrumbs = function(oRm, oDrillBreadcrumbs) {
72
74
 
73
- if (oDrillBreadcrumbs) {
74
- oRm.renderControl(oDrillBreadcrumbs);
75
- }
76
- };
75
+ if (oDrillBreadcrumbs) {
76
+ oRm.renderControl(oDrillBreadcrumbs);
77
+ }
78
+ };
77
79
 
78
- ChartRenderer.renderChart = function(oRm, oChart) {
80
+ ChartRenderer.renderInnerChart = function(oRm, oInnerChart) {
79
81
 
80
- if (oChart) {
81
- oRm.openStart("div");
82
- oRm.class("sapUiFixFlexFlexible");
83
- oRm.style("overflow", "hidden");
84
- oRm.openEnd();
85
- oRm.openStart("div");
86
- oRm.class("sapUiFixFlexFlexibleContainer");
87
- oRm.openEnd();
88
- oRm.renderControl(oChart);
89
- oRm.close("div");
90
- oRm.close("div");
91
- }
92
- };
82
+ if (oInnerChart) {
83
+ oRm.renderControl(oInnerChart);
84
+ }
85
+ };
86
+ ChartRenderer.renderInnerStructure = function (oRm, oInnerStructure){
87
+ oRm.renderControl(oInnerStructure);
88
+ };
93
89
 
94
- return ChartRenderer;
95
- }, true);
90
+ return ChartRenderer;
91
+ }, true);
@@ -4,8 +4,8 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
7
- "sap/ui/core/Control", "sap/ui/mdc/mixin/DelegateMixin", "sap/ui/mdc/mixin/AdaptationMixin"
8
- ], function(CoreControl, DelegateMixin, AdaptationMixin) {
7
+ "sap/ui/core/Control", "sap/ui/mdc/mixin/DelegateMixin", "sap/ui/mdc/mixin/PropertyHelperMixin", "sap/ui/mdc/mixin/AdaptationMixin"
8
+ ], function(CoreControl, DelegateMixin, PropertyHelperMixin, AdaptationMixin) {
9
9
  "use strict";
10
10
 
11
11
  /**
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @extends sap.ui.core.Control
21
21
  * @abstract
22
22
  * @author SAP SE
23
- * @version 1.97.1
23
+ * @version 1.100.0
24
24
  * @alias sap.ui.mdc.Control
25
25
  *
26
26
  * @borrows sap.ui.mdc.mixin.DelegateMixin.awaitControlDelegate as awaitControlDelegate
@@ -28,9 +28,12 @@ sap.ui.define([
28
28
  * @borrows sap.ui.mdc.mixin.DelegateMixin.getPayload as getPayload
29
29
  * @borrows sap.ui.mdc.mixin.DelegateMixin.getTypeUtil as getTypeUtil
30
30
  * @borrows sap.ui.mdc.mixin.DelegateMixin.initControlDelegate as initControlDelegate
31
- * @borrows sap.ui.mdc.mixin.DelegateMixin.initPropertyHelper as initPropertyHelper
32
- * @borrows sap.ui.mdc.mixin.DelegateMixin.awaitPropertyHelper as awaitPropertyHelper
33
- * @borrows sap.ui.mdc.mixin.DelegateMixin.getPropertyHelper as getPropertyHelper
31
+ *
32
+ * @borrows sap.ui.mdc.mixin.PropertyHelperMixin.initPropertyHelper as initPropertyHelper
33
+ * @borrows sap.ui.mdc.mixin.PropertyHelperMixin.awaitPropertyHelper as awaitPropertyHelper
34
+ * @borrows sap.ui.mdc.mixin.PropertyHelperMixin.getPropertyHelper as getPropertyHelper
35
+ * @borrows sap.ui.mdc.mixin.PropertyHelperMixin.finalizePropertyHelper as finalizePropertyHelper
36
+ * @borrows sap.ui.mdc.mixin.PropertyHelperMixin.isPropertyHelperFinal as isPropertyHelperFinal
34
37
  *
35
38
  * @borrows sap.ui.mdc.mixin.AdaptationMixin.getEngine as getInstance
36
39
  * @borrows sap.ui.mdc.mixin.AdaptationMixin.retrieveInbuiltFilter as retrieveInbuiltFilter
@@ -61,8 +64,10 @@ sap.ui.define([
61
64
  renderer: CoreControl.renderer
62
65
  });
63
66
 
67
+
64
68
  DelegateMixin.call(Control.prototype);
65
69
  AdaptationMixin.call(Control.prototype);
70
+ PropertyHelperMixin.call(Control.prototype);
66
71
 
67
72
  return Control;
68
73
  });
@@ -4,8 +4,8 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
7
- "sap/ui/core/Element", "sap/ui/mdc/mixin/DelegateMixin", "sap/ui/mdc/mixin/AdaptationMixin"
8
- ], function(CoreElement, DelegateMixin, AdaptationMixin) {
7
+ "sap/ui/core/Element", "sap/ui/mdc/mixin/DelegateMixin", "sap/ui/mdc/mixin/PropertyHelperMixin", "sap/ui/mdc/mixin/AdaptationMixin"
8
+ ], function(CoreElement, DelegateMixin, PropertyHelperMixin, AdaptationMixin) {
9
9
  "use strict";
10
10
 
11
11
  /**
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @extends sap.ui.core.Element
21
21
  * @abstract
22
22
  * @author SAP SE
23
- * @version 1.97.1
23
+ * @version 1.100.0
24
24
  * @alias sap.ui.mdc.Element
25
25
  *
26
26
  * @borrows sap.ui.mdc.mixin.DelegateMixin.awaitControlDelegate as awaitControlDelegate
@@ -28,10 +28,13 @@ sap.ui.define([
28
28
  * @borrows sap.ui.mdc.mixin.DelegateMixin.getPayload as getPayload
29
29
  * @borrows sap.ui.mdc.mixin.DelegateMixin.getTypeUtil as getTypeUtil
30
30
  * @borrows sap.ui.mdc.mixin.DelegateMixin.initControlDelegate as initControlDelegate
31
- * @borrows sap.ui.mdc.mixin.DelegateMixin.initPropertyHelper as initPropertyHelper
32
- * @borrows sap.ui.mdc.mixin.DelegateMixin.awaitPropertyHelper as awaitPropertyHelper
33
- * @borrows sap.ui.mdc.mixin.DelegateMixin.getPropertyHelper as getPropertyHelper
34
31
  *
32
+ * @borrows sap.ui.mdc.mixin.PropertyHelperMixin.initPropertyHelper as initPropertyHelper
33
+ * @borrows sap.ui.mdc.mixin.PropertyHelperMixin.awaitPropertyHelper as awaitPropertyHelper
34
+ * @borrows sap.ui.mdc.mixin.PropertyHelperMixin.getPropertyHelper as getPropertyHelper
35
+ * @borrows sap.ui.mdc.mixin.PropertyHelperMixin.finalizePropertyHelper as finalizePropertyHelper
36
+ * @borrows sap.ui.mdc.mixin.PropertyHelperMixin.isPropertyHelperFinal as isPropertyHelperFinal
37
+ *
35
38
  * @borrows sap.ui.mdc.mixin.AdaptationMixin.getEngine as getInstance
36
39
  * @borrows sap.ui.mdc.mixin.AdaptationMixin.retrieveInbuiltFilter as retrieveInbuiltFilter
37
40
  * @borrows sap.ui.mdc.mixin.AdaptationMixin.getInbuiltFilter as getInbuiltFilter
@@ -63,6 +66,7 @@ sap.ui.define([
63
66
 
64
67
  DelegateMixin.call(Element.prototype);
65
68
  AdaptationMixin.call(Element.prototype);
69
+ PropertyHelperMixin.call(Element.prototype);
66
70
 
67
71
  return Element;
68
72
  });
@@ -46,12 +46,12 @@ sap.ui.define([
46
46
  * @implements sap.ui.core.IFormContent
47
47
  *
48
48
  * @author SAP SE
49
- * @version 1.97.1
49
+ * @version 1.100.0
50
50
  *
51
51
  * @constructor
52
52
  * @alias sap.ui.mdc.Field
53
53
  * @author SAP SE
54
- * @version 1.97.1
54
+ * @version 1.100.0
55
55
  * @since 1.54.0
56
56
  * @experimental As of version 1.54
57
57
  *
@@ -188,7 +188,9 @@ sap.ui.define([
188
188
  this._oBindingContext = oBindingContext;
189
189
  this._oContentFactory.updateConditionType();
190
190
  if (this._bParseError || this.getFieldHelp()) { // In FieldHelp case InParameters might need an update
191
- this._oManagedObjectModel.checkUpdate(true, true); // async. to reduce updates
191
+ if (this._oManagedObjectModel) {
192
+ this._oManagedObjectModel.checkUpdate(true, true); // async. to reduce updates
193
+ }
192
194
  this._bParseError = false;
193
195
  }
194
196
  }
@@ -216,7 +218,9 @@ sap.ui.define([
216
218
 
217
219
  if (sPropertyName === "value" && this._bParseError && deepEqual(this.getValue(), this.validateProperty(sPropertyName, oValue))) {
218
220
  // in parse error and same value - no update on property - so remove error here
219
- this._oManagedObjectModel.checkUpdate(true, true); // async. to reduce updates (additionalValue will follow)
221
+ if (this._oManagedObjectModel) {
222
+ this._oManagedObjectModel.checkUpdate(true, true); // async. to reduce updates (additionalValue will follow)
223
+ }
220
224
  this._bParseError = false;
221
225
  }
222
226
 
@@ -532,6 +536,17 @@ sap.ui.define([
532
536
  return false;
533
537
 
534
538
  }
539
+
540
+ Field.prototype._checkCreateInternalContent = function() {
541
+
542
+ if (!this.bIsDestroyed && this._oContentFactory.getDataType() && !this._isPropertyInitial("editMode") && !this._isPropertyInitial("multipleLines")) {
543
+ // If DataType is provided via Binding and EditMode is set the internal control can be created
544
+ // TODO: no control needed if just template for cloning
545
+ FieldBase.prototype._checkCreateInternalContent.apply(this, arguments);
546
+ }
547
+
548
+ };
549
+
535
550
  /**
536
551
  * Sets conditions to the property <code>conditions</code>.
537
552
  *
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * The metadata information is provided via the {@link sap.ui.mdc.FilterBarDelegate FilterBarDelegate} implementation. This implementation has to be provided by the application.
22
22
  * @extends sap.ui.mdc.filterbar.FilterBarBase
23
23
  * @author SAP SE
24
- * @version 1.97.1
24
+ * @version 1.100.0
25
25
  * @constructor
26
26
  * @experimental As of version 1.61
27
27
  * @private
@@ -207,9 +207,10 @@ sap.ui.define([
207
207
  }.bind(this));
208
208
  };
209
209
 
210
+
210
211
  FilterBar.prototype.onAdaptFilters = function(oEvent) {
211
212
 
212
- return this._oMetadataAppliedPromise.then(function() {
213
+ return this._retrieveMetadata().then(function() {
213
214
  return this.getEngine().uimanager.show(this, "Item", this._btnAdapt);
214
215
  }.bind(this));
215
216
 
@@ -33,5 +33,31 @@ sap.ui.define(["sap/ui/mdc/AggregationBaseDelegate"], function(AggregationBaseDe
33
33
  return Promise.resolve(true);
34
34
  };
35
35
 
36
+ /**
37
+ * This methods is called during the appliance of the add condition change.
38
+ * This intention is to update the propertyInfo property.
39
+ *
40
+ * @param {string} sPropertyName The name of a property.
41
+ * @param {sap.ui.mdc.FilterBar} oFilterBar - the instance of filter bar
42
+ * @param {Object} mPropertyBag Instance of property bag from Flex change API
43
+ * @returns {Promise} Promise that resolves once the properyInfo property was updated
44
+ */
45
+ FilterBarDelegate.addCondition = function(sPropertyName, oFilterBar, mPropertyBag) {
46
+ return Promise.resolve();
47
+ };
48
+
49
+ /**
50
+ * This methods is called during the appliance of the remove condition change.
51
+ * This intention is to update the propertyInfo property.
52
+ *
53
+ * @param {string} sPropertyName The name of a property.
54
+ * @param {sap.ui.mdc.FilterBar} oFilterBar - the instance of filter bar
55
+ * @param {Object} mPropertyBag Instance of property bag from Flex change API
56
+ * @returns {Promise} Promise that resolves once the properyInfo property was updated
57
+ */
58
+ FilterBarDelegate.removeCondition = function(sPropertyName, oFilterBar, mPropertyBag) {
59
+ return Promise.resolve();
60
+ };
61
+
36
62
  return FilterBarDelegate;
37
63
  });
@@ -6,11 +6,13 @@
6
6
  sap.ui.define([
7
7
  'sap/ui/mdc/field/FieldBase',
8
8
  'sap/ui/mdc/field/FieldBaseRenderer',
9
+ 'sap/ui/mdc/enum/FieldDisplay',
9
10
  'sap/base/util/merge',
10
11
  'sap/base/util/deepEqual'
11
12
  ], function(
12
13
  FieldBase,
13
14
  FieldBaseRenderer,
15
+ FieldDisplay,
14
16
  merge,
15
17
  deepEqual
16
18
  ) {
@@ -31,12 +33,12 @@ sap.ui.define([
31
33
  * @extends sap.ui.mdc.field.FieldBase
32
34
  *
33
35
  * @author SAP SE
34
- * @version 1.97.1
36
+ * @version 1.100.0
35
37
  *
36
38
  * @constructor
37
39
  * @alias sap.ui.mdc.FilterField
38
40
  * @author SAP SE
39
- * @version 1.97.1
41
+ * @version 1.100.0
40
42
  * @since 1.48.0
41
43
  *
42
44
  * @experimental As of version 1.48
@@ -141,7 +143,9 @@ sap.ui.define([
141
143
  // As ConditionModel triggers checkUpdate in forced mode on addCondition, setConditions... also unchanged conditions will be updated
142
144
  // So e.g. if a variant is applied an error will be removed.
143
145
  if (this._oContentFactory.getBoundProperty()) { // single value case
144
- this._oManagedObjectModel.checkUpdate(true, true); // async. to reduce updates (additionalValue will follow)
146
+ if (this._oManagedObjectModel) {
147
+ this._oManagedObjectModel.checkUpdate(true, true); // async. to reduce updates (additionalValue will follow)
148
+ }
145
149
  } else { // Multi value case - don't update tokens, initialize value
146
150
  var oContent = this._getContent()[0];
147
151
  if (oContent && oContent.setValue) {
@@ -222,10 +226,11 @@ sap.ui.define([
222
226
  /**
223
227
  * Adds an operator to the list of known operators.
224
228
  *
225
- * @param {sap.ui.mdc.condition.Operator|string} vOperator The operator instance or operator name
226
- *
227
229
  * <b>Note</b>: If no operator is set, the used type of the <code>FilterField</code> defines the set of default operators.
228
230
  *
231
+ * @param {sap.ui.mdc.condition.Operator|string} vOperator The operator instance or operator name
232
+ * @returns {this} Reference to <code>this</code> to allow method chaining
233
+ *
229
234
  * @since: 1.88.0
230
235
  * @private
231
236
  * @ui5-restricted sap.fe
@@ -243,15 +248,17 @@ sap.ui.define([
243
248
  aOperators.push(sOpName);
244
249
  this.setOperators(aOperators);
245
250
  }
251
+ return this;
246
252
  };
247
253
 
248
254
  /**
249
255
  * Adds an array of operators to the list of known operators.
250
256
  *
251
- * @param {sap.ui.mdc.condition.Operator[]} aOperators Array of operators
252
- *
253
257
  * <b>Note</b>: <code>aOperators</code> can be the name of an {@link sap.ui.mdc.condition.Operator Operator}, the instance itself, or multiple operators inside an array.
254
258
  *
259
+ * @param {sap.ui.mdc.condition.Operator[]} aOperators Array of operators
260
+ * @returns {this} Reference to <code>this</code> to allow method chaining
261
+ *
255
262
  * @since: 1.88.0
256
263
  * @private
257
264
  * @ui5-restricted sap.fe
@@ -295,10 +302,10 @@ sap.ui.define([
295
302
  /**
296
303
  * Removes all given operators from the list of known operators.
297
304
  *
298
- * @param {sap.ui.mdc.condition.Operator[]} aOperators Array of operators
299
- *
300
305
  * <b>Note</b>: <code>aOperators</code> can be the name of an {@link sap.ui.mdc.condition.Operator Operator}, the instance itself, or multiple operators inside an array.
301
306
  *
307
+ * @param {sap.ui.mdc.condition.Operator[]} aOperators Array of operators
308
+ *
302
309
  * @since: 1.88.0
303
310
  * @private
304
311
  * @ui5-restricted sap.fe
@@ -338,6 +345,40 @@ sap.ui.define([
338
345
  return this;
339
346
  };
340
347
 
348
+ FilterField.prototype._checkCreateInternalContent = function() {
349
+
350
+ if (!this.bIsDestroyed && !this.isPropertyInitial("dataType")) {
351
+ // If DataType is set in applySettings we can assume it is final and DataTypeFormatOptions and DataTypeContraints are set too
352
+ // EditMode is not relevant as non editable FilterFields are not a use case in the moment.
353
+ // MultipleLines is also not used for FilterFields in the moment.
354
+ // MaxConditions should also be set on applySettings
355
+
356
+ var sId = this.getFieldHelp();
357
+ var oFieldHelp = sap.ui.getCore().byId(sId);
358
+ var oBindingInfo = this.getBindingInfo("conditions");
359
+ var oBinding = this.getBinding("conditions");
360
+ if (this.getDisplay() !== FieldDisplay.Value && sId && (!oFieldHelp || (oBindingInfo && !oBinding))) {
361
+ // FieldHelp might need ConditionModel to determine value of InParameters to get the description.
362
+ // So if FieldHelp not exists right now or binding to ConditionModel not already created, wait.
363
+ return;
364
+ }
365
+
366
+ this._oContentFactory.retrieveDataType();
367
+ FieldBase.prototype._checkCreateInternalContent.apply(this, arguments);
368
+ }
369
+
370
+ };
371
+
372
+ FilterField.prototype._handleModelContextChange = function(oEvent) {
373
+
374
+ FieldBase.prototype._handleModelContextChange.apply(this, arguments);
375
+
376
+ if (this._getContent().length === 0) {
377
+ // inner control not created, maybe it can be created bow (maybe ConditionModel assignment changed)
378
+ this._triggerCheckCreateInternalContent();
379
+ }
380
+
381
+ };
341
382
 
342
383
  return FilterField;
343
384
 
@@ -38,14 +38,14 @@ sap.ui.define([
38
38
  * @param {object} [mSettings] Initial settings for the new control
39
39
  *
40
40
  * @class
41
- * A <code>Link</code> control can be used to handle navigation scenarios with one or more targets through direct navigation or by opening a {@link sap.ui.mdc.link.Panel}.<br>
42
- * It can also be used to display additional content, such as {@link sap.ui.mdc.link.ContactDetails} on the {@link sap.ui.mdc.link.Panel}.
41
+ * A <code>Link</code> control can be used to handle navigation scenarios with one or more targets through direct navigation or by opening a <code>Panel</code>.<br>
42
+ * It can also be used to display additional content, such as <code>ContactDetails</code> on the <code>Panel</code>.
43
43
  * <b>Note:</b> Navigation targets are determined by the implementation of a {@link sap.ui.mdc.LinkDelegate}.
44
44
  *
45
45
  * @extends sap.ui.mdc.field.FieldInfoBase
46
46
  *
47
47
  * @author SAP SE
48
- * @version 1.97.1
48
+ * @version 1.100.0
49
49
  *
50
50
  * @constructor
51
51
  * @alias sap.ui.mdc.Link
@@ -101,6 +101,7 @@ sap.ui.define([
101
101
  contentTitle: undefined,
102
102
  linkItems: []
103
103
  });
104
+
104
105
  oModel.setDefaultBindingMode(BindingMode.TwoWay);
105
106
  oModel.setSizeLimit(1000);
106
107
  this.setModel(oModel, "$sapuimdcLink");
@@ -260,6 +261,24 @@ sap.ui.define([
260
261
  }.bind(this));
261
262
  };
262
263
 
264
+ Link.prototype.checkDirectNavigation = function() {
265
+ var oLinkItemsPromise = this.retrieveLinkItems();
266
+ var oAdditionalContentPromise = this.retrieveAdditionalContent();
267
+ return Promise.all([oLinkItemsPromise, oAdditionalContentPromise]).then(function(values) {
268
+ var aLinkItems = values[0];
269
+ var aAdditionalContent = values[1];
270
+
271
+ this._setConvertedLinkItems(aLinkItems);
272
+ var aMLinkItems = this._getInternalModel().getProperty("/linkItems");
273
+
274
+ if (aMLinkItems.length === 1 && !aAdditionalContent.length) {
275
+ Panel.navigate(aMLinkItems[0].href);
276
+ return Promise.resolve(true);
277
+ }
278
+ return Promise.resolve(false);
279
+ }.bind(this));
280
+ };
281
+
263
282
  /**
264
283
  * @private
265
284
  * @param {sap.ui.mdc.link.LinkItem[]} aLinkItems The given <code>LinkItem</code> objects
@@ -311,14 +330,14 @@ sap.ui.define([
311
330
  * @private
312
331
  * @param {sap.ui.fl.Utils} Utils Flexibility utility class
313
332
  * @param {sap.ui.fl.apply.api.FlexRuntimeInfoAPI} FlexRuntimeInfoAPI Flexibility runtime info API
314
- * @returns {String} Generated ID of the panel
333
+ * @returns {string} Generated ID of the panel
315
334
  */
316
335
  Link.prototype._createPanelId = function(Utils, FlexRuntimeInfoAPI) {
317
336
  var oField;
318
337
  if (this.getParent()) {
319
338
  oField = this.getParent();
320
339
  }
321
- var oControl = sap.ui.getCore().byId(this.getSourceControl());
340
+ var oControl = typeof this.getSourceControl() === "string" ? sap.ui.getCore().byId(this.getSourceControl()) : this.getSourceControl();
322
341
  if (!oControl) {
323
342
  //SapBaseLog.error("Invalid source control: " + this.getSourceControl() + ". The mandatory 'sourceControl' association should be defined due to personalization reasons, parent: " + oField + " used instead.");
324
343
  this.setSourceControl(oField);
@@ -543,7 +562,7 @@ sap.ui.define([
543
562
  * @returns {Object} The binding context of the SourceControl / link
544
563
  */
545
564
  Link.prototype._getControlBindingContext = function() {
546
- var oControl = sap.ui.getCore().byId(this.getSourceControl());
565
+ var oControl = typeof this.getSourceControl() === "string" ? sap.ui.getCore().byId(this.getSourceControl()) : this.getSourceControl();
547
566
  return oControl && oControl.getBindingContext() || this.getBindingContext();
548
567
  };
549
568
 
@@ -32,8 +32,8 @@ sap.ui.define(['sap/ui/mdc/BaseDelegate'], function(BaseDelegate) {
32
32
  return Promise.resolve(null);
33
33
  },
34
34
  /**
35
- * @typedef {Object} sap.ui.mdc.LinkDelegate.LinkType
36
- * @property {Number} type 0 (Text) | 1 (Direct Link) | 2 (Popup)
35
+ * @typedef {object} sap.ui.mdc.LinkDelegate.LinkType
36
+ * @property {number} type 0 (Text) | 1 (Direct Link) | 2 (Popup)
37
37
  * If <code>oLinkType.type</code> is 0, the link is rendered as a text.
38
38
  * If <code>oLinkType.type</code> is 1, the link is rendered as a link. When pressed the link triggers a direct navigation instead.
39
39
  * If <code>oLinkType.type</code> is 2, the link is rendered as a link and opens a popover (default).
@@ -94,4 +94,4 @@ sap.ui.define(['sap/ui/mdc/BaseDelegate'], function(BaseDelegate) {
94
94
  }
95
95
  });
96
96
  return LinkDelegate;
97
- }, /* bExport= */ true);
97
+ });
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @constructor
36
36
  * @alias sap.ui.mdc.MultiValueField
37
37
  * @author SAP SE
38
- * @version 1.97.1
38
+ * @version 1.100.0
39
39
  * @since 1.93.0
40
40
  *
41
41
  * @private
@@ -318,6 +318,16 @@ sap.ui.define([
318
318
 
319
319
  };
320
320
 
321
+ Field.prototype._checkCreateInternalContent = function() {
322
+
323
+ if (!this.bIsDestroyed && this._oContentFactory.getDataType() && !this._isPropertyInitial("editMode")) {
324
+ // If DataType is provided via Binding and EditMode is set the internal control can be created
325
+ // TODO: no control needed if just template for cloning
326
+ FieldBase.prototype._checkCreateInternalContent.apply(this, arguments);
327
+ }
328
+
329
+ };
330
+
321
331
  /**
322
332
  * Sets conditions to the property <code>conditions</code>.
323
333
  *
@@ -325,7 +335,7 @@ sap.ui.define([
325
335
  * use the <code>items</code> aggregation instead.
326
336
  *
327
337
  * @param {object[]} aConditions Conditions to be set
328
- * @returns {sap.ui.mdc.Field} Reference to <code>this</code> to allow method chaining
338
+ * @returns {sap.ui.mdc.MultiValueField} Reference to <code>this</code> to allow method chaining
329
339
  * @private
330
340
  * @ui5-restricted sap.fe
331
341
  * @MDC_PUBLIC_CANDIDATE
@@ -358,7 +368,7 @@ sap.ui.define([
358
368
  * In this case the value of the <code>dataType</code> property is ignored.
359
369
  *
360
370
  * @param {string} sDataType DataType to be set
361
- * @returns {sap.ui.mdc.Field} Reference to <code>this</code> to allow method chaining
371
+ * @returns {sap.ui.mdc.MultiValueField} Reference to <code>this</code> to allow method chaining
362
372
  * @private
363
373
  * @ui5-restricted sap.fe
364
374
  * @MDC_PUBLIC_CANDIDATE
@@ -375,7 +385,7 @@ sap.ui.define([
375
385
  * In this case the values of the <code>dataType</code> property and the <code>dataTypeConstraints</code> property are ignored.
376
386
  *
377
387
  * @param {string} oDataTypeConstraints Constraints to be set
378
- * @returns {sap.ui.mdc.Field} Reference to <code>this</code> to allow method chaining
388
+ * @returns {sap.ui.mdc.MultiValueField} Reference to <code>this</code> to allow method chaining
379
389
  * @private
380
390
  * @ui5-restricted sap.fe
381
391
  * @MDC_PUBLIC_CANDIDATE
@@ -392,7 +402,7 @@ sap.ui.define([
392
402
  * In this case the values of the <code>dataType</code> property and the <code>dataTypeFormatOptions</code> property are ignored.
393
403
  *
394
404
  * @param {string} oDataTypeFormatOptions Format options to be set
395
- * @returns {sap.ui.mdc.Field} Reference to <code>this</code> to allow method chaining
405
+ * @returns {sap.ui.mdc.MultiValueField} Reference to <code>this</code> to allow method chaining
396
406
  * @private
397
407
  * @ui5-restricted sap.fe
398
408
  * @MDC_PUBLIC_CANDIDATE
@@ -402,6 +412,20 @@ sap.ui.define([
402
412
  * @function
403
413
  */
404
414
 
405
- return Field;
415
+ /**
416
+ * Sets a new value for property <code>multipleLines</code>.
417
+ *
418
+ * @param {boolean} [bMultipleLines=false] New value for property <code>multipleLines</code>
419
+ * @returns {sap.ui.mdc.MultiValueField} Reference to <code>this</code> to allow method chaining
420
+ * @private
421
+ * @ui5-restricted sap.fe
422
+ * @MDC_PUBLIC_CANDIDATE
423
+ * @deprecated This property is not supported for multi-value fields.
424
+ * @ui5-not-supported
425
+ * @name sap.ui.mdc.MultiValueField#setMultipleLines
426
+ * @function
427
+ */
428
+
429
+ return Field;
406
430
 
407
431
  });