@sapui5/sap.suite.ui.generic.template 1.148.1 → 1.149.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 +1 -1
- package/src/sap/suite/ui/generic/template/.library +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/controller/IappStateHandler.js +254 -224
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_de.properties +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/controller/inlineCreationRows/InlineCreationRowsHelper.js +76 -33
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ar.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_bg.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ca.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cnr.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cs.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cy.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_da.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_de.properties +6 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_el.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_GB.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_es.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_es_MX.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_et.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fi.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fr.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fr_CA.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hi.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hr.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hu.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_id.properties +5 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_it.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_iw.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ja.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_kk.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ko.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_lt.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_lv.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_mk.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ms.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_nl.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_no.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pl.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pt.properties +5 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pt_PT.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ro.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ru.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sh.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sk.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sl.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sr.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sv.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_th.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_tr.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_uk.properties +5 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_vi.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_zh_CN.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_zh_TW.properties +4 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/view/Details.view.xml +1 -0
- 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/detailTemplates/DiscardEditHandler.js +9 -0
- package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartVariantManagementWrapper.js +43 -35
- package/src/sap/suite/ui/generic/template/lib/AppComponent.js +1 -1
- package/src/sap/suite/ui/generic/template/lib/CRUDManager.js +9 -7
- package/src/sap/suite/ui/generic/template/lib/ai/EasyFill/EasyFillAIOrchestrator.js +0 -3
- package/src/sap/suite/ui/generic/template/lib/ai/EasyFill/EasyFillHandler.js +6 -3
- package/src/sap/suite/ui/generic/template/lib/ai/EasyFill/fragments/EasyFillDialog.fragment.xml +1 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n.properties +1 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ar.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_bg.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ca.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cnr.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cs.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cy.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_da.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_de.properties +13 -11
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_el.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_GB.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_saprigi.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es_MX.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_et.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fi.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr.properties +10 -8
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr_CA.properties +10 -8
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hi.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hr.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hu.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_id.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_it.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_iw.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ja.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_kk.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ko.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lt.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lv.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_mk.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ms.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_nl.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_no.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pl.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt_PT.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ro.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ru.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sh.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sk.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sl.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sr.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sv.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_th.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_tr.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_uk.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_vi.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_CN.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_TW.properties +9 -7
- package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +1 -1
- package/src/sap/suite/ui/generic/template/library.js +1 -1
|
@@ -17,6 +17,8 @@ DRAFT_VERSION=\uB4DC\uB798\uD504\uD2B8
|
|
|
17
17
|
|
|
18
18
|
SAVE=\uC800\uC7A5
|
|
19
19
|
|
|
20
|
+
SAVE_AND_BACK=\uC800\uC7A5 \uD6C4 \uB3CC\uC544\uAC00\uAE30
|
|
21
|
+
|
|
20
22
|
SAVE_AND_EDIT=\uC800\uC7A5 \uD6C4 \uD3B8\uC9D1
|
|
21
23
|
|
|
22
24
|
SAVE_AND_NEXT=\uC800\uC7A5 \uD6C4 \uB2E4\uC74C
|
|
@@ -25,6 +27,8 @@ VALIDATE_DRAFT=\uC720\uD6A8\uC131 \uD655\uC778
|
|
|
25
27
|
|
|
26
28
|
CREATE=\uC0DD\uC131
|
|
27
29
|
|
|
30
|
+
CREATE_AND_BACK=\uC0DD\uC131 \uD6C4 \uB3CC\uC544\uAC00\uAE30
|
|
31
|
+
|
|
28
32
|
CLOSE=\uB2EB\uAE30
|
|
29
33
|
|
|
30
34
|
OK=\uD655\uC778
|
|
@@ -17,6 +17,8 @@ DRAFT_VERSION=Juodra\u0161tis
|
|
|
17
17
|
|
|
18
18
|
SAVE=\u012Era\u0161yti
|
|
19
19
|
|
|
20
|
+
SAVE_AND_BACK=\u012Era\u0161yti ir gr\u012F\u017Eti
|
|
21
|
+
|
|
20
22
|
SAVE_AND_EDIT=\u012Era\u0161yti ir redaguoti
|
|
21
23
|
|
|
22
24
|
SAVE_AND_NEXT=\u012Era\u0161yti ir pereiti
|
|
@@ -25,6 +27,8 @@ VALIDATE_DRAFT=Tikrinti
|
|
|
25
27
|
|
|
26
28
|
CREATE=Kurti
|
|
27
29
|
|
|
30
|
+
CREATE_AND_BACK=Sukurti ir gr\u012F\u017Eti
|
|
31
|
+
|
|
28
32
|
CLOSE=U\u017Edaryti
|
|
29
33
|
|
|
30
34
|
OK=Gerai
|
|
@@ -17,6 +17,8 @@ DRAFT_VERSION=Melnraksts
|
|
|
17
17
|
|
|
18
18
|
SAVE=Saglab\u0101t
|
|
19
19
|
|
|
20
|
+
SAVE_AND_BACK=Saglab\u0101t un atgriezties
|
|
21
|
+
|
|
20
22
|
SAVE_AND_EDIT=Saglab\u0101t un redi\u0123\u0113t
|
|
21
23
|
|
|
22
24
|
SAVE_AND_NEXT=Saglab\u0101t un t\u0101l\u0101k
|
|
@@ -25,6 +27,8 @@ VALIDATE_DRAFT=P\u0101rbaud\u012Bt
|
|
|
25
27
|
|
|
26
28
|
CREATE=Izveidot
|
|
27
29
|
|
|
30
|
+
CREATE_AND_BACK=Izveidot un atgriezties
|
|
31
|
+
|
|
28
32
|
CLOSE=Aizv\u0113rt
|
|
29
33
|
|
|
30
34
|
OK=Labi
|
|
@@ -17,6 +17,8 @@ DRAFT_VERSION=\u041D\u0430\u0446\u0440\u0442
|
|
|
17
17
|
|
|
18
18
|
SAVE=\u0417\u0430\u0447\u0443\u0432\u0430\u0458
|
|
19
19
|
|
|
20
|
+
SAVE_AND_BACK=\u0417\u0430\u0447\u0443\u0432\u0430\u0458 \u0438 \u0432\u0440\u0430\u0442\u0438 \u0441\u0435
|
|
21
|
+
|
|
20
22
|
SAVE_AND_EDIT=\u0417\u0430\u0447\u0443\u0432\u0430\u0458 \u0438 \u0443\u0440\u0435\u0434\u0438
|
|
21
23
|
|
|
22
24
|
SAVE_AND_NEXT=\u0417\u0430\u0447\u0443\u0432\u0430\u0458 \u0438 \u043E\u0434\u0438 \u0441\u043B\u0435\u0434\u043D\u043E
|
|
@@ -25,6 +27,8 @@ VALIDATE_DRAFT=\u041F\u043E\u0442\u0432\u0440\u0434\u0438
|
|
|
25
27
|
|
|
26
28
|
CREATE=\u0421\u043E\u0437\u0434\u0430\u0458
|
|
27
29
|
|
|
30
|
+
CREATE_AND_BACK=\u0421\u043E\u0437\u0434\u0430\u0458 \u0438 \u0432\u0440\u0430\u0442\u0438 \u0441\u0435
|
|
31
|
+
|
|
28
32
|
CLOSE=\u0417\u0430\u0442\u0432\u043E\u0440\u0438
|
|
29
33
|
|
|
30
34
|
OK=\u0412\u043E \u0440\u0435\u0434
|
|
@@ -17,6 +17,8 @@ DRAFT_VERSION=Draf
|
|
|
17
17
|
|
|
18
18
|
SAVE=Simpan
|
|
19
19
|
|
|
20
|
+
SAVE_AND_BACK=Simpan dan Kembali
|
|
21
|
+
|
|
20
22
|
SAVE_AND_EDIT=Simpan dan Edit
|
|
21
23
|
|
|
22
24
|
SAVE_AND_NEXT=Simpan dan Seterusnya
|
|
@@ -25,6 +27,8 @@ VALIDATE_DRAFT=Sahkan
|
|
|
25
27
|
|
|
26
28
|
CREATE=Cipta
|
|
27
29
|
|
|
30
|
+
CREATE_AND_BACK=Cipta dan Kembali
|
|
31
|
+
|
|
28
32
|
CLOSE=Tutup
|
|
29
33
|
|
|
30
34
|
OK=OK
|
|
@@ -17,6 +17,8 @@ DRAFT_VERSION=Concept
|
|
|
17
17
|
|
|
18
18
|
SAVE=Opslaan
|
|
19
19
|
|
|
20
|
+
SAVE_AND_BACK=Opslaan en terug
|
|
21
|
+
|
|
20
22
|
SAVE_AND_EDIT=Opslaan en bewerken
|
|
21
23
|
|
|
22
24
|
SAVE_AND_NEXT=Opslaan en volgende
|
|
@@ -25,6 +27,8 @@ VALIDATE_DRAFT=Valideren
|
|
|
25
27
|
|
|
26
28
|
CREATE=Cre\u00EBren
|
|
27
29
|
|
|
30
|
+
CREATE_AND_BACK=Cre\u00EBren en terug
|
|
31
|
+
|
|
28
32
|
CLOSE=Sluiten
|
|
29
33
|
|
|
30
34
|
OK=OK
|
|
@@ -17,6 +17,8 @@ DRAFT_VERSION=Utkast
|
|
|
17
17
|
|
|
18
18
|
SAVE=Lagre
|
|
19
19
|
|
|
20
|
+
SAVE_AND_BACK=Lagre og g\u00E5 tilbake
|
|
21
|
+
|
|
20
22
|
SAVE_AND_EDIT=Lagre og rediger
|
|
21
23
|
|
|
22
24
|
SAVE_AND_NEXT=Lagre og neste
|
|
@@ -25,6 +27,8 @@ VALIDATE_DRAFT=Valider
|
|
|
25
27
|
|
|
26
28
|
CREATE=Opprett
|
|
27
29
|
|
|
30
|
+
CREATE_AND_BACK=Opprett og g\u00E5 tilbake
|
|
31
|
+
|
|
28
32
|
CLOSE=Lukk
|
|
29
33
|
|
|
30
34
|
OK=OK
|
|
@@ -17,6 +17,8 @@ DRAFT_VERSION=Wersja robocza
|
|
|
17
17
|
|
|
18
18
|
SAVE=Zapisz
|
|
19
19
|
|
|
20
|
+
SAVE_AND_BACK=Zapisz i wr\u00F3\u0107
|
|
21
|
+
|
|
20
22
|
SAVE_AND_EDIT=Zapisz i edytuj
|
|
21
23
|
|
|
22
24
|
SAVE_AND_NEXT=Zapisz i dalej
|
|
@@ -25,6 +27,8 @@ VALIDATE_DRAFT=Waliduj
|
|
|
25
27
|
|
|
26
28
|
CREATE=Utw\u00F3rz
|
|
27
29
|
|
|
30
|
+
CREATE_AND_BACK=Utw\u00F3rz i wr\u00F3\u0107
|
|
31
|
+
|
|
28
32
|
CLOSE=Zamknij
|
|
29
33
|
|
|
30
34
|
OK=OK
|
|
@@ -17,7 +17,9 @@ DRAFT_VERSION=Esbo\u00E7o
|
|
|
17
17
|
|
|
18
18
|
SAVE=Salvar
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
SAVE_AND_BACK=Gravar e voltar
|
|
21
|
+
|
|
22
|
+
SAVE_AND_EDIT=Gravar e editar
|
|
21
23
|
|
|
22
24
|
SAVE_AND_NEXT=Gravar e seguinte
|
|
23
25
|
|
|
@@ -25,6 +27,8 @@ VALIDATE_DRAFT=Validar
|
|
|
25
27
|
|
|
26
28
|
CREATE=Criar
|
|
27
29
|
|
|
30
|
+
CREATE_AND_BACK=Criar e voltar
|
|
31
|
+
|
|
28
32
|
CLOSE=Fechar
|
|
29
33
|
|
|
30
34
|
OK=OK
|
|
@@ -17,6 +17,8 @@ DRAFT_VERSION=Rascunho
|
|
|
17
17
|
|
|
18
18
|
SAVE=Guardar
|
|
19
19
|
|
|
20
|
+
SAVE_AND_BACK=Guardar e voltar
|
|
21
|
+
|
|
20
22
|
SAVE_AND_EDIT=Guardar e editar
|
|
21
23
|
|
|
22
24
|
SAVE_AND_NEXT=Guardar e pr\u00F3ximo
|
|
@@ -25,6 +27,8 @@ VALIDATE_DRAFT=Validar
|
|
|
25
27
|
|
|
26
28
|
CREATE=Criar
|
|
27
29
|
|
|
30
|
+
CREATE_AND_BACK=Criar e voltar
|
|
31
|
+
|
|
28
32
|
CLOSE=Fechar
|
|
29
33
|
|
|
30
34
|
OK=OK
|
|
@@ -17,6 +17,8 @@ DRAFT_VERSION=Versiune preliminar\u0103
|
|
|
17
17
|
|
|
18
18
|
SAVE=Salvare
|
|
19
19
|
|
|
20
|
+
SAVE_AND_BACK=Salvare \u0219i \u00EEnapoi
|
|
21
|
+
|
|
20
22
|
SAVE_AND_EDIT=Salvare \u0219i editare
|
|
21
23
|
|
|
22
24
|
SAVE_AND_NEXT=Salvare \u0219i urm\u0103tor
|
|
@@ -25,6 +27,8 @@ VALIDATE_DRAFT=Validare
|
|
|
25
27
|
|
|
26
28
|
CREATE=Creare
|
|
27
29
|
|
|
30
|
+
CREATE_AND_BACK=Creare \u0219i \u00EEnapoi
|
|
31
|
+
|
|
28
32
|
CLOSE=\u00CEnchidere
|
|
29
33
|
|
|
30
34
|
OK=OK
|
|
@@ -17,6 +17,8 @@ DRAFT_VERSION=\u0427\u0435\u0440\u043D\u043E\u0432\u0438\u043A
|
|
|
17
17
|
|
|
18
18
|
SAVE=\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C
|
|
19
19
|
|
|
20
|
+
SAVE_AND_BACK=\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0438 \u043D\u0430\u0437\u0430\u0434
|
|
21
|
+
|
|
20
22
|
SAVE_AND_EDIT=\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C
|
|
21
23
|
|
|
22
24
|
SAVE_AND_NEXT=\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0438 \u0434\u0430\u043B\u0435\u0435
|
|
@@ -25,6 +27,8 @@ VALIDATE_DRAFT=\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C
|
|
|
25
27
|
|
|
26
28
|
CREATE=\u0421\u043E\u0437\u0434\u0430\u0442\u044C
|
|
27
29
|
|
|
30
|
+
CREATE_AND_BACK=\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0438 \u043D\u0430\u0437\u0430\u0434
|
|
31
|
+
|
|
28
32
|
CLOSE=\u0417\u0430\u043A\u0440\u044B\u0442\u044C
|
|
29
33
|
|
|
30
34
|
OK=\u041E\u041A
|
|
@@ -17,6 +17,8 @@ DRAFT_VERSION=Nacrt
|
|
|
17
17
|
|
|
18
18
|
SAVE=Sa\u010Duvaj
|
|
19
19
|
|
|
20
|
+
SAVE_AND_BACK=Sa\u010Duvaj i vrati se
|
|
21
|
+
|
|
20
22
|
SAVE_AND_EDIT=Sa\u010Duvaj i uredi
|
|
21
23
|
|
|
22
24
|
SAVE_AND_NEXT=Sa\u010Duvaj i idi na slede\u0107e
|
|
@@ -25,6 +27,8 @@ VALIDATE_DRAFT=Validiraj
|
|
|
25
27
|
|
|
26
28
|
CREATE=Kreiraj
|
|
27
29
|
|
|
30
|
+
CREATE_AND_BACK=Kreiraj i vrati se
|
|
31
|
+
|
|
28
32
|
CLOSE=Zatvori
|
|
29
33
|
|
|
30
34
|
OK=OK
|
|
@@ -17,6 +17,8 @@ DRAFT_VERSION=N\u00E1vrh
|
|
|
17
17
|
|
|
18
18
|
SAVE=Ulo\u017Ei\u0165
|
|
19
19
|
|
|
20
|
+
SAVE_AND_BACK=Ulo\u017Ei\u0165 a sp\u00E4\u0165
|
|
21
|
+
|
|
20
22
|
SAVE_AND_EDIT=Ulo\u017Ei\u0165 a spracova\u0165
|
|
21
23
|
|
|
22
24
|
SAVE_AND_NEXT=Ulo\u017Ei\u0165 a \u010Falej
|
|
@@ -25,6 +27,8 @@ VALIDATE_DRAFT=Overi\u0165
|
|
|
25
27
|
|
|
26
28
|
CREATE=Vytvori\u0165
|
|
27
29
|
|
|
30
|
+
CREATE_AND_BACK=Vytvori\u0165 a sp\u00E4\u0165
|
|
31
|
+
|
|
28
32
|
CLOSE=Zavrie\u0165
|
|
29
33
|
|
|
30
34
|
OK=OK
|
|
@@ -17,6 +17,8 @@ DRAFT_VERSION=Osnutek
|
|
|
17
17
|
|
|
18
18
|
SAVE=Shrani
|
|
19
19
|
|
|
20
|
+
SAVE_AND_BACK=Shrani in pojdi nazaj
|
|
21
|
+
|
|
20
22
|
SAVE_AND_EDIT=Shrani in uredi
|
|
21
23
|
|
|
22
24
|
SAVE_AND_NEXT=Shrani in naprej
|
|
@@ -25,6 +27,8 @@ VALIDATE_DRAFT=Validacija
|
|
|
25
27
|
|
|
26
28
|
CREATE=Kreiraj
|
|
27
29
|
|
|
30
|
+
CREATE_AND_BACK=Ustvari in pojdi nazaj
|
|
31
|
+
|
|
28
32
|
CLOSE=Zapiranje
|
|
29
33
|
|
|
30
34
|
OK=OK
|
|
@@ -17,6 +17,8 @@ DRAFT_VERSION=\u041D\u0430\u0446\u0440\u0442
|
|
|
17
17
|
|
|
18
18
|
SAVE=\u0421\u0430\u0447\u0443\u0432\u0430\u0458
|
|
19
19
|
|
|
20
|
+
SAVE_AND_BACK=\u0421\u0430\u0447\u0443\u0432\u0430\u0458 \u0438 \u0432\u0440\u0430\u0442\u0438 \u0441\u0435
|
|
21
|
+
|
|
20
22
|
SAVE_AND_EDIT=\u0421\u0430\u0447\u0443\u0432\u0430\u0458 \u0438 \u0443\u0440\u0435\u0434\u0438
|
|
21
23
|
|
|
22
24
|
SAVE_AND_NEXT=\u0421\u0430\u0447\u0443\u0432\u0430\u0458 \u0438 \u0438\u0434\u0438 \u043D\u0430 \u0441\u043B\u0435\u0434\u0435\u045B\u0435
|
|
@@ -25,6 +27,8 @@ VALIDATE_DRAFT=\u0412\u0430\u043B\u0438\u0434\u0438\u0440\u0430\u0458
|
|
|
25
27
|
|
|
26
28
|
CREATE=\u041A\u0440\u0435\u0438\u0440\u0430\u0458
|
|
27
29
|
|
|
30
|
+
CREATE_AND_BACK=\u041A\u0440\u0435\u0438\u0440\u0430\u0458 \u0438 \u0432\u0440\u0430\u0442\u0438 \u0441\u0435
|
|
31
|
+
|
|
28
32
|
CLOSE=\u0417\u0430\u0442\u0432\u043E\u0440\u0438
|
|
29
33
|
|
|
30
34
|
OK=\u041E\u041A
|
|
@@ -17,6 +17,8 @@ DRAFT_VERSION=Utkast
|
|
|
17
17
|
|
|
18
18
|
SAVE=Spara
|
|
19
19
|
|
|
20
|
+
SAVE_AND_BACK=Spara och tillbaka
|
|
21
|
+
|
|
20
22
|
SAVE_AND_EDIT=Spara och bearbeta
|
|
21
23
|
|
|
22
24
|
SAVE_AND_NEXT=Spara och forts\u00E4tt
|
|
@@ -25,6 +27,8 @@ VALIDATE_DRAFT=Validera
|
|
|
25
27
|
|
|
26
28
|
CREATE=Skapa
|
|
27
29
|
|
|
30
|
+
CREATE_AND_BACK=Skapa och tillbaka
|
|
31
|
+
|
|
28
32
|
CLOSE=St\u00E4ng
|
|
29
33
|
|
|
30
34
|
OK=OK
|
|
@@ -17,6 +17,8 @@ DRAFT_VERSION=\u0E41\u0E1A\u0E1A\u0E23\u0E48\u0E32\u0E07
|
|
|
17
17
|
|
|
18
18
|
SAVE=\u0E40\u0E01\u0E47\u0E1A\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01
|
|
19
19
|
|
|
20
|
+
SAVE_AND_BACK=\u0E40\u0E01\u0E47\u0E1A\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E41\u0E25\u0E30\u0E22\u0E49\u0E2D\u0E19\u0E01\u0E25\u0E31\u0E1A
|
|
21
|
+
|
|
20
22
|
SAVE_AND_EDIT=\u0E40\u0E01\u0E47\u0E1A\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E41\u0E25\u0E30\u0E41\u0E01\u0E49\u0E44\u0E02
|
|
21
23
|
|
|
22
24
|
SAVE_AND_NEXT=\u0E40\u0E01\u0E47\u0E1A\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E41\u0E25\u0E30\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E16\u0E31\u0E14\u0E44\u0E1B
|
|
@@ -25,6 +27,8 @@ VALIDATE_DRAFT=\u0E15\u0E23\u0E27\u0E08\u0E2A\u0E2D\u0E1A\u0E04\u0E27\u0E32\u0E2
|
|
|
25
27
|
|
|
26
28
|
CREATE=\u0E2A\u0E23\u0E49\u0E32\u0E07
|
|
27
29
|
|
|
30
|
+
CREATE_AND_BACK=\u0E2A\u0E23\u0E49\u0E32\u0E07\u0E41\u0E25\u0E30\u0E22\u0E49\u0E2D\u0E19\u0E01\u0E25\u0E31\u0E1A
|
|
31
|
+
|
|
28
32
|
CLOSE=\u0E1B\u0E34\u0E14
|
|
29
33
|
|
|
30
34
|
OK=\u0E15\u0E01\u0E25\u0E07
|
|
@@ -17,6 +17,8 @@ DRAFT_VERSION=Taslak
|
|
|
17
17
|
|
|
18
18
|
SAVE=Sakla
|
|
19
19
|
|
|
20
|
+
SAVE_AND_BACK=Kaydet ve geri d\u00F6n
|
|
21
|
+
|
|
20
22
|
SAVE_AND_EDIT=Sakla ve d\u00FCzenle
|
|
21
23
|
|
|
22
24
|
SAVE_AND_NEXT=Sakla ve sonraki
|
|
@@ -25,6 +27,8 @@ VALIDATE_DRAFT=Do\u011Frula
|
|
|
25
27
|
|
|
26
28
|
CREATE=Yarat
|
|
27
29
|
|
|
30
|
+
CREATE_AND_BACK=Olu\u015Ftur ve geri d\u00F6n
|
|
31
|
+
|
|
28
32
|
CLOSE=Kapat
|
|
29
33
|
|
|
30
34
|
OK=TAMAM
|
|
@@ -17,14 +17,18 @@ DRAFT_VERSION=\u0427\u0435\u0440\u043D\u0435\u0442\u043A\u0430
|
|
|
17
17
|
|
|
18
18
|
SAVE=\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438
|
|
19
19
|
|
|
20
|
+
SAVE_AND_BACK=\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0442\u0430 \u043D\u0430\u0437\u0430\u0434
|
|
21
|
+
|
|
20
22
|
SAVE_AND_EDIT=\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0456 \u0440\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438
|
|
21
23
|
|
|
22
|
-
SAVE_AND_NEXT=\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \
|
|
24
|
+
SAVE_AND_NEXT=\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0442\u0430 \u0434\u0430\u043B\u0456
|
|
23
25
|
|
|
24
26
|
VALIDATE_DRAFT=\u041F\u0435\u0440\u0435\u0432\u0456\u0440\u0438\u0442\u0438
|
|
25
27
|
|
|
26
28
|
CREATE=\u0421\u0442\u0432\u043E\u0440\u0438\u0442\u0438
|
|
27
29
|
|
|
30
|
+
CREATE_AND_BACK=\u0421\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u0442\u0430 \u043D\u0430\u0437\u0430\u0434
|
|
31
|
+
|
|
28
32
|
CLOSE=\u0417\u0430\u043A\u0440\u0438\u0442\u0438
|
|
29
33
|
|
|
30
34
|
OK=OK
|
|
@@ -17,6 +17,8 @@ DRAFT_VERSION=Ba\u0309n tha\u0309o
|
|
|
17
17
|
|
|
18
18
|
SAVE=L\u01B0u
|
|
19
19
|
|
|
20
|
+
SAVE_AND_BACK=L\u01B0u v\u00E0 quay l\u1EA1i
|
|
21
|
+
|
|
20
22
|
SAVE_AND_EDIT=L\u01B0u va\u0300 hi\u00EA\u0323u chi\u0309nh
|
|
21
23
|
|
|
22
24
|
SAVE_AND_NEXT=L\u01B0u va\u0300 m\u01A1\u0309 \u0111\u00F4\u0301i t\u01B0\u01A1\u0323ng k\u00EA\u0301 ti\u00EA\u0301p
|
|
@@ -25,6 +27,8 @@ VALIDATE_DRAFT=Xa\u0301c th\u01B0\u0323c
|
|
|
25
27
|
|
|
26
28
|
CREATE=Ta\u0323o
|
|
27
29
|
|
|
30
|
+
CREATE_AND_BACK=T\u1EA1o v\u00E0 quay l\u1EA1i
|
|
31
|
+
|
|
28
32
|
CLOSE=\u0110o\u0301ng
|
|
29
33
|
|
|
30
34
|
OK=OK
|
|
@@ -17,6 +17,8 @@ DRAFT_VERSION=\u8349\u7A3F
|
|
|
17
17
|
|
|
18
18
|
SAVE=\u4FDD\u5B58
|
|
19
19
|
|
|
20
|
+
SAVE_AND_BACK=\u4FDD\u5B58\u5E76\u8FD4\u56DE
|
|
21
|
+
|
|
20
22
|
SAVE_AND_EDIT=\u4FDD\u5B58\u5E76\u7F16\u8F91
|
|
21
23
|
|
|
22
24
|
SAVE_AND_NEXT=\u4FDD\u5B58\u5E76\u7EE7\u7EED
|
|
@@ -25,6 +27,8 @@ VALIDATE_DRAFT=\u9A8C\u8BC1
|
|
|
25
27
|
|
|
26
28
|
CREATE=\u521B\u5EFA
|
|
27
29
|
|
|
30
|
+
CREATE_AND_BACK=\u521B\u5EFA\u5E76\u8FD4\u56DE
|
|
31
|
+
|
|
28
32
|
CLOSE=\u5173\u95ED
|
|
29
33
|
|
|
30
34
|
OK=\u786E\u5B9A
|
|
@@ -17,6 +17,8 @@ DRAFT_VERSION=\u8349\u7A3F
|
|
|
17
17
|
|
|
18
18
|
SAVE=\u5132\u5B58
|
|
19
19
|
|
|
20
|
+
SAVE_AND_BACK=\u5132\u5B58\u4E26\u8FD4\u56DE
|
|
21
|
+
|
|
20
22
|
SAVE_AND_EDIT=\u5132\u5B58\u548C\u7DE8\u8F2F
|
|
21
23
|
|
|
22
24
|
SAVE_AND_NEXT=\u5132\u5B58\u4E26\u524D\u5F80\u4E0B\u4E00\u6B65
|
|
@@ -25,6 +27,8 @@ VALIDATE_DRAFT=\u9A57\u8B49
|
|
|
25
27
|
|
|
26
28
|
CREATE=\u5EFA\u7ACB
|
|
27
29
|
|
|
30
|
+
CREATE_AND_BACK=\u5EFA\u7ACB\u4E26\u8FD4\u56DE
|
|
31
|
+
|
|
28
32
|
CLOSE=\u95DC\u9589
|
|
29
33
|
|
|
30
34
|
OK=\u78BA\u5B9A
|
|
@@ -97,6 +97,7 @@
|
|
|
97
97
|
press="._templateEventHandlers.onSwitchDraftAndActiveObjectPopOver"
|
|
98
98
|
visible="{= ${IsActiveEntity} ? !!(${HasDraftEntity} && ${DraftAdministrativeData/DraftIsCreatedByMe}) : !!${HasActiveEntity} }"
|
|
99
99
|
enabled="{ui>/enabled}"
|
|
100
|
+
ariaHasPopup="Menu"
|
|
100
101
|
type="Transparent">
|
|
101
102
|
<layoutData>
|
|
102
103
|
<OverflowToolbarLayoutData priority="NeverOverflow" />
|
|
@@ -107,6 +107,15 @@ sap.ui.define(["sap/ui/base/Object", "sap/base/util/extend", "sap/suite/ui/gener
|
|
|
107
107
|
// Draft discard is a kind of cross navigation -> invalidate paginator info
|
|
108
108
|
oTemplateUtils.oServices.oApplication.invalidatePaginatorInfo();
|
|
109
109
|
fnNavigate();
|
|
110
|
+
// Reset any pending changes that may have been inadvertently created during the unbind/refresh cycle.
|
|
111
|
+
// During component teardown, SmartFields may fire change events that write back property values into the OData model,
|
|
112
|
+
// creating stale MERGE requests for draft entities that no longer exist. If these are not cleared, they will be
|
|
113
|
+
// submitted alongside the next action (e.g. Copy/Edit) in the same changeset, causing "Different strict handling
|
|
114
|
+
// requested within one changeset" errors (CX_SADL_GW_DIFF_STRICT_HNDL_RQ) because the MERGE lacks the Prefer header.
|
|
115
|
+
var oModel = oView.getModel();
|
|
116
|
+
if (oModel && oModel.hasPendingChanges()) {
|
|
117
|
+
oModel.resetChanges();
|
|
118
|
+
}
|
|
110
119
|
};
|
|
111
120
|
});
|
|
112
121
|
}
|
|
@@ -151,44 +151,52 @@ sap.ui.define([
|
|
|
151
151
|
};
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
+
function fnApplyVariantState() {
|
|
155
|
+
bIsApplyingVariant = true;
|
|
156
|
+
if (!oPreliminaryState) {
|
|
157
|
+
// if no state is provided set default variant (not modified)
|
|
158
|
+
// use cases:
|
|
159
|
+
// - LR: if appStateKey in the URL that cannot be read
|
|
160
|
+
// - OP: if switching to different object instance (in discovery mode always, in persistency mode when page was not shown)
|
|
161
|
+
fnSetVariant(oSmartVariantManagement.getDefaultVariantId());
|
|
162
|
+
} else if (oPreliminaryState.modified) {
|
|
163
|
+
// Special logic according to UX: If variant was modified anyway, there's no benefit for the user to see the name (but it could be confusing), so standard variant (not default!) should be
|
|
164
|
+
// set (which is achieved by empty string)
|
|
165
|
+
fnSetVariant("");
|
|
166
|
+
oSmartVariantManagement.currentVariantSetModified(true);
|
|
167
|
+
// Usually restoring the state of any of the managed controls should mark the variant as dirty, but there might be edge cases (state from an old release not containing information for any
|
|
168
|
+
// managed control now relevant), so to be on the safe side, we set modified=true explicitly.
|
|
169
|
+
fnSetManagedControlStates(oPreliminaryState);
|
|
170
|
+
} else {
|
|
171
|
+
fnSetVariant(oPreliminaryState.variantId);
|
|
172
|
+
// if managedControlStates is not provided (legacy or maybe broken state), applying VM state should not break
|
|
173
|
+
// don't apply undefined to managedControlWrappers, but just leave them untouched
|
|
174
|
+
if (oPreliminaryState.managedControlStates){
|
|
175
|
+
if (oSmartFilterBarWrapper) {
|
|
176
|
+
// SmartFilterBarWrapper.setState is invoked to apply the state changes modified by "modifyStartupExtension"
|
|
177
|
+
oSmartFilterBarWrapper.setState(oPreliminaryState.managedControlStates[oSmartFilterBarWrapper.getLocalId()]);
|
|
178
|
+
}
|
|
179
|
+
if (oPreliminaryState.variantId !== oSmartVariantManagement.getCurrentVariantId()){
|
|
180
|
+
// variant could not be set because it is not known, i.e. it could be private and URL was shared, or could be deleted after page was bookmarked. In this case,
|
|
181
|
+
// standard variant is set (by VM). Additionally, it should be marked as modified.
|
|
182
|
+
oSmartVariantManagement.currentVariantSetModified(true);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
bIsApplyingVariant = false;
|
|
187
|
+
}
|
|
188
|
+
|
|
154
189
|
function setState(oState) {
|
|
155
190
|
oPreliminaryState = oState;
|
|
156
191
|
|
|
157
|
-
//
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
fnSetVariant(oSmartVariantManagement.getDefaultVariantId());
|
|
166
|
-
} else if (oPreliminaryState.modified) {
|
|
167
|
-
// Special logic according to UX: If variant was modified anyway, there's no benefit for the user to see the name (but it could be confusing), so standard variant (not default!) should be
|
|
168
|
-
// set (which is achieved by empty string)
|
|
169
|
-
fnSetVariant("");
|
|
170
|
-
oSmartVariantManagement.currentVariantSetModified(true);
|
|
171
|
-
// Usually restoring the state of any of the managed controls should mark the variant as dirty, but there might be edge cases (state from an old release not containing information for any
|
|
172
|
-
// managed control now relevant), so to be on the safe side, we set modified=true explicitly.
|
|
173
|
-
fnSetManagedControlStates(oPreliminaryState);
|
|
174
|
-
} else {
|
|
175
|
-
fnSetVariant(oPreliminaryState.variantId);
|
|
176
|
-
// if managedControlStates is not provided (legacy or maybe broken state), applying VM state should not break
|
|
177
|
-
// don't apply undefined to managedControlWrappers, but just leave them untouched
|
|
178
|
-
if (oPreliminaryState.managedControlStates){
|
|
179
|
-
if (oSmartFilterBarWrapper) {
|
|
180
|
-
// SmartFilterBarWrapper.setState is invoked to apply the state changes modified by "modifyStartupExtension"
|
|
181
|
-
oSmartFilterBarWrapper.setState(oPreliminaryState.managedControlStates[oSmartFilterBarWrapper.getLocalId()]);
|
|
182
|
-
}
|
|
183
|
-
if (oPreliminaryState.variantId !== oSmartVariantManagement.getCurrentVariantId()){
|
|
184
|
-
// variant could not be set because it is not known, i.e. it could be private and URL was shared, or could be deleted after page was bookmarked. In this case,
|
|
185
|
-
// standard variant is set (by VM). Additionally, it should be marked as modified.
|
|
186
|
-
oSmartVariantManagement.currentVariantSetModified(true);
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
bIsApplyingVariant = false;
|
|
191
|
-
});
|
|
192
|
+
// If all managed controls are already initialized (e.g., during iAppState restoration on back-navigation),
|
|
193
|
+
// apply state synchronously to avoid race condition with loadData() in IappStateHandler.
|
|
194
|
+
// When controls are not yet initialized (initial app load), defer as before.
|
|
195
|
+
if (bAllControlsInitialized) {
|
|
196
|
+
fnApplyVariantState();
|
|
197
|
+
} else {
|
|
198
|
+
oAllControlsInitializedPromise.then(fnApplyVariantState);
|
|
199
|
+
}
|
|
192
200
|
}
|
|
193
201
|
|
|
194
202
|
function attachStateChanged(fnHandler) {
|
|
@@ -959,7 +959,7 @@ sap.ui.define([
|
|
|
959
959
|
* @public
|
|
960
960
|
* @extends sap.ui.core.UIComponent
|
|
961
961
|
* @author SAP SE
|
|
962
|
-
* @version 1.
|
|
962
|
+
* @version 1.149.0
|
|
963
963
|
* @name sap.suite.ui.generic.template.lib.AppComponent
|
|
964
964
|
*/
|
|
965
965
|
var oAppComponent = UIComponent.extend("sap.suite.ui.generic.template.lib.AppComponent", {
|
|
@@ -577,6 +577,15 @@ sap.ui.define(["sap/ui/base/Object",
|
|
|
577
577
|
// If there is at least one new message we assume that the backend has checked the object (and found business errors). Thus, the old messages can be removed and only the new messages
|
|
578
578
|
// have to stay. However, we delete all messages and then add the new ones. This ensures, that the message model gets a change event even if no message has been there before.
|
|
579
579
|
// This will trigger the follow-up activities.
|
|
580
|
+
// Reset pending changes before adding messages to prevent infinite loop when entering edit mode again.
|
|
581
|
+
// Invalid values cause infinite loop because the pending changes (with invalid values) are resubmitted when the user clicks Edit, triggering the same error.
|
|
582
|
+
// Must run before addMessages: resetChanges calls _discardEntityChanges which removes messages whose target path starts
|
|
583
|
+
// with the binding context path — on a sub-object page this would delete the error messages we are about to add.
|
|
584
|
+
var oContext = oController.getView().getBindingContext();
|
|
585
|
+
var sContextPath = oContext && oContext.getPath();
|
|
586
|
+
if (sContextPath && oModel && oModel.hasPendingChanges()) {
|
|
587
|
+
oModel.resetChanges([sContextPath], undefined, true);
|
|
588
|
+
}
|
|
580
589
|
if (aNewMessages.length) {
|
|
581
590
|
oMessageManager.removeMessages(aAllMessages);
|
|
582
591
|
oMessageManager.addMessages(aNewMessages);
|
|
@@ -589,13 +598,6 @@ sap.ui.define(["sap/ui/base/Object",
|
|
|
589
598
|
oServices.oTemplateCapabilities.oMessageButtonHelper.showMessagePopover();
|
|
590
599
|
}
|
|
591
600
|
}
|
|
592
|
-
// Reset pending changes to prevent infinite loop when entering edit mode again.
|
|
593
|
-
// Invalid values cause infinite loop because the pending changes (with invalid values) are resubmitted when the user clicks Edit, triggering the same error.
|
|
594
|
-
var oContext = oController.getView().getBindingContext();
|
|
595
|
-
var sContextPath = oContext && oContext.getPath();
|
|
596
|
-
if (sContextPath && oModel && oModel.hasPendingChanges()) {
|
|
597
|
-
oModel.resetChanges([sContextPath], undefined, true);
|
|
598
|
-
}
|
|
599
601
|
reject();
|
|
600
602
|
});
|
|
601
603
|
oBusyHelper.setBusy(oSubmitChange);
|
|
@@ -164,11 +164,8 @@ sap.ui.define([
|
|
|
164
164
|
(typeof oRow._contextPath === "string" || typeof oRow._rowIndex === "number");
|
|
165
165
|
});
|
|
166
166
|
|
|
167
|
-
// Single-table limitation: only the first valid collection is accepted.
|
|
168
|
-
// Future work: extend collectionFields structure to support multiple tables.
|
|
169
167
|
var oValidation = oFieldCollector.isValidSmartTable(oFieldMeta.entitySet, oObjectPage);
|
|
170
168
|
if (aRowUpdates.length > 0 &&
|
|
171
|
-
Object.keys(oSplitResult.collectionFields).length === 0 &&
|
|
172
169
|
oValidation.isValid) {
|
|
173
170
|
oSplitResult.collectionFields[sFieldName] = aRowUpdates;
|
|
174
171
|
oLogger.debug("splitAIResultByCollection: accepted collection field '" + sFieldName + "' with " + aRowUpdates.length + " rows");
|
|
@@ -260,9 +260,12 @@ sap.ui.define([
|
|
|
260
260
|
null, oObjectPageModel, oController
|
|
261
261
|
);
|
|
262
262
|
|
|
263
|
-
// Update dialog model with section data and AI result
|
|
264
|
-
|
|
263
|
+
// Update dialog model with section data and AI result.
|
|
264
|
+
// llmData must be set BEFORE sections so that when the sections binding fires
|
|
265
|
+
// and triggers the populateSmartFields formatter synchronously, the AI-suggested
|
|
266
|
+
// values are already available and can be written to the transient context.
|
|
265
267
|
oModel.setProperty("/llmData", simpleFields);
|
|
268
|
+
oModel.setProperty("/sections", aData);
|
|
266
269
|
|
|
267
270
|
// Process collection/table updates
|
|
268
271
|
mCollectionUpdates = collectionFields;
|
|
@@ -284,7 +287,7 @@ sap.ui.define([
|
|
|
284
287
|
}
|
|
285
288
|
);
|
|
286
289
|
|
|
287
|
-
|
|
290
|
+
await _refreshTableValidationAndSaveState();
|
|
288
291
|
|
|
289
292
|
var iTotalFields = Object.keys(oSplit.updatableFields).length + Object.keys(oSplit.nonUpdatableFields).length;
|
|
290
293
|
if (iTotalFields === 0 && !bHasTableUpdates) {
|