@sapui5/sap.suite.ui.generic.template 1.150.1 → 1.152.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/control/visualfilterbar/SmartVisualFilterBar.js +4 -3
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_en_US_sappsd.properties +17 -9
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_en_US_saptrc.properties +113 -105
- 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/AnnotationHelperSmartList.js +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/Component.js +4 -2
- package/src/sap/suite/ui/generic/template/ListReport/controller/ControllerImplementation.js +0 -6
- package/src/sap/suite/ui/generic/template/ListReport/controller/IappStateHandler.js +9 -0
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_US_sappsd.properties +8 -5
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_en_US_saptrc.properties +61 -58
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_fr.properties +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_sv.properties +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/FullscreenPage.fragment.xml +3 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/controller/ControllerImplementation.js +3 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/controller/RelatedAppsHandler.js +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/controller/inlineCreationRows/InlineCreationRowsHelper.js +10 -7
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_de.properties +4 -4
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en.properties +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_US_sappsd.properties +53 -9
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_US_saprigi.properties +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_US_saptrc.properties +143 -95
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fr.properties +3 -3
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_no.properties +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ro.properties +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ru.properties +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sl.properties +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sv.properties +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_uk.properties +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/QuickCreate/i18n/i18n_en_US_saptrc.properties +14 -14
- package/src/sap/suite/ui/generic/template/QuickCreate/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/QuickView/i18n/i18n_en_US_saptrc.properties +2 -2
- package/src/sap/suite/ui/generic/template/QuickView/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/detailTemplates/i18n/i18n_en_US_saptrc.properties +6 -6
- package/src/sap/suite/ui/generic/template/fragments/AnalyticalTableColumns.fragment.xml +0 -10
- package/src/sap/suite/ui/generic/template/fragments/EasyFilter.fragment.xml +0 -2
- package/src/sap/suite/ui/generic/template/fragments/GridTableColumns.fragment.xml +5 -2
- package/src/sap/suite/ui/generic/template/fragments/TreeTableColumns.fragment.xml +5 -2
- package/src/sap/suite/ui/generic/template/genericUtilities/controlHelper.js +10 -1
- package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartFilterBarWrapper.js +45 -32
- package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartTableChartCommon.js +10 -0
- package/src/sap/suite/ui/generic/template/js/AnnotationHelper.js +21 -17
- package/src/sap/suite/ui/generic/template/lib/AppComponent.js +3 -1
- package/src/sap/suite/ui/generic/template/lib/Application.js +15 -2
- package/src/sap/suite/ui/generic/template/lib/CRUDManager.js +5 -24
- package/src/sap/suite/ui/generic/template/lib/CommonEventHandlers.js +30 -8
- package/src/sap/suite/ui/generic/template/lib/CommonUtils.js +13 -5
- package/src/sap/suite/ui/generic/template/lib/PageLeaveHandler.js +19 -14
- package/src/sap/suite/ui/generic/template/lib/ShareUtils.js +1 -1
- package/src/sap/suite/ui/generic/template/lib/ai/EasyFill/EasyFillAIOrchestrator.js +1 -6
- package/src/sap/suite/ui/generic/template/lib/ai/EasyFill/EasyFillApplyHandler.js +25 -44
- package/src/sap/suite/ui/generic/template/lib/ai/EasyFill/EasyFillDialogController.js +80 -64
- package/src/sap/suite/ui/generic/template/lib/ai/EasyFill/EasyFillFieldCollector.js +442 -259
- package/src/sap/suite/ui/generic/template/lib/ai/EasyFill/EasyFillFormRenderer.js +125 -161
- package/src/sap/suite/ui/generic/template/lib/ai/EasyFill/EasyFillHandler.js +134 -160
- package/src/sap/suite/ui/generic/template/lib/ai/EasyFill/EasyFillTableRenderer.js +55 -189
- package/src/sap/suite/ui/generic/template/lib/ai/EasyFill/fragments/EasyFillDialog.fragment.xml +67 -86
- package/src/sap/suite/ui/generic/template/lib/ai/EasyFilterBarHandler.js +175 -54
- package/src/sap/suite/ui/generic/template/lib/ai/EasyFilterDataFetcherHelper.js +1 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_sappsd.properties +275 -14
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_saptrc.properties +392 -163
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fi.properties +4 -4
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sl.properties +7 -7
- package/src/sap/suite/ui/generic/template/lib/insights/InsightsCardHelper.js +16 -4
- package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +3 -2
- package/src/sap/suite/ui/generic/template/lib/presentationControl/SmartTableHandler.js +13 -13
- package/src/sap/suite/ui/generic/template/library.js +1 -1
- package/src/sap/suite/ui/generic/template/listTemplates/controller/IappStateHandler.js +12 -3
- package/src/sap/suite/ui/generic/template/listTemplates/i18n/i18n_en_US_saptrc.properties +1 -1
- package/src/sap/suite/ui/generic/template/themes/base/ObjectPage.less +1 -1
|
@@ -267,13 +267,13 @@ NOITEMS_SMARTTABLE_ILLUSTRATION_TITLE=Merkint\u00F6j\u00E4 ei viel\u00E4 ole
|
|
|
267
267
|
|
|
268
268
|
NOITEMS_SMARTTABLE_ILLUSTRATION_DESCRIPTION=Kun niit\u00E4 on, n\u00E4et ne t\u00E4ss\u00E4.
|
|
269
269
|
|
|
270
|
-
NOITEMS_SMARTTABLE_WITH_FILTER=
|
|
270
|
+
NOITEMS_SMARTTABLE_WITH_FILTER=Ei elementtej\u00E4. Yrit\u00E4 mukauttaa haku- tai suodatusperusteita.
|
|
271
271
|
|
|
272
272
|
NOITEMS_SMARTTABLE_WITH_FILTER_ILLUSTRATION_TITLE=Tuloksia ei l\u00F6ytynyt
|
|
273
273
|
|
|
274
274
|
NOITEMS_SMARTTABLE_WITH_FILTER_ILLUSTRATION_DESCRIPTION=Kokeile muuttaa suodatusperusteita.
|
|
275
275
|
|
|
276
|
-
NOITEMS_SMARTTABLE_WITH_FILTER_FOR_SEGMENTEDBUTTON=
|
|
276
|
+
NOITEMS_SMARTTABLE_WITH_FILTER_FOR_SEGMENTEDBUTTON=Elementtej\u00E4 ei l\u00F6ytynyt valittujen suodatusperusteiden ja valitun taulukkon\u00E4kym\u00E4n osalta.
|
|
277
277
|
|
|
278
278
|
NOITEMS_SMARTTABLE_WITH_FILTER_FOR_SEGMENTEDBUTTON_ILLUSTRATION_TITLE=Tuloksia ei l\u00F6ytynyt
|
|
279
279
|
|
|
@@ -285,7 +285,7 @@ NOITEMS_SMARTCHART_ILLUSTRATION_TITLE=Merkint\u00F6j\u00E4 ei viel\u00E4 ole
|
|
|
285
285
|
|
|
286
286
|
NOITEMS_SMARTCHART_ILLUSTRATION_DESCRIPTION=Kun niit\u00E4 on, n\u00E4et ne t\u00E4ss\u00E4.
|
|
287
287
|
|
|
288
|
-
NOITEMS_LR_SMARTCHART=
|
|
288
|
+
NOITEMS_LR_SMARTCHART=Tietoja ei l\u00F6ytynyt valittujen suodatusperusteiden ja valitun kaavion\u00E4kym\u00E4n osalta.
|
|
289
289
|
|
|
290
290
|
NOITEMS_LR_SMARTCHART_ILLUSTRATION_TITLE=Tuloksia ei l\u00F6ytynyt
|
|
291
291
|
|
|
@@ -315,7 +315,7 @@ NOITEMS_LR_SMARTTABLE_WITH_FILTER_ILLUSTRATION_TITLE=Tuloksia ei l\u00F6ytynyt
|
|
|
315
315
|
|
|
316
316
|
NOITEMS_LR_SMARTTABLE_WITH_FILTER_ILLUSTRATION_DESCRIPTION=Kokeile muuttaa suodatusperusteita.
|
|
317
317
|
|
|
318
|
-
NOITEMS_MULTIVIEW_LR_SMARTTABLE_WITH_FILTER=
|
|
318
|
+
NOITEMS_MULTIVIEW_LR_SMARTTABLE_WITH_FILTER=Tietoja ei l\u00F6ytynyt valittujen suodatusperusteiden ja valitun taulukkon\u00E4kym\u00E4n osalta.
|
|
319
319
|
|
|
320
320
|
NOITEMS_MULTIVIEW_LR_SMARTTABLE_WITH_FILTER_ILLUSTRATION_TITLE=Tuloksia ei l\u00F6ytynyt
|
|
321
321
|
|
|
@@ -182,7 +182,7 @@ ST_GENERIC_ERROR_NAVIGATION_PROPERTY_NOT_CORRECT=Lastnost navigacije {0} v pripo
|
|
|
182
182
|
|
|
183
183
|
ST_GENERIC_FCL_FULLSCREEN=Celotni ekran
|
|
184
184
|
|
|
185
|
-
ST_GENERIC_FCL_EXIT_FULLSCREEN=Izhod iz
|
|
185
|
+
ST_GENERIC_FCL_EXIT_FULLSCREEN=Izhod iz celozaslonskega na\u010Dina
|
|
186
186
|
|
|
187
187
|
ST_GENERIC_FCL_CLOSE_COLUMN=Zapri
|
|
188
188
|
|
|
@@ -263,7 +263,7 @@ UNNAMED_OBJECT=Neimenovani objekt
|
|
|
263
263
|
|
|
264
264
|
NOITEMS_SMARTTABLE=Elementi niso na voljo.
|
|
265
265
|
|
|
266
|
-
NOITEMS_SMARTTABLE_ILLUSTRATION_TITLE=Ni \u0161e vnosov
|
|
266
|
+
NOITEMS_SMARTTABLE_ILLUSTRATION_TITLE=Ni \u0161e vnosov
|
|
267
267
|
|
|
268
268
|
NOITEMS_SMARTTABLE_ILLUSTRATION_DESCRIPTION=Ko bodo na voljo, bodo prikazani tukaj.
|
|
269
269
|
|
|
@@ -281,7 +281,7 @@ NOITEMS_SMARTTABLE_WITH_FILTER_FOR_SEGMENTEDBUTTON_ILLUSTRATION_DESCRIPTION=Posk
|
|
|
281
281
|
|
|
282
282
|
NOITEMS_SMARTCHART=Podatki niso najdeni.
|
|
283
283
|
|
|
284
|
-
NOITEMS_SMARTCHART_ILLUSTRATION_TITLE=Ni \u0161e vnosov
|
|
284
|
+
NOITEMS_SMARTCHART_ILLUSTRATION_TITLE=Ni \u0161e vnosov
|
|
285
285
|
|
|
286
286
|
NOITEMS_SMARTCHART_ILLUSTRATION_DESCRIPTION=Ko bodo, jih boste videli tukaj.
|
|
287
287
|
|
|
@@ -293,7 +293,7 @@ NOITEMS_LR_SMARTCHART_ILLUSTRATION_DESCRIPTION=Poskusite spremeniti pogled ali p
|
|
|
293
293
|
|
|
294
294
|
NOITEMS_SMARTCHART_WITH_FILTER=Podatki niso najdeni. Poskusite prilagoditi parametre filtrov.
|
|
295
295
|
|
|
296
|
-
NOITEMS_SMARTCHART_WITH_FILTER_ILLUSTRATION_TITLE=Rezultati niso najdeni
|
|
296
|
+
NOITEMS_SMARTCHART_WITH_FILTER_ILLUSTRATION_TITLE=Rezultati niso najdeni
|
|
297
297
|
|
|
298
298
|
NOITEMS_SMARTCHART_WITH_FILTER_ILLUSTRATION_DESCRIPTION=Poskusite spremeniti pogoje filtriranja.
|
|
299
299
|
|
|
@@ -305,7 +305,7 @@ SMARTCHART_INITIAL_NODATA_ILLUSTRATION_DESCRIPTION=Najprej navedite pogoje iskan
|
|
|
305
305
|
|
|
306
306
|
NOITEMS_LR_SMARTTABLE=Podatki niso najdeni.
|
|
307
307
|
|
|
308
|
-
NOITEMS_LR_SMARTTABLE_ILLUSTRATION_TITLE=Ni \u0161e vnosov
|
|
308
|
+
NOITEMS_LR_SMARTTABLE_ILLUSTRATION_TITLE=Ni \u0161e vnosov
|
|
309
309
|
|
|
310
310
|
NOITEMS_LR_SMARTTABLE_ILLUSTRATION_DESCRIPTION=Ko bodo, jih boste videli tukaj.
|
|
311
311
|
|
|
@@ -506,7 +506,7 @@ EASY_FILL_SECOND_LABEL_TEXT=Navedite vse podatke, ki bodo umetni inteligenci v p
|
|
|
506
506
|
|
|
507
507
|
EASY_FILL_TEXTAREA_PLACEHOLDER=Navedite vse podatke, ki bodo umetni inteligenci v pomo\u010D pri izpolnjevanju ustreznih polj. Upo\u0161tevajte, da lahko umetna inteligenca pomaga le pri vidnih poljih in vrsticah.
|
|
508
508
|
|
|
509
|
-
EASY_FILL_ILLUSTRATION_TITLE_INITIAL=Pa izpolnimo nekatera polja
|
|
509
|
+
EASY_FILL_ILLUSTRATION_TITLE_INITIAL=Pa izpolnimo nekatera polja
|
|
510
510
|
|
|
511
511
|
EASY_FILL_ILLUSTRATION_DESCRIPTION_INITIAL=Najprej navedite zahtevane podatke, da prika\u017Eete predlagane rezultate.
|
|
512
512
|
|
|
@@ -514,7 +514,7 @@ EASY_FILL_ILLUSTRATION_TITLE_NO_ENTRIES=Polja niso izpolnjena
|
|
|
514
514
|
|
|
515
515
|
EASY_FILL_ILLUSTRATION_DESCRIPTION_NO_ENTRIES=Za va\u0161o poizvedbo nismo uspeli najti ujemanja z obstoje\u010Dimi polji.
|
|
516
516
|
|
|
517
|
-
EASY_FILL_ILLUSTRATION_TITLE_ERROR=Polj ni mogo\u010De izpolniti
|
|
517
|
+
EASY_FILL_ILLUSTRATION_TITLE_ERROR=Polj ni mogo\u010De izpolniti
|
|
518
518
|
|
|
519
519
|
EASY_FILL_ILLUSTRATION_DESCRIPTION_ERROR=O\u010Ditno je pri\u0161lo do napake. Poskusite znova in \u010De se te\u017Eava \u0161e vedno pojavlja, se obrnite na skrbnika.
|
|
520
520
|
|
|
@@ -820,11 +820,17 @@ sap.ui.define(["sap/suite/ui/generic/template/genericUtilities/metadataAnalyser"
|
|
|
820
820
|
oCriticalityAnnotation = oAnnotation;
|
|
821
821
|
return (oAnnotation.Criticality && oAnnotation.Value && oAnnotation.Value.Path) === oProperty.name;
|
|
822
822
|
});
|
|
823
|
+
|
|
824
|
+
// sColumnValue stays a PLAIN concatenated path (unchanged behavior from before).
|
|
825
|
+
// Currency/Unit paths are tracked separately so formatting can be applied later,
|
|
826
|
+
// only where it's safe to do so (i.e. no Text-arrangement wrapping follows).
|
|
827
|
+
var sCurrencyPath, sUnitPath;
|
|
823
828
|
if (oProperty["Org.OData.Measures.V1.ISOCurrency"] && oProperty["Org.OData.Measures.V1.ISOCurrency"].Path) {
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
if (oProperty["Org.OData.Measures.V1.Unit"] && oProperty["Org.OData.Measures.V1.Unit"].Path) {
|
|
827
|
-
|
|
829
|
+
sCurrencyPath = sNavigation + oProperty["Org.OData.Measures.V1.ISOCurrency"].Path;
|
|
830
|
+
sColumnValue = sColumnValue.concat(" " + "{" + sCurrencyPath + "}");
|
|
831
|
+
} else if (oProperty["Org.OData.Measures.V1.Unit"] && oProperty["Org.OData.Measures.V1.Unit"].Path) {
|
|
832
|
+
sUnitPath = sNavigation + oProperty["Org.OData.Measures.V1.Unit"].Path;
|
|
833
|
+
sColumnValue = sColumnValue.concat(" " + "{" + sUnitPath + "}");
|
|
828
834
|
}
|
|
829
835
|
|
|
830
836
|
if (oProperty['com.sap.vocabularies.Common.v1.Text'] && oProperty['com.sap.vocabularies.Common.v1.Text'].Path) {
|
|
@@ -861,6 +867,12 @@ sap.ui.define(["sap/suite/ui/generic/template/genericUtilities/metadataAnalyser"
|
|
|
861
867
|
if (bIsPropertySemanticKey) {
|
|
862
868
|
oColumnObject.identifier = bIsPropertySemanticKey;
|
|
863
869
|
}
|
|
870
|
+
// Safe to format here: no outer expression wrapping will happen for this column.
|
|
871
|
+
if (oProperty.type === 'Edm.Decimal' && sCurrencyPath) {
|
|
872
|
+
oColumnObject['value'] = "{= format.currency(${" + oProperty.name + "}, ${" + sCurrencyPath + "})}";
|
|
873
|
+
} else if (oProperty.type === 'Edm.Decimal' && sUnitPath) {
|
|
874
|
+
oColumnObject['value'] = "{= format.unit(${" + oProperty.name + "}, ${" + sUnitPath + "})}";
|
|
875
|
+
}
|
|
864
876
|
}
|
|
865
877
|
if (bIsCriticality) {
|
|
866
878
|
oColumnObject.state = fnBuildExpressionForCriticalityColor(oCriticalityAnnotation);
|
|
@@ -2242,6 +2242,7 @@ sap.ui.define(["sap/ui/base/Object",
|
|
|
2242
2242
|
var sRoute = oRegistryEntry.route;
|
|
2243
2243
|
var iCurrentActivity = oActivationInfo.componentsDisplayed[sRoute];
|
|
2244
2244
|
var bIsComponentCurrentlyActive = iCurrentActivity === 1;
|
|
2245
|
+
var bIsBackwards = isBackwards();
|
|
2245
2246
|
var fnPerformActivation = function(sBindingPath){
|
|
2246
2247
|
oRegistryEntry.sCurrentBindingPath = sBindingPath;
|
|
2247
2248
|
var fnActivate = function() {
|
|
@@ -2249,7 +2250,7 @@ sap.ui.define(["sap/ui/base/Object",
|
|
|
2249
2250
|
var bindComponentPromise = oRegistryEntry.utils.bindComponent(oRegistryEntry.sCurrentBindingPath, bIsComponentCurrentlyActive);
|
|
2250
2251
|
return bindComponentPromise
|
|
2251
2252
|
.then(function(){
|
|
2252
|
-
(oRegistryEntry.methods.onActivate || Function.prototype)(sBindingPath, bIsComponentCurrentlyActive);
|
|
2253
|
+
(oRegistryEntry.methods.onActivate || Function.prototype)(sBindingPath, bIsComponentCurrentlyActive, bIsBackwards);
|
|
2253
2254
|
})
|
|
2254
2255
|
.then(function(){
|
|
2255
2256
|
if (sComponentId === oCurrentIdentity.treeNode.componentId){
|
|
@@ -3222,7 +3223,7 @@ sap.ui.define(["sap/ui/base/Object",
|
|
|
3222
3223
|
* @param {sap.suite.ui.generic.template.lib.AppComponent} oAppComponent The AppComponent instance
|
|
3223
3224
|
* @public
|
|
3224
3225
|
* @extends sap.ui.base.Object
|
|
3225
|
-
* @version 1.
|
|
3226
|
+
* @version 1.152.0
|
|
3226
3227
|
* @since 1.30.0
|
|
3227
3228
|
* @alias sap.suite.ui.generic.template.lib.NavigationController
|
|
3228
3229
|
*/
|
|
@@ -277,6 +277,7 @@ sap.ui.define([
|
|
|
277
277
|
/* eslint-disable */
|
|
278
278
|
testableHelper.testable(getGridTableRow, "getGridTableRow");
|
|
279
279
|
testableHelper.testable(getGridTableRowIndexFromContext, "getGridTableRowIndexFromContext");
|
|
280
|
+
testableHelper.testable(fnGetFirstEmptyCreationRowContext, "getFirstEmptyCreationRowContext");
|
|
280
281
|
/* eslint-enable */
|
|
281
282
|
|
|
282
283
|
function getFirstFocussableInputForRow(oTableRow){
|
|
@@ -401,22 +402,21 @@ sap.ui.define([
|
|
|
401
402
|
return bIsMTable || fnGetBinding().isLengthFinal();
|
|
402
403
|
}
|
|
403
404
|
|
|
404
|
-
function
|
|
405
|
-
var
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
if (oCurrentRowContext.isInactive()) {
|
|
411
|
-
return oCurrentRowContext;
|
|
405
|
+
function fnGetFirstEmptyCreationRowContext(oEditedRowContexts) {
|
|
406
|
+
var aContexts = fnGetBinding().getAllCurrentContexts();
|
|
407
|
+
for (var i = 0; i < aContexts.length; i++) {
|
|
408
|
+
var oCtx = aContexts[i];
|
|
409
|
+
if (oCtx.isInactive() && !oEditedRowContexts.has(oCtx.getPath())) {
|
|
410
|
+
return oCtx;
|
|
412
411
|
}
|
|
413
412
|
}
|
|
413
|
+
return null;
|
|
414
414
|
}
|
|
415
415
|
|
|
416
|
-
function
|
|
417
|
-
var
|
|
418
|
-
if (
|
|
419
|
-
fnSetFocusOnFirstEditableFieldInTableRow(
|
|
416
|
+
function fnFocusOnFirstEmptyCreationRow(oEditedRowContexts) {
|
|
417
|
+
var oCtx = fnGetFirstEmptyCreationRowContext(oEditedRowContexts);
|
|
418
|
+
if (oCtx) {
|
|
419
|
+
fnSetFocusOnFirstEditableFieldInTableRow(oCtx);
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
422
|
|
|
@@ -678,7 +678,7 @@ sap.ui.define([
|
|
|
678
678
|
getCustomData: fnGetCustomData,
|
|
679
679
|
getTitleInfoForItem: fnGetTitleInfoForItem,
|
|
680
680
|
isLengthFinal: fnIsLengthFinal,
|
|
681
|
-
|
|
681
|
+
focusOnFirstEmptyCreationRow: fnFocusOnFirstEmptyCreationRow,
|
|
682
682
|
isMTable: isMTable, // for temporary use only. Maybe removed in future.
|
|
683
683
|
getPressedItemParameter: fnGetPressedItemParameter,
|
|
684
684
|
findVisibleColumnProperties: fnFindVisibleColumnProperties,
|
|
@@ -64,6 +64,15 @@ sap.ui.define(["sap/ui/base/Object",
|
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
+
oNavigationHandler.parseNavigation().done((oAppData) => {
|
|
68
|
+
// Set default values into SFB. It's need to be done before SFB is initialized.
|
|
69
|
+
// SFB picks up provided default values and correctly configures appropriate filters.
|
|
70
|
+
// Without default values value, no default options will be provided to the user and default values from variant will be ignored.
|
|
71
|
+
if (oAppData && oAppData.oDefaultedSelectionVariant && oAppData.oDefaultedSelectionVariant.selectOptions) {
|
|
72
|
+
oState.oSmartFilterbar.setDefaultValues(oAppData.oDefaultedSelectionVariant.selectOptions);
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
|
|
67
76
|
/**
|
|
68
77
|
* This function return the URL parameter info
|
|
69
78
|
* @return {promise}
|
|
@@ -437,7 +446,7 @@ sap.ui.define(["sap/ui/base/Object",
|
|
|
437
446
|
//Case 2 - Filter has default values set through Annotations, FLP Settings or vendor layer.
|
|
438
447
|
|
|
439
448
|
/* If Default Values set through FLP Settings, standard variant should be dirty
|
|
440
|
-
If Filters coming from Common.FilterDefaultValue, standard variant should be clean
|
|
449
|
+
If Filters coming from Common.FilterDefaultValue, standard variant should be clean
|
|
441
450
|
*/
|
|
442
451
|
if (oAppData.bNavSelVarHasDefaultsOnly) {
|
|
443
452
|
oController.byId('template::PageVariant').currentVariantSetModified(true);
|
|
@@ -722,7 +731,7 @@ sap.ui.define(["sap/ui/base/Object",
|
|
|
722
731
|
// - adjusts URL
|
|
723
732
|
// - stores appState for this URL (asynchronously)
|
|
724
733
|
var oCurrentAppState = getCurrentAppState();
|
|
725
|
-
|
|
734
|
+
|
|
726
735
|
var oStoreInnerAppStatePromise = oNavigationHandler.storeInnerAppStateAsync(oCurrentAppState, true);
|
|
727
736
|
oStoreInnerAppStatePromise.done(function (sAppStateKey) {
|
|
728
737
|
sStoredAppStateKey = sAppStateKey;
|
|
@@ -740,7 +749,7 @@ sap.ui.define(["sap/ui/base/Object",
|
|
|
740
749
|
oStoreInnerAppStatePromise.fail(function (oError) {
|
|
741
750
|
oLogger.error("AnalyticalListPage.fnStoreCurrentAppStateAndAdjustURL: " + oError);
|
|
742
751
|
sStoredAppStateKey = null;
|
|
743
|
-
});
|
|
752
|
+
});
|
|
744
753
|
}
|
|
745
754
|
function fnCheckToLaunchDialog() {
|
|
746
755
|
var oTemplatePrivate = oState.oController.getOwnerComponent().getModel("_templPriv");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
ST_LIST_DISPLAY_TEXT_FOR_EXECUTE_ON_SELECTION=
|
|
2
|
+
ST_LIST_DISPLAY_TEXT_FOR_EXECUTE_ON_SELECTION=tEi3DGuaeMpgsJ3WKALEDQ_If predefined filter values are available, the content loads automatically.
|
|
@@ -416,7 +416,7 @@ html[dir='rtl'] .sapSmartTemplatesObjectPage .sapSmartTemplatesObjectPageSubSect
|
|
|
416
416
|
height: 100%;
|
|
417
417
|
|
|
418
418
|
.sapUiFormCL .sapUiFormCLElement .sapEasyFillPreviouslyLabel {
|
|
419
|
-
|
|
419
|
+
color: var(--sapContent_LabelColor);
|
|
420
420
|
}
|
|
421
421
|
|
|
422
422
|
.sapUxAPBlockContainer {
|