@sapui5/sap.fe.templates 1.102.3 → 1.105.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 +4 -5
- package/src/sap/fe/templates/.library +1 -1
- package/src/sap/fe/templates/AnalyticalListPage/Component.js +2 -2
- 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/ListComponent.js +2 -2
- package/src/sap/fe/templates/ListReport/Component.js +2 -2
- package/src/sap/fe/templates/ListReport/ExtensionAPI.js +13 -14
- package/src/sap/fe/templates/ListReport/ExtensionAPI.ts +11 -13
- package/src/sap/fe/templates/ListReport/ListReport.view.xml +12 -74
- package/src/sap/fe/templates/ListReport/ListReportController.controller.js +95 -392
- package/src/sap/fe/templates/ListReport/ListReportController.controller.ts +99 -367
- package/src/sap/fe/templates/ListReport/ListReportTemplating.js +1 -1
- package/src/sap/fe/templates/ListReport/controls/MultipleModeControl.js +471 -0
- package/src/sap/fe/templates/ListReport/controls/MultipleModeControl.ts +347 -0
- package/src/sap/fe/templates/ListReport/overrides/IntentBasedNavigation.js +16 -9
- package/src/sap/fe/templates/ListReport/overrides/IntentBasedNavigation.ts +17 -11
- package/src/sap/fe/templates/ListReport/overrides/Share.js +3 -4
- package/src/sap/fe/templates/ListReport/overrides/Share.ts +6 -7
- package/src/sap/fe/templates/ListReport/overrides/ViewState.js +22 -31
- package/src/sap/fe/templates/ListReport/overrides/ViewState.ts +33 -37
- package/src/sap/fe/templates/ListReport/view/fragments/Chart.fragment.xml +3 -0
- package/src/sap/fe/templates/ListReport/view/fragments/CollectionVisualization.fragment.xml +11 -5
- package/src/sap/fe/templates/{controls → ListReport/view/fragments}/MacroChart.fragment.xml +3 -2
- package/src/sap/fe/templates/ListReport/view/fragments/MultipleMode.fragment.js +20 -4
- package/src/sap/fe/templates/ListReport/view/fragments/MultipleMode.fragment.ts +80 -48
- package/src/sap/fe/templates/{controls → ListReport/view/fragments}/Table.fragment.xml +6 -5
- package/src/sap/fe/templates/ListReport/view/fragments/VariantManagement.fragment.xml +31 -0
- package/src/sap/fe/templates/ObjectPage/Component.js +2 -2
- package/src/sap/fe/templates/ObjectPage/ExtensionAPI.js +21 -20
- package/src/sap/fe/templates/ObjectPage/ExtensionAPI.ts +23 -22
- package/src/sap/fe/templates/ObjectPage/ObjectPage.view.xml +52 -146
- package/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.js +303 -268
- package/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.ts +191 -242
- package/src/sap/fe/templates/ObjectPage/ObjectPageTemplating.js +72 -71
- package/src/sap/fe/templates/ObjectPage/ObjectPageTemplating.ts +81 -88
- package/src/sap/fe/templates/ObjectPage/components/DraftHandlerButton.js +178 -0
- package/src/sap/fe/templates/ObjectPage/components/DraftHandlerButton.tsx +132 -0
- package/src/sap/fe/templates/ObjectPage/controls/StashableHBox.js +2 -2
- package/src/sap/fe/templates/ObjectPage/controls/StashableVBox.js +2 -2
- package/src/sap/fe/templates/ObjectPage/controls/SubSectionBlock.js +3 -4
- package/src/sap/fe/templates/ObjectPage/controls/SubSectionBlock.ts +4 -4
- package/src/sap/fe/templates/ObjectPage/designtime/FlexBox.designtime.js +1 -1
- 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/flexibility/StashableHBox.flexibility.js +1 -1
- package/src/sap/fe/templates/ObjectPage/flexibility/StashableVBox.flexibility.js +1 -1
- package/src/sap/fe/templates/ObjectPage/overrides/IntentBasedNavigation.js +1 -1
- package/src/sap/fe/templates/ObjectPage/overrides/IntentBasedNavigation.ts +6 -6
- 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 +67 -41
- package/src/sap/fe/templates/ObjectPage/overrides/Share.ts +44 -56
- 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 +3 -10
- package/src/sap/fe/templates/ObjectPage/view/fragments/Chart.fragment.xml +13 -0
- package/src/sap/fe/templates/ObjectPage/view/fragments/EditableHeaderFacet.fragment.xml +15 -5
- package/src/sap/fe/templates/ObjectPage/view/fragments/FooterContent.fragment.xml +1 -1
- package/src/sap/fe/templates/ObjectPage/view/fragments/HeaderDataPoint.fragment.xml +1 -1
- package/src/sap/fe/templates/ObjectPage/view/fragments/HeaderFacet.fragment.xml +1 -14
- package/src/sap/fe/templates/ObjectPage/view/fragments/Heading.fragment.xml +2 -2
- package/src/sap/fe/templates/ObjectPage/view/fragments/HeadingTitle.fragment.xml +3 -0
- package/src/sap/fe/templates/ObjectPage/view/fragments/MacroChart.fragment.xml +22 -0
- 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 +8 -3
- package/src/sap/fe/templates/ObjectPage/view/fragments/Section.fragment.xml +12 -50
- package/src/sap/fe/templates/ObjectPage/view/fragments/SectionContent.fragment.xml +6 -2
- 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/SectionPresentationVisualization.fragment.xml +1 -1
- package/src/sap/fe/templates/ObjectPage/view/fragments/Table.fragment.xml +23 -0
- package/src/sap/fe/templates/RootContainer/controller/Fcl.controller.js +26 -29
- package/src/sap/fe/templates/RootContainer/controller/Fcl.controller.ts +30 -33
- package/src/sap/fe/templates/RootContainer/controller/NavContainer.controller.js +4 -5
- package/src/sap/fe/templates/RootContainer/controller/NavContainer.controller.ts +4 -5
- package/src/sap/fe/templates/RootContainer/controller/RootContainerBaseController.js +141 -53
- 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/library.js +7 -3
- package/src/sap/fe/templates/library.ts +5 -0
- package/src/sap/fe/templates/messagebundle.properties +7 -22
- package/src/sap/fe/templates/messagebundle_ar.properties +3 -12
- package/src/sap/fe/templates/messagebundle_bg.properties +2 -11
- package/src/sap/fe/templates/messagebundle_ca.properties +2 -11
- package/src/sap/fe/templates/messagebundle_cs.properties +3 -12
- package/src/sap/fe/templates/messagebundle_cy.properties +2 -11
- package/src/sap/fe/templates/messagebundle_da.properties +3 -12
- package/src/sap/fe/templates/messagebundle_de.properties +2 -11
- package/src/sap/fe/templates/messagebundle_el.properties +2 -11
- package/src/sap/fe/templates/messagebundle_en.properties +2 -11
- package/src/sap/fe/templates/messagebundle_en_GB.properties +2 -11
- package/src/sap/fe/templates/messagebundle_en_US_sappsd.properties +2 -11
- package/src/sap/fe/templates/messagebundle_en_US_saprigi.properties +2 -11
- package/src/sap/fe/templates/messagebundle_en_US_saptrc.properties +2 -11
- package/src/sap/fe/templates/messagebundle_es.properties +0 -9
- package/src/sap/fe/templates/messagebundle_es_MX.properties +2 -11
- package/src/sap/fe/templates/messagebundle_et.properties +0 -9
- package/src/sap/fe/templates/messagebundle_fi.properties +2 -11
- package/src/sap/fe/templates/messagebundle_fr.properties +3 -12
- package/src/sap/fe/templates/messagebundle_fr_CA.properties +2 -11
- package/src/sap/fe/templates/messagebundle_hi.properties +2 -11
- package/src/sap/fe/templates/messagebundle_hr.properties +2 -11
- package/src/sap/fe/templates/messagebundle_hu.properties +2 -11
- package/src/sap/fe/templates/messagebundle_id.properties +2 -11
- package/src/sap/fe/templates/messagebundle_it.properties +2 -11
- package/src/sap/fe/templates/messagebundle_iw.properties +2 -11
- package/src/sap/fe/templates/messagebundle_ja.properties +2 -11
- package/src/sap/fe/templates/messagebundle_kk.properties +2 -11
- package/src/sap/fe/templates/messagebundle_ko.properties +2 -11
- package/src/sap/fe/templates/messagebundle_lt.properties +2 -11
- package/src/sap/fe/templates/messagebundle_lv.properties +2 -11
- package/src/sap/fe/templates/messagebundle_ms.properties +2 -11
- package/src/sap/fe/templates/messagebundle_nl.properties +2 -11
- package/src/sap/fe/templates/messagebundle_no.properties +0 -9
- package/src/sap/fe/templates/messagebundle_pl.properties +0 -9
- package/src/sap/fe/templates/messagebundle_pt.properties +3 -12
- package/src/sap/fe/templates/messagebundle_pt_PT.properties +2 -11
- package/src/sap/fe/templates/messagebundle_ro.properties +0 -9
- package/src/sap/fe/templates/messagebundle_ru.properties +2 -11
- package/src/sap/fe/templates/messagebundle_sh.properties +2 -11
- package/src/sap/fe/templates/messagebundle_sk.properties +2 -11
- package/src/sap/fe/templates/messagebundle_sl.properties +2 -11
- package/src/sap/fe/templates/messagebundle_sv.properties +2 -11
- package/src/sap/fe/templates/messagebundle_th.properties +1 -10
- package/src/sap/fe/templates/messagebundle_tr.properties +2 -11
- package/src/sap/fe/templates/messagebundle_uk.properties +2 -11
- package/src/sap/fe/templates/messagebundle_vi.properties +0 -9
- package/src/sap/fe/templates/messagebundle_zh_CN.properties +0 -9
- package/src/sap/fe/templates/messagebundle_zh_TW.properties +2 -11
- package/src/sap/fe/templates/ListReport/view/fragments/MultipleModeOld.fragment.xml +0 -50
- package/src/sap/fe/templates/ObjectPage/view/fragments/SwitchDraftAndActiveObjectPopOver.fragment.xml +0 -27
- package/src/sap/fe/templates/controls/Chart.fragment.xml +0 -25
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core">
|
|
2
|
+
<VBox fitContainer="true" alignItems="Stretch" alignContent="Stretch" justifyContent="Start" renderType="Div">
|
|
3
|
+
<MessageStrip
|
|
4
|
+
text="{sap.fe.i18n>C_MULTIVIZ_CHART_IGNORED_FILTER_DRAFT_DATA}"
|
|
5
|
+
type="Information"
|
|
6
|
+
showIcon="true"
|
|
7
|
+
showCloseButton="true"
|
|
8
|
+
class="sapUiSmallMargin"
|
|
9
|
+
visible="{='{= ${internal>controls/showMessageStrip/' + (${visualizationDefinition>entityName}) + (${visualizationDefinition>type}) + '} }' }"
|
|
10
|
+
/>
|
|
11
|
+
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.MacroChart" type="XML" />
|
|
12
|
+
</VBox>
|
|
13
|
+
</core:FragmentDefinition>
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
id="fe::EditableHeaderForm"
|
|
28
28
|
editable="true"
|
|
29
29
|
class="sapUxAPObjectPageSubSectionAlignContent"
|
|
30
|
-
formdata:navigationPath="{=
|
|
30
|
+
formdata:navigationPath="{= COMMON.getNavigationPath(${entitySet>}) }"
|
|
31
31
|
formdata:entitySet="{entitySet>@sapui.name}"
|
|
32
32
|
>
|
|
33
33
|
<f:layout>
|
|
@@ -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"
|
|
@@ -111,8 +113,10 @@
|
|
|
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
|
+
contextPath="{targetEntitySet>}"
|
|
119
|
+
metaPath="{formContainer>annotationPath}"
|
|
116
120
|
navigationPath="{= MODEL.getNavigationPath(${facet>Target/$AnnotationPath}) ? MODEL.getNavigationPath(${facet>Target/$AnnotationPath}) : ''}"
|
|
117
121
|
dataFieldCollection="{formContainer>formElements}"
|
|
118
122
|
visible="{subSection>visible}"
|
|
@@ -124,8 +128,10 @@
|
|
|
124
128
|
id="{= ${formContainer>id} ? ID.generate(['fe', 'HeaderFacet', 'FormContainer', ${formContainer>id} ]) : undefined }"
|
|
125
129
|
designtimeSettings="{= ${subSection>flexSettings/designtime} === 'Default' ? 'sap/fe/macros/FormContainer.designtime' : ${subSection>flexSettings/designtime}}"
|
|
126
130
|
title="{facet>@@MODEL.label}"
|
|
131
|
+
titleLevel="H4"
|
|
127
132
|
displayMode="Edit"
|
|
128
|
-
|
|
133
|
+
contextPath="{entitySet>}"
|
|
134
|
+
metaPath="{formContainer>annotationPath}"
|
|
129
135
|
dataFieldCollection="{formContainer>formElements}"
|
|
130
136
|
visible="{subSection>visible}"
|
|
131
137
|
/>
|
|
@@ -137,10 +143,14 @@
|
|
|
137
143
|
<template:else>
|
|
138
144
|
<f:FormContainer
|
|
139
145
|
id="{= ${subSection>id} ? ID.generate([${subSection>id}, 'CustomFormContainer', ${subSection>}]) : undefined }"
|
|
140
|
-
title="{subSection>title}"
|
|
141
146
|
visible="{subSection>visible}"
|
|
142
147
|
dt:designtime="{= ${subSection>flexSettings/designtime} === 'Default' ? 'sap/ui/layout/designtime/form/FormContainer.designtime' : ${subSection>flexSettings/designtime}}"
|
|
143
148
|
>
|
|
149
|
+
<template:if test="{subSection>title}">
|
|
150
|
+
<f:title>
|
|
151
|
+
<core:Title level="H4" text="{subSection>title}" />
|
|
152
|
+
</f:title>
|
|
153
|
+
</template:if>
|
|
144
154
|
<f:formElements>
|
|
145
155
|
<fpm:CustomFragment
|
|
146
156
|
id="{= ${subSection>id} ? ID.generate([${subSection>id}, 'CustomFragment', ${subSection>}]) : undefined }"
|
|
@@ -35,7 +35,7 @@
|
|
|
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
|
-
<DraftIndicator state="{ui>/draftStatus}" />
|
|
38
|
+
<DraftIndicator state="{ui>/draftStatus}" visible="{ui>/isEditable}" />
|
|
39
39
|
</template:if>
|
|
40
40
|
<template:if test="{converterContext>footerActions}">
|
|
41
41
|
<template:repeat list="{converterContext>footerActions}" var="footerAction">
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
>
|
|
20
20
|
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.HeaderDataPointTitle" type="XML" />
|
|
21
21
|
<internalMacro:DataPoint metaPath="{dataPoint>}" contextPath="{entitySet>}">
|
|
22
|
-
<internalMacro:formatOptions
|
|
22
|
+
<internalMacro:formatOptions dataPointStyle="large" showLabels="true" iconSize="1.375rem" />
|
|
23
23
|
</internalMacro:DataPoint>
|
|
24
24
|
</VBox>
|
|
25
25
|
</core:FragmentDefinition>
|
|
@@ -56,20 +56,7 @@
|
|
|
56
56
|
</template:with>
|
|
57
57
|
</template:elseif>
|
|
58
58
|
<template:elseif test="{= ${converterHeaderFacet>targetAnnotationType} === 'Contact'}">
|
|
59
|
-
<
|
|
60
|
-
<template:with path="collection>" var="collection" helper="COMMON.getNavigationContext">
|
|
61
|
-
<VBox id="{= ID.generate(['fe', 'HeaderFacet', 'Contact', { Facet: ${headerFacet>} }]) }" displayInline="true">
|
|
62
|
-
<template:if test="{headerFacet>@@MODEL.label}">
|
|
63
|
-
<Title text="{headerFacet>@@MODEL.label}" class="sapUiSmallMarginBottom" />
|
|
64
|
-
</template:if>
|
|
65
|
-
<template:with path="headerFacet>Target/$AnnotationPath" var="contact">
|
|
66
|
-
<template:with path="headerFacet>Target/$AnnotationPath@@COMMON.getMetaPath" var="contactPath">
|
|
67
|
-
<macro:Contact contact="{contact>}" visible="true" />
|
|
68
|
-
</template:with>
|
|
69
|
-
</template:with>
|
|
70
|
-
</VBox>
|
|
71
|
-
</template:with>
|
|
72
|
-
</template:with>
|
|
59
|
+
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.ObjectPageHeaderContact" type="XML" />
|
|
73
60
|
</template:elseif>
|
|
74
61
|
<template:elseif test="{= ${converterHeaderFacet>targetAnnotationType} === 'Address'}">
|
|
75
62
|
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.ObjectPageHeaderAddress" type="XML" />
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<template:with path="entityType>@com.sap.vocabularies.UI.v1.HeaderInfo" var="headerInfo">
|
|
12
12
|
<template:with path="header>avatar" var="avatar">
|
|
13
13
|
<uxap:expandedHeading>
|
|
14
|
-
<FlexBox>
|
|
14
|
+
<FlexBox renderType="Bare">
|
|
15
15
|
<FlexBox visible="{header>title/expandedImageVisible}">
|
|
16
16
|
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.HeadingAvatar" type="XML" />
|
|
17
17
|
</FlexBox>
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
</FlexBox>
|
|
20
20
|
</uxap:expandedHeading>
|
|
21
21
|
<uxap:snappedHeading>
|
|
22
|
-
<FlexBox>
|
|
22
|
+
<FlexBox renderType="Bare">
|
|
23
23
|
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.HeadingAvatar" type="XML" />
|
|
24
24
|
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.HeadingTitle" type="XML" />
|
|
25
25
|
</FlexBox>
|
|
@@ -10,9 +10,12 @@
|
|
|
10
10
|
}"
|
|
11
11
|
>
|
|
12
12
|
<template:with path="entityType>@com.sap.vocabularies.UI.v1.HeaderInfo" var="headerInfo">
|
|
13
|
+
<!-- <template:if test="{= !DATAFIELDHELPER.isReferencePropertyStaticallyHidden(${headerInfo>Description@@UI.getDataModelObjectPath})}"> -->
|
|
13
14
|
<Title
|
|
14
15
|
text="{= OP.getExpressionForTitle(${headerInfo>@@UI.getConverterContext}, ${viewData>}, ${fullContextPath>@@UI.getDataModelObjectPath}, ${entitySet>@com.sap.vocabularies.Common.v1.DraftRoot})}"
|
|
15
16
|
wrapping="true"
|
|
17
|
+
level="H2"
|
|
16
18
|
/>
|
|
19
|
+
<!-- </template:if> -->
|
|
17
20
|
</template:with>
|
|
18
21
|
</core:FragmentDefinition>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<core:FragmentDefinition
|
|
2
|
+
xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
|
|
3
|
+
xmlns="sap.m"
|
|
4
|
+
xmlns:macro="sap.fe.macros.internal"
|
|
5
|
+
xmlns:core="sap.ui.core"
|
|
6
|
+
template:require="{
|
|
7
|
+
HELPER: 'sap/fe/macros/chart/ChartHelper'
|
|
8
|
+
}"
|
|
9
|
+
>
|
|
10
|
+
<macro:Chart
|
|
11
|
+
id="{visualizationDefinition>id}"
|
|
12
|
+
_applyIdToContent="true"
|
|
13
|
+
contextPath="{visualizationDefinition>collection}"
|
|
14
|
+
metaPath="{presentationContext>annotationPath}"
|
|
15
|
+
chartDefinition="{visualizationDefinition>}"
|
|
16
|
+
selectionMode="Multiple"
|
|
17
|
+
personalization="{visualizationDefinition>personalization}"
|
|
18
|
+
chartDelegate="{= '{name: \'sap/fe/templates/AnalyticalListPage/chart/FEChartDelegate\', payload: { contextPath: \'' + HELPER.getCollectionName(${visualizationDefinition>collection}) + '\', parameters:{$$groupId:\'$auto.Workers\'}, selectionMode: \'Multiple\' } }' }"
|
|
19
|
+
selectionChange=".handlers.onChartSelectionChanged"
|
|
20
|
+
headerLevel='{= ${section>subSections}.length > 1 ? (${subSection>level} === 2 && ${subSection>titleVisible} ? "H6": "H5") : (${subSection>level} === 2 && ${subSection>titleVisible} ? "H5": "H4")}'
|
|
21
|
+
/>
|
|
22
|
+
</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>
|
|
@@ -13,7 +13,7 @@
|
|
|
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>
|
|
@@ -34,7 +34,12 @@
|
|
|
34
34
|
<template:if test="{= ${formElement>type} === 'Annotation' }">
|
|
35
35
|
<template:then>
|
|
36
36
|
<template:with path="formElement>annotationPath" var="dataField">
|
|
37
|
-
<HBox
|
|
37
|
+
<HBox
|
|
38
|
+
unittest:id="ObjectPageHeaderHBoxTest"
|
|
39
|
+
class="sapUiTinyMarginBottom"
|
|
40
|
+
visible="{formElement>visible}"
|
|
41
|
+
renderType="{= OP.getHeaderFormHboxRenderType(${dataField>@@UI.getDataModelObjectPath})}"
|
|
42
|
+
>
|
|
38
43
|
<Label
|
|
39
44
|
unittest:id="ObjectPageHeaderLabelTest"
|
|
40
45
|
id="{= ID.generate([ ${formElement>idPrefix}, 'Label'])}"
|
|
@@ -50,7 +55,7 @@
|
|
|
50
55
|
dataField="{dataField>}"
|
|
51
56
|
ariaLabelledBy="{= ID.generate([ ${formElement>idPrefix}, 'Label'])}"
|
|
52
57
|
>
|
|
53
|
-
<internalMacro:formatOptions textAlignMode="Form" showEmptyIndicator="true" />
|
|
58
|
+
<internalMacro:formatOptions textAlignMode="Form" showEmptyIndicator="true" fieldMode="nowrapper" />
|
|
54
59
|
</internalMacro:Field>
|
|
55
60
|
</HBox>
|
|
56
61
|
</template:with>
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
xmlns="sap.m"
|
|
9
9
|
xmlns:opcontrol="sap.fe.templates.ObjectPage.controls"
|
|
10
10
|
xmlns:control="sap.fe.core.controls"
|
|
11
|
+
xmlns:internalMacro="sap.fe.macros.internal"
|
|
11
12
|
template:require="{
|
|
12
13
|
fpm: 'sap/fe/macros/fpm/fpm',
|
|
13
14
|
MODEL: 'sap/ui/model/odata/v4/AnnotationHelper',
|
|
@@ -26,11 +27,12 @@
|
|
|
26
27
|
dt:designtime="not-adaptable-visibility"
|
|
27
28
|
id="{headerSection>id}"
|
|
28
29
|
title="{headerSection>title}"
|
|
30
|
+
titleLevel="H3"
|
|
29
31
|
visible="{headerSection>visible}"
|
|
30
32
|
titleUppercase="false"
|
|
31
33
|
>
|
|
32
34
|
<uxap:subSections>
|
|
33
|
-
<uxap:ObjectPageSubSection id="fe::EditableHeaderSubSection" title="{headerSection>title}">
|
|
35
|
+
<uxap:ObjectPageSubSection id="fe::EditableHeaderSubSection" title="{headerSection>title}" titleLevel="H4">
|
|
34
36
|
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.EditableHeaderFacet" type="XML" />
|
|
35
37
|
</uxap:ObjectPageSubSection>
|
|
36
38
|
</uxap:subSections>
|
|
@@ -43,6 +45,7 @@
|
|
|
43
45
|
dt:designtime="not-adaptable-visibility"
|
|
44
46
|
id="{section>id}"
|
|
45
47
|
title="{section>title}"
|
|
48
|
+
titleLevel="H3"
|
|
46
49
|
showTitle="{section>showTitle}"
|
|
47
50
|
titleUppercase="false"
|
|
48
51
|
visible="{section>visible}"
|
|
@@ -53,59 +56,18 @@
|
|
|
53
56
|
dt:designtime="not-adaptable-visibility"
|
|
54
57
|
id="{subSection>id}"
|
|
55
58
|
title="{subSection>title}"
|
|
59
|
+
titleLevel="H4"
|
|
56
60
|
showTitle="{subSection>showTitle}"
|
|
57
61
|
visible="{subSection>visible}"
|
|
58
62
|
>
|
|
59
63
|
<uxap:dependents>
|
|
60
|
-
<template:repeat list="{subSection>
|
|
61
|
-
<
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
<control:CommandExecution
|
|
68
|
-
core:require="{FPM: 'sap/fe/core/helpers/FPMHelper'}"
|
|
69
|
-
execute="{= COMMON.buildActionWrapper(${menuItemAction>})}"
|
|
70
|
-
visible="{menuItemAction>visible}"
|
|
71
|
-
enabled="{menuItemAction>enabled}"
|
|
72
|
-
command="{menuItemAction>command}"
|
|
73
|
-
/>
|
|
74
|
-
</template:then>
|
|
75
|
-
<template:else>
|
|
76
|
-
<control:CommandExecution
|
|
77
|
-
execute="{menuItemAction>press}"
|
|
78
|
-
visible="{menuItemAction>visible}"
|
|
79
|
-
enabled="{menuItemAction>enabled}"
|
|
80
|
-
command="{menuItemAction>command}"
|
|
81
|
-
/>
|
|
82
|
-
</template:else>
|
|
83
|
-
</template:if>
|
|
84
|
-
</template:if>
|
|
85
|
-
</template:repeat>
|
|
86
|
-
</template:then>
|
|
87
|
-
<template:elseif test="{action>command}">
|
|
88
|
-
<template:if test="{= ${action>type} === 'Default'}">
|
|
89
|
-
<template:then>
|
|
90
|
-
<control:CommandExecution
|
|
91
|
-
core:require="{FPM: 'sap/fe/core/helpers/FPMHelper'}"
|
|
92
|
-
execute="{= COMMON.buildActionWrapper(${action>})}"
|
|
93
|
-
visible="{action>visible}"
|
|
94
|
-
enabled="{action>enabled}"
|
|
95
|
-
command="{action>command}"
|
|
96
|
-
/>
|
|
97
|
-
</template:then>
|
|
98
|
-
<template:else>
|
|
99
|
-
<control:CommandExecution
|
|
100
|
-
execute="{action>press}"
|
|
101
|
-
visible="{action>visible}"
|
|
102
|
-
enabled="{action>enabled}"
|
|
103
|
-
command="{action>command}"
|
|
104
|
-
/>
|
|
105
|
-
</template:else>
|
|
106
|
-
</template:if>
|
|
107
|
-
</template:elseif>
|
|
108
|
-
</template:if>
|
|
64
|
+
<template:repeat list="{subSection>commandActions}" var="action">
|
|
65
|
+
<internalMacro:ActionCommand
|
|
66
|
+
action="{action>}"
|
|
67
|
+
onExecuteAction="{action>press}"
|
|
68
|
+
onExecuteIBN="{action>press}"
|
|
69
|
+
onExecuteManifest="{= COMMON.buildActionWrapper(${action>})}"
|
|
70
|
+
/>
|
|
109
71
|
</template:repeat>
|
|
110
72
|
</uxap:dependents>
|
|
111
73
|
<!--uxap:customData>
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
<!-- Button "Show More / Less" is displayed for a collection facets that contains at least one reference facets with annotation "PartOfPreview === TRUE" -->
|
|
104
104
|
<uxap:moreBlocks>
|
|
105
105
|
<template:if test="{= ${subSection>level} === 2}">
|
|
106
|
-
<Title text="{subSection>title}" />
|
|
106
|
+
<Title level="{= ${section>subSections}.length > 1 ? 'H5' : 'H4'}" text="{subSection>title}" />
|
|
107
107
|
</template:if>
|
|
108
108
|
<opcontrol:SubSectionBlock>
|
|
109
109
|
<opcontrol:content>
|
|
@@ -144,7 +144,11 @@
|
|
|
144
144
|
<template:elseif test="{= ${subSection>type} === 'DataVisualization'}">
|
|
145
145
|
<uxap:blocks>
|
|
146
146
|
<template:if test="{= ${subSection>level} === 2}">
|
|
147
|
-
<Title
|
|
147
|
+
<Title
|
|
148
|
+
level="{= ${section>subSections}.length > 1 ? 'H5' : 'H4'}"
|
|
149
|
+
text="{subSection>title}"
|
|
150
|
+
visible="{subSection>titleVisible}"
|
|
151
|
+
/>
|
|
148
152
|
</template:if>
|
|
149
153
|
<opcontrol:SubSectionBlock visible="{subSection>visible}">
|
|
150
154
|
<opcontrol:content>
|
|
@@ -15,5 +15,6 @@
|
|
|
15
15
|
partOfPreview="false"
|
|
16
16
|
formContainers="{subSection>formDefinition/formContainers}"
|
|
17
17
|
isVisible="{subSection>formDefinition/isVisible}"
|
|
18
|
+
titleLevel="{= ${section>subSections}.length > 1 ? (${subSection>level} === 2 ? 'H6': 'H5') : (${subSection>level} === 2 ? 'H5': 'H4')}"
|
|
18
19
|
/>
|
|
19
20
|
</core:FragmentDefinition>
|
package/src/sap/fe/templates/ObjectPage/view/fragments/SectionPresentationVisualization.fragment.xml
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<template:with path="subSection>presentation" var="presentationContext">
|
|
11
11
|
<template:with path="subSection>presentation" var="primaryVisualization">
|
|
12
12
|
<template:repeat list="{presentationContext>visualizations}" var="visualizationDefinition">
|
|
13
|
-
<core:Fragment fragmentName="sap.fe.templates.
|
|
13
|
+
<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.{visualizationDefinition>type}" type="XML" />
|
|
14
14
|
</template:repeat>
|
|
15
15
|
</template:with>
|
|
16
16
|
</template:with>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<core:FragmentDefinition
|
|
2
|
+
xmlns="sap.m"
|
|
3
|
+
xmlns:macro="sap.fe.macros.internal"
|
|
4
|
+
xmlns:core="sap.ui.core"
|
|
5
|
+
xmlns:unittest="http://schemas.sap.com/sapui5/preprocessorextension/sap.fe.unittesting/1"
|
|
6
|
+
>
|
|
7
|
+
<macro:Table
|
|
8
|
+
unittest:id="TablePropertyExpressionTest"
|
|
9
|
+
metaPath="{presentationContext>annotationPath}"
|
|
10
|
+
tableDefinition="{visualizationDefinition>}"
|
|
11
|
+
contextPath="{fullContextPath>}"
|
|
12
|
+
filterBarId="{= ${converterContext>filterBarId} ? ${converterContext>filterBarId} : undefined}"
|
|
13
|
+
busy='{= "{ui>/busyLocal/"+${visualizationDefinition>annotation/id}+"}" }'
|
|
14
|
+
onContextChange=".handlers.onTableContextChange"
|
|
15
|
+
variantSelected=".handlers.onVariantSelected"
|
|
16
|
+
variantSaved=".handlers.onVariantSaved"
|
|
17
|
+
isAlp="{converterContext>hasMultiVisualizations}"
|
|
18
|
+
onSegmentedButtonPressed="{= ${converterContext>hasMultiVisualizations} ? '.handlers.onSegmentedButtonPressed' : undefined }"
|
|
19
|
+
visible="{= ${converterContext>hasMultiVisualizations} ? '{= ${pageInternal>alpContentView} !== \'Chart\'}' : 'true' }"
|
|
20
|
+
tabTitle="{view>title}"
|
|
21
|
+
headerLevel='{= ${section>subSections}.length > 1 ? (${subSection>level} === 2 && ${subSection>titleVisible} ? "H6": "H5") : (${subSection>level} === 2 && ${subSection>titleVisible} ? "H5": "H4")}'
|
|
22
|
+
/>
|
|
23
|
+
</core:FragmentDefinition>
|