@openui5/sap.ui.mdc 1.103.0 → 1.105.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 (320) hide show
  1. package/.reuse/dep5 +18 -1
  2. package/LICENSES/LicenseRef-tzdata-PublicDomain.txt +5 -0
  3. package/THIRDPARTY.txt +36 -3
  4. package/package.json +4 -4
  5. package/src/sap/ui/mdc/.library +1 -1
  6. package/src/sap/ui/mdc/ActionToolbar.js +3 -3
  7. package/src/sap/ui/mdc/AggregationBaseDelegate.js +1 -1
  8. package/src/sap/ui/mdc/Chart.js +49 -35
  9. package/src/sap/ui/mdc/ChartDelegate.js +2 -2
  10. package/src/sap/ui/mdc/ChartRenderer.js +1 -1
  11. package/src/sap/ui/mdc/Control.js +1 -1
  12. package/src/sap/ui/mdc/Delegate.js +2 -2
  13. package/src/sap/ui/mdc/Element.js +1 -1
  14. package/src/sap/ui/mdc/Field.js +2 -2
  15. package/src/sap/ui/mdc/FilterBar.js +3 -3
  16. package/src/sap/ui/mdc/FilterBarDelegate.js +2 -2
  17. package/src/sap/ui/mdc/FilterField.js +2 -2
  18. package/src/sap/ui/mdc/Link.js +76 -15
  19. package/src/sap/ui/mdc/LinkDelegate.js +83 -78
  20. package/src/sap/ui/mdc/MultiValueField.js +1 -1
  21. package/src/sap/ui/mdc/Table.js +18 -6
  22. package/src/sap/ui/mdc/TableDelegate.js +27 -11
  23. package/src/sap/ui/mdc/ValueHelp.js +7 -7
  24. package/src/sap/ui/mdc/ValueHelpDelegate.js +2 -2
  25. package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +3 -3
  26. package/src/sap/ui/mdc/actiontoolbar/ActionToolbarActionRenderer.js +1 -2
  27. package/src/sap/ui/mdc/chart/ChartImplementationContainer.js +70 -0
  28. package/src/sap/ui/mdc/chart/ChartImplementationContainerRenderer.js +49 -0
  29. package/src/sap/ui/mdc/chart/ChartSelectionDetails.js +1 -1
  30. package/src/sap/ui/mdc/chart/ChartSettings.js +2 -2
  31. package/src/sap/ui/mdc/chart/ChartToolbar.js +24 -10
  32. package/src/sap/ui/mdc/chart/ChartTypeButton.js +2 -2
  33. package/src/sap/ui/mdc/chart/PropertyHelper.js +3 -3
  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 +1 -1
  38. package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +1 -1
  39. package/src/sap/ui/mdc/condition/Operator.js +1 -1
  40. package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +1 -1
  41. package/src/sap/ui/mdc/condition/RangeOperator.js +1 -1
  42. package/src/sap/ui/mdc/designtime/Util.js +2 -2
  43. package/src/sap/ui/mdc/designtime/actiontoolbar/ActionToolbar.designtime.js +15 -4
  44. package/src/sap/ui/mdc/designtime/actiontoolbar/ActionToolbarAction.designtime.js +2 -2
  45. package/src/sap/ui/mdc/designtime/chart/Chart.designtime.js +5 -2
  46. package/src/sap/ui/mdc/designtime/field/Field.designtime.js +2 -2
  47. package/src/sap/ui/mdc/designtime/field/FieldBase.designtime.js +2 -2
  48. package/src/sap/ui/mdc/designtime/field/FilterField.designtime.js +2 -2
  49. package/src/sap/ui/mdc/designtime/field/MultiValueField.designtime.js +2 -2
  50. package/src/sap/ui/mdc/designtime/filterbar/FilterBar.designtime.js +4 -3
  51. package/src/sap/ui/mdc/designtime/filterbar/FilterBarBase.designtime.js +2 -2
  52. package/src/sap/ui/mdc/designtime/link/Panel.designtime.js +2 -2
  53. package/src/sap/ui/mdc/designtime/link/PanelItem.designtime.js +2 -2
  54. package/src/sap/ui/mdc/designtime/p13n/PersistenceProvider.designtime.js +2 -2
  55. package/src/sap/ui/mdc/designtime/table/Table.designtime.js +10 -8
  56. package/src/sap/ui/mdc/enum/PropagationReason.js +2 -2
  57. package/src/sap/ui/mdc/enum/SelectType.js +2 -2
  58. package/src/sap/ui/mdc/field/BoolFieldHelp.js +3 -3
  59. package/src/sap/ui/mdc/field/ConditionFieldHelp.js +3 -3
  60. package/src/sap/ui/mdc/field/ConditionType.js +1 -1
  61. package/src/sap/ui/mdc/field/ConditionsType.js +1 -1
  62. package/src/sap/ui/mdc/field/CustomFieldHelp.js +3 -3
  63. package/src/sap/ui/mdc/field/CustomFieldInfo.js +3 -3
  64. package/src/sap/ui/mdc/field/DefineConditionPanel.js +1 -1
  65. package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +1 -1
  66. package/src/sap/ui/mdc/field/FieldBase.js +4 -5
  67. package/src/sap/ui/mdc/field/FieldBaseDelegate.js +2 -2
  68. package/src/sap/ui/mdc/field/FieldHelpBase.js +3 -3
  69. package/src/sap/ui/mdc/field/FieldHelpBaseDelegate.js +2 -2
  70. package/src/sap/ui/mdc/field/FieldInfoBase.js +30 -29
  71. package/src/sap/ui/mdc/field/FieldInput.js +3 -3
  72. package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +1 -1
  73. package/src/sap/ui/mdc/field/FieldMultiInput.js +3 -3
  74. package/src/sap/ui/mdc/field/FieldValueHelp.js +3 -3
  75. package/src/sap/ui/mdc/field/FieldValueHelpContentWrapperBase.js +3 -3
  76. package/src/sap/ui/mdc/field/FieldValueHelpDelegate.js +2 -2
  77. package/src/sap/ui/mdc/field/FieldValueHelpMTableWrapper.js +3 -3
  78. package/src/sap/ui/mdc/field/FieldValueHelpMdcTableWrapper.js +3 -3
  79. package/src/sap/ui/mdc/field/FieldValueHelpTableWrapperBase.js +3 -3
  80. package/src/sap/ui/mdc/field/FieldValueHelpUITableWrapper.js +3 -3
  81. package/src/sap/ui/mdc/field/InParameter.js +3 -3
  82. package/src/sap/ui/mdc/field/ListFieldHelp.js +3 -3
  83. package/src/sap/ui/mdc/field/ListFieldHelpItem.js +1 -1
  84. package/src/sap/ui/mdc/field/MultiValueFieldDelegate.js +2 -2
  85. package/src/sap/ui/mdc/field/MultiValueFieldItem.js +3 -3
  86. package/src/sap/ui/mdc/field/OutParameter.js +3 -3
  87. package/src/sap/ui/mdc/field/TokenDisplay.js +3 -3
  88. package/src/sap/ui/mdc/field/TokenizerDisplay.js +3 -3
  89. package/src/sap/ui/mdc/field/ValueHelpPanel.js +1 -1
  90. package/src/sap/ui/mdc/field/content/BooleanContent.js +2 -2
  91. package/src/sap/ui/mdc/field/content/ContentFactory.js +8 -0
  92. package/src/sap/ui/mdc/field/content/DateContent.js +10 -2
  93. package/src/sap/ui/mdc/field/content/DateTimeContent.js +2 -2
  94. package/src/sap/ui/mdc/field/content/DefaultContent.js +2 -2
  95. package/src/sap/ui/mdc/field/content/LinkContent.js +2 -2
  96. package/src/sap/ui/mdc/field/content/SearchContent.js +2 -2
  97. package/src/sap/ui/mdc/field/content/TimeContent.js +2 -2
  98. package/src/sap/ui/mdc/field/content/UnitContent.js +2 -2
  99. package/src/sap/ui/mdc/filterbar/FilterBarBase.js +17 -4
  100. package/src/sap/ui/mdc/filterbar/IFilterContainer.js +2 -2
  101. package/src/sap/ui/mdc/filterbar/PropertyHelper.js +4 -4
  102. package/src/sap/ui/mdc/filterbar/aligned/FilterContainer.js +2 -2
  103. package/src/sap/ui/mdc/filterbar/aligned/FilterItemLayout.js +2 -2
  104. package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +5 -5
  105. package/src/sap/ui/mdc/filterbar/p13n/FilterColumnLayout.js +2 -2
  106. package/src/sap/ui/mdc/filterbar/p13n/FilterGroupLayout.js +2 -2
  107. package/src/sap/ui/mdc/filterbar/p13n/GroupContainer.js +2 -2
  108. package/src/sap/ui/mdc/filterbar/p13n/TableContainer.js +2 -2
  109. package/src/sap/ui/mdc/filterbar/vh/CollectiveSearchSelect.js +2 -2
  110. package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +3 -3
  111. package/src/sap/ui/mdc/filterbar/vh/FilterContainer.js +2 -2
  112. package/src/sap/ui/mdc/flexibility/ActionToolbar.flexibility.js +2 -2
  113. package/src/sap/ui/mdc/flexibility/ActionToolbarAction.flexibility.js +2 -2
  114. package/src/sap/ui/mdc/flexibility/AggregateFlex.js +2 -2
  115. package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +3 -3
  116. package/src/sap/ui/mdc/flexibility/ChartItemFlex.js +2 -2
  117. package/src/sap/ui/mdc/flexibility/ChartTypeFlex.js +2 -2
  118. package/src/sap/ui/mdc/flexibility/ColumnFlex.js +2 -2
  119. package/src/sap/ui/mdc/flexibility/ConditionFlex.js +104 -131
  120. package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +3 -3
  121. package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +3 -3
  122. package/src/sap/ui/mdc/flexibility/GroupFlex.js +2 -2
  123. package/src/sap/ui/mdc/flexibility/ItemBaseFlex.js +24 -20
  124. package/src/sap/ui/mdc/flexibility/Panel.flexibility.js +4 -5
  125. package/src/sap/ui/mdc/flexibility/PanelItem.flexibility.js +2 -2
  126. package/src/sap/ui/mdc/flexibility/PropertyInfoFlex.js +2 -2
  127. package/src/sap/ui/mdc/flexibility/SortFlex.js +2 -2
  128. package/src/sap/ui/mdc/flexibility/Table.flexibility.js +2 -2
  129. package/src/sap/ui/mdc/flexibility/Util.js +3 -3
  130. package/src/sap/ui/mdc/flexibility/xConfigFlex.js +2 -2
  131. package/src/sap/ui/mdc/flp/FlpLinkDelegate.js +2 -2
  132. package/src/sap/ui/mdc/library.js +7 -2
  133. package/src/sap/ui/mdc/link/ContactDetails.js +3 -3
  134. package/src/sap/ui/mdc/link/ContactDetailsAddressItem.js +3 -3
  135. package/src/sap/ui/mdc/link/ContactDetailsEmailItem.js +3 -3
  136. package/src/sap/ui/mdc/link/ContactDetailsItem.js +3 -3
  137. package/src/sap/ui/mdc/link/ContactDetailsPhoneItem.js +3 -3
  138. package/src/sap/ui/mdc/link/ContactDetailsRenderer.js +2 -2
  139. package/src/sap/ui/mdc/link/Factory.js +3 -3
  140. package/src/sap/ui/mdc/link/FakeFlpConnector.js +1 -1
  141. package/src/sap/ui/mdc/link/LinkItem.js +3 -3
  142. package/src/sap/ui/mdc/link/Log.js +2 -2
  143. package/src/sap/ui/mdc/link/Panel.js +5 -4
  144. package/src/sap/ui/mdc/link/PanelItem.js +3 -3
  145. package/src/sap/ui/mdc/link/PanelRenderer.js +2 -2
  146. package/src/sap/ui/mdc/link/SemanticObjectMapping.js +3 -3
  147. package/src/sap/ui/mdc/link/SemanticObjectMappingItem.js +3 -3
  148. package/src/sap/ui/mdc/link/SemanticObjectUnavailableAction.js +3 -3
  149. package/src/sap/ui/mdc/messagebundle.properties +9 -3
  150. package/src/sap/ui/mdc/messagebundle_ar.properties +5 -2
  151. package/src/sap/ui/mdc/messagebundle_bg.properties +5 -2
  152. package/src/sap/ui/mdc/messagebundle_ca.properties +5 -2
  153. package/src/sap/ui/mdc/messagebundle_cs.properties +8 -5
  154. package/src/sap/ui/mdc/messagebundle_cy.properties +5 -2
  155. package/src/sap/ui/mdc/messagebundle_da.properties +5 -2
  156. package/src/sap/ui/mdc/messagebundle_de.properties +5 -2
  157. package/src/sap/ui/mdc/messagebundle_el.properties +6 -3
  158. package/src/sap/ui/mdc/messagebundle_en.properties +5 -2
  159. package/src/sap/ui/mdc/messagebundle_en_GB.properties +5 -2
  160. package/src/sap/ui/mdc/messagebundle_en_US_sappsd.properties +5 -2
  161. package/src/sap/ui/mdc/messagebundle_en_US_saprigi.properties +5 -2
  162. package/src/sap/ui/mdc/messagebundle_en_US_saptrc.properties +5 -2
  163. package/src/sap/ui/mdc/messagebundle_es.properties +5 -2
  164. package/src/sap/ui/mdc/messagebundle_es_MX.properties +5 -2
  165. package/src/sap/ui/mdc/messagebundle_et.properties +5 -2
  166. package/src/sap/ui/mdc/messagebundle_fi.properties +5 -2
  167. package/src/sap/ui/mdc/messagebundle_fr.properties +9 -6
  168. package/src/sap/ui/mdc/messagebundle_fr_CA.properties +5 -2
  169. package/src/sap/ui/mdc/messagebundle_hi.properties +5 -2
  170. package/src/sap/ui/mdc/messagebundle_hr.properties +8 -5
  171. package/src/sap/ui/mdc/messagebundle_hu.properties +6 -3
  172. package/src/sap/ui/mdc/messagebundle_id.properties +5 -2
  173. package/src/sap/ui/mdc/messagebundle_it.properties +49 -46
  174. package/src/sap/ui/mdc/messagebundle_iw.properties +6 -3
  175. package/src/sap/ui/mdc/messagebundle_ja.properties +5 -2
  176. package/src/sap/ui/mdc/messagebundle_kk.properties +5 -2
  177. package/src/sap/ui/mdc/messagebundle_ko.properties +8 -5
  178. package/src/sap/ui/mdc/messagebundle_lt.properties +5 -2
  179. package/src/sap/ui/mdc/messagebundle_lv.properties +5 -2
  180. package/src/sap/ui/mdc/messagebundle_ms.properties +5 -2
  181. package/src/sap/ui/mdc/messagebundle_nl.properties +5 -2
  182. package/src/sap/ui/mdc/messagebundle_no.properties +6 -3
  183. package/src/sap/ui/mdc/messagebundle_pl.properties +5 -2
  184. package/src/sap/ui/mdc/messagebundle_pt.properties +6 -3
  185. package/src/sap/ui/mdc/messagebundle_pt_PT.properties +5 -2
  186. package/src/sap/ui/mdc/messagebundle_ro.properties +5 -2
  187. package/src/sap/ui/mdc/messagebundle_ru.properties +5 -2
  188. package/src/sap/ui/mdc/messagebundle_sh.properties +5 -2
  189. package/src/sap/ui/mdc/messagebundle_sk.properties +5 -2
  190. package/src/sap/ui/mdc/messagebundle_sl.properties +5 -2
  191. package/src/sap/ui/mdc/messagebundle_sv.properties +5 -2
  192. package/src/sap/ui/mdc/messagebundle_th.properties +14 -11
  193. package/src/sap/ui/mdc/messagebundle_tr.properties +5 -2
  194. package/src/sap/ui/mdc/messagebundle_uk.properties +6 -3
  195. package/src/sap/ui/mdc/messagebundle_vi.properties +5 -2
  196. package/src/sap/ui/mdc/messagebundle_zh_CN.properties +6 -3
  197. package/src/sap/ui/mdc/messagebundle_zh_TW.properties +5 -2
  198. package/src/sap/ui/mdc/mixin/AdaptationMixin.js +1 -1
  199. package/src/sap/ui/mdc/mixin/DelegateMixin.js +1 -1
  200. package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +1 -1
  201. package/src/sap/ui/mdc/mixin/PromiseMixin.js +1 -1
  202. package/src/sap/ui/mdc/mixin/PropertyHelperMixin.js +1 -1
  203. package/src/sap/ui/mdc/odata/v4/ChartDelegate.js +2 -2
  204. package/src/sap/ui/mdc/odata/v4/ChartPropertyHelper.js +3 -3
  205. package/src/sap/ui/mdc/odata/v4/FieldBaseDelegate.js +2 -2
  206. package/src/sap/ui/mdc/odata/v4/FieldValueHelpDelegate.js +2 -2
  207. package/src/sap/ui/mdc/odata/v4/TableDelegate.js +63 -39
  208. package/src/sap/ui/mdc/odata/v4/ValueHelpDelegate.js +2 -2
  209. package/src/sap/ui/mdc/odata/v4/util/DelegateUtil.js +2 -2
  210. package/src/sap/ui/mdc/odata/v4/vizChart/ChartDelegate.js +61 -229
  211. package/src/sap/ui/mdc/p13n/AdaptationProvider.js +3 -3
  212. package/src/sap/ui/mdc/p13n/Engine.js +3 -3
  213. package/src/sap/ui/mdc/p13n/FlexUtil.js +4 -4
  214. package/src/sap/ui/mdc/p13n/P13nBuilder.js +81 -6
  215. package/src/sap/ui/mdc/p13n/PersistenceProvider.js +26 -4
  216. package/src/sap/ui/mdc/p13n/PropertyHelper.js +3 -3
  217. package/src/sap/ui/mdc/p13n/StateUtil.js +4 -4
  218. package/src/sap/ui/mdc/p13n/UIManager.js +3 -3
  219. package/src/sap/ui/mdc/p13n/modification/FlexModificationHandler.js +3 -3
  220. package/src/sap/ui/mdc/p13n/modification/ModificationHandler.js +3 -3
  221. package/src/sap/ui/mdc/p13n/modules/DefaultProviderRegistry.js +31 -11
  222. package/src/sap/ui/mdc/p13n/modules/StateHandlerRegistry.js +2 -2
  223. package/src/sap/ui/mdc/p13n/panels/ActionToolbarPanel.js +2 -2
  224. package/src/sap/ui/mdc/p13n/panels/AdaptFiltersPanel.js +3 -9
  225. package/src/sap/ui/mdc/p13n/panels/ChartItemPanel.js +39 -12
  226. package/src/sap/ui/mdc/p13n/panels/FilterPanel.js +2 -2
  227. package/src/sap/ui/mdc/p13n/panels/GroupView.js +2 -2
  228. package/src/sap/ui/mdc/p13n/panels/LinkSelectionPanel.js +2 -2
  229. package/src/sap/ui/mdc/p13n/subcontroller/ActionToolbarController.js +2 -2
  230. package/src/sap/ui/mdc/p13n/subcontroller/AdaptFiltersController.js +2 -2
  231. package/src/sap/ui/mdc/p13n/subcontroller/AggregateController.js +2 -2
  232. package/src/sap/ui/mdc/p13n/subcontroller/BaseController.js +3 -3
  233. package/src/sap/ui/mdc/p13n/subcontroller/ChartItemController.js +2 -2
  234. package/src/sap/ui/mdc/p13n/subcontroller/ChartTypeController.js +2 -2
  235. package/src/sap/ui/mdc/p13n/subcontroller/ColumnController.js +2 -2
  236. package/src/sap/ui/mdc/p13n/subcontroller/ColumnWidthController.js +2 -2
  237. package/src/sap/ui/mdc/p13n/subcontroller/FilterController.js +4 -5
  238. package/src/sap/ui/mdc/p13n/subcontroller/GroupController.js +2 -2
  239. package/src/sap/ui/mdc/p13n/subcontroller/LinkPanelController.js +4 -3
  240. package/src/sap/ui/mdc/p13n/subcontroller/SortController.js +2 -2
  241. package/src/sap/ui/mdc/table/Column.js +29 -3
  242. package/src/sap/ui/mdc/table/CreationRow.js +3 -3
  243. package/src/sap/ui/mdc/table/GridTableType.js +7 -2
  244. package/src/sap/ui/mdc/table/PropertyHelper.js +29 -34
  245. package/src/sap/ui/mdc/table/ResponsiveTableType.js +4 -3
  246. package/src/sap/ui/mdc/table/RowActionItem.js +1 -1
  247. package/src/sap/ui/mdc/table/RowSettings.js +1 -1
  248. package/src/sap/ui/mdc/table/TableSettings.js +2 -2
  249. package/src/sap/ui/mdc/table/TableTypeBase.js +5 -2
  250. package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +4 -9
  251. package/src/sap/ui/mdc/table/menu/Item.js +3 -3
  252. package/src/sap/ui/mdc/table/menu/QuickActionContainer.js +34 -0
  253. package/src/sap/ui/mdc/themes/base/Chart.less +28 -0
  254. package/src/sap/ui/mdc/themes/base/InfoPanel.less +0 -1
  255. package/src/sap/ui/mdc/util/Common.js +2 -2
  256. package/src/sap/ui/mdc/util/FilterUtil.js +2 -2
  257. package/src/sap/ui/mdc/util/FormatUtil.js +2 -2
  258. package/src/sap/ui/mdc/util/IdentifierUtil.js +2 -2
  259. package/src/sap/ui/mdc/util/PromiseCache.js +1 -1
  260. package/src/sap/ui/mdc/util/PropertyHelper.js +59 -55
  261. package/src/sap/ui/mdc/valuehelp/Dialog.js +5 -3
  262. package/src/sap/ui/mdc/valuehelp/Popover.js +36 -8
  263. package/src/sap/ui/mdc/valuehelp/base/Container.js +7 -7
  264. package/src/sap/ui/mdc/valuehelp/base/Content.js +7 -7
  265. package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +3 -3
  266. package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +3 -3
  267. package/src/sap/ui/mdc/valuehelp/base/ListContent.js +3 -3
  268. package/src/sap/ui/mdc/valuehelp/content/Bool.js +3 -3
  269. package/src/sap/ui/mdc/valuehelp/content/Conditions.js +3 -3
  270. package/src/sap/ui/mdc/valuehelp/content/FixedList.js +3 -3
  271. package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +27 -5
  272. package/src/sap/ui/mdc/valuehelp/content/MTable.js +4 -4
  273. package/test/sap/ui/mdc/testutils/opa/JSDocGeneration.md +18 -0
  274. package/test/sap/ui/mdc/testutils/opa/TestLibrary.js +3 -1
  275. package/test/sap/ui/mdc/testutils/opa/Util.js +42 -0
  276. package/test/sap/ui/mdc/testutils/opa/Utils.js +22 -0
  277. package/test/sap/ui/mdc/testutils/opa/chart/ActionsBase.js +1 -1
  278. package/test/sap/ui/mdc/testutils/opa/chart/JSDoc.md +482 -0
  279. package/test/sap/ui/mdc/testutils/opa/chart/TestObjects.js +379 -267
  280. package/test/sap/ui/mdc/testutils/opa/field/Actions.js +50 -0
  281. package/test/sap/ui/mdc/testutils/opa/field/Assertions.js +41 -0
  282. package/test/sap/ui/mdc/testutils/opa/field/JSDoc.md +37 -0
  283. package/test/sap/ui/mdc/testutils/opa/field/TestObjects.js +52 -0
  284. package/test/sap/ui/mdc/testutils/opa/field/waitForField.js +36 -0
  285. package/test/sap/ui/mdc/testutils/opa/field/waitForFieldValueHelpButton.js +42 -0
  286. package/test/sap/ui/mdc/testutils/opa/filterbar/Actions.js +31 -7
  287. package/test/sap/ui/mdc/testutils/opa/filterbar/Assertions.js +53 -7
  288. package/test/sap/ui/mdc/testutils/opa/filterbar/JSDoc.md +188 -0
  289. package/test/sap/ui/mdc/testutils/opa/filterbar/TestObjects.js +100 -34
  290. package/test/sap/ui/mdc/testutils/opa/filterbar/Util.js +3 -3
  291. package/test/sap/ui/mdc/testutils/opa/filterbar/waitForAdaptFiltersButton.js +47 -0
  292. package/test/sap/ui/mdc/testutils/opa/filterbar/waitForFilterBar.js +28 -0
  293. package/test/sap/ui/mdc/testutils/opa/filterfield/Actions.js +70 -0
  294. package/test/sap/ui/mdc/testutils/opa/filterfield/Assertions.js +87 -0
  295. package/test/sap/ui/mdc/testutils/opa/filterfield/JSDoc.md +63 -0
  296. package/test/sap/ui/mdc/testutils/opa/filterfield/TestObjects.js +71 -0
  297. package/test/sap/ui/mdc/testutils/opa/filterfield/waitForFilterField.js +36 -0
  298. package/test/sap/ui/mdc/testutils/opa/filterfield/waitForFilterFieldValueHelpButton.js +42 -0
  299. package/test/sap/ui/mdc/testutils/opa/link/JSDoc.md +136 -0
  300. package/test/sap/ui/mdc/testutils/opa/link/TestObjects.js +108 -91
  301. package/test/sap/ui/mdc/testutils/opa/p13n/Actions.js +26 -16
  302. package/test/sap/ui/mdc/testutils/opa/p13n/Assertions.js +293 -2
  303. package/test/sap/ui/mdc/testutils/opa/p13n/Util.js +4 -3
  304. package/test/sap/ui/mdc/testutils/opa/table/Actions.js +190 -6
  305. package/test/sap/ui/mdc/testutils/opa/table/Assertions.js +210 -0
  306. package/test/sap/ui/mdc/testutils/opa/table/JSDoc.md +256 -0
  307. package/test/sap/ui/mdc/testutils/opa/table/TestObjects.js +179 -12
  308. package/test/sap/ui/mdc/testutils/opa/table/Util.js +20 -0
  309. package/test/sap/ui/mdc/testutils/opa/table/waitForColumnHeader.js +44 -0
  310. package/test/sap/ui/mdc/testutils/opa/table/waitForListItemInDialogWithLabel.js +55 -0
  311. package/test/sap/ui/mdc/testutils/opa/table/waitForP13nButtonWithParentAndIcon.js +42 -0
  312. package/test/sap/ui/mdc/testutils/opa/table/waitForTable.js +26 -0
  313. package/test/sap/ui/mdc/testutils/opa/valueHelp/JSDoc.md +35 -0
  314. package/test/sap/ui/mdc/testutils/opa/valueHelp/TestObjects.js +7 -0
  315. package/test/sap/ui/mdc/testutils/opa/valueHelp/Util.js +3 -3
  316. package/ui5.yaml +4 -1
  317. package/src/sap/ui/mdc/odata/json/FilterBarDelegate.js +0 -155
  318. package/src/sap/ui/mdc/odata/v4/FilterBarDelegate.js +0 -750
  319. package/test/sap/ui/mdc/testutils/opa/chart/ChartNew.js +0 -24
  320. package/test/sap/ui/mdc/testutils/opa/chartNew/TestObjects.js +0 -288
@@ -1,5 +1,5 @@
1
- /*
2
- * ! OpenUI5
1
+ /*!
2
+ * OpenUI5
3
3
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
@@ -14,19 +14,8 @@ sap.ui.define([
14
14
  "use strict";
15
15
 
16
16
  /**
17
- * @typedef {Object} sap.ui.mdc.table.PropertyInfo
18
- * @extends sap.ui.mdc.util.PropertyInfo
17
+ * @typedef {sap.ui.mdc.util.PropertyInfo} sap.ui.mdc.table.PropertyInfo
19
18
  *
20
- * @property {Object} [exportSettings]
21
- * Object that contains information about the export settings, see {@link sap.ui.export.Spreadsheet}.
22
- * @property {int} [maxConditions]
23
- * Defines the maximum number of filter conditions for the property. Possible values that can be used:
24
- * <ul>
25
- * <li>1 is a single-filter expression field</li>
26
- * <li>-1 is a multi-filter expression field</li>
27
- * </ul>
28
- * This information is for example used in the <code>addItem</code> method of the <code>FilterBar</code> control to forward this information to
29
- * the created <code>FilterField</code> instance.
30
19
  * @property {boolean} [filterable=true]
31
20
  * Defines whether a property is filterable.
32
21
  * @property {boolean} [sortable=true]
@@ -39,37 +28,42 @@ sap.ui.define([
39
28
  * Name of the unit property that is related to this property.
40
29
  * @property {string} [text]
41
30
  * Name of the text property that is related to this property in a 1:1 relation.
42
- * @property {boolean} [required]
43
- * Defines whether a filter condition for this property is required.
31
+ * @property {object} [exportSettings]
32
+ * Object that contains information about the export settings, see {@link sap.ui.export.Spreadsheet}.
44
33
  * @property {Object} [visualSettings]
45
34
  * This object contains all relevant properties for visual adjustments.
46
35
  * @property {Object} [visualSettings.widthCalculation]
47
36
  * This object contains all properties and their default values for the column width calculation
48
- * @property {integer} [visualSettings.widthCalculation.minWidth]
37
+ * @property {integer} [visualSettings.widthCalculation.minWidth=2]
49
38
  * The minimum content width in rem
50
- * @property {integer} [visualSettings.widthCalculation.maxWidth]
39
+ * @property {integer} [visualSettings.widthCalculation.maxWidth=19]
51
40
  * The maximum content width in rem
52
- * @property {integer} [visualSettings.widthCalculation.defaultWidth]
41
+ * @property {integer} [visualSettings.widthCalculation.defaultWidth=8]
53
42
  * The default column content width when type check fails
54
- * @property {float} [visualSettings.widthCalculation.gap]
43
+ * @property {float} [visualSettings.widthCalculation.gap=0]
55
44
  * The additional content width in rem
56
- * @property {boolean} [visualSettings.widthCalculation.includeLabel]
45
+ * @property {boolean} [visualSettings.widthCalculation.includeLabel=true]
57
46
  * Whether the label should be taken into account
58
- * @property {boolean} [visualSettings.widthCalculation.verticalArrangement]
47
+ * @property {boolean} [visualSettings.widthCalculation.truncateLabel=true]
48
+ * Whether the label should be trucated or not
49
+ * @property {boolean} [visualSettings.widthCalculation.verticalArrangement=false]
59
50
  * Whether the referenced properties are arranged vertically
60
51
  * @property {sap.ui.mdc.util.PropertyHelper[]} [visualSettings.widthCalculation.excludeProperties]
61
52
  * A list of invisible referenced property names
53
+ * @property {string[]} [propertyInfos]
54
+ * The availability of this property makes the <code>PropertyInfo</code> a complex <code>PropertyInfo</code>. Provides a list of related
55
+ * properties (by name). These related properties must not themselves be complex.
62
56
  *
63
57
  * @private
64
58
  * @experimental
65
59
  * @ui5-restricted sap.fe
66
60
  * MDC_PUBLIC_CANDIDATE
67
- */
61
+ */
68
62
 
69
63
  /**
70
64
  * Constructor for a new table property helper.
71
65
  *
72
- * @param {Object[]} aProperties
66
+ * @param {sap.ui.mdc.table.PropertyInfo[]} aProperties
73
67
  * The properties to process in this helper
74
68
  * @param {Object<string, Object>} [mExtensions]
75
69
  * Key-value map, where the key is the name of the property and the value is the extension containing mode-specific information.
@@ -88,7 +82,7 @@ sap.ui.define([
88
82
  * @extends sap.ui.mdc.util.PropertyHelper
89
83
  *
90
84
  * @author SAP SE
91
- * @version 1.103.0
85
+ * @version 1.105.0
92
86
  *
93
87
  * @private
94
88
  * @experimental
@@ -131,9 +125,8 @@ sap.ui.define([
131
125
  * Gets the export settings for a column.
132
126
  *
133
127
  * @param {sap.ui.mdc.table.Column} oColumn The column for which to get the export settings
134
- * @param {boolean} [bSplitCells=false] Whether the <code>splitCells</code> configuration is enabled
135
- * @returns {Object[]} Array of export setting objects for the provided column. Will return more than one object if it is complex property and if <code>splitCells=true</code>
136
- * @public
128
+ * @returns {Object[]} Array of export setting objects for the provided column. Will return more than one object if it is complex property.
129
+ * @private
137
130
  */
138
131
  PropertyHelper.prototype.getColumnExportSettings = function(oColumn) {
139
132
  var aColumnExportSettings = [];
@@ -167,7 +160,7 @@ sap.ui.define([
167
160
  return aColumnExportSettings;
168
161
  }
169
162
 
170
- aPropertiesFromComplexProperty = oProperty.getReferencedProperties();
163
+ aPropertiesFromComplexProperty = oProperty.getSimpleProperties();
171
164
  if (Object.keys(oExportSettings).length) {
172
165
  oColumnExportSettings = getColumnExportSettingsObject(oColumn, oProperty, oExportSettings);
173
166
  aPropertiesFromComplexProperty.forEach(function(oProperty) {
@@ -203,7 +196,7 @@ sap.ui.define([
203
196
  * @private
204
197
  */
205
198
  function getColumnExportSettingsObject(oColumn, oProperty, oExportSettings) {
206
- var oExportObj = Object.assign({
199
+ var oExportObj = Object.assign({
207
200
  columnId: oColumn.getId(),
208
201
  label: oProperty.label,
209
202
  width: getColumnWidthNumber(oColumn.getWidth()),
@@ -233,28 +226,30 @@ sap.ui.define([
233
226
  return null;
234
227
  }
235
228
 
236
- return this._calcColumnWidth(oProperty);
229
+ return this._calcColumnWidth(oProperty, oMDCColumn.getHeader());
237
230
  };
238
231
 
239
232
  /**
240
233
  * Calculates the column width based on the provided <code>PropertyInfo</code>.
241
234
  *
242
235
  * @param {Object} oProperty The properties of <code>PropertyInfo</code> of <code>Column</code> instance for which to set the width
236
+ * @param {string} [sHeader] The header in case of it is different than the PropertyInfo header
243
237
  * @return {string} The calculated column width
244
238
  * @since 1.95
245
239
  * @private
246
240
  */
247
- PropertyHelper.prototype._calcColumnWidth = function (oProperty) {
241
+ PropertyHelper.prototype._calcColumnWidth = function (oProperty, sHeader) {
248
242
  var mWidthCalculation = Object.assign({
249
243
  gap: 0,
250
244
  includeLabel: true,
245
+ truncateLabel: true,
251
246
  excludeProperties: []
252
247
  }, oProperty.visualSettings && oProperty.visualSettings.widthCalculation);
253
248
 
254
249
  var aTypes = [];
255
250
  if (oProperty.isComplex()) {
256
251
  // for complex properties generate [<TypeInstance>, <TypeSettings>][] structure
257
- aTypes = oProperty.getReferencedProperties().flatMap(function(oProp) {
252
+ aTypes = oProperty.getSimpleProperties().flatMap(function(oProp) {
258
253
  var mPropWidthCalculation = oProp.visualSettings ? oProp.visualSettings.widthCalculation : undefined;
259
254
  return mPropWidthCalculation === null || mWidthCalculation.excludeProperties.includes(oProp.name) ? [] : [
260
255
  [oProp.typeConfig.typeInstance, mPropWidthCalculation]
@@ -270,7 +265,7 @@ sap.ui.define([
270
265
  mWidthCalculation.gap += 2.5;
271
266
  }
272
267
 
273
- var sHeader = (mWidthCalculation.includeLabel) ? oProperty.label : "";
268
+ sHeader = (mWidthCalculation.includeLabel) ? sHeader || oProperty.label : "";
274
269
  return TableUtil.calcColumnWidth(aTypes, sHeader, mWidthCalculation);
275
270
  };
276
271
 
@@ -1,5 +1,5 @@
1
- /*
2
- * ! OpenUI5
1
+ /*!
2
+ * OpenUI5
3
3
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
@@ -305,7 +305,8 @@ sap.ui.define([
305
305
  if (!this._oShowDetailsButton) {
306
306
  var oRb = Core.getLibraryResourceBundle("sap.ui.mdc");
307
307
  this.bHideDetails = true;
308
- this._oShowDetailsButton = new SegmentedButton(this.getId() + "-showHideDetails", {
308
+ var oTable = this.getRelevantTable();
309
+ this._oShowDetailsButton = new SegmentedButton(oTable.getId() + "-showHideDetails", {
309
310
  visible: false,
310
311
  selectedKey: "hideDetails",
311
312
  items: [
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * The <code>RowActionItem</code> control represents a action for a row.
25
25
  * This control can only be used in the context of <code>sap.ui.mdc.Table</code> control to define row actions.
26
26
  * @extends sap.ui.core.Element
27
- * @version 1.103.0
27
+ * @version 1.105.0
28
28
  *
29
29
  * @constructor
30
30
  * @experimental
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * The <code>RowSettings</code> control is used to configure a row.
22
22
  * This control can only be used in the context of the <code>sap.ui.mdc.Table</code> control to define row settings.
23
23
  * @extends sap.ui.core.Element
24
- * @version 1.103.0
24
+ * @version 1.105.0
25
25
  *
26
26
  * @constructor
27
27
  * @experimental
@@ -1,5 +1,5 @@
1
- /*
2
- * ! OpenUI5
1
+ /*!
2
+ * OpenUI5
3
3
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
@@ -1,5 +1,5 @@
1
- /*
2
- * ! OpenUI5
1
+ /*!
2
+ * OpenUI5
3
3
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
@@ -73,6 +73,9 @@ sap.ui.define([
73
73
  case "Single":
74
74
  sSelectionMode = oTable._bMobileTable ? "SingleSelectLeft" : "Single";
75
75
  break;
76
+ case "SingleMaster":
77
+ sSelectionMode = oTable._bMobileTable ? "SingleSelectMaster" : "Single";
78
+ break;
76
79
  case "Multi":
77
80
  sSelectionMode = oTable._bMobileTable ? "MultiSelect" : "MultiToggle";
78
81
  break;
@@ -1,5 +1,5 @@
1
- /*
2
- * ! OpenUI5
1
+ /*!
2
+ * OpenUI5
3
3
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.ui.mdc.table.PropertyHelper
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.103.0
30
+ * @version 1.105.0
31
31
  *
32
32
  * @private
33
33
  * @experimental
@@ -47,9 +47,6 @@ sap.ui.define([
47
47
  }
48
48
  });
49
49
 
50
- /**
51
- * @inheritDoc
52
- */
53
50
  PropertyHelper.prototype.prepareProperty = function(oProperty) {
54
51
  TablePropertyHelper.prototype.prepareProperty.apply(this, arguments);
55
52
  oProperty.aggregatable = oProperty.extension.defaultAggregate != null;
@@ -60,9 +57,7 @@ sap.ui.define([
60
57
  * @returns {object[]} The aggregatable properties
61
58
  */
62
59
  oProperty.getAggregatableProperties = function() {
63
- var aProperties = oProperty.isComplex() ? oProperty.getReferencedProperties() : [oProperty];
64
-
65
- return aProperties.filter(function(oProperty) {
60
+ return oProperty.getSimpleProperties().filter(function(oProperty) {
66
61
  return oProperty.aggregatable;
67
62
  });
68
63
  };
@@ -55,10 +55,10 @@ sap.ui.define([
55
55
 
56
56
  Item.prototype.onReset = function() {
57
57
  var oTable = this.getTable();
58
+ var sKey = this.getKey();
58
59
 
59
- oTable.getEngine().reset(oTable, [this.getKey()]).then(function() {
60
- oTable._oQuickActionContainer.initializeQuickActions();
61
- oTable._oColumnHeaderMenu._oPopover.invalidate();
60
+ oTable.getEngine().reset(oTable, [sKey]).then(function() {
61
+ oTable._oQuickActionContainer.updateQuickActions([sKey]);
62
62
  });
63
63
  };
64
64
 
@@ -135,6 +135,40 @@ sap.ui.define([
135
135
  return pCreateContent;
136
136
  };
137
137
 
138
+ QuickActionContainer.prototype.updateQuickActions = function(aKeys) {
139
+ var oTable = this.getTable();
140
+ var aSortedProperties = oTable._getSortedProperties();
141
+ var aGroupedProperties = oTable._getGroupedProperties();
142
+ var oAggregatedProperty = oTable._getAggregatedProperties();
143
+
144
+ this.getQuickActions().forEach(function(oQuickAction) {
145
+ if ((!aKeys || aKeys.includes("Sort")) && oQuickAction.isA("sap.m.table.columnmenu.QuickSort")) {
146
+ oQuickAction.getItems().forEach(function(oItem) {
147
+ var mSortCondition = aSortedProperties.find(function(oSortedProperty) {
148
+ return oSortedProperty.name === oItem.getProperty("key");
149
+ });
150
+ if (mSortCondition) {
151
+ oItem.setSortOrder(mSortCondition.descending ? CoreLibrary.SortOrder.Descending : CoreLibrary.SortOrder.Ascending);
152
+ } else {
153
+ oItem.setSortOrder(CoreLibrary.SortOrder.None);
154
+ }
155
+ });
156
+ } else if ((!aKeys || aKeys.includes("Group")) && oQuickAction.isA("sap.m.table.columnmenu.QuickGroup")) {
157
+ oQuickAction.getItems().forEach(function(oItem) {
158
+ var bGrouped = aGroupedProperties.some(function (oGroupedProperty) {
159
+ return oGroupedProperty.name === oItem.getProperty("key");
160
+ });
161
+ oItem.setGrouped(bGrouped);
162
+ });
163
+ } else if ((!aKeys || aKeys.includes("Aggregate")) && oQuickAction.isA("sap.m.table.columnmenu.QuickTotal")) {
164
+ oQuickAction.getItems().forEach(function(oItem) {
165
+ var bTotaled = oAggregatedProperty.hasOwnProperty(oItem.getProperty("key"));
166
+ oItem.setTotaled(bTotaled);
167
+ });
168
+ }
169
+ });
170
+ };
171
+
138
172
  QuickActionContainer.prototype.hasQuickActions = function() {
139
173
  return this.getEffectiveQuickActions().length > 0;
140
174
  };
@@ -2,8 +2,31 @@
2
2
  background: @sapUiChartBackgroundColor;
3
3
  border-radius: @sapUiElementBorderCornerRadius;
4
4
  padding-bottom: 1rem;
5
+ display: grid;
5
6
  }
6
7
 
8
+ .sapUiMDCChartTempTextOuter{
9
+ grid-template-rows: auto 1fr;
10
+ }
11
+
12
+ .sapUiMDCChartTempText {
13
+ display: flex;
14
+ justify-content: center;
15
+ align-items: center;
16
+ }
17
+
18
+ .sapUiMDCChartGrid{
19
+ grid-template-rows: auto auto 1fr;
20
+ grid-template-columns: minmax(0, 1fr);
21
+ }
22
+
23
+ .sapUiMDCChartGridNoBreadcrumbs{
24
+ grid-template-rows: auto 1fr;
25
+ grid-template-columns: minmax(0, 1fr);
26
+ }
27
+
28
+
29
+
7
30
  .sapUiMDCChart .sapUiMDCChartBreadcrumbs {
8
31
  margin-left: 1rem;
9
32
  }
@@ -11,4 +34,9 @@
11
34
  .sapUiMDCChart .sapMIBar.sapMTBHeader-CTX {
12
35
  border-top-right-radius: @sapUiElementBorderCornerRadius;
13
36
  border-top-left-radius: @sapUiElementBorderCornerRadius;
37
+ }
38
+
39
+ .sapUiMDCChart .sapUiMDCChartTempInnerText {
40
+ justify-content: center;
41
+ align-content: center;
14
42
  }
@@ -134,5 +134,4 @@
134
134
  padding-bottom: 1rem;
135
135
  padding-right: 1rem;
136
136
  padding-left: 1rem;
137
- width: calc(100% - 2rem);
138
137
  }
@@ -1,5 +1,5 @@
1
- /*
2
- * ! OpenUI5
1
+ /*!
2
+ * OpenUI5
3
3
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
@@ -1,5 +1,5 @@
1
- /*
2
- * ! OpenUI5
1
+ /*!
2
+ * OpenUI5
3
3
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
@@ -1,5 +1,5 @@
1
- /*
2
- * ! OpenUI5
1
+ /*!
2
+ * OpenUI5
3
3
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
@@ -1,5 +1,5 @@
1
- /*
2
- * ! OpenUI5
1
+ /*!
2
+ * OpenUI5
3
3
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
@@ -44,7 +44,7 @@ sap.ui.define(
44
44
  * Destroying the cache will cancel all registered promises and delete references. Convenience methods for promise creation, wrapping and replacement are offered.
45
45
  *
46
46
  * @author SAP SE
47
- * @version 1.103.0
47
+ * @version 1.105.0
48
48
  * @alias sap.ui.mdc.util.PromiseCache
49
49
  * @namespace
50
50
  * @since 1.85.0