@sapui5/sap.suite.ui.generic.template 1.142.5 → 1.142.7

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 (29) 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/controller/ControllerImplementation.js +6 -9
  4. package/src/sap/suite/ui/generic/template/AnalyticalListPage/manifest.json +1 -1
  5. package/src/sap/suite/ui/generic/template/Canvas/manifest.json +1 -1
  6. package/src/sap/suite/ui/generic/template/ListReport/controller/ControllerImplementation.js +94 -11
  7. package/src/sap/suite/ui/generic/template/ListReport/controller/IappStateHandler.js +19 -9
  8. package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
  9. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartChart.fragment.xml +2 -1
  10. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartTable.fragment.xml +3 -2
  11. package/src/sap/suite/ui/generic/template/ObjectPage/controller/ControllerImplementation.js +5 -2
  12. package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +1 -1
  13. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartChart.fragment.xml +3 -2
  14. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartTable.fragment.xml +3 -2
  15. package/src/sap/suite/ui/generic/template/QuickCreate/manifest.json +1 -1
  16. package/src/sap/suite/ui/generic/template/QuickView/manifest.json +1 -1
  17. package/src/sap/suite/ui/generic/template/genericUtilities/ControlStateWrapperFactory.js +101 -67
  18. package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/DynamicPageWrapper.js +19 -51
  19. package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/ObjectPageLayoutWrapper.js +10 -32
  20. package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/PreliminaryWrapper.js +144 -0
  21. package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SearchFieldWrapper.js +8 -30
  22. package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartFilterBarWrapper.js +49 -162
  23. package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartTableChartCommon.js +100 -94
  24. package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartTableWrapper.js +22 -3
  25. package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartVariantManagementWrapper.js +82 -75
  26. package/src/sap/suite/ui/generic/template/lib/AppComponent.js +1 -1
  27. package/src/sap/suite/ui/generic/template/lib/ai/EasyFilterBarHandler.js +21 -8
  28. package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +1 -1
  29. package/src/sap/suite/ui/generic/template/library.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.suite.ui.generic.template",
3
- "version": "1.142.5",
3
+ "version": "1.142.7",
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.142.5</version>
10
+ <version>1.142.7</version>
11
11
 
12
12
  <documentation>Library with generic Suite UI templates.</documentation>
13
13
 
@@ -1019,17 +1019,14 @@ sap.ui.define(["sap/fe/navigation/SelectionVariant",
1019
1019
  if (Device.system.phone && oState.oPage.getHeaderExpanded()) { //Check if isHeaderExpanded = true. If yes, collapse the header (on press of Go) (only for phone)
1020
1020
  oState.oPage.setHeaderExpanded(false);
1021
1021
  }
1022
- var oModel = oController.getOwnerComponent().getModel();
1023
1022
  oState.oController.getOwnerComponent().getModel("_templPriv").setProperty('/alp/filterChanged', false);
1024
1023
  oState.oController.getOwnerComponent().getModel("_templPriv").setProperty("/generic/bDataAreShownInChart", true);
1025
- oModel.attachEventOnce("requestSent", function() {
1026
- if (!oState._bIsStartingUp) {
1027
- oState.oIappStateHandler.fnStoreCurrentAppStateAndAdjustURL();
1028
- } else {
1029
- // resolve starup promise
1030
- oState.oIappStateHandler.fnResolveStartUpPromise();
1031
- }
1032
- });
1024
+ if (!oState._bIsStartingUp) {
1025
+ oState.oIappStateHandler.fnStoreCurrentAppStateAndAdjustURL();
1026
+ } else {
1027
+ // resolve starup promise
1028
+ oState.oIappStateHandler.fnResolveStartUpPromise();
1029
+ }
1033
1030
  //chart selection needn't be retained for filter bar search / table personalisation
1034
1031
  oState.oController.getOwnerComponent().getModel("_templPriv").setProperty('/alp/_ignoreChartSelections', true);
1035
1032
  if (oState.oSmartTable) {
@@ -8,7 +8,7 @@
8
8
  "i18n": "i18n/i18n.properties",
9
9
  "applicationVersion": {
10
10
  "__comment": "applicationVersion oder componentversion??",
11
- "version": "1.142.5"
11
+ "version": "1.142.7"
12
12
  },
13
13
  "title": "{{TITLE}}",
14
14
  "description": "{{DESCRIPTION}}",
@@ -8,7 +8,7 @@
8
8
  "i18n": "i18n/i18n.properties",
9
9
  "applicationVersion": {
10
10
  "__comment": "applicationVersion oder componentversion??",
11
- "version": "1.142.5"
11
+ "version": "1.142.7"
12
12
  },
13
13
  "title": "Canvas",
14
14
  "description": "Canvas Page",
@@ -1,5 +1,6 @@
1
1
  sap.ui.define([
2
2
  "sap/ui/model/Filter",
3
+ "sap/ui/model/FilterOperator",
3
4
  "sap/suite/ui/generic/template/ListReport/extensionAPI/ExtensionAPI",
4
5
  "sap/suite/ui/generic/template/listTemplates/listUtils",
5
6
  "sap/suite/ui/generic/template/listTemplates/controller/MessageStripHelper",
@@ -31,6 +32,7 @@ sap.ui.define([
31
32
  "sap/fe/controls/easyFilter/PXFeedback"
32
33
  ], function (
33
34
  Filter,
35
+ FilterOperator,
34
36
  ExtensionAPI,
35
37
  listUtils,
36
38
  MessageStripHelper,
@@ -464,7 +466,7 @@ sap.ui.define([
464
466
  /**
465
467
  * When no data message is displayed as illustration, SmartTable overrides the "illustrationType" to "NoEntries".
466
468
  * Here, we reset back to "BeforeSearch".
467
- *
469
+ *
468
470
  * TODO: Sync with table colleagues
469
471
  */
470
472
  function fnSetInitialNoDataMessageForTable (oSmartTable) {
@@ -590,10 +592,89 @@ sap.ui.define([
590
592
  return restoreFocusHelper;
591
593
  }
592
594
 
593
- // // Expose selected private functions to unit tests
594
- // var getDownloadUrl = testableHelper.testable(getDownloadUrl, "getDownloadUrl");
595
+ /**
596
+ * Helper function to get missing navigation properties from the current variant.
597
+ * This logic was moved from SmartFilterBarWrapper to avoid control-specific
598
+ * business logic in the wrapper layer.
599
+ * @param {object} oSmartFilterBar - The SmartFilterBar control
600
+ * @returns {Array} Array of missing navigation property filters
601
+ */
602
+ function fnGetMissingNavProperties(oSmartFilterBar) {
603
+ //Fetch the navigation properties
604
+ const oMetaModel = oSmartFilterBar.getModel().getMetaModel(),
605
+ sEntitySet = oSmartFilterBar.getEntitySet(),
606
+ oDataEntitySet = oMetaModel.getODataEntitySet(sEntitySet),
607
+ oDataEntityType = oMetaModel.getODataEntityType(oDataEntitySet.entityType),
608
+ aNavigationProperties = oDataEntityType['navigationProperty'];
609
+ //Fetch the added filters in the current variant
610
+ const sCurrentVariantID = oSmartFilterBar.getVariantManagement().getCurrentVariantId(),
611
+ oCurrentVariant = oSmartFilterBar.getVariantManagement().getAllVariants().find(function(variant) {
612
+ return variant.getId() === sCurrentVariantID;
613
+ });
614
+ if (!oCurrentVariant
615
+ || !oCurrentVariant.getContent()
616
+ || !oCurrentVariant.getContent().searchListReportVariant
617
+ || !oCurrentVariant.getContent().searchListReportVariant.filterBarVariant
618
+ || !aNavigationProperties
619
+ || !aNavigationProperties.length
620
+ ) {
621
+ return [];
622
+ }
623
+ const oManifestNavigationProperties = oSmartFilterBar.getNavigationProperties() ?
624
+ oSmartFilterBar.getNavigationProperties().split(",").reduce(function(accumulator, currentValue){
625
+ accumulator[currentValue] = true;
626
+ return accumulator;
627
+ }, {}) : {},
628
+ oNavigationProperties = aNavigationProperties.reduce(function(accumulator, currentValue){
629
+ accumulator[currentValue.name] = true;
630
+ return accumulator;
631
+ }, {}),
632
+ oSmartFilterBarVariant = JSON.parse(oCurrentVariant.getContent().searchListReportVariant.filterBarVariant),
633
+ aMissing = [];
634
+ delete oSmartFilterBarVariant["_CUSTOM"];
635
+
636
+ // Compare the filter source and navigation properties
637
+ // Take into account if parameter is already specified in page setting in manifest.json - settings->filterSettings->navigationProperties
638
+ // If parameter exist in navigationProperties -> SFB will handle specific parameter and code ignore it
639
+ for (const sFilterKey in oSmartFilterBarVariant) {
640
+ const sParamName = sFilterKey.split(".")[0]; // take first part from navigation parameter. Example: to_Currency.Currency_Code -> to_Currency
641
+ if (!oNavigationProperties[sParamName] || oManifestNavigationProperties[sParamName]
642
+ ) {
643
+ // Parameter is
644
+ // 1) not navigation property -> we don't process it
645
+ // 2) is defined in manifest.json - settings->filterSettings->navigationProperties -> value will be handled by SFB
646
+ continue;
647
+ }
648
+ if (oSmartFilterBarVariant[sFilterKey].items && oSmartFilterBarVariant[sFilterKey].items.length) {
649
+ aMissing.push(oSmartFilterBarVariant[sFilterKey].items.map(function(entry) {
650
+ return {
651
+ exclude: false,
652
+ field: sFilterKey,
653
+ operation: FilterOperator.EQ,
654
+ value1: entry.key
655
+ };
656
+ }));
657
+ continue;
658
+ }
659
+ if (oSmartFilterBarVariant[sFilterKey].ranges && oSmartFilterBarVariant[sFilterKey].ranges.length) {
660
+ aMissing.push(oSmartFilterBarVariant[sFilterKey].ranges.map(function(entry) {
661
+ return {
662
+ exclude: entry.exclude,
663
+ field: entry.keyField,
664
+ operation: entry.operation,
665
+ value1: entry.value1,
666
+ value2: entry.value2
667
+ };
668
+ }));
669
+ }
670
+ }
671
+ return aMissing;
672
+ }
673
+
674
+ // Expose selected private functions to unit tests
595
675
  /* eslint-enable */
596
676
  testableHelper.testableStatic(onShareListReportActionButtonPressImpl, "ControllerImplementation_onShareListReportActionButtonPressImpl");
677
+ testableHelper.testable(fnGetMissingNavProperties, "fnGetMissingNavProperties");
597
678
 
598
679
  // Generation of Event Handlers
599
680
  return {
@@ -751,8 +832,11 @@ sap.ui.define([
751
832
  onShareListReportActionButtonPressImpl(oMenuButton);
752
833
  });
753
834
  },
754
-
835
+
755
836
  handlers: {
837
+ onAfterVariantInitialise: function(oEvent) {
838
+ oTemplateUtils.oCommonUtils.getControlStateWrapper(oEvent.getSource()).onAfterVariantInitialise();
839
+ },
756
840
  addEntry: addEntry,
757
841
  addEntryWithFilters: addEntryWithFilters,
758
842
  deleteEntries: fnDeleteEntries,
@@ -798,6 +882,8 @@ sap.ui.define([
798
882
  onAfterSFBVariantLoad: function (oEvent) {
799
883
  oState.oIappStateHandler.onAfterSFBVariantLoad(oEvent);
800
884
  oState.oEasyFilterBarHandler && oState.oEasyFilterBarHandler.handleVariantLoad(oEvent);
885
+ // Cache missing navigation property filters for performance
886
+ oState.aMissingNavFilters = fnGetMissingNavProperties(oState.oSmartFilterbar);
801
887
  },
802
888
  onSmartListDataReceived: function (oEvent) {
803
889
  var oSmartList = oEvent.getSource();
@@ -850,11 +936,8 @@ sap.ui.define([
850
936
  // However, this connection is not there in the multi view multi table scenario which is the only case in which this snapshot
851
937
  // will be used later.
852
938
  var aFiltersFromRebindEvent = oBindingParams.filters.slice(0);
853
- // To get the missing navigation properties from the user variant
854
- var oSmartFilterBarId = oState.oSmartFilterbar.getId(),
855
- oSmartFilterBarWrapper = oTemplateUtils.oCommonUtils.getControlStateWrapperById(oSmartFilterBarId, "SmartFilterBar"),
856
- aMissingFilters = oSmartFilterBarWrapper.getMissingNavProperties();
857
- if (aMissingFilters.length) {
939
+ // To get the missing navigation properties from the user variant (cached from last variant load)
940
+ if (oState.aMissingNavFilters && oState.aMissingNavFilters.length) {
858
941
  // Display message to the user, which filters currently are not visible
859
942
  var sCurrentVariant = oState.oSmartFilterbar.getVariantManagement().getId(),
860
943
  sCurrentVariantId = oState.oSmartFilterbar.getCurrentVariantId(),
@@ -870,7 +953,7 @@ sap.ui.define([
870
953
  }
871
954
  return accumulator;
872
955
  }, {}),
873
- aMissingPropertyNames = aMissingFilters.reduce(function(accumulator, currentValue) {
956
+ aMissingPropertyNames = oState.aMissingNavFilters.reduce(function(accumulator, currentValue) {
874
957
  var sName = currentValue[0].field.split(".")[0];
875
958
  if (oMappedProperty[sName]) {
876
959
  accumulator.push(oMappedProperty[sName]);
@@ -888,7 +971,7 @@ sap.ui.define([
888
971
  // Generate filters and set them into binding parameters
889
972
  // use same logic as in sap.ui.comp.smartfilterbar.FilterProviderUtils, method generateFilters()
890
973
  var aFilters = [];
891
- aMissingFilters.forEach(function(oEntry) {
974
+ oState.aMissingNavFilters.forEach(function(oEntry) {
892
975
  var aIncludeFilters = [],
893
976
  aExcludeFilters = [];
894
977
  oEntry.forEach(function(oFilterEntry) {
@@ -214,12 +214,6 @@ sap.ui.define([
214
214
  // However, for iAppState case, SVM wrapper also needs to contain SFB wrapper (and not oCustomFiltersWrapper directly)
215
215
 
216
216
 
217
- // DynamicPage state: header pinned
218
- var oDynamicPage = oController.byId(StableIdHelper.getStableId({type: "ListReportPage", subType: "DynamicPage"}));
219
- // TODO: Discuss: should this state (header pinned) be part of variant (only page variant or SFB variant)? Assumption: no
220
- var oDynamicPageWrapper = oTemplateUtils.oCommonUtils.getControlStateWrapper(oDynamicPage);
221
- aControlStateWrappers.push(oDynamicPageWrapper);
222
-
223
217
  // SmartVariantManagement state: Selected Variant and whether it's dirty, including wrappers for managed controls (all controls, for which the corresponding state
224
218
  // information should be part of the variant)
225
219
  // Due to direct connection between SVM and SFB, also their wrappers need to each other directly. Remarks:
@@ -229,14 +223,19 @@ sap.ui.define([
229
223
  var oSmartVariantManagement = oState.oSmartFilterbar.getSmartVariant();
230
224
  if (oSmartVariantManagement){
231
225
  var oSmartVariantManagementWrapper = oTemplateUtils.oCommonUtils.getControlStateWrapper(oSmartVariantManagement, {
232
- managedControlWrappers: aPageVariantControlStateWrappers.concat([oSmartFilterBarWrapper]),
233
- dynamicPageWrapper: oDynamicPageWrapper
226
+ managedControlWrappers: aPageVariantControlStateWrappers.concat([oSmartFilterBarWrapper])
234
227
  });
235
228
  aControlStateWrappers.push(oSmartVariantManagementWrapper);
236
229
  } else {
237
230
  aControlStateWrappers.push(oSmartFilterBarWrapper);
238
231
  }
239
232
 
233
+ // DynamicPage state: header pinned
234
+ var oDynamicPage = oController.byId(StableIdHelper.getStableId({type: "ListReportPage", subType: "DynamicPage"}));
235
+ // The DynamicPage state (header pinned) is intentionally stored only in iAppState and not included in any variant (neither page variant nor SFB variant).
236
+ var oDynamicPageWrapper = oTemplateUtils.oCommonUtils.getControlStateWrapper(oDynamicPage);
237
+ aControlStateWrappers.push(oDynamicPageWrapper);
238
+
240
239
 
241
240
  // Wrapper to control whether data is loaded
242
241
 
@@ -774,7 +773,8 @@ sap.ui.define([
774
773
  // For desktop devices, expand the header for Standard and Custom variants and for tablet and mobile devices,
775
774
  // collapse the header only if search is triggered.
776
775
  if (Device.system.desktop) {
777
- oTemplateUtils.oCommonUtils.getControlStateWrapper(oController.byId(StableIdHelper.getStableId({type: "ListReportPage", subType: "DynamicPage"}))).setHeaderState(oController, true);
776
+ var oTemplatePrivateModel = oTemplateUtils.oComponentUtils.getTemplatePrivateModel();
777
+ oTemplatePrivateModel.setProperty("/listReport/isHeaderExpanded", true);
778
778
  } else {
779
779
  collapseHeader();
780
780
  }
@@ -909,6 +909,16 @@ sap.ui.define([
909
909
  }
910
910
  sap.ui.getCore().getMessageManager().removeMessages(removedMessages);
911
911
  }
912
+
913
+ // Restore header collapse logic (originally removed in change 5641712)
914
+ // Collapse header when user manually selects a variant (context === undefined) that has executeOnSelect set to true
915
+ var oContext = oEvent.getParameter("context");
916
+ var bExecuteOnSelect = oEvent.getParameter("executeOnSelect");
917
+
918
+ if (oContext === undefined && bExecuteOnSelect) {
919
+ collapseHeader();
920
+ }
921
+
912
922
  fnRestoreExtendedFilterDataOnAfterSFBVariantLoad(oEvent);
913
923
  }
914
924
 
@@ -8,7 +8,7 @@
8
8
  "i18n": "i18n/i18n.properties",
9
9
  "applicationVersion": {
10
10
  "__comment": "applicationVersion oder componentversion??",
11
- "version": "1.142.5"
11
+ "version": "1.142.7"
12
12
  },
13
13
  "title": "{{TITLE}}",
14
14
  "description": "{{DESCRIPTION}}",
@@ -8,7 +8,8 @@
8
8
 
9
9
  <template:with path="entityType>com.sap.vocabularies.UI.v1.HeaderInfo" var="header">
10
10
  <smartChart:SmartChart
11
- id="listReport{= ${parameter>/settings/quickVariantSelectionX} ? ${path: 'tabItem>', formatter: 'AH.getSuffixFromIconTabFilterKey'} : ''}"
11
+ id="listReport{= ${parameter>/settings/quickVariantSelectionX} ? ${path: 'tabItem>', formatter: 'AH.getSuffixFromIconTabFilterKey'} : ''}"
12
+ afterVariantInitialise="._templateEventHandlers.onAfterVariantInitialise"
12
13
  visible="{path: 'tabItem>', formatter: 'AHMultipleViews.getVisibleForTableTabs'}"
13
14
  smartFilterId=""
14
15
  persistencyKey="listReportChart{= ${parameter>/settings/quickVariantSelectionX} ? ${path: 'tabItem>', formatter: 'AH.getSuffixFromIconTabFilterKey'} : ''}"
@@ -17,8 +17,9 @@
17
17
  <template:with path="tableAnnotationPath>" helper="AH.searchForFirstSemKey_Title_Description" var="targetColumn">
18
18
  <template:with path="parameter>/" helper="StableIdHelper.preparePathForStableId" var="smartControlId">
19
19
  <template:if test="{= ${smartControlId>}.buildStableId({type: 'ListReportTable', subType: 'SmartTable', sQuickVariantKey: ${tabItem>key}})}" />
20
- <smarttable:SmartTable id="{smartControlId>id}" useDateRangeType="{= ${parameter>/settings/filterSettings/dateSettings/useDateRange} }"
21
- smartFilterId="{= ${parameter>/settings/quickVariantSelectionX} ? '' : 'listReportFilter'}"
20
+ <smarttable:SmartTable id="{smartControlId>id}" useDateRangeType="{= ${parameter>/settings/filterSettings/dateSettings/useDateRange} }"
21
+ afterVariantInitialise="._templateEventHandlers.onAfterVariantInitialise"
22
+ smartFilterId="{= ${parameter>/settings/quickVariantSelectionX} ? '' : 'listReportFilter'}"
22
23
  visible="{path: 'tabItem>', formatter: 'AHMultipleViews.getVisibleForTableTabs'}"
23
24
  initialise="._templateEventHandlers.onTableInit"
24
25
  persistencyKey="{= ${path: 'parameter>/settings/routeConfig/', formatter: 'AH.getPersistencyKeyForSmartTable'} }{= ${parameter>/settings/quickVariantSelectionX} ? ${path: 'tabItem>', formatter: 'AH.getSuffixFromIconTabFilterKey'} : ''}"
@@ -2479,8 +2479,11 @@ sap.ui.define([
2479
2479
  });
2480
2480
  }
2481
2481
  },
2482
- handlers: {
2483
- onEditAndActiveToggle: function () { // Implementation of draft toggle for static header
2482
+ handlers: {
2483
+ onAfterVariantInitialise: function(oEvent) {
2484
+ oTemplateUtils.oCommonUtils.getControlStateWrapper(oEvent.getSource()).onAfterVariantInitialise();
2485
+ },
2486
+ onEditAndActiveToggle: function () { // Implementation of draft toggle for static header
2484
2487
  var oUIModel = oObjectPage.getModel("ui");
2485
2488
  var bIsEditable = oUIModel.getProperty("/editable");
2486
2489
 
@@ -6,7 +6,7 @@
6
6
  "type": "component",
7
7
  "i18n": "i18n/i18n.properties",
8
8
  "applicationVersion": {
9
- "version": "1.142.5"
9
+ "version": "1.142.7"
10
10
  },
11
11
  "title": "{{TITLE}}",
12
12
  "description": "{{DESCRIPTION}}",
@@ -11,8 +11,9 @@
11
11
  <template:if test="{:= ${smartChartId>}.set(AH.getStableIdPartFromFacet(${facet>}) + '::Chart') }"/>
12
12
  <!-- Header Level for Smart Chart is hardcoded here with "H5" for fallback scenarios, After Section Title hiding logic, if required the level is calculated on the class /ObjectPage/controller/SectionTitleHandler.js-->
13
13
  <!-- Header Style for Smart Chart is hardcoded here with "H5" for all Scenarios.-->
14
- <smartChart:SmartChart
15
- id="{smartChartId>value}"
14
+ <smartChart:SmartChart
15
+ id="{smartChartId>value}"
16
+ afterVariantInitialise="._templateEventHandlers.onAfterVariantInitialise"
16
17
  header="{chartAnnotation>Title/String}"
17
18
  initialized="._templateEventHandlers.onChartInit"
18
19
  requestAtLeastFields="{parts: [{path: 'chartAnnotation>'}, {path: 'entitySet>entityType'}], formatter: 'AH.getApplicablePathForChartToolbarActions'}"
@@ -16,8 +16,9 @@
16
16
  <template:if test="{= ${smartControlId>}.buildStableId({type: 'ObjectPageTable', subType: 'SmartTable', sFacet: ${facetId>id}})}" />
17
17
  <!-- Header Level for Smart Table is hardcoded here with "H5" for fallback scenarios, After Section Title hiding logic, if required the level is calculated on the class /ObjectPage/controller/SectionTitleHandler.js-->
18
18
  <!-- Header Style for Smart Table is hardcoded here with "H5" for all Scenarios.-->
19
- <st:SmartTable id="{smartControlId>id}"
20
- initialise="._templateEventHandlers.onTableInit($event, '{facetId>id}')"
19
+ <st:SmartTable id="{smartControlId>id}"
20
+ afterVariantInitialise="._templateEventHandlers.onAfterVariantInitialise"
21
+ initialise="._templateEventHandlers.onTableInit($event, '{facetId>id}')"
21
22
  persistencyKey="{parts: [{path: 'smartControlId>id'}, {path: 'objectPageTableSettings>value/persistencyKeyState'}], formatter: 'AH.getPersistencyKey'}"
22
23
  tableBindingPath="{= ${path: 'target>AnnotationPath'}.slice(0, ${path: 'target>AnnotationPath'}.lastIndexOf('/')) }"
23
24
  fitContainer="false"
@@ -6,7 +6,7 @@
6
6
  "type": "component",
7
7
  "i18n": "i18n/i18n.properties",
8
8
  "applicationVersion": {
9
- "version": "1.142.5"
9
+ "version": "1.142.7"
10
10
  },
11
11
  "title": "{{TITLE}}",
12
12
  "description": "{{DESCRIPTION}}",
@@ -6,7 +6,7 @@
6
6
  "type": "component",
7
7
  "i18n": "i18n/i18n.properties",
8
8
  "applicationVersion": {
9
- "version": "1.142.5"
9
+ "version": "1.142.7"
10
10
  },
11
11
  "title": "{{TITLE}}",
12
12
  "description": "{{DESCRIPTION}}",