@sapui5/sap.fe.templates 1.120.16 → 1.120.18
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/manifest.json +1 -1
- package/src/sap/fe/templates/ListReport/manifest.json +1 -1
- package/src/sap/fe/templates/ObjectPage/ObjectPage.view.xml +14 -10
- package/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.js +10 -12
- package/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.ts +10 -15
- package/src/sap/fe/templates/ObjectPage/ObjectPageTemplating.js +22 -2
- package/src/sap/fe/templates/ObjectPage/ObjectPageTemplating.ts +21 -0
- package/src/sap/fe/templates/ObjectPage/manifest.json +1 -1
- package/src/sap/fe/templates/ObjectPage/view/fragments/FooterContent.block.js +7 -6
- package/src/sap/fe/templates/ObjectPage/view/fragments/FooterContent.block.tsx +8 -5
- package/src/sap/fe/templates/library.js +1 -1
package/package.json
CHANGED
|
@@ -76,16 +76,20 @@
|
|
|
76
76
|
command="DeleteObject"
|
|
77
77
|
/>
|
|
78
78
|
<template:if test="{= ${viewData>/viewLevel} === 1}">
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
<control:CommandExecution
|
|
80
|
+
execute="{= ${entitySet>@@OP.getPressExpressionForSave}}"
|
|
81
|
+
visible="{ui>/isEditable}"
|
|
82
|
+
command="Save"
|
|
83
|
+
/>
|
|
84
|
+
</template:if>
|
|
81
85
|
<control:CommandExecution execute="._validateDocument" visible="{ui>/isEditable}" command="Validate" />
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
</template:if>
|
|
86
|
+
<template:if test="{= ${viewData>/viewLevel} === 1}">
|
|
87
|
+
<control:CommandExecution
|
|
88
|
+
execute="._cancelDocument({cancelButton:'fe::FooterBar::StandardAction::Cancel'})"
|
|
89
|
+
visible="{ui>/isEditable}"
|
|
90
|
+
command="Cancel"
|
|
91
|
+
/>
|
|
92
|
+
</template:if>
|
|
89
93
|
<control:CommandExecution execute="{converterContext>primaryAction}" command="FE_PrimaryAction" />
|
|
90
94
|
<template:repeat list="{converterContext>headerCommandActions}" var="headerAction">
|
|
91
95
|
<template:with path="headerAction>annotationPath" var="dataField">
|
|
@@ -131,7 +135,7 @@
|
|
|
131
135
|
<template:if test="{converterContext>header/visible}">
|
|
132
136
|
<template:with path="converterContext>header" var="header">
|
|
133
137
|
<uxap:headerTitle>
|
|
134
|
-
<uxap:ObjectPageDynamicHeaderTitle primaryArea="Begin" areaShrinkRatio="1:0:
|
|
138
|
+
<uxap:ObjectPageDynamicHeaderTitle primaryArea="Begin" areaShrinkRatio="1:0:0.2">
|
|
135
139
|
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.Heading" type="XML" />
|
|
136
140
|
<uxap:content>
|
|
137
141
|
<template:if test="{entitySet>@com.sap.vocabularies.Common.v1.DraftRoot}">
|