@sapui5/sap.fe.templates 1.101.0 → 1.103.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 (136) hide show
  1. package/package.json +1 -1
  2. package/src/sap/fe/templates/.library +1 -1
  3. package/src/sap/fe/templates/AnalyticalListPage/chart/FEChartDelegate.js +2 -2
  4. package/src/sap/fe/templates/AnalyticalListPage/chart/FEChartDelegate.ts +1 -1
  5. package/src/sap/fe/templates/Feedback.js +18 -18
  6. package/src/sap/fe/templates/Feedback.ts +12 -12
  7. package/src/sap/fe/templates/ListReport/ExtensionAPI.js +15 -15
  8. package/src/sap/fe/templates/ListReport/ExtensionAPI.ts +19 -16
  9. package/src/sap/fe/templates/ListReport/ListReport.view.xml +107 -58
  10. package/src/sap/fe/templates/ListReport/ListReportController.controller.js +180 -70
  11. package/src/sap/fe/templates/ListReport/ListReportController.controller.ts +191 -88
  12. package/src/sap/fe/templates/ListReport/ListReportTemplating.js +45 -0
  13. package/src/sap/fe/templates/ListReport/ListReportTemplating.ts +30 -0
  14. package/src/sap/fe/templates/ListReport/overrides/IntentBasedNavigation.js +1 -1
  15. package/src/sap/fe/templates/ListReport/overrides/IntentBasedNavigation.ts +2 -2
  16. package/src/sap/fe/templates/ListReport/overrides/Share.js +9 -7
  17. package/src/sap/fe/templates/ListReport/overrides/Share.ts +10 -10
  18. package/src/sap/fe/templates/ListReport/overrides/ViewState.js +13 -6
  19. package/src/sap/fe/templates/ListReport/overrides/ViewState.ts +17 -11
  20. package/src/sap/fe/templates/ListReport/view/fragments/MultipleMode.fragment.js +1 -1
  21. package/src/sap/fe/templates/ListReport/view/fragments/MultipleMode.fragment.ts +1 -1
  22. package/src/sap/fe/templates/ObjectPage/ExtensionAPI.js +12 -16
  23. package/src/sap/fe/templates/ObjectPage/ExtensionAPI.ts +17 -20
  24. package/src/sap/fe/templates/ObjectPage/ObjectPage.view.xml +167 -20
  25. package/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.js +195 -206
  26. package/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.ts +187 -229
  27. package/src/sap/fe/templates/ObjectPage/ObjectPageTemplating.js +861 -0
  28. package/src/sap/fe/templates/ObjectPage/ObjectPageTemplating.ts +822 -0
  29. package/src/sap/fe/templates/ObjectPage/controls/SubSectionBlock.js +2 -3
  30. package/src/sap/fe/templates/ObjectPage/controls/SubSectionBlock.ts +4 -4
  31. package/src/sap/fe/templates/ObjectPage/designtime/StashableHBox.designtime.js +1 -1
  32. package/src/sap/fe/templates/ObjectPage/designtime/StashableHBox.designtime.ts +1 -1
  33. package/src/sap/fe/templates/ObjectPage/designtime/StashableVBox.designtime.js +1 -1
  34. package/src/sap/fe/templates/ObjectPage/designtime/StashableVBox.designtime.ts +1 -1
  35. package/src/sap/fe/templates/ObjectPage/handler/DraftHandler.js +103 -0
  36. package/src/sap/fe/templates/ObjectPage/handler/DraftHandler.ts +97 -0
  37. package/src/sap/fe/templates/ObjectPage/overrides/IntentBasedNavigation.js +1 -1
  38. package/src/sap/fe/templates/ObjectPage/overrides/IntentBasedNavigation.ts +5 -5
  39. package/src/sap/fe/templates/ObjectPage/overrides/InternalRouting.js +1 -1
  40. package/src/sap/fe/templates/ObjectPage/overrides/InternalRouting.ts +2 -2
  41. package/src/sap/fe/templates/ObjectPage/overrides/MessageHandler.js +1 -1
  42. package/src/sap/fe/templates/ObjectPage/overrides/MessageHandler.ts +2 -2
  43. package/src/sap/fe/templates/ObjectPage/overrides/Paginator.js +1 -1
  44. package/src/sap/fe/templates/ObjectPage/overrides/Paginator.ts +1 -1
  45. package/src/sap/fe/templates/ObjectPage/overrides/Share.js +17 -17
  46. package/src/sap/fe/templates/ObjectPage/overrides/Share.ts +19 -30
  47. package/src/sap/fe/templates/ObjectPage/overrides/ViewState.js +2 -2
  48. package/src/sap/fe/templates/ObjectPage/overrides/ViewState.ts +4 -4
  49. package/src/sap/fe/templates/ObjectPage/view/fragments/Actions.fragment.xml +15 -11
  50. package/src/sap/fe/templates/ObjectPage/view/fragments/CollaborationDraft.fragment.xml +1 -2
  51. package/src/sap/fe/templates/ObjectPage/view/fragments/EditableHeaderFacet.fragment.xml +25 -17
  52. package/src/sap/fe/templates/ObjectPage/view/fragments/FooterContent.fragment.xml +28 -24
  53. package/src/sap/fe/templates/ObjectPage/view/fragments/FormActionButtons.fragment.xml +15 -16
  54. package/src/sap/fe/templates/ObjectPage/view/fragments/FormActions.fragment.xml +1 -5
  55. package/src/sap/fe/templates/ObjectPage/view/fragments/HeaderDataPoint.fragment.xml +1 -2
  56. package/src/sap/fe/templates/ObjectPage/view/fragments/HeaderDataPointTitle.fragment.xml +1 -3
  57. package/src/sap/fe/templates/ObjectPage/view/fragments/HeaderFacet.fragment.xml +3 -17
  58. package/src/sap/fe/templates/ObjectPage/view/fragments/Heading.fragment.xml +16 -17
  59. package/src/sap/fe/templates/ObjectPage/view/fragments/HeadingTitle.fragment.xml +4 -3
  60. package/src/sap/fe/templates/ObjectPage/view/fragments/ObjectPageHeaderAddress.fragment.xml +7 -2
  61. package/src/sap/fe/templates/ObjectPage/view/fragments/ObjectPageHeaderContact.fragment.xml +26 -0
  62. package/src/sap/fe/templates/ObjectPage/view/fragments/ObjectPageHeaderForm.fragment.xml +4 -4
  63. package/src/sap/fe/templates/ObjectPage/view/fragments/RelatedApps.fragment.xml +7 -4
  64. package/src/sap/fe/templates/ObjectPage/view/fragments/Section.fragment.xml +74 -6
  65. package/src/sap/fe/templates/ObjectPage/view/fragments/SectionContent.fragment.xml +118 -94
  66. package/src/sap/fe/templates/ObjectPage/view/fragments/SectionContentLazyLoader.fragment.xml +127 -107
  67. package/src/sap/fe/templates/ObjectPage/view/fragments/SectionFormContent.fragment.xml +1 -0
  68. package/src/sap/fe/templates/ObjectPage/view/fragments/SectionMoreFormContent.fragment.xml +1 -0
  69. package/src/sap/fe/templates/ObjectPage/view/fragments/SwitchDraftAndActiveObjectPopOver.fragment.xml +2 -2
  70. package/src/sap/fe/templates/RootContainer/controller/Fcl.controller.js +102 -57
  71. package/src/sap/fe/templates/RootContainer/controller/Fcl.controller.ts +96 -61
  72. package/src/sap/fe/templates/RootContainer/controller/NavContainer.controller.js +3 -4
  73. package/src/sap/fe/templates/RootContainer/controller/NavContainer.controller.ts +4 -5
  74. package/src/sap/fe/templates/RootContainer/controller/RootContainerBaseController.js +140 -52
  75. package/src/sap/fe/templates/RootContainer/controller/RootContainerBaseController.ts +108 -54
  76. package/src/sap/fe/templates/RootContainer/overrides/EditFlow.js +1 -1
  77. package/src/sap/fe/templates/RootContainer/overrides/EditFlow.ts +3 -3
  78. package/src/sap/fe/templates/TableScroller.js +3 -3
  79. package/src/sap/fe/templates/TableScroller.ts +2 -2
  80. package/src/sap/fe/templates/controls/MacroChart.fragment.xml +1 -0
  81. package/src/sap/fe/templates/controls/Table.fragment.xml +4 -4
  82. package/src/sap/fe/templates/library.js +5 -2
  83. package/src/sap/fe/templates/library.ts +3 -0
  84. package/src/sap/fe/templates/messagebundle.properties +6 -18
  85. package/src/sap/fe/templates/messagebundle_ar.properties +10 -6
  86. package/src/sap/fe/templates/messagebundle_bg.properties +6 -2
  87. package/src/sap/fe/templates/messagebundle_ca.properties +10 -6
  88. package/src/sap/fe/templates/messagebundle_cs.properties +6 -2
  89. package/src/sap/fe/templates/messagebundle_cy.properties +10 -6
  90. package/src/sap/fe/templates/messagebundle_da.properties +10 -6
  91. package/src/sap/fe/templates/messagebundle_de.properties +10 -6
  92. package/src/sap/fe/templates/messagebundle_el.properties +10 -6
  93. package/src/sap/fe/templates/messagebundle_en.properties +6 -2
  94. package/src/sap/fe/templates/messagebundle_en_GB.properties +8 -4
  95. package/src/sap/fe/templates/messagebundle_en_US_sappsd.properties +13 -5
  96. package/src/sap/fe/templates/messagebundle_en_US_saprigi.properties +7 -3
  97. package/src/sap/fe/templates/messagebundle_en_US_saptrc.properties +7 -3
  98. package/src/sap/fe/templates/messagebundle_es.properties +6 -2
  99. package/src/sap/fe/templates/messagebundle_es_MX.properties +10 -6
  100. package/src/sap/fe/templates/messagebundle_et.properties +6 -2
  101. package/src/sap/fe/templates/messagebundle_fi.properties +10 -6
  102. package/src/sap/fe/templates/messagebundle_fr.properties +6 -2
  103. package/src/sap/fe/templates/messagebundle_fr_CA.properties +10 -6
  104. package/src/sap/fe/templates/messagebundle_hi.properties +10 -6
  105. package/src/sap/fe/templates/messagebundle_hr.properties +10 -6
  106. package/src/sap/fe/templates/messagebundle_hu.properties +6 -2
  107. package/src/sap/fe/templates/messagebundle_id.properties +6 -2
  108. package/src/sap/fe/templates/messagebundle_it.properties +10 -6
  109. package/src/sap/fe/templates/messagebundle_iw.properties +10 -6
  110. package/src/sap/fe/templates/messagebundle_ja.properties +6 -2
  111. package/src/sap/fe/templates/messagebundle_kk.properties +10 -6
  112. package/src/sap/fe/templates/messagebundle_ko.properties +6 -2
  113. package/src/sap/fe/templates/messagebundle_lt.properties +6 -2
  114. package/src/sap/fe/templates/messagebundle_lv.properties +6 -2
  115. package/src/sap/fe/templates/messagebundle_ms.properties +10 -6
  116. package/src/sap/fe/templates/messagebundle_nl.properties +6 -2
  117. package/src/sap/fe/templates/messagebundle_no.properties +10 -6
  118. package/src/sap/fe/templates/messagebundle_pl.properties +10 -6
  119. package/src/sap/fe/templates/messagebundle_pt.properties +6 -2
  120. package/src/sap/fe/templates/messagebundle_pt_PT.properties +6 -2
  121. package/src/sap/fe/templates/messagebundle_ro.properties +10 -6
  122. package/src/sap/fe/templates/messagebundle_ru.properties +10 -6
  123. package/src/sap/fe/templates/messagebundle_sh.properties +6 -2
  124. package/src/sap/fe/templates/messagebundle_sk.properties +6 -2
  125. package/src/sap/fe/templates/messagebundle_sl.properties +10 -6
  126. package/src/sap/fe/templates/messagebundle_sv.properties +6 -2
  127. package/src/sap/fe/templates/messagebundle_th.properties +10 -6
  128. package/src/sap/fe/templates/messagebundle_tr.properties +6 -2
  129. package/src/sap/fe/templates/messagebundle_uk.properties +6 -2
  130. package/src/sap/fe/templates/messagebundle_vi.properties +10 -6
  131. package/src/sap/fe/templates/messagebundle_zh_CN.properties +10 -6
  132. package/src/sap/fe/templates/messagebundle_zh_TW.properties +10 -6
  133. package/src/sap/fe/templates/ObjectPage/AnnotationHelper.js +0 -482
  134. package/src/sap/fe/templates/ObjectPage/AnnotationHelper.ts +0 -511
  135. package/src/sap/fe/templates/ObjectPage/templating/ObjectPageTemplating.js +0 -120
  136. package/src/sap/fe/templates/ObjectPage/templating/ObjectPageTemplating.ts +0 -138
@@ -7,10 +7,11 @@
7
7
  xmlns:dt="sap.ui.dt"
8
8
  xmlns="sap.m"
9
9
  xmlns:opcontrol="sap.fe.templates.ObjectPage.controls"
10
+ xmlns:control="sap.fe.core.controls"
10
11
  template:require="{
11
12
  fpm: 'sap/fe/macros/fpm/fpm',
12
13
  MODEL: 'sap/ui/model/odata/v4/AnnotationHelper',
13
- OP: 'sap/fe/templates/ObjectPage/AnnotationHelper',
14
+ OP: 'sap/fe/templates/ObjectPage/ObjectPageTemplating',
14
15
  COMMON: 'sap/fe/macros/CommonHelper',
15
16
  ID: 'sap/fe/core/helpers/StableIdHelper'
16
17
  }"
@@ -25,11 +26,12 @@
25
26
  dt:designtime="not-adaptable-visibility"
26
27
  id="{headerSection>id}"
27
28
  title="{headerSection>title}"
29
+ titleLevel="H3"
28
30
  visible="{headerSection>visible}"
29
31
  titleUppercase="false"
30
32
  >
31
33
  <uxap:subSections>
32
- <uxap:ObjectPageSubSection id="fe::EditableHeaderSubSection">
34
+ <uxap:ObjectPageSubSection id="fe::EditableHeaderSubSection" title="{headerSection>title}" titleLevel="H4">
33
35
  <core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.EditableHeaderFacet" type="XML" />
34
36
  </uxap:ObjectPageSubSection>
35
37
  </uxap:subSections>
@@ -42,6 +44,7 @@
42
44
  dt:designtime="not-adaptable-visibility"
43
45
  id="{section>id}"
44
46
  title="{section>title}"
47
+ titleLevel="H3"
45
48
  showTitle="{section>showTitle}"
46
49
  titleUppercase="false"
47
50
  visible="{section>visible}"
@@ -52,9 +55,62 @@
52
55
  dt:designtime="not-adaptable-visibility"
53
56
  id="{subSection>id}"
54
57
  title="{subSection>title}"
58
+ titleLevel="H4"
55
59
  showTitle="{subSection>showTitle}"
56
60
  visible="{subSection>visible}"
57
61
  >
62
+ <uxap:dependents>
63
+ <template:repeat list="{subSection>actions}" var="action">
64
+ <template:if test="{= ${action>type} === 'Menu'}">
65
+ <template:then>
66
+ <template:repeat list="{action>menu}" var="menuItemAction">
67
+ <template:if test="{menuItemAction>command}">
68
+ <template:if test="{= ${menuItemAction>type} === 'Default'}">
69
+ <template:then>
70
+ <control:CommandExecution
71
+ core:require="{FPM: 'sap/fe/core/helpers/FPMHelper'}"
72
+ execute="{= COMMON.buildActionWrapper(${menuItemAction>})}"
73
+ visible="{menuItemAction>visible}"
74
+ enabled="{menuItemAction>enabled}"
75
+ command="{menuItemAction>command}"
76
+ />
77
+ </template:then>
78
+ <template:else>
79
+ <control:CommandExecution
80
+ execute="{menuItemAction>press}"
81
+ visible="{menuItemAction>visible}"
82
+ enabled="{menuItemAction>enabled}"
83
+ command="{menuItemAction>command}"
84
+ />
85
+ </template:else>
86
+ </template:if>
87
+ </template:if>
88
+ </template:repeat>
89
+ </template:then>
90
+ <template:elseif test="{action>command}">
91
+ <template:if test="{= ${action>type} === 'Default'}">
92
+ <template:then>
93
+ <control:CommandExecution
94
+ core:require="{FPM: 'sap/fe/core/helpers/FPMHelper'}"
95
+ execute="{= COMMON.buildActionWrapper(${action>})}"
96
+ visible="{action>visible}"
97
+ enabled="{action>enabled}"
98
+ command="{action>command}"
99
+ />
100
+ </template:then>
101
+ <template:else>
102
+ <control:CommandExecution
103
+ execute="{action>press}"
104
+ visible="{action>visible}"
105
+ enabled="{action>enabled}"
106
+ command="{action>command}"
107
+ />
108
+ </template:else>
109
+ </template:if>
110
+ </template:elseif>
111
+ </template:if>
112
+ </template:repeat>
113
+ </uxap:dependents>
58
114
  <!--uxap:customData>
59
115
  <core:CustomData key="strategyForVisibilityChange" value="lazyLoading" />
60
116
  </uxap:customData-->
@@ -66,12 +122,18 @@
66
122
  <template:if test="{viewData>/useNewLazyLoading}">
67
123
  <template:then>
68
124
  <template:repeat list="{subSection>content}" var="subSection">
69
- <core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionContentLazyLoader" type="XML" />
125
+ <core:Fragment
126
+ fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionContentLazyLoader"
127
+ type="XML"
128
+ />
70
129
  </template:repeat>
71
130
  </template:then>
72
131
  <template:else>
73
132
  <template:repeat list="{subSection>content}" var="subSection">
74
- <core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionContent" type="XML" />
133
+ <core:Fragment
134
+ fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionContent"
135
+ type="XML"
136
+ />
75
137
  </template:repeat>
76
138
  </template:else>
77
139
  </template:if>
@@ -79,10 +141,16 @@
79
141
  <template:else>
80
142
  <template:if test="{viewData>/useNewLazyLoading}">
81
143
  <template:then>
82
- <core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionContentLazyLoader" type="XML" />
144
+ <core:Fragment
145
+ fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionContentLazyLoader"
146
+ type="XML"
147
+ />
83
148
  </template:then>
84
149
  <template:else>
85
- <core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionContent" type="XML" />
150
+ <core:Fragment
151
+ fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionContent"
152
+ type="XML"
153
+ />
86
154
  </template:else>
87
155
  </template:if>
88
156
  </template:else>
@@ -11,22 +11,22 @@
11
11
  template:require="{
12
12
  fpm: 'sap/fe/macros/fpm/fpm',
13
13
  MODEL: 'sap/ui/model/odata/v4/AnnotationHelper',
14
- OP: 'sap/fe/templates/ObjectPage/AnnotationHelper',
14
+ OP: 'sap/fe/templates/ObjectPage/ObjectPageTemplating',
15
15
  COMMON: 'sap/fe/macros/CommonHelper',
16
16
  ID: 'sap/fe/core/helpers/StableIdHelper'
17
17
  }"
18
18
  >
19
- <!-- We want to ensure that statically non visible sections are non visible-->
20
- <template:if test="{subSection>visible}">
21
- <template:if test="{= ${subSection>type} === 'XMLFragment'}">
22
- <template:then>
23
- <core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.FormActions" type="XML" />
24
- <uxap:blocks>
25
- <opcontrol:SubSectionBlock>
26
- <opcontrol:content>
27
- <template:if test="{= ${subSection>sideContent} !== undefined}">
28
- <template:then>
29
- <layout:DynamicSideContent
19
+ <!-- We want to ensure that statically non visible sections are non visible-->
20
+ <template:if test="{subSection>visible}">
21
+ <template:if test="{= ${subSection>type} === 'XMLFragment'}">
22
+ <template:then>
23
+ <core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.FormActions" type="XML" />
24
+ <uxap:blocks>
25
+ <opcontrol:SubSectionBlock>
26
+ <opcontrol:content>
27
+ <template:if test="{= ${subSection>sideContent} !== undefined}">
28
+ <template:then>
29
+ <layout:DynamicSideContent
30
30
  id="{= ID.generate(['fe', ${subSection>key}, 'SideContentLayout'])}"
31
31
  showMainContent="true"
32
32
  showSideContent="{subSection>sideContent/visible}"
@@ -34,40 +34,39 @@
34
34
  containerQuery="true"
35
35
  equalSplit="{subSection>sideContent/equalSplit}"
36
36
  >
37
- <layout:mainContent>
38
- <core:Fragment
37
+ <layout:mainContent>
38
+ <core:Fragment
39
39
  fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionCustomSection"
40
40
  type="XML"
41
41
  />
42
- </layout:mainContent>
43
- <layout:sideContent>
44
- <core:Fragment
42
+ </layout:mainContent>
43
+ <layout:sideContent>
44
+ <core:Fragment
45
45
  fragmentName="sap.fe.templates.ObjectPage.view.fragments.SideContentCustomContainer"
46
46
  type="XML"
47
47
  />
48
- </layout:sideContent>
49
- </layout:DynamicSideContent>
50
- </template:then>
51
- <template:else>
52
- <core:Fragment
48
+ </layout:sideContent>
49
+ </layout:DynamicSideContent>
50
+ </template:then>
51
+ <template:else>
52
+ <core:Fragment
53
53
  fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionCustomSection"
54
54
  type="XML"
55
55
  />
56
- </template:else>
57
- </template:if>
58
- </opcontrol:content>
59
- </opcontrol:SubSectionBlock>
60
- </uxap:blocks>
61
-
62
- </template:then>
63
- <template:elseif test="{= ${subSection>type} === 'Form'}">
64
- <core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.FormActions" type="XML" />
65
- <uxap:blocks>
66
- <opcontrol:SubSectionBlock>
67
- <opcontrol:content>
56
+ </template:else>
57
+ </template:if>
58
+ </opcontrol:content>
59
+ </opcontrol:SubSectionBlock>
60
+ </uxap:blocks>
61
+ </template:then>
62
+ <template:elseif test="{= ${subSection>type} === 'Form'}">
63
+ <core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.FormActions" type="XML" />
64
+ <uxap:blocks>
65
+ <opcontrol:SubSectionBlock>
66
+ <opcontrol:content>
68
67
  <template:if test="{= ${subSection>sideContent} !== undefined}">
69
- <template:then>
70
- <layout:DynamicSideContent
68
+ <template:then>
69
+ <layout:DynamicSideContent
71
70
  id="{= ID.generate(['fe', ${subSection>key}, 'SideContentLayout'])}"
72
71
  showMainContent="true"
73
72
  showSideContent="{subSection>sideContent/visible}"
@@ -75,32 +74,40 @@
75
74
  containerQuery="true"
76
75
  equalSplit="{subSection>sideContent/equalSplit}"
77
76
  >
78
- <layout:mainContent>
79
- <core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionFormContent" type="XML" />
80
- </layout:mainContent>
81
- <layout:sideContent>
82
- <core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.SideContentCustomContainer" type="XML" />
83
- </layout:sideContent>
84
- </layout:DynamicSideContent>
85
-
86
- </template:then>
87
- <template:else>
88
- <core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionFormContent" type="XML" />
89
- </template:else>
77
+ <layout:mainContent>
78
+ <core:Fragment
79
+ fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionFormContent"
80
+ type="XML"
81
+ />
82
+ </layout:mainContent>
83
+ <layout:sideContent>
84
+ <core:Fragment
85
+ fragmentName="sap.fe.templates.ObjectPage.view.fragments.SideContentCustomContainer"
86
+ type="XML"
87
+ />
88
+ </layout:sideContent>
89
+ </layout:DynamicSideContent>
90
+ </template:then>
91
+ <template:else>
92
+ <core:Fragment
93
+ fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionFormContent"
94
+ type="XML"
95
+ />
96
+ </template:else>
90
97
  </template:if>
91
- </opcontrol:content>
92
- </opcontrol:SubSectionBlock>
93
- </uxap:blocks>
94
- <template:if test="{subSection>formDefinition/hasFacetsNotPartOfPreview}">
95
- <template:then>
96
- <!-- Button "Show More / Less" is displayed for a collection facets that contains at least one reference facets with annotation "PartOfPreview === TRUE" -->
97
- <uxap:moreBlocks>
98
- <template:if test="{= ${subSection>level} === 2}">
99
- <Title text="{subSection>title}" />
100
- </template:if>
101
- <opcontrol:SubSectionBlock>
102
- <opcontrol:content>
103
- <template:if test="{= ${subSection>sideContent} !== undefined}">
98
+ </opcontrol:content>
99
+ </opcontrol:SubSectionBlock>
100
+ </uxap:blocks>
101
+ <template:if test="{subSection>formDefinition/hasFacetsNotPartOfPreview}">
102
+ <template:then>
103
+ <!-- Button "Show More / Less" is displayed for a collection facets that contains at least one reference facets with annotation "PartOfPreview === TRUE" -->
104
+ <uxap:moreBlocks>
105
+ <template:if test="{= ${subSection>level} === 2}">
106
+ <Title level="{= ${section>subSections}.length > 1 ? 'H5' : 'H4'}" text="{subSection>title}" />
107
+ </template:if>
108
+ <opcontrol:SubSectionBlock>
109
+ <opcontrol:content>
110
+ <template:if test="{= ${subSection>sideContent} !== undefined}">
104
111
  <template:then>
105
112
  <layout:DynamicSideContent
106
113
  id="{= ID.generate(['fe', ${subSection>key}, 'MoreSideContentLayout'])}"
@@ -111,7 +118,10 @@
111
118
  equalSplit="{subSection>sideContent/equalSplit}"
112
119
  >
113
120
  <layout:mainContent>
114
- <core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionMoreFormContent" type="XML" />
121
+ <core:Fragment
122
+ fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionMoreFormContent"
123
+ type="XML"
124
+ />
115
125
  </layout:mainContent>
116
126
  <layout:sideContent>
117
127
  <!--No Side Content for MoreBlocks so far-->
@@ -119,23 +129,30 @@
119
129
  </layout:DynamicSideContent>
120
130
  </template:then>
121
131
  <template:else>
122
- <core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionMoreFormContent" type="XML" />
132
+ <core:Fragment
133
+ fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionMoreFormContent"
134
+ type="XML"
135
+ />
123
136
  </template:else>
124
- </template:if>
125
- </opcontrol:content>
126
- </opcontrol:SubSectionBlock>
127
- </uxap:moreBlocks>
128
- </template:then>
129
- </template:if>
130
- </template:elseif>
131
- <template:elseif test="{= ${subSection>type} === 'DataVisualization'}">
132
- <uxap:blocks>
133
- <template:if test="{= ${subSection>level} === 2}">
134
- <Title text="{subSection>title}" visible="{subSection>titleVisible}" />
135
- </template:if>
136
- <opcontrol:SubSectionBlock visible="{subSection>visible}">
137
- <opcontrol:content>
138
- <template:if test="{= ${subSection>sideContent} !== undefined}">
137
+ </template:if>
138
+ </opcontrol:content>
139
+ </opcontrol:SubSectionBlock>
140
+ </uxap:moreBlocks>
141
+ </template:then>
142
+ </template:if>
143
+ </template:elseif>
144
+ <template:elseif test="{= ${subSection>type} === 'DataVisualization'}">
145
+ <uxap:blocks>
146
+ <template:if test="{= ${subSection>level} === 2}">
147
+ <Title
148
+ level="{= ${section>subSections}.length > 1 ? 'H5' : 'H4'}"
149
+ text="{subSection>title}"
150
+ visible="{subSection>titleVisible}"
151
+ />
152
+ </template:if>
153
+ <opcontrol:SubSectionBlock visible="{subSection>visible}">
154
+ <opcontrol:content>
155
+ <template:if test="{= ${subSection>sideContent} !== undefined}">
139
156
  <template:then>
140
157
  <layout:DynamicSideContent
141
158
  id="{= ID.generate(['fe', ${subSection>key}, 'SideContentLayout'])}"
@@ -146,27 +163,34 @@
146
163
  equalSplit="{subSection>sideContent/equalSplit}"
147
164
  >
148
165
  <layout:mainContent>
149
- <core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionPresentationVisualization" type="XML" />
166
+ <core:Fragment
167
+ fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionPresentationVisualization"
168
+ type="XML"
169
+ />
150
170
  </layout:mainContent>
151
171
  <layout:sideContent>
152
- <core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.SideContentCustomContainer" type="XML" />
172
+ <core:Fragment
173
+ fragmentName="sap.fe.templates.ObjectPage.view.fragments.SideContentCustomContainer"
174
+ type="XML"
175
+ />
153
176
  </layout:sideContent>
154
177
  </layout:DynamicSideContent>
155
178
  </template:then>
156
179
  <template:else>
157
- <core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionPresentationVisualization" type="XML" />
180
+ <core:Fragment
181
+ fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionPresentationVisualization"
182
+ type="XML"
183
+ />
158
184
  </template:else>
159
- </template:if>
160
- </opcontrol:content>
161
- </opcontrol:SubSectionBlock>
162
- </uxap:blocks>
163
- </template:elseif>
164
- <template:elseif test="{= ${subSection>type} === 'Unknown'}">
165
- <Text text="{subSection>text}" />
166
- </template:elseif>
167
- <template:else>
168
-
169
- </template:else>
170
- </template:if>
171
- </template:if>
185
+ </template:if>
186
+ </opcontrol:content>
187
+ </opcontrol:SubSectionBlock>
188
+ </uxap:blocks>
189
+ </template:elseif>
190
+ <template:elseif test="{= ${subSection>type} === 'Unknown'}">
191
+ <Text text="{subSection>text}" />
192
+ </template:elseif>
193
+ <template:else />
194
+ </template:if>
195
+ </template:if>
172
196
  </core:FragmentDefinition>