@sapui5/sap.fe.templates 1.101.0 → 1.103.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 +1 -1
- package/src/sap/fe/templates/.library +1 -1
- package/src/sap/fe/templates/AnalyticalListPage/chart/FEChartDelegate.js +2 -2
- package/src/sap/fe/templates/AnalyticalListPage/chart/FEChartDelegate.ts +1 -1
- package/src/sap/fe/templates/Feedback.js +18 -18
- package/src/sap/fe/templates/Feedback.ts +12 -12
- package/src/sap/fe/templates/ListReport/ExtensionAPI.js +15 -15
- package/src/sap/fe/templates/ListReport/ExtensionAPI.ts +19 -16
- package/src/sap/fe/templates/ListReport/ListReport.view.xml +107 -58
- package/src/sap/fe/templates/ListReport/ListReportController.controller.js +180 -70
- package/src/sap/fe/templates/ListReport/ListReportController.controller.ts +191 -88
- package/src/sap/fe/templates/ListReport/ListReportTemplating.js +45 -0
- package/src/sap/fe/templates/ListReport/ListReportTemplating.ts +30 -0
- package/src/sap/fe/templates/ListReport/overrides/IntentBasedNavigation.js +1 -1
- package/src/sap/fe/templates/ListReport/overrides/IntentBasedNavigation.ts +2 -2
- package/src/sap/fe/templates/ListReport/overrides/Share.js +9 -7
- package/src/sap/fe/templates/ListReport/overrides/Share.ts +10 -10
- package/src/sap/fe/templates/ListReport/overrides/ViewState.js +13 -6
- package/src/sap/fe/templates/ListReport/overrides/ViewState.ts +17 -11
- package/src/sap/fe/templates/ListReport/view/fragments/MultipleMode.fragment.js +1 -1
- package/src/sap/fe/templates/ListReport/view/fragments/MultipleMode.fragment.ts +1 -1
- package/src/sap/fe/templates/ObjectPage/ExtensionAPI.js +12 -16
- package/src/sap/fe/templates/ObjectPage/ExtensionAPI.ts +17 -20
- package/src/sap/fe/templates/ObjectPage/ObjectPage.view.xml +167 -20
- package/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.js +195 -206
- package/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.ts +187 -229
- package/src/sap/fe/templates/ObjectPage/ObjectPageTemplating.js +861 -0
- package/src/sap/fe/templates/ObjectPage/ObjectPageTemplating.ts +822 -0
- package/src/sap/fe/templates/ObjectPage/controls/SubSectionBlock.js +2 -3
- package/src/sap/fe/templates/ObjectPage/controls/SubSectionBlock.ts +4 -4
- package/src/sap/fe/templates/ObjectPage/designtime/StashableHBox.designtime.js +1 -1
- package/src/sap/fe/templates/ObjectPage/designtime/StashableHBox.designtime.ts +1 -1
- package/src/sap/fe/templates/ObjectPage/designtime/StashableVBox.designtime.js +1 -1
- package/src/sap/fe/templates/ObjectPage/designtime/StashableVBox.designtime.ts +1 -1
- package/src/sap/fe/templates/ObjectPage/handler/DraftHandler.js +103 -0
- package/src/sap/fe/templates/ObjectPage/handler/DraftHandler.ts +97 -0
- package/src/sap/fe/templates/ObjectPage/overrides/IntentBasedNavigation.js +1 -1
- package/src/sap/fe/templates/ObjectPage/overrides/IntentBasedNavigation.ts +5 -5
- package/src/sap/fe/templates/ObjectPage/overrides/InternalRouting.js +1 -1
- package/src/sap/fe/templates/ObjectPage/overrides/InternalRouting.ts +2 -2
- package/src/sap/fe/templates/ObjectPage/overrides/MessageHandler.js +1 -1
- package/src/sap/fe/templates/ObjectPage/overrides/MessageHandler.ts +2 -2
- package/src/sap/fe/templates/ObjectPage/overrides/Paginator.js +1 -1
- package/src/sap/fe/templates/ObjectPage/overrides/Paginator.ts +1 -1
- package/src/sap/fe/templates/ObjectPage/overrides/Share.js +17 -17
- package/src/sap/fe/templates/ObjectPage/overrides/Share.ts +19 -30
- package/src/sap/fe/templates/ObjectPage/overrides/ViewState.js +2 -2
- package/src/sap/fe/templates/ObjectPage/overrides/ViewState.ts +4 -4
- package/src/sap/fe/templates/ObjectPage/view/fragments/Actions.fragment.xml +15 -11
- package/src/sap/fe/templates/ObjectPage/view/fragments/CollaborationDraft.fragment.xml +1 -2
- package/src/sap/fe/templates/ObjectPage/view/fragments/EditableHeaderFacet.fragment.xml +25 -17
- package/src/sap/fe/templates/ObjectPage/view/fragments/FooterContent.fragment.xml +28 -24
- package/src/sap/fe/templates/ObjectPage/view/fragments/FormActionButtons.fragment.xml +15 -16
- package/src/sap/fe/templates/ObjectPage/view/fragments/FormActions.fragment.xml +1 -5
- package/src/sap/fe/templates/ObjectPage/view/fragments/HeaderDataPoint.fragment.xml +1 -2
- package/src/sap/fe/templates/ObjectPage/view/fragments/HeaderDataPointTitle.fragment.xml +1 -3
- package/src/sap/fe/templates/ObjectPage/view/fragments/HeaderFacet.fragment.xml +3 -17
- package/src/sap/fe/templates/ObjectPage/view/fragments/Heading.fragment.xml +16 -17
- package/src/sap/fe/templates/ObjectPage/view/fragments/HeadingTitle.fragment.xml +4 -3
- package/src/sap/fe/templates/ObjectPage/view/fragments/ObjectPageHeaderAddress.fragment.xml +7 -2
- package/src/sap/fe/templates/ObjectPage/view/fragments/ObjectPageHeaderContact.fragment.xml +26 -0
- package/src/sap/fe/templates/ObjectPage/view/fragments/ObjectPageHeaderForm.fragment.xml +4 -4
- package/src/sap/fe/templates/ObjectPage/view/fragments/RelatedApps.fragment.xml +7 -4
- package/src/sap/fe/templates/ObjectPage/view/fragments/Section.fragment.xml +74 -6
- package/src/sap/fe/templates/ObjectPage/view/fragments/SectionContent.fragment.xml +118 -94
- package/src/sap/fe/templates/ObjectPage/view/fragments/SectionContentLazyLoader.fragment.xml +127 -107
- package/src/sap/fe/templates/ObjectPage/view/fragments/SectionFormContent.fragment.xml +1 -0
- package/src/sap/fe/templates/ObjectPage/view/fragments/SectionMoreFormContent.fragment.xml +1 -0
- package/src/sap/fe/templates/ObjectPage/view/fragments/SwitchDraftAndActiveObjectPopOver.fragment.xml +2 -2
- package/src/sap/fe/templates/RootContainer/controller/Fcl.controller.js +102 -57
- package/src/sap/fe/templates/RootContainer/controller/Fcl.controller.ts +96 -61
- package/src/sap/fe/templates/RootContainer/controller/NavContainer.controller.js +3 -4
- package/src/sap/fe/templates/RootContainer/controller/NavContainer.controller.ts +4 -5
- package/src/sap/fe/templates/RootContainer/controller/RootContainerBaseController.js +140 -52
- package/src/sap/fe/templates/RootContainer/controller/RootContainerBaseController.ts +108 -54
- package/src/sap/fe/templates/RootContainer/overrides/EditFlow.js +1 -1
- package/src/sap/fe/templates/RootContainer/overrides/EditFlow.ts +3 -3
- package/src/sap/fe/templates/TableScroller.js +3 -3
- package/src/sap/fe/templates/TableScroller.ts +2 -2
- package/src/sap/fe/templates/controls/MacroChart.fragment.xml +1 -0
- package/src/sap/fe/templates/controls/Table.fragment.xml +4 -4
- package/src/sap/fe/templates/library.js +5 -2
- package/src/sap/fe/templates/library.ts +3 -0
- package/src/sap/fe/templates/messagebundle.properties +6 -18
- package/src/sap/fe/templates/messagebundle_ar.properties +10 -6
- package/src/sap/fe/templates/messagebundle_bg.properties +6 -2
- package/src/sap/fe/templates/messagebundle_ca.properties +10 -6
- package/src/sap/fe/templates/messagebundle_cs.properties +6 -2
- package/src/sap/fe/templates/messagebundle_cy.properties +10 -6
- package/src/sap/fe/templates/messagebundle_da.properties +10 -6
- package/src/sap/fe/templates/messagebundle_de.properties +10 -6
- package/src/sap/fe/templates/messagebundle_el.properties +10 -6
- package/src/sap/fe/templates/messagebundle_en.properties +6 -2
- package/src/sap/fe/templates/messagebundle_en_GB.properties +8 -4
- package/src/sap/fe/templates/messagebundle_en_US_sappsd.properties +13 -5
- package/src/sap/fe/templates/messagebundle_en_US_saprigi.properties +7 -3
- package/src/sap/fe/templates/messagebundle_en_US_saptrc.properties +7 -3
- package/src/sap/fe/templates/messagebundle_es.properties +6 -2
- package/src/sap/fe/templates/messagebundle_es_MX.properties +10 -6
- package/src/sap/fe/templates/messagebundle_et.properties +6 -2
- package/src/sap/fe/templates/messagebundle_fi.properties +10 -6
- package/src/sap/fe/templates/messagebundle_fr.properties +6 -2
- package/src/sap/fe/templates/messagebundle_fr_CA.properties +10 -6
- package/src/sap/fe/templates/messagebundle_hi.properties +10 -6
- package/src/sap/fe/templates/messagebundle_hr.properties +10 -6
- package/src/sap/fe/templates/messagebundle_hu.properties +6 -2
- package/src/sap/fe/templates/messagebundle_id.properties +6 -2
- package/src/sap/fe/templates/messagebundle_it.properties +10 -6
- package/src/sap/fe/templates/messagebundle_iw.properties +10 -6
- package/src/sap/fe/templates/messagebundle_ja.properties +6 -2
- package/src/sap/fe/templates/messagebundle_kk.properties +10 -6
- package/src/sap/fe/templates/messagebundle_ko.properties +6 -2
- package/src/sap/fe/templates/messagebundle_lt.properties +6 -2
- package/src/sap/fe/templates/messagebundle_lv.properties +6 -2
- package/src/sap/fe/templates/messagebundle_ms.properties +10 -6
- package/src/sap/fe/templates/messagebundle_nl.properties +6 -2
- package/src/sap/fe/templates/messagebundle_no.properties +10 -6
- package/src/sap/fe/templates/messagebundle_pl.properties +10 -6
- package/src/sap/fe/templates/messagebundle_pt.properties +6 -2
- package/src/sap/fe/templates/messagebundle_pt_PT.properties +6 -2
- package/src/sap/fe/templates/messagebundle_ro.properties +10 -6
- package/src/sap/fe/templates/messagebundle_ru.properties +10 -6
- package/src/sap/fe/templates/messagebundle_sh.properties +6 -2
- package/src/sap/fe/templates/messagebundle_sk.properties +6 -2
- package/src/sap/fe/templates/messagebundle_sl.properties +10 -6
- package/src/sap/fe/templates/messagebundle_sv.properties +6 -2
- package/src/sap/fe/templates/messagebundle_th.properties +10 -6
- package/src/sap/fe/templates/messagebundle_tr.properties +6 -2
- package/src/sap/fe/templates/messagebundle_uk.properties +6 -2
- package/src/sap/fe/templates/messagebundle_vi.properties +10 -6
- package/src/sap/fe/templates/messagebundle_zh_CN.properties +10 -6
- package/src/sap/fe/templates/messagebundle_zh_TW.properties +10 -6
- package/src/sap/fe/templates/ObjectPage/AnnotationHelper.js +0 -482
- package/src/sap/fe/templates/ObjectPage/AnnotationHelper.ts +0 -511
- package/src/sap/fe/templates/ObjectPage/templating/ObjectPageTemplating.js +0 -120
- package/src/sap/fe/templates/ObjectPage/templating/ObjectPageTemplating.ts +0 -138
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
|
|
12
12
|
xmlns:formdata="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1"
|
|
13
13
|
template:require="{
|
|
14
|
-
OP: 'sap/fe/templates/ObjectPage/
|
|
14
|
+
OP: 'sap/fe/templates/ObjectPage/ObjectPageTemplating',
|
|
15
15
|
MODEL: 'sap/ui/model/odata/v4/AnnotationHelper',
|
|
16
16
|
FIELD: 'sap/fe/macros/field/FieldHelper',
|
|
17
17
|
ID: 'sap/fe/core/helpers/StableIdHelper',
|
|
@@ -37,9 +37,11 @@
|
|
|
37
37
|
<f:FormContainer
|
|
38
38
|
unittest:id="HeaderInfoFormContainerTest"
|
|
39
39
|
id="fe::EditableHeaderForm::EditableHeaderInfo"
|
|
40
|
-
title="{sap.fe.i18n>T_COMMON_OBJECT_PAGE_OBJECT_INFO}"
|
|
41
40
|
visible="{= OP.getVisiblityOfHeaderFacet(${entityType>@com.sap.vocabularies.UI.v1.HeaderInfo/Title/Value/$Path@},${entityType>@com.sap.vocabularies.UI.v1.HeaderInfo/Description/Value/$Path@},${entityType>@com.sap.vocabularies.UI.v1.HeaderInfo/Title/Value/$Path@@FIELD.fieldControl},${entityType>@com.sap.vocabularies.UI.v1.HeaderInfo/Description/Value/$Path@@FIELD.fieldControl}) }"
|
|
42
41
|
>
|
|
42
|
+
<f:title>
|
|
43
|
+
<core:Title level="H4" text="{sap.fe.i18n>T_COMMON_OBJECT_PAGE_OBJECT_INFO}" />
|
|
44
|
+
</f:title>
|
|
43
45
|
<f:dependents>
|
|
44
46
|
<macro:ValueHelp
|
|
45
47
|
idPrefix="fe::EditableHeaderForm::EditableHeaderTitle::FieldValueHelp"
|
|
@@ -71,25 +73,25 @@
|
|
|
71
73
|
</f:fields>
|
|
72
74
|
</f:FormElement>
|
|
73
75
|
<template:if test="{entityType>@com.sap.vocabularies.UI.v1.HeaderInfo/Description}">
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
76
|
+
<f:FormElement id="fe::EditableHeaderForm::EditableHeaderDescription">
|
|
77
|
+
<f:label>
|
|
78
|
+
<Label text="{entityType>@com.sap.vocabularies.UI.v1.HeaderInfo/Description/@@MODEL.label}">
|
|
79
|
+
<layoutData>
|
|
80
|
+
<f:ColumnElementData cellsLarge="12" />
|
|
81
|
+
</layoutData>
|
|
82
|
+
</Label>
|
|
83
|
+
</f:label>
|
|
84
|
+
<f:fields>
|
|
85
|
+
<internalMacro:Field
|
|
84
86
|
idPrefix="fe::EditableHeaderForm::EditableHeaderDescription"
|
|
85
87
|
vhIdPrefix="fe::EditableHeaderForm::EditableHeaderDescription::FieldValueHelp"
|
|
86
88
|
entitySet="{entitySet>}"
|
|
87
89
|
dataField="{entityType>@com.sap.vocabularies.UI.v1.HeaderInfo/Description}"
|
|
88
90
|
>
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
<internalMacro:formatOptions textAlignMode="Form" showEmptyIndicator="true" />
|
|
92
|
+
</internalMacro:Field>
|
|
93
|
+
</f:fields>
|
|
94
|
+
</f:FormElement>
|
|
93
95
|
</template:if>
|
|
94
96
|
</f:formElements>
|
|
95
97
|
</f:FormContainer>
|
|
@@ -111,6 +113,7 @@
|
|
|
111
113
|
id="{= ${formContainer>id} ? ID.generate(['fe', 'HeaderFacet', 'FormContainer', ${formContainer>id} ]) : undefined }"
|
|
112
114
|
designtimeSettings="{= ${subSection>flexSettings/designtime} === 'Default' ? 'sap/fe/macros/FormContainer.designtime' : ${subSection>flexSettings/designtime}}"
|
|
113
115
|
title="{facet>@@MODEL.label}"
|
|
116
|
+
titleLevel="H4"
|
|
114
117
|
displayMode="Edit"
|
|
115
118
|
entitySet="{targetEntitySet>}"
|
|
116
119
|
navigationPath="{= MODEL.getNavigationPath(${facet>Target/$AnnotationPath}) ? MODEL.getNavigationPath(${facet>Target/$AnnotationPath}) : ''}"
|
|
@@ -124,6 +127,7 @@
|
|
|
124
127
|
id="{= ${formContainer>id} ? ID.generate(['fe', 'HeaderFacet', 'FormContainer', ${formContainer>id} ]) : undefined }"
|
|
125
128
|
designtimeSettings="{= ${subSection>flexSettings/designtime} === 'Default' ? 'sap/fe/macros/FormContainer.designtime' : ${subSection>flexSettings/designtime}}"
|
|
126
129
|
title="{facet>@@MODEL.label}"
|
|
130
|
+
titleLevel="H4"
|
|
127
131
|
displayMode="Edit"
|
|
128
132
|
entitySet="{entitySet>}"
|
|
129
133
|
dataFieldCollection="{formContainer>formElements}"
|
|
@@ -137,10 +141,14 @@
|
|
|
137
141
|
<template:else>
|
|
138
142
|
<f:FormContainer
|
|
139
143
|
id="{= ${subSection>id} ? ID.generate([${subSection>id}, 'CustomFormContainer', ${subSection>}]) : undefined }"
|
|
140
|
-
title="{subSection>title}"
|
|
141
144
|
visible="{subSection>visible}"
|
|
142
145
|
dt:designtime="{= ${subSection>flexSettings/designtime} === 'Default' ? 'sap/ui/layout/designtime/form/FormContainer.designtime' : ${subSection>flexSettings/designtime}}"
|
|
143
146
|
>
|
|
147
|
+
<template:if test="{subSection>title}">
|
|
148
|
+
<f:title>
|
|
149
|
+
<core:Title level="H4" text="{subSection>title}" />
|
|
150
|
+
</f:title>
|
|
151
|
+
</template:if>
|
|
144
152
|
<f:formElements>
|
|
145
153
|
<fpm:CustomFragment
|
|
146
154
|
id="{= ${subSection>id} ? ID.generate([${subSection>id}, 'CustomFragment', ${subSection>}]) : undefined }"
|
|
@@ -6,24 +6,24 @@
|
|
|
6
6
|
xmlns:core="sap.ui.core"
|
|
7
7
|
template:require="{
|
|
8
8
|
ID: 'sap/fe/core/helpers/StableIdHelper',
|
|
9
|
-
CORE: 'sap/fe/core/AnnotationHelper',
|
|
10
9
|
MODEL: 'sap/ui/model/odata/v4/AnnotationHelper',
|
|
11
|
-
OP: 'sap/fe/templates/ObjectPage/
|
|
10
|
+
OP: 'sap/fe/templates/ObjectPage/ObjectPageTemplating',
|
|
12
11
|
COMMON: 'sap/fe/macros/CommonHelper',
|
|
13
12
|
UI: 'sap/fe/core/templating/UIFormatters',
|
|
14
|
-
CRIT: 'sap/fe/core/templating/CriticalityFormatters'
|
|
15
|
-
OPTemplating: 'sap/fe/templates/ObjectPage/templating/ObjectPageTemplating'
|
|
13
|
+
CRIT: 'sap/fe/core/templating/CriticalityFormatters'
|
|
16
14
|
}"
|
|
17
15
|
>
|
|
18
|
-
|
|
19
16
|
<OverflowToolbar
|
|
20
17
|
unittest:id="OverflowToolbarTest"
|
|
21
18
|
id="fe::FooterBar"
|
|
22
19
|
asyncMode="true"
|
|
23
|
-
visible="{=
|
|
20
|
+
visible="{= OP.getFooterVisible(${converterContext>footerActions}, ${entityType>./@com.sap.vocabularies.UI.v1.Identification})}"
|
|
24
21
|
>
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
<core:InvisibleText
|
|
23
|
+
id="fe::FooterBar::MessageButton::AriaText"
|
|
24
|
+
text="{sap.fe.i18n>C_COMMON_SAPFE_ERROR_MESSAGES_PAGE_BUTTON_ARIA_TEXT}"
|
|
25
|
+
/>
|
|
26
|
+
<common:MessageButton
|
|
27
27
|
id="fe::FooterBar::MessageButton"
|
|
28
28
|
messageChange="_getFooterVisibility"
|
|
29
29
|
ariaLabelledBy="fe::FooterBar::MessageButton::AriaText"
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
ariaHasPopup="Dialog"
|
|
32
32
|
/>
|
|
33
33
|
<ToolbarSpacer />
|
|
34
|
-
|
|
34
|
+
<template:if
|
|
35
35
|
test="{= ${entitySet>@com.sap.vocabularies.Common.v1.DraftRoot} || ${entitySet>@com.sap.vocabularies.Common.v1.DraftNode}
|
|
36
36
|
|| COMMON.isDraftParentEntityForContainment(${entitySet>$ContainsTarget}, undefined, ${converterContext>}) }"
|
|
37
37
|
>
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
<DraftIndicator state="{ui>/draftStatus}" />
|
|
39
|
+
</template:if>
|
|
40
40
|
<template:if test="{converterContext>footerActions}">
|
|
41
41
|
<template:repeat list="{converterContext>footerActions}" var="footerAction">
|
|
42
42
|
<template:if test="{= ${footerAction>type} === 'DefaultApply'}">
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
unittest:id="ApplyActionTest"
|
|
46
46
|
id="fe::FooterBar::StandardAction::Apply"
|
|
47
47
|
text="{sap.fe.i18n>T_COMMON_OBJECT_PAGE_APPLY_DRAFT}"
|
|
48
|
-
type="{path: 'entitySet>./@com.sap.vocabularies.UI.v1.Identification', formatter: '
|
|
48
|
+
type="{path: 'entitySet>./@com.sap.vocabularies.UI.v1.Identification', formatter: 'OP.buildEmphasizedButtonExpression'}"
|
|
49
49
|
enabled="true"
|
|
50
50
|
press="._applyDocument(${$view>/getBindingContext})"
|
|
51
51
|
visible="{ui>/isEditable}"
|
|
@@ -54,22 +54,26 @@
|
|
|
54
54
|
<template:elseif test="{= ${footerAction>type} === 'ForAction'}">
|
|
55
55
|
<template:with path="footerAction>annotationPath" var="dataField">
|
|
56
56
|
<template:if test="{= !(${dataField>./@com.sap.vocabularies.UI.v1.Hidden} === true) }">
|
|
57
|
-
<template:if
|
|
57
|
+
<template:if
|
|
58
|
+
test="{= ${dataField>$Type} === 'com.sap.vocabularies.UI.v1.DataFieldForAction' && ${dataField>Determining} === true}"
|
|
59
|
+
>
|
|
58
60
|
<template:with path="dataField>Action" helper="COMMON.getActionContext" var="actionContext">
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
61
|
+
<template:with path="dataField>Action" helper="COMMON.getPathToBoundActionOverload" var="isBound">
|
|
62
|
+
<template:if
|
|
63
|
+
test="{= ${isBound>$IsBound} !== true || ${actionContext>@Org.OData.Core.V1.OperationAvailable} !== false }"
|
|
64
|
+
>
|
|
65
|
+
<Button
|
|
62
66
|
unittest:id="AnnotationActionTest"
|
|
63
67
|
id="{= ID.generate(['fe', 'FooterBar', ${dataField>}] )}"
|
|
64
68
|
text="{dataField>Label}"
|
|
65
69
|
ariaHasPopup="{actionContext>@@COMMON.isDialog}"
|
|
66
|
-
press="{= OP.getPressExpressionForFooterAnnotationAction(${dataField>}, ${entitySet>@sapui.name}, ${footerAction>}) }"
|
|
70
|
+
press="{= ${footerAction>command} ? ('cmd:' + ${footerAction>command}) : OP.getPressExpressionForFooterAnnotationAction(${dataField>}, ${entitySet>@sapui.name}, ${footerAction>}) }"
|
|
67
71
|
visible="{footerAction>visible}"
|
|
68
72
|
enabled="{footerAction>enabled}"
|
|
69
73
|
type="{= CRIT.buildExpressionForCriticalityButtonType(${dataField>@@UI.getDataModelObjectPath}) }"
|
|
70
74
|
/>
|
|
71
|
-
|
|
72
|
-
|
|
75
|
+
</template:if>
|
|
76
|
+
</template:with>
|
|
73
77
|
</template:with>
|
|
74
78
|
</template:if>
|
|
75
79
|
</template:if>
|
|
@@ -79,9 +83,9 @@
|
|
|
79
83
|
<Button
|
|
80
84
|
unittest:id="PrimaryActionTest"
|
|
81
85
|
id="fe::FooterBar::StandardAction::Save"
|
|
82
|
-
text="{=
|
|
86
|
+
text="{= OP.getExpressionForSaveButton(${viewData>}, ${fullContextPath>@@UI.getDataModelObjectPath})}"
|
|
83
87
|
tooltip="{= COMMON.getTooltipForKeyboardShortcuts(${sap.fe.i18n>T_KEYBOARD_SHORTCUT_SAVE_WIN}, ${sap.fe.i18n>T_KEYBOARD_SHORTCUT_SAVE_MAC})}"
|
|
84
|
-
type="{path: 'entitySet>./@com.sap.vocabularies.UI.v1.Identification', formatter: '
|
|
88
|
+
type="{path: 'entitySet>./@com.sap.vocabularies.UI.v1.Identification', formatter: 'OP.buildEmphasizedButtonExpression'}"
|
|
85
89
|
visible="{ui>/isEditable}"
|
|
86
90
|
enabled="true"
|
|
87
91
|
press="cmd:Save"
|
|
@@ -91,7 +95,7 @@
|
|
|
91
95
|
<Button
|
|
92
96
|
unittest:id="SecondaryActionTest"
|
|
93
97
|
id="fe::FooterBar::StandardAction::Cancel"
|
|
94
|
-
text="{sap.fe.i18n>C_COMMON_OBJECT_PAGE_CANCEL}"
|
|
98
|
+
text="{= ${entitySet>@com.sap.vocabularies.Common.v1.DraftRoot} ? ${sap.fe.i18n>C_COMMON_OBJECT_PAGE_DISCARD_DRAFT} : ${sap.fe.i18n>C_COMMON_OBJECT_PAGE_CANCEL} }"
|
|
95
99
|
press="cmd:Cancel"
|
|
96
100
|
visible="{ui>/isEditable}"
|
|
97
101
|
ariaHasPopup="Dialog"
|
|
@@ -102,13 +106,13 @@
|
|
|
102
106
|
</layoutData>
|
|
103
107
|
</Button>
|
|
104
108
|
</template:elseif>
|
|
105
|
-
<template:elseif test="{=
|
|
109
|
+
<template:elseif test="{= OP.isManifestAction(${footerAction>}) }">
|
|
106
110
|
<Button
|
|
107
111
|
unittest:id="ManifestActionTest"
|
|
108
112
|
core:require="{FPM: 'sap/fe/core/helpers/FPMHelper'}"
|
|
109
113
|
id="{= ID.generate(['fe','FooterBar',${footerAction>id}])}"
|
|
110
114
|
text="{footerAction>text}"
|
|
111
|
-
press="{=
|
|
115
|
+
press="{= ${footerAction>command} ? ('cmd:' + ${footerAction>command}) : COMMON.buildActionWrapper(${footerAction>})}"
|
|
112
116
|
type="Transparent"
|
|
113
117
|
visible="{footerAction>visible}"
|
|
114
118
|
enabled="{footerAction>enabled}"
|
|
@@ -4,11 +4,10 @@
|
|
|
4
4
|
xmlns="sap.m"
|
|
5
5
|
xmlns:core="sap.ui.core"
|
|
6
6
|
template:require="{
|
|
7
|
-
CORE: 'sap/fe/core/AnnotationHelper',
|
|
8
7
|
ID: 'sap/fe/core/helpers/StableIdHelper',
|
|
9
8
|
COMMON: 'sap/fe/macros/CommonHelper'
|
|
10
9
|
}"
|
|
11
|
-
>
|
|
10
|
+
>
|
|
12
11
|
<template:if test="{= ${action>type} === 'Menu'}">
|
|
13
12
|
<template:then>
|
|
14
13
|
<MenuButton
|
|
@@ -22,41 +21,41 @@
|
|
|
22
21
|
<menu>
|
|
23
22
|
<Menu>
|
|
24
23
|
<template:repeat list="{action>menu}" var="menuItemAction">
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
<template:if test="{= ${menuItemAction>type} === 'Default'}">
|
|
25
|
+
<template:then>
|
|
26
|
+
<MenuItem
|
|
28
27
|
core:require="{FPM: 'sap/fe/core/helpers/FPMHelper'}"
|
|
29
28
|
id="{= ID.generate(['fe',${menuItemAction>id}])}"
|
|
30
29
|
text="{menuItemAction>text}"
|
|
31
|
-
press="{=
|
|
30
|
+
press="{= ${menuItemAction>command} ? ('cmd:' + ${menuItemAction>command}) : COMMON.buildActionWrapper(${menuItemAction>})}"
|
|
32
31
|
visible="{menuItemAction>visible}"
|
|
33
32
|
enabled="{menuItemAction>enabled}"
|
|
34
|
-
/>
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
/>
|
|
34
|
+
</template:then>
|
|
35
|
+
<template:else>
|
|
36
|
+
<MenuItem
|
|
38
37
|
id="{menuItemAction>id}"
|
|
39
38
|
binding="{menuItemAction>binding}"
|
|
40
39
|
text="{menuItemAction>text}"
|
|
41
|
-
press="{menuItemAction>press}"
|
|
40
|
+
press="{= ${menuItemAction>command} ? ('cmd:' + ${menuItemAction>command}) : ${menuItemAction>press}}"
|
|
42
41
|
ariaHasPopup="{menuItemAction>requiresDialog}"
|
|
43
42
|
visible="{menuItemAction>visible}"
|
|
44
43
|
enabled="{menuItemAction>enabled}"
|
|
45
44
|
macrodata:IBNData="{menuItemAction>customData}"
|
|
46
45
|
/>
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
</template:else>
|
|
47
|
+
</template:if>
|
|
49
48
|
</template:repeat>
|
|
50
49
|
</Menu>
|
|
51
50
|
</menu>
|
|
52
51
|
</MenuButton>
|
|
53
|
-
</template:then>
|
|
52
|
+
</template:then>
|
|
54
53
|
<template:elseif test="{= ${action>type} === 'Default'}">
|
|
55
54
|
<Button
|
|
56
55
|
core:require="{FPM: 'sap/fe/core/helpers/FPMHelper'}"
|
|
57
56
|
id="{= ID.generate(['fe',${action>id}])}"
|
|
58
57
|
text="{action>text}"
|
|
59
|
-
press="{=
|
|
58
|
+
press="{= ${action>command} ? ('cmd:' + ${action>command}) : COMMON.buildActionWrapper(${action>})}"
|
|
60
59
|
type="Transparent"
|
|
61
60
|
visible="{action>visible}"
|
|
62
61
|
enabled="{action>enabled}"
|
|
@@ -67,7 +66,7 @@
|
|
|
67
66
|
id="{action>id}"
|
|
68
67
|
binding="{action>binding}"
|
|
69
68
|
text="{action>text}"
|
|
70
|
-
press="{action>press}"
|
|
69
|
+
press="{= ${action>command} ? ('cmd:' + ${action>command}) : ${action>press}}"
|
|
71
70
|
type="{action>buttonType}"
|
|
72
71
|
ariaHasPopup="{action>requiresDialog}"
|
|
73
72
|
visible="{action>visible}"
|
|
@@ -3,9 +3,6 @@
|
|
|
3
3
|
xmlns="sap.m"
|
|
4
4
|
xmlns:core="sap.ui.core"
|
|
5
5
|
xmlns:uxap="sap.uxap"
|
|
6
|
-
template:require="{
|
|
7
|
-
AH: 'sap/fe/templates/ObjectPage/AnnotationHelper'
|
|
8
|
-
}"
|
|
9
6
|
>
|
|
10
7
|
<!--
|
|
11
8
|
This Fragment renders Action buttons in Sections.
|
|
@@ -17,8 +14,7 @@
|
|
|
17
14
|
-->
|
|
18
15
|
<uxap:actions>
|
|
19
16
|
<template:repeat list="{subSection>actions}" var="action">
|
|
20
|
-
|
|
17
|
+
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.FormActionButtons" type="XML" />
|
|
21
18
|
</template:repeat>
|
|
22
19
|
</uxap:actions>
|
|
23
|
-
|
|
24
20
|
</core:FragmentDefinition>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
xmlns:unittest="http://schemas.sap.com/sapui5/preprocessorextension/sap.fe.unittesting/1"
|
|
7
7
|
template:require="{
|
|
8
8
|
ID: 'sap/fe/core/helpers/StableIdHelper',
|
|
9
|
-
OP: 'sap/fe/templates/ObjectPage/
|
|
9
|
+
OP: 'sap/fe/templates/ObjectPage/ObjectPageTemplating',
|
|
10
10
|
MODEL: 'sap/ui/model/odata/v4/AnnotationHelper',
|
|
11
11
|
MESSAGE: 'sap/base/strings/formatMessage',
|
|
12
12
|
FIELD: 'sap/fe/macros/field/FieldHelper',
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
UI: 'sap/fe/core/templating/UIFormatters'
|
|
15
15
|
}"
|
|
16
16
|
>
|
|
17
|
-
|
|
18
17
|
<VBox
|
|
19
18
|
id="{= ID.generate(['fe', 'HeaderFacet', ${converterHeaderFacet>headerDataPointData/type} !== 'Content' ? ${converterHeaderFacet>headerDataPointData/type} : 'KeyFigure', { Facet: ${headerFacet>} }]) }"
|
|
20
19
|
>
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
MODEL: 'sap/ui/model/odata/v4/AnnotationHelper',
|
|
9
9
|
COMMON: 'sap/fe/macros/CommonHelper',
|
|
10
10
|
FIELD: 'sap/fe/macros/field/FieldHelper',
|
|
11
|
-
OP: 'sap/fe/templates/ObjectPage/
|
|
11
|
+
OP: 'sap/fe/templates/ObjectPage/ObjectPageTemplating'
|
|
12
12
|
}"
|
|
13
13
|
>
|
|
14
14
|
<template:if
|
|
@@ -44,8 +44,6 @@
|
|
|
44
44
|
class="sapUiTinyMarginBottom"
|
|
45
45
|
visible="{= COMMON.getHeaderDataPointLinkVisibility(ID.generate(['fe', 'HeaderDPLink', ${converterHeaderFacet>targetAnnotationValue}]), false, ${dataPoint>@@FIELD.isNotAlwaysHidden}) }"
|
|
46
46
|
/>
|
|
47
|
-
|
|
48
|
-
|
|
49
47
|
</template:then>
|
|
50
48
|
<template:elseif
|
|
51
49
|
test="{= ${viewData>controlConfiguration}[${converterHeaderFacet>targetAnnotationValue}]['navigation']['targetSections'] }"
|
|
@@ -10,9 +10,8 @@
|
|
|
10
10
|
xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
|
|
11
11
|
template:require="{
|
|
12
12
|
MODEL: 'sap/ui/model/odata/v4/AnnotationHelper',
|
|
13
|
-
CORE: 'sap/fe/core/AnnotationHelper',
|
|
14
13
|
COMMON: 'sap/fe/macros/CommonHelper',
|
|
15
|
-
OP: 'sap/fe/templates/ObjectPage/
|
|
14
|
+
OP: 'sap/fe/templates/ObjectPage/ObjectPageTemplating',
|
|
16
15
|
ID: 'sap/fe/core/helpers/StableIdHelper'
|
|
17
16
|
}"
|
|
18
17
|
>
|
|
@@ -35,7 +34,7 @@
|
|
|
35
34
|
</template:then>
|
|
36
35
|
<template:elseif test="{= ${converterHeaderFacet>targetAnnotationType} === 'Chart'}">
|
|
37
36
|
<template:with path="headerFacet>Target/$AnnotationPath" var="collection" helper="MODEL.resolve$Path">
|
|
38
|
-
<template:with path="collection>" var="collection" helper="
|
|
37
|
+
<template:with path="collection>" var="collection" helper="COMMON.getNavigationContext">
|
|
39
38
|
<internalMacro:MicroChart
|
|
40
39
|
unittest:id="macroMicroChart"
|
|
41
40
|
id="{= ID.generate(['fe', 'HeaderFacet', 'MicroChart', { Facet: ${headerFacet>} }]) }"
|
|
@@ -57,20 +56,7 @@
|
|
|
57
56
|
</template:with>
|
|
58
57
|
</template:elseif>
|
|
59
58
|
<template:elseif test="{= ${converterHeaderFacet>targetAnnotationType} === 'Contact'}">
|
|
60
|
-
<
|
|
61
|
-
<template:with path="collection>" var="collection" helper="CORE.getNavigationContext">
|
|
62
|
-
<VBox id="{= ID.generate(['fe', 'HeaderFacet', 'Contact', { Facet: ${headerFacet>} }]) }" displayInline="true">
|
|
63
|
-
<template:if test="{headerFacet>@@MODEL.label}">
|
|
64
|
-
<Title text="{headerFacet>@@MODEL.label}" class="sapUiSmallMarginBottom" />
|
|
65
|
-
</template:if>
|
|
66
|
-
<template:with path="headerFacet>Target/$AnnotationPath" var="contact">
|
|
67
|
-
<template:with path="headerFacet>Target/$AnnotationPath@@COMMON.getMetaPath" var="contactPath">
|
|
68
|
-
<macro:Contact contact="{contact>}" visible="true" />
|
|
69
|
-
</template:with>
|
|
70
|
-
</template:with>
|
|
71
|
-
</VBox>
|
|
72
|
-
</template:with>
|
|
73
|
-
</template:with>
|
|
59
|
+
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.ObjectPageHeaderContact" type="XML" />
|
|
74
60
|
</template:elseif>
|
|
75
61
|
<template:elseif test="{= ${converterHeaderFacet>targetAnnotationType} === 'Address'}">
|
|
76
62
|
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.ObjectPageHeaderAddress" type="XML" />
|
|
@@ -5,29 +5,28 @@
|
|
|
5
5
|
xmlns:unittest="http://schemas.sap.com/sapui5/preprocessorextension/sap.fe.unittesting/1"
|
|
6
6
|
xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
|
|
7
7
|
template:require="{
|
|
8
|
-
OPTemplating: 'sap/fe/templates/ObjectPage/templating/ObjectPageTemplating',
|
|
9
8
|
UI: 'sap/fe/core/templating/UIFormatters'
|
|
10
9
|
}"
|
|
11
10
|
>
|
|
12
11
|
<template:with path="entityType>@com.sap.vocabularies.UI.v1.HeaderInfo" var="headerInfo">
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
<template:with path="header>avatar" var="avatar">
|
|
13
|
+
<uxap:expandedHeading>
|
|
14
|
+
<FlexBox>
|
|
15
|
+
<FlexBox visible="{header>title/expandedImageVisible}">
|
|
16
|
+
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.HeadingAvatar" type="XML" />
|
|
17
|
+
</FlexBox>
|
|
18
|
+
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.HeadingTitle" type="XML" />
|
|
19
|
+
</FlexBox>
|
|
20
|
+
</uxap:expandedHeading>
|
|
21
|
+
<uxap:snappedHeading>
|
|
22
|
+
<FlexBox>
|
|
17
23
|
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.HeadingAvatar" type="XML" />
|
|
24
|
+
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.HeadingTitle" type="XML" />
|
|
18
25
|
</FlexBox>
|
|
26
|
+
</uxap:snappedHeading>
|
|
27
|
+
<uxap:snappedTitleOnMobile>
|
|
19
28
|
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.HeadingTitle" type="XML" />
|
|
20
|
-
</
|
|
21
|
-
</
|
|
22
|
-
<uxap:snappedHeading>
|
|
23
|
-
<FlexBox>
|
|
24
|
-
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.HeadingAvatar" type="XML" />
|
|
25
|
-
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.HeadingTitle" type="XML" />
|
|
26
|
-
</FlexBox>
|
|
27
|
-
</uxap:snappedHeading>
|
|
28
|
-
<uxap:snappedTitleOnMobile>
|
|
29
|
-
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.HeadingTitle" type="XML" />
|
|
30
|
-
</uxap:snappedTitleOnMobile>
|
|
31
|
-
</template:with>
|
|
29
|
+
</uxap:snappedTitleOnMobile>
|
|
30
|
+
</template:with>
|
|
32
31
|
</template:with>
|
|
33
32
|
</core:FragmentDefinition>
|
|
@@ -5,14 +5,15 @@
|
|
|
5
5
|
xmlns:unittest="http://schemas.sap.com/sapui5/preprocessorextension/sap.fe.unittesting/1"
|
|
6
6
|
xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
|
|
7
7
|
template:require="{
|
|
8
|
-
|
|
8
|
+
OP: 'sap/fe/templates/ObjectPage/ObjectPageTemplating',
|
|
9
9
|
UI: 'sap/fe/core/templating/UIFormatters'
|
|
10
10
|
}"
|
|
11
11
|
>
|
|
12
12
|
<template:with path="entityType>@com.sap.vocabularies.UI.v1.HeaderInfo" var="headerInfo">
|
|
13
|
-
|
|
14
|
-
text="{=
|
|
13
|
+
<Title
|
|
14
|
+
text="{= OP.getExpressionForTitle(${headerInfo>@@UI.getConverterContext}, ${viewData>}, ${fullContextPath>@@UI.getDataModelObjectPath}, ${entitySet>@com.sap.vocabularies.Common.v1.DraftRoot})}"
|
|
15
15
|
wrapping="true"
|
|
16
|
+
level="H2"
|
|
16
17
|
/>
|
|
17
18
|
</template:with>
|
|
18
19
|
</core:FragmentDefinition>
|
|
@@ -13,8 +13,13 @@
|
|
|
13
13
|
>
|
|
14
14
|
<template:with path="headerFacet>Target/$AnnotationPath/" var="addressPath">
|
|
15
15
|
<VBox id="{= ${converterHeaderFacet>headerFormData/id} }" displayInline="true">
|
|
16
|
-
<Title text="{headerFacet>Label}" />
|
|
17
|
-
<Text
|
|
16
|
+
<Title level="H3" text="{headerFacet>Label}" />
|
|
17
|
+
<Text
|
|
18
|
+
unittest:id="ObjectPageHeaderAddressTest"
|
|
19
|
+
renderWhitespace="true"
|
|
20
|
+
class="sapMLabel"
|
|
21
|
+
text="{addressPath>label@@MODEL.format}"
|
|
22
|
+
/>
|
|
18
23
|
</VBox>
|
|
19
24
|
</template:with>
|
|
20
25
|
</core:FragmentDefinition>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<core:FragmentDefinition
|
|
2
|
+
xmlns="sap.m"
|
|
3
|
+
xmlns:core="sap.ui.core"
|
|
4
|
+
xmlns:macro="sap.fe.macros"
|
|
5
|
+
xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
|
|
6
|
+
template:require="{
|
|
7
|
+
MODEL: 'sap/ui/model/odata/v4/AnnotationHelper',
|
|
8
|
+
COMMON: 'sap/fe/macros/CommonHelper',
|
|
9
|
+
ID: 'sap/fe/core/helpers/StableIdHelper'
|
|
10
|
+
}"
|
|
11
|
+
>
|
|
12
|
+
<template:with path="headerFacet>Target/$AnnotationPath" var="collection" helper="MODEL.resolve$Path">
|
|
13
|
+
<template:with path="collection>" var="collection" helper="COMMON.getNavigationContext">
|
|
14
|
+
<VBox id="{= ID.generate(['fe', 'HeaderFacet', 'Contact', { Facet: ${headerFacet>} }]) }" displayInline="true">
|
|
15
|
+
<template:if test="{headerFacet>@@MODEL.label}">
|
|
16
|
+
<Title level="H3" text="{headerFacet>@@MODEL.label}" class="sapUiSmallMarginBottom" />
|
|
17
|
+
</template:if>
|
|
18
|
+
<template:with path="headerFacet>Target/$AnnotationPath" var="contact">
|
|
19
|
+
<template:with path="headerFacet>Target/$AnnotationPath@@COMMON.getMetaPath" var="contactPath">
|
|
20
|
+
<macro:Contact contact="{contact>}" visible="true" />
|
|
21
|
+
</template:with>
|
|
22
|
+
</template:with>
|
|
23
|
+
</VBox>
|
|
24
|
+
</template:with>
|
|
25
|
+
</template:with>
|
|
26
|
+
</core:FragmentDefinition>
|
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
template:require="{
|
|
8
8
|
MODEL: 'sap/ui/model/odata/v4/AnnotationHelper',
|
|
9
9
|
ID: 'sap/fe/core/helpers/StableIdHelper',
|
|
10
|
-
OP: 'sap/fe/templates/ObjectPage/
|
|
10
|
+
OP: 'sap/fe/templates/ObjectPage/ObjectPageTemplating',
|
|
11
11
|
FIELD: 'sap/fe/macros/field/FieldHelper'
|
|
12
12
|
}"
|
|
13
13
|
>
|
|
14
14
|
<VBox id="{= ${converterHeaderFacet>headerFormData/id} }" displayInline="true">
|
|
15
15
|
<template:if test="{converterHeaderFacet>headerFormData/label}">
|
|
16
|
-
<Title text="{converterHeaderFacet>headerFormData/label}" class="sapUiSmallMarginBottom" />
|
|
16
|
+
<Title level="H3" text="{converterHeaderFacet>headerFormData/label}" class="sapUiSmallMarginBottom" />
|
|
17
17
|
</template:if>
|
|
18
18
|
<template:if test="{= OP.doesFieldGroupContainOnlyOneMultiLineDataField(${converterHeaderFacet>headerFormData/formElements})}">
|
|
19
19
|
<template:then>
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
dataField="{dataField>}"
|
|
51
51
|
ariaLabelledBy="{= ID.generate([ ${formElement>idPrefix}, 'Label'])}"
|
|
52
52
|
>
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
<internalMacro:formatOptions textAlignMode="Form" showEmptyIndicator="true" />
|
|
54
|
+
</internalMacro:Field>
|
|
55
55
|
</HBox>
|
|
56
56
|
</template:with>
|
|
57
57
|
</template:then>
|
|
@@ -3,8 +3,12 @@
|
|
|
3
3
|
xmlns:customData="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1"
|
|
4
4
|
xmlns:core="sap.ui.core"
|
|
5
5
|
>
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
<MenuButton
|
|
7
|
+
id="fe::RelatedApps"
|
|
8
|
+
text="{sap.fe.i18n>T_OP_RELATED_APPS}"
|
|
9
|
+
binding="{internal>relatedApps}"
|
|
10
|
+
visible="{internal>visibility}"
|
|
11
|
+
>
|
|
8
12
|
<menu>
|
|
9
13
|
<Menu items="{path: 'internal>items', sorter: { path: 'text' }}">
|
|
10
14
|
<items>
|
|
@@ -12,11 +16,10 @@
|
|
|
12
16
|
text="{internal>text}"
|
|
13
17
|
customData:targetSemObject="{internal>targetSemObject}"
|
|
14
18
|
customData:targetAction="{internal>targetAction}"
|
|
15
|
-
press="._intentBasedNavigation.navigate(${internal>targetSemObject}, ${internal>targetAction})"
|
|
19
|
+
press="._intentBasedNavigation.navigate(${internal>targetSemObject}, ${internal>targetAction}, ${internal>targetParams})"
|
|
16
20
|
/>
|
|
17
21
|
</items>
|
|
18
22
|
</Menu>
|
|
19
23
|
</menu>
|
|
20
24
|
</MenuButton>
|
|
21
|
-
|
|
22
25
|
</core:FragmentDefinition>
|