@sap/open.fe 1.96.0 → 1.97.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 (490) hide show
  1. package/package.json +1 -1
  2. package/packages/sap.fe.common/src/sap/fe/common/.library +1 -1
  3. package/packages/sap.fe.common/src/sap/fe/common/.theming +1 -1
  4. package/packages/sap.fe.common/src/sap/fe/common/MessageButton-dbg.js +57 -42
  5. package/packages/sap.fe.common/src/sap/fe/common/MessageButton.js +1 -1
  6. package/packages/sap.fe.common/src/sap/fe/common/library-dbg.js +1 -1
  7. package/packages/sap.fe.common/src/sap/fe/common/library-h2-preload.js +2 -2
  8. package/packages/sap.fe.common/src/sap/fe/common/library-preload.js +4 -4
  9. package/packages/sap.fe.common/src/sap/fe/common/library-preload.js.map +3 -3
  10. package/packages/sap.fe.common/src/sap/fe/common/library.js +1 -1
  11. package/packages/sap.fe.common/src/sap/fe/common/manifest.json +3 -3
  12. package/packages/sap.fe.common/src/sap/fe/common/resources.json +4 -4
  13. package/packages/sap.fe.common/test/sap/fe/common/designtime/api.json +1 -1
  14. package/packages/sap.fe.common/test/sap/fe/common/designtime/apiref/api.json +1 -1
  15. package/packages/sap.fe.common/test/sap/fe/common/designtime/codeassistance/Library.xmlmeta.json +1 -1
  16. package/packages/sap.fe.core/src/sap/fe/core/.library +1 -1
  17. package/packages/sap.fe.core/src/sap/fe/core/.theming +1 -1
  18. package/packages/sap.fe.core/src/sap/fe/core/AnnotationHelper-dbg.js +2 -2
  19. package/packages/sap.fe.core/src/sap/fe/core/AnnotationHelper.js +1 -1
  20. package/packages/sap.fe.core/src/sap/fe/core/CommonUtils-dbg.js +59 -274
  21. package/packages/sap.fe.core/src/sap/fe/core/CommonUtils.js +1 -1
  22. package/packages/sap.fe.core/src/sap/fe/core/RouterProxy-dbg.js +52 -64
  23. package/packages/sap.fe.core/src/sap/fe/core/RouterProxy.js +1 -1
  24. package/packages/sap.fe.core/src/sap/fe/core/TemplateComponent-dbg.js +2 -2
  25. package/packages/sap.fe.core/src/sap/fe/core/TemplateComponent.js +1 -1
  26. package/packages/sap.fe.core/src/sap/fe/core/TransactionHelper-dbg.js +18 -22
  27. package/packages/sap.fe.core/src/sap/fe/core/TransactionHelper.js +1 -1
  28. package/packages/sap.fe.core/src/sap/fe/core/actions/messageHandling-dbg.js +80 -4
  29. package/packages/sap.fe.core/src/sap/fe/core/actions/messageHandling.js +1 -1
  30. package/packages/sap.fe.core/src/sap/fe/core/actions/operations-dbg.js +42 -23
  31. package/packages/sap.fe.core/src/sap/fe/core/actions/operations.js +1 -1
  32. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/EditFlow-dbg.js +36 -21
  33. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/EditFlow.js +1 -1
  34. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalIntentBasedNavigation-dbg.js +9 -3
  35. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalIntentBasedNavigation.js +1 -1
  36. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalRouting-dbg.js +20 -50
  37. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalRouting.js +1 -1
  38. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/MessageHandler-dbg.js +222 -102
  39. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/MessageHandler.js +1 -1
  40. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/ViewState-dbg.js +33 -6
  41. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/ViewState.js +1 -1
  42. package/packages/sap.fe.core/src/sap/fe/core/controls/CustomQuickViewPage-dbg.js +109 -111
  43. package/packages/sap.fe.core/src/sap/fe/core/controls/CustomQuickViewPage.js +1 -1
  44. package/packages/sap.fe.core/src/sap/fe/core/controls/filterbar.d-dbg.js +8 -0
  45. package/packages/sap.fe.core/src/sap/fe/core/controls/filterbar.d.js +5 -0
  46. package/packages/sap.fe.core/src/sap/fe/core/controls/filterbar.d.ts +0 -0
  47. package/packages/sap.fe.core/src/sap/fe/core/converters/ManifestSettings-dbg.js +2 -1
  48. package/packages/sap.fe.core/src/sap/fe/core/converters/ManifestSettings.js +1 -1
  49. package/packages/sap.fe.core/src/sap/fe/core/converters/ManifestSettings.ts +4 -1
  50. package/packages/sap.fe.core/src/sap/fe/core/converters/MetaModelConverter-dbg.js +10 -1
  51. package/packages/sap.fe.core/src/sap/fe/core/converters/MetaModelConverter.js +1 -1
  52. package/packages/sap.fe.core/src/sap/fe/core/converters/MetaModelConverter.ts +9 -1
  53. package/packages/sap.fe.core/src/sap/fe/core/converters/annotations/DataField-dbg.js +2 -2
  54. package/packages/sap.fe.core/src/sap/fe/core/converters/annotations/DataField.js +1 -1
  55. package/packages/sap.fe.core/src/sap/fe/core/converters/annotations/DataField.ts +1 -1
  56. package/packages/sap.fe.core/src/sap/fe/core/converters/common/AnnotationConverter-dbg.js +67 -40
  57. package/packages/sap.fe.core/src/sap/fe/core/converters/common/AnnotationConverter.js +1 -1
  58. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Action-dbg.js +6 -3
  59. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Action.js +1 -1
  60. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Action.ts +6 -3
  61. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Form-dbg.js +57 -18
  62. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Form.js +1 -1
  63. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Form.ts +51 -13
  64. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Table-dbg.js +130 -19
  65. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Table.js +1 -1
  66. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Table.ts +139 -18
  67. package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/ID-dbg.js +9 -1
  68. package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/ID.js +1 -1
  69. package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/ID.ts +4 -0
  70. package/packages/sap.fe.core/src/sap/fe/core/converters/templates/ListReportConverter-dbg.js +18 -7
  71. package/packages/sap.fe.core/src/sap/fe/core/converters/templates/ListReportConverter.js +1 -1
  72. package/packages/sap.fe.core/src/sap/fe/core/converters/templates/ListReportConverter.ts +17 -12
  73. package/packages/sap.fe.core/src/sap/fe/core/designtime/AppComponent-dbg.designtime.js +2 -1
  74. package/packages/sap.fe.core/src/sap/fe/core/designtime/AppComponent.designtime.js +1 -1
  75. package/packages/sap.fe.core/src/sap/fe/core/designtime/library-preload.designtime.js +1 -1
  76. package/packages/sap.fe.core/src/sap/fe/core/designtime/library-preload.designtime.js.map +2 -2
  77. package/packages/sap.fe.core/src/sap/fe/core/formatters/TableFormatter-dbg.js +27 -4
  78. package/packages/sap.fe.core/src/sap/fe/core/formatters/TableFormatter.js +1 -1
  79. package/packages/sap.fe.core/src/sap/fe/core/formatters/TableFormatter.ts +20 -3
  80. package/packages/sap.fe.core/src/sap/fe/core/fpm/manifest.json +2 -2
  81. package/packages/sap.fe.core/src/sap/fe/core/helpers/KeepAliveHelper-dbg.js +211 -0
  82. package/packages/sap.fe.core/src/sap/fe/core/helpers/KeepAliveHelper.js +5 -0
  83. package/packages/sap.fe.core/src/sap/fe/core/helpers/KeepAliveHelper.ts +202 -0
  84. package/packages/sap.fe.core/src/sap/fe/core/helpers/KeepAliveRefreshTypes-dbg.js +32 -0
  85. package/packages/sap.fe.core/src/sap/fe/core/helpers/KeepAliveRefreshTypes.js +5 -0
  86. package/packages/sap.fe.core/src/sap/fe/core/helpers/KeepAliveRefreshTypes.ts +36 -0
  87. package/packages/sap.fe.core/src/sap/fe/core/helpers/ModelHelper-dbg.js +51 -0
  88. package/packages/sap.fe.core/src/sap/fe/core/helpers/ModelHelper.js +1 -1
  89. package/packages/sap.fe.core/src/sap/fe/core/library-dbg.js +1 -1
  90. package/packages/sap.fe.core/src/sap/fe/core/library-h2-preload.js +10 -9
  91. package/packages/sap.fe.core/src/sap/fe/core/library-h2-preload.js.map +1 -1
  92. package/packages/sap.fe.core/src/sap/fe/core/library-preload.js +232 -228
  93. package/packages/sap.fe.core/src/sap/fe/core/library-preload.js.map +4 -4
  94. package/packages/sap.fe.core/src/sap/fe/core/library.js +1 -1
  95. package/packages/sap.fe.core/src/sap/fe/core/manifest.json +10 -10
  96. package/packages/sap.fe.core/src/sap/fe/core/messagebundle.properties +15 -1
  97. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ar.properties +10 -0
  98. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_bg.properties +10 -0
  99. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ca.properties +10 -0
  100. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_cs.properties +10 -0
  101. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_cy.properties +10 -0
  102. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_da.properties +10 -0
  103. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_de.properties +10 -0
  104. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_el.properties +10 -0
  105. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_en.properties +10 -0
  106. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_en_GB.properties +10 -0
  107. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_en_US_sappsd.properties +6 -0
  108. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_en_US_saprigi.properties +11 -1
  109. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_en_US_saptrc.properties +11 -1
  110. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_es.properties +10 -0
  111. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_es_MX.properties +10 -0
  112. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_et.properties +10 -0
  113. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_fi.properties +10 -0
  114. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_fr.properties +10 -0
  115. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_fr_CA.properties +10 -0
  116. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_hi.properties +10 -0
  117. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_hr.properties +10 -0
  118. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_hu.properties +10 -0
  119. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_id.properties +11 -1
  120. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_it.properties +10 -0
  121. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_iw.properties +10 -0
  122. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ja.properties +19 -9
  123. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_kk.properties +10 -0
  124. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ko.properties +10 -0
  125. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_lt.properties +10 -0
  126. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_lv.properties +10 -0
  127. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ms.properties +10 -0
  128. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_nl.properties +10 -0
  129. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_no.properties +10 -0
  130. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_pl.properties +10 -0
  131. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_pt.properties +11 -1
  132. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_pt_PT.properties +10 -0
  133. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ro.properties +10 -0
  134. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ru.properties +10 -0
  135. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_sh.properties +10 -0
  136. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_sk.properties +10 -0
  137. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_sl.properties +10 -0
  138. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_sv.properties +10 -0
  139. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_th.properties +10 -0
  140. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_tr.properties +10 -0
  141. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_uk.properties +10 -0
  142. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_vi.properties +10 -0
  143. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_zh_CN.properties +10 -0
  144. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_zh_TW.properties +10 -0
  145. package/packages/sap.fe.core/src/sap/fe/core/resources.json +200 -121
  146. package/packages/sap.fe.core/src/sap/fe/core/services/RoutingServiceFactory-dbg.js +30 -19
  147. package/packages/sap.fe.core/src/sap/fe/core/services/RoutingServiceFactory.js +1 -1
  148. package/packages/sap.fe.core/src/sap/fe/core/services/TemplatedViewServiceFactory-dbg.js +1 -1
  149. package/packages/sap.fe.core/src/sap/fe/core/services/TemplatedViewServiceFactory.js +1 -1
  150. package/packages/sap.fe.core/src/sap/fe/core/templating/EntitySetHelper-dbg.js +80 -7
  151. package/packages/sap.fe.core/src/sap/fe/core/templating/EntitySetHelper.js +1 -1
  152. package/packages/sap.fe.core/src/sap/fe/core/templating/EntitySetHelper.ts +42 -2
  153. package/packages/sap.fe.core/test/sap/fe/core/designtime/api.json +1 -1
  154. package/packages/sap.fe.core/test/sap/fe/core/designtime/apiref/api.json +1 -1
  155. package/packages/sap.fe.core/test/sap/fe/core/designtime/codeassistance/Library.xmlmeta.json +1 -1
  156. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/buildingBlockOverview.md +4 -0
  157. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartDefault/ChartDefault.view.xml +1 -0
  158. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/viewState/manifest.json +2 -2
  159. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customColumn/customColumnContent/CustomColumnAdaptation.fragment.xml +13 -10
  160. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customColumn/customColumnContent/CustomColumnButton.fragment.xml +7 -4
  161. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customColumn/customColumnContent/localService/service.cds +1 -2
  162. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customColumn/customColumnContent/manifest.json +1 -0
  163. package/packages/sap.fe.core/test/sap/fe/core/jest/CommonUtils.spec.js +119 -0
  164. package/packages/sap.fe.core/test/sap/fe/core/jest/__snapshots__/TemplateConverter.spec.ts.snap +285 -4
  165. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/MessageHandler.spec.js +121 -0
  166. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/MessageHandler.spec.ts +79 -0
  167. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/ViewState.spec.js +147 -0
  168. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/ViewState.spec.ts +96 -0
  169. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/Table.spec.js +51 -18
  170. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/Table.spec.ts +109 -17
  171. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/__snapshots__/MetaModelConverter.spec.ts.snap +66 -0
  172. package/packages/sap.fe.core/test/sap/fe/core/jest/data/EntitySetHelper.cds +33 -0
  173. package/packages/sap.fe.core/test/sap/fe/core/jest/data/EntitySetHelperMainEntitySortableFalse.cds +12 -0
  174. package/packages/sap.fe.core/test/sap/fe/core/jest/data/TableGetSelectionMode.cds +8 -8
  175. package/packages/sap.fe.core/test/sap/fe/core/jest/formatters/TableFormatters.spec.js +68 -0
  176. package/packages/sap.fe.core/test/sap/fe/core/jest/formatters/TableFormatters.spec.ts +38 -0
  177. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/KeepAliveHelper.spec.js +483 -0
  178. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/KeepAliveHelper.spec.ts +376 -0
  179. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/KeepAliveHelperTestData/ControlRefreshStrategyTests.js +101 -0
  180. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/KeepAliveHelperTestData/ControlRefreshStrategyTests.ts +105 -0
  181. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/KeepAliveHelperTestData/ControlsForRefreshTests.js +103 -0
  182. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/KeepAliveHelperTestData/ControlsForRefreshTests.ts +106 -0
  183. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/KeepAliveHelperTestData/RefreshStrategyForIntentTests.js +118 -0
  184. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/KeepAliveHelperTestData/RefreshStrategyForIntentTests.ts +118 -0
  185. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/KeepAliveHelperTestData/StoreStrategyTests.js +101 -0
  186. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/KeepAliveHelperTestData/StoreStrategyTests.ts +102 -0
  187. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/ModelHelper.spec.js +118 -1
  188. package/packages/sap.fe.core/test/sap/fe/core/jest/services/RoutingServiceFactory.spec.js +70 -0
  189. package/packages/sap.fe.core/test/sap/fe/core/jest/templating/EntitySetHelper.spec.js +89 -0
  190. package/packages/sap.fe.core/test/sap/fe/core/jest/templating/EntitySetHelper.spec.ts +73 -0
  191. package/packages/sap.fe.core/test/sap/fe/core/qunit/TemplatingExpressions.qunit.js +4 -2
  192. package/packages/sap.fe.core/test/sap/fe/core/qunit/apps/generalTests.json +6 -0
  193. package/packages/sap.fe.macros/src/sap/fe/macros/.library +1 -1
  194. package/packages/sap.fe.macros/src/sap/fe/macros/.theming +1 -1
  195. package/packages/sap.fe.macros/src/sap/fe/macros/ChartDelegate-dbg.js +15 -5
  196. package/packages/sap.fe.macros/src/sap/fe/macros/ChartDelegate.js +1 -1
  197. package/packages/sap.fe.macros/src/sap/fe/macros/CommonHelper-dbg.js +9 -5
  198. package/packages/sap.fe.macros/src/sap/fe/macros/CommonHelper.js +1 -1
  199. package/packages/sap.fe.macros/src/sap/fe/macros/DelegateUtil-dbg.js +30 -11
  200. package/packages/sap.fe.macros/src/sap/fe/macros/DelegateUtil.js +1 -1
  201. package/packages/sap.fe.macros/src/sap/fe/macros/FieldAPI-dbg.js +3 -5
  202. package/packages/sap.fe.macros/src/sap/fe/macros/FieldAPI.js +1 -1
  203. package/packages/sap.fe.macros/src/sap/fe/macros/FieldAPI.ts +3 -5
  204. package/packages/sap.fe.macros/src/sap/fe/macros/FieldValueHelpDelegate-dbg.js +17 -3
  205. package/packages/sap.fe.macros/src/sap/fe/macros/FieldValueHelpDelegate.js +1 -1
  206. package/packages/sap.fe.macros/src/sap/fe/macros/FilterBarAPI-dbg.js +1 -1
  207. package/packages/sap.fe.macros/src/sap/fe/macros/FilterBarAPI.ts +1 -2
  208. package/packages/sap.fe.macros/src/sap/fe/macros/FilterBarDelegate-dbg.js +4 -4
  209. package/packages/sap.fe.macros/src/sap/fe/macros/FilterBarDelegate.js +1 -1
  210. package/packages/sap.fe.macros/src/sap/fe/macros/FlexibleColumnLayoutActions.fragment.xml +6 -15
  211. package/packages/sap.fe.macros/src/sap/fe/macros/FormContainer.fragment.xml +14 -12
  212. package/packages/sap.fe.macros/src/sap/fe/macros/PhantomUtil-dbg.js +1 -1
  213. package/packages/sap.fe.macros/src/sap/fe/macros/PhantomUtil.js +1 -1
  214. package/packages/sap.fe.macros/src/sap/fe/macros/Table.fragment.xml +2 -1
  215. package/packages/sap.fe.macros/src/sap/fe/macros/Table.metadata-dbg.js +12 -1
  216. package/packages/sap.fe.macros/src/sap/fe/macros/Table.metadata.js +1 -1
  217. package/packages/sap.fe.macros/src/sap/fe/macros/TableAPI-dbg.js +15 -8
  218. package/packages/sap.fe.macros/src/sap/fe/macros/TableAPI.js +1 -1
  219. package/packages/sap.fe.macros/src/sap/fe/macros/TableAPI.ts +10 -0
  220. package/packages/sap.fe.macros/src/sap/fe/macros/chart/ChartHelper-dbg.js +1 -1
  221. package/packages/sap.fe.macros/src/sap/fe/macros/chart/ChartHelper.js +1 -1
  222. package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldHelper-dbg.js +81 -9
  223. package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldHelper.js +1 -1
  224. package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldRuntime-dbg.js +13 -3
  225. package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldRuntime.js +1 -1
  226. package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldTemplating-dbg.js +5 -5
  227. package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldTemplating.js +1 -1
  228. package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldTemplating.ts +4 -4
  229. package/packages/sap.fe.macros/src/sap/fe/macros/field/QuickViewLinkContactContent.fragment.xml +1 -7
  230. package/packages/sap.fe.macros/src/sap/fe/macros/field/QuickViewLinkDelegate-dbg.js +5 -3
  231. package/packages/sap.fe.macros/src/sap/fe/macros/field/QuickViewLinkDelegate.js +1 -1
  232. package/packages/sap.fe.macros/src/sap/fe/macros/field/QuickViewLinkForContact.fragment.xml +1 -1
  233. package/packages/sap.fe.macros/src/sap/fe/macros/formcontainer/FormContainerRuntime-dbg.js +46 -0
  234. package/packages/sap.fe.macros/src/sap/fe/macros/formcontainer/FormContainerRuntime.js +6 -0
  235. package/packages/sap.fe.macros/src/sap/fe/macros/internal/Field.fragment.xml +17 -8
  236. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/FieldStructure.fragment.xml +26 -16
  237. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/File.fragment.xml +1 -0
  238. package/packages/sap.fe.macros/src/sap/fe/macros/internal/helpers/DataPointTemplating-dbg.js +4 -13
  239. package/packages/sap.fe.macros/src/sap/fe/macros/internal/helpers/DataPointTemplating.js +1 -1
  240. package/packages/sap.fe.macros/src/sap/fe/macros/internal/helpers/DataPointTemplating.ts +10 -10
  241. package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/TableDelegate-dbg.js +5 -3
  242. package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/TableDelegate.js +1 -1
  243. package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueListHelper-dbg.js +72 -8
  244. package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueListHelper.js +1 -1
  245. package/packages/sap.fe.macros/src/sap/fe/macros/library-dbg.js +1 -1
  246. package/packages/sap.fe.macros/src/sap/fe/macros/library-h2-preload.js +12 -11
  247. package/packages/sap.fe.macros/src/sap/fe/macros/library-h2-preload.js.map +1 -1
  248. package/packages/sap.fe.macros/src/sap/fe/macros/library-preload.js +93 -91
  249. package/packages/sap.fe.macros/src/sap/fe/macros/library-preload.js.map +4 -4
  250. package/packages/sap.fe.macros/src/sap/fe/macros/library.js +1 -1
  251. package/packages/sap.fe.macros/src/sap/fe/macros/manifest.json +9 -9
  252. package/packages/sap.fe.macros/src/sap/fe/macros/massedit/MassEditRuntime-dbg.js +1 -1
  253. package/packages/sap.fe.macros/src/sap/fe/macros/massedit/MassEditRuntime.js +1 -1
  254. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle.properties +5 -0
  255. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ar.properties +2 -2
  256. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_bg.properties +2 -2
  257. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ca.properties +2 -2
  258. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_cs.properties +2 -2
  259. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_cy.properties +2 -2
  260. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_da.properties +2 -2
  261. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_de.properties +2 -2
  262. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_el.properties +2 -2
  263. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_en.properties +1 -1
  264. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_en_GB.properties +1 -1
  265. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_en_US_sappsd.properties +3 -0
  266. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_es.properties +2 -2
  267. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_es_MX.properties +2 -2
  268. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_et.properties +2 -2
  269. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_fi.properties +2 -2
  270. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_fr.properties +2 -2
  271. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_fr_CA.properties +2 -2
  272. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_hi.properties +2 -2
  273. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_hr.properties +2 -2
  274. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_hu.properties +2 -2
  275. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_id.properties +2 -2
  276. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_it.properties +2 -2
  277. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_iw.properties +2 -2
  278. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ja.properties +3 -3
  279. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_kk.properties +2 -2
  280. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ko.properties +2 -2
  281. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_lt.properties +2 -2
  282. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_lv.properties +2 -2
  283. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ms.properties +2 -2
  284. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_nl.properties +2 -2
  285. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_no.properties +2 -2
  286. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_pl.properties +2 -2
  287. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_pt.properties +2 -2
  288. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_pt_PT.properties +2 -2
  289. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ro.properties +2 -2
  290. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ru.properties +2 -2
  291. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_sh.properties +2 -2
  292. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_sk.properties +2 -2
  293. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_sl.properties +2 -2
  294. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_sv.properties +2 -2
  295. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_th.properties +2 -2
  296. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_tr.properties +2 -2
  297. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_uk.properties +2 -2
  298. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_vi.properties +2 -2
  299. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_zh_CN.properties +2 -2
  300. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_zh_TW.properties +2 -2
  301. package/packages/sap.fe.macros/src/sap/fe/macros/microchart/fragments/MicroChartTitle.fragment.xml +21 -11
  302. package/packages/sap.fe.macros/src/sap/fe/macros/microchart/fragments/RadialMicroChart.fragment.xml +2 -1
  303. package/packages/sap.fe.macros/src/sap/fe/macros/resources.json +149 -110
  304. package/packages/sap.fe.macros/src/sap/fe/macros/table/Actions.fragment.xml +3 -0
  305. package/packages/sap.fe.macros/src/sap/fe/macros/table/ColumnContent.fragment.xml +70 -29
  306. package/packages/sap.fe.macros/src/sap/fe/macros/table/TableHelper-dbg.js +53 -36
  307. package/packages/sap.fe.macros/src/sap/fe/macros/table/TableHelper.js +1 -1
  308. package/packages/sap.fe.macros/src/sap/fe/macros/table/Utils-dbg.js +1 -1
  309. package/packages/sap.fe.macros/src/sap/fe/macros/table/Utils.js +1 -1
  310. package/packages/sap.fe.macros/src/sap/fe/macros/table/delegates/TableDelegate-dbg.js +3 -4
  311. package/packages/sap.fe.macros/src/sap/fe/macros/table/delegates/TableDelegate.js +1 -1
  312. package/packages/sap.fe.macros/test/sap/fe/macros/designtime/api.json +2 -2
  313. package/packages/sap.fe.macros/test/sap/fe/macros/designtime/apiref/api.json +1 -1
  314. package/packages/sap.fe.macros/test/sap/fe/macros/designtime/codeassistance/Library.xmlmeta.json +1 -1
  315. package/packages/sap.fe.macros/test/sap/fe/macros/jest/ChartDelegate.spec.js +844 -0
  316. package/packages/sap.fe.macros/test/sap/fe/macros/jest/ChartDelegate.spec.ts +833 -0
  317. package/packages/sap.fe.macros/test/sap/fe/macros/jest/ChartHelper.spec.js +495 -0
  318. package/packages/sap.fe.macros/test/sap/fe/macros/jest/ChartHelper.spec.ts +440 -0
  319. package/packages/sap.fe.macros/test/sap/fe/macros/jest/ChartUtils.spec.js +469 -0
  320. package/packages/sap.fe.macros/test/sap/fe/macros/jest/ChartUtils.spec.ts +448 -0
  321. package/packages/sap.fe.macros/test/sap/fe/macros/jest/CommonUtils.spec.js +94 -0
  322. package/packages/sap.fe.macros/test/sap/fe/macros/jest/CommonUtils.spec.ts +70 -0
  323. package/packages/sap.fe.macros/test/sap/fe/macros/jest/DatapointMacro.spec.js +12 -1
  324. package/packages/sap.fe.macros/test/sap/fe/macros/jest/DatapointMacro.spec.ts +11 -0
  325. package/packages/sap.fe.macros/test/sap/fe/macros/jest/DelegateUtil.spec.js +61 -0
  326. package/packages/sap.fe.macros/test/sap/fe/macros/jest/FieldHelper.spec.js +46 -0
  327. package/packages/sap.fe.macros/test/sap/fe/macros/jest/FieldHelper.spec.ts +30 -0
  328. package/packages/sap.fe.macros/test/sap/fe/macros/jest/FieldMacroDataFieldTypes.spec.js +13 -1
  329. package/packages/sap.fe.macros/test/sap/fe/macros/jest/FieldMacroDataFieldTypes.spec.ts +11 -0
  330. package/packages/sap.fe.macros/test/sap/fe/macros/jest/FormElement.spec.js +66 -0
  331. package/packages/sap.fe.macros/test/sap/fe/macros/jest/FormElement.spec.ts +35 -0
  332. package/packages/sap.fe.macros/test/sap/fe/macros/jest/SimpleFieldMacro.spec.js +48 -1
  333. package/packages/sap.fe.macros/test/sap/fe/macros/jest/SimpleFieldMacro.spec.ts +56 -0
  334. package/packages/sap.fe.macros/test/sap/fe/macros/jest/TableFieldLabel.spec.js +68 -0
  335. package/packages/sap.fe.macros/test/sap/fe/macros/jest/TableFieldLabel.spec.ts +65 -0
  336. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/ChartDelegate.spec.ts.snap +82 -0
  337. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/DatapointMacro.spec.ts.snap +23 -5
  338. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/FieldHelper.spec.ts.snap +47 -0
  339. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/FieldMacroDataFieldTypes.spec.ts.snap +52 -3
  340. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/FormElement.spec.ts.snap +25 -0
  341. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/QuickViewForm.spec.ts.snap +0 -3
  342. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/SimpleFieldMacro.spec.ts.snap +69 -0
  343. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/TableFieldLabel.spec.ts.snap +451 -0
  344. package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/FieldHelper.xml +68 -0
  345. package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/Table.cds +13 -1
  346. package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/TableFieldLabel.cds +152 -0
  347. package/packages/sap.fe.macros/test/sap/fe/macros/jest/field/FieldRuntime.spec.js +116 -0
  348. package/packages/sap.fe.macros/test/sap/fe/macros/jest/field/FieldRuntime.spec.ts +115 -0
  349. package/packages/sap.fe.macros/test/sap/fe/macros/jest/form/FormElement.spec.js +86 -0
  350. package/packages/sap.fe.macros/test/sap/fe/macros/jest/form/FormElement.spec.ts +54 -0
  351. package/packages/sap.fe.macros/test/sap/fe/macros/jest/form/__snapshots__/FormElement.spec.ts.snap +33 -0
  352. package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/Actions.spec.js +154 -0
  353. package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/Actions.spec.ts +128 -0
  354. package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/delegates/TableDelegate.spec.js +7 -2
  355. package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/delegates/TableDelegate.spec.ts +23 -12
  356. package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/delegates/__snapshots__/TableDelegate.spec.ts.snap +1 -1
  357. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/index.json +0 -5
  358. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FieldHelperTemplate.qunit.js +1 -1
  359. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FormElementTemplating.qunit.js +1 -1
  360. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/TableHelper.qunit.js +108 -1
  361. package/packages/sap.fe.navigation/src/sap/fe/navigation/.library +1 -1
  362. package/packages/sap.fe.navigation/src/sap/fe/navigation/.theming +1 -1
  363. package/packages/sap.fe.navigation/src/sap/fe/navigation/library-dbg.js +1 -1
  364. package/packages/sap.fe.navigation/src/sap/fe/navigation/library-h2-preload.js +2 -2
  365. package/packages/sap.fe.navigation/src/sap/fe/navigation/library-preload.js +2 -2
  366. package/packages/sap.fe.navigation/src/sap/fe/navigation/library.js +1 -1
  367. package/packages/sap.fe.navigation/src/sap/fe/navigation/manifest.json +3 -3
  368. package/packages/sap.fe.navigation/test/sap/fe/navigation/designtime/api.json +1 -1
  369. package/packages/sap.fe.navigation/test/sap/fe/navigation/designtime/apiref/api.json +1 -1
  370. package/packages/sap.fe.navigation/test/sap/fe/navigation/designtime/codeassistance/Library.xmlmeta.json +1 -1
  371. package/packages/sap.fe.placeholder/src/sap/fe/placeholder/.library +1 -1
  372. package/packages/sap.fe.placeholder/src/sap/fe/placeholder/.theming +1 -1
  373. package/packages/sap.fe.placeholder/src/sap/fe/placeholder/library-dbg.js +1 -1
  374. package/packages/sap.fe.placeholder/src/sap/fe/placeholder/library-h2-preload.js +2 -2
  375. package/packages/sap.fe.placeholder/src/sap/fe/placeholder/library-preload.js +4 -4
  376. package/packages/sap.fe.placeholder/src/sap/fe/placeholder/library-preload.js.map +1 -1
  377. package/packages/sap.fe.placeholder/src/sap/fe/placeholder/library.js +1 -1
  378. package/packages/sap.fe.placeholder/src/sap/fe/placeholder/manifest.json +3 -3
  379. package/packages/sap.fe.placeholder/src/sap/fe/placeholder/resources.json +3 -3
  380. package/packages/sap.fe.placeholder/src/sap/fe/placeholder/view/PlaceholderALP.fragment.html +1 -1
  381. package/packages/sap.fe.placeholder/src/sap/fe/placeholder/view/PlaceholderOVP.fragment.html +1 -1
  382. package/packages/sap.fe.placeholder/test/sap/fe/placeholder/designtime/api.json +1 -1
  383. package/packages/sap.fe.placeholder/test/sap/fe/placeholder/designtime/apiref/api.json +1 -1
  384. package/packages/sap.fe.templates/src/sap/fe/templates/.library +1 -1
  385. package/packages/sap.fe.templates/src/sap/fe/templates/.theming +1 -1
  386. package/packages/sap.fe.templates/src/sap/fe/templates/AnalyticalListPage/manifest.json +2 -2
  387. package/packages/sap.fe.templates/src/sap/fe/templates/ListComponent-dbg.js +1 -1
  388. package/packages/sap.fe.templates/src/sap/fe/templates/ListComponent.js +1 -1
  389. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/ListReport.view.xml +2 -2
  390. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/ListReportController-dbg.controller.js +91 -60
  391. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/ListReportController.controller.js +1 -1
  392. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/manifest.json +2 -2
  393. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/ViewState-dbg.js +31 -5
  394. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/ViewState.js +1 -1
  395. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/resources.json +5 -5
  396. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/AnnotationHelper-dbg.js +2 -2
  397. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/AnnotationHelper.js +1 -1
  398. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/Component-dbg.js +18 -1
  399. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/Component.js +1 -1
  400. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/ObjectPageController-dbg.controller.js +114 -85
  401. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.js +1 -1
  402. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/controls/StashableHBox-dbg.js +8 -0
  403. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/controls/StashableHBox.js +1 -1
  404. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/manifest.json +2 -2
  405. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/overrides/ViewState-dbg.js +23 -3
  406. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/overrides/ViewState.js +1 -1
  407. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/resources.json +15 -15
  408. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/templating/ObjectPageTemplating-dbg.js +6 -5
  409. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/templating/ObjectPageTemplating.js +1 -1
  410. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/templating/ObjectPageTemplating.ts +6 -4
  411. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/HeaderDataPointTitle.fragment.xml +26 -16
  412. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/ObjectPageHeaderForm.fragment.xml +5 -5
  413. package/packages/sap.fe.templates/src/sap/fe/templates/RootContainer/controller/Fcl-dbg.controller.js +63 -9
  414. package/packages/sap.fe.templates/src/sap/fe/templates/RootContainer/controller/Fcl.controller.js +1 -1
  415. package/packages/sap.fe.templates/src/sap/fe/templates/RootContainer/controller/NavContainer-dbg.controller.js +54 -32
  416. package/packages/sap.fe.templates/src/sap/fe/templates/RootContainer/controller/NavContainer.controller.js +1 -1
  417. package/packages/sap.fe.templates/src/sap/fe/templates/RootContainer/controller/RootContainerBaseController-dbg.js +24 -21
  418. package/packages/sap.fe.templates/src/sap/fe/templates/RootContainer/controller/RootContainerBaseController.js +1 -1
  419. package/packages/sap.fe.templates/src/sap/fe/templates/RootContainer/view/Fcl.view.xml +2 -1
  420. package/packages/sap.fe.templates/src/sap/fe/templates/RootContainer/view/NavContainer.view.xml +1 -1
  421. package/packages/sap.fe.templates/src/sap/fe/templates/controls/Table.fragment.xml +2 -0
  422. package/packages/sap.fe.templates/src/sap/fe/templates/library-dbg.js +1 -1
  423. package/packages/sap.fe.templates/src/sap/fe/templates/library-h2-preload.js +8 -9
  424. package/packages/sap.fe.templates/src/sap/fe/templates/library-h2-preload.js.map +1 -1
  425. package/packages/sap.fe.templates/src/sap/fe/templates/library-preload.js +23 -30
  426. package/packages/sap.fe.templates/src/sap/fe/templates/library-preload.js.map +4 -4
  427. package/packages/sap.fe.templates/src/sap/fe/templates/library.js +1 -1
  428. package/packages/sap.fe.templates/src/sap/fe/templates/manifest.json +13 -13
  429. package/packages/sap.fe.templates/src/sap/fe/templates/resources.json +51 -60
  430. package/packages/sap.fe.templates/test/sap/fe/templates/demokit/apps/itelo/webapp/manifest.json +1 -1
  431. package/packages/sap.fe.templates/test/sap/fe/templates/designtime/api.json +1 -1
  432. package/packages/sap.fe.templates/test/sap/fe/templates/designtime/apiref/api.json +1 -1
  433. package/packages/sap.fe.templates/test/sap/fe/templates/designtime/codeassistance/Library.xmlmeta.json +1 -1
  434. package/packages/sap.fe.templates/test/sap/fe/templates/jest/ObjectPage/view/fragments/HeaderFacet.spec.js +95 -0
  435. package/packages/sap.fe.templates/test/sap/fe/templates/jest/ObjectPage/view/fragments/HeaderFacet.spec.ts +66 -0
  436. package/packages/sap.fe.templates/test/sap/fe/templates/jest/ObjectPage/view/fragments/ObjectPageHeaderForm.spec.js +134 -0
  437. package/packages/sap.fe.templates/test/sap/fe/templates/jest/ObjectPage/view/fragments/ObjectPageHeaderForm.spec.ts +94 -0
  438. package/packages/sap.fe.templates/test/sap/fe/templates/jest/ObjectPage/view/fragments/__snapshots__/HeaderFacet.spec.ts.snap +61 -0
  439. package/packages/sap.fe.templates/test/sap/fe/templates/jest/ObjectPage/view/fragments/__snapshots__/ObjectPageHeaderForm.spec.ts.snap +53 -0
  440. package/packages/sap.fe.test/src/sap/fe/test/.library +1 -1
  441. package/packages/sap.fe.test/src/sap/fe/test/.theming +1 -1
  442. package/packages/sap.fe.test/src/sap/fe/test/FCLView-dbg.js +0 -6
  443. package/packages/sap.fe.test/src/sap/fe/test/FCLView.js +1 -1
  444. package/packages/sap.fe.test/src/sap/fe/test/Flexibility-dbg.js +14 -3
  445. package/packages/sap.fe.test/src/sap/fe/test/Flexibility.js +1 -1
  446. package/packages/sap.fe.test/src/sap/fe/test/JestTemplatingHelper-dbg.js +85 -8
  447. package/packages/sap.fe.test/src/sap/fe/test/JestTemplatingHelper.js +1 -1
  448. package/packages/sap.fe.test/src/sap/fe/test/JestTemplatingHelper.ts +54 -2
  449. package/packages/sap.fe.test/src/sap/fe/test/ListReport-dbg.js +0 -11
  450. package/packages/sap.fe.test/src/sap/fe/test/ListReport.js +1 -1
  451. package/packages/sap.fe.test/src/sap/fe/test/ObjectPage-dbg.js +0 -38
  452. package/packages/sap.fe.test/src/sap/fe/test/ObjectPage.js +1 -1
  453. package/packages/sap.fe.test/src/sap/fe/test/TemplatePage-dbg.js +0 -12
  454. package/packages/sap.fe.test/src/sap/fe/test/TemplatePage.js +1 -1
  455. package/packages/sap.fe.test/src/sap/fe/test/UI5MockHelper-dbg.js +22 -1
  456. package/packages/sap.fe.test/src/sap/fe/test/UI5MockHelper.js +1 -1
  457. package/packages/sap.fe.test/src/sap/fe/test/UI5MockHelper.ts +14 -0
  458. package/packages/sap.fe.test/src/sap/fe/test/api/BaseAPI-dbg.js +21 -0
  459. package/packages/sap.fe.test/src/sap/fe/test/api/DialogAPI-dbg.js +9 -5
  460. package/packages/sap.fe.test/src/sap/fe/test/api/DialogAPI.js +1 -1
  461. package/packages/sap.fe.test/src/sap/fe/test/api/DialogActions-dbg.js +18 -5
  462. package/packages/sap.fe.test/src/sap/fe/test/api/DialogActions.js +1 -1
  463. package/packages/sap.fe.test/src/sap/fe/test/api/DialogAssertions-dbg.js +25 -5
  464. package/packages/sap.fe.test/src/sap/fe/test/api/DialogAssertions.js +1 -1
  465. package/packages/sap.fe.test/src/sap/fe/test/api/EditState-dbg.js +9 -0
  466. package/packages/sap.fe.test/src/sap/fe/test/api/EditState.js +1 -1
  467. package/packages/sap.fe.test/src/sap/fe/test/api/FilterBarActions-dbg.js +38 -4
  468. package/packages/sap.fe.test/src/sap/fe/test/api/FilterBarActions.js +1 -1
  469. package/packages/sap.fe.test/src/sap/fe/test/api/FormAssertions-dbg.js +33 -4
  470. package/packages/sap.fe.test/src/sap/fe/test/api/FormAssertions.js +1 -1
  471. package/packages/sap.fe.test/src/sap/fe/test/api/TableActions-dbg.js +1 -1
  472. package/packages/sap.fe.test/src/sap/fe/test/library-dbg.js +1 -1
  473. package/packages/sap.fe.test/src/sap/fe/test/library-h2-preload.js +3 -3
  474. package/packages/sap.fe.test/src/sap/fe/test/library-preload.js +23 -16
  475. package/packages/sap.fe.test/src/sap/fe/test/library-preload.js.map +3 -3
  476. package/packages/sap.fe.test/src/sap/fe/test/library.js +1 -1
  477. package/packages/sap.fe.test/src/sap/fe/test/manifest.json +3 -3
  478. package/packages/sap.fe.test/src/sap/fe/test/resources.json +36 -34
  479. package/packages/sap.fe.test/test/sap/fe/test/designtime/api.json +1 -1
  480. package/packages/sap.fe.test/test/sap/fe/test/designtime/apiref/api.json +1 -1
  481. package/packages/sap.fe.test/test/sap/fe/test/designtime/codeassistance/Library.jsmeta.json +1 -1
  482. package/packages/sap.fe.test/test/sap/fe/test/designtime/codeassistance/Library.xmlmeta.json +1 -1
  483. package/packages/sap.fe.common/test/sap/fe/common/relnotes/changes-1.96.json +0 -49
  484. package/packages/sap.fe.core/test/sap/fe/core/relnotes/changes-1.96.json +0 -189
  485. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FieldRuntime.qunit.js +0 -73
  486. package/packages/sap.fe.macros/test/sap/fe/macros/relnotes/changes-1.96.json +0 -160
  487. package/packages/sap.fe.placeholder/test/sap/fe/placeholder/relnote/changes-1.96.json +0 -17
  488. package/packages/sap.fe.templates/src/sap/fe/templates/controls/OverflowToolbarButtonHover-dbg.js +0 -26
  489. package/packages/sap.fe.templates/src/sap/fe/templates/controls/OverflowToolbarButtonHover.js +0 -6
  490. package/packages/sap.fe.templates/test/sap/fe/templates/relnotes/changes-1.96.json +0 -153
@@ -31,13 +31,13 @@ return B;});
31
31
  sap.ui.predefine('sap/fe/test/ConfirmDialog',["sap/ui/test/OpaBuilder","sap/ui/test/Opa5","sap/fe/test/Utils"],function(O,a,U){"use strict";
32
32
  function r(c){if(c.testWindow){c.testWindow.confirm=c.testWindowConfirm;delete c.testWindow;delete c.testWindowConfirm;}}
33
33
  return{create:function(){return{actions:{iSetNextConfirmAnswer:function(c,C){return O.create(this).do(function(){var t=a.getWindow(),f=t.confirm;function b(m){r(C);C.confirmed=c;C.message=m;return c;}delete C.confirmed;delete C.message;C.testWindow=t;C.testWindowConfirm=f;t.confirm=b;}).description(U.formatMessage("Next confirmation dialog will be {0}",c?"accepted":"refused")).execute();}},assertions:{confirmDialogHasBeenDisplayed:function(e,c){return O.create(this).check(function(){return c&&c.confirmed===e;},true).description(U.formatMessage("Confirm dialog has been displayed and {0}",e?"accepted":"refused")).execute();},confirmDialogHasNotBeenDisplayed:function(c){return O.create(this).check(function(){return c&&!("confirmed"in c);},true).success(function(){r(c);}).description("No confirm dialog has been displayed").execute();}}};}};});
34
- sap.ui.predefine('sap/fe/test/FCLView',["sap/ui/test/OpaBuilder"],function(O){"use strict";return{actions:{iEnterFullScreenMode:function(){return O.create(this).hasType("sap.m.OverflowToolbarButton").hasProperties({icon:"sap-icon://full-screen"}).description("Entering the FullScreen Button").do(function(b){b.fireHover();}).doPress().execute();},iExitFullScreenMode:function(){return O.create(this).hasType("sap.m.OverflowToolbarButton").hasProperties({icon:"sap-icon://exit-full-screen"}).description("Exiting Full screen mode").do(function(b){b.fireHover();}).doPress().execute();},iCloseThisColumn:function(){return O.create(this).hasType("sap.m.OverflowToolbarButton").hasProperties({icon:"sap-icon://decline"}).doPress().description("Close FCL column for object page").execute();}},assertions:{iCheckActionButton:function(v,i,b){if(!b){b=i;}return O.create(this).hasType("sap.uxap.ObjectPageDynamicHeaderTitle").check(function(h){var H=h[0],e=H.getNavigationActions().filter(function(B){return B.getIcon&&B.getIcon()===i&&B.getVisible();});return v?e.length!==0:e.length===0;}).description((v?"Seeing":"Not seeing")+" the "+b+" Button").execute();},iCheckFullScreenButton:function(v){return this.iCheckActionButton(v,"sap-icon://full-screen","Fullscreen");},iCheckFullScreenExitButton:function(v){return this.iCheckActionButton(v,"sap-icon://exit-full-screen","Exit Fullscreen");},iCheckCloseColumnButton:function(v){return this.iCheckActionButton(v,"sap-icon://decline","Close Column");},iSeeEndColumnFullScreen:function(){return O.create(this).hasType("sap.m.OverflowToolbarButton").check(function(b){var f=b.some(function(B){return B.getProperty("icon")==="sap-icon://full-screen";});return f===false;},true).description("No FCL displayed").execute();}}};});
34
+ sap.ui.predefine('sap/fe/test/FCLView',["sap/ui/test/OpaBuilder"],function(O){"use strict";return{actions:{iEnterFullScreenMode:function(){return O.create(this).hasType("sap.m.OverflowToolbarButton").hasProperties({icon:"sap-icon://full-screen"}).description("Entering the FullScreen Button").doPress().execute();},iExitFullScreenMode:function(){return O.create(this).hasType("sap.m.OverflowToolbarButton").hasProperties({icon:"sap-icon://exit-full-screen"}).description("Exiting Full screen mode").doPress().execute();},iCloseThisColumn:function(){return O.create(this).hasType("sap.m.OverflowToolbarButton").hasProperties({icon:"sap-icon://decline"}).doPress().description("Close FCL column for object page").execute();}},assertions:{iCheckActionButton:function(v,i,b){if(!b){b=i;}return O.create(this).hasType("sap.uxap.ObjectPageDynamicHeaderTitle").check(function(h){var H=h[0],e=H.getNavigationActions().filter(function(B){return B.getIcon&&B.getIcon()===i&&B.getVisible();});return v?e.length!==0:e.length===0;}).description((v?"Seeing":"Not seeing")+" the "+b+" Button").execute();},iCheckFullScreenButton:function(v){return this.iCheckActionButton(v,"sap-icon://full-screen","Fullscreen");},iCheckFullScreenExitButton:function(v){return this.iCheckActionButton(v,"sap-icon://exit-full-screen","Exit Fullscreen");},iCheckCloseColumnButton:function(v){return this.iCheckActionButton(v,"sap-icon://decline","Close Column");},iSeeEndColumnFullScreen:function(){return O.create(this).hasType("sap.m.OverflowToolbarButton").check(function(b){var f=b.some(function(B){return B.getProperty("icon")==="sap-icon://full-screen";});return f===false;},true).description("No FCL displayed").execute();}}};});
35
35
  sap.ui.predefine('sap/fe/test/Flexibility',["sap/ui/test/Opa5","sap/ui/test/OpaBuilder","sap/ui/qunit/QUnitUtils"],function(O,a,Q){"use strict";
36
36
  function g(f){var i=new RegExp("fe::HeaderFacetContainer::"+f+"$");return i;}
37
37
  function b(i){var I=new RegExp("fe::FacetSection::"+i+"-anchor$");return I;}
38
38
  function c(i){return new RegExp("fe::Form::(.+)"+i+"_FormElement"+"$");}
39
39
  function d(i,C){var h=function(o){var e=C?o.getElementInstance().getParent():o.getElementInstance(),E=e&&e.getId();return typeof i==="string"?E===i:i.test(E);};return h;}
40
- return{actions:{iExecuteById:function(i,D){return a.create(this).viewId(null).hasId(i).doPress().description(D).execute();},iExecuteMeArea:function(){return this.iExecuteById("meAreaHeaderButton","Me Area");},iExecuteAdaptUI:function(){return this.iExecuteById(/RTA_Plugin_ActionButton$/,"Adapt UI");},iExecuteAdaptation:function(){return this.iExecuteById(/adaptationSwitcherButton$/,"Adaptation");},iExecuteNavigation:function(){return this.iExecuteById(/navigationSwitcherButton$/,"Navigation");},iWaitUntilTheBusyIndicatorIsGone:function(){return a.create(this).viewId(null).hasId("mainShell").has(function(r){return r.getBusy()===false;}).timeout(180).description("Busy indicator is gone").execute();},iExecuteRightContextMenuById:function(i,D,C){var h=d(i,C);return a.create(this).viewId(null).hasType("sap.ui.dt.ElementOverlay").has(h).do(function(o){o.$().trigger("contextmenu");}).description(D).execute();},iExecuteLeftContextMenuById:function(i,D,C){var h=d(i,C);return a.create(this).viewId(null).hasType("sap.ui.dt.ElementOverlay").has(h).doPress().description(D).execute();},iExecuteRightContextMenuOnHeaderContainer:function(){return this.iExecuteRightContextMenuById(/fe::HeaderContentContainer$/,"Context menu for Header Container");},iExecuteRightContextMenuOnVariantManagement:function(){return this.iExecuteRightContextMenuById(/fe::PageVariantManagement$/,"Context menu for Variant Management");},iExecuteRightContextMenuOnTable:function(){return this.iExecuteRightContextMenuById(/fe::table::SalesOrderManage::LineItem$/,"Context menu for Table");},iExecuteRightContextMenuOnFilterBar:function(){return this.iExecuteRightContextMenuById(/fe::FilterBar::SalesOrderManage$/,"Context menu for FilterBar");},iExecuteRightContextMenuOnHeaderFacet:function(f){return this.iExecuteRightContextMenuById(g(f),"Context menu for "+f,true);},iExecuteRightContextMenuOnSection:function(i){return this.iExecuteRightContextMenuById(b(i),"Context menu for "+i,false);},iExecuteRightContextMenuOnFormContainer:function(i){return this.iExecuteRightContextMenuById(new RegExp("fe::FormContainer::"+i+"$"),"Context menu for Form Container "+i);},iExecuteRightContextMenuOnHeaderFacetFormContainer:function(i){return this.iExecuteRightContextMenuById(new RegExp("fe::HeaderFacet::FormContainer::"+i+"$"),"Context menu for HeaderFacet Form Container "+i);},iExecuteRightContextMenuOnHeaderFacetFormElement:function(i){return this.iExecuteRightContextMenuById(new RegExp("fe::HeaderFacet::FormContainer::"+i+"::FormElement"+"$"),"Context menu for HeaderFacet Form Element "+i);},iExecuteLeftContextMenuOnSection:function(i){return this.iExecuteLeftContextMenuById(b(i),"Left context menu for "+i,false);},iExecuteLeftContextMenuOnHeaderFacet:function(f){return this.iExecuteLeftContextMenuById(g(f),"Left Context menu for "+f,true);},iExecuteLeftContextMenuOnHeaderFacetFormContainer:function(i){return this.iExecuteLeftContextMenuById(new RegExp("fe::HeaderFacet::FormContainer::"+i+"$"),"Left context menu for HeaderFacet Form Container "+i);},iExecuteLeftContextMenuOnHeaderFacetFormElement:function(i){return this.iExecuteLeftContextMenuById(new RegExp("fe::HeaderFacet::FormContainer::"+i+"::FormElement"+"$"),"Left context menu for HeaderFacet Form Element "+i);},iExecuteRightContextMenuOnFieldAddedViaRTA:function(i){return this.iExecuteRightContextMenuById(c("_"+i),"Context menu for Field "+i);},iExecuteFocusOnAnchorBar:function(){return a.create(this).viewId(null).hasId(/fe::ObjectPage-anchBar$/).doPress().description("Focus on AnchorBar").execute();},iExecutePopOverActionByIcon:function(i,D){return a.create(this).viewId(null).hasType("sap.ui.unified.MenuItem").hasProperties({icon:"sap-icon://"+i}).isDialogElement().doPress().description(D).execute();},iExecutePopOverActionRename:function(i){return this.iExecutePopOverActionByIcon("edit","Press rename on "+i);},iExecutePopOverActionAdd:function(D){return this.iExecutePopOverActionByIcon("add",D);},iExecutePopOverActionRemove:function(D){return this.iExecutePopOverActionByIcon("less",D);},iExecutePopOverActionCut:function(D){return this.iExecutePopOverActionByIcon("scissors",D);},iExecutePopOverActionPaste:function(D){return this.iExecutePopOverActionByIcon("paste",D);},iExecutePopOverActionDuplicate:function(D){return this.iExecutePopOverActionByIcon("duplicate","Duplicate Variant '"+D+"'");},iExecutePopOverActionSettings:function(D){return this.iExecutePopOverActionByIcon("key-user-settings","Open "+D+" Settings");},iExecutePopOverActionEmbedContent:function(D){return this.iExecutePopOverActionByIcon("tnt/content-enricher","Open "+D+" Settings");},iSwitchToGroupViewInTheFilterBarDialog:function(){return this.iExecutePopOverActionByIcon("group-2","Switch to grouped view in filter bar dialog");},iSelectExpandFiltersgroupInTheFilterBarDialog:function(f){return a.create(this).viewId(null).hasType("sap.m.Panel").hasChildren(a.create(this).hasType("sap.m.Label").hasProperties({text:f})).doOnChildren(a.create(this).hasType("sap.m.Button").doPress()).description("Expanding filter group wiht name '"+f+"'").execute();},iSelectCheckBoxInTheFilterBarDialog:function(t){return a.create(this).viewId(null).hasType("sap.m.CustomListItem").doOnChildren(a.create(this).hasType("sap.m.CustomListItem").hasChildren(a.create(this).hasType("sap.m.Label").hasProperties({text:t})).doOnChildren(a.create(this).hasType("sap.m.CheckBox").doPress())).description("Selected Checkbox next to '"+t+"'").execute();},iChangeVisibilityFilter:function(s){return a.create(this).viewId(null).hasType("sap.m.Bar").isDialogElement().doOnChildren(a.create(this).hasType("sap.m.Select").checkNumberOfMatches(1).doEnterText(s)).description("Changed displayed fields to '"+s+"'").execute();},iEnterUrlInTheTextArea:function(u){return a.create(this).viewId(null).hasType("sap.m.TextArea").hasId("sapUiRtaAddIFrameDialog_EditUrlTA").isDialogElement().doEnterText(u).description("Added URL '"+u+"' to Text Area").execute();},iSwitchToReorderOnDialog:function(){return a.create(this).viewId(null).hasType("sap.m.Button").isDialogElement().hasProperties({text:"Reorder"}).doPress().description("Switch to reorder view").execute();},_iSelectALabelOnTheReorderDialog:function(t){return a.create(this).viewId(null).hasType("sap.m.Label").isDialogElement().hasProperties({text:t}).doPress().execute();},iReorderTableColumn:function(l,n){this._iSelectALabelOnTheReorderDialog(l);var i,I="sap-icon://";if(n===0){i="collapse-group";}else if(n===1){i="slim-arrow-up";}else if(!n===2){i="slim-arrow-down";}else if(!n===3){i="expand-group";}I+=i;return a.create(this).viewId(null).hasType("sap.m.Button").isDialogElement().hasProperties({icon:I}).doPress().description("Reorder '"+l+"'").execute();},iEnterTextInSearchfield:function(n){return a.create(this).viewId(null).hasType("sap.m.SearchField").isDialogElement().checkNumberOfMatches(1).doEnterText(n).description("Enter text: '"+n+"'").execute();},iEnterTextinFilterField:function(t){return a.create(this).hasType("sap.ui.mdc.field.FieldMultiInput").checkNumberOfMatches(1).doEnterText(t).description("Enter text: '"+t+"'").execute();},iSelectAFieldInTheDialog:function(t){return a.create(this).viewId(null).hasType("sap.m.CustomListItem").isDialogElement().has(function(l){var T=l.getTooltip();return typeof t==="string"?T===t:t.test(T);}).doPress().description("Select "+t).execute();},iExecutePopOverOk:function(){return a.create(this).viewId(null).hasType("sap.m.Button").hasProperties({text:"OK"}).isDialogElement().doPress().description("OK Button").execute();},iExecuteSaveAndExit:function(){return this.iExecuteById(/sapUiRta_exit$/,"Save&Exit");},iExecuteUndo:function(){return this.iExecuteById(/sapUiRta_undo$/,"Undo");},iEnterTextForRTAEditableField:function(n){return a.create(this).hasType("sap.ui.dt.ElementOverlay").has(function(o){if(o.$().hasClass("sapUiDtOverlaySelected")){var $=o.$().find(".sapUiRtaEditableField");var e=$.children()[0];return e;}return null;}).do(function(e){e.innerHTML=n;Q.triggerEvent("keypress",e,{which:13,keyCode:13});e.blur();}).description("Enter text: "+n).execute();},iEnterTextForTitle:function(n){return this.iEnterTextForRTAEditableField(n);},iEnterTextForViewField:function(n){return a.create(this).hasType("sap.m.Input").isDialogElement().doEnterText(n,true).description("Entering text: "+n+" as variant name").execute();}},assertions:{iSeeTheFLPToolbar:function(){return a.create(this).hasType("sap.ushell.ui.ShellHeader").hasId("shell-header").description("Seeing the FLP toolbar").execute();},iSeeTheRTAToolbar:function(){return a.create(this).hasType("sap.ui.rta.toolbar.Fiori").description("Seeing the RTA toolbar").execute();},iSeeTheHeaderFacet:function(f){return a.create(this).hasType("sap.fe.templates.ObjectPage.controls.StashableHBox").hasId(g(f)).description("Seeing the Header Facet "+f).execute();},iSeeTheFieldAddedViaRTA:function(i){return a.create(this).hasType("sap.ui.layout.form.FormElement").hasId(c("_"+i)).description("Seeing the Field "+i).execute();},iSeeTheEditableHeaderFieldAddedViaRTA:function(i){return a.create(this).hasType("sap.ui.layout.form.FormElement").hasId(new RegExp("fe::EditableHeaderForm_(.+)_"+i+"_FormElement"+"$")).description("Seeing the Editable Header Field "+i).execute();},iSeeTheEditableHeaderField:function(i){return a.create(this).hasType("sap.ui.layout.form.FormElement").hasId(new RegExp("fe::HeaderFacet::FormContainer::"+i+"::FormElement"+"$")).description("Seeing the Editable Header Field "+i).execute();},iDoNotSeeTheHeaderFacet:function(f){var i=g(f);return a.create(this).hasType("sap.fe.templates.ObjectPage.controls.StashableHBox").check(function(e){var F=e.some(function(o){return typeof i==="string"?o.getId()===i:i.test(o.getId());});return F===false;},true).description("Not seeing the Header Facet "+f).execute();},iDoNotSeeTheField:function(i){return a.create(this).hasType("sap.ui.layout.form.FormElement").check(function(e){var f=e.some(function(h){return h.getId().indexOf(i)>-1;});return f===false;},true).description("Not seeing the Field "+i).execute();},iSeeTheElementOverlayById:function(i,D,C){var h=d(i,C);return a.create(this).hasType("sap.ui.dt.ElementOverlay").has(h).description(D).execute();},iDoNotSeeTheElementOverlayById:function(i,D,C){var h=d(i,C);return a.create(this).hasType("sap.ui.dt.ElementOverlay").check(function(o){var f=o.some(h);return f===false;},true).description(D).execute();},iSeeTheElementOverlayForTheApp:function(){return this.iSeeTheElementOverlayById(/component---appRootView--appContent$/,"Seeing the ElementOverlay for the App");},iSeeThePopover:function(){return a.create(this).hasType("sap.ui.unified.Menu").description("Seeing the Popover").execute();},iSeeTheButtonByIcon:function(i,D){return a.create(this).hasType("sap.m.Button").isDialogElement().hasProperties({icon:i}).description("Seeing "+D).execute();},iSeeTheMenuItemByIcon:function(i,D){return a.create(this).hasType("sap.ui.unified.MenuItem").isDialogElement().hasProperties({icon:i}).description("Seeing "+D).execute();},iDoNotSeeTheButtonByIcon:function(i,D){return a.create(this).hasType("sap.m.Button").isDialogElement().check(function(B){var f=B.some(function(o){return o.getProperty("icon")===i;});return f===false;},true).description("Not seeing "+D).execute();},iDoNotSeeTheMenuItemByIcon:function(i,D){return a.create(this).hasType("sap.ui.unified.MenuItem").isDialogElement().check(function(B){var f=B.some(function(o){return o.getProperty("icon")===i;});return f===false;},true).description("Not seeing "+D).execute();},iSeeTheVariantManagementPopover:function(){return this.iSeeTheButtonByIcon("sap-icon://duplicate","The Popover");},iSeeTheRTAPopover:function(){return this.iSeeTheButtonByIcon("sap-icon://key-user-settings","The RTAPopover");},iSeeTheRenameButton:function(){return this.iSeeTheMenuItemByIcon("sap-icon://edit","the button 'rename'");},iSeeTheAddButton:function(){return this.iSeeTheMenuItemByIcon("sap-icon://add","the button 'add'");},iSeeTheCreateGroupButton:function(){return this.iSeeTheMenuItemByIcon("sap-icon://add-folder","the button 'create group'");},iDoNotSeeTheRenameButton:function(){return this.iDoNotSeeTheMenuItemByIcon("sap-icon://edit","the button 'rename'");},iDoNotSeeTheAddButton:function(){return this.iDoNotSeeTheMenuItemByIcon("sap-icon://add","the button 'add'");},iDoNotSeeTheRemoveButton:function(){return this.iDoNotSeeTheMenuItemByIcon("sap-icon://less","the button 'remove'");},iSeeThePopoverDialog:function(){return a.create(this).hasType("sap.m.Dialog").description("Seeing the Popover Dialog").execute();},iSeeThePopoverDialogWithId:function(i){return a.create(this).hasType("sap.m.Dialog").hasId(i).description("Seeing the Popover Dialog with Id:",i).execute();},iSeeTheHeaderFacetOverlay:function(f){return this.iSeeTheElementOverlayById(g(f),"Seeing the Header Facet: "+f,true);},iDoNotSeeTheHeaderFacetOverlay:function(f){return this.iDoNotSeeTheElementOverlayById(g(f),"Not seeing the Header Facet Overlay: "+f,true);},iSeeTheTitleOnTheUI:function(t){return a.create(this).hasType("sap.m.Title").hasProperties({text:t}).description("Seeing the Title "+t).execute();},iSeeTheLinkOnTheUI:function(t){return a.create(this).hasType("sap.m.Link").hasProperties({text:t}).checkNumberOfMatches(1).description("Seeing the Link "+t).execute();},iCheckTheHeaderFacetTitle:function(f,t){return a.create(this).hasType("sap.fe.templates.ObjectPage.controls.StashableHBox").hasId(g(f)).hasProperties({title:t}).description("The Header Facet "+f+" has title "+t).execute();},iSeeTheSectionTextById:function(i,t){var I=b(i);return a.create(this).hasId(I).hasProperties({text:t}).description("Seeing the section "+i+" with text "+t).execute();},iSeeTheSectionAtPosition:function(i,p){var I=b(i);return a.create(this).hasType("sap.m.Button").hasId(I).has(function(e){var C=e.getParent().getContent(),f=C.findIndex(function(s){return I.test(s.getId());});return f===p;}).description("Seeing the section "+i+" at position "+p).execute();},iSeeTheAddedIFrameInHeader:function(u){return a.create(this).hasType("sap.ui.dt.AggregationOverlay").hasProperties({aggregationName:"headerContent"}).doOnChildren(a.create(this).hasType("sap.ui.fl.util.IFrame")).description("Seeing the application with URL: "+u+" in iFrame in header content container").execute();},iSeeTheIFrameInSectionWithTitle:function(s){return a.create(this).hasType("sap.uxap.ObjectPageSection").hasProperties({title:s}).doOnChildren(a.create(this).hasType("sap.ui.fl.util.IFrame")).description("Seeing iFrame in section with title '"+s+"'").execute();}}};});
40
+ return{actions:{iExecuteById:function(i,D){return a.create(this).viewId(null).hasId(i).doPress().description(D).execute();},iExecuteMeArea:function(){return this.iExecuteById("meAreaHeaderButton","Me Area");},iExecuteAdaptUI:function(){return this.iExecuteById(/RTA_Plugin_ActionButton$/,"Adapt UI");},iExecuteAdaptation:function(){return this.iExecuteById(/adaptationSwitcherButton$/,"Adaptation");},iExecuteNavigation:function(){return this.iExecuteById(/navigationSwitcherButton$/,"Navigation");},iWaitUntilTheBusyIndicatorIsGone:function(){return a.create(this).viewId(null).hasId("mainShell").has(function(r){return r.getBusy()===false;}).timeout(180).description("Busy indicator is gone").execute();},iExecuteRightContextMenuById:function(i,D,C){var h=d(i,C);return a.create(this).viewId(null).hasType("sap.ui.dt.ElementOverlay").has(h).do(function(o){o.$().trigger("contextmenu");}).description(D).execute();},iExecuteLeftContextMenuById:function(i,D,C){var h=d(i,C);return a.create(this).viewId(null).hasType("sap.ui.dt.ElementOverlay").has(h).doPress().description(D).execute();},iExecuteRightContextMenuOnHeaderContainer:function(){return this.iExecuteRightContextMenuById(/fe::HeaderContentContainer$/,"Context menu for Header Container");},iExecuteRightContextMenuOnVariantManagement:function(){return this.iExecuteRightContextMenuById(/fe::PageVariantManagement$/,"Context menu for Variant Management");},iExecuteRightContextMenuOnTable:function(){return this.iExecuteRightContextMenuById(/fe::table::SalesOrderManage::LineItem$/,"Context menu for Table");},iExecuteRightContextMenuOnFilterBar:function(){return this.iExecuteRightContextMenuById(/fe::FilterBar::SalesOrderManage$/,"Context menu for FilterBar");},iExecuteRightContextMenuOnHeaderFacet:function(f){return this.iExecuteRightContextMenuById(g(f),"Context menu for "+f,true);},iExecuteRightContextMenuOnSection:function(i){return this.iExecuteRightContextMenuById(b(i),"Context menu for "+i,false);},iExecuteRightContextMenuOnFormContainer:function(i){return this.iExecuteRightContextMenuById(new RegExp("fe::FormContainer::"+i+"$"),"Context menu for Form Container "+i);},iExecuteRightContextMenuOnHeaderFacetFormContainer:function(i){return this.iExecuteRightContextMenuById(new RegExp("fe::HeaderFacet::FormContainer::"+i+"$"),"Context menu for HeaderFacet Form Container "+i);},iExecuteRightContextMenuOnHeaderFacetFormElement:function(i){return this.iExecuteRightContextMenuById(new RegExp("fe::HeaderFacet::FormContainer::"+i+"::FormElement"+"$"),"Context menu for HeaderFacet Form Element "+i);},iExecuteLeftContextMenuOnSection:function(i){return this.iExecuteLeftContextMenuById(b(i),"Left context menu for "+i,false);},iExecuteLeftContextMenuOnHeaderFacet:function(f){return this.iExecuteLeftContextMenuById(g(f),"Left Context menu for "+f,true);},iExecuteLeftContextMenuOnHeaderFacetFormContainer:function(i){return this.iExecuteLeftContextMenuById(new RegExp("fe::HeaderFacet::FormContainer::"+i+"$"),"Left context menu for HeaderFacet Form Container "+i);},iExecuteLeftContextMenuOnHeaderFacetFormElement:function(i){return this.iExecuteLeftContextMenuById(new RegExp("fe::HeaderFacet::FormContainer::"+i+"::FormElement"+"$"),"Left context menu for HeaderFacet Form Element "+i);},iExecuteRightContextMenuOnFieldAddedViaRTA:function(i){return this.iExecuteRightContextMenuById(c("_"+i),"Context menu for Field "+i);},iExecuteFocusOnAnchorBar:function(){return a.create(this).viewId(null).hasId(/fe::ObjectPage-anchBar$/).doPress().description("Focus on AnchorBar").execute();},iExecutePopOverActionByIcon:function(i,D){return a.create(this).viewId(null).hasType("sap.ui.unified.MenuItem").hasProperties({icon:"sap-icon://"+i}).isDialogElement().doPress().description(D).execute();},iExecutePopOverButtonByIcon:function(i,D){return a.create(this).viewId(null).hasType("sap.m.Button").hasProperties({icon:"sap-icon://"+i}).isDialogElement().doPress().description(D).execute();},iExecutePopOverActionRename:function(i){return this.iExecutePopOverActionByIcon("edit","Press rename on "+i);},iExecutePopOverActionAdd:function(D){return this.iExecutePopOverActionByIcon("add",D);},iExecutePopOverActionRemove:function(D){return this.iExecutePopOverActionByIcon("less",D);},iExecutePopOverActionCut:function(D){return this.iExecutePopOverActionByIcon("scissors",D);},iExecutePopOverActionPaste:function(D){return this.iExecutePopOverActionByIcon("paste",D);},iExecutePopOverActionDuplicate:function(D){return this.iExecutePopOverActionByIcon("duplicate","Duplicate Variant '"+D+"'");},iExecutePopOverActionSettings:function(D){return this.iExecutePopOverActionByIcon("key-user-settings","Open "+D+" Settings");},iExecutePopOverActionEmbedContent:function(D){return this.iExecutePopOverActionByIcon("tnt/content-enricher","Open "+D+" Settings");},iSwitchToGroupViewInTheFilterBarDialog:function(){return this.iExecutePopOverButtonByIcon("group-2","Switch to grouped view in filter bar dialog");},iSelectExpandFiltersgroupInTheFilterBarDialog:function(f){return a.create(this).viewId(null).hasType("sap.m.Panel").hasChildren(a.create(this).hasType("sap.m.Label").hasProperties({text:f})).doOnChildren(a.create(this).hasType("sap.m.Button").doPress()).description("Expanding filter group wiht name '"+f+"'").execute();},iSelectCheckBoxInTheFilterBarDialog:function(t){return a.create(this).viewId(null).hasType("sap.m.CustomListItem").doOnChildren(a.create(this).hasType("sap.m.CustomListItem").hasChildren(a.create(this).hasType("sap.m.Label").hasProperties({text:t})).doOnChildren(a.create(this).hasType("sap.m.CheckBox").doPress())).description("Selected Checkbox next to '"+t+"'").execute();},iChangeVisibilityFilter:function(s){return a.create(this).viewId(null).hasType("sap.m.Bar").isDialogElement().doOnChildren(a.create(this).hasType("sap.m.Select").checkNumberOfMatches(1).doEnterText(s)).description("Changed displayed fields to '"+s+"'").execute();},iEnterUrlInTheTextArea:function(u){return a.create(this).viewId(null).hasType("sap.m.TextArea").hasId("sapUiRtaAddIFrameDialog_EditUrlTA").isDialogElement().doEnterText(u).description("Added URL '"+u+"' to Text Area").execute();},iSwitchToReorderOnDialog:function(){return a.create(this).viewId(null).hasType("sap.m.Button").isDialogElement().hasProperties({text:"Reorder"}).doPress().description("Switch to reorder view").execute();},_iSelectALabelOnTheReorderDialog:function(t){return a.create(this).viewId(null).hasType("sap.m.Label").isDialogElement().hasProperties({text:t}).doPress().execute();},iReorderTableColumn:function(l,n){this._iSelectALabelOnTheReorderDialog(l);var i,I="sap-icon://";if(n===0){i="collapse-group";}else if(n===1){i="slim-arrow-up";}else if(!n===2){i="slim-arrow-down";}else if(!n===3){i="expand-group";}I+=i;return a.create(this).viewId(null).hasType("sap.m.Button").isDialogElement().hasProperties({icon:I}).doPress().description("Reorder '"+l+"'").execute();},iEnterTextInSearchfield:function(n){return a.create(this).viewId(null).hasType("sap.m.SearchField").isDialogElement().checkNumberOfMatches(1).doEnterText(n).description("Enter text: '"+n+"'").execute();},iEnterTextinFilterField:function(t){return a.create(this).hasType("sap.ui.mdc.field.FieldMultiInput").checkNumberOfMatches(1).doEnterText(t).description("Enter text: '"+t+"'").execute();},iSelectAFieldInTheDialog:function(t){return a.create(this).viewId(null).hasType("sap.m.CustomListItem").isDialogElement().has(function(l){var T=l.getTooltip();return typeof t==="string"?T===t:t.test(T);}).doPress().description("Select "+t).execute();},iExecutePopOverOk:function(){return a.create(this).viewId(null).hasType("sap.m.Button").hasProperties({text:"OK"}).isDialogElement().doPress().description("OK Button").execute();},iExecuteSaveAndExit:function(){return this.iExecuteById(/sapUiRta_exit$/,"Save&Exit");},iExecuteUndo:function(){return this.iExecuteById(/sapUiRta_undo$/,"Undo");},iEnterTextForRTAEditableField:function(n){return a.create(this).hasType("sap.ui.dt.ElementOverlay").has(function(o){if(o.$().hasClass("sapUiDtOverlaySelected")){var $=o.$().find(".sapUiRtaEditableField");var e=$.children()[0];return e;}return null;}).do(function(e){e.innerHTML=n;Q.triggerEvent("keypress",e,{which:13,keyCode:13});e.blur();}).description("Enter text: "+n).execute();},iEnterTextForTitle:function(n){return this.iEnterTextForRTAEditableField(n);},iEnterTextForViewField:function(n){return a.create(this).hasType("sap.m.Input").isDialogElement().doEnterText(n,true).description("Entering text: "+n+" as variant name").execute();}},assertions:{iSeeTheFLPToolbar:function(){return a.create(this).hasType("sap.ushell.ui.ShellHeader").hasId("shell-header").description("Seeing the FLP toolbar").execute();},iSeeTheRTAToolbar:function(){return a.create(this).hasType("sap.ui.rta.toolbar.Fiori").description("Seeing the RTA toolbar").execute();},iSeeTheHeaderFacet:function(f){return a.create(this).hasType("sap.fe.templates.ObjectPage.controls.StashableHBox").hasId(g(f)).description("Seeing the Header Facet "+f).execute();},iSeeTheFieldAddedViaRTA:function(i){return a.create(this).hasType("sap.ui.layout.form.FormElement").hasId(c("_"+i)).description("Seeing the Field "+i).execute();},iSeeTheEditableHeaderFieldAddedViaRTA:function(i){return a.create(this).hasType("sap.ui.layout.form.FormElement").hasId(new RegExp("fe::EditableHeaderForm_(.+)_"+i+"_FormElement"+"$")).description("Seeing the Editable Header Field "+i).execute();},iSeeTheEditableHeaderField:function(i){return a.create(this).hasType("sap.ui.layout.form.FormElement").hasId(new RegExp("fe::HeaderFacet::FormContainer::"+i+"::FormElement"+"$")).description("Seeing the Editable Header Field "+i).execute();},iDoNotSeeTheHeaderFacet:function(f){var i=g(f);return a.create(this).hasType("sap.fe.templates.ObjectPage.controls.StashableHBox").check(function(e){var F=e.some(function(o){return typeof i==="string"?o.getId()===i:i.test(o.getId());});return F===false;},true).description("Not seeing the Header Facet "+f).execute();},iDoNotSeeTheField:function(i){return a.create(this).hasType("sap.ui.layout.form.FormElement").check(function(e){var f=e.some(function(h){return h.getId().indexOf(i)>-1;});return f===false;},true).description("Not seeing the Field "+i).execute();},iSeeTheElementOverlayById:function(i,D,C){var h=d(i,C);return a.create(this).hasType("sap.ui.dt.ElementOverlay").has(h).description(D).execute();},iDoNotSeeTheElementOverlayById:function(i,D,C){var h=d(i,C);return a.create(this).hasType("sap.ui.dt.ElementOverlay").check(function(o){var f=o.some(h);return f===false;},true).description(D).execute();},iSeeTheElementOverlayForTheApp:function(){return this.iSeeTheElementOverlayById(/component---appRootView--appContent$/,"Seeing the ElementOverlay for the App");},iSeeThePopover:function(){return a.create(this).hasType("sap.ui.unified.Menu").description("Seeing the Popover").execute();},iSeeTheButtonByIcon:function(i,D){return a.create(this).hasType("sap.m.Button").isDialogElement().hasProperties({icon:i}).description("Seeing "+D).execute();},iSeeTheMenuItemByIcon:function(i,D){return a.create(this).hasType("sap.ui.unified.MenuItem").isDialogElement().hasProperties({icon:i}).description("Seeing "+D).execute();},iDoNotSeeTheButtonByIcon:function(i,D){return a.create(this).hasType("sap.m.Button").isDialogElement().check(function(B){var f=B.some(function(o){return o.getProperty("icon")===i;});return f===false;},true).description("Not seeing "+D).execute();},iDoNotSeeTheMenuItemByIcon:function(i,D){return a.create(this).hasType("sap.ui.unified.MenuItem").isDialogElement().check(function(B){var f=B.some(function(o){return o.getProperty("icon")===i;});return f===false;},true).description("Not seeing "+D).execute();},iSeeTheVariantManagementPopover:function(){return this.iSeeTheMenuItemByIcon("sap-icon://duplicate","The Popover");},iSeeTheRTAPopover:function(){return this.iSeeTheMenuItemByIcon("sap-icon://key-user-settings","The RTAPopover");},iSeeTheRenameButton:function(){return this.iSeeTheMenuItemByIcon("sap-icon://edit","the button 'rename'");},iSeeTheAddButton:function(){return this.iSeeTheMenuItemByIcon("sap-icon://add","the button 'add'");},iSeeTheCreateGroupButton:function(){return this.iSeeTheMenuItemByIcon("sap-icon://add-folder","the button 'create group'");},iDoNotSeeTheRenameButton:function(){return this.iDoNotSeeTheMenuItemByIcon("sap-icon://edit","the button 'rename'");},iDoNotSeeTheAddButton:function(){return this.iDoNotSeeTheMenuItemByIcon("sap-icon://add","the button 'add'");},iDoNotSeeTheRemoveButton:function(){return this.iDoNotSeeTheMenuItemByIcon("sap-icon://less","the button 'remove'");},iSeeThePopoverDialog:function(){return a.create(this).hasType("sap.m.Dialog").description("Seeing the Popover Dialog").execute();},iSeeThePopoverDialogWithId:function(i){return a.create(this).hasType("sap.m.Dialog").hasId(i).description("Seeing the Popover Dialog with Id:",i).execute();},iSeeTheHeaderFacetOverlay:function(f){return this.iSeeTheElementOverlayById(g(f),"Seeing the Header Facet: "+f,true);},iDoNotSeeTheHeaderFacetOverlay:function(f){return this.iDoNotSeeTheElementOverlayById(g(f),"Not seeing the Header Facet Overlay: "+f,true);},iSeeTheTitleOnTheUI:function(t){return a.create(this).hasType("sap.m.Title").hasProperties({text:t}).description("Seeing the Title "+t).execute();},iSeeTheLinkOnTheUI:function(t){return a.create(this).hasType("sap.m.Link").hasProperties({text:t}).checkNumberOfMatches(1).description("Seeing the Link "+t).execute();},iCheckTheHeaderFacetTitle:function(f,t){return a.create(this).hasType("sap.fe.templates.ObjectPage.controls.StashableHBox").hasId(g(f)).hasProperties({title:t}).description("The Header Facet "+f+" has title "+t).execute();},iSeeTheSectionTextById:function(i,t){var I=b(i);return a.create(this).hasId(I).hasProperties({text:t}).description("Seeing the section "+i+" with text "+t).execute();},iSeeTheSectionAtPosition:function(i,p){var I=b(i);return a.create(this).hasType("sap.m.Button").hasId(I).has(function(e){var C=e.getParent().getContent(),f=C.findIndex(function(s){return I.test(s.getId());});return f===p;}).description("Seeing the section "+i+" at position "+p).execute();},iSeeTheAddedIFrameInHeader:function(u){return a.create(this).hasType("sap.ui.dt.AggregationOverlay").hasProperties({aggregationName:"headerContent"}).doOnChildren(a.create(this).hasType("sap.ui.fl.util.IFrame")).description("Seeing the application with URL: "+u+" in iFrame in header content container").execute();},iSeeTheIFrameInSectionWithTitle:function(s){return a.create(this).hasType("sap.uxap.ObjectPageSection").hasProperties({title:s}).doOnChildren(a.create(this).hasType("sap.ui.fl.util.IFrame")).description("Seeing iFrame in section with title '"+s+"'").execute();}}};});
41
41
  sap.ui.predefine('sap/fe/test/FlexibleColumnLayout',["sap/base/util/merge","./TemplatePage","sap/ui/test/OpaBuilder","sap/m/library"],function(m,T,O,l){"use strict";return{create:function(f){return{actions:{iClickFirstColumnExpandButton:function(){return O.create(this).hasId("application-"+f+"-component---appRootView--appContent-midForward").description("Clicking the First Column Expand Button").doPress().execute();},iClickLastColumnExpandButton:function(){return O.create(this).hasId("application-"+f+"-component---appRootView--appContent-midBack").description("Clicking the Last Column Expand Button").doPress().execute();},iClickLastColumnCollapseButton:function(){return O.create(this).hasId("application-"+f+"-component---appRootView--appContent-endForward").doPress().description("Seeing the Last Column Expand Button").execute();},iClickFirstColumnCollapseButton:function(){return O.create(this).hasId("application-"+f+"-component---appRootView--appContent-beginBack").doPress().description("Seeing the Last Column Expand Button").execute();}},assertions:{iSeeFirstColumnExpandButton:function(){return O.create(this).hasId("application-"+f+"-component---appRootView--appContent-midForward").description("Seeing the First Column Expand Button").execute();},iDoNotSeeFirstColumnExpandButton:function(){return O.create(this).hasType("sap.m.Button").check(function(b){var F=b.some(function(B){return(B.getId()==="application-"+f+"-component---appRootView--appContent-midForward");});return F===false;},true).description("Do not see the First Column Expand Button").execute();},iSeeFirstColumnCollapseButton:function(){return O.create(this).hasId("application-"+f+"-component---appRootView--appContent-beginBack").description("Seeing the Last Column Expand Button").execute();},iClickLastColumnCollapseButton:function(){return O.create(this).hasId("application-"+f+"-component---appRootView--appContent-endForward").description("Seeing the Last Column Expand Button").execute();},iSeeLastColumnExpandButton:function(){return O.create(this).hasId("application-"+f+"-component---appRootView--appContent-midBack").description("Seeing the Last Column Expand Button").execute();},iDoNotSeeLastColumnExpandButton:function(){return O.create(this).hasType("sap.m.Button").check(function(b){var F=b.some(function(B){return(B.getId()==="application-"+f+"-component---appRootView--appContent-midBack");});return F===false;},true).description("Do not see the Last Column Expand Button").execute();},iSeeNumberOfColumns:function(n){var L={"OneColumn":1,"TwoColumnsMidExpanded":2,"TwoColumnsBeginExpanded":2,"MidColumnFullScreen":1,"ThreeColumnsMidExpanded":3,"ThreeColumnsEndExpanded":3,"ThreeColumnsMidExpandedEndHidden":2,"ThreeColumnsBeginExpandedEndHidden":2,"EndColumnFullScreen":1};return O.create(this).hasId("application-"+f+"-component---appRootView--appContent").check(function(F){return L[F.getLayout()]===n;},true).description("FCL displays "+n+" columns").execute();},iSeeFullscreen:function(){return O.create(this).hasId("application-"+f+"-component---appRootView--appContent").check(function(F){return F.getLayout()==="MidColumnFullScreen"||F.getLayout()==="EndColumnFullScreen";},true).description("FCL is in fullscreen").execute();},iGetDefaultLayoutOnFirstLevel:function(){return O.create(this).hasId("application-"+f+"-component---appRootView--appContent").hasProperties({layout:"TwoColumnsMidExpanded"}).description("Seeing default layout for FCL on first level: TwoColumnsMidExpanded ").execute();},iGetDefaultLayoutOnSecondLevel:function(){return O.create(this).hasId("application-"+f+"-component---appRootView--appContent").hasProperties({layout:"ThreeColumnsMidExpanded"}).description("Seeing default layout for FCL on second level: ThreeColumnsMidExpanded ").execute();}}};}};});
42
42
  sap.ui.predefine('sap/fe/test/JourneyRunner',["sap/ui/base/Object","sap/ui/test/Opa5","./Utils","./BaseArrangements","./BaseActions","./BaseAssertions","./Shell","sap/ui/test/opaQunit","sap/base/Log","sap/base/util/ObjectPath"],function(B,O,U,a,b,c,S,o,L,d){"use strict";var _=Promise.resolve();var e;
43
43
  var J=B.extend("sap.fe.test.JourneyRunner",{
@@ -62,7 +62,7 @@ sap.ui.predefine('sap/fe/test/ListReport',["sap/fe/test/Utils","./TemplatePage",
62
62
  function h(I){return"fe::table::"+I+"::LineItem";}
63
63
  function i(E){return"fe::Chart::"+E+"::Chart";}
64
64
  function _(o,p){return F.create(o).hasId(p);}
65
- function L(p,A){var s=p.appId,C=p.componentId,j=p.contextPath,E=j?j.substring(1).replace("/","::"):p.entitySet,k=s+"::"+C,S="fe::table::"+E+"::LineItem",l="fe::Chart::"+E+"::Chart",m="fe::FilterBar::"+E,n=m+"::FilterFieldValueHelp::",r=sap.ui.getCore().getLibraryResourceBundle("sap.fe.core"),I="fe::TabMultipleMode",P="fe::ListReport",A=Array.isArray(arguments[1])?arguments[1]:Array.prototype.slice.call(arguments,1);return T.apply(T,[k,{actions:{onTable:function(t){var o;if(t){o=!U.isOfType(t,String)?h(t.property):t;}else{o=S;}return this._onTable({id:o});},onChart:function(v){var o;if(v){o=!U.isOfType(v,String)?i(v.property):v;}else{o=l;}return this._onChart({id:o});},onFilterBar:function(){return this._onFilterBar({id:m});},onHeader:function(){return new H(_(this,P),{id:P});},iCollapseExpandPageHeader:function(o){return this._iCollapseExpandPageHeader(o);},iExecuteActionOnDialog:function(t){return a.create(this).hasType("sap.m.Button").hasProperties({text:t}).isDialogElement().doPress().description("Pressing dialog button '"+t+"'").execute();},iClickLinkWithText:function(t){return a.create(this).hasType("sap.m.Link").hasProperties({text:t}).doPress().description("Navigating via link '"+t+"'").execute();},iOpenIconTabWithTitle:function(N){return a.create(this).hasId(I).has(a.Matchers.aggregation("items",a.Matchers.properties({text:N}))).doPress().description("Selecting Icon Tab "+N).execute();},iSaveVariant:function(v,o,q){var t=U.parseArguments([String,Boolean,Boolean],arguments),u=V.create(this).hasId("fe::PageVariantManagement");if(t[0]){u.doSaveAs(v,o,q).description(U.formatMessage("Saving variant for '{0}' as '{1}' with default='{2}' and applyAutomatically='{3}'","Page Variant",v,!!o,!!q));}else{u.doSave().description(U.formatMessage("Updating current variant for '{0}'","Page Variant"));}return u.execute();},iSelectVariant:function(v){return V.create(this).hasId("fe::PageVariantManagement").doSelectVariant(v).description(U.formatMessage("Selecting variant '{1}' from '{0}'","Page Variant",v)).execute();},iOpenKPICard:function(t){return K.create(this).clickKPITag(t).description("Opening card for KPI '"+t+"'").execute();}},assertions:{onTable:function(t){if(!t){t={id:S};}else{var o=!U.isOfType(t,String)?t.property:t;t={id:h(o)};}return this._onTable(t);},onChart:function(v){var o;if(v){o=!U.isOfType(v,String)?i(v.property):v;}else{o=l;}return this._onChart({id:o});},onFilterBar:function(){return this._onFilterBar({id:m});},onHeader:function(){return new f(_(this,P),{id:P});},onKPICard:function(){return new g(K.create(this));},iSeeTheMessageToast:function(t){return this._iSeeTheMessageToast(t);},iSeeFilterFieldsInFilterBar:function(N,o){if(o){return a.create(this).hasId(m).check(function(q){return(q.getAggregation("layout").isA("sap.fe.core.controls.filterbar.VisualFilterContainer")&&q.getAggregation("layout").getFilterFields().length===N);}).description("Seeing filter bar with "+N+" filter fields").execute();}return a.create(this).hasId(m).hasAggregationLength("filterItems",N).description("Seeing filter bar with "+N+" filter fields").execute();},iSeeTableCellWithActions:function(o,q,B){return a.create(this).hasType("sap.m.ColumnListItem").has(a.Matchers.bindingPath(o)).has(function(t){var u=t.getCells()[q];if(u.isA("sap.fe.macros.MacroAPI")){u=u.getContent();}return u.getMetadata().getElementName()==="sap.m.Button"&&u.getText()===B;}).description("Inline Action is present in the table cell with the Text "+B).execute();},iSeeLinkWithText:function(t){return a.create(this).hasType("sap.m.Link").hasProperties({text:t}).description("Seeing link with text '"+t+"'").execute();},iSeeQuickViewMoreLinksButton:function(){return a.create(this).isDialogElement(true).hasType("sap.m.Button").has(a.Matchers.resourceBundle("text","sap.ui.mdc","info.POPOVER_DEFINE_LINKS")).description("The 'More Links' button found").execute();},iSeeFlpLink:function(D){return a.create(this).hasType("sap.ui.mdc.link.PanelListItem").isDialogElement(true).hasProperties({text:D}).description("FLP link with text '"+D+"' is present").execute();},iSeeHeaderPinnableToggle:function(v){var o=v?"visible":"hidden";return a.create(this).hasType("sap.f.DynamicPageHeader").hasProperties({pinnable:v}).description("The Page Header Pinnable Toggle is "+o).execute();},iSeeContactPopoverWithAvatarImage:function(o){return a.create(this).hasType("sap.ui.mdc.link.Panel").check(function(q){var t=q.some(function(u){return u.src===o;});return t===false;},true).description("Seeing Contact Card with Avatar Image in ListReport").execute();},iSeeLabelWithText:function(t){return a.create(this).hasType("sap.m.Label").hasProperties({text:t}).description("Not Seeing label with text '"+t+"'").execute();},iSeeQuickViewTitleWithText:function(t){return a.create(this).hasType("sap.ui.mdc.link.Panel").check(function(o){var q=o.some(function(u){return u.text===t;});return q===false;},true).description("Seeing QuickView with Title in ListReport").execute();},iSeeSummaryOfAppliedFilters:function(){var o;a.create(this).hasId(m).mustBeVisible(false).do(function(q){o=q.getAssignedFiltersText().filtersText;}).execute();return a.create(this).hasType("sap.f.DynamicPageTitle").has(function(D){return D.getSnappedContent()[0].getText()===o;}).description("The correct text on the collapsed filterbar is displayed").execute();},iSeeDeleteConfirmation:function(){return this._iSeeTheMessageToast(r.getText("C_TRANSACTION_HELPER_OBJECT_PAGE_DELETE_TOAST_SINGULAR"));},iSeePageTitle:function(t){return a.create(this).hasType("sap.f.DynamicPageTitle").hasAggregationProperties("heading",{text:t}).description("Seeing title '"+t+"'").execute();},iSeeVariantTitle:function(t){return a.create(this).hasType("sap.m.Title").hasId("fe::PageVariantManagement-text").hasProperties({text:t}).description("Seeing variant title '"+t+"'").execute();},iSeeControlVMFilterBarTitle:function(t){return a.create(this).hasType("sap.m.Title").hasId(m+"::VariantManagement-text").hasProperties({text:t}).description("Seeing variant title '"+t+"'").execute();},iSeeControlVMTableTitle:function(t,o){var q=o?h(o):S;return a.create(this).hasType("sap.m.Title").hasId(q+"::VM-text").hasProperties({text:t}).description("Seeing variant title '"+t+"'").execute();},iSeeVariantModified:function(o,q){var t;if(q){t=m+"::VariantManagement-modified";}else{t="fe::PageVariantManagement-modified";}o=o===undefined?true:o;if(o){return a.create(this).hasType("sap.m.Label").hasId(t).hasProperties({text:"*"}).description("Seeing variant state as 'modified'").execute();}else{return a.create(this).hasType("sap.m.Label").check(function(u){return!u.some(function(v){return v.getId()===t;});},true).description("Seeing variant state as 'not modified'").execute();}},iSeePageVM:function(o){return F.create(this).hasId("fe::PageVariantManagement").hasState(o).description(U.formatMessage("Seeing page VM with state '{0}'",o)).execute();},iSeeControlVMFilterBar:function(){return a.create(this).hasId(m+"::VariantManagement").description("Seeing control VM - FilterBar").execute();},iSeeDraftIndicator:function(){return a.create(this).hasType("sap.m.Link").hasProperties({text:r.getText("C_DRAFT_POPOVER_ADMIN_DATA_DRAFTINFO_DRAFT_OBJECT")}).description("Draft indicator is visible").execute();},iSeeDraftIndicatorLocked:function(u){var t=r.getText("C_DRAFT_POPOVER_ADMIN_DATA_DRAFTINFO_LOCKED_OBJECT_WITH_OWNER_INFO",[u]);return a.create(this).hasType("sap.m.Link").hasProperties({text:t}).description("Draft indicator is visible and displays '"+t+"'").execute();},iSeeIconTabWithProperties:function(o){return(a.create(this).hasId(I).has(a.Matchers.aggregationMatcher("items",a.Matchers.properties(o))).description(U.formatMessage("Seeing Icon Tab with properties '{0}'",o)).execute());},iSeeNumOfOperators:function(o,q){return a.create(this).hasId(n+o+"-DCP").doOnChildren(a.create(this).hasAggregationLength("items",q)).description("Seeing a value list of condition operators with "+q+" items.").execute();},iCheckValueForFieldInCreateDialog:function(o,v,q){return b.create(this).isDialogElement().hasId(o).hasValue(v).hasProperties({required:!!q}).description(U.formatMessage("Seeing Create dialog parameter '{0}' with value '{1}'",o,v)).execute();},iSeeKPI:function(t,o){var D="Seeing KPI '"+t+"'";if(o){D+=" with properties "+JSON.stringify(o);}return K.create(this).checkKPITag(t,o).description(D).execute();},iSeeKPICard:function(){return K.create(this).checkKPICard().description("Seeing KPI Card").execute();}}}].concat(A));}
65
+ function L(p,A){var s=p.appId,C=p.componentId,j=p.contextPath,E=j?j.substring(1).replace("/","::"):p.entitySet,k=s+"::"+C,S="fe::table::"+E+"::LineItem",l="fe::Chart::"+E+"::Chart",m="fe::FilterBar::"+E,n=m+"::FilterFieldValueHelp::",r=sap.ui.getCore().getLibraryResourceBundle("sap.fe.core"),I="fe::TabMultipleMode",P="fe::ListReport",A=Array.isArray(arguments[1])?arguments[1]:Array.prototype.slice.call(arguments,1);return T.apply(T,[k,{actions:{onTable:function(t){var o;if(t){o=!U.isOfType(t,String)?h(t.property):t;}else{o=S;}return this._onTable({id:o});},onChart:function(v){var o;if(v){o=!U.isOfType(v,String)?i(v.property):v;}else{o=l;}return this._onChart({id:o});},onFilterBar:function(){return this._onFilterBar({id:m});},onHeader:function(){return new H(_(this,P),{id:P});},iCollapseExpandPageHeader:function(o){return this._iCollapseExpandPageHeader(o);},iExecuteActionOnDialog:function(t){return a.create(this).hasType("sap.m.Button").hasProperties({text:t}).isDialogElement().doPress().description("Pressing dialog button '"+t+"'").execute();},iClickLinkWithText:function(t){return a.create(this).hasType("sap.m.Link").hasProperties({text:t}).doPress().description("Navigating via link '"+t+"'").execute();},iOpenIconTabWithTitle:function(N){return a.create(this).hasId(I).has(a.Matchers.aggregation("items",a.Matchers.properties({text:N}))).doPress().description("Selecting Icon Tab "+N).execute();},iSaveVariant:function(v,o,q){var t=U.parseArguments([String,Boolean,Boolean],arguments),u=V.create(this).hasId("fe::PageVariantManagement");if(t[0]){u.doSaveAs(v,o,q).description(U.formatMessage("Saving variant for '{0}' as '{1}' with default='{2}' and applyAutomatically='{3}'","Page Variant",v,!!o,!!q));}else{u.doSave().description(U.formatMessage("Updating current variant for '{0}'","Page Variant"));}return u.execute();},iSelectVariant:function(v){return V.create(this).hasId("fe::PageVariantManagement").doSelectVariant(v).description(U.formatMessage("Selecting variant '{1}' from '{0}'","Page Variant",v)).execute();},iOpenKPICard:function(t){return K.create(this).clickKPITag(t).description("Opening card for KPI '"+t+"'").execute();}},assertions:{onTable:function(t){if(!t){t={id:S};}else{var o=!U.isOfType(t,String)?t.property:t;t={id:h(o)};}return this._onTable(t);},onChart:function(v){var o;if(v){o=!U.isOfType(v,String)?i(v.property):v;}else{o=l;}return this._onChart({id:o});},onFilterBar:function(){return this._onFilterBar({id:m});},onHeader:function(){return new f(_(this,P),{id:P});},onKPICard:function(){return new g(K.create(this));},iSeeTheMessageToast:function(t){return this._iSeeTheMessageToast(t);},iSeeFilterFieldsInFilterBar:function(N,o){if(o){return a.create(this).hasId(m).check(function(q){return(q.getAggregation("layout").isA("sap.fe.core.controls.filterbar.VisualFilterContainer")&&q.getAggregation("layout").getFilterFields().length===N);}).description("Seeing filter bar with "+N+" filter fields").execute();}return a.create(this).hasId(m).hasAggregationLength("filterItems",N).description("Seeing filter bar with "+N+" filter fields").execute();},iSeeTableCellWithActions:function(o,q,B){return a.create(this).hasType("sap.m.ColumnListItem").has(a.Matchers.bindingPath(o)).has(function(t){var u=t.getCells()[q];if(u.isA("sap.fe.macros.MacroAPI")){u=u.getContent();}return u.getMetadata().getElementName()==="sap.m.Button"&&u.getText()===B;}).description("Inline Action is present in the table cell with the Text "+B).execute();},iSeeLinkWithText:function(t){return a.create(this).hasType("sap.m.Link").hasProperties({text:t}).description("Seeing link with text '"+t+"'").execute();},iSeeQuickViewMoreLinksButton:function(){return a.create(this).isDialogElement(true).hasType("sap.m.Button").has(a.Matchers.resourceBundle("text","sap.ui.mdc","info.POPOVER_DEFINE_LINKS")).description("The 'More Links' button found").execute();},iSeeFlpLink:function(D){return a.create(this).hasType("sap.ui.mdc.link.PanelListItem").isDialogElement(true).hasProperties({text:D}).description("FLP link with text '"+D+"' is present").execute();},iSeeHeaderPinnableToggle:function(v){var o=v?"visible":"hidden";return a.create(this).hasType("sap.f.DynamicPageHeader").hasProperties({pinnable:v}).description("The Page Header Pinnable Toggle is "+o).execute();},iSeeContactPopoverWithAvatarImage:function(o){return a.create(this).hasType("sap.ui.mdc.link.Panel").check(function(q){var t=q.some(function(u){return u.src===o;});return t===false;},true).description("Seeing Contact Card with Avatar Image in ListReport").execute();},iSeeLabelWithText:function(t){return a.create(this).hasType("sap.m.Label").hasProperties({text:t}).description("Not Seeing label with text '"+t+"'").execute();},iSeeQuickViewTitleWithText:function(t){return a.create(this).hasType("sap.ui.mdc.link.Panel").check(function(o){var q=o.some(function(u){return u.text===t;});return q===false;},true).description("Seeing QuickView with Title in ListReport").execute();},iSeeSummaryOfAppliedFilters:function(){var o;a.create(this).hasId(m).mustBeVisible(false).do(function(q){o=q.getAssignedFiltersText().filtersText;}).execute();return a.create(this).hasType("sap.f.DynamicPageTitle").has(function(D){return D.getSnappedContent()[0].getText()===o;}).description("The correct text on the collapsed filterbar is displayed").execute();},iSeeDeleteConfirmation:function(){return this._iSeeTheMessageToast(r.getText("C_TRANSACTION_HELPER_OBJECT_PAGE_DELETE_TOAST_SINGULAR"));},iSeePageTitle:function(t){return a.create(this).hasType("sap.f.DynamicPageTitle").hasAggregationProperties("heading",{text:t}).description("Seeing title '"+t+"'").execute();},iSeeVariantTitle:function(t){return a.create(this).hasType("sap.m.Title").hasId("fe::PageVariantManagement-text").hasProperties({text:t}).description("Seeing variant title '"+t+"'").execute();},iSeeControlVMFilterBarTitle:function(t){return a.create(this).hasType("sap.m.Title").hasId(m+"::VariantManagement-text").hasProperties({text:t}).description("Seeing variant title '"+t+"'").execute();},iSeeControlVMTableTitle:function(t,o){var q=o?h(o):S;return a.create(this).hasType("sap.m.Title").hasId(q+"::VM-text").hasProperties({text:t}).description("Seeing variant title '"+t+"'").execute();},iSeeVariantModified:function(o,q){var t;if(q){t=m+"::VariantManagement-modified";}else{t="fe::PageVariantManagement-modified";}o=o===undefined?true:o;if(o){return a.create(this).hasType("sap.m.Label").hasId(t).hasProperties({text:"*"}).description("Seeing variant state as 'modified'").execute();}else{return a.create(this).hasType("sap.m.Label").check(function(u){return!u.some(function(v){return v.getId()===t;});},true).description("Seeing variant state as 'not modified'").execute();}},iSeePageVM:function(o){return F.create(this).hasId("fe::PageVariantManagement").hasState(o).description(U.formatMessage("Seeing page VM with state '{0}'",o)).execute();},iSeeControlVMFilterBar:function(){return a.create(this).hasId(m+"::VariantManagement").description("Seeing control VM - FilterBar").execute();},iSeeDraftIndicator:function(){return a.create(this).hasType("sap.m.Link").hasProperties({text:r.getText("C_DRAFT_POPOVER_ADMIN_DATA_DRAFTINFO_DRAFT_OBJECT")}).description("Draft indicator is visible").execute();},iSeeDraftIndicatorLocked:function(u){var t=r.getText("C_DRAFT_POPOVER_ADMIN_DATA_DRAFTINFO_LOCKED_OBJECT_WITH_OWNER_INFO",[u]);return a.create(this).hasType("sap.m.Link").hasProperties({text:t}).description("Draft indicator is visible and displays '"+t+"'").execute();},iSeeIconTabWithProperties:function(o){return(a.create(this).hasId(I).has(a.Matchers.aggregationMatcher("items",a.Matchers.properties(o))).description(U.formatMessage("Seeing Icon Tab with properties '{0}'",o)).execute());},iSeeNumOfOperators:function(o,q){return a.create(this).hasId(n+o+"-DCP").doOnChildren(a.create(this).hasAggregationLength("items",q)).description("Seeing a value list of condition operators with "+q+" items.").execute();},iSeeKPI:function(t,o){var D="Seeing KPI '"+t+"'";if(o){D+=" with properties "+JSON.stringify(o);}return K.create(this).checkKPITag(t,o).description(D).execute();},iSeeKPICard:function(){return K.create(this).checkKPICard().description("Seeing KPI Card").execute();}}}].concat(A));}
66
66
  return L;});
67
67
  sap.ui.predefine('sap/fe/test/LocationUtil',["sap/ui/test/OpaBuilder","sap/ui/test/Opa5","sap/fe/test/Utils"],function(O,a,U){"use strict";var g=function(r){if(!(typeof r.getController().getRouter==="function")){var w=a.getWindow();return w.window.location.hash;}return r.getController().getRouter().getHashChanger().getHash();};var b=function(f){return new RegExp(U.formatMessage("^application-{0}-component---app(RootView)?$",f));};return{create:function(f){return{actions:{},assertions:{iCheckCurrentHashStartsWith:function(h){return O.create(this).hasId(b(f)).check(function(r){var c=g(r[0]);return c.indexOf(h)===0;}).description("Checking hash starts with "+h).execute();},iCheckCurrentHashDoesNotContain:function(p){return O.create(this).hasId(b(f)).check(function(r){var c=g(r[0]);return c.indexOf(p)===-1;}).description("Checking hash doesn't contain "+p).execute();}}};}};});
68
68
  sap.ui.predefine('sap/fe/test/ObjectPage',["sap/base/util/merge","./TemplatePage","sap/ui/test/OpaBuilder","sap/ui/test/Opa5","sap/fe/test/Utils","sap/fe/test/builder/FEBuilder","sap/fe/test/builder/MacroFieldBuilder","sap/fe/test/builder/OverflowToolbarBuilder","sap/fe/test/api/FooterActionsOP","sap/fe/test/api/FooterAssertionsOP","sap/fe/test/api/HeaderActions","sap/fe/test/api/HeaderAssertions","sap/fe/test/api/FormActions","sap/fe/test/api/FormAssertions","sap/fe/test/api/APIHelper"],function(m,T,O,a,U,F,b,c,d,e,H,f,g,h,A){"use strict";
@@ -73,7 +73,7 @@ function k(v,q){return F.create(v).hasId(q.id);}
73
73
  function l(v,q){var r=F.create(v);if(U.isOfType(q,String)){r.hasType("sap.uxap.ObjectPageSubSection");r.hasProperties({title:q});}else if(q.fieldGroupId){r.hasId(q.fieldGroupId);if(q.fullSubSectionId){r.has(O.Matchers.ancestor(q.fullSubSectionId,false));}}else{r.hasId(q.id);}return r;}
74
74
  function n(s,q){var M,r;if(!U.isOfType(s,String)){if(typeof s.section==="string"&&!s.subSection){r=s.section==="EditableHeaderSection"?"fe::"+s.section+"-anchor":q+"::"+s.section+"-anchor";M=O.Matchers.children(F.Matchers.id(new RegExp(U.formatMessage("{0}$",r))));}else{throw new Error("not supported section and subsection parameters for creating a control id: "+s.section+"/"+s.subSection);}}else{M=O.Matchers.children(F.Matchers.states({controlType:"sap.m.Button",text:s}));}return M;}
75
75
  function o(M,s){if(!M){throw new Error("vMenuAction parameter missing");}var q=s+"::"+M+"-anchor-unifiedmenu";return F.create().hasType("sap.ui.unified.MenuItem").hasId(new RegExp(U.formatMessage("{0}$",q))).doPress().description(U.formatMessage("Executing action '{0}' from currently open action menu",M));}
76
- function p(P,q){var s=P.appId,C=P.componentId,V=s+"::"+C,r=V+"--fe::ObjectPage",t="fe::HeaderFacet",u="fe::ObjectPage-OPHeaderContent",v="fe::FooterBar",w="fe::FacetSection",x="fe::FacetSubSection",y="fe::Form",z="fe::FormContainer",B="fe::HeaderFacet::FormContainer",D=V+"--fe::Breadcrumbs",E="fe::ObjectPage-anchBar",G="fe::Paginator",I="EditableHeaderForm::EditableHeaderTitle",J={DISPLAY:"Display",EDITABLE:"Editable"},R=sap.ui.getCore().getLibraryResourceBundle("sap.fe.core"),K=Array.prototype.slice.call(arguments,1);return T.apply(T,[V,{actions:{onTable:function(L){if(!U.isOfType(L,String)){L={id:i(L.property)};}return this._onTable(L);},onChart:function(L){var M;if(L){M=!U.isOfType(L,String)?j(L.property):L;}return this._onChart({id:M});},onFooter:function(){return new d(_(this,{id:v}),{id:v});},onHeader:function(){return new H(k(this,{id:r}),{id:r,headerId:t,headerContentId:u,viewId:V,paginatorId:G,breadCrumbId:D});},onForm:function(L){if(!U.isOfType(L,String)){if(L.section){L.id=x+"::"+L.section;L.fullSubSectionId=V+"--"+L.id;}if(L.fieldGroup){if(L.isHeaderFacet){L.fieldGroupId=B+"::"+L.fieldGroup;}else{L.fieldGroupId=z+"::"+L.fieldGroup;}}}return new g(l(this,L),L);},iCollapseExpandPageHeader:function(L){return this._iCollapseExpandPageHeader(L);},iClickQuickViewMoreLinksButton:function(){return O.create(this).hasType("sap.m.Button").has(O.Matchers.resourceBundle("text","sap.ui.mdc","info.POPOVER_DEFINE_LINKS")).doPress().description("Pressing 'More Links' button").execute();},iClickLinkWithText:function(L){return O.create(this).hasType("sap.m.Link").hasProperties({text:L}).doPress().description("Navigating via link '"+L+"'").execute();},iCheckLinksCount:function(L){return O.create(this).hasType("sap.ui.mdc.link.PanelListItem").check(function(M){if(M.length===L+1){return true;}else{return false;}},true).description("Seeing QuickView Card with "+L+" target applications in ObjectPage").execute();},iEnableLink:function(L){return O.create(this).hasType("sap.m.ColumnListItem").hasAggregationProperties("cells",{text:L}).isDialogElement().doPress("selectMulti").description("The CheckBox for link "+L+" is selected").execute();},iPressKeyboardShortcutOnSection:function(S,L){return this._iPressKeyboardShortcut(undefined,S,L,"sap.uxap.ObjectPageSection");},iGoToSection:function(S){var L=O.create(this).hasId(E);if(U.isOfType(S,Object)&&typeof S.section==="string"&&typeof S.subSection==="string"){var M={section:S.section};return L.has(n(M,w)).doOnChildren(O.create(this).hasType("sap.m.Button").has(O.Matchers.childrenMatcher(O.create(this).hasType("sap.ui.core.Icon"),true)).doPress()).success(function(){return o(S.subSection,x).execute();}).description("Selecting section "+S.section).execute();}else{return L.has(n(S,w)).doPress().description("Selecting section "+(S.section||S)).execute();}},iOpenSectionWithTitle:function(N){return this.iGoToSection(N);},iEnterValueForFieldInEditableHeader:function(L){return b.create(this).hasId(V+"--fe::"+I).doEnterText(L).description("Entering '"+L+" in field ").execute();},iOpenVHDInDialog:function(L){return O.create(this).isDialogElement().hasId(L+"-inner-vhi").doPress().description("Opening value help for '"+L+"' from within a dialog").execute();},iConfirmVHDInDialog:function(L){return O.create(this).isDialogElement().hasId(L+"-ok").doPress().description("Comfirmed VHD opened in dialog").execute();},iEnterValueForFieldInCreateDialog:function(L,M){return O.create(this).isDialogElement().hasId(L).doEnterText(M).description("Entering Text in the field '"+L+"'in the create dialog with value '"+M+"'").execute();},iClickOnMessageButton:function(){return O.create(this).hasType("sap.fe.common.MessageButton").doPress().description("Clicked on Message Button").execute();},iCheckMessageButtonTooltip:function(L){return O.create(this).hasType("sap.fe.common.MessageButton").check(function(M){return M[0].getTooltip()===L;},true).description("Checking tooltip of MessageButton").execute();},iClickOnMessage:function(M){return O.create(this).hasType("sap.m.MessageListItem").hasProperties({title:M.MessageText,groupAnnouncement:M.GroupLabel}).isDialogElement(true).description("MessageItem with correct text and group label").doOnChildren(O.create(this).hasType("sap.m.Link").hasProperties({text:M.MessageText}).doPress().description("Click on the message")).execute();}},assertions:{onTable:function(L){if(!U.isOfType(L,String)){L={id:i(L.property)};}return this._onTable(L);},onChart:function(L){var M;if(L){M=!U.isOfType(L,String)?j(L.property):L;}return this._onChart({id:M});},onFooter:function(){return new e(_(this,{id:v}),{id:v});},onHeader:function(){return new f(k(this,{id:r}),{id:r,headerId:t,headerContentId:u,viewId:V,paginatorId:G,breadCrumbId:D});},onForm:function(L){if(!U.isOfType(L,String)){if(L.section){L.id=x+"::"+L.section;L.fullSubSectionId=V+"--"+L.id;}if(L.fieldGroup){L.fieldGroupId=z+"::"+L.fieldGroup;}}return new h(l(this,L),L);},iSeeLinkWithText:function(L){return O.create(this).hasType("sap.m.Link").hasProperties({text:L}).description("Seeing link with text '"+L+"'").execute();},iSeeTextWithText:function(L){return O.create(this).hasType("sap.m.Text").hasProperties({text:L}).description("Seeing Text with text '"+L+"'").execute();},iSeeTitleWithText:function(L){return O.create(this).hasType("sap.m.Title").hasProperties({text:L}).description("Seeing Title with text '"+L+"'").execute();},iSeeContactDetailsPopover:function(L){return(O.create(this).hasType("sap.ui.mdc.link.Panel").description("Contact card with title '"+L+"' is present").execute());},iSeeQuickViewPopover:function(){return O.create(this).hasType("sap.ui.mdc.link.Panel").description("Seeing Quick View Details in ObjectPage").execute();},iSeeContactPopoverWithAvatarImage:function(L){return O.create(this).hasType("sap.ui.mdc.link.Panel").check(function(M){var N=M.some(function(Q){return Q.src===L;});return N===false;},true).description("Seeing Contact Card with Avatar Image in ObjectPage").execute();},iSeeQuickViewMoreLinksButton:function(){return O.create(this).isDialogElement(true).hasType("sap.m.Button").has(O.Matchers.resourceBundle("text","sap.ui.mdc","info.POPOVER_DEFINE_LINKS")).description("The 'More Links' button found").execute();},iSeeObjectPageInDisplayMode:function(){return this._iSeeObjectPageInMode(J.DISPLAY);},iSeeObjectPageInEditMode:function(){return this._iSeeObjectPageInMode(J.EDITABLE);},_iSeeObjectPageInMode:function(M){return O.create(this).hasId(V).viewId(null).has(function(L){return L.getModel("ui").getProperty("/editMode")===M;}).description("Object Page is in mode '"+M+"'").execute();},iSeeSectionWithTitle:function(L){return O.create(this).hasType("sap.uxap.ObjectPageSection").hasProperties({title:L}).description("Seeing section with title '"+L+"'").execute();},iSeeSubSectionWithTitle:function(L){return O.create(this).hasType("sap.uxap.ObjectPageSubSection").hasProperties({title:L}).description("Seeing sub-section with title '"+L+"'").execute();},iSeeSectionButtonWithTitle:function(L,S){return F.create(this).hasId(E).has(O.Matchers.children(F.Matchers.states(m({},{controlType:"sap.m.Button",text:L},S)))).description(U.formatMessage("Seeing section button with title '{0}' and state='{1}'",L,S)).execute();},iSeeFlpLink:function(L){return O.create(this).hasType("sap.ui.mdc.link.PanelListItem").isDialogElement(true).hasProperties({text:L}).description("FLP link with text '"+L+"' is present").execute();},iSeeSimpleFormWithLabel:function(L){return O.create(this).hasType("sap.m.Label").isDialogElement(true).hasProperties({text:L}).description("SimpleForm has label '"+L+"' is present").execute();},iSeeSimpleFormWithText:function(L){return O.create(this).hasType("sap.ui.layout.form.SimpleForm").isDialogElement(true).doOnChildren(O.create(this).hasType("sap.m.Text").hasProperties({text:L})).description("SimpleForm has text '"+L+"' is present").execute();},iSeeSimpleFormWithLink:function(L){return O.create(this).hasType("sap.ui.layout.form.SimpleForm").isDialogElement(true).doOnChildren(O.create(this).hasType("sap.m.Link").hasProperties({text:L})).description("SimpleForm has link '"+L+"' is present").execute();},iSeeSimpleFormWithTitle:function(L){return O.create(this).hasType("sap.ui.core.Title").isDialogElement(true).hasProperties({text:L}).description("SimpleForm has label '"+L+"' is present").execute();},iSeeSelectLinksDialog:function(){return O.create(this).hasType("sap.m.Title").isDialogElement(true).has(O.Matchers.resourceBundle("text","sap.ui.mdc","info.SELECTION_DIALOG_ALIGNEDTITLE")).description("Seeing dialog open").execute();},iDoNotSeeFlpLink:function(L){return O.create(this).hasType("sap.m.Link").isDialogElement(true).check(function(M){var N=M.some(function(Q){return Q.getText()===L;});return N===false;},true).description("FLP link with text '"+L+"' is not found").execute();},iSeeTitleLink:function(L,M){return O.create(this).hasType("sap.m.Link").isDialogElement(true).hasProperties({text:L,href:M}).description("QuickView Title link with text '"+L+"' is found").execute();},iSeeQuickViewTitleWithText:function(L){return O.create(this).hasType("sap.ui.mdc.link.Panel").check(function(M){var N=M.some(function(Q){return Q.text===L;});return N===false;},true).description("Seeing QuickView with Title in ListReport").execute();},iSeeQuickViewFieldWithText:function(L){return O.create(this).hasType("sap.fe.core.controls.FieldWrapper").check(function(M){var N=M.some(function(Q){return Q.text===L;});return N===false;},true).description("Seeing QuickView Form with Text in ListReport").execute();},iSeeCreateConfirmation:function(){return this._iSeeTheMessageToast(R.getText("C_TRANSACTION_HELPER_OBJECT_CREATED"));},iSeeSaveConfirmation:function(){return this._iSeeTheMessageToast(R.getText("C_TRANSACTION_HELPER_OBJECT_SAVED"));},iSeeDeleteConfirmation:function(){return this._iSeeTheMessageToast(R.getText("C_TRANSACTION_HELPER_OBJECT_PAGE_DELETE_TOAST_SINGULAR"));},iSeeConfirmMessageBoxWithTitle:function(L){return O.create(this).hasType("sap.m.Dialog").isDialogElement(true).hasProperties({title:L}).description("Seeing Message dialog open").execute();},iSeeMoreFormContent:function(S){return O.create(this).hasId(y+"::"+S+"::MoreContent").description("Seeing More Form Content in "+S).execute();},iDoNotSeeMoreFormContent:function(S){return O.create(this).hasType("sap.ui.layout.form.Form").check(function(L){var M=L.some(function(N){return N.getId().includes(S+"::MoreContent");});return M===false;}).description("Not Seeing More Form Content in "+S).execute();},iSeeControlVMTableTitle:function(L,N){return O.create(this).hasType("sap.m.Title").hasId(i(N)+"::VM-text").hasProperties({text:L}).description("Seeing variant title '"+L+"'").execute();},iCheckValueOfFieldInCreateDialog:function(L,M,N,Q){return b.create(this).isDialogElement().hasId(L).hasValue(M,N).hasProperties({required:!!Q}).description(U.formatMessage("Seeing field '{0}' with value '{1}'",L,[].concat(M,N||[]))).execute();},iSeeMessageView:function(){return O.create(this).hasType("sap.m.MessageView").isDialogElement(true).description("MessageView is visible").execute();},iCheckMessageItemsOrder:function(L){return O.create(this).hasType("sap.m.MessageView").check(function(M){var N=M[0].getItems();return(N[0].getGroupName()===L[0].GroupLabel&&N[1].getGroupName()===L[1].GroupLabel&&N[0].getTitle()===L[0].MessageText&&N[1].getTitle()===L[1].MessageText);},true).isDialogElement(true).description("MessageItems are correctly ordered").execute();},iCheckMessageItemProperties:function(L,M){return O.create(this).hasType("sap.m.MessageView").check(function(N){var Q=N[0].getItems();return(Q[M].getGroupName()===L.GroupLabel&&Q[M].getTitle()===L.MessageText&&Q[M].getSubtitle()===L.SubTitle&&Q[M].getActiveTitle()===L.ActiveTitle);},true).isDialogElement(true).description("MessageItem is correctly displayed").execute();},iCheckValueForFieldInCreateDialog:function(L,M,N){return b.create(this).isDialogElement().hasId(L).hasValue(M).hasProperties({required:!!N}).description(U.formatMessage("Seeing Create dialog parameter '{0}' with value '{1}'",L,M)).execute();},iClickBackOnMessageView:function(){return O.create(this).hasType("sap.m.MessageView").isDialogElement(true).doOnChildren(O.create(this).hasType("sap.m.Button").hasProperties({icon:"sap-icon://nav-back"}).doPress().description("Click on the message view back")).execute();},iCheckVisibilityOfButtonWithText:function(L,M){return O.create(this).hasType("sap.m.Button").mustBeVisible(M).hasProperties({text:L,visible:M}).description("Button '"+L+"' is "+(M?"visible":"NOT visible")).execute();},iCheckFieldVisibilityInMassEditDialog:function(L,M){return O.create(this).isDialogElement().hasType("sap.m.ComboBox").check(function(N){var Q=N.some(function(S){return S.getId()===L;});return Q===M;}).description("Checking visibility of field in mass edit dialog").execute();}}}].concat(K));}
76
+ function p(P,q){var s=P.appId,C=P.componentId,V=s+"::"+C,r=V+"--fe::ObjectPage",t="fe::HeaderFacet",u="fe::ObjectPage-OPHeaderContent",v="fe::FooterBar",w="fe::FacetSection",x="fe::FacetSubSection",y="fe::Form",z="fe::FormContainer",B="fe::HeaderFacet::FormContainer",D=V+"--fe::Breadcrumbs",E="fe::ObjectPage-anchBar",G="fe::Paginator",I="EditableHeaderForm::EditableHeaderTitle",J={DISPLAY:"Display",EDITABLE:"Editable"},R=sap.ui.getCore().getLibraryResourceBundle("sap.fe.core"),K=Array.prototype.slice.call(arguments,1);return T.apply(T,[V,{actions:{onTable:function(L){if(!U.isOfType(L,String)){L={id:i(L.property)};}return this._onTable(L);},onChart:function(L){var M;if(L){M=!U.isOfType(L,String)?j(L.property):L;}return this._onChart({id:M});},onFooter:function(){return new d(_(this,{id:v}),{id:v});},onHeader:function(){return new H(k(this,{id:r}),{id:r,headerId:t,headerContentId:u,viewId:V,paginatorId:G,breadCrumbId:D});},onForm:function(L){if(!U.isOfType(L,String)){if(L.section){L.id=x+"::"+L.section;L.fullSubSectionId=V+"--"+L.id;}if(L.fieldGroup){if(L.isHeaderFacet){L.fieldGroupId=B+"::"+L.fieldGroup;}else{L.fieldGroupId=z+"::"+L.fieldGroup;}}}return new g(l(this,L),L);},iCollapseExpandPageHeader:function(L){return this._iCollapseExpandPageHeader(L);},iClickQuickViewMoreLinksButton:function(){return O.create(this).hasType("sap.m.Button").has(O.Matchers.resourceBundle("text","sap.ui.mdc","info.POPOVER_DEFINE_LINKS")).doPress().description("Pressing 'More Links' button").execute();},iClickLinkWithText:function(L){return O.create(this).hasType("sap.m.Link").hasProperties({text:L}).doPress().description("Navigating via link '"+L+"'").execute();},iCheckLinksCount:function(L){return O.create(this).hasType("sap.ui.mdc.link.PanelListItem").check(function(M){if(M.length===L+1){return true;}else{return false;}},true).description("Seeing QuickView Card with "+L+" target applications in ObjectPage").execute();},iEnableLink:function(L){return O.create(this).hasType("sap.m.ColumnListItem").hasAggregationProperties("cells",{text:L}).isDialogElement().doPress("selectMulti").description("The CheckBox for link "+L+" is selected").execute();},iPressKeyboardShortcutOnSection:function(S,L){return this._iPressKeyboardShortcut(undefined,S,L,"sap.uxap.ObjectPageSection");},iGoToSection:function(S){var L=O.create(this).hasId(E);if(U.isOfType(S,Object)&&typeof S.section==="string"&&typeof S.subSection==="string"){var M={section:S.section};return L.has(n(M,w)).doOnChildren(O.create(this).hasType("sap.m.Button").has(O.Matchers.childrenMatcher(O.create(this).hasType("sap.ui.core.Icon"),true)).doPress()).success(function(){return o(S.subSection,x).execute();}).description("Selecting section "+S.section).execute();}else{return L.has(n(S,w)).doPress().description("Selecting section "+(S.section||S)).execute();}},iOpenSectionWithTitle:function(N){return this.iGoToSection(N);},iEnterValueForFieldInEditableHeader:function(L){return b.create(this).hasId(V+"--fe::"+I).doEnterText(L).description("Entering '"+L+" in field ").execute();},iOpenVHDInDialog:function(L){return O.create(this).isDialogElement().hasId(L+"-inner-vhi").doPress().description("Opening value help for '"+L+"' from within a dialog").execute();},iConfirmVHDInDialog:function(L){return O.create(this).isDialogElement().hasId(L+"-ok").doPress().description("Comfirmed VHD opened in dialog").execute();},iClickOnMessageButton:function(){return O.create(this).hasType("sap.fe.common.MessageButton").doPress().description("Clicked on Message Button").execute();},iCheckMessageButtonTooltip:function(L){return O.create(this).hasType("sap.fe.common.MessageButton").check(function(M){return M[0].getTooltip()===L;},true).description("Checking tooltip of MessageButton").execute();},iClickOnMessage:function(M){return O.create(this).hasType("sap.m.MessageListItem").hasProperties({title:M.MessageText,groupAnnouncement:M.GroupLabel}).isDialogElement(true).description("MessageItem with correct text and group label").doOnChildren(O.create(this).hasType("sap.m.Link").hasProperties({text:M.MessageText}).doPress().description("Click on the message")).execute();}},assertions:{onTable:function(L){if(!U.isOfType(L,String)){L={id:i(L.property)};}return this._onTable(L);},onChart:function(L){var M;if(L){M=!U.isOfType(L,String)?j(L.property):L;}return this._onChart({id:M});},onFooter:function(){return new e(_(this,{id:v}),{id:v});},onHeader:function(){return new f(k(this,{id:r}),{id:r,headerId:t,headerContentId:u,viewId:V,paginatorId:G,breadCrumbId:D});},onForm:function(L){if(!U.isOfType(L,String)){if(L.section){L.id=x+"::"+L.section;L.fullSubSectionId=V+"--"+L.id;}if(L.fieldGroup){L.fieldGroupId=z+"::"+L.fieldGroup;}}return new h(l(this,L),L);},iSeeLinkWithText:function(L){return O.create(this).hasType("sap.m.Link").hasProperties({text:L}).description("Seeing link with text '"+L+"'").execute();},iSeeTextWithText:function(L){return O.create(this).hasType("sap.m.Text").hasProperties({text:L}).description("Seeing Text with text '"+L+"'").execute();},iSeeTitleWithText:function(L){return O.create(this).hasType("sap.m.Title").hasProperties({text:L}).description("Seeing Title with text '"+L+"'").execute();},iSeeContactDetailsPopover:function(L){return(O.create(this).hasType("sap.ui.mdc.link.Panel").description("Contact card with title '"+L+"' is present").execute());},iSeeQuickViewPopover:function(){return O.create(this).hasType("sap.ui.mdc.link.Panel").description("Seeing Quick View Details in ObjectPage").execute();},iSeeContactPopoverWithAvatarImage:function(L){return O.create(this).hasType("sap.ui.mdc.link.Panel").check(function(M){var N=M.some(function(Q){return Q.src===L;});return N===false;},true).description("Seeing Contact Card with Avatar Image in ObjectPage").execute();},iSeeQuickViewMoreLinksButton:function(){return O.create(this).isDialogElement(true).hasType("sap.m.Button").has(O.Matchers.resourceBundle("text","sap.ui.mdc","info.POPOVER_DEFINE_LINKS")).description("The 'More Links' button found").execute();},iSeeObjectPageInDisplayMode:function(){return this._iSeeObjectPageInMode(J.DISPLAY);},iSeeObjectPageInEditMode:function(){return this._iSeeObjectPageInMode(J.EDITABLE);},_iSeeObjectPageInMode:function(M){return O.create(this).hasId(V).viewId(null).has(function(L){return L.getModel("ui").getProperty("/editMode")===M;}).description("Object Page is in mode '"+M+"'").execute();},iSeeSectionWithTitle:function(L){return O.create(this).hasType("sap.uxap.ObjectPageSection").hasProperties({title:L}).description("Seeing section with title '"+L+"'").execute();},iSeeSubSectionWithTitle:function(L){return O.create(this).hasType("sap.uxap.ObjectPageSubSection").hasProperties({title:L}).description("Seeing sub-section with title '"+L+"'").execute();},iSeeSectionButtonWithTitle:function(L,S){return F.create(this).hasId(E).has(O.Matchers.children(F.Matchers.states(m({},{controlType:"sap.m.Button",text:L},S)))).description(U.formatMessage("Seeing section button with title '{0}' and state='{1}'",L,S)).execute();},iSeeFlpLink:function(L){return O.create(this).hasType("sap.ui.mdc.link.PanelListItem").isDialogElement(true).hasProperties({text:L}).description("FLP link with text '"+L+"' is present").execute();},iSeeSimpleFormWithLabel:function(L){return O.create(this).hasType("sap.m.Label").isDialogElement(true).hasProperties({text:L}).description("SimpleForm has label '"+L+"' is present").execute();},iSeeSimpleFormWithText:function(L){return O.create(this).hasType("sap.ui.layout.form.SimpleForm").isDialogElement(true).doOnChildren(O.create(this).hasType("sap.m.Text").hasProperties({text:L})).description("SimpleForm has text '"+L+"' is present").execute();},iSeeSimpleFormWithLink:function(L){return O.create(this).hasType("sap.ui.layout.form.SimpleForm").isDialogElement(true).doOnChildren(O.create(this).hasType("sap.m.Link").hasProperties({text:L})).description("SimpleForm has link '"+L+"' is present").execute();},iSeeSimpleFormWithTitle:function(L){return O.create(this).hasType("sap.ui.core.Title").isDialogElement(true).hasProperties({text:L}).description("SimpleForm has label '"+L+"' is present").execute();},iSeeSelectLinksDialog:function(){return O.create(this).hasType("sap.m.Title").isDialogElement(true).has(O.Matchers.resourceBundle("text","sap.ui.mdc","info.SELECTION_DIALOG_ALIGNEDTITLE")).description("Seeing dialog open").execute();},iDoNotSeeFlpLink:function(L){return O.create(this).hasType("sap.m.Link").isDialogElement(true).check(function(M){var N=M.some(function(Q){return Q.getText()===L;});return N===false;},true).description("FLP link with text '"+L+"' is not found").execute();},iSeeTitleLink:function(L,M){return O.create(this).hasType("sap.m.Link").isDialogElement(true).hasProperties({text:L,href:M}).description("QuickView Title link with text '"+L+"' is found").execute();},iSeeQuickViewTitleWithText:function(L){return O.create(this).hasType("sap.ui.mdc.link.Panel").check(function(M){var N=M.some(function(Q){return Q.text===L;});return N===false;},true).description("Seeing QuickView with Title in ListReport").execute();},iSeeQuickViewFieldWithText:function(L){return O.create(this).hasType("sap.fe.core.controls.FieldWrapper").check(function(M){var N=M.some(function(Q){return Q.text===L;});return N===false;},true).description("Seeing QuickView Form with Text in ListReport").execute();},iSeeCreateConfirmation:function(){return this._iSeeTheMessageToast(R.getText("C_TRANSACTION_HELPER_OBJECT_CREATED"));},iSeeSaveConfirmation:function(){return this._iSeeTheMessageToast(R.getText("C_TRANSACTION_HELPER_OBJECT_SAVED"));},iSeeDeleteConfirmation:function(){return this._iSeeTheMessageToast(R.getText("C_TRANSACTION_HELPER_OBJECT_PAGE_DELETE_TOAST_SINGULAR"));},iSeeConfirmMessageBoxWithTitle:function(L){return O.create(this).hasType("sap.m.Dialog").isDialogElement(true).hasProperties({title:L}).description("Seeing Message dialog open").execute();},iSeeMoreFormContent:function(S){return O.create(this).hasId(y+"::"+S+"::MoreContent").description("Seeing More Form Content in "+S).execute();},iDoNotSeeMoreFormContent:function(S){return O.create(this).hasType("sap.ui.layout.form.Form").check(function(L){var M=L.some(function(N){return N.getId().includes(S+"::MoreContent");});return M===false;}).description("Not Seeing More Form Content in "+S).execute();},iSeeControlVMTableTitle:function(L,N){return O.create(this).hasType("sap.m.Title").hasId(i(N)+"::VM-text").hasProperties({text:L}).description("Seeing variant title '"+L+"'").execute();},iSeeMessageView:function(){return O.create(this).hasType("sap.m.MessageView").isDialogElement(true).description("MessageView is visible").execute();},iCheckMessageItemsOrder:function(L){return O.create(this).hasType("sap.m.MessageView").check(function(M){var N=M[0].getItems();return(N[0].getGroupName()===L[0].GroupLabel&&N[1].getGroupName()===L[1].GroupLabel&&N[0].getTitle()===L[0].MessageText&&N[1].getTitle()===L[1].MessageText);},true).isDialogElement(true).description("MessageItems are correctly ordered").execute();},iCheckMessageItemProperties:function(L,M){return O.create(this).hasType("sap.m.MessageView").check(function(N){var Q=N[0].getItems();return(Q[M].getGroupName()===L.GroupLabel&&Q[M].getTitle()===L.MessageText&&Q[M].getSubtitle()===L.SubTitle&&Q[M].getActiveTitle()===L.ActiveTitle);},true).isDialogElement(true).description("MessageItem is correctly displayed").execute();},iClickBackOnMessageView:function(){return O.create(this).hasType("sap.m.MessageView").isDialogElement(true).doOnChildren(O.create(this).hasType("sap.m.Button").hasProperties({icon:"sap-icon://nav-back"}).doPress().description("Click on the message view back")).execute();},iCheckVisibilityOfButtonWithText:function(L,M){return O.create(this).hasType("sap.m.Button").mustBeVisible(M).hasProperties({text:L,visible:M}).description("Button '"+L+"' is "+(M?"visible":"NOT visible")).execute();},iCheckFieldVisibilityInMassEditDialog:function(L,M){return O.create(this).isDialogElement().hasType("sap.m.ComboBox").check(function(N){var Q=N.some(function(S){return S.getId()===L;});return Q===M;}).description("Checking visibility of field in mass edit dialog").execute();}}}].concat(K));}
77
77
  return p;});
78
78
  sap.ui.predefine('sap/fe/test/Shell',["sap/ui/test/OpaBuilder","sap/ui/test/Opa5","sap/fe/test/Utils"],function(O,a,U){"use strict";
79
79
  function S(A){A=Array.isArray(arguments[0])?arguments[0]:Array.prototype.slice.call(arguments,0);return U.mergeObjects.apply(U,[{actions:{iNavigateBack:function(){return O.create(this).hasId("backBtn").doPress().description("Navigating back via shell").execute();},iNavigateHome:function(){return O.create(this).hasId("shell-header").do(function(){var t=a.getWindow();t.document.getElementById("shell-header-logo").click();}).description("Pressing Home button in Shell header").execute();},iOpenNavigationMenu:function(){return O.create(this).hasId("shellAppTitle").doPress().description("Expanding Shell Navigation Menu").execute();},iNavigateViaMenu:function(i){return O.create(this).hasId("sapUshellNavHierarchyItems").doOnAggregation("items",O.Matchers.properties({title:i}),O.Actions.press()).description(U.formatMessage("Navigating to '{0}' via Shell Navigation Menu",i)).execute();},iPressTile:function(t){return this.waitFor({controlType:"sap.ushell.ui.launchpad.Tile",matchers:function(T){return T.getTarget()==="#"+t;},actions:function(T){T.getTileViews()[0].$().trigger("tap");},success:function(T){a.assert.ok(true,U.formatMessage("Clicking on tile with target '{0}'",t));},errorMessage:"Could not find the tile"});},iOpenDefaultValues:function(){return O.create(this).hasId("meAreaHeaderButton").doPress().description("Opening FLP Default Values dialog").execute();},iEnterAValueForUserDefaults:function(f,v){return O.create(this).hasProperties({name:f.field}).isDialogElement().doEnterText(v).description("Entering text in the field '"+f.field+"' with value '"+f+"'").execute();},iSelectAListItem:function(o){return O.create(this).hasType("sap.m.StandardListItem").hasProperties({title:o}).doPress().description("Selecting item: "+o).execute();},iLaunchExtendedParameterDialog:function(p){return O.create(this).hasType("sap.m.Button").isDialogElement().hasProperties({text:"Additional Values"}).doPress().description("Launching Extended Parameter Dialog").execute();},iClickOnButtonWithText:function(t){return O.create(this).hasType("sap.m.Button").hasProperties({text:t}).doPress().description("Clicking on button with text: "+t).execute();},iClickOnButtonWithIcon:function(i){return O.create(this).hasType("sap.m.Button").hasProperties({icon:"sap-icon://"+i}).doPress().description("Clicking on button with icon: "+i).execute();}},assertions:{iSeeFlpDashboard:function(){return O.create(this).hasId("sapUshellDashboardPage").description("Seeing FLP Dashboard").execute();},iShouldSeeTheAppTile:function(t){return O.create(this).hasType("sap.ushell.ui.launchpad.Tile").hasProperties({target:t}).description("Seeing Tile "+t).execute();},iSeeShellNavHierarchyItem:function(i,I,b,s){return O.create(this).viewId(null).hasId("sapUshellNavHierarchyItems").hasAggregationLength("items",b).has(O.Matchers.aggregationAtIndex("items",I-1)).hasProperties({title:i,description:s}).description(U.formatMessage("Checking Navigation Hierarchy Items ({2}): Name={0}, Position={1}, Description={3}",i,I,b,s)).execute();},iSeeShellAppTitle:function(t){return O.create(this).viewId(null).hasId("shellAppTitle").hasProperties({text:t}).description(t+" is the Shell App Title").execute();}}}].concat(A));}
@@ -84,7 +84,7 @@ function _(x,y){var z=T.create(x);if(U.isOfType(y,String)){z.hasProperties({head
84
84
  function t(x,y){return o.create(x).hasId(y.id);}
85
85
  function u(x,y,A){if(U.isOfType(y,String,true)){y={type:c.Confirmation,title:y};}var z=D.create(x);switch(y.type){case c.ValueHelp:if(y.property){z.has(F.Matchers.id(RegExp(U.formatMessage("::FieldValueHelp::{0}-dialog$",y.property.replaceAll("/","::")))));}return A?new h(z,y):new i(z,y);case c.Error:z.hasProperties({icon:"sap-icon://error",title:"Error"});return A?new d(z,y):new e(z,y);case c.Message:return A?new f(z,y):new g(z,y);case c.Create:return A?new j(z,y):new k(z,y);default:return A?new d(z,y):new e(z,y);}}
86
86
  function v(){var x={};Object.keys(c).forEach(function(y){x["on"+y+"Dialog"]=function(){return this.onDialog({type:y});};});return x;}
87
- function w(V,A){var x=U.isOfType(V,String)?V:V.viewId,y=Array.prototype.slice.call(arguments,1);return U.mergeObjects.apply(U,[{viewId:x,actions:U.mergeObjects({_onTable:function(z){return new m(_(this,z),z);},_onChart:function(z){return new n(F,z);},_onFilterBar:function(z){return new q(t(this,z),z);},onDialog:function(z){return u(this,z,true);},iOpenVHOnActionDialog:function(z){var B="APD_::"+z+"-inner-vhi";return O.create(this).hasId(B).isDialogElement().doPress().description("Opening value help for '"+z+"'").execute();},_iPressKeyboardShortcut:function(I,z,P,B){return O.create(this).hasId(I).hasProperties(P?P:{}).hasType(B).do(function(E){var N=S.parseShortcut(z);N.type="keydown";E.$().trigger(N);}).description("Execute keyboard shortcut "+z).execute();},_iCollapseExpandPageHeader:function(z){var E=O.Matchers.resourceBundle("tooltip","sap.f","COLLAPSE_HEADER_BUTTON_TOOLTIP"),B=O.Matchers.resourceBundle("tooltip","sap.f","EXPAND_HEADER_BUTTON_TOOLTIP");return O.create(this).hasType("sap.m.Button").has(O.Matchers.some(E,B)).doConditional(z?E:B,O.Actions.press()).description(U.formatMessage("{0} the current Page Header",z?"Collapsing":"Expanding")).execute();}},v()),assertions:U.mergeObjects({_onTable:function(z){return new l(_(this,z),z);},_onChart:function(z){return new C(F,z);},_onFilterBar:function(z){return new p(t(this,z),z);},onDialog:function(z){return u(this,z,false);},iSeeThisPage:function(){return O.create(this).hasId(x).do(function(z){var B=z.getParent().oContainer;var E=B;do{E=E.getParent();}while(!E.isA("sap.ui.core.mvc.XMLView"));this.oPlaceholder=E.getController().oPlaceholder;}.bind(this)).viewId(null).viewName(null).description(U.formatMessage("Seeing the page '{0}'",x)).execute();},iResetPlaceholderStatistics:function(){return O.create(this).do(function(){this.oPlaceholder.resetPlaceholderDebugStats();}.bind(this)).description("Placeholder reset statistics").execute();},iCheckPlaceholderStatistics:function(P){var z={pageReady:"iPageReadyEventTimestamp",heroesBatchReceived:"iHeroesBatchReceivedEventTimestamp"};return O.create(this).check(function(){var B=this.oPlaceholder.getPlaceholderDebugStats();var L=z[P];if(B.iHidePlaceholderTimestamp-B[L]<10){return true;}else{return false;}}.bind(this)).description("Placeholder statistics are correct").execute();},iSeeFilterDefinedOnActionDialogValueHelp:function(z,B,E,G){return O.create(this).hasId(z+"::"+B+"::FilterBar::FilterField::"+E+"-inner").isDialogElement().hasAggregationProperties("tokens",{text:G}).description("Seeing filter for '"+E+"' set to '"+G+"'").execute();},_iSeeTheMessageToast:function(z){return F.createMessageToastBuilder(z).execute(this);},_iSeeButtonWithText:function(z,B){return F.create(this).hasType("sap.m.Button").hasProperties({text:z}).hasState(B).checkNumberOfMatches(1).description(U.formatMessage("Seeing Button with text '{0}'"+(B?" with state: '{1}'":""),z,B)).execute();},iSeeActionParameterContent:function(z,B){var E="APD_::"+z+"-inner",G=O.create(this).hasId(E).isDialogElement().description("Seeing Action parameter '"+z+"' with content '"+B+"'");if(B){G.hasProperties({value:B});}return G.execute();},iSeePageHeaderButton:function(z){return O.create(this).hasType("sap.m.Button").has(O.Matchers.resourceBundle("tooltip","sap.f",z?"COLLAPSE_HEADER_BUTTON_TOOLTIP":"EXPAND_HEADER_BUTTON_TOOLTIP")).description("Seeing the "+(z?"Collapse":"Expand")+" Page Header Button").execute();},iSeeTileCreationMessage:function(){return this._iSeeTheMessageToast(s.i18n.getText("tile_created_msg"));},iSeeMessageStrip:function(P){return O.create(this).hasType("sap.m.MessageStrip").hasProperties(P).description(U.formatMessage("Seeing message strip with properties='{0}'",P)).execute();}},v())}].concat(y));}
87
+ function w(V,A){var x=U.isOfType(V,String)?V:V.viewId,y=Array.prototype.slice.call(arguments,1);return U.mergeObjects.apply(U,[{viewId:x,actions:U.mergeObjects({_onTable:function(z){return new m(_(this,z),z);},_onChart:function(z){return new n(F,z);},_onFilterBar:function(z){return new q(t(this,z),z);},onDialog:function(z){return u(this,z,true);},iOpenVHOnActionDialog:function(z){var B="APD_::"+z+"-inner-vhi";return O.create(this).hasId(B).isDialogElement().doPress().description("Opening value help for '"+z+"'").execute();},_iPressKeyboardShortcut:function(I,z,P,B){return O.create(this).hasId(I).hasProperties(P?P:{}).hasType(B).do(function(E){var N=S.parseShortcut(z);N.type="keydown";E.$().trigger(N);}).description("Execute keyboard shortcut "+z).execute();},_iCollapseExpandPageHeader:function(z){var E=O.Matchers.resourceBundle("tooltip","sap.f","COLLAPSE_HEADER_BUTTON_TOOLTIP"),B=O.Matchers.resourceBundle("tooltip","sap.f","EXPAND_HEADER_BUTTON_TOOLTIP");return O.create(this).hasType("sap.m.Button").has(O.Matchers.some(E,B)).doConditional(z?E:B,O.Actions.press()).description(U.formatMessage("{0} the current Page Header",z?"Collapsing":"Expanding")).execute();}},v()),assertions:U.mergeObjects({_onTable:function(z){return new l(_(this,z),z);},_onChart:function(z){return new C(F,z);},_onFilterBar:function(z){return new p(t(this,z),z);},onDialog:function(z){return u(this,z,false);},iSeeThisPage:function(){return O.create(this).hasId(x).do(function(z){var B=z.getParent().oContainer;var E=B;do{E=E.getParent();}while(!E.isA("sap.ui.core.mvc.XMLView"));this.oPlaceholder=E.getController().oPlaceholder;}.bind(this)).viewId(null).viewName(null).description(U.formatMessage("Seeing the page '{0}'",x)).execute();},iResetPlaceholderStatistics:function(){return O.create(this).do(function(){this.oPlaceholder.resetPlaceholderDebugStats();}.bind(this)).description("Placeholder reset statistics").execute();},iCheckPlaceholderStatistics:function(P){var z={pageReady:"iPageReadyEventTimestamp",heroesBatchReceived:"iHeroesBatchReceivedEventTimestamp"};return O.create(this).check(function(){var B=this.oPlaceholder.getPlaceholderDebugStats();var L=z[P];if(B.iHidePlaceholderTimestamp-B[L]<10){return true;}else{return false;}}.bind(this)).description("Placeholder statistics are correct").execute();},iSeeFilterDefinedOnActionDialogValueHelp:function(z,B,E,G){return O.create(this).hasId(z+"::"+B+"::FilterBar::FilterField::"+E+"-inner").isDialogElement().hasAggregationProperties("tokens",{text:G}).description("Seeing filter for '"+E+"' set to '"+G+"'").execute();},_iSeeTheMessageToast:function(z){return F.createMessageToastBuilder(z).execute(this);},_iSeeButtonWithText:function(z,B){return F.create(this).hasType("sap.m.Button").hasProperties({text:z}).hasState(B).checkNumberOfMatches(1).description(U.formatMessage("Seeing Button with text '{0}'"+(B?" with state: '{1}'":""),z,B)).execute();},iSeePageHeaderButton:function(z){return O.create(this).hasType("sap.m.Button").has(O.Matchers.resourceBundle("tooltip","sap.f",z?"COLLAPSE_HEADER_BUTTON_TOOLTIP":"EXPAND_HEADER_BUTTON_TOOLTIP")).description("Seeing the "+(z?"Collapse":"Expand")+" Page Header Button").execute();},iSeeTileCreationMessage:function(){return this._iSeeTheMessageToast(s.i18n.getText("tile_created_msg"));},iSeeMessageStrip:function(P){return O.create(this).hasType("sap.m.MessageStrip").hasProperties(P).description(U.formatMessage("Seeing message strip with properties='{0}'",P)).execute();}},v())}].concat(y));}
88
88
  return w;});
89
89
  sap.ui.predefine('sap/fe/test/TemplatingTestUtils',["sap/ui/model/odata/v4/ODataMetaModel","sap/ui/core/util/XMLPreprocessor","sap/ui/core/XMLTemplateProcessor","sap/fe/macros/macroLibrary","sap/fe/core/TemplateModel","sap/fe/macros/ResourceModel"],function(O,X,a,m,T){"use strict";
90
90
  function t(Q,s,M,f,u,r,b){var S="./test/",R={read:function(){return Promise.resolve(M);},mHeaders:{}},o=new O(R,S+"$metadata",undefined,null);m.deregister();if(u){m.register();}function c(g,D,B,h){var p={models:Object.assign({},h),bindingContexts:{}};Object.keys(B).forEach(function(k){var i=h[k]||o;if(!(i instanceof sap.ui.model.Model)&&!(i instanceof sap.ui.model.odata.v4.ODataMetaModel)){i=new T(i,o);}g.ok(typeof i.getObject(B[k])!=="undefined",k+": "+B[k]+" exists");p.bindingContexts[k]=i.createBindingContext(B[k]);p.models[k]=i;});if(p.models["this"]){p.bindingContexts["this"]=p.models["this"].createBindingContext("/");}return Promise.resolve(X.process(D,{},p));}Q.module("Smoke Tests for "+s);Q.test("Check if metadata is available",function(g){return Promise.all([o.requestObject("/").then(function(E){g.ok(E,"Entity Container found");}),o.requestObject("/$").then(function(h){g.ok(h,"Metadata Document found");})]);});var d;function e(F){F.fileType=F.fileType||"fragment";Q.module("Tests for "+s+" against "+F.fileType+" "+F.sFragmentName+(F.sDescription?" ("+F.sDescription+")":""),{beforeEach:function(){if(r){d=b.stub(r,"getText").callsFake(function(k){if(k==="T_NEW_OBJECT"){return"New Object";}else{return"(Unnamed Object)";}});}},afterEach:function(){if(d){d.restore();}}});F.tests.forEach(function(g,i){Q.test(g.description||"Test "+F.fileType+" scope: "+i,function(h){return o.requestObject("/$").then(function(){return a.loadTemplatePromise(F.sFragmentName,F.fileType);}).then(function(D){return c(h,D,g.mBindingContexts,Object.assign({},F.mModels,g.mModels));}).then(function(D){var E=[].filter.call(D.ownerDocument.querySelectorAll("*"),k),j,n=0;function k(q){return q.getAttribute("unittest:id")!==null;}function l(q,v,j){function w(A){if(v[A]===undefined){h.ok(!q.hasAttribute(A),'unittest:id="'+j+"\": attribute '"+A+"' is expected not to be rendered");}else{var x=q.getAttribute(A);h.strictEqual(x,v[A],'unittest:id="'+j+"\": attribute '"+A+"' properly created as "+x);}}if(v){n++;Object.keys(v).forEach(w);}}E.forEach(p);function p(q){j=q.getAttribute("unittest:id");l(q,g.oExpectedResultsPerTest[j],j);}h.equal(n,Object.keys(g.oExpectedResultsPerTest).length,"All tests have been executed for this test case");}).catch(function(E){var j=g.sExpectedException;if(E&&j){h.strictEqual(E.message||E,j,"expected exception occurred: "+j);}else{throw E;}});});});}f.forEach(e);}
@@ -134,8 +134,8 @@ C.prototype.iCheckButtonWithText=function(t){return O.create(this).hasType("sap.
134
134
  C.prototype.iCheckMessageToastWithText=function(t){return F.createMessageToastBuilder(t).execute(this);};
135
135
  return C;});
136
136
  sap.ui.predefine('sap/fe/test/api/DialogAPI',["./BaseAPI","sap/fe/test/Utils","sap/fe/test/builder/FEBuilder","sap/fe/test/builder/MdcFieldBuilder","sap/fe/test/builder/DialogBuilder"],function(B,U,F,M,D){"use strict";var a=function(d,v,c){if(!U.isOfType(d,D)){throw new Error("oDialogBuilder parameter must be a DialogBuilder instance");}this._iConfirmButtonIndex=c||0;return B.call(this,d,v);};a.prototype=Object.create(B.prototype);a.prototype.constructor=a;
137
- a.prototype._createFieldMatcher=function(f){var m,s;if(!U.isOfType(f,String)){if(typeof f.property==="string"){s="APD_::"+f.property.replaceAll("/","::");}else{throw new Error("The 'property' parameter for creating a control ID for a field in an action dialog is not supported: "+f.property);}m=F.Matchers.id(new RegExp(U.formatMessage("{0}",s)));}else{}return m;};
138
- a.prototype._createFieldBuilder=function(f){var m=new M(this.getOpaInstance());return m.isDialogElement().hasType("sap.ui.mdc.Field").has(this._createFieldMatcher(f));};
137
+ a.prototype._createFieldMatcher=function(f,d){var m,s;if(!U.isOfType(f,String)){if(typeof f.property==="string"){s=d&&d.type==="Create"?"CreateDialog::"+f.property.replaceAll("/","::"):"APD_::"+f.property.replaceAll("/","::");}else{throw new Error("The 'property' parameter for creating a control ID for a field in an action dialog is not supported: "+f.property);}m=F.Matchers.id(new RegExp(U.formatMessage("{0}",s)));}else{}return m;};
138
+ a.prototype._createFieldBuilder=function(f,d){var m=new M(this.getOpaInstance());return m.isDialogElement().hasType("sap.ui.mdc.Field").has(this._createFieldMatcher(f,d));};
139
139
  a.prototype._getConfirmButtonMatcher=function(){var c=this._iConfirmButtonIndex;return function(b){var d=b.getParent().getButtons();return d.indexOf(b)===Math.min(d.length-1,c);};};
140
140
  a.prototype._getCancelButtonMatcher=function(){var c=this._iConfirmButtonIndex;return function(b){var d=b.getParent().getButtons();return d.indexOf(b)===Math.min(d.length-1,c+1);};};
141
141
  return a;});
@@ -143,13 +143,15 @@ sap.ui.predefine('sap/fe/test/api/DialogActions',["./DialogAPI","sap/fe/test/Uti
143
143
  a.prototype.iConfirm=function(){return this.prepareResult(this.getBuilder().doPressFooterButton(this._getConfirmButtonMatcher()).description(U.formatMessage("Confirming dialog '{0}'",this.getIdentifier())).execute());};
144
144
  a.prototype.iCancel=function(){return this.prepareResult(this.getBuilder().doPressFooterButton(this._getCancelButtonMatcher()).description(U.formatMessage("Cancelling dialog '{0}'",this.getIdentifier())).execute());};
145
145
  a.prototype.iClose=function(){return this.prepareResult(this.getBuilder().doPressKeyboardShortcut("Escape").description(U.formatMessage("Closing dialog '{0}'",this.getIdentifier())).execute());};
146
- a.prototype.iChangeActionParameterDialogField=function(f,v,c){var A=U.parseArguments([Object,String,Boolean],arguments);return this.prepareResult(this._createFieldBuilder(f).doChangeValue(A[1],A[2]).description(U.formatMessage("Changing the field '{1}' of action parameter dialog '{0}' by adding '{2}' (was cleared first: {3})",this.getIdentifier(),A[0],A[1],!!A[2])).execute());};
146
+ a.prototype.iChangeDialogField=function(f,v,c){var A=U.parseArguments([Object,String,Boolean],arguments);return this.prepareResult(this._createFieldBuilder(f,this.getIdentifier()).doChangeValue(A[1],A[2]).description(U.formatMessage("Changing the field '{1}' of dialog '{0}' by adding '{2}' (was cleared first: {3})",this.getIdentifier(),A[0],A[1],!!A[2])).execute());};
147
+ a.prototype.iChangeActionParameterDialogField=function(f,v,c){return this.iChangeDialogField(f,v,c);};
147
148
  return a;});
148
149
  sap.ui.predefine('sap/fe/test/api/DialogAssertions',["./DialogAPI","sap/fe/test/Utils"],function(D,U){"use strict";var a=function(d,v,c){return D.call(this,d,v,c);};a.prototype=Object.create(D.prototype);a.prototype.constructor=a;a.prototype.isAction=false;
149
150
  a.prototype.iCheckState=function(d){return this.prepareResult(this.getBuilder().hasState(d).description(U.formatMessage("Checking dialog '{0}' in state '{1}'",this.getIdentifier(),d)).execute());};
150
151
  a.prototype.iCheckConfirm=function(b){return this.prepareResult(this.getBuilder().hasFooterButton(this._getConfirmButtonMatcher(),b).description(U.formatMessage("Checking dialog '{0}' having confirmation button with state '{1}'",this.getIdentifier(),b)).execute());};
151
152
  a.prototype.iCheckCancel=function(b){return this.prepareResult(this.getBuilder().hasFooterButton(this._getCancelButtonMatcher(),b).description(U.formatMessage("Checking dialog '{0}' having cancellation button with state '{1}'",this.getIdentifier(),b)).execute());};
152
- a.prototype.iCheckActionParameterDialogField=function(f,v,s){var A=U.parseArguments([Object,[String,Array,Object],Object],arguments);return this.prepareResult(this._createFieldBuilder(f).hasValue(A[1]).hasState(A[2]).description(U.formatMessage("Checking field '{0}' with content '{1}' and state '{2}'",A[0],A[1],A[2])).execute());};
153
+ a.prototype.iCheckDialogField=function(f,v,s){var A=U.parseArguments([Object,[String,Array,Object],Object],arguments);return this.prepareResult(this._createFieldBuilder(f,this.getIdentifier()).hasValue(A[1]).hasState(A[2]).description(U.formatMessage("Checking field '{1}' of dialog '{0}' with content '{2}' and state '{3}'",this.getIdentifier(),A[0],A[1],A[2])).execute());};
154
+ a.prototype.iCheckActionParameterDialogField=function(f,v,s){return this.iCheckDialogField(f,v,s);};
153
155
  return a;});
154
156
  sap.ui.predefine('sap/fe/test/api/DialogCreateActions',["./DialogActions","sap/fe/test/Utils","sap/ui/test/OpaBuilder"],function(D,U,O){"use strict";var a=function(d,v){return D.call(this,d,v,1);};a.prototype=Object.create(D.prototype);a.prototype.constructor=a;a.prototype.isAction=true;
155
157
  a.prototype.iExecuteCreate=function(){return this.prepareResult(this.getBuilder().doPressFooterButton(O.Matchers.resourceBundle("text","sap.fe.core","C_TRANSACTION_HELPER_SAPFE_ACTION_CREATE_BUTTON")).description(U.formatMessage("Pressing create button on dialog '{0}'",this.getIdentifier())).execute());};
@@ -190,7 +192,7 @@ function _(A,i,s){var B=a.create(A.getOpaInstance()).isDialogElement().mustBeVis
190
192
  d.prototype.iCheckSearchAndSelect=function(s){return _(this,"-VHP--fromList",s);};
191
193
  d.prototype.iCheckDefineConditions=function(s){return _(this,"-VHP--defineCondition",s);};
192
194
  return d;});
193
- sap.ui.predefine('sap/fe/test/api/EditState',["sap/fe/macros/filter/DraftEditState"],function(E){"use strict";return{All:E.ALL.id,Unchanged:E.UNCHANGED.id,OwnDraft:E.OWN_DRAFT.id,Locked:E.LOCKED.id,UnsavedChanges:E.UNSAVED_CHANGES.id};},true);
195
+ sap.ui.predefine('sap/fe/test/api/EditState',["sap/fe/macros/filter/DraftEditState"],function(E){"use strict";return{All:E.ALL.id,AllHidingDrafts:E.ALL_HIDING_DRAFTS.id,Unchanged:E.UNCHANGED.id,OwnDraft:E.OWN_DRAFT.id,Locked:E.LOCKED.id,UnsavedChanges:E.UNSAVED_CHANGES.id};},true);
194
196
  sap.ui.predefine('sap/fe/test/api/FilterBarAPI',["./BaseAPI","sap/fe/test/Utils","sap/ui/test/OpaBuilder","sap/ui/test/actions/Action","sap/fe/test/builder/FEBuilder","sap/fe/test/builder/MdcFilterBarBuilder","sap/fe/test/builder/MdcFilterFieldBuilder"],function(B,U,O,A,F,a,b){"use strict";var c=function(f,v){if(!U.isOfType(f,a)){throw new Error("oFilterBarBuilder parameter must be a FilterBarBuilder instance");}return B.call(this,f,v);};c.prototype=Object.create(B.prototype);c.prototype.constructor=c;
195
197
  c.createFilterFieldBuilder=function(f,v,s){var d;if(U.isOfType(v,String)){d=O.Matchers.properties({label:v});}else{d=F.Matchers.id(RegExp(U.formatMessage("::FilterField::{0}$",v.property.replace(/\/|\*\//g,"::"))));}f.hasField(d,s,true);return b.create(f.getOpaInstance()).options(f.build());};
196
198
  c.prototype.iOpenFilterAdaptation=function(){var f=this.getBuilder();return this.prepareResult(f.doOpenSettings().success(F.create(this.getOpaInstance()).isDialogElement().hasType("sap.m.Button").hasProperties({icon:"sap-icon://group-2"}).doPress().success(F.create(this.getOpaInstance()).hasType("sap.m.Panel").isDialogElement().doConditional(function(p){return!p.getExpanded();},O.Actions.press("expandButton")))).description(U.formatMessage("Opening the filter bar adaptation dialog for '{0}'",this.getIdentifier())).execute());};
@@ -207,7 +209,8 @@ c.prototype.iExecuteSearch=function(){var f=this.getBuilder();return this.prepar
207
209
  c.prototype.iAddAdaptationFilterField=function(f){return this.filterFieldAdaptation(f,{selected:false},b.Actions.press("selectMulti"),U.formatMessage("Adding field '{1}' to filter bar '{0}'",this.getIdentifier(),f));};
208
210
  c.prototype.iRemoveAdaptationFilterField=function(f){return this.filterFieldAdaptation(f,{selected:true},b.Actions.press("selectMulti"),U.formatMessage("Removing field '{1}' to filter bar '{0}'",this.getIdentifier(),f));};
209
211
  c.prototype.iExecuteKeyboardShortcut=function(s,f){var B=f?F.createFilterFieldBuilder(this.getBuilder(),f):this.getBuilder();return this.prepareResult(B.doPressKeyboardShortcut(s).description(U.formatMessage("Execute keyboard shortcut '{1}' on filter bar '{0}' on field '{2}'",this.getIdentifier(),s,f)).execute());};
210
- c.prototype.iSaveVariant=function(v){var s=U.isOfType(v,String)?function(f){return V.create(this).hasId(f.getId()+"::VariantManagement").doSaveAs(v).description(U.formatMessage("Saving variant for '{0}' as '{1}'",this.getIdentifier(),v)).execute();}:function(f){return V.create(this).hasId(f.getId()+"::VariantManagement").doSave().description(U.formatMessage("Saving current variant for '{0}'",this.getIdentifier())).execute();};return this.prepareResult(this.getBuilder().success(s.bind(this)).execute());};
212
+ c.prototype.iSaveVariant=function(v,s,A){var S=U.isOfType(v,String)?function(f){return V.create(this).hasId(f.getId()+"::VariantManagement").doSaveAs(v,s,A).description(U.formatMessage("Saving variant for '{0}' as '{1}' with default='{2}' and applyAutomatically='{3}'",this.getIdentifier(),v,!!s,!!A)).execute();}:function(f){return V.create(this).hasId(f.getId()+"::VariantManagement").doSave().description(U.formatMessage("Saving current variant for '{0}'",this.getIdentifier())).execute();};return this.prepareResult(this.getBuilder().success(S.bind(this)).execute());};
213
+ c.prototype.iSelectVariant=function(v){return this.prepareResult(this.getBuilder().success(function(f){return V.create(this).hasId(f.getId()+"::VariantManagement").doSelectVariant(v).description(U.formatMessage("Selecting variant '{1}' from '{0}'",this.getIdentifier(),v)).execute();}.bind(this)).execute());};
211
214
  c.prototype.iSelectVisualFilter=function(v,l,i){return this.prepareResult(b.create(this).hasType("sap.fe.core.controls.filterbar.VisualFilter").hasId(new RegExp(v,"i")).success(function(d){var o=d[0];var s;var I=o.getItems()[1].getItems()[0];var e=(I.isA("sap.suite.ui.microchart.InteractiveLineChart")&&I.getPoints())||(I.isA("sap.suite.ui.microchart.InteractiveBarChart")&&I.getBars());e.forEach(function(f){if(f.getLabel()==l){s=f;}});if(!s){s=e[0];}if(I.isA("sap.suite.ui.microchart.InteractiveLineChart")){var p=I.getSelectedPoints();return I.fireSelectionChanged({selectedPoints:p,point:s,selected:i});}else if(I.isA("sap.suite.ui.microchart.InteractiveBarChart")){var p=I.getSelectedBars();return I.fireSelectionChanged({selectedPoints:p,point:s,selected:i});}}).description("Selecting an item in "+v+" VisualFilter").execute());};
212
215
  c.prototype.iOpenVisualFilterValueHelp=function(v){return this.prepareResult(b.create(this).hasType("sap.fe.core.controls.filterbar.VisualFilter").hasId(new RegExp(v,"i")).success(function(d){var s=d[0].getId();b.create(this).hasType("sap.m.Button").hasId(s+"::VisualFilterValueHelpButton").doPress().execute();}).description("Open ValueHelp Dialog "+v+" VisualFilter").execute());};
213
216
  return c;});
@@ -272,7 +275,7 @@ b.prototype.iCheckShowMore=function(s){return _(this,true,s);};
272
275
  b.prototype.iCheckShowLess=function(s){return _(this,false,s);};
273
276
  b.prototype.iCheckField=function(f,v,s){var A=U.parseArguments([[Object,String],[String,Array,Object],Object],arguments);return this.prepareResult(this.createFieldBuilder(f).hasValue(A[1]).hasState(A[2]).description(U.formatMessage("Checking field '{1}' on form '{0}' with value '{2}' and state='{3}'",this.getIdentifier(),A[0],A[1],A[2])).execute());};
274
277
  b.prototype.iCheckLink=function(f,t,s){var A=U.parseArguments([[Object,String],String,Object],arguments);return this.iCheckField(A[0],A[1],U.mergeObjects({controlType:"sap.m.Link"},A[2]));};
275
- b.prototype.iCheckElement=function(i,p){return O.create(this).hasId(i).hasProperties(p);};
278
+ b.prototype.iCheckFormContainersElementCount=function(f,c,s){var A=U.parseArguments([String,Number,Object],arguments),d=this.getIdentifier().fullSubSectionId,m=A[2],v=d.split("--")[0],e=d.split("--")[1].split("::")[2],g=v+"--"+"fe::FormContainer::"+A[0];return this.prepareResult(this.getBuilder().hasId(g).has(function(o){var h;if(Object.keys(m).length){h=o.getFormElements().filter(function(i){return Object.keys(m).every(function(j){return m[j]===i.getProperty(j);});});}else{h=o.getFormElements();}return h.length===c;}).description(U.formatMessage("Form Container '{0}' on Form '{1}' has '{2}' Form Elements.",A[0],e,A[1])).execute());};
276
279
  return b;});
277
280
  sap.ui.predefine('sap/fe/test/api/HeaderAPI',["./BaseAPI","sap/fe/test/Utils","sap/ui/test/OpaBuilder","sap/fe/test/builder/FEBuilder","sap/fe/test/builder/OverflowToolbarBuilder","sap/fe/core/helpers/StableIdHelper"],function(B,U,O,F,a,S){"use strict";var H=function(h,v){if(!U.isOfType(h,F)){throw new Error("oHeaderBuilder parameter must be a FEBuilder instance");}return B.call(this,h,v);};H.prototype=Object.create(B.prototype);H.prototype.constructor=H;
278
281
  H.prototype.createOverflowToolbarBuilder=function(o){return a.create(this.getOpaInstance()).hasType("sap.m.OverflowToolbar").has(function(b){return(b.getParent().getMetadata().getName()==="sap.uxap.ObjectPageDynamicHeaderTitle"&&b.getParent().getParent().getMetadata().getName()==="sap.uxap.ObjectPageLayout"&&b.getParent().getParent().getId()===o);});};
@@ -589,21 +592,25 @@ sap.ui.predefine('sap/fe/test/internal/FEArrangements',["sap/ui/test/Opa5","sap/
589
592
  sap.ui.predefine('sap/fe/test/internal/FEJourneyRunner',["sap/fe/test/JourneyRunner","sap/fe/test/Utils","./FEArrangements","sap/base/Log"],function(J,U,F){"use strict";
590
593
  var a=J.extend("sap.fe.test.internal.FEJourneyRunner",{getBaseArrangements:function(s){return new F(s);}});
591
594
  var D=new a({launchUrl:"test-resources/sap/fe/templates/internal/demokit/flpSandbox.html",launchParameters:{"sap-ui-xx-mdcTableP13n":true},opaConfig:{frameWidth:1300,frameHeight:1024}});var W=new a({launchUrl:"test-resources/sap/fe/templates/internal/demokit/flpSandbox.html",launchParameters:{"sap-ui-xx-mdcTableP13n":true},opaConfig:{frameWidth:1700,frameHeight:1024}});var b=new a({launchUrl:"test-resources/sap/fe/templates/internal/demokit/flpSandbox.html",launchParameters:{"sap-ui-xx-mdcTableP13n":true},opaConfig:{frameWidth:1900,frameHeight:1440}});a.run=D.run.bind(D);a.runWide=W.run.bind(W);a.runFCL=b.run.bind(b);return a;});
592
- sap.ui.predefine('sap/fe/test/library',["sap/ui/core/Core","sap/ui/core/library"],function(){"use strict";sap.ui.getCore().initLibrary({name:"sap.fe.test",dependencies:["sap.ui.core"],types:[],interfaces:[],controls:[],elements:[],version:"1.96.0",noLibraryCSS:true});return sap.fe.test;});
595
+ sap.ui.predefine('sap/fe/test/library',["sap/ui/core/Core","sap/ui/core/library"],function(){"use strict";sap.ui.getCore().initLibrary({name:"sap.fe.test",dependencies:["sap.ui.core"],types:[],interfaces:[],controls:[],elements:[],version:"1.97.0",noLibraryCSS:true});return sap.fe.test;});
593
596
  sap.ui.predefine('sap/fe/test/massEdit',[],function(){"use strict";var M={handleMassEditChange:function(s,v){var p=s&&s.getSelectedKey()&&s.getSelectedKey().split("/");var d=s&&s.getParent().getParent().getParent().getParent();var f=d&&d.getModel("fieldsInfo").getData();var D;if(p[0]==="Default"){D={keyValue:p[1],value:p[0]};}else if(p[0]==="ClearFieldValue"){D={keyValue:p[1],value:""};}else if(!p){var P=s.getId().substring(s.getId().lastIndexOf(":")+1);D={keyValue:P,value:v};}else{var r=p[0]&&f.values&&f.values[p[0]].filter(function(F){return F.text===s.getValue();});D=r&&r[0]&&r[0].textInfo?{keyValue:p[0],value:r[0].textInfo.value}:{keyValue:p[0],value:s.getValue()};}var e=false;for(var i=0;i<f.results.length;i++){if(f.results[i].keyValue===D.keyValue){e=i;}}if(e!==false){f.results[e]=D;}else{f.results.push(D);}}};return M;},true);
594
597
  /*!
595
598
  * SAP UI development toolkit for HTML5 (SAPUI5)
596
599
  * (c) Copyright 2009-2021 SAP SE. All rights reserved
597
600
  */
598
- sap.ui.predefine('sap/fe/test/JestTemplatingHelper',["sap/fe/macros/PhantomUtil","sap/ui/model/odata/v4/lib/_MetadataRequestor","sap/ui/model/odata/v4/ODataMetaModel","sap/ui/core/util/XMLPreprocessor","sap/base/Log","xpath","fs","@sap/cds-compiler","prettier","sap/ui/base/BindingParser","sap/ui/model/json/JSONModel","sap/ui/core/InvisibleText","sap/base/util/merge","path","sap/fe/core/converters/ConverterContext","sap/fe/core/services/SideEffectsServiceFactory"],function(P,_,O,X,L,x,f,c,p,B,J,I,m,a,C,S){"use strict";var b={};var d=p.format;var t=c.to;var g=c.compileSources;L.setLevel(1,"sap.ui.core.util.XMLPreprocessor");jest.setTimeout(40000);var n={"macros":"sap.fe.macros","macro":"sap.fe.macros","macrodata":"http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1","log":"http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1","unittest":"http://schemas.sap.com/sapui5/preprocessorextension/sap.fe.unittesting/1","control":"sap.fe.core.controls","core":"sap.ui.core","m":"sap.m","f":"sap.ui.layout.form","mdc":"sap.ui.mdc","mdcField":"sap.ui.mdc.field","u":"sap.ui.unified","macroMicroChart":"sap.fe.macros.microchart","microChart":"sap.suite.ui.microchart"};var s=x.useNamespaces(n);var r=function(e){P.register(e);};b.registerMacro=r;var u=function(e){X.plugIn(null,e.namespace,e.name);if(e.publicName){X.plugIn(null,e.publicNamespace,e.publicName);}};b.unregisterMacro=u;var h=function(e,F){return s(e,F);};expect.extend({toHaveControl:function(e,F){var G=h("/root".concat(F),e);return{message:function(){var H=j(e);return"did not find controls matching ".concat(F," in generated xml:\n ").concat(H);},pass:G&&G.length>=1};},toNotHaveControl:function(e,F){var G=h("/root".concat(F),e);return{message:function(){var H=j(e);return"There is a control matching ".concat(F," in generated xml:\n ").concat(H);},pass:G&&G.length===0};}});b.runXPathQuery=h;var i=function(e,F,G){var H="string(/root".concat(e,"/@").concat(F,")");return h(H,G);};b.getControlAttribute=i;var j=function(e){var F=new window.XMLSerializer();var G=F.serializeToString(e).replace(/(?:[\t ]*(?:\r?\n|\r))+/g,"\n").replace(/\\"/g,'"');return d(G,{parser:"html"});};b.serializeXML=j;var k=function(e){var F=f.readFileSync(e,"utf-8");var G=g({"string.cds":F},{});var H=t.edmx(G,{service:"sap.fe.test.JestService"});var K=a.resolve(e,"..","gen");var M=a.resolve(K,a.basename(e).replace(".cds",".xml"));if(!f.existsSync(K)){f.mkdirSync(K);}f.writeFileSync(M,H);return M;};b.compileCDS=k;var l=function(M){try{var F={scopeObject:{},scopeType:"",settings:{}};return Promise.resolve(new S().createInstance(F).then(function(G){var H=G.getInterface();H.getContext=function(){return{scopeObject:{getModel:function(){return{getMetaModel:function(){return M;}};}}};};return H;}));}catch(e){return Promise.reject(e);}};b.getFakeSideEffectsService=l;var o=function(){var e=[];return{addIssue:function(F,G,H){e.push({issueCategory:F,issueSeverity:G,details:H});},getIssues:function(){return e;},checkIfIssueExists:function(F,G,H){return e.find(function(K){K.issueCategory===F&&K.issueSeverity===G&&K.details===H;});}};};b.getFakeDiagnostics=o;var q=function(e,F){var G=e.entitySets.find(function(K){return K.name===F.entitySet;});var H=y(G,G);return new C(e,F,o(),m,H);};b.getConverterContextForTest=q;var v={};var w=function(M){try{function F(){return v[M];};var R=_.create({},"4.0",{});var G=function(){if(!v[M]){var H=new O(R,M,undefined,null);return Promise.resolve(H.fetchEntityContainer()).then(function(){v[M]=H;});}}();return Promise.resolve(G&&G.then?G.then(F):F(G));}catch(e){return Promise.reject(e);}};b.getMetaModel=w;var y=function(e,F){var G={startingEntitySet:e,navigationProperties:[],targetObject:F,targetEntitySet:e,targetEntityType:e.entityType};G.contextLocation=G;return G;};b.getDataModelObjectPathForProperty=y;var z=function(e){var F=B.complexParser(e);for(var G=arguments.length,H=new Array(G>1?G-1:0),K=1;K<G;K++){H[K-1]=arguments[K];}return F.formatter.apply(undefined,H);};b.evaluateBinding=z;var A=function(e,F){var G=B.complexParser(e);var H=new J(F);var K=new I();K.bindProperty("text",G);K.setModel(H);K.setBindingContext(H.createBindingContext("/"));return K.getText();};b.evaluateBindingWithModel=A;var D=function(F,M,G,H){try{var K="<root>".concat(F,"</root>");var N=new window.DOMParser();var Q=N.parseFromString(K,"text/xml");if(!H.hasOwnProperty("converterContext")){H=Object.assign(H,{"converterContext":new J({})});}return Promise.resolve(w(M)).then(function(R){var T={models:Object.assign({metaModel:R},H),bindingContexts:{}};Object.keys(G).forEach(function(U){expect(typeof R.getObject(G[U])).toBeDefined();var V=H[U]||R;T.bindingContexts[U]=V.createBindingContext(G[U]);T.models[U]=V;});if(T.models["this"]){T.bindingContexts["this"]=T.models["this"].createBindingContext("/");}return X.process(Q.firstElementChild,{name:"Test Fragment"},T);});}catch(e){return Promise.reject(e);}};b.getTemplatingResult=D;var E=function(F,M,G,H){try{return Promise.resolve(D(F,M,G,H)).then(j);}catch(e){return Promise.reject(e);}};b.getTemplatedXML=E;return b;},false);
601
+ sap.ui.predefine('sap/fe/test/JestTemplatingHelper',["sap/fe/macros/PhantomUtil","sap/ui/model/odata/v4/lib/_MetadataRequestor","sap/ui/model/odata/v4/ODataMetaModel","sap/ui/core/util/XMLPreprocessor","sap/base/Log","xpath","fs","@sap/cds-compiler","prettier","sap/ui/base/BindingParser","sap/ui/model/json/JSONModel","sap/ui/core/InvisibleText","sap/base/util/merge","path","sap/fe/core/converters/ConverterContext","sap/fe/core/services/SideEffectsServiceFactory","sap/fe/core/TemplateModel"],function(P,_,O,X,L,x,f,c,p,B,J,I,m,a,C,S,T){"use strict";var b={};var d=p.format;var t=c.to;var g=c.compileSources;
602
+ function h(o,n){var V=typeof Symbol!=="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(!V){if(Array.isArray(o)||(V=j(o))||n&&o&&typeof o.length==="number"){if(V)o=V;var i=0;var F=function(){};return{s:F,n:function(){if(i>=o.length)return{done:true};return{done:false,value:o[i++]};},e:function(e){throw e;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var W=true,Y=false,Z;return{s:function(){V=V.call(o);},n:function(){var e=V.next();W=e.done;return e;},e:function(e){Y=true;Z=e;},f:function(){try{if(!W&&V.return!=null)V.return();}finally{if(Y)throw Z;}}};}
603
+ function j(o,e){if(!o)return;if(typeof o==="string")return k(o,e);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return k(o,e);}
604
+ function k(e,n){if(n==null||n>e.length)n=e.length;for(var i=0,o=new Array(n);i<n;i++){o[i]=e[i];}return o;}
605
+ var l=function(n,i){try{var o="<root><core:Fragment fragmentName=\"".concat(n,"\" type=\"XML\" xmlns:core=\"sap.ui.core\" /></root>");var F=new window.DOMParser();var V=F.parseFromString(o,"text/xml");var W={models:{},bindingContexts:{}};for(var Y in i){var Z=new J();Z.setData(i[Y]);W.models[Y]=Z;W.bindingContexts[Y]=W.models[Y].createBindingContext("/");}return Promise.resolve(X.process(V.firstElementChild,{name:n},W)).then(function($){var a1=$.getElementsByTagName("core:Fragment");if((a1===null||a1===void 0?void 0:a1.length)>0){var b1=h(a1),c1;try{for(b1.s();!(c1=b1.n()).done;){var d1=c1.value;d1.innerHTML="";}}catch(e1){b1.e(e1);}finally{b1.f();}}return q($.innerHTML,{filter:function(f1){return f1.type!=="Comment";}});});}catch(e){return Promise.reject(e);}};b.processFragment=l;var q=require("xml-formatter");L.setLevel(1,"sap.ui.core.util.XMLPreprocessor");jest.setTimeout(40000);var r={"macros":"sap.fe.macros","macro":"sap.fe.macros","macrodata":"http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1","log":"http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1","unittest":"http://schemas.sap.com/sapui5/preprocessorextension/sap.fe.unittesting/1","control":"sap.fe.core.controls","core":"sap.ui.core","m":"sap.m","f":"sap.ui.layout.form","mdc":"sap.ui.mdc","mdcField":"sap.ui.mdc.field","u":"sap.ui.unified","macroMicroChart":"sap.fe.macros.microchart","microChart":"sap.suite.ui.microchart"};var s=x.useNamespaces(r);var u=function(e){P.register(e);};b.registerMacro=u;var v=function(e){X.plugIn(null,e.namespace,e.name);if(e.publicName){X.plugIn(null,e.publicNamespace,e.publicName);}};b.unregisterMacro=v;var w=function(e,i){return s(e,i);};expect.extend({toHaveControl:function(e,i){var n=w("/root".concat(i),e);return{message:function(){var o=z(e);return"did not find controls matching ".concat(i," in generated xml:\n ").concat(o);},pass:n&&n.length>=1};},toNotHaveControl:function(e,i){var n=w("/root".concat(i),e);return{message:function(){var o=z(e);return"There is a control matching ".concat(i," in generated xml:\n ").concat(o);},pass:n&&n.length===0};}});b.runXPathQuery=w;var y=function(e,i,n){var o="string(/root".concat(e,"/@").concat(i,")");return w(o,n);};b.getControlAttribute=y;var z=function(e){var i=new window.XMLSerializer();var n=i.serializeToString(e).replace(/(?:[\t ]*(?:\r?\n|\r))+/g,"\n").replace(/\\"/g,'"');return d(n,{parser:"html"});};b.serializeXML=z;var A=function(e){var i=f.readFileSync(e,"utf-8");var n=g({"string.cds":i},{});var o=t.edmx(n,{service:"sap.fe.test.JestService"});var F=a.resolve(e,"..","gen");var V=a.resolve(F,a.basename(e).replace(".cds",".xml"));if(!f.existsSync(F)){f.mkdirSync(F);}f.writeFileSync(V,o);return V;};b.compileCDS=A;var D=function(o){try{var i={scopeObject:{},scopeType:"",settings:{}};return Promise.resolve(new S().createInstance(i).then(function(n){var F=n.getInterface();F.getContext=function(){return{scopeObject:{getModel:function(){return{getMetaModel:function(){return o;}};}}};};return F;}));}catch(e){return Promise.reject(e);}};b.getFakeSideEffectsService=D;var E=function(){var i=[];return{addIssue:function(e,n,o){i.push({issueCategory:e,issueSeverity:n,details:o});},getIssues:function(){return i;},checkIfIssueExists:function(e,n,o){return i.find(function(F){F.issueCategory===e&&F.issueSeverity===n&&F.details===o;});}};};b.getFakeDiagnostics=E;var G=function(e,i){var n=e.entitySets.find(function(F){return F.name===i.entitySet;});var o=M(n,n);return new C(e,i,E(),m,o);};b.getConverterContextForTest=G;var H={};var K=function(i){try{function n(){return H[i];};var o=_.create({},"4.0",{});var F=function(){if(!H[i]){var V=new O(o,i,undefined,null);return Promise.resolve(V.fetchEntityContainer()).then(function(){H[i]=V;});}}();return Promise.resolve(F&&F.then?F.then(n):n(F));}catch(e){return Promise.reject(e);}};b.getMetaModel=K;var M=function(e,i){var n={startingEntitySet:e,navigationProperties:[],targetObject:i,targetEntitySet:e,targetEntityType:e.entityType};n.contextLocation=n;return n;};b.getDataModelObjectPathForProperty=M;var N=function(e){var i=B.complexParser(e);for(var n=arguments.length,o=new Array(n>1?n-1:0),F=1;F<n;F++){o[F-1]=arguments[F];}return i.formatter.apply(undefined,o);};b.evaluateBinding=N;var Q=function(e,i){var n=B.complexParser(e);var o=new J(i);var F=new I();F.bindProperty("text",n);F.setModel(o);F.setBindingContext(o.createBindingContext("/"));return F.getText();};b.evaluateBindingWithModel=Q;var R=function(i,n,o,F){try{var V="<root>".concat(i,"</root>");var W=new window.DOMParser();var Y=W.parseFromString(V,"text/xml");return Promise.resolve(K(n)).then(function(Z){if(!F.hasOwnProperty("converterContext")){F=Object.assign(F,{"converterContext":new T({},Z)});}Object.keys(F).forEach(function(a1){if(F[a1]&&F[a1].isTemplateModel){F[a1]=new T(F[a1].data,Z);}});var $={models:Object.assign({metaModel:Z},F),bindingContexts:{}};Object.keys(o).forEach(function(a1){expect(typeof Z.getObject(o[a1])).toBeDefined();var b1=F[a1]||Z;$.bindingContexts[a1]=b1.createBindingContext(o[a1]);$.models[a1]=b1;});if($.models["this"]){$.bindingContexts["this"]=$.models["this"].createBindingContext("/");}return X.process(Y.firstElementChild,{name:"Test Fragment"},$);});}catch(e){return Promise.reject(e);}};b.getTemplatingResult=R;var U=function(i,n,o,F){try{return Promise.resolve(R(i,n,o,F)).then(z);}catch(e){return Promise.reject(e);}};b.getTemplatedXML=U;return b;},false);
599
606
  sap.ui.predefine('sap/fe/test/UI5MockHelper',[],function(){"use strict";var _={};
600
607
  function a(t,p){for(var i=0;i<p.length;i++){var k=p[i];k.enumerable=k.enumerable||false;k.configurable=true;if("value"in k)k.writable=true;Object.defineProperty(t,k.key,k);}}
601
608
  function b(C,p,s){if(p)a(C.prototype,p);if(s)a(C,s);return C;}
602
609
  function c(i,C){if(!(i instanceof C)){throw new TypeError("Cannot call a class as a function");}}
603
610
  function d(o,k,v){if(k in o){Object.defineProperty(o,k,{value:v,enumerable:true,configurable:true,writable:true});}else{o[k]=v;}return o;}
604
- var M=function M(v,B){var i=this;c(this,M);d(this,"getProperty",jest.fn(function(k){return i.oValues[k];}));d(this,"getObject",jest.fn(function(k){return i.oValues[k];}));d(this,"getPath",jest.fn(function(){return i.oValues["$path"];}));d(this,"getBinding",jest.fn(function(){return i.oBinding;}));this.oValues=v;this.oBinding=B;};_.MockContext=M;var e=function e(){c(this,e);d(this,"getBindingInfo",jest.fn());d(this,"getBinding",jest.fn());};_.MockControl=e;var f=function(){function f(C){var i=this;c(this,f);d(this,"setAggregation",jest.fn());d(this,"filter",jest.fn());d(this,"sort",jest.fn());d(this,"requestContexts",jest.fn(function(){return Promise.resolve(i.aMockContexts);}));d(this,"getCurrentContexts",jest.fn(function(){return i.aMockContexts;}));C=C||[];this.aMockContexts=C.map(function(k){return new M(k,i);});}_.MockListBinding=f;b(f,[{key:"isA",value:function i(C){return C==="sap.ui.model.odata.v4.ODataListBinding";}}]);return f;}();_.MockListBinding=f;var g=function(){function g(C){var i=this;c(this,g);d(this,"getBoundContext",jest.fn(function(){return i.oMockContext;}));d(this,"attachEventOnce",jest.fn());this.oMockContext=new M(C||{},this);}_.MockContextBinding=g;b(g,[{key:"isA",value:function i(C){return C==="sap.ui.model.odata.v4.ODataContextBinding";}},{key:"getInternalMockContext",value:function i(){return this.oMockContext;}}]);return g;}();_.MockContextBinding=g;var h=function h(m){var i=this;c(this,h);d(this,"getMetaContext",jest.fn(function(p){return new M({$path:p});}));d(this,"getObject",jest.fn(function(p){return i.oMetaContext.getProperty(p);}));this.oMetaContext=new M(m||{});};_.MockMetaModel=h;var j=function(){function j(m,i){var k=this;c(this,j);d(this,"bindList",jest.fn(function(){return k.mockListBinding;}));d(this,"bindContext",jest.fn(function(){return k.mockContextBinding;}));d(this,"getMetaModel",jest.fn(function(){return k.oMetaModel;}));this.mockListBinding=m;this.mockContextBinding=i;}_.MockModel=j;b(j,[{key:"setMetaModel",value:function s(m){this.oMetaModel=m;}}],[{key:"modelFromListBinding",value:function i(m){return new j(m);}},{key:"modelFromContextBinding",value:function i(m){return new j(undefined,m);}}]);return j;}();_.MockModel=j;return _;},false);
611
+ var M=function M(v,B){var i=this;c(this,M);d(this,"getProperty",jest.fn(function(k){return i.oValues[k];}));d(this,"setProperty",jest.fn(function(k,l){i.oValues[k]=l;return i.oValues[k];}));d(this,"getObject",jest.fn(function(k){return i.oValues[k];}));d(this,"getPath",jest.fn(function(){return i.oValues["$path"];}));d(this,"getBinding",jest.fn(function(){return i.oBinding;}));d(this,"getModel",jest.fn());this.oValues=v;this.oBinding=B;};_.MockContext=M;var e=function e(){c(this,e);d(this,"getBindingInfo",jest.fn());d(this,"getBinding",jest.fn());d(this,"data",jest.fn());d(this,"getModel",jest.fn());};_.MockControl=e;var f=function(){function f(C){var i=this;c(this,f);d(this,"setAggregation",jest.fn());d(this,"filter",jest.fn());d(this,"sort",jest.fn());d(this,"requestContexts",jest.fn(function(){return Promise.resolve(i.aMockContexts);}));d(this,"getCurrentContexts",jest.fn(function(){return i.aMockContexts;}));C=C||[];this.aMockContexts=C.map(function(k){return new M(k,i);});}_.MockListBinding=f;b(f,[{key:"isA",value:function i(C){return C==="sap.ui.model.odata.v4.ODataListBinding";}}]);return f;}();_.MockListBinding=f;var g=function(){function g(C){var i=this;c(this,g);d(this,"getBoundContext",jest.fn(function(){return i.oMockContext;}));d(this,"attachEventOnce",jest.fn());this.oMockContext=new M(C||{},this);}_.MockContextBinding=g;b(g,[{key:"isA",value:function i(C){return C==="sap.ui.model.odata.v4.ODataContextBinding";}},{key:"getInternalMockContext",value:function i(){return this.oMockContext;}}]);return g;}();_.MockContextBinding=g;var h=function h(m){var i=this;c(this,h);d(this,"getMetaContext",jest.fn(function(p){return new M({$path:p});}));d(this,"getObject",jest.fn(function(p){return i.oMetaContext.getProperty(p);}));d(this,"requestObject",jest.fn());d(this,"createBindingContext",jest.fn());d(this,"getMetaPath",jest.fn());this.oMetaContext=new M(m||{});};_.MockMetaModel=h;var j=function(){function j(m,i){var k=this;c(this,j);d(this,"bindList",jest.fn(function(){return k.mockListBinding;}));d(this,"bindContext",jest.fn(function(){return k.mockContextBinding;}));d(this,"getMetaModel",jest.fn(function(){return k.oMetaModel;}));d(this,"getProperty",jest.fn());d(this,"setProperty",jest.fn());this.mockListBinding=m;this.mockContextBinding=i;}_.MockModel=j;b(j,[{key:"setMetaModel",value:function s(m){this.oMetaModel=m;}}],[{key:"modelFromListBinding",value:function i(m){return new j(m);}},{key:"modelFromContextBinding",value:function i(m){return new j(undefined,m);}}]);return j;}();_.MockModel=j;return _;},false);
605
612
  sap.ui.require.preload({
606
- "sap/fe/test/manifest.json":'{"_version":"1.21.0","sap.app":{"id":"sap.fe.test","type":"library","embeds":[],"applicationVersion":{"version":"1.96.0"},"title":"UI5 library: sap.fe.test","description":"UI5 library: sap.fe.test","resources":"resources.json","offline":true},"sap.ui":{"technology":"UI5","supportedThemes":[]},"sap.ui5":{"dependencies":{"minUI5Version":"1.96","libs":{"sap.ui.core":{"minVersion":"1.96.0"}}},"library":{"i18n":false,"css":false,"content":{"controls":[],"elements":[],"types":[],"interfaces":[]}}}}'
613
+ "sap/fe/test/manifest.json":'{"_version":"1.21.0","sap.app":{"id":"sap.fe.test","type":"library","embeds":[],"applicationVersion":{"version":"1.97.0"},"title":"UI5 library: sap.fe.test","description":"UI5 library: sap.fe.test","resources":"resources.json","offline":true},"sap.ui":{"technology":"UI5","supportedThemes":[]},"sap.ui5":{"dependencies":{"minUI5Version":"1.97","libs":{"sap.ui.core":{"minVersion":"1.97.0"}}},"library":{"i18n":false,"css":false,"content":{"controls":[],"elements":[],"types":[],"interfaces":[]}}}}'
607
614
  },"sap/fe/test/library-preload"
608
615
  );
609
616
  //# sourceMappingURL=library-preload.js.map