@sapui5/sap.fe.templates 1.138.0 → 1.139.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/manifest.json +1 -1
- package/src/sap/fe/templates/ListReport/ListReport.view.xml +92 -61
- package/src/sap/fe/templates/ListReport/ListReportController.controller.js +12 -3
- package/src/sap/fe/templates/ListReport/ListReportController.controller.ts +13 -2
- package/src/sap/fe/templates/ListReport/controls/MultipleModeControl.js +36 -8
- package/src/sap/fe/templates/ListReport/controls/MultipleModeControl.ts +25 -11
- package/src/sap/fe/templates/ListReport/designtime/ListReport.designtime.js +3 -1
- package/src/sap/fe/templates/ListReport/designtime/ListReport.designtime.ts +2 -0
- package/src/sap/fe/templates/ListReport/manifest.json +1 -1
- package/src/sap/fe/templates/ObjectPage/Component.js +14 -22
- package/src/sap/fe/templates/ObjectPage/Component.ts +5 -9
- package/src/sap/fe/templates/ObjectPage/ObjectPage.view.xml +3 -4
- package/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.js +7 -53
- package/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.ts +6 -55
- package/src/sap/fe/templates/ObjectPage/ObjectPageTemplating.js +21 -17
- package/src/sap/fe/templates/ObjectPage/ObjectPageTemplating.ts +19 -14
- package/src/sap/fe/templates/ObjectPage/components/CollaborationDraft.js +16 -6
- package/src/sap/fe/templates/ObjectPage/components/CollaborationDraft.tsx +15 -5
- package/src/sap/fe/templates/ObjectPage/components/DraftToggle.js +30 -15
- package/src/sap/fe/templates/ObjectPage/components/DraftToggle.tsx +14 -4
- package/src/sap/fe/templates/ObjectPage/designtime/ObjectPage.designtime.js +3 -1
- package/src/sap/fe/templates/ObjectPage/designtime/ObjectPage.designtime.ts +2 -0
- package/src/sap/fe/templates/ObjectPage/manifest.json +1 -1
- package/src/sap/fe/templates/ObjectPage/view/fragments/Actions.fragment.xml +25 -6
- package/src/sap/fe/templates/ObjectPage/view/fragments/Heading.fragment.xml +2 -2
- package/src/sap/fe/templates/ObjectPage/view/fragments/ObjectPageHeaderForm.fragment.xml +7 -2
- package/src/sap/fe/templates/library.js +1 -1
- package/src/sap/fe/templates/messagebundle.properties +5 -6
- package/src/sap/fe/templates/messagebundle_ar.properties +2 -2
- package/src/sap/fe/templates/messagebundle_bg.properties +2 -2
- package/src/sap/fe/templates/messagebundle_ca.properties +1 -1
- package/src/sap/fe/templates/messagebundle_cnr.properties +2 -2
- package/src/sap/fe/templates/messagebundle_cs.properties +1 -1
- package/src/sap/fe/templates/messagebundle_da.properties +2 -2
- package/src/sap/fe/templates/messagebundle_de.properties +2 -2
- package/src/sap/fe/templates/messagebundle_en.properties +2 -2
- package/src/sap/fe/templates/messagebundle_en_GB.properties +2 -2
- package/src/sap/fe/templates/messagebundle_en_US_saprigi.properties +2 -4
- package/src/sap/fe/templates/messagebundle_es.properties +1 -1
- package/src/sap/fe/templates/messagebundle_es_MX.properties +1 -1
- package/src/sap/fe/templates/messagebundle_et.properties +1 -1
- package/src/sap/fe/templates/messagebundle_fi.properties +2 -2
- package/src/sap/fe/templates/messagebundle_fr.properties +1 -1
- package/src/sap/fe/templates/messagebundle_fr_CA.properties +3 -3
- package/src/sap/fe/templates/messagebundle_hi.properties +1 -1
- package/src/sap/fe/templates/messagebundle_hr.properties +2 -2
- package/src/sap/fe/templates/messagebundle_hu.properties +2 -2
- package/src/sap/fe/templates/messagebundle_id.properties +1 -1
- package/src/sap/fe/templates/messagebundle_it.properties +2 -2
- package/src/sap/fe/templates/messagebundle_ja.properties +1 -1
- package/src/sap/fe/templates/messagebundle_kk.properties +1 -1
- package/src/sap/fe/templates/messagebundle_ko.properties +1 -1
- package/src/sap/fe/templates/messagebundle_lt.properties +1 -1
- package/src/sap/fe/templates/messagebundle_lv.properties +2 -2
- package/src/sap/fe/templates/messagebundle_mk.properties +1 -1
- package/src/sap/fe/templates/messagebundle_no.properties +1 -1
- package/src/sap/fe/templates/messagebundle_pl.properties +1 -1
- package/src/sap/fe/templates/messagebundle_pt.properties +1 -1
- package/src/sap/fe/templates/messagebundle_pt_PT.properties +1 -1
- package/src/sap/fe/templates/messagebundle_ro.properties +1 -1
- package/src/sap/fe/templates/messagebundle_sh.properties +2 -2
- package/src/sap/fe/templates/messagebundle_sk.properties +2 -2
- package/src/sap/fe/templates/messagebundle_sl.properties +1 -1
- package/src/sap/fe/templates/messagebundle_sr.properties +2 -2
- package/src/sap/fe/templates/messagebundle_sv.properties +1 -1
- package/src/sap/fe/templates/messagebundle_th.properties +2 -2
- package/src/sap/fe/templates/messagebundle_tr.properties +1 -1
- package/src/sap/fe/templates/messagebundle_uk.properties +1 -1
- package/src/sap/fe/templates/messagebundle_vi.properties +1 -1
- package/src/sap/fe/templates/messagebundle_zh_CN.properties +1 -1
- package/src/sap/fe/templates/messagebundle_zh_TW.properties +1 -1
package/package.json
CHANGED
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
ID: 'sap/fe/core/helpers/StableIdHelper',
|
|
23
23
|
COMMON: 'sap/fe/macros/CommonHelper',
|
|
24
24
|
FILTER: 'sap/fe/macros/filterBar/FilterHelper',
|
|
25
|
-
LR: 'sap/fe/templates/ListReport/ListReportTemplating'
|
|
25
|
+
LR: 'sap/fe/templates/ListReport/ListReportTemplating',
|
|
26
|
+
UI: 'sap/fe/core/templating/UIFormatters'
|
|
26
27
|
}"
|
|
27
28
|
controllerName="sap.fe.templates.ListReport.ListReportController"
|
|
28
29
|
>
|
|
@@ -119,16 +120,34 @@
|
|
|
119
120
|
<ToolbarSpacer />
|
|
120
121
|
<template:if test="{converterContext>headerActions}">
|
|
121
122
|
<template:repeat list="{converterContext>headerActions}" var="headerAction">
|
|
122
|
-
<
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
123
|
+
<template:if test="{= ${headerAction>type} !== 'Separator' }">
|
|
124
|
+
<template:then>
|
|
125
|
+
<Button
|
|
126
|
+
core:require="{FPM: 'sap/fe/core/helpers/FPMHelper'}"
|
|
127
|
+
id="{= ID.generate(['fe',${headerAction>id}])}"
|
|
128
|
+
text="{headerAction>text}"
|
|
129
|
+
press="{= ${headerAction>command} ? ('cmd:' + ${headerAction>command}) : COMMON.buildActionWrapper(${headerAction>})}"
|
|
130
|
+
type="Ghost"
|
|
131
|
+
visible="{headerAction>visible}"
|
|
132
|
+
enabled="{headerAction>enabled}"
|
|
133
|
+
icon="{= ${headerAction>isAIOperation} === true ? COMMON.getAIIcon() : undefined}"
|
|
134
|
+
>
|
|
135
|
+
<layoutData>
|
|
136
|
+
<OverflowToolbarLayoutData
|
|
137
|
+
priority="{headerAction>priority}"
|
|
138
|
+
group="{headerAction>group}"
|
|
139
|
+
/>
|
|
140
|
+
</layoutData>
|
|
141
|
+
</Button>
|
|
142
|
+
</template:then>
|
|
143
|
+
<template:else>
|
|
144
|
+
<ToolbarSeparator>
|
|
145
|
+
<layoutData>
|
|
146
|
+
<OverflowToolbarLayoutData group="{headerAction>group}" />
|
|
147
|
+
</layoutData>
|
|
148
|
+
</ToolbarSeparator>
|
|
149
|
+
</template:else>
|
|
150
|
+
</template:if>
|
|
132
151
|
</template:repeat>
|
|
133
152
|
</template:if>
|
|
134
153
|
<template:if
|
|
@@ -162,7 +181,11 @@
|
|
|
162
181
|
</template:if>
|
|
163
182
|
</contentSwitcher:ContentSwitcher>
|
|
164
183
|
</template:if>
|
|
165
|
-
<macro:Share
|
|
184
|
+
<macro:Share
|
|
185
|
+
id="fe::Share"
|
|
186
|
+
visible="{= ${fclhelper>/} ? ${fclhelper>/showShareIcon} : true }"
|
|
187
|
+
priority="{viewData>/shareOverflowPriority}"
|
|
188
|
+
>
|
|
166
189
|
<macro:msTeamsOptions>
|
|
167
190
|
<macroShare:MsTeamsOptions enableCard="false" />
|
|
168
191
|
</macro:msTeamsOptions>
|
|
@@ -188,7 +211,7 @@
|
|
|
188
211
|
p13nMode="Item,Value"
|
|
189
212
|
useSemanticDateRange="{converterContext>useSemanticDateRange}"
|
|
190
213
|
suspendSelection="true"
|
|
191
|
-
toggleControlId="{= ${converterContext>/filterLayout} === 'compactvisual' ? ID.generate([ ${converterContext>filterBarId}, 'LayoutToggle']) : undefined }"
|
|
214
|
+
toggleControlId="{= ${converterContext>/filterLayout} === 'compactvisual' || ${converterContext>easyFilterEnabled} ? ID.generate([ ${converterContext>filterBarId}, 'LayoutToggle']) : undefined }"
|
|
192
215
|
initialLayout="{= ${converterContext>/filterLayout} === 'compactvisual' ? ${converterContext>/filterInitialLayout} : undefined }"
|
|
193
216
|
disableDraftEditStateFilter="{filterBarContext>disableDraftEditStateFilter}"
|
|
194
217
|
/>
|
|
@@ -196,58 +219,66 @@
|
|
|
196
219
|
</f:dependents>
|
|
197
220
|
</template:then>
|
|
198
221
|
</template:if>
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
<f:header>
|
|
202
|
-
<f:DynamicPageHeader pinnable="{converterContext>showPinnableToggle}">
|
|
203
|
-
<VBox>
|
|
204
|
-
<template:if test="{= !!${converterContext>expandedHeaderFragment} }">
|
|
205
|
-
<template:then>
|
|
206
|
-
<core:Fragment fragmentName="{converterContext>expandedHeaderFragment}" type="XML" />
|
|
207
|
-
</template:then>
|
|
208
|
-
</template:if>
|
|
209
|
-
<template:if test="{= !${converterContext>hideFilterBar} }">
|
|
210
|
-
<template:then>
|
|
211
|
-
<template:with path="converterContext>filterBar" var="filterBarContext">
|
|
212
|
-
<macroInternal:FilterBar
|
|
213
|
-
id="{converterContext>filterBarId}"
|
|
214
|
-
_applyIdToContent="true"
|
|
215
|
-
metaPath="{entityType>}"
|
|
216
|
-
variantBackreference="{= LR.getVariantBackReference(${viewData>}, ${converterContext>} )}"
|
|
217
|
-
selectionFields="{filterBarContext>selectionFields}"
|
|
218
|
-
internalFilterChanged=".handlers.onFiltersChanged"
|
|
219
|
-
filterConditions="{parts:[{path:'converterContext>filterConditions'}, {path:'entitySet>'}, {path:'viewData>'}, {path:'filterBarContext>showDraftEditStatus'}], formatter: 'FILTER.getFilterConditions'}"
|
|
220
|
-
internalSearch=".handlers.onSearch"
|
|
221
|
-
hideBasicSearch="{filterBarContext>hideBasicSearch}"
|
|
222
|
-
showClearButton="{filterBarContext>showClearButton}"
|
|
223
|
-
afterClear=".onAfterClear"
|
|
224
|
-
liveMode="{viewData>/liveMode}"
|
|
225
|
-
showAdaptFiltersButton="true"
|
|
226
|
-
p13nMode="Item,Value"
|
|
227
|
-
useSemanticDateRange="{converterContext>useSemanticDateRange}"
|
|
228
|
-
suspendSelection="true"
|
|
229
|
-
toggleControlId="{= ${converterContext>/filterLayout} === 'compactvisual' ? ID.generate([ ${converterContext>filterBarId}, 'LayoutToggle']) : undefined }"
|
|
230
|
-
initialLayout="{= ${converterContext>/filterLayout} === 'compactvisual' ? ${converterContext>/filterInitialLayout} : undefined }"
|
|
231
|
-
disableDraftEditStateFilter="{filterBarContext>disableDraftEditStateFilter}"
|
|
232
|
-
/>
|
|
233
|
-
</template:with>
|
|
234
|
-
</template:then>
|
|
235
|
-
</template:if>
|
|
236
|
-
<template:if test="{converterContext>easyFilterEnabled}">
|
|
222
|
+
<f:breadcrumbs>
|
|
223
|
+
<template:if test="{viewData>/breadcrumbsHierarchyMode}">
|
|
237
224
|
<template:then>
|
|
238
|
-
<
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
filterBar="{converterContext>filterBarId}"
|
|
242
|
-
contentSwitcher="{= ID.generate([ ${converterContext>filterBarId}, 'LayoutToggle']) }"
|
|
243
|
-
contentSwitcherKey="ai"
|
|
244
|
-
visible="false"
|
|
225
|
+
<macro:Breadcrumbs
|
|
226
|
+
visible="{= UI.getVisibleExpressionForBreadcrumbs(${viewData>/}) }"
|
|
227
|
+
hierarchyMode="{viewData>/breadcrumbsHierarchyMode}"
|
|
245
228
|
/>
|
|
246
229
|
</template:then>
|
|
247
230
|
</template:if>
|
|
248
|
-
</
|
|
249
|
-
</f:
|
|
250
|
-
</f:
|
|
231
|
+
</f:breadcrumbs>
|
|
232
|
+
</f:DynamicPageTitle>
|
|
233
|
+
</f:title>
|
|
234
|
+
<template:if test="{= !${converterContext>hideFilterBar} }">
|
|
235
|
+
<f:header>
|
|
236
|
+
<f:DynamicPageHeader pinnable="{converterContext>showPinnableToggle}">
|
|
237
|
+
<VBox>
|
|
238
|
+
<template:if test="{= !!${converterContext>expandedHeaderFragment} }">
|
|
239
|
+
<template:then>
|
|
240
|
+
<core:Fragment fragmentName="{converterContext>expandedHeaderFragment}" type="XML" />
|
|
241
|
+
</template:then>
|
|
242
|
+
</template:if>
|
|
243
|
+
<template:with path="converterContext>filterBar" var="filterBarContext">
|
|
244
|
+
<macroInternal:FilterBar
|
|
245
|
+
id="{converterContext>filterBarId}"
|
|
246
|
+
_applyIdToContent="true"
|
|
247
|
+
metaPath="{entityType>}"
|
|
248
|
+
variantBackreference="{= LR.getVariantBackReference(${viewData>}, ${converterContext>} )}"
|
|
249
|
+
selectionFields="{filterBarContext>selectionFields}"
|
|
250
|
+
internalFilterChanged=".handlers.onFiltersChanged"
|
|
251
|
+
filterConditions="{parts:[{path:'converterContext>filterConditions'}, {path:'entitySet>'}, {path:'viewData>'}, {path:'filterBarContext>showDraftEditStatus'}], formatter: 'FILTER.getFilterConditions'}"
|
|
252
|
+
internalSearch=".handlers.onSearch"
|
|
253
|
+
hideBasicSearch="{filterBarContext>hideBasicSearch}"
|
|
254
|
+
showClearButton="{filterBarContext>showClearButton}"
|
|
255
|
+
afterClear=".onAfterClear"
|
|
256
|
+
liveMode="{viewData>/liveMode}"
|
|
257
|
+
showAdaptFiltersButton="true"
|
|
258
|
+
p13nMode="Item,Value"
|
|
259
|
+
useSemanticDateRange="{converterContext>useSemanticDateRange}"
|
|
260
|
+
suspendSelection="true"
|
|
261
|
+
toggleControlId="{= ${converterContext>/filterLayout} === 'compactvisual' || ${converterContext>easyFilterEnabled} ? ID.generate([ ${converterContext>filterBarId}, 'LayoutToggle']) : undefined }"
|
|
262
|
+
initialLayout="{= ${converterContext>/filterLayout} === 'compactvisual' ? ${converterContext>/filterInitialLayout} : undefined }"
|
|
263
|
+
disableDraftEditStateFilter="{filterBarContext>disableDraftEditStateFilter}"
|
|
264
|
+
/>
|
|
265
|
+
</template:with>
|
|
266
|
+
<template:if test="{converterContext>easyFilterEnabled}">
|
|
267
|
+
<template:then>
|
|
268
|
+
<macroAI:EasyFilterBar
|
|
269
|
+
id="fe::EasyFilterBar"
|
|
270
|
+
contextPath="{entityType>}"
|
|
271
|
+
filterBar="{converterContext>filterBarId}"
|
|
272
|
+
contentSwitcher="{= ID.generate([ ${converterContext>filterBarId}, 'LayoutToggle']) }"
|
|
273
|
+
contentSwitcherKey="ai"
|
|
274
|
+
visible="false"
|
|
275
|
+
/>
|
|
276
|
+
</template:then>
|
|
277
|
+
</template:if>
|
|
278
|
+
</VBox>
|
|
279
|
+
</f:DynamicPageHeader>
|
|
280
|
+
</f:header>
|
|
281
|
+
</template:if>
|
|
251
282
|
<f:content>
|
|
252
283
|
<template:if test="{= ${converterContext>views}.length > 0}">
|
|
253
284
|
<template:if test="{converterContext>multiViewsControl}">
|