@sapui5/sap.suite.ui.generic.template 1.114.0 → 1.115.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 (155) hide show
  1. package/package.json +1 -1
  2. package/src/sap/suite/ui/generic/template/.library +1 -1
  3. package/src/sap/suite/ui/generic/template/AnalyticalListPage/Component.js +14 -8
  4. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/ControllerImplementation.js +14 -32
  5. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/FilterBarController.js +6 -2
  6. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controllerFrameworkExtensions.js +26 -1
  7. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_es.properties +1 -1
  8. package/src/sap/suite/ui/generic/template/AnalyticalListPage/manifest.json +1 -1
  9. package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/AnalyticalListPage.view.xml +68 -74
  10. package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/KpiCardSizeM.view.xml +2 -5
  11. package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/AnalyticGrid.fragment.xml +8 -8
  12. package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/ContentAreaViewExtension.fragment.xml +8 -9
  13. package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/ContentAreaViewExtension2.fragment.xml +9 -10
  14. package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/ContentContainer.fragment.xml +14 -11
  15. package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/ContentViewButtons.fragment.xml +42 -41
  16. package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/FilterContainer.fragment.xml +24 -31
  17. package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/FilterableKPIContainer.fragment.xml +14 -19
  18. package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/HeaderCommands.fragment.xml +4 -4
  19. package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/IconTabBarWithSmartTable.fragment.xml +10 -11
  20. package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/KPITagList.fragment.xml +14 -16
  21. package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/KpiCard.fragment.xml +2 -13
  22. package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/MasterExtension.fragment.xml +17 -18
  23. package/src/sap/suite/ui/generic/template/AnalyticalListPage/view/fragments/SmartFilterBar.fragment.xml +7 -9
  24. package/src/sap/suite/ui/generic/template/Canvas/manifest.json +1 -1
  25. package/src/sap/suite/ui/generic/template/Canvas/view/Canvas.view.xml +23 -24
  26. package/src/sap/suite/ui/generic/template/ListReport/Component.js +64 -63
  27. package/src/sap/suite/ui/generic/template/ListReport/controller/ControllerImplementation.js +19 -38
  28. package/src/sap/suite/ui/generic/template/ListReport/controller/IappStateHandler.js +13 -5
  29. package/src/sap/suite/ui/generic/template/ListReport/controllerFrameworkExtensions.js +24 -2
  30. package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
  31. package/src/sap/suite/ui/generic/template/ListReport/view/ListReport.view.xml +4 -4
  32. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/BreakoutActionButtons.fragment.xml +4 -2
  33. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/DefaultVariant.fragment.xml +0 -1
  34. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/FullscreenPage.fragment.xml +0 -1
  35. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/MultipleViewsSingleTableMode.fragment.xml +13 -11
  36. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SearchField.fragment.xml +4 -6
  37. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartChart.fragment.xml +18 -20
  38. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartChartToolbar.fragment.xml +9 -9
  39. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartFilterBar.fragment.xml +5 -8
  40. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartList.fragment.xml +5 -10
  41. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartTable.fragment.xml +39 -72
  42. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartTableOrList.fragment.xml +9 -8
  43. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartTableToolbar.fragment.xml +10 -8
  44. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/TitleVariant.fragment.xml +33 -36
  45. package/src/sap/suite/ui/generic/template/ObjectPage/controller/ControllerImplementation.js +31 -15
  46. package/src/sap/suite/ui/generic/template/ObjectPage/controller/InlineCreationRowsHelper.js +130 -30
  47. package/src/sap/suite/ui/generic/template/ObjectPage/controller/MessageSortingHandler.js +1 -1
  48. package/src/sap/suite/ui/generic/template/ObjectPage/controllerFrameworkExtensions.js +21 -2
  49. package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +1 -1
  50. package/src/sap/suite/ui/generic/template/ObjectPage/templateSpecificPreparationHelper.js +2 -2
  51. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/NavigationBar.fragment.xml +2 -4
  52. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartTable.fragment.xml +44 -80
  53. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartTablePluginsRowSettingsRowActions.fragment.xml +32 -0
  54. package/src/sap/suite/ui/generic/template/QuickCreate/manifest.json +1 -1
  55. package/src/sap/suite/ui/generic/template/QuickView/manifest.json +1 -1
  56. package/src/sap/suite/ui/generic/template/fragments/AnalyticalTableColumns.fragment.xml +1 -1
  57. package/src/sap/suite/ui/generic/template/fragments/ContactDetailsQuickViewGroupReplica.fragment.xml +33 -33
  58. package/src/sap/suite/ui/generic/template/fragments/GridTableCells.fragment.xml +0 -1
  59. package/src/sap/suite/ui/generic/template/fragments/GridTableColumns.fragment.xml +1 -1
  60. package/src/sap/suite/ui/generic/template/fragments/HeaderAddress.fragment.xml +0 -1
  61. package/src/sap/suite/ui/generic/template/fragments/HeaderContactWithDetailsPopover.fragment.xml +0 -1
  62. package/src/sap/suite/ui/generic/template/fragments/HeaderPlainText.fragment.xml +0 -1
  63. package/src/sap/suite/ui/generic/template/fragments/MessageDialog.fragment.xml +3 -3
  64. package/src/sap/suite/ui/generic/template/fragments/MessageInfluencingCRUDAction.fragment.xml +3 -3
  65. package/src/sap/suite/ui/generic/template/fragments/SmartTablePluginsRowSettings.fragment.xml +16 -0
  66. package/src/sap/suite/ui/generic/template/fragments/TableCell.fragment.xml +4 -5
  67. package/src/sap/suite/ui/generic/template/fragments/TableColumnListItem.fragment.xml +2 -3
  68. package/src/sap/suite/ui/generic/template/fragments/TableColumns.fragment.xml +0 -1
  69. package/src/sap/suite/ui/generic/template/fragments/TreeTableColumns.fragment.xml +2 -2
  70. package/src/sap/suite/ui/generic/template/genericUtilities/AjaxHelper.js +1 -1
  71. package/src/sap/suite/ui/generic/template/genericUtilities/CacheHelper.js +10 -1
  72. package/src/sap/suite/ui/generic/template/js/AnnotationHelper.js +61 -82
  73. package/src/sap/suite/ui/generic/template/js/RuntimeFormatters.js +2 -3
  74. package/src/sap/suite/ui/generic/template/lib/AddCardsHelper.js +17 -9
  75. package/src/sap/suite/ui/generic/template/lib/AppComponent.js +5 -4
  76. package/src/sap/suite/ui/generic/template/lib/Application.js +13 -1
  77. package/src/sap/suite/ui/generic/template/lib/CRUDActionHandler.js +4 -2
  78. package/src/sap/suite/ui/generic/template/lib/CRUDHelper.js +117 -99
  79. package/src/sap/suite/ui/generic/template/lib/CRUDManager.js +18 -12
  80. package/src/sap/suite/ui/generic/template/lib/CommonEventHandlers.js +24 -42
  81. package/src/sap/suite/ui/generic/template/lib/CommonUtils.js +47 -42
  82. package/src/sap/suite/ui/generic/template/lib/ComponentUtils.js +3 -2
  83. package/src/sap/suite/ui/generic/template/lib/FlexibleColumnLayoutHandler.js +30 -27
  84. package/src/sap/suite/ui/generic/template/lib/MessageUtils.js +38 -3
  85. package/src/sap/suite/ui/generic/template/lib/PageLeaveHandler.js +2 -2
  86. package/src/sap/suite/ui/generic/template/lib/ViewDependencyHelper.js +5 -3
  87. package/src/sap/suite/ui/generic/template/lib/i18n/i18n.properties +6 -15
  88. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ar.properties +4 -0
  89. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_bg.properties +4 -0
  90. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ca.properties +4 -0
  91. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cs.properties +4 -0
  92. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cy.properties +4 -0
  93. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_da.properties +4 -0
  94. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_de.properties +4 -0
  95. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_el.properties +4 -0
  96. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en.properties +4 -0
  97. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_GB.properties +4 -0
  98. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_sappsd.properties +4 -0
  99. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_saprigi.properties +4 -0
  100. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_saptrc.properties +4 -0
  101. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es.properties +4 -0
  102. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es_MX.properties +4 -0
  103. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_et.properties +4 -0
  104. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fi.properties +4 -0
  105. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr.properties +4 -0
  106. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr_CA.properties +4 -0
  107. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hi.properties +4 -0
  108. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hr.properties +4 -0
  109. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hu.properties +4 -0
  110. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_id.properties +4 -0
  111. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_it.properties +4 -0
  112. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_iw.properties +4 -0
  113. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ja.properties +4 -0
  114. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_kk.properties +4 -0
  115. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ko.properties +5 -1
  116. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lt.properties +4 -0
  117. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lv.properties +5 -1
  118. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ms.properties +4 -0
  119. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_nl.properties +4 -0
  120. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_no.properties +4 -0
  121. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pl.properties +4 -0
  122. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt.properties +4 -0
  123. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt_PT.properties +4 -0
  124. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ro.properties +4 -0
  125. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ru.properties +4 -0
  126. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sh.properties +4 -0
  127. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sk.properties +4 -0
  128. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sl.properties +4 -0
  129. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sv.properties +4 -0
  130. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_th.properties +4 -0
  131. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_tr.properties +4 -0
  132. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_uk.properties +4 -0
  133. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_vi.properties +4 -0
  134. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_CN.properties +4 -0
  135. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_TW.properties +4 -0
  136. package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +19 -1
  137. package/src/sap/suite/ui/generic/template/lib/navigation/startupParameterHelper.js +3 -3
  138. package/src/sap/suite/ui/generic/template/library.js +1 -1
  139. package/src/sap/suite/ui/generic/template/listTemplates/controller/DetailController.js +1 -1
  140. package/src/sap/suite/ui/generic/template/listTemplates/controller/IappStateHandler.js +5 -0
  141. package/src/sap/suite/ui/generic/template/listTemplates/fragments/ActionsFragment.fragment.xml +10 -12
  142. package/src/sap/suite/ui/generic/template/listTemplates/fragments/ChartActions.fragment.xml +18 -18
  143. package/src/sap/suite/ui/generic/template/listTemplates/fragments/ChartCommands.fragment.xml +3 -1
  144. package/src/sap/suite/ui/generic/template/listTemplates/fragments/DetailSmartTable.fragment.xml +41 -80
  145. package/src/sap/suite/ui/generic/template/listTemplates/fragments/MessagesOnRetrieval.fragment.xml +1 -1
  146. package/src/sap/suite/ui/generic/template/listTemplates/fragments/MultipleViewsSingleTableMode.fragment.xml +12 -10
  147. package/src/sap/suite/ui/generic/template/listTemplates/fragments/SmartChart.fragment.xml +26 -28
  148. package/src/sap/suite/ui/generic/template/listTemplates/fragments/SmartChartToolbar.fragment.xml +9 -12
  149. package/src/sap/suite/ui/generic/template/listTemplates/fragments/SmartTablePluginsRowSettingsRowActions.fragment.xml +24 -0
  150. package/src/sap/suite/ui/generic/template/listTemplates/fragments/SmartTableToolbar.fragment.xml +6 -7
  151. package/src/sap/suite/ui/generic/template/listTemplates/fragments/TableCommands.fragment.xml +2 -1
  152. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/CardMessages.fragment.xml +0 -18
  153. package/src/sap/suite/ui/generic/template/fragments/RowActions.fragment.xml +0 -50
  154. package/src/sap/suite/ui/generic/template/listTemplates/AnnotationHelper.js +0 -24
  155. package/src/sap/suite/ui/generic/template/listTemplates/fragments/CardMessages.fragment.xml +0 -19
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.suite.ui.generic.template",
3
- "version": "1.114.0",
3
+ "version": "1.115.0",
4
4
  "description": "SAPUI5 Library sap.suite.ui.generic.template",
5
5
  "keywords": [
6
6
  "sapui5",
@@ -7,7 +7,7 @@
7
7
 
8
8
  (c) Copyright 2009-2015 SAP SE. All rights reserved
9
9
  </copyright>
10
- <version>1.114.0</version>
10
+ <version>1.115.0</version>
11
11
 
12
12
  <documentation>Library with generic Suite UI templates.</documentation>
13
13
 
@@ -10,7 +10,8 @@ sap.ui.define(["sap/ui/core/mvc/OverrideExecution",
10
10
  "sap/suite/ui/generic/template/js/AnnotationHelper",
11
11
  "sap/base/util/isEmptyObject",
12
12
  "sap/suite/ui/generic/template/AnalyticalListPage/util/AnnotationHelper",
13
- "sap/insights/CardHelper"
13
+ "sap/insights/CardHelper",
14
+ "sap/suite/ui/generic/template/AnalyticalListPage/util/FilterUtil" // // just to make sure that this class containing runtime formatters is loaded
14
15
  ], function(OverrideExecution, TemplateAssembler, ControllerImplementation, JSONModel, controllerFrameworkExtensions, preparationHelper, deepExtend,
15
16
  filterSettingsPreparationHelper, StableIdHelper, AnnotationHelper, isEmptyObject, ALPAnnotationHelper, CardHelper) {
16
17
  "use strict";
@@ -195,6 +196,7 @@ sap.ui.define(["sap/ui/core/mvc/OverrideExecution",
195
196
  oAlpSettings.isSelflinkRequired = false;
196
197
  oAlpSettings.isIndicatorRequired = false;
197
198
  oAlpSettings.isSemanticallyConnected = true;
199
+ oAlpSettings.rowHighligths = "None";
198
200
  oAlpSettings.controlConfigurationSettings = filterSettingsPreparationHelper.getControlConfigurationSettings(oAlpSettings, oEntityType, oEntitySet, oModel);
199
201
 
200
202
  function checkIfSmartChart(sEntitySet, oTabItem) {
@@ -337,13 +339,17 @@ sap.ui.define(["sap/ui/core/mvc/OverrideExecution",
337
339
  }
338
340
 
339
341
  oAlpSettings.bInsightsEnabled = false;
340
- CardHelper.getServiceAsync("UIService").then(function(oInstance){
341
- oAlpSettings.bInsightsEnabled = true;
342
- var oTemplatePrivate = oComponent.getModel("_templPriv");
343
- oTemplatePrivate.setProperty("/oInsightsInstance", oInstance);
344
- }).catch(function(response) {
345
- oAlpSettings.bInsightsEnabled = false;
346
- });
342
+ // If app is running in Microsoft Teams environment then Insight should not execute
343
+ var oTemplatePrivateGlobal = oComponent.getModel("_templPrivGlobal");
344
+ if (!oTemplatePrivateGlobal.getProperty("/generic/isTeamsModeActive")) {
345
+ CardHelper.getServiceAsync("UIService").then(function(oInstance){
346
+ oAlpSettings.bInsightsEnabled = true;
347
+ var oTemplatePrivate = oComponent.getModel("_templPriv");
348
+ oTemplatePrivate.setProperty("/oInsightsInstance", oInstance);
349
+ }).catch(function(response) {
350
+ oAlpSettings.bInsightsEnabled = false;
351
+ });
352
+ }
347
353
 
348
354
  return oAlpSettings;
349
355
  },
@@ -32,12 +32,13 @@ sap.ui.define(["sap/ui/generic/app/navigation/service/SelectionVariant",
32
32
  "sap/ui/model/json/JSONModel",
33
33
  "sap/suite/ui/generic/template/listTemplates/controller/DetailController",
34
34
  "sap/ui/comp/personalization/Util",
35
- "sap/suite/ui/generic/template/lib/AddCardsHelper"
35
+ "sap/suite/ui/generic/template/lib/AddCardsHelper",
36
+ "sap/m/MessageBox"
36
37
  ], function(SelectionVariant, ExtensionAPI,
37
38
  FilterBarController, ToolbarController, VisualFilterBarController, VisualFilterDialogController, AnalyticGridController, AnalyticalTable,
38
39
  ODataAnnotationHelper, Analytics, ContentAreaController, IappStateHandler, Device, SegmentedButtonItem, SegmentedButton,
39
40
  OverflowToolbar, ToolbarSpacer, SapMLibrary, Context, ALPHelper, controlHelper, FeLogger, FilterUtil, ObjectPath, ShareUtils, merge, deepExtend,
40
- ListUtils, MultipleViewsHandler, StableIdHelper, MessageStripHelper, JSONModel, DetailController, PersonalizationControllerUtil, AddCardsHelper) {
41
+ ListUtils, MultipleViewsHandler, StableIdHelper, MessageStripHelper, JSONModel, DetailController, PersonalizationControllerUtil, AddCardsHelper, MessageBox) {
41
42
 
42
43
  "use strict";
43
44
 
@@ -334,20 +335,6 @@ sap.ui.define(["sap/ui/generic/app/navigation/service/SelectionVariant",
334
335
  // });
335
336
  }
336
337
 
337
- function fnOpenCardMessagesDialog(oModel){
338
- var oCardMessagesPromise = oTemplateUtils.oCommonUtils.getDialogFragmentAsync("sap.suite.ui.generic.template.listTemplates.fragments.CardMessages", {
339
- onClose: function(oEvent) {
340
- var oDialog = oEvent.getSource().getParent();
341
- oDialog.close();
342
- }
343
- }, "cardMessages");
344
-
345
- oCardMessagesPromise.then(function (oDialog) {
346
- oDialog.setModel(oModel, "list");
347
- oDialog.open();
348
- });
349
- }
350
-
351
338
  // Generation of Event Handlers
352
339
  return {
353
340
  onInit: function() {
@@ -905,13 +892,6 @@ sap.ui.define(["sap/ui/generic/app/navigation/service/SelectionVariant",
905
892
  onBeforeRebindChart: function(oEvent) {
906
893
  var oSmartChart = oEvent.getSource();
907
894
  setNoDataChartTextIfRequired(oSmartChart);
908
- var oTemplatePrivateModel = oTemplateUtils.oComponentUtils.getTemplatePrivateModel();
909
- var oChartSelectionVariant = oSmartChart.getUiState().getSelectionVariant();
910
- if (oChartSelectionVariant && oChartSelectionVariant.SelectOptions && oChartSelectionVariant.SelectOptions.length) {
911
- oTemplatePrivateModel.setProperty("/alp/chartFiltersActive", true);
912
- } else {
913
- oTemplatePrivateModel.setProperty("/alp/chartFiltersActive", false);
914
- }
915
895
  //oState.oSmartChart.oModels = oState.oSmartChart.getChart().oPropagatedProperties.oModels;
916
896
  var oBindingParams = oEvent.getParameters().bindingParams;
917
897
  oState.oMultipleViewsHandler.aTableFilters = deepExtend({}, oBindingParams.filters);
@@ -1224,18 +1204,19 @@ sap.ui.define(["sap/ui/generic/app/navigation/service/SelectionVariant",
1224
1204
  var oView = oState.oController.getView();
1225
1205
  var oEntitySet = oModel.getMetaModel().getODataEntitySet(sEntitySet);
1226
1206
  var oEntityType = oModel.getMetaModel().getODataEntityType(oEntitySet.entityType);
1227
- var oTemplatePrivateModel = oTemplateUtils.oComponentUtils.getTemplatePrivateModel();
1228
- var chartFiltersActive = oTemplatePrivateModel.getProperty("/alp/chartFiltersActive");
1229
1207
  var oRb = oComponent.getModel("i18n").getResourceBundle();
1230
1208
  var oCardDefinition = {};
1231
- if (oState.oSmartFilterbar.getUiState().getSemanticDates() || chartFiltersActive) {
1232
- var oModel = new JSONModel({
1233
- items: [
1234
- {text: oRb.getText("ST_CARDS_INFO_TEXT_2")},
1235
- {text: oRb.getText("ST_CARDS_INFO_TEXT_6")}
1236
- ]
1209
+ if (oState.oSmartFilterbar.getUiState().getSemanticDates()) {
1210
+ MessageBox.error(oRb.getText("ST_CARD_CREATION_FAILURE"), {
1211
+ onClose: function () {
1212
+ throw new Error("Insights is not supported");
1213
+ },
1214
+ details: "<strong>" + oRb.getText("ST_CARD_POSSIBLE_CAUSES") + "</strong>" +
1215
+ "<ul>" +
1216
+ "<li>" + oRb.getText("ST_CARD_FAILURE_REASON_DATE_RANGE_FILTERS") + "</li>" +
1217
+ "<li>" + oRb.getText("ST_CARD_FAILURE_CHART_REASON_CHART_LEVEL_FILTERS") + "</li>" +
1218
+ "</ul>" + oRb.getText("ST_CARD_FOOTER_INFO")
1237
1219
  });
1238
- fnOpenCardMessagesDialog(oModel);
1239
1220
  } else {
1240
1221
  oCardDefinition['currentControlHandler'] = oPresentationControlHandler;
1241
1222
  oCardDefinition['component'] = oComponent;
@@ -1243,6 +1224,7 @@ sap.ui.define(["sap/ui/generic/app/navigation/service/SelectionVariant",
1243
1224
  oCardDefinition['entitySet'] = oEntitySet;
1244
1225
  oCardDefinition['entityType'] = oEntityType;
1245
1226
  oCardDefinition['oSmartFilterbar'] = oState.oSmartFilterbar;
1227
+ oCardDefinition['oTemplateUtils'] = oTemplateUtils;
1246
1228
  var oAnalyticalCardManifest = AddCardsHelper.createCardForPreview(oCardDefinition);
1247
1229
  var oTemplatePrivateModel = oTemplateUtils.oComponentUtils.getTemplatePrivateModel();
1248
1230
  var oInsightsInstance = oTemplatePrivateModel.getProperty("/oInsightsInstance");
@@ -12,6 +12,7 @@ sap.ui.define(["sap/m/SegmentedButtonItem", "sap/m/Button", "sap/m/Text", "sap/m
12
12
  "use strict";
13
13
 
14
14
  var FILTER_MODE_VISUAL = "visual",
15
+ FILTER_MODE_COMPACT = "compact",
15
16
  FILTER_DIALOG_MODE_COMPACT = "group",
16
17
  customDataPropertyName = "sap.suite.ui.generic.template.customData",
17
18
  genericDataPropertyName = "sap.suite.ui.generic.template.genericData",
@@ -185,9 +186,12 @@ sap.ui.define(["sap/m/SegmentedButtonItem", "sap/m/Button", "sap/m/Text", "sap/m
185
186
  handleFilterSwitch:function(mode, bApplyingVariant) {
186
187
  var oComponent = this.oState.oController.getOwnerComponent();
187
188
  var oTemplatePrivate = oComponent.getModel("_templPriv");
189
+ var oModel = this.oState.alr_visualFilterBar && this.oState.alr_visualFilterBar.getModel();
188
190
 
189
- //in case app loading in compact filter mode
190
- if (this.oState.alr_visualFilterBar && !this.oState.alr_visualFilterBar.getAssociateValueListsCalled()) {
191
+ if ((oModel && oModel.mMetadataUrlParams && oModel.mMetadataUrlParams["sap-value-list"] === "none") && (this.oState.alr_visualFilterBar && !this.oState.alr_visualFilterBar.getAssociateValueListsCalled())) {
192
+ this.oState.alr_visualFilterBar.setAssociateValueListsCalled(true);
193
+ this.oState.oSmartFilterbar.associateValueLists();
194
+ } else if (oTemplatePrivate.getProperty('/alp/filterMode') === FILTER_MODE_COMPACT && (this.oState.alr_visualFilterBar && !this.oState.alr_visualFilterBar.getAssociateValueListsCalled())) { //in case app loading in compact filter mode
191
195
  this.oState.alr_visualFilterBar.setAssociateValueListsCalled(true);
192
196
  this.oState.oSmartFilterbar.associateValueLists();
193
197
  }
@@ -1,4 +1,6 @@
1
- sap.ui.define([ ], function() {
1
+ sap.ui.define([
2
+ "sap/ui/core/mvc/OverrideExecution"
3
+ ], function(OverrideExecution) {
2
4
  "use strict";
3
5
  /**
4
6
  * This class contains all extension functions that can be implemented by Application
@@ -8,6 +10,29 @@ sap.ui.define([ ], function() {
8
10
  * @public
9
11
  */
10
12
  return /** @lends sap.suite.ui.generic.template.AnalyticalListPage.controllerFrameworkExtensions */ {
13
+ metadata: {
14
+ methods: {
15
+ getVisibleSelectionsWithDefaults: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
16
+ onInitSmartFilterBarExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
17
+ getCustomAppStateDataExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
18
+ restoreCustomAppStateDataExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
19
+ onBeforeRebindTableExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
20
+ onBeforeRebindChartExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
21
+ onClearFilterExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
22
+ adaptNavigationParameterExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
23
+ onAfterCustomModelCreation: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
24
+ onBeforeRebindFilterableKPIExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
25
+ adaptTransientMessageExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
26
+ onListNavigationExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
27
+ onSaveAsTileExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
28
+ modifyStartupExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
29
+ onLeaveAppExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
30
+ onBeforeRebindVisualFilterExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
31
+ onChildOpenedExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
32
+ beforeSmartLinkPopoverOpensExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
33
+ onBeforeExportTableExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After}
34
+ }
35
+ },
11
36
 
12
37
  /**
13
38
  * This method is called by Fiori elements on the initialization of View. Application developers
@@ -188,7 +188,7 @@ DP_SINGLE_SELECTED={1} posici\u00F3n seleccionada por {0}
188
188
 
189
189
  DP_WITHOUT_SELECTIONS=Seleccionar fecha
190
190
 
191
- NOT_ASSIGNED=Sin asignar
191
+ NOT_ASSIGNED=No asignado
192
192
 
193
193
  FILTER_BAR_SHOW_MORE_FILTERS=Otros filtros ({0})
194
194
 
@@ -8,7 +8,7 @@
8
8
  "i18n": "i18n/i18n.properties",
9
9
  "applicationVersion": {
10
10
  "__comment": "applicationVersion oder componentversion??",
11
- "version": "1.114.0"
11
+ "version": "1.115.0"
12
12
  },
13
13
  "title": "{{TITLE}}",
14
14
  "description": "{{DESCRIPTION}}",
@@ -1,11 +1,12 @@
1
- <mvc:View xmlns:mvc="sap.ui.core.mvc" xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1" xmlns="sap.m" xmlns:f="sap.f"
2
- xmlns:core="sap.ui.core" xmlns:semantic="sap.m.semantic" xmlns:ushell="sap.ushell.ui" xmlns:build="sap.build"
3
- xmlns:st="sap.suite.ui.generic.template"
1
+ <mvc:View xmlns="sap.m" xmlns:mvc="sap.ui.core.mvc" xmlns:core="sap.ui.core" xmlns:f="sap.f" xmlns:l="sap.ui.layout" xmlns:smartVariantManagement="sap.ui.comp.smartvariants"
2
+ xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
4
3
  template:require="{ AH: 'sap/suite/ui/generic/template/js/AnnotationHelper',
4
+ AHModel: 'sap/ui/model/odata/AnnotationHelper',
5
+ ALPHelper: 'sap/suite/ui/generic/template/AnalyticalListPage/util/AnnotationHelper',
5
6
  AHALP: 'sap/suite/ui/generic/template/AnalyticalListPage/util/AnnotationHelper',
6
7
  AHFilterUtil: 'sap/suite/ui/generic/template/AnalyticalListPage/util/FilterUtil',
7
- AHStableId: 'sap/suite/ui/generic/template/js/StableIdHelper'}"
8
- xmlns:l="sap.ui.layout" xmlns:smartVariantManagement="sap.ui.comp.smartvariants">
8
+ AHStableId: 'sap/suite/ui/generic/template/js/StableIdHelper'}" >
9
+
9
10
  <!--
10
11
  @classdesc
11
12
  @name: Name: sap.ui.generic.template.fragments.AnalyticalListPage.view.xml
@@ -20,80 +21,75 @@
20
21
  "entityType",
21
22
  "sap-ui-debug"
22
23
  }-->
23
- <template:alias name=".ALPHelper" value="sap.suite.ui.generic.template.AnalyticalListPage.util.AnnotationHelper">
24
- <template:with path="parameter>/" helper=".ALPHelper.createWorkingContext" var="workingContext">
25
- <template:with path="entitySet>dummy" var="tabItem">
26
- <template:with path="parameter>/variables" helper="AH.getNewVariable" var="tableSettings">
27
- <template:if test="{:= ${tableSettings>}.set(${parameter>/templateSpecific/tableSettings})}"/>
28
-
29
- <!-- TODO simplify the showFooter determination by just passing "parameter>" and evaluate everything inside -->
30
- <f:DynamicPage
31
- class="sapSmartTemplatesAnalyticalListPageDynamicPage" id="template::Page" headerExpanded="{= ${device>/system/phone} ? 'false' : '{_templPriv>/listReport/isHeaderExpanded}' }" showFooter="{= ${parts: [{path: 'workingContext>lineItem'},{path: 'workingContext>chart/Actions'},{path: 'parameter>/entitySet'}, {path: 'parameter>/manifest/sap.ui5/extends/extensions/sap.ui.controllerExtensions'}], formatter: '.ALPHelper.hasDeterminingActionsForALP'} }">
32
- <f:dependents>
33
- <core:Fragment fragmentName="sap.suite.ui.generic.template.AnalyticalListPage.view.fragments.HeaderCommands" type="XML"/>
34
- </f:dependents>
35
- <f:title>
36
- <f:DynamicPageTitle areaShrinkRatio="{= ${parts: [{path: 'workingContext>lineItem'},{path: 'workingContext>chart/Actions'},{path: 'parameter>/entitySet'}, {path: 'parameter>/manifest/sap.ui5/extends/extensions/sap.ui.controllerExtensions'}], formatter: '.ALPHelper.getAreaShrinkRatio'} }" class="sapSmartTemplatesAnalyticalListPageDynamicPageTitle sapSmartTemplatesAnalyticalListPageDynamicPageTitleMargin">
37
- <f:heading>
38
- <l:VerticalLayout class="sapSmartTemplatesAnalyticalListPageFilterContainer">
39
- <l:HorizontalLayout class="sapSmartTemplatesAnalyticalListPageAlignVariantTitle sapUIContentPadding">
40
- <smartVariantManagement:SmartVariantManagement id="template::PageVariant"
41
- persistencyKey="{= (${parameter>/settings/smartVariantManagement} || ${parameter>/settings/smartVariantManagement} === undefined) ? 'searchAnalyticalListPageVariant' : '_ST_SmartVariantManagement'}"
42
- showShare="true" showExecuteOnSelection="{= ${parameter>/settings/showGoButtonOnFilterBar} }"
43
- displayTextForExecuteOnSelectionForStandardVariant="{= (${parameter>/settings/dataLoadSettings/loadDataOnAppLaunch} === 'ifAnyFilterExist' || ${parameter>/settings/dataLoadSettings/loadDataOnAppLaunch} === undefined) ? '{i18n>ST_LIST_DISPLAY_TEXT_FOR_EXECUTE_ON_SELECTION}' : undefined}" />
44
- </l:HorizontalLayout>
45
- </l:VerticalLayout>
46
- </f:heading>
47
- <f:content>
48
- <template:if
49
- test="{= ${parameter>/settings/keyPerformanceIndicators} !== undefined &amp;&amp; Object.keys(${parameter>/settings/keyPerformanceIndicators}).length > 0 &amp;&amp; !${device>/system/phone} }">
50
- <template:then>
51
- <template:with path="parameter>/settings/keyPerformanceIndicators" helper=".ALPHelper.getFilterableKPIs" var="kpiContext">
52
- <template:with path="kpiContext>globalKPIs" var="kpis">
53
- <template:if test="{= Object.keys(${kpis>}).length > 0}">
54
- <OverflowToolbar class= "sapSmartTemplatesAnalyticalListPageKpiTagContainer sapSmartTemplatesAnalyticalListPageKpiTagOverflow" id="template::KPITagContainer::globalKPIs">
55
- <core:Fragment fragmentName="sap.suite.ui.generic.template.AnalyticalListPage.view.fragments.KPITagList" type="XML"/>
56
- </OverflowToolbar>
57
- </template:if>
58
- </template:with>
59
- </template:with>
60
- </template:then>
61
- </template:if>
62
- </f:content>
63
- <f:actions class="sapSmartTemplatesAnalyticalListPageVisualFilterToolbar">
24
+ <template:with path="parameter>/" helper="ALPHelper.createWorkingContext" var="workingContext">
25
+ <template:with path="entitySet>dummy" var="tabItem">
26
+ <template:with path="parameter>/variables" helper="AH.getNewVariable" var="tableSettings">
27
+ <template:if test="{:= ${tableSettings>}.set(${parameter>/templateSpecific/tableSettings})}"/>
28
+ <!-- TODO simplify the showFooter determination by just passing "parameter>" and evaluate everything inside -->
29
+ <f:DynamicPage
30
+ class="sapSmartTemplatesAnalyticalListPageDynamicPage" id="template::Page" headerExpanded="{= ${device>/system/phone} ? 'false' : '{_templPriv>/listReport/isHeaderExpanded}' }" showFooter="{= ${parts: [{path: 'workingContext>lineItem'}, {path: 'workingContext>chart/Actions'},{path: 'parameter>/entitySet'}, {path: 'parameter>/manifest/sap.ui5/extends/extensions/sap.ui.controllerExtensions'}], formatter: 'ALPHelper.hasDeterminingActionsForALP'} }">
31
+ <f:dependents>
32
+ <core:Fragment fragmentName="sap.suite.ui.generic.template.AnalyticalListPage.view.fragments.HeaderCommands" type="XML"/>
33
+ </f:dependents>
34
+ <f:title>
35
+ <f:DynamicPageTitle areaShrinkRatio="{= ${parts: [{path: 'workingContext>lineItem'}, {path: 'workingContext>chart/Actions'}, {path: 'parameter>/entitySet'}, {path: 'parameter>/manifest/sap.ui5/extends/extensions/sap.ui.controllerExtensions'}], formatter: 'ALPHelper.getAreaShrinkRatio'} }" class="sapSmartTemplatesAnalyticalListPageDynamicPageTitle sapSmartTemplatesAnalyticalListPageDynamicPageTitleMargin">
36
+ <f:heading>
37
+ <l:VerticalLayout class="sapSmartTemplatesAnalyticalListPageFilterContainer">
38
+ <l:HorizontalLayout class="sapSmartTemplatesAnalyticalListPageAlignVariantTitle sapUIContentPadding">
39
+ <smartVariantManagement:SmartVariantManagement id="template::PageVariant"
40
+ persistencyKey="{= (${parameter>/settings/smartVariantManagement} || ${parameter>/settings/smartVariantManagement} === undefined) ? 'searchAnalyticalListPageVariant' : '_ST_SmartVariantManagement'}"
41
+ showShare="true" showExecuteOnSelection="{= ${parameter>/settings/showGoButtonOnFilterBar} }"
42
+ displayTextForExecuteOnSelectionForStandardVariant="{= (${parameter>/settings/dataLoadSettings/loadDataOnAppLaunch} === 'ifAnyFilterExist' || ${parameter>/settings/dataLoadSettings/loadDataOnAppLaunch} === undefined) ? '{i18n>ST_LIST_DISPLAY_TEXT_FOR_EXECUTE_ON_SELECTION}' : undefined}" />
43
+ </l:HorizontalLayout>
44
+ </l:VerticalLayout>
45
+ </f:heading>
46
+ <f:content>
47
+ <template:if
48
+ test="{= ${parameter>/settings/keyPerformanceIndicators} !== undefined &amp;&amp; Object.keys(${parameter>/settings/keyPerformanceIndicators}).length > 0 &amp;&amp; !${device>/system/phone} }">
49
+ <template:then>
50
+ <template:with path="parameter>/settings/keyPerformanceIndicators" helper="ALPHelper.getFilterableKPIs" var="kpiContext">
51
+ <template:with path="kpiContext>globalKPIs" var="kpis">
52
+ <template:if test="{= Object.keys(${kpis>}).length > 0}">
53
+ <OverflowToolbar class= "sapSmartTemplatesAnalyticalListPageKpiTagContainer sapSmartTemplatesAnalyticalListPageKpiTagOverflow" id="template::KPITagContainer::globalKPIs">
54
+ <core:Fragment fragmentName="sap.suite.ui.generic.template.AnalyticalListPage.view.fragments.KPITagList" type="XML"/>
55
+ </OverflowToolbar>
56
+ </template:if>
57
+ </template:with>
58
+ </template:with>
59
+ </template:then>
60
+ </template:if>
61
+ </f:content>
62
+ <f:actions class="sapSmartTemplatesAnalyticalListPageVisualFilterToolbar">
64
63
  <ToolbarSpacer/>
65
64
  <core:Fragment fragmentName="sap.suite.ui.generic.template.listTemplates.fragments.ActionsFragment" type="XML"/>
66
- <template:if test="{= !${parameter>/settings/hideVisualFilter} === true}">
65
+ <template:if test="{= !${parameter>/settings/hideVisualFilter} }">
67
66
  <template:then>
68
- <SegmentedButton
69
- id = "template::FilterSwitchButton"
70
- selectedKey="{_templPriv>/alp/filterMode}" width="inherit" visible="{_templPriv>/listReport/isHeaderExpanded}" select="._templateEventHandlers.onFilterModeSegmentedButtonChange">
71
- <layoutData>
72
- <OverflowToolbarLayoutData priority="NeverOverflow"/>
73
- </layoutData>
74
- <items>
75
- <SegmentedButtonItem
76
- icon="sap-icon://filter-fields" tooltip="{i18n>FILTER_COMPACT}" key="compact"/>
77
- <SegmentedButtonItem
78
- icon="sap-icon://filter-analytics" tooltip="{i18n>FILTER_VISUAL}" key="visual"/>
79
- </items>
80
- </SegmentedButton>
81
- </template:then>
67
+ <SegmentedButton
68
+ id = "template::FilterSwitchButton"
69
+ selectedKey="{_templPriv>/alp/filterMode}" width="inherit" visible="{_templPriv>/listReport/isHeaderExpanded}" select="._templateEventHandlers.onFilterModeSegmentedButtonChange">
70
+ <layoutData>
71
+ <OverflowToolbarLayoutData priority="NeverOverflow"/>
72
+ </layoutData>
73
+ <items>
74
+ <SegmentedButtonItem icon="sap-icon://filter-fields" tooltip="{i18n>FILTER_COMPACT}" key="compact"/>
75
+ <SegmentedButtonItem icon="sap-icon://filter-analytics" tooltip="{i18n>FILTER_VISUAL}" key="visual"/>
76
+ </items>
77
+ </SegmentedButton>
78
+ </template:then>
82
79
  </template:if>
83
80
  <MenuButton id="{:= ${parameter>/stableId}.getStableId({type: 'ALPAction', subType: 'Share'}) }"
84
81
  icon="sap-icon://action"
85
82
  tooltip="{i18n>SHARE} (Shift+Ctrl+S)"
86
83
  text=""
87
- visible="{parts: [{path: 'appSettings>/flexibleColumnLayout'}], formatter: 'AH.getShareOptionVisibility'}"
84
+ visible="{path: 'appSettings>/flexibleColumnLayout', formatter: 'AH.getShareOptionVisibility'}"
88
85
  type="Transparent">
89
86
  <layoutData>
90
- <OverflowToolbarLayoutData closeOverflowOnInteraction="false"
91
- priority = "{= ${device>/system/phone} ? 'AlwaysOverflow' : 'High'}"/>
87
+ <OverflowToolbarLayoutData closeOverflowOnInteraction="false" priority="{= ${device>/system/phone} ? 'AlwaysOverflow' : 'High'}"/>
92
88
  </layoutData>
93
89
  </MenuButton>
94
90
  </f:actions>
95
91
  <f:snappedContent>
96
- <Text id="template::FilterText" class="sapSmartTemplatesAnalyticalListPageSnappedContentText"></Text>
92
+ <Text id="template::FilterText" class="sapSmartTemplatesAnalyticalListPageSnappedContentText"/>
97
93
  </f:snappedContent>
98
94
  </f:DynamicPageTitle>
99
95
  </f:title>
@@ -111,8 +107,7 @@
111
107
  <core:Fragment fragmentName="sap.suite.ui.generic.template.AnalyticalListPage.view.fragments.ContentContainer" type="XML"/>
112
108
  <!-- Helper -->
113
109
  <customData>
114
- <core:CustomData key="entityTypeName" writeToDom="false"
115
- value="{path: 'entityType>com.sap.vocabularies.UI.v1.HeaderInfo/TypeName', formatter: 'sap.ui.model.odata.AnnotationHelper.format'}"/>
110
+ <core:CustomData key="entityTypeName" writeToDom="false" value="{path: 'entityType>com.sap.vocabularies.UI.v1.HeaderInfo/TypeName', formatter: 'AHModel.format'}"/>
116
111
  </customData>
117
112
  </VBox>
118
113
  </f:content>
@@ -123,8 +118,8 @@
123
118
  list="{parameter>/manifest/sap.ui5/extends/extensions/sap.ui.controllerExtensions/sap.suite.ui.generic.template.AnalyticalListPage.view.AnalyticalListPage/sap.ui.generic.app}"
124
119
  var="tmpEntitySet">
125
120
  <template:repeat list="{tmpEntitySet>Actions}" var="customaction">
126
- <template:if test="{= (!!${customaction>determining}) &amp;&amp; (!${customaction>global}) &amp;&amp; (${customaction>filter} === 'chart')}">
127
- <core:Fragment fragmentName="sap.suite.ui.generic.template.fragments.DeterminingActions" type="XML"/>
121
+ <template:if test="{= !!${customaction>determining} &amp;&amp; !${customaction>global} &amp;&amp; ${customaction>filter} === 'chart'}">
122
+ <core:Fragment fragmentName="sap.suite.ui.generic.template.fragments.DeterminingActions" type="XML"/>
128
123
  </template:if>
129
124
  </template:repeat>
130
125
  </template:repeat>
@@ -132,13 +127,13 @@
132
127
  list="{parameter>/manifest/sap.ui5/extends/extensions/sap.ui.controllerExtensions/sap.suite.ui.generic.template.AnalyticalListPage.view.AnalyticalListPage/sap.ui.generic.app}"
133
128
  var="tmpEntitySet">
134
129
  <template:repeat list="{tmpEntitySet>Actions}" var="customaction">
135
- <template:if test="{= (!!${customaction>determining}) &amp;&amp; (!${customaction>global}) &amp;&amp; (!${customaction>filter} || ${customaction>filter} === 'table')}">
136
- <core:Fragment fragmentName="sap.suite.ui.generic.template.fragments.DeterminingActions" type="XML"/>
130
+ <template:if test="{= !!${customaction>determining} &amp;&amp; !${customaction>global} &amp;&amp; (!${customaction>filter} || ${customaction>filter} === 'table')}">
131
+ <core:Fragment fragmentName="sap.suite.ui.generic.template.fragments.DeterminingActions" type="XML"/>
137
132
  </template:if>
138
133
  </template:repeat>
139
134
  </template:repeat>
140
135
  <template:with path="entitySet>dummy" var="facet">
141
- <template:with path="workingContext>chartPath" helper=".ALPHelper.resolveMetaModelPath" var="chart">
136
+ <template:with path="workingContext>chartPath" helper="ALPHelper.resolveMetaModelPath" var="chart">
142
137
  <template:repeat list="{chart>Actions}" var="dataField">
143
138
  <template:if
144
139
  test="{= (${dataField>RecordType} === 'com.sap.vocabularies.UI.v1.DataFieldForAction' || ${dataField>RecordType} === 'com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation') &amp;&amp; ${dataField>Determining/Bool} === 'true'}">
@@ -146,7 +141,7 @@
146
141
  </template:if>
147
142
  </template:repeat>
148
143
  </template:with>
149
- <template:with path="workingContext>lineItemPath" helper=".ALPHelper.resolveMetaModelPath" var="lineItem">
144
+ <template:with path="workingContext>lineItemPath" helper="ALPHelper.resolveMetaModelPath" var="lineItem">
150
145
  <template:repeat list="{lineItem>}" var="dataField">
151
146
  <template:if
152
147
  test="{= (${dataField>RecordType} === 'com.sap.vocabularies.UI.v1.DataFieldForAction' || ${dataField>RecordType} === 'com.sap.vocabularies.UI.v1.DataFieldForIntentBasedNavigation') &amp;&amp; ${dataField>Determining/Bool} === 'true'}">
@@ -161,5 +156,4 @@
161
156
  </template:with>
162
157
  </template:with>
163
158
  </template:with>
164
- </template:alias>
165
159
  </mvc:View>
@@ -1,6 +1,3 @@
1
- <mvc:View xmlns:mvc="sap.ui.core.mvc" controllerName="sap.suite.ui.generic.template.AnalyticalListPage.controller.KpiCardController" xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
2
- xmlns="sap.m" xmlns:core="sap.ui.core" xmlns:semantic="sap.m.semantic" xmlns:ushell="sap.ushell.ui"
3
- xmlns:build="sap.build" xmlns:st="sap.suite.ui.generic.template"
4
- >
5
- <core:Fragment fragmentName="sap.suite.ui.generic.template.AnalyticalListPage.view.fragments.KpiCard" type="XML"/>
1
+ <mvc:View xmlns:mvc="sap.ui.core.mvc" xmlns:core="sap.ui.core" controllerName="sap.suite.ui.generic.template.AnalyticalListPage.controller.KpiCardController" >
2
+ <core:Fragment fragmentName="sap.suite.ui.generic.template.AnalyticalListPage.view.fragments.KpiCard" type="XML"/>
6
3
  </mvc:View>
@@ -1,11 +1,11 @@
1
- <core:FragmentDefinition xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
2
- xmlns="sap.m" xmlns:core="sap.ui.core"
3
- xmlns:customData="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1"
4
- xmlns:build="sap.build">
5
- <template:with path="parameter>/settings/keyPerformanceIndicators" helper=".ALPHelper.getFilterableKPIs" var="kpiContext">
1
+ <core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core"
2
+ xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
3
+ template:require="{ALPHelper: 'sap/suite/ui/generic/template/AnalyticalListPage/util/AnnotationHelper'}" >
4
+
5
+ <template:with path="parameter>/settings/keyPerformanceIndicators" helper="ALPHelper.getFilterableKPIs" var="kpiContext">
6
6
  <template:with path="kpiContext>filterableKPIs" var="kpis">
7
- <template:if test="{= (Object.keys(${kpis>}).length === 0) &amp;&amp; (!${parameter>/settings/contentTitle}) }">
8
- <OverflowToolbar id="template::analyticGridToolbar" design="Transparent">
7
+ <template:if test="{= Object.keys(${kpis>}).length === 0 &amp;&amp; !${parameter>/settings/contentTitle} }">
8
+ <OverflowToolbar id="template::analyticGridToolbar" design="Transparent">
9
9
  <ToolbarSpacer/>
10
10
  <template:if test="{= !${parameter>/settings/quickVariantSelectionX}}">
11
11
  <template:then>
@@ -16,6 +16,6 @@
16
16
  </template:if>
17
17
  </template:with>
18
18
  </template:with>
19
- <VBox id="template::AnalyticGridContainer" visible="{= (${_templPriv>/alp/contentView} === 'crosstable')}">
19
+ <VBox id="template::AnalyticGridContainer" visible="{= ${_templPriv>/alp/contentView} === 'crosstable'}">
20
20
  </VBox>
21
21
  </core:FragmentDefinition>
@@ -1,11 +1,11 @@
1
- <core:FragmentDefinition xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
2
- xmlns="sap.m" xmlns:core="sap.ui.core"
3
- xmlns:customData="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1"
4
- xmlns:build="sap.build">
5
- <template:with path="parameter>/settings/keyPerformanceIndicators" helper=".ALPHelper.getFilterableKPIs" var="kpiContext">
1
+ <core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core"
2
+ xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
3
+ template:require="{ALPHelper: 'sap/suite/ui/generic/template/AnalyticalListPage/util/AnnotationHelper'}" >
4
+
5
+ <template:with path="parameter>/settings/keyPerformanceIndicators" helper="ALPHelper.getFilterableKPIs" var="kpiContext">
6
6
  <template:with path="kpiContext>filterableKPIs" var="kpis">
7
- <template:if test="{= (Object.keys(${kpis>}).length === 0) &amp;&amp; (!${parameter>/settings/contentTitle}) }">
8
- <OverflowToolbar id="template::contentViewExtensionToolbar" design="Transparent">
7
+ <template:if test="{= Object.keys(${kpis>}).length === 0 &amp;&amp; !${parameter>/settings/contentTitle} }">
8
+ <OverflowToolbar id="template::contentViewExtensionToolbar" design="Transparent">
9
9
  <ToolbarSpacer/>
10
10
  <template:if test="{= !${parameter>/settings/quickVariantSelectionX}}">
11
11
  <template:then>
@@ -16,6 +16,5 @@
16
16
  </template:if>
17
17
  </template:with>
18
18
  </template:with>
19
- <ExtensionPoint name="AnalyticalListPageContentViewExtension" xmlns="sap.ui.core">
20
- </ExtensionPoint>
19
+ <core:ExtensionPoint name="AnalyticalListPageContentViewExtension" />
21
20
  </core:FragmentDefinition>
@@ -1,21 +1,20 @@
1
- <core:FragmentDefinition xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
2
- xmlns="sap.m" xmlns:core="sap.ui.core"
3
- xmlns:customData="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1"
4
- xmlns:build="sap.build">
5
- <template:with path="parameter>/settings/keyPerformanceIndicators" helper=".ALPHelper.getFilterableKPIs" var="kpiContext">
1
+ <core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core"
2
+ xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
3
+ template:require="{ALPHelper: 'sap/suite/ui/generic/template/AnalyticalListPage/util/AnnotationHelper'}">
4
+
5
+ <template:with path="parameter>/settings/keyPerformanceIndicators" helper="ALPHelper.getFilterableKPIs" var="kpiContext">
6
6
  <template:with path="kpiContext>filterableKPIs" var="kpis">
7
- <template:if test="{= (Object.keys(${kpis>}).length === 0) &amp;&amp; (!${parameter>/settings/contentTitle}) }">
8
- <OverflowToolbar id="template::contentViewExtension2Toolbar" design="Transparent">
7
+ <template:if test="{= Object.keys(${kpis>}).length === 0 &amp;&amp; !${parameter>/settings/contentTitle} }">
8
+ <OverflowToolbar id="template::contentViewExtension2Toolbar" design="Transparent">
9
9
  <ToolbarSpacer/>
10
10
  <template:if test="{= !${parameter>/settings/quickVariantSelectionX}}">
11
11
  <template:then>
12
- <core:Fragment fragmentName="sap.suite.ui.generic.template.AnalyticalListPage.view.fragments.ContentViewButtons" type="XML"/>
12
+ <core:Fragment fragmentName="sap.suite.ui.generic.template.AnalyticalListPage.view.fragments.ContentViewButtons" type="XML"/>
13
13
  </template:then>
14
14
  </template:if>
15
15
  </OverflowToolbar>
16
16
  </template:if>
17
17
  </template:with>
18
18
  </template:with>
19
- <ExtensionPoint name="AnalyticalListPageContentViewExtension2" xmlns="sap.ui.core">
20
- </ExtensionPoint>
19
+ <core:ExtensionPoint name="AnalyticalListPageContentViewExtension2" />
21
20
  </core:FragmentDefinition>