@sapui5/sap.suite.ui.generic.template 1.141.2 → 1.142.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 +3 -2
- 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_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/fragments/MessagePopover.fragment.xml +1 -1
- 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/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 -13
- 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 +14 -6
- 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
|
@@ -43,7 +43,7 @@ MESSAGE_SINGLE_VALUE_L_FORM=O filtro "{0}" n\u00E3o \u00E9 relevante para a fich
|
|
|
43
43
|
|
|
44
44
|
MESSAGE_SINGLE_VALUE_S_FORM=N\u00E3o \u00E9 poss\u00EDvel filtrar por "{0}" na ficha "{1}".
|
|
45
45
|
|
|
46
|
-
MULTI_EDIT=
|
|
46
|
+
MULTI_EDIT=Editar
|
|
47
47
|
|
|
48
48
|
MULTI_EDIT_DIALOG_TITLE=Editar ({0})
|
|
49
49
|
|
|
@@ -63,6 +63,9 @@ OBJECT_NOT_EDITABLE=Este objeto n\u00E3o pode ser editado.
|
|
|
63
63
|
|
|
64
64
|
NODATA_SMARTTABLE_LR=P/come\u00E7ar, defina filtros relevantes e selecione "Iniciar".
|
|
65
65
|
|
|
66
|
+
NODATA_SMARTTABLE_LR_ILLUSTRATION_TITLE=Vamos obter alguns resultados
|
|
67
|
+
NODATA_SMARTTABLE_LR_ILLUSTRATION_DESCRIPTION=Comece por fornecer seus crit\u00E9rios de pesquisa ou de filtro.
|
|
68
|
+
|
|
66
69
|
SEARCH_FILTERS_KEYBOARD_SHORTCUT_DESC=Ir
|
|
67
70
|
|
|
68
71
|
|
|
@@ -63,6 +63,9 @@ OBJECT_NOT_EDITABLE=Este objeto n\u00E3o pode ser eliminado.
|
|
|
63
63
|
|
|
64
64
|
NODATA_SMARTTABLE_LR=Para come\u00E7ar, defina os filtros relevantes e escolha \u201CIr\u201D.
|
|
65
65
|
|
|
66
|
+
NODATA_SMARTTABLE_LR_ILLUSTRATION_TITLE=Vamos obter alguns resultados
|
|
67
|
+
NODATA_SMARTTABLE_LR_ILLUSTRATION_DESCRIPTION=Comece por fornecer os seus crit\u00E9rios de pesquisa ou de filtragem.
|
|
68
|
+
|
|
66
69
|
SEARCH_FILTERS_KEYBOARD_SHORTCUT_DESC=Ir
|
|
67
70
|
|
|
68
71
|
|
|
@@ -63,6 +63,9 @@ OBJECT_NOT_EDITABLE=Acest obiect nu poate fi editat.
|
|
|
63
63
|
|
|
64
64
|
NODATA_SMARTTABLE_LR=Seta\u021Bi \u00EEnt\u00E2i filtrele relevante \u0219i alege\u021Bi "Lansare".
|
|
65
65
|
|
|
66
|
+
NODATA_SMARTTABLE_LR_ILLUSTRATION_TITLE=S\u0103 ob\u021Binem ni\u0219te rezultate
|
|
67
|
+
NODATA_SMARTTABLE_LR_ILLUSTRATION_DESCRIPTION=\u00CEncepe\u021Bi prin indicarea criteriilor de c\u0103utare sau filtrare.
|
|
68
|
+
|
|
66
69
|
SEARCH_FILTERS_KEYBOARD_SHORTCUT_DESC=Lansare
|
|
67
70
|
|
|
68
71
|
|
|
@@ -63,6 +63,9 @@ OBJECT_NOT_EDITABLE=\u042D\u0442\u043E\u0442 \u043E\u0431\u044A\u0435\u043A\u044
|
|
|
63
63
|
|
|
64
64
|
NODATA_SMARTTABLE_LR=\u0427\u0442\u043E\u0431\u044B \u043D\u0430\u0447\u0430\u0442\u044C, \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0435 \u0440\u0435\u043B\u0435\u0432\u0430\u043D\u0442\u043D\u044B\u0435 \u0444\u0438\u043B\u044C\u0442\u0440\u044B \u0438 \u043D\u0430\u0436\u043C\u0438\u0442\u0435 "\u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C".
|
|
65
65
|
|
|
66
|
+
NODATA_SMARTTABLE_LR_ILLUSTRATION_TITLE=\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043F\u043E\u043B\u0443\u0447\u0438\u043C \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B
|
|
67
|
+
NODATA_SMARTTABLE_LR_ILLUSTRATION_DESCRIPTION=\u0421\u043D\u0430\u0447\u0430\u043B\u0430 \u0443\u043A\u0430\u0436\u0438\u0442\u0435 \u043A\u0440\u0438\u0442\u0435\u0440\u0438\u0438 \u043F\u043E\u0438\u0441\u043A\u0430 \u0438\u043B\u0438 \u0444\u0438\u043B\u044C\u0442\u0440\u0430.
|
|
68
|
+
|
|
66
69
|
SEARCH_FILTERS_KEYBOARD_SHORTCUT_DESC=\u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C
|
|
67
70
|
|
|
68
71
|
|
|
@@ -63,6 +63,9 @@ OBJECT_NOT_EDITABLE=Ovaj objekat se ne mo\u017Ee urediti.
|
|
|
63
63
|
|
|
64
64
|
NODATA_SMARTTABLE_LR=Da biste po\u010Deli, postavite relev.filtere i izaberite \u201EIdi\u201C.
|
|
65
65
|
|
|
66
|
+
NODATA_SMARTTABLE_LR_ILLUSTRATION_TITLE=Do\u0111imo do rezultata
|
|
67
|
+
NODATA_SMARTTABLE_LR_ILLUSTRATION_DESCRIPTION=Prvo unesite kriterijume tra\u017Eenja ili filtera.
|
|
68
|
+
|
|
66
69
|
SEARCH_FILTERS_KEYBOARD_SHORTCUT_DESC=Idi
|
|
67
70
|
|
|
68
71
|
|
|
@@ -63,6 +63,9 @@ OBJECT_NOT_EDITABLE=Tento objekt nie je mo\u017En\u00E9 upravi\u0165.
|
|
|
63
63
|
|
|
64
64
|
NODATA_SMARTTABLE_LR=Pre spustenie nastavte relevantn\u00E9 filtre a zvo\u013Ete Spusti\u0165.
|
|
65
65
|
|
|
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.
|
|
68
|
+
|
|
66
69
|
SEARCH_FILTERS_KEYBOARD_SHORTCUT_DESC=Spusti\u0165
|
|
67
70
|
|
|
68
71
|
|
|
@@ -63,6 +63,9 @@ OBJECT_NOT_EDITABLE=Tega objekta ni mogo\u010De urejati.
|
|
|
63
63
|
|
|
64
64
|
NODATA_SMARTTABLE_LR=Za za\u010Detek nastavite ustrezne filtre in izberite "Pojdi".
|
|
65
65
|
|
|
66
|
+
NODATA_SMARTTABLE_LR_ILLUSTRATION_TITLE=Poskrbimo za rezultate
|
|
67
|
+
NODATA_SMARTTABLE_LR_ILLUSTRATION_DESCRIPTION=Najprej navedite pogoje iskanja ali filtriranja.
|
|
68
|
+
|
|
66
69
|
SEARCH_FILTERS_KEYBOARD_SHORTCUT_DESC=Pojdi
|
|
67
70
|
|
|
68
71
|
|
|
@@ -63,6 +63,9 @@ OBJECT_NOT_EDITABLE=\u041E\u0432\u0430\u0458 \u043E\u0431\u0458\u0435\u043A\u043
|
|
|
63
63
|
|
|
64
64
|
NODATA_SMARTTABLE_LR=\u0414\u0430 \u0431\u0438\u0441\u0442\u0435 \u043F\u043E\u0447\u0435\u043B\u0438, \u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u0435 \u0440\u0435\u043B\u0435\u0432.\u0444\u0438\u043B\u0442\u0435\u0440\u0435 \u0438 \u0438\u0437\u0430\u0431\u0435\u0440\u0438\u0442\u0435 \u201E\u0418\u0434\u0438\u201C.
|
|
65
65
|
|
|
66
|
+
NODATA_SMARTTABLE_LR_ILLUSTRATION_TITLE=\u0414\u043E\u0452\u0438\u043C\u043E \u0434\u043E \u0440\u0435\u0437\u0443\u043B\u0442\u0430\u0442\u0430
|
|
67
|
+
NODATA_SMARTTABLE_LR_ILLUSTRATION_DESCRIPTION=\u041F\u0440\u0432\u043E \u0443\u043D\u0435\u0441\u0438\u0442\u0435 \u043A\u0440\u0438\u0442\u0435\u0440\u0438\u0458\u0443\u043C\u0435 \u0442\u0440\u0430\u0436\u0435\u045A\u0430 \u0438\u043B\u0438 \u0444\u0438\u043B\u0442\u0435\u0440\u0430.
|
|
68
|
+
|
|
66
69
|
SEARCH_FILTERS_KEYBOARD_SHORTCUT_DESC=\u0418\u0434\u0438
|
|
67
70
|
|
|
68
71
|
|
|
@@ -63,6 +63,9 @@ OBJECT_NOT_EDITABLE=Detta objekt kan inte redigeras.
|
|
|
63
63
|
|
|
64
64
|
NODATA_SMARTTABLE_LR=Ange relevanta filter och klicka p\u00E5 "OK" f\u00F6r att starta.
|
|
65
65
|
|
|
66
|
+
NODATA_SMARTTABLE_LR_ILLUSTRATION_TITLE=Ta fram resultat
|
|
67
|
+
NODATA_SMARTTABLE_LR_ILLUSTRATION_DESCRIPTION=Starta genom att ange s\u00F6k- eller filterkriterier.
|
|
68
|
+
|
|
66
69
|
SEARCH_FILTERS_KEYBOARD_SHORTCUT_DESC=OK
|
|
67
70
|
|
|
68
71
|
|
|
@@ -63,6 +63,9 @@ OBJECT_NOT_EDITABLE=\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E41
|
|
|
63
63
|
|
|
64
64
|
NODATA_SMARTTABLE_LR=\u0E40\u0E21\u0E37\u0E48\u0E2D\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E40\u0E23\u0E34\u0E48\u0E21\u0E15\u0E49\u0E19 \u0E43\u0E2B\u0E49\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E1F\u0E34\u0E25\u0E40\u0E15\u0E2D\u0E23\u0E4C\u0E17\u0E35\u0E48\u0E40\u0E01\u0E35\u0E48\u0E22\u0E27\u0E02\u0E49\u0E2D\u0E07\u0E41\u0E25\u0E49\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01 "\u0E44\u0E1B"
|
|
65
65
|
|
|
66
|
+
NODATA_SMARTTABLE_LR_ILLUSTRATION_TITLE=\u0E23\u0E31\u0E1A\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C
|
|
67
|
+
NODATA_SMARTTABLE_LR_ILLUSTRATION_DESCRIPTION=\u0E40\u0E23\u0E34\u0E48\u0E21\u0E15\u0E49\u0E19\u0E14\u0E49\u0E27\u0E22\u0E01\u0E32\u0E23\u0E23\u0E30\u0E1A\u0E38\u0E40\u0E01\u0E13\u0E11\u0E4C\u0E01\u0E32\u0E23\u0E04\u0E49\u0E19\u0E2B\u0E32\u0E2B\u0E23\u0E37\u0E2D\u0E1F\u0E34\u0E25\u0E40\u0E15\u0E2D\u0E23\u0E4C\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13
|
|
68
|
+
|
|
66
69
|
SEARCH_FILTERS_KEYBOARD_SHORTCUT_DESC=\u0E44\u0E1B
|
|
67
70
|
|
|
68
71
|
|
|
@@ -63,6 +63,9 @@ OBJECT_NOT_EDITABLE=Bu nesne d\u00FCzenlenemiyor.
|
|
|
63
63
|
|
|
64
64
|
NODATA_SMARTTABLE_LR=Ba\u015Flamak i\u00E7in ili\u015Fkili filtreleri belirleyin ve "Ba\u015Flat"\u0131 se\u00E7in.
|
|
65
65
|
|
|
66
|
+
NODATA_SMARTTABLE_LR_ILLUSTRATION_TITLE=Biraz sonu\u00E7 alal\u0131m
|
|
67
|
+
NODATA_SMARTTABLE_LR_ILLUSTRATION_DESCRIPTION=Arama veya filtre \u00F6l\u00E7\u00FCtlerinizi sa\u011Flayarak ba\u015Flay\u0131n.
|
|
68
|
+
|
|
66
69
|
SEARCH_FILTERS_KEYBOARD_SHORTCUT_DESC=Git
|
|
67
70
|
|
|
68
71
|
|
|
@@ -63,6 +63,9 @@ OBJECT_NOT_EDITABLE=\u0426\u0435\u0439 \u043E\u0431'\u0454\u043A\u0442 \u043D\u0
|
|
|
63
63
|
|
|
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
|
+
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.
|
|
68
|
+
|
|
66
69
|
SEARCH_FILTERS_KEYBOARD_SHORTCUT_DESC=\u041F\u0443\u0441\u043A
|
|
67
70
|
|
|
68
71
|
|
|
@@ -51,9 +51,9 @@ SAVE_MULTI_EDIT=L\u01B0u
|
|
|
51
51
|
|
|
52
52
|
CANCEL_MULTI_EDIT=Hu\u0309y
|
|
53
53
|
|
|
54
|
-
EDIT_REMAINING=
|
|
54
|
+
EDIT_REMAINING=Kg th\u00EA\u0309 h.chi\u0309nh {0} trong s\u00F4\u0301 {1} \u0111.t\u01B0\u01A1\u0323ng. \u0110i\u00EA\u0300u na\u0300y co\u0301 th\u00EA\u0309 xa\u0309y ra n\u00EA\u0301u m\u00F4\u0323t ai \u0111o\u0301 \u0111ang la\u0300m vi\u00EA\u0323c tr\u00EAn \u0111\u00F4\u0301i t\u01B0\u01A1\u0323ng ho\u0103\u0323c n\u00EA\u0301u vi\u00EA\u0323c h.chi\u0309nh kg \u0111c cho phe\u0301p. \n\n Ba\u0323n co\u0301 mu\u00F4\u0301n h.chi\u0309nh \u0111.t\u01B0\u01A1\u0323ng co\u0300n la\u0323i kh\u00F4ng?
|
|
55
55
|
|
|
56
|
-
EDIT_REMAINING_PLURAL=
|
|
56
|
+
EDIT_REMAINING_PLURAL=Kg th\u00EA\u0309 h.chi\u0309nh {0} trong s\u00F4\u0301 {1} \u0111.t\u01B0\u01A1\u0323ng. \u0110i\u00EA\u0300u na\u0300y co\u0301 th\u00EA\u0309 xa\u0309y ra n\u00EA\u0301u m\u00F4\u0323t ai \u0111o\u0301 \u0111ang la\u0300m vi\u00EA\u0323c tr\u00EAn \u0111\u00F4\u0301i t\u01B0\u01A1\u0323ng ho\u0103\u0323c n\u00EA\u0301u vi\u00EA\u0323c h.chi\u0309nh kg \u0111c cho phe\u0301p. \n\n Ba\u0323n co\u0301 mu\u00F4\u0301n h.chi\u0309nh {2} \u0111\u00F4\u0301i t\u01B0\u01A1\u0323ng co\u0300n la\u0323i kh\u00F4ng?
|
|
57
57
|
|
|
58
58
|
MESSAGE_MULTIPLE_VALUES_L_FORM=M\u00F4\u0323t s\u00F4\u0301 b\u00F4\u0323 lo\u0323c kh\u00F4ng li\u00EAn quan \u0111\u00F4\u0301i v\u01A1\u0301i the\u0309 "{1}" ({0}). Thi\u00EA\u0301t l\u00E2\u0323p b\u00F4\u0323 lo\u0323c na\u0300y kh\u00F4ng co\u0301 hi\u00EA\u0323u l\u01B0\u0323c \u0111\u00F4\u0301i v\u01A1\u0301i k\u00EA\u0301t qua\u0309.
|
|
59
59
|
|
|
@@ -63,6 +63,9 @@ OBJECT_NOT_EDITABLE=Kh\u00F4ng th\u00EA\u0309 hi\u00EA\u0323u chi\u0309nh \u0111
|
|
|
63
63
|
|
|
64
64
|
NODATA_SMARTTABLE_LR=\u0110\u00EA\u0309 b\u0103\u0301t \u0111\u00E2\u0300u, ha\u0303y thi\u00EA\u0301t l\u00E2\u0323p b\u00F4\u0323 lo\u0323c co\u0301 li\u00EAn quan va\u0300 cho\u0323n \u201CTi\u00EA\u0301n ha\u0300nh\u201D.
|
|
65
65
|
|
|
66
|
+
NODATA_SMARTTABLE_LR_ILLUSTRATION_TITLE=Chu\u0301ng ta ha\u0303y l\u00E2\u0301y m\u1ED9t s\u00F4\u0301 k\u00EA\u0301t qua\u0309
|
|
67
|
+
NODATA_SMARTTABLE_LR_ILLUSTRATION_DESCRIPTION=B\u1EAFt \u0111\u1EA7u b\u1EB1ng c\u00E1ch cung c\u1EA5p ti\u00EAu ch\u00ED b\u1ED9 l\u1ECDc ho\u1EB7c t\u00ECm ki\u1EBFm c\u1EE7a b\u1EA1n.
|
|
68
|
+
|
|
66
69
|
SEARCH_FILTERS_KEYBOARD_SHORTCUT_DESC=Ti\u1EBFn h\u00E0nh
|
|
67
70
|
|
|
68
71
|
|
|
@@ -63,6 +63,9 @@ OBJECT_NOT_EDITABLE=\u65E0\u6CD5\u7F16\u8F91\u6B64\u5BF9\u8C61\u3002
|
|
|
63
63
|
|
|
64
64
|
NODATA_SMARTTABLE_LR=\u8981\u5F00\u59CB\uFF0C\u8BF7\u8BBE\u7F6E\u76F8\u5173\u8FC7\u6EE4\u5668\u800C\u540E\u9009\u62E9\u201C\u6267\u884C\u201D\u3002
|
|
65
65
|
|
|
66
|
+
NODATA_SMARTTABLE_LR_ILLUSTRATION_TITLE=\u8BA9\u6211\u4EEC\u6765\u83B7\u53D6\u4E00\u4E9B\u7ED3\u679C
|
|
67
|
+
NODATA_SMARTTABLE_LR_ILLUSTRATION_DESCRIPTION=\u9996\u5148\u8981\u63D0\u4F9B\u641C\u7D22\u6216\u8FC7\u6EE4\u6761\u4EF6\u3002
|
|
68
|
+
|
|
66
69
|
SEARCH_FILTERS_KEYBOARD_SHORTCUT_DESC=\u6267\u884C
|
|
67
70
|
|
|
68
71
|
|
|
@@ -63,6 +63,9 @@ OBJECT_NOT_EDITABLE=\u7121\u6CD5\u7DE8\u8F2F\u6B64\u7269\u4EF6\u3002
|
|
|
63
63
|
|
|
64
64
|
NODATA_SMARTTABLE_LR=\u82E5\u8981\u958B\u59CB\uFF0C\u8ACB\u8A2D\u5B9A\u76F8\u95DC\u7BE9\u9078\u4E26\u9078\u64C7 [\u958B\u59CB]\u3002
|
|
65
65
|
|
|
66
|
+
NODATA_SMARTTABLE_LR_ILLUSTRATION_TITLE=\u53D6\u5F97\u90E8\u4EFD\u7D50\u679C
|
|
67
|
+
NODATA_SMARTTABLE_LR_ILLUSTRATION_DESCRIPTION=\u9996\u5148\u63D0\u4F9B\u60A8\u7684\u641C\u5C0B\u6216\u7BE9\u9078\u6E96\u5247\u3002
|
|
68
|
+
|
|
66
69
|
SEARCH_FILTERS_KEYBOARD_SHORTCUT_DESC=\u958B\u59CB
|
|
67
70
|
|
|
68
71
|
|
|
@@ -39,16 +39,43 @@
|
|
|
39
39
|
showTablePersonalisation="true"
|
|
40
40
|
placeToolbarInTable="{parameter>/templateSpecific/isResponsiveTable}"
|
|
41
41
|
customizeConfig="{parts: [{path: 'entitySet>'}, {path: 'entitySet>dummy'}, {path: 'tableSettings>calculateWidthIncludingColumnHeader'}], formatter: 'AH.buildSmartTableCustomizeConfig'}"
|
|
42
|
-
initialNoDataText="{=
|
|
43
|
-
|
|
42
|
+
initialNoDataText="{= ${appSettings>/noDataRepresentation} === 'textOnly' ?
|
|
43
|
+
( !${parameter>/settings/isWorklist} ? '{i18n>NODATA_SMARTTABLE_LR}' : '$NO_FILTERBAR' ) :
|
|
44
|
+
null
|
|
45
|
+
}"
|
|
46
|
+
noData="{= ${appSettings>/noDataRepresentation} === 'textOnly' ? 'i18n>NOITEMS_LR_SMARTTABLE' : null }"
|
|
44
47
|
headerLevel="H3"
|
|
45
48
|
useInfoToolbar="On">
|
|
46
49
|
|
|
50
|
+
<!--
|
|
51
|
+
SmartTable "noData" can be set either as a property (attribute) or as an aggregation,
|
|
52
|
+
but not both at the same time.
|
|
53
|
+
|
|
54
|
+
1. When noDataRepresentation = "textOnly"
|
|
55
|
+
- Attributes "initialNoDataText" and "noData" are set.
|
|
56
|
+
- The "noData" aggregation is NOT added to the table template.
|
|
57
|
+
|
|
58
|
+
2. When noDataRepresentation = "illustration" or "illustrationWithFallback"
|
|
59
|
+
- Attributes "initialNoDataText" and "noData" are explicitly set to null,
|
|
60
|
+
so they are removed at templating time (Refer sap.ui.core.util.XMLPreprocessor#resolveAttributeBinding).
|
|
61
|
+
- The "noData" aggregation is then added to the table template.
|
|
62
|
+
-->
|
|
63
|
+
<template:if test="{= ${appSettings>/noDataRepresentation} !== 'textOnly'}">
|
|
64
|
+
<smarttable:noData>
|
|
65
|
+
<IllustratedMessage
|
|
66
|
+
illustrationType="BeforeSearch"
|
|
67
|
+
title="{i18n>NODATA_SMARTTABLE_LR_ILLUSTRATION_TITLE}"
|
|
68
|
+
description="{i18n>NODATA_SMARTTABLE_LR_ILLUSTRATION_DESCRIPTION}"
|
|
69
|
+
/>
|
|
70
|
+
</smarttable:noData>
|
|
71
|
+
</template:if>
|
|
72
|
+
|
|
47
73
|
<smarttable:dependents>
|
|
48
74
|
<core:Fragment fragmentName="sap.suite.ui.generic.template.listTemplates.fragments.TableCommands" type="XML"/>
|
|
49
75
|
</smarttable:dependents>
|
|
50
76
|
<smarttable:customData>
|
|
51
77
|
<core:CustomData key="headerInfo" value="{path: 'header>', formatter: 'AH.buildHeaderInfoCustomData'}"/>
|
|
78
|
+
<core:CustomData key="headerTitle" value="{path: 'header>TypeNamePlural', formatter: 'AHModel.format'}"/>
|
|
52
79
|
<core:CustomData key="dateFormatSettings" value='\{"UTC":true,"style":"medium"\}' />
|
|
53
80
|
<core:CustomData key="useUTCDateTime" value="true" />
|
|
54
81
|
<core:CustomData key="defaultTextInEditModeSource" value="ValueList" />
|
|
@@ -36,7 +36,11 @@ sap.ui.define([
|
|
|
36
36
|
"sap/suite/ui/generic/template/lib/insights/InsightsHandler",
|
|
37
37
|
"sap/suite/ui/generic/template/lib/cards/DTCardHelper",
|
|
38
38
|
"sap/suite/ui/generic/template/lib/ai/EasyFill/EasyFillHandler",
|
|
39
|
-
"sap/ui/
|
|
39
|
+
"sap/suite/ui/generic/template/lib/TableNoDataHandler",
|
|
40
|
+
"sap/ui/core/Element",
|
|
41
|
+
"sap/m/IllustratedMessage",
|
|
42
|
+
"sap/m/IllustratedMessageSize",
|
|
43
|
+
"sap/m/IllustratedMessageType"
|
|
40
44
|
], function (
|
|
41
45
|
ControllerExtension,
|
|
42
46
|
MessageBox,
|
|
@@ -75,7 +79,11 @@ sap.ui.define([
|
|
|
75
79
|
InsightsHandler,
|
|
76
80
|
DTCardHelper,
|
|
77
81
|
EasyFillHandler,
|
|
78
|
-
|
|
82
|
+
TableNoDataHandler,
|
|
83
|
+
Element,
|
|
84
|
+
IllustratedMessage,
|
|
85
|
+
IllustratedMessageSize,
|
|
86
|
+
IllustratedMessageType
|
|
79
87
|
) {
|
|
80
88
|
"use strict";
|
|
81
89
|
var sClassName = "ObjectPage.controller.ControllerImplementation";
|
|
@@ -85,6 +93,21 @@ sap.ui.define([
|
|
|
85
93
|
oLogger.setLevel(oLevel.ALL);
|
|
86
94
|
var DEFAULT_GROWING_THRESHOLD = 20;
|
|
87
95
|
|
|
96
|
+
var oTableNoDataConfig = {
|
|
97
|
+
TABLE_WITH_SEGMENTED_BUTTON: {
|
|
98
|
+
i18nKey: "NOITEMS_SMARTTABLE_WITH_FILTER_FOR_SEGMENTEDBUTTON",
|
|
99
|
+
illustrationType: IllustratedMessageType.NoFilterResults
|
|
100
|
+
},
|
|
101
|
+
TABLE_WITH_FILTER: {
|
|
102
|
+
i18nKey: "NOITEMS_SMARTTABLE_WITH_FILTER",
|
|
103
|
+
illustrationType: IllustratedMessageType.NoFilterResults
|
|
104
|
+
},
|
|
105
|
+
TABLE_WITHOUT_FILTER: {
|
|
106
|
+
i18nKey: "NOITEMS_SMARTTABLE",
|
|
107
|
+
illustrationType: IllustratedMessageType.NoEntries
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
|
|
88
111
|
// Scroll the specified object page to top
|
|
89
112
|
function fnScrollObjectPageToTop(oObjectPage) {
|
|
90
113
|
oObjectPage.setSelectedSection(null);
|
|
@@ -1686,7 +1709,7 @@ sap.ui.define([
|
|
|
1686
1709
|
}
|
|
1687
1710
|
|
|
1688
1711
|
function onDataReceivedForTable(oControl) {
|
|
1689
|
-
|
|
1712
|
+
fnSetNoDataMessageForTable(oControl);
|
|
1690
1713
|
}
|
|
1691
1714
|
|
|
1692
1715
|
|
|
@@ -1725,14 +1748,57 @@ sap.ui.define([
|
|
|
1725
1748
|
});
|
|
1726
1749
|
}
|
|
1727
1750
|
|
|
1751
|
+
function fnSetInitialNoDataMessageForTable (oSmartTable) {
|
|
1752
|
+
var sSmartTableId = oSmartTable.getId();
|
|
1753
|
+
var sNoDataRepresentation = oController.getOwnerComponent().getAppComponent().getNoDataRepresentation();
|
|
1754
|
+
var vNoDataMessage = "";
|
|
1755
|
+
|
|
1756
|
+
if (["illustration", "illustrationWithFallback"].includes(sNoDataRepresentation)) {
|
|
1757
|
+
vNoDataMessage = new IllustratedMessage({
|
|
1758
|
+
illustrationType: IllustratedMessageType.BeforeSearch,
|
|
1759
|
+
illustrationSize: fnFindIllustratedMessageSize(oSmartTable),
|
|
1760
|
+
title: oTemplateUtils.oCommonUtils.getContextText("NOITEMS_SMARTTABLE_ILLUSTRATION_TITLE", sSmartTableId),
|
|
1761
|
+
description: oTemplateUtils.oCommonUtils.getContextText("NOITEMS_SMARTTABLE_ILLUSTRATION_DESCRIPTION", sSmartTableId)
|
|
1762
|
+
});
|
|
1763
|
+
} else {
|
|
1764
|
+
vNoDataMessage = oTemplateUtils.oCommonUtils.getContextText("NOITEMS_SMARTTABLE", sSmartTableId);
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
oSmartTable.setNoData(vNoDataMessage);
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1770
|
+
/**
|
|
1771
|
+
* Finds the illustrated message size.
|
|
1772
|
+
*
|
|
1773
|
+
* - If there's only one section is visible and it has a single sub-section
|
|
1774
|
+
* - Return "Auto" (Illustrated message size is automatically calculated based on the table width)
|
|
1775
|
+
* - Otherwise
|
|
1776
|
+
* - Return "ExtraSmall" (Illustrated message occupies very less space as there are multiple sections/sub-sections visible)
|
|
1777
|
+
*/
|
|
1778
|
+
function fnFindIllustratedMessageSize (oSmartTable) {
|
|
1779
|
+
// For icon tab bar mode, pass the current section as parent
|
|
1780
|
+
// Otherwise, pass null
|
|
1781
|
+
var oParent = null;
|
|
1782
|
+
if (oObjectPage.getUseIconTabBar()) {
|
|
1783
|
+
oParent = oSmartTable.getParent();
|
|
1784
|
+
while (oParent && !controlHelper.isObjectPageSection(oParent)) {
|
|
1785
|
+
oParent = oParent.getParent();
|
|
1786
|
+
}
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
return fnIsSingleSectionOrSubsectionVisible(oParent) ? IllustratedMessageSize.Auto : IllustratedMessageSize.ExtraSmall;
|
|
1790
|
+
}
|
|
1791
|
+
|
|
1728
1792
|
// sets the no data text for the given table.
|
|
1729
1793
|
// For multi-view tables there is a special no data text. Otherwise it depends whether the data are restricted by any filter or search condition.
|
|
1730
|
-
//
|
|
1731
|
-
function
|
|
1732
|
-
var
|
|
1794
|
+
// Note that custom filter conditions added by the application are not considered.
|
|
1795
|
+
function fnSetNoDataMessageForTable (oSmartTable) {
|
|
1796
|
+
var sScenario,
|
|
1797
|
+
sSmartTableId = oSmartTable.getId();
|
|
1798
|
+
|
|
1733
1799
|
var bIsSegmentedButton = oMultipleViewsHandler.isSmartControlMulti(oSmartTable);
|
|
1734
1800
|
if (bIsSegmentedButton) {
|
|
1735
|
-
|
|
1801
|
+
sScenario = "TABLE_WITH_SEGMENTED_BUTTON";
|
|
1736
1802
|
} else { // check whether any filters or search conditions have been applied
|
|
1737
1803
|
var oSmartTableVariant = oSmartTable.fetchVariant();
|
|
1738
1804
|
var bHasFiltersOrSearches = oSmartTableVariant && oSmartTableVariant.filter && oSmartTableVariant.filter.filterItems.length > 0;
|
|
@@ -1742,10 +1808,11 @@ sap.ui.define([
|
|
|
1742
1808
|
var oSearchField = sSearchFieldId && oController.byId(sSearchFieldId);
|
|
1743
1809
|
bHasFiltersOrSearches = oSearchField && oSearchField.getValue().trim();
|
|
1744
1810
|
}
|
|
1745
|
-
|
|
1811
|
+
sScenario = bHasFiltersOrSearches ? "TABLE_WITH_FILTER" : "TABLE_WITHOUT_FILTER";
|
|
1746
1812
|
}
|
|
1747
|
-
|
|
1748
|
-
|
|
1813
|
+
|
|
1814
|
+
// Setting no data message
|
|
1815
|
+
oState.oTableNoDataHandler.setNoDataMessage(oSmartTable, sScenario);
|
|
1749
1816
|
}
|
|
1750
1817
|
|
|
1751
1818
|
// Begin: Filling the viewProxy with functions provided for the TemplateComponent to be called on the view
|
|
@@ -2376,6 +2443,8 @@ sap.ui.define([
|
|
|
2376
2443
|
oState.oInlineCreationRowsHelper = new InlineCreationRowsHelper(oObjectPage, oTemplateUtils, fnGetSmartTableCreationMode, oController, oState.oMessageStripHelper);
|
|
2377
2444
|
oState.oSectionTitleHandler = new SectionTitleHandler(oController, oObjectPage, oTemplateUtils);
|
|
2378
2445
|
oState.oEasyFillHandler = new EasyFillHandler(oState, oController, oTemplateUtils, oObjectPage);
|
|
2446
|
+
oState.oTableNoDataHandler = new TableNoDataHandler(oController, oTemplateUtils, oTableNoDataConfig);
|
|
2447
|
+
|
|
2379
2448
|
var oTemplatePrivateModel = oTemplateUtils.oComponentUtils.getTemplatePrivateModel();
|
|
2380
2449
|
|
|
2381
2450
|
|
|
@@ -2659,7 +2728,11 @@ sap.ui.define([
|
|
|
2659
2728
|
oState.oInlineCreationRowsHelper.onBeforeRebindControl(oEvent);
|
|
2660
2729
|
|
|
2661
2730
|
// Set data loading text when data is loading
|
|
2662
|
-
|
|
2731
|
+
// For the backward compatibility, we are setting the no data text only for the text messages
|
|
2732
|
+
if (typeof oSmartTable.getNoData() === "string") {
|
|
2733
|
+
oSmartTable.setNoData(oTemplateUtils.oCommonUtils.getText("WAITING_SMARTTABLE"));
|
|
2734
|
+
}
|
|
2735
|
+
|
|
2663
2736
|
var oBindingParams = adjustAndProvideBindingParamsForSmartTableOrChart(oEvent);
|
|
2664
2737
|
// add the content of the search field to the search if necessary
|
|
2665
2738
|
var oSmartTableInfoObject = oTemplateUtils.oInfoObjectHandler.getControlInformation(oSmartTable.getId());
|
|
@@ -2805,6 +2878,7 @@ sap.ui.define([
|
|
|
2805
2878
|
var oTable = oSmartTable.getTable();
|
|
2806
2879
|
var oInfoObject = oTemplateUtils.oInfoObjectHandler.setInformationWithControl(oSmartTable);
|
|
2807
2880
|
oState.oSectionTitleHandler.setAsTitleOwner(oSmartTable, true);
|
|
2881
|
+
fnSetInitialNoDataMessageForTable(oSmartTable);
|
|
2808
2882
|
// TableObserver is required to get the Smart Table's editable property for Smart
|
|
2809
2883
|
// MultiInput Control
|
|
2810
2884
|
var oModel = new ManagedObjectModel(oSmartTable);
|
|
@@ -2871,16 +2945,6 @@ sap.ui.define([
|
|
|
2871
2945
|
formatters: {
|
|
2872
2946
|
sideContentActionButtonText: oSideContentHandler.formatSideContentActionButtonText,
|
|
2873
2947
|
|
|
2874
|
-
setNoDataTextForSmartTable: function (sSmartTableId) {
|
|
2875
|
-
if (oTemplateUtils.oCommonUtils && sSmartTableId) {
|
|
2876
|
-
var sNoDataText = oTemplateUtils.oCommonUtils.getContextText("WAITING_SMARTTABLE", sSmartTableId);
|
|
2877
|
-
if (sNoDataText !== "WAITING_SMARTTABLE") {
|
|
2878
|
-
return sNoDataText;
|
|
2879
|
-
}
|
|
2880
|
-
return "";
|
|
2881
|
-
}
|
|
2882
|
-
},
|
|
2883
|
-
|
|
2884
2948
|
setVMVisibilityForVendor: function () {
|
|
2885
2949
|
var oUriParameters = new URL(window.location.href).searchParams;
|
|
2886
2950
|
var sUiLayer = oUriParameters.get("sap-ui-layer");
|
|
@@ -101,7 +101,7 @@ sap.ui.define([
|
|
|
101
101
|
var oSettings = oTemplateUtils.oComponentUtils.getSettings();
|
|
102
102
|
var oRelatedAppsSettings = oSettings.relatedAppsSettings;
|
|
103
103
|
// Extension to modify the related app settings.
|
|
104
|
-
oRelatedAppsSettings = oController.modifyRelatedAppsSettings(oRelatedAppsSettings, sCurrentSemObj);
|
|
104
|
+
oRelatedAppsSettings = oController.modifyRelatedAppsSettings(oRelatedAppsSettings, sCurrentSemObj, oDataEntityType.name);
|
|
105
105
|
var bHasRelatedAppSettings = oRelatedAppsSettings && Object.keys(oRelatedAppsSettings).length > 0;
|
|
106
106
|
|
|
107
107
|
if (bHasRelatedAppSettings) {
|
|
@@ -30,7 +30,7 @@ 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
|
-
|
|
33
|
+
modifyRelatedAppsSettings: { "public": true, "final": false, overrideExecution: OverrideExecution.After }
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
|
|
@@ -287,14 +287,15 @@ sap.ui.define([
|
|
|
287
287
|
* An extension point in the application that allows modification of the related app settings.
|
|
288
288
|
*
|
|
289
289
|
* This allows the application team to adjust the relevant application settings in accordance with the current semantics.
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
290
|
+
*
|
|
291
|
+
* @param {Object} oRelatedAppSetting - related app setting
|
|
292
|
+
* @param {String} sCurrentSemanticObject - current semantic object for the app
|
|
293
|
+
* @param {String} sEntityTypeName - Entity type name for the current object page.
|
|
293
294
|
* @returns {Object} modified related app setting
|
|
294
295
|
* @see {@link topic:8dcfe2e4555f49db8859cb6eb838692e Enabling the Related Apps Button}
|
|
295
296
|
*/
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
297
|
+
modifyRelatedAppsSettings: function (oRelatedAppSetting, sCurrentSemanticObject, sEntityTypeName) {
|
|
298
|
+
return oRelatedAppSetting;
|
|
299
|
+
}
|
|
299
300
|
};
|
|
300
301
|
});
|
|
@@ -234,4 +234,4 @@ REQUIRED_PROP_COLUMN_HIDDEN_ERROR_PLURAL=\u064A\u062D\u062A\u0648\u064A \u0627\u
|
|
|
234
234
|
|
|
235
235
|
T_PAGINATOR_CONTROL_PAGINATOR_TOOLTIP_UP=\u0627\u0644\u0635\u0646\u0641 \u0627\u0644\u0633\u0627\u0628\u0642
|
|
236
236
|
|
|
237
|
-
T_PAGINATOR_CONTROL_PAGINATOR_TOOLTIP_DOWN=\u0627\u0644\
|
|
237
|
+
T_PAGINATOR_CONTROL_PAGINATOR_TOOLTIP_DOWN=\u0627\u0644\u0639\u0646\u0635\u0631 \u0627\u0644\u062A\u0627\u0644\u064A
|
|
@@ -229,8 +229,8 @@ ENTER_MANDATORY=Nh\u1EADp gi\u00E1 tr\u1ECB cho tr\u01B0\u1EDDng {0}.
|
|
|
229
229
|
|
|
230
230
|
REQUIRED_PROP_ERROR=Nh\u1EADp gi\u00E1 tr\u1ECB.
|
|
231
231
|
|
|
232
|
-
REQUIRED_PROP_COLUMN_HIDDEN_ERROR=Ba\u0309ng ch\u01B0\u0301a l\u00F4\u0303i. {0} la\u0300 gi\u00E1 tr\u1ECB b\u0103\u0301t bu\u00F4\u0323c nh\u01B0ng kh\u00F4ng \u0111\u01B0\u01A1\u0323c hi\u00EA\u0309n thi\u0323 trong ba\u0309ng. Vui lo\u0300ng th\u00EAm gi\u00E1 tr\u1ECB trong thi\u00EA\u0301t l\u00E2\u0323p
|
|
233
|
-
REQUIRED_PROP_COLUMN_HIDDEN_ERROR_PLURAL=Ba\u0309ng ch\u01B0\u0301a l\u00F4\u0303i. {0} la\u0300 gi\u00E1 tr\u1ECB b\u0103\u0301t bu\u00F4\u0323c nh\u01B0ng kh\u00F4ng \u0111\u01B0\u01A1\u0323c hi\u00EA\u0309n thi\u0323 trong ba\u0309ng. Vui lo\u0300ng th\u00EAm gi\u00E1 tr\u1ECB trong thi\u00EA\u0301t l\u00E2\u0323p
|
|
232
|
+
REQUIRED_PROP_COLUMN_HIDDEN_ERROR=Ba\u0309ng ch\u01B0\u0301a l\u00F4\u0303i. {0} la\u0300 gi\u00E1 tr\u1ECB b\u0103\u0301t bu\u00F4\u0323c nh\u01B0ng kh\u00F4ng \u0111\u01B0\u01A1\u0323c hi\u00EA\u0309n thi\u0323 trong ba\u0309ng. Vui lo\u0300ng th\u00EAm gi\u00E1 tr\u1ECB trong thi\u00EA\u0301t l\u00E2\u0323p m\u00E0n h\u00ECnh.
|
|
233
|
+
REQUIRED_PROP_COLUMN_HIDDEN_ERROR_PLURAL=Ba\u0309ng ch\u01B0\u0301a l\u00F4\u0303i. {0} la\u0300 gi\u00E1 tr\u1ECB b\u0103\u0301t bu\u00F4\u0323c nh\u01B0ng kh\u00F4ng \u0111\u01B0\u01A1\u0323c hi\u00EA\u0309n thi\u0323 trong ba\u0309ng. Vui lo\u0300ng th\u00EAm gi\u00E1 tr\u1ECB trong thi\u00EA\u0301t l\u00E2\u0323p m\u00E0n h\u00ECnh.
|
|
234
234
|
|
|
235
235
|
T_PAGINATOR_CONTROL_PAGINATOR_TOOLTIP_UP=Mu\u0323c tr\u01B0\u01A1\u0301c
|
|
236
236
|
|
|
@@ -1252,8 +1252,8 @@ sap.ui.define([
|
|
|
1252
1252
|
// SubSection is an annotated section. Check whether a loading strategy is configured
|
|
1253
1253
|
// else return the default loading strategy (LazyLoading).
|
|
1254
1254
|
if (oSectionData) {
|
|
1255
|
-
if (oSectionData.loadingBehavior) {
|
|
1256
|
-
var oLoadingBehavior = oSectionData.loadingBehavior;
|
|
1255
|
+
if (oSubSectionData.loadingBehavior || oSectionData.loadingBehavior) {
|
|
1256
|
+
var oLoadingBehavior = oSubSectionData.loadingBehavior || oSectionData.loadingBehavior;
|
|
1257
1257
|
if (oLoadingBehavior.waitForViewportEnter) {
|
|
1258
1258
|
oSubSectionData.loadingStrategy = oLoadingBehavior.waitForHeaderData ? "lazyLoadingAfterHeader" : "lazyLoading";
|
|
1259
1259
|
return;
|
|
@@ -39,7 +39,6 @@
|
|
|
39
39
|
showDetailsButton="{= ${objectPageTableSettings>value/type} === 'ResponsiveTable'}"
|
|
40
40
|
showFullScreenButton="{= ${device>/system/phone}}"
|
|
41
41
|
detailsButtonSetting="{= ${objectPageTableSettings>value/type} === 'ResponsiveTable' ? 'None,Low,Medium' : null}"
|
|
42
|
-
noData="{parts: [{path: 'entitySet>name'}, {path: 'smartControlId>id'}], formatter:'AH.setNoDataTextForSmartTable'}"
|
|
43
42
|
visible="{path: 'facet>', formatter: 'AH.getBindingForHiddenPath'}"
|
|
44
43
|
editable="{ui>/editable}"
|
|
45
44
|
showPasteButton = "{objectPageTableSettings>value/vShowPasteButton}"
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<Link
|
|
13
13
|
text="{i18n>ST_AI_EE_BUTTON_LABEL}"
|
|
14
14
|
icon="sap-icon://ai"
|
|
15
|
-
visible="{= ${helper>/isAIErrorExplanationEnabled} }"
|
|
15
|
+
visible="{= ${helper>/isAIErrorExplanationEnabled} && ${msg>type} !== 'Information'}"
|
|
16
16
|
press="generateErrorExplanation">
|
|
17
17
|
<customData>
|
|
18
18
|
<core:CustomData key="message" value="{msg>message}" />
|
|
@@ -3932,11 +3932,6 @@ sap.ui.define(["sap/ui/model/odata/AnnotationHelper",
|
|
|
3932
3932
|
}
|
|
3933
3933
|
},
|
|
3934
3934
|
|
|
3935
|
-
setNoDataTextForSmartTable: function (sEntitySet, sSmartTableId) {
|
|
3936
|
-
sSmartTableId = "::" + sEntitySet + "--" + sSmartTableId;
|
|
3937
|
-
return "{parts: [{value: '" + sSmartTableId + "'}], formatter: '._templateFormatters.setNoDataTextForSmartTable'}";
|
|
3938
|
-
},
|
|
3939
|
-
|
|
3940
3935
|
// Returns the entityType and association of target in case of multiple navigation paths
|
|
3941
3936
|
getRelevantDataForAnnotationRecord: function (oModel, sDataFieldValuePath, oEntityType) {
|
|
3942
3937
|
var sNavigationProperty, oAssociationEnd;
|
|
@@ -133,7 +133,8 @@ sap.ui.define([
|
|
|
133
133
|
sPath = '${' + (sAnnotationUpdatablePath || sMetadataUpdatable) + '} !== false';
|
|
134
134
|
}
|
|
135
135
|
if (oFieldControl) {
|
|
136
|
-
|
|
136
|
+
var sFCPath = oFieldControl && oFieldControl.Path;
|
|
137
|
+
sPath += ' && ${' + sFCPath + '} > "1"';
|
|
137
138
|
}
|
|
138
139
|
return sPath;
|
|
139
140
|
},
|