@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
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
xmlns:unittest="http://schemas.sap.com/sapui5/preprocessorextension/sap.fe.unittesting/1"
|
|
14
14
|
xmlns:customData="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1"
|
|
15
15
|
template:require="{
|
|
16
|
-
CORE: 'sap/fe/core/AnnotationHelper',
|
|
17
16
|
ID: 'sap/fe/core/helpers/StableIdHelper',
|
|
18
17
|
COMMON: 'sap/fe/macros/CommonHelper',
|
|
19
|
-
FILTER: 'sap/fe/core/templating/FilterHelper'
|
|
18
|
+
FILTER: 'sap/fe/core/templating/FilterHelper',
|
|
19
|
+
LR: 'sap/fe/templates/ListReport/ListReportTemplating'
|
|
20
20
|
}"
|
|
21
21
|
controllerName="sap.fe.templates.ListReport.ListReportController"
|
|
22
22
|
>
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
customData:singleTableId="{converterContext>singleTableId}"
|
|
30
30
|
customData:singleChartId="{converterContext>singleChartId}"
|
|
31
31
|
customData:filterBarId="{converterContext>filterBarId}"
|
|
32
|
-
customData:defaultPath="{=
|
|
32
|
+
customData:defaultPath="{= LR.getDefaultPath(${converterContext>views})}"
|
|
33
33
|
customData:visualFilterBarId="{= ID.generate(['visualFilter',${converterContext>filterBarId}])}"
|
|
34
34
|
customData:filterBarVariantId="{converterContext>variantManagement/id}"
|
|
35
35
|
customData:ListReportTitle="{= ${manifest>/sap.app/title} }"
|
|
@@ -42,16 +42,31 @@
|
|
|
42
42
|
busyIndicatorDelay="0"
|
|
43
43
|
class="{= !${converterContext>hasMultiVisualizations} && ${converterContext>views}.length > 1 ? 'sapUiNoContentPadding' : 'sapUiResponsiveContentPadding'}"
|
|
44
44
|
>
|
|
45
|
+
<f:dependents>
|
|
46
|
+
<template:if test="{converterContext>headerActions}">
|
|
47
|
+
<template:repeat list="{converterContext>headerActions}" var="headerAction">
|
|
48
|
+
<template:if test="{headerAction>command}">
|
|
49
|
+
<control:CommandExecution
|
|
50
|
+
core:require="{FPM: 'sap/fe/core/helpers/FPMHelper'}"
|
|
51
|
+
execute="{= COMMON.buildActionWrapper(${headerAction>})}"
|
|
52
|
+
visible="{headerAction>visible}"
|
|
53
|
+
enabled="{headerAction>enabled}"
|
|
54
|
+
command="{headerAction>command}"
|
|
55
|
+
/>
|
|
56
|
+
</template:if>
|
|
57
|
+
</template:repeat>
|
|
58
|
+
</template:if>
|
|
59
|
+
</f:dependents>
|
|
45
60
|
<f:title>
|
|
46
|
-
<f:DynamicPageTitle>
|
|
61
|
+
<f:DynamicPageTitle stateChange=".handlers.onDynamicPageTitleStateChanged">
|
|
47
62
|
<f:heading>
|
|
48
63
|
<template:with path="converterContext>kpiDefinitions" var="definitions">
|
|
49
64
|
<template:if test="{definitions>length}">
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
65
|
+
<template:then>
|
|
66
|
+
<l:HorizontalLayout class="sapUiNoContentPadding sapUiNoMarginTop sapUiNoMarginBottom">
|
|
67
|
+
<template:if test="{= ${viewData>/variantManagement} === 'Page'}">
|
|
68
|
+
<template:then>
|
|
69
|
+
<v:VariantManagement
|
|
55
70
|
id="fe::PageVariantManagement"
|
|
56
71
|
unittest:id="listReportVMPageTest"
|
|
57
72
|
for="{converterContext>variantManagement/targetControlIds}"
|
|
@@ -59,11 +74,13 @@
|
|
|
59
74
|
select=".handlers.onVariantSelected"
|
|
60
75
|
save=".handlers.onVariantSaved"
|
|
61
76
|
displayTextForExecuteOnSelectionForStandardVariant="{= ${viewData>/initialLoad} === 'Auto' ? ${sap.fe.i18n>T_LR_VARIANT_APPLY_AUTOMATICALLY_WHEN_FILTER_SET} : undefined }"
|
|
62
|
-
executeOnSelectionForStandardDefault="{= ${viewData>/initialLoad} === 'Enabled'}"
|
|
77
|
+
executeOnSelectionForStandardDefault="{= ${viewData>/initialLoad} === 'Enabled' || ${viewData>/initialLoad} === 'Auto'}"
|
|
63
78
|
/>
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
79
|
+
</template:then>
|
|
80
|
+
<template:elseif
|
|
81
|
+
test="{= ${viewData>/variantManagement} === 'Control' && !${converterContext>hideFilterBar}}"
|
|
82
|
+
>
|
|
83
|
+
<v:VariantManagement
|
|
67
84
|
id="{= ID.generate([ ${converterContext>filterBarId}, 'VariantManagement']) }"
|
|
68
85
|
unittest:id="listReportVMControlTest"
|
|
69
86
|
for="{converterContext>variantManagement/targetControlIds}"
|
|
@@ -71,24 +88,32 @@
|
|
|
71
88
|
select=".handlers.onVariantSelected"
|
|
72
89
|
save=".handlers.onVariantSaved"
|
|
73
90
|
displayTextForExecuteOnSelectionForStandardVariant="{= ${viewData>/initialLoad} === 'Auto' ? ${sap.fe.i18n>T_LR_VARIANT_APPLY_AUTOMATICALLY_WHEN_FILTER_SET} : undefined }"
|
|
74
|
-
executeOnSelectionForStandardDefault="{= ${viewData>/initialLoad} === 'Enabled'}"
|
|
91
|
+
executeOnSelectionForStandardDefault="{= ${viewData>/initialLoad} === 'Enabled' || ${viewData>/initialLoad} === 'Auto'}"
|
|
75
92
|
/>
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
</template:
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
93
|
+
</template:elseif>
|
|
94
|
+
<template:else>
|
|
95
|
+
<Title
|
|
96
|
+
unittest:id="listReportTitleTest"
|
|
97
|
+
level="H2"
|
|
98
|
+
text="{= ${manifest>/sap.app/subTitle} || ${manifest>/sap.app/title} }"
|
|
99
|
+
/>
|
|
100
|
+
</template:else>
|
|
101
|
+
</template:if>
|
|
102
|
+
<template:repeat list="{converterContext>kpiDefinitions}" var="kpi">
|
|
103
|
+
<template:with path="kpi>datapoint" var="datapoint">
|
|
104
|
+
<macro:KPITag
|
|
105
|
+
id="{kpi>id}"
|
|
106
|
+
metaPath="{datapoint>annotationPath}"
|
|
107
|
+
hasUnit="{= ${datapoint>unit} !== undefined}"
|
|
108
|
+
/>
|
|
109
|
+
</template:with>
|
|
110
|
+
</template:repeat>
|
|
111
|
+
</l:HorizontalLayout>
|
|
112
|
+
</template:then>
|
|
113
|
+
<template:else>
|
|
114
|
+
<template:if test="{= ${viewData>/variantManagement} === 'Page'}">
|
|
115
|
+
<template:then>
|
|
116
|
+
<v:VariantManagement
|
|
92
117
|
id="fe::PageVariantManagement"
|
|
93
118
|
unittest:id="listReportVMPageTest"
|
|
94
119
|
for="{converterContext>variantManagement/targetControlIds}"
|
|
@@ -96,11 +121,13 @@
|
|
|
96
121
|
select=".handlers.onVariantSelected"
|
|
97
122
|
save=".handlers.onVariantSaved"
|
|
98
123
|
displayTextForExecuteOnSelectionForStandardVariant="{= ${viewData>/initialLoad} === 'Auto' ? ${sap.fe.i18n>T_LR_VARIANT_APPLY_AUTOMATICALLY_WHEN_FILTER_SET} : undefined }"
|
|
99
|
-
executeOnSelectionForStandardDefault="{= ${viewData>/initialLoad} === 'Enabled'}"
|
|
124
|
+
executeOnSelectionForStandardDefault="{= ${viewData>/initialLoad} === 'Enabled' || ${viewData>/initialLoad} === 'Auto'}"
|
|
100
125
|
/>
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
126
|
+
</template:then>
|
|
127
|
+
<template:elseif
|
|
128
|
+
test="{= ${viewData>/variantManagement} === 'Control' && !${converterContext>hideFilterBar}}"
|
|
129
|
+
>
|
|
130
|
+
<v:VariantManagement
|
|
104
131
|
id="{= ID.generate([ ${converterContext>filterBarId}, 'VariantManagement']) }"
|
|
105
132
|
unittest:id="listReportVMControlTest"
|
|
106
133
|
for="{converterContext>variantManagement/targetControlIds}"
|
|
@@ -108,14 +135,18 @@
|
|
|
108
135
|
select=".handlers.onVariantSelected"
|
|
109
136
|
save=".handlers.onVariantSaved"
|
|
110
137
|
displayTextForExecuteOnSelectionForStandardVariant="{= ${viewData>/initialLoad} === 'Auto' ? ${sap.fe.i18n>T_LR_VARIANT_APPLY_AUTOMATICALLY_WHEN_FILTER_SET} : undefined }"
|
|
111
|
-
executeOnSelectionForStandardDefault="{= ${viewData>/initialLoad} === 'Enabled'}"
|
|
138
|
+
executeOnSelectionForStandardDefault="{= ${viewData>/initialLoad} === 'Enabled' || ${viewData>/initialLoad} === 'Auto'}"
|
|
112
139
|
/>
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
140
|
+
</template:elseif>
|
|
141
|
+
<template:else>
|
|
142
|
+
<Title
|
|
143
|
+
unittest:id="listReportTitleTest"
|
|
144
|
+
text="{= ${manifest>/sap.app/subTitle} || ${manifest>/sap.app/title} }"
|
|
145
|
+
level="H2"
|
|
146
|
+
/>
|
|
147
|
+
</template:else>
|
|
148
|
+
</template:if>
|
|
116
149
|
</template:else>
|
|
117
|
-
</template:if>
|
|
118
|
-
</template:else>
|
|
119
150
|
</template:if>
|
|
120
151
|
</template:with>
|
|
121
152
|
</f:heading>
|
|
@@ -130,21 +161,31 @@
|
|
|
130
161
|
core:require="{FPM: 'sap/fe/core/helpers/FPMHelper'}"
|
|
131
162
|
id="{= ID.generate(['fe',${headerAction>id}])}"
|
|
132
163
|
text="{headerAction>text}"
|
|
133
|
-
press="{=
|
|
164
|
+
press="{= ${headerAction>command} ? ('cmd:' + ${headerAction>command}) : COMMON.buildActionWrapper(${headerAction>})}"
|
|
134
165
|
type="Transparent"
|
|
135
166
|
visible="{headerAction>visible}"
|
|
136
167
|
enabled="{headerAction>enabled}"
|
|
137
168
|
/>
|
|
138
169
|
</template:repeat>
|
|
139
170
|
</template:if>
|
|
140
|
-
<template:if
|
|
171
|
+
<template:if
|
|
172
|
+
test="{= ${converterContext>/filterLayout} === 'compactvisual' && !${converterContext>hideFilterBar}}"
|
|
173
|
+
>
|
|
141
174
|
<SegmentedButton
|
|
142
175
|
id="{= ID.generate([ ${converterContext>filterBarId}, 'LayoutToggle']) }"
|
|
143
176
|
selectedKey="{converterContext>/filterInitialLayout}"
|
|
144
177
|
>
|
|
145
178
|
<items>
|
|
146
|
-
<SegmentedButtonItem
|
|
147
|
-
|
|
179
|
+
<SegmentedButtonItem
|
|
180
|
+
tooltip="{sap.fe.i18n>T_SEGMENTED_BUTTON_TOOLTIP_COMPACT}"
|
|
181
|
+
key="compact"
|
|
182
|
+
icon="sap-icon://filter-fields"
|
|
183
|
+
/>
|
|
184
|
+
<SegmentedButtonItem
|
|
185
|
+
tooltip="{sap.fe.i18n>T_SEGMENTED_BUTTON_TOOLTIP_VISUAL}"
|
|
186
|
+
key="visual"
|
|
187
|
+
icon="sap-icon://filter-analytics"
|
|
188
|
+
/>
|
|
148
189
|
</items>
|
|
149
190
|
</SegmentedButton>
|
|
150
191
|
</template:if>
|
|
@@ -154,16 +195,16 @@
|
|
|
154
195
|
</f:title>
|
|
155
196
|
<f:header>
|
|
156
197
|
<template:if test="{= !${converterContext>hideFilterBar} }">
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
198
|
+
<template:then>
|
|
199
|
+
<template:with path="converterContext>filterBar" var="filterBarContext">
|
|
200
|
+
<f:DynamicPageHeader pinnable="{converterContext>showPinnableToggle}">
|
|
201
|
+
<VBox>
|
|
202
|
+
<macroInternal:FilterBar
|
|
162
203
|
unittest:id="listReportFilterBarTest"
|
|
163
204
|
id="{converterContext>filterBarId}"
|
|
164
205
|
_applyIdToContent="true"
|
|
165
206
|
contextPath="{entityType>}"
|
|
166
|
-
variantBackreference="{=
|
|
207
|
+
variantBackreference="{= LR.getVariantBackReference(${viewData>}, ${converterContext>} )}"
|
|
167
208
|
selectionFields="{filterBarContext>selectionFields}"
|
|
168
209
|
propertyInfo="{filterBarContext>propertyInfo}"
|
|
169
210
|
filterChanged=".handlers.onFiltersChanged"
|
|
@@ -177,12 +218,12 @@
|
|
|
177
218
|
suspendSelection="true"
|
|
178
219
|
toggleControlId="{= ${converterContext>/filterLayout} === 'compactvisual' ? ID.generate([ ${converterContext>filterBarId}, 'LayoutToggle']) : undefined }"
|
|
179
220
|
initialLayout="{= ${converterContext>/filterLayout} === 'compactvisual' ? ${converterContext>/filterInitialLayout} : undefined }"
|
|
180
|
-
|
|
221
|
+
stateChange=".handlers.onStateChange"
|
|
181
222
|
/>
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
223
|
+
</VBox>
|
|
224
|
+
</f:DynamicPageHeader>
|
|
225
|
+
</template:with>
|
|
226
|
+
</template:then>
|
|
186
227
|
</template:if>
|
|
187
228
|
</f:header>
|
|
188
229
|
<f:content>
|
|
@@ -191,13 +232,21 @@
|
|
|
191
232
|
<template:then>
|
|
192
233
|
<fragments:MultipleMode />
|
|
193
234
|
</template:then>
|
|
194
|
-
<template:elseif
|
|
235
|
+
<template:elseif
|
|
236
|
+
test="{= ${converterContext>views}.length === 1 && !${converterContext>hasMultiVisualizations} }"
|
|
237
|
+
>
|
|
195
238
|
<template:with path="converterContext>views/0/presentation" var="presentationContext">
|
|
196
|
-
<core:Fragment
|
|
239
|
+
<core:Fragment
|
|
240
|
+
fragmentName="sap.fe.templates.ListReport.view.fragments.CollectionVisualization"
|
|
241
|
+
type="XML"
|
|
242
|
+
/>
|
|
197
243
|
</template:with>
|
|
198
244
|
</template:elseif>
|
|
199
245
|
<template:else>
|
|
200
|
-
<core:Fragment
|
|
246
|
+
<core:Fragment
|
|
247
|
+
fragmentName="sap.fe.templates.ListReport.view.fragments.CollectionVisualization"
|
|
248
|
+
type="XML"
|
|
249
|
+
/>
|
|
201
250
|
</template:else>
|
|
202
251
|
</template:if>
|
|
203
252
|
</template:if>
|