@sapui5/sap.suite.ui.generic.template 1.122.2 → 1.123.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 (147) 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 +19 -24
  4. package/src/sap/suite/ui/generic/template/AnalyticalListPage/manifest.json +1 -1
  5. package/src/sap/suite/ui/generic/template/Canvas/manifest.json +1 -1
  6. package/src/sap/suite/ui/generic/template/ListReport/controller/ControllerImplementation.js +22 -21
  7. package/src/sap/suite/ui/generic/template/ListReport/controller/MultipleViewsHandler.js +8 -3
  8. package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
  9. package/src/sap/suite/ui/generic/template/ListReport/view/fragments/MultiEditDialog.fragment.xml +12 -1
  10. package/src/sap/suite/ui/generic/template/ObjectPage/controller/ControllerImplementation.js +25 -151
  11. package/src/sap/suite/ui/generic/template/ObjectPage/controller/PasteHandler.js +357 -0
  12. package/src/sap/suite/ui/generic/template/ObjectPage/controller/SectionTitleHandler.js +8 -8
  13. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n.properties +12 -0
  14. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ar.properties +8 -0
  15. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_bg.properties +8 -0
  16. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ca.properties +8 -0
  17. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cnr.properties +8 -0
  18. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cs.properties +8 -0
  19. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cy.properties +8 -0
  20. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_da.properties +8 -0
  21. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_de.properties +8 -0
  22. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_el.properties +8 -0
  23. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en.properties +8 -0
  24. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_GB.properties +8 -0
  25. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_US_saprigi.properties +8 -0
  26. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_es.properties +8 -0
  27. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_es_MX.properties +8 -0
  28. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_et.properties +8 -0
  29. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fi.properties +8 -0
  30. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fr.properties +8 -0
  31. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fr_CA.properties +17 -9
  32. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hi.properties +8 -0
  33. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hr.properties +8 -0
  34. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hu.properties +8 -0
  35. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_id.properties +8 -0
  36. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_it.properties +8 -0
  37. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_iw.properties +8 -0
  38. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ja.properties +8 -0
  39. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_kk.properties +8 -0
  40. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ko.properties +8 -0
  41. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_lt.properties +8 -0
  42. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_lv.properties +8 -0
  43. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_mk.properties +8 -0
  44. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ms.properties +8 -0
  45. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_nl.properties +8 -0
  46. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_no.properties +8 -0
  47. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pl.properties +8 -0
  48. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pt.properties +8 -0
  49. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pt_PT.properties +8 -0
  50. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ro.properties +8 -0
  51. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ru.properties +8 -0
  52. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sh.properties +8 -0
  53. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sk.properties +8 -0
  54. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sl.properties +8 -0
  55. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sr.properties +8 -0
  56. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sv.properties +8 -0
  57. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_th.properties +8 -0
  58. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_tr.properties +8 -0
  59. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_uk.properties +8 -0
  60. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_vi.properties +8 -0
  61. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_zh_CN.properties +8 -0
  62. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_zh_TW.properties +8 -0
  63. package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +1 -1
  64. package/src/sap/suite/ui/generic/template/ObjectPage/templateSpecificPreparationHelper.js +1 -5
  65. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/Actions.fragment.xml +12 -0
  66. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/ExtensionFacetLayout.fragment.xml +2 -1
  67. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartTable.fragment.xml +2 -0
  68. package/src/sap/suite/ui/generic/template/QuickCreate/manifest.json +1 -1
  69. package/src/sap/suite/ui/generic/template/QuickCreate/view/QuickCreate.controller.js +2 -7
  70. package/src/sap/suite/ui/generic/template/QuickView/manifest.json +1 -1
  71. package/src/sap/suite/ui/generic/template/designtime/ObjectPage.designtime.js +3 -0
  72. package/src/sap/suite/ui/generic/template/fragments/CreateWithDialog.fragment.xml +12 -1
  73. package/src/sap/suite/ui/generic/template/fragments/SmartControlContextMenu.fragment.xml +7 -1
  74. package/src/sap/suite/ui/generic/template/fragments/SmartTableResponsiveTableCommons.fragment.xml +0 -2
  75. package/src/sap/suite/ui/generic/template/fragments/SmartTableUiTableCommons.fragment.xml +3 -3
  76. package/src/sap/suite/ui/generic/template/genericUtilities/filterHelper.js +47 -28
  77. package/src/sap/suite/ui/generic/template/genericUtilities/metadataAnalyser.js +20 -0
  78. package/src/sap/suite/ui/generic/template/js/AnnotationHelper.js +32 -25
  79. package/src/sap/suite/ui/generic/template/lib/AdaptiveCardHelper.js +27 -13
  80. package/src/sap/suite/ui/generic/template/lib/AppComponent.js +21 -5
  81. package/src/sap/suite/ui/generic/template/lib/Application.js +4 -1
  82. package/src/sap/suite/ui/generic/template/lib/CommonUtils.js +5 -5
  83. package/src/sap/suite/ui/generic/template/lib/ComponentUtils.js +0 -1
  84. package/src/sap/suite/ui/generic/template/lib/ContextMenuHandler.js +257 -60
  85. package/src/sap/suite/ui/generic/template/lib/MessageUtils.js +28 -0
  86. package/src/sap/suite/ui/generic/template/lib/PageLeaveHandler.js +0 -1
  87. package/src/sap/suite/ui/generic/template/lib/ShareUtils.js +197 -67
  88. package/src/sap/suite/ui/generic/template/lib/StableIdDefinition.js +3 -0
  89. package/src/sap/suite/ui/generic/template/lib/i18n/i18n.properties +5 -5
  90. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ar.properties +3 -3
  91. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_bg.properties +3 -3
  92. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ca.properties +3 -3
  93. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cnr.properties +3 -3
  94. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cs.properties +3 -3
  95. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cy.properties +3 -3
  96. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_da.properties +3 -3
  97. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_de.properties +3 -3
  98. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_el.properties +3 -3
  99. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en.properties +3 -3
  100. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_GB.properties +3 -3
  101. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_saprigi.properties +3 -3
  102. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es.properties +3 -3
  103. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es_MX.properties +3 -3
  104. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_et.properties +3 -3
  105. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fi.properties +3 -3
  106. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr.properties +3 -3
  107. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr_CA.properties +14 -14
  108. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hi.properties +3 -3
  109. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hr.properties +3 -3
  110. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hu.properties +3 -3
  111. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_id.properties +3 -3
  112. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_it.properties +3 -3
  113. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_iw.properties +3 -3
  114. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ja.properties +3 -3
  115. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_kk.properties +3 -3
  116. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ko.properties +3 -3
  117. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lt.properties +3 -3
  118. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lv.properties +3 -3
  119. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_mk.properties +3 -3
  120. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ms.properties +3 -3
  121. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_nl.properties +3 -3
  122. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_no.properties +3 -3
  123. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pl.properties +3 -3
  124. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt.properties +3 -3
  125. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt_PT.properties +3 -3
  126. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ro.properties +3 -3
  127. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ru.properties +3 -3
  128. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sh.properties +3 -3
  129. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sk.properties +3 -3
  130. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sl.properties +3 -3
  131. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sr.properties +3 -3
  132. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sv.properties +3 -3
  133. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_th.properties +3 -3
  134. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_tr.properties +3 -3
  135. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_uk.properties +3 -3
  136. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_vi.properties +3 -3
  137. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_CN.properties +3 -3
  138. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_TW.properties +3 -3
  139. package/src/sap/suite/ui/generic/template/lib/insights/InsightsFECardProvider.js +10 -3
  140. package/src/sap/suite/ui/generic/template/lib/insights/InsightsHandler.js +2 -1
  141. package/src/sap/suite/ui/generic/template/lib/multipleViews/MultipleTablesModeHelper.js +4 -3
  142. package/src/sap/suite/ui/generic/template/lib/multipleViews/MultipleViewsHandler.js +6 -14
  143. package/src/sap/suite/ui/generic/template/lib/multipleViews/SingleTableModeHelper.js +13 -5
  144. package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +1 -1
  145. package/src/sap/suite/ui/generic/template/lib/presentationControl/SmartTableHandler.js +46 -2
  146. package/src/sap/suite/ui/generic/template/library.js +1 -1
  147. package/src/sap/suite/ui/generic/template/listTemplates/controller/MultipleViewsHandler.js +8 -3
@@ -67,9 +67,7 @@ COPY=Kopiera
67
67
 
68
68
  ST_SEND_CARD_TO_CHAT=Skicka
69
69
 
70
- ST_OPEN_NEW_TAB=\u00D6ppna i nytt registerblad
71
-
72
- ST_OPEN_NEW_WINDOW=\u00D6ppna i ett nytt f\u00F6nster
70
+ ST_OPEN_NEW_TAB_OR_WINDOW=\u00D6ppna i ny flik eller nytt f\u00F6nster
73
71
 
74
72
  ST_MESSAGES_DIALOG_TITLE_WARNING=Varning
75
73
 
@@ -153,6 +151,8 @@ ST_GENERIC_ERROR_SYSTEM_UNAVAILABLE_FOR_ACTION=Aktivitet kan inte utf\u00F6ras.
153
151
 
154
152
  ST_GENERIC_ERROR_NOT_AUTORIZED_CREATE=Beh\u00F6righet saknas f\u00F6r uppl\u00E4ggning.
155
153
 
154
+ T_TABLE_NAVIGATION_TOO_MANY_ITEMS_SELECTED=Du kan endast \u00F6ppna upp till {0} positioner \u00E5t g\u00E5ngen.
155
+
156
156
  ST_GENERIC_ERROR_NOT_AUTORIZED_ACTION=Beh\u00F6righet saknas f\u00F6r denna aktivitet.
157
157
 
158
158
  ST_GENERIC_ERROR_NOT_AUTORIZED_DELETE=Beh\u00F6righet saknas f\u00F6r radering.
@@ -67,9 +67,7 @@ COPY=\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01
67
67
 
68
68
  ST_SEND_CARD_TO_CHAT=\u0E2A\u0E48\u0E07
69
69
 
70
- ST_OPEN_NEW_TAB=\u0E40\u0E1B\u0E34\u0E14\u0E43\u0E19\u0E41\u0E17\u0E47\u0E1A\u0E43\u0E2B\u0E21\u0E48
71
-
72
- ST_OPEN_NEW_WINDOW=\u0E40\u0E1B\u0E34\u0E14\u0E43\u0E19\u0E2B\u0E19\u0E49\u0E32\u0E15\u0E48\u0E32\u0E07\u0E43\u0E2B\u0E21\u0E48
70
+ ST_OPEN_NEW_TAB_OR_WINDOW=\u0E40\u0E1B\u0E34\u0E14\u0E43\u0E19\u0E41\u0E17\u0E47\u0E1A\u0E2B\u0E23\u0E37\u0E2D\u0E2B\u0E19\u0E49\u0E32\u0E15\u0E48\u0E32\u0E07\u0E43\u0E2B\u0E21\u0E48
73
71
 
74
72
  ST_MESSAGES_DIALOG_TITLE_WARNING=\u0E04\u0E33\u0E40\u0E15\u0E37\u0E2D\u0E19
75
73
 
@@ -153,6 +151,8 @@ ST_GENERIC_ERROR_SYSTEM_UNAVAILABLE_FOR_ACTION=\u0E44\u0E21\u0E48\u0E2A\u0E32\u0
153
151
 
154
152
  ST_GENERIC_ERROR_NOT_AUTORIZED_CREATE=\u0E04\u0E38\u0E13\u0E44\u0E21\u0E48\u0E21\u0E35\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E43\u0E19\u0E01\u0E32\u0E23\u0E2A\u0E23\u0E49\u0E32\u0E07
155
153
 
154
+ T_TABLE_NAVIGATION_TOO_MANY_ITEMS_SELECTED=\u0E04\u0E38\u0E13\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E40\u0E1B\u0E34\u0E14\u0E44\u0E14\u0E49\u0E2A\u0E39\u0E07\u0E2A\u0E38\u0E14 {0} \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E1E\u0E23\u0E49\u0E2D\u0E21\u0E01\u0E31\u0E19
155
+
156
156
  ST_GENERIC_ERROR_NOT_AUTORIZED_ACTION=\u0E04\u0E38\u0E13\u0E44\u0E21\u0E48\u0E21\u0E35\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E19\u0E35\u0E49
157
157
 
158
158
  ST_GENERIC_ERROR_NOT_AUTORIZED_DELETE=\u0E04\u0E38\u0E13\u0E44\u0E21\u0E48\u0E21\u0E35\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E43\u0E19\u0E01\u0E32\u0E23\u0E25\u0E1A
@@ -67,9 +67,7 @@ COPY=Kopyala
67
67
 
68
68
  ST_SEND_CARD_TO_CHAT=G\u00F6nder
69
69
 
70
- ST_OPEN_NEW_TAB=Yeni sekmede a\u00E7
71
-
72
- ST_OPEN_NEW_WINDOW=Yeni pencerede a\u00E7
70
+ ST_OPEN_NEW_TAB_OR_WINDOW=Yeni bir sekmede veya pencerede a\u00E7\u0131l\u0131r
73
71
 
74
72
  ST_MESSAGES_DIALOG_TITLE_WARNING=Uyar\u0131
75
73
 
@@ -153,6 +151,8 @@ ST_GENERIC_ERROR_SYSTEM_UNAVAILABLE_FOR_ACTION=\u0130\u015Flem y\u00FCr\u00FCt\u
153
151
 
154
152
  ST_GENERIC_ERROR_NOT_AUTORIZED_CREATE=Yaratmak i\u00E7in yetkiniz yok.
155
153
 
154
+ T_TABLE_NAVIGATION_TOO_MANY_ITEMS_SELECTED=Ayn\u0131 anda yaln\u0131zca azami {0} \u00F6\u011Fe a\u00E7abilirsiniz.
155
+
156
156
  ST_GENERIC_ERROR_NOT_AUTORIZED_ACTION=Bu i\u015Flem i\u00E7in yetkiniz yok.
157
157
 
158
158
  ST_GENERIC_ERROR_NOT_AUTORIZED_DELETE=Silmek i\u00E7in yetkiniz yok.
@@ -67,9 +67,7 @@ COPY=\u041A\u043E\u043F\u0456\u044E\u0432\u0430\u0442\u0438
67
67
 
68
68
  ST_SEND_CARD_TO_CHAT=\u041D\u0430\u0434\u0456\u0441\u043B\u0430\u0442\u0438
69
69
 
70
- ST_OPEN_NEW_TAB=\u0412\u0456\u0434\u043A\u0440\u0438\u0442\u0438 \u0443 \u043D\u043E\u0432\u0456\u0439 \u0432\u043A\u043B\u0430\u0434\u0446\u0456
71
-
72
- ST_OPEN_NEW_WINDOW=\u0412\u0456\u0434\u043A\u0440\u0438\u0442\u0438 \u0443 \u043D\u043E\u0432\u043E\u043C\u0443 \u0432\u0456\u043A\u043D\u0456
70
+ ST_OPEN_NEW_TAB_OR_WINDOW=\u0412\u0456\u0434\u043A\u0440\u0438\u0442\u0438 \u0432 \u043D\u043E\u0432\u0456\u0439 \u0432\u043A\u043B\u0430\u0434\u0446\u0456 \u0430\u0431\u043E \u0432\u0456\u043A\u043D\u0456
73
71
 
74
72
  ST_MESSAGES_DIALOG_TITLE_WARNING=\u0417\u0430\u0441\u0442\u0435\u0440\u0435\u0436\u0435\u043D\u043D\u044F
75
73
 
@@ -153,6 +151,8 @@ ST_GENERIC_ERROR_SYSTEM_UNAVAILABLE_FOR_ACTION=\u041D\u0435\u043C\u043E\u0436\u0
153
151
 
154
152
  ST_GENERIC_ERROR_NOT_AUTORIZED_CREATE=\u0423 \u0432\u0430\u0441 \u043D\u0435\u043C\u0430\u0454 \u043F\u043E\u0432\u043D\u043E\u0432\u0430\u0436\u0435\u043D\u044C \u043D\u0430 \u0441\u0442\u0432\u043E\u0440\u0435\u043D\u043D\u044F.
155
153
 
154
+ T_TABLE_NAVIGATION_TOO_MANY_ITEMS_SELECTED=\u041C\u043E\u0436\u043D\u0430 \u0432\u0456\u0434\u043A\u0440\u0438\u0442\u0438 \u043D\u0435 \u0431\u0456\u043B\u044C\u0448\u0435 {0} \u043F\u043E\u0437\u0438\u0446\u0456\u0439 \u0437\u0430 \u0440\u0430\u0437.
155
+
156
156
  ST_GENERIC_ERROR_NOT_AUTORIZED_ACTION=\u0423 \u0432\u0430\u0441 \u043D\u0435\u043C\u0430\u0454 \u043F\u043E\u0432\u043D\u043E\u0432\u0430\u0436\u0435\u043D\u044C \u043D\u0430 \u0446\u044E \u043E\u043F\u0435\u0440\u0430\u0446\u0456\u044E.
157
157
 
158
158
  ST_GENERIC_ERROR_NOT_AUTORIZED_DELETE=\u0423 \u0432\u0430\u0441 \u043D\u0435\u043C\u0430\u0454 \u043F\u043E\u0432\u043D\u043E\u0432\u0430\u0436\u0435\u043D\u044C \u043D\u0430 \u0432\u0438\u0434\u0430\u043B\u0435\u043D\u043D\u044F.
@@ -67,9 +67,7 @@ COPY=Sao ch\u00E9p
67
67
 
68
68
  ST_SEND_CARD_TO_CHAT=G\u01B0\u0309i
69
69
 
70
- ST_OPEN_NEW_TAB=M\u1EDF trong th\u1EBB m\u1EDBi
71
-
72
- ST_OPEN_NEW_WINDOW=M\u1EDF trong c\u1EEDa s\u1ED5 m\u1EDBi
70
+ ST_OPEN_NEW_TAB_OR_WINDOW=M\u1EDF trong th\u1EBB ho\u1EB7c c\u1EEDa s\u1ED5 m\u1EDBi
73
71
 
74
72
  ST_MESSAGES_DIALOG_TITLE_WARNING=Ca\u0309nh ba\u0301o
75
73
 
@@ -153,6 +151,8 @@ ST_GENERIC_ERROR_SYSTEM_UNAVAILABLE_FOR_ACTION=Kh\u00F4ng th\u00EA\u0309 th\u01B
153
151
 
154
152
  ST_GENERIC_ERROR_NOT_AUTORIZED_CREATE=Ba\u0323n kh\u00F4ng co\u0301 quy\u00EA\u0300n ta\u0323o.
155
153
 
154
+ T_TABLE_NAVIGATION_TOO_MANY_ITEMS_SELECTED=B\u1EA1n ch\u1EC9 c\u00F3 th\u1EC3 m\u1EDF t\u1ED1i \u0111a {0} m\u1EE5c t\u1EA1i m\u1ED9t th\u1EDDi \u0111i\u1EC3m.
155
+
156
156
  ST_GENERIC_ERROR_NOT_AUTORIZED_ACTION=Ba\u0323n kh\u00F4ng co\u0301 quy\u00EA\u0300n th\u01B0\u0323c hi\u00EA\u0323n ha\u0300nh \u0111\u00F4\u0323ng na\u0300y.
157
157
 
158
158
  ST_GENERIC_ERROR_NOT_AUTORIZED_DELETE=Ba\u0323n kh\u00F4ng co\u0301 quy\u00EA\u0300n xo\u0301a.
@@ -67,9 +67,7 @@ COPY=\u590D\u5236
67
67
 
68
68
  ST_SEND_CARD_TO_CHAT=\u53D1\u9001
69
69
 
70
- ST_OPEN_NEW_TAB=\u5728\u65B0\u6807\u7B7E\u4E2D\u6253\u5F00
71
-
72
- ST_OPEN_NEW_WINDOW=\u5728\u65B0\u7A97\u53E3\u4E2D\u6253\u5F00
70
+ ST_OPEN_NEW_TAB_OR_WINDOW=\u5728\u65B0\u6807\u7B7E\u6216\u7A97\u53E3\u4E2D\u6253\u5F00
73
71
 
74
72
  ST_MESSAGES_DIALOG_TITLE_WARNING=\u8B66\u544A
75
73
 
@@ -153,6 +151,8 @@ ST_GENERIC_ERROR_SYSTEM_UNAVAILABLE_FOR_ACTION=\u65E0\u6CD5\u6267\u884C\u6B64\u6
153
151
 
154
152
  ST_GENERIC_ERROR_NOT_AUTORIZED_CREATE=\u65E0\u6743\u521B\u5EFA\u3002
155
153
 
154
+ T_TABLE_NAVIGATION_TOO_MANY_ITEMS_SELECTED=\u4E00\u6B21\u81F3\u591A\u53EA\u80FD\u6253\u5F00 {0} \u4E2A\u9879\u76EE\u3002
155
+
156
156
  ST_GENERIC_ERROR_NOT_AUTORIZED_ACTION=\u65E0\u6B64\u64CD\u4F5C\u7684\u6743\u9650\u3002
157
157
 
158
158
  ST_GENERIC_ERROR_NOT_AUTORIZED_DELETE=\u65E0\u6743\u5220\u9664\u3002
@@ -67,9 +67,7 @@ COPY=\u8907\u88FD
67
67
 
68
68
  ST_SEND_CARD_TO_CHAT=\u50B3\u9001
69
69
 
70
- ST_OPEN_NEW_TAB=\u5728\u65B0\u6A19\u7C64\u4E2D\u958B\u555F
71
-
72
- ST_OPEN_NEW_WINDOW=\u5728\u65B0\u8996\u7A97\u4E2D\u958B\u555F
70
+ ST_OPEN_NEW_TAB_OR_WINDOW=\u65BC\u65B0\u7D22\u5F15\u6A19\u7C64\u6216\u8996\u7A97\u4E2D\u958B\u555F
73
71
 
74
72
  ST_MESSAGES_DIALOG_TITLE_WARNING=\u8B66\u544A
75
73
 
@@ -153,6 +151,8 @@ ST_GENERIC_ERROR_SYSTEM_UNAVAILABLE_FOR_ACTION=\u7121\u6CD5\u57F7\u884C\u6B64\u5
153
151
 
154
152
  ST_GENERIC_ERROR_NOT_AUTORIZED_CREATE=\u60A8\u6C92\u6709\u5EFA\u7ACB\u7684\u6B0A\u9650\u3002
155
153
 
154
+ T_TABLE_NAVIGATION_TOO_MANY_ITEMS_SELECTED=\u60A8\u4E00\u6B21\u50C5\u53EF\u958B\u555F\u6700\u591A {0} \u500B\u9805\u76EE\u3002
155
+
156
156
  ST_GENERIC_ERROR_NOT_AUTORIZED_ACTION=\u60A8\u6C92\u6709\u57F7\u884C\u6B64\u52D5\u4F5C\u7684\u6B0A\u9650
157
157
 
158
158
  ST_GENERIC_ERROR_NOT_AUTORIZED_DELETE=\u60A8\u6C92\u6709\u522A\u9664\u7684\u6B0A\u9650
@@ -11,8 +11,8 @@ sap.ui.define([
11
11
 
12
12
  function getMethods(oTemplateContract) {
13
13
  var aShareCards = [] , sAppComponentId, oInsightsCardProvider,
14
- mCardProviders = {};
15
-
14
+ mCardProviders = {};
15
+
16
16
  /**
17
17
  * This method creates an instance of the insights card provider and it already takes care of registering this app to the "sap-insights" channel as a card provider.
18
18
  */
@@ -29,12 +29,19 @@ sap.ui.define([
29
29
  */
30
30
  function fnRegisterComponentForProvider(oInsightsHandler, sComponentId) {
31
31
  mCardProviders[sComponentId] = oInsightsHandler;
32
+ // Attach a change event to this property and based on the view level, the share cards are updated.
33
+ oTemplateContract.oTemplatePrivateGlobalModel.bindProperty("/generic/routeLevel").attachChange(function (oEvent) {
34
+ var iViewLevel = oEvent.getSource().getValue();
35
+ var aShareCards = oTemplateContract.oTemplatePrivateGlobalModel.getProperty("/generic/insights/shareCards/" + iViewLevel) || [];
36
+ oInsightsCardProvider.onViewUpdate(true, aShareCards);
37
+ });
32
38
  }
33
39
  /**
34
40
  * This method overrides the original method of insights card provider so that additional card details can be shared.
35
41
  */
36
42
  function onCardDetailsRequested(sConsumerId, sCardId) {
37
- var aShareCards = oTemplateContract.oTemplatePrivateGlobalModel.getProperty("/generic/insights/shareCards");
43
+ var iViewLevel = oTemplateContract.oTemplatePrivateGlobalModel.getProperty("/generic/routeLevel");
44
+ var aShareCards = oTemplateContract.oTemplatePrivateGlobalModel.getProperty("/generic/insights/shareCards/" + iViewLevel);
38
45
  var oCard = aShareCards.find(function(oCard) {
39
46
  return oCard.id === sCardId;
40
47
  });
@@ -23,6 +23,7 @@ sap.ui.define([
23
23
  sViewId = oController.getView().getId();
24
24
  var oComponent = oController.getOwnerComponent();
25
25
  var oAppComponent = oComponent.getAppComponent();
26
+ var iViewLevel = oTemplatePrivateModel.getProperty("/generic/viewLevel");
26
27
  oPresentationControlHandler = oPresentationControlHandler || oState.oPresentationControlHandler; // In case of LR the oState already has the oPresentationControlHandler
27
28
 
28
29
  sAppTitle = oAppComponent.getManifestEntry("sap.app").title;
@@ -60,7 +61,7 @@ sap.ui.define([
60
61
  extend(oShareCard, oCardInfo);
61
62
  oShareCard.cardType = sType;
62
63
  oShareCard.viewId = sViewId;
63
- oTemplatePrivateGlobalModel.setProperty("/generic/insights/shareCards", [oShareCard]);
64
+ oTemplatePrivateGlobalModel.setProperty("/generic/insights/shareCards/" + iViewLevel, [oShareCard]);
64
65
  return [oCardInfo];
65
66
  }
66
67
 
@@ -112,7 +112,7 @@ sap.ui.define([
112
112
  }
113
113
  // create a copy from which we will remove the filters which are coming from the table settings (aFiltersFromRebindEvent)
114
114
  var aRet = aCurrentRebindFilters.slice(0);
115
- fnRemoveTableSettingsFromFilters(aRet, aFiltersFromRebindEvent);
115
+ fnReduceFilters(aRet, aFiltersFromRebindEvent);
116
116
  return aRet;
117
117
  }
118
118
 
@@ -240,11 +240,12 @@ sap.ui.define([
240
240
  return oEntityType && oEntityType.property;
241
241
  }
242
242
 
243
- function fnRemoveTableSettingsFromFilters(aFiltersToBeRemovedFrom, aFiltersToBeRemoved) {
243
+ // Removes the filters contained in aFiltersToBeRemoved from the filter array aFiltersToBeRemovedFrom, thereby modifying aFiltersToBeRemovedFrom
244
+ function fnReduceFilters(aFiltersToBeRemovedFrom, aFiltersToBeRemoved) {
244
245
  for (var i in aFiltersToBeRemoved) {
245
246
  var oFilterToBeRemoved = aFiltersToBeRemoved[i];
246
247
  for (var j = aFiltersToBeRemovedFrom.length; j--; j >= 0) {
247
- if (JSON.stringify(aFiltersToBeRemovedFrom[j]) === JSON.stringify(oFilterToBeRemoved)) {
248
+ if (JSON.stringify(aFiltersToBeRemovedFrom[j]) === JSON.stringify(oFilterToBeRemoved)) { // filters are considered equal when their serialization is identical
248
249
  aFiltersToBeRemovedFrom.splice(j, 1);
249
250
  break;
250
251
  }
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  // + mode: contain the Multiple Views mode (Single Table/Multiple Table)
33
33
  // + manifestSettings: the settings from the manifest defining the multiple views
34
34
  // + pathInTemplatePrivateModel: a prefix for the paths of all properties in TemplatePrivateModel being connected with this multiple views instance
35
- // + getPresentationControlHandler: a function that returns the corresponding smartControl's presentationControlHandler instance for a given key (only needed for multiple views).
35
+ // + getPresentationControlHandler: a function that returns the corresponding smartControl's presentationControlHandler instance for a given key
36
36
  // + switchingControl: the control which is used to switch between the views. It must possess a getItems() method.
37
37
  // + getSearchValue : optional function to retrieve current value of the search field
38
38
  // + smartFilterBar : optional smartFilterBar which is present only in the list report
@@ -87,18 +87,10 @@ sap.ui.define([
87
87
  var oSearch = sSearchValue ? {
88
88
  search: sSearchValue
89
89
  } : {};
90
- /***
91
- * Check the configuration if the mode is "single" (multiple tab single view).
92
- * Because, the refresh group id is present only in single view.
93
- *
94
- * Then, get the refresh group id from the control's binding object and use the group id to make the $count requests.
95
- * Hence, the $count requests are added to the existing batch request.
96
- */
97
- var sBatchGroupId;
98
- var oPresentationControlHandler = oConfiguration.presentationControlHandler || oConfiguration.getPresentationControlHandler();
99
- if (oConfiguration.mode === "single" && oPresentationControlHandler && oPresentationControlHandler.getBinding()) {
100
- sBatchGroupId = oPresentationControlHandler.getBinding().sRefreshGroupId;
101
- }
90
+
91
+ // If the implementingHelper defines a batchgroupId for count (currently only valid for single table case) use that one to
92
+ // bundle the count request with other requests of the same batch group id.
93
+ var sBatchGroupId = (oImplementingHelper.getBatchGroupIdForCount || Function.prototype)();
102
94
 
103
95
  for (var sKey in mSwitchingKeyToViewMeta) {
104
96
  var oViewMeta = mSwitchingKeyToViewMeta[sKey];
@@ -559,7 +551,7 @@ sap.ui.define([
559
551
  sDefaultSelectedKey = sSwitchingItemKey;
560
552
  }
561
553
  var oViewMeta = {
562
- presentationControlHandler: oConfiguration.presentationControlHandler || oConfiguration.getPresentationControlHandler(sSwitchingItemKey),
554
+ presentationControlHandler: oConfiguration.getPresentationControlHandler(sSwitchingItemKey),
563
555
  switchingKey: sSwitchingItemKey
564
556
  };
565
557
  var oCustomData = oTemplateUtils.oCommonUtils.getElementCustomData(oSwitchingItem);
@@ -13,7 +13,7 @@ function(BaseObject, extend) {
13
13
 
14
14
  // oController is the controller of the enclosing ListReport
15
15
  // oTemplateUtils are the template utils as passed to the controller implementation
16
- function getMethods(oController, oTemplateUtils) {
16
+ function getMethods(oController, oTemplateUtils, oConfiguration) {
17
17
 
18
18
  function getDefaultShowCounts(){
19
19
  return false;
@@ -54,6 +54,13 @@ function(BaseObject, extend) {
54
54
  return 3;
55
55
  }
56
56
 
57
+ // For $count requests use the same batchGroupId as for refreshing the data
58
+ function getBatchGroupIdForCount(){
59
+ var oPresentationControlHandler = oConfiguration.getPresentationControlHandler(); // Note that we do not need to pass a key to this function, since in the single table case the presentationControlHandler is identical for all keys
60
+ var oBinding = oPresentationControlHandler.getBinding();
61
+ return oBinding ? oBinding.sRefreshGroupId : undefined;
62
+ }
63
+
57
64
  // public instance methods
58
65
  return {
59
66
  getDefaultShowCounts: getDefaultShowCounts,
@@ -63,13 +70,14 @@ function(BaseObject, extend) {
63
70
  getGeneralContentStateWrapper: getGeneralContentStateWrapper,
64
71
  refreshOperation: fnRefreshOperation,
65
72
  getMode: fnGetMode,
66
- getRefreshMode: fnGetRefreshMode
73
+ getRefreshMode: fnGetRefreshMode,
74
+ getBatchGroupIdForCount: getBatchGroupIdForCount
67
75
  };
68
76
  }
69
77
 
70
- return BaseObject.extend("sap.suite.ui.generic.template.ListReport.controller.SingleTableModeHelper", {
71
- constructor: function(oController, oTemplateUtils) {
72
- extend(this, getMethods(oController, oTemplateUtils));
78
+ return BaseObject.extend("sap.suite.ui.generic.template.lib.multipleViews.SingleTableModeHelper", {
79
+ constructor: function(oController, oTemplateUtils, oConfiguration) {
80
+ extend(this, getMethods(oController, oTemplateUtils, oConfiguration));
73
81
  }
74
82
  });
75
83
  });
@@ -3055,7 +3055,7 @@ sap.ui.define(["sap/ui/base/Object",
3055
3055
  * @param {sap.suite.ui.generic.template.lib.AppComponent} oAppComponent The AppComponent instance
3056
3056
  * @public
3057
3057
  * @extends sap.ui.base.Object
3058
- * @version 1.122.2
3058
+ * @version 1.123.0
3059
3059
  * @since 1.30.0
3060
3060
  * @alias sap.suite.ui.generic.template.lib.NavigationController
3061
3061
  */
@@ -16,6 +16,7 @@ sap.ui.define([
16
16
  var bIsUiTable = controlHelper.isUiTable(oInnerTable);
17
17
  var bIsTreeTable = controlHelper.isTreeTable(oInnerTable);
18
18
  var sEntryAggregationName = bIsUiTable ? "rows" : "items";
19
+ var oCellSelector;
19
20
 
20
21
  function fnGetBinding() {
21
22
  return oInnerTable.getBinding(sEntryAggregationName);
@@ -466,9 +467,50 @@ sap.ui.define([
466
467
 
467
468
  // to be called in onInit of the table
468
469
  function fnAddCellSelector() {
469
- if (bIsUiTable) { // Cell selection should be enabled for UI tables
470
- oSmartTable.addDependent(new CellSelector());
470
+ if (oCellSelector) {
471
+ //duplicate call of addCellSelector shouldn't be happen
472
+ return;
471
473
  }
474
+ oCellSelector = new CellSelector();
475
+ oSmartTable.addDependent(oCellSelector);
476
+ }
477
+
478
+ /**
479
+ * Function return cell selected rows and column information
480
+ * @returns {object} cell selected rows and columns information
481
+ */
482
+ function getSelection() {
483
+ return oCellSelector && oCellSelector.getSelection();
484
+ }
485
+
486
+ /**
487
+ * Function returns object contains aray of potentially read only columns from the given smart table id
488
+ * potential read only column would be have field-control, sap:update
489
+ * @param {string} sSmartTableId smart table Id
490
+ */
491
+ function getPotentiallyReadOnlyField(sSmartTableId) {
492
+ var oSmartTable = oController.byId(sSmartTableId);
493
+ var sEntitySet = oSmartTable.getEntitySet();
494
+ var oModel = oSmartTable.getModel();
495
+ var oMetaModel = oModel.getMetaModel();
496
+ var oEntitySet = oMetaModel.getODataEntitySet(sEntitySet);
497
+ var oEntityType = oMetaModel.getODataEntityType(oEntitySet.entityType);
498
+ var aAllFieldsMetaModel = oEntityType.property;
499
+
500
+ var aPotentialReadOnlyFields = [];
501
+ aAllFieldsMetaModel.forEach(function(oEntityProperty) {
502
+ var oFieldControl = oEntityProperty["com.sap.vocabularies.Common.v1.FieldControl"] && oEntityProperty["com.sap.vocabularies.Common.v1.FieldControl"];
503
+ var sPath = oFieldControl && oFieldControl.Path;
504
+ var bEnumMemberReadOnly = oFieldControl && oFieldControl.EnumMember === "com.sap.vocabularies.Common.v1.FieldControlType/ReadOnly";
505
+ if (oEntityProperty["sap:updatable"] === "false" || sPath || bEnumMemberReadOnly) {
506
+ aPotentialReadOnlyFields.push({
507
+ name: oEntityProperty.name,
508
+ label: oEntityProperty["sap:label"],
509
+ ignoredFromPaste: false
510
+ });
511
+ }
512
+ });
513
+ return aPotentialReadOnlyFields;
472
514
  }
473
515
 
474
516
  /**
@@ -532,6 +574,8 @@ sap.ui.define([
532
574
  getRowForContext: getRowForContext,
533
575
  getFocusInfoForContextMenuEvent: getFocusInfoForContextMenuEvent,
534
576
  addCellSelector: fnAddCellSelector,
577
+ getSelection: getSelection,
578
+ getPotentiallyReadOnlyField: getPotentiallyReadOnlyField,
535
579
  getColumnByKey: fnGetColumnByKey
536
580
  };
537
581
  }
@@ -60,7 +60,7 @@ sap.ui.define([
60
60
  interfaces: [],
61
61
  controls: [],
62
62
  elements: [],
63
- version: "1.122.2",
63
+ version: "1.123.0",
64
64
  extensions: {
65
65
  //Configuration used for rule loading of Support Assistant
66
66
  "sap.ui.support": {
@@ -345,10 +345,16 @@ sap.ui.define([
345
345
  }
346
346
 
347
347
  sMode = oQuickVariantSelectionX ? "multi" : "single";
348
+
349
+ // fixed presentation control handler in single table case:
350
+ var oPresentationControlHandler = oQuickVariantSelection && oTemplateUtils.oServices.oPresentationControlHandlerFactory.getPresentationControlHandler(oState.oSmartTable);
351
+ // a function that provides the presentation control handler for the given key:
352
+ var fnGetPresentationControlHandler = oPresentationControlHandler ? function(){
353
+ return oPresentationControlHandler; // no need to check for the key as it is the same for all keys
354
+ } : getPresentationControlHandler;
348
355
 
349
356
  // manifestSettings: indicates multiple tab single view
350
357
  // pathInTemplatePrivateModel: path of the model to be read
351
- // presentationControlHandler: presentationControlHandler instance which contains smartControl which contains table
352
358
  // getPresentationControlHandler : function which returns the presentationControlHandler instance with the given smartcontrol's key
353
359
  // switchingControl: the control which is used to switch between the views. It must possess a getItems() method.
354
360
  // smartFilterBar: smartfilterbar which contains filter values
@@ -356,8 +362,7 @@ sap.ui.define([
356
362
  mode: sMode,
357
363
  manifestSettings: oQuickVariantSelectionEffective,
358
364
  pathInTemplatePrivateModel: "/alp/multipleViews",
359
- presentationControlHandler: oQuickVariantSelection && oTemplateUtils.oServices.oPresentationControlHandlerFactory.getPresentationControlHandler(oState.oSmartTable), // only in single views mode a single smart control is being transfered
360
- getPresentationControlHandler: oQuickVariantSelectionX && getPresentationControlHandler,
365
+ getPresentationControlHandler: fnGetPresentationControlHandler,
361
366
  getSwitchingControlAsync: fnGetSwitchingControlAsync,
362
367
  smartFilterBar: oState.oSmartFilterbar,
363
368
  resolveParameterizedEntitySet: fnResolveParameterizedEntitySetforAggregatedService,