@sapui5/sap.suite.ui.generic.template 1.141.3 → 1.143.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.
- package/package.json +3 -4
- package/src/sap/suite/ui/generic/template/.library +7 -2
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/ControllerImplementation.js +6 -9
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/DropDownController.js +1 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_kk.properties +1 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/Canvas/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/Component.js +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/controller/ControllerImplementation.js +58 -12
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n.properties +5 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ar.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_bg.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ca.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cnr.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cs.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_cy.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_da.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_de.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_el.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_GB.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_US_saprigi.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_es.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_es_MX.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_et.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fi.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fr.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fr_CA.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hi.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hr.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_hu.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_id.properties +5 -2
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_it.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_iw.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ja.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_kk.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ko.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_lt.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_lv.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_mk.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ms.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_nl.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_no.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pl.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pt.properties +4 -1
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_pt_PT.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ro.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ru.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sh.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sk.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sl.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sr.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sv.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_th.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_tr.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_uk.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_vi.properties +5 -2
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_zh_CN.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_zh_TW.properties +3 -0
- package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartTable.fragment.xml +29 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/controller/ControllerImplementation.js +85 -21
- package/src/sap/suite/ui/generic/template/ObjectPage/controller/RelatedAppsHandler.js +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/controllerFrameworkExtensions.js +8 -7
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ar.properties +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pt.properties +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_vi.properties +2 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/templateSpecificPreparationHelper.js +2 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartTable.fragment.xml +0 -1
- package/src/sap/suite/ui/generic/template/QuickCreate/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/QuickView/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/designtime/controls/SmartTable.designtime.js +12 -2
- package/src/sap/suite/ui/generic/template/designtime/utils/designtimeUtils.js +3 -10
- package/src/sap/suite/ui/generic/template/fragments/MessagePopover.fragment.xml +1 -1
- package/src/sap/suite/ui/generic/template/fragments/TableColumns.fragment.xml +1 -0
- package/src/sap/suite/ui/generic/template/js/AnnotationHelper.js +0 -5
- package/src/sap/suite/ui/generic/template/js/AnnotationHelperStreamSupport.js +2 -1
- package/src/sap/suite/ui/generic/template/lib/AppComponent.js +20 -2
- package/src/sap/suite/ui/generic/template/lib/CommonEventHandlers.js +20 -1
- package/src/sap/suite/ui/generic/template/lib/CommonUtils.js +47 -1
- package/src/sap/suite/ui/generic/template/lib/TableNoDataHandler.js +107 -0
- package/src/sap/suite/ui/generic/template/lib/ai/EasyFill/EasyFillHandler.js +58 -6
- package/src/sap/suite/ui/generic/template/lib/ai/EasyFill/fragments/EasyFillDialog.fragment.xml +1 -1
- package/src/sap/suite/ui/generic/template/lib/ai/EasyFilterBarHandler.js +44 -199
- package/src/sap/suite/ui/generic/template/lib/ai/EasyFilterDataFetcherHelper.js +334 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n.properties +49 -16
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ar.properties +30 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_bg.properties +29 -5
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ca.properties +34 -10
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cnr.properties +29 -5
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cs.properties +29 -5
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cy.properties +29 -5
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_da.properties +31 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_de.properties +32 -8
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_el.properties +32 -8
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en.properties +33 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_GB.properties +33 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_saprigi.properties +31 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es.properties +33 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es_MX.properties +33 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_et.properties +30 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fi.properties +30 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr.properties +32 -8
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr_CA.properties +31 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hi.properties +30 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hr.properties +28 -4
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hu.properties +26 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_id.properties +38 -14
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_it.properties +30 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_iw.properties +29 -5
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ja.properties +31 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_kk.properties +30 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ko.properties +30 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lt.properties +30 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lv.properties +30 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_mk.properties +30 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ms.properties +30 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_nl.properties +30 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_no.properties +30 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pl.properties +31 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt.properties +31 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt_PT.properties +30 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ro.properties +33 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ru.properties +31 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sh.properties +29 -5
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sk.properties +28 -4
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sl.properties +31 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sr.properties +29 -5
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sv.properties +30 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_th.properties +30 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_tr.properties +30 -6
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_uk.properties +29 -5
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_vi.properties +33 -9
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_CN.properties +32 -8
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_TW.properties +30 -6
- package/src/sap/suite/ui/generic/template/lib/insights/InsightsCardHelper.js +10 -0
- package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +6 -1
- package/src/sap/suite/ui/generic/template/lib/presentationControl/SmartChartHandler.js +10 -5
- package/src/sap/suite/ui/generic/template/lib/presentationControl/SmartListHandler.js +6 -1
- package/src/sap/suite/ui/generic/template/lib/presentationControl/SmartTableHandler.js +36 -31
- package/src/sap/suite/ui/generic/template/library.js +1 -1
- package/src/sap/suite/ui/generic/template/listTemplates/fragments/DetailSmartTable.fragment.xml +29 -28
- package/src/sap/suite/ui/generic/template/ObjectPage/annotationHelpers/AnnotationHelperActionButtons.qunit.js +0 -27
|
@@ -200,7 +200,7 @@ ST_CARD_CREATION_FAILURE_REASON_SEMANTIC_DATE_FILTERS=\u65E0\u6CD5\u8FDB\u884C\u
|
|
|
200
200
|
|
|
201
201
|
ST_CARD_NAVIGATION_FAILURE_INFO=\u65E0\u6CD5\u4ECE\u6B64\u6D1E\u5BDF\u5361\u76F4\u63A5\u5BFC\u822A\u5230\u5BF9\u8C61\u8BE6\u7EC6\u4FE1\u606F\u3002
|
|
202
202
|
|
|
203
|
-
ST_AI_EE_BUTTON_LABEL=\
|
|
203
|
+
ST_AI_EE_BUTTON_LABEL=\u89E3\u91CA
|
|
204
204
|
|
|
205
205
|
|
|
206
206
|
|
|
@@ -263,10 +263,22 @@ UNNAMED_OBJECT=\u672A\u547D\u540D\u5BF9\u8C61
|
|
|
263
263
|
|
|
264
264
|
NOITEMS_SMARTTABLE=\u65E0\u53EF\u7528\u9879\u76EE\u3002
|
|
265
265
|
|
|
266
|
+
NOITEMS_SMARTTABLE_ILLUSTRATION_TITLE=\u8FD8\u6CA1\u6709\u4EFB\u4F55\u6761\u76EE\u3002
|
|
267
|
+
|
|
268
|
+
NOITEMS_SMARTTABLE_ILLUSTRATION_DESCRIPTION=\u5982\u679C\u6709\uFF0C\u5C06\u4F1A\u5728\u6B64\u5904\u663E\u793A\u3002
|
|
269
|
+
|
|
266
270
|
NOITEMS_SMARTTABLE_WITH_FILTER=\u65E0\u53EF\u7528\u9879\u76EE\u3002\u5C1D\u8BD5\u8C03\u6574\u641C\u7D22\u6216\u8FC7\u6EE4\u5668\u53C2\u6570\u3002
|
|
267
271
|
|
|
272
|
+
NOITEMS_SMARTTABLE_WITH_FILTER_ILLUSTRATION_TITLE=\u672A\u627E\u5230\u7ED3\u679C
|
|
273
|
+
|
|
274
|
+
NOITEMS_SMARTTABLE_WITH_FILTER_ILLUSTRATION_DESCRIPTION=\u5C1D\u8BD5\u66F4\u6539\u8FC7\u6EE4\u6761\u4EF6\u3002
|
|
275
|
+
|
|
268
276
|
NOITEMS_SMARTTABLE_WITH_FILTER_FOR_SEGMENTEDBUTTON=\u9488\u5BF9\u6240\u9009\u8FC7\u6EE4\u6761\u4EF6\u548C\u8868\u89C6\u56FE\uFF0C\u65E0\u4EFB\u4F55\u9879\u76EE\u3002
|
|
269
277
|
|
|
278
|
+
NOITEMS_SMARTTABLE_WITH_FILTER_FOR_SEGMENTEDBUTTON_ILLUSTRATION_TITLE=\u672A\u627E\u5230\u7ED3\u679C
|
|
279
|
+
|
|
280
|
+
NOITEMS_SMARTTABLE_WITH_FILTER_FOR_SEGMENTEDBUTTON_ILLUSTRATION_DESCRIPTION=\u5C1D\u8BD5\u66F4\u6539\u89C6\u56FE\u6216\u8FC7\u6EE4\u6761\u4EF6\u3002
|
|
281
|
+
|
|
270
282
|
NOITEMS_SMARTCHART=\u672A\u627E\u5230\u6570\u636E\u3002
|
|
271
283
|
|
|
272
284
|
NOITEMS_LR_SMARTCHART=\u9488\u5BF9\u6240\u9009\u8FC7\u6EE4\u6761\u4EF6\u548C\u7EDF\u8BA1\u56FE\u89C6\u56FE\uFF0C\u65E0\u4EFB\u4F55\u6570\u636E\u3002
|
|
@@ -277,10 +289,22 @@ SMARTCHART_INITIAL_NODATA=\u8981\u5F00\u59CB\uFF0C\u8BF7\u8BBE\u7F6E\u76F8\u5173
|
|
|
277
289
|
|
|
278
290
|
NOITEMS_LR_SMARTTABLE=\u672A\u627E\u5230\u6570\u636E\u3002
|
|
279
291
|
|
|
292
|
+
NOITEMS_LR_SMARTTABLE_ILLUSTRATION_TITLE=\u8FD8\u6CA1\u6709\u4EFB\u4F55\u6761\u76EE\u3002
|
|
293
|
+
|
|
294
|
+
NOITEMS_LR_SMARTTABLE_ILLUSTRATION_DESCRIPTION=\u5982\u679C\u6709\uFF0C\u5C06\u4F1A\u5728\u6B64\u5904\u663E\u793A\u3002
|
|
295
|
+
|
|
280
296
|
NOITEMS_LR_SMARTTABLE_WITH_FILTER=\u672A\u627E\u5230\u6570\u636E\u3002\u5C1D\u8BD5\u8C03\u6574\u641C\u7D22\u6216\u8FC7\u6EE4\u6761\u4EF6\u3002
|
|
281
297
|
|
|
298
|
+
NOITEMS_LR_SMARTTABLE_WITH_FILTER_ILLUSTRATION_TITLE=\u672A\u627E\u5230\u7ED3\u679C
|
|
299
|
+
|
|
300
|
+
NOITEMS_LR_SMARTTABLE_WITH_FILTER_ILLUSTRATION_DESCRIPTION=\u5C1D\u8BD5\u66F4\u6539\u8FC7\u6EE4\u6761\u4EF6\u3002
|
|
301
|
+
|
|
282
302
|
NOITEMS_MULTIVIEW_LR_SMARTTABLE_WITH_FILTER=\u9488\u5BF9\u6240\u9009\u8FC7\u6EE4\u6761\u4EF6\u548C\u8868\u89C6\u56FE\uFF0C\u65E0\u4EFB\u4F55\u6570\u636E\u3002
|
|
283
303
|
|
|
304
|
+
NOITEMS_MULTIVIEW_LR_SMARTTABLE_WITH_FILTER_ILLUSTRATION_TITLE=\u672A\u627E\u5230\u7ED3\u679C
|
|
305
|
+
|
|
306
|
+
NOITEMS_MULTIVIEW_LR_SMARTTABLE_WITH_FILTER_ILLUSTRATION_DESCRIPTION=\u5C1D\u8BD5\u66F4\u6539\u89C6\u56FE\u6216\u8FC7\u6EE4\u6761\u4EF6\u3002
|
|
307
|
+
|
|
284
308
|
ST_GENERIC_DELETE_WITH_WARNING_SUGGESTION_SINGULAR=\u63D0\u793A\uFF1A\u8981\u5FFD\u7565\u8B66\u544A\uFF0C\u8BF7\u5206\u522B\u5220\u9664\u5BF9\u8C61\u3002
|
|
285
309
|
|
|
286
310
|
ST_GENERIC_DELETE_WITH_WARNING_SUGGESTION_PLURAL=\u63D0\u793A\uFF1A\u8981\u5FFD\u7565\u8B66\u544A\uFF0C\u8BF7\u5206\u522B\u5220\u9664\u5BF9\u8C61\u3002
|
|
@@ -460,25 +484,25 @@ RTA_CONTEXT_MENU_CONFIG=\u914D\u7F6E
|
|
|
460
484
|
|
|
461
485
|
EASY_FILL_TITLE=\u8F7B\u677E\u586B\u5145
|
|
462
486
|
|
|
463
|
-
EASY_FILL_FIRST_LABEL_TEXT=\u53EF\u4EE5\u4F7F\u7528\u8F7B\u677E\u586B\u5145\
|
|
487
|
+
EASY_FILL_FIRST_LABEL_TEXT=\u53EF\u4EE5\u4F7F\u7528\u8F7B\u677E\u586B\u5145\u540C\u65F6\u586B\u5145\u591A\u4E2A\u5B57\u6BB5\u3002
|
|
464
488
|
|
|
465
|
-
EASY_FILL_SECOND_LABEL_TEXT=\u4F7F\u7528\u8BF8\u5982\u7535\u5B50\u8868\u683C\u3001\u6CE8\u91CA\u548C\u7535\u5B50\u90AE\u4EF6\u7B49\u6570\u636E\u6E90\u586B\u5145\u5B57\u6BB5\uFF0C\
|
|
489
|
+
EASY_FILL_SECOND_LABEL_TEXT=\u53EF\u4EE5\u4F7F\u7528\u8BF8\u5982\u7535\u5B50\u8868\u683C\u3001\u6CE8\u91CA\u548C\u7535\u5B50\u90AE\u4EF6\u7B49\u6570\u636E\u6E90\u586B\u5145\u5B57\u6BB5\uFF0C\u4E5F\u53EF\u6E05\u6670\u63CF\u8FF0\u8981\u586B\u5199\u7684\u4FE1\u606F\uFF0C\u7136\u540E\u9009\u62E9\u201C\u8F7B\u677E\u586B\u5145\u201D\u3002
|
|
466
490
|
|
|
467
491
|
EASY_FILL_TEXTAREA_PLACEHOLDER=\u4F7F\u7528\u6570\u636E\u6E90\u6216\u76F4\u63A5\u952E\u5165\u6765\u63D0\u4F9B\u6240\u9700\u4FE1\u606F
|
|
468
492
|
|
|
469
|
-
EASY_FILL_ILLUSTRATION_TITLE_INITIAL=\u8BA9\u6211\u4EEC\u6765\u586B\u5199\u4E00\u4E9B\u5B57\u6BB5
|
|
493
|
+
EASY_FILL_ILLUSTRATION_TITLE_INITIAL=\u8BA9\u6211\u4EEC\u6765\u586B\u5199\u4E00\u4E9B\u5B57\u6BB5\u3002
|
|
470
494
|
|
|
471
|
-
EASY_FILL_ILLUSTRATION_DESCRIPTION_INITIAL=\u9996\u5148\u63D0\u4F9B\u6240\u9700\u4FE1\u606F\
|
|
495
|
+
EASY_FILL_ILLUSTRATION_DESCRIPTION_INITIAL=\u53EF\u4EE5\u9996\u5148\u63D0\u4F9B\u6240\u9700\u4FE1\u606F\u6765\u67E5\u770B\u5EFA\u8BAE\u7ED3\u679C\u3002
|
|
472
496
|
|
|
473
497
|
EASY_FILL_ILLUSTRATION_TITLE_NO_ENTRIES=\u672A\u586B\u5199\u4EFB\u4F55\u5B57\u6BB5
|
|
474
498
|
|
|
475
499
|
EASY_FILL_ILLUSTRATION_DESCRIPTION_NO_ENTRIES=\u65E0\u6CD5\u5C06\u67E5\u8BE2\u4E0E\u4EFB\u4F55\u73B0\u6709\u5B57\u6BB5\u5339\u914D\u3002
|
|
476
500
|
|
|
477
|
-
EASY_FILL_ILLUSTRATION_TITLE_ERROR=\u65E0\u6CD5\u586B\u5199\u5B57\u6BB5
|
|
501
|
+
EASY_FILL_ILLUSTRATION_TITLE_ERROR=\u65E0\u6CD5\u586B\u5199\u5B57\u6BB5\u3002
|
|
478
502
|
|
|
479
503
|
EASY_FILL_ILLUSTRATION_DESCRIPTION_ERROR=\u4F3C\u4E4E\u51FA\u73B0\u9519\u8BEF\u3002\u8BF7\u91CD\u8BD5\uFF0C\u5982\u679C\u8FD9\u4E8E\u4E8B\u65E0\u8865\uFF0C\u8BF7\u4E0E\u7BA1\u7406\u5458\u76F8\u5546\u3002
|
|
480
504
|
|
|
481
|
-
|
|
505
|
+
EASY_FILL_CONFIRM=\u786E\u8BA4
|
|
482
506
|
|
|
483
507
|
AI_LINK_NOTICE_TITLE=\u4F7F\u7528 AI \u521B\u5EFA\u3002
|
|
484
508
|
|
|
@@ -488,7 +512,7 @@ EASY_FILL_FILLED_FIELDS=\u5DF2\u586B\u5145\u5B57\u6BB5
|
|
|
488
512
|
|
|
489
513
|
EASY_FILL_UNABLE_FILL=\u65E0\u6CD5\u586B\u5145
|
|
490
514
|
|
|
491
|
-
EASY_FILL_WARNING_MESSAGE=\u65E0\u6CD5\u586B\u5199\u5B57\u6BB5\uFF0C\u4F8B\u5982\uFF0C\u56E0\u4E3A\u5176\u4E3A\u53EA\u8BFB\u5B57\u6BB5\uFF0C\u6216\u662F\u65E0\u6743\u5BF9\
|
|
515
|
+
EASY_FILL_WARNING_MESSAGE=\u65E0\u6CD5\u586B\u5199\u5B57\u6BB5\uFF0C\u4F8B\u5982\uFF0C\u56E0\u4E3A\u5176\u4E3A\u53EA\u8BFB\u5B57\u6BB5\uFF0C\u6216\u662F\u65E0\u6743\u5BF9\u5B57\u6BB5\u8FDB\u884C\u66F4\u6539\u3002
|
|
492
516
|
|
|
493
517
|
EASY_FILL_PROPOSED_VALUES=\u5EFA\u8BAE\u503C
|
|
494
518
|
|
|
@@ -200,7 +200,7 @@ ST_CARD_CREATION_FAILURE_REASON_SEMANTIC_DATE_FILTERS=\u7121\u6CD5\u5EFA\u7ACB\u
|
|
|
200
200
|
|
|
201
201
|
ST_CARD_NAVIGATION_FAILURE_INFO=\u7121\u6CD5\u5F9E\u6B64\u6D1E\u5BDF\u5361\u7247\u76F4\u63A5\u700F\u89BD\u81F3\u7269\u4EF6\u660E\u7D30\u3002
|
|
202
202
|
|
|
203
|
-
ST_AI_EE_BUTTON_LABEL=\
|
|
203
|
+
ST_AI_EE_BUTTON_LABEL=\u8AAA\u660E
|
|
204
204
|
|
|
205
205
|
|
|
206
206
|
|
|
@@ -263,10 +263,22 @@ UNNAMED_OBJECT=\u672A\u547D\u540D\u7684\u7269\u4EF6
|
|
|
263
263
|
|
|
264
264
|
NOITEMS_SMARTTABLE=\u6C92\u6709\u9805\u76EE\u3002
|
|
265
265
|
|
|
266
|
+
NOITEMS_SMARTTABLE_ILLUSTRATION_TITLE=\u5C1A\u7121\u8F38\u5165\u9805\u3002
|
|
267
|
+
|
|
268
|
+
NOITEMS_SMARTTABLE_ILLUSTRATION_DESCRIPTION=\u82E5\u51FA\u73FE\u8F38\u5165\u9805\uFF0C\u60A8\u4FBF\u6703\u5728\u6B64\u8655\u770B\u5230\u3002
|
|
269
|
+
|
|
266
270
|
NOITEMS_SMARTTABLE_WITH_FILTER=\u6C92\u6709\u9805\u76EE\uFF0C\u8ACB\u5617\u8A66\u8ABF\u6574\u641C\u5C0B\u6216\u7BE9\u9078\u53C3\u6578\u3002
|
|
267
271
|
|
|
272
|
+
NOITEMS_SMARTTABLE_WITH_FILTER_ILLUSTRATION_TITLE=\u627E\u4E0D\u5230\u7D50\u679C
|
|
273
|
+
|
|
274
|
+
NOITEMS_SMARTTABLE_WITH_FILTER_ILLUSTRATION_DESCRIPTION=\u8ACB\u5617\u8A66\u66F4\u6539\u7BE9\u9078\u6E96\u5247\u3002
|
|
275
|
+
|
|
268
276
|
NOITEMS_SMARTTABLE_WITH_FILTER_FOR_SEGMENTEDBUTTON=\u6240\u9078\u7BE9\u9078\u6E96\u5247\u548C\u8868\u683C\u6AA2\u8996\u6C92\u6709\u9805\u76EE\u3002
|
|
269
277
|
|
|
278
|
+
NOITEMS_SMARTTABLE_WITH_FILTER_FOR_SEGMENTEDBUTTON_ILLUSTRATION_TITLE=\u627E\u4E0D\u5230\u7D50\u679C
|
|
279
|
+
|
|
280
|
+
NOITEMS_SMARTTABLE_WITH_FILTER_FOR_SEGMENTEDBUTTON_ILLUSTRATION_DESCRIPTION=\u8ACB\u5617\u8A66\u66F4\u6539\u6AA2\u8996\u6216\u7BE9\u9078\u6E96\u5247\u3002
|
|
281
|
+
|
|
270
282
|
NOITEMS_SMARTCHART=\u627E\u4E0D\u5230\u8CC7\u6599\u3002
|
|
271
283
|
|
|
272
284
|
NOITEMS_LR_SMARTCHART=\u6240\u9078\u7BE9\u9078\u6E96\u5247\u548C\u5716\u8868\u6AA2\u8996\u6C92\u6709\u8CC7\u6599\u3002
|
|
@@ -277,10 +289,22 @@ SMARTCHART_INITIAL_NODATA=\u82E5\u8981\u958B\u59CB\uFF0C\u8ACB\u8A2D\u5B9A\u76F8
|
|
|
277
289
|
|
|
278
290
|
NOITEMS_LR_SMARTTABLE=\u627E\u4E0D\u5230\u8CC7\u6599\u3002
|
|
279
291
|
|
|
292
|
+
NOITEMS_LR_SMARTTABLE_ILLUSTRATION_TITLE=\u5C1A\u7121\u8F38\u5165\u9805\u3002
|
|
293
|
+
|
|
294
|
+
NOITEMS_LR_SMARTTABLE_ILLUSTRATION_DESCRIPTION=\u82E5\u51FA\u73FE\u8F38\u5165\u9805\uFF0C\u60A8\u4FBF\u6703\u5728\u6B64\u8655\u770B\u5230\u3002
|
|
295
|
+
|
|
280
296
|
NOITEMS_LR_SMARTTABLE_WITH_FILTER=\u627E\u4E0D\u5230\u8CC7\u6599\uFF0C\u8ACB\u5617\u8A66\u8ABF\u6574\u641C\u5C0B\u6216\u7BE9\u9078\u6E96\u5247\u3002
|
|
281
297
|
|
|
298
|
+
NOITEMS_LR_SMARTTABLE_WITH_FILTER_ILLUSTRATION_TITLE=\u627E\u4E0D\u5230\u7D50\u679C
|
|
299
|
+
|
|
300
|
+
NOITEMS_LR_SMARTTABLE_WITH_FILTER_ILLUSTRATION_DESCRIPTION=\u8ACB\u5617\u8A66\u66F4\u6539\u7BE9\u9078\u6E96\u5247\u3002
|
|
301
|
+
|
|
282
302
|
NOITEMS_MULTIVIEW_LR_SMARTTABLE_WITH_FILTER=\u6240\u9078\u7BE9\u9078\u6E96\u5247\u548C\u8868\u683C\u6AA2\u8996\u6C92\u6709\u8CC7\u6599\u3002
|
|
283
303
|
|
|
304
|
+
NOITEMS_MULTIVIEW_LR_SMARTTABLE_WITH_FILTER_ILLUSTRATION_TITLE=\u627E\u4E0D\u5230\u7D50\u679C
|
|
305
|
+
|
|
306
|
+
NOITEMS_MULTIVIEW_LR_SMARTTABLE_WITH_FILTER_ILLUSTRATION_DESCRIPTION=\u8ACB\u5617\u8A66\u66F4\u6539\u6AA2\u8996\u6216\u7BE9\u9078\u6E96\u5247\u3002
|
|
307
|
+
|
|
284
308
|
ST_GENERIC_DELETE_WITH_WARNING_SUGGESTION_SINGULAR=\u63D0\u793A\uFF1A\u82E5\u8981\u5FFD\u7565\u8B66\u544A\uFF0C\u8ACB\u500B\u5225\u522A\u9664\u7269\u4EF6\u3002
|
|
285
309
|
|
|
286
310
|
ST_GENERIC_DELETE_WITH_WARNING_SUGGESTION_PLURAL=\u63D0\u793A\uFF1A\u82E5\u8981\u5FFD\u7565\u8B66\u544A\uFF0C\u8ACB\u500B\u5225\u522A\u9664\u7269\u4EF6\u3002
|
|
@@ -460,13 +484,13 @@ RTA_CONTEXT_MENU_CONFIG=\u7D44\u614B
|
|
|
460
484
|
|
|
461
485
|
EASY_FILL_TITLE=\u7C21\u6613\u586B\u5165
|
|
462
486
|
|
|
463
|
-
EASY_FILL_FIRST_LABEL_TEXT=\u60A8\u53EF\u4F7F\u7528 [\u7C21\u6613\u586B\u5165] \
|
|
487
|
+
EASY_FILL_FIRST_LABEL_TEXT=\u60A8\u53EF\u4F7F\u7528 [\u7C21\u6613\u586B\u5165] \u4EE5\u540C\u6642\u586B\u5165\u591A\u500B\u6B04\u4F4D\u3002
|
|
464
488
|
|
|
465
|
-
EASY_FILL_SECOND_LABEL_TEXT=\u4F7F\u7528\u8A66\u7B97\u8868\u3001\u8A3B\u8A18\u548C\u96FB\u5B50\u90F5\u4EF6\u7B49\u8CC7\u6599\u4F86\u6E90\u586B\u5165\u6B04\u4F4D\uFF0C\u6216\u662F\u6E05\u695A\u8AAA\u660E\u60A8\u8981\u586B\u5165\u7684\u8CC7\u8A0A\uFF0C\u7136\u5F8C\
|
|
489
|
+
EASY_FILL_SECOND_LABEL_TEXT=\u60A8\u53EF\u4F7F\u7528\u8A66\u7B97\u8868\u3001\u8A3B\u8A18\u548C\u96FB\u5B50\u90F5\u4EF6\u7B49\u8CC7\u6599\u4F86\u6E90\u586B\u5165\u6B04\u4F4D\uFF0C\u6216\u662F\u6E05\u695A\u8AAA\u660E\u60A8\u8981\u586B\u5165\u7684\u8CC7\u8A0A\uFF0C\u7136\u5F8C\u9078\u64C7 [\u7C21\u6613\u586B\u5165]\u3002
|
|
466
490
|
|
|
467
491
|
EASY_FILL_TEXTAREA_PLACEHOLDER=\u4F7F\u7528\u8CC7\u6599\u4F86\u6E90\u6216\u662F\u900F\u904E\u8F38\u5165\u4F86\u63D0\u4F9B\u6240\u9700\u8CC7\u8A0A
|
|
468
492
|
|
|
469
|
-
EASY_FILL_ILLUSTRATION_TITLE_INITIAL=\u586B\u5165\u90E8\u4EFD\u6B04\u4F4D
|
|
493
|
+
EASY_FILL_ILLUSTRATION_TITLE_INITIAL=\u586B\u5165\u90E8\u4EFD\u6B04\u4F4D\u3002
|
|
470
494
|
|
|
471
495
|
EASY_FILL_ILLUSTRATION_DESCRIPTION_INITIAL=\u9996\u5148\u63D0\u4F9B\u6240\u9700\u8CC7\u8A0A\u4EE5\u67E5\u770B\u5EFA\u8B70\u7684\u7D50\u679C\u3002
|
|
472
496
|
|
|
@@ -474,11 +498,11 @@ EASY_FILL_ILLUSTRATION_TITLE_NO_ENTRIES=\u672A\u586B\u5165\u6B04\u4F4D
|
|
|
474
498
|
|
|
475
499
|
EASY_FILL_ILLUSTRATION_DESCRIPTION_NO_ENTRIES=\u6211\u5011\u7121\u6CD5\u5C07\u60A8\u7684\u67E5\u8A62\u8207\u73FE\u6709\u6B04\u4F4D\u9032\u884C\u6BD4\u5C0D\u3002
|
|
476
500
|
|
|
477
|
-
EASY_FILL_ILLUSTRATION_TITLE_ERROR=\u7121\u6CD5\u586B\u5165\u6B04\u4F4D
|
|
501
|
+
EASY_FILL_ILLUSTRATION_TITLE_ERROR=\u7121\u6CD5\u586B\u5165\u6B04\u4F4D\u3002
|
|
478
502
|
|
|
479
503
|
EASY_FILL_ILLUSTRATION_DESCRIPTION_ERROR=\u4F3C\u4E4E\u767C\u751F\u932F\u8AA4\uFF0C\u8ACB\u518D\u8A66\u4E00\u6B21\uFF1B\u82E5\u7121\u6CD5\u89E3\u6C7A\u554F\u984C\uFF0C\u8ACB\u806F\u7D61\u7BA1\u7406\u54E1\u3002
|
|
480
504
|
|
|
481
|
-
|
|
505
|
+
EASY_FILL_CONFIRM=\u78BA\u8A8D
|
|
482
506
|
|
|
483
507
|
AI_LINK_NOTICE_TITLE=\u5DF2\u4F7F\u7528 AI \u5EFA\u7ACB\u3002
|
|
484
508
|
|
|
@@ -475,6 +475,16 @@ sap.ui.define(["sap/suite/ui/generic/template/genericUtilities/metadataAnalyser"
|
|
|
475
475
|
var aTitleText = sTitleText.split('(');
|
|
476
476
|
sTitleText = aTitleText[0].trim();
|
|
477
477
|
}
|
|
478
|
+
if (!sTitleText) {
|
|
479
|
+
// Fallback to check customData for "headerTitle" value
|
|
480
|
+
var aCustomData = oCardDefinition['currentControlHandler'].getCustomData()
|
|
481
|
+
.filter(function(entry) {
|
|
482
|
+
return entry.getKey() === "headerTitle";
|
|
483
|
+
});
|
|
484
|
+
if (aCustomData.length) {
|
|
485
|
+
sTitleText = aCustomData[0].getValue();
|
|
486
|
+
}
|
|
487
|
+
}
|
|
478
488
|
var sCountPath = "__count";
|
|
479
489
|
var sText = {
|
|
480
490
|
text: "{= ${" + sCountPath + "} === '0' ? '' : ${" + sCountPath + "} }"
|
|
@@ -900,6 +900,11 @@ sap.ui.define(["sap/ui/base/Object",
|
|
|
900
900
|
var oIntentAndAllAppStatesPromise = Promise.all(aIntentAppStatePromises);
|
|
901
901
|
var fnAdjustNavigationHierarchy = function(){
|
|
902
902
|
oTemplateContract.oShellServicePromise.then(function(oShellService){
|
|
903
|
+
// When the FE app is embedded within the Inbox app, the Inbox provides a stub implementation
|
|
904
|
+
// of the ShellUIService. In that case, the call to "oShellService.setHierarchy()" operates
|
|
905
|
+
// on this stub service (and not the actual ShellUIService).
|
|
906
|
+
//
|
|
907
|
+
// For more details, refer to AppComponent#fnGetShellUIServicePromise.
|
|
903
908
|
oShellService.setHierarchy([]);
|
|
904
909
|
oIntentAndAllAppStatesPromise.then(function(aIntent){
|
|
905
910
|
var sCurrentIntent = aIntent[0];
|
|
@@ -3223,7 +3228,7 @@ sap.ui.define(["sap/ui/base/Object",
|
|
|
3223
3228
|
* @param {sap.suite.ui.generic.template.lib.AppComponent} oAppComponent The AppComponent instance
|
|
3224
3229
|
* @public
|
|
3225
3230
|
* @extends sap.ui.base.Object
|
|
3226
|
-
* @version 1.
|
|
3231
|
+
* @version 1.143.0
|
|
3227
3232
|
* @since 1.30.0
|
|
3228
3233
|
* @alias sap.suite.ui.generic.template.lib.NavigationController
|
|
3229
3234
|
*/
|
|
@@ -8,7 +8,7 @@ sap.ui.define([
|
|
|
8
8
|
// Immutable instance attributes
|
|
9
9
|
var oInnerChart;
|
|
10
10
|
/* In multi-table case, the SmartChart is not yet initialized. SmartChart throws error while calling getChartAsync() before initialization.
|
|
11
|
-
So waiting for the initialized event and then calling getChartAsync().
|
|
11
|
+
So waiting for the initialized event and then calling getChartAsync().
|
|
12
12
|
*/
|
|
13
13
|
oSmartChart.isInitialised() ? fnInitInnerChart() : oSmartChart.attachInitialized(fnInitInnerChart);
|
|
14
14
|
|
|
@@ -30,7 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
|
-
|
|
33
|
+
|
|
34
34
|
function fnGetAvailableChartTypes() {
|
|
35
35
|
return oSmartChart.getAvailableChartTypes();
|
|
36
36
|
}
|
|
@@ -42,7 +42,7 @@ sap.ui.define([
|
|
|
42
42
|
function fnGetInnerChart() {
|
|
43
43
|
return oInnerChart;
|
|
44
44
|
}
|
|
45
|
-
|
|
45
|
+
|
|
46
46
|
function fnGetBindingPath() {
|
|
47
47
|
return oSmartChart.getChartBindingPath();
|
|
48
48
|
}
|
|
@@ -95,14 +95,14 @@ sap.ui.define([
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
function fnSetEnabledToolbarButtons() {
|
|
98
|
-
/* TODO: the only information retrieved from the control itself is the selected contexts, its model and the toolbar. For this, we already have methods in this
|
|
98
|
+
/* TODO: the only information retrieved from the control itself is the selected contexts, its model and the toolbar. For this, we already have methods in this
|
|
99
99
|
class, so ideally, this information should be passed to a corresponding method in commonUtils, that would not need to know the presentationControl.
|
|
100
100
|
So, setEnabledToolbarButtons method in commonUtils should be refactored accordingly. */
|
|
101
101
|
return oCommonUtils.setEnabledToolbarButtons(oSmartChart);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
function fnSetEnabledFooterButtons() {
|
|
105
|
-
/* TODO: the only information retrieved from the control itself is the selected contexts and the entity set. So ideally, this information should be passed to a
|
|
105
|
+
/* TODO: the only information retrieved from the control itself is the selected contexts and the entity set. So ideally, this information should be passed to a
|
|
106
106
|
corresponding method in commonUtils, that would not need to know the presentationControl. So, setEnabledFooterButtons method in commonUtils should be refactored
|
|
107
107
|
accordingly.*/
|
|
108
108
|
return oCommonUtils.setEnabledFooterButtons(oSmartChart);
|
|
@@ -143,6 +143,10 @@ sap.ui.define([
|
|
|
143
143
|
function getToolbar(){
|
|
144
144
|
return oSmartChart.getToolbar();
|
|
145
145
|
}
|
|
146
|
+
|
|
147
|
+
function fnGetCustomData() {
|
|
148
|
+
return oSmartChart.getCustomData();
|
|
149
|
+
}
|
|
146
150
|
// public instance methods
|
|
147
151
|
return {
|
|
148
152
|
getBinding: fnGetBinding,
|
|
@@ -164,6 +168,7 @@ sap.ui.define([
|
|
|
164
168
|
rebind: fnRebind,
|
|
165
169
|
applyNavigationSortOrder: fnApplyNavigationSortOrder,
|
|
166
170
|
getToolbar: getToolbar,
|
|
171
|
+
getCustomData: fnGetCustomData,
|
|
167
172
|
scrollToSelectedItemAsPerChildContext: Function.prototype,
|
|
168
173
|
getPressedItemParameter: Function.prototype,
|
|
169
174
|
getInitializationPromise: fnGetInitializationPromise
|
|
@@ -33,7 +33,11 @@ sap.ui.define([
|
|
|
33
33
|
function getToolbar(){
|
|
34
34
|
return oSmartList.getToolbar();
|
|
35
35
|
}
|
|
36
|
-
|
|
36
|
+
|
|
37
|
+
function fnGetCustomData() {
|
|
38
|
+
return oSmartList.getCustomData();
|
|
39
|
+
}
|
|
40
|
+
|
|
37
41
|
function fnGetInitializationPromise() {
|
|
38
42
|
return Promise.resolve();
|
|
39
43
|
}
|
|
@@ -56,6 +60,7 @@ sap.ui.define([
|
|
|
56
60
|
refresh: fnRefresh,
|
|
57
61
|
rebind: Function.prototype,
|
|
58
62
|
getToolbar: getToolbar,
|
|
63
|
+
getCustomData: fnGetCustomData,
|
|
59
64
|
applyNavigationSortOrder: Function.prototype, // no way to set the sort order in the smart list
|
|
60
65
|
scrollToSelectedItemAsPerChildContext: Function.prototype,
|
|
61
66
|
getPressedItemParameter: Function.prototype,
|
|
@@ -8,7 +8,7 @@ sap.ui.define([
|
|
|
8
8
|
"sap/m/plugins/CellSelector"
|
|
9
9
|
], function(BaseObject, extend, ManagedObjectModel, controlHelper, expressionHelper, testableHelper, CellSelector) {
|
|
10
10
|
"use strict";
|
|
11
|
-
|
|
11
|
+
|
|
12
12
|
function getMethods(oController, oCommonUtils, oComponentUtils, oSmartTable) {
|
|
13
13
|
// Immutable instance attributes
|
|
14
14
|
var oInnerTable = oSmartTable.getTable();
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
var bIsTreeTable = controlHelper.isTreeTable(oInnerTable);
|
|
18
18
|
var sEntryAggregationName = bIsUiTable ? "rows" : "items";
|
|
19
19
|
var oCellSelector;
|
|
20
|
-
|
|
20
|
+
|
|
21
21
|
function fnGetBinding() {
|
|
22
22
|
return oInnerTable.getBinding(sEntryAggregationName);
|
|
23
23
|
}
|
|
@@ -33,7 +33,7 @@ sap.ui.define([
|
|
|
33
33
|
function getSelectedIndicesForUiTable() {
|
|
34
34
|
var oSelectionPlugin = controlHelper.getSelectionPluginForUITable(oInnerTable);
|
|
35
35
|
var aIndex = (oSelectionPlugin || oInnerTable).getSelectedIndices();
|
|
36
|
-
return aIndex || []; // getSelectedIndices() doesn't return anything if rows are not loaded
|
|
36
|
+
return aIndex || []; // getSelectedIndices() doesn't return anything if rows are not loaded
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
function fnIndicesToContexts(aIndices){ // only valid for UiTables
|
|
@@ -44,22 +44,22 @@ sap.ui.define([
|
|
|
44
44
|
aRet.push(oContext);
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
|
-
return aRet;
|
|
47
|
+
return aRet;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
function fnGetSelectedContexts() {
|
|
51
51
|
if (bIsMTable) {
|
|
52
52
|
return oInnerTable.getSelectedContexts();
|
|
53
|
-
}
|
|
53
|
+
}
|
|
54
54
|
// UiTable
|
|
55
55
|
var aIndices = getSelectedIndicesForUiTable();
|
|
56
56
|
return fnIndicesToContexts(aIndices);
|
|
57
57
|
}
|
|
58
|
-
|
|
58
|
+
|
|
59
59
|
// This is done on basis of best effort. If no list binding is there currently a faulty value is returned. For special table types (TreeTable, Analytical table) the result
|
|
60
60
|
// might be problematic (could be faulty or an array containing faulty entries).
|
|
61
61
|
function getCurrentContexts(){
|
|
62
|
-
var oListBinding = fnGetBinding();
|
|
62
|
+
var oListBinding = fnGetBinding();
|
|
63
63
|
if (!oListBinding){
|
|
64
64
|
return null;
|
|
65
65
|
}
|
|
@@ -72,7 +72,7 @@ sap.ui.define([
|
|
|
72
72
|
}
|
|
73
73
|
return aRet;
|
|
74
74
|
}
|
|
75
|
-
|
|
75
|
+
|
|
76
76
|
return oListBinding.getAllCurrentContexts();
|
|
77
77
|
}
|
|
78
78
|
|
|
@@ -97,20 +97,20 @@ sap.ui.define([
|
|
|
97
97
|
}
|
|
98
98
|
return aSortOrder;
|
|
99
99
|
}
|
|
100
|
-
|
|
100
|
+
|
|
101
101
|
function fnGetItems() {
|
|
102
102
|
return oInnerTable.getAggregation(sEntryAggregationName);
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
function fnSetEnabledToolbarButtons() {
|
|
106
|
-
/* TODO: the only information retrieved from the control itself is the selected contexts, its model and the toolbar. For this, we already have methods in this
|
|
106
|
+
/* TODO: the only information retrieved from the control itself is the selected contexts, its model and the toolbar. For this, we already have methods in this
|
|
107
107
|
class, so ideally, this information should be passed to a corresponding method in commonUtils, that would not need to know the presentationControl.
|
|
108
108
|
So, setEnabledToolbarButtons method in commonUtils should be refactored accordingly. */
|
|
109
109
|
return oCommonUtils.setEnabledToolbarButtons(oSmartTable);
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
function fnSetEnabledFooterButtons() {
|
|
113
|
-
/* TODO: the only information retrieved from the control itself is the selected contexts and the entity set. So ideally, this information should be passed to a
|
|
113
|
+
/* TODO: the only information retrieved from the control itself is the selected contexts and the entity set. So ideally, this information should be passed to a
|
|
114
114
|
corresponding method in commonUtils, that would not need to know the presentationControl. So, setEnabledFooterButtons method in commonUtils should be refactored
|
|
115
115
|
accordingly.*/
|
|
116
116
|
return oCommonUtils.setEnabledFooterButtons(oSmartTable);
|
|
@@ -127,7 +127,7 @@ sap.ui.define([
|
|
|
127
127
|
function fnGetBindingInfo() {
|
|
128
128
|
return oInnerTable.getBindingInfo(sEntryAggregationName);
|
|
129
129
|
}
|
|
130
|
-
|
|
130
|
+
|
|
131
131
|
function fnHandleReceivedEvent(fnResolve, fnReject, oEvent){
|
|
132
132
|
fnResolve(oEvent);
|
|
133
133
|
}
|
|
@@ -154,7 +154,7 @@ sap.ui.define([
|
|
|
154
154
|
}
|
|
155
155
|
if (!bNoMessageRefresh && oController.getView().getModel("ui").getProperty("/editable")) {
|
|
156
156
|
oComponentUtils.messagesRefresh(sBatchGroupId);
|
|
157
|
-
}
|
|
157
|
+
}
|
|
158
158
|
});
|
|
159
159
|
} else {
|
|
160
160
|
return fnRebind();
|
|
@@ -211,7 +211,7 @@ sap.ui.define([
|
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
|
|
214
|
+
|
|
215
215
|
//Accepts row context object and returns the index of Grid Table row
|
|
216
216
|
function getGridTableRowIndexFromContext(oContext) {
|
|
217
217
|
var sRowPath = oContext.getPath();
|
|
@@ -233,7 +233,7 @@ sap.ui.define([
|
|
|
233
233
|
//Accepts row context in Grid Table and returns the Grid table row
|
|
234
234
|
function getGridTableRow(oContext) {
|
|
235
235
|
var iFirstVisibleRowIndex = oInnerTable.getFirstVisibleRow();
|
|
236
|
-
// TODO This logic needs to be updated while adding "rowMode" aggregation to grid table
|
|
236
|
+
// TODO This logic needs to be updated while adding "rowMode" aggregation to grid table
|
|
237
237
|
var iVisibleRowCount = oInnerTable.getRows().length;
|
|
238
238
|
var sRowPath = oContext.getPath();
|
|
239
239
|
for (var i = 0; i < iVisibleRowCount; i++) {
|
|
@@ -266,13 +266,13 @@ sap.ui.define([
|
|
|
266
266
|
return aColumns[iIndex];
|
|
267
267
|
}
|
|
268
268
|
}
|
|
269
|
-
|
|
269
|
+
|
|
270
270
|
// Returns the label for the specified column. Thereby vColumnDef is either an instance of sap..Column or a string (namely the ColumnKey).
|
|
271
271
|
function getColumnLabel(vColumnDef){
|
|
272
272
|
// Use a private api of SmartTable until they provide a better method
|
|
273
|
-
return oSmartTable._getColumnLabel(vColumnDef);
|
|
273
|
+
return oSmartTable._getColumnLabel(vColumnDef);
|
|
274
274
|
}
|
|
275
|
-
|
|
275
|
+
|
|
276
276
|
// Expose selected private functions to unit tests
|
|
277
277
|
/* eslint-disable */
|
|
278
278
|
testableHelper.testable(getGridTableRow, "getGridTableRow");
|
|
@@ -283,11 +283,11 @@ sap.ui.define([
|
|
|
283
283
|
var oRet = controlHelper.searchInTree(oTableRow, function(oControl){
|
|
284
284
|
return controlHelper.isSmartField(oControl) ? controlHelper.getSmartFieldIsFocussableForInputPromise(oControl).then(function(bIsFocussable){
|
|
285
285
|
return bIsFocussable && oControl;
|
|
286
|
-
}) : null;
|
|
286
|
+
}) : null;
|
|
287
287
|
});
|
|
288
288
|
return Promise.resolve(oRet);
|
|
289
289
|
}
|
|
290
|
-
|
|
290
|
+
|
|
291
291
|
function setFocusOnFirstEditableFieldInTableRowImpl(oTableRow){
|
|
292
292
|
getFirstFocussableInputForRow(oTableRow).then(function(oTarget){
|
|
293
293
|
controlHelper.focusUI5Control(oTarget || oTableRow); // if no focussable cell could be found, focus on the whole row
|
|
@@ -299,7 +299,7 @@ sap.ui.define([
|
|
|
299
299
|
var oTableRow = aItems.find(function(oItem){
|
|
300
300
|
return oContext.getPath() === oItem.getBindingContext().getPath();
|
|
301
301
|
});
|
|
302
|
-
return oTableRow;
|
|
302
|
+
return oTableRow;
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
function fnSetFocusOnFirstEditableFieldInTableRow(oContext){
|
|
@@ -321,30 +321,30 @@ sap.ui.define([
|
|
|
321
321
|
}, 0);
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
|
-
}
|
|
325
|
-
|
|
324
|
+
}
|
|
325
|
+
|
|
326
326
|
function getFirstFocussableEditableCellPromise(){
|
|
327
327
|
return new Promise(function(fnResolve, fnReject){
|
|
328
328
|
fnExecuteWhenUnbusy(function(){
|
|
329
329
|
Promise.resolve(controlHelper.searchInTree(oInnerTable, function(oControl){
|
|
330
330
|
if (controlHelper.isSmartField(oControl)){ // check whether the SmartField is the correct target for focussing
|
|
331
331
|
return controlHelper.getSmartFieldIsFocussableForInputPromise(oControl).then(function(bIsFocussable){
|
|
332
|
-
return bIsFocussable && oControl; // If the SmartField has turned out to be focussable take it. Otherwise no need to investigate the subtree below it.
|
|
332
|
+
return bIsFocussable && oControl; // If the SmartField has turned out to be focussable take it. Otherwise no need to investigate the subtree below it.
|
|
333
333
|
});
|
|
334
334
|
}
|
|
335
335
|
})).then(fnResolve);
|
|
336
336
|
});
|
|
337
337
|
});
|
|
338
338
|
}
|
|
339
|
-
|
|
339
|
+
|
|
340
340
|
function getThreshold(){
|
|
341
341
|
return bIsMTable ? oInnerTable.getGrowingThreshold() : oInnerTable.getThreshold();
|
|
342
342
|
}
|
|
343
|
-
|
|
343
|
+
|
|
344
344
|
function getDataStateIndicator(){
|
|
345
345
|
return oSmartTable.getDataStateIndicator();
|
|
346
346
|
}
|
|
347
|
-
|
|
347
|
+
|
|
348
348
|
function isMTable(){
|
|
349
349
|
return bIsMTable;
|
|
350
350
|
}
|
|
@@ -353,6 +353,10 @@ sap.ui.define([
|
|
|
353
353
|
return oSmartTable.getToolbar();
|
|
354
354
|
}
|
|
355
355
|
|
|
356
|
+
function fnGetCustomData() {
|
|
357
|
+
return oSmartTable.getCustomData();
|
|
358
|
+
}
|
|
359
|
+
|
|
356
360
|
function fnGetTitleInfoForItem(oItemContext){
|
|
357
361
|
if (!oItemContext) {
|
|
358
362
|
return;
|
|
@@ -366,7 +370,7 @@ sap.ui.define([
|
|
|
366
370
|
oAnnotationFormatter.done();
|
|
367
371
|
oAnnotationFormatter = expressionHelper.getAnnotationFormatter(oModel, sEntitySet, "/com.sap.vocabularies.UI.v1.HeaderInfo/Description/Value", oRb);
|
|
368
372
|
var sSubTitle = oAnnotationFormatter.format(oItemContext);
|
|
369
|
-
oAnnotationFormatter.done();
|
|
373
|
+
oAnnotationFormatter.done();
|
|
370
374
|
return {
|
|
371
375
|
title: sTitle,
|
|
372
376
|
subTitle: sSubTitle
|
|
@@ -439,12 +443,12 @@ sap.ui.define([
|
|
|
439
443
|
var aSelectedContexts = fnGetSelectedContexts();
|
|
440
444
|
var bIsFocussedContextSelected = !!oFocussedBindingContext && aSelectedContexts.indexOf(oFocussedBindingContext) >= 0;
|
|
441
445
|
var bDoesApplicableEqualSelected = bIsFocussedContextSelected || !oFocussedBindingContext;
|
|
442
|
-
var aApplicableContexts = bDoesApplicableEqualSelected ? aSelectedContexts : [oFocussedBindingContext];
|
|
446
|
+
var aApplicableContexts = bDoesApplicableEqualSelected ? aSelectedContexts : [oFocussedBindingContext];
|
|
443
447
|
return {
|
|
444
448
|
focussedBindingContext: oFocussedBindingContext,
|
|
445
449
|
applicableContexts: aApplicableContexts,
|
|
446
450
|
doesApplicableEqualSelected: bDoesApplicableEqualSelected
|
|
447
|
-
};
|
|
451
|
+
};
|
|
448
452
|
}
|
|
449
453
|
|
|
450
454
|
/**
|
|
@@ -562,7 +566,7 @@ sap.ui.define([
|
|
|
562
566
|
* 2. Remove fields which are UI Hidden
|
|
563
567
|
* 3. Ignore technical fields such as "IsActiveEntity", "DraftUUID"
|
|
564
568
|
* 4. Generate field properties for relevant fields and return them
|
|
565
|
-
* @param {sap.ui.model.odata.v2.Context} oItemContext
|
|
569
|
+
* @param {sap.ui.model.odata.v2.Context} oItemContext
|
|
566
570
|
*/
|
|
567
571
|
function fnGetRelevantColumnsForMessage(oItemContext){
|
|
568
572
|
if (!oItemContext) {
|
|
@@ -671,6 +675,7 @@ sap.ui.define([
|
|
|
671
675
|
getThreshold: getThreshold,
|
|
672
676
|
getDataStateIndicator: getDataStateIndicator,
|
|
673
677
|
getToolbar: getToolbar,
|
|
678
|
+
getCustomData: fnGetCustomData,
|
|
674
679
|
getTitleInfoForItem: fnGetTitleInfoForItem,
|
|
675
680
|
isLengthFinal: fnIsLengthFinal,
|
|
676
681
|
focusOnFirstTransientRow: fnFocusOnFirstTransientRow,
|