@sapui5/sap.suite.ui.generic.template 1.131.1 → 1.133.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 (290) hide show
  1. package/package.json +1 -1
  2. package/src/sap/suite/ui/generic/template/.library +1 -1
  3. package/src/sap/suite/ui/generic/template/AnalyticalListPage/Component.js +0 -4
  4. package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/SmartFilterBarExt.js +3 -1
  5. package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/SmartKpiTag.js +37 -11
  6. package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItem.js +3 -1
  7. package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItemMicroBar.js +3 -1
  8. package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItemMicroChart.js +26 -6
  9. package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItemMicroDonut.js +3 -1
  10. package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItemMicroLine.js +3 -1
  11. package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/SmartVisualFilterBar.js +46 -15
  12. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/DropDownController.js +42 -17
  13. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/KpiTagController.js +15 -6
  14. package/src/sap/suite/ui/generic/template/AnalyticalListPage/extensionAPI/ExtensionAPI.js +2 -2
  15. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_en_US_saptrc.properties +105 -105
  16. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sk.properties +1 -1
  17. package/src/sap/suite/ui/generic/template/AnalyticalListPage/manifest.json +1 -1
  18. package/src/sap/suite/ui/generic/template/AnalyticalListPage/util/AnnotationHelper.js +3 -0
  19. package/src/sap/suite/ui/generic/template/AnalyticalListPage/util/FilterUtil.js +17 -6
  20. package/src/sap/suite/ui/generic/template/Canvas/manifest.json +1 -1
  21. package/src/sap/suite/ui/generic/template/ListReport/AnnotationHelperSmartList.js +2 -2
  22. package/src/sap/suite/ui/generic/template/ListReport/controller/ControllerImplementation.js +46 -22
  23. package/src/sap/suite/ui/generic/template/ListReport/controller/IappStateHandler.js +18 -2
  24. package/src/sap/suite/ui/generic/template/ListReport/extensionAPI/ExtensionAPI.js +2 -2
  25. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n.properties +1 -4
  26. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ar.properties +1 -3
  27. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_bg.properties +1 -3
  28. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ca.properties +1 -3
  29. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cnr.properties +1 -3
  30. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cs.properties +1 -3
  31. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cy.properties +1 -3
  32. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_da.properties +1 -3
  33. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_de.properties +1 -3
  34. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_el.properties +1 -3
  35. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en.properties +1 -3
  36. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_GB.properties +1 -3
  37. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_US_saprigi.properties +1 -3
  38. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_US_saptrc.properties +58 -58
  39. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_es.properties +1 -3
  40. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_es_MX.properties +1 -3
  41. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_et.properties +1 -3
  42. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fi.properties +1 -3
  43. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fr.properties +1 -3
  44. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fr_CA.properties +1 -3
  45. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hi.properties +1 -3
  46. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hr.properties +1 -3
  47. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hu.properties +1 -3
  48. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_id.properties +1 -3
  49. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_it.properties +1 -3
  50. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_iw.properties +1 -3
  51. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ja.properties +1 -3
  52. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_kk.properties +1 -3
  53. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ko.properties +1 -3
  54. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_lt.properties +1 -3
  55. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_lv.properties +1 -3
  56. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_mk.properties +1 -3
  57. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ms.properties +1 -3
  58. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_nl.properties +1 -3
  59. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_no.properties +1 -3
  60. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pl.properties +2 -4
  61. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pt.properties +1 -3
  62. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pt_PT.properties +1 -3
  63. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ro.properties +1 -3
  64. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ru.properties +1 -3
  65. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sh.properties +1 -3
  66. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sk.properties +1 -3
  67. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sl.properties +1 -3
  68. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sr.properties +1 -3
  69. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sv.properties +1 -3
  70. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_th.properties +1 -3
  71. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_tr.properties +1 -3
  72. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_uk.properties +1 -3
  73. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_vi.properties +1 -3
  74. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_zh_CN.properties +1 -3
  75. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_zh_TW.properties +1 -3
  76. package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
  77. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/BreakoutActionButtons.fragment.xml +3 -2
  78. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/FullscreenPage.fragment.xml +1 -1
  79. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartList.fragment.xml +3 -3
  80. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartTable.fragment.xml +2 -1
  81. package/src/sap/suite/ui/generic/template/ObjectPage/Component.js +13 -5
  82. package/src/sap/suite/ui/generic/template/ObjectPage/controller/ControllerImplementation.js +117 -30
  83. package/src/sap/suite/ui/generic/template/ObjectPage/controller/MessageSortingHandler.js +63 -10
  84. package/src/sap/suite/ui/generic/template/ObjectPage/controller/SectionTitleHandler.js +34 -1
  85. package/src/sap/suite/ui/generic/template/ObjectPage/controller/inlineCreationRows/InlineCreationRowsHelper.js +46 -4
  86. package/src/sap/suite/ui/generic/template/ObjectPage/controllerFrameworkExtensions.js +22 -4
  87. package/src/sap/suite/ui/generic/template/ObjectPage/extensionAPI/ExtensionAPI.js +29 -5
  88. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n.properties +37 -6
  89. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ar.properties +25 -5
  90. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_bg.properties +25 -5
  91. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ca.properties +25 -5
  92. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cnr.properties +25 -5
  93. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cs.properties +26 -6
  94. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cy.properties +25 -5
  95. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_da.properties +25 -5
  96. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_de.properties +25 -5
  97. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_el.properties +25 -5
  98. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en.properties +25 -5
  99. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_GB.properties +25 -5
  100. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_US_saprigi.properties +25 -5
  101. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_US_saptrc.properties +95 -95
  102. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_es.properties +25 -5
  103. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_es_MX.properties +25 -5
  104. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_et.properties +25 -5
  105. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fi.properties +25 -5
  106. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fr.properties +25 -5
  107. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fr_CA.properties +25 -5
  108. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hi.properties +25 -5
  109. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hr.properties +25 -5
  110. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hu.properties +25 -5
  111. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_id.properties +25 -5
  112. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_it.properties +25 -5
  113. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_iw.properties +25 -5
  114. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ja.properties +25 -5
  115. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_kk.properties +25 -5
  116. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ko.properties +25 -5
  117. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_lt.properties +25 -5
  118. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_lv.properties +25 -5
  119. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_mk.properties +25 -5
  120. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ms.properties +25 -5
  121. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_nl.properties +25 -5
  122. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_no.properties +25 -5
  123. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pl.properties +25 -5
  124. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pt.properties +25 -5
  125. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pt_PT.properties +25 -5
  126. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ro.properties +26 -6
  127. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ru.properties +25 -5
  128. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sh.properties +25 -5
  129. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sk.properties +25 -5
  130. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sl.properties +25 -5
  131. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sr.properties +25 -5
  132. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sv.properties +25 -5
  133. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_th.properties +25 -5
  134. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_tr.properties +25 -5
  135. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_uk.properties +27 -7
  136. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_vi.properties +25 -5
  137. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_zh_CN.properties +25 -5
  138. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_zh_TW.properties +25 -5
  139. package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +1 -1
  140. package/src/sap/suite/ui/generic/template/ObjectPage/view/Details.view.xml +2 -2
  141. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/CRUDActionButtons.fragment.xml +2 -2
  142. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/Footer.fragment.xml +3 -3
  143. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/HeaderContainer.fragment.xml +4 -4
  144. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/HeaderImage.fragment.xml +4 -4
  145. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartChart.fragment.xml +1 -1
  146. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartTable.fragment.xml +3 -2
  147. package/src/sap/suite/ui/generic/template/QuickCreate/i18n/i18n_en_US_saptrc.properties +14 -14
  148. package/src/sap/suite/ui/generic/template/QuickCreate/manifest.json +1 -1
  149. package/src/sap/suite/ui/generic/template/QuickView/i18n/i18n_en_US_saptrc.properties +2 -2
  150. package/src/sap/suite/ui/generic/template/QuickView/manifest.json +1 -1
  151. package/src/sap/suite/ui/generic/template/designtime/controls/DynamicPage.designtime.js +198 -193
  152. package/src/sap/suite/ui/generic/template/designtime/controls/ObjectPageLayout.designtime.js +215 -0
  153. package/src/sap/suite/ui/generic/template/designtime/controls/SmartFilterBar.designtime.js +340 -0
  154. package/src/sap/suite/ui/generic/template/designtime/controls/SmartTable.designtime.js +43 -19
  155. package/src/sap/suite/ui/generic/template/designtime/floorplans/AnalyticalListPage.designtime.js +18 -18
  156. package/src/sap/suite/ui/generic/template/designtime/floorplans/ListReport.designtime.js +19 -16
  157. package/src/sap/suite/ui/generic/template/designtime/floorplans/ObjectPage.designtime.js +10 -7
  158. package/src/sap/suite/ui/generic/template/designtime/utils/designtimeHelper.js +52 -37
  159. package/src/sap/suite/ui/generic/template/designtime/utils/designtimeUtils.js +112 -23
  160. package/src/sap/suite/ui/generic/template/detailTemplates/i18n/i18n_en_US_saptrc.properties +6 -6
  161. package/src/sap/suite/ui/generic/template/fragments/BreakoutActions.fragment.xml +2 -2
  162. package/src/sap/suite/ui/generic/template/fragments/DeterminingActions.fragment.xml +3 -2
  163. package/src/sap/suite/ui/generic/template/fragments/DeterminingButton.fragment.xml +18 -20
  164. package/src/sap/suite/ui/generic/template/fragments/EasyFilter.fragment.xml +0 -6
  165. package/src/sap/suite/ui/generic/template/fragments/GlobalActions.fragment.xml +3 -2
  166. package/src/sap/suite/ui/generic/template/fragments/GridTableCells.fragment.xml +7 -6
  167. package/src/sap/suite/ui/generic/template/fragments/HeaderAddress.fragment.xml +2 -1
  168. package/src/sap/suite/ui/generic/template/fragments/HeaderContactWithDetailsPopover.fragment.xml +2 -1
  169. package/src/sap/suite/ui/generic/template/fragments/HeaderDataPointContent.fragment.xml +2 -2
  170. package/src/sap/suite/ui/generic/template/fragments/HeaderForm.fragment.xml +1 -1
  171. package/src/sap/suite/ui/generic/template/fragments/HeaderFormDataField.fragment.xml +14 -7
  172. package/src/sap/suite/ui/generic/template/fragments/HeaderPlainText.fragment.xml +1 -1
  173. package/src/sap/suite/ui/generic/template/fragments/HeaderRatingIndicator.fragment.xml +5 -7
  174. package/src/sap/suite/ui/generic/template/fragments/MessagePopover.fragment.xml +2 -1
  175. package/src/sap/suite/ui/generic/template/fragments/ProgressIndicator.fragment.xml +2 -2
  176. package/src/sap/suite/ui/generic/template/fragments/QuickViewSmartForm.fragment.xml +2 -2
  177. package/src/sap/suite/ui/generic/template/fragments/RatingIndicatorFacet.fragment.xml +2 -2
  178. package/src/sap/suite/ui/generic/template/fragments/SmartFormDataField.fragment.xml +4 -3
  179. package/src/sap/suite/ui/generic/template/fragments/SmartMicroChart.fragment.xml +1 -1
  180. package/src/sap/suite/ui/generic/template/fragments/SmartTableUiTableCommons.fragment.xml +2 -5
  181. package/src/sap/suite/ui/generic/template/fragments/TableCell.fragment.xml +9 -7
  182. package/src/sap/suite/ui/generic/template/fragments/TableColumnListItem.fragment.xml +2 -5
  183. package/src/sap/suite/ui/generic/template/fragments/ToolbarButton.fragment.xml +2 -2
  184. package/src/sap/suite/ui/generic/template/fragments/TreeTableColumns.fragment.xml +4 -3
  185. package/src/sap/suite/ui/generic/template/genericUtilities/controlHelper.js +10 -9
  186. package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartVariantManagementWrapper.js +4 -2
  187. package/src/sap/suite/ui/generic/template/genericUtilities/filterHelper.js +70 -2
  188. package/src/sap/suite/ui/generic/template/genericUtilities/polyFill.js +14 -0
  189. package/src/sap/suite/ui/generic/template/js/AnnotationHelper.js +67 -30
  190. package/src/sap/suite/ui/generic/template/js/AnnotationHelperStreamSupport.js +3 -0
  191. package/src/sap/suite/ui/generic/template/js/QuickTemplates/QuickTemplateComponentFactory.js +25 -14
  192. package/src/sap/suite/ui/generic/template/js/RuntimeFormatters.js +78 -22
  193. package/src/sap/suite/ui/generic/template/lib/AppComponent.js +16 -225
  194. package/src/sap/suite/ui/generic/template/lib/CRUDActionHandler.js +12 -3
  195. package/src/sap/suite/ui/generic/template/lib/CRUDHelper.js +5 -3
  196. package/src/sap/suite/ui/generic/template/lib/CommonEventHandlers.js +24 -5
  197. package/src/sap/suite/ui/generic/template/lib/CommonUtils.js +78 -48
  198. package/src/sap/suite/ui/generic/template/lib/ComponentUtils.js +3 -3
  199. package/src/sap/suite/ui/generic/template/lib/ContextBookkeeping.js +39 -23
  200. package/src/sap/suite/ui/generic/template/lib/FlexibleColumnLayoutHandler.js +13 -5
  201. package/src/sap/suite/ui/generic/template/lib/FlexibleColumnLayoutHelper.js +168 -0
  202. package/src/sap/suite/ui/generic/template/lib/MessageButtonHelper.js +6 -0
  203. package/src/sap/suite/ui/generic/template/lib/MessageStripHelper.js +1 -1
  204. package/src/sap/suite/ui/generic/template/lib/RetryAfterHandler.js +2 -3
  205. package/src/sap/suite/ui/generic/template/lib/ShellPersonalizationService.js +137 -0
  206. package/src/sap/suite/ui/generic/template/lib/SideEffectUtil.js +56 -1
  207. package/src/sap/suite/ui/generic/template/lib/TemplateComponent.js +26 -7
  208. package/src/sap/suite/ui/generic/template/lib/ai/EasyFilterBarHandler.js +91 -36
  209. package/src/sap/suite/ui/generic/template/lib/ai/FioriAIHandler.js +30 -35
  210. package/src/sap/suite/ui/generic/template/lib/deletionHelper.js +10 -2
  211. package/src/sap/suite/ui/generic/template/lib/filterHelper.js +7 -3
  212. package/src/sap/suite/ui/generic/template/lib/i18n/i18n.properties +9 -15
  213. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ar.properties +3 -9
  214. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_bg.properties +3 -9
  215. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ca.properties +3 -9
  216. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cnr.properties +3 -9
  217. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cs.properties +3 -9
  218. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cy.properties +3 -9
  219. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_da.properties +3 -9
  220. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_de.properties +7 -13
  221. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_el.properties +3 -9
  222. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en.properties +3 -9
  223. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_GB.properties +3 -9
  224. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_saprigi.properties +7 -11
  225. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_saptrc.properties +183 -149
  226. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es.properties +6 -12
  227. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es_MX.properties +3 -9
  228. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_et.properties +3 -9
  229. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fi.properties +3 -9
  230. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr.properties +3 -9
  231. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr_CA.properties +3 -9
  232. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hi.properties +3 -9
  233. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hr.properties +3 -9
  234. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hu.properties +5 -11
  235. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_id.properties +3 -9
  236. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_it.properties +3 -9
  237. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_iw.properties +3 -9
  238. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ja.properties +3 -9
  239. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_kk.properties +3 -9
  240. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ko.properties +3 -9
  241. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lt.properties +3 -9
  242. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lv.properties +3 -9
  243. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_mk.properties +3 -9
  244. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ms.properties +3 -9
  245. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_nl.properties +3 -9
  246. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_no.properties +3 -9
  247. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pl.properties +3 -9
  248. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt.properties +3 -9
  249. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt_PT.properties +3 -9
  250. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ro.properties +3 -9
  251. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ru.properties +3 -9
  252. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sh.properties +3 -9
  253. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sk.properties +3 -9
  254. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sl.properties +3 -9
  255. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sr.properties +3 -9
  256. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sv.properties +3 -9
  257. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_th.properties +3 -9
  258. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_tr.properties +3 -9
  259. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_uk.properties +3 -9
  260. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_vi.properties +5 -11
  261. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_CN.properties +3 -9
  262. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_TW.properties +3 -9
  263. package/src/sap/suite/ui/generic/template/lib/insights/InsightsCardHelper.js +27 -11
  264. package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +59 -38
  265. package/src/sap/suite/ui/generic/template/lib/presentationControl/SmartTableHandler.js +93 -1
  266. package/src/sap/suite/ui/generic/template/library.js +7 -3
  267. package/src/sap/suite/ui/generic/template/listTemplates/fragments/ChartActions.fragment.xml +4 -3
  268. package/src/sap/suite/ui/generic/template/listTemplates/fragments/DetailSmartTable.fragment.xml +4 -3
  269. package/src/sap/suite/ui/generic/template/listTemplates/i18n/i18n_en_US_saptrc.properties +1 -1
  270. package/src/sap/suite/ui/generic/template/manifestMerger/ChangePageConfiguration.js +4 -1
  271. package/src/sap/suite/ui/generic/template/manifestMerger/MergerUtil.js +27 -1
  272. package/src/sap/suite/ui/generic/template/support/DiagnosticsTool/DiagnosticsTool.js +15 -3
  273. package/src/sap/suite/ui/generic/template/support/DiagnosticsTool/view/DiagnosticsTool.view.xml +0 -24
  274. package/src/sap/suite/ui/generic/template/support/lib/CommonChecks.js +11 -19
  275. package/src/sap/suite/ui/generic/template/themes/base/ObjectPage.less +0 -4
  276. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/ObjectPage.less +0 -4
  277. package/src/sap/suite/ui/generic/template/themes/sap_bluecrystal_base/ObjectPage.less +0 -4
  278. package/src/sap/suite/ui/generic/template/themes/sap_fiori_3_hcb/AnalyticalListPage.less +0 -1
  279. package/src/sap/suite/ui/generic/template/themes/sap_fiori_3_hcw/AnalyticalListPage.less +0 -1
  280. package/src/sap/suite/ui/generic/template/themes/sap_hcb/base_ObjectPage.less +0 -4
  281. package/src/sap/suite/ui/generic/template/themes/sap_horizon_hcb/AnalyticalListPage.less +0 -1
  282. package/src/sap/suite/ui/generic/template/themes/sap_horizon_hcw/AnalyticalListPage.less +0 -1
  283. package/src/sap/suite/ui/generic/template/fragments/ContactDetailsQuickViewGroup.fragment.xml +0 -36
  284. package/src/sap/suite/ui/generic/template/js/formatters/formatDisplayValueForProgressIndicator.js +0 -28
  285. package/src/sap/suite/ui/generic/template/js/formatters/formatImageUrl.js +0 -21
  286. package/src/sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorAggregateCount.js +0 -21
  287. package/src/sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorFooterText.js +0 -21
  288. package/src/sap/suite/ui/generic/template/js/formatters/formatRatingIndicatorSubTitle.js +0 -21
  289. package/src/sap/suite/ui/generic/template/js/formatters/setInfoHighlight.js +0 -21
  290. package/src/sap/suite/ui/generic/template/js/formatters/setRowNavigated.js +0 -26
@@ -6,8 +6,11 @@
6
6
  */
7
7
  // Provides the design time metadata for the sap.suite.ui.generic.template.ObjectPage component
8
8
 
9
- sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"],
10
- function (designtimeHelper) {
9
+ sap.ui.define([
10
+ "sap/suite/ui/generic/template/designtime/utils/designtimeHelper",
11
+ "sap/suite/ui/generic/template/designtime/utils/designtimeUtils"
12
+ ],
13
+ function (designtimeHelper, designtimeUtils) {
11
14
  "use strict";
12
15
 
13
16
  // allow list for designtime adaptation / level-0.
@@ -40,7 +43,7 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
40
43
  actions: ["settings"]
41
44
  },
42
45
  "sap.m.Table": {
43
- properties: ["growingThreshold", "popinLayout", "includeItemInSelection"] // growingThreshold should not be possible in single section with single subsection
46
+ properties: ["growingThreshold", "popinLayout", "includeItemInSelection", "rememberSelections"] // growingThreshold should not be possible in single section with single subsection
44
47
  },
45
48
  "sap.m.Column": {
46
49
  properties: ["width", "hAlign"]
@@ -274,8 +277,8 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
274
277
  // there's no reliable way to differentiate designtime adaptation and key user adaptation. However
275
278
  // - property changes are possible only in designtime adaptation
276
279
  // - for any other changes (using change handlers), we anyway need to be prepared for the change if it is allowed in one mode, so it shouldn't matter if it's also possible in the other mode
277
- const sRtaModeValue = designtimeHelper.getRtaModeValue();
278
- const mAllow = sRtaModeValue === designtimeHelper.FioriToolsRtaMode.True ? mAllowVariantManagement : designtimeHelper.getMergedAllowList([mAllowLevel0, mGreyLevel0, mAllowKeyUser]);
279
- return designtimeHelper.getViewDesignTime(mAllow, sRtaModeValue);
280
+ const sRtaModeValue = designtimeUtils.getRtaModeValue();
281
+ const mAllow = sRtaModeValue === designtimeUtils.FioriToolsRtaMode.True ? mAllowVariantManagement : designtimeHelper.getMergedAllowList([mAllowLevel0, mGreyLevel0, mAllowKeyUser]);
282
+ return designtimeHelper.getViewDesignTime(mAllow);
280
283
 
281
- });
284
+ });
@@ -1,6 +1,20 @@
1
- sap.ui.define(["sap/base/util/extend", "sap/base/util/deepExtend", "sap/base/util/merge", "sap/suite/ui/generic/template/genericUtilities/FeLogger",
2
- "sap/suite/ui/generic/template/designtime/controls/SmartTable.designtime"
3
- ], function (extend, deepExtend, merge, FeLogger, SmartTableDesigntimeHelper) {
1
+ sap.ui.define([
2
+ "sap/base/util/deepExtend",
3
+ "sap/base/util/merge",
4
+ "sap/suite/ui/generic/template/designtime/controls/SmartTable.designtime",
5
+ "sap/suite/ui/generic/template/designtime/controls/DynamicPage.designtime",
6
+ "sap/suite/ui/generic/template/designtime/controls/SmartFilterBar.designtime",
7
+ "sap/suite/ui/generic/template/designtime/controls/ObjectPageLayout.designtime",
8
+ "sap/ui/core/Element"
9
+ ], function (
10
+ deepExtend,
11
+ merge,
12
+ SmartTableDesigntimeHelper,
13
+ DynamicPageDesigntimeHelper,
14
+ SmartFilterBarDesigntimeHelper,
15
+ ObjectPageLayoutDesigntimeHelper,
16
+ Element
17
+ ) {
4
18
  "use strict";
5
19
 
6
20
  /*
@@ -42,7 +56,6 @@ sap.ui.define(["sap/base/util/extend", "sap/base/util/deepExtend", "sap/base/uti
42
56
  var mControlInfo = {};
43
57
  var aViews = [];
44
58
  // var oLogger = new FeLogger("designtime.utils.designTimeHelper").getLogger();
45
- var RTA_MODE_URL_PARAM_KEY = "fiori-tools-rta-mode";
46
59
  var oMutationObserver;
47
60
  /**
48
61
  * get effective designtime for all controls on current active view
@@ -72,8 +85,8 @@ sap.ui.define(["sap/base/util/extend", "sap/base/util/deepExtend", "sap/base/uti
72
85
 
73
86
  // Assumption: Enough to start with template views and find all aggregated objects
74
87
  // for later added controls: enough to add listener on those views, react if related Node is a known control, and recheck all aggregated objects of that control
75
- document.querySelectorAll(".sapUiXMLView").forEach(function (oTopNode) {
76
- var oView = sap.ui.getCore().byId(oTopNode.id);
88
+ document.querySelectorAll(".sapUiXMLView").forEach(function(oTopNode){
89
+ var oView = Element.getElementById(oTopNode.id);
77
90
  // defensive programming, as any error here would be caught by UI adaptation and lead to just ignoring designtime provided here - which would open up for any UI adaptation provided from
78
91
  // deeper layers
79
92
  // first two conditions should actually not occur, but if so, evaluating the third would break
@@ -91,7 +104,7 @@ sap.ui.define(["sap/base/util/extend", "sap/base/util/deepExtend", "sap/base/uti
91
104
  mutation.addedNodes.forEach(function (node) {
92
105
  // Find the preceding known node and the corresponding control
93
106
  var oNode = findPreceedingKnownNode(node);
94
- var oControl = oNode && sap.ui.getCore().byId(oNode.id);
107
+ var oControl = oNode && Element.getElementById(oNode.id);
95
108
  if (oControl) {
96
109
  // For each control, find aggregated objects and add them to control info
97
110
  oControl.findAggregatedObjects(true).forEach(addToControlInfo);
@@ -113,15 +126,6 @@ sap.ui.define(["sap/base/util/extend", "sap/base/util/deepExtend", "sap/base/uti
113
126
  function fnStopMutationObserver() {
114
127
  oMutationObserver && oMutationObserver.disconnect();
115
128
  }
116
- /**
117
- * Parses the URL parameters and returns the value of RTA mode URL parameter (fiori-tools-rta-mode)
118
- * @returns {string | null} A promise which returns a value of RTA mode
119
- */
120
- function getRtaModeValue() {
121
- const oUrlParams = new URLSearchParams(window.location.search);
122
- const sRtaModeValue = oUrlParams.get(RTA_MODE_URL_PARAM_KEY);
123
- return sRtaModeValue;
124
- }
125
129
 
126
130
  /*
127
131
  * Returns the branch of the control tree as an array ordered from bottom to top, if the control is relevant (i.e. direct part of a template view). I.e. the first entry of the array is the
@@ -320,7 +324,7 @@ sap.ui.define(["sap/base/util/extend", "sap/base/util/deepExtend", "sap/base/uti
320
324
  return oResult;
321
325
  }
322
326
 
323
- function getViewDesignTime(mAllow, sFioriToolsRtaMode) {
327
+ function getViewDesignTime(mAllow) {
324
328
  return loadBaseDesigntime().then(function () {
325
329
 
326
330
  // provide propagation function for all controls contained allowing only what we want to allow
@@ -333,19 +337,35 @@ sap.ui.define(["sap/base/util/extend", "sap/base/util/deepExtend", "sap/base/uti
333
337
  var oReducedDesigntime = oElement.getMetadata().getElementName && getReducedDesignTime(oElement, mAllow[oElement.getMetadata().getElementName()]);
334
338
 
335
339
  var oCustomDesigntime = {};
336
- if (sFioriToolsRtaMode === FioriToolsRtaMode.ForAdaptation) {
337
- switch (oElement.getMetadata().getElementName()) {
338
- case "sap.ui.comp.smarttable.SmartTable":
339
- case "sap.ui.table.Table":
340
- case "sap.m.Table":
341
- case "sap.ui.table.AnalyticalTable":
342
- oCustomDesigntime = SmartTableDesigntimeHelper.getDesigntime(
343
- oElement
344
- );
345
- break;
346
- default:
347
- break;
348
- }
340
+ switch (oElement.getMetadata().getElementName()) {
341
+ case "sap.uxap.ObjectPageLayout":
342
+ oCustomDesigntime = ObjectPageLayoutDesigntimeHelper.getDesigntime(
343
+ oElement
344
+ );
345
+ break;
346
+ case "sap.ui.comp.smartfilterbar.SmartFilterBar":
347
+ case "sap.suite.ui.generic.template.AnalyticalListPage.control.SmartFilterBarExt":
348
+ case "sap.suite.ui.generic.template.AnalyticalListPage.control.visualfilterbar.SmartVisualFilterBar":
349
+ oCustomDesigntime = SmartFilterBarDesigntimeHelper.getDesigntime(
350
+ oElement
351
+ );
352
+ break;
353
+ case "sap.ui.comp.smarttable.SmartTable":
354
+ case "sap.ui.table.Table":
355
+ case "sap.m.Table":
356
+ case "sap.ui.table.AnalyticalTable":
357
+ oCustomDesigntime = SmartTableDesigntimeHelper.getDesigntime(
358
+ oElement
359
+ );
360
+ break;
361
+ case "sap.f.DynamicPage":
362
+ oCustomDesigntime = DynamicPageDesigntimeHelper.getDesigntime(
363
+ oElement
364
+ );
365
+ break;
366
+ default:
367
+ break;
368
+
349
369
  }
350
370
  return merge(oReducedDesigntime, oCustomDesigntime);
351
371
  }
@@ -391,16 +411,11 @@ sap.ui.define(["sap/base/util/extend", "sap/base/util/deepExtend", "sap/base/uti
391
411
  }
392
412
  });
393
413
  }
394
- const FioriToolsRtaMode = {
395
- True: "true",
396
- ForAdaptation: "forAdaptation"
397
- };
414
+
398
415
 
399
416
  return {
400
417
  getMergedAllowList: deepMergeWithArray,
401
418
  getViewDesignTime: getViewDesignTime,
402
- getRtaModeValue: getRtaModeValue,
403
- stopMutationObserver: fnStopMutationObserver,
404
- FioriToolsRtaMode
419
+ stopMutationObserver: fnStopMutationObserver
405
420
  };
406
421
  });
@@ -44,8 +44,9 @@ sap.ui.define([
44
44
  "sap/m/CheckBox",
45
45
  "sap/ui/core/Item",
46
46
  "sap/m/Select",
47
- "sap/m/Token"
48
- ], function (JSONModel, InputListItem, List, MultiInput, Input, CheckBox, Item, Select, Token) {
47
+ "sap/m/Token",
48
+ "sap/m/MultiComboBox"
49
+ ], function (JSONModel, InputListItem, List, MultiInput, Input, CheckBox, Item, Select, Token, MultiComboBox) {
49
50
  const settingsModel = new JSONModel();
50
51
  settingsModel.setData(aDialogContent);
51
52
 
@@ -89,27 +90,51 @@ sap.ui.define([
89
90
  }).data("id", id);
90
91
  }
91
92
  case "string[]":
92
- const oMultiInput = new MultiInput({
93
- width: "70%",
94
- showValueHelp: false,
95
- showClearIcon: true,
96
- tokens: (propertyValues[id] || []).map(function (navigationProperty) {
97
- return new Token({ text: navigationProperty, key: navigationProperty });
98
- }),
99
- tokenUpdate: function (event) {
100
- const array = propertyValues[this.data("id")];
101
- if (event.getParameter("addedTokens").length > 0) {
102
- array.push(event.getParameter("addedTokens")[0].getKey());
103
- } else if (event.getParameter("removedTokens").length > 0) {
104
- const index = array.indexOf(event.getParameter("removedTokens")[0].getKey());
105
- if (index !== -1) { array.splice(index, 1); }
93
+ if (oContext.getProperty("enum")) {
94
+ const multiSelectItem = new Item({ text: "{name}", key: "{id}" });
95
+ const oMultiComboBox = new MultiComboBox({
96
+ width: "60%",
97
+ selectedKeys: propertyValues[id] || [],
98
+ selectionChange: function (event) {
99
+ propertyValues[this.data("id")] = event.getSource().getSelectedKeys();
100
+ },
101
+ enabled: {
102
+ path: "disabled",
103
+ formatter: function (disabled) {
104
+ return !disabled;
105
+ }
106
106
  }
107
- }
108
- }).data("id", id);
109
- oMultiInput.addValidator(function (args) {
110
- return new Token({ key: args.text, text: args.text });
111
- });
112
- return oMultiInput;
107
+ }).data("id", id);
108
+
109
+ oMultiComboBox.bindItems({ path: "enum", template: multiSelectItem });
110
+ oMultiComboBox.setSelectedKeys(unchangedData[id] || []);
111
+ return oMultiComboBox;
112
+ } else {
113
+ const oMultiInput = new MultiInput({
114
+ width: "70%",
115
+ showValueHelp: false,
116
+ showClearIcon: true,
117
+ tokens: (propertyValues[id] || []).map(function (navigationProperty) {
118
+ return new Token({ text: navigationProperty, key: navigationProperty });
119
+ }),
120
+ tokenUpdate: function (event) {
121
+ const array = propertyValues[this.data("id")];
122
+ if (event.getParameter("addedTokens").length > 0) {
123
+ array.push(event.getParameter("addedTokens")[0].getKey());
124
+ } else if (event.getParameter("removedTokens").length > 0) {
125
+ const index = array.indexOf(event.getParameter("removedTokens")[0].getKey());
126
+ if (index !== -1) {
127
+ array.splice(index, 1);
128
+ }
129
+ }
130
+ }
131
+ }).data("id", id);
132
+
133
+ oMultiInput.addValidator(function (args) {
134
+ return new Token({ key: args.text, text: args.text });
135
+ });
136
+ return oMultiInput;
137
+ }
113
138
  case "number":
114
139
  return new Input({
115
140
  value: "{value}",
@@ -141,6 +166,19 @@ sap.ui.define([
141
166
  booleanOrStringSelect.bindItems({ path: "enum", template: booleanOrStringItem });
142
167
  booleanOrStringSelect.setSelectedKey(unchangedData[id]);
143
168
  return booleanOrStringSelect;
169
+
170
+ case "booleanOrStringCheckbox":
171
+ const enums = oContext.getProperty("enum");
172
+ const booleanOrStringCheckbox = new CheckBox({
173
+ selected: unchangedData[id] === enums.find(e => e.name === "true").id,
174
+ select: function (event) {
175
+ const isSelected = event.getParameter("selected");
176
+ const value = isSelected ? enums.find(e => e.name === "true").id : enums.find(e => e.name === "false").id;
177
+ propertyValues[this.data("id")] = value;
178
+ }
179
+ }).data("id", id);
180
+ return booleanOrStringCheckbox;
181
+
144
182
  case "json":
145
183
  return new Input({
146
184
  value: "{value}",
@@ -315,6 +353,7 @@ sap.ui.define([
315
353
  * @property {DesigntimeSetting[]} [writeObject] - An array of DesigntimeSetting objects.
316
354
  * @property {string} [writeObjectFor] - The value of the setting for which the Object should be constructed.
317
355
  * @property {boolean} [skipChange] - Indicates if the change should be skipped.
356
+ * @property {boolean} [keyUser] - Indicates if the setting is allowed for key user.
318
357
 
319
358
  * @typedef {string | boolean | string[] } PropertyValue
320
359
 
@@ -417,12 +456,58 @@ sap.ui.define([
417
456
  return oSupportedGlobalManifestSettings;
418
457
  }
419
458
 
459
+ /**
460
+ * Retrieves the allowed designtime settings for the given control based on the floorplan component name.
461
+ * If the control is not restricted to a specific component, all settings are returned.
462
+ * If the control is restricted to a specific component, only the settings for that component are returned.
463
+ * @param {sap.ui.core.Control} oControl - The control.
464
+ * @param {DesigntimeSetting[]} aDesigntimeSettings - The array of designtime settings.
465
+ * @returns {DesigntimeSetting[]} - The allowed designtime settings.
466
+ */
467
+
468
+ function filterDesigntimeSettingsByFloorPlan(oControl, aDesigntimeSettings) {
469
+ const sComponentName = getOwnerComponentFor(oControl).getMetadata().getComponentName();
470
+ return aDesigntimeSettings.filter(oSetting => !oSetting.restrictedTo || oSetting.restrictedTo.includes(sComponentName));
471
+ }
472
+
420
473
 
421
474
  // Add the functions to the testableHelper for testing which are not exported
422
475
  getChangedPropertyValues = testableHelper.testableStatic(getChangedPropertyValues, "getChangedPropertyValues");
423
476
  getChanges = testableHelper.testableStatic(getChanges, "getChanges");
424
477
  getChangeStructure = testableHelper.testableStatic(getChangeStructure, "getChangeStructure");
425
478
 
479
+ /**
480
+ * Parses the URL parameters and returns the value of RTA mode URL parameter (fiori-tools-rta-mode)
481
+ * @returns {string | null} A promise which returns a value of RTA mode
482
+ */
483
+ function getRtaModeValue() {
484
+ var RTA_MODE_URL_PARAM_KEY = "fiori-tools-rta-mode";
485
+
486
+ const oUrlParams = new URLSearchParams(window.location.search);
487
+ const sRtaModeValue = oUrlParams.get(RTA_MODE_URL_PARAM_KEY);
488
+ return sRtaModeValue;
489
+ }
490
+
491
+ const FioriToolsRtaMode = {
492
+ True: "true",
493
+ ForAdaptation: "forAdaptation"
494
+ };
495
+
496
+ /**
497
+ * Returns the allowed designtime settings based on the adaptation mode.
498
+ * If the adaptation mode is not set, only key user settings are returned.
499
+ * If the adaptation mode is set, all settings are returned.
500
+ *
501
+ * @param {DesigntimeSetting[]} aDesigntimeSettings
502
+ * @returns {DesigntimeSetting[]}
503
+ */
504
+ function getAllowedDesigntimeSettingsBasedOnAdaptationMode(aDesigntimeSettings) {
505
+ if (!getRtaModeValue()) {
506
+ return aDesigntimeSettings.filter(oSetting => oSetting.keyUser);
507
+ }
508
+ return aDesigntimeSettings;
509
+ }
510
+
426
511
  return {
427
512
  openAdaptionDialog: fnOpenAdaptionDialog,
428
513
  getSettings,
@@ -432,6 +517,10 @@ sap.ui.define([
432
517
  getLocalId,
433
518
  SettingScope,
434
519
  ChangeType,
435
- getSupportedGlobalManifestSettings
520
+ getSupportedGlobalManifestSettings,
521
+ filterDesigntimeSettingsByFloorPlan,
522
+ getRtaModeValue,
523
+ FioriToolsRtaMode,
524
+ getAllowedDesigntimeSettingsBasedOnAdaptationMode
436
525
  };
437
526
  });
@@ -1,12 +1,12 @@
1
1
 
2
- APPLY=FjbQoCRcRl/2B3xC0rq3SQ_Apply
2
+ APPLY=nH1BrR0hyKgb04d73Mxd+A_Apply
3
3
 
4
- MESSAGE_BUTTON_TOOLTIP_S=GCOLaqD8YToROWMAUmfchg_1 Message
4
+ MESSAGE_BUTTON_TOOLTIP_S=NwlSqAFib9vfeqqNE781IQ_1 Message
5
5
 
6
- MESSAGE_BUTTON_TOOLTIP_P=LlmjXocucDhrIkSWARS1Wg_{0} Messages
6
+ MESSAGE_BUTTON_TOOLTIP_P=NgyLDP6lSQDYc2CsPadzZg_{0} Messages
7
7
 
8
- MESSAGE_BUTTON_TYPE=wUEvSxBs6wVdRxT2PyaANg_Messages
8
+ MESSAGE_BUTTON_TYPE=x5WGCQhSx49hUiJHwlOkmw_Messages
9
9
 
10
- ST_DETAIL_TITLE_VALIDATION=y/JjsrU9rr7ZsJ5VeDuhOQ_Validation Messages
10
+ ST_DETAIL_TITLE_VALIDATION=AfreC6WzZTp/+R8OrCdWgA_Validation Messages
11
11
 
12
- ST_DETAIL_TITLE_DELETE=DdsIwyBHpouKKe6i9MI9Uw_Delete
12
+ ST_DETAIL_TITLE_DELETE=IkZr5MmugIY4SHT8ExcbvQ_Delete
@@ -13,7 +13,7 @@
13
13
  press="{customAction>press}"
14
14
  type="Transparent">
15
15
  <layoutData>
16
- <OverflowToolbarLayoutData priority = "{customAction>importance}"/>
16
+ <OverflowToolbarLayoutData priority="{path: 'customAction>importance', formatter: 'AH.getToolbarButtonPriorityFromImportance'}"/>
17
17
  </layoutData>
18
18
  </Button>
19
19
  </template:if>
@@ -29,7 +29,7 @@
29
29
  press="{customAction>press}"
30
30
  type="Transparent">
31
31
  <layoutData>
32
- <OverflowToolbarLayoutData priority = "{customAction>importance}"/>
32
+ <OverflowToolbarLayoutData priority="{path: 'customAction>importance', formatter: 'AH.getToolbarButtonPriorityFromImportance'}"/>
33
33
  </layoutData>
34
34
  </Button>
35
35
  </template:if>
@@ -1,12 +1,13 @@
1
1
  <core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core"
2
- xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1">
2
+ xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
3
+ template:require="{AH:'sap/suite/ui/generic/template/js/AnnotationHelper'}">
3
4
 
4
5
  <template:if test="{= ${tmpEntitySet>EntitySet} === ${parameter>/entitySet} }">
5
6
  <Button id="{customaction>id}"
6
7
  text="{customaction>text}"
7
8
  press="{customaction>press}" type="Default">
8
9
  <layoutData>
9
- <OverflowToolbarLayoutData priority = "{customaction>importance}"/>
10
+ <OverflowToolbarLayoutData priority="{path: 'customaction>importance', formatter: 'AH.getToolbarButtonPriorityFromImportance'}"/>
10
11
  </layoutData>
11
12
  </Button>
12
13
  </template:if>
@@ -2,26 +2,24 @@
2
2
  xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
3
3
  template:require="{AH: 'sap/suite/ui/generic/template/js/AnnotationHelper', AHModel: 'sap/ui/model/odata/AnnotationHelper'}">
4
4
 
5
- <template:with path="dataField>Action"
6
- helper="AHModel.gotoFunctionImport"
7
- var="action">
8
- <Button id="{parts: [{path: 'dataField>'}, {path: 'facet>'}], formatter: 'AH.getStableIdPartForDatafieldActionButton'}::Determining"
9
- type="{path:'dataField>', formatter: 'AH.buildExpressionForButtonCriticality'}"
10
- text="{= ${path: 'dataField>Label', formatter: 'AHModel.format'}}"
11
- visible="{parts: [{path: 'parameter>/treeNode'}, {path: 'action>sap:applicable-path'}, {path: 'dataField>'}], formatter: 'AH.actionControlDetermining'}"
5
+ <template:with path="dataField>Action" helper="AHModel.gotoFunctionImport" var="action">
6
+ <Button id="{parts: [{path: 'dataField>'}, {path: 'facet>'}], formatter: 'AH.getStableIdPartForDatafieldActionButton'}::Determining"
7
+ type="{path:'dataField>', formatter: 'AH.buildExpressionForButtonCriticality'}" text="{= ${path: 'dataField>Label', formatter: 'AHModel.format'}}"
8
+ visible="{parts: [{path: 'parameter>/treeNode'}, {path: 'action>sap:applicable-path'}, {path: 'dataField>'}], formatter: 'AH.actionControlDetermining'}"
12
9
  press="{parts: [{path: 'parameter>/settings'}, {path: 'dataField>'}, {path: 'parameter>/manifest'}, {value: 'true'}], formatter: 'AH.getAnnotatedActionPress'}">
13
- <customData>
14
- <core:CustomData key="Action" value="{path: 'dataField>Action', formatter: 'AHModel.format'}" />
15
- <core:CustomData key="Label" value="{path: 'dataField>Label', formatter: 'AHModel.format'}" />
16
- <template:if test="{= ${dataField>RecordType} === 'com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation'}">
17
- <core:CustomData key="SemanticObject" value="{path: 'dataField>SemanticObject', formatter: 'AHModel.format'}" />
18
- <core:CustomData key="RequiresContext" value="{path: 'dataField>RequiresContext', formatter: 'AHModel.format'}" />
19
- </template:if>
20
- <template:with path="dataField>Action" helper="AHModel.gotoFunctionImport" var="action">
21
- <core:CustomData key="ActionFor" value="{action>sap:action-for}" />
22
- </template:with>
23
- </customData>
24
- </Button>
25
- </template:with>
10
+ <customData>
11
+ <core:CustomData key="Action" value="{path: 'dataField>Action', formatter: 'AHModel.format'}" />
12
+ <core:CustomData key="Label" value="{path: 'dataField>Label', formatter: 'AHModel.format'}" />
13
+ <core:CustomData key="ActionType" value="determining" />
14
+ <template:if test="{= ${dataField>RecordType} === 'com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation'}">
15
+ <core:CustomData key="SemanticObject" value="{path: 'dataField>SemanticObject', formatter: 'AHModel.format'}" />
16
+ <core:CustomData key="RequiresContext" value="{path: 'dataField>RequiresContext', formatter: 'AHModel.format'}" />
17
+ </template:if>
18
+ <template:with path="dataField>Action" helper="AHModel.gotoFunctionImport" var="action">
19
+ <core:CustomData key="ActionFor" value="{action>sap:action-for}" />
20
+ </template:with>
21
+ </customData>
22
+ </Button>
23
+ </template:with>
26
24
 
27
25
  </core:FragmentDefinition>
@@ -1,11 +1,6 @@
1
1
  <core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core" xmlns:feControls="sap.fe.controls.easyFilter">
2
2
  <!-- to check how to use a common model property instead of listReport/filterMode which is specific to LR-->
3
3
  <VBox visible="{= ${_templPriv>/listReport/filterMode} === 'easyFilter'}">
4
- <MessageStrip
5
- text="{i18n>ST_EASY_FILTER_PROMPT_INFO}"
6
- showIcon="true"
7
- showCloseButton="true"
8
- class="sapUiSmallMarginBottom"/>
9
4
  <feControls:EasyFilterBarContainer id="template::easyFilterContainer"
10
5
  showValueHelp="._templateEventHandlers.onEasyFilterShowValueHelp"
11
6
  queryChanged="._templateEventHandlers.onEasyFilterQueryChanged"
@@ -13,7 +8,6 @@
13
8
  beforeQueryProcessing="._templateEventHandlers.onEasyFilterBeforeQueryProcessing"
14
9
  afterQueryProcessing="._templateEventHandlers.onEasyFilterAfterQueryProcessing"
15
10
  clearFilters="._templateEventHandlers.onEasyFilterClearFilters"
16
- executeSearch="._templateEventHandlers.onEasyFilterExecuteSearch"
17
11
  />
18
12
  </VBox>
19
13
  </core:FragmentDefinition>
@@ -1,5 +1,6 @@
1
1
  <core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core"
2
- xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1">
2
+ xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
3
+ template:require="{AH:'sap/suite/ui/generic/template/js/AnnotationHelper'}">
3
4
 
4
5
  <template:if test="{= ${tmpEntitySet>EntitySet} === ${parameter>/entitySet} }">
5
6
  <template:repeat list="{tmpEntitySet>Actions}" var="customAction">
@@ -9,7 +10,7 @@
9
10
  press="{= ${customAction>command} ? 'cmd:' + ${customAction>command} : ${customAction>press} }"
10
11
  type="Default">
11
12
  <layoutData>
12
- <OverflowToolbarLayoutData priority="{customAction>importance}"/>
13
+ <OverflowToolbarLayoutData priority="{path: 'customAction>importance', formatter: 'AH.getToolbarButtonPriorityFromImportance'}"/>
13
14
  </layoutData>
14
15
  </Button>
15
16
  </template:if>
@@ -10,6 +10,7 @@
10
10
  <fe:Link
11
11
  text="{parts: [{path: 'dataField>'}, {path: 'listEntitySet>'}], formatter: 'AH.getLinkTextForDFwithIBN'}"
12
12
  press="._templateEventHandlers.onDataFieldWithIntentBasedNavigation"
13
+ accessibleRole="Button"
13
14
  wrapping="false">
14
15
  <fe:customData>
15
16
  <core:CustomData key="SemanticObject" value="{path: 'dataField>SemanticObject', formatter: 'AHModel.format'}" />
@@ -26,7 +27,7 @@
26
27
  <smartField:SmartField value="{path: 'dataField>Value', formatter: 'AHModel.simplePath'}" editable="false" contextEditable="false" fetchValueListReadOnly="false"
27
28
  ariaLabelledBy="{columnId>id}">
28
29
  <smartField:configuration>
29
- <smartField:Configuration displayBehaviour="{parts: [{path: 'dataField>'}, {path: 'entitySet>'}, {path: 'dataFieldTarget>Data'}], formatter: 'AH.getTextArrangementForSCFields'}"/>
30
+ <smartField:Configuration displayBehaviour="{parts: [{path: 'dataField>'}, {path: 'listEntitySet>'}, {path: 'dataFieldTarget>Data'}], formatter: 'AH.getTextArrangementForSCFields'}"/>
30
31
  </smartField:configuration>
31
32
  <template:if test="{= ${dataField>Criticality}}">
32
33
  <smartField:controlProposal>
@@ -54,7 +55,7 @@
54
55
  <core:CustomData key="Target" value="{dataField>Target/NavigationPropertyPath}" />
55
56
  </smartField:customData>
56
57
  <smartField:configuration>
57
- <smartField:Configuration displayBehaviour="{parts: [{path: 'dataField>'}, {value: ''}, {path: 'listEntitySet>'}], formatter: 'AH.getTextArrangementForSmartControl'}" />
58
+ <smartField:Configuration displayBehaviour="{parts: [{path: 'dataField>'}, {path: 'listEntitySet>'}], formatter: 'AH.getTextArrangementForSmartControl'}" />
58
59
  </smartField:configuration>
59
60
  </smartField:SmartField>
60
61
  </template:elseif>
@@ -83,22 +84,22 @@
83
84
  <RatingIndicator
84
85
  enabled="true" editable="false" maxValue="{path: 'dataFieldTarget>TargetValue', formatter: 'AHModel.format'}"
85
86
  binding="{= ${ path: 'dataField>Target/AnnotationPath'}.indexOf('/') > -1 ? '{' + ${path: 'dataField>Target/AnnotationPath'}.slice(0, ${ path: 'dataField>Target/AnnotationPath'}.indexOf('/')) + '}' : null}"
86
- value="{path: 'dataFieldTarget>Value', formatter: 'AHModel.format'}" width="16px" />
87
+ value="{path: 'dataFieldTarget>Value', formatter: 'AHModel.format'}" iconSize="16px" />
87
88
  </template:with>
88
89
  </template:elseif>
89
90
  <template:elseif test="{= ${dataFieldTarget>Visualization/EnumMember} === 'com.sap.vocabularies.UI.v1.VisualizationType/Progress'}">
90
91
  <template:with path="dataFieldTarget>Value" helper="AHModel.resolvePath" var="value">
91
92
  <!-- Progress Bar Control -->
92
- <!-- The formatter 'formatDisplayValueForProgressIndicator' is used by 'AH.buildExpressionForProgressIndicatorDisplayValue' -->
93
+ <!-- The formatter 'RuntimeFormatters.formatDisplayValueForProgressIndicator' is used by 'AH.buildExpressionForProgressIndicatorDisplayValue' -->
93
94
  <ProgressIndicator
94
- core:require="{formatDisplayValueForProgressIndicator: 'sap/suite/ui/generic/template/js/formatters/formatDisplayValueForProgressIndicator'}"
95
+ core:require="{RuntimeFormatters: 'sap/suite/ui/generic/template/js/RuntimeFormatters'}"
95
96
  binding="{= ${ path: 'dataField>Target/AnnotationPath'}.indexOf('/') > -1 ? '{' + ${path: 'dataField>Target/AnnotationPath'}.slice(0, ${ path: 'dataField>Target/AnnotationPath'}.indexOf('/')) + '}' : null}"
96
97
  percentValue="{ parts: [{path:'dataFieldTarget>'}, {path:'value>'}], formatter: 'AH.buildExpressionForProgressIndicatorPercentValue' }"
97
98
  displayValue="{ parts: [{path:'dataFieldTarget>'}, {path:'value>Org.OData.Measures.V1.Unit'}], formatter: 'AH.buildExpressionForProgressIndicatorDisplayValue'}"
98
99
  state="{path:'dataFieldTarget>', formatter: 'AH.buildExpressionForProgressIndicatorCriticality'}">
99
100
  <customData>
100
101
  <core:CustomData key="Target" value="{= ${path: 'dataFieldTarget>TargetValue', formatter: 'AHModel.format'} }" />
101
- <core:CustomData key="UoM" value="{= ${path: 'valueProperty>Org.OData.Measures.V1.Unit', formatter: 'AHModel.format'} }" />
102
+ <core:CustomData key="UoM" value="{= ${path: 'value>Org.OData.Measures.V1.Unit', formatter: 'AHModel.format'} }" />
102
103
  </customData>
103
104
  </ProgressIndicator>
104
105
  </template:with>
@@ -9,7 +9,8 @@
9
9
  <template:if test="{headerFacet>Label}">
10
10
  <Title id="header::{path: 'headerFacet>', formatter: 'AH.getStableIdPartFromFacet'}::Label"
11
11
  text="{path: 'headerFacet>Label', formatter: 'AHModel.format'}:"
12
- class="sapSmartTemplatesObjectPageHeaderAddressLabel" />
12
+ class="sapSmartTemplatesObjectPageHeaderAddressLabel"
13
+ level="H3"/>
13
14
  </template:if>
14
15
  <Text id="header::{path: 'headerFacet>', formatter: 'AH.getStableIdPartFromFacet'}::Address"
15
16
  class="sapSmartTemplatesObjectPageHeaderAddressValue"
@@ -9,7 +9,8 @@
9
9
  <template:if test="{headerFacet>Label}">
10
10
  <Title id="header::{path: 'headerFacet>', formatter: 'AH.getStableIdPartFromFacet'}::Label"
11
11
  text="{path: 'headerFacet>Label', formatter: 'AHModel.format'}"
12
- class="sapSmartTemplatesObjectPageHeaderContactLabel"/>
12
+ class="sapSmartTemplatesObjectPageHeaderContactLabel"
13
+ level="H3"/>
13
14
  </template:if>
14
15
  <HBox>
15
16
  <core:Icon id="header::{path: 'headerFacet>', formatter: 'AH.getStableIdPartFromFacet'}::Link::Icon"
@@ -4,7 +4,7 @@
4
4
 
5
5
  <Title id="header::{path: 'headerFacet>', formatter: 'AH.getStableIdPartFromFacet'}::{path: 'dataPoint>', formatter: 'AH.getStableIdPartFromDataPoint'}::Label"
6
6
  text="{path: 'dataPoint>Title', formatter: 'AH.formatWithExpandSimple'}"
7
- class="sapSmartTemplatesObjectPageDataPointLabel sapUiTinyMarginEnd"/>
7
+ class="sapSmartTemplatesObjectPageDataPointLabel sapUiTinyMarginEnd" level="H3"/>
8
8
  <template:with path="headerFacet>Target" helper="AHModel.gotoEntitySet"
9
9
  var="annotation">
10
10
  <sfi:SmartField
@@ -18,7 +18,7 @@
18
18
  </sfi:semanticObjectController>
19
19
  <sfi:configuration>
20
20
  <sfi:Configuration
21
- displayBehaviour="{parts: [{path: 'dataPoint>'}, {path: 'annotation>'}, {path: 'entitySet>'}], formatter: 'AH.getTextArrangementForSmartControl'}"/>
21
+ displayBehaviour="{parts: [{path: 'dataPoint>'}, {path: 'entitySet>'}], formatter: 'AH.getTextArrangementForSmartControl'}"/>
22
22
  </sfi:configuration>
23
23
  <template:if test="{= ${dataPoint>Criticality} }">
24
24
  <sfi:controlProposal>
@@ -8,7 +8,7 @@
8
8
  <template:with path="parameter>/" helper="StableIdHelper.preparePathForStableId" var="facetId">
9
9
  <template:if test="{= ${facetId>}.buildStableId({type: 'ObjectPage', subType: 'Facet', sRecordType: ${headerFacet>RecordType}, sAnnotationPath: ${headerFacet>Target/AnnotationPath}, sAnnotationId: ${headerFacet>ID/String}, bIsHeaderFacet: ${isHeaderFacet>value}})}"/>
10
10
  <template:if test="{headerFacet>Label}">
11
- <Title id="{:= ${parameter>/stableId}.getStableId({type: 'ObjectPageHeader', subType: 'HeaderTitle', sFacet: ${facetId>id}})}" text="{path: 'headerFacet>Label', formatter: 'AHModel.format'}" class="sapSmartTemplatesObjectPageHeaderFormTitle"/>
11
+ <Title id="{:= ${parameter>/stableId}.getStableId({type: 'ObjectPageHeader', subType: 'HeaderTitle', sFacet: ${facetId>id}})}" text="{path: 'headerFacet>Label', formatter: 'AHModel.format'}" class="sapSmartTemplatesObjectPageHeaderFormTitle" level="H3"/>
12
12
  </template:if>
13
13
  <template:if test="{form>Data}">
14
14
  <template:then>