@openui5/sap.ui.mdc 1.96.2 → 1.98.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 (329) hide show
  1. package/.reuse/dep5 +26 -31
  2. package/THIRDPARTY.txt +15 -21
  3. package/package.json +4 -4
  4. package/src/sap/ui/mdc/.library +2 -2
  5. package/src/sap/ui/mdc/ActionToolbar.js +3 -8
  6. package/src/sap/ui/mdc/AggregationBaseDelegate.js +2 -2
  7. package/src/sap/ui/mdc/BaseDelegate.js +2 -2
  8. package/src/sap/ui/mdc/Chart.js +1017 -1797
  9. package/src/sap/ui/mdc/ChartDelegate.js +430 -271
  10. package/src/sap/ui/mdc/ChartRenderer.js +74 -78
  11. package/src/sap/ui/mdc/Control.js +2 -2
  12. package/src/sap/ui/mdc/Delegate.js +1 -1
  13. package/src/sap/ui/mdc/Element.js +2 -2
  14. package/src/sap/ui/mdc/Field.js +4 -3
  15. package/src/sap/ui/mdc/FilterBar.js +4 -3
  16. package/src/sap/ui/mdc/FilterBarDelegate.js +1 -1
  17. package/src/sap/ui/mdc/FilterField.js +26 -9
  18. package/src/sap/ui/mdc/Link.js +5 -4
  19. package/src/sap/ui/mdc/LinkDelegate.js +2 -2
  20. package/src/sap/ui/mdc/MultiValueField.js +3 -2
  21. package/src/sap/ui/mdc/Table.js +174 -142
  22. package/src/sap/ui/mdc/TableDelegate.js +31 -16
  23. package/src/sap/ui/mdc/ValueHelp.js +52 -16
  24. package/src/sap/ui/mdc/ValueHelpDelegate.js +21 -1
  25. package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +2 -2
  26. package/src/sap/ui/mdc/actiontoolbar/ActionToolbarActionRenderer.js +1 -1
  27. package/src/sap/ui/mdc/{chartNew/ChartSelectionDetailsNew.js → chart/ChartSelectionDetails.js} +9 -9
  28. package/src/sap/ui/mdc/chart/ChartSettings.js +1 -1
  29. package/src/sap/ui/mdc/{chartNew/ChartToolbarNew.js → chart/ChartToolbar.js} +11 -11
  30. package/src/sap/ui/mdc/chart/ChartTypeButton.js +49 -53
  31. package/src/sap/ui/mdc/{chartNew/DrillBreadcrumbsNew.js → chart/DrillBreadcrumbs.js} +4 -4
  32. package/src/sap/ui/mdc/chart/DrillStackHandler.js +39 -250
  33. package/src/sap/ui/mdc/chart/Item.js +63 -93
  34. package/src/sap/ui/mdc/{chartNew/PropertyHelperNew.js → chart/PropertyHelper.js} +4 -4
  35. package/src/sap/ui/mdc/chart/SelectionDetailsActions.js +18 -22
  36. package/src/sap/ui/mdc/condition/Condition.js +2 -2
  37. package/src/sap/ui/mdc/condition/ConditionConverter.js +2 -2
  38. package/src/sap/ui/mdc/condition/ConditionModel.js +2 -2
  39. package/src/sap/ui/mdc/condition/ConditionModelPropertyBinding.js +1 -1
  40. package/src/sap/ui/mdc/condition/FilterConverter.js +2 -2
  41. package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +7 -3
  42. package/src/sap/ui/mdc/condition/Operator.js +10 -10
  43. package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +437 -0
  44. package/src/sap/ui/mdc/condition/RangeOperator.js +2 -2
  45. package/src/sap/ui/mdc/designtime/actiontoolbar/ActionToolbar.designtime.js +1 -1
  46. package/src/sap/ui/mdc/designtime/chart/Chart.designtime.js +78 -6
  47. package/src/sap/ui/mdc/designtime/field/Field.designtime.js +97 -0
  48. package/src/sap/ui/mdc/designtime/field/FieldBase.designtime.js +104 -0
  49. package/src/sap/ui/mdc/designtime/field/FilterField.designtime.js +22 -0
  50. package/src/sap/ui/mdc/designtime/field/MultiValueField.designtime.js +23 -0
  51. package/src/sap/ui/mdc/designtime/filterbar/FilterBar.designtime.js +1 -1
  52. package/src/sap/ui/mdc/designtime/filterbar/FilterBarBase.designtime.js +4 -1
  53. package/src/sap/ui/mdc/designtime/library.designtime.js +1 -1
  54. package/src/sap/ui/mdc/designtime/link/Panel.designtime.js +1 -1
  55. package/src/sap/ui/mdc/designtime/link/PanelItem.designtime.js +1 -1
  56. package/src/sap/ui/mdc/designtime/p13n/PersistenceProvider.designtime.js +1 -1
  57. package/src/sap/ui/mdc/designtime/table/Table.designtime.js +1 -1
  58. package/src/sap/ui/mdc/enum/ActionToolbarActionAlignment.js +1 -1
  59. package/src/sap/ui/mdc/enum/BaseType.js +1 -1
  60. package/src/sap/ui/mdc/enum/ConditionValidated.js +1 -1
  61. package/src/sap/ui/mdc/enum/ContentMode.js +1 -1
  62. package/src/sap/ui/mdc/enum/EditMode.js +1 -1
  63. package/src/sap/ui/mdc/enum/FieldDisplay.js +1 -1
  64. package/src/sap/ui/mdc/enum/OutParameterMode.js +1 -1
  65. package/src/sap/ui/mdc/enum/PersistenceMode.js +1 -1
  66. package/src/sap/ui/mdc/enum/SelectType.js +1 -1
  67. package/src/sap/ui/mdc/field/BoolFieldHelp.js +2 -2
  68. package/src/sap/ui/mdc/field/ConditionFieldHelp.js +2 -2
  69. package/src/sap/ui/mdc/field/ConditionType.js +8 -8
  70. package/src/sap/ui/mdc/field/ConditionsType.js +8 -8
  71. package/src/sap/ui/mdc/field/CustomFieldHelp.js +2 -2
  72. package/src/sap/ui/mdc/field/CustomFieldInfo.js +2 -2
  73. package/src/sap/ui/mdc/field/DefineConditionPanel.js +59 -22
  74. package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +311 -0
  75. package/src/sap/ui/mdc/field/FieldBase.js +84 -53
  76. package/src/sap/ui/mdc/field/FieldBaseDelegate.js +1 -1
  77. package/src/sap/ui/mdc/field/FieldBaseRenderer.js +1 -4
  78. package/src/sap/ui/mdc/field/FieldHelpBase.js +2 -2
  79. package/src/sap/ui/mdc/field/FieldHelpBaseDelegate.js +1 -1
  80. package/src/sap/ui/mdc/field/FieldInfoBase.js +2 -2
  81. package/src/sap/ui/mdc/field/FieldInput.js +2 -2
  82. package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +2 -2
  83. package/src/sap/ui/mdc/field/FieldInputRenderer.js +1 -1
  84. package/src/sap/ui/mdc/field/FieldMultiInput.js +2 -2
  85. package/src/sap/ui/mdc/field/FieldMultiInputRenderer.js +1 -1
  86. package/src/sap/ui/mdc/field/FieldValueHelp.js +8 -8
  87. package/src/sap/ui/mdc/field/FieldValueHelpContentWrapperBase.js +2 -2
  88. package/src/sap/ui/mdc/field/FieldValueHelpDelegate.js +21 -1
  89. package/src/sap/ui/mdc/field/FieldValueHelpMTableWrapper.js +2 -2
  90. package/src/sap/ui/mdc/field/FieldValueHelpMdcTableWrapper.js +2 -2
  91. package/src/sap/ui/mdc/field/FieldValueHelpTableWrapperBase.js +3 -2
  92. package/src/sap/ui/mdc/field/FieldValueHelpUITableWrapper.js +2 -2
  93. package/src/sap/ui/mdc/field/InParameter.js +2 -2
  94. package/src/sap/ui/mdc/field/ListFieldHelp.js +11 -3
  95. package/src/sap/ui/mdc/field/ListFieldHelpItem.js +2 -2
  96. package/src/sap/ui/mdc/field/MultiValueFieldDelegate.js +1 -1
  97. package/src/sap/ui/mdc/field/MultiValueFieldItem.js +2 -2
  98. package/src/sap/ui/mdc/field/OutParameter.js +2 -2
  99. package/src/sap/ui/mdc/field/ValueHelpPanel.js +3 -2
  100. package/src/sap/ui/mdc/field/content/BooleanContent.js +2 -2
  101. package/src/sap/ui/mdc/field/content/ContentFactory.js +24 -22
  102. package/src/sap/ui/mdc/field/content/DateContent.js +129 -3
  103. package/src/sap/ui/mdc/field/content/DateTimeContent.js +10 -2
  104. package/src/sap/ui/mdc/field/content/DefaultContent.js +2 -2
  105. package/src/sap/ui/mdc/field/content/LinkContent.js +1 -1
  106. package/src/sap/ui/mdc/field/content/SearchContent.js +1 -1
  107. package/src/sap/ui/mdc/field/content/TimeContent.js +9 -2
  108. package/src/sap/ui/mdc/field/content/UnitContent.js +24 -5
  109. package/src/sap/ui/mdc/filterbar/FilterBarBase.js +326 -141
  110. package/src/sap/ui/mdc/filterbar/FilterBarBaseRenderer.js +1 -1
  111. package/src/sap/ui/mdc/filterbar/IFilterContainer.js +1 -1
  112. package/src/sap/ui/mdc/filterbar/PropertyHelper.js +2 -2
  113. package/src/sap/ui/mdc/filterbar/aligned/FilterContainer.js +1 -1
  114. package/src/sap/ui/mdc/filterbar/aligned/FilterItemLayout.js +1 -1
  115. package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +9 -3
  116. package/src/sap/ui/mdc/filterbar/p13n/FilterColumnLayout.js +1 -1
  117. package/src/sap/ui/mdc/filterbar/p13n/FilterGroupLayout.js +1 -1
  118. package/src/sap/ui/mdc/filterbar/p13n/GroupContainer.js +1 -1
  119. package/src/sap/ui/mdc/filterbar/p13n/TableContainer.js +1 -1
  120. package/src/sap/ui/mdc/filterbar/vh/CollectiveSearchSelect.js +4 -2
  121. package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +8 -2
  122. package/src/sap/ui/mdc/filterbar/vh/FilterContainer.js +1 -1
  123. package/src/sap/ui/mdc/filterbar/vh/GenericFilterBarDelegate.js +7 -7
  124. package/src/sap/ui/mdc/flexibility/ActionToolbar.flexibility.js +1 -1
  125. package/src/sap/ui/mdc/flexibility/ActionToolbarAction.flexibility.js +1 -1
  126. package/src/sap/ui/mdc/flexibility/AggregateFlex.js +3 -3
  127. package/src/sap/ui/mdc/flexibility/AggregationConfigFlex.js +1 -1
  128. package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +2 -2
  129. package/src/sap/ui/mdc/flexibility/ChartItemFlex.js +1 -1
  130. package/src/sap/ui/mdc/flexibility/ColumnFlex.js +2 -2
  131. package/src/sap/ui/mdc/flexibility/ConditionFlex.js +1 -1
  132. package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +5 -4
  133. package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +2 -2
  134. package/src/sap/ui/mdc/flexibility/GroupFlex.js +2 -2
  135. package/src/sap/ui/mdc/flexibility/ItemBaseFlex.js +1 -1
  136. package/src/sap/ui/mdc/flexibility/Panel.flexibility.js +10 -4
  137. package/src/sap/ui/mdc/flexibility/PanelItem.flexibility.js +1 -1
  138. package/src/sap/ui/mdc/flexibility/PropertyInfoFlex.js +110 -0
  139. package/src/sap/ui/mdc/flexibility/SortFlex.js +3 -3
  140. package/src/sap/ui/mdc/flexibility/Table.flexibility.js +1 -1
  141. package/src/sap/ui/mdc/flp/FlpLinkDelegate.js +2 -2
  142. package/src/sap/ui/mdc/library.js +50 -39
  143. package/src/sap/ui/mdc/link/ContactDetails.js +2 -2
  144. package/src/sap/ui/mdc/link/ContactDetailsAddressItem.js +2 -2
  145. package/src/sap/ui/mdc/link/ContactDetailsEmailItem.js +2 -2
  146. package/src/sap/ui/mdc/link/ContactDetailsItem.js +2 -2
  147. package/src/sap/ui/mdc/link/ContactDetailsPhoneItem.js +2 -2
  148. package/src/sap/ui/mdc/link/Factory.js +3 -3
  149. package/src/sap/ui/mdc/link/FakeFlpConnector.js +2 -2
  150. package/src/sap/ui/mdc/link/LinkItem.js +2 -2
  151. package/src/sap/ui/mdc/link/Log.js +1 -1
  152. package/src/sap/ui/mdc/link/Panel.js +141 -179
  153. package/src/sap/ui/mdc/link/PanelItem.js +2 -2
  154. package/src/sap/ui/mdc/link/PanelListItem.js +2 -2
  155. package/src/sap/ui/mdc/link/SemanticObjectMapping.js +2 -2
  156. package/src/sap/ui/mdc/link/SemanticObjectMappingItem.js +2 -2
  157. package/src/sap/ui/mdc/link/SemanticObjectUnavailableAction.js +2 -2
  158. package/src/sap/ui/mdc/messagebundle.properties +19 -4
  159. package/src/sap/ui/mdc/messagebundle_ar.properties +13 -4
  160. package/src/sap/ui/mdc/messagebundle_bg.properties +11 -2
  161. package/src/sap/ui/mdc/messagebundle_ca.properties +11 -2
  162. package/src/sap/ui/mdc/messagebundle_cs.properties +26 -17
  163. package/src/sap/ui/mdc/messagebundle_cy.properties +11 -2
  164. package/src/sap/ui/mdc/messagebundle_da.properties +18 -9
  165. package/src/sap/ui/mdc/messagebundle_de.properties +11 -2
  166. package/src/sap/ui/mdc/messagebundle_el.properties +12 -3
  167. package/src/sap/ui/mdc/messagebundle_en.properties +11 -2
  168. package/src/sap/ui/mdc/messagebundle_en_GB.properties +11 -2
  169. package/src/sap/ui/mdc/messagebundle_en_US_sappsd.properties +17 -0
  170. package/src/sap/ui/mdc/messagebundle_en_US_saprigi.properties +3 -19
  171. package/src/sap/ui/mdc/messagebundle_en_US_saptrc.properties +17 -0
  172. package/src/sap/ui/mdc/messagebundle_es.properties +12 -3
  173. package/src/sap/ui/mdc/messagebundle_es_MX.properties +24 -15
  174. package/src/sap/ui/mdc/messagebundle_et.properties +11 -2
  175. package/src/sap/ui/mdc/messagebundle_fi.properties +17 -8
  176. package/src/sap/ui/mdc/messagebundle_fr.properties +15 -6
  177. package/src/sap/ui/mdc/messagebundle_fr_CA.properties +11 -2
  178. package/src/sap/ui/mdc/messagebundle_hi.properties +12 -3
  179. package/src/sap/ui/mdc/messagebundle_hr.properties +11 -2
  180. package/src/sap/ui/mdc/messagebundle_hu.properties +11 -2
  181. package/src/sap/ui/mdc/messagebundle_id.properties +11 -2
  182. package/src/sap/ui/mdc/messagebundle_it.properties +26 -17
  183. package/src/sap/ui/mdc/messagebundle_iw.properties +12 -3
  184. package/src/sap/ui/mdc/messagebundle_ja.properties +11 -2
  185. package/src/sap/ui/mdc/messagebundle_kk.properties +11 -2
  186. package/src/sap/ui/mdc/messagebundle_ko.properties +15 -6
  187. package/src/sap/ui/mdc/messagebundle_lt.properties +11 -2
  188. package/src/sap/ui/mdc/messagebundle_lv.properties +11 -2
  189. package/src/sap/ui/mdc/messagebundle_ms.properties +11 -2
  190. package/src/sap/ui/mdc/messagebundle_nl.properties +16 -7
  191. package/src/sap/ui/mdc/messagebundle_no.properties +19 -10
  192. package/src/sap/ui/mdc/messagebundle_pl.properties +12 -3
  193. package/src/sap/ui/mdc/messagebundle_pt.properties +18 -9
  194. package/src/sap/ui/mdc/messagebundle_pt_PT.properties +11 -2
  195. package/src/sap/ui/mdc/messagebundle_ro.properties +11 -2
  196. package/src/sap/ui/mdc/messagebundle_ru.properties +11 -2
  197. package/src/sap/ui/mdc/messagebundle_sh.properties +11 -2
  198. package/src/sap/ui/mdc/messagebundle_sk.properties +11 -2
  199. package/src/sap/ui/mdc/messagebundle_sl.properties +11 -2
  200. package/src/sap/ui/mdc/messagebundle_sv.properties +13 -4
  201. package/src/sap/ui/mdc/messagebundle_th.properties +11 -2
  202. package/src/sap/ui/mdc/messagebundle_tr.properties +11 -2
  203. package/src/sap/ui/mdc/messagebundle_uk.properties +12 -3
  204. package/src/sap/ui/mdc/messagebundle_vi.properties +11 -2
  205. package/src/sap/ui/mdc/messagebundle_zh_CN.properties +11 -2
  206. package/src/sap/ui/mdc/messagebundle_zh_TW.properties +11 -2
  207. package/src/sap/ui/mdc/mixin/AdaptationMixin.js +3 -4
  208. package/src/sap/ui/mdc/mixin/DelegateMixin.js +3 -3
  209. package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +17 -12
  210. package/src/sap/ui/mdc/mixin/PromiseMixin.js +3 -4
  211. package/src/sap/ui/mdc/odata/TypeUtil.js +2 -2
  212. package/src/sap/ui/mdc/odata/json/FilterBarDelegate.js +1 -1
  213. package/src/sap/ui/mdc/odata/v4/ChartDelegate.js +30 -484
  214. package/src/sap/ui/mdc/odata/v4/{ChartPropertyHelperNew.js → ChartPropertyHelper.js} +6 -6
  215. package/src/sap/ui/mdc/odata/v4/FieldBaseDelegate.js +1 -1
  216. package/src/sap/ui/mdc/odata/v4/FieldValueHelpDelegate.js +1 -1
  217. package/src/sap/ui/mdc/odata/v4/FilterBarDelegate.js +1 -1
  218. package/src/sap/ui/mdc/odata/v4/ODataMetaModelUtil.js +1 -1
  219. package/src/sap/ui/mdc/odata/v4/TableDelegate.js +158 -114
  220. package/src/sap/ui/mdc/odata/v4/TypeUtil.js +2 -2
  221. package/src/sap/ui/mdc/odata/v4/ValueHelpDelegate.js +2 -2
  222. package/src/sap/ui/mdc/odata/v4/util/DelegateUtil.js +2 -2
  223. package/src/sap/ui/mdc/odata/v4/vizChart/{ChartDelegateNew.js → ChartDelegate.js} +137 -49
  224. package/src/sap/ui/mdc/p13n/AdaptationProvider.js +1 -1
  225. package/src/sap/ui/mdc/p13n/Engine.js +56 -19
  226. package/src/sap/ui/mdc/p13n/FlexUtil.js +12 -119
  227. package/src/sap/ui/mdc/p13n/P13nBuilder.js +3 -3
  228. package/src/sap/ui/mdc/p13n/PersistenceProvider.js +22 -11
  229. package/src/sap/ui/mdc/p13n/PropertyHelper.js +2 -2
  230. package/src/sap/ui/mdc/p13n/StateUtil.js +41 -7
  231. package/src/sap/ui/mdc/p13n/UIManager.js +16 -13
  232. package/src/sap/ui/mdc/p13n/modification/FlexModificationHandler.js +5 -2
  233. package/src/sap/ui/mdc/p13n/modification/ModificationHandler.js +10 -7
  234. package/src/sap/ui/mdc/p13n/{DefaultProviderRegistry.js → modules/DefaultProviderRegistry.js} +3 -3
  235. package/src/sap/ui/mdc/p13n/modules/StateHandlerRegistry.js +86 -0
  236. package/src/sap/ui/mdc/p13n/panels/ActionToolbarPanel.js +1 -1
  237. package/src/sap/ui/mdc/p13n/panels/AdaptFiltersPanel.js +20 -4
  238. package/src/sap/ui/mdc/p13n/panels/BasePanel.js +1 -1
  239. package/src/sap/ui/mdc/p13n/panels/ChartItemPanel.js +1093 -49
  240. package/src/sap/ui/mdc/p13n/panels/GroupView.js +1 -1
  241. package/src/sap/ui/mdc/p13n/panels/LinkSelectionPanel.js +72 -0
  242. package/src/sap/ui/mdc/p13n/panels/ListView.js +7 -3
  243. package/src/sap/ui/mdc/p13n/panels/SelectionPanel.js +1 -1
  244. package/src/sap/ui/mdc/p13n/panels/SortPanel.js +1 -1
  245. package/src/sap/ui/mdc/p13n/subcontroller/ActionToolbarController.js +1 -1
  246. package/src/sap/ui/mdc/p13n/subcontroller/AdaptFiltersController.js +7 -6
  247. package/src/sap/ui/mdc/p13n/subcontroller/AggregateController.js +2 -2
  248. package/src/sap/ui/mdc/p13n/subcontroller/BaseController.js +157 -12
  249. package/src/sap/ui/mdc/p13n/subcontroller/ChartItemController.js +16 -27
  250. package/src/sap/ui/mdc/p13n/subcontroller/ColumnController.js +7 -6
  251. package/src/sap/ui/mdc/p13n/subcontroller/ColumnWidthController.js +1 -1
  252. package/src/sap/ui/mdc/p13n/subcontroller/FilterController.js +7 -6
  253. package/src/sap/ui/mdc/p13n/subcontroller/GroupController.js +1 -1
  254. package/src/sap/ui/mdc/p13n/subcontroller/LinkPanelController.js +173 -0
  255. package/src/sap/ui/mdc/p13n/subcontroller/SortController.js +11 -18
  256. package/src/sap/ui/mdc/table/Column.js +36 -11
  257. package/src/sap/ui/mdc/table/CreationRow.js +15 -14
  258. package/src/sap/ui/mdc/table/GridTableType.js +14 -14
  259. package/src/sap/ui/mdc/table/PropertyHelper.js +65 -28
  260. package/src/sap/ui/mdc/table/ResponsiveTableType.js +27 -30
  261. package/src/sap/ui/mdc/table/RowSettings.js +8 -6
  262. package/src/sap/ui/mdc/table/TableSettings.js +1 -1
  263. package/src/sap/ui/mdc/table/TableTypeBase.js +7 -7
  264. package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +16 -72
  265. package/src/sap/ui/mdc/themes/base/Chart.less +3 -0
  266. package/src/sap/ui/mdc/themes/base/FieldBase.less +0 -5
  267. package/src/sap/ui/mdc/themes/base/ValueHelpDialog.less +12 -1
  268. package/src/sap/ui/mdc/themes/base/library.source.less +2 -1
  269. package/src/sap/ui/mdc/ui/Container.js +3 -3
  270. package/src/sap/ui/mdc/ui/ContainerItem.js +3 -3
  271. package/src/sap/ui/mdc/util/Common.js +2 -2
  272. package/src/sap/ui/mdc/util/DateUtil.js +2 -2
  273. package/src/sap/ui/mdc/util/FilterUtil.js +2 -2
  274. package/src/sap/ui/mdc/util/FormatUtil.js +2 -2
  275. package/src/sap/ui/mdc/util/IdentifierUtil.js +2 -2
  276. package/src/sap/ui/mdc/util/PromiseCache.js +2 -2
  277. package/src/sap/ui/mdc/util/PropertyHelper.js +149 -326
  278. package/src/sap/ui/mdc/util/TypeUtil.js +6 -5
  279. package/src/sap/ui/mdc/util/loadModules.js +1 -1
  280. package/src/sap/ui/mdc/valuehelp/Dialog.js +13 -9
  281. package/src/sap/ui/mdc/valuehelp/Popover.js +15 -3
  282. package/src/sap/ui/mdc/valuehelp/base/Container.js +34 -2
  283. package/src/sap/ui/mdc/valuehelp/base/Content.js +37 -6
  284. package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +3 -2
  285. package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +44 -16
  286. package/src/sap/ui/mdc/valuehelp/base/ListContent.js +3 -2
  287. package/src/sap/ui/mdc/valuehelp/content/Bool.js +3 -2
  288. package/src/sap/ui/mdc/valuehelp/content/Conditions.js +29 -33
  289. package/src/sap/ui/mdc/valuehelp/content/FixedList.js +12 -6
  290. package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +44 -9
  291. package/src/sap/ui/mdc/valuehelp/content/MTable.js +58 -27
  292. package/test/sap/ui/mdc/testutils/opa/TestLibrary.js +2 -1
  293. package/test/sap/ui/mdc/testutils/opa/actions/OpenContextMenu.js +3 -3
  294. package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/ActionsBase.js +3 -3
  295. package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/ActionsViz.js +0 -0
  296. package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/AssertionsBase.js +1 -1
  297. package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/AssertionsViz.js +0 -0
  298. package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/ChartNew.js +0 -0
  299. package/test/sap/ui/mdc/testutils/opa/chart/TestObjects.js +289 -0
  300. package/test/sap/ui/mdc/testutils/opa/chartNew/TestObjects.js +5 -5
  301. package/test/sap/ui/mdc/testutils/opa/filterbar/Util.js +12 -11
  302. package/test/sap/ui/mdc/testutils/opa/link/Actions.js +85 -0
  303. package/test/sap/ui/mdc/testutils/opa/link/Assertions.js +79 -0
  304. package/test/sap/ui/mdc/testutils/opa/link/TestObjects.js +112 -0
  305. package/test/sap/ui/mdc/testutils/opa/link/waitForLink.js +50 -0
  306. package/test/sap/ui/mdc/testutils/opa/p13n/Actions.js +365 -236
  307. package/test/sap/ui/mdc/testutils/opa/p13n/Util.js +27 -26
  308. package/src/sap/ui/mdc/ChartDelegateNew.js +0 -395
  309. package/src/sap/ui/mdc/ChartNew.js +0 -1114
  310. package/src/sap/ui/mdc/ChartNewRenderer.js +0 -91
  311. package/src/sap/ui/mdc/chart/DimensionItem.js +0 -281
  312. package/src/sap/ui/mdc/chart/MeasureItem.js +0 -318
  313. package/src/sap/ui/mdc/chart/MetadataDelegate.js +0 -31
  314. package/src/sap/ui/mdc/chart/SelectionHandler.js +0 -127
  315. package/src/sap/ui/mdc/chart/ToolbarHandler.js +0 -328
  316. package/src/sap/ui/mdc/chartNew/ChartTypeButtonNew.js +0 -295
  317. package/src/sap/ui/mdc/chartNew/DrillStackHandlerNew.js +0 -212
  318. package/src/sap/ui/mdc/chartNew/ItemNew.js +0 -72
  319. package/src/sap/ui/mdc/chartNew/SelectionDetailsActionsNew.js +0 -34
  320. package/src/sap/ui/mdc/designtime/chart/ChartNew.designtime.js +0 -91
  321. package/src/sap/ui/mdc/link/SelectionDialog.control.xml +0 -66
  322. package/src/sap/ui/mdc/link/SelectionDialog.js +0 -213
  323. package/src/sap/ui/mdc/link/SelectionDialogItem.js +0 -86
  324. package/src/sap/ui/mdc/odata/v4/ChartDelegateNew.js +0 -35
  325. package/src/sap/ui/mdc/p13n/panels/ChartItemPanelNew.js +0 -1171
  326. package/src/sap/ui/mdc/p13n/panels/GroupPanel.js +0 -111
  327. package/src/sap/ui/mdc/p13n/panels/QueryPanel.js +0 -322
  328. package/src/sap/ui/mdc/p13n/panels/SortQueryPanel.js +0 -133
  329. package/src/sap/ui/mdc/p13n/panels/Wrapper.js +0 -203
@@ -2,39 +2,40 @@
2
2
  * ! ${copyright}
3
3
  */
4
4
  sap.ui.define([
5
- ], function() {
5
+ "sap/ui/core/Core"
6
+ ], function(oCore) {
6
7
  "use strict";
7
8
 
8
- var oMDCBundle = sap.ui.getCore().getLibraryResourceBundle("sap.ui.mdc");
9
- var oMBundle = sap.ui.getCore().getLibraryResourceBundle("sap.m");
9
+ var oMDCBundle = oCore.getLibraryResourceBundle("sap.ui.mdc");
10
+ var oMBundle = oCore.getLibraryResourceBundle("sap.m");
10
11
 
11
12
  var Util = {
12
13
 
13
- texts: {
14
- resetwarning: oMBundle.getText("MSGBOX_TITLE_WARNING"),
15
- ok: oMDCBundle.getText("p13nDialog.OK"),
16
- reset: oMDCBundle.getText("p13nDialog.RESET"),
17
- none: oMDCBundle.getText("sort.PERSONALIZATION_DIALOG_OPTION_NONE"),
18
- chart: oMDCBundle.getText("p13nDialog.TAB_Chart"),
19
- column: oMDCBundle.getText("p13nDialog.TAB_Column"),
20
- filter: oMDCBundle.getText("p13nDialog.TAB_Filter"),
21
- group: oMDCBundle.getText("p13nDialog.TAB_Group"),
22
- sort: oMDCBundle.getText("p13nDialog.TAB_Sort")
23
- },
14
+ texts: {
15
+ resetwarning: oMBundle.getText("MSGBOX_TITLE_WARNING"),
16
+ ok: oMDCBundle.getText("p13nDialog.OK"),
17
+ reset: oMDCBundle.getText("p13nDialog.RESET"),
18
+ none: oMDCBundle.getText("sort.PERSONALIZATION_DIALOG_OPTION_NONE"),
19
+ chart: oMDCBundle.getText("p13nDialog.TAB_Chart"),
20
+ column: oMDCBundle.getText("p13nDialog.TAB_Column"),
21
+ filter: oMDCBundle.getText("p13nDialog.TAB_Filter"),
22
+ group: oMDCBundle.getText("p13nDialog.TAB_Group"),
23
+ sort: oMDCBundle.getText("p13nDialog.TAB_Sort")
24
+ },
24
25
 
25
- icons: {
26
- descending: "sap-icon://sort-descending",
27
- ascending: "sap-icon://sort-ascending",
28
- decline: "sap-icon://decline",
29
- settings: "sap-icon://action-settings",
30
- movetotop: "sap-icon://collapse-group",
31
- movetobottom: "sap-icon://expand-group",
32
- movedown: "sap-icon://navigation-down-arrow",
33
- moveup: "sap-icon://navigation-up-arrow",
34
- group: "sap-icon://group-2"
35
- }
26
+ icons: {
27
+ descending: "sap-icon://sort-descending",
28
+ ascending: "sap-icon://sort-ascending",
29
+ decline: "sap-icon://decline",
30
+ settings: "sap-icon://action-settings",
31
+ movetotop: "sap-icon://collapse-group",
32
+ movetobottom: "sap-icon://expand-group",
33
+ movedown: "sap-icon://navigation-down-arrow",
34
+ moveup: "sap-icon://navigation-up-arrow",
35
+ group: "sap-icon://group-2"
36
+ }
36
37
 
37
- };
38
+ };
38
39
 
39
40
  return Util;
40
41
  });
@@ -1,395 +0,0 @@
1
- /*
2
- * ! OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
- * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
- */
6
-
7
- // ---------------------------------------------------------------------------------------
8
- // Helper class used to help create content in the MDC chartNew and fill relevant metadata
9
- // ---------------------------------------------------------------------------------------
10
- // ---------------------------------------------------------------------------------------
11
- sap.ui.define([
12
- "sap/ui/mdc/AggregationBaseDelegate"
13
- ], function (AggregationBaseDelegate) {
14
- "use strict";
15
-
16
- /**
17
- * Base delegate class for sap.ui.mdc.ChartNew.<br>
18
- * <b>Note:</b> The class is experimental and the API/behavior is not finalized and hence this should not be used for productive usage.
19
- *
20
- * @author SAP SE
21
- * @private
22
- * @experimental
23
- * @since 1.88
24
- * @alias sap.ui.mdc.ChartDelegateNew
25
- */
26
- var ChartDelegate = Object.assign({}, AggregationBaseDelegate);
27
-
28
-
29
- /**
30
- * Toolbar relevant API (WIP)
31
- */
32
-
33
- /**
34
- *Zooms in on the inner chart.
35
- * @param {int} iValue Number of steps for zooming in
36
- *
37
- * @experimental
38
- * @private
39
- * @ui5-restricted sap.ui.mdc
40
- */
41
- ChartDelegate.zoomIn = function (iValue) {
42
- };
43
-
44
- /**
45
- *Zooms out of the inner chart.
46
- * @param {int} iValue Number of steps for zooming out
47
- *
48
- * @experimental
49
- * @private
50
- * @ui5-restricted sap.ui.mdc
51
- */
52
- ChartDelegate.zoomOut = function (iValue) {
53
- };
54
-
55
-
56
- /**
57
- * @typedef {Object} ZoomState
58
- * @property {bool} enabled <code>true</code> if zooming is enabled
59
- * @property {number} currentZoomLevel Current zoom level of the chart in percent (between 0 and 1)
60
- */
61
- /**
62
- * Retrieves the current zooming information for the inner chart.
63
- * @returns {ZoomState} Current zoom state on the inner chart
64
- *
65
- * @experimental
66
- * @private
67
- * @ui5-restricted sap.ui.mdc
68
- */
69
- ChartDelegate.getZoomState = function () {
70
- };
71
-
72
- /**
73
- * @typedef {Object} SelectionDetails
74
- * @property {string} eventId ID of the selection event
75
- * @property {sap.core.Control} reference Reference to inner chart
76
- */
77
- /**
78
- ** Returns the event handler for <code>chartSelectionDetails</code> as an object.
79
- *
80
- * @returns {SelectionDetails} Event handler for chartSelectionDetails
81
- *
82
- * @experimental
83
- * @private
84
- * @ui5-restricted sap.ui.mdc
85
- */
86
- ChartDelegate.getInnerChartSelectionHandler = function () {
87
- };
88
-
89
- /**
90
- * Sets the visibility of the legend.
91
- * <b>Note:</b> This function is called by the MDC chart only. You must not call it directly but use {@link sap.ui.mdc.ChartNew#setLegendVisible LegendVisible} instead.
92
- * @param {bool} bVisible <code>true</code> to show legend, <code>false</code> to hide
93
- *
94
- * @experimental
95
- * @private
96
- * @ui5-restricted sap.ui.mdc
97
- */
98
- ChartDelegate.setLegendVisible = function (bVisible) {
99
- };
100
-
101
- /**
102
- * Creates a sorter for a given property.
103
- * @param {sap.ui.mdc.ChartNew.ItemNew} oMDCItem MDC item for which a sorter is created
104
- * @param {object} oSortProperty The sorting information
105
- *
106
- * @experimental
107
- * @private
108
- * @ui5-restricted sap.ui.mdc
109
- */
110
- ChartDelegate.getSorterForItem = function (oMDCItem, oSortProperty) {
111
- //TODO: Check wether we really need this method.
112
- //TODO: Right now it is needed since the name of a property does not include the aggregation method -> leads to an error when calling back-end
113
- //TODO: In old chart, aggragation method was included in name since every method had their own Item
114
- };
115
-
116
- /**
117
- * Inserts an MDC chart item (for <code>sap.chart.Chart</code>, this would be a measure/dimension) into the inner chart.
118
- * This function is called by the MDC chart after a change of the <code>Items</code> aggregation.
119
- * <b>Note:</b> Do not call this yourself, as it would not be synced with the MDC chart, but instead insert the Item into the MDC chart.
120
- * @param {sap.ui.mdc.chartNew.ItemNew} oMDCChartItem MDC chart item that is inserted into the inner chart
121
- * @param {int} iIndex The index into which items are inserted
122
- *
123
- * @experimental
124
- * @private
125
- * @ui5-restricted sap.ui.mdc
126
- */
127
- ChartDelegate.insertItemToInnerChart = function (oMDCChartItem, iIndex) {
128
- };
129
-
130
- /**
131
- * Removes an item (for <code>sap.chart.Chart</code>, this would be a measure/dimension) from the inner chart.
132
- * This function is called by the MDC chart after a change of the <code>Items</code> aggregation.
133
- * <b>Note:</b> Do not call this yourself, as it would not be synced with the MDC chart, but instead remove the item from the MDC chart.
134
- * @param {sap.ui.mdc.chartNew.ItemNew} oMDCChartItem The item to be removed from the inner chart
135
- *
136
- * @experimental
137
- * @private
138
- * @ui5-restricted sap.ui.mdc
139
- */
140
- ChartDelegate.removeItemFromInnerChart = function (oMDCChartItem) {
141
- };
142
-
143
- /**
144
- * Creates a new MDC chart item for a given property name and updates the inner chart.
145
- * <b>Note:</b> This does <b>not</b> add the MDC chart item to the <code>Items</code> aggregation of the MDC chart.
146
- * Called and used by <code>p13n</code>.
147
- * @param {string} sPropertyName Name of the property added
148
- * @param {sap.ui.mdc.ChartNew} oMDCChart Reference to the MDC chart to which the item is added
149
- * @returns {Promise<sap.ui.mdc.ChartNew.ItemNew>} <code>Promise</code> that resolves with new MDC chart item as parameter
150
- *
151
- * @experimental
152
- * @private
153
- * @ui5-restricted sap.ui.mdc
154
- */
155
- ChartDelegate.addItem = function (sPropertyName, oMDCChart, mPropertyBag, sRole) {
156
- };
157
-
158
- /**
159
- * Removes an existing MDC chart item for a given property name and updates the inner chart.
160
- * Called and used by p13n
161
- * @param {string} sPropertyName Name of the property removed
162
- * @param {sap.ui.mdc.ChartNew} oMDCChart Reference to the MDC chart from which property is removed
163
- * @returns {Promise<bool>} Promise containing information whether the item was deleted
164
- *
165
- * @experimental
166
- * @private
167
- * @ui5-restricted sap.ui.mdc
168
- */
169
- ChartDelegate.removeItem = function (oProperty, oMDCChart) {
170
- return Promise.resolve(true);
171
- };
172
-
173
- /**
174
- * Chart relevant API (WIP)
175
- */
176
-
177
- /**
178
- * Loads the required libraries and creates the inner chart.
179
- * @param {sap.ui.mdc.ChartNew} oMDCChart Reference to the MDC chart
180
- * @returns {Promise} Resolved once the inner chart has been initialized
181
- *
182
- * @experimental
183
- * @private
184
- * @ui5-restricted sap.ui.mdc
185
- */
186
- ChartDelegate.initializeInnerChart = function (oMDCChart) {
187
- };
188
-
189
- /**
190
- * Creates the initial content for the chart before the metadata is retrieved.
191
- * This can be used by chart libraries that can already show some information without the actual data (for example, axis labels, legend, ...).
192
- * @param {sap.ui.mdc.ChartNew} oMDCChart Reference to the MDC chart
193
- *
194
- * @experimental
195
- * @private
196
- * @ui5-restricted sap.ui.mdc
197
- */
198
- ChartDelegate.createInitialChartContent = function (oMDCChart) {
199
- //Not relevant for sap.chart.Chart
200
- };
201
- /**
202
- * Returns the instance of the inner chart.
203
- * @returns {sap.core.Control} Instance of the inner chart
204
- */
205
- ChartDelegate.getInnerChart = function () {
206
- };
207
-
208
- /**
209
- * @typedef {Object} ChartTypeObject
210
- * @property {string} key Unique key of the chart type
211
- * @property {string} icon URI for the icon for the current chart type
212
- * @property {string} text Name of the current chart type
213
- * @property {bool} selected Whether the chart type is the one currently used
214
- */
215
- /**
216
- * Returns the current chart type.
217
- * @returns {ChartTypeObject} Information about the current chart type
218
- * @throws exception if inner chart is not initialized yet
219
- *
220
- * @experimental
221
- * @private
222
- * @ui5-restricted sap.ui.mdc
223
- */
224
- ChartDelegate.getChartTypeInfo = function () {
225
- };
226
-
227
- /**
228
- * This function is used by P13n to determine which chart type supports which layout options.
229
- * There might be chart tyoes which do not support certain layout options (i.e. "Axis3").
230
- * Layout config is defined as followed:
231
- * {
232
- * key: string //identifier for the chart type
233
- * allowedLayoutOptions : [] //array containing allowed layout options as string
234
- * }
235
- *
236
- * @returns {array}
237
- */
238
- ChartDelegate.getChartTypeLayoutConfig = function() {
239
-
240
- };
241
-
242
- /**
243
- * Gets the available chart types for the current state of the inner chart.
244
- *
245
- * @returns {array<ChartTypeObject>} Array containing the available chart types
246
- *
247
- * @experimental
248
- * @private
249
- * @ui5-restricted Fiori Elements
250
- */
251
- ChartDelegate.getAvailableChartTypes = function () {
252
- };
253
-
254
- /**
255
- * Returns the current drilling stack of the inner chart.
256
- * The returned objects need at least a <code>label</code> and a <code>name</code> property.
257
- * Also, a <code>dimension</code> array containing the dimension drill stack at the current level is required.
258
- * @returns {array} Array containing the drill stack
259
- *
260
- * @experimental
261
- * @private
262
- * @ui5-restricted sap.ui.mdc
263
- */
264
- ChartDelegate.getDrillStack = function () {
265
- };
266
-
267
- /**
268
- * Returns all sorted dimensions of an inner chart as property.
269
- * This is used to determine possible drilldown dimensions in the drill down popover of the MDC chart.
270
- * @param {sap.ui.mdc.ChartNew} oMDCChart Reference to the MDC chart
271
- * @returns {Promise<array<sap.ui.mdc.chartNew.ItemNew>>} <code>Promise</code> containing an array of dimensions that is sorted
272
- *
273
- * @experimental
274
- * @private
275
- * @ui5-restricted sap.ui.mdc
276
- */
277
- ChartDelegate.getSortedDimensions = function (oMDCChart) {
278
- };
279
-
280
- /**
281
- * Determines which MDC items are drillable and returns them.
282
- * This function is used by the breadcrumb navigation.
283
- *
284
- * @param {sap.ui.mdc.ChartNew} oMDCChart Reference to the MDC chart
285
- * @returns {array<sap.ui.mdc.chartNew.ItemNew>} Array of MDC items that are drillable
286
- *
287
- * @experimental
288
- * @private
289
- * @ui5-restricted sap.ui.mdc
290
- */
291
- ChartDelegate.getDrillableItems = function (oMDCChart) {
292
- };
293
-
294
- /**
295
- * Sets the chart type of the inner chart.
296
- * This function is called by the MDC chart when the <code>chartType</code> property is updated.
297
- * <b>Note:</b> This function is called by the MDC chart only. You must not call it directly but use {@link sap.ui.mdc.ChartNew#setChartType setChartType} instead.
298
- * @param {string} sChartType The new chart type
299
- *
300
- * @experimental
301
- * @private
302
- * @ui5-restricted sap.ui.mdc
303
- */
304
- ChartDelegate.setChartType = function (sChartType) {
305
- };
306
-
307
- /**
308
- * Binds the inner chart to the back-end data and creates the inner chart content.
309
- * @param {sap.ui.mdc.ChartNew} oMDCChart Reference to the MDC chart
310
- * @param {function} fnCallbackDataLoaded Callback function when data is loaded
311
- *
312
- * @experimental
313
- * @private
314
- * @ui5-restricted sap.ui.mdc
315
- */
316
- ChartDelegate.createInnerChartContent = function (oMDCChart, fnCallbackDataLoaded) {
317
- };
318
-
319
- /**
320
- * Checks the binding of the chart and rebinds it if required.
321
- *
322
- * @param {sap.ui.mdc.ChartNew} oMDCChart Reference to the MDC chart
323
- * @param {object} oBindingInfo The bindingInfo of the chart
324
- *
325
- * @experimental
326
- * @private
327
- * @ui5-restricted sap.ui.mdc
328
- */
329
- ChartDelegate.rebindChart = function (oMDCChart, oBindingInfo) {
330
- };
331
-
332
- /**
333
- * Returns the information whether the inner chart is currently bound.
334
- * @returns {bool} <code>true</code> if inner chart is bound; <code>false</code> if not
335
- *
336
- * @experimental
337
- * @private
338
- * @ui5-restricted sap.ui.mdc
339
- */
340
- ChartDelegate.getInnerChartBound = function () {
341
- };
342
-
343
- /**
344
- * Updates the binding info with the relevant filters.
345
- *
346
- * @param {Object} oMDCChart The MDC chart instance
347
- * @param {Object} oBindingInfo The binding info of the chart
348
- *
349
- * @experimental
350
- * @private
351
- * @ui5-restricted sap.ui.mdc
352
- */
353
- ChartDelegate.updateBindingInfo = function (oMDCChart, oBindingInfo) {
354
- };
355
-
356
- /**
357
- * Sets tooltips to visible/invisible for the inner chart.
358
- * <b>Note:</b> This function is called by the MDC chart only. You must not call it directly but use {@link sap.ui.mdc.ChartNew#setShowChartTooltip setShowChartTooltip} instead.
359
- * @param {bool} bFlag <code>true</code> for visible, <code>false</code> for invisible
360
- *
361
- * @experimental
362
- * @private
363
- * @ui5-restricted sap.ui.mdc
364
- */
365
- ChartDelegate.setChartTooltipVisibility = function (bFlag) {
366
- };
367
-
368
-
369
- /**
370
- * Initializes a new chart property helper for V4 analytics with the property extensions merged into the property infos.
371
- *
372
- * @param {sap.ui.mdc.ChartNew} oMDCChart Reference to the MDC chart
373
- * @returns {Promise<sap.ui.mdc.chartNew.PropertyHelperNew>} <code>Promise</code> that resolves with the property helper
374
- * @private
375
- * @ui5-restricted sap.ui.mdc
376
- */
377
- ChartDelegate.initPropertyHelper = function (oMDCChart) {
378
- return Promise.resolve(true);
379
- };
380
-
381
- /**
382
- * Returns the relevant propery infos based on the metadata used with the MDC chart instance.
383
- *
384
- * @param {sap.ui.mdc.ChartNew} oMDCChart Reference to the MDC chart
385
- * @returns {array} Array of the property infos to be used within MDC chart
386
- *
387
- * @experimental
388
- * @private
389
- * @ui5-restricted sap.ui.mdc
390
- */
391
- ChartDelegate.fetchProperties = function (oMDCChart) {
392
- };
393
-
394
- return ChartDelegate;
395
- });