@sapui5/sap.suite.ui.generic.template 1.133.0 → 1.134.2

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 (91) 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/i18n/i18n.properties +7 -7
  4. package/src/sap/suite/ui/generic/template/AnalyticalListPage/manifest.json +1 -1
  5. package/src/sap/suite/ui/generic/template/Canvas/extensionAPI/ExtensionAPI.js +11 -3
  6. package/src/sap/suite/ui/generic/template/Canvas/manifest.json +1 -1
  7. package/src/sap/suite/ui/generic/template/ListReport/extensionAPI/ExtensionAPI.js +11 -9
  8. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n.properties +3 -3
  9. package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
  10. package/src/sap/suite/ui/generic/template/ListReport/view/ListReport.view.xml +1 -1
  11. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartFilterBar.fragment.xml +1 -1
  12. package/src/sap/suite/ui/generic/template/ObjectPage/controller/MessageSortingHandler.js +22 -5
  13. package/src/sap/suite/ui/generic/template/ObjectPage/extensionAPI/DraftTransactionController.js +8 -10
  14. package/src/sap/suite/ui/generic/template/ObjectPage/extensionAPI/ExtensionAPI.js +34 -14
  15. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n.properties +22 -4
  16. package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +1 -1
  17. package/src/sap/suite/ui/generic/template/ObjectPage/templateSpecificPreparationHelper.js +233 -125
  18. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/Facet.fragment.xml +32 -27
  19. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartTable.fragment.xml +7 -11
  20. package/src/sap/suite/ui/generic/template/QuickCreate/manifest.json +1 -1
  21. package/src/sap/suite/ui/generic/template/QuickView/manifest.json +1 -1
  22. package/src/sap/suite/ui/generic/template/designtime/controls/ObjectPageLayout.designtime.js +29 -12
  23. package/src/sap/suite/ui/generic/template/designtime/controls/SmartTable.designtime.js +29 -28
  24. package/src/sap/suite/ui/generic/template/designtime/floorplans/AnalyticalListPage.designtime.js +3 -1
  25. package/src/sap/suite/ui/generic/template/designtime/floorplans/ListReport.designtime.js +3 -1
  26. package/src/sap/suite/ui/generic/template/designtime/floorplans/ObjectPage.designtime.js +4 -1
  27. package/src/sap/suite/ui/generic/template/detailTemplates/DiscardEditHandler.js +13 -0
  28. package/src/sap/suite/ui/generic/template/fragments/DraftAdminDataPopover.fragment.xml +1 -0
  29. package/src/sap/suite/ui/generic/template/fragments/MessagePopover.fragment.xml +2 -2
  30. package/src/sap/suite/ui/generic/template/fragments/SmartControlContextMenu.fragment.xml +1 -1
  31. package/src/sap/suite/ui/generic/template/genericUtilities/filterHelper.js +3 -1
  32. package/src/sap/suite/ui/generic/template/js/AnnotationHelper.js +65 -8
  33. package/src/sap/suite/ui/generic/template/js/AnnotationHelperStreamSupport.js +1 -1
  34. package/src/sap/suite/ui/generic/template/lib/AppComponent.js +1 -2
  35. package/src/sap/suite/ui/generic/template/lib/Application.js +2 -0
  36. package/src/sap/suite/ui/generic/template/lib/ComponentUtils.js +13 -2
  37. package/src/sap/suite/ui/generic/template/lib/ContextBookkeeping.js +1 -0
  38. package/src/sap/suite/ui/generic/template/lib/ContextMenuHandler.js +124 -2
  39. package/src/sap/suite/ui/generic/template/lib/SideEffectUtil.js +39 -2
  40. package/src/sap/suite/ui/generic/template/lib/i18n/i18n.properties +17 -11
  41. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ar.properties +2 -0
  42. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_bg.properties +4 -2
  43. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ca.properties +4 -2
  44. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cnr.properties +3 -1
  45. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cs.properties +3 -1
  46. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cy.properties +2 -0
  47. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_da.properties +3 -1
  48. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_de.properties +4 -2
  49. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_el.properties +4 -2
  50. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en.properties +4 -2
  51. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_GB.properties +4 -2
  52. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es.properties +4 -2
  53. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es_MX.properties +2 -0
  54. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_et.properties +4 -2
  55. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fi.properties +3 -1
  56. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr.properties +4 -2
  57. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr_CA.properties +4 -2
  58. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hi.properties +2 -0
  59. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hr.properties +3 -1
  60. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hu.properties +6 -4
  61. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_id.properties +3 -1
  62. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_it.properties +4 -2
  63. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_iw.properties +2 -0
  64. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ja.properties +3 -1
  65. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_kk.properties +3 -1
  66. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ko.properties +3 -1
  67. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lt.properties +4 -2
  68. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lv.properties +4 -2
  69. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_mk.properties +4 -2
  70. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ms.properties +3 -1
  71. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_nl.properties +5 -3
  72. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_no.properties +4 -2
  73. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pl.properties +2 -0
  74. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt.properties +4 -2
  75. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt_PT.properties +4 -2
  76. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ro.properties +4 -2
  77. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ru.properties +4 -2
  78. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sh.properties +3 -1
  79. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sk.properties +2 -0
  80. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sl.properties +4 -2
  81. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sr.properties +3 -1
  82. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sv.properties +4 -2
  83. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_th.properties +3 -1
  84. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_tr.properties +3 -1
  85. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_uk.properties +4 -2
  86. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_vi.properties +4 -2
  87. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_CN.properties +3 -1
  88. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_TW.properties +4 -2
  89. package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +32 -20
  90. package/src/sap/suite/ui/generic/template/lib/presentationControl/SmartTableHandler.js +4 -5
  91. 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.133.0",
3
+ "version": "1.134.2",
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.133.0</version>
10
+ <version>1.134.2</version>
11
11
 
12
12
  <documentation>Library with generic Suite UI templates.</documentation>
13
13
 
@@ -44,19 +44,19 @@ KPI_DETERMINING_WARNING={0}\nData is either invalid or not found.
44
44
  KPI_AUTHORIZATION_ISSUE=Authorization issue
45
45
 
46
46
  # XBUT, 90: used as error message for the KPI
47
- KPI_DEFAULT_PV_ERROR_MESSAGE=Presentation variant annotation is missing
47
+ KPI_DEFAULT_PV_ERROR_MESSAGE=Presentation variant annotation is missing.
48
48
 
49
49
  # XBUT, 90: used as error message for the KPI
50
50
  KPI_DRILLDOWN_NAVIGATION_MESSAGE=Navigation details missing
51
51
 
52
52
  # XBUT, 90: used as error message for the KPI
53
- KPI_GENERIC_ERROR_MESSAGE=Unable to load KPI due to a technical issue
53
+ KPI_GENERIC_ERROR_MESSAGE=Unable to load KPI due to a technical issue.
54
54
 
55
55
  #YMSW, 90: Warning message for KPI no data
56
- KPI_NO_DATA = KPI data not available for the chosen filter criteria
56
+ KPI_NO_DATA = KPI data not available for the chosen filter criteria.
57
57
 
58
58
  #YINF, 90: Information message for missing mandatory filters and parameters
59
- KPI_INFO_FOR_MISSING_MANDATE_FILTPAR=Enter mandatory filter field values to view KPI information
59
+ KPI_INFO_FOR_MISSING_MANDATE_FILTPAR=Enter mandatory filter field values to view KPI information.
60
60
 
61
61
  #XBUT, 30: Page header clear button
62
62
  CLEAR_FILTERS=Clear
@@ -200,10 +200,10 @@ VIS_FILTER_GRP_BASIC_TITLE=Basic
200
200
  VIS_FILTER_ITEM_ARIA=Visual filter
201
201
 
202
202
  # XACT, 30: Screen reader text for a visual filter in dialog that is a mandatory property
203
- VIS_FILTER_MANDATORY_PROPERTY_ARIA={0} required.
203
+ VIS_FILTER_MANDATORY_PROPERTY_ARIA={0} required
204
204
 
205
205
  # XACT, 30: Screen reader text for a visual filter that is a mandatory property
206
- VIS_FILTER_MANDATORY_PROPERTY_ARIA_LABEL=required.
206
+ VIS_FILTER_MANDATORY_PROPERTY_ARIA_LABEL=required
207
207
 
208
208
  # XACT, 100: Screen reader text for navigating between visual filters on the filter bar
209
209
  VIS_FILTER_BAR_NAVIGATE_ARIA=To move between visual filters, press right or left arrow.
@@ -324,6 +324,6 @@ NODATA_SMARTTABLE_ALP=To start, set the relevant filters and choose "Go".
324
324
  MESSAGE_MULTIPLE_VALUES_L_FORM=Some of the filters aren''t relevant for the tab \"{1}\" ({0}). Settings these filters has no effect on the results.
325
325
 
326
326
  # YMSG, 100: used to show unapplied multiple filters in mobile, tablet
327
- MESSAGE_MULTIPLE_VALUES_S_FORM=You can''t use the following filters on the \"{1}\" tab\: \"{0}\"
327
+ MESSAGE_MULTIPLE_VALUES_S_FORM=You can''t use the following filters on the \"{1}\" tab\: \"{0}\".
328
328
 
329
329
  #---End of final block: texts to be redefined by the application ----------------------------------------
@@ -8,7 +8,7 @@
8
8
  "i18n": "i18n/i18n.properties",
9
9
  "applicationVersion": {
10
10
  "__comment": "applicationVersion oder componentversion??",
11
- "version": "1.133.0"
11
+ "version": "1.134.2"
12
12
  },
13
13
  "title": "{{TITLE}}",
14
14
  "description": "{{DESCRIPTION}}",
@@ -91,10 +91,18 @@ sap.ui.define(
91
91
  * @function
92
92
  */
93
93
  getNavigationController: oBase.extensionAPI.getNavigationControllerFunction(),
94
+
94
95
  /**
95
- * @experimental
96
+ * Returns a communication object for storing and accessing custom state information within the current app.
97
+ *
98
+ * - If `iLevel` is `0`, it returns a global communication object shared across components.
99
+ * - If `iLevel` is `1`, it returns a local communication object specific to the current canvas component.
100
+ *
101
+ * @param {number} iLevel - The scope level of the communication object (0 for global, 1 for local).
102
+ * @returns {object} The communication object.
103
+ * @public
96
104
  */
97
- getCommunicationObject: function(iLevel){
105
+ getCommunicationObject: function (iLevel) {
98
106
  return oTemplateUtils.oComponentUtils.getCommunicationObject(iLevel);
99
107
  },
100
108
 
@@ -167,7 +175,7 @@ sap.ui.define(
167
175
  },
168
176
 
169
177
  /**
170
- * @experimental
178
+ * @deprecated As of version 1.133 without replacement as the the paginator button information is not used by canvas components.
171
179
  */
172
180
  getPaginatorButtons: function(){
173
181
  var oPaginatorButtons = oController.byId("template::UpAndDownNavigation");
@@ -8,7 +8,7 @@
8
8
  "i18n": "i18n/i18n.properties",
9
9
  "applicationVersion": {
10
10
  "__comment": "applicationVersion oder componentversion??",
11
- "version": "1.133.0"
11
+ "version": "1.134.2"
12
12
  },
13
13
  "title": "Canvas",
14
14
  "description": "Canvas Page",
@@ -116,10 +116,14 @@ sap.ui.define(["sap/ui/base/Object",
116
116
  return oNavigationController;
117
117
  },
118
118
  /**
119
- * @experimental
119
+ * Returns the global communication object for storing and accessing custom state information within the current app.
120
+ * This object can be used across components to share state information.
121
+ *
122
+ * @returns {object} The communication object.
123
+ * @public
120
124
  */
121
- getCommunicationObject: function(iLevel){
122
- return oTemplateUtils.oComponentUtils.getCommunicationObject(iLevel);
125
+ getCommunicationObject: function () {
126
+ return oTemplateUtils.oComponentUtils.getCommunicationObject();
123
127
  },
124
128
 
125
129
  /**
@@ -151,21 +155,19 @@ sap.ui.define(["sap/ui/base/Object",
151
155
  return oTemplateUtils.oCommonUtils.securedExecution(fnFunction, mParameters, oState);
152
156
  },
153
157
  /**
154
- * If switching between different table views is enabled, this function returns the selected key.
158
+ * If multi view table is enabled, this function returns the selected variant's key.
155
159
  *
156
- * @returns {string} The key of the variant item that is currently selected.
160
+ * @returns {string} The currently selected variant key on the table.
157
161
  * @public
158
- * @experimental
159
162
  */
160
163
  getQuickVariantSelectionKey: function() {
161
164
  return oState.oMultipleViewsHandler.getSelectedKey();
162
165
  },
163
166
 
164
167
  /**
165
- * If switching between different table views is enabled, this function sets the selected key.
166
- * @param {string} sKey The key of the variant item that is currently selected.
168
+ * If multi view table is enabled, this function switches the table's view to given variant key.
169
+ * @param {string} sKey The table variant key to be selected.
167
170
  * @public
168
- * @experimental
169
171
  */
170
172
  setQuickVariantSelectionKey: function(sKey) {
171
173
  oState.oMultipleViewsHandler.setSelectedKey(sKey);
@@ -114,13 +114,13 @@ DISCARD=Discard
114
114
  DELETE=Delete
115
115
 
116
116
  # XFLD,50: used in message toast after saving.
117
- OBJECT_SAVED=Your changes have been saved
117
+ OBJECT_SAVED=Your changes have been saved.
118
118
 
119
119
  # XFLD,50: used in message toast after saving. if no changes have been made.
120
- OBJECT_NOT_MODIFIED=You haven\u2019t made any changes
120
+ OBJECT_NOT_MODIFIED=You haven\u2019t made any changes.
121
121
 
122
122
  # XFLD,40: Not used, as of now
123
- OBJECT_CREATED=Object was created.
123
+ OBJECT_CREATED=Object was created
124
124
 
125
125
  # XTIT,30: title of popover displayed when a user tries to open a locked object (in DraftAdminDataPopover.fragment.xml)
126
126
  LOCKED_OBJECT_POPOVER_TITLE=Locked
@@ -8,7 +8,7 @@
8
8
  "i18n": "i18n/i18n.properties",
9
9
  "applicationVersion": {
10
10
  "__comment": "applicationVersion oder componentversion??",
11
- "version": "1.133.0"
11
+ "version": "1.134.2"
12
12
  },
13
13
  "title": "{{TITLE}}",
14
14
  "description": "{{DESCRIPTION}}",
@@ -1,6 +1,6 @@
1
1
  <mvc:View xmlns:mvc="sap.ui.core.mvc" xmlns:core="sap.ui.core"
2
2
  xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
3
- template:require="sap.suite.ui.generic.template.js.StableIdHelper">
3
+ template:require="{StableIdHelper: 'sap/suite/ui/generic/template/js/StableIdHelper'}">
4
4
 
5
5
  <core:Fragment fragmentName="sap.suite.ui.generic.template.ListReport.view.fragments.FullscreenPage" type="XML"/>
6
6
  <!-- create with dialog fragment load if manifest setting is there -->
@@ -35,7 +35,7 @@
35
35
  label="{i18n>EDITING_STATUS}"
36
36
  groupId="_BASIC">
37
37
  <smartfilterbar:customControl>
38
- <Select selectedKey="{_templPriv>/listReport/vDraftState}" id="editStateFilter">
38
+ <Select selectedKey="{_templPriv>/listReport/vDraftState}" id="editStateFilter" wrapItemsText="true">
39
39
  <items>
40
40
  <core:Item key="0" text="{i18n>ALL_OBJECTS}"/>
41
41
  <core:Item key="5" text="{i18n>ALL_OBJECTS_HIDING_DRAFT}"/>
@@ -4,8 +4,9 @@ sap.ui.define([
4
4
  "sap/ui/model/Sorter",
5
5
  "sap/ui/core/message/MessageType",
6
6
  "sap/suite/ui/generic/template/lib/MessageUtils",
7
- "sap/suite/ui/generic/template/genericUtilities/controlHelper"
8
- ], function(BaseObject, extend, Sorter, MessageType, MessageUtils, controlHelper) {
7
+ "sap/suite/ui/generic/template/genericUtilities/controlHelper",
8
+ "sap/suite/ui/generic/template/genericUtilities/testableHelper"
9
+ ], function(BaseObject, extend, Sorter, MessageType, MessageUtils, controlHelper, testableHelper) {
9
10
  "use strict";
10
11
 
11
12
  // This class is a helper class to implement function fnPrepareForMessageHandling within the ControllerImplementation of the object page.
@@ -704,16 +705,30 @@ sap.ui.define([
704
705
  }
705
706
 
706
707
  function getSubtitleForRow(oMessageInTableInfo, oTableInfo, oMessage, aColumnsForMessage){
707
- let sI18NKey = "MSG_SUBTITLE_ROW";
708
+ const bIsFallback = !Array.isArray(aColumnsForMessage);
709
+ let sI18NKey = bIsFallback ? "MSG_SUBTITLE_DEFAULT_ROW" : "MSG_SUBTITLE_ROW";
708
710
  let oColumn = null;
709
711
  let aParams = [];
710
712
  let sErrorColumnLabel = oMessageInTableInfo?.columnInfo?.label;
711
713
  if (!oMessageInTableInfo.rowCurrentlyShown){
712
714
  sI18NKey += "_HIDDEN";
713
715
  }
716
+ // If the new logic fails, run the fallback mechanism to ensure some information is still displayed on the screen
717
+ if (bIsFallback){
718
+ aParams = [oMessageInTableInfo.rowIdentifier];
719
+ if (oMessageInTableInfo.columnInfo){
720
+ aParams.push(oMessageInTableInfo.columnInfo.label);
721
+ sI18NKey += "_COLUMN";
722
+ if (oMessageInTableInfo.columnInfo.hidden){
723
+ sI18NKey += "_HIDDEN";
724
+ }
725
+ }
726
+ return oTemplateUtils.oCommonUtils.getText(sI18NKey, aParams);
727
+ }
714
728
  if (!sErrorColumnLabel){
715
729
  sErrorColumnLabel = oTableInfo.presentationControlHandler.getColumnLabelForMessage(oMessage);
716
730
  }
731
+ //HeaderInfo or Single Key is available for subtitle
717
732
  if (aColumnsForMessage.length === 1){
718
733
  oColumn = aColumnsForMessage.pop();
719
734
  aParams = [oColumn.sLabel, oColumn.sValue];
@@ -722,9 +737,11 @@ sap.ui.define([
722
737
  sI18NKey += "_HIDDEN";
723
738
  }
724
739
  } else if (aColumnsForMessage.length === 0){
740
+ //No columns are available for subtitle
725
741
  sI18NKey += "_EMPTY";
726
742
  aParams = [sErrorColumnLabel];
727
743
  } else {
744
+ //Multiple Keys are available and decription is needed
728
745
  sI18NKey += "_MORE_DETAILS";
729
746
  }
730
747
  return oTemplateUtils.oCommonUtils.getText(sI18NKey, aParams);
@@ -762,7 +779,7 @@ sap.ui.define([
762
779
  if (oMessageInTableInfo && oMessageInTableInfo.index >= 0){
763
780
  const oItemContext = oTableInfo.presentationControlHandler.getItemContextForMessage(oPlacementInfo.message);
764
781
  const aColumnsForMessage = oTableInfo.presentationControlHandler.getRelevantColumnsForMessage(oItemContext);
765
- if (aColumnsForMessage.length > 1){
782
+ if (Array.isArray(aColumnsForMessage) && aColumnsForMessage.length > 1){
766
783
  return getDescriptionForRow(oMessageInTableInfo, oTableInfo, oPlacementInfo.message, aColumnsForMessage);
767
784
  }
768
785
  }
@@ -789,7 +806,7 @@ sap.ui.define([
789
806
  }
790
807
  return sTableText + sRowHeaderText + sRowText + sErrorColumnText;
791
808
  }
792
-
809
+ testableHelper.testableStatic(getSubtitleForRow, "filterHelper_getSubtitleForRow");
793
810
  // public instance methods
794
811
  return {
795
812
  getPrepareMessageDisplayPromise: getPrepareMessageDisplayPromise
@@ -95,29 +95,27 @@ sap.ui.define(["sap/ui/base/Object", "sap/base/util/extend", "sap/base/util/isEm
95
95
  oTemplateUtils.oServices.oApplicationController.addOperationToQueue(fnFunction, {draftSave : true});
96
96
  },
97
97
  /**
98
- * Cancel the draft. Note that this method only works when you are on the root of a draft.
98
+ * Cancels the draft. Note that this method only works when you are on the root of a draft.
99
99
  * The normal navigation which follows the cancellation of a draft is executed.
100
100
  * Moreover, note that executing this method will set the App to be busy. However, it does not ensure, that
101
101
  * the method is only called, when the App is currently unbusy. If you want to ensure that, you have to use
102
102
  * {@link sap.suite.ui.generic.template.ObjectPage.extensionAPI.ExtensionAPI#securedExecution}.
103
103
  *
104
- * @return {function} a promise that is resolved when the draft is cancelled, rejected when this is not possible.
104
+ * @returns {Promise<void>} A promise that is resolved when the draft is cancelled, rejected when it is not possible.
105
105
  * @public
106
- * @experimental
107
106
  */
108
107
  discardDraft: function(){
109
108
  return oState.onCancel();
110
109
  },
111
110
  /**
112
- * checks if side effects exist for the given properties or entities and executes them. if there are
113
- * pending changes in the model those pending changes are sent as a patch request with the side effect
114
- * batch request. If no source property and no source entity is passed a global side effect is executed
111
+ * Checks if side effects exist for the given properties or entities and executes them. If there are
112
+ * pending changes in the model, those pending changes are sent as a patch request with the side effect
113
+ * batch request. If no source property and no source entity is passed, a global side effect is executed.
115
114
  *
116
- * @param {object} [oSideEffects] object containing any of the following properties:
117
- * @param {array} oSideEffects.sourceProperties array with property paths
118
- * @param {array} oSideEffects.sourceEntities array with navigation property paths
115
+ * @param {object} [oSideEffects] Object containing any of the following properties:
116
+ * @param {array} oSideEffects.sourceProperties Array with property paths
117
+ * @param {array} oSideEffects.sourceEntities Array with navigation property paths
119
118
  * @public
120
- * @experimental
121
119
  */
122
120
  executeSideEffects: function(oSideEffects) {
123
121
  oSideEffects = oSideEffects || {};
@@ -90,27 +90,25 @@ sap.ui.define(
90
90
  },
91
91
 
92
92
  /**
93
- * This function returns the selected key of selected table of Object Page.
93
+ * Returns the currently selected variant key on the table in the given object page section.
94
94
  *
95
- * @param {string} sSectionKey id of the section in Object Page mentioned in manifest of the application
96
- * @returns {string} The key of variant item that is currently selected section.
95
+ * @param {string} sSectionKey The object page section id in which the table is present.
96
+ * @returns {string} The currently selected variant key on the table.
97
97
  * @public
98
- * @experimental
99
98
  */
100
99
  getQuickVariantSelectionKey: function(sSectionKey) {
101
100
  return oState.oMultipleViewsHandler.getSelectedKey(sSectionKey);
102
101
  },
103
102
 
104
103
  /**
105
- * This function sets the key in the selected section of the table of Object Page.
104
+ * Switches the table's view to the given variant key.
106
105
  *
107
- * @param {string} sSectionKey id of the section in Object Page mentioned in manifest of the application
108
- * @param {string} sKey The key of variant item that is currently need to be set.
106
+ * @param {string} sSectionKey The object page section id in which the table is present.
107
+ * @param {string} sVariantKey The table variant key to be selected.
109
108
  * @public
110
- * @experimental
111
109
  */
112
- setQuickVariantSelectionKey: function(sSectionKey, sKey) {
113
- oState.oMultipleViewsHandler.setSelectedKey(sSectionKey, sKey);
110
+ setQuickVariantSelectionKey: function(sSectionKey, sVariantKey) {
111
+ oState.oMultipleViewsHandler.setSelectedKey(sSectionKey, sVariantKey);
114
112
  },
115
113
 
116
114
  /**
@@ -206,10 +204,14 @@ sap.ui.define(
206
204
  },
207
205
 
208
206
  /**
209
- * @experimental
207
+ * Returns the global communication object for storing and accessing custom state information within the current app.
208
+ * This object can be used across components to share state information.
209
+ *
210
+ * @returns {object} The communication object.
211
+ * @public
210
212
  */
211
- getCommunicationObject: function(iLevel){
212
- return oTemplateUtils.oComponentUtils.getCommunicationObject(iLevel);
213
+ getCommunicationObject: function () {
214
+ return oTemplateUtils.oComponentUtils.getCommunicationObject();
213
215
  },
214
216
 
215
217
  /**
@@ -292,7 +294,7 @@ sap.ui.define(
292
294
 
293
295
 
294
296
  /**
295
- * Provides an option to Configures a side effect for custom field, the extension controller should be Implemented/Called from "onAfterRendering" method.
297
+ * Provides an option to Configures a side effect for custom field, the extension controller should be Implemented/Called from "onAfterRendering" method of table.
296
298
  * Note: Navigation property is not supported.
297
299
  *
298
300
  * @param {Object} oControl - The control object for the custom field.
@@ -307,6 +309,24 @@ sap.ui.define(
307
309
  return function (sFieldName) {
308
310
  SideEffectUtil.fieldGroupChangeRegister(oController.getOwnerComponent(), oTemplateUtils, sFieldName, sEntitySet);
309
311
  };
312
+ },
313
+
314
+ /**
315
+ * Provides an option to Configures a side effect for custom column, the extension API method should be Implemented/Called from "onAfterRendering" method.
316
+ * Note: Extension API only supported for Responsive/Grid table.
317
+ *
318
+ * @param {Object} oTable - The control object for the custom column.
319
+ * @param {String} sProperty - The name of the property associated with the custom column.
320
+ * @param {String} sEntitySet - The entity set to which the custom column belongs.
321
+ * @returns {function} returns a call back function, And qualifier of the side effect should be passed.
322
+ * Call back function need to be called from controls(Custom control which inside the custom column) event-handler.
323
+ * @experimental
324
+ */
325
+ registerCustomColumnForSideEffect: function (oTable, sProperty, sEntitySet) {
326
+ SideEffectUtil.registerCustomColumnForSideEffect(oTable, sProperty, sEntitySet, oController);
327
+ return function (sFieldName) {
328
+ SideEffectUtil.fieldGroupChangeRegister(oController.getOwnerComponent(), oTemplateUtils, sFieldName, sEntitySet);
329
+ };
310
330
  }
311
331
  };
312
332
  }
@@ -115,6 +115,24 @@ MSG_DESCRIPTION_COLUMN_VALUE={0}\: {1}
115
115
  # XMSG, 40
116
116
  MSG_DESCRIPTION_COLUMN_VALUE_HIDDEN={0} (Hidden)\: {1}
117
117
 
118
+ # XMSG, 40
119
+ MSG_SUBTITLE_DEFAULT_ROW=Row: {0}
120
+
121
+ # XMSG, 40
122
+ MSG_SUBTITLE_DEFAULT_ROW_HIDDEN=Row (Hidden): {0}
123
+
124
+ # XMSG, 40
125
+ MSG_SUBTITLE_DEFAULT_ROW_COLUMN=Row: {0}, Column: {1}
126
+
127
+ # XMSG, 40
128
+ MSG_SUBTITLE_DEFAULT_ROW_COLUMN_HIDDEN=Row: {0}, Column (Hidden): {1}
129
+
130
+ # XMSG, 40
131
+ MSG_SUBTITLE_DEFAULT_ROW_HIDDEN_COLUMN=Row (Hidden): {0}, Column: {1}
132
+
133
+ # XMSG, 40
134
+ MSG_SUBTITLE_DEFAULT_ROW_HIDDEN_COLUMN_HIDDEN=Row (Hidden): {0}, Column (Hidden): {1}
135
+
118
136
  # XTIT,30: Title of a form with contact person information
119
137
  CONTACT_INFO=Contact Information
120
138
 
@@ -240,7 +258,7 @@ PROGRESS_INDICATOR_DISPLAY_VALUE_UOM_IS_NOT_PERCENT={0} of {1} {2}
240
258
  DRAFT_LOCK_EXPIRED=Another user edited this object without saving the changes\:\n\n {0} \n\n If you take over, any changes will be lost.
241
259
 
242
260
  # XFLD,50: used in message toast after saving. "object" to be redefined.
243
- OBJECT_SAVED=Your changes have been saved
261
+ OBJECT_SAVED=Your changes have been saved.
244
262
 
245
263
  # XFLD,30: used in message toast after item creation. "Item" to be redefined.
246
264
  ITEM_CREATED=Item created
@@ -249,10 +267,10 @@ ITEM_CREATED=Item created
249
267
  WAITING_SMARTTABLE=Please wait while the data is loading...
250
268
 
251
269
  # XFLD,50: used in message toast after saving. if no changes have been made.
252
- OBJECT_NOT_MODIFIED=You haven\u2019t made any changes
270
+ OBJECT_NOT_MODIFIED=You haven\u2019t made any changes.
253
271
 
254
272
  # XFLD,40: used in message toast after object creation. "object" to be redefined.
255
- OBJECT_CREATED=Object was created.
273
+ OBJECT_CREATED=Object was created
256
274
 
257
275
  # XTIT,30: create dialog title for an Object page of a non-draft application. "item" to be redefined. example: New Product
258
276
  CREATE_DIALOG_TITLE=New Item
@@ -317,7 +335,7 @@ MESSAGE_GROUP_TABLE={0}, table: {1}
317
335
  GENERIC_MESSAGE_GROUP_NAME=Other Messages
318
336
 
319
337
  #YMSG, 100: Messsage for mandatory fields in non-draft scenario
320
- ENTER_MANDATORY=Enter a value for field: {0}
338
+ ENTER_MANDATORY=Enter a value for field: {0}.
321
339
 
322
340
  # Message for required fields in inline creation rows
323
341
  REQUIRED_PROP_ERROR=Enter a value.
@@ -6,7 +6,7 @@
6
6
  "type": "component",
7
7
  "i18n": "i18n/i18n.properties",
8
8
  "applicationVersion": {
9
- "version": "1.133.0"
9
+ "version": "1.134.2"
10
10
  },
11
11
  "title": "{{TITLE}}",
12
12
  "description": "{{DESCRIPTION}}",