@sapui5/sap.fe.templates 1.101.1 → 1.102.2
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/ListReport/ExtensionAPI.js +8 -5
- package/src/sap/fe/templates/ListReport/ExtensionAPI.ts +11 -5
- package/src/sap/fe/templates/ListReport/ListReport.view.xml +104 -57
- package/src/sap/fe/templates/ListReport/ListReportController.controller.js +104 -19
- package/src/sap/fe/templates/ListReport/ListReportController.controller.ts +98 -19
- 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/Share.js +7 -4
- package/src/sap/fe/templates/ListReport/overrides/Share.ts +4 -3
- package/src/sap/fe/templates/ListReport/overrides/ViewState.js +10 -2
- package/src/sap/fe/templates/ListReport/overrides/ViewState.ts +7 -1
- package/src/sap/fe/templates/ObjectPage/ObjectPage.view.xml +164 -18
- package/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.js +51 -47
- package/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.ts +52 -40
- package/src/sap/fe/templates/ObjectPage/ObjectPageTemplating.js +872 -0
- package/src/sap/fe/templates/ObjectPage/ObjectPageTemplating.ts +837 -0
- package/src/sap/fe/templates/ObjectPage/overrides/Share.js +3 -3
- package/src/sap/fe/templates/ObjectPage/overrides/Share.ts +2 -2
- package/src/sap/fe/templates/ObjectPage/view/fragments/Actions.fragment.xml +9 -10
- package/src/sap/fe/templates/ObjectPage/view/fragments/CollaborationDraft.fragment.xml +1 -2
- package/src/sap/fe/templates/ObjectPage/view/fragments/EditableHeaderFacet.fragment.xml +15 -15
- 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 -4
- package/src/sap/fe/templates/ObjectPage/view/fragments/Heading.fragment.xml +16 -17
- package/src/sap/fe/templates/ObjectPage/view/fragments/HeadingTitle.fragment.xml +3 -3
- package/src/sap/fe/templates/ObjectPage/view/fragments/ObjectPageHeaderForm.fragment.xml +3 -3
- package/src/sap/fe/templates/ObjectPage/view/fragments/RelatedApps.fragment.xml +7 -4
- package/src/sap/fe/templates/ObjectPage/view/fragments/Section.fragment.xml +71 -6
- package/src/sap/fe/templates/ObjectPage/view/fragments/SectionContent.fragment.xml +114 -94
- package/src/sap/fe/templates/ObjectPage/view/fragments/SectionContentLazyLoader.fragment.xml +127 -107
- package/src/sap/fe/templates/RootContainer/controller/Fcl.controller.js +81 -33
- package/src/sap/fe/templates/RootContainer/controller/Fcl.controller.ts +71 -33
- package/src/sap/fe/templates/controls/MacroChart.fragment.xml +1 -0
- package/src/sap/fe/templates/controls/Table.fragment.xml +3 -4
- package/src/sap/fe/templates/library.js +1 -1
- 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 +7 -3
- 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
package/src/sap/fe/templates/ObjectPage/view/fragments/SectionContentLazyLoader.fragment.xml
CHANGED
|
@@ -11,23 +11,23 @@
|
|
|
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
|
-
|
|
30
|
-
|
|
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
|
+
<uxap:ObjectPageLazyLoader stashed="true" id="{= ID.generate(['fe', ${subSection>key}])}">
|
|
26
|
+
<opcontrol:SubSectionBlock>
|
|
27
|
+
<opcontrol:content>
|
|
28
|
+
<template:if test="{= ${subSection>sideContent} !== undefined}">
|
|
29
|
+
<template:then>
|
|
30
|
+
<layout:DynamicSideContent
|
|
31
31
|
id="{= ID.generate(['fe', ${subSection>key}, 'SideContentLayout'])}"
|
|
32
32
|
showMainContent="true"
|
|
33
33
|
showSideContent="{subSection>sideContent/visible}"
|
|
@@ -35,42 +35,41 @@
|
|
|
35
35
|
containerQuery="true"
|
|
36
36
|
equalSplit="{subSection>sideContent/equalSplit}"
|
|
37
37
|
>
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
<layout:mainContent>
|
|
39
|
+
<core:Fragment
|
|
40
40
|
fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionCustomSection"
|
|
41
41
|
type="XML"
|
|
42
42
|
/>
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
</layout:mainContent>
|
|
44
|
+
<layout:sideContent>
|
|
45
|
+
<core:Fragment
|
|
46
46
|
fragmentName="sap.fe.templates.ObjectPage.view.fragments.SideContentCustomContainer"
|
|
47
47
|
type="XML"
|
|
48
48
|
/>
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
49
|
+
</layout:sideContent>
|
|
50
|
+
</layout:DynamicSideContent>
|
|
51
|
+
</template:then>
|
|
52
|
+
<template:else>
|
|
53
|
+
<core:Fragment
|
|
54
54
|
fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionCustomSection"
|
|
55
55
|
type="XML"
|
|
56
56
|
/>
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
<uxap:blocks>
|
|
57
|
+
</template:else>
|
|
58
|
+
</template:if>
|
|
59
|
+
</opcontrol:content>
|
|
60
|
+
</opcontrol:SubSectionBlock>
|
|
61
|
+
</uxap:ObjectPageLazyLoader>
|
|
62
|
+
</uxap:blocks>
|
|
63
|
+
</template:then>
|
|
64
|
+
<template:elseif test="{= ${subSection>type} === 'Form'}">
|
|
65
|
+
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.FormActions" type="XML" />
|
|
66
|
+
<uxap:blocks>
|
|
68
67
|
<uxap:ObjectPageLazyLoader stashed="true" id="{= ID.generate(['fe', ${subSection>key}])}">
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
68
|
+
<opcontrol:SubSectionBlock>
|
|
69
|
+
<opcontrol:content>
|
|
70
|
+
<template:if test="{= ${subSection>sideContent} !== undefined}">
|
|
71
|
+
<template:then>
|
|
72
|
+
<layout:DynamicSideContent
|
|
74
73
|
id="{= ID.generate(['fe', ${subSection>key}, 'SideContentLayout'])}"
|
|
75
74
|
showMainContent="true"
|
|
76
75
|
showSideContent="{subSection>sideContent/visible}"
|
|
@@ -78,33 +77,41 @@
|
|
|
78
77
|
containerQuery="true"
|
|
79
78
|
equalSplit="{subSection>sideContent/equalSplit}"
|
|
80
79
|
>
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
80
|
+
<layout:mainContent>
|
|
81
|
+
<core:Fragment
|
|
82
|
+
fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionFormContent"
|
|
83
|
+
type="XML"
|
|
84
|
+
/>
|
|
85
|
+
</layout:mainContent>
|
|
86
|
+
<layout:sideContent>
|
|
87
|
+
<core:Fragment
|
|
88
|
+
fragmentName="sap.fe.templates.ObjectPage.view.fragments.SideContentCustomContainer"
|
|
89
|
+
type="XML"
|
|
90
|
+
/>
|
|
91
|
+
</layout:sideContent>
|
|
92
|
+
</layout:DynamicSideContent>
|
|
93
|
+
</template:then>
|
|
94
|
+
<template:else>
|
|
95
|
+
<core:Fragment
|
|
96
|
+
fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionFormContent"
|
|
97
|
+
type="XML"
|
|
98
|
+
/>
|
|
99
|
+
</template:else>
|
|
100
|
+
</template:if>
|
|
101
|
+
</opcontrol:content>
|
|
102
|
+
</opcontrol:SubSectionBlock>
|
|
96
103
|
</uxap:ObjectPageLazyLoader>
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
104
|
+
</uxap:blocks>
|
|
105
|
+
<template:if test="{subSection>formDefinition/hasFacetsNotPartOfPreview}">
|
|
106
|
+
<template:then>
|
|
107
|
+
<!-- Button "Show More / Less" is displayed for a collection facets that contains at least one reference facets with annotation "PartOfPreview === TRUE" -->
|
|
108
|
+
<uxap:moreBlocks>
|
|
109
|
+
<template:if test="{= ${subSection>level} === 2}">
|
|
110
|
+
<Title text="{subSection>title}" />
|
|
111
|
+
</template:if>
|
|
112
|
+
<opcontrol:SubSectionBlock>
|
|
113
|
+
<opcontrol:content>
|
|
114
|
+
<template:if test="{= ${subSection>sideContent} !== undefined}">
|
|
108
115
|
<template:then>
|
|
109
116
|
<layout:DynamicSideContent
|
|
110
117
|
id="{= ID.generate(['fe', ${subSection>key}, 'MoreSideContentLayout'])}"
|
|
@@ -115,7 +122,10 @@
|
|
|
115
122
|
equalSplit="{subSection>sideContent/equalSplit}"
|
|
116
123
|
>
|
|
117
124
|
<layout:mainContent>
|
|
118
|
-
<core:Fragment
|
|
125
|
+
<core:Fragment
|
|
126
|
+
fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionMoreFormContent"
|
|
127
|
+
type="XML"
|
|
128
|
+
/>
|
|
119
129
|
</layout:mainContent>
|
|
120
130
|
<layout:sideContent>
|
|
121
131
|
<!--No Side Content for MoreBlocks so far-->
|
|
@@ -123,29 +133,32 @@
|
|
|
123
133
|
</layout:DynamicSideContent>
|
|
124
134
|
</template:then>
|
|
125
135
|
<template:else>
|
|
126
|
-
<core:Fragment
|
|
136
|
+
<core:Fragment
|
|
137
|
+
fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionMoreFormContent"
|
|
138
|
+
type="XML"
|
|
139
|
+
/>
|
|
127
140
|
</template:else>
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
141
|
+
</template:if>
|
|
142
|
+
</opcontrol:content>
|
|
143
|
+
</opcontrol:SubSectionBlock>
|
|
144
|
+
</uxap:moreBlocks>
|
|
145
|
+
</template:then>
|
|
146
|
+
</template:if>
|
|
147
|
+
</template:elseif>
|
|
148
|
+
<template:elseif test="{= ${subSection>type} === 'DataVisualization'}">
|
|
149
|
+
<uxap:blocks>
|
|
150
|
+
<uxap:ObjectPageLazyLoader stashed="true" id="{= ID.generate(['fe', ${subSection>key}])}">
|
|
151
|
+
<template:if test="{= ${subSection>level} === 2}">
|
|
152
|
+
<Title
|
|
140
153
|
text="{subSection>title}"
|
|
141
154
|
visible="{= ${subSection>visible} && ${subSection>title} !=='undefined' && ${subSection>showTitle} ? true : false}"
|
|
142
155
|
/>
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
156
|
+
</template:if>
|
|
157
|
+
<opcontrol:SubSectionBlock visible="{subSection>visible}">
|
|
158
|
+
<opcontrol:content>
|
|
146
159
|
<template:if test="{= ${subSection>sideContent} !== undefined}">
|
|
147
|
-
|
|
148
|
-
|
|
160
|
+
<template:then>
|
|
161
|
+
<layout:DynamicSideContent
|
|
149
162
|
id="{= ID.generate(['fe', ${subSection>key}, 'SideContentLayout'])}"
|
|
150
163
|
showMainContent="true"
|
|
151
164
|
showSideContent="{subSection>sideContent/visible}"
|
|
@@ -153,29 +166,36 @@
|
|
|
153
166
|
containerQuery="true"
|
|
154
167
|
equalSplit="{subSection>sideContent/equalSplit}"
|
|
155
168
|
>
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
169
|
+
<layout:mainContent>
|
|
170
|
+
<core:Fragment
|
|
171
|
+
fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionPresentationVisualization"
|
|
172
|
+
type="XML"
|
|
173
|
+
/>
|
|
174
|
+
</layout:mainContent>
|
|
175
|
+
<layout:sideContent>
|
|
176
|
+
<core:Fragment
|
|
177
|
+
fragmentName="sap.fe.templates.ObjectPage.view.fragments.SideContentCustomContainer"
|
|
178
|
+
type="XML"
|
|
179
|
+
/>
|
|
180
|
+
</layout:sideContent>
|
|
181
|
+
</layout:DynamicSideContent>
|
|
182
|
+
</template:then>
|
|
183
|
+
<template:else>
|
|
184
|
+
<core:Fragment
|
|
185
|
+
fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionPresentationVisualization"
|
|
186
|
+
type="XML"
|
|
187
|
+
/>
|
|
188
|
+
</template:else>
|
|
167
189
|
</template:if>
|
|
168
|
-
|
|
169
|
-
|
|
190
|
+
</opcontrol:content>
|
|
191
|
+
</opcontrol:SubSectionBlock>
|
|
170
192
|
</uxap:ObjectPageLazyLoader>
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
</template:if>
|
|
180
|
-
</template:if>
|
|
193
|
+
</uxap:blocks>
|
|
194
|
+
</template:elseif>
|
|
195
|
+
<template:elseif test="{= ${subSection>type} === 'Unknown'}">
|
|
196
|
+
<Text text="{subSection>text}" />
|
|
197
|
+
</template:elseif>
|
|
198
|
+
<template:else />
|
|
199
|
+
</template:if>
|
|
200
|
+
</template:if>
|
|
181
201
|
</core:FragmentDefinition>
|