@sapui5/sap.suite.ui.generic.template 1.145.1 → 1.147.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 (191) hide show
  1. package/package.json +1 -1
  2. package/src/sap/suite/ui/generic/template/.library +1 -1
  3. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/ControllerImplementation.js +65 -16
  4. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controllerFrameworkExtensions.js +15 -2
  5. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n.properties +14 -2
  6. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ar.properties +8 -0
  7. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_bg.properties +8 -0
  8. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ca.properties +8 -0
  9. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_cnr.properties +8 -0
  10. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_cs.properties +8 -0
  11. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_cy.properties +8 -0
  12. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_da.properties +8 -0
  13. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_de.properties +8 -0
  14. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_el.properties +8 -0
  15. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_en.properties +8 -0
  16. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_en_GB.properties +8 -0
  17. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_en_US_saprigi.properties +8 -0
  18. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_es.properties +8 -0
  19. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_es_MX.properties +8 -0
  20. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_et.properties +8 -0
  21. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_fi.properties +8 -0
  22. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_fr.properties +8 -0
  23. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_fr_CA.properties +8 -0
  24. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_hi.properties +8 -0
  25. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_hr.properties +8 -0
  26. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_hu.properties +8 -0
  27. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_id.properties +8 -0
  28. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_it.properties +10 -2
  29. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_iw.properties +8 -0
  30. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ja.properties +8 -0
  31. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_kk.properties +8 -0
  32. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ko.properties +8 -0
  33. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_lt.properties +8 -0
  34. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_lv.properties +8 -0
  35. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_mk.properties +8 -0
  36. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ms.properties +8 -0
  37. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_nl.properties +8 -0
  38. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_no.properties +8 -0
  39. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_pl.properties +8 -0
  40. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_pt.properties +8 -0
  41. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_pt_PT.properties +8 -0
  42. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ro.properties +8 -0
  43. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ru.properties +8 -0
  44. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sh.properties +8 -0
  45. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sk.properties +8 -0
  46. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sl.properties +8 -0
  47. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sr.properties +8 -0
  48. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sv.properties +8 -0
  49. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_th.properties +8 -0
  50. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_tr.properties +8 -0
  51. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_uk.properties +8 -0
  52. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_vi.properties +8 -0
  53. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_zh_CN.properties +8 -0
  54. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_zh_TW.properties +8 -0
  55. package/src/sap/suite/ui/generic/template/AnalyticalListPage/manifest.json +1 -1
  56. package/src/sap/suite/ui/generic/template/Canvas/manifest.json +1 -1
  57. package/src/sap/suite/ui/generic/template/ListReport/controller/ControllerImplementation.js +22 -11
  58. package/src/sap/suite/ui/generic/template/ListReport/controllerFrameworkExtensions.js +16 -2
  59. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fr.properties +1 -1
  60. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fr_CA.properties +1 -1
  61. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_it.properties +1 -1
  62. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sk.properties +1 -1
  63. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_uk.properties +1 -1
  64. package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
  65. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/DeleteConfirmation.fragment.xml +2 -2
  66. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartChart.fragment.xml +11 -4
  67. package/src/sap/suite/ui/generic/template/ObjectPage/controller/ControllerImplementation.js +52 -1
  68. package/src/sap/suite/ui/generic/template/ObjectPage/controllerFrameworkExtensions.js +16 -2
  69. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cnr.properties +1 -1
  70. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_mk.properties +1 -1
  71. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pt.properties +1 -1
  72. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sh.properties +1 -1
  73. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sl.properties +3 -3
  74. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sr.properties +1 -1
  75. package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +1 -1
  76. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/DraftConfirmationPopup.fragment.xml +2 -2
  77. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/DraftResumeDialog.fragment.xml +3 -3
  78. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/RelatedAppsSheet.fragment.xml +1 -1
  79. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartChart.fragment.xml +0 -1
  80. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SwitchDraftAndActiveObjectPopOver.fragment.xml +1 -1
  81. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/TableDeleteConfirmation.fragment.xml +2 -2
  82. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/UnsavedChangesDialog.fragment.xml +2 -2
  83. package/src/sap/suite/ui/generic/template/QuickCreate/manifest.json +1 -1
  84. package/src/sap/suite/ui/generic/template/QuickCreate/view/QuickCreate.view.xml +7 -7
  85. package/src/sap/suite/ui/generic/template/QuickView/manifest.json +1 -1
  86. package/src/sap/suite/ui/generic/template/QuickView/view/QuickView.view.xml +6 -6
  87. package/src/sap/suite/ui/generic/template/designtime/controls/SmartTable.designtime.js +90 -10
  88. package/src/sap/suite/ui/generic/template/detailTemplates/detailUtils.js +18 -1
  89. package/src/sap/suite/ui/generic/template/fragments/AINotice.fragment.xml +1 -1
  90. package/src/sap/suite/ui/generic/template/fragments/ActionConfirmation.fragment.xml +3 -3
  91. package/src/sap/suite/ui/generic/template/fragments/ContactDetails.fragment.xml +5 -5
  92. package/src/sap/suite/ui/generic/template/fragments/DataLoss.fragment.xml +2 -2
  93. package/src/sap/suite/ui/generic/template/fragments/DataLossTechnicalError.fragment.xml +3 -3
  94. package/src/sap/suite/ui/generic/template/fragments/DiscardEditPopover.fragment.xml +3 -3
  95. package/src/sap/suite/ui/generic/template/fragments/DraftAdminDataPopover.fragment.xml +1 -1
  96. package/src/sap/suite/ui/generic/template/fragments/GridTableColumns.fragment.xml +1 -1
  97. package/src/sap/suite/ui/generic/template/fragments/MessageDialog.fragment.xml +7 -7
  98. package/src/sap/suite/ui/generic/template/fragments/MessageInfluencingCRUDAction.fragment.xml +7 -7
  99. package/src/sap/suite/ui/generic/template/fragments/MessagePopover.fragment.xml +2 -2
  100. package/src/sap/suite/ui/generic/template/fragments/ShareSheet.fragment.xml +3 -3
  101. package/src/sap/suite/ui/generic/template/genericUtilities/Link.js +26 -26
  102. package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartFilterBarWrapper.js +19 -12
  103. package/src/sap/suite/ui/generic/template/genericUtilities/metadataAnalyser.js +5 -5
  104. package/src/sap/suite/ui/generic/template/js/AnnotationHelper.js +16 -1
  105. package/src/sap/suite/ui/generic/template/lib/AppComponent.js +5 -1
  106. package/src/sap/suite/ui/generic/template/lib/BaseNoDataHandler.js +108 -0
  107. package/src/sap/suite/ui/generic/template/lib/ChartNoDataHandler.js +37 -0
  108. package/src/sap/suite/ui/generic/template/lib/CommonEventHandlers.js +76 -7
  109. package/src/sap/suite/ui/generic/template/lib/ContextMenuHandler.js +27 -21
  110. package/src/sap/suite/ui/generic/template/lib/TableNoDataHandler.js +24 -101
  111. package/src/sap/suite/ui/generic/template/lib/ai/EasyFill/EasyFillHandler.js +5 -1
  112. package/src/sap/suite/ui/generic/template/lib/ai/EasyFill/fragments/EasyFillDialog.fragment.xml +12 -11
  113. package/src/sap/suite/ui/generic/template/lib/ai/EasyFilterBarHandler.js +9 -5
  114. package/src/sap/suite/ui/generic/template/lib/i18n/i18n.properties +26 -2
  115. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ar.properties +18 -0
  116. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_bg.properties +18 -0
  117. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ca.properties +18 -0
  118. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cnr.properties +18 -0
  119. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cs.properties +18 -0
  120. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cy.properties +18 -0
  121. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_da.properties +18 -0
  122. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_de.properties +18 -0
  123. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_el.properties +18 -0
  124. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en.properties +18 -0
  125. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_GB.properties +18 -0
  126. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_saprigi.properties +16 -0
  127. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es.properties +19 -1
  128. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es_MX.properties +18 -0
  129. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_et.properties +18 -0
  130. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fi.properties +20 -2
  131. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr.properties +20 -2
  132. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr_CA.properties +22 -4
  133. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hi.properties +18 -0
  134. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hr.properties +18 -0
  135. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hu.properties +18 -0
  136. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_id.properties +19 -1
  137. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_it.properties +19 -1
  138. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_iw.properties +18 -0
  139. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ja.properties +18 -0
  140. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_kk.properties +18 -0
  141. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ko.properties +18 -0
  142. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lt.properties +18 -0
  143. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lv.properties +18 -0
  144. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_mk.properties +19 -1
  145. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ms.properties +18 -0
  146. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_nl.properties +19 -1
  147. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_no.properties +19 -1
  148. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pl.properties +18 -0
  149. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt.properties +18 -0
  150. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt_PT.properties +18 -0
  151. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ro.properties +18 -0
  152. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ru.properties +23 -5
  153. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sh.properties +18 -0
  154. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sk.properties +18 -0
  155. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sl.properties +20 -2
  156. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sr.properties +18 -0
  157. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sv.properties +18 -0
  158. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_th.properties +18 -0
  159. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_tr.properties +18 -0
  160. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_uk.properties +22 -4
  161. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_vi.properties +18 -0
  162. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_CN.properties +19 -1
  163. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_TW.properties +18 -0
  164. package/src/sap/suite/ui/generic/template/lib/insights/InsightsFECardProvider.js +7 -1
  165. package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +12 -3
  166. package/src/sap/suite/ui/generic/template/library.js +1 -1
  167. package/src/sap/suite/ui/generic/template/listTemplates/fragments/DetailSmartTable.fragment.xml +11 -2
  168. package/src/sap/suite/ui/generic/template/listTemplates/fragments/MessagesOnRetrieval.fragment.xml +5 -5
  169. package/src/sap/suite/ui/generic/template/listTemplates/fragments/SmartChart.fragment.xml +11 -4
  170. package/src/sap/suite/ui/generic/template/themes/base/AnalyticalListPage.less +135 -98
  171. package/src/sap/suite/ui/generic/template/themes/base/ListReport.less +12 -5
  172. package/src/sap/suite/ui/generic/template/themes/base/ObjectPage.less +254 -223
  173. package/src/sap/suite/ui/generic/template/themes/base/QuickCreate.less +31 -9
  174. package/src/sap/suite/ui/generic/template/themes/base/QuickView.less +42 -21
  175. package/src/sap/suite/ui/generic/template/themes/sap_belize_base/ObjectPage.less +0 -1
  176. package/src/sap/suite/ui/generic/template/themes/sap_bluecrystal_base/ObjectPage.less +0 -1
  177. package/src/sap/suite/ui/generic/template/themes/sap_fiori_3/ObjectPage.less +15 -11
  178. package/src/sap/suite/ui/generic/template/themes/sap_fiori_3_dark/ObjectPage.less +13 -9
  179. package/src/sap/suite/ui/generic/template/themes/sap_fiori_3_hcb/AnalyticalListPage.less +6 -2
  180. package/src/sap/suite/ui/generic/template/themes/sap_fiori_3_hcb/ObjectPage.less +2 -2
  181. package/src/sap/suite/ui/generic/template/themes/sap_fiori_3_hcw/AnalyticalListPage.less +6 -2
  182. package/src/sap/suite/ui/generic/template/themes/sap_fiori_3_hcw/ObjectPage.less +2 -2
  183. package/src/sap/suite/ui/generic/template/themes/sap_hcb/base_ObjectPage.less +0 -1
  184. package/src/sap/suite/ui/generic/template/themes/sap_horizon/AnalyticalListPage.less +7 -2
  185. package/src/sap/suite/ui/generic/template/themes/sap_horizon/ObjectPage.less +11 -11
  186. package/src/sap/suite/ui/generic/template/themes/sap_horizon_dark/AnalyticalListPage.less +7 -2
  187. package/src/sap/suite/ui/generic/template/themes/sap_horizon_dark/ObjectPage.less +10 -10
  188. package/src/sap/suite/ui/generic/template/themes/sap_horizon_hcb/AnalyticalListPage.less +4 -4
  189. package/src/sap/suite/ui/generic/template/themes/sap_horizon_hcb/ObjectPage.less +2 -2
  190. package/src/sap/suite/ui/generic/template/themes/sap_horizon_hcw/AnalyticalListPage.less +4 -4
  191. package/src/sap/suite/ui/generic/template/themes/sap_horizon_hcw/ObjectPage.less +2 -2
@@ -29,6 +29,7 @@ sap.ui.define([
29
29
  "sap/ui/core/Element",
30
30
  "sap/suite/ui/generic/template/genericUtilities/testableHelper",
31
31
  "sap/suite/ui/generic/template/lib/TableNoDataHandler",
32
+ "sap/suite/ui/generic/template/lib/ChartNoDataHandler",
32
33
  "sap/fe/controls/easyFilter/PXFeedback"
33
34
  ], function (
34
35
  Filter,
@@ -61,6 +62,7 @@ sap.ui.define([
61
62
  Element,
62
63
  testableHelper,
63
64
  TableNoDataHandler,
65
+ ChartNoDataHandler,
64
66
  PXFeedback
65
67
  ) {
66
68
  "use strict";
@@ -105,6 +107,13 @@ sap.ui.define([
105
107
  }
106
108
  };
107
109
 
110
+ var oChartNoDataConfig = {
111
+ MULTI_CHART: {
112
+ i18nKey: "NOITEMS_LR_SMARTCHART",
113
+ illustrationType: IllustratedMessageType.NoFilterResults
114
+ }
115
+ };
116
+
108
117
  // -- Begin of methods that are used in onInit only
109
118
  function fnSetIsLeaf() {
110
119
  var oComponent = oController.getOwnerComponent();
@@ -505,14 +514,8 @@ sap.ui.define([
505
514
  oState.oTableNoDataHandler.setNoDataMessage(oSmartTable, sScenario);
506
515
  }
507
516
 
508
- function setNoDataChartTextIfRequired(oSmartChart) {
509
- var sSmartChartId = oSmartChart.getId();
510
- var sNoDataText = oTemplateUtils.oCommonUtils.getContextText("NOITEMS_LR_SMARTCHART", sSmartChartId);
511
- oSmartChart.getChartAsync().then(function (chart) {
512
- chart.setCustomMessages({
513
- NO_DATA: sNoDataText
514
- });
515
- });
517
+ function setNoDataMessageForChart(oSmartChart) {
518
+ oState.oChartNoDataHandler.setNoDataMessage(oSmartChart, "MULTI_CHART");
516
519
  }
517
520
 
518
521
  /**
@@ -713,6 +716,7 @@ sap.ui.define([
713
716
  oState.oMultiEditHandler = new MultiEditHandler(oState, oController, oTemplateUtils);
714
717
  oState.oInsightsHandler = new InsightsHandler(oState, oController, oTemplateUtils);
715
718
  oState.oTableNoDataHandler = new TableNoDataHandler(oController, oTemplateUtils, oTableNoDataConfig);
719
+ oState.oChartNoDataHandler = new ChartNoDataHandler(oController, oTemplateUtils, oChartNoDataConfig);
716
720
 
717
721
  var oTemplatePrivateModel = oTemplateUtils.oComponentUtils.getTemplatePrivateModel();
718
722
 
@@ -940,8 +944,14 @@ sap.ui.define([
940
944
  // However, this connection is not there in the multi view multi table scenario which is the only case in which this snapshot
941
945
  // will be used later.
942
946
  var aFiltersFromRebindEvent = oBindingParams.filters.slice(0);
943
- // To get the missing navigation properties from the user variant (cached from last variant load)
944
- if (oState.aMissingNavFilters && oState.aMissingNavFilters.length) {
947
+ // To get the missing navigation properties from the user variant
948
+ // Register callback for MultiEdit FieldGroup properties
949
+ var oComponent = oController.getOwnerComponent(),
950
+ oTableSettings = oComponent.getTableSettings && oComponent.getTableSettings(),
951
+ sAnnotationPath = oTableSettings && oTableSettings.multiEdit && oTableSettings.multiEdit.annotationPath;
952
+
953
+ var aMissingFilters = oState.aMissingNavFilters || [];
954
+ if (aMissingFilters.length) {
945
955
  // Display message to the user, which filters currently are not visible
946
956
  var sCurrentVariant = oState.oSmartFilterbar.getVariantManagement().getId(),
947
957
  sCurrentVariantId = oState.oSmartFilterbar.getCurrentVariantId(),
@@ -1010,6 +1020,7 @@ sap.ui.define([
1010
1020
  getSearchString: fnGetSearchString,
1011
1021
  addExtensionFilters: oController.templateBaseExtension.addFilters,
1012
1022
  resolveParamaterizedEntitySet: oState.oMultipleViewsHandler.resolveParameterizedEntitySet,
1023
+ multiEditAnnotationPath: sAnnotationPath,
1013
1024
  isFieldControlRequired: false,
1014
1025
  isPopinWithoutHeader: true,
1015
1026
  isDataFieldForActionRequired: true,
@@ -1105,7 +1116,7 @@ sap.ui.define([
1105
1116
 
1106
1117
  onBeforeRebindChart: function (oEvent) {
1107
1118
  var oSmartChart = oEvent.getSource();
1108
- setNoDataChartTextIfRequired(oSmartChart);
1119
+ setNoDataMessageForChart(oSmartChart);
1109
1120
  var oBindingParams = oEvent.getParameters().bindingParams;
1110
1121
  // Build a snapshot of oBindingParams.filters as how they are passed to the onBeforeRebind-Event.
1111
1122
  // This snapshot contains the filters being defined on the chart itself (chart settings).
@@ -22,6 +22,7 @@ sap.ui.define([
22
22
  onBeforeRebindChartExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
23
23
  adaptNavigationParameterExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
24
24
  onListNavigationExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
25
+ onListNavigationExtensionFromContextMenu: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
25
26
  getPredefinedValuesForCreateExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
26
27
  adaptTransientMessageExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
27
28
  onSaveAsTileExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After},
@@ -177,7 +178,6 @@ sap.ui.define([
177
178
  * @param {sap.ui.model.Context} oBindingContext - The context of the corresponding table row
178
179
  * @param {boolean} bReplaceInHistory - This parameter should be considered if the method triggers an internal
179
180
  * navigation. Pass this parameter to <code>oNavigationData.replaceInHistory</code> in this case
180
- *
181
181
  * @returns {boolean} Method should return <code>true</code> if framework navigation should be suppressed
182
182
  * (that means: extension code has taken over navigation)
183
183
  * @protected
@@ -185,7 +185,21 @@ sap.ui.define([
185
185
  onListNavigationExtension: function(oEvent, oBindingContext, bReplaceInHistory) {
186
186
  return false;
187
187
  },
188
-
188
+
189
+ /**
190
+ * This method is called by SAP Fiori elements when a Contextmenu open in a new tab is triggered from a table. Application
191
+ * developers can override this method and perform conditional (internal or external) navigation from different
192
+ * rows of a table. Such custom navigation should be triggered via corresponding methods of
193
+ * {@link sap.suite.ui.generic.template.extensionAPI.NavigationController NavigationController}.
194
+ *
195
+ * @returns {boolean} Method should return <code>true</code> if framework navigation should be suppressed
196
+ * @param {Array<sap.ui.model.Context>} aContext - The context of the corresponding table row
197
+ * @protected
198
+ */
199
+ onListNavigationExtensionFromContextMenu: function(aContext) {
200
+ return false;
201
+ },
202
+
189
203
  /**
190
204
  * This method is called by SAP Fiori elements when the Create with Filters is executed. Application developers
191
205
  * can enable this feature in the LR component by adding createWithFilters in the settings object of the
@@ -63,7 +63,7 @@ OBJECT_NOT_EDITABLE=Impossible de modifier cet objet
63
63
 
64
64
  NODATA_SMARTTABLE_LR=Pour commencer, activez les filtres appropri\u00E9s et cliquez sur "Lancer".
65
65
 
66
- NODATA_SMARTTABLE_LR_ILLUSTRATION_TITLE=Voyons certains r\u00E9sultats.
66
+ NODATA_SMARTTABLE_LR_ILLUSTRATION_TITLE=Voyons les r\u00E9sultats.
67
67
  NODATA_SMARTTABLE_LR_ILLUSTRATION_DESCRIPTION=Commencez par indiquer vos crit\u00E8res de recherche ou de filtre.
68
68
 
69
69
  SEARCH_FILTERS_KEYBOARD_SHORTCUT_DESC=Lancer
@@ -63,7 +63,7 @@ OBJECT_NOT_EDITABLE=Impossible de modifier cet objet.
63
63
 
64
64
  NODATA_SMARTTABLE_LR=Activez les filtres appropri\u00E9s, puis s\u00E9lectionnez Lancer.
65
65
 
66
- NODATA_SMARTTABLE_LR_ILLUSTRATION_TITLE=Voyons certains r\u00E9sultats.
66
+ NODATA_SMARTTABLE_LR_ILLUSTRATION_TITLE=Faisons une recherche.
67
67
  NODATA_SMARTTABLE_LR_ILLUSTRATION_DESCRIPTION=Commencez par indiquer vos crit\u00E8res de recherche ou de filtre.
68
68
 
69
69
  SEARCH_FILTERS_KEYBOARD_SHORTCUT_DESC=Lancer
@@ -61,7 +61,7 @@ MESSAGE_MULTIPLE_VALUES_S_FORM=Non \u00E8 possibile utilizzare i seguenti filtri
61
61
 
62
62
  OBJECT_NOT_EDITABLE=Impossibile modificare questo oggetto.
63
63
 
64
- NODATA_SMARTTABLE_LR=Per iniziare, impostare i filtri e selezionare "Avvio".
64
+ NODATA_SMARTTABLE_LR=Per iniziare, imposta i filtri rilevanti e seleziona "Avvio".
65
65
 
66
66
  NODATA_SMARTTABLE_LR_ILLUSTRATION_TITLE=Vediamo qualche risultato
67
67
  NODATA_SMARTTABLE_LR_ILLUSTRATION_DESCRIPTION=Prima di tutto indicare i criteri di ricerca o di filtro.
@@ -64,7 +64,7 @@ OBJECT_NOT_EDITABLE=Tento objekt nie je mo\u017En\u00E9 upravi\u0165.
64
64
  NODATA_SMARTTABLE_LR=Pre spustenie nastavte relevantn\u00E9 filtre a zvo\u013Ete Spusti\u0165.
65
65
 
66
66
  NODATA_SMARTTABLE_LR_ILLUSTRATION_TITLE=Pozrime si v\u00FDsledky
67
- NODATA_SMARTTABLE_LR_ILLUSTRATION_DESCRIPTION=Za\u010Dnite zadan\u00EDm svojich krit\u00E9ri\u00ED h\u013Eadania.
67
+ NODATA_SMARTTABLE_LR_ILLUSTRATION_DESCRIPTION=Za\u010Dnite zadan\u00EDm krit\u00E9ri\u00ED vyh\u013Ead\u00E1vania alebo filtrovania.
68
68
 
69
69
  SEARCH_FILTERS_KEYBOARD_SHORTCUT_DESC=Spusti\u0165
70
70
 
@@ -64,7 +64,7 @@ OBJECT_NOT_EDITABLE=\u0426\u0435\u0439 \u043E\u0431'\u0454\u043A\u0442 \u043D\u0
64
64
  NODATA_SMARTTABLE_LR=\u0429\u043E\u0431 \u0440\u043E\u0437\u043F\u043E\u0447\u0430\u0442\u0438, \u0432\u0441\u0442\u0430\u043D\u043E\u0432\u0456\u0442\u044C \u0440\u0435\u043B\u0435\u0432\u0430\u043D\u0442.\u0444\u0456\u043B\u044C\u0442\u0440\u0438 \u0439 \u043E\u0431\u0435\u0440\u0456\u0442\u044C"\u041F\u0443\u0441\u043A".
65
65
 
66
66
  NODATA_SMARTTABLE_LR_ILLUSTRATION_TITLE=\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043E\u0442\u0440\u0438\u043C\u0430\u0454\u043C\u043E \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0438
67
- NODATA_SMARTTABLE_LR_ILLUSTRATION_DESCRIPTION=\u041F\u043E\u0447\u043D\u0456\u0442\u044C \u0437 \u043D\u0430\u0434\u0430\u043D\u043D\u044F \u0441\u0432\u043E\u0457\u0445 \u043A\u0440\u0438\u0442\u0435\u0440\u0456\u0457\u0432 \u043F\u043E\u0448\u0443\u043A\u0443 \u0430\u0431\u043E \u0444\u0456\u043B\u044C\u0442\u0440\u0430\u0446\u0456\u0457.
67
+ NODATA_SMARTTABLE_LR_ILLUSTRATION_DESCRIPTION=\u0420\u043E\u0437\u043F\u043E\u0447\u043D\u0456\u0442\u044C \u0437 \u043D\u0430\u0434\u0430\u043D\u043D\u044F \u0441\u0432\u043E\u0457\u0445 \u043A\u0440\u0438\u0442\u0435\u0440\u0456\u0457\u0432 \u043F\u043E\u0448\u0443\u043A\u0443 \u0430\u0431\u043E \u0444\u0456\u043B\u044C\u0442\u0440\u0430\u0446\u0456\u0457.
68
68
 
69
69
  SEARCH_FILTERS_KEYBOARD_SHORTCUT_DESC=\u041F\u0443\u0441\u043A
70
70
 
@@ -8,7 +8,7 @@
8
8
  "i18n": "i18n/i18n.properties",
9
9
  "applicationVersion": {
10
10
  "__comment": "applicationVersion oder componentversion??",
11
- "version": "1.145.1"
11
+ "version": "1.147.0"
12
12
  },
13
13
  "title": "{{TITLE}}",
14
14
  "description": "{{DESCRIPTION}}",
@@ -11,13 +11,13 @@
11
11
  </VBox>
12
12
  </content>
13
13
  <beginButton>
14
- <Button text="{i18n>DELETE}" press="onDelete"
14
+ <Button text="{i18n>DELETE}" press=".onDelete"
15
15
  visible="{= ((${delete>/lockedItemsCount} + ${delete>/undeletableCount}) !== ${delete>/itemsCount}) }"
16
16
  type="Emphasized"/>
17
17
  </beginButton>
18
18
  <endButton>
19
19
  <Button text="{= ((${delete>/lockedItemsCount} + ${delete>/undeletableCount}) !== ${delete>/itemsCount}) ? ${i18n>CANCEL} : ${i18n>CLOSE} }"
20
- press="onCancel"/>
20
+ press=".onCancel"/>
21
21
  </endButton>
22
22
  </Dialog>
23
23
  </core:FragmentDefinition>
@@ -7,9 +7,9 @@
7
7
  AHMultipleViews:'sap/suite/ui/generic/template/js/AnnotationHelperMultipleViews'}">
8
8
 
9
9
  <template:with path="entityType>com.sap.vocabularies.UI.v1.HeaderInfo" var="header">
10
- <smartChart:SmartChart
11
- id="listReport{= ${parameter>/settings/quickVariantSelectionX} ? ${path: 'tabItem>', formatter: 'AH.getSuffixFromIconTabFilterKey'} : ''}"
12
- afterVariantInitialise="._templateEventHandlers.onAfterVariantInitialise"
10
+ <smartChart:SmartChart
11
+ id="listReport{= ${parameter>/settings/quickVariantSelectionX} ? ${path: 'tabItem>', formatter: 'AH.getSuffixFromIconTabFilterKey'} : ''}"
12
+ afterVariantInitialise="._templateEventHandlers.onAfterVariantInitialise"
13
13
  visible="{path: 'tabItem>', formatter: 'AHMultipleViews.getVisibleForTableTabs'}"
14
14
  smartFilterId=""
15
15
  persistencyKey="listReportChart{= ${parameter>/settings/quickVariantSelectionX} ? ${path: 'tabItem>', formatter: 'AH.getSuffixFromIconTabFilterKey'} : ''}"
@@ -24,7 +24,6 @@
24
24
  showDrillBreadcrumbs="true"
25
25
  showDetailsButton="true"
26
26
  showDrillButtons="false"
27
- noData="{i18n>SMARTCHART_INITIAL_NODATA}"
28
27
  headerLevel="H3"
29
28
  entitySet="{entitySet>name}"
30
29
  initialized="._templateEventHandlers.onChartInitialized"
@@ -45,6 +44,14 @@
45
44
  <smartChart:semanticObjectController>
46
45
  <smartlink:SemanticObjectController beforePopoverOpens="._templateEventHandlers.onBeforeSemanticObjectLinkPopoverOpens"/>
47
46
  </smartChart:semanticObjectController>
47
+ <!-- No data Illustration message -->
48
+ <smartChart:noDataIllustratedMessage>
49
+ <IllustratedMessage
50
+ illustrationType="sapIllus-BeforeSearch"
51
+ title="{i18n>SMARTCHART_INITIAL_NODATA_ILLUSTRATION_TITLE}"
52
+ description="{i18n>SMARTCHART_INITIAL_NODATA_ILLUSTRATION_DESCRIPTION}"
53
+ />
54
+ </smartChart:noDataIllustratedMessage>
48
55
  <!-- Custom tool bar -->
49
56
  <smartChart:toolbar>
50
57
  <core:Fragment fragmentName="sap.suite.ui.generic.template.ListReport.view.fragments.SmartChartToolbar" type="XML"/>
@@ -1767,6 +1767,17 @@ sap.ui.define([
1767
1767
  oSmartTable.setNoData(vNoDataMessage);
1768
1768
  }
1769
1769
 
1770
+ function fnSetInitialNoDataMessageForChart (oSmartChart) {
1771
+ var sSmartChartId = oSmartChart.getId();
1772
+ var vNoDataMessage = new IllustratedMessage({
1773
+ illustrationType: IllustratedMessageType.NoEntries,
1774
+ illustrationSize: fnFindIllustratedMessageSize(oSmartChart),
1775
+ title: oTemplateUtils.oCommonUtils.getContextText("NOITEMS_SMARTCHART_ILLUSTRATION_TITLE", sSmartChartId),
1776
+ description: oTemplateUtils.oCommonUtils.getContextText("NOITEMS_SMARTCHART_ILLUSTRATION_DESCRIPTION", sSmartChartId)
1777
+ });
1778
+ oSmartChart.setNoDataIllustratedMessage(vNoDataMessage);
1779
+ }
1780
+
1770
1781
  /**
1771
1782
  * Finds the illustrated message size.
1772
1783
  *
@@ -2253,6 +2264,7 @@ sap.ui.define([
2253
2264
  testableHelper.testable(function () {
2254
2265
  return oTemplateUtils.initialStateAppliedPromise;
2255
2266
  }, "getStateAppliedPromise");
2267
+ testableHelper.testable(fnSmartSummaryStartupAction, "fnSmartSummaryStartupAction");
2256
2268
  /* eslint-enable */
2257
2269
 
2258
2270
  function fnInitializeSubSections() {
@@ -2313,6 +2325,43 @@ sap.ui.define([
2313
2325
  oContextMenuHandler.onContextMenu(oEvent, sSmartControlId);
2314
2326
  }
2315
2327
 
2328
+ function fnSmartSummaryStartupAction(oAppComponent) {
2329
+ var oComponentData = oAppComponent.getComponentData(),
2330
+ oStartupParameters = oComponentData && oComponentData.startupParameters || undefined;
2331
+ if (!oStartupParameters
2332
+ || !oStartupParameters.preferredAction
2333
+ || !oStartupParameters.preferredAction.length
2334
+ || !oStartupParameters.preferredAction[0].startsWith("summary")) {
2335
+ return;
2336
+ }
2337
+
2338
+ // check if we are on the correct OP by checking the level provided in the startup parameters
2339
+ var aParameterParts = oStartupParameters.preferredAction[0].split("-"),
2340
+ iParameterLevel = aParameterParts.length === 1 ? 1 : parseInt(aParameterParts[1], 10),
2341
+ iViewLevel = oTemplateUtils.oComponentUtils.getViewLevel();
2342
+ if (isNaN(iParameterLevel) || iParameterLevel !== iViewLevel) {
2343
+ return;
2344
+ }
2345
+
2346
+ // Check if summary action shall be executed now (it might have already been executed by a higher level OP)
2347
+ if (oState.preferredActionStatus === "performed") {
2348
+ return;
2349
+ }
2350
+ oState.preferredActionStatus = "performed"; // to prevent other OPs on higher levels to execute the summary again
2351
+
2352
+ // Check if SmartSummarize capability is available
2353
+ var oTemplPrivGlobal = oAppComponent.getModel("_templPrivGlobal");
2354
+ if (!oTemplPrivGlobal.getProperty("/generic/fioriAI/isSummarizationEnabled")) {
2355
+ return;
2356
+ }
2357
+
2358
+ // Find "Summarize" button
2359
+ var oButton = oController.byId("summarize");
2360
+ if (oButton) {
2361
+ oButton.firePress();
2362
+ }
2363
+ }
2364
+
2316
2365
  // Generation of Event Handlers
2317
2366
  var oControllerImplementation = {
2318
2367
  onInit: function () {
@@ -2461,7 +2510,7 @@ sap.ui.define([
2461
2510
  var oStreamDataSelf = oTemplateUtils.oCommonUtils.getStreamData(null, oEvent.context);
2462
2511
  oTemplateUtils.oCommonUtils.setStreamData(oStreamDataSelf);
2463
2512
  oTemplateUtils.oComponentUtils.hidePlaceholder();
2464
-
2513
+ fnSmartSummaryStartupAction(oAppComponent);
2465
2514
  });
2466
2515
  var oMenuButton = oController.byId(StableIdHelper.getStableId({
2467
2516
  type: "ObjectPageAction",
@@ -2472,6 +2521,7 @@ sap.ui.define([
2472
2521
  onShareObjectPageActionButtonPressImpl(oMenuButton);
2473
2522
  });
2474
2523
  }
2524
+
2475
2525
  },
2476
2526
  handlers: {
2477
2527
  onAfterVariantInitialise: function(oEvent) {
@@ -2706,6 +2756,7 @@ sap.ui.define([
2706
2756
  var oSmartChart = oEvent.getSource();
2707
2757
  oTemplateUtils.oInfoObjectHandler.setInformationWithControl(oSmartChart);
2708
2758
  oState.oSectionTitleHandler.setAsTitleOwner(oSmartChart, true);
2759
+ fnSetInitialNoDataMessageForChart(oSmartChart);
2709
2760
  oSmartChart.getChartAsync().then(function (oChart) {
2710
2761
  // workaround for Safari browsers as described via Webkit Bug #198375
2711
2762
  if (Device.browser.safari) {
@@ -30,7 +30,8 @@ sap.ui.define([
30
30
  beforeSmartLinkPopoverOpensExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After },
31
31
  onBeforeExportTableExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After },
32
32
  focusOnEditExtension: { "public": true, "final": false, overrideExecution: OverrideExecution.After },
33
- modifyRelatedAppsSettings: { "public": true, "final": false, overrideExecution: OverrideExecution.After }
33
+ modifyRelatedAppsSettings: { "public": true, "final": false, overrideExecution: OverrideExecution.After },
34
+ onListNavigationExtensionFromContextMenu: { "public": true, "final": false, overrideExecution: OverrideExecution.After }
34
35
  }
35
36
  },
36
37
 
@@ -82,13 +83,26 @@ sap.ui.define([
82
83
  * @param {sap.ui.model.Context} oBindingContext - The context of the corresponding table row
83
84
  * @param {boolean} bReplaceInHistory - This parameter should be considered if the method triggers an internal
84
85
  * navigation. Pass this parameter to <code>oNavigationData.replaceInHistory</code> in this case
85
- *
86
86
  * @returns {boolean} Method should return <code>true</code> if framework navigation should be suppressed
87
87
  * (that means: extension code has taken over navigation)
88
88
  * @protected
89
89
  */
90
90
  onListNavigationExtension: function (oEvent, oBindingContext, bReplaceInHistory) { },
91
91
 
92
+ /**
93
+ * This method is called by SAP Fiori elements when a Contextmenu open in a new tab is triggered from a table. Application
94
+ * developers can override this method and perform conditional (internal or external) navigation from different
95
+ * rows of a table. Such custom navigation should be triggered via corresponding methods of
96
+ * {@link sap.suite.ui.generic.template.extensionAPI.NavigationController NavigationController}.
97
+ *
98
+ * @returns {boolean} Method should return <code>true</code> if framework navigation should be suppressed
99
+ * @param {Array<sap.ui.model.Context>} aContext - The context of the corresponding table row
100
+ * @protected
101
+ */
102
+ onListNavigationExtensionFromContextMenu: function(aContext) {
103
+ return false;
104
+ },
105
+
92
106
  /**
93
107
  * This method will be called by SAP Fiori elements before persisting the AppState. Application developers can
94
108
  * override this method for persisting the state of custom controls. State of the custom controls
@@ -19,7 +19,7 @@ SAVE=Sa\u010Duvaj
19
19
 
20
20
  SAVE_AND_EDIT=Sa\u010Duvaj i uredi
21
21
 
22
- SAVE_AND_NEXT=Sa\u010Duvaj i sljede\u0107e
22
+ SAVE_AND_NEXT=Sa\u010Duvaj i idi na sljede\u0107e
23
23
 
24
24
  VALIDATE_DRAFT=Validiraj
25
25
 
@@ -19,7 +19,7 @@ SAVE=\u0417\u0430\u0447\u0443\u0432\u0430\u0458
19
19
 
20
20
  SAVE_AND_EDIT=\u0417\u0430\u0447\u0443\u0432\u0430\u0458 \u0438 \u0443\u0440\u0435\u0434\u0438
21
21
 
22
- SAVE_AND_NEXT=\u0417\u0430\u0447\u0443\u0432\u0430\u0458 \u0438 \u0441\u043B\u0435\u0434\u043D\u043E
22
+ SAVE_AND_NEXT=\u0417\u0430\u0447\u0443\u0432\u0430\u0458 \u0438 \u043E\u0434\u0438 \u0441\u043B\u0435\u0434\u043D\u043E
23
23
 
24
24
  VALIDATE_DRAFT=\u041F\u043E\u0442\u0432\u0440\u0434\u0438
25
25
 
@@ -15,7 +15,7 @@ SAVED_VERSION=Vers\u00E3o gravada
15
15
 
16
16
  DRAFT_VERSION=Esbo\u00E7o
17
17
 
18
- SAVE=Gravar
18
+ SAVE=Salvar
19
19
 
20
20
  SAVE_AND_EDIT=Salvar e editar
21
21
 
@@ -19,7 +19,7 @@ SAVE=Sa\u010Duvaj
19
19
 
20
20
  SAVE_AND_EDIT=Sa\u010Duvaj i uredi
21
21
 
22
- SAVE_AND_NEXT=Sa\u010Duvaj i slede\u0107e
22
+ SAVE_AND_NEXT=Sa\u010Duvaj i idi na slede\u0107e
23
23
 
24
24
  VALIDATE_DRAFT=Validiraj
25
25
 
@@ -5,7 +5,7 @@ DESCRIPTION=Stran objekta
5
5
 
6
6
  EDIT=Obdelava
7
7
 
8
- CREATE_OBJECT=Ustvari
8
+ CREATE_OBJECT=Kreiraj
9
9
 
10
10
  DISPLAY_ACTIVE_VERSION=Prikaz shranjene verzije
11
11
 
@@ -23,7 +23,7 @@ SAVE_AND_NEXT=Shrani in naprej
23
23
 
24
24
  VALIDATE_DRAFT=Validacija
25
25
 
26
- CREATE=Ustvari
26
+ CREATE=Kreiraj
27
27
 
28
28
  CLOSE=Zapiranje
29
29
 
@@ -33,7 +33,7 @@ ADD=Dodajanje
33
33
 
34
34
  SEG_BUTTON_TEXT={0} ({1})
35
35
 
36
- CREATE_DRAFT_MESSAGE_TEXT=Ustvarite objekt.
36
+ CREATE_DRAFT_MESSAGE_TEXT=Kreirajte objekt.
37
37
 
38
38
  SAVE_DRAFT_MESSAGE_TEXT=Uporabite spremembe za shranjeno verzijo.
39
39
 
@@ -19,7 +19,7 @@ SAVE=\u0421\u0430\u0447\u0443\u0432\u0430\u0458
19
19
 
20
20
  SAVE_AND_EDIT=\u0421\u0430\u0447\u0443\u0432\u0430\u0458 \u0438 \u0443\u0440\u0435\u0434\u0438
21
21
 
22
- SAVE_AND_NEXT=\u0421\u0430\u0447\u0443\u0432\u0430\u0458 \u0438 \u0441\u043B\u0435\u0434\u0435\u045B\u0435
22
+ SAVE_AND_NEXT=\u0421\u0430\u0447\u0443\u0432\u0430\u0458 \u0438 \u0438\u0434\u0438 \u043D\u0430 \u0441\u043B\u0435\u0434\u0435\u045B\u0435
23
23
 
24
24
  VALIDATE_DRAFT=\u0412\u0430\u043B\u0438\u0434\u0438\u0440\u0430\u0458
25
25
 
@@ -6,7 +6,7 @@
6
6
  "type": "component",
7
7
  "i18n": "i18n/i18n.properties",
8
8
  "applicationVersion": {
9
- "version": "1.145.1"
9
+ "version": "1.147.0"
10
10
  },
11
11
  "title": "{{TITLE}}",
12
12
  "description": "{{DESCRIPTION}}",
@@ -36,8 +36,8 @@
36
36
  </List>
37
37
  </content>
38
38
  <buttons>
39
- <Button text="{i18n>OK}" type="Emphasized" press="onDraftPopupOk" />
40
- <Button text="{i18n>CANCEL}" press="onDraftPopupCancel" />
39
+ <Button text="{i18n>OK}" type="Emphasized" press=".onDraftPopupOk" />
40
+ <Button text="{i18n>CANCEL}" press=".onDraftPopupCancel" />
41
41
  </buttons>
42
42
  </Dialog>
43
43
  </core:FragmentDefinition>
@@ -1,11 +1,11 @@
1
1
  <core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core">
2
- <Dialog id="draftResumeDialog" title="{i18n>WARNING}" state="Warning" type="Message" afterClose="onResumeDialogClosed">
2
+ <Dialog id="draftResumeDialog" title="{i18n>WARNING}" state="Warning" type="Message" afterClose=".onResumeDialogClosed">
3
3
  <content>
4
4
  <Text id="draftResumeText" text="{Dialog>/draftResumeText}" />
5
5
  </content>
6
6
  <buttons>
7
- <Button id="draftResumeResumeButton" text="{i18n>RESUME}" press="onDraftResume" type="Emphasized"/>
8
- <Button id="draftResumeDiscardButton" text="{i18n>DISCARD}" press="onDraftDiscard" />
7
+ <Button id="draftResumeResumeButton" text="{i18n>RESUME}" press=".onDraftResume" type="Emphasized"/>
8
+ <Button id="draftResumeDiscardButton" text="{i18n>DISCARD}" press=".onDraftDiscard" />
9
9
  </buttons>
10
10
  </Dialog>
11
11
  </core:FragmentDefinition>
@@ -1,7 +1,7 @@
1
1
  <core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core">
2
2
  <ActionSheet id="realtedAppsSheet" buttons="{buttons>/buttons}" showCancelButton="true" class="sapSmartTemplatesObjectPageRelatedAppsPopover sapSmartTemplatesObjectPageActionSheetButton">
3
3
  <buttons>
4
- <Button id="relatedAppsButton" enabled="{buttons>enabled}" text="{buttons>text}" press="buttonPressed" class="sapMFlexBox" width="100%" />
4
+ <Button id="relatedAppsButton" enabled="{buttons>enabled}" text="{buttons>text}" press=".buttonPressed" class="sapMFlexBox" width="100%" />
5
5
  </buttons>
6
6
  </ActionSheet>
7
7
  </core:FragmentDefinition>
@@ -30,7 +30,6 @@
30
30
  visible="{path: 'facet>', formatter: 'AH.getBindingForHiddenPath'}"
31
31
  headerLevel="H5"
32
32
  headerStyle="H5"
33
- noData="{i18n>NOITEMS_SMARTCHART}"
34
33
  entitySet="{entitySet>name}">
35
34
  <smartChart:layoutData>
36
35
  <layout:GridData id="{path: 'facet>', formatter: 'AH.getStableIdPartFromFacet'}::Chart::GridData" span="XL12 L12 M12 S12" />
@@ -6,7 +6,7 @@
6
6
  class="sapUiNoContentPadding">
7
7
  <SelectList
8
8
  selectedKey="{= ${HasDraftEntity} ? 'SwitchToActive' : 'SwitchToDraft'}"
9
- itemPress="onEditAndActiveToggle($event, ${HasDraftEntity})">
9
+ itemPress=".onEditAndActiveToggle($event, ${HasDraftEntity})">
10
10
  <core:Item text="{i18n>SAVED_VERSION}" key="SwitchToActive"/>
11
11
  <core:Item text="{i18n>DRAFT_VERSION}" key="SwitchToDraft"/>
12
12
  </SelectList>
@@ -9,12 +9,12 @@
9
9
  <beginButton>
10
10
  <Button text="{i18n>DELETE}"
11
11
  visible="{= ${delete>/tableMode} !== 'Delete' || ${delete>/undeletableCount} === 0 }"
12
- press="onDelete"
12
+ press=".onDelete"
13
13
  type="Emphasized"/>
14
14
  </beginButton>
15
15
  <endButton>
16
16
  <Button text="{= (${delete>/tableMode} !== 'Delete' || ${delete>/undeletableCount} === 0) ? ${i18n>CANCEL} : ${i18n>CLOSE} }"
17
- press="onCancel"/>
17
+ press=".onCancel"/>
18
18
  </endButton>
19
19
  </Dialog>
20
20
  </core:FragmentDefinition>
@@ -4,8 +4,8 @@
4
4
  <Text id="unsavedChangesQuestionText" text="{Dialog>/unsavedChangesQuestion}" />
5
5
  </content>
6
6
  <buttons>
7
- <Button id="unsavedChangesEditButton" text="{i18n>EDIT}" press="onEdit" type="Emphasized"/>
8
- <Button id="unsavedChangesCancelButton" text="{i18n>CANCEL}" press="onCancel" />
7
+ <Button id="unsavedChangesEditButton" text="{i18n>EDIT}" press=".onEdit" type="Emphasized"/>
8
+ <Button id="unsavedChangesCancelButton" text="{i18n>CANCEL}" press=".onCancel" />
9
9
  </buttons>
10
10
  </Dialog>
11
11
  </core:FragmentDefinition>
@@ -6,7 +6,7 @@
6
6
  "type": "component",
7
7
  "i18n": "i18n/i18n.properties",
8
8
  "applicationVersion": {
9
- "version": "1.145.1"
9
+ "version": "1.147.0"
10
10
  },
11
11
  "title": "{{TITLE}}",
12
12
  "description": "{{DESCRIPTION}}",
@@ -65,7 +65,7 @@
65
65
  contextEditable="true"
66
66
  change=".onChange"
67
67
  value="{path: 'dataField>Value', formatter: 'AHModel.format'}"
68
- innerControlsCreated="onSmartFieldsCreated"
68
+ innerControlsCreated=".onSmartFieldsCreated"
69
69
  width="100%"/>
70
70
  </smartForm:GroupElement>
71
71
  </smartForm:Group>
@@ -78,15 +78,15 @@
78
78
  <template:with path="facet>Target" helper="AHModel.resolvePath" var="target">
79
79
  <HBox visible="{quickCreate>/draftExists}" width="100%" alignItems="Center" justifyContent="Center" class="sapUiSmallMarginEnd sapQuickCreateLineItemTable">
80
80
  <Table
81
- updateStarted="onTableUpdateStarted"
82
- updateFinished="onTableUpdateFinished"
81
+ updateStarted=".onTableUpdateStarted"
82
+ updateFinished=".onTableUpdateFinished"
83
83
  backgroundDesign="Translucent"
84
84
  items="{parts:[{path:'entitySet>entityType'}, {path: 'parameter>/isDraftEnabled'}], formatter: 'AHQuickTemplates.formatBindingPathForLineItems'}">
85
85
  <headerToolbar>
86
86
  <Toolbar>
87
87
  <Title text="{path: 'facet>Label', formatter: 'AH.formatWithExpandSimple'}" level="h6"/>
88
88
  <ToolbarSpacer/>
89
- <Button icon="sap-icon://add" press="onAddLineItemPress" visible="{ui>/enabled}"/>
89
+ <Button icon="sap-icon://add" press=".onAddLineItemPress" visible="{ui>/enabled}"/>
90
90
  </Toolbar>
91
91
  </headerToolbar>
92
92
  <columns>
@@ -112,9 +112,9 @@
112
112
  contextEditable="true"
113
113
  value="{path: 'columnItemFieldValue>Value', formatter: 'AHModel.format'}"
114
114
  change=".onChange"
115
- innerControlsCreated="onSmartFieldsCreated"/>
115
+ innerControlsCreated=".onSmartFieldsCreated"/>
116
116
  </template:repeat>
117
- <c:Icon visible="{ui>/enabled}" src="sap-icon://delete" class="hoverIcon" press="onRemoveLineItemPress" tooltip="{i18n>QuickCreate_DeleteLineItem}"/>
117
+ <c:Icon visible="{ui>/enabled}" src="sap-icon://delete" class="hoverIcon" press=".onRemoveLineItemPress" tooltip="{i18n>QuickCreate_DeleteLineItem}"/>
118
118
  </cells>
119
119
  </ColumnListItem>
120
120
  </items>
@@ -129,7 +129,7 @@
129
129
  </content>
130
130
  </Panel>
131
131
  <HBox visible="{quickCreate>/draftExists}" width="100%" alignItems="Center" justifyContent="Center" class="sapQuickActionCreateButtonContainer">
132
- <Button enabled="{ui>/createenabled}" type="Emphasized" text="{i18n>QuickCreate_CreateButtonText}" press="onCreatePress" visible="{ui>/enabled}"/>
132
+ <Button enabled="{ui>/createenabled}" type="Emphasized" text="{i18n>QuickCreate_CreateButtonText}" press=".onCreatePress" visible="{ui>/enabled}"/>
133
133
  </HBox>
134
134
 
135
135
  </mvc:View>
@@ -6,7 +6,7 @@
6
6
  "type": "component",
7
7
  "i18n": "i18n/i18n.properties",
8
8
  "applicationVersion": {
9
- "version": "1.145.1"
9
+ "version": "1.147.0"
10
10
  },
11
11
  "title": "{{TITLE}}",
12
12
  "description": "{{DESCRIPTION}}",