@sapui5/sap.suite.ui.generic.template 1.126.0 → 1.127.1

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 (196) 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/control/SmartKpiTag.js +1 -1
  4. package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItemMicroChart.js +2 -2
  5. package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/SmartVisualFilterBar.js +1 -1
  6. package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/VisualFilterProvider.js +17 -15
  7. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/ControllerImplementation.js +0 -1
  8. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/DropDownController.js +8 -13
  9. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/DynamicDateRangeController.js +4 -5
  10. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/VisualFilterDialogController.js +1 -1
  11. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controllerFrameworkExtensions.js +12 -1
  12. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_de.properties +2 -2
  13. package/src/sap/suite/ui/generic/template/AnalyticalListPage/manifest.json +1 -1
  14. package/src/sap/suite/ui/generic/template/AnalyticalListPage/util/AnnotationHelper.js +11 -11
  15. package/src/sap/suite/ui/generic/template/AnalyticalListPage/util/FilterUtil.js +6 -6
  16. package/src/sap/suite/ui/generic/template/Canvas/manifest.json +1 -1
  17. package/src/sap/suite/ui/generic/template/ListReport/Component.js +9 -1
  18. package/src/sap/suite/ui/generic/template/ListReport/controller/ControllerImplementation.js +65 -40
  19. package/src/sap/suite/ui/generic/template/ListReport/controllerFrameworkExtensions.js +12 -1
  20. package/src/sap/suite/ui/generic/template/ListReport/extensionAPI/ExtensionAPI.js +3 -3
  21. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n.properties +16 -0
  22. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ar.properties +12 -0
  23. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_bg.properties +12 -0
  24. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ca.properties +12 -0
  25. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cnr.properties +12 -0
  26. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cs.properties +12 -0
  27. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cy.properties +13 -1
  28. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_da.properties +12 -0
  29. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_de.properties +12 -0
  30. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_el.properties +12 -0
  31. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en.properties +12 -0
  32. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_GB.properties +12 -0
  33. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_US_saprigi.properties +12 -0
  34. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_es.properties +12 -0
  35. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_es_MX.properties +12 -0
  36. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_et.properties +12 -0
  37. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fi.properties +12 -0
  38. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fr.properties +12 -0
  39. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fr_CA.properties +12 -0
  40. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hi.properties +12 -0
  41. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hr.properties +12 -0
  42. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hu.properties +12 -0
  43. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_id.properties +12 -0
  44. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_it.properties +12 -0
  45. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_iw.properties +12 -0
  46. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ja.properties +12 -0
  47. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_kk.properties +12 -0
  48. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ko.properties +12 -0
  49. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_lt.properties +12 -0
  50. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_lv.properties +12 -0
  51. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_mk.properties +12 -0
  52. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ms.properties +12 -0
  53. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_nl.properties +12 -0
  54. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_no.properties +12 -0
  55. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pl.properties +12 -0
  56. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pt.properties +12 -0
  57. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pt_PT.properties +12 -0
  58. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ro.properties +12 -0
  59. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ru.properties +12 -0
  60. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sh.properties +12 -0
  61. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sk.properties +12 -0
  62. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sl.properties +12 -0
  63. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sr.properties +12 -0
  64. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sv.properties +12 -0
  65. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_th.properties +13 -1
  66. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_tr.properties +12 -0
  67. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_uk.properties +12 -0
  68. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_vi.properties +13 -1
  69. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_zh_CN.properties +12 -0
  70. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_zh_TW.properties +12 -0
  71. package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
  72. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/DefaultVariant.fragment.xml +18 -3
  73. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/FullscreenPage.fragment.xml +6 -1
  74. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartTable.fragment.xml +1 -3
  75. package/src/sap/suite/ui/generic/template/ObjectPage/controller/ControllerImplementation.js +26 -19
  76. package/src/sap/suite/ui/generic/template/ObjectPage/controller/MessageStripHelper.js +3 -4
  77. package/src/sap/suite/ui/generic/template/ObjectPage/controller/PasteHandler.js +12 -15
  78. package/src/sap/suite/ui/generic/template/ObjectPage/controller/inlineCreationRows/InlineCreationRowsHelper.js +5 -6
  79. package/src/sap/suite/ui/generic/template/ObjectPage/controllerFrameworkExtensions.js +12 -1
  80. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_de.properties +4 -1
  81. package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +1 -1
  82. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/Actions.fragment.xml +1 -1
  83. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/CRUDActionButtons.fragment.xml +2 -2
  84. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/HeaderContainer.fragment.xml +1 -1
  85. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartTable.fragment.xml +2 -5
  86. package/src/sap/suite/ui/generic/template/QuickCreate/manifest.json +1 -1
  87. package/src/sap/suite/ui/generic/template/QuickView/manifest.json +1 -1
  88. package/src/sap/suite/ui/generic/template/designtime/utils/DesigntimeHandler.js +4 -2
  89. package/src/sap/suite/ui/generic/template/designtime/utils/designtimeHelper.js +27 -10
  90. package/src/sap/suite/ui/generic/template/fragments/ContactDetails.fragment.xml +0 -2
  91. package/src/sap/suite/ui/generic/template/fragments/ContactDetailsQuickViewGroupReplica.fragment.xml +0 -1
  92. package/src/sap/suite/ui/generic/template/fragments/EasyFilter.fragment.xml +24 -0
  93. package/src/sap/suite/ui/generic/template/fragments/GridTableCells.fragment.xml +2 -2
  94. package/src/sap/suite/ui/generic/template/fragments/HeaderDataPointContent.fragment.xml +1 -1
  95. package/src/sap/suite/ui/generic/template/fragments/HeaderFormDataField.fragment.xml +2 -2
  96. package/src/sap/suite/ui/generic/template/fragments/MessageDialog.fragment.xml +1 -1
  97. package/src/sap/suite/ui/generic/template/fragments/MessageInfluencingCRUDAction.fragment.xml +1 -1
  98. package/src/sap/suite/ui/generic/template/fragments/QuickViewSmartForm.fragment.xml +0 -1
  99. package/src/sap/suite/ui/generic/template/fragments/SmartFormDataField.fragment.xml +3 -3
  100. package/src/sap/suite/ui/generic/template/fragments/TableCell.fragment.xml +2 -2
  101. package/src/sap/suite/ui/generic/template/fragments/TreeTableColumns.fragment.xml +1 -1
  102. package/src/sap/suite/ui/generic/template/genericUtilities/AjaxHelper.js +57 -47
  103. package/src/sap/suite/ui/generic/template/genericUtilities/ControlStateWrapperFactory.js +1 -1
  104. package/src/sap/suite/ui/generic/template/genericUtilities/FeLogger.js +0 -1
  105. package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartFilterBarWrapper.js +12 -11
  106. package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartTableChartCommon.js +26 -20
  107. package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartVariantManagementWrapper.js +3 -3
  108. package/src/sap/suite/ui/generic/template/genericUtilities/filterHelper.js +6 -6
  109. package/src/sap/suite/ui/generic/template/js/AnnotationHelper.js +59 -51
  110. package/src/sap/suite/ui/generic/template/js/RuntimeFormatters.js +3 -3
  111. package/src/sap/suite/ui/generic/template/js/formatters/formatDisplayValueForProgressIndicator.js +3 -3
  112. package/src/sap/suite/ui/generic/template/lib/AdaptiveCardHelper.js +39 -33
  113. package/src/sap/suite/ui/generic/template/lib/AppComponent.js +79 -53
  114. package/src/sap/suite/ui/generic/template/lib/Application.js +1 -4
  115. package/src/sap/suite/ui/generic/template/lib/CRUDHelper.js +21 -21
  116. package/src/sap/suite/ui/generic/template/lib/CRUDManager.js +34 -19
  117. package/src/sap/suite/ui/generic/template/lib/CommonEventHandlers.js +63 -11
  118. package/src/sap/suite/ui/generic/template/lib/ContactCardDetailHelper.js +1 -1
  119. package/src/sap/suite/ui/generic/template/lib/ContextMenuHandler.js +11 -12
  120. package/src/sap/suite/ui/generic/template/lib/CreateWithDialogHandler.js +2 -2
  121. package/src/sap/suite/ui/generic/template/lib/PageLeaveHandler.js +6 -6
  122. package/src/sap/suite/ui/generic/template/lib/SideEffectUtil.js +5 -7
  123. package/src/sap/suite/ui/generic/template/lib/TemplateAssembler.js +1 -0
  124. package/src/sap/suite/ui/generic/template/lib/ai/EasyFilterBarHandler.js +323 -0
  125. package/src/sap/suite/ui/generic/template/lib/ai/FioriAIHandler.js +77 -0
  126. package/src/sap/suite/ui/generic/template/lib/ai/JouleContextProvider.js +56 -0
  127. package/src/sap/suite/ui/generic/template/lib/filterHelper.js +38 -1
  128. package/src/sap/suite/ui/generic/template/lib/i18n/i18n.properties +16 -3
  129. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ar.properties +8 -0
  130. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_bg.properties +8 -0
  131. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ca.properties +8 -0
  132. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cnr.properties +8 -0
  133. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cs.properties +8 -0
  134. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cy.properties +8 -0
  135. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_da.properties +13 -5
  136. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_de.properties +10 -2
  137. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_el.properties +8 -0
  138. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en.properties +8 -0
  139. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_GB.properties +8 -0
  140. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_saprigi.properties +8 -0
  141. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es.properties +8 -0
  142. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es_MX.properties +8 -0
  143. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_et.properties +8 -0
  144. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fi.properties +8 -0
  145. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr.properties +8 -0
  146. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr_CA.properties +8 -0
  147. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hi.properties +8 -0
  148. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hr.properties +8 -0
  149. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hu.properties +8 -0
  150. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_id.properties +8 -0
  151. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_it.properties +8 -0
  152. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_iw.properties +8 -0
  153. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ja.properties +8 -0
  154. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_kk.properties +8 -0
  155. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ko.properties +8 -0
  156. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lt.properties +8 -0
  157. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lv.properties +8 -0
  158. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_mk.properties +8 -0
  159. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ms.properties +8 -0
  160. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_nl.properties +8 -0
  161. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_no.properties +8 -0
  162. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pl.properties +8 -0
  163. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt.properties +8 -0
  164. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt_PT.properties +8 -0
  165. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ro.properties +8 -0
  166. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ru.properties +8 -0
  167. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sh.properties +8 -0
  168. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sk.properties +8 -0
  169. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sl.properties +13 -5
  170. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sr.properties +8 -0
  171. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sv.properties +8 -0
  172. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_th.properties +8 -0
  173. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_tr.properties +8 -0
  174. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_uk.properties +9 -1
  175. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_vi.properties +8 -0
  176. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_CN.properties +8 -0
  177. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_TW.properties +8 -0
  178. package/src/sap/suite/ui/generic/template/lib/info/SmartTableInfo.js +26 -2
  179. package/src/sap/suite/ui/generic/template/lib/insights/InsightsCardHelper.js +10 -29
  180. package/src/sap/suite/ui/generic/template/lib/insights/InsightsHandler.js +3 -3
  181. package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +1 -1
  182. package/src/sap/suite/ui/generic/template/lib/presentationControl/SmartTableHandler.js +2 -1
  183. package/src/sap/suite/ui/generic/template/library.js +1 -1
  184. package/src/sap/suite/ui/generic/template/listTemplates/filterSettingsPreparationHelper.js +1 -1
  185. package/src/sap/suite/ui/generic/template/listTemplates/fragments/DetailSmartTable.fragment.xml +1 -1
  186. package/src/sap/suite/ui/generic/template/listTemplates/semanticDateRangeTypeHelper.js +1 -1
  187. package/src/sap/suite/ui/generic/template/themes/base/base.less +4 -0
  188. package/src/sap/suite/ui/generic/template/themes/sap_hcb/ALPConstants.less +47 -0
  189. package/src/sap/suite/ui/generic/template/themes/sap_hcb/base.less +7 -0
  190. package/src/sap/suite/ui/generic/template/themes/sap_hcb/base_AnalyticalListPage.less +475 -0
  191. package/src/sap/suite/ui/generic/template/themes/sap_hcb/base_ListReport.less +33 -0
  192. package/src/sap/suite/ui/generic/template/themes/sap_hcb/base_ObjectPage.less +391 -0
  193. package/src/sap/suite/ui/generic/template/themes/sap_hcb/base_QuickCreate.less +96 -0
  194. package/src/sap/suite/ui/generic/template/themes/sap_hcb/base_QuickView.less +108 -0
  195. package/src/sap/suite/ui/generic/template/themes/sap_hcb/library.source.less +24 -7
  196. package/ui5.yaml +1 -1
@@ -32,7 +32,6 @@ sap.ui.define([
32
32
  "sap/suite/ui/generic/template/ObjectPage/controller/CtxMenuHandler",
33
33
  "sap/suite/ui/generic/template/ObjectPage/controller/inlineCreationRows/InlineCreationRowsHelper",
34
34
  "sap/suite/ui/generic/template/ObjectPage/controller/RelatedAppsHandler",
35
- "sap/ui/core/Lib",
36
35
  "sap/suite/ui/generic/template/ObjectPage/controller/PasteHandler",
37
36
  "sap/suite/ui/generic/template/lib/insights/InsightsHandler",
38
37
  "sap/suite/ui/generic/template/lib/cards/DTCardHelper"
@@ -42,7 +41,7 @@ sap.ui.define([
42
41
  ResponsiveTable, ShareUtils, FeLogger, MultipleViewsHandler, MessageUtils, KeyCodes, merge, FilterProcessor,
43
42
  StableIdHelper, extend, isEmptyObject, FeError,
44
43
  CreateWithDialogHandler, Device, whitespaceReplacer, deepExtend, CtxMenuHandler,
45
- InlineCreationRowsHelper, RelatedAppsHandler, Lib, PasteHandler, InsightsHandler, DTCardHelper
44
+ InlineCreationRowsHelper, RelatedAppsHandler, PasteHandler, InsightsHandler, DTCardHelper
46
45
  ) {
47
46
  "use strict";
48
47
  var sClassName = "ObjectPage.controller.ControllerImplementation";
@@ -394,16 +393,23 @@ sap.ui.define([
394
393
  var oBindingParams = oEvent.getParameter("bindingParams");
395
394
  if (oBindingParams.filters && oBindingParams.filters.length) {
396
395
  /*
397
- * Add a new filter condition to always show all items that are just created. In case we are in a draft,
398
- * that just means to add "or HasActiveEntity = false". For active documents however, that condition
399
- * would always be true. Thus, we have to add
400
- * "or (HasActiveEntity = false and IsActiveEntity = false)".
401
- * However, this condition is not evaluated correctly by gateway, so we have to transform it to
402
- * (IsActiveEntity = true and x) or (Is ActiveEntity = false and (x or HasActiveEntity = false)),
403
- * where x is the condition provided by the user
396
+ *Handling of the filter condition during edit or display:
397
+ * Add a new filter condition to always show all items that are just created. In case we are in a draft,
398
+ * that just means to add "or HasActiveEntity = false". For active documents however, that condition
399
+ * would always be true. Thus, we have to add
400
+ * "or (HasActiveEntity = false and IsActiveEntity = false)".
401
+ * However, this condition is not evaluated correctly by gateway, so we have to transform it to
402
+ * (IsActiveEntity = true and x) or (Is ActiveEntity = false and (x or HasActiveEntity = false)),
403
+ * where x is the condition provided by the user
404
+
405
+ * Handling of the filter condition during create:
406
+ * checking the value of dispaly Mode , iDisplayMode = 4 for create
407
+ * if it is a create the filter condition evaluates to the user filter x
404
408
  */
405
409
  var oUserFilter = FilterProcessor.groupFilters(oBindingParams.filters);
406
- if (!oEvent.getParameter("messageFilterActive")) {
410
+ var oTemplatePrivateModel = oTemplateUtils.oComponentUtils.getTemplatePrivateModel();
411
+ var iDisplayMode = oTemplatePrivateModel.getProperty("/objectPage/displayMode");
412
+ if (!oEvent.getParameter("messageFilterActive") && !(iDisplayMode === 4) ){
407
413
  oBindingParams.filters = new Filter({
408
414
  filters: [
409
415
  new Filter({
@@ -567,6 +573,11 @@ sap.ui.define([
567
573
  });
568
574
  } else {
569
575
  var getDtCardManifestPromise = new Promise(function (fnResolve) {
576
+ // DT Cards are not supported in sub object pages
577
+ if (oTemplateUtils.oComponentUtils.getViewLevel() !== 1) {
578
+ fnResolve(null);
579
+ return;
580
+ }
570
581
  oState.oDTCardHelper.getCardManifest(DTCardHelper.CardTypes.ADAPTIVE).then(function (oCardManifest) {
571
582
  fnResolve(oCardManifest);
572
583
  }).catch(function () {
@@ -1483,8 +1494,8 @@ sap.ui.define([
1483
1494
  function addEntryImpl(oPredefinedValues, oButton) {
1484
1495
  var oGetDefaultValuesPromise = oTemplateUtils.oServices.oCRUDManager.getDefaultValues(oButton, oPredefinedValues);
1485
1496
  if (oGetDefaultValuesPromise instanceof Promise) {
1486
- var fnGetPredefinedValues = function (aResponse) {
1487
- callAddEntryImpl(aResponse[0], oButton);
1497
+ var fnGetPredefinedValues = function (mDefaultValues) {
1498
+ callAddEntryImpl(mDefaultValues, oButton);
1488
1499
  };
1489
1500
  oGetDefaultValuesPromise.then(fnGetPredefinedValues, fnGetPredefinedValues);
1490
1501
  } else {
@@ -2398,12 +2409,7 @@ sap.ui.define([
2398
2409
  },
2399
2410
 
2400
2411
  onSummarize: function () {
2401
- var sUrl = oTemplateUtils.oServices.oApplication.getSummarizationLibraryUrl();
2402
- Lib.load({name: "ux.eng.fioriai.reuse", url: sUrl}).then(function() {
2403
- sap.ui.require(["ux/eng/fioriai/reuse/library"], function(fioriaiLib) {
2404
- fioriaiLib.summarize({view: oController.getView()});
2405
- });
2406
- });
2412
+ oTemplateUtils.oServices.oFioriAIHandler.fioriaiLib.summarize({view: oController.getView()});
2407
2413
  },
2408
2414
 
2409
2415
  onEdit: function (oEvent) {
@@ -2515,7 +2521,8 @@ sap.ui.define([
2515
2521
  isPopinWithoutHeader: true,
2516
2522
  isDataFieldForActionRequired: true,
2517
2523
  isFieldControlsPathRequired: true,
2518
- isMandatoryFiltersRequired: true
2524
+ isMandatoryFiltersRequired: true,
2525
+ numberOfExpandedLevels: 0
2519
2526
  });
2520
2527
  oController.onBeforeRebindTableExtension(oEvent);
2521
2528
  var fnRefresh = oBindingParams.events.refresh || Function.prototype;
@@ -50,7 +50,6 @@ sap.ui.define([
50
50
  * @param {string} oMessage.message - The message text
51
51
  * @param {module:sap/ui/core/message/MessageType} oMessage.type - The message severity
52
52
  * @param {string} sSmartTableId
53
- * @returns
54
53
  */
55
54
  function setTechnicalMessage(oMessage, sSmartTableId) {
56
55
  var oMeta = getMeta(sSmartTableId);
@@ -61,19 +60,19 @@ sap.ui.define([
61
60
  var bIsOldMessageTechnical = oOldTechnicalMessage && (oOldTechnicalMessage.message === oCurrentCustomMessage.message);
62
61
  var iNewMessageSeverity = MessageUtils.getSeverityAsNumber(oMessage);
63
62
  var iOldMessageSeverity = MessageUtils.getSeverityAsNumber(oCurrentCustomMessage);
64
-
63
+
65
64
  var bSkipProcess = bIsOldMessageTechnical ?
66
65
  (iNewMessageSeverity < iOldMessageSeverity) :
67
66
  (iNewMessageSeverity <= iOldMessageSeverity);
68
67
 
69
68
  if (bSkipProcess) {
70
69
  return;
71
- }
70
+ }
72
71
  }
73
72
  var sTabKey = "";// TODO: Need to refine this logic to support multi view table
74
73
  oMeta.implementingHelper.setCustomMessage(oMessage, sTabKey);
75
74
  }
76
-
75
+
77
76
  function setCustomMessage(oMessage, sSmartTableId, vTabKey, onClose) {
78
77
  if (!sSmartTableId) {
79
78
  var oTemplatePrivateModel = oController.getOwnerComponent().getModel("_templPriv");
@@ -118,8 +118,8 @@ sap.ui.define([
118
118
  * It trims out ignore field and selected area based on selection type
119
119
  * Set the Selection type to global variable.
120
120
  *
121
- * @param {String} sSmartTableId Smart table Id
122
- * @param {Object} oEvent beforePaste event
121
+ * @param {string} sSmartTableId Smart table Id
122
+ * @param {sap.ui.base.Event} oEvent beforePaste event
123
123
  */
124
124
  function fnHandleBeforePaste(sSmartTableId, oEvent) {
125
125
  if (!fnIsEditMode()) {
@@ -183,8 +183,8 @@ sap.ui.define([
183
183
  * fn checks whether a cell is editable or not based field control
184
184
  * field control value (Hide - 0, Read Only - 1, Optional - 3, Mandatory - 7)
185
185
  * @param {*} oRowData - RowData contains binding context of row.
186
- * @param {*} sPath - Property path of the columns.
187
- * @returns
186
+ * @param {string} sPath - Property path of the columns.
187
+ * @returns {boolean}
188
188
  */
189
189
  function isCellEditable(oRowData, sPath) {
190
190
  var oData = oRowData.context.getObject();
@@ -219,8 +219,8 @@ sap.ui.define([
219
219
  *
220
220
  * @param {Object} oSelection Object having selected rows and columns.
221
221
  * @param {Object} oResult Contains parse and error list.
222
- * @param {String} sSmartTableId smarttable stable id
223
- * @returns {Object} Contains additionalRows, rowsToBeUpdated, selection, hasError
222
+ * @param {string} sSmartTableId smarttable stable id
223
+ * @returns {object} Contains additionalRows, rowsToBeUpdated, selection, hasError
224
224
  */
225
225
  function fnAnalysePaste(oSelection, oResult, sSmartTableId) {
226
226
  var aAddtionalRows = [],
@@ -231,15 +231,14 @@ sap.ui.define([
231
231
  fnHandleDataParseError(oResult.errors);
232
232
  } else {
233
233
  switch (selectionType) {
234
- case SELECTION_TYPE.NO_CELL: {
234
+ case SELECTION_TYPE.NO_CELL:
235
235
  aParseData.forEach(function(oParsedData) {
236
236
  aAddtionalRows.push({
237
237
  value: oParsedData
238
238
  });
239
239
  });
240
- }
241
240
  break;
242
- case SELECTION_TYPE.SINGLE_CELL: {
241
+ case SELECTION_TYPE.SINGLE_CELL:
243
242
  var aRowsContext = getRowBindingContext(sSmartTableId);
244
243
  var index = aRowsContext.findIndex(function(oRowContext) {
245
244
  return oRowContext.getPath() === oSelection.rows[0].getPath();
@@ -257,9 +256,8 @@ sap.ui.define([
257
256
  }
258
257
  index++;
259
258
  }
260
- }
261
259
  break;
262
- case SELECTION_TYPE.MULTI_CELL: {
260
+ case SELECTION_TYPE.MULTI_CELL:
263
261
  var bNewRowsPossible = false;
264
262
  for (var i = 0; i < aParseData.length; i++) {
265
263
  if (i < oSelection.rows.length && oSelection.rows[i]) {
@@ -278,7 +276,6 @@ sap.ui.define([
278
276
  });
279
277
  }
280
278
  }
281
- }
282
279
  break;
283
280
  default:
284
281
  break;
@@ -310,7 +307,7 @@ sap.ui.define([
310
307
 
311
308
  /**
312
309
  * Function removes potential read only data from oResult "parseData".
313
- * @param {String} sSmartTableId - Smart table ID.
310
+ * @param {string} sSmartTableId - Smart table ID.
314
311
  * @param {Object} oResult - result data of column and data mapping
315
312
  */
316
313
  function fnFilterPotentialaReadOnlyFieldsFromSource(sSmartTableId, oResult) {
@@ -363,8 +360,8 @@ sap.ui.define([
363
360
  * It will do pre-validation check whether pasting is feasible or not.
364
361
  * fnHandlePaste method analyse the parsed data and execute paste if table data parsing is successful.
365
362
  *
366
- * @param {String} sSmartTableId Smart table Id
367
- * @param {Object} oEvent paste event
363
+ * @param {string} sSmartTableId Smart table Id
364
+ * @param {sap.ui.base.Event} oEvent paste event
368
365
  */
369
366
  function fnHandlePaste(sSmartTableId, oEvent) {
370
367
  var oResult = oEvent.getParameter("result");
@@ -51,7 +51,7 @@ sap.ui.define([
51
51
  */
52
52
 
53
53
  function getMethods(oObjectPage, oTemplateUtils, fnGetSmartTableCreationMode, oController, oMessageStripHelper) {
54
- var BINDING_PATH_TRANSIENT_CONTEXT = "@$ui5.context.isTransient",
54
+ const BINDING_PATH_TRANSIENT_CONTEXT = "@$ui5.context.isTransient",
55
55
  BINDING_PATH_INACTIVE_CONTEXT = "@$ui5.context.isInactive",
56
56
  CREATION_MODE = {
57
57
  INLINE_CREATION_ROWS: "creationRows",
@@ -423,7 +423,7 @@ sap.ui.define([
423
423
  oItemsBinding.create(oDefaultValues, bAtEnd, { inactive: true, changeSetId: "Create" });
424
424
  }
425
425
 
426
- /***
426
+ /*
427
427
  * Fetches the default values for the table.
428
428
  *
429
429
  * @param {*} oSmartTable Smart table
@@ -433,9 +433,8 @@ sap.ui.define([
433
433
  var oGetDefaultValuesPromise = oTemplateUtils.oServices.oCRUDManager.getDefaultValues(oSmartTable, null, true);
434
434
 
435
435
  if (oGetDefaultValuesPromise instanceof Promise) {
436
- oGetDefaultValuesPromise.then(function (aResponse){
437
- var oDefaultValues = aResponse[0];
438
- fnResolve(oDefaultValues);
436
+ oGetDefaultValuesPromise.then(function (mDefaultValues){
437
+ fnResolve(mDefaultValues);
439
438
  }).catch(function(){
440
439
  fnResolve(null);
441
440
  });
@@ -445,7 +444,7 @@ sap.ui.define([
445
444
  });
446
445
  }
447
446
 
448
- /**
447
+ /*
449
448
  * If the smart table has the binding context, it immediately returns
450
449
  * Otherwise, it waits until the smart table receives a binding context and returns.
451
450
  * @param {*} oSmartTable
@@ -251,6 +251,17 @@ sap.ui.define([
251
251
  * @param {boolean} oExportParams.includeFilterSettings The value of "Include filter settings" checkbox
252
252
  * @protected
253
253
  */
254
- onBeforeExportTableExtension: function(oExportParams) {}
254
+ onBeforeExportTableExtension: function(oExportParams) {},
255
+
256
+ /**
257
+ * SAP Fiori elements offers a generic implementation for function getContext() called by Joule.
258
+ * Additionally, the app context contains a custom object that an application developer can leverage to provide additional information relevant to the capability.
259
+ *
260
+ * @param {object} oContext - context object generated by Fiori elements
261
+ * @returns enhanced context object with custom properties
262
+ */
263
+ getContext: function(oContext) {
264
+ return oContext;
265
+ }
255
266
  };
256
267
  });
@@ -55,7 +55,10 @@ MSG_SUBTITLE_ROW_HIDDEN_COLUMN=Zeile (ausgeblendet)\: {0}, Spalte\: {1}
55
55
 
56
56
  MSG_SUBTITLE_ROW_HIDDEN_COLUMN_HIDDEN=Zeile (ausgebl.)\: {0}, Spalte (ausgebl.)\: {1}
57
57
 
58
- CONTACT_INFO=Kontaktinformationen
58
+ CONTACT_INFO=Kontaktdaten
59
+
60
+
61
+ CONTACT_OPTION=Microsoft Teams
59
62
 
60
63
  CONTACT_JOB_TITLE=Stellenbezeichung
61
64
 
@@ -6,7 +6,7 @@
6
6
  "type": "component",
7
7
  "i18n": "i18n/i18n.properties",
8
8
  "applicationVersion": {
9
- "version": "1.126.0"
9
+ "version": "1.127.1"
10
10
  },
11
11
  "title": "{{TITLE}}",
12
12
  "description": "{{DESCRIPTION}}",
@@ -130,7 +130,7 @@
130
130
  ariaHasPopup="Dialog"
131
131
  fesr:press="fe:sum:summarize"
132
132
  type="Ghost"
133
- visible="{_templPrivGlobal>/generic/isSummarizationEnabled}" />
133
+ visible="{_templPrivGlobal>/generic/fioriAI/isSummarizationEnabled}" />
134
134
 
135
135
  <template:if test="{parameter>/settings/showRelatedApps}">
136
136
  <uxap:ObjectPageHeaderActionButton id="{:= ${parameter>/stableId}.getStableId({type: 'ObjectPageAction', subType: 'RelatedApps'}) }"
@@ -2,7 +2,7 @@
2
2
  xmlns:fesr="http://schemas.sap.com/sapui5/extension/sap.ui.core.FESR/1"
3
3
  xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
4
4
  template:require="{AH: 'sap/suite/ui/generic/template/js/AnnotationHelper'}">
5
-
5
+
6
6
  <!-- @classdesc @name: Name: sap.suite.ui.generic.template.ObjectPage.view.fragments.CRUDActionButtons.fragment.xml -->
7
7
  <template:if test="{parts: [ {path: 'listEntitySet>Org.OData.Capabilities.V1.InsertRestrictions'}, {path: 'listEntitySet>'}, {value: 'Insertable'}, {path: 'entitySet>name'}], formatter: 'AH.areBooleanRestrictionsValidAndPossible'}">
8
8
  <template:with path="objectPageTableSettings>value/commandExecution/Create" var="createAction">
@@ -12,7 +12,7 @@
12
12
  press="{createAction>press}"
13
13
  fesr:press="fe:createItem"
14
14
  enabled="{createAction>enabled}"
15
- visible="{parts: [{path: 'entitySet>'}, {path: 'listEntitySet>'}, {path: 'parameter>/settings/subPages/'}, {path: 'facet>'}, {path: 'parameter>/settings'}, {path: 'parameter>/isDraftEnabled'}, {path: 'createWithParameterDialog>'}, {path: 'objectPageTableSettings>value/type'}], formatter: 'AH.isRelatedEntityCreatable'}">
15
+ visible="{parts: [{path: 'entitySet>'}, {path: 'listEntitySet>'}, {path: 'parameter>/settings/subPages/'}, {path: 'facet>'}, {path: 'parameter>/settings'}, {path: 'parameter>/isDraftEnabled'}, {path: 'createWithParameterDialog>'}, {path: 'objectPageTableSettings>value/type'}, {path: 'appSettings>/'}], formatter: 'AH.isRelatedEntityCreatable'}">
16
16
  <template:if test="!${createAction>isStandardAction}">
17
17
  <layoutData>
18
18
  <OverflowToolbarLayoutData priority = "{createAction>importance}"/>
@@ -304,7 +304,7 @@
304
304
  <sfi:ControlProposal>
305
305
  <sfi:objectStatus>
306
306
  <sfi:ObjectStatus
307
- criticality="{path: 'dataPoint>Criticality', formatter: 'AHModel.simplePath'}"
307
+ criticality="{= ${dataPoint>Criticality/EnumMember} ? ${dataPoint>Criticality/EnumMember} : ${path: 'dataPoint>Criticality', formatter: 'AHModel.simplePath'} }"
308
308
  criticalityRepresentationType="WithoutIcon"/>
309
309
  </sfi:objectStatus>
310
310
  </sfi:ControlProposal>
@@ -21,7 +21,6 @@
21
21
  persistencyKey="{parts: [{path: 'smartControlId>id'}, {path: 'objectPageTableSettings>value/persistencyKeyState'}], formatter: 'AH.getPersistencyKey'}"
22
22
  tableBindingPath="{= ${path: 'target>AnnotationPath'}.slice(0, ${path: 'target>AnnotationPath'}.lastIndexOf('/')) }"
23
23
  fitContainer="false"
24
- useOnlyOneSolidToolbar="true"
25
24
  enableAutoBinding="false"
26
25
  showRowCount="true"
27
26
  fieldChange="._templateEventHandlers.onTableSmartFieldModelValueChanged"
@@ -31,7 +30,7 @@
31
30
  headerLevel="H5"
32
31
  headerStyle="H5"
33
32
  useVariantManagement="{objectPageTableSettings>value/variantManagement}"
34
- useExportToExcel = "{objectPageTableSettings>value/bExportToExcel}"
33
+ enableExport="{objectPageTableSettings>value/bExportToExcel}"
35
34
  useTablePersonalisation="true"
36
35
  entitySet="{path: 'listEntitySet>name'}"
37
36
  ignoreFromPersonalisation="{path: 'collection>', formatter: 'AH.suppressP13NDuplicateColumns'}"
@@ -124,7 +123,7 @@
124
123
  <template:if test="{= ${parameter>/isDraftEnabled} }">
125
124
  <template:then>
126
125
  <st:customData>
127
- <core:CustomData key="creationMode" value="{parts: [{path: 'facet>'}, {path: 'parameter>/settings'}], formatter: 'AH.getCreationMode'}" />
126
+ <core:CustomData key="creationMode" value="{parts: [{path: 'facet>'}, {path: 'parameter>/settings'}, {path: 'appSettings>/'}], formatter: 'AH.getCreationMode'}" />
128
127
  <core:CustomData key="disableInlineCreateSort" value="{parts: [{path: 'facet>'}, {path: 'parameter>/settings'}], formatter: 'AH.isInlineCreateSorting'}" />
129
128
  <core:CustomData key="isCreationAllowedByBoolAndPathRestrictions" value="{= ${parts: [{path: 'listEntitySet>Org.OData.Capabilities.V1.InsertRestrictions'}, {path: 'listEntitySet>'}, {value: 'Insertable'}, {path: 'entitySet>'}], formatter: 'AH.isCreationAllowedByBoolAndPathRestrictions'}}"/>
130
129
  <core:CustomData key="inlineCreationRowsConfig" value="{= ${parts: [{path: 'entitySet>'}, {path: 'listEntitySet>'}], formatter: 'AH.buildInlineCreationRowsConfig'} }"/>
@@ -155,9 +154,7 @@
155
154
  <!--Tree table implementation: Begins-->
156
155
  <template:elseif test="{= ${objectPageTableSettings>value/type} === 'TreeTable'}">
157
156
  <table:TreeTable id="{path: 'facet>', formatter: 'AH.getStableIdPartFromFacet'}::treeTable"
158
- rootLevel="0"
159
157
  visibleRowCountMode="Auto"
160
- expandFirstLevel="false"
161
158
  rowSelectionChange="._templateEventHandlers.onSelectionChange"
162
159
  beforeOpenContextMenu="._templateEventHandlers.beforeOpenContextMenu($event, '{smartControlId>id}')"
163
160
  rowActionCount="{= ({parts: [{path: 'listEntitySet>'}, {path: 'parameter>/settings/subPages/'}], formatter: 'AH.hasSubObjectPage'} ? 1 : 0 )}">
@@ -6,7 +6,7 @@
6
6
  "type": "component",
7
7
  "i18n": "i18n/i18n.properties",
8
8
  "applicationVersion": {
9
- "version": "1.126.0"
9
+ "version": "1.127.1"
10
10
  },
11
11
  "title": "{{TITLE}}",
12
12
  "description": "{{DESCRIPTION}}",
@@ -6,7 +6,7 @@
6
6
  "type": "component",
7
7
  "i18n": "i18n/i18n.properties",
8
8
  "applicationVersion": {
9
- "version": "1.126.0"
9
+ "version": "1.127.1"
10
10
  },
11
11
  "title": "{{TITLE}}",
12
12
  "description": "{{DESCRIPTION}}",
@@ -1,5 +1,6 @@
1
- sap.ui.define(["sap/ui/base/Object", "sap/base/util/extend"
2
- ], function(BaseObject, extend) {
1
+ sap.ui.define(["sap/ui/base/Object", "sap/base/util/extend",
2
+ "sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
3
+ ], function(BaseObject, extend, designtimeHelper) {
3
4
  "use strict";
4
5
 
5
6
  /*
@@ -30,6 +31,7 @@ sap.ui.define(["sap/ui/base/Object", "sap/base/util/extend"
30
31
  if (!bWithRestart){
31
32
  oTemplateContract.oApplicationProxy.setStates(false);
32
33
  }
34
+ designtimeHelper.stopMutationObserver();
33
35
  }
34
36
 
35
37
  return {
@@ -41,6 +41,7 @@ sap.ui.define(["sap/base/util/extend", "sap/base/util/deepExtend", "sap/base/uti
41
41
  var aViews = [];
42
42
  var oLogger = new FeLogger("designtime.utils.designTimeHelper").getLogger();
43
43
  var RTA_MODE_URL_PARAM_KEY = "fiori-tools-rta-mode";
44
+ var oMutationObserver;
44
45
  /**
45
46
  * get effective designtime for all controls on current active view
46
47
  * @return {Promise} promise resolving to a map, with key = control id, value = designtime
@@ -81,20 +82,35 @@ sap.ui.define(["sap/base/util/extend", "sap/base/util/deepExtend", "sap/base/uti
81
82
  oView.findAggregatedObjects(true).forEach(addToControlInfo);
82
83
 
83
84
  // if anything is added later (e.g. for dynamic multi edit dialog, fields are added in js code), we need to retrieve the corresponding designtime
84
- oTopNode.addEventListener('DOMNodeInserted', function(oEventInfo){
85
- // one control can add mutliple node hierarchy levels, so find the next (known) control above
86
- var oNode = findPreceedingKnownNode(oEventInfo.relatedNode);
87
- var oControl = oNode && sap.ui.getCore().byId(oNode.id);
88
- if (oControl) {
89
- oControl.findAggregatedObjects(true).forEach(addToControlInfo);
90
- }
91
- });
85
+ // Create a MutationObserver instance to observe mutations
86
+ var fnMutationCallback = function (mutationsList) {
87
+ mutationsList.forEach(function (mutation) {
88
+ if (mutation.type === 'childList' && mutation.addedNodes.length > 0) {
89
+ mutation.addedNodes.forEach(function (node) {
90
+ // Find the preceding known node and the corresponding control
91
+ var oNode = findPreceedingKnownNode(node);
92
+ var oControl = oNode && sap.ui.getCore().byId(oNode.id);
93
+ if (oControl) {
94
+ // For each control, find aggregated objects and add them to control info
95
+ oControl.findAggregatedObjects(true).forEach(addToControlInfo);
96
+ }
97
+ });
98
+ }
99
+ });
100
+ };
101
+ if (!oMutationObserver) {
102
+ oMutationObserver = oMutationObserver || new MutationObserver(fnMutationCallback);
103
+ var oMutationObserverConfig = { childList: true, subtree: true };
104
+ oMutationObserver.observe(oTopNode, oMutationObserverConfig);
105
+ }
92
106
  });
93
107
 
94
108
 
95
109
  return Promise.all(aPromises);
96
110
  }
97
-
111
+ function fnStopMutationObserver() {
112
+ oMutationObserver && oMutationObserver.disconnect();
113
+ }
98
114
  /**
99
115
  * Parses the URL parameters and returns the value of RTA mode URL parameter (fiori-tools-rta-mode)
100
116
  * @returns {Promise<boolean>} A promise which returns a value of RTA mode
@@ -389,6 +405,7 @@ sap.ui.define(["sap/base/util/extend", "sap/base/util/deepExtend", "sap/base/uti
389
405
  return {
390
406
  getMergedAllowList: deepMergeWithArray,
391
407
  getViewDesignTime: getViewDesignTime,
392
- getRtaModeValue : getRtaModeValue
408
+ getRtaModeValue: getRtaModeValue,
409
+ stopMutationObserver: fnStopMutationObserver
393
410
  };
394
411
  });
@@ -22,7 +22,6 @@
22
22
  badgeValueState="{contact>/contactStatus/badgeValueState}" badgeIcon="{contact>/contactStatus/badgeIcon}" badgeTooltip="{contact>/contactStatus/badgeTooltip}"
23
23
  macrodata:type="{contact>/teamsCollabOptions/0/key}"
24
24
  macrodata:email="{contact>/email}"
25
- press=".onTeamsCollabOptionPress"
26
25
  />
27
26
  <VBox class="sapUiTinyMarginBegin">
28
27
  <Title text="{contact>/fn}" level="H3" wrapping="true"/>
@@ -32,7 +31,6 @@
32
31
 
33
32
  <!-- render options for teams contact collaboration -->
34
33
  <VBox visible="{= ${contact>/teamsCollabOptions} !== undefined &amp;&amp; ${contact>/teamsCollabOptions}.length > 0 }" class="sapUiSmallMarginBottom">
35
- <Toolbar width="100%" height="1px"/>
36
34
  <Toolbar >
37
35
  <Title text="{i18n>CONTACT_OPTION}" level="H5" class="sapUiTinyMarginBegin"/>
38
36
  <ToolbarSpacer/>
@@ -10,7 +10,6 @@
10
10
  <!-- render options for teams contact collaboration -->
11
11
  <template:if test="{= !!${path: 'contact>email/[${type/EnumMember}.indexOf(\'ContactInformationType/work\')>=0]/address', formatter: 'AHModel.format'} &amp;&amp; ${parameter>/templateSpecific/teamsCollabOptions} !== undefined &amp;&amp; ${parameter>/templateSpecific/teamsCollabOptions}.length > 0 }">
12
12
  <VBox class="sapUiSmallMarginBegin sapUiTinyMarginTopBottom">
13
- <Toolbar width="100%" height="1px"/>
14
13
  <Toolbar>
15
14
  <Title text="{i18n>CONTACT_OPTION}" level="H5" class="sapUiTinyMarginBegin"/>
16
15
  <ToolbarSpacer/>
@@ -0,0 +1,24 @@
1
+ <core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core">
2
+ <VBox >
3
+ <MessageStrip
4
+ text="{i18n>ST_EASY_FILTER_PROMPT_INFO}"
5
+ showIcon="true"
6
+ showCloseButton="true"
7
+ class="sapUiSmallMarginBottom"/>
8
+ <FlexBox renderType="Bare">
9
+ <Input id="easyFilter"
10
+ width="100%" class="sapUiSmallMarginEnd"
11
+ placeholder="{i18n>ST_EASY_FILTER_INPUT_PLACEHOLDER}"
12
+ change="._templateEventHandlers.onEasyFilterChange"
13
+ showClearIcon="true"
14
+ maxLength="100"
15
+ submit="._templateEventHandlers.onEasyFilterEnterPress">
16
+ </Input>
17
+ <Button text="{i18n>ST_EASY_FILTER_GO_BUTTON_TEXT}"
18
+ type="Emphasized"
19
+ icon="sap-icon://ai"
20
+ press="._templateEventHandlers.onEasyFilterGoButtonPress">
21
+ </Button>
22
+ </FlexBox>
23
+ </VBox>
24
+ </core:FragmentDefinition>
@@ -32,7 +32,7 @@
32
32
  <smartField:controlProposal>
33
33
  <smartField:ControlProposal>
34
34
  <smartField:objectStatus>
35
- <smartField:ObjectStatus criticality="{path: 'dataField>Criticality', formatter: 'AHModel.simplePath'}"
35
+ <smartField:ObjectStatus criticality="{= ${dataField>Criticality/EnumMember} ? ${dataField>Criticality/EnumMember} : ${path: 'dataField>Criticality', formatter: 'AHModel.simplePath'} }"
36
36
  criticalityRepresentationType="{= (${dataField>CriticalityRepresentation/EnumMember} === 'com.sap.vocabularies.UI.v1.CriticalityRepresentationType/WithoutIcon') ? 'WithoutIcon' : 'WithIcon'}"
37
37
  ariaLabelledBy="{columnId>id}"/>
38
38
  </smartField:objectStatus>
@@ -49,7 +49,7 @@
49
49
  <!-- ObjectPage Self-Linking. Template for DataFieldWithNavigationPath-->
50
50
  <template:elseif test="{= (${dataField>RecordType} === 'com.sap.vocabularies.UI.v1.DataFieldWithNavigationPath')}">
51
51
  <smartField:SmartField value="{path: 'dataField>Value', formatter: 'AH.getDataFieldValueSimplePath'}"
52
- editable="{ui>/editable}" press="._templateEventHandlers.onDataFieldWithNavigationPath">
52
+ editable="{ui>/editable}" linkPress="._templateEventHandlers.onDataFieldWithNavigationPath">
53
53
  <smartField:customData>
54
54
  <core:CustomData key="Target" value="{dataField>Target/NavigationPropertyPath}" />
55
55
  </smartField:customData>
@@ -25,7 +25,7 @@
25
25
  <sfi:ControlProposal>
26
26
  <sfi:objectStatus>
27
27
  <sfi:ObjectStatus
28
- criticality="{path: 'dataPoint>Criticality', formatter: 'AHModel.simplePath'}"
28
+ criticality="{= ${dataPoint>Criticality/EnumMember} ? ${dataPoint>Criticality/EnumMember} : ${path: 'dataPoint>Criticality', formatter: 'AHModel.simplePath'} }"
29
29
  criticalityRepresentationType="WithoutIcon"/>
30
30
  </sfi:objectStatus>
31
31
  </sfi:ControlProposal>
@@ -68,7 +68,7 @@
68
68
  id="header::{path: 'headerFacet>', formatter: 'AH.getStableIdPartFromFacet'}::{path: 'dataField>', formatter: 'AH.getStableIdPartFromDataField'}::Field"
69
69
  value="{path: 'dataField>Value', formatter: 'AH.getDataFieldValueSimplePath'}"
70
70
  textLabel="{parts: [{path: 'dataField>'}, {path: 'entitySet>'}, {path: 'headerFacet>'}], formatter: 'AH.getLabelForDFwithIBN'}"
71
- editable="{ui>/editable}" press="._templateEventHandlers.onDataFieldWithNavigationPath">
71
+ editable="{ui>/editable}" linkPress="._templateEventHandlers.onDataFieldWithNavigationPath">
72
72
  <sfi:configuration>
73
73
  <sfi:Configuration
74
74
  displayBehaviour="{parts: [{path: 'dataField>'}, {value: ''}, {path: 'entitySet>'}], formatter: 'AH.getTextArrangementForSmartControl'}" />
@@ -113,7 +113,7 @@
113
113
  <sfi:ControlProposal>
114
114
  <sfi:objectStatus>
115
115
  <sfi:ObjectStatus
116
- criticality="{path: 'dataField>Criticality', formatter: 'AHModel.simplePath'}"
116
+ criticality="{= ${dataField>Criticality/EnumMember} ? ${dataField>Criticality/EnumMember} : ${path: 'dataField>Criticality', formatter: 'AHModel.simplePath'} }"
117
117
  criticalityRepresentationType="{= (${dataField>CriticalityRepresentation/EnumMember} === 'com.sap.vocabularies.UI.v1.CriticalityRepresentationType/WithoutIcon') ? 'WithoutIcon' : 'WithIcon'}"
118
118
  class="sapSmartTemplatesObjectPageHeaderFormObjectStatus"/>
119
119
  </sfi:objectStatus>
@@ -1,7 +1,7 @@
1
1
  <core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core">
2
2
  <Dialog class="sapUiNoContentPadding" state="{settings>/state}" type="Message" afterClose="afterClose"
3
3
  showHeader="true" horizontalScrolling="false" draggable="true"
4
- contentHeight="440px" contentWidth="440px" verticalScrolling="false">
4
+ contentHeight="440px" contentWidth="440px" verticalScrolling="false" resizable="true">
5
5
  <content>
6
6
  <MessageView items="{settings>/messages}" showDetailsPageHeader="false" itemSelect="onMessageSelect" groupItems="{settings>/grouping}">
7
7
  <MessageItem type="{settings>type}" title="{settings>message}" description="{settings>description}"
@@ -1,7 +1,7 @@
1
1
  <core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core">
2
2
  <Dialog class="sapUiNoContentPadding" id="ShowConfirmationOnDraftActivate" state="{model>/state}" afterClose="afterClose" type="Message" initialFocus="Close"
3
3
  showHeader="true" horizontalScrolling="false" draggable="true"
4
- contentHeight="440px" contentWidth="440px" verticalScrolling="false">
4
+ contentHeight="440px" contentWidth="440px" verticalScrolling="false" resizable="true">
5
5
  <content>
6
6
  <MessageView id="messageView" items="{msg>/}" showDetailsPageHeader="false" itemSelect="onMessageSelect" activeTitlePress="titlePressed" groupItems="true">
7
7
  <MessageItem id="messageItem" type="{msg>type}" title="{msg>message}" description="{msg>description}"
@@ -85,7 +85,6 @@
85
85
  <template:with path="dataField>Value" helper="AHModel.resolvePath" var="dataFieldValue">
86
86
  <template:if test="{= ${path: 'isFirstEmail>', formatter: 'AH.fnCheckFirstEmail'} &amp;&amp; ${dataFieldValue>com.sap.vocabularies.Communication.v1.IsEmailAddress}.Bool === 'true' &amp;&amp; ${parameter>/templateSpecific/teamsCollabOptions} !== undefined &amp;&amp; ${parameter>/templateSpecific/teamsCollabOptions}.length > 0}">
87
87
  <VBox visible="{path: 'dataField>Value', formatter: 'AHModel.format'}" class="sapUiTinyMarginTop">
88
- <Toolbar width="100%" height="1px"/>
89
88
  <Toolbar>
90
89
  <Title text="{i18n>CONTACT_OPTION}" level="H5" class="sapUiTinyMarginBegin"/>
91
90
  <ToolbarSpacer/>