@sapui5/sap.fe.templates 1.112.0 → 1.113.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.
Files changed (52) hide show
  1. package/package.json +1 -1
  2. package/src/sap/fe/templates/.library +1 -1
  3. package/src/sap/fe/templates/AnalyticalListPage/manifest.json +1 -1
  4. package/src/sap/fe/templates/ListReport/ExtensionAPI-dbg.js +3 -1
  5. package/src/sap/fe/templates/ListReport/ExtensionAPI.js.map +1 -1
  6. package/src/sap/fe/templates/ListReport/ExtensionAPI.ts +2 -0
  7. package/src/sap/fe/templates/ListReport/ListReport.view.xml +1 -1
  8. package/src/sap/fe/templates/ListReport/ListReportController-dbg.controller.js +21 -13
  9. package/src/sap/fe/templates/ListReport/ListReportController.controller.js +1 -1
  10. package/src/sap/fe/templates/ListReport/ListReportController.controller.js.map +1 -1
  11. package/src/sap/fe/templates/ListReport/ListReportController.controller.ts +18 -10
  12. package/src/sap/fe/templates/ListReport/controls/MultipleModeControl-dbg.js +3 -3
  13. package/src/sap/fe/templates/ListReport/controls/MultipleModeControl.js +1 -1
  14. package/src/sap/fe/templates/ListReport/controls/MultipleModeControl.js.map +1 -1
  15. package/src/sap/fe/templates/ListReport/controls/MultipleModeControl.ts +1 -2
  16. package/src/sap/fe/templates/ListReport/manifest.json +1 -1
  17. package/src/sap/fe/templates/ObjectPage/Component-dbg.js +2 -2
  18. package/src/sap/fe/templates/ObjectPage/Component.js +1 -1
  19. package/src/sap/fe/templates/ObjectPage/Component.js.map +1 -1
  20. package/src/sap/fe/templates/ObjectPage/Component.ts +1 -1
  21. package/src/sap/fe/templates/ObjectPage/ExtensionAPI-dbg.js +3 -1
  22. package/src/sap/fe/templates/ObjectPage/ExtensionAPI.js.map +1 -1
  23. package/src/sap/fe/templates/ObjectPage/ExtensionAPI.ts +2 -0
  24. package/src/sap/fe/templates/ObjectPage/ObjectPageController-dbg.controller.js +109 -34
  25. package/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.js +1 -1
  26. package/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.js.map +1 -1
  27. package/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.ts +129 -43
  28. package/src/sap/fe/templates/ObjectPage/ObjectPageTemplating-dbg.js +12 -1
  29. package/src/sap/fe/templates/ObjectPage/ObjectPageTemplating.js +1 -1
  30. package/src/sap/fe/templates/ObjectPage/ObjectPageTemplating.js.map +1 -1
  31. package/src/sap/fe/templates/ObjectPage/ObjectPageTemplating.ts +11 -0
  32. package/src/sap/fe/templates/ObjectPage/manifest.json +1 -1
  33. package/src/sap/fe/templates/ObjectPage/view/fragments/SectionContent.fragment.xml +93 -45
  34. package/src/sap/fe/templates/library-dbg.js +1 -1
  35. package/src/sap/fe/templates/library-preload.js +12 -12
  36. package/src/sap/fe/templates/library-preload.js.map +1 -1
  37. package/src/sap/fe/templates/library.js +1 -1
  38. package/src/sap/fe/templates/manifest.json +1 -1
  39. package/src/sap/fe/templates/messagebundle_bg.properties +1 -1
  40. package/src/sap/fe/templates/messagebundle_de.properties +1 -1
  41. package/src/sap/fe/templates/messagebundle_en_GB.properties +1 -1
  42. package/src/sap/fe/templates/messagebundle_fr_CA.properties +1 -1
  43. package/src/sap/fe/templates/messagebundle_hi.properties +1 -1
  44. package/src/sap/fe/templates/messagebundle_id.properties +1 -1
  45. package/src/sap/fe/templates/messagebundle_ko.properties +1 -1
  46. package/src/sap/fe/templates/messagebundle_lv.properties +1 -1
  47. package/src/sap/fe/templates/messagebundle_pl.properties +1 -1
  48. package/src/sap/fe/templates/messagebundle_ro.properties +1 -1
  49. package/src/sap/fe/templates/messagebundle_ru.properties +1 -1
  50. package/src/sap/fe/templates/messagebundle_sv.properties +1 -1
  51. package/src/sap/fe/templates/messagebundle_zh_CN.properties +1 -1
  52. package/src/sap/fe/templates/messagebundle_zh_TW.properties +1 -1
@@ -4,7 +4,7 @@
4
4
  "id": "sap.fe.templates.ObjectPage",
5
5
  "type": "component",
6
6
  "applicationVersion": {
7
- "version": "1.112.0"
7
+ "version": "1.113.0"
8
8
  },
9
9
  "title": "Object Page",
10
10
  "tags": {
@@ -150,55 +150,103 @@
150
150
  </template:if>
151
151
  </template:elseif>
152
152
  <template:elseif test="{= ${subSection>type} === 'DataVisualization'}">
153
- <uxap:blocks>
154
- <uxap:ObjectPageLazyLoader
155
- stashed="{subSection>objectPageLazyLoaderEnabled}"
156
- id="{= ID.generate(['fe', 'lazyLoader', ${subSection>id}])}"
157
- >
158
- <template:if test="{= ${subSection>level} === 2}">
159
- <Title
160
- level="{= ${section>subSections}.length > 1 ? 'H5' : 'H4'}"
161
- text="{subSection>title}"
162
- visible="{subSection>titleVisible}"
163
- />
164
- </template:if>
165
- <opcontrol:SubSectionBlock visible="{subSection>visible}">
166
- <opcontrol:content>
167
- <template:if test="{= ${subSection>sideContent} !== undefined}">
168
- <template:then>
169
- <layout:DynamicSideContent
170
- id="{= ID.generate(['fe', ${subSection>key}, 'SideContentLayout'])}"
171
- showMainContent="true"
172
- showSideContent="{subSection>sideContent/visible}"
173
- sideContentFallDown="BelowM"
174
- containerQuery="true"
175
- equalSplit="{subSection>sideContent/equalSplit}"
176
- >
177
- <layout:mainContent>
153
+ <template:if test="{= OP.isVisualizationIsPartOfPreview(${subSection>}) }">
154
+ <template:then>
155
+ <uxap:blocks>
156
+ <uxap:ObjectPageLazyLoader
157
+ stashed="{subSection>objectPageLazyLoaderEnabled}"
158
+ id="{= ID.generate(['fe', 'lazyLoader', ${subSection>id}])}"
159
+ >
160
+ <template:if test="{= ${subSection>level} === 2}">
161
+ <Title
162
+ level="{= ${section>subSections}.length > 1 ? 'H5' : 'H4'}"
163
+ text="{subSection>title}"
164
+ visible="{subSection>titleVisible}"
165
+ />
166
+ </template:if>
167
+ <opcontrol:SubSectionBlock visible="{subSection>visible}">
168
+ <opcontrol:content>
169
+ <template:if test="{= ${subSection>sideContent} !== undefined}">
170
+ <template:then>
171
+ <layout:DynamicSideContent
172
+ id="{= ID.generate(['fe', ${subSection>key}, 'SideContentLayout'])}"
173
+ showMainContent="true"
174
+ showSideContent="{subSection>sideContent/visible}"
175
+ sideContentFallDown="BelowM"
176
+ containerQuery="true"
177
+ equalSplit="{subSection>sideContent/equalSplit}"
178
+ >
179
+ <layout:mainContent>
180
+ <core:Fragment
181
+ fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionPresentationVisualization"
182
+ type="XML"
183
+ />
184
+ </layout:mainContent>
185
+ <layout:sideContent>
186
+ <core:Fragment
187
+ fragmentName="sap.fe.templates.ObjectPage.view.fragments.SideContentCustomContainer"
188
+ type="XML"
189
+ />
190
+ </layout:sideContent>
191
+ </layout:DynamicSideContent>
192
+ </template:then>
193
+ <template:else>
178
194
  <core:Fragment
179
195
  fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionPresentationVisualization"
180
196
  type="XML"
181
197
  />
182
- </layout:mainContent>
183
- <layout:sideContent>
184
- <core:Fragment
185
- fragmentName="sap.fe.templates.ObjectPage.view.fragments.SideContentCustomContainer"
186
- type="XML"
187
- />
188
- </layout:sideContent>
189
- </layout:DynamicSideContent>
190
- </template:then>
191
- <template:else>
192
- <core:Fragment
193
- fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionPresentationVisualization"
194
- type="XML"
195
- />
196
- </template:else>
197
- </template:if>
198
- </opcontrol:content>
199
- </opcontrol:SubSectionBlock>
200
- </uxap:ObjectPageLazyLoader>
201
- </uxap:blocks>
198
+ </template:else>
199
+ </template:if>
200
+ </opcontrol:content>
201
+ </opcontrol:SubSectionBlock>
202
+ </uxap:ObjectPageLazyLoader>
203
+ </uxap:blocks>
204
+ </template:then>
205
+ <template:else>
206
+ <!-- Button "Show More / Less" is displayed for a collection facets that contains at least one reference facets with annotation "PartOfPreview === TRUE" -->
207
+ <uxap:moreBlocks>
208
+ <template:if test="${subSection>level} === 2}">
209
+ <Title
210
+ level="{= ${section>subSections}.length > 1 ? 'H5' : 'H4'}"
211
+ text="{subSection>title}"
212
+ visible="{subSection>titleVisible}"
213
+ />
214
+ </template:if>
215
+ <opcontrol:SubSectionBlock>
216
+ <opcontrol:content>
217
+ <template:if test="{= ${subSection>sideContent} !== undefined}">
218
+ <template:then>
219
+ <layout:DynamicSideContent
220
+ id="{= ID.generate(['fe', ${subSection>key}, 'MoreSideContentLayout'])}"
221
+ showMainContent="true"
222
+ showSideContent="{subSection>sideContent/visible}"
223
+ sideContentFallDown="BelowM"
224
+ containerQuery="true"
225
+ equalSplit="{subSection>sideContent/equalSplit}"
226
+ >
227
+ <layout:mainContent>
228
+ <core:Fragment
229
+ fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionPresentationVisualization"
230
+ type="XML"
231
+ />
232
+ </layout:mainContent>
233
+ <layout:sideContent>
234
+ <!--No Side Content for MoreBlocks so far-->
235
+ </layout:sideContent>
236
+ </layout:DynamicSideContent>
237
+ </template:then>
238
+ <template:else>
239
+ <core:Fragment
240
+ fragmentName="sap.fe.templates.ObjectPage.view.fragments.SectionPresentationVisualization"
241
+ type="XML"
242
+ />
243
+ </template:else>
244
+ </template:if>
245
+ </opcontrol:content>
246
+ </opcontrol:SubSectionBlock>
247
+ </uxap:moreBlocks>
248
+ </template:else>
249
+ </template:if>
202
250
  </template:elseif>
203
251
  <template:elseif test="{= ${subSection>type} === 'EmbeddedComponent'}">
204
252
  <uxap:blocks>
@@ -39,7 +39,7 @@ sap.ui.define(["sap/f/library", "sap/fe/core/library", "sap/fe/macros/library",
39
39
  controls: [],
40
40
  elements: [],
41
41
  // eslint-disable-next-line no-template-curly-in-string
42
- version: "1.112.0",
42
+ version: "1.113.0",
43
43
  noLibraryCSS: true
44
44
  });
45
45
  if (!thisLib.ObjectPage) {