@sapui5/sap.fe.macros 1.124.7 → 1.124.8

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.fe.macros",
3
- "version": "1.124.7",
3
+ "version": "1.124.8",
4
4
  "description": "SAPUI5 Library sap.fe.macros",
5
5
  "keywords": [
6
6
  "sapui5",
@@ -6,7 +6,7 @@
6
6
  SAP UI development toolkit for HTML5 (SAPUI5)
7
7
  (c) Copyright 2009-2021 SAP SE. All rights reserved
8
8
  </copyright>
9
- <version>1.124.7</version>
9
+ <version>1.124.8</version>
10
10
 
11
11
  <documentation>UI5 library: sap.fe.macros</documentation>
12
12
 
@@ -25,7 +25,7 @@ sap.ui.define(["sap/fe/core/library", "sap/fe/macros/coreUI/factory", "sap/fe/ma
25
25
  controls: [],
26
26
  elements: [],
27
27
  // eslint-disable-next-line no-template-curly-in-string
28
- version: "1.124.7",
28
+ version: "1.124.8",
29
29
  noLibraryCSS: true,
30
30
  extensions: {
31
31
  flChangeHandlers: {
@@ -12,40 +12,68 @@
12
12
  }"
13
13
  >
14
14
  <template:if test="{entityType>./@com.sap.vocabularies.UI.v1.QuickViewFacets}">
15
- <f:SimpleForm editable="false" layout="ResponsiveGridLayout" maxContainerCols="1" class="sapMQuickViewPage">
16
- <template:repeat list="{entityType>./@com.sap.vocabularies.UI.v1.QuickViewFacets}" var="facet">
17
- <template:if test="{= ${facet>Target/$AnnotationPath}.indexOf('com.sap.vocabularies.Communication.v1.Contact') > -1 }">
18
- <template:then>
19
- <template:with path="facet>Target/$AnnotationPath" var="contact">
15
+ <template:repeat list="{entityType>./@com.sap.vocabularies.UI.v1.QuickViewFacets}" var="facet">
16
+ <template:if test="{= ${facet>Target/$AnnotationPath}.indexOf('com.sap.vocabularies.Communication.v1.Contact') > -1 }">
17
+ <template:then>
18
+ <template:with path="facet>Target/$AnnotationPath" var="contact">
19
+ <f:SimpleForm
20
+ editable="false"
21
+ layout="ResponsiveGridLayout"
22
+ maxContainerCols="1"
23
+ class="sapMQuickViewPage sapUiTinyMarginBottom"
24
+ visible="{= UI.isQuickViewFacetVisible(${facet>@@UI.getDataModelObjectPath}) }"
25
+ >
20
26
  <core:Title text="{sap.fe.i18n>POPOVER_CONTACT_SECTION_TITLE}" class="sapUiTinyMarginBottom" />
21
27
  <contact:TeamContactOptions mail="{= CONTACT.getMsTeamsMail(${contact>@@UI.getDataModelObjectPath})}" />
22
28
  <core:Fragment fragmentName="sap.fe.macros.contact.ContactQuickViewGroup" type="XML" />
23
- </template:with>
24
- </template:then>
25
- <template:elseif test="{= (${facet>Target/$AnnotationPath}.indexOf('com.sap.vocabularies.UI.v1.FieldGroup') > -1)}">
26
- <template:with path="facet>Target/$AnnotationPath" var="fieldGroup">
29
+ </f:SimpleForm>
30
+ </template:with>
31
+ </template:then>
32
+ <template:elseif test="{= (${facet>Target/$AnnotationPath}.indexOf('com.sap.vocabularies.UI.v1.FieldGroup') > -1)}">
33
+ <template:with path="facet>Target/$AnnotationPath" var="fieldGroup">
34
+ <f:SimpleForm
35
+ editable="false"
36
+ layout="ResponsiveGridLayout"
37
+ maxContainerCols="1"
38
+ class="sapMQuickViewPage sapUiTinyMarginBottom"
39
+ visible="{= UI.isQuickViewFacetVisible(${facet>@@UI.getDataModelObjectPath}) }"
40
+ >
27
41
  <template:if test="{= !!${facet>Label} }">
28
42
  <core:Title text="{facet>Label}" />
29
43
  </template:if>
30
44
  <template:repeat list="{fieldGroup>Data}" var="dataField">
31
45
  <core:Fragment fragmentName="sap.fe.macros.quickView.fragments.QuickViewFormField" type="XML" />
32
46
  </template:repeat>
33
- </template:with>
34
- </template:elseif>
35
- <template:elseif
36
- test="{= (${facet>Target/$AnnotationPath}.indexOf('com.sap.vocabularies.UI.v1.Identification') > -1) }"
37
- >
38
- <template:with path="facet>Target/$AnnotationPath" var="identification">
47
+ </f:SimpleForm>
48
+ </template:with>
49
+ </template:elseif>
50
+ <template:elseif test="{= (${facet>Target/$AnnotationPath}.indexOf('com.sap.vocabularies.UI.v1.Identification') > -1) }">
51
+ <template:with path="facet>Target/$AnnotationPath" var="identification">
52
+ <f:SimpleForm
53
+ editable="false"
54
+ layout="ResponsiveGridLayout"
55
+ maxContainerCols="1"
56
+ class="sapMQuickViewPage sapUiTinyMarginBottom"
57
+ visible="{= UI.isQuickViewFacetVisible(${facet>@@UI.getDataModelObjectPath}) }"
58
+ >
39
59
  <template:if test="{= !!${facet>Label} }">
40
60
  <core:Title text="{facet>Label}" />
41
61
  </template:if>
42
62
  <template:repeat list="{identification>}" var="dataField">
43
63
  <core:Fragment fragmentName="sap.fe.macros.quickView.fragments.QuickViewFormField" type="XML" />
44
64
  </template:repeat>
45
- </template:with>
46
- </template:elseif>
47
- <template:elseif test="{= (${facet>Target/$AnnotationPath}.indexOf('com.sap.vocabularies.UI.v1.DataPoint') > -1) }">
48
- <template:with path="facet>Target/$AnnotationPath" var="dataPoint">
65
+ </f:SimpleForm>
66
+ </template:with>
67
+ </template:elseif>
68
+ <template:elseif test="{= (${facet>Target/$AnnotationPath}.indexOf('com.sap.vocabularies.UI.v1.DataPoint') > -1) }">
69
+ <template:with path="facet>Target/$AnnotationPath" var="dataPoint">
70
+ <f:SimpleForm
71
+ editable="false"
72
+ layout="ResponsiveGridLayout"
73
+ maxContainerCols="1"
74
+ class="sapMQuickViewPage sapUiTinyMarginBottom"
75
+ visible="{= UI.isQuickViewFacetVisible(${facet>@@UI.getDataModelObjectPath}) }"
76
+ >
49
77
  <template:if test="{= !!${facet>Label} }">
50
78
  <core:Title text="{facet>Label}" />
51
79
  </template:if>
@@ -53,10 +81,10 @@
53
81
  <Text
54
82
  text="{= ${dataPoint>TargetValue@@MODEL.format} ? ${dataPoint>Value@@MODEL.format}+'/'+${dataPoint>TargetValue@@MODEL.format} : ${dataPoint>Value@@MODEL.format} }"
55
83
  />
56
- </template:with>
57
- </template:elseif>
58
- </template:if>
59
- </template:repeat>
60
- </f:SimpleForm>
84
+ </f:SimpleForm>
85
+ </template:with>
86
+ </template:elseif>
87
+ </template:if>
88
+ </template:repeat>
61
89
  </template:if>
62
90
  </core:FragmentDefinition>