@sapui5/sap.suite.ui.generic.template 1.132.0 → 1.133.1

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 (167) hide show
  1. package/package.json +2 -2
  2. package/src/sap/suite/ui/generic/template/.library +1 -1
  3. package/src/sap/suite/ui/generic/template/AnalyticalListPage/Component.js +0 -4
  4. package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItemMicroBar.js +3 -1
  5. package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItemMicroChart.js +7 -2
  6. package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItemMicroDonut.js +3 -1
  7. package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItemMicroLine.js +3 -1
  8. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/KpiTagController.js +3 -4
  9. package/src/sap/suite/ui/generic/template/AnalyticalListPage/extensionAPI/ExtensionAPI.js +2 -2
  10. package/src/sap/suite/ui/generic/template/AnalyticalListPage/manifest.json +1 -1
  11. package/src/sap/suite/ui/generic/template/AnalyticalListPage/util/AnnotationHelper.js +3 -0
  12. package/src/sap/suite/ui/generic/template/Canvas/manifest.json +1 -1
  13. package/src/sap/suite/ui/generic/template/ListReport/AnnotationHelperSmartList.js +2 -2
  14. package/src/sap/suite/ui/generic/template/ListReport/controller/ControllerImplementation.js +2 -0
  15. package/src/sap/suite/ui/generic/template/ListReport/extensionAPI/ExtensionAPI.js +2 -2
  16. package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
  17. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartFilterBar.fragment.xml +1 -1
  18. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartTable.fragment.xml +1 -1
  19. package/src/sap/suite/ui/generic/template/ObjectPage/Component.js +13 -5
  20. package/src/sap/suite/ui/generic/template/ObjectPage/controller/ControllerImplementation.js +11 -8
  21. package/src/sap/suite/ui/generic/template/ObjectPage/controller/MessageSortingHandler.js +82 -12
  22. package/src/sap/suite/ui/generic/template/ObjectPage/controllerFrameworkExtensions.js +1 -0
  23. package/src/sap/suite/ui/generic/template/ObjectPage/extensionAPI/ExtensionAPI.js +2 -2
  24. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n.properties +55 -6
  25. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ar.properties +25 -5
  26. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_bg.properties +25 -5
  27. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ca.properties +25 -5
  28. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cnr.properties +25 -5
  29. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cs.properties +26 -6
  30. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cy.properties +25 -5
  31. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_da.properties +25 -5
  32. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_de.properties +25 -5
  33. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_el.properties +25 -5
  34. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en.properties +25 -5
  35. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_GB.properties +25 -5
  36. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_US_saprigi.properties +25 -5
  37. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_es.properties +25 -5
  38. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_es_MX.properties +25 -5
  39. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_et.properties +25 -5
  40. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fi.properties +25 -5
  41. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fr.properties +25 -5
  42. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fr_CA.properties +25 -5
  43. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hi.properties +25 -5
  44. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hr.properties +25 -5
  45. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hu.properties +25 -5
  46. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_id.properties +25 -5
  47. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_it.properties +25 -5
  48. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_iw.properties +25 -5
  49. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ja.properties +25 -5
  50. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_kk.properties +25 -5
  51. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ko.properties +25 -5
  52. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_lt.properties +25 -5
  53. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_lv.properties +25 -5
  54. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_mk.properties +25 -5
  55. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ms.properties +25 -5
  56. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_nl.properties +25 -5
  57. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_no.properties +25 -5
  58. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pl.properties +25 -5
  59. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pt.properties +25 -5
  60. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pt_PT.properties +25 -5
  61. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ro.properties +26 -6
  62. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ru.properties +25 -5
  63. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sh.properties +25 -5
  64. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sk.properties +25 -5
  65. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sl.properties +25 -5
  66. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sr.properties +25 -5
  67. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sv.properties +25 -5
  68. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_th.properties +25 -5
  69. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_tr.properties +25 -5
  70. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_uk.properties +27 -7
  71. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_vi.properties +25 -5
  72. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_zh_CN.properties +25 -5
  73. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_zh_TW.properties +25 -5
  74. package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +1 -1
  75. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartTable.fragment.xml +1 -1
  76. package/src/sap/suite/ui/generic/template/QuickCreate/manifest.json +1 -1
  77. package/src/sap/suite/ui/generic/template/QuickView/manifest.json +1 -1
  78. package/src/sap/suite/ui/generic/template/designtime/controls/DynamicPage.designtime.js +74 -17
  79. package/src/sap/suite/ui/generic/template/designtime/controls/ObjectPageLayout.designtime.js +22 -11
  80. package/src/sap/suite/ui/generic/template/designtime/controls/SmartFilterBar.designtime.js +142 -38
  81. package/src/sap/suite/ui/generic/template/designtime/controls/SmartTable.designtime.js +43 -19
  82. package/src/sap/suite/ui/generic/template/designtime/floorplans/AnalyticalListPage.designtime.js +18 -18
  83. package/src/sap/suite/ui/generic/template/designtime/floorplans/ListReport.designtime.js +19 -16
  84. package/src/sap/suite/ui/generic/template/designtime/floorplans/ObjectPage.designtime.js +10 -7
  85. package/src/sap/suite/ui/generic/template/designtime/utils/designtimeHelper.js +32 -44
  86. package/src/sap/suite/ui/generic/template/designtime/utils/designtimeUtils.js +47 -2
  87. package/src/sap/suite/ui/generic/template/fragments/DeterminingButton.fragment.xml +18 -20
  88. package/src/sap/suite/ui/generic/template/fragments/DraftAdminDataPopover.fragment.xml +1 -0
  89. package/src/sap/suite/ui/generic/template/fragments/GridTableCells.fragment.xml +4 -4
  90. package/src/sap/suite/ui/generic/template/fragments/HeaderDataPointContent.fragment.xml +1 -1
  91. package/src/sap/suite/ui/generic/template/fragments/HeaderFormDataField.fragment.xml +2 -2
  92. package/src/sap/suite/ui/generic/template/fragments/MessagePopover.fragment.xml +2 -1
  93. package/src/sap/suite/ui/generic/template/fragments/TableCell.fragment.xml +2 -2
  94. package/src/sap/suite/ui/generic/template/fragments/TreeTableColumns.fragment.xml +1 -1
  95. package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartVariantManagementWrapper.js +4 -2
  96. package/src/sap/suite/ui/generic/template/genericUtilities/filterHelper.js +3 -1
  97. package/src/sap/suite/ui/generic/template/js/AnnotationHelper.js +15 -19
  98. package/src/sap/suite/ui/generic/template/js/AnnotationHelperStreamSupport.js +3 -0
  99. package/src/sap/suite/ui/generic/template/js/QuickTemplates/QuickTemplateComponentFactory.js +2 -3
  100. package/src/sap/suite/ui/generic/template/js/RuntimeFormatters.js +78 -22
  101. package/src/sap/suite/ui/generic/template/lib/AppComponent.js +1 -1
  102. package/src/sap/suite/ui/generic/template/lib/CRUDActionHandler.js +12 -3
  103. package/src/sap/suite/ui/generic/template/lib/CommonEventHandlers.js +13 -1
  104. package/src/sap/suite/ui/generic/template/lib/CommonUtils.js +41 -36
  105. package/src/sap/suite/ui/generic/template/lib/MessageButtonHelper.js +6 -0
  106. package/src/sap/suite/ui/generic/template/lib/MessageStripHelper.js +1 -1
  107. package/src/sap/suite/ui/generic/template/lib/RetryAfterHandler.js +2 -3
  108. package/src/sap/suite/ui/generic/template/lib/TemplateComponent.js +3 -4
  109. package/src/sap/suite/ui/generic/template/lib/i18n/i18n.properties +3 -0
  110. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ar.properties +2 -0
  111. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_bg.properties +2 -0
  112. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ca.properties +2 -0
  113. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cnr.properties +2 -0
  114. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cs.properties +2 -0
  115. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cy.properties +2 -0
  116. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_da.properties +2 -0
  117. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_de.properties +5 -3
  118. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_el.properties +2 -0
  119. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en.properties +2 -0
  120. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_GB.properties +2 -0
  121. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_sappsd.properties +11 -0
  122. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_saprigi.properties +6 -2
  123. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_saptrc.properties +9 -0
  124. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es.properties +4 -2
  125. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es_MX.properties +2 -0
  126. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_et.properties +2 -0
  127. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fi.properties +2 -0
  128. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr.properties +2 -0
  129. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr_CA.properties +2 -0
  130. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hi.properties +2 -0
  131. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hr.properties +2 -0
  132. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hu.properties +4 -2
  133. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_id.properties +2 -0
  134. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_it.properties +2 -0
  135. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_iw.properties +2 -0
  136. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ja.properties +2 -0
  137. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_kk.properties +2 -0
  138. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ko.properties +2 -0
  139. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lt.properties +2 -0
  140. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lv.properties +3 -1
  141. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_mk.properties +2 -0
  142. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ms.properties +2 -0
  143. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_nl.properties +2 -0
  144. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_no.properties +2 -0
  145. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pl.properties +2 -0
  146. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt.properties +2 -0
  147. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt_PT.properties +2 -0
  148. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ro.properties +2 -0
  149. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ru.properties +2 -0
  150. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sh.properties +2 -0
  151. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sk.properties +2 -0
  152. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sl.properties +2 -0
  153. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sr.properties +2 -0
  154. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sv.properties +2 -0
  155. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_th.properties +2 -0
  156. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_tr.properties +2 -0
  157. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_uk.properties +2 -0
  158. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_vi.properties +3 -1
  159. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_CN.properties +2 -0
  160. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_TW.properties +2 -0
  161. package/src/sap/suite/ui/generic/template/lib/insights/InsightsCardHelper.js +27 -11
  162. package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +1 -1
  163. package/src/sap/suite/ui/generic/template/lib/presentationControl/SmartTableHandler.js +92 -1
  164. package/src/sap/suite/ui/generic/template/library.js +1 -1
  165. package/src/sap/suite/ui/generic/template/listTemplates/fragments/DetailSmartTable.fragment.xml +1 -1
  166. package/src/sap/suite/ui/generic/template/manifestMerger/ChangePageConfiguration.js +3 -0
  167. package/src/sap/suite/ui/generic/template/manifestMerger/MergerUtil.js +27 -1
@@ -31,6 +31,7 @@ sap.ui.define([
31
31
  * @property {Partial<DesigntimeSetting>[]} [writeObject] - An array of DesigntimeSetting objects.
32
32
  * @property {string} [writeObjectFor] - The value for which the writeObject should be applied.
33
33
  * @property {boolean} [skipChange] - Indicates if the change should be skipped.
34
+ * @property {boolean} keyUser - Indicates if the setting is allowed for key user.
34
35
 
35
36
  ===============================================
36
37
  * @typedef {Object} ChangeParameters - Descriptor change parameters.
@@ -54,12 +55,12 @@ sap.ui.define([
54
55
 
55
56
 
56
57
  /**
57
- * Retrieves the runtime adaptation properties based on the allowed design-time settings and global settings.
58
- *
59
- * @param {Array} aAllowedDesigntimeSettings - The array of allowed design-time settings.
60
- * @param {Object} mFilterSettings - The global manifest settings object.
61
- * @returns {Object} - The object containing the runtime adaptation properties.
62
- */
58
+ * Retrieves the runtime adaptation properties based on the allowed design-time settings and global settings.
59
+ *
60
+ * @param {Array} aAllowedDesigntimeSettings - The array of allowed design-time settings.
61
+ * @param {Object} mFilterSettings - The global manifest settings object.
62
+ * @returns {Object} - The object containing the runtime adaptation properties.
63
+ */
63
64
  function getRuntimeAdapationProperties(aAllowedDesigntimeSettings, mFilterSettings) {
64
65
  const mPropertyValues = {};
65
66
 
@@ -67,13 +68,21 @@ sap.ui.define([
67
68
  const sProperty = oSetting.id;
68
69
  switch (sProperty) {
69
70
  case "useDateRange":
70
- mPropertyValues[sProperty] = mFilterSettings[sProperty] || oSetting.value;
71
+ mPropertyValues[sProperty] = mFilterSettings[sProperty] ?? oSetting.value;
71
72
  break;
72
73
  case "navigationProperties":
73
- mPropertyValues[sProperty] = mFilterSettings[sProperty] || oSetting.value;
74
+ mPropertyValues[sProperty] = mFilterSettings[sProperty] ?? oSetting.value;
74
75
  break;
75
76
 
76
-
77
+ case "showGoButtonOnFilterBar":
78
+ mPropertyValues[sProperty] = mFilterSettings[sProperty] ?? oSetting.value;
79
+ break;
80
+ case "hideVisualFilter":
81
+ mPropertyValues[sProperty] = mFilterSettings[sProperty] ?? oSetting.value;
82
+ break;
83
+ case "defaultFilterMode":
84
+ mPropertyValues[sProperty] = mFilterSettings[sProperty] ?? oSetting.value;
85
+ break;
77
86
  default:
78
87
  break;
79
88
  }
@@ -81,6 +90,46 @@ sap.ui.define([
81
90
  return mPropertyValues;
82
91
  }
83
92
 
93
+ /**
94
+ * Retrieves the navigation properties for the SmartFilterBar control.
95
+ * Filters out excluded properties and only includes 0..1 navigation properties.
96
+ *
97
+ * @param {object} oControl - The SmartFilterBar control instance.
98
+ * @returns {Array<string>} - The array of valid navigation property names.
99
+ * @throws {Error} - Throws an error if the entity set cannot be retrieved.
100
+ */
101
+
102
+ function getNavigationProperties(oControl) {
103
+
104
+ function getNavigationPropertyNames(oEntityType) {
105
+ return (oEntityType.navigationProperty || []).map(oNavigationProperty => oNavigationProperty.name);
106
+ }
107
+
108
+ function isNotExcludedProperty(sNavigationProperty) {
109
+ const excludedProperties = ["SiblingEntity", "DraftAdministrativeData"];
110
+ return !excludedProperties.includes(sNavigationProperty);
111
+ }
112
+
113
+ function isCardinalitySupported(oMetaModel, oEntityType, sNavigationProperty) {
114
+ const multiplicity = oMetaModel.getODataAssociationEnd(oEntityType, sNavigationProperty).multiplicity;
115
+ return multiplicity.endsWith("1");
116
+ }
117
+
118
+ const oMetaModel = oControl.getModel().getMetaModel();
119
+ // Get the entity set of the SmartFilterBar control
120
+ const sEntitySet = oControl.getEntitySet?.();
121
+ if (!sEntitySet){
122
+ throw new Error("Error while retrieving the entity set of the SmartFilterBar control");
123
+ }
124
+
125
+ const oEntityType = oMetaModel.getODataEntityType(oMetaModel.getODataEntitySet(sEntitySet).entityType);
126
+
127
+
128
+ return getNavigationPropertyNames(oEntityType)
129
+ .filter(sNavigationProperty => isCardinalitySupported(oMetaModel, oEntityType, sNavigationProperty))
130
+ .filter(isNotExcludedProperty);
131
+ }
132
+
84
133
  /**
85
134
  * Retrieves the designtime settings for the Control.
86
135
  * @param {object} oControl - The Control object.
@@ -101,25 +150,6 @@ sap.ui.define([
101
150
  });
102
151
  }
103
152
 
104
- /**
105
- * Retrieves the navigation properties for the SmartFilterBar control.
106
- * @returns {Array<string>} - The array of navigation properties.
107
- */
108
-
109
- function getNavigationProperties() {
110
- const oMetaModel = oControl.getModel().getMetaModel();
111
- // Get the entity set of the SmartFilterBar control
112
- const sEntitySet = oControl.getEntitySet?.();
113
- if (!sEntitySet){
114
- throw new Error("Error while retrieving the entity set of the SmartFilterBar control");
115
- }
116
-
117
- const oEntityType = oMetaModel.getODataEntityType(oMetaModel.getODataEntitySet(sEntitySet).entityType);
118
- // Sibling entity types are the navigation properties
119
- return (oEntityType.navigationProperty || [])
120
- .map(oNavigationProperty => oNavigationProperty.name)
121
- .filter(sNavigationProperty => sNavigationProperty !== "SiblingEntity");
122
- }
123
153
 
124
154
  /**
125
155
  * @type {DesigntimeSetting}
@@ -134,7 +164,8 @@ sap.ui.define([
134
164
  getPath: function (mControlDetails) {
135
165
  return `component/settings/filterSettings/dateSettings/useDateRange`;
136
166
  },
137
- restrictedTo: [LIST_REPORT_COMPONENT_NAME, ANALYTICAL_LIST_PAGE_COMPONENT_NAME]
167
+ restrictedTo: [LIST_REPORT_COMPONENT_NAME, ANALYTICAL_LIST_PAGE_COMPONENT_NAME],
168
+ keyUser: true
138
169
  };
139
170
 
140
171
 
@@ -151,12 +182,79 @@ sap.ui.define([
151
182
  return `component/settings/filterSettings/navigationProperties`;
152
183
  },
153
184
  value: [],
154
- restrictedTo: [LIST_REPORT_COMPONENT_NAME, ANALYTICAL_LIST_PAGE_COMPONENT_NAME],
155
- enums: getEnums(getNavigationProperties())
185
+ restrictedTo: [LIST_REPORT_COMPONENT_NAME],
186
+ enums: getEnums(getNavigationProperties(oControl)),
187
+ keyUser: true
156
188
  };
157
189
 
190
+ /**
191
+ * @type {DesigntimeSetting}
192
+ */
158
193
 
159
- return [enableDateRange, navigationProperties];
194
+ const showGoButtonOnFilterBar = {
195
+ id: "showGoButtonOnFilterBar",
196
+ name: "Show Go Button on Filter Bar",
197
+ description: "Show Go Button on Filter Bar",
198
+ value: false,
199
+ type: "boolean",
200
+ getPath: function (mControlDetails) {
201
+ return `component/settings/showGoButtonOnFilterBar`;
202
+ },
203
+ restrictedTo: [ANALYTICAL_LIST_PAGE_COMPONENT_NAME],
204
+ keyUser: true
205
+ };
206
+
207
+ /**
208
+ * @type {DesigntimeSetting}
209
+ */
210
+
211
+ const hideVisualFilter = {
212
+ id: "hideVisualFilter",
213
+ name: "Hide Visual Filter",
214
+ description: "Hide Visual Filter",
215
+ value: false,
216
+ type: "boolean",
217
+ getPath: function (mControlDetails) {
218
+ return `component/settings/hideVisualFilter`;
219
+ },
220
+ restrictedTo: [ANALYTICAL_LIST_PAGE_COMPONENT_NAME],
221
+ keyUser: true
222
+ };
223
+
224
+ /**
225
+ * @type {DesigntimeSetting}
226
+ */
227
+
228
+ const defaultFilterMode = {
229
+ id: "defaultFilterMode",
230
+ name: "Default Filter Mode",
231
+ description: "Default Filter Mode",
232
+ value: "visual",
233
+ type: "string",
234
+ enums: [
235
+ {
236
+ id: "visual",
237
+ name: "Visual"
238
+ },
239
+ {
240
+ id: "compact",
241
+ name: "Compact"
242
+ }
243
+ ],
244
+ getPath: function (mControlDetails) {
245
+ return `component/settings/defaultFilterMode`;
246
+ },
247
+ restrictedTo: [ANALYTICAL_LIST_PAGE_COMPONENT_NAME],
248
+ keyUser: true
249
+ };
250
+
251
+ return [
252
+ enableDateRange,
253
+ navigationProperties,
254
+ defaultFilterMode,
255
+ showGoButtonOnFilterBar,
256
+ hideVisualFilter
257
+ ];
160
258
  };
161
259
 
162
260
 
@@ -165,14 +263,13 @@ sap.ui.define([
165
263
  const mFilterSettings = oComponent.getFilterSettings();
166
264
  return {
167
265
  useDateRange: ObjectPath.get("dateSettings.useDateRange", mFilterSettings),
168
-
169
- navigationProperties: ObjectPath.get("navigationProperties", mFilterSettings)
266
+ navigationProperties: ObjectPath.get("navigationProperties", mFilterSettings),
267
+ hideVisualFilter: !!oComponent.getHideVisualFilter?.(),
268
+ defaultFilterMode: oComponent.getDefaultFilterMode?.(),
269
+ showGoButtonOnFilterBar: !!oComponent.getShowGoButtonOnFilterBar?.()
170
270
  };
171
271
  }
172
272
 
173
-
174
-
175
-
176
273
  /**
177
274
  * Opens the dialog for the table configuration.
178
275
  * @param {sap.ui.core.Control} oControl - The control for which the dialog should be opened.
@@ -188,7 +285,14 @@ sap.ui.define([
188
285
  // Get all the designtime settings
189
286
  const aAllDesigntimeSettings = getAllDesigntimeSettings(oControl);
190
287
  // Get the allowed designtime settings based on the floorplan
191
- const aAllowedDesigntimeSettings = designtimeUtils.getAllowedDesigntimeSettings(oControl, aAllDesigntimeSettings);
288
+
289
+ /**
290
+ * @type {DesigntimeSetting[]}
291
+ */
292
+ let aAllowedDesigntimeSettings = designtimeUtils.filterDesigntimeSettingsByFloorPlan(oControl, aAllDesigntimeSettings);
293
+
294
+ // Get the allowed designtime settings based on the adaptation mode (key user or Designtime)
295
+ aAllowedDesigntimeSettings = designtimeUtils.getAllowedDesigntimeSettingsBasedOnAdaptationMode(aAllowedDesigntimeSettings, oComponent);
192
296
 
193
297
  // Get the current values of the properties
194
298
  const mRuntimeAdaptationPropertyValues = getRuntimeAdapationProperties(aAllowedDesigntimeSettings, mFilterSettings);
@@ -29,6 +29,7 @@ sap.ui.define([
29
29
  * @property {boolean=} bSupportsGlobalScope - Indicates if the setting supports global scope. (Default: false)
30
30
  * @property {string[]=} restrictedTo - The array of components for which the setting is restricted.
31
31
  * @property {boolean=} bGlobalSettingsOnly - Indicates if the setting is only available in global settings. (Default: false)
32
+ * @property {boolean} keyUser - Indicates if the setting is allowed for key user.
32
33
  */
33
34
 
34
35
  /**
@@ -129,28 +130,28 @@ sap.ui.define([
129
130
  const sProperty = oSetting.id;
130
131
  switch (sProperty) {
131
132
  case "type":
132
- mPropertyValues[sProperty] = oTableSettings.type || oSetting.value;
133
+ mPropertyValues[sProperty] = oTableSettings.type ?? oSetting.value;
133
134
  break;
134
135
  case "multiSelect":
135
- mPropertyValues[sProperty] = oTableSettings.multiSelect || oSetting.value;
136
+ mPropertyValues[sProperty] = oTableSettings.multiSelect ?? oSetting.value;
136
137
  break;
137
138
  case "createMode":
138
- mPropertyValues[sProperty] = oTableSettings.createMode || oSetting.value;
139
+ mPropertyValues[sProperty] = oTableSettings.createMode ?? oSetting.value;
139
140
  break;
140
141
  case "selectAll":
141
- mPropertyValues[sProperty] = oTableSettings.selectAll || oSetting.value;
142
+ mPropertyValues[sProperty] = oTableSettings.selectAll ?? oSetting.value;
142
143
  break;
143
144
  case "condensedTableLayout":
144
- mPropertyValues[sProperty] = oTableSettings.condensedTableLayout || oSetting.value;
145
+ mPropertyValues[sProperty] = oTableSettings.condensedTableLayout ?? oSetting.value;
145
146
  break;
146
147
  case "widthIncludingColumnHeader":
147
- mPropertyValues[sProperty] = oTableSettings.widthIncludingColumnHeader || oSetting.value;
148
+ mPropertyValues[sProperty] = oTableSettings.widthIncludingColumnHeader ?? oSetting.value;
148
149
  break;
149
150
  case "addCardtoInsightsHidden":
150
- mPropertyValues[sProperty] = oTableSettings.addCardtoInsightsHidden || oSetting.value;
151
+ mPropertyValues[sProperty] = oTableSettings.addCardtoInsightsHidden ?? oSetting.value;
151
152
  break;
152
153
  case "selectionLimit":
153
- mPropertyValues[sProperty] = oTableSettings.selectionLimit || oSetting.value;
154
+ mPropertyValues[sProperty] = oTableSettings.selectionLimit ?? oSetting.value;
154
155
  break;
155
156
  default:
156
157
  break;
@@ -159,12 +160,28 @@ sap.ui.define([
159
160
  return mPropertyValues;
160
161
  }
161
162
 
162
- async function fnOpenTableConfigurationDialog(oSmartTable, mPropertyBag) {
163
+ async function fnOpenTableConfigurationDialog(oControl, mPropertyBag) {
164
+ // if control is not a SmartTable, find the parent SmartTable
165
+ // work around for the issue where the SmartTable is not selectable in the RTA
166
+ const oSmartTable = oControl.isA("sap.ui.comp.smarttable.SmartTable") ? oControl : oControl.getParent();
167
+
168
+ if (!oSmartTable.isA("sap.ui.comp.smarttable.SmartTable")) {
169
+ throw new Error("The SmartTable control could not be found");
170
+ }
171
+
163
172
  const oResourceModel = oSmartTable.getModel("i18n");
164
173
  const oComponent = designtimeUtils.getOwnerComponentFor(oSmartTable);
165
174
  const sComponentName = oComponent.getMetadata().getComponentName();
166
175
  // Get the allowed designtime settings for the SmartTable
167
- const aAllowedDesigntimeSettings = getAllowedDesigntimeSettings(oSmartTable);
176
+ const aAllDesigntimeSettings = getAllDesigntimeSettings(oSmartTable);
177
+
178
+ /**
179
+ * @type {DesigntimeSetting[]}
180
+ */
181
+ let aAllowedDesigntimeSettings = designtimeUtils.filterDesigntimeSettingsByFloorPlan(oSmartTable, aAllDesigntimeSettings);
182
+
183
+ // Get the allowed designtime settings based on the adaptation mode (key user or Designtime)
184
+ aAllowedDesigntimeSettings = designtimeUtils.getAllowedDesigntimeSettingsBasedOnAdaptationMode(aAllowedDesigntimeSettings, oComponent);
168
185
 
169
186
  // Get the other table properties outside of the tableSettings Eg: settings/condensedTableLayout
170
187
  const aOtherTableProperties = ["condensedTableLayout"];
@@ -296,7 +313,7 @@ sap.ui.define([
296
313
  * @param {object} oSmartTable - The SmartTable object.
297
314
  * @returns {DesigntimeSetting[]} - The designtime settings for the SmartTable.
298
315
  */
299
- let getAllowedDesigntimeSettings = function getAllowedDesigntimeSettings(oSmartTable) {
316
+ let getAllDesigntimeSettings = function getAllDesigntimeSettings(oSmartTable) {
300
317
  /**
301
318
  * @type {DesigntimeSetting}
302
319
  */
@@ -313,7 +330,8 @@ sap.ui.define([
313
330
  { id: "TreeTable", name: "Tree Table" },
314
331
  { id: "AnalyticalTable", name: "Analytical Table" }
315
332
  ],
316
- bSupportsGlobalScope: false
333
+ bSupportsGlobalScope: false,
334
+ keyUser: true
317
335
  };
318
336
 
319
337
  /**
@@ -331,7 +349,8 @@ sap.ui.define([
331
349
  enums: [
332
350
  { id: "false", name: "Single" },
333
351
  { id: "true", name: "Multi" }
334
- ]
352
+ ],
353
+ keyUser: true
335
354
  };
336
355
 
337
356
  /**
@@ -344,7 +363,8 @@ sap.ui.define([
344
363
  value: false,
345
364
  type: "boolean",
346
365
  getPath: getPathForTableSettings("selectAll"),
347
- bSupportsGlobalScope: false
366
+ bSupportsGlobalScope: false,
367
+ keyUser: true
348
368
  };
349
369
 
350
370
  // /**
@@ -376,7 +396,8 @@ sap.ui.define([
376
396
  value: false,
377
397
  type: "boolean",
378
398
  getPath: () => "component/settings/condensedTableLayout",
379
- bSupportsGlobalScope: false
399
+ bSupportsGlobalScope: false,
400
+ keyUser: true
380
401
  };
381
402
 
382
403
  /**
@@ -391,7 +412,8 @@ sap.ui.define([
391
412
  getPath: getPathForTableSettings("widthIncludingColumnHeader"),
392
413
  bSupportsGlobalScope: true,
393
414
  restrictedTo: [sListReportComponentName],
394
- bGlobalSettingsOnly: true
415
+ bGlobalSettingsOnly: true,
416
+ keyUser: true
395
417
  };
396
418
 
397
419
  /**
@@ -404,7 +426,8 @@ sap.ui.define([
404
426
  value: false,
405
427
  type: "boolean",
406
428
  getPath: getPathForTableSettings("addCardtoInsightsHidden"),
407
- restrictedTo: [sListReportComponentName]
429
+ restrictedTo: [sListReportComponentName],
430
+ keyUser: true
408
431
  };
409
432
 
410
433
  /**
@@ -416,7 +439,8 @@ sap.ui.define([
416
439
  description: "Define the selection limit",
417
440
  value: 300,
418
441
  type: "number",
419
- getPath: getPathForTableSettings("selectionLimit")
442
+ getPath: getPathForTableSettings("selectionLimit"),
443
+ keyUser: true
420
444
  };
421
445
 
422
446
 
@@ -439,7 +463,7 @@ sap.ui.define([
439
463
  };
440
464
 
441
465
  // Expose the functions for QUnit tests
442
- getAllowedDesigntimeSettings = testableHelper.testableStatic(getAllowedDesigntimeSettings, "getAllowedDesigntimeSettings");
466
+ getAllDesigntimeSettings = testableHelper.testableStatic(getAllDesigntimeSettings, "getAllDesigntimeSettings");
443
467
  getPathForTableSettings = testableHelper.testableStatic(getPathForTableSettings, "getPathForTableSettings");
444
468
  testableHelper.testableStatic(getRuntimeAdapationProperties, "getRuntimeAdapationProperties");
445
469
  testableHelper.testableStatic(getManifestTableSettings, "getManifestTableSettings");
@@ -6,11 +6,14 @@
6
6
  */
7
7
  // Provides the design time metadata for the sap.suite.ui.generic.template.AnalyticalListPage component
8
8
 
9
- sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"],
10
- function (designtimeHelper) {
9
+ sap.ui.define([
10
+ "sap/suite/ui/generic/template/designtime/utils/designtimeHelper",
11
+ "sap/suite/ui/generic/template/designtime/utils/designtimeUtils"
12
+ ],
13
+ function (designtimeHelper, designtimeUtils) {
11
14
  "use strict";
12
15
 
13
- // allow list for designtime adaptation / level-0.
16
+ // allow list for designtime adaptation / level-0.
14
17
  var mAllowLevel0 = {
15
18
  "sap.f.DynamicPage": {
16
19
  properties: ["headerExpanded", "preserveHeaderStateOnScroll"]
@@ -42,7 +45,7 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
42
45
  properties: ["liveMode", "showClearOnFB", "showFilterConfiguration", "showRestoreOnFB", "considerPresentationVariant"]
43
46
  },
44
47
  "sap.m.Table": {
45
- properties: ["growingThreshold"]
48
+ properties: ["growingThreshold", "rememberSelections"]
46
49
  },
47
50
  "sap.m.Column": {
48
51
  properties: ["width", "hAlign"]
@@ -60,12 +63,9 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
60
63
  properties: ["scrollThreshold"]
61
64
  }
62
65
  };
63
-
64
- // grey list for designtime adaptation / level-0 (no technical difference too allow list, separated just for documentation
66
+
67
+ // grey list for designtime adaptation / level-0 (no technical difference too allow list, separated just for documentation
65
68
  var mGreyLevel0 = {
66
- "sap.suite.ui.generic.template.AnalyticalListPage.control.smartfilterbarext:SmartFilterBarExt": {
67
- properties: ["useDateRangeType"]
68
- },
69
69
  "sap.ui.table.AnalyticalTable": {
70
70
  properties: ["selectionMode", "minAutoRowCount", "visibleRowCountMode"]
71
71
  },
@@ -76,12 +76,12 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
76
76
  properties: ["header", "useTooltip"]
77
77
  }
78
78
  };
79
-
80
- // allow list for key user adaptation.
79
+
80
+ // allow list for key user adaptation.
81
81
  var mAllowKeyUser = {
82
82
  "sap.m.MenuButton": { // used for create and create with filters and possibly created by combining of buttons
83
83
  actions: ["split", "rename", "remove"]
84
- },
84
+ },
85
85
  "sap.m.Button": {
86
86
  actions: ["remove", "reveal", "rename"]
87
87
  },
@@ -104,7 +104,7 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
104
104
  actions: ["rename"]
105
105
  }
106
106
  };
107
-
107
+
108
108
  // allow list for variant management: All changes done here are stored with a variant, and only applied when that variant is selected.
109
109
  // this mode is indicated by url parameter fiori-tools-rta-mode=true
110
110
  var mAllowVariantManagement = {
@@ -127,8 +127,8 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
127
127
  // there's no reliable way to differentiate designtime adaptation and key user adaptation. However
128
128
  // - property changes are possible only in designtime adaptation
129
129
  // - for any other changes (using change handlers), we anyway need to be prepared for the change if it is allowed in one mode, so it shouldn't matter if it's also possible in the other mode
130
- const sRtaModeValue = designtimeHelper.getRtaModeValue();
131
- const mAllow = sRtaModeValue === designtimeHelper.FioriToolsRtaMode.True ? mAllowVariantManagement : designtimeHelper.getMergedAllowList([mAllowLevel0, mGreyLevel0, mAllowKeyUser]);
132
- return designtimeHelper.getViewDesignTime(mAllow, sRtaModeValue);
133
- });
134
-
130
+ const sRtaModeValue = designtimeUtils.getRtaModeValue();
131
+ const mAllow = sRtaModeValue === designtimeUtils.FioriToolsRtaMode.True ? mAllowVariantManagement : designtimeHelper.getMergedAllowList([mAllowLevel0, mGreyLevel0, mAllowKeyUser]);
132
+ return designtimeHelper.getViewDesignTime(mAllow, sRtaModeValue);
133
+ });
134
+
@@ -6,11 +6,14 @@
6
6
  */
7
7
  // Provides the design time metadata for the sap.suite.ui.generic.template.ListReport component
8
8
 
9
- sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"],
10
- function (designtimeHelper) {
9
+ sap.ui.define([
10
+ "sap/suite/ui/generic/template/designtime/utils/designtimeHelper",
11
+ "sap/suite/ui/generic/template/designtime/utils/designtimeUtils"
12
+ ],
13
+ function (designtimeHelper, designtimeUtils) {
11
14
  "use strict";
12
15
 
13
- // allow list for designtime adaptation / level-0.
16
+ // allow list for designtime adaptation / level-0.
14
17
  var mAllowLevel0 = {
15
18
  "sap.f.DynamicPage": {
16
19
  properties: ["fitContent"]
@@ -23,7 +26,7 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
23
26
  actions: ["settings"]
24
27
  },
25
28
  "sap.m.Table": {
26
- properties: ["popinLayout", "includeItemInSelection", "growingThreshold"]
29
+ properties: ["popinLayout", "includeItemInSelection", "growingThreshold", "rememberSelections"]
27
30
  },
28
31
  "sap.m.Column": {
29
32
  properties: ["width", "hAlign"]
@@ -62,8 +65,8 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
62
65
  properties: ["scrollThreshold"]
63
66
  }
64
67
  };
65
-
66
- // grey list for designtime adaptation / level-0 (no technical difference too allow list, separated just for documentation
68
+
69
+ // grey list for designtime adaptation / level-0 (no technical difference too allow list, separated just for documentation
67
70
  var mGreyLevel0 = {
68
71
  "sap.f.DynamicPage": {
69
72
  properties: ["headerExpanded"]
@@ -72,7 +75,7 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
72
75
  properties: ["width"]
73
76
  },
74
77
  "sap.ui.comp.smartfilterbar.SmartFilterBar": {
75
- properties: ["showClearOnFB", "showFilterConfiguration", "showRestoreOnFB", "useDateRangeType", "filterBarExpanded", "showGoOnFB"]
78
+ properties: ["showClearOnFB", "showFilterConfiguration", "showRestoreOnFB", "filterBarExpanded", "showGoOnFB"]
76
79
  },
77
80
  "sap.m.Label": { // not created by us, but by SFB
78
81
  properties: ["width", "wrapping"]
@@ -120,8 +123,8 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
120
123
  properties: ["type"]
121
124
  }
122
125
  };
123
-
124
- // allow list for key user adaptation.
126
+
127
+ // allow list for key user adaptation.
125
128
  var mAllowKeyUser = {
126
129
  "sap.ui.comp.smartform.SmartForm": { // used in multiedit dialog
127
130
  aggregations: {
@@ -143,7 +146,7 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
143
146
  },
144
147
  "sap.m.MenuButton": { // used for create and create with filters and possibly created by combining of buttons
145
148
  actions: ["split", "rename", "remove"]
146
- },
149
+ },
147
150
  "sap.m.Button": {
148
151
  actions: ["remove", "reveal", "rename"]
149
152
  },
@@ -166,7 +169,7 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
166
169
  actions: ["rename"]
167
170
  }
168
171
  };
169
-
172
+
170
173
  // allow list for variant management: All changes done here are stored with a variant, and only applied when that variant is selected.
171
174
  // this mode is indicated by url parameter fiori-tools-rta-mode=true
172
175
  var mAllowVariantManagement = {
@@ -189,8 +192,8 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
189
192
  // there's no reliable way to differentiate designtime adaptation and key user adaptation. However
190
193
  // - property changes are possible only in designtime adaptation
191
194
  // - for any other changes (using change handlers), we anyway need to be prepared for the change if it is allowed in one mode, so it shouldn't matter if it's also possible in the other mode
192
- const sRtaModeValue = designtimeHelper.getRtaModeValue();
193
- const mAllow = sRtaModeValue === designtimeHelper.FioriToolsRtaMode.True ? mAllowVariantManagement : designtimeHelper.getMergedAllowList([mAllowLevel0, mGreyLevel0, mAllowKeyUser]);
194
- return designtimeHelper.getViewDesignTime(mAllow, sRtaModeValue);
195
- });
196
-
195
+ const sRtaModeValue = designtimeUtils.getRtaModeValue();
196
+ const mAllow = sRtaModeValue === designtimeUtils.FioriToolsRtaMode.True ? mAllowVariantManagement : designtimeHelper.getMergedAllowList([mAllowLevel0, mGreyLevel0, mAllowKeyUser]);
197
+ return designtimeHelper.getViewDesignTime(mAllow, sRtaModeValue);
198
+ });
199
+
@@ -6,8 +6,11 @@
6
6
  */
7
7
  // Provides the design time metadata for the sap.suite.ui.generic.template.ObjectPage component
8
8
 
9
- sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"],
10
- function (designtimeHelper) {
9
+ sap.ui.define([
10
+ "sap/suite/ui/generic/template/designtime/utils/designtimeHelper",
11
+ "sap/suite/ui/generic/template/designtime/utils/designtimeUtils"
12
+ ],
13
+ function (designtimeHelper, designtimeUtils) {
11
14
  "use strict";
12
15
 
13
16
  // allow list for designtime adaptation / level-0.
@@ -40,7 +43,7 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
40
43
  actions: ["settings"]
41
44
  },
42
45
  "sap.m.Table": {
43
- properties: ["growingThreshold", "popinLayout", "includeItemInSelection"] // growingThreshold should not be possible in single section with single subsection
46
+ properties: ["growingThreshold", "popinLayout", "includeItemInSelection", "rememberSelections"] // growingThreshold should not be possible in single section with single subsection
44
47
  },
45
48
  "sap.m.Column": {
46
49
  properties: ["width", "hAlign"]
@@ -274,8 +277,8 @@ sap.ui.define(["sap/suite/ui/generic/template/designtime/utils/designtimeHelper"
274
277
  // there's no reliable way to differentiate designtime adaptation and key user adaptation. However
275
278
  // - property changes are possible only in designtime adaptation
276
279
  // - for any other changes (using change handlers), we anyway need to be prepared for the change if it is allowed in one mode, so it shouldn't matter if it's also possible in the other mode
277
- const sRtaModeValue = designtimeHelper.getRtaModeValue();
278
- const mAllow = sRtaModeValue === designtimeHelper.FioriToolsRtaMode.True ? mAllowVariantManagement : designtimeHelper.getMergedAllowList([mAllowLevel0, mGreyLevel0, mAllowKeyUser]);
279
- return designtimeHelper.getViewDesignTime(mAllow, sRtaModeValue);
280
+ const sRtaModeValue = designtimeUtils.getRtaModeValue();
281
+ const mAllow = sRtaModeValue === designtimeUtils.FioriToolsRtaMode.True ? mAllowVariantManagement : designtimeHelper.getMergedAllowList([mAllowLevel0, mGreyLevel0, mAllowKeyUser]);
282
+ return designtimeHelper.getViewDesignTime(mAllow);
280
283
 
281
- });
284
+ });