@openui5/sap.ui.mdc 1.103.1 → 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 (225) 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 +1 -1
  8. package/src/sap/ui/mdc/Chart.js +31 -3
  9. package/src/sap/ui/mdc/Control.js +1 -1
  10. package/src/sap/ui/mdc/Element.js +1 -1
  11. package/src/sap/ui/mdc/Field.js +2 -2
  12. package/src/sap/ui/mdc/FilterBar.js +1 -1
  13. package/src/sap/ui/mdc/FilterField.js +2 -2
  14. package/src/sap/ui/mdc/Link.js +74 -12
  15. package/src/sap/ui/mdc/LinkDelegate.js +81 -76
  16. package/src/sap/ui/mdc/MultiValueField.js +1 -1
  17. package/src/sap/ui/mdc/Table.js +7 -1
  18. package/src/sap/ui/mdc/TableDelegate.js +25 -9
  19. package/src/sap/ui/mdc/ValueHelp.js +1 -1
  20. package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +1 -1
  21. package/src/sap/ui/mdc/actiontoolbar/ActionToolbarActionRenderer.js +1 -2
  22. package/src/sap/ui/mdc/chart/ChartSelectionDetails.js +1 -1
  23. package/src/sap/ui/mdc/chart/ChartToolbar.js +10 -4
  24. package/src/sap/ui/mdc/chart/PropertyHelper.js +1 -1
  25. package/src/sap/ui/mdc/condition/Condition.js +1 -1
  26. package/src/sap/ui/mdc/condition/ConditionConverter.js +1 -1
  27. package/src/sap/ui/mdc/condition/ConditionModel.js +1 -1
  28. package/src/sap/ui/mdc/condition/FilterConverter.js +1 -1
  29. package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +1 -1
  30. package/src/sap/ui/mdc/condition/Operator.js +1 -1
  31. package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +1 -1
  32. package/src/sap/ui/mdc/condition/RangeOperator.js +1 -1
  33. package/src/sap/ui/mdc/designtime/actiontoolbar/ActionToolbar.designtime.js +13 -2
  34. package/src/sap/ui/mdc/designtime/chart/Chart.designtime.js +3 -0
  35. package/src/sap/ui/mdc/designtime/table/Table.designtime.js +3 -1
  36. package/src/sap/ui/mdc/field/BoolFieldHelp.js +1 -1
  37. package/src/sap/ui/mdc/field/ConditionFieldHelp.js +1 -1
  38. package/src/sap/ui/mdc/field/ConditionType.js +1 -1
  39. package/src/sap/ui/mdc/field/ConditionsType.js +1 -1
  40. package/src/sap/ui/mdc/field/CustomFieldHelp.js +1 -1
  41. package/src/sap/ui/mdc/field/CustomFieldInfo.js +1 -1
  42. package/src/sap/ui/mdc/field/DefineConditionPanel.js +1 -1
  43. package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +1 -1
  44. package/src/sap/ui/mdc/field/FieldBase.js +4 -5
  45. package/src/sap/ui/mdc/field/FieldHelpBase.js +1 -1
  46. package/src/sap/ui/mdc/field/FieldInfoBase.js +23 -21
  47. package/src/sap/ui/mdc/field/FieldInput.js +1 -1
  48. package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +1 -1
  49. package/src/sap/ui/mdc/field/FieldMultiInput.js +1 -1
  50. package/src/sap/ui/mdc/field/FieldValueHelp.js +1 -1
  51. package/src/sap/ui/mdc/field/FieldValueHelpContentWrapperBase.js +1 -1
  52. package/src/sap/ui/mdc/field/FieldValueHelpMTableWrapper.js +1 -1
  53. package/src/sap/ui/mdc/field/FieldValueHelpMdcTableWrapper.js +1 -1
  54. package/src/sap/ui/mdc/field/FieldValueHelpTableWrapperBase.js +1 -1
  55. package/src/sap/ui/mdc/field/FieldValueHelpUITableWrapper.js +1 -1
  56. package/src/sap/ui/mdc/field/InParameter.js +1 -1
  57. package/src/sap/ui/mdc/field/ListFieldHelp.js +1 -1
  58. package/src/sap/ui/mdc/field/ListFieldHelpItem.js +1 -1
  59. package/src/sap/ui/mdc/field/MultiValueFieldItem.js +1 -1
  60. package/src/sap/ui/mdc/field/OutParameter.js +1 -1
  61. package/src/sap/ui/mdc/field/TokenDisplay.js +1 -1
  62. package/src/sap/ui/mdc/field/TokenizerDisplay.js +1 -1
  63. package/src/sap/ui/mdc/field/ValueHelpPanel.js +1 -1
  64. package/src/sap/ui/mdc/filterbar/FilterBarBase.js +1 -1
  65. package/src/sap/ui/mdc/filterbar/PropertyHelper.js +1 -1
  66. package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +1 -1
  67. package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +1 -1
  68. package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +1 -1
  69. package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +1 -1
  70. package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +1 -1
  71. package/src/sap/ui/mdc/flexibility/ItemBaseFlex.js +19 -17
  72. package/src/sap/ui/mdc/library.js +2 -2
  73. package/src/sap/ui/mdc/link/ContactDetails.js +1 -1
  74. package/src/sap/ui/mdc/link/ContactDetailsAddressItem.js +1 -1
  75. package/src/sap/ui/mdc/link/ContactDetailsEmailItem.js +1 -1
  76. package/src/sap/ui/mdc/link/ContactDetailsItem.js +1 -1
  77. package/src/sap/ui/mdc/link/ContactDetailsPhoneItem.js +1 -1
  78. package/src/sap/ui/mdc/link/Factory.js +1 -1
  79. package/src/sap/ui/mdc/link/FakeFlpConnector.js +1 -1
  80. package/src/sap/ui/mdc/link/LinkItem.js +1 -1
  81. package/src/sap/ui/mdc/link/Panel.js +3 -2
  82. package/src/sap/ui/mdc/link/PanelItem.js +1 -1
  83. package/src/sap/ui/mdc/link/SemanticObjectMapping.js +1 -1
  84. package/src/sap/ui/mdc/link/SemanticObjectMappingItem.js +1 -1
  85. package/src/sap/ui/mdc/link/SemanticObjectUnavailableAction.js +1 -1
  86. package/src/sap/ui/mdc/messagebundle.properties +7 -3
  87. package/src/sap/ui/mdc/messagebundle_ar.properties +4 -2
  88. package/src/sap/ui/mdc/messagebundle_bg.properties +4 -2
  89. package/src/sap/ui/mdc/messagebundle_ca.properties +4 -2
  90. package/src/sap/ui/mdc/messagebundle_cs.properties +7 -5
  91. package/src/sap/ui/mdc/messagebundle_cy.properties +4 -2
  92. package/src/sap/ui/mdc/messagebundle_da.properties +4 -2
  93. package/src/sap/ui/mdc/messagebundle_de.properties +4 -2
  94. package/src/sap/ui/mdc/messagebundle_el.properties +5 -3
  95. package/src/sap/ui/mdc/messagebundle_en.properties +4 -2
  96. package/src/sap/ui/mdc/messagebundle_en_GB.properties +4 -2
  97. package/src/sap/ui/mdc/messagebundle_en_US_sappsd.properties +4 -2
  98. package/src/sap/ui/mdc/messagebundle_en_US_saprigi.properties +4 -2
  99. package/src/sap/ui/mdc/messagebundle_en_US_saptrc.properties +4 -2
  100. package/src/sap/ui/mdc/messagebundle_es.properties +4 -2
  101. package/src/sap/ui/mdc/messagebundle_es_MX.properties +4 -2
  102. package/src/sap/ui/mdc/messagebundle_et.properties +4 -2
  103. package/src/sap/ui/mdc/messagebundle_fi.properties +4 -2
  104. package/src/sap/ui/mdc/messagebundle_fr.properties +7 -5
  105. package/src/sap/ui/mdc/messagebundle_fr_CA.properties +4 -2
  106. package/src/sap/ui/mdc/messagebundle_hi.properties +4 -2
  107. package/src/sap/ui/mdc/messagebundle_hr.properties +7 -5
  108. package/src/sap/ui/mdc/messagebundle_hu.properties +5 -3
  109. package/src/sap/ui/mdc/messagebundle_id.properties +4 -2
  110. package/src/sap/ui/mdc/messagebundle_it.properties +48 -46
  111. package/src/sap/ui/mdc/messagebundle_iw.properties +5 -3
  112. package/src/sap/ui/mdc/messagebundle_ja.properties +4 -2
  113. package/src/sap/ui/mdc/messagebundle_kk.properties +4 -2
  114. package/src/sap/ui/mdc/messagebundle_ko.properties +4 -2
  115. package/src/sap/ui/mdc/messagebundle_lt.properties +4 -2
  116. package/src/sap/ui/mdc/messagebundle_lv.properties +4 -2
  117. package/src/sap/ui/mdc/messagebundle_ms.properties +4 -2
  118. package/src/sap/ui/mdc/messagebundle_nl.properties +4 -2
  119. package/src/sap/ui/mdc/messagebundle_no.properties +4 -2
  120. package/src/sap/ui/mdc/messagebundle_pl.properties +4 -2
  121. package/src/sap/ui/mdc/messagebundle_pt.properties +4 -2
  122. package/src/sap/ui/mdc/messagebundle_pt_PT.properties +4 -2
  123. package/src/sap/ui/mdc/messagebundle_ro.properties +4 -2
  124. package/src/sap/ui/mdc/messagebundle_ru.properties +4 -2
  125. package/src/sap/ui/mdc/messagebundle_sh.properties +4 -2
  126. package/src/sap/ui/mdc/messagebundle_sk.properties +4 -2
  127. package/src/sap/ui/mdc/messagebundle_sl.properties +4 -2
  128. package/src/sap/ui/mdc/messagebundle_sv.properties +4 -2
  129. package/src/sap/ui/mdc/messagebundle_th.properties +9 -7
  130. package/src/sap/ui/mdc/messagebundle_tr.properties +4 -2
  131. package/src/sap/ui/mdc/messagebundle_uk.properties +4 -2
  132. package/src/sap/ui/mdc/messagebundle_vi.properties +4 -2
  133. package/src/sap/ui/mdc/messagebundle_zh_CN.properties +4 -2
  134. package/src/sap/ui/mdc/messagebundle_zh_TW.properties +4 -2
  135. package/src/sap/ui/mdc/mixin/AdaptationMixin.js +1 -1
  136. package/src/sap/ui/mdc/mixin/DelegateMixin.js +1 -1
  137. package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +1 -1
  138. package/src/sap/ui/mdc/mixin/PromiseMixin.js +1 -1
  139. package/src/sap/ui/mdc/mixin/PropertyHelperMixin.js +1 -1
  140. package/src/sap/ui/mdc/odata/v4/ChartPropertyHelper.js +1 -1
  141. package/src/sap/ui/mdc/odata/v4/TableDelegate.js +61 -37
  142. package/src/sap/ui/mdc/odata/v4/vizChart/ChartDelegate.js +1 -1
  143. package/src/sap/ui/mdc/p13n/Engine.js +1 -1
  144. package/src/sap/ui/mdc/p13n/PropertyHelper.js +1 -1
  145. package/src/sap/ui/mdc/p13n/StateUtil.js +1 -1
  146. package/src/sap/ui/mdc/p13n/UIManager.js +1 -1
  147. package/src/sap/ui/mdc/p13n/modules/DefaultProviderRegistry.js +1 -1
  148. package/src/sap/ui/mdc/p13n/panels/AdaptFiltersPanel.js +1 -7
  149. package/src/sap/ui/mdc/p13n/panels/ChartItemPanel.js +31 -6
  150. package/src/sap/ui/mdc/p13n/subcontroller/BaseController.js +1 -1
  151. package/src/sap/ui/mdc/p13n/subcontroller/LinkPanelController.js +2 -1
  152. package/src/sap/ui/mdc/table/CreationRow.js +1 -1
  153. package/src/sap/ui/mdc/table/PropertyHelper.js +30 -32
  154. package/src/sap/ui/mdc/table/ResponsiveTableType.js +2 -1
  155. package/src/sap/ui/mdc/table/RowActionItem.js +1 -1
  156. package/src/sap/ui/mdc/table/RowSettings.js +1 -1
  157. package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +2 -7
  158. package/src/sap/ui/mdc/table/menu/Item.js +3 -3
  159. package/src/sap/ui/mdc/table/menu/QuickActionContainer.js +34 -0
  160. package/src/sap/ui/mdc/themes/base/InfoPanel.less +0 -1
  161. package/src/sap/ui/mdc/util/PromiseCache.js +1 -1
  162. package/src/sap/ui/mdc/util/PropertyHelper.js +49 -51
  163. package/src/sap/ui/mdc/valuehelp/Dialog.js +3 -1
  164. package/src/sap/ui/mdc/valuehelp/Popover.js +34 -6
  165. package/src/sap/ui/mdc/valuehelp/base/Container.js +1 -1
  166. package/src/sap/ui/mdc/valuehelp/base/Content.js +1 -1
  167. package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +1 -1
  168. package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +1 -1
  169. package/src/sap/ui/mdc/valuehelp/base/ListContent.js +1 -1
  170. package/src/sap/ui/mdc/valuehelp/content/Bool.js +1 -1
  171. package/src/sap/ui/mdc/valuehelp/content/Conditions.js +1 -1
  172. package/src/sap/ui/mdc/valuehelp/content/FixedList.js +1 -1
  173. package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +25 -3
  174. package/src/sap/ui/mdc/valuehelp/content/MTable.js +2 -2
  175. package/test/sap/ui/mdc/testutils/opa/JSDocGeneration.md +18 -0
  176. package/test/sap/ui/mdc/testutils/opa/TestLibrary.js +4 -1
  177. package/test/sap/ui/mdc/testutils/opa/Util.js +42 -0
  178. package/test/sap/ui/mdc/testutils/opa/Utils.js +22 -0
  179. package/test/sap/ui/mdc/testutils/opa/chart/ActionsBase.js +1 -1
  180. package/test/sap/ui/mdc/testutils/opa/chart/JSDoc.md +413 -0
  181. package/test/sap/ui/mdc/testutils/opa/chart/TestObjects.js +320 -264
  182. package/test/sap/ui/mdc/testutils/opa/field/Actions.js +50 -0
  183. package/test/sap/ui/mdc/testutils/opa/field/Assertions.js +40 -0
  184. package/test/sap/ui/mdc/testutils/opa/field/JSDoc.md +37 -0
  185. package/test/sap/ui/mdc/testutils/opa/field/TestObjects.js +52 -0
  186. package/test/sap/ui/mdc/testutils/opa/field/waitForField.js +36 -0
  187. package/test/sap/ui/mdc/testutils/opa/field/waitForFieldValueHelpButton.js +42 -0
  188. package/test/sap/ui/mdc/testutils/opa/filterbar/Actions.js +31 -7
  189. package/test/sap/ui/mdc/testutils/opa/filterbar/Assertions.js +53 -7
  190. package/test/sap/ui/mdc/testutils/opa/filterbar/JSDoc.md +188 -0
  191. package/test/sap/ui/mdc/testutils/opa/filterbar/TestObjects.js +79 -13
  192. package/test/sap/ui/mdc/testutils/opa/filterbar/waitForAdaptFiltersButton.js +47 -0
  193. package/test/sap/ui/mdc/testutils/opa/filterbar/waitForFilterBar.js +28 -0
  194. package/test/sap/ui/mdc/testutils/opa/filterfield/Actions.js +70 -0
  195. package/test/sap/ui/mdc/testutils/opa/filterfield/Assertions.js +87 -0
  196. package/test/sap/ui/mdc/testutils/opa/filterfield/JSDoc.md +63 -0
  197. package/test/sap/ui/mdc/testutils/opa/filterfield/TestObjects.js +71 -0
  198. package/test/sap/ui/mdc/testutils/opa/filterfield/waitForFilterField.js +36 -0
  199. package/test/sap/ui/mdc/testutils/opa/filterfield/waitForFilterFieldValueHelpButton.js +42 -0
  200. package/test/sap/ui/mdc/testutils/opa/link/JSDoc.md +136 -0
  201. package/test/sap/ui/mdc/testutils/opa/link/TestObjects.js +108 -91
  202. package/test/sap/ui/mdc/testutils/opa/table/Actions.js +190 -6
  203. package/test/sap/ui/mdc/testutils/opa/table/Assertions.js +210 -0
  204. package/test/sap/ui/mdc/testutils/opa/table/JSDoc.md +205 -0
  205. package/test/sap/ui/mdc/testutils/opa/table/TestObjects.js +138 -9
  206. package/test/sap/ui/mdc/testutils/opa/table/Util.js +20 -0
  207. package/test/sap/ui/mdc/testutils/opa/table/waitForColumnHeader.js +44 -0
  208. package/test/sap/ui/mdc/testutils/opa/table/waitForListItemInDialogWithLabel.js +55 -0
  209. package/test/sap/ui/mdc/testutils/opa/table/waitForP13nButtonWithParentAndIcon.js +42 -0
  210. package/test/sap/ui/mdc/testutils/opa/table/waitForTable.js +26 -0
  211. package/test/sap/ui/mdc/testutils/opa/valueHelp/JSDoc.md +35 -0
  212. package/test/sap/ui/mdc/testutils/opa/valueHelp/TestObjects.js +7 -0
  213. package/test/sap/ui/mdc/testutils/opa/variant/Actions.js +124 -0
  214. package/test/sap/ui/mdc/testutils/opa/variant/Assertions.js +48 -0
  215. package/test/sap/ui/mdc/testutils/opa/variant/JSDoc.md +84 -0
  216. package/test/sap/ui/mdc/testutils/opa/variant/TestObjects.js +95 -0
  217. package/test/sap/ui/mdc/testutils/opa/variant/waitForVariantManager.js +43 -0
  218. package/test/sap/ui/mdc/testutils/opa/variant/waitForVariantManagerButton.js +45 -0
  219. package/test/sap/ui/mdc/testutils/opa/variant/waitForVariantManagerItem.js +54 -0
  220. package/test/sap/ui/mdc/testutils/opa/variant/waitForVariantManagerOverlay.js +44 -0
  221. package/ui5.yaml +4 -1
  222. package/src/sap/ui/mdc/odata/json/FilterBarDelegate.js +0 -155
  223. package/src/sap/ui/mdc/odata/v4/FilterBarDelegate.js +0 -750
  224. package/test/sap/ui/mdc/testutils/opa/chart/ChartNew.js +0 -24
  225. package/test/sap/ui/mdc/testutils/opa/chartNew/TestObjects.js +0 -288
@@ -14,277 +14,333 @@ sap.ui.define([
14
14
  ) {
15
15
  "use strict";
16
16
 
17
+ /**
18
+ * @namespace onTheMDCChart
19
+ */
17
20
  Opa5.createPageObjects({
18
21
  onTheMDCChart: {
19
22
  actions: {
20
- /**
21
- * @typedef {object} ChartPersonalizationConfiguration
22
- * @property {string} key Key of the value that is the result of the personalization
23
- * @property {string} role Role of the given value
24
- */
25
- /**
26
- * OPA5 test action
27
- * This only works with the new chart personalization
28
- * @param {sap.ui.core.Control | string} oChart Instance / ID of the <code>MDCChart</code> that is personalized
29
- * @param {ChartPersonalizationConfiguration[]} aConfigurations Array containing the chart personalization configuration objects
30
- * @returns {Promise} OPA waitFor
31
- * 1. Opens the personalization dialog of a given chart.
32
- * 2. Selects a chart type given by <code>sChartType</code>.
33
- * 3. Executes the given ChartPersonalizationConfigurations.
34
- * 4. Closes the personalization dialog.
35
- */
36
- iPersonalizeChart: function(oChart, aConfigurations){
37
- return p13nActions.iPersonalizeChart.call(this, oChart, null, aConfigurations, true, chartActions.iOpenThePersonalizationDialog);
38
- },
39
- /**
40
- * @typedef {object} SortPersonalizationConfiguration
41
- * @property {string} key Key of the item that is the result of the personalization
42
- * @property {boolean} descending Determines whether the sort direction is descending
43
- */
44
- /**
45
- * OPA5 test action
46
- * @param {sap.ui.core.Control | string} oChart Instance / ID of the <code>MDCChart</code> that is sorted
47
- * @param {SortPersonalizationConfiguration[]} aConfigurations Array containing the sort personalization configuration objects
48
- * @returns {Promise} OPA waitFor
49
- * 1. Opens the personalization dialog of a given chart.
50
- * 2. Executes the given SortPersonalizationConfiguration.
51
- * 3. Closes the personalization dialog.
52
- */
53
- iPersonalizeSort: function(oChart, aConfigurations) {
54
- return p13nActions.iPersonalizeSort.call(this, oChart, aConfigurations, chartActions.iOpenThePersonalizationDialog);
55
- },
56
- /**
57
- * Opa5 test action
58
- * @param {sap.ui.core.Control | string} oChart Instance / ID of the <code>MDCChart</code> that is reset
59
- * @returns {Promise} OPA waitFor
60
- * 1. Opens the personalization dialog of a given chart.
61
- * 2. Clicks on the reset personalization button.
62
- * 3. Confirms the reset dialog.
63
- * 4. Closes the personalization dialog.
64
- */
65
- iResetThePersonalization: function(oChart) {
66
- return p13nActions.iResetThePersonalization.call(this, oChart, chartActions.iOpenThePersonalizationDialog);
67
- },
23
+ /**
24
+ * @typedef {object} ChartPersonalizationConfiguration
25
+ * @property {string} key Key of the value that is the result of the personalization
26
+ * @property {string} role Role of the given value
27
+ */
28
+ /**
29
+ * OPA5 test action
30
+ * @memberof onTheMDCChart
31
+ * @method iPersonalizeChart
32
+ * @param {sap.ui.core.Control | string} oChart Instance / ID of the <code>MDCChart</code> that is personalized
33
+ * @param {ChartPersonalizationConfiguration[]} aConfigurations Array containing the chart personalization configuration objects
34
+ * @returns {Promise} OPA waitFor
35
+ * 1. Opens the personalization dialog of a given <code>sap.ui.mdc.Chart</code>.
36
+ * 2. Selects a chart type given by <code>sChartType</code>.
37
+ * 3. Executes the given <code>ChartPersonalizationConfigurations</code>.
38
+ * 4. Closes the personalization dialog.
39
+ */
40
+ iPersonalizeChart: function(oChart, aConfigurations){
41
+ return p13nActions.iPersonalizeChart.call(this, oChart, null, aConfigurations, true, chartActions.iOpenThePersonalizationDialog);
42
+ },
43
+ /**
44
+ * @typedef {object} SortPersonalizationConfiguration
45
+ * @property {string} key Key of the item that is the result of the personalization
46
+ * @property {boolean} descending Determines whether the sort direction is descending
47
+ */
48
+ /**
49
+ * OPA5 test action
50
+ * @memberof onTheMDCChart
51
+ * @method iPersonalizeSort
52
+ * @param {sap.ui.core.Control | string} oChart Instance / ID of the <code>MDCChart</code> that is sorted
53
+ * @param {SortPersonalizationConfiguration[]} aConfigurations Array containing the sort personalization configuration objects
54
+ * @returns {Promise} OPA waitFor
55
+ * 1. Opens the personalization dialog of a given chart.
56
+ * 2. Executes the given <code>SortPersonalizationConfiguration</code>.
57
+ * 3. Closes the personalization dialog.
58
+ */
59
+ iPersonalizeSort: function(oChart, aConfigurations) {
60
+ return p13nActions.iPersonalizeSort.call(this, oChart, aConfigurations, chartActions.iOpenThePersonalizationDialog);
61
+ },
62
+ /**
63
+ * Opa5 test action
64
+ * @memberof onTheMDCChart
65
+ * @method iResetThePersonalization
66
+ * @param {sap.ui.core.Control | string} oChart Instance / ID of the <code>MDCChart</code> that is reset
67
+ * @returns {Promise} OPA waitFor
68
+ * 1. Opens the personalization dialog of a given chart.
69
+ * 2. Presses the Reset personalization button.
70
+ * 3. Confirms the Reset dialog.
71
+ * 4. Closes the personalization dialog.
72
+ */
73
+ iResetThePersonalization: function(oChart) {
74
+ return p13nActions.iResetThePersonalization.call(this, oChart, chartActions.iOpenThePersonalizationDialog);
75
+ },
68
76
 
69
- /**
70
- * OPA5 test action
71
- * Clicks on the "Zoom In" button in the toolbar of a mdc chart.
72
- * @param {string} sId The id of the mdc chart
73
- * @returns {Promise} OPA waitFor
74
- */
75
- iClickOnZoomIn : function(sId){
76
- return chartActions.iClickOnZoomIn.call(this, sId);
77
- },
77
+ /**
78
+ * OPA5 test action
79
+ * Presses the "Zoom In" button in the toolbar of a <code>sap.ui.mdc.Chart</code>.
80
+ * @memberof onTheMDCChart
81
+ * @method iClickOnZoomIn
82
+ * @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code>
83
+ * @returns {Promise} OPA waitFor
84
+ */
85
+ iClickOnZoomIn : function(sId){
86
+ return chartActions.iClickOnZoomIn.call(this, sId);
87
+ },
78
88
 
79
- /**
80
- * OPA5 test action
81
- * Clicks on the "Zoom Out" button in the toolbar of a mdc chart.
82
- * @param {string} sId The id of the mdc chart
83
- * @returns {Promise} OPA waitFor
84
- */
85
- iClickOnZoomOut : function(sId){
86
- return chartActions.iClickOnZoomOut.call(this, sId);
87
- },
88
- /**
89
- * OPA5 test action
90
- * Clicks on the "Legend" toggle button in the toolbar of a mdc chart.
91
- * @param {string} sId The id of the mdc chart
92
- * @returns {Promise} OPA waitFor
93
- */
94
- iClickOnTheLegendToggleButton : function(sId){
95
- return chartActions.iClickOnTheLegendToggleButton.call(this, sId);
96
- },
97
- /**
98
- * OPA5 test action
99
- * Clicks on the "Show Details" button in the toolbar of a mdc chart.
100
- * @param {*} sId The id of the mdc chart
101
- * @returns {Promise} OPA waitFor
102
- */
103
- iClickOnTheSelectionDetailsButton: function(sId){
104
- return chartActions.iClickOnTheSelectionDetailsButton.call(this, sId);
105
- },
106
- /**
107
- * OPA5 test action
108
- * Clicks on the "Drilldown" button in the toolbar of a mdc chart.
109
- * @param {string} sId The id of the mdc chart.
110
- * @returns {Promise} OPA waitFor
111
- */
112
- iClickOnTheDrillDownButton: function(sId){
113
- return chartActions.iClickOnTheDrillDownButton.call(this, sId);
114
- },
115
- /**
116
- * OPA5 test action
117
- * Clicks on the "Chart Type" button in the toolbar of a mdc chart.
118
- * @param {string} sId The id of the mdc chart.
119
- * @returns {Promise} OPA waitFor
120
- */
121
- iClickOnTheChartTypeButton: function(sId){
122
- return chartActions.iClickOnTheChartTypeButton.apply(this, arguments);
123
- },
124
- /**
125
- * OPA5 test action
126
- * Clicks on the "Personalisation" button in the toolbar of a mdc chart.
127
- * @param {string} sId The id of the mdc chart.
128
- * @returns {Promise} OPA waitFor
129
- */
130
- iClickOnThePersonalisationButton: function(sId){
131
- return chartActions.iClickOnThePersonalisationButton.call(this, sId);
132
- },
133
- /**
134
- * OPA5 test action
135
- * Selects a specific chart type for a mdc chart in an open chart type popover
136
- * @param {string} sChartTypeName The name of the chart type
137
- * @returns {Promise} OPA waitFor
138
- */
139
- iSelectChartTypeInPopover: function(sChartTypeName){
140
- return chartActions.iSelectChartTypeInPopover.call(this, sChartTypeName);
141
- },
142
- /**
143
- * OPA5 test action
144
- * Clicks on an drill-down breadcrumb with given name for given mdc chart
145
- * @param {string} sName The name of the breadcrumbs
146
- * @param {string} sId Id of the mdc chart.
147
- * @returns {Promise} OPA waitFor
148
- */
149
- iClickOnTheBreadcrumbWithName: function(sName, sId){
150
- return chartActions.iClickOnTheBreadcrumbWithName.call(this, sName, sId);
151
- },
152
- /**
153
- * OPA5 test action
154
- * Selects a specific dimension to drill-down for a mdc chart in an open chart drill-down popover
155
- * @param {string} sDrillName Name of the Dimension which should be drilled-down
156
- * @returns {Promise} OPA waitFor
157
- */
158
- iSelectANewDrillDimensionInPopover: function(sDrillName){
159
- return chartActions.iSelectANewDrillDimensionInPopover.call(this, sDrillName);
160
- },
161
- /**
162
- * OPA5 test action
163
- * Selects given datapoints on given chart.
164
- * @param {array} aDataPoints Datapoint objects to select
165
- * @param {string} sId Id of the mdc chart
166
- * @returns {Promise} OPA waitFor
167
- */
168
- iSelectTheDatapoint: function (aDataPoints, sId){
169
- return chartActions.iSelectTheDatapoint.call(this, aDataPoints, sId);
170
- },
171
- /**
172
- * OPA5 test action
173
- * Selectes given categories (dimensions) for the given mdc chart
174
- * @param {object} oCategories Categories to select
175
- * @param {string} sId Id of the mdc chart
176
- * @returns {Promise} OPA waitFor
177
- */
178
- iSelectTheCategories: function (oCategories, sId){
179
- return chartActions.iSelectTheDatapoint.call(this, oCategories, sId);
180
- },
181
- /**
182
- * OPA5 test action
183
- * Performs a drill-down on the MDC Chart
184
- * @param {string} sId The id of the MDC Chart.
185
- * @param {string} sDrillName Name of the Dimension which should be drilled-down.
186
- * @returns {Promise} OPA waitFor
187
- */
188
- iDrillDownInDimension: function(sId, sDrillName) {
189
- return chartActions.iDrillDownInDimension.call(this, sId, sDrillName);
190
- },
191
- /**
192
- * OPA5 test action
193
- * Performs a drill-down on the MDC Chart
194
- * @param {string} sId The id of the MDC Chart
195
- * @param {string} sChartTypeName Name of the Dimension which should be drilled-down.
196
- * @returns {Promise} OPA waitFor
197
- */
198
- iSelectAChartType: function(sId, sChartTypeName) {
199
- return chartActions.iSelectAChartType.call(this, sId, sChartTypeName);
200
- }
89
+ /**
90
+ * OPA5 test action
91
+ * Presses the "Zoom Out" button in the toolbar of a <code>sap.ui.mdc.Chart</code>.
92
+ * @memberof onTheMDCChart
93
+ * @method iClickOnZoomOut
94
+ * @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code>
95
+ * @returns {Promise} OPA waitFor
96
+ */
97
+ iClickOnZoomOut : function(sId){
98
+ return chartActions.iClickOnZoomOut.call(this, sId);
99
+ },
100
+ /**
101
+ * OPA5 test action
102
+ * Presses the "Show Legend" toggle button in the toolbar of a <code>sap.ui.mdc.Chart</code>.
103
+ * @memberof onTheMDCChart
104
+ * @method iClickOnTheLegendToggleButton
105
+ * @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code>
106
+ * @returns {Promise} OPA waitFor
107
+ */
108
+ iClickOnTheLegendToggleButton : function(sId){
109
+ return chartActions.iClickOnTheLegendToggleButton.call(this, sId);
110
+ },
111
+ /**
112
+ * OPA5 test action
113
+ * Presses the "Show Details" button in the toolbar of a <code>sap.ui.mdc.Chart</code>.
114
+ * @memberof onTheMDCChart
115
+ * @method iClickOnTheSelectionDetailsButton
116
+ * @param {*} sId The ID of the <code>sap.ui.mdc.Chart</code>
117
+ * @returns {Promise} OPA waitFor
118
+ */
119
+ iClickOnTheSelectionDetailsButton: function(sId){
120
+ return chartActions.iClickOnTheSelectionDetailsButton.call(this, sId);
121
+ },
122
+ /**
123
+ * OPA5 test action
124
+ * Presses the "Drilldown" button in the toolbar of a <code>sap.ui.mdc.Chart</code>.
125
+ * @memberof onTheMDCChart
126
+ * @method iClickOnTheDrillDownButton
127
+ * @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code>
128
+ * @returns {Promise} OPA waitFor
129
+ */
130
+ iClickOnTheDrillDownButton: function(sId){
131
+ return chartActions.iClickOnTheDrillDownButton.call(this, sId);
132
+ },
133
+ /**
134
+ * OPA5 test action
135
+ * Presses the "Chart Type" button in the toolbar of a <code>sap.ui.mdc.Chart</code>.
136
+ * @memberof onTheMDCChart
137
+ * @method iClickOnTheChartTypeButton
138
+ * @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code>
139
+ * @returns {Promise} OPA waitFor
140
+ */
141
+ iClickOnTheChartTypeButton: function(sId){
142
+ return chartActions.iClickOnTheChartTypeButton.apply(this, arguments);
143
+ },
144
+ /**
145
+ * OPA5 test action
146
+ * Presses the "Personalization" button in the toolbar of a <code>sap.ui.mdc.Chart</code>.
147
+ * @memberof onTheMDCChart
148
+ * @method iClickOnThePersonalisationButton
149
+ * @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code>
150
+ * @returns {Promise} OPA waitFor
151
+ */
152
+ iClickOnThePersonalisationButton: function(sId){
153
+ return chartActions.iClickOnThePersonalisationButton.call(this, sId);
154
+ },
155
+ /**
156
+ * OPA5 test action
157
+ * Selects a specific chart type for a <code>sap.ui.mdc.Chart</code> in an open chart type popover.
158
+ * @memberof onTheMDCChart
159
+ * @method iSelectChartTypeInPopover
160
+ * @param {string} sChartTypeName The name of the chart type
161
+ * @returns {Promise} OPA waitFor
162
+ */
163
+ iSelectChartTypeInPopover: function(sChartTypeName){
164
+ return chartActions.iSelectChartTypeInPopover.call(this, sChartTypeName);
165
+ },
166
+ /**
167
+ * OPA5 test action
168
+ * Presses an drill-down breadcrumb with a given name for a given <code>sap.ui.mdc.Chart</code>.
169
+ * @memberof onTheMDCChart
170
+ * @method iClickOnTheBreadcrumbWithName
171
+ * @param {string} sName The name of the breadcrumbs
172
+ * @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code>
173
+ * @returns {Promise} OPA waitFor
174
+ */
175
+ iClickOnTheBreadcrumbWithName: function(sName, sId){
176
+ return chartActions.iClickOnTheBreadcrumbWithName.call(this, sName, sId);
177
+ },
178
+ /**
179
+ * OPA5 test action
180
+ * Selects a specific dimension to drill-down for a <code>sap.ui.mdc.Chart</code> in an open chart drill-down popover.
181
+ * @memberof onTheMDCChart
182
+ * @method iSelectANewDrillDimensionInPopover
183
+ * @param {string} sDrillName Name of the dimension to which a drill-down takes place
184
+ * @returns {Promise} OPA waitFor
185
+ */
186
+ iSelectANewDrillDimensionInPopover: function(sDrillName){
187
+ return chartActions.iSelectANewDrillDimensionInPopover.call(this, sDrillName);
188
+ },
189
+ /**
190
+ * OPA5 test action
191
+ * Selects given data points on a given <code>sap.ui.mdc.Chart</code>.
192
+ * @memberof onTheMDCChart
193
+ * @method iSelectTheDatapoint
194
+ * @param {array} aDataPoints Data point objects to select
195
+ * @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code>
196
+ * @returns {Promise} OPA waitFor
197
+ */
198
+ iSelectTheDatapoint: function (aDataPoints, sId){
199
+ return chartActions.iSelectTheDatapoint.call(this, aDataPoints, sId);
200
+ },
201
+ /**
202
+ * OPA5 test action
203
+ * Selects given categories (dimensions) for the given <code>sap.ui.mdc.Chart</code>.
204
+ * @memberof onTheMDCChart
205
+ * @method iSelectTheCategories
206
+ * @param {object} oCategories Categories to select
207
+ * @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code>
208
+ * @returns {Promise} OPA waitFor
209
+ */
210
+ iSelectTheCategories: function (oCategories, sId){
211
+ return chartActions.iSelectTheDatapoint.call(this, oCategories, sId);
212
+ },
213
+ /**
214
+ * OPA5 test action
215
+ * Performs a drill-down on the <code>sap.ui.mdc.Chart</code>
216
+ * @memberof onTheMDCChart
217
+ * @method iDrillDownInDimension
218
+ * @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code>
219
+ * @param {string} sDrillName Name of the dimension to which a drill-down takes place
220
+ * @returns {Promise} OPA waitFor
221
+ */
222
+ iDrillDownInDimension: function(sId, sDrillName) {
223
+ return chartActions.iDrillDownInDimension.call(this, sId, sDrillName);
224
+ },
225
+ /**
226
+ * OPA5 test action
227
+ * Performs a drill-down on the <code>sap.ui.mdc.Chart</code>
228
+ * @memberof onTheMDCChart
229
+ * @method iSelectAChartType
230
+ * @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code>
231
+ * @param {string} sChartTypeName Name of the chart type which is to be selected
232
+ * @returns {Promise} OPA waitFor
233
+ */
234
+ iSelectAChartType: function(sId, sChartTypeName) {
235
+ return chartActions.iSelectAChartType.call(this, sId, sChartTypeName);
236
+ }
201
237
 
202
- },
203
- assertions: {
204
- /**
205
- * OPA5 assertion
206
- * Assertion to check that there is a mdc chart visible on the screen.
207
- * @returns {Promise} OPA waitFor
208
- */
209
- iShouldSeeAChart: function() {
210
- return chartAssertions.iShouldSeeAChart.call(this);
211
- },
212
- /**
213
- * Assertion to check that there is a legend visible on the screen for given mdc chart.
214
- * @param {string} sId Id of the chart to be checked for a visible legend
215
- * @returns {Promise} OPA waitFor
216
- */
217
- iShouldSeeALegend: function(sId) {
218
- return chartAssertions.iShouldSeeALegend.call(this, sId);
219
- },
220
- /**
221
- * Assertion to check that there is no legend visible on the screen for given mdc chart.
222
- * @param {string} sId Id of the chart to be checked for a visible legend
223
- * @returns {Promise} OPA waitFor
224
- */
225
- iShouldSeeNoLegend: function(sId) {
226
- return chartAssertions.iShouldSeeNoLegend.call(this, sId);
227
- },
238
+ },
239
+ assertions: {
240
+ /**
241
+ * OPA5 assertion
242
+ * Assertion to check that there is a <code>sap.ui.mdc.Chart</code> visible on the screen.
243
+ * @memberof onTheMDCChart
244
+ * @method iShouldSeeAChart
245
+ * @returns {Promise} OPA waitFor
246
+ */
247
+ iShouldSeeAChart: function() {
248
+ return chartAssertions.iShouldSeeAChart.call(this);
249
+ },
250
+ /**
251
+ * Assertion to check that there is a legend visible on the screen for a given <code>sap.ui.mdc.Chart</code>.
252
+ * @memberof onTheMDCChart
253
+ * @method iShouldSeeALegend
254
+ * @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code> to be checked for a visible legend
255
+ * @returns {Promise} OPA waitFor
256
+ */
257
+ iShouldSeeALegend: function(sId) {
258
+ return chartAssertions.iShouldSeeALegend.call(this, sId);
259
+ },
260
+ /**
261
+ * Assertion to check that there is no legend visible on the screen for a given <code>sap.ui.mdc.Chart</code>.
262
+ * @memberof onTheMDCChart
263
+ * @method iShouldSeeNoLegend
264
+ * @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code> to be checked for a visible legend
265
+ * @returns {Promise} OPA waitFor
266
+ */
267
+ iShouldSeeNoLegend: function(sId) {
268
+ return chartAssertions.iShouldSeeNoLegend.call(this, sId);
269
+ },
228
270
 
229
- /**
230
- * Assertion to check that there is a chart type popover visible on the screen.
231
- * @returns {Promise} OPA waitFor
232
- */
233
- iShouldSeeAChartTypePopover: function() {
234
- return chartAssertions.iShouldSeeAChartTypePopover.call(this);
235
- },
236
- /**
237
- * Assertion to check that there is chart visible with given chart type.
238
- * @param {string} sChartId Id of the chart to be checked for a chart type
239
- * @param {string} sChartType Chart type which should be selected for the given chart
240
- * @returns {Promise} OPA waitFor
241
- */
242
- iShouldSeeTheChartWithChartType: function(sChartId, sChartType){
243
- return chartAssertions.iShouldSeeTheChartWithChartType.call(this, sChartId, sChartType);
244
- },
245
- /**
246
- * Assertion to check that there is a chart with given drillstack visible.
247
- * @param {array} aCheckDrillStack Drillstack to check for
248
- * @param {string} sChartId Id of the mdc chart
249
- * @returns {Promise} OPA waitFor
250
- */
251
- iShouldSeeTheDrillStack: function(aCheckDrillStack, sChartId) {
252
- return chartAssertions.iShouldSeeTheDrillStack.call(this, aCheckDrillStack, sChartId);
253
- },
254
- /**
255
- * Assertion to check that there is a drilldown popover visible.
256
- * @returns {Promise} OPA waitFor
257
- */
258
- iShouldSeeADrillDownPopover: function() {
259
- return chartAssertions.iShouldSeeADrillDownPopover.call(this);
260
- },
261
- /**
262
- * Assertion to check that there is a drilldown popover visible.
263
- * @returns {Promise} OPA waitFor
264
- */
265
- iShouldSeeADetailsPopover: function() {
266
- return chartAssertions.iShouldSeeADetailsPopover.call(this);
267
- },
268
- /**
269
- * Assertion to check visible dimensions on the MDC Chart
270
- * @param {array} aDimensions
271
- * @param {string} sId Id of the MDC Chart
272
- * @returns {Promise} OPA waitFor
273
- */
274
- iShouldSeeVisibleDimensionsInOrder: function(aDimensions, sId) {
275
- return chartAssertions.iShouldSeeVisibleDimensionsInOrder.call(this, aDimensions, sId);
276
- },
277
- /**
278
- * Assertion to check visible measures on the MDC Chart
279
- * @param {array} aMeasures
280
- * @param {string} sId Id of the MDC Chart
281
- * @returns {Promise} OPA waitFor
282
- */
283
- iShouldSeeVisibleMeasuresInOrder: function(aMeasures, sId) {
284
- return chartAssertions.iShouldSeeVisibleMeasuresInOrder.call(this, aMeasures, sId);
285
- }
271
+ /**
272
+ * Assertion to check that there is a chart type popover visible on the screen.
273
+ * @memberof onTheMDCChart
274
+ * @method iShouldSeeAChartTypePopover
275
+ * @returns {Promise} OPA waitFor
276
+ */
277
+ iShouldSeeAChartTypePopover: function() {
278
+ return chartAssertions.iShouldSeeAChartTypePopover.call(this);
279
+ },
280
+ /**
281
+ * Assertion to check that there is a <code>sap.ui.mdc.Chart</code> visible with a given chart type.
282
+ * @memberof onTheMDCChart
283
+ * @method iShouldSeeTheChartWithChartType
284
+ * @param {string} sChartId The ID of the <code>sap.ui.mdc.Chart</code> to be checked for a chart type
285
+ * @param {string} sChartType Chart type which is selected for the given chart
286
+ * @returns {Promise} OPA waitFor
287
+ */
288
+ iShouldSeeTheChartWithChartType: function(sChartId, sChartType){
289
+ return chartAssertions.iShouldSeeTheChartWithChartType.call(this, sChartId, sChartType);
290
+ },
291
+ /**
292
+ * Assertion to check that there is a chart with a given drillstack visible.
293
+ * @memberof onTheMDCChart
294
+ * @method iShouldSeeTheDrillStack
295
+ * @param {array} aCheckDrillStack Drillstack to check for
296
+ * @param {string} sChartId The ID of the <code>sap.ui.mdc.Chart</code>
297
+ * @returns {Promise} OPA waitFor
298
+ */
299
+ iShouldSeeTheDrillStack: function(aCheckDrillStack, sChartId) {
300
+ return chartAssertions.iShouldSeeTheDrillStack.call(this, aCheckDrillStack, sChartId);
301
+ },
302
+ /**
303
+ * Assertion to check that there is a drilldown popover visible.
304
+ * @memberof onTheMDCChart
305
+ * @method iShouldSeeADrillDownPopover
306
+ * @returns {Promise} OPA waitFor
307
+ */
308
+ iShouldSeeADrillDownPopover: function() {
309
+ return chartAssertions.iShouldSeeADrillDownPopover.call(this);
310
+ },
311
+ /**
312
+ * Assertion to check that there is a details popover visible.
313
+ * @memberof onTheMDCChart
314
+ * @method iShouldSeeADetailsPopover
315
+ * @returns {Promise} OPA waitFor
316
+ */
317
+ iShouldSeeADetailsPopover: function() {
318
+ return chartAssertions.iShouldSeeADetailsPopover.call(this);
319
+ },
320
+ /**
321
+ * Assertion to check visible dimensions on the <code>sap.ui.mdc.Chart</code>.
322
+ * @memberof onTheMDCChart
323
+ * @method iShouldSeeVisibleDimensionsInOrder
324
+ * @param {string[]} aDimensions Array containing the expected dimensions
325
+ * @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code>
326
+ * @returns {Promise} OPA waitFor
327
+ */
328
+ iShouldSeeVisibleDimensionsInOrder: function(aDimensions, sId) {
329
+ return chartAssertions.iShouldSeeVisibleDimensionsInOrder.call(this, aDimensions, sId);
330
+ },
331
+ /**
332
+ * Assertion to check visible measures on the <code>sap.ui.mdc.Chart</code>.
333
+ * @memberof onTheMDCChart
334
+ * @method iShouldSeeVisibleMeasuresInOrder
335
+ * @param {string[]} aMeasures Array containing the expected measures
336
+ * @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code>
337
+ * @returns {Promise} OPA waitFor
338
+ */
339
+ iShouldSeeVisibleMeasuresInOrder: function(aMeasures, sId) {
340
+ return chartAssertions.iShouldSeeVisibleMeasuresInOrder.call(this, aMeasures, sId);
341
+ }
286
342
  }
287
- }
288
- });
343
+ }
344
+ });
289
345
 
290
346
  });