@sapui5/sap.suite.ui.generic.template 1.132.0 → 1.134.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 +1 -1
- 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/i18n/i18n.properties +7 -7
- 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/extensionAPI/ExtensionAPI.js +11 -3
- 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 +13 -11
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n.properties +3 -3
- package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/view/ListReport.view.xml +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/DraftTransactionController.js +8 -10
- package/src/sap/suite/ui/generic/template/ObjectPage/extensionAPI/ExtensionAPI.js +36 -16
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n.properties +59 -10
- 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/templateSpecificPreparationHelper.js +233 -125
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/Facet.fragment.xml +32 -27
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartTable.fragment.xml +8 -12
- 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 +44 -16
- 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 +71 -46
- package/src/sap/suite/ui/generic/template/designtime/floorplans/AnalyticalListPage.designtime.js +21 -19
- package/src/sap/suite/ui/generic/template/designtime/floorplans/ListReport.designtime.js +22 -17
- package/src/sap/suite/ui/generic/template/designtime/floorplans/ObjectPage.designtime.js +14 -8
- 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/detailTemplates/DiscardEditHandler.js +13 -0
- 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 +4 -3
- package/src/sap/suite/ui/generic/template/fragments/SmartControlContextMenu.fragment.xml +1 -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 +78 -25
- package/src/sap/suite/ui/generic/template/js/AnnotationHelperStreamSupport.js +4 -1
- 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 -2
- package/src/sap/suite/ui/generic/template/lib/Application.js +2 -0
- 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/ComponentUtils.js +13 -2
- package/src/sap/suite/ui/generic/template/lib/ContextBookkeeping.js +1 -0
- package/src/sap/suite/ui/generic/template/lib/ContextMenuHandler.js +124 -2
- 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/SideEffectUtil.js +39 -2
- package/src/sap/suite/ui/generic/template/lib/TemplateComponent.js +3 -4
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n.properties +20 -11
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ar.properties +4 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_bg.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ca.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cnr.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cs.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_cy.properties +4 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_da.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_de.properties +9 -5
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_el.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en_GB.properties +6 -2
- 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 +8 -4
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es_MX.properties +4 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_et.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fi.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr_CA.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hi.properties +4 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hr.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_hu.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_id.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_it.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_iw.properties +4 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ja.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_kk.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ko.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lt.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_lv.properties +7 -3
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_mk.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ms.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_nl.properties +7 -3
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_no.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pl.properties +4 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_pt_PT.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ro.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ru.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sh.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sk.properties +4 -0
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sl.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sr.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_sv.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_th.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_tr.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_uk.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_vi.properties +7 -3
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_CN.properties +5 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_zh_TW.properties +6 -2
- package/src/sap/suite/ui/generic/template/lib/insights/InsightsCardHelper.js +27 -11
- package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +32 -20
- 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
|
@@ -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.
|
|
@@ -44,19 +44,19 @@ KPI_DETERMINING_WARNING={0}\nData is either invalid or not found.
|
|
|
44
44
|
KPI_AUTHORIZATION_ISSUE=Authorization issue
|
|
45
45
|
|
|
46
46
|
# XBUT, 90: used as error message for the KPI
|
|
47
|
-
KPI_DEFAULT_PV_ERROR_MESSAGE=Presentation variant annotation is missing
|
|
47
|
+
KPI_DEFAULT_PV_ERROR_MESSAGE=Presentation variant annotation is missing.
|
|
48
48
|
|
|
49
49
|
# XBUT, 90: used as error message for the KPI
|
|
50
50
|
KPI_DRILLDOWN_NAVIGATION_MESSAGE=Navigation details missing
|
|
51
51
|
|
|
52
52
|
# XBUT, 90: used as error message for the KPI
|
|
53
|
-
KPI_GENERIC_ERROR_MESSAGE=Unable to load KPI due to a technical issue
|
|
53
|
+
KPI_GENERIC_ERROR_MESSAGE=Unable to load KPI due to a technical issue.
|
|
54
54
|
|
|
55
55
|
#YMSW, 90: Warning message for KPI no data
|
|
56
|
-
KPI_NO_DATA = KPI data not available for the chosen filter criteria
|
|
56
|
+
KPI_NO_DATA = KPI data not available for the chosen filter criteria.
|
|
57
57
|
|
|
58
58
|
#YINF, 90: Information message for missing mandatory filters and parameters
|
|
59
|
-
KPI_INFO_FOR_MISSING_MANDATE_FILTPAR=Enter mandatory filter field values to view KPI information
|
|
59
|
+
KPI_INFO_FOR_MISSING_MANDATE_FILTPAR=Enter mandatory filter field values to view KPI information.
|
|
60
60
|
|
|
61
61
|
#XBUT, 30: Page header clear button
|
|
62
62
|
CLEAR_FILTERS=Clear
|
|
@@ -200,10 +200,10 @@ VIS_FILTER_GRP_BASIC_TITLE=Basic
|
|
|
200
200
|
VIS_FILTER_ITEM_ARIA=Visual filter
|
|
201
201
|
|
|
202
202
|
# XACT, 30: Screen reader text for a visual filter in dialog that is a mandatory property
|
|
203
|
-
VIS_FILTER_MANDATORY_PROPERTY_ARIA={0} required
|
|
203
|
+
VIS_FILTER_MANDATORY_PROPERTY_ARIA={0} required
|
|
204
204
|
|
|
205
205
|
# XACT, 30: Screen reader text for a visual filter that is a mandatory property
|
|
206
|
-
VIS_FILTER_MANDATORY_PROPERTY_ARIA_LABEL=required
|
|
206
|
+
VIS_FILTER_MANDATORY_PROPERTY_ARIA_LABEL=required
|
|
207
207
|
|
|
208
208
|
# XACT, 100: Screen reader text for navigating between visual filters on the filter bar
|
|
209
209
|
VIS_FILTER_BAR_NAVIGATE_ARIA=To move between visual filters, press right or left arrow.
|
|
@@ -324,6 +324,6 @@ NODATA_SMARTTABLE_ALP=To start, set the relevant filters and choose "Go".
|
|
|
324
324
|
MESSAGE_MULTIPLE_VALUES_L_FORM=Some of the filters aren''t relevant for the tab \"{1}\" ({0}). Settings these filters has no effect on the results.
|
|
325
325
|
|
|
326
326
|
# YMSG, 100: used to show unapplied multiple filters in mobile, tablet
|
|
327
|
-
MESSAGE_MULTIPLE_VALUES_S_FORM=You can''t use the following filters on the \"{1}\" tab\: \"{0}\"
|
|
327
|
+
MESSAGE_MULTIPLE_VALUES_S_FORM=You can''t use the following filters on the \"{1}\" tab\: \"{0}\".
|
|
328
328
|
|
|
329
329
|
#---End of final block: texts to be redefined by the application ----------------------------------------
|
|
@@ -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;
|
|
@@ -91,10 +91,18 @@ sap.ui.define(
|
|
|
91
91
|
* @function
|
|
92
92
|
*/
|
|
93
93
|
getNavigationController: oBase.extensionAPI.getNavigationControllerFunction(),
|
|
94
|
+
|
|
94
95
|
/**
|
|
95
|
-
*
|
|
96
|
+
* Returns a communication object for storing and accessing custom state information within the current app.
|
|
97
|
+
*
|
|
98
|
+
* - If `iLevel` is `0`, it returns a global communication object shared across components.
|
|
99
|
+
* - If `iLevel` is `1`, it returns a local communication object specific to the current canvas component.
|
|
100
|
+
*
|
|
101
|
+
* @param {number} iLevel - The scope level of the communication object (0 for global, 1 for local).
|
|
102
|
+
* @returns {object} The communication object.
|
|
103
|
+
* @public
|
|
96
104
|
*/
|
|
97
|
-
getCommunicationObject: function(iLevel){
|
|
105
|
+
getCommunicationObject: function (iLevel) {
|
|
98
106
|
return oTemplateUtils.oComponentUtils.getCommunicationObject(iLevel);
|
|
99
107
|
},
|
|
100
108
|
|
|
@@ -167,7 +175,7 @@ sap.ui.define(
|
|
|
167
175
|
},
|
|
168
176
|
|
|
169
177
|
/**
|
|
170
|
-
* @
|
|
178
|
+
* @deprecated As of version 1.133 without replacement as the the paginator button information is not used by canvas components.
|
|
171
179
|
*/
|
|
172
180
|
getPaginatorButtons: function(){
|
|
173
181
|
var oPaginatorButtons = oController.byId("template::UpAndDownNavigation");
|
|
@@ -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);
|
|
@@ -116,10 +116,14 @@ sap.ui.define(["sap/ui/base/Object",
|
|
|
116
116
|
return oNavigationController;
|
|
117
117
|
},
|
|
118
118
|
/**
|
|
119
|
-
*
|
|
119
|
+
* Returns the global communication object for storing and accessing custom state information within the current app.
|
|
120
|
+
* This object can be used across components to share state information.
|
|
121
|
+
*
|
|
122
|
+
* @returns {object} The communication object.
|
|
123
|
+
* @public
|
|
120
124
|
*/
|
|
121
|
-
getCommunicationObject: function(
|
|
122
|
-
return oTemplateUtils.oComponentUtils.getCommunicationObject(
|
|
125
|
+
getCommunicationObject: function () {
|
|
126
|
+
return oTemplateUtils.oComponentUtils.getCommunicationObject();
|
|
123
127
|
},
|
|
124
128
|
|
|
125
129
|
/**
|
|
@@ -151,21 +155,19 @@ sap.ui.define(["sap/ui/base/Object",
|
|
|
151
155
|
return oTemplateUtils.oCommonUtils.securedExecution(fnFunction, mParameters, oState);
|
|
152
156
|
},
|
|
153
157
|
/**
|
|
154
|
-
* If
|
|
158
|
+
* If multi view table is enabled, this function returns the selected variant's key.
|
|
155
159
|
*
|
|
156
|
-
* @returns {string} The
|
|
160
|
+
* @returns {string} The currently selected variant key on the table.
|
|
157
161
|
* @public
|
|
158
|
-
* @experimental
|
|
159
162
|
*/
|
|
160
163
|
getQuickVariantSelectionKey: function() {
|
|
161
164
|
return oState.oMultipleViewsHandler.getSelectedKey();
|
|
162
165
|
},
|
|
163
166
|
|
|
164
167
|
/**
|
|
165
|
-
* If
|
|
166
|
-
* @param {string} sKey The
|
|
168
|
+
* If multi view table is enabled, this function switches the table's view to given variant key.
|
|
169
|
+
* @param {string} sKey The table variant key to be selected.
|
|
167
170
|
* @public
|
|
168
|
-
* @experimental
|
|
169
171
|
*/
|
|
170
172
|
setQuickVariantSelectionKey: function(sKey) {
|
|
171
173
|
oState.oMultipleViewsHandler.setSelectedKey(sKey);
|
|
@@ -186,8 +188,8 @@ sap.ui.define(["sap/ui/base/Object",
|
|
|
186
188
|
* Provide an option for showing an own message in the message bar above the LR table
|
|
187
189
|
* @param {object} [oMessage] custom message along with type to set on table. If this parameter is faulty an existing message will be removed.
|
|
188
190
|
* @param {string} oMessage.message message string to display
|
|
189
|
-
* @param {string} oMessage.type indicates type of message (sap
|
|
190
|
-
* whether it's
|
|
191
|
+
* @param {string} oMessage.type indicates type of message (sap/ui/core/message/MessageType)
|
|
192
|
+
* whether it's MessageType.Success, MessageType.Warning, MessageType.Error or MessageType.Information.
|
|
191
193
|
* @param {array |string} [vTabKey] If switching between different table views is enabled, this parameter can be used to identify the views which
|
|
192
194
|
* 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
195
|
* identifying the affected variant items.
|
|
@@ -114,13 +114,13 @@ DISCARD=Discard
|
|
|
114
114
|
DELETE=Delete
|
|
115
115
|
|
|
116
116
|
# XFLD,50: used in message toast after saving.
|
|
117
|
-
OBJECT_SAVED=Your changes have been saved
|
|
117
|
+
OBJECT_SAVED=Your changes have been saved.
|
|
118
118
|
|
|
119
119
|
# XFLD,50: used in message toast after saving. if no changes have been made.
|
|
120
|
-
OBJECT_NOT_MODIFIED=You haven\u2019t made any changes
|
|
120
|
+
OBJECT_NOT_MODIFIED=You haven\u2019t made any changes.
|
|
121
121
|
|
|
122
122
|
# XFLD,40: Not used, as of now
|
|
123
|
-
OBJECT_CREATED=Object was created
|
|
123
|
+
OBJECT_CREATED=Object was created
|
|
124
124
|
|
|
125
125
|
# XTIT,30: title of popover displayed when a user tries to open a locked object (in DraftAdminDataPopover.fragment.xml)
|
|
126
126
|
LOCKED_OBJECT_POPOVER_TITLE=Locked
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<mvc:View xmlns:mvc="sap.ui.core.mvc" xmlns:core="sap.ui.core"
|
|
2
2
|
xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
|
|
3
|
-
template:require="sap
|
|
3
|
+
template:require="{StableIdHelper: 'sap/suite/ui/generic/template/js/StableIdHelper'}">
|
|
4
4
|
|
|
5
5
|
<core:Fragment fragmentName="sap.suite.ui.generic.template.ListReport.view.fragments.FullscreenPage" type="XML"/>
|
|
6
6
|
<!-- create with dialog fragment load if manifest setting is there -->
|
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",
|