@openui5/sap.ui.mdc 1.102.2 → 1.104.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 (256) hide show
  1. package/.reuse/dep5 +17 -0
  2. package/LICENSES/LicenseRef-tzdata-PublicDomain.txt +5 -0
  3. package/THIRDPARTY.txt +35 -2
  4. package/package.json +4 -4
  5. package/src/sap/ui/mdc/.library +1 -1
  6. package/src/sap/ui/mdc/ActionToolbar.js +1 -1
  7. package/src/sap/ui/mdc/AggregationBaseDelegate.js +11 -0
  8. package/src/sap/ui/mdc/Chart.js +141 -57
  9. package/src/sap/ui/mdc/ChartDelegate.js +97 -92
  10. package/src/sap/ui/mdc/Control.js +1 -1
  11. package/src/sap/ui/mdc/Element.js +1 -1
  12. package/src/sap/ui/mdc/Field.js +2 -2
  13. package/src/sap/ui/mdc/FilterBar.js +1 -1
  14. package/src/sap/ui/mdc/FilterField.js +2 -2
  15. package/src/sap/ui/mdc/Link.js +77 -12
  16. package/src/sap/ui/mdc/LinkDelegate.js +81 -76
  17. package/src/sap/ui/mdc/MultiValueField.js +1 -1
  18. package/src/sap/ui/mdc/Table.js +7 -1
  19. package/src/sap/ui/mdc/ValueHelp.js +1 -19
  20. package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +2 -1
  21. package/src/sap/ui/mdc/actiontoolbar/ActionToolbarActionRenderer.js +1 -2
  22. package/src/sap/ui/mdc/chart/ChartSelectionDetails.js +1 -2
  23. package/src/sap/ui/mdc/chart/ChartToolbar.js +43 -5
  24. package/src/sap/ui/mdc/chart/DrillBreadcrumbs.js +6 -2
  25. package/src/sap/ui/mdc/chart/Item.js +6 -11
  26. package/src/sap/ui/mdc/chart/PropertyHelper.js +7 -8
  27. package/src/sap/ui/mdc/chart/SelectionDetailsActions.js +2 -3
  28. package/src/sap/ui/mdc/condition/Condition.js +1 -1
  29. package/src/sap/ui/mdc/condition/ConditionConverter.js +16 -131
  30. package/src/sap/ui/mdc/condition/ConditionModel.js +50 -21
  31. package/src/sap/ui/mdc/condition/FilterConverter.js +1 -1
  32. package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +3 -3
  33. package/src/sap/ui/mdc/condition/Operator.js +1 -1
  34. package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +1 -1
  35. package/src/sap/ui/mdc/condition/RangeOperator.js +1 -1
  36. package/src/sap/ui/mdc/designtime/actiontoolbar/ActionToolbar.designtime.js +18 -4
  37. package/src/sap/ui/mdc/designtime/actiontoolbar/ActionToolbarAction.designtime.js +53 -0
  38. package/src/sap/ui/mdc/designtime/chart/Chart.designtime.js +3 -0
  39. package/src/sap/ui/mdc/designtime/field/Field.designtime.js +9 -4
  40. package/src/sap/ui/mdc/designtime/table/Table.designtime.js +3 -1
  41. package/src/sap/ui/mdc/field/BoolFieldHelp.js +1 -1
  42. package/src/sap/ui/mdc/field/ConditionFieldHelp.js +1 -1
  43. package/src/sap/ui/mdc/field/ConditionType.js +135 -39
  44. package/src/sap/ui/mdc/field/ConditionsType.js +71 -10
  45. package/src/sap/ui/mdc/field/CustomFieldHelp.js +1 -2
  46. package/src/sap/ui/mdc/field/CustomFieldInfo.js +1 -1
  47. package/src/sap/ui/mdc/field/DefineConditionPanel.js +93 -81
  48. package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +1 -1
  49. package/src/sap/ui/mdc/field/FieldBase.js +94 -74
  50. package/src/sap/ui/mdc/field/FieldBaseDelegate.js +20 -1
  51. package/src/sap/ui/mdc/field/FieldHelpBase.js +1 -39
  52. package/src/sap/ui/mdc/field/FieldInfoBase.js +23 -21
  53. package/src/sap/ui/mdc/field/FieldInput.js +2 -2
  54. package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +1 -1
  55. package/src/sap/ui/mdc/field/FieldMultiInput.js +2 -2
  56. package/src/sap/ui/mdc/field/FieldValueHelp.js +1 -1
  57. package/src/sap/ui/mdc/field/FieldValueHelpContentWrapperBase.js +1 -19
  58. package/src/sap/ui/mdc/field/FieldValueHelpMTableWrapper.js +1 -1
  59. package/src/sap/ui/mdc/field/FieldValueHelpMdcTableWrapper.js +1 -1
  60. package/src/sap/ui/mdc/field/FieldValueHelpTableWrapperBase.js +1 -1
  61. package/src/sap/ui/mdc/field/FieldValueHelpUITableWrapper.js +1 -1
  62. package/src/sap/ui/mdc/field/InParameter.js +1 -4
  63. package/src/sap/ui/mdc/field/ListFieldHelp.js +1 -1
  64. package/src/sap/ui/mdc/field/ListFieldHelpItem.js +1 -1
  65. package/src/sap/ui/mdc/field/MultiValueFieldItem.js +1 -1
  66. package/src/sap/ui/mdc/field/OutParameter.js +1 -1
  67. package/src/sap/ui/mdc/field/TokenDisplay.js +2 -2
  68. package/src/sap/ui/mdc/field/TokenizerDisplay.js +2 -2
  69. package/src/sap/ui/mdc/field/ValueHelpPanel.js +1 -5
  70. package/src/sap/ui/mdc/field/content/DateTimeContent.js +1 -1
  71. package/src/sap/ui/mdc/filterbar/FilterBarBase.js +4 -4
  72. package/src/sap/ui/mdc/filterbar/IFilterContainer.js +1 -1
  73. package/src/sap/ui/mdc/filterbar/PropertyHelper.js +1 -1
  74. package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +1 -1
  75. package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +1 -1
  76. package/src/sap/ui/mdc/flexibility/ActionToolbar.flexibility.js +80 -4
  77. package/src/sap/ui/mdc/flexibility/AggregateFlex.js +19 -38
  78. package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +1 -1
  79. package/src/sap/ui/mdc/flexibility/ChartTypeFlex.js +23 -41
  80. package/src/sap/ui/mdc/flexibility/ConditionFlex.js +43 -58
  81. package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +1 -1
  82. package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +1 -1
  83. package/src/sap/ui/mdc/flexibility/GroupFlex.js +25 -55
  84. package/src/sap/ui/mdc/flexibility/ItemBaseFlex.js +38 -57
  85. package/src/sap/ui/mdc/flexibility/SortFlex.js +23 -52
  86. package/src/sap/ui/mdc/flexibility/Table.flexibility.js +3 -3
  87. package/src/sap/ui/mdc/flexibility/Util.js +82 -0
  88. package/src/sap/ui/mdc/flexibility/xConfigFlex.js +137 -0
  89. package/src/sap/ui/mdc/flp/FlpLinkDelegate.js +3 -1
  90. package/src/sap/ui/mdc/library.js +4 -15
  91. package/src/sap/ui/mdc/link/ContactDetails.js +1 -1
  92. package/src/sap/ui/mdc/link/ContactDetailsAddressItem.js +1 -1
  93. package/src/sap/ui/mdc/link/ContactDetailsEmailItem.js +1 -1
  94. package/src/sap/ui/mdc/link/ContactDetailsItem.js +1 -1
  95. package/src/sap/ui/mdc/link/ContactDetailsPhoneItem.js +1 -1
  96. package/src/sap/ui/mdc/link/Factory.js +1 -1
  97. package/src/sap/ui/mdc/link/FakeFlpConnector.js +1 -1
  98. package/src/sap/ui/mdc/link/LinkItem.js +9 -1
  99. package/src/sap/ui/mdc/link/Panel.js +26 -11
  100. package/src/sap/ui/mdc/link/PanelItem.js +10 -1
  101. package/src/sap/ui/mdc/link/SemanticObjectMapping.js +1 -1
  102. package/src/sap/ui/mdc/link/SemanticObjectMappingItem.js +1 -1
  103. package/src/sap/ui/mdc/link/SemanticObjectUnavailableAction.js +1 -1
  104. package/src/sap/ui/mdc/messagebundle.properties +16 -2
  105. package/src/sap/ui/mdc/messagebundle_ar.properties +12 -2
  106. package/src/sap/ui/mdc/messagebundle_bg.properties +12 -2
  107. package/src/sap/ui/mdc/messagebundle_ca.properties +12 -2
  108. package/src/sap/ui/mdc/messagebundle_cs.properties +15 -5
  109. package/src/sap/ui/mdc/messagebundle_cy.properties +12 -2
  110. package/src/sap/ui/mdc/messagebundle_da.properties +12 -2
  111. package/src/sap/ui/mdc/messagebundle_de.properties +12 -2
  112. package/src/sap/ui/mdc/messagebundle_el.properties +24 -14
  113. package/src/sap/ui/mdc/messagebundle_en.properties +12 -2
  114. package/src/sap/ui/mdc/messagebundle_en_GB.properties +12 -2
  115. package/src/sap/ui/mdc/messagebundle_en_US_sappsd.properties +12 -2
  116. package/src/sap/ui/mdc/messagebundle_en_US_saprigi.properties +12 -2
  117. package/src/sap/ui/mdc/messagebundle_en_US_saptrc.properties +12 -2
  118. package/src/sap/ui/mdc/messagebundle_es.properties +18 -8
  119. package/src/sap/ui/mdc/messagebundle_es_MX.properties +12 -2
  120. package/src/sap/ui/mdc/messagebundle_et.properties +12 -2
  121. package/src/sap/ui/mdc/messagebundle_fi.properties +12 -2
  122. package/src/sap/ui/mdc/messagebundle_fr.properties +14 -4
  123. package/src/sap/ui/mdc/messagebundle_fr_CA.properties +12 -2
  124. package/src/sap/ui/mdc/messagebundle_hi.properties +12 -2
  125. package/src/sap/ui/mdc/messagebundle_hr.properties +15 -5
  126. package/src/sap/ui/mdc/messagebundle_hu.properties +13 -3
  127. package/src/sap/ui/mdc/messagebundle_id.properties +12 -2
  128. package/src/sap/ui/mdc/messagebundle_it.properties +57 -47
  129. package/src/sap/ui/mdc/messagebundle_iw.properties +12 -2
  130. package/src/sap/ui/mdc/messagebundle_ja.properties +12 -2
  131. package/src/sap/ui/mdc/messagebundle_kk.properties +12 -2
  132. package/src/sap/ui/mdc/messagebundle_ko.properties +14 -4
  133. package/src/sap/ui/mdc/messagebundle_lt.properties +12 -2
  134. package/src/sap/ui/mdc/messagebundle_lv.properties +12 -2
  135. package/src/sap/ui/mdc/messagebundle_ms.properties +12 -2
  136. package/src/sap/ui/mdc/messagebundle_nl.properties +26 -16
  137. package/src/sap/ui/mdc/messagebundle_no.properties +12 -2
  138. package/src/sap/ui/mdc/messagebundle_pl.properties +12 -2
  139. package/src/sap/ui/mdc/messagebundle_pt.properties +16 -6
  140. package/src/sap/ui/mdc/messagebundle_pt_PT.properties +12 -2
  141. package/src/sap/ui/mdc/messagebundle_ro.properties +12 -2
  142. package/src/sap/ui/mdc/messagebundle_ru.properties +12 -2
  143. package/src/sap/ui/mdc/messagebundle_sh.properties +13 -3
  144. package/src/sap/ui/mdc/messagebundle_sk.properties +12 -2
  145. package/src/sap/ui/mdc/messagebundle_sl.properties +12 -2
  146. package/src/sap/ui/mdc/messagebundle_sv.properties +12 -2
  147. package/src/sap/ui/mdc/messagebundle_th.properties +17 -7
  148. package/src/sap/ui/mdc/messagebundle_tr.properties +12 -2
  149. package/src/sap/ui/mdc/messagebundle_uk.properties +12 -2
  150. package/src/sap/ui/mdc/messagebundle_vi.properties +12 -2
  151. package/src/sap/ui/mdc/messagebundle_zh_CN.properties +12 -2
  152. package/src/sap/ui/mdc/messagebundle_zh_TW.properties +13 -3
  153. package/src/sap/ui/mdc/mixin/AdaptationMixin.js +1 -1
  154. package/src/sap/ui/mdc/mixin/DelegateMixin.js +1 -1
  155. package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +1 -1
  156. package/src/sap/ui/mdc/mixin/PromiseMixin.js +1 -1
  157. package/src/sap/ui/mdc/mixin/PropertyHelperMixin.js +1 -1
  158. package/src/sap/ui/mdc/odata/TypeUtil.js +24 -2
  159. package/src/sap/ui/mdc/odata/v4/ChartPropertyHelper.js +5 -5
  160. package/src/sap/ui/mdc/odata/v4/FieldBaseDelegate.js +6 -0
  161. package/src/sap/ui/mdc/odata/v4/TableDelegate.js +15 -28
  162. package/src/sap/ui/mdc/odata/v4/TypeUtil.js +6 -6
  163. package/src/sap/ui/mdc/odata/v4/ValueHelpDelegate.js +0 -33
  164. package/src/sap/ui/mdc/odata/v4/vizChart/ChartDelegate.js +360 -152
  165. package/src/sap/ui/mdc/p13n/Engine.js +1 -1
  166. package/src/sap/ui/mdc/p13n/PersistenceProvider.js +1 -0
  167. package/src/sap/ui/mdc/p13n/PropertyHelper.js +1 -1
  168. package/src/sap/ui/mdc/p13n/StateUtil.js +1 -1
  169. package/src/sap/ui/mdc/p13n/UIManager.js +1 -1
  170. package/src/sap/ui/mdc/p13n/modules/DefaultProviderRegistry.js +1 -1
  171. package/src/sap/ui/mdc/p13n/panels/ActionToolbarPanel.js +133 -0
  172. package/src/sap/ui/mdc/p13n/panels/AdaptFiltersPanel.js +1 -7
  173. package/src/sap/ui/mdc/p13n/panels/ChartItemPanel.js +31 -6
  174. package/src/sap/ui/mdc/p13n/panels/FilterPanel.js +7 -32
  175. package/src/sap/ui/mdc/p13n/panels/LinkSelectionPanel.js +12 -4
  176. package/src/sap/ui/mdc/p13n/subcontroller/ActionToolbarController.js +1 -1
  177. package/src/sap/ui/mdc/p13n/subcontroller/BaseController.js +1 -1
  178. package/src/sap/ui/mdc/p13n/subcontroller/LinkPanelController.js +24 -28
  179. package/src/sap/ui/mdc/table/CreationRow.js +1 -1
  180. package/src/sap/ui/mdc/table/PropertyHelper.js +30 -32
  181. package/src/sap/ui/mdc/table/ResponsiveTableType.js +2 -1
  182. package/src/sap/ui/mdc/table/RowActionItem.js +1 -1
  183. package/src/sap/ui/mdc/table/RowSettings.js +1 -1
  184. package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +2 -7
  185. package/src/sap/ui/mdc/table/menu/Item.js +3 -3
  186. package/src/sap/ui/mdc/table/menu/QuickActionContainer.js +34 -0
  187. package/src/sap/ui/mdc/themes/base/ValueHelpDialog.less +5 -0
  188. package/src/sap/ui/mdc/util/FilterUtil.js +2 -2
  189. package/src/sap/ui/mdc/util/PromiseCache.js +1 -1
  190. package/src/sap/ui/mdc/util/PropertyHelper.js +49 -51
  191. package/src/sap/ui/mdc/util/TypeUtil.js +105 -17
  192. package/src/sap/ui/mdc/valuehelp/Dialog.js +97 -30
  193. package/src/sap/ui/mdc/valuehelp/Popover.js +48 -7
  194. package/src/sap/ui/mdc/valuehelp/base/Container.js +37 -28
  195. package/src/sap/ui/mdc/valuehelp/base/Content.js +39 -21
  196. package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +5 -5
  197. package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +41 -34
  198. package/src/sap/ui/mdc/valuehelp/base/ListContent.js +1 -1
  199. package/src/sap/ui/mdc/valuehelp/content/Bool.js +4 -4
  200. package/src/sap/ui/mdc/valuehelp/content/Conditions.js +11 -3
  201. package/src/sap/ui/mdc/valuehelp/content/FixedList.js +1 -1
  202. package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +25 -3
  203. package/src/sap/ui/mdc/valuehelp/content/MTable.js +3 -3
  204. package/test/sap/ui/mdc/testutils/opa/JSDocGeneration.md +18 -0
  205. package/test/sap/ui/mdc/testutils/opa/TestLibrary.js +4 -1
  206. package/test/sap/ui/mdc/testutils/opa/Util.js +42 -0
  207. package/test/sap/ui/mdc/testutils/opa/Utils.js +22 -0
  208. package/test/sap/ui/mdc/testutils/opa/chart/ActionsBase.js +1 -1
  209. package/test/sap/ui/mdc/testutils/opa/chart/JSDoc.md +413 -0
  210. package/test/sap/ui/mdc/testutils/opa/chart/TestObjects.js +320 -264
  211. package/test/sap/ui/mdc/testutils/opa/field/Actions.js +50 -0
  212. package/test/sap/ui/mdc/testutils/opa/field/Assertions.js +40 -0
  213. package/test/sap/ui/mdc/testutils/opa/field/JSDoc.md +37 -0
  214. package/test/sap/ui/mdc/testutils/opa/field/TestObjects.js +52 -0
  215. package/test/sap/ui/mdc/testutils/opa/field/waitForField.js +36 -0
  216. package/test/sap/ui/mdc/testutils/opa/field/waitForFieldValueHelpButton.js +42 -0
  217. package/test/sap/ui/mdc/testutils/opa/filterbar/Actions.js +31 -7
  218. package/test/sap/ui/mdc/testutils/opa/filterbar/Assertions.js +53 -7
  219. package/test/sap/ui/mdc/testutils/opa/filterbar/JSDoc.md +188 -0
  220. package/test/sap/ui/mdc/testutils/opa/filterbar/TestObjects.js +79 -13
  221. package/test/sap/ui/mdc/testutils/opa/filterbar/waitForAdaptFiltersButton.js +47 -0
  222. package/test/sap/ui/mdc/testutils/opa/filterbar/waitForFilterBar.js +28 -0
  223. package/test/sap/ui/mdc/testutils/opa/filterfield/Actions.js +70 -0
  224. package/test/sap/ui/mdc/testutils/opa/filterfield/Assertions.js +87 -0
  225. package/test/sap/ui/mdc/testutils/opa/filterfield/JSDoc.md +63 -0
  226. package/test/sap/ui/mdc/testutils/opa/filterfield/TestObjects.js +71 -0
  227. package/test/sap/ui/mdc/testutils/opa/filterfield/waitForFilterField.js +36 -0
  228. package/test/sap/ui/mdc/testutils/opa/filterfield/waitForFilterFieldValueHelpButton.js +42 -0
  229. package/test/sap/ui/mdc/testutils/opa/link/JSDoc.md +136 -0
  230. package/test/sap/ui/mdc/testutils/opa/link/TestObjects.js +108 -91
  231. package/test/sap/ui/mdc/testutils/opa/p13n/Actions.js +34 -82
  232. package/test/sap/ui/mdc/testutils/opa/table/Actions.js +190 -6
  233. package/test/sap/ui/mdc/testutils/opa/table/Assertions.js +210 -0
  234. package/test/sap/ui/mdc/testutils/opa/table/JSDoc.md +205 -0
  235. package/test/sap/ui/mdc/testutils/opa/table/TestObjects.js +138 -9
  236. package/test/sap/ui/mdc/testutils/opa/table/Util.js +20 -0
  237. package/test/sap/ui/mdc/testutils/opa/table/waitForColumnHeader.js +44 -0
  238. package/test/sap/ui/mdc/testutils/opa/table/waitForListItemInDialogWithLabel.js +55 -0
  239. package/test/sap/ui/mdc/testutils/opa/table/waitForP13nButtonWithParentAndIcon.js +42 -0
  240. package/test/sap/ui/mdc/testutils/opa/table/waitForTable.js +26 -0
  241. package/test/sap/ui/mdc/testutils/opa/valueHelp/JSDoc.md +35 -0
  242. package/test/sap/ui/mdc/testutils/opa/valueHelp/TestObjects.js +7 -0
  243. package/test/sap/ui/mdc/testutils/opa/variant/Actions.js +124 -0
  244. package/test/sap/ui/mdc/testutils/opa/variant/Assertions.js +48 -0
  245. package/test/sap/ui/mdc/testutils/opa/variant/JSDoc.md +84 -0
  246. package/test/sap/ui/mdc/testutils/opa/variant/TestObjects.js +95 -0
  247. package/test/sap/ui/mdc/testutils/opa/variant/waitForVariantManager.js +43 -0
  248. package/test/sap/ui/mdc/testutils/opa/variant/waitForVariantManagerButton.js +45 -0
  249. package/test/sap/ui/mdc/testutils/opa/variant/waitForVariantManagerItem.js +54 -0
  250. package/test/sap/ui/mdc/testutils/opa/variant/waitForVariantManagerOverlay.js +44 -0
  251. package/ui5.yaml +4 -1
  252. package/src/sap/ui/mdc/flexibility/AggregationConfigFlex.js +0 -139
  253. package/src/sap/ui/mdc/odata/json/FilterBarDelegate.js +0 -155
  254. package/src/sap/ui/mdc/odata/v4/FilterBarDelegate.js +0 -750
  255. package/test/sap/ui/mdc/testutils/opa/chart/ChartNew.js +0 -24
  256. package/test/sap/ui/mdc/testutils/opa/chartNew/TestObjects.js +0 -288
package/.reuse/dep5 CHANGED
@@ -137,6 +137,11 @@ Copyright: jQuery Foundation and other contributors
137
137
  License: MIT
138
138
  Comment: these files belong to: QUnit 2
139
139
 
140
+ Files: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.*
141
+ Copyright: jQuery Foundation and other contributors
142
+ License: MIT
143
+ Comment: these files belong to: QUnit 2.18
144
+
140
145
  Files: src/sap.ui.core/src/sap/ui/thirdparty/jquery-compat.js
141
146
  Copyright: OpenJS Foundation and other contributors
142
147
  License: MIT
@@ -234,6 +239,11 @@ Copyright: 2010-2017, Christian Johansen, christian@cjohansen.no
234
239
  License: BSD-3-Clause
235
240
  Comment: these files belong to: SinonJS
236
241
 
242
+ Files: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/sinon-14.0.*
243
+ Copyright: 2010-2022, Christian Johansen, christian@cjohansen.no
244
+ License: BSD-3-Clause
245
+ Comment: these files belong to: SinonJS 14
246
+
237
247
  Files: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
238
248
  Copyright: 2010-2011, Christian Johansen
239
249
  License: BSD-3-Clause
@@ -339,6 +349,13 @@ Copyright:
339
349
  License: Apache-2.0 and ISC
340
350
  Comment: these files contain content from SAP and node-lru-cache: LRUPersistentCache.js is overall written by SAP, but portions ('Least Recently Used' logic) are taken from the node-lru-cache project (see https://github.com/isaacs/node-lru-cache/blob/v2.7.3/README.md) and modified.
341
351
 
352
+ Files: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
353
+ Copyright:
354
+ 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
355
+ Arthur David Olson, Paul Eggert and other contributors
356
+ License: Apache-2.0 and LicenseRef-tzdata-PublicDomain
357
+ Comment: these files contain content from SAP and Time Zone Database: _timezones.js is overall written by SAP, but the list of IANA timezone IDs is taken from the Timezone Database
358
+
342
359
 
343
360
  # Library: sap.ui.documentation:
344
361
 
@@ -0,0 +1,5 @@
1
+ Unless specified below, all files in the tz code and data (including
2
+ this LICENSE file) are in the public domain.
3
+
4
+ If the files date.c, newstrftime.3, and strftime.c are present, they
5
+ contain material derived from BSD and use the BSD 3-clause license.
package/THIRDPARTY.txt CHANGED
@@ -76,6 +76,12 @@ License: MIT
76
76
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
77
77
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-2.*
78
78
 
79
+ Component: QUnit 2.18, version: 2.18.0
80
+ Copyright: jQuery Foundation and other contributors
81
+ License: MIT
82
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
83
+ Contained in: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.*
84
+
79
85
  Component: jQuery-Migrate, version: 3.3.1
80
86
  Copyright: OpenJS Foundation and other contributors
81
87
  License: MIT
@@ -191,13 +197,19 @@ License: BSD-3-Clause
191
197
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
192
198
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-4.js
193
199
 
200
+ Component: SinonJS 14, version: 14.0.0
201
+ Copyright: 2010-2022, Christian Johansen, christian@cjohansen.no
202
+ License: BSD-3-Clause
203
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
204
+ Contained in: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/sinon-14.0.*
205
+
194
206
  Component: Sinon-qunit, version: 2.0.0
195
207
  Copyright: 2010-2011, Christian Johansen
196
208
  License: BSD-3-Clause
197
209
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
198
210
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
199
211
 
200
- Component: URI.js, version: 1.19.10
212
+ Component: URI.js, version: 1.19.11
201
213
  Copyright: Rodney Rehm
202
214
  License: MIT
203
215
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
@@ -315,6 +327,12 @@ License: ISC
315
327
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/ISC.txt
316
328
  Contained in: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
317
329
 
330
+ Component: Time Zone Database, version: 2022a
331
+ Copyright: Arthur David Olson, Paul Eggert and other contributors
332
+ License: LicenseRef-tzdata-PublicDomain
333
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/LicenseRef-tzdata-PublicDomain.txt
334
+ Contained in: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
335
+
318
336
 
319
337
  Library: sap.ui.documentation:
320
338
 
@@ -450,7 +468,7 @@ License: Apache-2.0
450
468
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
451
469
  Contained in: lib/jsdoc/ui5/plugin.js
452
470
 
453
- Component: SAP Theming Base Content, version: 11.1.39
471
+ Component: SAP Theming Base Content, version: 11.1.40
454
472
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
455
473
  License: Apache-2.0
456
474
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
@@ -980,6 +998,21 @@ END of license: LicenseRef-JSONinJSPublicDomain
980
998
  =================================
981
999
 
982
1000
 
1001
+ =================================
1002
+ BEGIN of license: LicenseRef-tzdata-PublicDomain
1003
+ =================================
1004
+
1005
+ Unless specified below, all files in the tz code and data (including
1006
+ this LICENSE file) are in the public domain.
1007
+
1008
+ If the files date.c, newstrftime.3, and strftime.c are present, they
1009
+ contain material derived from BSD and use the BSD 3-clause license.
1010
+
1011
+ =================================
1012
+ END of license: LicenseRef-tzdata-PublicDomain
1013
+ =================================
1014
+
1015
+
983
1016
  =================================
984
1017
  BEGIN of license: MIT
985
1018
  =================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.mdc",
3
- "version": "1.102.2",
3
+ "version": "1.104.0",
4
4
  "description": "OpenUI5 UI Library sap.ui.mdc",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,8 +14,8 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.m": "1.102.2",
18
- "@openui5/sap.ui.core": "1.102.2",
19
- "@openui5/sap.ui.layout": "1.102.2"
17
+ "@openui5/sap.m": "1.104.0",
18
+ "@openui5/sap.ui.core": "1.104.0",
19
+ "@openui5/sap.ui.layout": "1.104.0"
20
20
  }
21
21
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.102.2</version>
9
+ <version>1.104.0</version>
10
10
 
11
11
  <documentation>UI5 library: sap.ui.mdc</documentation>
12
12
 
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @class The column for the metadata driven table, that hold the template to be shown when the rows has data.
32
32
  * @extends sap.m.OverflowToolbar
33
33
  * @author SAP SE
34
- * @version 1.102.2
34
+ * @version 1.104.0
35
35
  * @constructor
36
36
  * @private
37
37
  * @since 1.58
@@ -101,6 +101,17 @@ sap.ui.define(['sap/ui/mdc/BaseDelegate', 'sap/ui/core/library'], function (Base
101
101
  /* Please provide a meaningful message here. */
102
102
  message: undefined
103
103
  };
104
+ },
105
+
106
+ /**
107
+ * Hook that will be executed when changes are done applying to controls during the XML flexibility change appliance process.
108
+ *
109
+ * @param {Object<sap.ui.mdc.Control>} oControl Instance of an MDC control
110
+ * @param {Object} mPropertyBag Property bag from SAPUI5 flexibility
111
+ *
112
+ */
113
+ onAfterXMLChangeProcessing: function(oControl, mPropertyBag) {
114
+ //Neccessary cleanups can be implemented here
104
115
  }
105
116
 
106
117
 
@@ -25,7 +25,8 @@ sap.ui.define([
25
25
  "sap/ui/base/ManagedObjectObserver",
26
26
  "sap/ui/mdc/chart/DrillBreadcrumbs",
27
27
  "sap/ui/mdc/actiontoolbar/ActionToolbarAction",
28
- "sap/ui/thirdparty/jquery"
28
+ "sap/ui/thirdparty/jquery",
29
+ "sap/ui/core/library"
29
30
  ],
30
31
  function (
31
32
  Core,
@@ -48,21 +49,23 @@ sap.ui.define([
48
49
  ManagedObjectObserver,
49
50
  Breadcrumbs,
50
51
  ActionToolbarAction,
51
- jQuery
52
+ jQuery,
53
+ coreLibrary
52
54
  ) {
53
55
  "use strict";
54
56
 
55
57
  var DrillStackHandler;
58
+ var TitleLevel = coreLibrary.TitleLevel;
56
59
 
57
60
  /**
58
61
  * Constructor for a new Chart.
59
62
  *
60
- * @param {string} [sId] id for the new control, generated automatically if no id is given
61
- * @param {object} [mSettings] initial settings for the new control
63
+ * @param {string} [sId] ID for the new control, generated automatically if no id is given
64
+ * @param {object} [mSettings] Initial settings for the new control
62
65
  * @class The Chart control creates a chart based on metadata and the configuration specified.
63
66
  * @extends sap.ui.mdc.Control
64
67
  * @author SAP SE
65
- * @version 1.102.2
68
+ * @version 1.104.0
66
69
  * @constructor
67
70
  * @experimental As of version ...
68
71
  * @private
@@ -70,7 +73,6 @@ sap.ui.define([
70
73
  * @MDC_PUBLIC_CANDIDATE
71
74
  * @since 1.88
72
75
  * @alias sap.ui.mdc.Chart
73
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
74
76
  */
75
77
  var Chart = Control.extend("sap.ui.mdc.Chart", /** @lends sap.ui.mdc.Chart.prototype */ {
76
78
  metadata: {
@@ -225,13 +227,16 @@ sap.ui.define([
225
227
  group: "Misc",
226
228
  defaultValue: "column"
227
229
  },
230
+ /**
231
+ * Enables the Details button in the chart toolbar.
232
+ */
228
233
  showSelectionDetails: {
229
234
  type: "boolean",
230
235
  group: "Misc",
231
236
  defaultValue: true
232
237
  },
233
238
  /**
234
- * Specifies the filter metadata.<br>
239
+ * Specifies the chart metadata.<br>
235
240
  * <b>Note</b>: This property must not be bound.<br>
236
241
  * <b>Note</b>: This property is used exclusively for SAPUI5 flexibility/ Fiori Elements. Do not use it otherwise.
237
242
  *
@@ -240,13 +245,32 @@ sap.ui.define([
240
245
  propertyInfo: {
241
246
  type: "object",
242
247
  defaultValue: []
248
+ },
249
+ /**
250
+ * Semantic level of the header.
251
+ * For more information, see {@link sap.m.Title#setLevel}.
252
+ *
253
+ * @since 1.104
254
+ */
255
+ headerLevel: {
256
+ type: "sap.ui.core.TitleLevel",
257
+ group: "Appearance",
258
+ defaultValue: TitleLevel.Auto
243
259
  }
244
260
  },
245
261
  aggregations: {
262
+ /**
263
+ * This property describes the measures and dimensions visible in the chart.
264
+ * Changes in the personalization are also reflected here.
265
+ */
246
266
  items: {
247
267
  type: "sap.ui.mdc.chart.Item",
248
268
  multiple: true
249
269
  },
270
+ /**
271
+ * This aggregation describes actions that are added to the chart toolbar.
272
+ * See {@link sap.ui.mdc.actiontoolbar.ActionToolbarAction} for more information.
273
+ */
250
274
  actions: {
251
275
  type: "sap.ui.core.Control",
252
276
  multiple: true,
@@ -275,7 +299,7 @@ sap.ui.define([
275
299
  multiple: false
276
300
  },
277
301
  /**
278
- * <code>VariantManagement<code> control for the chart.
302
+ * Reference to a {@link sap.ui.fl.variants.VariantManagement} control for the chart.
279
303
  */
280
304
  variant: {
281
305
  type: "sap.ui.fl.variants.VariantManagement",
@@ -284,7 +308,7 @@ sap.ui.define([
284
308
  },
285
309
  associations: {
286
310
  /**
287
- * Control or object which enables the chart to do filtering, such as {@link sap.ui.mdc.FilterBar}.
311
+ * Control or object that enables the chart to do filtering, such as {@link sap.ui.mdc.FilterBar}.
288
312
  * Also see {@link sap.ui.mdc.IFilter}.
289
313
  *
290
314
  * @since 1.88
@@ -364,6 +388,16 @@ sap.ui.define([
364
388
  this._setPropertyHelperClass(PropertyHelper);
365
389
  };
366
390
 
391
+ /**
392
+ * Defines which personalization options are available in the chart.
393
+ * Valid options are: "Item", "Sort", "Type".
394
+ * @param {array} aMode String array containing the p13n options that are available
395
+ * @returns {sap.ui.mdc.Chart} Reference to <code>this</code> for method chaining
396
+ *
397
+ * @experimental
398
+ * @private
399
+ * @ui5-restricted Fiori Elements
400
+ */
367
401
  Chart.prototype.setP13nMode = function(aMode) {
368
402
  var aSortedKeys = null;
369
403
  if (aMode && aMode.length >= 1){
@@ -426,11 +460,6 @@ sap.ui.define([
426
460
 
427
461
  };
428
462
 
429
-
430
- Chart.prototype.isFilteringEnabled = function() {
431
- return this.getP13nMode().indexOf("Filter") > -1;
432
- };
433
-
434
463
  Chart.prototype.setFilterConditions = function(mConditions) {
435
464
  this.setProperty("filterConditions", mConditions, true);
436
465
 
@@ -442,6 +471,14 @@ sap.ui.define([
442
471
  return this;
443
472
  };
444
473
 
474
+ /**
475
+ * Getter for <code>filterConditions</code> set in the personalization settings.
476
+ * @returns {array} Filters set in the chart
477
+ *
478
+ * @experimental
479
+ * @private
480
+ * @ui5-restricted Fiori Elements
481
+ */
445
482
  Chart.prototype.getConditions = function() {
446
483
  //may only return conditions if the inner FilterBar has already been initialized
447
484
  return this.getInbuiltFilter() ? this.getInbuiltFilter().getConditions() : [];
@@ -454,7 +491,7 @@ sap.ui.define([
454
491
  };
455
492
 
456
493
  /**
457
- * Applies given settings onto the MDC Chart, loads the delegate and initializes the MDC Chart
494
+ * Applies given settings onto the MDC chart, loads the delegate and initializes the MDC chart
458
495
  *
459
496
  * @param {*} mSettings settings to apply
460
497
  *
@@ -501,7 +538,7 @@ sap.ui.define([
501
538
  };
502
539
 
503
540
  /**
504
- * Initializes the inner controls of the MDC Chart (toolbar, inner chart)
541
+ * Initializes the inner controls of the MDC chart (toolbar, inner chart)
505
542
  * Inner chart is initialized via the delegate
506
543
  */
507
544
  Chart.prototype._initInnerControls = function () {
@@ -554,7 +591,7 @@ sap.ui.define([
554
591
  ]
555
592
  });
556
593
 
557
- //Sync MDC Chart properties with inner chart
594
+ //Sync MDC chart properties with inner chart
558
595
  this._propagatePropertiesToInnerChart();
559
596
 
560
597
  this._fnResolveInnerChartBound();
@@ -562,6 +599,15 @@ sap.ui.define([
562
599
  }.bind(this));
563
600
  };
564
601
 
602
+ /**
603
+ * Defines the height of the chart.
604
+ * @param {sap.ui.core.CSSSize} iHeight New height for the chart.
605
+ * @returns {sap.ui.mdc.Chart} Reference to <code>this</code> for method chaining
606
+ *
607
+ * @experimental
608
+ * @private
609
+ * @ui5-restricted Fiori Elements
610
+ */
565
611
  Chart.prototype.setHeight = function(iHeight) {
566
612
  try {
567
613
  this.getControlDelegate().adjustChartHeight(this);
@@ -587,7 +633,7 @@ sap.ui.define([
587
633
  };
588
634
 
589
635
  /**
590
- * Loads the delegate for the MDC Chart
636
+ * Loads the delegate for the MDC chart
591
637
  * @returns {Promise} resolved when delegate is loaded
592
638
  */
593
639
  Chart.prototype._loadDelegate = function () {
@@ -604,7 +650,8 @@ sap.ui.define([
604
650
 
605
651
  };
606
652
  /**
607
- * Gets whether filtering is enabled for p13n
653
+ * Gets whether filtering is enabled in the personalization dialog.
654
+ * @returns {boolean} <code>true</code> if filtering enabled, <code>false</code> if otherwise
608
655
  *
609
656
  * @experimental
610
657
  * @private
@@ -615,8 +662,13 @@ sap.ui.define([
615
662
  };
616
663
 
617
664
  /**
618
- * Gets the adaption UI for the p13n dialog
619
- * @returns {Prmoise} promise that resolves with UI
665
+ * Gets the adaptation panel for the p13n dialog.
666
+ * <b>Note:</b> This is only used for personalization, do not use it otherwise.
667
+ * @returns {Promise} <code>Promise</code> that resolves with the adaptation panel control
668
+ *
669
+ * @experimental
670
+ * @private
671
+ * @ui5-restricted sap.ui.mdc
620
672
  */
621
673
  Chart.prototype.getAdaptationUI = function () {
622
674
  return this.getControlDelegate().getAdaptionUI(this);
@@ -739,30 +791,11 @@ sap.ui.define([
739
791
  }
740
792
  };
741
793
 
742
- //TODO: Think of a good name
743
- Chart.prototype._addItems = function () {
744
-
745
- };
746
-
747
- /**
748
- * Gets the collection model from the binding information
749
- * @returns {object} Object containing the binding information
750
- *
751
- * @experimental
752
- * @private
753
- * @ui5-restricted Fiori Elements
754
- */
755
- Chart.prototype.getCollectionModel = function () {
756
- var oBindingInfo = this.getBindingInfo("data");
757
- return oBindingInfo ? this.getModel(oBindingInfo.model) : null;
758
- };
759
-
760
-
761
794
  /**
762
- * Can be used to check whether the chart is initialized
763
- * After initialization the delegate should be loaded and (in case of autoBindOnInit=true) the inner chart has been created
764
- * This does not include the inner chart to be bound. Use <code>innerChartBound</code> for it.
765
- * @returns {Promise} Promise that resolves once MDC Chart is initialized. Contains reference to MDC Chart
795
+ * Checks whether the chart is initialized.
796
+ * After initialization the delegate is loaded and (in case of <code>autoBindOnInit=true</code>) the inner chart is created.
797
+ * The inner chart is not bound yet. Use <code>innerChartBound</code> for it.
798
+ * @returns {Promise} <code>Promise</code> that resolves once MDC chart is initialized. Contains reference to MDC chart
766
799
  *
767
800
  * @experimental
768
801
  * @private
@@ -773,8 +806,8 @@ sap.ui.define([
773
806
  };
774
807
 
775
808
  /**
776
- * Can be used to check whether the inner chart is initialized and bound
777
- * @returns {Promise} Promise that resolves once MDC Chart is bound
809
+ * Can be used to check whether the inner chart is initialized and bound.
810
+ * @returns {Promise} Promise that resolves once MDC chart is bound
778
811
  *
779
812
  * @experimental
780
813
  * @private
@@ -785,7 +818,7 @@ sap.ui.define([
785
818
  };
786
819
 
787
820
  /**
788
- * Zooms in the inner chart
821
+ * Zooms in the inner chart.
789
822
  * @param {int} iValue how much steps should be zoomed in
790
823
  *
791
824
  * @experimental
@@ -801,7 +834,7 @@ sap.ui.define([
801
834
  };
802
835
 
803
836
  /**
804
- * Zooms out the inner chart
837
+ * Zooms out the inner chart.
805
838
  * @param {int} iValue how much steps should be zoomed out
806
839
  *
807
840
  * @experimental
@@ -833,22 +866,49 @@ sap.ui.define([
833
866
  return this.getControlDelegate().getZoomState(this);
834
867
  };
835
868
 
869
+ /**
870
+ * Retrieves the selection handler of the inner chart.
871
+ * @returns {object} Selection handler of the inner chart
872
+ *
873
+ * @experimental
874
+ * @private
875
+ * @ui5-restricted sap.ui.mdc, sap.fe
876
+ */
836
877
  Chart.prototype.getSelectionHandler = function () {
837
878
  return this.getControlDelegate().getInnerChartSelectionHandler(this);
838
879
  };
839
880
 
881
+ /**
882
+ * Retrieves the chart type layout configuration.
883
+ * <b>Note:</b> This is only used inside personalization.
884
+ * @returns {object} Layout configuration
885
+ *
886
+ * @experimental
887
+ * @private
888
+ * @ui5-restricted sap.ui.mdc
889
+ */
840
890
  Chart.prototype.getChartTypeLayoutConfig = function() {
841
891
  return this.getControlDelegate().getChartTypeLayoutConfig();
842
892
  };
843
893
 
894
+ /**
895
+ * Retrieves the allowed chart roles for the chart types.
896
+ * <b>Note:</b> This is only used inside the personalization.
897
+ * @returns {object} Allowed roles
898
+ *
899
+ * @experimental
900
+ * @private
901
+ * @ui5-restricted sap.ui.mdc
902
+ */
844
903
  Chart.prototype.getAllowedRolesForKinds = function() {
845
904
  return this.getControlDelegate().getAllowedRolesForKinds();
846
905
  };
847
906
 
848
907
  /**
849
- * Sets the visibility of the legend
850
- * Calls the Delegates <code>setLegendVisible</code>. Never call the delegates function directly as it would not update the Chart Toolbar!
851
- * @param {boolean} bVisible true to show legend, false to hide
908
+ * Sets the visibility of the legend.
909
+ * Calls <code>setLegendVisible</code> on the delegate.
910
+ * @param {boolean} bVisible <code>true</code> to show legend, <code>false</code> to hide
911
+ * @returns {sap.ui.mdc.Chart} Reference to <code>this</code> for method chaining
852
912
  *
853
913
  * @experimental
854
914
  * @private
@@ -871,7 +931,7 @@ sap.ui.define([
871
931
  /**
872
932
  * Sets the ShowChartTooltip Property
873
933
  * @param {boolean} bValue true for visible; false for invisible
874
- * @returns {sap.ui.mdc.Chart} the MDC Chart
934
+ * @returns {sap.ui.mdc.Chart} the MDC chart
875
935
  */
876
936
  Chart.prototype.setShowChartTooltip = function (bValue) {
877
937
  this.setProperty("showChartTooltip", bValue);
@@ -931,7 +991,7 @@ sap.ui.define([
931
991
  };
932
992
 
933
993
  /**
934
- * If some properties are set on the MDC Chart while the inner chart is not yet initialized, they need to eb set after initialaization.
994
+ * If some properties are set on the MDC chart while the inner chart is not yet initialized, they need to eb set after initialaization.
935
995
  * This methods gets called after inner chart is ready and takes care of that
936
996
  *
937
997
  * @private
@@ -946,7 +1006,7 @@ sap.ui.define([
946
1006
  /**
947
1007
  * Gets information about the current chart type.
948
1008
  *
949
- * @returns {sap.ui.mdc.Chart.ChartTypeInfo} Object containing information about the chart type
1009
+ * @returns {object} object containing information about the chart type
950
1010
  *
951
1011
  * @experimental
952
1012
  * @private
@@ -986,7 +1046,7 @@ sap.ui.define([
986
1046
 
987
1047
 
988
1048
  /**
989
- * Sets the MDC Chart to a specific chart type
1049
+ * Sets the MDC chart to a specific chart type
990
1050
  * @param {string} sChartType the name of the new chart type
991
1051
  * @returns {sap.ui.mdc.chart} reference to <code>this</code> for method chaining
992
1052
  */
@@ -1008,7 +1068,7 @@ sap.ui.define([
1008
1068
  *
1009
1069
  * @experimental
1010
1070
  * @private
1011
- * @ui5-restricted Fiori Elements
1071
+ * @ui5-restricted sap.ui.mdc
1012
1072
  */
1013
1073
  Chart.prototype.getManagedObjectModel = function () {
1014
1074
  return this._oManagedObjectModel;
@@ -1137,7 +1197,7 @@ sap.ui.define([
1137
1197
 
1138
1198
  /**
1139
1199
  * Callback for when fuilters changed
1140
- * Activates the overlay on the MDC Chart
1200
+ * Activates the overlay on the MDC chart
1141
1201
  *
1142
1202
  * @param oEvent filter changed event
1143
1203
  *
@@ -1185,6 +1245,16 @@ sap.ui.define([
1185
1245
  }
1186
1246
  };
1187
1247
 
1248
+ /**
1249
+ * Adds an action to the <code>actions</code> aggregation of the chart.
1250
+ * If the given control is not of type {@link sap.ui.mdc.actiontoolbar.ActionToolbarAction}, a container is created for the control before passing it on to the {@link sap.ui.mdc.ActionToolbar}.
1251
+ * @param {sap.ui.core.Control} oControl to add to the aggregation
1252
+ * @return {sap.ui.mdc.Chart} Reference to <code>this</code> for method chaining.
1253
+ *
1254
+ * @experimental
1255
+ * @private
1256
+ * @ui5-restricted sap.ui.mdc, sap.fe
1257
+ */
1188
1258
  Chart.prototype.addAction = function(oControl) {
1189
1259
  if (oControl.getMetadata().getName() !== "sap.ui.mdc.actiontoolbar.ActionToolbarAction") {
1190
1260
  oControl = new ActionToolbarAction(oControl.getId() + "-action", {
@@ -1195,5 +1265,19 @@ sap.ui.define([
1195
1265
  return Control.prototype.addAggregation.apply(this, ["actions", oControl]);
1196
1266
  };
1197
1267
 
1268
+ /**
1269
+ * Specifies the header level for the title of the chart.
1270
+ * @param {sap.ui.core.TitleLevel} sHeaderLevel Header level
1271
+ * @returns {sap.ui.mdc.Chart} Reference to <code>this</code> in order to allow method chaining
1272
+ */
1273
+ Chart.prototype.setHeaderLevel = function(sHeaderLevel) {
1274
+ if (this.getAggregation("_toolbar")) {
1275
+ this.getAggregation("_toolbar")._setHeaderLevel(sHeaderLevel);
1276
+ }
1277
+
1278
+ this.setProperty("headerLevel", sHeaderLevel);
1279
+ return this;
1280
+ };
1281
+
1198
1282
  return Chart;
1199
1283
  });