@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.
Files changed (24) hide show
  1. package/package.json +2 -3
  2. package/src/sap/fe/templates/.library +1 -1
  3. package/src/sap/fe/templates/ListReport/Component.js +7 -0
  4. package/src/sap/fe/templates/ListReport/ListReport.view.xml +71 -25
  5. package/src/sap/fe/templates/ListReport/ListReportController.controller.js +50 -23
  6. package/src/sap/fe/templates/ListReport/overrides/IntentBasedNavigation.js +6 -2
  7. package/src/sap/fe/templates/ListReport/overrides/Share.js +47 -37
  8. package/src/sap/fe/templates/ObjectPage/AnnotationHelper.js +74 -160
  9. package/src/sap/fe/templates/ObjectPage/Component.js +0 -4
  10. package/src/sap/fe/templates/ObjectPage/ObjectPage.view.xml +6 -4
  11. package/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.js +34 -49
  12. package/src/sap/fe/templates/ObjectPage/overrides/Share.js +95 -66
  13. package/src/sap/fe/templates/ObjectPage/overrides/ViewState.js +3 -0
  14. package/src/sap/fe/templates/ObjectPage/templating/ObjectPageTemplating.js +21 -6
  15. package/src/sap/fe/templates/ObjectPage/templating/ObjectPageTemplating.ts +21 -17
  16. package/src/sap/fe/templates/ObjectPage/view/fragments/Actions.fragment.xml +4 -4
  17. package/src/sap/fe/templates/ObjectPage/view/fragments/EditableHeaderFacet.fragment.xml +55 -49
  18. package/src/sap/fe/templates/ObjectPage/view/fragments/FooterContent.fragment.xml +1 -1
  19. package/src/sap/fe/templates/ObjectPage/view/fragments/HeaderContent.fragment.xml +2 -2
  20. package/src/sap/fe/templates/ObjectPage/view/fragments/HeaderFacet.fragment.xml +0 -1
  21. package/src/sap/fe/templates/ObjectPage/view/fragments/HeaderFacetCustomContainer.fragment.xml +14 -26
  22. package/src/sap/fe/templates/RootContainer/controller/RootContainerBaseController.js +2 -2
  23. package/src/sap/fe/templates/library.js +1 -1
  24. package/src/sap/fe/templates/messagebundle.properties +3 -3
@@ -23,31 +23,19 @@
23
23
  binding="{converterHeaderFacet>binding}"
24
24
  stashed="{converterHeaderFacet>stashed}"
25
25
  >
26
- <template:if test="{= ${converterHeaderFacet>type} === 'XMLFragment'}">
27
- <template:then>
28
- <VBox displayInline="true">
29
- <template:if test="{= !!${converterHeaderFacet>title} &amp;&amp; !!${converterHeaderFacet>subTitle} }">
30
- <template:then>
31
- <Title level="H3" text="{converterHeaderFacet>title}" />
32
- <Text text="{converterHeaderFacet>subTitle}" class="sapUiSmallMarginBottom" />
33
- </template:then>
34
- <template:elseif test="{= !!${converterHeaderFacet>title} }">
35
- <Title level="H3" text="{converterHeaderFacet>title}" class="sapUiSmallMarginBottom" />
36
- </template:elseif>
37
- </template:if>
38
- <fpm:CustomFragment
39
- id="{converterHeaderFacet>id}"
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} &amp;&amp; !!${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
- var sTitle = aTitleInfoHierarchyShell[aTitleInfoHierarchy.length - 1].title;
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
  })
@@ -46,7 +46,7 @@ sap.ui.define(
46
46
  interfaces: [],
47
47
  controls: [],
48
48
  elements: [],
49
- version: "1.92.0",
49
+ version: "1.93.3",
50
50
  noLibraryCSS: true
51
51
  });
52
52
  if (!sap.fe.templates.ObjectPage) {
@@ -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,15: Text for the 'Display Saved Version' Button
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