@sapui5/sap.suite.ui.generic.template 1.126.0 → 1.127.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (196) 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/control/SmartKpiTag.js +1 -1
  4. package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItemMicroChart.js +2 -2
  5. package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/SmartVisualFilterBar.js +1 -1
  6. package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/VisualFilterProvider.js +17 -15
  7. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/ControllerImplementation.js +0 -1
  8. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/DropDownController.js +8 -13
  9. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/DynamicDateRangeController.js +4 -5
  10. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/VisualFilterDialogController.js +1 -1
  11. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controllerFrameworkExtensions.js +12 -1
  12. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_de.properties +2 -2
  13. package/src/sap/suite/ui/generic/template/AnalyticalListPage/manifest.json +1 -1
  14. package/src/sap/suite/ui/generic/template/AnalyticalListPage/util/AnnotationHelper.js +11 -11
  15. package/src/sap/suite/ui/generic/template/AnalyticalListPage/util/FilterUtil.js +6 -6
  16. package/src/sap/suite/ui/generic/template/Canvas/manifest.json +1 -1
  17. package/src/sap/suite/ui/generic/template/ListReport/Component.js +9 -1
  18. package/src/sap/suite/ui/generic/template/ListReport/controller/ControllerImplementation.js +65 -40
  19. package/src/sap/suite/ui/generic/template/ListReport/controllerFrameworkExtensions.js +12 -1
  20. package/src/sap/suite/ui/generic/template/ListReport/extensionAPI/ExtensionAPI.js +3 -3
  21. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n.properties +16 -0
  22. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ar.properties +12 -0
  23. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_bg.properties +12 -0
  24. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ca.properties +12 -0
  25. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cnr.properties +12 -0
  26. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cs.properties +12 -0
  27. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cy.properties +13 -1
  28. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_da.properties +12 -0
  29. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_de.properties +12 -0
  30. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_el.properties +12 -0
  31. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en.properties +12 -0
  32. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_GB.properties +12 -0
  33. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_US_saprigi.properties +12 -0
  34. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_es.properties +12 -0
  35. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_es_MX.properties +12 -0
  36. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_et.properties +12 -0
  37. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fi.properties +12 -0
  38. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fr.properties +12 -0
  39. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fr_CA.properties +12 -0
  40. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hi.properties +12 -0
  41. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hr.properties +12 -0
  42. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hu.properties +12 -0
  43. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_id.properties +12 -0
  44. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_it.properties +12 -0
  45. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_iw.properties +12 -0
  46. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ja.properties +12 -0
  47. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_kk.properties +12 -0
  48. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ko.properties +12 -0
  49. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_lt.properties +12 -0
  50. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_lv.properties +12 -0
  51. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_mk.properties +12 -0
  52. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ms.properties +12 -0
  53. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_nl.properties +12 -0
  54. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_no.properties +12 -0
  55. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pl.properties +12 -0
  56. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pt.properties +12 -0
  57. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pt_PT.properties +12 -0
  58. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ro.properties +12 -0
  59. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ru.properties +12 -0
  60. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sh.properties +12 -0
  61. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sk.properties +12 -0
  62. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sl.properties +12 -0
  63. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sr.properties +12 -0
  64. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sv.properties +12 -0
  65. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_th.properties +13 -1
  66. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_tr.properties +12 -0
  67. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_uk.properties +12 -0
  68. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_vi.properties +13 -1
  69. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_zh_CN.properties +12 -0
  70. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_zh_TW.properties +12 -0
  71. package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
  72. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/DefaultVariant.fragment.xml +18 -3
  73. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/FullscreenPage.fragment.xml +6 -1
  74. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartTable.fragment.xml +1 -3
  75. package/src/sap/suite/ui/generic/template/ObjectPage/controller/ControllerImplementation.js +26 -19
  76. package/src/sap/suite/ui/generic/template/ObjectPage/controller/MessageStripHelper.js +3 -4
  77. package/src/sap/suite/ui/generic/template/ObjectPage/controller/PasteHandler.js +12 -15
  78. package/src/sap/suite/ui/generic/template/ObjectPage/controller/inlineCreationRows/InlineCreationRowsHelper.js +5 -6
  79. package/src/sap/suite/ui/generic/template/ObjectPage/controllerFrameworkExtensions.js +12 -1
  80. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_de.properties +4 -1
  81. package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +1 -1
  82. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/Actions.fragment.xml +1 -1
  83. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/CRUDActionButtons.fragment.xml +2 -2
  84. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/HeaderContainer.fragment.xml +1 -1
  85. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartTable.fragment.xml +2 -5
  86. package/src/sap/suite/ui/generic/template/QuickCreate/manifest.json +1 -1
  87. package/src/sap/suite/ui/generic/template/QuickView/manifest.json +1 -1
  88. package/src/sap/suite/ui/generic/template/designtime/utils/DesigntimeHandler.js +4 -2
  89. package/src/sap/suite/ui/generic/template/designtime/utils/designtimeHelper.js +27 -10
  90. package/src/sap/suite/ui/generic/template/fragments/ContactDetails.fragment.xml +0 -2
  91. package/src/sap/suite/ui/generic/template/fragments/ContactDetailsQuickViewGroupReplica.fragment.xml +0 -1
  92. package/src/sap/suite/ui/generic/template/fragments/EasyFilter.fragment.xml +24 -0
  93. package/src/sap/suite/ui/generic/template/fragments/GridTableCells.fragment.xml +2 -2
  94. package/src/sap/suite/ui/generic/template/fragments/HeaderDataPointContent.fragment.xml +1 -1
  95. package/src/sap/suite/ui/generic/template/fragments/HeaderFormDataField.fragment.xml +2 -2
  96. package/src/sap/suite/ui/generic/template/fragments/MessageDialog.fragment.xml +1 -1
  97. package/src/sap/suite/ui/generic/template/fragments/MessageInfluencingCRUDAction.fragment.xml +1 -1
  98. package/src/sap/suite/ui/generic/template/fragments/QuickViewSmartForm.fragment.xml +0 -1
  99. package/src/sap/suite/ui/generic/template/fragments/SmartFormDataField.fragment.xml +3 -3
  100. package/src/sap/suite/ui/generic/template/fragments/TableCell.fragment.xml +2 -2
  101. package/src/sap/suite/ui/generic/template/fragments/TreeTableColumns.fragment.xml +1 -1
  102. package/src/sap/suite/ui/generic/template/genericUtilities/AjaxHelper.js +57 -47
  103. package/src/sap/suite/ui/generic/template/genericUtilities/ControlStateWrapperFactory.js +1 -1
  104. package/src/sap/suite/ui/generic/template/genericUtilities/FeLogger.js +0 -1
  105. package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartFilterBarWrapper.js +12 -11
  106. package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartTableChartCommon.js +26 -20
  107. package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartVariantManagementWrapper.js +3 -3
  108. package/src/sap/suite/ui/generic/template/genericUtilities/filterHelper.js +6 -6
  109. package/src/sap/suite/ui/generic/template/js/AnnotationHelper.js +59 -51
  110. package/src/sap/suite/ui/generic/template/js/RuntimeFormatters.js +3 -3
  111. package/src/sap/suite/ui/generic/template/js/formatters/formatDisplayValueForProgressIndicator.js +3 -3
  112. package/src/sap/suite/ui/generic/template/lib/AdaptiveCardHelper.js +39 -33
  113. package/src/sap/suite/ui/generic/template/lib/AppComponent.js +79 -53
  114. package/src/sap/suite/ui/generic/template/lib/Application.js +1 -4
  115. package/src/sap/suite/ui/generic/template/lib/CRUDHelper.js +21 -21
  116. package/src/sap/suite/ui/generic/template/lib/CRUDManager.js +34 -19
  117. package/src/sap/suite/ui/generic/template/lib/CommonEventHandlers.js +63 -11
  118. package/src/sap/suite/ui/generic/template/lib/ContactCardDetailHelper.js +1 -1
  119. package/src/sap/suite/ui/generic/template/lib/ContextMenuHandler.js +11 -12
  120. package/src/sap/suite/ui/generic/template/lib/CreateWithDialogHandler.js +2 -2
  121. package/src/sap/suite/ui/generic/template/lib/PageLeaveHandler.js +6 -6
  122. package/src/sap/suite/ui/generic/template/lib/SideEffectUtil.js +5 -7
  123. package/src/sap/suite/ui/generic/template/lib/TemplateAssembler.js +1 -0
  124. package/src/sap/suite/ui/generic/template/lib/ai/EasyFilterBarHandler.js +323 -0
  125. package/src/sap/suite/ui/generic/template/lib/ai/FioriAIHandler.js +77 -0
  126. package/src/sap/suite/ui/generic/template/lib/ai/JouleContextProvider.js +56 -0
  127. package/src/sap/suite/ui/generic/template/lib/filterHelper.js +38 -1
  128. package/src/sap/suite/ui/generic/template/lib/i18n/i18n.properties +16 -3
  129. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ar.properties +8 -0
  130. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_bg.properties +8 -0
  131. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ca.properties +8 -0
  132. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cnr.properties +8 -0
  133. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cs.properties +8 -0
  134. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cy.properties +8 -0
  135. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_da.properties +13 -5
  136. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_de.properties +10 -2
  137. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_el.properties +8 -0
  138. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en.properties +8 -0
  139. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_GB.properties +8 -0
  140. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_saprigi.properties +8 -0
  141. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es.properties +8 -0
  142. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es_MX.properties +8 -0
  143. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_et.properties +8 -0
  144. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fi.properties +8 -0
  145. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr.properties +8 -0
  146. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr_CA.properties +8 -0
  147. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hi.properties +8 -0
  148. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hr.properties +8 -0
  149. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hu.properties +8 -0
  150. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_id.properties +8 -0
  151. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_it.properties +8 -0
  152. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_iw.properties +8 -0
  153. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ja.properties +8 -0
  154. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_kk.properties +8 -0
  155. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ko.properties +8 -0
  156. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lt.properties +8 -0
  157. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lv.properties +8 -0
  158. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_mk.properties +8 -0
  159. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ms.properties +8 -0
  160. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_nl.properties +8 -0
  161. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_no.properties +8 -0
  162. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pl.properties +8 -0
  163. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt.properties +8 -0
  164. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt_PT.properties +8 -0
  165. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ro.properties +8 -0
  166. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ru.properties +8 -0
  167. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sh.properties +8 -0
  168. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sk.properties +8 -0
  169. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sl.properties +13 -5
  170. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sr.properties +8 -0
  171. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sv.properties +8 -0
  172. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_th.properties +8 -0
  173. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_tr.properties +8 -0
  174. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_uk.properties +9 -1
  175. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_vi.properties +8 -0
  176. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_CN.properties +8 -0
  177. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_TW.properties +8 -0
  178. package/src/sap/suite/ui/generic/template/lib/info/SmartTableInfo.js +26 -2
  179. package/src/sap/suite/ui/generic/template/lib/insights/InsightsCardHelper.js +10 -29
  180. package/src/sap/suite/ui/generic/template/lib/insights/InsightsHandler.js +3 -3
  181. package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +1 -1
  182. package/src/sap/suite/ui/generic/template/lib/presentationControl/SmartTableHandler.js +2 -1
  183. package/src/sap/suite/ui/generic/template/library.js +1 -1
  184. package/src/sap/suite/ui/generic/template/listTemplates/filterSettingsPreparationHelper.js +1 -1
  185. package/src/sap/suite/ui/generic/template/listTemplates/fragments/DetailSmartTable.fragment.xml +1 -1
  186. package/src/sap/suite/ui/generic/template/listTemplates/semanticDateRangeTypeHelper.js +1 -1
  187. package/src/sap/suite/ui/generic/template/themes/base/base.less +4 -0
  188. package/src/sap/suite/ui/generic/template/themes/sap_hcb/ALPConstants.less +47 -0
  189. package/src/sap/suite/ui/generic/template/themes/sap_hcb/base.less +7 -0
  190. package/src/sap/suite/ui/generic/template/themes/sap_hcb/base_AnalyticalListPage.less +475 -0
  191. package/src/sap/suite/ui/generic/template/themes/sap_hcb/base_ListReport.less +33 -0
  192. package/src/sap/suite/ui/generic/template/themes/sap_hcb/base_ObjectPage.less +391 -0
  193. package/src/sap/suite/ui/generic/template/themes/sap_hcb/base_QuickCreate.less +96 -0
  194. package/src/sap/suite/ui/generic/template/themes/sap_hcb/base_QuickView.less +108 -0
  195. package/src/sap/suite/ui/generic/template/themes/sap_hcb/library.source.less +24 -7
  196. package/ui5.yaml +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.suite.ui.generic.template",
3
- "version": "1.126.0",
3
+ "version": "1.127.0",
4
4
  "description": "SAPUI5 Library sap.suite.ui.generic.template",
5
5
  "keywords": [
6
6
  "sapui5",
@@ -7,7 +7,7 @@
7
7
 
8
8
  (c) Copyright 2009-2015 SAP SE. All rights reserved
9
9
  </copyright>
10
- <version>1.126.0</version>
10
+ <version>1.127.0</version>
11
11
 
12
12
  <documentation>Library with generic Suite UI templates.</documentation>
13
13
 
@@ -918,8 +918,8 @@ sap.ui.define([
918
918
  }
919
919
  },
920
920
  /**
921
+ * This Methods checks if the returned unit of Measure is a percent.
921
922
  * @private
922
- * this Methods checks if the returned unit of Measure is a percent
923
923
  * @param oEntityTypeProperty [Entity property which has the UoM]
924
924
  * @return [returns true/false ]
925
925
  */
@@ -844,9 +844,9 @@ sap.ui.define([
844
844
  };
845
845
 
846
846
  /**
847
- * @private
848
847
  * This function determine unit and set it.
849
- * @param{array} data list from which unit determination to be done
848
+ * @private
849
+ * @param{array} data list from which unit determination to be done
850
850
  * @return{void}
851
851
  */
852
852
  FilterItemChart.prototype._determineUnit = function (data){
@@ -664,8 +664,8 @@ sap.ui.define([
664
664
  };
665
665
 
666
666
  /**
667
- * @private
668
667
  * Get AND query filters for all in parameters for a visual filter instance instance
668
+ * @private
669
669
  *
670
670
  * @param {array} inParams - array of in parameters
671
671
  * @param {string} parentProperty - parent property of the visual filter instance
@@ -369,8 +369,8 @@ sap.ui.define([
369
369
  };
370
370
 
371
371
  /**
372
- * @private
373
372
  * This function sets the field groups to be displayed in the visual filter dialog
373
+ * @private
374
374
  * @param {string} sEntityGroupName - entity type name
375
375
  * @return {void}
376
376
  */
@@ -391,11 +391,12 @@ sap.ui.define([
391
391
  this._groupMap = groupByName;
392
392
  };
393
393
 
394
- /**@private
395
- *This function is to obtain scale factor from annotations
396
- *@param {object} oEntityType entity object
397
- *@param {string} sAnnotationPath Annotation path containing scale factor
398
- *@return {string} [scale factor value]
394
+ /**
395
+ * This function is to obtain scale factor from annotations
396
+ * @private
397
+ * @param {object} oEntityType entity object
398
+ * @param {string} sAnnotationPath Annotation path containing scale factor
399
+ * @return {string} [scale factor value]
399
400
  */
400
401
 
401
402
  VisualFilterProvider.prototype._getScaleFactor = function(oEntityType,sAnnotationPath){
@@ -417,11 +418,12 @@ sap.ui.define([
417
418
  }
418
419
  };
419
420
 
420
- /**@private
421
- *This function is to obtain scale factor from annotations
422
- *@param {object} oEntityType entity object
423
- *@param {string} sAnnotationPath Annotation path containing scale factor
424
- *@return {string} [scale factor value]
421
+ /**
422
+ * This function is to obtain scale factor from annotations
423
+ * @private
424
+ * @param {object} oEntityType entity object
425
+ * @param {string} sAnnotationPath Annotation path containing scale factor
426
+ * @return {string} [scale factor value]
425
427
  */
426
428
 
427
429
  VisualFilterProvider.prototype._getNumberOfFractionalDigits = function(oEntityType,sAnnotationPath){
@@ -445,8 +447,8 @@ sap.ui.define([
445
447
  };
446
448
 
447
449
  /**
448
- * @private
449
450
  * This function read the filter annotation for visual filter and set the filter configuration
451
+ * @private
450
452
  * @param {string} sEntityNameFull full name of the entity
451
453
  * @return {void}
452
454
  */
@@ -576,11 +578,11 @@ sap.ui.define([
576
578
  }
577
579
  };
578
580
  /**
579
- * @private
580
581
  * This function creates a default Sort Order for the charts, when sort order is not given in the annotations
581
582
  * For Bar/Donut - Default sort order is measure descending
582
583
  * For Line - If dimension field is DateTime, default sort order is dimension descending
583
584
  * If dimension field is non DateTime, default sort order is dimension ascending
585
+ * @private
584
586
  * @param {string} sChartType chart type
585
587
  * @param {string} sMeasure Measure of the chart
586
588
  * @param {string} sDimension Dimension of the chart
@@ -609,8 +611,8 @@ sap.ui.define([
609
611
  return oSortObject;
610
612
  };
611
613
  /**
612
- * @private
613
614
  * This function returns annotationObject with a new property SortOrder
615
+ * @private
614
616
  * @param {object} oPresentationVariantAnnotation PresentationVariantAnnotation from annotation
615
617
  * @param {string} sMeasure Measure of the chart
616
618
  * @param {string} sDimension Dimension of the chart
@@ -1066,8 +1068,8 @@ sap.ui.define([
1066
1068
  };
1067
1069
 
1068
1070
  /**
1069
- * @private
1070
1071
  * This function is used to ignore VF items which do not have dimensions and measures
1072
+ * @private
1071
1073
  * @param {string} sEntitySet Entity set of the property
1072
1074
  * @param {string} sDimension Dimension of the chart
1073
1075
  * @param {string} sMeasure Measure of chart
@@ -1,4 +1,3 @@
1
- /* global window sap */
2
1
  sap.ui.define(["sap/fe/navigation/SelectionVariant",
3
2
  "sap/suite/ui/generic/template/AnalyticalListPage/extensionAPI/ExtensionAPI",
4
3
  "sap/suite/ui/generic/template/AnalyticalListPage/controller/FilterBarController",
@@ -18,15 +18,15 @@ sap.ui.define([
18
18
 
19
19
  var bShowOnlySelected = false, oToolbar = {}, oInfoLabel = {}, oUpdatedDimensionFilter = "",
20
20
  DropDownController = Controller.extend("sap.suite.ui.generic.template.AnalyticalListPage.controller.DropDownController", {});
21
+
21
22
  /**
22
23
  * createMatchingConceptDropdown creates a drop down with pre filled from compact filter value entity set it's selections.
23
24
  *
24
- * @param {oControl, oChart, oModel, title, property}
25
- * oControl - current element control
26
- * oChart - chart
27
- * oModel - _filter Model
28
- * title - dimLabel
29
- * property - property
25
+ * @param {sap.ui.core.Control} oControl - current element control
26
+ * @param {Object} oChart - chart
27
+ * @param {sap.ui.model.Model} oModel - _filter Model
28
+ * @param {string} title - dimLabel
29
+ * @param {object} property - property
30
30
  * @returns {void}
31
31
  *
32
32
  * @private
@@ -311,8 +311,8 @@ sap.ui.define([
311
311
  /**
312
312
  * getSortObject takes the property object to returns the sorted object.
313
313
  *
314
- * @param { property}
315
- * @returns {sorter object}
314
+ * @param {object} property
315
+ * @returns {sap.ui.model.Sorter} sorter object
316
316
  *
317
317
  * @private
318
318
  */
@@ -323,11 +323,6 @@ sap.ui.define([
323
323
  };
324
324
 
325
325
  /**
326
- * getSortObject takes the property object to returns the sorted object.
327
- *
328
- * @param { property}
329
- * @returns {sorter object}
330
- *
331
326
  * @private
332
327
  */
333
328
  sap.suite.ui.generic.template.AnalyticalListPage.controller.DropDownController.updateFilterWithListBindings = function (oList, oToolbarMenuButton, i18n, filterRestriction, filterBy) {
@@ -10,12 +10,11 @@ sap.ui.define([
10
10
 
11
11
 
12
12
  var DynamicDateRangeController = Controller.extend("sap.suite.ui.generic.template.AnalyticalListPage.controller.DynamicDateRangeController", {});
13
+
13
14
  /**
14
15
  * createDynamicDateRange creates a DynamicDateRange control with pre filled from compact filter value entity set it's selections.
15
16
  *
16
- * @param {oControl, oChart}
17
- * oControl - current element control
18
- * oChart - chart
17
+ * @param {string[]} oControlOptions Array of DynamicDateRange options
19
18
  * @returns {void}
20
19
  *
21
20
  * @private
@@ -46,7 +45,7 @@ sap.ui.define([
46
45
  /**
47
46
  * To set the passed date to DynamicDateRange Control
48
47
  *
49
- * @param {Date object}
48
+ * @param {Date} oDate Date object
50
49
  * @returns {void}
51
50
  *
52
51
  * @private
@@ -82,7 +81,7 @@ sap.ui.define([
82
81
  /**
83
82
  * To handle Dynamic Date selection and deselection(clear)
84
83
  *
85
- * @param {oEvent object}
84
+ * @param {sap.ui.base.Event} oEvent event
86
85
  * @returns {void}
87
86
  *
88
87
  * @private
@@ -1465,8 +1465,8 @@ sap.ui.define([
1465
1465
  }
1466
1466
  });
1467
1467
  /**
1468
- * @private
1469
1468
  * [_createPopoverDialog description]
1469
+ * @private
1470
1470
  * @param {object} i18n object
1471
1471
  * @param {object} title string to display in dialog
1472
1472
  * @return {object} oDialog object
@@ -299,6 +299,17 @@ sap.ui.define([
299
299
  * @param {boolean} oExportParams.includeFilterSettings The value of "Include filter settings" checkbox
300
300
  * @protected
301
301
  */
302
- onBeforeExportTableExtension: function(oExportParams) {}
302
+ onBeforeExportTableExtension: function(oExportParams) {},
303
+
304
+ /**
305
+ * SAP Fiori elements offers a generic implementation for function getContext() called by Joule.
306
+ * Additionally, the app context contains a custom object that an application developer can leverage to provide additional information relevant to the capability.
307
+ *
308
+ * @param {object} oContext - context object generated by Fiori elements
309
+ * @returns enhanced context object with custom properties
310
+ */
311
+ getContext: function(oContext) {
312
+ return oContext;
313
+ }
303
314
  };
304
315
  });
@@ -206,9 +206,9 @@ NODATA_ADAPTFILTERDIALOG=Keine Daten
206
206
 
207
207
 
208
208
 
209
- NODATA_SMARTCHART_ALP=Um zu starten, setzen Sie die entsprechenden Filter und w\u00E4hlen Sie "Start".
209
+ NODATA_SMARTCHART_ALP=Um zu starten, setzen Sie die entsprechenden Filter, und w\u00E4hlen Sie "Start".
210
210
 
211
- NODATA_SMARTTABLE_ALP=Um zu starten, setzen Sie die entsprechenden Filter und w\u00E4hlen Sie "Start".
211
+ NODATA_SMARTTABLE_ALP=Um zu starten, setzen Sie die entsprechenden Filter, und w\u00E4hlen Sie "Start".
212
212
 
213
213
  MESSAGE_MULTIPLE_VALUES_L_FORM=Einige Filter sind f\u00FCr Tab "{1}" ({0}) nicht relevant. Sie haben hat keinen Einfluss auf die Ergebnisse.
214
214
 
@@ -8,7 +8,7 @@
8
8
  "i18n": "i18n/i18n.properties",
9
9
  "applicationVersion": {
10
10
  "__comment": "applicationVersion oder componentversion??",
11
- "version": "1.126.0"
11
+ "version": "1.127.0"
12
12
  },
13
13
  "title": "{{TITLE}}",
14
14
  "description": "{{DESCRIPTION}}",
@@ -245,11 +245,11 @@ sap.ui.define(["sap/ui/base/Object",
245
245
  };
246
246
  /**
247
247
  * [hasDeterminingActionsForALP To check if determiningActions are defined in manifest or annotations]
248
- * @param {[String]} aTableTerm [Records of table actions from annotations]
249
- * @param {[String]} aChartTerm [Records of chart actions from annotations]
250
- * @param {[String]} sEntitySet [Entity set Records]
251
- * @param {Object} oManifestExt [Extensions from manifest]
252
- * @return {Boolean} [Returns status of determining actions to the xml]
248
+ * @param {string[]} aTableTerm [Records of table actions from annotations]
249
+ * @param {string[]} aChartTerm [Records of chart actions from annotations]
250
+ * @param {string} sEntitySet [Entity set Records]
251
+ * @param {Object} oManifestExt [Extensions from manifest]
252
+ * @return {boolean} [Returns status of determining actions to the xml]
253
253
  */
254
254
  oAnnotationHelper.hasDeterminingActionsForALP = function(aTableTerm, aChartTerm, sEntitySet, oManifestExt) {
255
255
  if (sEntitySet && oManifestExt && oManifestExt["sap.suite.ui.generic.template.AnalyticalListPage.view.AnalyticalListPage"] &&
@@ -290,9 +290,9 @@ sap.ui.define(["sap/ui/base/Object",
290
290
  };
291
291
  /**
292
292
  * [_hasCustomDeterminingActionsInALP To check if determiningActions are defined in manifest]
293
- * @param {[String]} sEntitySet [Entity set Records]
293
+ * @param {string} sEntitySet [Entity set Records]
294
294
  * @param {Object} oManifestExt [Extensions from manifest]
295
- * @return {Boolean} [Returns status of determining actions to the xml]
295
+ * @return {boolean} [Returns status of determining actions to the xml]
296
296
  */
297
297
  oAnnotationHelper._hasCustomDeterminingActionsInALP = function(sEntitySet, oManifestExt) {
298
298
  if (oManifestExt && oManifestExt[sEntitySet]) {
@@ -309,9 +309,9 @@ sap.ui.define(["sap/ui/base/Object",
309
309
  };
310
310
  /**
311
311
  * [_hasCustomGlobalActions To check if global Actions are defined in manifest]
312
- * @param {[String]} sEntitySet [Entity set Records]
312
+ * @param {atring} sEntitySet [Entity set Records]
313
313
  * @param {Object} oManifestExt [Extensions from manifest]
314
- * @return {Boolean} [Returns status of global actions to the xml]
314
+ * @return {boolean} [Returns status of global actions to the xml]
315
315
  */
316
316
  oAnnotationHelper._hasCustomGlobalActions = function(sEntitySet, oManifestExt) {
317
317
  if (oManifestExt && oManifestExt[sEntitySet]) {
@@ -334,10 +334,10 @@ sap.ui.define(["sap/ui/base/Object",
334
334
  kpiContext.filterableKPIs = [];
335
335
  kpiContext.globalKPIs = [];
336
336
  if (oKPIObject) {
337
- for (var item = 0; item < Object.keys(oKPIObject).length; item++){
337
+ for (var item = 0; item < Object.keys(oKPIObject).length; item++) {
338
338
  if (oKPIObject[Object.keys(oKPIObject)[item]]["filterable"]) {
339
339
  kpiContext.filterableKPIs.push(oKPIObject[Object.keys(oKPIObject)[item]]);
340
- }else {
340
+ } else {
341
341
  kpiContext.globalKPIs.push(oKPIObject[Object.keys(oKPIObject)[item]]);
342
342
  }
343
343
  }
@@ -12,8 +12,8 @@ sap.ui.define([
12
12
  "use strict";
13
13
  var FilterUtil = BaseObject.extend("sap.suite.ui.generic.template.AnalyticalListPage.util.FilterUtil");
14
14
  /**
15
- * @private
16
15
  * This function create a title by combining the label and id
16
+ * @private
17
17
  * @param {string} sDimValueDisplay the label field
18
18
  * @param {string} sDimValue the id field
19
19
  * @return {string} the newly created title
@@ -77,9 +77,9 @@ sap.ui.define([
77
77
  };
78
78
  /**
79
79
  * This function returns the property isNullable or not
80
- * @param {object} Model instance
81
- * @param {string} entity set
82
- * @return {string} the property name
80
+ * @param {object} oModel Model instance
81
+ * @param {string} entitySet entity set
82
+ * @return {string} sPropertyName the property name
83
83
  */
84
84
  FilterUtil.isNullable = function (oModel, entitySet, sPropertyName) {
85
85
  var oMetadataAnalyser = new MetadataAnalyser(oModel);
@@ -359,8 +359,8 @@ sap.ui.define([
359
359
  };
360
360
  /**
361
361
  * Function that returns a local date to UTC date
362
- * @param {Object} oDate - The input local date object
363
- * @returns {Object} The UTC offset date object
362
+ * @param {Date} oDate - The input local date object
363
+ * @returns {Date} The UTC offset date object
364
364
  */
365
365
  FilterUtil.convertLocalDatetoUTCDate = function(oDate) {
366
366
  var oUTCDate = new Date(oDate.valueOf() + oDate.getTimezoneOffset() * 60 * 1000);
@@ -8,7 +8,7 @@
8
8
  "i18n": "i18n/i18n.properties",
9
9
  "applicationVersion": {
10
10
  "__comment": "applicationVersion oder componentversion??",
11
- "version": "1.126.0"
11
+ "version": "1.127.0"
12
12
  },
13
13
  "title": "Canvas",
14
14
  "description": "Canvas Page",
@@ -142,7 +142,11 @@ sap.ui.define(["sap/ui/core/mvc/OverrideExecution",
142
142
  var oTableSettings = oVariant ? oVariant.tableSettings : oLrSettings.tableSettings;
143
143
  var bMultiEdit = false;
144
144
  var sSelectionMode = oTableSettings.mode;
145
- if (oTableSettings.multiEdit.enabled !== false && oLrSettings.isResponsiveTable && !oLrSettings.isWorklist) {
145
+ if (
146
+ oTableSettings.multiEdit.enabled !== false &&
147
+ (oLrSettings.isResponsiveTable || oLrSettings.tableSettings.type === "GridTable") && // Allow multi edit for GridTable and ResponsiveTable only
148
+ !oLrSettings.isWorklist
149
+ ) {
146
150
  bMultiEdit = true;
147
151
  var oUpdateRestrictions = oEntitySet["Org.OData.Capabilities.V1.UpdateRestrictions"];
148
152
  if (oUpdateRestrictions && oUpdateRestrictions.Updatable && oUpdateRestrictions.Updatable.Bool === "false") {
@@ -448,6 +452,10 @@ sap.ui.define(["sap/ui/core/mvc/OverrideExecution",
448
452
 
449
453
  //Include navigation property settings to filterSettings
450
454
  var oNavigationPropSettings = filterSettingsPreparationHelper.getNavigationPropSettings(oLrSettings);
455
+ if (oComponentUtils.isDraftEnabled() &&
456
+ !oNavigationPropSettings.navigationProperties.includes("DraftAdministrativeData")) {
457
+ oNavigationPropSettings.navigationProperties += ((oNavigationPropSettings.navigationProperties).length ? "," : '') + "DraftAdministrativeData";
458
+ }
451
459
  oLrSettings.filterSettings = deepExtend(oLrSettings.filterSettings, oNavigationPropSettings);
452
460
 
453
461
  oLrSettings.isSelflinkRequired = true;
@@ -1,4 +1,3 @@
1
- /* global window */
2
1
  sap.ui.define([
3
2
  "sap/ui/model/Filter",
4
3
  "sap/suite/ui/generic/template/ListReport/extensionAPI/ExtensionAPI",
@@ -24,10 +23,12 @@ sap.ui.define([
24
23
  "sap/suite/ui/generic/template/genericUtilities/filterHelper",
25
24
  "sap/suite/ui/generic/template/js/AnnotationHelperHiddenTermSupport",
26
25
  "sap/m/IllustratedMessageType",
26
+ "sap/suite/ui/generic/template/lib/ai/EasyFilterBarHandler",
27
27
  "sap/ui/model/FilterOperator",
28
28
  "sap/ui/core/message/MessageType"
29
29
  ], function (Filter, ExtensionAPI, listUtils, MessageStripHelper, IappStateHandler, MultipleViewsHandler,
30
- WorklistHandler, ShareUtils, controlHelper, FeLogger, testableHelper, ObjectPath, StableIdHelper, deepExtend, CreateWithDialogHandler, CtxMenuHandler, MultiEditHandler, SelectionVariant, InsightsHandler, filterSettingsPreparationHelper, TableUtil, filterHelper, AnnotationHelperHiddenTermSupport, IllustratedMessageType, FilterOperator, MessageType) {
30
+ WorklistHandler, ShareUtils, controlHelper, FeLogger, testableHelper, ObjectPath, StableIdHelper, deepExtend, CreateWithDialogHandler, CtxMenuHandler, MultiEditHandler, SelectionVariant, InsightsHandler, filterSettingsPreparationHelper, TableUtil, filterHelper, AnnotationHelperHiddenTermSupport, IllustratedMessageType,
31
+ EasyFilterBarHandler, FilterOperator, MessageType) {
31
32
  "use strict";
32
33
 
33
34
  var oLogger = new FeLogger("ListReport.controller.ControllerImplementation").getLogger();
@@ -166,8 +167,8 @@ sap.ui.define([
166
167
  function getDefaultValuesImpl(oPredefinedValues, oButton, fnParam) {
167
168
  var oGetDefaultValuesPromise = oTemplateUtils.oServices.oCRUDManager.getDefaultValues(oButton, oPredefinedValues);
168
169
  if (oGetDefaultValuesPromise instanceof Promise) {
169
- var fnGetPredefinedValues = function (aResponse) {
170
- fnParam.call(this, aResponse[0], oButton);
170
+ var fnGetPredefinedValues = function (mDefaultValues) {
171
+ fnParam.call(this, mDefaultValues, oButton);
171
172
  };
172
173
  oGetDefaultValuesPromise.then(fnGetPredefinedValues, fnGetPredefinedValues);
173
174
  } else {
@@ -304,40 +305,35 @@ sap.ui.define([
304
305
 
305
306
  function onShareListReportActionButtonPressImpl(oButton) {
306
307
  var getFilterInfoForTilePromise = function () {
307
- var bAreDataShownInTable = oState.oIappStateHandler.areDataShownInTable();
308
- if (bAreDataShownInTable) {
309
- var oPresentationControlHandler = oState.oPresentationControlHandler;
310
- var oMetaModel = oPresentationControlHandler.getModel().getMetaModel();
311
- var sEntityTypeName = oMetaModel.getODataEntitySet(oPresentationControlHandler.getEntitySet()).entityType;
312
- var oBinding = oPresentationControlHandler.getBinding(oState);
313
- var sServiceUrl = oBinding ? oBinding.getDownloadUrl() : "";
314
- // - For Analytical Binding.
315
- // we recv. aApplicationFilter and aApplicationFilters binding both but aApplicationFilter have actual filters operator value.
316
- // - For List Binding.
317
- // we recv. only aApplicationFilters contains filter operator.
318
- var aFilters = oBinding ? (oBinding.aApplicationFilter || oBinding.aApplicationFilters) : [];
319
- // non-draft case when no filter is applied
320
- if (!aFilters.length) {
321
- return Promise.resolve({
322
- sServiceUrl: sServiceUrl
323
- });
324
- }
325
- var oFilterData = oState.oSmartFilterbar.getFilterData();
326
- var sFilterParams = filterHelper.getFilterParams(oMetaModel, sEntityTypeName, aFilters, oFilterData);
327
- if (sFilterParams) {
328
- sServiceUrl = oTemplateUtils.oCommonUtils.fnReplaceFiltersWithGetDownloadUrl(sServiceUrl, sFilterParams);
329
- return Promise.resolve({
330
- sServiceUrl: sServiceUrl
331
- });
332
- } else {
333
- return Promise.resolve({
334
- sServiceUrl: ""
335
- });
336
- }
308
+ var oPresentationControlHandler = oState.oPresentationControlHandler;
309
+ var oMetaModel = oPresentationControlHandler.getModel().getMetaModel();
310
+ var sEntityTypeName = oMetaModel.getODataEntitySet(oPresentationControlHandler.getEntitySet()).entityType;
311
+ var oBinding = oPresentationControlHandler.getBinding(oState);
312
+ var sServiceUrl = oBinding ? oBinding.getDownloadUrl() : "";
313
+ // - For Analytical Binding.
314
+ // we recv. aApplicationFilter and aApplicationFilters binding both but aApplicationFilter have actual filters operator value.
315
+ // - For List Binding.
316
+ // we recv. only aApplicationFilters contains filter operator.
317
+ var aFilters = oBinding ? (oBinding.aApplicationFilter || oBinding.aApplicationFilters) : [];
318
+ // non-draft case when no filter is applied
319
+ if (!aFilters.length) {
320
+ return Promise.resolve({
321
+ sServiceUrl: sServiceUrl
322
+ });
337
323
  }
338
- return Promise.resolve({
339
- sServiceUrl: ""
340
- });
324
+ var oFilterData = oState.oSmartFilterbar.getFilterData();
325
+ var sFilterParams = filterHelper.getFilterParams(oMetaModel, sEntityTypeName, aFilters, oFilterData);
326
+ if (sFilterParams) {
327
+ sServiceUrl = oTemplateUtils.oCommonUtils.fnReplaceFiltersWithGetDownloadUrl(sServiceUrl, sFilterParams);
328
+ return Promise.resolve({
329
+ sServiceUrl: sServiceUrl
330
+ });
331
+ } else {
332
+ return Promise.resolve({
333
+ sServiceUrl: ""
334
+ });
335
+ }
336
+
341
337
  };
342
338
 
343
339
  var oFragmentController = {
@@ -401,7 +397,10 @@ sap.ui.define([
401
397
  });
402
398
  }
403
399
  };
404
-
400
+ var bAreDataShownInTable = oState.oIappStateHandler.areDataShownInTable();
401
+ if (!bAreDataShownInTable) {
402
+ oState.oSmartFilterbar.search();
403
+ }
405
404
  ShareUtils.openSharePopup(oTemplateUtils.oCommonUtils, oButton, oFragmentController);
406
405
  }
407
406
 
@@ -548,6 +547,12 @@ sap.ui.define([
548
547
  oState.oMultiEditHandler = new MultiEditHandler(oState, oController, oTemplateUtils);
549
548
  oState.oInsightsHandler = new InsightsHandler(oState, oController, oTemplateUtils);
550
549
 
550
+ oTemplateUtils.oServices.oFioriAIHandler && oTemplateUtils.oServices.oFioriAIHandler.getFioriAIEnabledPromise().then(function() {
551
+ oState.oEasyFilterBarHandler = new EasyFilterBarHandler(oState, oController, oTemplateUtils);
552
+ });
553
+
554
+
555
+
551
556
  var oTemplatePrivateModel = oTemplateUtils.oComponentUtils.getTemplatePrivateModel();
552
557
 
553
558
  oTemplatePrivateModel.setProperty("/listReport/aMissingNavProperties", false);
@@ -558,6 +563,8 @@ sap.ui.define([
558
563
 
559
564
  // Initialise headerExpanded property to true as a fix for incident 1770402849. Text of toggle filter button depends on this value.
560
565
  oTemplatePrivateModel.setProperty("/listReport/isHeaderExpanded", true);
566
+ // Default SFB should be rendered. Only in AI enabled cases EasyFilter should be rendered
567
+ oTemplatePrivateModel.setProperty("/listReport/filterMode", "classic");
561
568
 
562
569
  // set property for enable/disable of the Delete button
563
570
  oTemplatePrivateModel.setProperty("/listReport/deleteEnabled", false);
@@ -688,6 +695,11 @@ sap.ui.define([
688
695
 
689
696
  onSmartFilterBarInitialized: function () {
690
697
  oState.oIappStateHandler.onSmartFilterBarInitialized();
698
+ // oTemplateUtils.oServices.oFioriAIHandler && oTemplateUtils.oServices.oFioriAIHandler.getFioriAIEnabledPromise().then(function() {
699
+ // // oEasyFilterBarHandler is already initialized in the controller onInit
700
+ // // Prepare the metadats upfront so that it is not triggered for each search
701
+ // oState.oEasyFilterBarHandler && oState.oEasyFilterBarHandler.getEasyFilterSearchMetadata();
702
+ // });
691
703
  },
692
704
 
693
705
  onAfterSFBVariantLoad: function (oEvent) {
@@ -698,7 +710,19 @@ sap.ui.define([
698
710
  var oSmartList = oEvent.getSource();
699
711
  fnOnDataReceived(oSmartList);
700
712
  },
701
-
713
+ // Check if a new control can be created for the AI Input field so that the event handler can be removed from here
714
+ onEasyFilterEnterPress : function (oEvent) {
715
+ var oEasyFilter = oEvent.getSource();
716
+ oTemplateUtils.oCommonEventHandlers.onEasyFilterChange(oEasyFilter, oState);
717
+ },
718
+ onEasyFilterGoButtonPress : function() {
719
+ var oEasyFilter = oController.byId("easyFilter");
720
+ oTemplateUtils.oCommonEventHandlers.onEasyFilterChange(oEasyFilter, oState);
721
+ },
722
+ onEasyFilterChange : function(oEvent) {
723
+ var oEasyFilter = oEvent.getSource();
724
+ oEasyFilter.setValueState(sap.ui.core.ValueState.None);
725
+ },
702
726
  onBeforeRebindTable: function (oEvent) {
703
727
  var oSmartTable = oEvent.getSource();
704
728
  setNoDataTextIfRequired(oSmartTable);
@@ -770,7 +794,8 @@ sap.ui.define([
770
794
  isPopinWithoutHeader: true,
771
795
  isDataFieldForActionRequired: true,
772
796
  isFieldControlsPathRequired: true,
773
- isMandatoryFiltersRequired: true
797
+ isMandatoryFiltersRequired: true,
798
+ numberOfExpandedLevels: 1
774
799
  });
775
800
  oController.onBeforeRebindTableExtension(oEvent);
776
801
  var fnDataRequested = oBindingParams.events.dataRequested || Function.prototype;
@@ -329,6 +329,17 @@ sap.ui.define([
329
329
  * @param {boolean} oExportParams.includeFilterSettings The value of "Include filter settings" checkbox
330
330
  * @protected
331
331
  */
332
- onBeforeExportTableExtension: function(oExportParams) {}
332
+ onBeforeExportTableExtension: function(oExportParams) {},
333
+
334
+ /**
335
+ * SAP Fiori elements offers a generic implementation for function getContext() called by Joule.
336
+ * Additionally, the app context contains a custom object that an application developer can leverage to provide additional information relevant to the capability.
337
+ *
338
+ * @param {object} oContext - context object generated by Fiori elements
339
+ * @returns enhanced context object with custom properties
340
+ */
341
+ getContext: function(oContext) {
342
+ return oContext;
343
+ }
333
344
  };
334
345
  });
@@ -174,10 +174,10 @@ sap.ui.define(["sap/ui/base/Object",
174
174
  * This method should be called when any custom ui state handled by the get/restoreCustomAppStateDataExtension-methods changes.
175
175
  * Note that changes applied to custom filters need not to be propagated this way, since the change event of the SmartFilterBar
176
176
  * will automatically be handled by the smart template framework.
177
- * @public
178
- *
177
+ *
179
178
  * For more information, see {@link topic:5fb9f57fcf12401bbe39a635e9a32a4e Adding Custom Fields to the Filter Bar}.
180
- *
179
+ *
180
+ * @public
181
181
  */
182
182
  onCustomAppStateChange: function(){
183
183
  oState.oIappStateHandler.customAppStateChange();
@@ -157,6 +157,22 @@ ST_CREATE_WITH_FILTERS=Create with filters
157
157
 
158
158
  #------------End of: template controller reuse texts-----------------------
159
159
 
160
+ #------------Easy filter related text-----------------------
161
+ # All the easy filter and filter mode related texts are defined here
162
+
163
+ # XTIT,30: Title of the Filter modes in List Report
164
+ ST_EASY_FILTER_TITLE=Filter Mode :
165
+
166
+ # XBUT: Manual filter segmented button text
167
+ ST_MANUAL_FILTER=Classic
168
+
169
+ # XBUT: Easy filter segmented button text
170
+ ST_EASY_FILTER=SAP Business AI
171
+
172
+ #------------End of: Easy filter related text-----------------------
173
+
174
+
175
+
160
176
  #---Final block: texts to be redefined by the application ----------------------------------------
161
177
 
162
178
  # XTOL: shown as tooltip on plus or create sign; ; "object" to be redefined. example: Create New Product