@sapui5/sap.fe.templates 1.92.0 → 1.93.3
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 +2 -3
- package/src/sap/fe/templates/.library +1 -1
- package/src/sap/fe/templates/ListReport/Component.js +7 -0
- package/src/sap/fe/templates/ListReport/ListReport.view.xml +71 -25
- package/src/sap/fe/templates/ListReport/ListReportController.controller.js +50 -23
- package/src/sap/fe/templates/ListReport/overrides/IntentBasedNavigation.js +6 -2
- package/src/sap/fe/templates/ListReport/overrides/Share.js +47 -37
- package/src/sap/fe/templates/ObjectPage/AnnotationHelper.js +74 -160
- package/src/sap/fe/templates/ObjectPage/Component.js +0 -4
- package/src/sap/fe/templates/ObjectPage/ObjectPage.view.xml +6 -4
- package/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.js +34 -49
- package/src/sap/fe/templates/ObjectPage/overrides/Share.js +95 -66
- package/src/sap/fe/templates/ObjectPage/overrides/ViewState.js +3 -0
- package/src/sap/fe/templates/ObjectPage/templating/ObjectPageTemplating.js +21 -6
- package/src/sap/fe/templates/ObjectPage/templating/ObjectPageTemplating.ts +21 -17
- package/src/sap/fe/templates/ObjectPage/view/fragments/Actions.fragment.xml +4 -4
- package/src/sap/fe/templates/ObjectPage/view/fragments/EditableHeaderFacet.fragment.xml +55 -49
- package/src/sap/fe/templates/ObjectPage/view/fragments/FooterContent.fragment.xml +1 -1
- package/src/sap/fe/templates/ObjectPage/view/fragments/HeaderContent.fragment.xml +2 -2
- package/src/sap/fe/templates/ObjectPage/view/fragments/HeaderFacet.fragment.xml +0 -1
- package/src/sap/fe/templates/ObjectPage/view/fragments/HeaderFacetCustomContainer.fragment.xml +14 -26
- package/src/sap/fe/templates/RootContainer/controller/RootContainerBaseController.js +2 -2
- package/src/sap/fe/templates/library.js +1 -1
- package/src/sap/fe/templates/messagebundle.properties +3 -3
package/src/sap/fe/templates/ObjectPage/view/fragments/HeaderFacetCustomContainer.fragment.xml
CHANGED
|
@@ -23,31 +23,19 @@
|
|
|
23
23
|
binding="{converterHeaderFacet>binding}"
|
|
24
24
|
stashed="{converterHeaderFacet>stashed}"
|
|
25
25
|
>
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
fragmentName="{converterHeaderFacet>fragmentName}"
|
|
41
|
-
contextPath="{entitySet>}"
|
|
42
|
-
/>
|
|
43
|
-
</VBox>
|
|
44
|
-
</template:then>
|
|
45
|
-
<template:else>
|
|
46
|
-
<!-- ERROR HANDLING: Unsupported Header Facet Type -->
|
|
47
|
-
<VBox width="150px" class="sapUiSmallMargin">
|
|
48
|
-
<Text text="Unsupported Facet Type: {converterHeaderFacet>type}" visible="true" wrapping="true" />
|
|
49
|
-
</VBox>
|
|
50
|
-
</template:else>
|
|
51
|
-
</template:if>
|
|
26
|
+
|
|
27
|
+
<VBox displayInline="true">
|
|
28
|
+
<template:if test="{= !!${converterHeaderFacet>title} && !!${converterHeaderFacet>subTitle} }">
|
|
29
|
+
<template:then>
|
|
30
|
+
<Title level="H3" text="{converterHeaderFacet>title}" />
|
|
31
|
+
<Text text="{converterHeaderFacet>subTitle}" class="sapUiSmallMarginBottom" />
|
|
32
|
+
</template:then>
|
|
33
|
+
<template:elseif test="{= !!${converterHeaderFacet>title} }">
|
|
34
|
+
<Title level="H3" text="{converterHeaderFacet>title}" class="sapUiSmallMarginBottom" />
|
|
35
|
+
</template:elseif>
|
|
36
|
+
</template:if>
|
|
37
|
+
<fpm:CustomFragment id="{converterHeaderFacet>id}" fragmentName="{converterHeaderFacet>fragmentName}" contextPath="{entitySet>}" />
|
|
38
|
+
</VBox>
|
|
39
|
+
|
|
52
40
|
</fe:StashableHBox>
|
|
53
41
|
</core:FragmentDefinition>
|
|
@@ -388,8 +388,8 @@ sap.ui.define(
|
|
|
388
388
|
Promise.all(aTitleInformationPromises)
|
|
389
389
|
.then(function(aTitleInfoHierarchy) {
|
|
390
390
|
// workaround for shell which is expecting all elements being of type string
|
|
391
|
-
var aTitleInfoHierarchyShell = that.ensureHierarchyElementsAreStrings(aTitleInfoHierarchy)
|
|
392
|
-
|
|
391
|
+
var aTitleInfoHierarchyShell = that.ensureHierarchyElementsAreStrings(aTitleInfoHierarchy),
|
|
392
|
+
sTitle = aTitleInfoHierarchyShell.pop().title;
|
|
393
393
|
oAppComponent.getShellServices().setHierarchy(aTitleInfoHierarchyShell.reverse());
|
|
394
394
|
oAppComponent.getShellServices().setTitle(sTitle);
|
|
395
395
|
})
|
|
@@ -39,7 +39,7 @@ T_OP_OBJECT_PAGE_CREATE=Create
|
|
|
39
39
|
# XBUT,15: Text for the 'Save' Button for Draft Handling
|
|
40
40
|
T_OP_OBJECT_PAGE_SAVE=Save
|
|
41
41
|
|
|
42
|
-
# XBUT,
|
|
42
|
+
# XBUT,45: Text for the 'Display Saved Version' Button
|
|
43
43
|
C_COMMON_OBJECT_PAGE_DISPLAY_SAVED_VERSION=Display Saved Version
|
|
44
44
|
|
|
45
45
|
# XBUT,15: Text for the 'Return to Draft' Button
|
|
@@ -100,10 +100,10 @@ T_COMMON_RATING_INDICATOR_TITLE_LABEL=Rating
|
|
|
100
100
|
#------------Paginator Buttons-----------------
|
|
101
101
|
|
|
102
102
|
# XTOT, 30: Tool-tip for Paginator UP button
|
|
103
|
-
T_PAGINATOR_CONTROL_PAGINATOR_TOOLTIP_UP=Previous
|
|
103
|
+
T_PAGINATOR_CONTROL_PAGINATOR_TOOLTIP_UP=Previous Item
|
|
104
104
|
|
|
105
105
|
# XTOT, 30: Tool-tip for Paginator DOWN button
|
|
106
|
-
T_PAGINATOR_CONTROL_PAGINATOR_TOOLTIP_DOWN=Next
|
|
106
|
+
T_PAGINATOR_CONTROL_PAGINATOR_TOOLTIP_DOWN=Next Item
|
|
107
107
|
|
|
108
108
|
#------------Designtime texts-----------------
|
|
109
109
|
|