@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
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @param {object} [mSettings] Initial settings for the new element
33
33
  * @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element.
34
34
  * @extends sap.ui.core.Element
35
- * @version 1.102.2
35
+ * @version 1.104.0
36
36
  * @constructor
37
37
  * @abstract
38
38
  * @private
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  metadata: {
48
48
  library: "sap.ui.mdc",
49
49
  properties: {
50
- /**
50
+ /**
51
51
  * Title text that appears tab header.
52
52
  */
53
53
  title: {
@@ -55,7 +55,7 @@ sap.ui.define([
55
55
  group: "Appearance",
56
56
  defaultValue: ""
57
57
  },
58
- /**
58
+ /**
59
59
  * Title text that appears in the dialog header.
60
60
  */
61
61
  shortTitle: {
@@ -63,6 +63,14 @@ sap.ui.define([
63
63
  group: "Appearance",
64
64
  defaultValue: ""
65
65
  },
66
+ /**
67
+ * Title text that appears in the dialog tokenizer panel, when ony one content exist.
68
+ */
69
+ tokenizerTitle: {
70
+ type: "string",
71
+ group: "Appearance",
72
+ defaultValue: ""
73
+ },
66
74
  /**
67
75
  * Conditions of the value help
68
76
  *
@@ -243,7 +251,6 @@ sap.ui.define([
243
251
  * @returns {object|undefined} if available, a container configuration object is returned.
244
252
  * @private
245
253
  * @ui5-restricted sap.ui.mdc.valuehelp.base.Container
246
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
247
254
  */
248
255
  Content.prototype.getContainerConfig = function () {
249
256
 
@@ -308,7 +315,6 @@ sap.ui.define([
308
315
  *
309
316
  * @private
310
317
  * @ui5-restricted sap.ui.mdc.valuehelp.base.Container
311
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
312
318
  */
313
319
  Content.prototype.getItemForValue = function (oConfig) {
314
320
 
@@ -321,7 +327,6 @@ sap.ui.define([
321
327
  *
322
328
  * @private
323
329
  * @ui5-restricted sap.ui.mdc.valuehelp.base.Container
324
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
325
330
  */
326
331
  Content.prototype.isValidationSupported = function() { // TODO only for TypeAhead content
327
332
  return false;
@@ -363,7 +368,6 @@ sap.ui.define([
363
368
  * @returns {sap.ui.mdc.condition.ConditionObject} The new condition object with the maintained operator along with <code>sKey</code> and <code>sDescription</code> as <code>aValues</code>
364
369
  * @private
365
370
  * @ui5-restricted ValueHelp subclasses
366
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
367
371
  */
368
372
  Content.prototype._createCondition = function(vValue, sDescription, oPayload) {
369
373
 
@@ -385,7 +389,6 @@ sap.ui.define([
385
389
  *
386
390
  * @private
387
391
  * @ui5-restricted sap.ui.mdc.valueHelp.base.Container
388
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
389
392
  */
390
393
  Content.prototype.removeFocus = function() {
391
394
 
@@ -403,7 +406,6 @@ sap.ui.define([
403
406
  *
404
407
  * @private
405
408
  * @ui5-restricted sap.ui.mdc.valueHelp.base.Container
406
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
407
409
  */
408
410
  Content.prototype.navigate = function(iStep) {
409
411
 
@@ -427,7 +429,6 @@ sap.ui.define([
427
429
  * @returns {boolean} True if used as typeahead
428
430
  *
429
431
  * @private
430
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
431
432
  */
432
433
  Content.prototype.isTypeahead = function () {
433
434
  var oContainer = this.getParent();
@@ -443,7 +444,6 @@ sap.ui.define([
443
444
  *
444
445
  * @private
445
446
  * @ui5-restricted sap.ui.mdc.valueHelp.base.Container
446
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
447
447
  */
448
448
  Content.prototype.isSearchSupported = function () {
449
449
  return false;
@@ -458,7 +458,6 @@ sap.ui.define([
458
458
  * @returns {boolean} True a scrolling mechanism is needed
459
459
  *
460
460
  * @private
461
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
462
461
  */
463
462
  Content.prototype.provideScrolling = function () {
464
463
  var oContainer = this.getParent();
@@ -514,7 +513,6 @@ sap.ui.define([
514
513
  * @returns {string} Name of the icon
515
514
  * @private
516
515
  * @ui5-restricted sap.ui.mdc.valuehelp.base.Container
517
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
518
516
  */
519
517
  Content.prototype.getValueHelpIcon = function() {
520
518
  };
@@ -531,7 +529,6 @@ sap.ui.define([
531
529
  * @returns {object} object with the aria-attibutes
532
530
  * @private
533
531
  * @ui5-restricted sap.ui.mdc.valuehelp.base.Container
534
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
535
532
  */
536
533
  Content.prototype.getAriaAttributes = function(iMaxConditions) {
537
534
 
@@ -553,7 +550,6 @@ sap.ui.define([
553
550
  * @returns {boolean} If <code>true</code>, the value help should open when user clicks into the connected field control
554
551
  * @private
555
552
  * @ui5-restricted sap.ui.mdc.valuehelp.base.Container
556
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
557
553
  */
558
554
  Content.prototype.shouldOpenOnClick = function() {
559
555
  return false;
@@ -566,7 +562,6 @@ sap.ui.define([
566
562
  * @returns {boolean} If <code>true</code>, the value help should open when user used the arrow keys in the connected field control
567
563
  * @private
568
564
  * @ui5-restricted sap.ui.mdc.valuehelp.base.Container
569
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
570
565
  */
571
566
  Content.prototype.shouldOpenOnNavigate = function() {
572
567
  return !this._isSingleSelect();
@@ -580,7 +575,6 @@ sap.ui.define([
580
575
  *
581
576
  * @private
582
577
  * @ui5-restricted sap.ui.mdc.valuehelp.base.Container
583
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
584
578
  */
585
579
  Content.prototype.isFocusInHelp = function() {
586
580
 
@@ -595,7 +589,6 @@ sap.ui.define([
595
589
  *
596
590
  * @private
597
591
  * @ui5-restricted sap.ui.mdc.valuehelp.base.Container
598
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
599
592
  */
600
593
  Content.prototype.isMultiSelect = function() {
601
594
 
@@ -610,7 +603,6 @@ sap.ui.define([
610
603
  *
611
604
  * @private
612
605
  * @ui5-restricted sap.ui.mdc.valuehelp.base.Container
613
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
614
606
  */
615
607
  Content.prototype.isQuickSelectSupported = function() {
616
608
  return false;
@@ -652,7 +644,6 @@ sap.ui.define([
652
644
  *
653
645
  * @private
654
646
  * @ui5-restricted sap.ui.mdc.valuehelp.base.Container
655
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
656
647
  */
657
648
  Content.prototype.getFormattedTitle = function(iCount) {
658
649
  var sTitle = this.getTitle();
@@ -671,12 +662,30 @@ sap.ui.define([
671
662
  *
672
663
  * @private
673
664
  * @ui5-restricted sap.ui.mdc.valuehelp.base.Container
674
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
675
665
  */
676
666
  Content.prototype.getFormattedShortTitle = function() {
677
667
  return this.getShortTitle();
678
668
  };
679
669
 
670
+ /**
671
+ * Determines the title used in the header of the dialog for the bottom tokenizer.
672
+ *
673
+ * <b>Note:</b> This function is used by the container and must not be used from outside
674
+ *
675
+ * @param {int} iCount Number of selected items or conditions
676
+ * @returns {string} title
677
+ *
678
+ * @private
679
+ * @ui5-restricted sap.ui.mdc.valuehelp.base.Container
680
+ */
681
+ Content.prototype.getFormattedTokenizerTitle = function(iCount) {
682
+ var sTitle = this.getTokenizerTitle();
683
+ if (sTitle) {
684
+ sTitle = formatMessage(sTitle, iCount ? iCount : "");
685
+ }
686
+ return sTitle;
687
+ };
688
+
680
689
  Content.prototype._getMaxConditions = function() {
681
690
 
682
691
  var oConfig = this.getConfig();
@@ -684,6 +693,15 @@ sap.ui.define([
684
693
 
685
694
  };
686
695
 
696
+ Content.prototype.onContainerClose = function() {
697
+
698
+ };
699
+
700
+ Content.prototype.onContainerOpen = function() {
701
+
702
+ };
703
+
704
+
687
705
  PromiseMixin.call(Content.prototype);
688
706
 
689
707
 
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @param {object} [mSettings] Initial settings for the new control
21
21
  * @class Content for the <code>sap.ui.mdc.valuehelp.content.Dialog</code> element.
22
22
  * @extends sap.ui.core.Control
23
- * @version 1.102.2
23
+ * @version 1.104.0
24
24
  * @constructor
25
25
  * @abstract
26
26
  * @private
@@ -82,14 +82,14 @@ sap.ui.define([
82
82
  renderer: {
83
83
  apiVersion: 2,
84
84
  render: function(oRm, oControl) {
85
- //oRm.openStart("div", oControl);
86
- //oRm.openEnd();
87
- // var oContent = oControl._displayContent;
85
+ oRm.openStart("div", oControl);
86
+ oRm.class("sapUiMdcDialogTab");
87
+ oRm.openEnd();
88
88
  var oContent = oControl.getContent();
89
89
  if (oContent) {
90
90
  oRm.renderControl(oContent);
91
91
  }
92
- //oRm.close("div");
92
+ oRm.close("div");
93
93
  }
94
94
  }
95
95
  });
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @param {object} [mSettings] Initial settings for the new element
33
33
  * @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element.
34
34
  * @extends sap.ui.mdc.valuehelp.base.ListContent
35
- * @version 1.102.2
35
+ * @version 1.104.0
36
36
  * @constructor
37
37
  * @abstract
38
38
  * @private
@@ -89,14 +89,6 @@ sap.ui.define([
89
89
  }
90
90
  },
91
91
  aggregations: {
92
- /**
93
- * Items used for collective search. If none assigned, no collective search is available.
94
- */
95
- collectiveSearchItems: { // TODO: remove!
96
- type: "sap.ui.core.Item",
97
- multiple: true,
98
- singularName : "collectiveSearchItem"
99
- },
100
92
  /**
101
93
  * FilterBar
102
94
  */
@@ -285,22 +277,29 @@ sap.ui.define([
285
277
  }
286
278
  }
287
279
 
280
+ FilterableListContent.prototype.onContainerOpen = function () {
281
+ this._bInitialConditionsApplied = false;
282
+ };
283
+
288
284
  FilterableListContent.prototype.onShow = function () {
289
285
  ListContent.prototype.onShow.apply(this, arguments);
290
286
 
291
- var oListBinding = this.getListBinding();
292
- var oListBindingInfo = this._getListBindingInfo();
293
287
 
294
- var bBindingSuspended = oListBinding && oListBinding.isSuspended();
295
- var bBindingWillBeSuspended = !oListBinding && oListBindingInfo && oListBindingInfo.suspended;
288
+ if (!this._bInitialConditionsApplied) {
289
+ this._applyInitialConditions(this._getPriorityFilterBar()); // to set incomming condition on FilterBar
290
+ this._bInitialConditionsApplied = true;
296
291
 
297
- this._applyInitialConditions(this._getPriorityFilterBar()); // to set incomming condition on FilterBar
292
+ var oListBinding = this.getListBinding();
293
+ var oListBindingInfo = this._getListBindingInfo();
294
+ var bBindingSuspended = oListBinding && oListBinding.isSuspended();
295
+ var bBindingWillBeSuspended = !oListBinding && oListBindingInfo && oListBindingInfo.suspended;
298
296
 
299
- if ((bBindingSuspended || bBindingWillBeSuspended) && !this.isTypeahead()) {
300
- return; // in dialog case do not resume suspended table on opening
301
- }
297
+ if ((bBindingSuspended || bBindingWillBeSuspended) && !this.isTypeahead()) {
298
+ return; // in dialog case do not resume suspended table on opening
299
+ }
302
300
 
303
- this.applyFilters(this.getFilterValue());
301
+ this.applyFilters(this.getFilterValue());
302
+ }
304
303
  };
305
304
 
306
305
  FilterableListContent.prototype.onHide = function () {
@@ -313,11 +312,6 @@ sap.ui.define([
313
312
 
314
313
  FilterableListContent.prototype._observeChanges = function (oChanges) {
315
314
  if (oChanges.object == this) {
316
-
317
- /* if (oChanges.name === "collectiveSearchItems") {
318
- this._assignCollectiveSearch(true);
319
- } */
320
-
321
315
  var oFilterBar;
322
316
 
323
317
  if (["_defaultFilterBar", "filterBar"].indexOf(oChanges.name) !== -1) {
@@ -413,6 +407,14 @@ sap.ui.define([
413
407
  return sShortTitle;
414
408
  };
415
409
 
410
+ FilterableListContent.prototype.getFormattedTokenizerTitle = function(iCount) {
411
+ var sTokenizerTitle = this.getTokenizerTitle();
412
+ if (!sTokenizerTitle) {
413
+ sTokenizerTitle = this._oResourceBundle.getText("valuehelp.SELECTFROMLIST.TokenizerTitle" + (iCount === 0 ? "NoCount" : ""), iCount);
414
+ }
415
+ return sTokenizerTitle;
416
+ };
417
+
416
418
  FilterableListContent.prototype.isSearchSupported = function () {
417
419
 
418
420
  var sFilterFields = this.getFilterFields();
@@ -427,15 +429,23 @@ sap.ui.define([
427
429
  return bSearchSupported;
428
430
  };
429
431
 
430
- FilterableListContent.prototype.setCollectiveSearchSelect = function (oDropdown) {
431
- this._oCollectiveSearchSelect = oDropdown;
432
+ /**
433
+ * Sets the collective Search to the <code>FilterBar</code>
434
+ *
435
+ * @param {sap.ui.mdc.filterbar.vh.CollectiveSearchSelect} oCollectiveSearchSelect Collective search control
436
+ *
437
+ * @private
438
+ * @ui5-restricted sap.ui.mdc.valuehelp.Dialog
439
+ */
440
+ FilterableListContent.prototype.setCollectiveSearchSelect = function (oCollectiveSearchSelect) {
441
+ this._oCollectiveSearchSelect = oCollectiveSearchSelect;
432
442
  this._assignCollectiveSearchSelect();
433
443
  };
434
444
 
435
445
  FilterableListContent.prototype._assignCollectiveSearchSelect = function () {
436
446
  var oFilterBar = this._getPriorityFilterBar();
437
- if (oFilterBar.setCollectiveSearch && this._oCollectiveSearchSelect) {
438
- oFilterBar.setCollectiveSearch(this._oCollectiveSearchSelect);
447
+ if (oFilterBar.setCollectiveSearch) {
448
+ oFilterBar.setCollectiveSearch(this._oCollectiveSearchSelect); // remove it if empty
439
449
  }
440
450
  };
441
451
 
@@ -450,14 +460,11 @@ sap.ui.define([
450
460
  if (oFilterBar) {
451
461
  var sFilterFields = this.getFilterFields();
452
462
  var oNewConditions = merge({}, this._oInitialFilterConditions);
463
+ oFilterBar.setInternalConditions(oNewConditions);
453
464
  if (!oNewConditions[sFilterFields]) { // not set from Delegate
454
- // use existing search
455
- var oConditions = oFilterBar.getInternalConditions();
456
- if (oConditions[sFilterFields]) {
457
- oNewConditions[sFilterFields] = oConditions[sFilterFields];
458
- }
465
+ // add current FilterValue as search
466
+ _addFilterValueToFilterBar.call(this, oFilterBar, this.getFilterValue()); // as might set before a FilterBar exist
459
467
  }
460
- oFilterBar.setInternalConditions(oNewConditions);
461
468
  }
462
469
  };
463
470
 
@@ -475,7 +482,7 @@ sap.ui.define([
475
482
  Engine.getInstance().defaultProviderRegistry.detach(this);
476
483
 
477
484
  Common.cleanup(this, [
478
- "_oCollectiveSearchSelect", "_oInitialFilterConditions"
485
+ "_oCollectiveSearchSelect", "_oInitialFilterConditions", "_bInitialConditionsApplied"
479
486
  ]);
480
487
 
481
488
  if (this._oSearchField && !this._oSearchField.getParent()) {
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @param {object} [mSettings] Initial settings for the new element
21
21
  * @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element.
22
22
  * @extends sap.ui.mdc.valuehelp.base.Content
23
- * @version 1.102.2
23
+ * @version 1.104.0
24
24
  * @constructor
25
25
  * @abstract
26
26
  * @private
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @param {object} [mSettings] Initial settings for the new element
23
23
  * @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element to provide a value help for boolean fields.
24
24
  * @extends sap.ui.mdc.valuehelp.content.FixedList
25
- * @version 1.102.2
25
+ * @version 1.104.0
26
26
  * @constructor
27
27
  * @abstract
28
28
  * @private
@@ -109,7 +109,7 @@ sap.ui.define([
109
109
  return Promise.resolve().then(function () {
110
110
  // don't need to create items for this, just use the type to check
111
111
  var oGlobalConfig = this.getConfig();
112
- var oType = oGlobalConfig && oGlobalConfig.dataType;
112
+ var oType = oConfig.dataType || (oGlobalConfig && oGlobalConfig.dataType);
113
113
 
114
114
  if (oType) {
115
115
  if (oConfig.checkKey) {
@@ -240,8 +240,8 @@ sap.ui.define([
240
240
  *
241
241
  * <b>Note:</b> Do not change items to the <code>Bool</code> content. The items will be filled by itself
242
242
  *
243
- * @param {int|string|sap.ui.mdc.field.ListFieldHelpItem} vItem The item to remove or its index or id
244
- * @returns {sap.ui.mdc.field.ListFieldHelpItem} The removed item or null
243
+ * @param {int|string|sap.ui.mdc.field.ListFieldHelpItem} vItem The item to remove or its index or ID
244
+ * @returns {sap.ui.mdc.field.ListFieldHelpItem|null} The removed item or <code>null</code>
245
245
  * @private
246
246
  * @ui5-restricted sap.fe
247
247
  * @MDC_PUBLIC_CANDIDATE
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @param {object} [mSettings] Initial settings for the new element
26
26
  * @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element showing a condition panel.
27
27
  * @extends sap.ui.mdc.valuehelp.base.Content
28
- * @version 1.102.2
28
+ * @version 1.104.0
29
29
  * @constructor
30
30
  * @abstract
31
31
  * @private
@@ -159,8 +159,8 @@ sap.ui.define([
159
159
  };
160
160
 
161
161
  Conditions.prototype.getRequiresTokenizer = function() {
162
- // when only the conditions content is on the dialog the tokenizer should be hidden.
163
- return false;
162
+ // when only the conditions content is on the dialog the tokenizer should be shown.
163
+ return true;
164
164
  };
165
165
 
166
166
  Conditions.prototype.getFormattedTitle = function(iCount) {
@@ -179,6 +179,14 @@ sap.ui.define([
179
179
  return sShortTitle;
180
180
  };
181
181
 
182
+ Conditions.prototype.getFormattedTokenizerTitle = function(iCount) {
183
+ var sTokenizerTitle = this.getTokenizerTitle();
184
+ if (!sTokenizerTitle) {
185
+ sTokenizerTitle = this._oResourceBundle.getText("valuehelp.DEFINECONDITIONS.TokenizerTitle" + (iCount === 0 ? "NoCount" : ""), iCount);
186
+ }
187
+ return sTokenizerTitle;
188
+ };
189
+
182
190
  Conditions.prototype.getAriaAttributes = function(iMaxConditions) {
183
191
 
184
192
  return { // return default values, but needs to be implemented by specific content
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @param {object} [mSettings] Initial settings for the new element
27
27
  * @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element showing a list with fix values.
28
28
  * @extends sap.ui.mdc.valuehelp.base.ListContent
29
- * @version 1.102.2
29
+ * @version 1.104.0
30
30
  * @constructor
31
31
  * @abstract
32
32
  * @private
@@ -16,7 +16,9 @@ sap.ui.define([
16
16
  // "sap/ui/mdc/p13n/Engine",
17
17
  // "sap/ui/mdc/enum/PersistenceMode",
18
18
  'sap/ui/mdc/condition/FilterConverter',
19
- 'sap/base/util/restricted/_throttle'
19
+ 'sap/base/util/restricted/_throttle',
20
+ 'sap/ui/mdc/util/Common'
21
+
20
22
  ], function(
21
23
  FilterableListContent,
22
24
  loadModules,
@@ -29,7 +31,8 @@ sap.ui.define([
29
31
  // Engine,
30
32
  // PersistenceMode,
31
33
  FilterConverter,
32
- throttle
34
+ throttle,
35
+ Common
33
36
  ) {
34
37
  "use strict";
35
38
 
@@ -276,7 +279,7 @@ sap.ui.define([
276
279
  * @param {object} [mSettings] Initial settings for the new element
277
280
  * @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element using a {@link sap.ui.mdc.Table}.
278
281
  * @extends sap.ui.mdc.valuehelp.base.FilterableListContent
279
- * @version 1.102.2
282
+ * @version 1.104.0
280
283
  * @constructor
281
284
  * @abstract
282
285
  * @private
@@ -674,5 +677,24 @@ sap.ui.define([
674
677
 
675
678
  };
676
679
 
680
+ MDCTable.prototype.exit = function name(params) {
681
+ Common.cleanup(this, [
682
+ "_oContentLayout",
683
+ "_oFilterBarVBox",
684
+ "_oTableBox",
685
+ "_oResourceBundle",
686
+ "_oScrollContainer",
687
+ "_oTableHelper",
688
+ "_bSelectionIsUpdating",
689
+ "_bScrolling",
690
+ "_bBusy",
691
+ "_sTableType",
692
+ "_oUITableSelectionPlugin",
693
+ "_oTable"
694
+ ]);
695
+
696
+ FilterableListContent.prototype.exit.apply(this, arguments);
697
+ };
698
+
677
699
  return MDCTable;
678
700
  });
@@ -51,7 +51,7 @@ sap.ui.define([
51
51
  * @param {object} [mSettings] Initial settings for the new element
52
52
  * @class Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element using a {@link sap.m.Table}.
53
53
  * @extends sap.ui.mdc.valuehelp.base.FilterableListContent
54
- * @version 1.102.2
54
+ * @version 1.104.0
55
55
  * @constructor
56
56
  * @abstract
57
57
  * @private
@@ -121,7 +121,7 @@ sap.ui.define([
121
121
  if (this._oTable) {
122
122
  var aItems = this._oTable.getItems();
123
123
  var aConditions = this.getConditions();
124
- var bHideSelection = this._isSingleSelect() && !FilterableListContent.prototype._isSingleSelect.apply(this); // if table is in single selection but Fild allows multiple values, don'tr select items
124
+ var bHideSelection = this._isSingleSelect() && !FilterableListContent.prototype._isSingleSelect.apply(this); // if table is in single selection but Fild allows multiple values, don't select items
125
125
 
126
126
  for (var iId in aItems) {
127
127
  var oItem = aItems[iId];
@@ -852,7 +852,7 @@ sap.ui.define([
852
852
  MTable.prototype.exit = function () {
853
853
 
854
854
  Common.cleanup(this, [
855
- "_sTableWidth", "_oTable", "_oScrollContainer", "_oContentLayout", "_oTablePanel", "_oFilterBarVBox", "_oMResourceBundle", "_oResourceBundle"
855
+ "_sTableWidth", "_oTable", "_oScrollContainer", "_oContentLayout", "_oTablePanel", "_oFilterBarVBox", "_oMResourceBundle", "_oResourceBundle", "_oTableDelegate"
856
856
  ]);
857
857
 
858
858
  FilterableListContent.prototype.exit.apply(this, arguments);
@@ -0,0 +1,18 @@
1
+ # How to generate the JSDoc for TestObjects
2
+
3
+ ## 1. Install jsdoc2md
4
+ We use https://github.com/jsdoc2md/jsdoc-to-markdown to generate the Markdown files.<br>
5
+ The GitHub mentiones the following command to install it:<br><br>
6
+ <code>npm install --save-dev jsdoc-to-markdown</code><br><br>
7
+ NOTE: I would not recommend doing it this way. As this did not work for on MacOS so I instead installed it globally. Also installing it with the above command will change the package.json of the openui5 lib<br><br>
8
+ <code>npm install -g jsdoc-to-markdown</code>
9
+
10
+ ## 2. Generate JSDoc
11
+ Use <code>jsdoc2md InputFile.js > OutPutFile.md</code>
12
+
13
+ ### Example 1:
14
+ <code>jsdoc2md openui5/src/sap.ui.mdc/test/sap/ui/mdc/testutils/opa/link/TestObjects.js > openui5/src/sap.ui.mdc/test/sap/ui/mdc/testutils/opa/link/JSDoc.md</code>
15
+
16
+ ### Example 2:
17
+ <code>cd openui5/src/sap.ui.mdc/test/sap/ui/mdc/testutils/opa</code><br>
18
+ <code>jsdoc2md link/TestObjects.js > link/JSDoc.md</code>
@@ -7,7 +7,10 @@ sap.ui.define([
7
7
  "test-resources/sap/ui/mdc/testutils/opa/filterbar/TestObjects",
8
8
  "test-resources/sap/ui/mdc/testutils/opa/chart/TestObjects",
9
9
  "test-resources/sap/ui/mdc/testutils/opa/link/TestObjects",
10
- "test-resources/sap/ui/mdc/testutils/opa/valueHelp/TestObjects"
10
+ "test-resources/sap/ui/mdc/testutils/opa/valueHelp/TestObjects",
11
+ "test-resources/sap/ui/mdc/testutils/opa/field/TestObjects",
12
+ "test-resources/sap/ui/mdc/testutils/opa/filterfield/TestObjects",
13
+ "test-resources/sap/ui/mdc/testutils/opa/variant/TestObjects"
11
14
  ], function() {
12
15
  "use strict";
13
16
  });
@@ -0,0 +1,42 @@
1
+ /*!
2
+ * ${copyright}
3
+ */
4
+
5
+ sap.ui.define([
6
+ "sap/ui/test/Opa5",
7
+ "sap/ui/test/matchers/PropertyStrictEquals",
8
+ "sap/ui/test/actions/Press"
9
+ ], function(
10
+ Opa5,
11
+ PropertyStrictEquals,
12
+ Press
13
+ ) {
14
+ "use strict";
15
+
16
+ // Util.getTextFromResourceBundle = function(sLibraryName, sTextKey) {
17
+ // var oCore = Opa5.getWindow().sap.ui.getCore();
18
+ // return oCore.getLibraryResourceBundle(sLibraryName).getText(sTextKey);
19
+ // };
20
+
21
+ Opa5.createPageObjects({
22
+ util: {
23
+ actions: {
24
+ iPressButton: function(sTitle){
25
+ return this.waitFor({
26
+ controlType: "sap.m.Button",
27
+ matchers: [
28
+ // new Ancestor(aVHDialogs[0], false),
29
+ new PropertyStrictEquals({
30
+ name: "text",
31
+ value: sTitle
32
+ })
33
+ ],
34
+ actions: new Press()
35
+ });
36
+ }
37
+
38
+ }
39
+ }
40
+ });
41
+
42
+ });
@@ -0,0 +1,22 @@
1
+ /*!
2
+ * ${copyright}
3
+ */
4
+
5
+ sap.ui.define([
6
+ "sap/ui/test/Opa5",
7
+ "sap/ui/base/Object"
8
+ ], function(
9
+ Opa5,
10
+ BaseObject
11
+ ) {
12
+ "use strict";
13
+
14
+ var Utils = BaseObject.extend("sap.ui.mdc.qunit.opa.test.Util", {});
15
+
16
+ Utils.getTextFromResourceBundle = function(sLibraryName, sTextKey) {
17
+ var oCore = Opa5.getWindow().sap.ui.getCore();
18
+ return oCore.getLibraryResourceBundle(sLibraryName).getText(sTextKey);
19
+ };
20
+
21
+ return Utils;
22
+ });
@@ -11,7 +11,7 @@ sap.ui.define([
11
11
  ], function (Opa5, Press, Log, Ancestor, PropertyStrictEquals, Properties, p13nUtil, waitForP13nButtonWithMatchers, waitForP13nDialog) {
12
12
  "use strict";
13
13
 
14
- var oCore = sap.ui.test.Opa5.getWindow().sap.ui.getCore();
14
+ var oCore = Opa5.getWindow().sap.ui.getCore();
15
15
  var oMDCBundle = oCore.getLibraryResourceBundle("sap.ui.mdc");
16
16
 
17
17
  var waitForMDCChartWithId = function(sId, oSettings) {