@sap/open.fe 1.98.0 → 1.99.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 (916) 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 +10 -8
  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 +3 -3
  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.common/test/sap/fe/common/relnotes/changes-1.99.json +18 -0
  17. package/packages/sap.fe.core/src/sap/fe/core/.library +1 -1
  18. package/packages/sap.fe.core/src/sap/fe/core/.theming +1 -1
  19. package/packages/sap.fe.core/src/sap/fe/core/AnnotationHelper-dbg.js +376 -405
  20. package/packages/sap.fe.core/src/sap/fe/core/AnnotationHelper.js +2 -3
  21. package/packages/sap.fe.core/src/sap/fe/core/AnnotationHelper.ts +385 -0
  22. package/packages/sap.fe.core/src/sap/fe/core/AppStateHandler-dbg.js +228 -181
  23. package/packages/sap.fe.core/src/sap/fe/core/AppStateHandler.js +2 -3
  24. package/packages/sap.fe.core/src/sap/fe/core/AppStateHandler.ts +171 -0
  25. package/packages/sap.fe.core/src/sap/fe/core/BusyLocker-dbg.js +104 -121
  26. package/packages/sap.fe.core/src/sap/fe/core/BusyLocker.js +2 -3
  27. package/packages/sap.fe.core/src/sap/fe/core/BusyLocker.ts +98 -0
  28. package/packages/sap.fe.core/src/sap/fe/core/CommonUtils-dbg.js +2072 -2399
  29. package/packages/sap.fe.core/src/sap/fe/core/CommonUtils.js +2 -3
  30. package/packages/sap.fe.core/src/sap/fe/core/CommonUtils.ts +2078 -0
  31. package/packages/sap.fe.core/src/sap/fe/core/PageController-dbg.js +83 -125
  32. package/packages/sap.fe.core/src/sap/fe/core/PageController.js +2 -3
  33. package/packages/sap.fe.core/src/sap/fe/core/PageController.ts +101 -0
  34. package/packages/sap.fe.core/src/sap/fe/core/RouterProxy-dbg.js +985 -823
  35. package/packages/sap.fe.core/src/sap/fe/core/RouterProxy.js +2 -3
  36. package/packages/sap.fe.core/src/sap/fe/core/RouterProxy.ts +838 -0
  37. package/packages/sap.fe.core/src/sap/fe/core/Synchronization-dbg.js +50 -35
  38. package/packages/sap.fe.core/src/sap/fe/core/Synchronization.js +2 -3
  39. package/packages/sap.fe.core/src/sap/fe/core/Synchronization.ts +29 -0
  40. package/packages/sap.fe.core/src/sap/fe/core/TemplateComponent-dbg.js +172 -164
  41. package/packages/sap.fe.core/src/sap/fe/core/TemplateComponent.js +2 -3
  42. package/packages/sap.fe.core/src/sap/fe/core/TemplateComponent.ts +166 -0
  43. package/packages/sap.fe.core/src/sap/fe/core/TemplateModel-dbg.js +96 -54
  44. package/packages/sap.fe.core/src/sap/fe/core/TemplateModel.js +2 -3
  45. package/packages/sap.fe.core/src/sap/fe/core/TemplateModel.ts +63 -0
  46. package/packages/sap.fe.core/src/sap/fe/core/TransactionHelper-dbg.js +1575 -1664
  47. package/packages/sap.fe.core/src/sap/fe/core/TransactionHelper.js +2 -3
  48. package/packages/sap.fe.core/src/sap/fe/core/TransactionHelper.ts +1706 -0
  49. package/packages/sap.fe.core/src/sap/fe/core/actions/draft-dbg.js +558 -608
  50. package/packages/sap.fe.core/src/sap/fe/core/actions/draft.js +2 -3
  51. package/packages/sap.fe.core/src/sap/fe/core/actions/draft.ts +593 -0
  52. package/packages/sap.fe.core/src/sap/fe/core/actions/messageHandling-dbg.js +544 -514
  53. package/packages/sap.fe.core/src/sap/fe/core/actions/messageHandling.js +2 -3
  54. package/packages/sap.fe.core/src/sap/fe/core/actions/messageHandling.ts +532 -0
  55. package/packages/sap.fe.core/src/sap/fe/core/actions/nonDraft-dbg.js +16 -19
  56. package/packages/sap.fe.core/src/sap/fe/core/actions/nonDraft.js +2 -3
  57. package/packages/sap.fe.core/src/sap/fe/core/actions/nonDraft.ts +12 -0
  58. package/packages/sap.fe.core/src/sap/fe/core/actions/operations-dbg.js +1073 -1215
  59. package/packages/sap.fe.core/src/sap/fe/core/actions/operations.js +2 -3
  60. package/packages/sap.fe.core/src/sap/fe/core/actions/operations.ts +1162 -0
  61. package/packages/sap.fe.core/src/sap/fe/core/actions/sticky-dbg.js +101 -105
  62. package/packages/sap.fe.core/src/sap/fe/core/actions/sticky.js +2 -3
  63. package/packages/sap.fe.core/src/sap/fe/core/actions/sticky.ts +102 -0
  64. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/EditFlow-dbg.js +51 -209
  65. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/EditFlow.js +1 -1
  66. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalEditFlow-dbg.js +276 -9
  67. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalEditFlow.js +1 -1
  68. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalIntentBasedNavigation-dbg.js +5 -4
  69. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalIntentBasedNavigation.js +1 -1
  70. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalRouting-dbg.js +44 -43
  71. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalRouting.js +1 -1
  72. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/KPIManagement-dbg.js +2 -3
  73. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/KPIManagement.js +1 -1
  74. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/KPIManagement.ts +29 -26
  75. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/MassEdit-dbg.js +98 -6
  76. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/MassEdit.js +1 -1
  77. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/MessageHandler-dbg.js +14 -6
  78. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/MessageHandler.js +1 -1
  79. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/PageReady-dbg.js +2 -2
  80. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/PageReady.js +1 -1
  81. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/PageReady.ts +12 -8
  82. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/Routing-dbg.js +6 -2
  83. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/Routing.js +1 -1
  84. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/SideEffects-dbg.js +3 -3
  85. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/SideEffects.js +1 -1
  86. package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/SideEffects.ts +18 -18
  87. package/packages/sap.fe.core/src/sap/fe/core/controls/FieldWrapper-dbg.js +8 -20
  88. package/packages/sap.fe.core/src/sap/fe/core/controls/FieldWrapper.js +1 -1
  89. package/packages/sap.fe.core/src/sap/fe/core/controls/NonComputedVisibleKeyFieldsDialog.fragment.xml +1 -0
  90. package/packages/sap.fe.core/src/sap/fe/core/controls/filterbar/VisualFilter-dbg.js +2 -2
  91. package/packages/sap.fe.core/src/sap/fe/core/controls/filterbar/VisualFilter.js +1 -1
  92. package/packages/sap.fe.core/src/sap/fe/core/converters/ConverterContext-dbg.js +2 -2
  93. package/packages/sap.fe.core/src/sap/fe/core/converters/ConverterContext.js +1 -1
  94. package/packages/sap.fe.core/src/sap/fe/core/converters/ConverterContext.ts +4 -3
  95. package/packages/sap.fe.core/src/sap/fe/core/converters/ManifestSettings-dbg.js +1 -1
  96. package/packages/sap.fe.core/src/sap/fe/core/converters/ManifestSettings.ts +1 -0
  97. package/packages/sap.fe.core/src/sap/fe/core/converters/ManifestWrapper-dbg.js +39 -26
  98. package/packages/sap.fe.core/src/sap/fe/core/converters/ManifestWrapper.js +1 -1
  99. package/packages/sap.fe.core/src/sap/fe/core/converters/ManifestWrapper.ts +9 -0
  100. package/packages/sap.fe.core/src/sap/fe/core/converters/MetaModelConverter-dbg.js +11 -8
  101. package/packages/sap.fe.core/src/sap/fe/core/converters/MetaModelConverter.js +1 -1
  102. package/packages/sap.fe.core/src/sap/fe/core/converters/MetaModelConverter.ts +16 -16
  103. package/packages/sap.fe.core/src/sap/fe/core/converters/TemplateConverter-dbg.js +1 -1
  104. package/packages/sap.fe.core/src/sap/fe/core/converters/TemplateConverter.ts +2 -2
  105. package/packages/sap.fe.core/src/sap/fe/core/converters/common/AnnotationConverter-dbg.js +17 -13
  106. package/packages/sap.fe.core/src/sap/fe/core/converters/common/AnnotationConverter.js +1 -1
  107. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Action-dbg.js +2 -2
  108. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Action.js +1 -1
  109. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Action.ts +2 -2
  110. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Chart-dbg.js +5 -3
  111. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Chart.js +1 -1
  112. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Chart.ts +11 -3
  113. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/DataVisualization-dbg.js +3 -3
  114. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/DataVisualization.js +1 -1
  115. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/DataVisualization.ts +2 -2
  116. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Form-dbg.js +4 -2
  117. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Form.js +1 -1
  118. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Form.ts +16 -2
  119. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Table-dbg.js +250 -146
  120. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Table.js +1 -1
  121. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Table.ts +300 -167
  122. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/table/StandardActions-dbg.js +115 -56
  123. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/table/StandardActions.js +1 -1
  124. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/table/StandardActions.ts +120 -74
  125. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ListReport/FilterBar-dbg.js +467 -32
  126. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ListReport/FilterBar.js +1 -1
  127. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ListReport/FilterBar.ts +483 -54
  128. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ObjectPage/SubSection-dbg.js +6 -6
  129. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ObjectPage/SubSection.js +1 -1
  130. package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ObjectPage/SubSection.ts +9 -15
  131. package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/Aggregation-dbg.js +13 -5
  132. package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/Aggregation.js +1 -1
  133. package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/Aggregation.ts +20 -5
  134. package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/IssueManager-dbg.js +4 -1
  135. package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/IssueManager.js +1 -1
  136. package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/IssueManager.ts +3 -0
  137. package/packages/sap.fe.core/src/sap/fe/core/converters/objectPage/HeaderAndFooterAction-dbg.js +4 -4
  138. package/packages/sap.fe.core/src/sap/fe/core/converters/objectPage/HeaderAndFooterAction.js +1 -1
  139. package/packages/sap.fe.core/src/sap/fe/core/converters/objectPage/HeaderAndFooterAction.ts +3 -3
  140. package/packages/sap.fe.core/src/sap/fe/core/converters/templates/ListReportConverter-dbg.js +13 -6
  141. package/packages/sap.fe.core/src/sap/fe/core/converters/templates/ListReportConverter.js +1 -1
  142. package/packages/sap.fe.core/src/sap/fe/core/converters/templates/ListReportConverter.ts +26 -15
  143. package/packages/sap.fe.core/src/sap/fe/core/formatters/CriticalityFormatter-dbg.js +1 -1
  144. package/packages/sap.fe.core/src/sap/fe/core/formatters/CriticalityFormatter.ts +1 -1
  145. package/packages/sap.fe.core/src/sap/fe/core/formatters/FPMFormatter-dbg.js +1 -1
  146. package/packages/sap.fe.core/src/sap/fe/core/formatters/FPMFormatter.ts +4 -10
  147. package/packages/sap.fe.core/src/sap/fe/core/formatters/KPIFormatter-dbg.js +1 -1
  148. package/packages/sap.fe.core/src/sap/fe/core/formatters/KPIFormatter.ts +3 -1
  149. package/packages/sap.fe.core/src/sap/fe/core/formatters/TableFormatter-dbg.js +39 -28
  150. package/packages/sap.fe.core/src/sap/fe/core/formatters/TableFormatter.js +1 -1
  151. package/packages/sap.fe.core/src/sap/fe/core/formatters/TableFormatter.ts +43 -28
  152. package/packages/sap.fe.core/src/sap/fe/core/formatters/ValueFormatter-dbg.js +1 -1
  153. package/packages/sap.fe.core/src/sap/fe/core/formatters/ValueFormatter.ts +7 -6
  154. package/packages/sap.fe.core/src/sap/fe/core/fpm/manifest.json +2 -2
  155. package/packages/sap.fe.core/src/sap/fe/core/helpers/AppStartupHelper-dbg.js +2 -2
  156. package/packages/sap.fe.core/src/sap/fe/core/helpers/AppStartupHelper.js +1 -1
  157. package/packages/sap.fe.core/src/sap/fe/core/helpers/AppStartupHelper.ts +7 -4
  158. package/packages/sap.fe.core/src/sap/fe/core/helpers/BindingExpression-dbg.js +314 -355
  159. package/packages/sap.fe.core/src/sap/fe/core/helpers/BindingExpression.js +1 -1
  160. package/packages/sap.fe.core/src/sap/fe/core/helpers/BindingExpression.ts +317 -391
  161. package/packages/sap.fe.core/src/sap/fe/core/helpers/ClassSupport-dbg.js +27 -15
  162. package/packages/sap.fe.core/src/sap/fe/core/helpers/ClassSupport.js +1 -1
  163. package/packages/sap.fe.core/src/sap/fe/core/helpers/ClassSupport.ts +31 -20
  164. package/packages/sap.fe.core/src/sap/fe/core/helpers/DynamicAnnotationPathHelper-dbg.js +62 -59
  165. package/packages/sap.fe.core/src/sap/fe/core/helpers/DynamicAnnotationPathHelper.js +2 -3
  166. package/packages/sap.fe.core/src/sap/fe/core/helpers/DynamicAnnotationPathHelper.ts +56 -0
  167. package/packages/sap.fe.core/src/sap/fe/core/helpers/EditState-dbg.js +80 -84
  168. package/packages/sap.fe.core/src/sap/fe/core/helpers/EditState.js +2 -3
  169. package/packages/sap.fe.core/src/sap/fe/core/helpers/EditState.ts +81 -0
  170. package/packages/sap.fe.core/src/sap/fe/core/helpers/ExcelFormatHelper-dbg.js +61 -48
  171. package/packages/sap.fe.core/src/sap/fe/core/helpers/ExcelFormatHelper.js +2 -3
  172. package/packages/sap.fe.core/src/sap/fe/core/helpers/ExcelFormatHelper.ts +49 -0
  173. package/packages/sap.fe.core/src/sap/fe/core/helpers/FPMHelper-dbg.js +51 -56
  174. package/packages/sap.fe.core/src/sap/fe/core/helpers/FPMHelper.js +2 -3
  175. package/packages/sap.fe.core/src/sap/fe/core/helpers/FPMHelper.ts +62 -0
  176. package/packages/sap.fe.core/src/sap/fe/core/helpers/KeepAliveHelper-dbg.js +3 -4
  177. package/packages/sap.fe.core/src/sap/fe/core/helpers/KeepAliveHelper.js +1 -1
  178. package/packages/sap.fe.core/src/sap/fe/core/helpers/KeepAliveHelper.ts +9 -9
  179. package/packages/sap.fe.core/src/sap/fe/core/helpers/MassEditHelper-dbg.js +24 -16
  180. package/packages/sap.fe.core/src/sap/fe/core/helpers/MassEditHelper.js +1 -1
  181. package/packages/sap.fe.core/src/sap/fe/core/helpers/ModelHelper-dbg.js +228 -225
  182. package/packages/sap.fe.core/src/sap/fe/core/helpers/ModelHelper.js +2 -3
  183. package/packages/sap.fe.core/src/sap/fe/core/helpers/ModelHelper.ts +227 -0
  184. package/packages/sap.fe.core/src/sap/fe/core/helpers/PasteHelper-dbg.js +209 -132
  185. package/packages/sap.fe.core/src/sap/fe/core/helpers/PasteHelper.js +2 -3
  186. package/packages/sap.fe.core/src/sap/fe/core/helpers/PasteHelper.ts +196 -0
  187. package/packages/sap.fe.core/src/sap/fe/core/helpers/SemanticDateOperators-dbg.js +331 -313
  188. package/packages/sap.fe.core/src/sap/fe/core/helpers/SemanticDateOperators.js +2 -3
  189. package/packages/sap.fe.core/src/sap/fe/core/helpers/SemanticDateOperators.ts +330 -0
  190. package/packages/sap.fe.core/src/sap/fe/core/helpers/SemanticKeyHelper-dbg.js +65 -67
  191. package/packages/sap.fe.core/src/sap/fe/core/helpers/SemanticKeyHelper.js +2 -3
  192. package/packages/sap.fe.core/src/sap/fe/core/helpers/SemanticKeyHelper.ts +73 -0
  193. package/packages/sap.fe.core/src/sap/fe/core/helpers/StableIdHelper-dbg.js +1 -5
  194. package/packages/sap.fe.core/src/sap/fe/core/helpers/StableIdHelper.js +1 -1
  195. package/packages/sap.fe.core/src/sap/fe/core/helpers/StableIdHelper.ts +2 -6
  196. package/packages/sap.fe.core/src/sap/fe/core/jsx-runtime/jsx-dbg.js +1 -1
  197. package/packages/sap.fe.core/src/sap/fe/core/jsx-runtime/jsx.ts +1 -1
  198. package/packages/sap.fe.core/src/sap/fe/core/library-dbg.js +1 -1
  199. package/packages/sap.fe.core/src/sap/fe/core/library-h2-preload.js +23 -26
  200. package/packages/sap.fe.core/src/sap/fe/core/library-h2-preload.js.map +1 -1
  201. package/packages/sap.fe.core/src/sap/fe/core/library-preload.js +630 -649
  202. package/packages/sap.fe.core/src/sap/fe/core/library-preload.js.map +3 -3
  203. package/packages/sap.fe.core/src/sap/fe/core/library-preload.support.js +17 -5
  204. package/packages/sap.fe.core/src/sap/fe/core/library-preload.support.js.map +2 -2
  205. package/packages/sap.fe.core/src/sap/fe/core/library.js +1 -1
  206. package/packages/sap.fe.core/src/sap/fe/core/manifest.json +10 -10
  207. package/packages/sap.fe.core/src/sap/fe/core/manifestMerger/ChangePageConfiguration-dbg.js +1 -1
  208. package/packages/sap.fe.core/src/sap/fe/core/manifestMerger/ChangePageConfiguration.ts +1 -1
  209. package/packages/sap.fe.core/src/sap/fe/core/messagebundle.properties +23 -10
  210. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ar.properties +9 -0
  211. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_bg.properties +9 -0
  212. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ca.properties +9 -0
  213. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_cs.properties +10 -1
  214. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_cy.properties +9 -0
  215. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_da.properties +9 -0
  216. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_de.properties +9 -0
  217. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_el.properties +9 -0
  218. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_en.properties +9 -0
  219. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_en_GB.properties +9 -0
  220. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_en_US_sappsd.properties +9 -0
  221. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_en_US_saprigi.properties +9 -0
  222. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_en_US_saptrc.properties +9 -0
  223. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_es.properties +9 -0
  224. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_es_MX.properties +9 -0
  225. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_et.properties +9 -0
  226. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_fi.properties +9 -0
  227. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_fr.properties +13 -4
  228. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_fr_CA.properties +15 -6
  229. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_hi.properties +15 -6
  230. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_hr.properties +15 -6
  231. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_hu.properties +9 -0
  232. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_id.properties +10 -1
  233. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_it.properties +9 -0
  234. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_iw.properties +9 -0
  235. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ja.properties +9 -0
  236. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_kk.properties +15 -6
  237. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ko.properties +9 -0
  238. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_lt.properties +9 -0
  239. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_lv.properties +15 -6
  240. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ms.properties +14 -5
  241. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_nl.properties +9 -0
  242. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_no.properties +9 -0
  243. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_pl.properties +9 -0
  244. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_pt.properties +9 -0
  245. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_pt_PT.properties +9 -0
  246. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ro.properties +9 -0
  247. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ru.properties +9 -0
  248. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_sh.properties +11 -2
  249. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_sk.properties +9 -0
  250. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_sl.properties +15 -6
  251. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_sv.properties +9 -0
  252. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_th.properties +9 -0
  253. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_tr.properties +9 -0
  254. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_uk.properties +9 -0
  255. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_vi.properties +9 -0
  256. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_zh_CN.properties +9 -0
  257. package/packages/sap.fe.core/src/sap/fe/core/messagebundle_zh_TW.properties +15 -6
  258. package/packages/sap.fe.core/src/sap/fe/core/resources.json +427 -341
  259. package/packages/sap.fe.core/src/sap/fe/core/services/AsyncComponentServiceFactory-dbg.js +1 -1
  260. package/packages/sap.fe.core/src/sap/fe/core/services/AsyncComponentServiceFactory.ts +3 -1
  261. package/packages/sap.fe.core/src/sap/fe/core/services/CacheHandlerServiceFactory-dbg.js +268 -202
  262. package/packages/sap.fe.core/src/sap/fe/core/services/CacheHandlerServiceFactory.js +2 -3
  263. package/packages/sap.fe.core/src/sap/fe/core/services/CacheHandlerServiceFactory.ts +212 -0
  264. package/packages/sap.fe.core/src/sap/fe/core/services/EnvironmentServiceFactory-dbg.js +1 -1
  265. package/packages/sap.fe.core/src/sap/fe/core/services/EnvironmentServiceFactory.ts +7 -6
  266. package/packages/sap.fe.core/src/sap/fe/core/services/NavigationServiceFactory-dbg.js +405 -300
  267. package/packages/sap.fe.core/src/sap/fe/core/services/NavigationServiceFactory.js +2 -3
  268. package/packages/sap.fe.core/src/sap/fe/core/services/NavigationServiceFactory.ts +316 -0
  269. package/packages/sap.fe.core/src/sap/fe/core/services/ResourceModelServiceFactory-dbg.js +148 -81
  270. package/packages/sap.fe.core/src/sap/fe/core/services/ResourceModelServiceFactory.js +2 -3
  271. package/packages/sap.fe.core/src/sap/fe/core/services/ResourceModelServiceFactory.ts +80 -0
  272. package/packages/sap.fe.core/src/sap/fe/core/services/RoutingServiceFactory-dbg.js +986 -899
  273. package/packages/sap.fe.core/src/sap/fe/core/services/RoutingServiceFactory.js +2 -3
  274. package/packages/sap.fe.core/src/sap/fe/core/services/RoutingServiceFactory.ts +898 -0
  275. package/packages/sap.fe.core/src/sap/fe/core/services/ShellServicesFactory-dbg.js +1 -1
  276. package/packages/sap.fe.core/src/sap/fe/core/services/ShellServicesFactory.ts +15 -10
  277. package/packages/sap.fe.core/src/sap/fe/core/services/SideEffectsServiceFactory-dbg.js +35 -81
  278. package/packages/sap.fe.core/src/sap/fe/core/services/SideEffectsServiceFactory.js +1 -1
  279. package/packages/sap.fe.core/src/sap/fe/core/services/SideEffectsServiceFactory.ts +46 -94
  280. package/packages/sap.fe.core/src/sap/fe/core/services/TemplatedViewServiceFactory-dbg.js +460 -487
  281. package/packages/sap.fe.core/src/sap/fe/core/services/TemplatedViewServiceFactory.js +2 -3
  282. package/packages/sap.fe.core/src/sap/fe/core/services/TemplatedViewServiceFactory.ts +453 -0
  283. package/packages/sap.fe.core/src/sap/fe/core/services/view/TemplatingErrorPage-dbg.controller.js +9 -8
  284. package/packages/sap.fe.core/src/sap/fe/core/services/view/TemplatingErrorPage.controller.js +2 -3
  285. package/packages/sap.fe.core/src/sap/fe/core/services/view/TemplatingErrorPage.controller.ts +8 -0
  286. package/packages/sap.fe.core/src/sap/fe/core/support/AnnotationIssue.support.js +15 -3
  287. package/packages/sap.fe.core/src/sap/fe/core/support/AnnotationIssue.support.ts +16 -2
  288. package/packages/sap.fe.core/src/sap/fe/core/support/CollectionFacetUnsupportedLevel.support.js +2 -2
  289. package/packages/sap.fe.core/src/sap/fe/core/support/CollectionFacetUnsupportedLevel.support.ts +1 -1
  290. package/packages/sap.fe.core/src/sap/fe/core/templating/FieldControlHelper-dbg.js +8 -8
  291. package/packages/sap.fe.core/src/sap/fe/core/templating/FieldControlHelper.js +1 -1
  292. package/packages/sap.fe.core/src/sap/fe/core/templating/FieldControlHelper.ts +25 -7
  293. package/packages/sap.fe.core/src/sap/fe/core/templating/FilterHelper-dbg.js +138 -72
  294. package/packages/sap.fe.core/src/sap/fe/core/templating/FilterHelper.js +1 -1
  295. package/packages/sap.fe.core/src/sap/fe/core/templating/FilterHelper.ts +139 -71
  296. package/packages/sap.fe.core/src/sap/fe/core/templating/UIFormatters-dbg.js +31 -1
  297. package/packages/sap.fe.core/src/sap/fe/core/templating/UIFormatters.js +1 -1
  298. package/packages/sap.fe.core/src/sap/fe/core/templating/UIFormatters.ts +33 -2
  299. package/packages/sap.fe.core/src/sap/fe/core/type/Email-dbg.js +1 -1
  300. package/packages/sap.fe.core/src/sap/fe/core/type/Email.ts +4 -6
  301. package/packages/sap.fe.core/test/sap/fe/core/designtime/api.json +1 -1
  302. package/packages/sap.fe.core/test/sap/fe/core/designtime/apiref/api.json +1 -1
  303. package/packages/sap.fe.core/test/sap/fe/core/designtime/codeassistance/Library.jsmeta.json +1 -1
  304. package/packages/sap.fe.core/test/sap/fe/core/designtime/codeassistance/Library.jstemplates.json +1 -1
  305. package/packages/sap.fe.core/test/sap/fe/core/designtime/codeassistance/Library.xmlmeta.json +1 -1
  306. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/controls/FileEditor.js +15 -1
  307. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/model/MacroNavigationModel.js +90 -0
  308. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/buildingBlockOverview.md +2 -0
  309. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartFilterBar/Component.js +36 -0
  310. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartFilterBar/chartFilterBar.controller.js +5 -0
  311. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartFilterBar/chartFilterBar.view.xml +22 -0
  312. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartFilterBar/localService/ChildEntity.json +686 -0
  313. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartFilterBar/localService/CreditLimitDetails.json +154 -0
  314. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartFilterBar/localService/RootEntity.json +252 -0
  315. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartFilterBar/localService/service.cds +141 -0
  316. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartFilterBar/localService/status.json +11 -0
  317. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartFilterBar/manifest.json +69 -0
  318. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chartFilterBar.html +37 -0
  319. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldFormatOptions/FieldFormatOptions.view.xml +186 -122
  320. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldFormatOptions/localService/FieldFormatOptions.cds +5 -0
  321. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldFormatOptions/localService/RootEntity.json +2 -1
  322. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarDefault/localService/service.cds +15 -1
  323. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarSVandAnnotationDefaults/localService/service.cds +36 -5
  324. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/form/formSample/Component.js +33 -0
  325. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/form/formSample/FormSample.view.xml +10 -0
  326. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/form/formSample/localService/FormSample.cds +72 -0
  327. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/form/formSample/localService/RootEntity.json +13 -0
  328. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/form/formSample/manifest.json +68 -0
  329. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/formSample.html +37 -0
  330. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/guidance/guidanceFreestyle/EntryPage.controller.js +72 -43
  331. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/guidance/guidanceFreestyle/EntryPage.controller.ts +90 -0
  332. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/guidance/guidanceFreestyle/EntryPage.view.xml +12 -3
  333. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableCustoms/Page.controller.js +4 -0
  334. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableCustoms/Page.view.xml +9 -3
  335. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableFilterBar/Component.js +36 -0
  336. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableFilterBar/TableFilterBar.controller.js +5 -0
  337. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableFilterBar/TableFilterBar.view.xml +11 -0
  338. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableFilterBar/localService/RootEntity.json +102 -0
  339. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableFilterBar/localService/ValueHelpEntity.js +11 -0
  340. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableFilterBar/localService/service.cds +94 -0
  341. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableFilterBar/manifest.json +79 -0
  342. package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/tableFilterBar.html +37 -0
  343. package/packages/sap.fe.core/test/sap/fe/core/jest/AnnotationHelper.spec.js +694 -0
  344. package/packages/sap.fe.core/test/sap/fe/core/jest/AnnotationHelper.spec.ts +819 -0
  345. package/packages/sap.fe.core/test/sap/fe/core/jest/AppStateHandler.spec.js +51 -0
  346. package/packages/sap.fe.core/test/sap/fe/core/jest/AppStateHandler.spec.ts +40 -0
  347. package/packages/sap.fe.core/test/sap/fe/core/jest/BindingExpression-AnnotationExpression.spec.js +1 -1
  348. package/packages/sap.fe.core/test/sap/fe/core/jest/BindingExpression-AnnotationExpression.spec.ts +1 -1
  349. package/packages/sap.fe.core/test/sap/fe/core/jest/BindingExpression.spec.js +26 -15
  350. package/packages/sap.fe.core/test/sap/fe/core/jest/BindingExpression.spec.ts +28 -15
  351. package/packages/sap.fe.core/test/sap/fe/core/jest/CommonUtils.spec.ts +202 -0
  352. package/packages/sap.fe.core/test/sap/fe/core/jest/RouterProxy.spec.js +54 -0
  353. package/packages/sap.fe.core/test/sap/fe/core/jest/RouterProxy.spec.ts +35 -0
  354. package/packages/sap.fe.core/test/sap/fe/core/jest/TemplateConverter.spec.js +5 -11
  355. package/packages/sap.fe.core/test/sap/fe/core/jest/TemplateConverter.spec.ts +8 -8
  356. package/packages/sap.fe.core/test/sap/fe/core/jest/TransactionHelper.spec.js +736 -619
  357. package/packages/sap.fe.core/test/sap/fe/core/jest/TransactionHelper.spec.ts +703 -0
  358. package/packages/sap.fe.core/test/sap/fe/core/jest/__snapshots__/TemplateConverter.spec.ts.snap +89 -85
  359. package/packages/sap.fe.core/test/sap/fe/core/jest/actions/draft.spec.js +102 -0
  360. package/packages/sap.fe.core/test/sap/fe/core/jest/actions/draft.spec.ts +97 -0
  361. package/packages/sap.fe.core/test/sap/fe/core/jest/actions/messageHandling.spec.js +492 -0
  362. package/packages/sap.fe.core/test/sap/fe/core/jest/actions/messageHandling.spec.ts +509 -0
  363. package/packages/sap.fe.core/test/sap/fe/core/jest/actions/operations.spec.js +895 -0
  364. package/packages/sap.fe.core/test/sap/fe/core/jest/actions/operations.spec.ts +908 -0
  365. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/EditFlow.spec.js +209 -353
  366. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/EditFlow.spec.ts +222 -362
  367. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/InternalEditFlow.spec.js +508 -0
  368. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/InternalEditFlow.spec.ts +440 -0
  369. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/InternalRouting.spec.ts +90 -0
  370. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/KPIManagement.spec.js +1 -1
  371. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/KPIManagement.spec.ts +10 -10
  372. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/MassEdit.spec.js +286 -0
  373. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/MassEdit.spec.ts +179 -0
  374. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/MessageHandler.spec.js +200 -21
  375. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/MessageHandler.spec.ts +168 -17
  376. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/Routing.spec.js +40 -0
  377. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/Routing.spec.ts +26 -0
  378. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/SideEffects.spec.js +1 -1
  379. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/SideEffects.spec.ts +1 -1
  380. package/packages/sap.fe.core/test/sap/fe/core/jest/controls/FilterBar.spec.js +355 -0
  381. package/packages/sap.fe.core/test/sap/fe/core/jest/controls/FilterBar.spec.ts +287 -0
  382. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/ConverterContext.spec.js +1 -1
  383. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/ConverterContext.spec.ts +1 -1
  384. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/Filter.spec.js +542 -0
  385. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/Filter.spec.ts +588 -0
  386. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/HeaderFacet.spec.js +1 -2
  387. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/HeaderFacet.spec.ts +1 -2
  388. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/ListReportConverter.spec.js +371 -7
  389. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/ListReportConverter.spec.ts +469 -6
  390. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/MetaModelConverter.spec.js +2 -2
  391. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/MetaModelConverter.spec.ts +2 -2
  392. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/ObjectPageAvatar.spec.js +2 -2
  393. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/ObjectPageAvatar.spec.ts +1 -1
  394. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/SubSection.spec.js +12 -8
  395. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/SubSection.spec.ts +8 -7
  396. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/Table.spec.js +436 -45
  397. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/Table.spec.ts +565 -33
  398. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/TableStandardActions.spec.js +136 -78
  399. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/TableStandardActions.spec.ts +315 -199
  400. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/__snapshots__/Filter.spec.ts.snap +307 -0
  401. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/__snapshots__/MetaModelConverter.spec.ts.snap +49 -1
  402. package/packages/sap.fe.core/test/sap/fe/core/jest/converters/__snapshots__/Table.spec.ts.snap +1 -0
  403. package/packages/sap.fe.core/test/sap/fe/core/jest/data/AnalyticalService.cds +51 -4
  404. package/packages/sap.fe.core/test/sap/fe/core/jest/data/AnalyticalService2.cds +107 -0
  405. package/packages/sap.fe.core/test/sap/fe/core/jest/data/ComplexType.cds +39 -0
  406. package/packages/sap.fe.core/test/sap/fe/core/jest/data/Filter.cds +187 -0
  407. package/packages/sap.fe.core/test/sap/fe/core/jest/data/MassEditHelper.cds +226 -0
  408. package/packages/sap.fe.core/test/sap/fe/core/jest/data/SideEffects.cds +1 -1
  409. package/packages/sap.fe.core/test/sap/fe/core/jest/data/computedDefaultValueService.cds +99 -0
  410. package/packages/sap.fe.core/test/sap/fe/core/jest/formatters/TableFormatters.spec.js +25 -5
  411. package/packages/sap.fe.core/test/sap/fe/core/jest/formatters/TableFormatters.spec.ts +18 -7
  412. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/AppStartupHelper.spec.js +1 -1
  413. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/AppStartupHelper.spec.ts +4 -2
  414. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/DynamicAnnotationPathHelper.spec.js +40 -0
  415. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/DynamicAnnotationPathHelper.spec.ts +39 -0
  416. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/ExcelFormatHelper.spec.js +20 -0
  417. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/ExcelFormatHelper.spec.ts +13 -0
  418. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/KeepAliveHelper.spec.js +1 -1
  419. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/KeepAliveHelper.spec.ts +3 -3
  420. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/MassEditHelper.spec.js +712 -0
  421. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/MassEditHelper.spec.ts +613 -0
  422. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/ModelHelper.spec.js +344 -225
  423. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/ModelHelper.spec.ts +347 -0
  424. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/PasteHelper.spec.js +439 -0
  425. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/PasteHelper.spec.ts +378 -0
  426. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/SemanticDateOperators.spec.js +123 -0
  427. package/packages/sap.fe.core/test/sap/fe/core/{qunit/helpers/SemanticDateOperators.qunit.js → jest/helpers/SemanticDateOperators.spec.ts} +10 -21
  428. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/SemanticKeyHelper.spec.js +215 -0
  429. package/packages/sap.fe.core/test/sap/fe/core/{qunit/helpers/SemanticKeyHelper.qunit.js → jest/helpers/SemanticKeyHelper.spec.ts} +58 -55
  430. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/StableIdHelper.spec.js +125 -0
  431. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/StableIdHelper.spec.ts +142 -0
  432. package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/__snapshots__/MassEditHelper.spec.ts.snap +263 -0
  433. package/packages/sap.fe.core/test/sap/fe/core/jest/services/CacheHandlerTest.spec.js +871 -0
  434. package/packages/sap.fe.core/test/sap/fe/core/jest/services/CacheHandlerTest.spec.ts +899 -0
  435. package/packages/sap.fe.core/test/sap/fe/core/jest/services/NavigationServiceFactory.spec.js +46 -0
  436. package/packages/sap.fe.core/test/sap/fe/core/jest/services/NavigationServiceFactory.spec.ts +37 -0
  437. package/packages/sap.fe.core/test/sap/fe/core/jest/services/RoutingServiceFactory.spec.js +120 -3
  438. package/packages/sap.fe.core/test/sap/fe/core/jest/services/RoutingServiceFactory.spec.ts +96 -7
  439. package/packages/sap.fe.core/test/sap/fe/core/jest/services/ShellServicesFactory.spec.js +86 -0
  440. package/packages/sap.fe.core/test/sap/fe/core/jest/services/ShellServicesFactory.spec.ts +72 -0
  441. package/packages/sap.fe.core/test/sap/fe/core/jest/services/SideEffectsService.spec.js +16 -44
  442. package/packages/sap.fe.core/test/sap/fe/core/jest/services/SideEffectsService.spec.ts +22 -60
  443. package/packages/sap.fe.core/test/sap/fe/core/jest/templating/PropertyHelper.spec.js +4 -4
  444. package/packages/sap.fe.core/test/sap/fe/core/jest/templating/PropertyHelper.spec.ts +9 -3
  445. package/packages/sap.fe.core/test/sap/fe/core/jest/type/ComplexType.spec.js +68 -0
  446. package/packages/sap.fe.core/test/sap/fe/core/jest/type/ComplexType.spec.ts +51 -0
  447. package/packages/sap.fe.core/test/sap/fe/core/qunit/TemplatingExpressions.qunit.js +2 -2
  448. package/packages/sap.fe.core/test/sap/fe/core/qunit/apps/generalTests.json +0 -105
  449. package/packages/sap.fe.core/test/sap/fe/core/relnotes/changes-1.98.json +0 -11
  450. package/packages/sap.fe.core/test/sap/fe/core/relnotes/changes-1.99.json +534 -0
  451. package/packages/sap.fe.macros/src/sap/fe/macros/.library +1 -1
  452. package/packages/sap.fe.macros/src/sap/fe/macros/.theming +1 -1
  453. package/packages/sap.fe.macros/src/sap/fe/macros/Chart.metadata-dbg.js +14 -5
  454. package/packages/sap.fe.macros/src/sap/fe/macros/Chart.metadata.js +1 -1
  455. package/packages/sap.fe.macros/src/sap/fe/macros/ChartAPI-dbg.js +15 -6
  456. package/packages/sap.fe.macros/src/sap/fe/macros/ChartAPI.js +1 -1
  457. package/packages/sap.fe.macros/src/sap/fe/macros/ChartAPI.ts +9 -1
  458. package/packages/sap.fe.macros/src/sap/fe/macros/ChartDelegate-dbg.js +37 -3
  459. package/packages/sap.fe.macros/src/sap/fe/macros/ChartDelegate.js +1 -1
  460. package/packages/sap.fe.macros/src/sap/fe/macros/CommonHelper-dbg.js +27 -2
  461. package/packages/sap.fe.macros/src/sap/fe/macros/CommonHelper.js +1 -1
  462. package/packages/sap.fe.macros/src/sap/fe/macros/Field.fragment.xml +4 -0
  463. package/packages/sap.fe.macros/src/sap/fe/macros/Field.metadata-dbg.js +17 -1
  464. package/packages/sap.fe.macros/src/sap/fe/macros/Field.metadata.js +1 -1
  465. package/packages/sap.fe.macros/src/sap/fe/macros/Field.metadata.ts +17 -1
  466. package/packages/sap.fe.macros/src/sap/fe/macros/FieldAPI-dbg.js +1 -1
  467. package/packages/sap.fe.macros/src/sap/fe/macros/FieldAPI.ts +35 -9
  468. package/packages/sap.fe.macros/src/sap/fe/macros/FilterBar.fragment.xml +1 -1
  469. package/packages/sap.fe.macros/src/sap/fe/macros/FilterBar.metadata-dbg.js +41 -10
  470. package/packages/sap.fe.macros/src/sap/fe/macros/FilterBar.metadata.js +1 -1
  471. package/packages/sap.fe.macros/src/sap/fe/macros/FilterBarAPI-dbg.js +1 -1
  472. package/packages/sap.fe.macros/src/sap/fe/macros/FilterBarAPI.ts +1 -1
  473. package/packages/sap.fe.macros/src/sap/fe/macros/FilterBarDelegate-dbg.js +50 -4
  474. package/packages/sap.fe.macros/src/sap/fe/macros/FilterBarDelegate.js +1 -1
  475. package/packages/sap.fe.macros/src/sap/fe/macros/Form.fragment.xml +65 -75
  476. package/packages/sap.fe.macros/src/sap/fe/macros/Form.metadata-dbg.js +55 -51
  477. package/packages/sap.fe.macros/src/sap/fe/macros/Form.metadata.js +1 -1
  478. package/packages/sap.fe.macros/src/sap/fe/macros/FormAPI-dbg.js +83 -0
  479. package/packages/sap.fe.macros/src/sap/fe/macros/FormAPI.js +5 -0
  480. package/packages/sap.fe.macros/src/sap/fe/macros/FormAPI.ts +29 -0
  481. package/packages/sap.fe.macros/src/sap/fe/macros/FormContainer.fragment.xml +11 -10
  482. package/packages/sap.fe.macros/src/sap/fe/macros/FormContainer.metadata-dbg.js +2 -4
  483. package/packages/sap.fe.macros/src/sap/fe/macros/FormContainer.metadata.js +1 -1
  484. package/packages/sap.fe.macros/src/sap/fe/macros/FormContainerAPI-dbg.js +99 -0
  485. package/packages/sap.fe.macros/src/sap/fe/macros/FormContainerAPI.js +5 -0
  486. package/packages/sap.fe.macros/src/sap/fe/macros/FormContainerAPI.ts +32 -0
  487. package/packages/sap.fe.macros/src/sap/fe/macros/MacroAPI-dbg.js +67 -7
  488. package/packages/sap.fe.macros/src/sap/fe/macros/MacroAPI.js +1 -1
  489. package/packages/sap.fe.macros/src/sap/fe/macros/MacroAPI.ts +60 -10
  490. package/packages/sap.fe.macros/src/sap/fe/macros/PhantomUtil-dbg.js +26 -34
  491. package/packages/sap.fe.macros/src/sap/fe/macros/PhantomUtil.js +1 -1
  492. package/packages/sap.fe.macros/src/sap/fe/macros/Table.fragment.xml +6 -6
  493. package/packages/sap.fe.macros/src/sap/fe/macros/Table.metadata-dbg.js +38 -4
  494. package/packages/sap.fe.macros/src/sap/fe/macros/Table.metadata.js +1 -1
  495. package/packages/sap.fe.macros/src/sap/fe/macros/TableAPI-dbg.js +78 -92
  496. package/packages/sap.fe.macros/src/sap/fe/macros/TableAPI.js +1 -1
  497. package/packages/sap.fe.macros/src/sap/fe/macros/TableAPI.ts +55 -68
  498. package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldHelper-dbg.js +41 -39
  499. package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldHelper.js +1 -1
  500. package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldRuntime-dbg.js +125 -31
  501. package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldRuntime.js +1 -1
  502. package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldTemplating-dbg.js +16 -42
  503. package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldTemplating.js +1 -1
  504. package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldTemplating.ts +13 -39
  505. package/packages/sap.fe.macros/src/sap/fe/macros/field/QuickViewLinkDelegate-dbg.js +0 -7
  506. package/packages/sap.fe.macros/src/sap/fe/macros/field/QuickViewLinkDelegate.js +1 -1
  507. package/packages/sap.fe.macros/src/sap/fe/macros/filter/FilterFieldHelper-dbg.js +142 -129
  508. package/packages/sap.fe.macros/src/sap/fe/macros/filter/FilterFieldHelper.js +1 -1
  509. package/packages/sap.fe.macros/src/sap/fe/macros/filter/FilterUtils-dbg.js +120 -61
  510. package/packages/sap.fe.macros/src/sap/fe/macros/filter/FilterUtils.js +1 -1
  511. package/packages/sap.fe.macros/src/sap/fe/macros/form/AddressSection.fragment.xml +4 -4
  512. package/packages/sap.fe.macros/src/sap/fe/macros/form/DataFieldCollection.fragment.xml +3 -3
  513. package/packages/sap.fe.macros/src/sap/fe/macros/form/FormHelper-dbg.js +1 -14
  514. package/packages/sap.fe.macros/src/sap/fe/macros/form/FormHelper.js +1 -1
  515. package/packages/sap.fe.macros/src/sap/fe/macros/internal/CollectionField.fragment.xml +1 -1
  516. package/packages/sap.fe.macros/src/sap/fe/macros/internal/CollectionField.metadata-dbg.js +23 -8
  517. package/packages/sap.fe.macros/src/sap/fe/macros/internal/CollectionField.metadata.js +1 -1
  518. package/packages/sap.fe.macros/src/sap/fe/macros/internal/CollectionField.metadata.ts +29 -17
  519. package/packages/sap.fe.macros/src/sap/fe/macros/internal/DataPoint.fragment.xml +45 -54
  520. package/packages/sap.fe.macros/src/sap/fe/macros/internal/DataPoint.metadata-dbg.js +16 -22
  521. package/packages/sap.fe.macros/src/sap/fe/macros/internal/DataPoint.metadata.js +1 -1
  522. package/packages/sap.fe.macros/src/sap/fe/macros/internal/Field.fragment.xml +1 -1
  523. package/packages/sap.fe.macros/src/sap/fe/macros/internal/Field.metadata-dbg.js +14 -5
  524. package/packages/sap.fe.macros/src/sap/fe/macros/internal/Field.metadata.js +1 -1
  525. package/packages/sap.fe.macros/src/sap/fe/macros/internal/FilterField.fragment.xml +1 -1
  526. package/packages/sap.fe.macros/src/sap/fe/macros/internal/SituationsIndicator-dbg.js +3 -2
  527. package/packages/sap.fe.macros/src/sap/fe/macros/internal/SituationsIndicator.ts +4 -3
  528. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/FieldStructure.fragment.xml +1 -1
  529. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/LinkWithQuickViewForm.fragment.xml +3 -1
  530. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/LinkWrapper.fragment.xml +3 -1
  531. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/ObjectIdentifier.fragment.xml +4 -145
  532. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/ObjectStatus.fragment.xml +32 -8
  533. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/DatePicker.fragment.xml +1 -1
  534. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/DateTimePicker.fragment.xml +1 -1
  535. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/File.fragment.xml +3 -3
  536. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/Input.fragment.xml +1 -1
  537. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/InputWithUnit.fragment.xml +2 -2
  538. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/InputWithValueHelp.fragment.xml +2 -2
  539. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/TextArea.fragment.xml +1 -1
  540. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/TimePicker.fragment.xml +1 -1
  541. package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/fragments/ObjectIdentifierContent.fragment.xml +81 -0
  542. package/packages/sap.fe.macros/src/sap/fe/macros/internal/helpers/DataPointTemplating-dbg.js +64 -30
  543. package/packages/sap.fe.macros/src/sap/fe/macros/internal/helpers/DataPointTemplating.js +1 -1
  544. package/packages/sap.fe.macros/src/sap/fe/macros/internal/helpers/DataPointTemplating.ts +58 -36
  545. package/packages/sap.fe.macros/src/sap/fe/macros/internal/situations/Formatter-dbg.js +4 -2
  546. package/packages/sap.fe.macros/src/sap/fe/macros/internal/situations/Formatter.js +1 -1
  547. package/packages/sap.fe.macros/src/sap/fe/macros/internal/situations/Formatter.ts +19 -20
  548. package/packages/sap.fe.macros/src/sap/fe/macros/internal/situations/Runtime-dbg.js +2 -3
  549. package/packages/sap.fe.macros/src/sap/fe/macros/internal/situations/Runtime.js +1 -1
  550. package/packages/sap.fe.macros/src/sap/fe/macros/internal/situations/Runtime.ts +13 -5
  551. package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueHelpContent.fragment.xml +3 -1
  552. package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueHelpTemplating-dbg.js +17 -7
  553. package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueHelpTemplating.js +1 -1
  554. package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueHelpTemplating.ts +10 -3
  555. package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueListDialogTable.fragment.xml +1 -1
  556. package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueListHelper-dbg.js +53 -62
  557. package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueListHelper.js +1 -1
  558. package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueListTable.fragment.xml +2 -2
  559. package/packages/sap.fe.macros/src/sap/fe/macros/library-dbg.js +1 -1
  560. package/packages/sap.fe.macros/src/sap/fe/macros/library-h2-preload.js +16 -14
  561. package/packages/sap.fe.macros/src/sap/fe/macros/library-h2-preload.js.map +1 -1
  562. package/packages/sap.fe.macros/src/sap/fe/macros/library-preload.js +157 -178
  563. package/packages/sap.fe.macros/src/sap/fe/macros/library-preload.js.map +4 -4
  564. package/packages/sap.fe.macros/src/sap/fe/macros/library.js +1 -1
  565. package/packages/sap.fe.macros/src/sap/fe/macros/manifest.json +9 -9
  566. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle.properties +1 -1
  567. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ar.properties +14 -6
  568. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_bg.properties +14 -6
  569. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ca.properties +14 -6
  570. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_cs.properties +14 -6
  571. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_cy.properties +14 -6
  572. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_da.properties +14 -6
  573. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_de.properties +14 -6
  574. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_el.properties +14 -6
  575. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_en.properties +14 -6
  576. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_en_GB.properties +14 -6
  577. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_en_US_sappsd.properties +14 -6
  578. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_en_US_saprigi.properties +14 -6
  579. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_en_US_saptrc.properties +14 -6
  580. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_es.properties +14 -6
  581. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_es_MX.properties +14 -6
  582. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_et.properties +14 -6
  583. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_fi.properties +14 -6
  584. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_fr.properties +14 -6
  585. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_fr_CA.properties +14 -6
  586. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_hi.properties +14 -6
  587. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_hr.properties +14 -6
  588. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_hu.properties +14 -6
  589. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_id.properties +14 -6
  590. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_it.properties +14 -6
  591. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_iw.properties +14 -6
  592. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ja.properties +14 -6
  593. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_kk.properties +14 -6
  594. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ko.properties +14 -6
  595. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_lt.properties +14 -6
  596. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_lv.properties +14 -6
  597. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ms.properties +14 -6
  598. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_nl.properties +14 -6
  599. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_no.properties +14 -6
  600. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_pl.properties +14 -6
  601. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_pt.properties +14 -6
  602. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_pt_PT.properties +14 -6
  603. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ro.properties +14 -6
  604. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ru.properties +14 -6
  605. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_sh.properties +14 -6
  606. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_sk.properties +14 -6
  607. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_sl.properties +16 -8
  608. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_sv.properties +14 -6
  609. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_th.properties +14 -6
  610. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_tr.properties +14 -6
  611. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_uk.properties +14 -6
  612. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_vi.properties +14 -6
  613. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_zh_CN.properties +14 -6
  614. package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_zh_TW.properties +14 -6
  615. package/packages/sap.fe.macros/src/sap/fe/macros/microchart/MicroChartHelper-dbg.js +2 -2
  616. package/packages/sap.fe.macros/src/sap/fe/macros/microchart/MicroChartHelper.js +1 -1
  617. package/packages/sap.fe.macros/src/sap/fe/macros/microchart/fragments/BulletMicroChart.fragment.xml +2 -2
  618. package/packages/sap.fe.macros/src/sap/fe/macros/microchart/fragments/ComparisonMicroChart.fragment.xml +1 -1
  619. package/packages/sap.fe.macros/src/sap/fe/macros/resources.json +277 -209
  620. package/packages/sap.fe.macros/src/sap/fe/macros/table/Actions.fragment.xml +5 -16
  621. package/packages/sap.fe.macros/src/sap/fe/macros/table/ColumnContent.fragment.xml +17 -4
  622. package/packages/sap.fe.macros/src/sap/fe/macros/table/TableHelper-dbg.js +0 -2
  623. package/packages/sap.fe.macros/src/sap/fe/macros/table/TableHelper.js +1 -1
  624. package/packages/sap.fe.macros/src/sap/fe/macros/table/TableRuntime-dbg.js +27 -18
  625. package/packages/sap.fe.macros/src/sap/fe/macros/table/TableRuntime.js +1 -1
  626. package/packages/sap.fe.macros/src/sap/fe/macros/table/delegates/TableDelegate-dbg.js +196 -139
  627. package/packages/sap.fe.macros/src/sap/fe/macros/table/delegates/TableDelegate.js +1 -1
  628. package/packages/sap.fe.macros/src/sap/fe/macros/visualfilters/InteractiveChartHelper-dbg.js +12 -14
  629. package/packages/sap.fe.macros/src/sap/fe/macros/visualfilters/InteractiveChartHelper.js +1 -1
  630. package/packages/sap.fe.macros/src/sap/fe/macros/visualfilters/VisualFilterRuntime-dbg.js +13 -15
  631. package/packages/sap.fe.macros/src/sap/fe/macros/visualfilters/VisualFilterRuntime.js +1 -1
  632. package/packages/sap.fe.macros/test/sap/fe/macros/designtime/api.json +113 -2
  633. package/packages/sap.fe.macros/test/sap/fe/macros/designtime/apiref/api.json +1 -1
  634. package/packages/sap.fe.macros/test/sap/fe/macros/designtime/codeassistance/Library.jsmeta.json +1 -1
  635. package/packages/sap.fe.macros/test/sap/fe/macros/designtime/codeassistance/Library.xmlmeta.json +1 -1
  636. package/packages/sap.fe.macros/test/sap/fe/macros/jest/ChartDelegate.spec.js +1 -1
  637. package/packages/sap.fe.macros/test/sap/fe/macros/jest/ChartDelegate.spec.ts +1 -1
  638. package/packages/sap.fe.macros/test/sap/fe/macros/jest/ChartMacro.spec.js +32 -20
  639. package/packages/sap.fe.macros/test/sap/fe/macros/jest/ChartMacro.spec.ts +24 -12
  640. package/packages/sap.fe.macros/test/sap/fe/macros/jest/CollectionField.spec.js +15 -5
  641. package/packages/sap.fe.macros/test/sap/fe/macros/jest/CollectionField.spec.ts +18 -3
  642. package/packages/sap.fe.macros/test/sap/fe/macros/jest/CommonHelper.spec.js +69 -0
  643. package/packages/sap.fe.macros/test/sap/fe/macros/jest/CommonHelper.spec.ts +32 -0
  644. package/packages/sap.fe.macros/test/sap/fe/macros/jest/DatapointMacro.spec.js +6 -180
  645. package/packages/sap.fe.macros/test/sap/fe/macros/jest/DatapointMacro.spec.ts +6 -177
  646. package/packages/sap.fe.macros/test/sap/fe/macros/jest/FieldMacroWithSemanticKey.spec.js +1 -1
  647. package/packages/sap.fe.macros/test/sap/fe/macros/jest/FieldMacroWithSemanticKey.spec.ts +1 -1
  648. package/packages/sap.fe.macros/test/sap/fe/macros/jest/FilterField.spec.js +1 -1
  649. package/packages/sap.fe.macros/test/sap/fe/macros/jest/FilterField.spec.ts +1 -2
  650. package/packages/sap.fe.macros/test/sap/fe/macros/jest/FilterFieldHelper.spec.js +51 -0
  651. package/packages/sap.fe.macros/test/sap/fe/macros/jest/FilterFieldHelper.spec.ts +48 -0
  652. package/packages/sap.fe.macros/test/sap/fe/macros/jest/FilterUtils.spec.js +133 -0
  653. package/packages/sap.fe.macros/test/sap/fe/macros/jest/FormContainerAPI.spec.js +34 -0
  654. package/packages/sap.fe.macros/test/sap/fe/macros/jest/FormContainerAPI.spec.ts +23 -0
  655. package/packages/sap.fe.macros/test/sap/fe/macros/jest/FormMacro.spec.js +49 -0
  656. package/packages/sap.fe.macros/test/sap/fe/macros/jest/FormMacro.spec.ts +41 -0
  657. package/packages/sap.fe.macros/test/sap/fe/macros/jest/MacroAPI.spec.js +105 -0
  658. package/packages/sap.fe.macros/test/sap/fe/macros/jest/MacroAPI.spec.ts +53 -0
  659. package/packages/sap.fe.macros/test/sap/fe/macros/jest/MacroComponent.spec.js +1 -1
  660. package/packages/sap.fe.macros/test/sap/fe/macros/jest/MacroComponent.spec.ts +1 -1
  661. package/packages/sap.fe.macros/test/sap/fe/macros/jest/MicroChart.spec.js +15 -1
  662. package/packages/sap.fe.macros/test/sap/fe/macros/jest/MicroChart.spec.ts +13 -0
  663. package/packages/sap.fe.macros/test/sap/fe/macros/jest/PhantomUtil.spec.js +1 -1
  664. package/packages/sap.fe.macros/test/sap/fe/macros/jest/PhantomUtil.spec.ts +1 -1
  665. package/packages/sap.fe.macros/test/sap/fe/macros/jest/QuickViewForm.spec.js +2 -3
  666. package/packages/sap.fe.macros/test/sap/fe/macros/jest/QuickViewForm.spec.ts +3 -4
  667. package/packages/sap.fe.macros/test/sap/fe/macros/jest/SimpleFieldMacro.spec.js +14 -4
  668. package/packages/sap.fe.macros/test/sap/fe/macros/jest/SimpleFieldMacro.spec.ts +18 -4
  669. package/packages/sap.fe.macros/test/sap/fe/macros/jest/Table.spec.js +140 -0
  670. package/packages/sap.fe.macros/test/sap/fe/macros/jest/Table.spec.ts +144 -0
  671. package/packages/sap.fe.macros/test/sap/fe/macros/jest/TableAPI.spec.js +445 -635
  672. package/packages/sap.fe.macros/test/sap/fe/macros/jest/TableAPI.spec.ts +528 -719
  673. package/packages/sap.fe.macros/test/sap/fe/macros/jest/TableMacro.spec.js +83 -4
  674. package/packages/sap.fe.macros/test/sap/fe/macros/jest/TableMacro.spec.ts +101 -3
  675. package/packages/sap.fe.macros/test/sap/fe/macros/jest/ValueHelpMacro.spec.js +1 -1
  676. package/packages/sap.fe.macros/test/sap/fe/macros/jest/ValueHelpMacro.spec.ts +1 -1
  677. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/ChartMacro.spec.ts.snap +75 -7
  678. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/CollectionField.spec.ts.snap +26 -11
  679. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/DatapointMacro.spec.ts.snap +42 -304
  680. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/FieldMacroDataFieldTypes.spec.ts.snap +6 -6
  681. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/FilterBarMacro.spec.ts.snap +12 -12
  682. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/FilterField.spec.ts.snap +3 -3
  683. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/FormMacro.spec.ts.snap +150 -0
  684. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/KPITag.spec.ts.snap +4 -4
  685. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/MicroChart.spec.ts.snap +39 -3
  686. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/QuickViewForm.spec.ts.snap +4 -4
  687. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/SimpleFieldMacro.spec.ts.snap +125 -51
  688. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/Table.spec.ts.snap +1455 -0
  689. package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/Chart.cds +56 -1
  690. package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/FieldMacroDataFieldTypes.cds +12 -59
  691. package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/Form.cds +129 -0
  692. package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/MicroChart.cds +14 -0
  693. package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/Table.cds +55 -2
  694. package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/simpleFieldMacro.cds +10 -4
  695. package/packages/sap.fe.macros/test/sap/fe/macros/jest/field/FieldRuntime.spec.js +2 -2
  696. package/packages/sap.fe.macros/test/sap/fe/macros/jest/field/FieldRuntime.spec.ts +15 -8
  697. package/packages/sap.fe.macros/test/sap/fe/macros/jest/field/FieldTemplating.spec.js +12 -34
  698. package/packages/sap.fe.macros/test/sap/fe/macros/jest/field/FieldTemplating.spec.ts +21 -38
  699. package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/Actions.spec.js +1 -1
  700. package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/Actions.spec.ts +2 -2
  701. package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/__snapshots__/columnWidth.spec.ts.snap +54 -14
  702. package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/columnWidth.spec.js +17 -7
  703. package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/columnWidth.spec.ts +18 -11
  704. package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/data/columnWidth.cds +26 -3
  705. package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/delegates/TableDelegate.spec.js +145 -17
  706. package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/delegates/TableDelegate.spec.ts +176 -18
  707. package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/delegates/__snapshots__/TableDelegate.spec.ts.snap +813 -111
  708. package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/delegates/data/tabledelegate.cds +9 -2
  709. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FieldHelper.qunit.js +0 -56
  710. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FieldHelperTemplate.qunit.js +0 -321
  711. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FormContainerTemplating.qunit.js +1 -0
  712. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FormTemplating.qunit.js +10 -5
  713. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FormTemplatingTs.qunit.js +1 -1
  714. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/MicroChartHelperForTemplate.qunit.js +1 -2
  715. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/TableRuntime.qunit.js +1 -1
  716. package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/ValueListHelper.qunit.js +130 -1
  717. package/packages/sap.fe.macros/test/sap/fe/macros/relnotes/changes-1.99.json +343 -0
  718. package/packages/sap.fe.navigation/src/sap/fe/navigation/.library +1 -1
  719. package/packages/sap.fe.navigation/src/sap/fe/navigation/.theming +1 -1
  720. package/packages/sap.fe.navigation/src/sap/fe/navigation/NavigationHandler-dbg.js +0 -1
  721. package/packages/sap.fe.navigation/src/sap/fe/navigation/NavigationHandler.js +1 -1
  722. package/packages/sap.fe.navigation/src/sap/fe/navigation/library-dbg.js +1 -1
  723. package/packages/sap.fe.navigation/src/sap/fe/navigation/library-h2-preload.js +2 -2
  724. package/packages/sap.fe.navigation/src/sap/fe/navigation/library-preload.js +3 -3
  725. package/packages/sap.fe.navigation/src/sap/fe/navigation/library-preload.js.map +2 -2
  726. package/packages/sap.fe.navigation/src/sap/fe/navigation/library.js +1 -1
  727. package/packages/sap.fe.navigation/src/sap/fe/navigation/manifest.json +3 -3
  728. package/packages/sap.fe.navigation/src/sap/fe/navigation/resources.json +4 -4
  729. package/packages/sap.fe.navigation/test/sap/fe/navigation/designtime/api.json +1 -1
  730. package/packages/sap.fe.navigation/test/sap/fe/navigation/designtime/apiref/api.json +1 -1
  731. package/packages/sap.fe.navigation/test/sap/fe/navigation/designtime/codeassistance/Library.xmlmeta.json +1 -1
  732. package/packages/sap.fe.placeholder/src/sap/fe/placeholder/.library +1 -1
  733. package/packages/sap.fe.placeholder/src/sap/fe/placeholder/.theming +1 -1
  734. package/packages/sap.fe.placeholder/src/sap/fe/placeholder/library-dbg.js +1 -1
  735. package/packages/sap.fe.placeholder/src/sap/fe/placeholder/library-h2-preload.js +2 -2
  736. package/packages/sap.fe.placeholder/src/sap/fe/placeholder/library-preload.js +2 -2
  737. package/packages/sap.fe.placeholder/src/sap/fe/placeholder/library.js +1 -1
  738. package/packages/sap.fe.placeholder/src/sap/fe/placeholder/manifest.json +3 -3
  739. package/packages/sap.fe.placeholder/test/sap/fe/placeholder/designtime/api.json +1 -1
  740. package/packages/sap.fe.placeholder/test/sap/fe/placeholder/designtime/apiref/api.json +1 -1
  741. package/packages/sap.fe.templates/src/sap/fe/templates/.library +1 -1
  742. package/packages/sap.fe.templates/src/sap/fe/templates/.theming +1 -1
  743. package/packages/sap.fe.templates/src/sap/fe/templates/AnalyticalListPage/manifest.json +2 -2
  744. package/packages/sap.fe.templates/src/sap/fe/templates/ListComponent-dbg.js +1 -1
  745. package/packages/sap.fe.templates/src/sap/fe/templates/ListComponent.js +1 -1
  746. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/Component-dbg.js +8 -0
  747. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/Component.js +1 -1
  748. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/ExtensionAPI-dbg.js +8 -3
  749. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/ExtensionAPI.js +1 -1
  750. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/ListReport.view.xml +11 -6
  751. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/ListReportController-dbg.controller.js +114 -29
  752. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/ListReportController.controller.js +1 -1
  753. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/manifest.json +2 -2
  754. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/IntentBasedNavigation-dbg.js +10 -10
  755. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/IntentBasedNavigation.js +1 -1
  756. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/Share-dbg.js +7 -6
  757. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/Share.js +1 -1
  758. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/ViewState-dbg.js +75 -53
  759. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/ViewState.js +1 -1
  760. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/resources.json +14 -23
  761. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/view/fragments/CollectionVisualization.fragment.xml +8 -0
  762. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/AnnotationHelper-dbg.js +3 -3
  763. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/AnnotationHelper.js +1 -1
  764. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/Component-dbg.js +1 -1
  765. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/Component.js +1 -1
  766. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/ObjectPage.view.xml +8 -45
  767. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/ObjectPageController-dbg.controller.js +17 -67
  768. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.js +1 -1
  769. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/manifest.json +2 -2
  770. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/resources.json +24 -12
  771. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/templating/ObjectPageTemplating-dbg.js +1 -1
  772. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/templating/ObjectPageTemplating.ts +2 -2
  773. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/FooterContent.fragment.xml +5 -1
  774. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/Heading.fragment.xml +33 -0
  775. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/HeadingAvatar.fragment.xml +17 -0
  776. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/HeadingTitle.fragment.xml +18 -0
  777. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/SectionFormContent.fragment.xml +3 -3
  778. package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/SectionMoreFormContent.fragment.xml +3 -3
  779. package/packages/sap.fe.templates/src/sap/fe/templates/library-dbg.js +1 -1
  780. package/packages/sap.fe.templates/src/sap/fe/templates/library-h2-preload.js +7 -5
  781. package/packages/sap.fe.templates/src/sap/fe/templates/library-h2-preload.js.map +1 -1
  782. package/packages/sap.fe.templates/src/sap/fe/templates/library-preload.js +24 -22
  783. package/packages/sap.fe.templates/src/sap/fe/templates/library-preload.js.map +4 -4
  784. package/packages/sap.fe.templates/src/sap/fe/templates/library.js +1 -1
  785. package/packages/sap.fe.templates/src/sap/fe/templates/manifest.json +13 -13
  786. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle.properties +14 -30
  787. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_ar.properties +24 -6
  788. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_bg.properties +24 -6
  789. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_ca.properties +24 -6
  790. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_cs.properties +24 -6
  791. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_cy.properties +24 -6
  792. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_da.properties +24 -6
  793. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_de.properties +24 -6
  794. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_el.properties +25 -7
  795. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_en.properties +24 -6
  796. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_en_GB.properties +24 -6
  797. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_en_US_sappsd.properties +24 -6
  798. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_en_US_saprigi.properties +24 -6
  799. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_en_US_saptrc.properties +24 -6
  800. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_es.properties +24 -6
  801. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_es_MX.properties +24 -6
  802. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_et.properties +24 -6
  803. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_fi.properties +24 -6
  804. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_fr.properties +24 -6
  805. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_fr_CA.properties +24 -6
  806. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_hi.properties +24 -6
  807. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_hr.properties +25 -7
  808. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_hu.properties +24 -6
  809. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_id.properties +26 -8
  810. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_it.properties +24 -6
  811. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_iw.properties +24 -6
  812. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_ja.properties +24 -6
  813. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_kk.properties +24 -6
  814. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_ko.properties +24 -6
  815. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_lt.properties +24 -6
  816. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_lv.properties +24 -6
  817. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_ms.properties +24 -6
  818. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_nl.properties +24 -6
  819. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_no.properties +24 -6
  820. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_pl.properties +24 -6
  821. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_pt.properties +27 -9
  822. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_pt_PT.properties +25 -7
  823. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_ro.properties +24 -6
  824. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_ru.properties +24 -6
  825. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_sh.properties +24 -6
  826. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_sk.properties +24 -6
  827. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_sl.properties +24 -6
  828. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_sv.properties +25 -7
  829. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_th.properties +24 -6
  830. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_tr.properties +24 -6
  831. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_uk.properties +25 -7
  832. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_vi.properties +24 -6
  833. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_zh_CN.properties +24 -6
  834. package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_zh_TW.properties +24 -6
  835. package/packages/sap.fe.templates/src/sap/fe/templates/resources.json +127 -113
  836. package/packages/sap.fe.templates/test/sap/fe/templates/demokit/apps/itelo/webapp/manifest.json +1 -1
  837. package/packages/sap.fe.templates/test/sap/fe/templates/designtime/api.json +1 -1
  838. package/packages/sap.fe.templates/test/sap/fe/templates/designtime/apiref/api.json +1 -1
  839. package/packages/sap.fe.templates/test/sap/fe/templates/designtime/codeassistance/Library.xmlmeta.json +1 -1
  840. package/packages/sap.fe.templates/test/sap/fe/templates/jest/ListReport/overrides/IntentBasedNavigation.spec.js +59 -0
  841. package/packages/sap.fe.templates/test/sap/fe/templates/jest/ListReport/overrides/IntentBasedNavigation.spec.ts +54 -0
  842. package/packages/sap.fe.templates/test/sap/fe/templates/jest/ListReport/overrides/Share.spec.js +85 -0
  843. package/packages/sap.fe.templates/test/sap/fe/templates/jest/ListReport/overrides/Share.spec.ts +89 -0
  844. package/packages/sap.fe.templates/test/sap/fe/templates/jest/ListReport/overrides/ViewState.spec.js +482 -259
  845. package/packages/sap.fe.templates/test/sap/fe/templates/jest/ListReport/overrides/ViewState.spec.ts +442 -0
  846. package/packages/sap.fe.templates/test/sap/fe/templates/jest/ObjectPage/AnnotationHelper.spec.js +99 -0
  847. package/packages/sap.fe.templates/test/sap/fe/templates/jest/ObjectPage/AnnotationHelper.spec.ts +82 -0
  848. package/packages/sap.fe.templates/test/sap/fe/templates/jest/ObjectPage/view/fragments/Heading.spec.js +50 -0
  849. package/packages/sap.fe.templates/test/sap/fe/templates/jest/ObjectPage/view/fragments/Heading.spec.ts +32 -0
  850. package/packages/sap.fe.templates/test/sap/fe/templates/jest/ObjectPage/view/fragments/__snapshots__/Heading.spec.ts.snap +43 -0
  851. package/packages/sap.fe.templates/test/sap/fe/templates/jest/ObjectPage/view/fragments/__snapshots__/Sections.spec.ts.snap +9 -7
  852. package/packages/sap.fe.templates/test/sap/fe/templates/jest/RootContainer/RootContainerBaseController.spec.js +2 -2
  853. package/packages/sap.fe.templates/test/sap/fe/templates/jest/RootContainer/RootContainerBaseController.spec.ts +4 -3
  854. package/packages/sap.fe.templates/test/sap/fe/templates/relnotes/changes-1.99.json +335 -0
  855. package/packages/sap.fe.test/src/sap/fe/test/.library +1 -1
  856. package/packages/sap.fe.test/src/sap/fe/test/.theming +1 -1
  857. package/packages/sap.fe.test/src/sap/fe/test/FeMocks-dbg.js +66 -0
  858. package/packages/sap.fe.test/src/sap/fe/test/FeMocks.js +5 -0
  859. package/packages/sap.fe.test/src/sap/fe/test/FeMocks.ts +77 -0
  860. package/packages/sap.fe.test/src/sap/fe/test/JestTemplatingHelper-dbg.js +78 -22
  861. package/packages/sap.fe.test/src/sap/fe/test/JestTemplatingHelper.js +1 -1
  862. package/packages/sap.fe.test/src/sap/fe/test/JestTemplatingHelper.ts +66 -22
  863. package/packages/sap.fe.test/src/sap/fe/test/ObjectPage-dbg.js +6 -4
  864. package/packages/sap.fe.test/src/sap/fe/test/ObjectPage.js +1 -1
  865. package/packages/sap.fe.test/src/sap/fe/test/UI5MockHelper-dbg.js +44 -21
  866. package/packages/sap.fe.test/src/sap/fe/test/UI5MockHelper.js +1 -1
  867. package/packages/sap.fe.test/src/sap/fe/test/UI5MockHelper.ts +28 -8
  868. package/packages/sap.fe.test/src/sap/fe/test/api/BaseAPI-dbg.js +1 -0
  869. package/packages/sap.fe.test/src/sap/fe/test/api/DialogAPI-dbg.js +14 -2
  870. package/packages/sap.fe.test/src/sap/fe/test/api/DialogAPI.js +1 -1
  871. package/packages/sap.fe.test/src/sap/fe/test/api/DialogCreateActions-dbg.js +1 -1
  872. package/packages/sap.fe.test/src/sap/fe/test/api/DialogCreateActions.js +1 -1
  873. package/packages/sap.fe.test/src/sap/fe/test/api/DialogCreateAssertions-dbg.js +1 -1
  874. package/packages/sap.fe.test/src/sap/fe/test/api/DialogCreateAssertions.js +1 -1
  875. package/packages/sap.fe.test/src/sap/fe/test/api/DialogMessageActions-dbg.js +16 -1
  876. package/packages/sap.fe.test/src/sap/fe/test/api/DialogMessageActions.js +1 -1
  877. package/packages/sap.fe.test/src/sap/fe/test/api/DialogMessageAssertions-dbg.js +1 -1
  878. package/packages/sap.fe.test/src/sap/fe/test/api/DialogMessageAssertions.js +1 -1
  879. package/packages/sap.fe.test/src/sap/fe/test/api/DialogValueHelpActions-dbg.js +1 -1
  880. package/packages/sap.fe.test/src/sap/fe/test/api/DialogValueHelpActions.js +1 -1
  881. package/packages/sap.fe.test/src/sap/fe/test/api/DialogValueHelpAssertions-dbg.js +1 -1
  882. package/packages/sap.fe.test/src/sap/fe/test/api/DialogValueHelpAssertions.js +1 -1
  883. package/packages/sap.fe.test/src/sap/fe/test/api/TableActions-dbg.js +0 -19
  884. package/packages/sap.fe.test/src/sap/fe/test/api/TableActions.js +1 -1
  885. package/packages/sap.fe.test/src/sap/fe/test/api/TableAssertions-dbg.js +3 -4
  886. package/packages/sap.fe.test/src/sap/fe/test/api/TableAssertions.js +1 -1
  887. package/packages/sap.fe.test/src/sap/fe/test/builder/MdcTableBuilder-dbg.js +4 -0
  888. package/packages/sap.fe.test/src/sap/fe/test/builder/MdcTableBuilder.js +1 -1
  889. package/packages/sap.fe.test/src/sap/fe/test/internal/FEJourneyRunner-dbg.js +6 -3
  890. package/packages/sap.fe.test/src/sap/fe/test/internal/FEJourneyRunner.js +1 -1
  891. package/packages/sap.fe.test/src/sap/fe/test/library-dbg.js +1 -1
  892. package/packages/sap.fe.test/src/sap/fe/test/library-h2-preload.js +3 -2
  893. package/packages/sap.fe.test/src/sap/fe/test/library-h2-preload.js.map +1 -1
  894. package/packages/sap.fe.test/src/sap/fe/test/library-preload.js +39 -20
  895. package/packages/sap.fe.test/src/sap/fe/test/library-preload.js.map +4 -4
  896. package/packages/sap.fe.test/src/sap/fe/test/library.js +1 -1
  897. package/packages/sap.fe.test/src/sap/fe/test/manifest.json +3 -3
  898. package/packages/sap.fe.test/src/sap/fe/test/resources.json +65 -28
  899. package/packages/sap.fe.test/test/sap/fe/test/designtime/api.json +1 -1
  900. package/packages/sap.fe.test/test/sap/fe/test/designtime/apiref/api.json +1 -1
  901. package/packages/sap.fe.test/test/sap/fe/test/designtime/codeassistance/Library.jsmeta.json +1 -1
  902. package/packages/sap.fe.test/test/sap/fe/test/designtime/codeassistance/Library.xmlmeta.json +1 -1
  903. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/MessageHandling.spec.js +0 -115
  904. package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/MessageHandling.spec.ts +0 -95
  905. package/packages/sap.fe.core/test/sap/fe/core/qunit/helpers/ExcelFormatHelper.qunit.js +0 -19
  906. package/packages/sap.fe.core/test/sap/fe/core/qunit/helpers/StableIdHelper.qunit.js +0 -301
  907. package/packages/sap.fe.core/test/sap/fe/core/qunit/services/CacheHandlerTest.qunit.js +0 -924
  908. package/packages/sap.fe.macros/src/sap/fe/macros/formcontainer/FormContainerRuntime-dbg.js +0 -46
  909. package/packages/sap.fe.macros/src/sap/fe/macros/formcontainer/FormContainerRuntime.js +0 -6
  910. package/packages/sap.fe.macros/test/sap/fe/macros/jest/CommonUtils.spec.js +0 -94
  911. package/packages/sap.fe.macros/test/sap/fe/macros/jest/CommonUtils.spec.ts +0 -70
  912. package/packages/sap.fe.macros/test/sap/fe/macros/jest/TableFieldLabel.spec.js +0 -68
  913. package/packages/sap.fe.macros/test/sap/fe/macros/jest/TableFieldLabel.spec.ts +0 -65
  914. package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/TableFieldLabel.spec.ts.snap +0 -607
  915. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/MassEdit-dbg.js +0 -96
  916. package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/MassEdit.js +0 -6
@@ -1,19 +1,37 @@
1
1
  import TableAPI from "sap/fe/macros/TableAPI";
2
2
  import { compileCDS, getConverterContextForTest, getMetaModel } from "sap/fe/test/JestTemplatingHelper";
3
3
  import path from "path";
4
- import { TableColumn, updateLinkedProperties } from "sap/fe/core/converters/controls/Common/Table";
4
+ import { TableColumn, updateLinkedProperties, getTableColumns } from "sap/fe/core/converters/controls/Common/Table";
5
5
  import { LineItem } from "@sap-ux/vocabularies-types";
6
6
  import { ConverterOutput } from "@sap-ux/annotation-converter";
7
7
  import { convertTypes } from "sap/fe/core/converters/MetaModelConverter";
8
8
  import { ListReportManifestSettings, TemplateType } from "sap/fe/core/converters/ManifestSettings";
9
- import { getTableColumns } from "sap/fe/core/converters/controls/Common/Table";
10
- import { PageController } from "sap/fe/core";
9
+ import PageController from "sap/fe/core/PageController";
10
+ import Controller from "sap/ui/core/mvc/Controller";
11
+
12
+ import Message from "sap/ui/core/message/Message";
13
+ import MDCTable from "sap/ui/mdc/Table";
14
+ import PasteHelper from "sap/fe/core/helpers/PasteHelper";
15
+ import MessageBox from "sap/m/MessageBox";
16
+ import { mock } from "@sap-ux/jest-mock-ui5/dist/generic";
17
+ import { mockEvent } from "@sap-ux/jest-mock-ui5/dist/base";
18
+ import { mockMVC, MVCMock } from "@sap-ux/jest-mock-ui5/dist/mvc";
19
+ import { ListReportControllerType, mockListReportController } from "sap/fe/test/FeMocks";
20
+
21
+ import ODataModel from "sap/ui/model/odata/v4/ODataModel";
22
+ import ODataListBinding from "sap/ui/model/odata/v4/ODataListBinding";
23
+ import Context from "sap/ui/model/Context";
24
+ import JSONModel from "sap/ui/model/json/JSONModel";
25
+
26
+ import ResourceModel from "sap/ui/model/resource/ResourceModel";
27
+ import ResourceBundle from "sap/base/i18n/ResourceBundle";
28
+ import View from "sap/ui/core/mvc/View";
11
29
 
12
30
  let convertedTypes: ConverterOutput;
13
31
 
14
32
  beforeAll(async function() {
15
- const sMetadataUrl = compileCDS(path.join(__dirname, "/data/Table.cds"));
16
- const metaModel = await getMetaModel(sMetadataUrl);
33
+ const metadataUrl = compileCDS(path.join(__dirname, "/data/Table.cds"));
34
+ const metaModel = await getMetaModel(metadataUrl);
17
35
  convertedTypes = convertTypes(metaModel);
18
36
  });
19
37
  const getTableColumnsForTest = (
@@ -64,737 +82,528 @@ const updateLinkedPropertiesForTest = (
64
82
  return updateLinkedProperties(converterContext.getEntityType(), tableColumns);
65
83
  };
66
84
 
85
+ const resourceModel = mock(ResourceModel);
86
+ const resourceBundle = mock(ResourceBundle);
87
+ const context = mock(Context);
88
+ const controller = mockListReportController();
89
+ const app: MVCMock<ODataModel, View, ListReportControllerType & PageController & Controller> = mockMVC(controller, View, ODataModel);
90
+
91
+ resourceBundle.mock.getText.mockReturnValue("First Label translated");
92
+ resourceModel.mock.getResourceBundle.mockReturnValue(resourceBundle);
93
+ (controller.mock as any).getModel.mockImplementation((name: string) => (name ? resourceModel : app.model));
94
+
95
+ const mdcTable = new MDCTable();
96
+ const dataListBinding = mock(ODataListBinding);
97
+ const messageBoxErrorMock = jest.fn();
98
+ MessageBox.error = messageBoxErrorMock;
99
+
67
100
  describe("TableAPI", function() {
68
- it("Testing updateExportSettings", async function() {
69
- const oTableColumns = getTableColumnsForTest({
70
- entitySet: "TestEntity",
71
- converterType: TemplateType.ListReport
101
+ describe("testing dataStateIndicatorFilter", () => {
102
+ const bindingSpy = jest.spyOn(mdcTable, "getRowBinding").mockReturnValue(dataListBinding);
103
+ const contextSpy = jest.spyOn(mdcTable, "getBindingContext").mockReturnValue(context);
104
+
105
+ beforeAll(() => {
106
+ dataListBinding.mock.getPath.mockReturnValue("item");
107
+ context.mock.getPath.mockReturnValue("/rowBinding");
72
108
  });
73
- updateLinkedPropertiesForTest(
74
- {
109
+
110
+ afterAll(() => {
111
+ bindingSpy.mockRestore();
112
+ contextSpy.mockRestore();
113
+ dataListBinding.mock.getPath.mockRestore();
114
+ context.mock.getPath.mockRestore();
115
+ });
116
+
117
+ it("testing dataStateIndicatorFilter (table has binding context)", function() {
118
+ const tableMessage = new Message({
119
+ processor: undefined,
120
+ type: "Error",
121
+ message: "This is a Error msg",
122
+ target: "/rowBinding/item"
123
+ });
124
+ const tableItemMessage = new Message({
125
+ processor: undefined,
126
+ type: "Error",
127
+ message: "This is a Error msg",
128
+ target: "it/rowBinding/item/1"
129
+ });
130
+ expect(TableAPI.dataStateIndicatorFilter(tableMessage, mdcTable)).toEqual(true);
131
+ expect(TableAPI.dataStateIndicatorFilter(tableItemMessage, mdcTable)).toEqual(false);
132
+ });
133
+
134
+ it("testing dataStateIndicatorFilter (table has no binding context)", function() {
135
+ contextSpy.mockReturnValue(null);
136
+ const tableMessage = new Message({
137
+ processor: undefined,
138
+ type: "Error",
139
+ message: "This is a Error msg",
140
+ target: "item"
141
+ });
142
+ const tableItemMessage = new Message({
143
+ processor: undefined,
144
+ type: "Error",
145
+ message: "This is a Error msg",
146
+ target: "item/1"
147
+ });
148
+ expect(TableAPI.dataStateIndicatorFilter(tableMessage, mdcTable)).toEqual(true);
149
+ expect(TableAPI.dataStateIndicatorFilter(tableItemMessage, mdcTable)).toEqual(false);
150
+ });
151
+ });
152
+
153
+ describe("testing updateExportSettings", () => {
154
+ let tableColumns: TableColumn[] = [];
155
+
156
+ const testExport = function(column: any, exportChanges: any, isSplitMode = false, isRLTLanguage = false) {
157
+ const expectExport = { ...column, ...exportChanges };
158
+ expect(TableAPI.updateExportSettings([column], tableColumns, controller, isSplitMode, isRLTLanguage)).toEqual([expectExport]);
159
+ };
160
+
161
+ beforeAll(() => {
162
+ controller.mock.getExtensionAPI.mockReturnValue("dummyTest");
163
+ tableColumns = getTableColumnsForTest({
75
164
  entitySet: "TestEntity",
76
165
  converterType: TemplateType.ListReport
77
- },
78
- oTableColumns
79
- );
80
- const oTestExportColumns = {
81
- aStandardModeColumns: [
82
- // Test Arrangement - #TextOnly
83
- {
84
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::ID",
85
- "label": "ID",
86
- "width": "",
87
- "textAlign": "Begin",
88
- "type": "String",
89
- "delimiter": false,
90
- "template": "{1}",
91
- "property": ["ID", "name"]
92
- },
93
- {
94
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::ImageUrl",
95
- "label": "Image",
96
- "width": 7,
97
- "textAlign": "Begin",
98
- "type": "String",
99
- "delimiter": false,
100
- "template": "{0}",
101
- "property": ["ImageUrl"]
102
- },
103
- {
104
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::TestEntity::Contact",
105
- "label": "Contact",
106
- "width": "",
107
- "textAlign": "Begin",
108
- "type": "String",
109
- "delimiter": false,
110
- "template": "{0}",
111
- "property": ["@com.sap.vocabularies.Communication.v1.Contact"]
112
- },
113
- {
114
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::FieldGroup::multipleFields",
115
- "label": "Field Group",
116
- "width": 10,
117
- "textAlign": "Begin",
118
- "type": "String",
119
- "delimiter": false,
120
- "template": "{1} ({0})\n{2}/5",
121
- "property": ["Property::SoldToParty", "description", "Rating", "Rating"],
122
- "wrap": true
123
- },
124
- // Text Arrangement # TextFirst
125
- {
126
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::OverallSDProcessStatus",
127
- "label": "Overall Status",
128
- "width": 10,
129
- "textAlign": "Begin",
130
- "type": "String",
131
- "delimiter": false,
132
- "template": "{1} ({0})",
133
- "property": ["Property::OverallSDProcessStatus", "OverallSDProcessStatus_Text"]
134
- },
135
- {
136
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::TotalNetAmount",
137
- "label": "Net Amount",
138
- "width": "",
139
- "textAlign": "End",
140
- "type": "String",
141
- "scale": 10,
142
- "delimiter": false,
143
- "template": "{0} {1}",
144
- "property": ["Property::TotalNetAmount", "Currency"]
145
- },
146
- {
147
- "columnId":
148
- "Test::TestList--fe::table::Test::LineItem::C::DataFieldForAction::sap.fe.test.JestService.ActionNavigation",
149
- "label": "Navigate via Action",
150
- "width": 11,
151
- "textAlign": "Center",
152
- "delimiter": false,
153
- "property": "DataFieldForAction::sap.fe.test.JestService.ActionNavigation"
154
- },
155
- {
156
- "columnId": "__column0",
157
- "label": "Custom Column Sorting",
158
- "width": "",
159
- "textAlign": "Begin",
160
- "type": "String",
161
- "template": "{0}\n{1}\n{2}",
162
- "property": ["ID", "TotalNetAmount", "Progress"],
163
- "wrap": true
164
- }
165
- ],
166
- aSplitModeColumns: [
167
- {
168
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::ID",
169
- "label": "ID",
170
- "width": "",
171
- "textAlign": "Begin",
172
- "type": "String",
173
- "delimiter": false,
174
- "displayUnit": false,
175
- "property": "ID"
176
- },
177
- {
178
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::ID-additionalProperty1",
179
- "label": "Name",
180
- "width": "",
181
- "textAlign": "Begin",
182
- "type": "String",
183
- "delimiter": false,
184
- "displayUnit": false,
185
- "property": "name"
186
- },
187
- {
188
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::ImageUrl",
189
- "label": "Image",
190
- "width": 7,
191
- "textAlign": "Begin",
192
- "type": "String",
193
- "delimiter": false,
194
- "displayUnit": false,
195
- "property": "ImageUrl"
196
- },
197
- {
198
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::TestEntity::Contact",
199
- "label": "Contact",
200
- "width": "",
201
- "textAlign": "Begin",
202
- "delimiter": false,
203
- "displayUnit": false,
204
- "property": "@com.sap.vocabularies.Communication.v1.Contact"
205
- },
206
- {
207
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::FieldGroup::multipleFields",
208
- "label": "Sold-To Party",
209
- "width": 10,
210
- "textAlign": "Begin",
211
- "type": "String",
212
- "delimiter": false,
213
- "displayUnit": false,
214
- "property": "SoldToParty"
215
- },
216
- {
217
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::FieldGroup::multipleFields-additionalProperty1",
218
- "label": "Description",
219
- "width": 10,
220
- "textAlign": "Begin",
221
- "type": "String",
222
- "delimiter": false,
223
- "displayUnit": false,
224
- "property": "description"
225
- },
226
- {
227
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::FieldGroup::multipleFields-additionalProperty2",
228
- "label": "Rating as Rating Indicator",
229
- "width": 10,
230
- "textAlign": "Begin",
231
- "type": "Number",
232
- "scale": 2,
233
- "delimiter": false,
234
- "displayUnit": false,
235
- "property": ["Rating"]
236
- },
237
- {
238
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::FieldGroup::multipleFields-additionalProperty3",
239
- "label": "Target Value",
240
- "width": 10,
241
- "textAlign": "Begin",
242
- "scale": 2,
243
- "delimiter": false,
244
- "template": "5",
245
- "displayUnit": false,
246
- "property": ["Rating"]
247
- },
248
- {
249
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::OverallSDProcessStatus",
250
- "label": "Overall Status",
251
- "width": 10,
252
- "textAlign": "Begin",
253
- "type": "String",
254
- "delimiter": false,
255
- "displayUnit": false,
256
- "property": "Property::OverallSDProcessStatus"
257
- },
166
+ });
167
+ updateLinkedPropertiesForTest(
258
168
  {
259
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::OverallSDProcessStatus-additionalProperty1",
260
- "label": "Description",
261
- "width": 10,
262
- "textAlign": "Begin",
263
- "type": "String",
264
- "delimiter": false,
265
- "displayUnit": false,
266
- "property": "OverallSDProcessStatus_Text"
169
+ entitySet: "TestEntity",
170
+ converterType: TemplateType.ListReport
267
171
  },
268
- {
269
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::TotalNetAmount",
270
- "label": "Net Amount",
271
- "width": "",
272
- "textAlign": "End",
273
- "type": "Number",
172
+ tableColumns
173
+ );
174
+ });
175
+
176
+ it("simple column", () => {
177
+ testExport(
178
+ {
179
+ columnId: "Test::TestList--fe::table::Test::LineItem::C::ImageUrl",
180
+ label: "Image",
181
+ width: 7,
182
+ textAlign: "Begin",
183
+ type: "String",
184
+ delimiter: false,
185
+ template: "{0}",
186
+ property: ["ImageUrl"]
187
+ },
188
+ {}
189
+ );
190
+ });
191
+
192
+ it("column with multiple properties with text only", () => {
193
+ testExport(
194
+ {
195
+ columnId: "Test::TestList--fe::table::Test::LineItem::C::ID",
196
+ label: "ID",
197
+ width: "",
198
+ textAlign: "Begin",
199
+ type: "String",
200
+ delimiter: false,
201
+ template: "{1}",
202
+ property: ["ID", "name"]
203
+ },
204
+ {}
205
+ );
206
+ });
207
+
208
+ it("column with multiple properties with text first", () => {
209
+ testExport(
210
+ {
211
+ columnId: "Test::TestList--fe::table::Test::LineItem::C::ID",
212
+ label: "ID",
213
+ width: "",
214
+ textAlign: "Begin",
215
+ type: "String",
216
+ delimiter: false,
217
+ template: "{1} {0}",
218
+ property: ["ID", "name"]
219
+ },
220
+ {}
221
+ );
222
+ });
223
+
224
+ it("column with multiple properties with currency", () => {
225
+ testExport(
226
+ {
227
+ columnId: "Test::TestList--fe::table::Test::LineItem::C::TotalNetAmount",
228
+ label: "Net Amount",
229
+ width: "",
230
+ textAlign: "End",
231
+ type: "String",
274
232
  "scale": 10,
275
- "delimiter": false,
276
- "displayUnit": false,
277
- "property": "TotalNetAmount"
278
- },
279
- {
280
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::TotalNetAmount-additionalProperty1",
281
- "label": "Currency",
282
- "width": "",
283
- "textAlign": "End",
284
- "type": "String",
285
- "delimiter": false,
286
- "displayUnit": false,
287
- "property": "Currency"
233
+ delimiter: false,
234
+ template: "{0} {1}",
235
+ property: ["Property::TotalNetAmount", "Currency"]
288
236
  },
289
- {
290
- "columnId":
291
- "Test::TestList--fe::table::Test::LineItem::C::DataFieldForAction::sap.fe.test.JestService.ActionNavigation",
292
- "label": "{@i18n>LabelToBeTranslated}",
293
- "width": 11,
294
- "textAlign": "Center",
295
- "delimiter": false,
296
- "displayUnit": false,
297
- "property": "DataFieldForAction::sap.fe.test.JestService.ActionNavigation"
298
- },
299
- {
300
- "columnId": "__column0",
301
- "label": "ID",
302
- "width": "",
303
- "textAlign": "Begin",
304
- "type": "String",
305
- "delimiter": false,
306
- "displayUnit": false,
307
- "property": "ID"
308
- },
309
- {
310
- "columnId": "__column0-additionalProperty1",
311
- "label": "Net Amount",
312
- "width": "",
313
- "textAlign": "Begin",
314
- "type": "Number",
237
+ {}
238
+ );
239
+ });
240
+
241
+ it("column with Contact", () => {
242
+ testExport(
243
+ {
244
+ columnId: "Test::TestList--fe::table::Test::LineItem::C::TestEntity::Contact",
245
+ label: "Contact",
246
+ width: "",
247
+ textAlign: "Begin",
248
+ type: "String",
249
+ delimiter: false,
250
+ template: "{0}",
251
+ property: ["@com.sap.vocabularies.Communication.v1.Contact"]
252
+ },
253
+ { property: "name" }
254
+ );
255
+ });
256
+
257
+ it("column with multiple fields", () => {
258
+ testExport(
259
+ {
260
+ columnId: "Test::TestList--fe::table::Test::LineItem::C::FieldGroup::multipleFields",
261
+ label: "Field Group",
262
+ width: 10,
263
+ textAlign: "Begin",
264
+ type: "String",
265
+ delimiter: false,
266
+ template: "{1} ({0})\n{2}/5",
267
+ property: ["Property::SoldToParty", "description", "Rating", "Rating"],
268
+ wrap: true
269
+ },
270
+ {}
271
+ );
272
+ });
273
+
274
+ it("column with action", () => {
275
+ testExport(
276
+ {
277
+ columnId: "Test::TestList--fe::table::Test::LineItem::C::DataFieldForAction::sap.fe.test.JestService.ActionNavigation",
278
+ label: "Navigate via Action",
279
+ width: 11,
280
+ textAlign: "Center",
281
+ delimiter: false,
282
+ property: "DataFieldForAction::sap.fe.test.JestService.ActionNavigation"
283
+ },
284
+ {}
285
+ );
286
+ });
287
+
288
+ it("custom column", () => {
289
+ testExport(
290
+ {
291
+ columnId: "__column0",
292
+ label: "Custom Column Sorting",
293
+ width: "",
294
+ textAlign: "Begin",
295
+ type: "String",
296
+ template: "{0}\n{1}\n{2}",
297
+ property: ["ID", "TotalNetAmount", "Progress"],
298
+ wrap: true
299
+ },
300
+ {}
301
+ );
302
+ });
303
+
304
+ it("simple column on splitted mode", () => {
305
+ testExport(
306
+ {
307
+ columnId: "Test::TestList--fe::table::Test::LineItem::C::ID",
308
+ label: "ID",
309
+ width: "",
310
+ textAlign: "Begin",
311
+ type: "String",
312
+ delimiter: false,
313
+ displayUnit: false,
314
+ property: "ID"
315
+ },
316
+ {},
317
+ true
318
+ );
319
+ });
320
+
321
+ it("column with additional property on splitted mode", () => {
322
+ testExport(
323
+ {
324
+ columnId: "Test::TestList--fe::table::Test::LineItem::C::ID-additionalProperty1",
325
+ label: "Name",
326
+ width: "",
327
+ textAlign: "Begin",
328
+ type: "String",
329
+ delimiter: false,
330
+ displayUnit: false,
331
+ property: "name"
332
+ },
333
+ { label: "ID - Name" },
334
+ true
335
+ );
336
+ });
337
+
338
+ it("column with contact on splitted mode", () => {
339
+ testExport(
340
+ {
341
+ columnId: "Test::TestList--fe::table::Test::LineItem::C::TestEntity::Contact",
342
+ label: "Contact",
343
+ width: "",
344
+ textAlign: "Begin",
345
+ delimiter: false,
346
+ displayUnit: false,
347
+ property: "@com.sap.vocabularies.Communication.v1.Contact"
348
+ },
349
+ { property: "name" },
350
+ true
351
+ );
352
+ });
353
+
354
+ it("column with multiple fields on splitted mode", () => {
355
+ testExport(
356
+ {
357
+ columnId: "Test::TestList--fe::table::Test::LineItem::C::FieldGroup::multipleFields",
358
+ label: "Sold-To Party",
359
+ width: 10,
360
+ textAlign: "Begin",
361
+ type: "String",
362
+ delimiter: false,
363
+ displayUnit: false,
364
+ property: "SoldToParty"
365
+ },
366
+ { label: "Field Group - Sold-To Party" },
367
+ true
368
+ );
369
+ });
370
+
371
+ it("column with multiple fields/additional property on splitted mode", () => {
372
+ testExport(
373
+ {
374
+ columnId: "Test::TestList--fe::table::Test::LineItem::C::FieldGroup::multipleFields-additionalProperty1",
375
+ label: "Description",
376
+ width: 10,
377
+ textAlign: "Begin",
378
+ type: "String",
379
+ delimiter: false,
380
+ displayUnit: false,
381
+ property: "description"
382
+ },
383
+ { label: "Field Group - Sold-To Party - Description" },
384
+ true
385
+ );
386
+ });
387
+
388
+ it("column with currency on splitted mode", () => {
389
+ testExport(
390
+ {
391
+ columnId: "Test::TestList--fe::table::Test::LineItem::C::TotalNetAmount-additionalProperty1",
392
+ label: "Currency",
393
+ width: "",
394
+ textAlign: "End",
395
+ type: "String",
396
+ delimiter: false,
397
+ displayUnit: false,
398
+ property: "Currency"
399
+ },
400
+ {},
401
+ true
402
+ );
403
+ });
404
+ it("column with action on splitted mode", () => {
405
+ testExport(
406
+ {
407
+ columnId: "Test::TestList--fe::table::Test::LineItem::C::DataFieldForAction::sap.fe.test.JestService.ActionNavigation",
408
+ label: "{@i18n>LabelToBeTranslated}",
409
+ width: 11,
410
+ textAlign: "Center",
411
+ delimiter: false,
412
+ displayUnit: false,
413
+ property: "DataFieldForAction::sap.fe.test.JestService.ActionNavigation"
414
+ },
415
+ { label: "First Label translated" },
416
+ true
417
+ );
418
+ });
419
+
420
+ it("custom column on splitted mode", () => {
421
+ testExport(
422
+ {
423
+ columnId: "__column0",
424
+ label: "ID",
425
+ width: "",
426
+ textAlign: "Begin",
427
+ type: "String",
428
+ delimiter: false,
429
+ displayUnit: false,
430
+ property: "ID"
431
+ },
432
+ { label: "Custom Column Sorting - ID" },
433
+ true
434
+ );
435
+ });
436
+
437
+ it("custom column/additional property on splitted mode", () => {
438
+ testExport(
439
+ {
440
+ columnId: "__column0-additionalProperty1",
441
+ label: "Net Amount",
442
+ width: "",
443
+ textAlign: "Begin",
444
+ type: "Number",
315
445
  "scale": 10,
316
- "delimiter": false,
317
- "displayUnit": false,
318
- "property": "TotalNetAmount"
446
+ delimiter: false,
447
+ displayUnit: false,
448
+ property: "TotalNetAmount"
319
449
  },
450
+ { label: "Custom Column Sorting - Net Amount" },
451
+ true
452
+ );
453
+ });
454
+
455
+ it("column with additional property on splitted mode and rtl", () => {
456
+ testExport(
457
+ {
458
+ columnId: "Test::TestList--fe::table::Test::LineItem::C::ID-additionalProperty1",
459
+ label: "Name",
460
+ width: "",
461
+ textAlign: "Begin",
462
+ type: "String",
463
+ delimiter: false,
464
+ displayUnit: false,
465
+ property: "name"
466
+ },
467
+ { label: "Name - ID" },
468
+ true,
469
+ true
470
+ );
471
+ });
472
+
473
+ it("column with multiple fields on splitted mode and rtl", () => {
474
+ testExport(
475
+ {
476
+ columnId: "Test::TestList--fe::table::Test::LineItem::C::FieldGroup::multipleFields",
477
+ label: "Sold-To Party",
478
+ width: 10,
479
+ textAlign: "Begin",
480
+ type: "String",
481
+ delimiter: false,
482
+ displayUnit: false,
483
+ property: "SoldToParty"
484
+ },
485
+ { label: "Sold-To Party - Field Group" },
486
+ true,
487
+ true
488
+ );
489
+ });
490
+
491
+ it("column with multiple fields/additional property on splitted mode and rtl", () => {
492
+ testExport(
493
+ {
494
+ columnId: "Test::TestList--fe::table::Test::LineItem::C::FieldGroup::multipleFields-additionalProperty1",
495
+ label: "Description",
496
+ width: 10,
497
+ textAlign: "Begin",
498
+ type: "String",
499
+ delimiter: false,
500
+ displayUnit: false,
501
+ property: "description"
502
+ },
503
+ { label: "Description - Sold-To Party - Field Group" },
504
+ true,
505
+ true
506
+ );
507
+ });
508
+ });
509
+
510
+ it(
511
+ "testing selectionChange event",
512
+ {
513
+ "references": [
320
514
  {
321
- "columnId": "__column0-additionalProperty2",
322
- "label": "Progress",
323
- "width": "",
324
- "textAlign": "Begin",
325
- "type": "String",
326
- "delimiter": false,
327
- "displayUnit": false,
328
- "property": "Progress"
515
+ "type": "JIRA",
516
+ "ID": "FIORITECHP1-21872"
329
517
  }
330
518
  ]
331
- };
332
- const oTableController: PageController = ({
333
- getModel: function() {
334
- return {
335
- getResourceBundle: function() {
336
- return {
337
- getText: function() {
338
- return "First Label translated";
339
- }
340
- };
341
- }
342
- };
343
- },
344
- getExtensionAPI: function() {
345
- return "dummyTest";
346
- },
347
- _editFlow: {
348
- createMultipleDocuments: function() {
349
- return "dummyTest";
350
- }
351
- }
352
- } as any) as PageController;
519
+ },
520
+ () => {
521
+ const tableAPI = new TableAPI({ content: mdcTable } as any);
522
+ let testMessage = "";
523
+ const selectionChangeHandler = jest.fn(event => {
524
+ testMessage = event.getParameters().testMessage;
525
+ });
526
+ tableAPI.attachEvent("selectionChange", selectionChangeHandler);
353
527
 
354
- const oExpectedExportColumns = {
355
- aStandardModeColumns: [
356
- {
357
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::ID",
358
- "label": "ID",
359
- "width": "",
360
- "textAlign": "Begin",
361
- "type": "String",
362
- "delimiter": false,
363
- "template": "{1}",
364
- "property": ["ID", "name"]
365
- },
366
- {
367
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::ImageUrl",
368
- "label": "Image",
369
- "width": 7,
370
- "textAlign": "Begin",
371
- "type": "String",
372
- "delimiter": false,
373
- "template": "{0}",
374
- "property": ["ImageUrl"]
375
- },
376
- {
377
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::TestEntity::Contact",
378
- "label": "Contact",
379
- "width": "",
380
- "textAlign": "Begin",
381
- "type": "String",
382
- "delimiter": false,
383
- "template": "{0}",
384
- "property": "name"
385
- },
386
- {
387
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::FieldGroup::multipleFields",
388
- "label": "Field Group",
389
- "width": 10,
390
- "textAlign": "Begin",
391
- "type": "String",
392
- "delimiter": false,
393
- "template": "{1} ({0})\n{2}/5",
394
- "property": ["Property::SoldToParty", "description", "Rating", "Rating"],
395
- "wrap": true
396
- },
397
- {
398
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::OverallSDProcessStatus",
399
- "label": "Overall Status",
400
- "width": 10,
401
- "textAlign": "Begin",
402
- "type": "String",
403
- "delimiter": false,
404
- "template": "{1} ({0})",
405
- "property": ["Property::OverallSDProcessStatus", "OverallSDProcessStatus_Text"]
406
- },
407
- {
408
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::TotalNetAmount",
409
- "label": "Net Amount",
410
- "width": "",
411
- "textAlign": "End",
412
- "type": "String",
413
- "scale": 10,
414
- "delimiter": false,
415
- "template": "{0} {1}",
416
- "property": ["Property::TotalNetAmount", "Currency"]
417
- },
418
- {
419
- "columnId":
420
- "Test::TestList--fe::table::Test::LineItem::C::DataFieldForAction::sap.fe.test.JestService.ActionNavigation",
421
- "label": "Navigate via Action",
422
- "width": 11,
423
- "textAlign": "Center",
424
- "delimiter": false,
425
- "property": "DataFieldForAction::sap.fe.test.JestService.ActionNavigation"
426
- },
427
- {
428
- "columnId": "__column0",
429
- "label": "Custom Column Sorting",
430
- "width": "",
431
- "textAlign": "Begin",
432
- "type": "String",
433
- "template": "{0}\n{1}\n{2}",
434
- "property": ["ID", "TotalNetAmount", "Progress"],
435
- "wrap": true
436
- }
437
- ],
438
- aSplitModeColumns: [
439
- {
440
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::ID",
441
- "label": "ID",
442
- "width": "",
443
- "textAlign": "Begin",
444
- "type": "String",
445
- "delimiter": false,
446
- "displayUnit": false,
447
- "property": "ID"
448
- },
449
- {
450
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::ID-additionalProperty1",
451
- "label": "ID - Name",
452
- "width": "",
453
- "textAlign": "Begin",
454
- "type": "String",
455
- "delimiter": false,
456
- "displayUnit": false,
457
- "property": "name"
458
- },
459
- {
460
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::ImageUrl",
461
- "label": "Image",
462
- "width": 7,
463
- "textAlign": "Begin",
464
- "type": "String",
465
- "delimiter": false,
466
- "displayUnit": false,
467
- "property": "ImageUrl"
468
- },
469
- {
470
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::TestEntity::Contact",
471
- "label": "Contact",
472
- "width": "",
473
- "textAlign": "Begin",
474
- "delimiter": false,
475
- "displayUnit": false,
476
- "property": "name"
477
- },
478
- {
479
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::FieldGroup::multipleFields",
480
- "label": "Field Group - Sold-To Party",
481
- "width": 10,
482
- "textAlign": "Begin",
483
- "type": "String",
484
- "delimiter": false,
485
- "displayUnit": false,
486
- "property": "SoldToParty"
487
- },
488
- {
489
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::FieldGroup::multipleFields-additionalProperty1",
490
- "label": "Field Group - Sold-To Party - Description",
491
- "width": 10,
492
- "textAlign": "Begin",
493
- "type": "String",
494
- "delimiter": false,
495
- "displayUnit": false,
496
- "property": "description"
497
- },
498
- {
499
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::FieldGroup::multipleFields-additionalProperty2",
500
- "label": "Field Group - Rating as Rating Indicator",
501
- "width": 10,
502
- "textAlign": "Begin",
503
- "type": "Number",
504
- "scale": 2,
505
- "delimiter": false,
506
- "displayUnit": false,
507
- "property": ["Rating"]
508
- },
509
- {
510
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::FieldGroup::multipleFields-additionalProperty3",
511
- "label": "Field Group - Rating as Rating Indicator - Target Value",
512
- "width": 10,
513
- "textAlign": "Begin",
514
- "scale": 2,
515
- "delimiter": false,
516
- "template": "5",
517
- "displayUnit": false,
518
- "property": ["Rating"]
519
- },
520
- {
521
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::OverallSDProcessStatus",
522
- "label": "Overall Status",
523
- "width": 10,
524
- "textAlign": "Begin",
525
- "type": "String",
526
- "delimiter": false,
527
- "displayUnit": false,
528
- "property": "Property::OverallSDProcessStatus"
529
- },
530
- {
531
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::OverallSDProcessStatus-additionalProperty1",
532
- "label": "Overall Status - Description",
533
- "width": 10,
534
- "textAlign": "Begin",
535
- "type": "String",
536
- "delimiter": false,
537
- "displayUnit": false,
538
- "property": "OverallSDProcessStatus_Text"
539
- },
540
- {
541
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::TotalNetAmount",
542
- "label": "Net Amount",
543
- "width": "",
544
- "textAlign": "End",
545
- "type": "Number",
546
- "scale": 10,
547
- "delimiter": false,
548
- "displayUnit": false,
549
- "property": "TotalNetAmount"
550
- },
551
- {
552
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::TotalNetAmount-additionalProperty1",
553
- "label": "Currency",
554
- "width": "",
555
- "textAlign": "End",
556
- "type": "String",
557
- "delimiter": false,
558
- "displayUnit": false,
559
- "property": "Currency"
560
- },
561
- {
562
- "columnId":
563
- "Test::TestList--fe::table::Test::LineItem::C::DataFieldForAction::sap.fe.test.JestService.ActionNavigation",
564
- "label": "First Label translated",
565
- "width": 11,
566
- "textAlign": "Center",
567
- "delimiter": false,
568
- "displayUnit": false,
569
- "property": "DataFieldForAction::sap.fe.test.JestService.ActionNavigation"
570
- },
571
- {
572
- "columnId": "__column0",
573
- "label": "Custom Column Sorting - ID",
574
- "width": "",
575
- "textAlign": "Begin",
576
- "type": "String",
577
- "delimiter": false,
578
- "displayUnit": false,
579
- "property": "ID"
580
- },
581
- {
582
- "columnId": "__column0-additionalProperty1",
583
- "label": "Custom Column Sorting - Net Amount",
584
- "width": "",
585
- "textAlign": "Begin",
586
- "type": "Number",
587
- "scale": 10,
588
- "delimiter": false,
589
- "displayUnit": false,
590
- "property": "TotalNetAmount"
591
- },
592
- {
593
- "columnId": "__column0-additionalProperty2",
594
- "label": "Custom Column Sorting - Progress",
595
- "width": "",
596
- "textAlign": "Begin",
597
- "type": "String",
598
- "delimiter": false,
599
- "displayUnit": false,
600
- "property": "Progress"
601
- }
602
- ],
603
- aRTLSplitModeColumns: [
604
- {
605
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::ID",
606
- "label": "ID",
607
- "width": "",
608
- "textAlign": "Begin",
609
- "type": "String",
610
- "delimiter": false,
611
- "displayUnit": false,
612
- "property": "ID"
613
- },
614
- {
615
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::ID-additionalProperty1",
616
- "label": "Name - ID",
617
- "width": "",
618
- "textAlign": "Begin",
619
- "type": "String",
620
- "delimiter": false,
621
- "displayUnit": false,
622
- "property": "name"
623
- },
624
- {
625
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::ImageUrl",
626
- "label": "Image",
627
- "width": 7,
628
- "textAlign": "Begin",
629
- "type": "String",
630
- "delimiter": false,
631
- "displayUnit": false,
632
- "property": "ImageUrl"
633
- },
634
- {
635
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::TestEntity::Contact",
636
- "label": "Contact",
637
- "width": "",
638
- "textAlign": "Begin",
639
- "delimiter": false,
640
- "displayUnit": false,
641
- "property": "name"
642
- },
643
- {
644
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::FieldGroup::multipleFields",
645
- "label": "Sold-To Party - Field Group",
646
- "width": 10,
647
- "textAlign": "Begin",
648
- "type": "String",
649
- "delimiter": false,
650
- "displayUnit": false,
651
- "property": "SoldToParty"
652
- },
653
- {
654
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::FieldGroup::multipleFields-additionalProperty1",
655
- "label": "Description - Sold-To Party - Field Group",
656
- "width": 10,
657
- "textAlign": "Begin",
658
- "type": "String",
659
- "delimiter": false,
660
- "displayUnit": false,
661
- "property": "description"
662
- },
663
- {
664
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::FieldGroup::multipleFields-additionalProperty2",
665
- "label": "Rating as Rating Indicator - Field Group",
666
- "width": 10,
667
- "textAlign": "Begin",
668
- "type": "Number",
669
- "scale": 2,
670
- "delimiter": false,
671
- "displayUnit": false,
672
- "property": ["Rating"]
673
- },
674
- {
675
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::FieldGroup::multipleFields-additionalProperty3",
676
- "label": "Target Value - Rating as Rating Indicator - Field Group",
677
- "width": 10,
678
- "textAlign": "Begin",
679
- "scale": 2,
680
- "delimiter": false,
681
- "template": "5",
682
- "displayUnit": false,
683
- "property": ["Rating"]
684
- },
685
- {
686
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::OverallSDProcessStatus",
687
- "label": "Overall Status",
688
- "width": 10,
689
- "textAlign": "Begin",
690
- "type": "String",
691
- "delimiter": false,
692
- "displayUnit": false,
693
- "property": "Property::OverallSDProcessStatus"
694
- },
695
- {
696
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::OverallSDProcessStatus-additionalProperty1",
697
- "label": "Description - Overall Status",
698
- "width": 10,
699
- "textAlign": "Begin",
700
- "type": "String",
701
- "delimiter": false,
702
- "displayUnit": false,
703
- "property": "OverallSDProcessStatus_Text"
704
- },
705
- {
706
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::TotalNetAmount",
707
- "label": "Net Amount",
708
- "width": "",
709
- "textAlign": "End",
710
- "type": "Number",
711
- "scale": 10,
712
- "delimiter": false,
713
- "displayUnit": false,
714
- "property": "TotalNetAmount"
715
- },
716
- {
717
- "columnId": "Test::TestList--fe::table::Test::LineItem::C::TotalNetAmount-additionalProperty1",
718
- "label": "Currency",
719
- "width": "",
720
- "textAlign": "End",
721
- "type": "String",
722
- "delimiter": false,
723
- "displayUnit": false,
724
- "property": "Currency"
725
- },
726
- {
727
- "columnId":
728
- "Test::TestList--fe::table::Test::LineItem::C::DataFieldForAction::sap.fe.test.JestService.ActionNavigation",
729
- "label": "First Label translated",
730
- "width": 11,
731
- "textAlign": "Center",
732
- "delimiter": false,
733
- "displayUnit": false,
734
- "property": "DataFieldForAction::sap.fe.test.JestService.ActionNavigation"
735
- },
736
- {
737
- "columnId": "__column0",
738
- "label": "ID - Custom Column Sorting",
739
- "width": "",
740
- "textAlign": "Begin",
741
- "type": "String",
742
- "delimiter": false,
743
- "displayUnit": false,
744
- "property": "ID"
745
- },
746
- {
747
- "columnId": "__column0-additionalProperty1",
748
- "label": "Net Amount - Custom Column Sorting",
749
- "width": "",
750
- "textAlign": "Begin",
751
- "type": "Number",
752
- "scale": 10,
753
- "delimiter": false,
754
- "displayUnit": false,
755
- "property": "TotalNetAmount"
756
- },
528
+ (mdcTable as any).fireSelectionChange({ testMessage: "selectionChange fired" });
529
+ expect(selectionChangeHandler.mock.calls.length).toEqual(1);
530
+ expect(testMessage).toEqual("selectionChange fired");
531
+ }
532
+ );
533
+
534
+ it(
535
+ "testing getSelectedContexts",
536
+ {
537
+ "references": [
757
538
  {
758
- "columnId": "__column0-additionalProperty2",
759
- "label": "Progress - Custom Column Sorting",
760
- "width": "",
761
- "textAlign": "Begin",
762
- "type": "String",
763
- "delimiter": false,
764
- "displayUnit": false,
765
- "property": "Progress"
539
+ "type": "JIRA",
540
+ "ID": "FIORITECHP1-21872"
766
541
  }
767
542
  ]
768
- };
543
+ },
544
+ () => {
545
+ const tableAPI = new TableAPI({ content: mdcTable } as any);
546
+ const selectedContextsSpy = jest.spyOn(mdcTable, "getSelectedContexts").mockReturnValue(["a context", "another context"]);
547
+ const aSelectedContexts = tableAPI.getSelectedContexts();
548
+ expect(selectedContextsSpy.mock.calls.length).toEqual(1);
549
+ expect(aSelectedContexts).toEqual(["a context", "another context"]);
550
+ selectedContextsSpy.mockRestore();
551
+ }
552
+ );
553
+
554
+ describe("testing Paste", () => {
555
+ const pastedData = [["dummyData"]];
556
+ let getEnableSpy: jest.SpyInstance<any>;
557
+
558
+ const uiModel = mock(JSONModel);
559
+ const tableAPI = new TableAPI({ tableDefinition: { control: { enablePaste: true } }, content: mdcTable } as any);
560
+ const pasteEvent = mockEvent({ data: pastedData }, mdcTable);
561
+
562
+ tableAPI.getModel = jest.fn().mockReturnValue(uiModel);
769
563
 
770
- const oExportResultStandardExport = TableAPI.updateExportSettings(
771
- oTestExportColumns.aStandardModeColumns,
772
- oTableColumns,
773
- oTableController,
774
- false,
775
- false
776
- );
777
- expect(oExportResultStandardExport).toEqual(oExpectedExportColumns.aStandardModeColumns);
778
-
779
- const aTestExportColumnsSplit: any[] = [];
780
- oTestExportColumns.aSplitModeColumns.forEach(val => aTestExportColumnsSplit.push(Object.assign({}, val)));
781
- const oExportResultSplitExport = TableAPI.updateExportSettings(
782
- aTestExportColumnsSplit,
783
- oTableColumns,
784
- oTableController,
785
- true,
786
- false
787
- );
788
- expect(oExportResultSplitExport).toEqual(oExpectedExportColumns.aSplitModeColumns);
789
-
790
- //Check RTL Language
791
- const oExportResultRTLSplitExport = TableAPI.updateExportSettings(
792
- oTestExportColumns.aSplitModeColumns,
793
- oTableColumns,
794
- oTableController,
795
- true,
796
- true
797
- );
798
- expect(oExportResultRTLSplitExport).toEqual(oExpectedExportColumns.aRTLSplitModeColumns);
564
+ beforeEach(() => {
565
+ messageBoxErrorMock.mockClear();
566
+ tableAPI.tableDefinition.control.enablePaste = true;
567
+ uiModel.mock.getProperty.mockImplementation(keyPath => (keyPath === "/isEditable" ? true : undefined));
568
+ getEnableSpy = jest.spyOn(mdcTable, "getEnablePaste").mockReturnValue(true);
569
+ });
570
+
571
+ afterAll(() => {
572
+ messageBoxErrorMock.mockClear();
573
+ getEnableSpy.mockRestore();
574
+ });
575
+
576
+ it("paste is disabled by definition", () => {
577
+ tableAPI.tableDefinition.control.enablePaste = false;
578
+ expect(tableAPI.onPaste(pasteEvent, controller)).toBeUndefined();
579
+ expect(messageBoxErrorMock).not.toHaveBeenCalled();
580
+ });
581
+
582
+ it("table is not on edit mode", () => {
583
+ tableAPI.tableDefinition.control.enablePaste = true;
584
+ uiModel.mock.getProperty.mockImplementation(keyPath => (keyPath === "/isEditable" ? false : undefined));
585
+ expect(tableAPI.onPaste(pasteEvent, controller)).toBeUndefined();
586
+ expect(messageBoxErrorMock).not.toHaveBeenCalled();
587
+ });
588
+
589
+ it("paste is disabled on the table", () => {
590
+ getEnableSpy.mockReturnValue(false);
591
+ expect(tableAPI.onPaste(pasteEvent, controller)).toBeUndefined();
592
+ expect(messageBoxErrorMock).toHaveBeenCalled();
593
+ });
594
+
595
+ it("paste is disabled on the table", () => {
596
+ getEnableSpy.mockReturnValue(false);
597
+ expect(tableAPI.onPaste(pasteEvent, controller)).toBeUndefined();
598
+ expect(messageBoxErrorMock).toHaveBeenCalled();
599
+ });
600
+
601
+ it("All config is well set", () => {
602
+ const pasteDataSpy = jest.spyOn(PasteHelper, "pasteData").mockResolvedValue("dummy");
603
+ tableAPI.onPaste(pasteEvent, controller);
604
+ expect(messageBoxErrorMock).not.toHaveBeenCalled();
605
+ expect(pasteDataSpy).toHaveBeenCalled();
606
+ pasteDataSpy.mockRestore();
607
+ });
799
608
  });
800
609
  });