@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.
- package/package.json +1 -1
- package/src/sap/fe/templates/.library +1 -1
- package/src/sap/fe/templates/AnalyticalListPage/chart/FEChartDelegate.js +2 -2
- package/src/sap/fe/templates/AnalyticalListPage/chart/FEChartDelegate.ts +1 -1
- package/src/sap/fe/templates/Feedback.js +18 -18
- package/src/sap/fe/templates/Feedback.ts +12 -12
- package/src/sap/fe/templates/ListReport/ExtensionAPI.js +15 -15
- package/src/sap/fe/templates/ListReport/ExtensionAPI.ts +19 -16
- package/src/sap/fe/templates/ListReport/ListReport.view.xml +107 -58
- package/src/sap/fe/templates/ListReport/ListReportController.controller.js +180 -70
- package/src/sap/fe/templates/ListReport/ListReportController.controller.ts +191 -88
- package/src/sap/fe/templates/ListReport/ListReportTemplating.js +45 -0
- package/src/sap/fe/templates/ListReport/ListReportTemplating.ts +30 -0
- package/src/sap/fe/templates/ListReport/overrides/IntentBasedNavigation.js +1 -1
- package/src/sap/fe/templates/ListReport/overrides/IntentBasedNavigation.ts +2 -2
- package/src/sap/fe/templates/ListReport/overrides/Share.js +9 -7
- package/src/sap/fe/templates/ListReport/overrides/Share.ts +10 -10
- package/src/sap/fe/templates/ListReport/overrides/ViewState.js +13 -6
- package/src/sap/fe/templates/ListReport/overrides/ViewState.ts +17 -11
- package/src/sap/fe/templates/ListReport/view/fragments/MultipleMode.fragment.js +1 -1
- package/src/sap/fe/templates/ListReport/view/fragments/MultipleMode.fragment.ts +1 -1
- package/src/sap/fe/templates/ObjectPage/ExtensionAPI.js +12 -16
- package/src/sap/fe/templates/ObjectPage/ExtensionAPI.ts +17 -20
- package/src/sap/fe/templates/ObjectPage/ObjectPage.view.xml +167 -20
- package/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.js +195 -206
- package/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.ts +187 -229
- package/src/sap/fe/templates/ObjectPage/ObjectPageTemplating.js +861 -0
- package/src/sap/fe/templates/ObjectPage/ObjectPageTemplating.ts +822 -0
- package/src/sap/fe/templates/ObjectPage/controls/SubSectionBlock.js +2 -3
- package/src/sap/fe/templates/ObjectPage/controls/SubSectionBlock.ts +4 -4
- package/src/sap/fe/templates/ObjectPage/designtime/StashableHBox.designtime.js +1 -1
- package/src/sap/fe/templates/ObjectPage/designtime/StashableHBox.designtime.ts +1 -1
- package/src/sap/fe/templates/ObjectPage/designtime/StashableVBox.designtime.js +1 -1
- package/src/sap/fe/templates/ObjectPage/designtime/StashableVBox.designtime.ts +1 -1
- package/src/sap/fe/templates/ObjectPage/handler/DraftHandler.js +103 -0
- package/src/sap/fe/templates/ObjectPage/handler/DraftHandler.ts +97 -0
- package/src/sap/fe/templates/ObjectPage/overrides/IntentBasedNavigation.js +1 -1
- package/src/sap/fe/templates/ObjectPage/overrides/IntentBasedNavigation.ts +5 -5
- package/src/sap/fe/templates/ObjectPage/overrides/InternalRouting.js +1 -1
- package/src/sap/fe/templates/ObjectPage/overrides/InternalRouting.ts +2 -2
- package/src/sap/fe/templates/ObjectPage/overrides/MessageHandler.js +1 -1
- package/src/sap/fe/templates/ObjectPage/overrides/MessageHandler.ts +2 -2
- package/src/sap/fe/templates/ObjectPage/overrides/Paginator.js +1 -1
- package/src/sap/fe/templates/ObjectPage/overrides/Paginator.ts +1 -1
- package/src/sap/fe/templates/ObjectPage/overrides/Share.js +17 -17
- package/src/sap/fe/templates/ObjectPage/overrides/Share.ts +19 -30
- package/src/sap/fe/templates/ObjectPage/overrides/ViewState.js +2 -2
- package/src/sap/fe/templates/ObjectPage/overrides/ViewState.ts +4 -4
- package/src/sap/fe/templates/ObjectPage/view/fragments/Actions.fragment.xml +15 -11
- package/src/sap/fe/templates/ObjectPage/view/fragments/CollaborationDraft.fragment.xml +1 -2
- package/src/sap/fe/templates/ObjectPage/view/fragments/EditableHeaderFacet.fragment.xml +25 -17
- package/src/sap/fe/templates/ObjectPage/view/fragments/FooterContent.fragment.xml +28 -24
- package/src/sap/fe/templates/ObjectPage/view/fragments/FormActionButtons.fragment.xml +15 -16
- package/src/sap/fe/templates/ObjectPage/view/fragments/FormActions.fragment.xml +1 -5
- package/src/sap/fe/templates/ObjectPage/view/fragments/HeaderDataPoint.fragment.xml +1 -2
- package/src/sap/fe/templates/ObjectPage/view/fragments/HeaderDataPointTitle.fragment.xml +1 -3
- package/src/sap/fe/templates/ObjectPage/view/fragments/HeaderFacet.fragment.xml +3 -17
- package/src/sap/fe/templates/ObjectPage/view/fragments/Heading.fragment.xml +16 -17
- package/src/sap/fe/templates/ObjectPage/view/fragments/HeadingTitle.fragment.xml +4 -3
- package/src/sap/fe/templates/ObjectPage/view/fragments/ObjectPageHeaderAddress.fragment.xml +7 -2
- package/src/sap/fe/templates/ObjectPage/view/fragments/ObjectPageHeaderContact.fragment.xml +26 -0
- package/src/sap/fe/templates/ObjectPage/view/fragments/ObjectPageHeaderForm.fragment.xml +4 -4
- package/src/sap/fe/templates/ObjectPage/view/fragments/RelatedApps.fragment.xml +7 -4
- package/src/sap/fe/templates/ObjectPage/view/fragments/Section.fragment.xml +74 -6
- package/src/sap/fe/templates/ObjectPage/view/fragments/SectionContent.fragment.xml +118 -94
- package/src/sap/fe/templates/ObjectPage/view/fragments/SectionContentLazyLoader.fragment.xml +127 -107
- package/src/sap/fe/templates/ObjectPage/view/fragments/SectionFormContent.fragment.xml +1 -0
- package/src/sap/fe/templates/ObjectPage/view/fragments/SectionMoreFormContent.fragment.xml +1 -0
- package/src/sap/fe/templates/ObjectPage/view/fragments/SwitchDraftAndActiveObjectPopOver.fragment.xml +2 -2
- package/src/sap/fe/templates/RootContainer/controller/Fcl.controller.js +102 -57
- package/src/sap/fe/templates/RootContainer/controller/Fcl.controller.ts +96 -61
- package/src/sap/fe/templates/RootContainer/controller/NavContainer.controller.js +3 -4
- package/src/sap/fe/templates/RootContainer/controller/NavContainer.controller.ts +4 -5
- package/src/sap/fe/templates/RootContainer/controller/RootContainerBaseController.js +140 -52
- package/src/sap/fe/templates/RootContainer/controller/RootContainerBaseController.ts +108 -54
- package/src/sap/fe/templates/RootContainer/overrides/EditFlow.js +1 -1
- package/src/sap/fe/templates/RootContainer/overrides/EditFlow.ts +3 -3
- package/src/sap/fe/templates/TableScroller.js +3 -3
- package/src/sap/fe/templates/TableScroller.ts +2 -2
- package/src/sap/fe/templates/controls/MacroChart.fragment.xml +1 -0
- package/src/sap/fe/templates/controls/Table.fragment.xml +4 -4
- package/src/sap/fe/templates/library.js +5 -2
- package/src/sap/fe/templates/library.ts +3 -0
- package/src/sap/fe/templates/messagebundle.properties +6 -18
- package/src/sap/fe/templates/messagebundle_ar.properties +10 -6
- package/src/sap/fe/templates/messagebundle_bg.properties +6 -2
- package/src/sap/fe/templates/messagebundle_ca.properties +10 -6
- package/src/sap/fe/templates/messagebundle_cs.properties +6 -2
- package/src/sap/fe/templates/messagebundle_cy.properties +10 -6
- package/src/sap/fe/templates/messagebundle_da.properties +10 -6
- package/src/sap/fe/templates/messagebundle_de.properties +10 -6
- package/src/sap/fe/templates/messagebundle_el.properties +10 -6
- package/src/sap/fe/templates/messagebundle_en.properties +6 -2
- package/src/sap/fe/templates/messagebundle_en_GB.properties +8 -4
- package/src/sap/fe/templates/messagebundle_en_US_sappsd.properties +13 -5
- package/src/sap/fe/templates/messagebundle_en_US_saprigi.properties +7 -3
- package/src/sap/fe/templates/messagebundle_en_US_saptrc.properties +7 -3
- package/src/sap/fe/templates/messagebundle_es.properties +6 -2
- package/src/sap/fe/templates/messagebundle_es_MX.properties +10 -6
- package/src/sap/fe/templates/messagebundle_et.properties +6 -2
- package/src/sap/fe/templates/messagebundle_fi.properties +10 -6
- package/src/sap/fe/templates/messagebundle_fr.properties +6 -2
- package/src/sap/fe/templates/messagebundle_fr_CA.properties +10 -6
- package/src/sap/fe/templates/messagebundle_hi.properties +10 -6
- package/src/sap/fe/templates/messagebundle_hr.properties +10 -6
- package/src/sap/fe/templates/messagebundle_hu.properties +6 -2
- package/src/sap/fe/templates/messagebundle_id.properties +6 -2
- package/src/sap/fe/templates/messagebundle_it.properties +10 -6
- package/src/sap/fe/templates/messagebundle_iw.properties +10 -6
- package/src/sap/fe/templates/messagebundle_ja.properties +6 -2
- package/src/sap/fe/templates/messagebundle_kk.properties +10 -6
- package/src/sap/fe/templates/messagebundle_ko.properties +6 -2
- package/src/sap/fe/templates/messagebundle_lt.properties +6 -2
- package/src/sap/fe/templates/messagebundle_lv.properties +6 -2
- package/src/sap/fe/templates/messagebundle_ms.properties +10 -6
- package/src/sap/fe/templates/messagebundle_nl.properties +6 -2
- package/src/sap/fe/templates/messagebundle_no.properties +10 -6
- package/src/sap/fe/templates/messagebundle_pl.properties +10 -6
- package/src/sap/fe/templates/messagebundle_pt.properties +6 -2
- package/src/sap/fe/templates/messagebundle_pt_PT.properties +6 -2
- package/src/sap/fe/templates/messagebundle_ro.properties +10 -6
- package/src/sap/fe/templates/messagebundle_ru.properties +10 -6
- package/src/sap/fe/templates/messagebundle_sh.properties +6 -2
- package/src/sap/fe/templates/messagebundle_sk.properties +6 -2
- package/src/sap/fe/templates/messagebundle_sl.properties +10 -6
- package/src/sap/fe/templates/messagebundle_sv.properties +6 -2
- package/src/sap/fe/templates/messagebundle_th.properties +10 -6
- package/src/sap/fe/templates/messagebundle_tr.properties +6 -2
- package/src/sap/fe/templates/messagebundle_uk.properties +6 -2
- package/src/sap/fe/templates/messagebundle_vi.properties +10 -6
- package/src/sap/fe/templates/messagebundle_zh_CN.properties +10 -6
- package/src/sap/fe/templates/messagebundle_zh_TW.properties +10 -6
- package/src/sap/fe/templates/ObjectPage/AnnotationHelper.js +0 -482
- package/src/sap/fe/templates/ObjectPage/AnnotationHelper.ts +0 -511
- package/src/sap/fe/templates/ObjectPage/templating/ObjectPageTemplating.js +0 -120
- 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/
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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/
|
|
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
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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
|
-
|
|
38
|
-
|
|
37
|
+
<layout:mainContent>
|
|
38
|
+
<core:Fragment
|
|
39
39
|
fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionCustomSection"
|
|
40
40
|
type="XML"
|
|
41
41
|
/>
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
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
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
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
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
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
|
-
|
|
70
|
-
|
|
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
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
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
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
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
|
|
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
|
|
132
|
+
<core:Fragment
|
|
133
|
+
fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionMoreFormContent"
|
|
134
|
+
type="XML"
|
|
135
|
+
/>
|
|
123
136
|
</template:else>
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
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
|
|
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
|
|
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
|
|
180
|
+
<core:Fragment
|
|
181
|
+
fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionPresentationVisualization"
|
|
182
|
+
type="XML"
|
|
183
|
+
/>
|
|
158
184
|
</template:else>
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
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>
|