@sapui5/sap.fe.templates 1.97.0 → 1.100.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 +9 -5
- package/src/sap/fe/templates/.library +1 -1
- package/src/sap/fe/templates/AnalyticalListPage/Component.js +3 -2
- package/src/sap/fe/templates/AnalyticalListPage/chart/FEChartDelegate.js +5 -4
- package/src/sap/fe/templates/ListComponent.js +3 -2
- package/src/sap/fe/templates/ListReport/Component.js +18 -3
- package/src/sap/fe/templates/ListReport/ExtensionAPI.js +12 -6
- package/src/sap/fe/templates/ListReport/ListReport.view.xml +33 -26
- package/src/sap/fe/templates/ListReport/ListReportController.controller.js +206 -125
- package/src/sap/fe/templates/ListReport/overrides/IntentBasedNavigation.js +18 -13
- package/src/sap/fe/templates/ListReport/overrides/Share.js +46 -29
- package/src/sap/fe/templates/ListReport/overrides/ViewState.js +131 -86
- package/src/sap/fe/templates/ListReport/view/fragments/CollectionVisualization.fragment.xml +8 -0
- package/src/sap/fe/templates/ListReport/view/fragments/MultipleMode.fragment.xml +3 -3
- package/src/sap/fe/templates/ObjectPage/AnnotationHelper.js +75 -13
- package/src/sap/fe/templates/ObjectPage/Component.js +21 -29
- package/src/sap/fe/templates/ObjectPage/ExtensionAPI.js +18 -2
- package/src/sap/fe/templates/ObjectPage/ObjectPage.view.xml +76 -94
- package/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.js +166 -155
- package/src/sap/fe/templates/ObjectPage/controls/StashableHBox.js +10 -3
- package/src/sap/fe/templates/ObjectPage/controls/StashableVBox.js +3 -2
- package/src/sap/fe/templates/ObjectPage/controls/SubSectionBlock.js +3 -2
- package/src/sap/fe/templates/ObjectPage/designtime/FlexBox.designtime.js +6 -2
- package/src/sap/fe/templates/ObjectPage/designtime/StashableHBox.designtime.js +3 -2
- package/src/sap/fe/templates/ObjectPage/designtime/StashableVBox.designtime.js +3 -2
- package/src/sap/fe/templates/ObjectPage/flexibility/StashableHBox.flexibility.js +3 -2
- package/src/sap/fe/templates/ObjectPage/flexibility/StashableVBox.flexibility.js +3 -2
- package/src/sap/fe/templates/ObjectPage/overrides/IntentBasedNavigation.js +3 -2
- package/src/sap/fe/templates/ObjectPage/overrides/InternalRouting.js +3 -2
- package/src/sap/fe/templates/ObjectPage/overrides/MessageHandler.js +3 -2
- package/src/sap/fe/templates/ObjectPage/overrides/Paginator.js +15 -2
- package/src/sap/fe/templates/ObjectPage/overrides/Share.js +50 -45
- package/src/sap/fe/templates/ObjectPage/overrides/ViewState.js +3 -22
- package/src/sap/fe/templates/ObjectPage/templating/ObjectPageTemplating.js +1 -1
- package/src/sap/fe/templates/ObjectPage/templating/ObjectPageTemplating.ts +2 -2
- package/src/sap/fe/templates/ObjectPage/view/fragments/Actions.fragment.xml +1 -1
- package/src/sap/fe/templates/ObjectPage/view/fragments/CollaborationDraft.fragment.xml +36 -0
- package/src/sap/fe/templates/ObjectPage/view/fragments/EditableHeaderFacet.fragment.xml +1 -1
- package/src/sap/fe/templates/ObjectPage/view/fragments/FooterContent.fragment.xml +5 -1
- package/src/sap/fe/templates/ObjectPage/view/fragments/HeaderFacet.fragment.xml +1 -0
- package/src/sap/fe/templates/ObjectPage/view/fragments/HeaderFacetCustomContainer.fragment.xml +1 -0
- package/src/sap/fe/templates/ObjectPage/view/fragments/Heading.fragment.xml +33 -0
- package/src/sap/fe/templates/ObjectPage/view/fragments/HeadingAvatar.fragment.xml +17 -0
- package/src/sap/fe/templates/ObjectPage/view/fragments/HeadingTitle.fragment.xml +18 -0
- package/src/sap/fe/templates/ObjectPage/view/fragments/Section.fragment.xml +24 -5
- package/src/sap/fe/templates/ObjectPage/view/fragments/SectionContent.fragment.xml +1 -4
- package/src/sap/fe/templates/ObjectPage/view/fragments/SectionContentLazyLoader.fragment.xml +181 -0
- package/src/sap/fe/templates/ObjectPage/view/fragments/SectionFormContent.fragment.xml +4 -3
- package/src/sap/fe/templates/ObjectPage/view/fragments/SectionMoreFormContent.fragment.xml +4 -3
- package/src/sap/fe/templates/RootContainer/controller/Fcl.controller.js +6 -3
- package/src/sap/fe/templates/RootContainer/controller/NavContainer.controller.js +6 -3
- package/src/sap/fe/templates/RootContainer/controller/RootContainerBaseController.js +136 -125
- package/src/sap/fe/templates/RootContainer/overrides/EditFlow.js +3 -2
- package/src/sap/fe/templates/TableScroller.js +3 -2
- package/src/sap/fe/templates/controls/Table.fragment.xml +1 -1
- package/src/sap/fe/templates/library.js +4 -3
- package/src/sap/fe/templates/messagebundle.properties +15 -8
- package/src/sap/fe/templates/messagebundle_ar.properties +9 -6
- package/src/sap/fe/templates/messagebundle_bg.properties +9 -6
- package/src/sap/fe/templates/messagebundle_ca.properties +9 -6
- package/src/sap/fe/templates/messagebundle_cs.properties +9 -6
- package/src/sap/fe/templates/messagebundle_cy.properties +9 -6
- package/src/sap/fe/templates/messagebundle_da.properties +9 -6
- package/src/sap/fe/templates/messagebundle_de.properties +9 -6
- package/src/sap/fe/templates/messagebundle_el.properties +10 -7
- package/src/sap/fe/templates/messagebundle_en.properties +9 -6
- package/src/sap/fe/templates/messagebundle_en_GB.properties +9 -6
- package/src/sap/fe/templates/messagebundle_en_US_sappsd.properties +10 -7
- package/src/sap/fe/templates/messagebundle_en_US_saprigi.properties +10 -7
- package/src/sap/fe/templates/messagebundle_en_US_saptrc.properties +10 -7
- package/src/sap/fe/templates/messagebundle_es.properties +17 -14
- package/src/sap/fe/templates/messagebundle_es_MX.properties +9 -6
- package/src/sap/fe/templates/messagebundle_et.properties +9 -6
- package/src/sap/fe/templates/messagebundle_fi.properties +9 -6
- package/src/sap/fe/templates/messagebundle_fr.properties +10 -7
- package/src/sap/fe/templates/messagebundle_fr_CA.properties +9 -6
- package/src/sap/fe/templates/messagebundle_hi.properties +9 -6
- package/src/sap/fe/templates/messagebundle_hr.properties +10 -7
- package/src/sap/fe/templates/messagebundle_hu.properties +9 -6
- package/src/sap/fe/templates/messagebundle_id.properties +11 -8
- package/src/sap/fe/templates/messagebundle_it.properties +9 -6
- package/src/sap/fe/templates/messagebundle_iw.properties +9 -6
- package/src/sap/fe/templates/messagebundle_ja.properties +10 -7
- package/src/sap/fe/templates/messagebundle_kk.properties +9 -6
- package/src/sap/fe/templates/messagebundle_ko.properties +9 -6
- package/src/sap/fe/templates/messagebundle_lt.properties +9 -6
- package/src/sap/fe/templates/messagebundle_lv.properties +9 -6
- package/src/sap/fe/templates/messagebundle_ms.properties +9 -6
- package/src/sap/fe/templates/messagebundle_nl.properties +9 -6
- package/src/sap/fe/templates/messagebundle_no.properties +9 -6
- package/src/sap/fe/templates/messagebundle_pl.properties +9 -6
- package/src/sap/fe/templates/messagebundle_pt.properties +12 -9
- package/src/sap/fe/templates/messagebundle_pt_PT.properties +10 -7
- package/src/sap/fe/templates/messagebundle_ro.properties +9 -6
- package/src/sap/fe/templates/messagebundle_ru.properties +9 -6
- package/src/sap/fe/templates/messagebundle_sh.properties +9 -6
- package/src/sap/fe/templates/messagebundle_sk.properties +9 -6
- package/src/sap/fe/templates/messagebundle_sl.properties +9 -6
- package/src/sap/fe/templates/messagebundle_sv.properties +10 -7
- package/src/sap/fe/templates/messagebundle_th.properties +9 -6
- package/src/sap/fe/templates/messagebundle_tr.properties +10 -7
- package/src/sap/fe/templates/messagebundle_uk.properties +10 -7
- package/src/sap/fe/templates/messagebundle_vi.properties +9 -6
- package/src/sap/fe/templates/messagebundle_zh_CN.properties +9 -6
- package/src/sap/fe/templates/messagebundle_zh_TW.properties +9 -6
- package/ui5.yaml +0 -3
- package/src/sap/fe/templates/ObjectPage/view/fragments/HeaderImage.fragment.xml +0 -24
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SAPUI5
|
|
3
|
-
|
|
2
|
+
* SAP UI development toolkit for HTML5 (SAPUI5)
|
|
3
|
+
(c) Copyright 2009-2021 SAP SE. All rights reserved
|
|
4
|
+
|
|
4
5
|
*/
|
|
5
6
|
sap.ui.define(
|
|
6
7
|
[
|
|
@@ -15,6 +16,7 @@ sap.ui.define(
|
|
|
15
16
|
"use strict";
|
|
16
17
|
|
|
17
18
|
var VariantManagement = CoreLibrary.VariantManagement,
|
|
19
|
+
CreationMode = CoreLibrary.CreationMode,
|
|
18
20
|
ObjectPageComponent = TemplateComponent.extend("sap.fe.templates.ObjectPage.Component", {
|
|
19
21
|
metadata: {
|
|
20
22
|
properties: {
|
|
@@ -62,13 +64,6 @@ sap.ui.define(
|
|
|
62
64
|
type: "boolean",
|
|
63
65
|
defaultValue: true
|
|
64
66
|
},
|
|
65
|
-
/**
|
|
66
|
-
* Calls draftPrepare on draftEdit
|
|
67
|
-
*/
|
|
68
|
-
prepareOnEdit: {
|
|
69
|
-
type: "boolean",
|
|
70
|
-
defaultValue: false
|
|
71
|
-
},
|
|
72
67
|
/**
|
|
73
68
|
* Defines the properties which can be used for inbound Navigation
|
|
74
69
|
*/
|
|
@@ -86,32 +81,33 @@ sap.ui.define(
|
|
|
86
81
|
|
|
87
82
|
// TODO: this should be ideally be handled by the editflow/routing without the need to have this method in the
|
|
88
83
|
// object page - for now keep it here
|
|
89
|
-
createDeferredContext: function(sPath, bActionCreate) {
|
|
84
|
+
createDeferredContext: function(sPath, oListBinding, bActionCreate) {
|
|
90
85
|
if (!this.DeferredContextCreated) {
|
|
91
86
|
this.DeferredContextCreated = true;
|
|
92
|
-
var
|
|
93
|
-
that = this,
|
|
87
|
+
var that = this,
|
|
94
88
|
oParamters = {
|
|
95
89
|
"$$groupId": "$auto.Heroes",
|
|
96
90
|
"$$updateGroupId": "$auto"
|
|
97
91
|
};
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
92
|
+
if (!oListBinding || oListBinding.isRelative() === false) {
|
|
93
|
+
oListBinding = new ODataListBinding(
|
|
94
|
+
this.getModel(),
|
|
95
|
+
sPath.replace("(...)", ""),
|
|
96
|
+
undefined,
|
|
97
|
+
undefined,
|
|
98
|
+
undefined,
|
|
99
|
+
oParamters
|
|
100
|
+
);
|
|
101
|
+
} else {
|
|
102
|
+
oListBinding.mParameters = oParamters;
|
|
103
|
+
}
|
|
108
104
|
var oStartUpParams =
|
|
109
105
|
this.oAppComponent &&
|
|
110
106
|
this.oAppComponent.getComponentData() &&
|
|
111
107
|
this.oAppComponent.getComponentData().startupParameters,
|
|
112
108
|
oInboundParameters = this.getViewData().inboundParameters,
|
|
113
109
|
createParams;
|
|
114
|
-
if (oStartUpParams.preferredMode && oStartUpParams.preferredMode[0].indexOf("create") !== -1) {
|
|
110
|
+
if (oStartUpParams && oStartUpParams.preferredMode && oStartUpParams.preferredMode[0].indexOf("create") !== -1) {
|
|
115
111
|
createParams = CommonUtils.getAdditionalParamsForCreate(oStartUpParams, oInboundParameters);
|
|
116
112
|
}
|
|
117
113
|
|
|
@@ -119,18 +115,14 @@ sap.ui.define(
|
|
|
119
115
|
that.getRootControl()
|
|
120
116
|
.getController()
|
|
121
117
|
.editFlow.createDocument(oListBinding, {
|
|
122
|
-
creationMode:
|
|
118
|
+
creationMode: CreationMode.Sync,
|
|
123
119
|
createAction: bActionCreate,
|
|
124
120
|
data: createParams
|
|
125
121
|
})
|
|
126
122
|
.finally(function() {
|
|
127
123
|
that.DeferredContextCreated = false;
|
|
128
124
|
})
|
|
129
|
-
.catch(function() {
|
|
130
|
-
// the creation failed or was aborted by the user - showing the object page doesn't make any sense
|
|
131
|
-
// now - for now just use window.history.back to navigate back
|
|
132
|
-
window.history.back();
|
|
133
|
-
});
|
|
125
|
+
.catch(function() {});
|
|
134
126
|
}
|
|
135
127
|
},
|
|
136
128
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SAPUI5
|
|
3
|
-
|
|
2
|
+
* SAP UI development toolkit for HTML5 (SAPUI5)
|
|
3
|
+
(c) Copyright 2009-2021 SAP SE. All rights reserved
|
|
4
|
+
|
|
4
5
|
*/
|
|
5
6
|
sap.ui.define(["sap/fe/core/ExtensionAPI", "sap/fe/core/CommonUtils", "sap/fe/core/converters/helpers/ID"], function(
|
|
6
7
|
ExtensionAPI,
|
|
@@ -105,6 +106,9 @@ sap.ui.define(["sap/fe/core/ExtensionAPI", "sap/fe/core/CommonUtils", "sap/fe/co
|
|
|
105
106
|
*/
|
|
106
107
|
getSelectedContexts: function(sTableId) {
|
|
107
108
|
var oTable = this._view.byId(sTableId);
|
|
109
|
+
if (oTable && oTable.isA("sap.fe.macros.TableAPI")) {
|
|
110
|
+
oTable = oTable.getContent();
|
|
111
|
+
}
|
|
108
112
|
return (oTable && oTable.isA("sap.ui.mdc.Table") && oTable.getSelectedContexts()) || [];
|
|
109
113
|
},
|
|
110
114
|
|
|
@@ -122,6 +126,18 @@ sap.ui.define(["sap/fe/core/ExtensionAPI", "sap/fe/core/CommonUtils", "sap/fe/co
|
|
|
122
126
|
oBlock = this._view.byId(sBlockID),
|
|
123
127
|
bBlockState = bShow === undefined ? !oBlock.getShowSideContent() : bShow;
|
|
124
128
|
oBlock.setShowSideContent(bBlockState);
|
|
129
|
+
},
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Gets the bound context of the current object page.
|
|
133
|
+
*
|
|
134
|
+
* @alias sap.fe.templates.ObjectPage.ExtensionAPI#getBindingContext
|
|
135
|
+
* @returns {sap.ui.model.odata.v4.Context} Context bound to the object page
|
|
136
|
+
*
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
getBindingContext: function() {
|
|
140
|
+
return this._view.getBindingContext();
|
|
125
141
|
}
|
|
126
142
|
});
|
|
127
143
|
|
|
@@ -79,107 +79,89 @@
|
|
|
79
79
|
/>
|
|
80
80
|
</uxap:dependents>
|
|
81
81
|
<template:if test="{converterContext>header/visible}">
|
|
82
|
-
<
|
|
83
|
-
<uxap:
|
|
84
|
-
<uxap:
|
|
82
|
+
<template:with path="converterContext>header" var="header">
|
|
83
|
+
<uxap:headerTitle>
|
|
84
|
+
<uxap:ObjectPageDynamicHeaderTitle primaryArea="Begin">
|
|
85
|
+
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.Heading" type="XML" />
|
|
86
|
+
<uxap:expandedContent>
|
|
85
87
|
<FlexBox>
|
|
86
|
-
<
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
/>
|
|
94
|
-
</template:with>
|
|
95
|
-
</FlexBox>
|
|
96
|
-
</uxap:expandedHeading>
|
|
97
|
-
<uxap:snappedHeading>
|
|
98
|
-
<FlexBox>
|
|
99
|
-
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.HeaderImage" type="XML" />
|
|
100
|
-
<template:with path="entityType>@com.sap.vocabularies.UI.v1.HeaderInfo" var="headerInfo">
|
|
101
|
-
<Title
|
|
102
|
-
text="{= OPTemplating.getExpressionForTitle(${headerInfo>@@UI.getConverterContext}, ${viewData>}, ${fullContextPath>@@UI.getDataModelObjectPath}, ${entitySet>@com.sap.vocabularies.Common.v1.DraftRoot})}"
|
|
103
|
-
wrapping="true"
|
|
104
|
-
/>
|
|
105
|
-
</template:with>
|
|
88
|
+
<template:if test="{entityType>@com.sap.vocabularies.UI.v1.HeaderInfo/Description}">
|
|
89
|
+
<Label
|
|
90
|
+
text="{= OPTemplating.getExpressionForDescription(${headerInfo>@@UI.getConverterContext}, ${fullContextPath>@@UI.getDataModelObjectPath})}"
|
|
91
|
+
wrapping="true"
|
|
92
|
+
/>
|
|
93
|
+
</template:if>
|
|
94
|
+
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.CollaborationDraft" type="XML" />
|
|
106
95
|
</FlexBox>
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
<
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
/>
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
96
|
+
</uxap:expandedContent>
|
|
97
|
+
<uxap:snappedContent>
|
|
98
|
+
<FlexBox>
|
|
99
|
+
<template:if test="{entityType>@com.sap.vocabularies.UI.v1.HeaderInfo/Description}">
|
|
100
|
+
<Label
|
|
101
|
+
text="{= OPTemplating.getExpressionForDescription(${headerInfo>@@UI.getConverterContext}, ${fullContextPath>@@UI.getDataModelObjectPath})}"
|
|
102
|
+
wrapping="true"
|
|
103
|
+
/>
|
|
104
|
+
</template:if>
|
|
105
|
+
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.CollaborationDraft" type="XML" />
|
|
106
|
+
</FlexBox>
|
|
107
|
+
</uxap:snappedContent>
|
|
108
|
+
<uxap:content>
|
|
109
|
+
<template:if test="{entitySet>@com.sap.vocabularies.Common.v1.DraftRoot}">
|
|
110
|
+
<macro:DraftIndicator DraftIndicatorType="IconOnly" class="sapUiTinyMarginBegin sapMTB sapMTBNewFlex" entitySet="{entitySet>}" />
|
|
111
|
+
</template:if>
|
|
112
|
+
<template:if test="{header>situations}">
|
|
113
|
+
<internal:SituationsIndicator xmlns:internal="sap.fe.macros.internal" entitySet="{entitySet>}" />
|
|
114
|
+
</template:if>
|
|
115
|
+
</uxap:content>
|
|
116
|
+
<uxap:navigationActions>
|
|
117
|
+
<template:if test="{= ${viewData>/viewLevel} > 1}">
|
|
118
|
+
<macro:Paginator id="fe::Paginator" />
|
|
119
|
+
</template:if>
|
|
120
|
+
<!-- Flexible column layout menu-->
|
|
121
|
+
<template:if test="{= ${viewData>/fclEnabled} }">
|
|
122
|
+
<macro:FlexibleColumnLayoutActions />
|
|
123
|
+
</template:if>
|
|
124
|
+
</uxap:navigationActions>
|
|
125
|
+
<uxap:actions>
|
|
126
|
+
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.Actions" type="XML" />
|
|
127
|
+
</uxap:actions>
|
|
128
|
+
<uxap:breadcrumbs>
|
|
129
|
+
<Breadcrumbs
|
|
130
|
+
unittest:id="BreadcrumbsTest"
|
|
131
|
+
visible="{= OP.getVisibleExpressionForBreadcrumbs(${viewData>/}) }"
|
|
132
|
+
modelContextChange="._setBreadcrumbLinks(${$source>/})"
|
|
133
|
+
id="fe::Breadcrumbs"
|
|
134
|
+
>
|
|
135
|
+
</Breadcrumbs>
|
|
136
|
+
</uxap:breadcrumbs>
|
|
137
|
+
</uxap:ObjectPageDynamicHeaderTitle>
|
|
138
|
+
</uxap:headerTitle>
|
|
139
|
+
<template:if test="{header>hasContent}">
|
|
140
|
+
<uxap:headerContent>
|
|
141
|
+
<FlexBox
|
|
142
|
+
id="fe::HeaderContentContainer"
|
|
143
|
+
unittest:id="FlexBoxTest"
|
|
144
|
+
dt:designtime="sap/fe/templates/ObjectPage/designtime/FlexBox.designtime"
|
|
145
|
+
wrap="Wrap"
|
|
146
|
+
fitContainer="true"
|
|
147
|
+
alignItems="Stretch"
|
|
151
148
|
>
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
</uxap:ObjectPageDynamicHeaderTitle>
|
|
155
|
-
</uxap:headerTitle>
|
|
156
|
-
<template:if test="{converterContext>header/hasContent}">
|
|
157
|
-
<uxap:headerContent>
|
|
158
|
-
<FlexBox
|
|
159
|
-
id="fe::HeaderContentContainer"
|
|
160
|
-
unittest:id="FlexBoxTest"
|
|
161
|
-
dt:designtime="sap/fe/templates/ObjectPage/designtime/FlexBox.designtime"
|
|
162
|
-
wrap="Wrap"
|
|
163
|
-
fitContainer="true"
|
|
164
|
-
alignItems="Stretch"
|
|
165
|
-
>
|
|
166
|
-
<template:if test="{converterContext>header/avatar}">
|
|
167
|
-
<template:with path="converterContext>header/avatar" var="avatar">
|
|
168
|
-
<Avatar
|
|
149
|
+
<template:if test="{header>avatar}">
|
|
150
|
+
<Avatar
|
|
169
151
|
unittest:id="AvatarOPHeaderContent"
|
|
170
152
|
class="sapUiSmallMarginEnd sapUiSmallMarginBottom"
|
|
171
|
-
src="{avatar
|
|
172
|
-
initials="{avatar
|
|
173
|
-
fallbackIcon="{avatar
|
|
174
|
-
displayShape="{avatar
|
|
153
|
+
src="{header>avatar/src}"
|
|
154
|
+
initials="{header>avatar/initials}"
|
|
155
|
+
fallbackIcon="{header>avatar/fallbackIcon}"
|
|
156
|
+
displayShape="{header>avatar/displayShape}"
|
|
175
157
|
displaySize="XL"
|
|
176
158
|
/>
|
|
177
|
-
</template:
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
</
|
|
181
|
-
</
|
|
182
|
-
</template:
|
|
159
|
+
</template:if>
|
|
160
|
+
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.HeaderContent" type="XML" />
|
|
161
|
+
</FlexBox>
|
|
162
|
+
</uxap:headerContent>
|
|
163
|
+
</template:if>
|
|
164
|
+
</template:with>
|
|
183
165
|
</template:if>
|
|
184
166
|
<uxap:sections>
|
|
185
167
|
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.Section" type="XML" />
|