@sapui5/sap.suite.ui.generic.template 1.132.0 → 1.133.1
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 +2 -2
- package/src/sap/suite/ui/generic/template/.library +1 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/Component.js +0 -4
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItemMicroBar.js +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItemMicroChart.js +7 -2
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItemMicroDonut.js +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/control/visualfilterbar/FilterItemMicroLine.js +3 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/KpiTagController.js +3 -4
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/extensionAPI/ExtensionAPI.js +2 -2
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/util/AnnotationHelper.js +3 -0
- package/src/sap/suite/ui/generic/template/Canvas/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/AnnotationHelperSmartList.js +2 -2
- package/src/sap/suite/ui/generic/template/ListReport/controller/ControllerImplementation.js +2 -0
- package/src/sap/suite/ui/generic/template/ListReport/extensionAPI/ExtensionAPI.js +2 -2
- package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartFilterBar.fragment.xml +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartTable.fragment.xml +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/Component.js +13 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/controller/ControllerImplementation.js +11 -8
- package/src/sap/suite/ui/generic/template/ObjectPage/controller/MessageSortingHandler.js +82 -12
- package/src/sap/suite/ui/generic/template/ObjectPage/controllerFrameworkExtensions.js +1 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/extensionAPI/ExtensionAPI.js +2 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n.properties +55 -6
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ar.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_bg.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ca.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cnr.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cs.properties +26 -6
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cy.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_da.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_de.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_el.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_GB.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_US_saprigi.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_es.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_es_MX.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_et.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fi.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fr.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_fr_CA.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hi.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hr.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_hu.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_id.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_it.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_iw.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ja.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_kk.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ko.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_lt.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_lv.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_mk.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ms.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_nl.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_no.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pl.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pt.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_pt_PT.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ro.properties +26 -6
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ru.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sh.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sk.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sl.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sr.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sv.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_th.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_tr.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_uk.properties +27 -7
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_vi.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_zh_CN.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_zh_TW.properties +25 -5
- package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartTable.fragment.xml +1 -1
- package/src/sap/suite/ui/generic/template/QuickCreate/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/QuickView/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/designtime/controls/DynamicPage.designtime.js +74 -17
- package/src/sap/suite/ui/generic/template/designtime/controls/ObjectPageLayout.designtime.js +22 -11
- package/src/sap/suite/ui/generic/template/designtime/controls/SmartFilterBar.designtime.js +142 -38
- package/src/sap/suite/ui/generic/template/designtime/controls/SmartTable.designtime.js +43 -19
- package/src/sap/suite/ui/generic/template/designtime/floorplans/AnalyticalListPage.designtime.js +18 -18
- package/src/sap/suite/ui/generic/template/designtime/floorplans/ListReport.designtime.js +19 -16
- package/src/sap/suite/ui/generic/template/designtime/floorplans/ObjectPage.designtime.js +10 -7
- package/src/sap/suite/ui/generic/template/designtime/utils/designtimeHelper.js +32 -44
- package/src/sap/suite/ui/generic/template/designtime/utils/designtimeUtils.js +47 -2
- package/src/sap/suite/ui/generic/template/fragments/DeterminingButton.fragment.xml +18 -20
- package/src/sap/suite/ui/generic/template/fragments/DraftAdminDataPopover.fragment.xml +1 -0
- package/src/sap/suite/ui/generic/template/fragments/GridTableCells.fragment.xml +4 -4
- package/src/sap/suite/ui/generic/template/fragments/HeaderDataPointContent.fragment.xml +1 -1
- package/src/sap/suite/ui/generic/template/fragments/HeaderFormDataField.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/fragments/MessagePopover.fragment.xml +2 -1
- package/src/sap/suite/ui/generic/template/fragments/TableCell.fragment.xml +2 -2
- package/src/sap/suite/ui/generic/template/fragments/TreeTableColumns.fragment.xml +1 -1
- package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartVariantManagementWrapper.js +4 -2
- package/src/sap/suite/ui/generic/template/genericUtilities/filterHelper.js +3 -1
- package/src/sap/suite/ui/generic/template/js/AnnotationHelper.js +15 -19
- package/src/sap/suite/ui/generic/template/js/AnnotationHelperStreamSupport.js +3 -0
- package/src/sap/suite/ui/generic/template/js/QuickTemplates/QuickTemplateComponentFactory.js +2 -3
- package/src/sap/suite/ui/generic/template/js/RuntimeFormatters.js +78 -22
- package/src/sap/suite/ui/generic/template/lib/AppComponent.js +1 -1
- package/src/sap/suite/ui/generic/template/lib/CRUDActionHandler.js +12 -3
- package/src/sap/suite/ui/generic/template/lib/CommonEventHandlers.js +13 -1
- package/src/sap/suite/ui/generic/template/lib/CommonUtils.js +41 -36
- package/src/sap/suite/ui/generic/template/lib/MessageButtonHelper.js +6 -0
- package/src/sap/suite/ui/generic/template/lib/MessageStripHelper.js +1 -1
- package/src/sap/suite/ui/generic/template/lib/RetryAfterHandler.js +2 -3
- package/src/sap/suite/ui/generic/template/lib/TemplateComponent.js +3 -4
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n.properties +3 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ar.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_bg.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ca.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cnr.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cs.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cy.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_da.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_de.properties +5 -3
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_el.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_GB.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_sappsd.properties +11 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_saprigi.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_US_saptrc.properties +9 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es.properties +4 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es_MX.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_et.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fi.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr_CA.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hi.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hr.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hu.properties +4 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_id.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_it.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_iw.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ja.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_kk.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ko.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lt.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lv.properties +3 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_mk.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ms.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_nl.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_no.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pl.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt_PT.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ro.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ru.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sh.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sk.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sl.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sr.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sv.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_th.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_tr.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_uk.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_vi.properties +3 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_CN.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_TW.properties +2 -0
- package/src/sap/suite/ui/generic/template/lib/insights/InsightsCardHelper.js +27 -11
- package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +1 -1
- package/src/sap/suite/ui/generic/template/lib/presentationControl/SmartTableHandler.js +92 -1
- package/src/sap/suite/ui/generic/template/library.js +1 -1
- package/src/sap/suite/ui/generic/template/listTemplates/fragments/DetailSmartTable.fragment.xml +1 -1
- package/src/sap/suite/ui/generic/template/manifestMerger/ChangePageConfiguration.js +3 -0
- package/src/sap/suite/ui/generic/template/manifestMerger/MergerUtil.js +27 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sapui5/sap.suite.ui.generic.template",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.133.1",
|
|
4
4
|
"description": "SAPUI5 Library sap.suite.ui.generic.template",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sapui5",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"testsuite-qunit" : "ui5 serve --config ./ui5-local.yaml --open \"/test-resources/sap/suite/ui/generic/template/qunit/testsuite.qunit.html\""
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"sonarqube-scanner": "
|
|
19
|
+
"sonarqube-scanner": "3.5.0",
|
|
20
20
|
"@sap/ux-ui5-tooling": "latest"
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -302,10 +302,6 @@ sap.ui.define(["sap/ui/core/mvc/OverrideExecution",
|
|
|
302
302
|
if (oAlpSettings.isResponsiveTable === undefined){
|
|
303
303
|
oAlpSettings.isResponsiveTable = oVariants[sKey].tableSettings.type === "ResponsiveTable";
|
|
304
304
|
}
|
|
305
|
-
var oVariantEntityType = oMetaModel.getODataEntityType(oEntitySet.entityType);
|
|
306
|
-
if (oVariantEntityType && oVariantEntityType.property && oVariants[sKey].tableSettings && oVariants[sKey].tableSettings.createWithParameterDialog) {
|
|
307
|
-
oAlpSettings.quickVariantSelectionX.variants[sKey].tableSettings.createWithParameterDialog.id = StableIdHelper.getStableId({type: 'ALPAction', subType: 'CreateWithDialog', sQuickVariantKey: oVariants[sKey].key});
|
|
308
|
-
}
|
|
309
305
|
setTargetEntity(oEntitySet);
|
|
310
306
|
// tableSettings in case of Multitable, it may contain chart or table settings.
|
|
311
307
|
oVariants[sKey].tableSettings = deepExtend(oVariants[sKey].tableSettings, fnCustomActions(oVariants[sKey].key, sKey).tableSettings, fnGetAnnotatedActionsCommandDetails(sKey).tableSettings);
|
|
@@ -19,7 +19,9 @@ sap.ui.define(["sap/suite/ui/microchart/InteractiveBarChart",
|
|
|
19
19
|
control: {type: "sap.suite.ui.microchart.InteractiveBarChart", multiple: false}
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
|
-
renderer:{
|
|
22
|
+
renderer: {
|
|
23
|
+
apiVersion: 2
|
|
24
|
+
}
|
|
23
25
|
});
|
|
24
26
|
|
|
25
27
|
FilterItemMicroBar.prototype.init = function() {
|
|
@@ -47,7 +47,7 @@ sap.ui.define([
|
|
|
47
47
|
dimensionFieldIsDateTimeOffset: { type: "boolean", group: "Misc", defaultValue: false },
|
|
48
48
|
dimensionFieldDisplay: { type: "string", group: "Misc", defaultValue: null },
|
|
49
49
|
dimensionFilter: { type: "any", group: "Misc", defaultValue: null },
|
|
50
|
-
dimensionFilterExternal: { type: "
|
|
50
|
+
dimensionFilterExternal: { type: "any", group: "Misc", defaultValue: null },
|
|
51
51
|
measureField: { type: "string", group: "Misc", defaultValue: null },
|
|
52
52
|
unitField: { type: "string", group: "Misc", defaultValue: null },
|
|
53
53
|
isCurrency: { type: "boolean", group: "Misc", defaultValue: false },
|
|
@@ -841,7 +841,8 @@ sap.ui.define([
|
|
|
841
841
|
};
|
|
842
842
|
|
|
843
843
|
FilterItemChart.prototype._onDataReceived = function(data) {
|
|
844
|
-
|
|
844
|
+
// Setting custom data when the element is being destroyed will throw error and the custom data changes won't be applied.
|
|
845
|
+
if (!data || this.isDestroyStarted()) {
|
|
845
846
|
return;
|
|
846
847
|
}
|
|
847
848
|
this.data("sOverlay", "none"); //for visual filter bar aria handled by onTitleChange() only
|
|
@@ -1412,6 +1413,10 @@ sap.ui.define([
|
|
|
1412
1413
|
* @return {void}
|
|
1413
1414
|
**/
|
|
1414
1415
|
FilterItemChart.prototype.applyOverlay = function(sI18n, sLabel) {
|
|
1416
|
+
// Setting custom data when the element is being destroyed will throw error and the custom data changes won't be applied.
|
|
1417
|
+
if (this.isDestroyStarted()) {
|
|
1418
|
+
return;
|
|
1419
|
+
}
|
|
1415
1420
|
if (sI18n) {
|
|
1416
1421
|
this._chart.setShowError(true);
|
|
1417
1422
|
this._chart.setErrorMessageTitle(this._getI18nText("M_VISUAL_FILTERS_ERROR_MESSAGE_TITLE"));
|
|
@@ -21,7 +21,9 @@ sap.ui.define(["sap/suite/ui/microchart/InteractiveDonutChart",
|
|
|
21
21
|
control: {type: "sap.suite.ui.microchart.InteractiveDonutChart", multiple: false}
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
|
-
renderer:{
|
|
24
|
+
renderer: {
|
|
25
|
+
apiVersion: 2
|
|
26
|
+
}
|
|
25
27
|
});
|
|
26
28
|
|
|
27
29
|
FilterItemMicroDonut.prototype.init = function() {
|
|
@@ -19,7 +19,9 @@ sap.ui.define(["sap/suite/ui/microchart/InteractiveLineChart",
|
|
|
19
19
|
control: {type: "sap.suite.ui.microchart.InteractiveLineChart", multiple : false}
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
|
-
renderer:{
|
|
22
|
+
renderer: {
|
|
23
|
+
apiVersion: 2
|
|
24
|
+
}
|
|
23
25
|
});
|
|
24
26
|
|
|
25
27
|
FilterItemMicroLine.prototype.init = function() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
sap.ui.define([
|
|
2
2
|
"sap/suite/ui/generic/template/AnalyticalListPage/controller/KpiCard.controller",
|
|
3
3
|
"sap/ui/model/json/JSONModel",
|
|
4
|
-
"sap/ui/core/
|
|
4
|
+
"sap/ui/core/mvc/ViewType",
|
|
5
5
|
"sap/ui/Device",
|
|
6
6
|
"sap/m/ResponsivePopover",
|
|
7
7
|
"sap/suite/ui/generic/template/genericUtilities/FeLogger",
|
|
@@ -10,7 +10,7 @@ sap.ui.define([
|
|
|
10
10
|
], function (
|
|
11
11
|
KpiCardController,
|
|
12
12
|
JSONModel,
|
|
13
|
-
|
|
13
|
+
ViewType,
|
|
14
14
|
Device,
|
|
15
15
|
ResponsivePopover,
|
|
16
16
|
FeLogger,
|
|
@@ -19,8 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
) {
|
|
20
20
|
"use strict";
|
|
21
21
|
var oLogger = new FeLogger("AnalyticalListPage.controller.KpiTagController").getLogger();
|
|
22
|
-
var OVPLoaded
|
|
23
|
-
ViewType = coreLibrary.mvc.ViewType;
|
|
22
|
+
var OVPLoaded;
|
|
24
23
|
|
|
25
24
|
var KpiTagController = {
|
|
26
25
|
_kpiCards: [],
|
|
@@ -208,8 +208,8 @@ sap.ui.define(["sap/ui/base/Object",
|
|
|
208
208
|
* Provide an option for showing an own message in the message bar above the ALP table
|
|
209
209
|
* @param {object} [oMessage] custom message along with type to set on table. If this parameter is faulty an existing message will be removed.
|
|
210
210
|
* @param {string} oMessage.message message string to display
|
|
211
|
-
* @param {string} oMessage.type indicates type of message (sap
|
|
212
|
-
* whether it's
|
|
211
|
+
* @param {string} oMessage.type indicates type of message (sap/ui/core/message/MessageType)
|
|
212
|
+
* whether it's MessageType.Success, MessageType.Warning, MessageType.Error or MessageType.Information.
|
|
213
213
|
* @param {array |string} [vTabKey] If switching between different table views is enabled, this parameter can be used to identify the views which
|
|
214
214
|
* are affected by this call. Faulty values indicate that all views should be affected. Otherwise the value should either be one string or an array of strings
|
|
215
215
|
* identifying the affected variant items.
|
|
@@ -252,6 +252,9 @@ sap.ui.define(["sap/ui/base/Object",
|
|
|
252
252
|
* @return {boolean} [Returns status of determining actions to the xml]
|
|
253
253
|
*/
|
|
254
254
|
oAnnotationHelper.hasDeterminingActionsForALP = function(aTableTerm, aChartTerm, sEntitySet, oManifestExt) {
|
|
255
|
+
aTableTerm = aTableTerm || [];
|
|
256
|
+
aChartTerm = aChartTerm || [];
|
|
257
|
+
|
|
255
258
|
if (sEntitySet && oManifestExt && oManifestExt["sap.suite.ui.generic.template.AnalyticalListPage.view.AnalyticalListPage"] &&
|
|
256
259
|
oAnnotationHelper._hasCustomDeterminingActionsInALP(sEntitySet, oManifestExt["sap.suite.ui.generic.template.AnalyticalListPage.view.AnalyticalListPage"]["sap.ui.generic.app"])) { //Check for AnalyticalListPage
|
|
257
260
|
return true;
|
|
@@ -65,13 +65,13 @@ sap.ui.define([
|
|
|
65
65
|
oDateForPath.type = 'sap.ui.model.type.DateTime';
|
|
66
66
|
aParts.push(oDateForPath);
|
|
67
67
|
|
|
68
|
-
sFunctionName = "
|
|
68
|
+
sFunctionName = "RuntimeFormatters.formatDate";
|
|
69
69
|
sRecordExpression = generatePathForField(aParts, sFunctionName);
|
|
70
70
|
} else if (oCurrency) {
|
|
71
71
|
aParts.push(oRecord.Value);
|
|
72
72
|
aParts.push(oCurrency);
|
|
73
73
|
|
|
74
|
-
sFunctionName = "
|
|
74
|
+
sFunctionName = "RuntimeFormatters.formatCurrency";
|
|
75
75
|
sRecordExpression = generatePathForField(aParts, sFunctionName);
|
|
76
76
|
} else {
|
|
77
77
|
sRecordExpression = OdataAnnotationHelper.format(oInterface, oRecord.Value);
|
|
@@ -186,8 +186,8 @@ sap.ui.define(["sap/ui/base/Object",
|
|
|
186
186
|
* Provide an option for showing an own message in the message bar above the LR table
|
|
187
187
|
* @param {object} [oMessage] custom message along with type to set on table. If this parameter is faulty an existing message will be removed.
|
|
188
188
|
* @param {string} oMessage.message message string to display
|
|
189
|
-
* @param {string} oMessage.type indicates type of message (sap
|
|
190
|
-
* whether it's
|
|
189
|
+
* @param {string} oMessage.type indicates type of message (sap/ui/core/message/MessageType)
|
|
190
|
+
* whether it's MessageType.Success, MessageType.Warning, MessageType.Error or MessageType.Information.
|
|
191
191
|
* @param {array |string} [vTabKey] If switching between different table views is enabled, this parameter can be used to identify the views which
|
|
192
192
|
* are affected by this call. Faulty values indicate that all views should be affected. Otherwise the value should either be one string or an array of strings
|
|
193
193
|
* identifying the affected variant items.
|
package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartFilterBar.fragment.xml
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
label="{i18n>EDITING_STATUS}"
|
|
36
36
|
groupId="_BASIC">
|
|
37
37
|
<smartfilterbar:customControl>
|
|
38
|
-
<Select selectedKey="{_templPriv>/listReport/vDraftState}" id="editStateFilter">
|
|
38
|
+
<Select selectedKey="{_templPriv>/listReport/vDraftState}" id="editStateFilter" wrapItemsText="true">
|
|
39
39
|
<items>
|
|
40
40
|
<core:Item key="0" text="{i18n>ALL_OBJECTS}"/>
|
|
41
41
|
<core:Item key="5" text="{i18n>ALL_OBJECTS_HIDING_DRAFT}"/>
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
showOverlay="{= ${_templPriv>/listReport/firstSelection} && !${_templPriv>/generic/bDataAreShownInTable}}"
|
|
189
189
|
fixedLayout="{= ${appSettings>/enableAutoColumnWidthForSmartTable} ? undefined : !!${parameter>/settings/isWorklist} }"
|
|
190
190
|
growing="true" growingScrollToLoad="true"
|
|
191
|
-
sticky="ColumnHeaders,HeaderToolbar,InfoToolbar"
|
|
191
|
+
sticky="ColumnHeaders,HeaderToolbar,InfoToolbar,GroupHeaders"
|
|
192
192
|
mode="{tableSettings>mode}"
|
|
193
193
|
selectionChange="._templateEventHandlers.onSelectionChange"
|
|
194
194
|
beforeOpenContextMenu="._templateEventHandlers.beforeOpenContextMenu($event, '{smartControlId>id}')"
|
|
@@ -102,7 +102,7 @@ sap.ui.define(["sap/suite/ui/generic/template/lib/TemplateAssembler",
|
|
|
102
102
|
return oViewProxy.prepareForControlNavigation(sControlId);
|
|
103
103
|
},
|
|
104
104
|
prepareForMessageHandling: function(aMessages, oItemBinding, oHelperModel){
|
|
105
|
-
return oViewProxy.prepareForMessageHandling(aMessages, oItemBinding, oHelperModel);
|
|
105
|
+
return oViewProxy.prepareForMessageHandling(aMessages, oItemBinding, oHelperModel);
|
|
106
106
|
}
|
|
107
107
|
};
|
|
108
108
|
return extend(oBase, oSpecific);
|
|
@@ -117,7 +117,7 @@ sap.ui.define(["sap/suite/ui/generic/template/lib/TemplateAssembler",
|
|
|
117
117
|
// shall button "Related Apps" be visible on the object page?
|
|
118
118
|
"showRelatedApps": {
|
|
119
119
|
"type": "boolean",
|
|
120
|
-
"defaultValue":
|
|
120
|
+
"defaultValue": false
|
|
121
121
|
},
|
|
122
122
|
// shall confirmation popup be shown in object page while saving?
|
|
123
123
|
"showConfirmationOnDraftActivate": {
|
|
@@ -135,7 +135,7 @@ sap.ui.define(["sap/suite/ui/generic/template/lib/TemplateAssembler",
|
|
|
135
135
|
// shall it be possible to edit the contents of the header?
|
|
136
136
|
"editableHeaderContent": {
|
|
137
137
|
"type": "boolean",
|
|
138
|
-
"defaultValue":
|
|
138
|
+
"defaultValue": false
|
|
139
139
|
},
|
|
140
140
|
// enable carousel header on desktop screen
|
|
141
141
|
showHeaderAsCarouselOnDesktop: {
|
|
@@ -193,12 +193,20 @@ sap.ui.define(["sap/suite/ui/generic/template/lib/TemplateAssembler",
|
|
|
193
193
|
//Allow deep linking to sub object pages?
|
|
194
194
|
"allowDeepLinking": "boolean",
|
|
195
195
|
//Navigate to list report page on draft activation?
|
|
196
|
-
//This property can have 3 values -> undefined, true, false.
|
|
196
|
+
//This property can have 3 values -> undefined, true, false.
|
|
197
197
|
// If EditFlow is display, the save and cancel stays in object page unless this property is set to true
|
|
198
198
|
// If EditFlow is direct, the save and cancel moves to LR after action, unless this property is set to false
|
|
199
199
|
// The default value of this property is undefined.
|
|
200
200
|
"navToListOnSave": "boolean",
|
|
201
|
-
"relatedAppsSettings": "object"
|
|
201
|
+
"relatedAppsSettings": "object",
|
|
202
|
+
createWithParameterDialog: {
|
|
203
|
+
type: "object",
|
|
204
|
+
properties: {
|
|
205
|
+
fields : {
|
|
206
|
+
type: "object"
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
202
210
|
},
|
|
203
211
|
// app descriptor format
|
|
204
212
|
"manifest": "json"
|
|
@@ -438,8 +438,8 @@ sap.ui.define([
|
|
|
438
438
|
* where x is the condition provided by the user
|
|
439
439
|
|
|
440
440
|
* Handling of the filter condition during create:
|
|
441
|
-
* checking the value of display Mode , iDisplayMode = 4 for create
|
|
442
|
-
* if it is a create the filter condition evaluates to the user filter x
|
|
441
|
+
* checking the value of display Mode , iDisplayMode = 4 for create
|
|
442
|
+
* if it is a create the filter condition evaluates to the user filter x
|
|
443
443
|
*/
|
|
444
444
|
var oUserFilter = FilterProcessor.groupFilters(oBindingParams.filters);
|
|
445
445
|
var oTemplatePrivateModel = oTemplateUtils.oComponentUtils.getTemplatePrivateModel();
|
|
@@ -610,7 +610,7 @@ sap.ui.define([
|
|
|
610
610
|
} else {
|
|
611
611
|
var getDtCardManifestPromise = new Promise(function (fnResolve) {
|
|
612
612
|
// DT Cards are not supported in sub object pages
|
|
613
|
-
if (oTemplateUtils.oComponentUtils.getViewLevel() !== 1) {
|
|
613
|
+
if (oTemplateUtils.oComponentUtils.getViewLevel() !== 1) {
|
|
614
614
|
fnResolve(null);
|
|
615
615
|
return;
|
|
616
616
|
}
|
|
@@ -1871,7 +1871,7 @@ sap.ui.define([
|
|
|
1871
1871
|
oSection.connectToModelsAsync().then(function () {
|
|
1872
1872
|
oTemplateUtils.oInfoObjectHandler.setInformationWithControl(oSubSection);
|
|
1873
1873
|
oStrategy.activeHandler(oSubSection, oSubSectionInfoObj);
|
|
1874
|
-
});
|
|
1874
|
+
});
|
|
1875
1875
|
}
|
|
1876
1876
|
}
|
|
1877
1877
|
});
|
|
@@ -1920,7 +1920,7 @@ sap.ui.define([
|
|
|
1920
1920
|
oState.oSectionTitleHandler.adjustSubSectionTitle(oSubSection);
|
|
1921
1921
|
}
|
|
1922
1922
|
}
|
|
1923
|
-
|
|
1923
|
+
|
|
1924
1924
|
if (oSubSectionInfoObj) { // In case of EditableHeaderFacet Sections & SubSection is created at runtime and there is info object handling
|
|
1925
1925
|
oMultipleViewsHandler.subSectionEntered(oSubSectionInfoObj); // Assigning the SubSection control MultipleViewsHandler. In case not relevant method simply returns
|
|
1926
1926
|
// The loading strategy of a sub-section might depend on the content of oWaitForState (together with the strategy) and whether or not the sub-section is currently in view-port.
|
|
@@ -1950,7 +1950,7 @@ sap.ui.define([
|
|
|
1950
1950
|
}
|
|
1951
1951
|
});
|
|
1952
1952
|
}
|
|
1953
|
-
|
|
1953
|
+
|
|
1954
1954
|
oViewProxy.applyState = function (oState, bIsSameAsLast) {
|
|
1955
1955
|
// originally, applyState was only called when HeaderData was available, as HeaderData was always used to determine bIsSameAsLast
|
|
1956
1956
|
// now, in some cases bIsSameAsLast can be determined earlier, however, we don't know, whether any extensions implicitly rely on header data being available
|
|
@@ -2340,7 +2340,7 @@ sap.ui.define([
|
|
|
2340
2340
|
var oCardProviderInstance = oTemplateUtils.oServices.oInsightsFECardProvider && oTemplateUtils.oServices.oInsightsFECardProvider.getCardProviderInsightsInstance();
|
|
2341
2341
|
|
|
2342
2342
|
oState.oDTCardHelper = new DTCardHelper(oController);
|
|
2343
|
-
|
|
2343
|
+
|
|
2344
2344
|
if (oCardProviderInstance) {
|
|
2345
2345
|
oTemplateUtils.oServices.oInsightsFECardProvider.fnRegisterComponentForProvider(oState.oInsightsHandler, oController.getView().getId());
|
|
2346
2346
|
}
|
|
@@ -2356,7 +2356,7 @@ sap.ui.define([
|
|
|
2356
2356
|
var oStreamDataSelf = oTemplateUtils.oCommonUtils.getStreamData(null, oEvent.context);
|
|
2357
2357
|
oTemplateUtils.oCommonUtils.setStreamData(oStreamDataSelf);
|
|
2358
2358
|
oTemplateUtils.oComponentUtils.hidePlaceholder();
|
|
2359
|
-
|
|
2359
|
+
|
|
2360
2360
|
});
|
|
2361
2361
|
var oMenuButton = oController.byId(StableIdHelper.getStableId({
|
|
2362
2362
|
type: "ObjectPageAction",
|
|
@@ -2435,6 +2435,9 @@ sap.ui.define([
|
|
|
2435
2435
|
|
|
2436
2436
|
//Cancel event for draft and non draft case
|
|
2437
2437
|
onCancel: function () {
|
|
2438
|
+
if (document.activeElement) {
|
|
2439
|
+
document.activeElement.blur();
|
|
2440
|
+
}
|
|
2438
2441
|
var bIsDraftEnabled = oTemplateUtils.oComponentUtils.isDraftEnabled();
|
|
2439
2442
|
var sCancelButtonLocalId = StableIdHelper.getStableId({
|
|
2440
2443
|
type: "ObjectPageAction",
|
|
@@ -4,8 +4,9 @@ sap.ui.define([
|
|
|
4
4
|
"sap/ui/model/Sorter",
|
|
5
5
|
"sap/ui/core/message/MessageType",
|
|
6
6
|
"sap/suite/ui/generic/template/lib/MessageUtils",
|
|
7
|
-
"sap/suite/ui/generic/template/genericUtilities/controlHelper"
|
|
8
|
-
|
|
7
|
+
"sap/suite/ui/generic/template/genericUtilities/controlHelper",
|
|
8
|
+
"sap/suite/ui/generic/template/genericUtilities/testableHelper"
|
|
9
|
+
], function(BaseObject, extend, Sorter, MessageType, MessageUtils, controlHelper, testableHelper) {
|
|
9
10
|
"use strict";
|
|
10
11
|
|
|
11
12
|
// This class is a helper class to implement function fnPrepareForMessageHandling within the ControllerImplementation of the object page.
|
|
@@ -603,7 +604,8 @@ sap.ui.define([
|
|
|
603
604
|
oHelperModel.setProperty("/heartBeat", iHeartBeat);
|
|
604
605
|
};
|
|
605
606
|
return {
|
|
606
|
-
getSubtitle: getSubtitle
|
|
607
|
+
getSubtitle: getSubtitle,
|
|
608
|
+
getDescription: getDescription
|
|
607
609
|
};
|
|
608
610
|
});
|
|
609
611
|
});
|
|
@@ -702,22 +704,49 @@ sap.ui.define([
|
|
|
702
704
|
return Promise.all(aMessageDetailsRetrievedPromises);
|
|
703
705
|
}
|
|
704
706
|
|
|
705
|
-
function getSubtitleForRow(oMessageInTableInfo){
|
|
706
|
-
|
|
707
|
-
|
|
707
|
+
function getSubtitleForRow(oMessageInTableInfo, oTableInfo, oMessage, aColumnsForMessage){
|
|
708
|
+
const bIsFallback = !Array.isArray(aColumnsForMessage);
|
|
709
|
+
let sI18NKey = bIsFallback ? "MSG_SUBTITLE_DEFAULT_ROW" : "MSG_SUBTITLE_ROW";
|
|
710
|
+
let oColumn = null;
|
|
711
|
+
let aParams = [];
|
|
712
|
+
let sErrorColumnLabel = oMessageInTableInfo?.columnInfo?.label;
|
|
708
713
|
if (!oMessageInTableInfo.rowCurrentlyShown){
|
|
709
714
|
sI18NKey += "_HIDDEN";
|
|
710
715
|
}
|
|
711
|
-
|
|
712
|
-
|
|
716
|
+
// If the new logic fails, run the fallback mechanism to ensure some information is still displayed on the screen
|
|
717
|
+
if (bIsFallback){
|
|
718
|
+
aParams = [oMessageInTableInfo.rowIdentifier];
|
|
719
|
+
if (oMessageInTableInfo.columnInfo){
|
|
720
|
+
aParams.push(oMessageInTableInfo.columnInfo.label);
|
|
721
|
+
sI18NKey += "_COLUMN";
|
|
722
|
+
if (oMessageInTableInfo.columnInfo.hidden){
|
|
723
|
+
sI18NKey += "_HIDDEN";
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
return oTemplateUtils.oCommonUtils.getText(sI18NKey, aParams);
|
|
727
|
+
}
|
|
728
|
+
if (!sErrorColumnLabel){
|
|
729
|
+
sErrorColumnLabel = oTableInfo.presentationControlHandler.getColumnLabelForMessage(oMessage);
|
|
730
|
+
}
|
|
731
|
+
//HeaderInfo or Single Key is available for subtitle
|
|
732
|
+
if (aColumnsForMessage.length === 1){
|
|
733
|
+
oColumn = aColumnsForMessage.pop();
|
|
734
|
+
aParams = [oColumn.sLabel, oColumn.sValue];
|
|
713
735
|
sI18NKey += "_COLUMN";
|
|
714
|
-
if (
|
|
736
|
+
if (oColumn.bHidden){
|
|
715
737
|
sI18NKey += "_HIDDEN";
|
|
716
738
|
}
|
|
739
|
+
} else if (aColumnsForMessage.length === 0){
|
|
740
|
+
//No columns are available for subtitle
|
|
741
|
+
sI18NKey += "_EMPTY";
|
|
742
|
+
aParams = [sErrorColumnLabel];
|
|
743
|
+
} else {
|
|
744
|
+
//Multiple Keys are available and decription is needed
|
|
745
|
+
sI18NKey += "_MORE_DETAILS";
|
|
717
746
|
}
|
|
718
747
|
return oTemplateUtils.oCommonUtils.getText(sI18NKey, aParams);
|
|
719
748
|
}
|
|
720
|
-
|
|
749
|
+
|
|
721
750
|
function getSubtitle(sMsgId, sAdditionalText){
|
|
722
751
|
var oPlacementInfo = getMessagePlacementInfo(sMsgId);
|
|
723
752
|
var oTable = oPlacementInfo.groupers[1];
|
|
@@ -730,13 +759,54 @@ sap.ui.define([
|
|
|
730
759
|
if (!oMessageInTableInfo && oPlacementInfo.message.validation){
|
|
731
760
|
oMessageInTableInfo = fnAddValidationInfoToTableInfo(oPlacementInfo.message, oTableInfo);
|
|
732
761
|
}
|
|
733
|
-
if (oMessageInTableInfo && oMessageInTableInfo.
|
|
734
|
-
|
|
762
|
+
if (oMessageInTableInfo && oMessageInTableInfo.index >= 0){
|
|
763
|
+
const oItemContext = oTableInfo.presentationControlHandler.getItemContextForMessage(oPlacementInfo.message);
|
|
764
|
+
var aColumnsForMessage = oTableInfo.presentationControlHandler.getRelevantColumnsForMessage(oItemContext);
|
|
765
|
+
return getSubtitleForRow(oMessageInTableInfo, oTableInfo, oPlacementInfo.message, aColumnsForMessage);
|
|
735
766
|
}
|
|
736
767
|
}
|
|
737
768
|
return sAdditionalText;
|
|
738
769
|
}
|
|
739
770
|
|
|
771
|
+
function getDescription(sMsgId, sAdditionalText){
|
|
772
|
+
const oPlacementInfo = getMessagePlacementInfo(sMsgId);
|
|
773
|
+
const oTable = oPlacementInfo.groupers[1];
|
|
774
|
+
if (!oTable){
|
|
775
|
+
return sAdditionalText;
|
|
776
|
+
}
|
|
777
|
+
const oTableInfo = getTableInfo(oTable);
|
|
778
|
+
const oMessageInTableInfo = oTableInfo && oTableInfo.messageToMsgInTableInfo[sMsgId];
|
|
779
|
+
if (oMessageInTableInfo && oMessageInTableInfo.index >= 0){
|
|
780
|
+
const oItemContext = oTableInfo.presentationControlHandler.getItemContextForMessage(oPlacementInfo.message);
|
|
781
|
+
const aColumnsForMessage = oTableInfo.presentationControlHandler.getRelevantColumnsForMessage(oItemContext);
|
|
782
|
+
if (Array.isArray(aColumnsForMessage) && aColumnsForMessage.length > 1){
|
|
783
|
+
return getDescriptionForRow(oMessageInTableInfo, oTableInfo, oPlacementInfo.message, aColumnsForMessage);
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
return sAdditionalText;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
function getDescriptionForRow(oMessageInTableInfo, oTableInfo, oMessage, aColumnsForMessage){
|
|
790
|
+
const sNewLine = "\n";
|
|
791
|
+
const getText = oTemplateUtils.oCommonUtils.getText;
|
|
792
|
+
const sTableText = getText("MSG_DESCRIPTION_ROW_TABLE", [oTableInfo.table.getHeader()]) + sNewLine;
|
|
793
|
+
const sRowHeaderText = (oMessageInTableInfo.rowCurrentlyShown ? getText("MSG_DESCRIPTION_ROW") : getText("MSG_DESCRIPTION_ROW_HIDDEN")) + sNewLine;
|
|
794
|
+
let sRowText = "";
|
|
795
|
+
let sErrorColumnLabel = oMessageInTableInfo?.columnInfo?.label;
|
|
796
|
+
if (!sErrorColumnLabel){
|
|
797
|
+
sErrorColumnLabel = oTableInfo.presentationControlHandler.getColumnLabelForMessage(oMessage);
|
|
798
|
+
}
|
|
799
|
+
let sErrorColumnText = getText("MSG_DESCRIPTION_COLUMN", [sErrorColumnLabel]);
|
|
800
|
+
for (const oColumn of aColumnsForMessage){
|
|
801
|
+
if (oColumn.bHidden){
|
|
802
|
+
sRowText += getText("MSG_DESCRIPTION_COLUMN_VALUE_HIDDEN", [oColumn.sLabel, oColumn.sValue]) + sNewLine;
|
|
803
|
+
} else {
|
|
804
|
+
sRowText += getText("MSG_DESCRIPTION_COLUMN_VALUE", [oColumn.sLabel, oColumn.sValue]) + sNewLine;
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
return sTableText + sRowHeaderText + sRowText + sErrorColumnText;
|
|
808
|
+
}
|
|
809
|
+
testableHelper.testableStatic(getSubtitleForRow, "filterHelper_getSubtitleForRow");
|
|
740
810
|
// public instance methods
|
|
741
811
|
return {
|
|
742
812
|
getPrepareMessageDisplayPromise: getPrepareMessageDisplayPromise
|
|
@@ -276,6 +276,7 @@ sap.ui.define([
|
|
|
276
276
|
* - Be visible within the viewport.
|
|
277
277
|
*
|
|
278
278
|
* If the returned control does not satisfy these conditions, the standard focus handling logic is executed.
|
|
279
|
+
* @protected
|
|
279
280
|
*/
|
|
280
281
|
focusOnEditExtension: function (sSelectedSection) {
|
|
281
282
|
return {};
|
|
@@ -276,8 +276,8 @@ sap.ui.define(
|
|
|
276
276
|
* Note - Message bar on Page header will be shown only in display mode for dynamic header
|
|
277
277
|
* @param {object} [oMessage] custom message along with type to set on table. If this parameter is faulty an existing message will be removed.
|
|
278
278
|
* @param {string} oMessage.message message string to display
|
|
279
|
-
* @param {string} oMessage.type indicates type of message (sap
|
|
280
|
-
* whether it's
|
|
279
|
+
* @param {string} oMessage.type indicates type of message (sap/ui/core/message/MessageType)
|
|
280
|
+
* whether it's MessageType.Success, MessageType.Warning, MessageType.Error or MessageType.Information.
|
|
281
281
|
* @param {string} [sSmartTableId] Id of the table for which message should be set.
|
|
282
282
|
* @param {array |string} [vTabKey] If switching between different table views is enabled, this parameter can be used to identify the views which
|
|
283
283
|
* are affected by this call. Faulty values indicate that all views should be affected. Otherwise the value should either be one string or an array of strings
|
|
@@ -68,21 +68,70 @@ DISCARD_DRAFT_MESSAGE_TEXT=All changes will be lost.
|
|
|
68
68
|
RESUME=Resume
|
|
69
69
|
|
|
70
70
|
# XMSG, 40
|
|
71
|
-
MSG_SUBTITLE_ROW=Row
|
|
71
|
+
MSG_SUBTITLE_ROW=Row\: {0}
|
|
72
72
|
|
|
73
|
-
|
|
73
|
+
# XMSG, 40
|
|
74
|
+
MSG_SUBTITLE_ROW_COLUMN=Row\: {0}\: {1}
|
|
75
|
+
|
|
76
|
+
# XMSG, 40
|
|
77
|
+
MSG_SUBTITLE_ROW_COLUMN_HIDDEN=Row\: {0} (Hidden)\: {1}
|
|
78
|
+
|
|
79
|
+
# XMSG, 40
|
|
80
|
+
MSG_SUBTITLE_ROW_MORE_DETAILS=Row\: See Message Details
|
|
81
|
+
|
|
82
|
+
# XMSG, 40
|
|
83
|
+
MSG_SUBTITLE_ROW_EMPTY=Column\: {0}
|
|
84
|
+
|
|
85
|
+
# XMSG, 40
|
|
86
|
+
MSG_SUBTITLE_ROW_HIDDEN=Row (Hidden)\: {0}\: {1}
|
|
87
|
+
|
|
88
|
+
# XMSG, 40
|
|
89
|
+
MSG_SUBTITLE_ROW_HIDDEN_COLUMN=Row (Hidden)\: {0}\: {1}
|
|
90
|
+
|
|
91
|
+
# XMSG, 40
|
|
92
|
+
MSG_SUBTITLE_ROW_HIDDEN_COLUMN_HIDDEN=Row (Hidden)\: {0} (Hidden)\: {1}
|
|
93
|
+
|
|
94
|
+
# XMSG, 40
|
|
95
|
+
MSG_SUBTITLE_ROW_HIDDEN_MORE_DETAILS=Row\: See Message Details
|
|
96
|
+
|
|
97
|
+
# XMSG, 40
|
|
98
|
+
MSG_SUBTITLE_ROW_HIDDEN_EMPTY=Column\: {0}
|
|
99
|
+
|
|
100
|
+
# XMSG, 40
|
|
101
|
+
MSG_DESCRIPTION_ROW_TABLE=Table\: {0}
|
|
102
|
+
|
|
103
|
+
# XMSG, 40
|
|
104
|
+
MSG_DESCRIPTION_ROW=Row\:
|
|
105
|
+
|
|
106
|
+
# XMSG, 40
|
|
107
|
+
MSG_DESCRIPTION_ROW_HIDDEN=Row (Hidden)\:
|
|
108
|
+
|
|
109
|
+
# XMSG, 40
|
|
110
|
+
MSG_DESCRIPTION_COLUMN=Column\: {0}
|
|
111
|
+
|
|
112
|
+
# XMSG, 40
|
|
113
|
+
MSG_DESCRIPTION_COLUMN_VALUE={0}\: {1}
|
|
114
|
+
|
|
115
|
+
# XMSG, 40
|
|
116
|
+
MSG_DESCRIPTION_COLUMN_VALUE_HIDDEN={0} (Hidden)\: {1}
|
|
117
|
+
|
|
118
|
+
# XMSG, 40
|
|
119
|
+
MSG_SUBTITLE_DEFAULT_ROW=Row: {0}
|
|
120
|
+
|
|
121
|
+
# XMSG, 40
|
|
122
|
+
MSG_SUBTITLE_DEFAULT_ROW_HIDDEN=Row (Hidden): {0}
|
|
74
123
|
|
|
75
124
|
# XMSG, 40
|
|
76
|
-
|
|
125
|
+
MSG_SUBTITLE_DEFAULT_ROW_COLUMN=Row: {0}, Column: {1}
|
|
77
126
|
|
|
78
127
|
# XMSG, 40
|
|
79
|
-
|
|
128
|
+
MSG_SUBTITLE_DEFAULT_ROW_COLUMN_HIDDEN=Row: {0}, Column (Hidden): {1}
|
|
80
129
|
|
|
81
130
|
# XMSG, 40
|
|
82
|
-
|
|
131
|
+
MSG_SUBTITLE_DEFAULT_ROW_HIDDEN_COLUMN=Row (Hidden): {0}, Column: {1}
|
|
83
132
|
|
|
84
133
|
# XMSG, 40
|
|
85
|
-
|
|
134
|
+
MSG_SUBTITLE_DEFAULT_ROW_HIDDEN_COLUMN_HIDDEN=Row (Hidden): {0}, Column (Hidden): {1}
|
|
86
135
|
|
|
87
136
|
# XTIT,30: Title of a form with contact person information
|
|
88
137
|
CONTACT_INFO=Contact Information
|