@sapui5/sap.suite.ui.generic.template 1.150.0 → 1.151.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 +1 -1
- 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/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/manifest.json +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 +40 -28
- package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartVariantManagementWrapper.js +8 -1
- package/src/sap/suite/ui/generic/template/lib/AppComponent.js +1 -1
- package/src/sap/suite/ui/generic/template/lib/CRUDManager.js +5 -24
- package/src/sap/suite/ui/generic/template/lib/CommonUtils.js +10 -2
- package/src/sap/suite/ui/generic/template/lib/ai/EasyFill/fragments/EasyFillDialog.fragment.xml +0 -1
- package/src/sap/suite/ui/generic/template/lib/ai/EasyFilterBarHandler.js +48 -48
- 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_sl.properties +6 -6
- package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +1 -1
- 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
|
@@ -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
|
|
|
@@ -3222,7 +3222,7 @@ sap.ui.define(["sap/ui/base/Object",
|
|
|
3222
3222
|
* @param {sap.suite.ui.generic.template.lib.AppComponent} oAppComponent The AppComponent instance
|
|
3223
3223
|
* @public
|
|
3224
3224
|
* @extends sap.ui.base.Object
|
|
3225
|
-
* @version 1.
|
|
3225
|
+
* @version 1.151.0
|
|
3226
3226
|
* @since 1.30.0
|
|
3227
3227
|
* @alias sap.suite.ui.generic.template.lib.NavigationController
|
|
3228
3228
|
*/
|
|
@@ -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.
|