@sapui5/sap.suite.ui.generic.template 1.120.7 → 1.120.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/sap/suite/ui/generic/template/.library +1 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/Canvas/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +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/lib/AdaptiveCardHelper.js +2 -2
- package/src/sap/suite/ui/generic/template/lib/AppComponent.js +1 -1
- package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +1 -1
- package/src/sap/suite/ui/generic/template/library.js +1 -1
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@ sap.ui.define([
|
|
|
15
15
|
var fnGetColorFromAnnotations = function (sCriticalityPath) {
|
|
16
16
|
if (sCriticalityPath) {
|
|
17
17
|
var sColorExp = sCriticalityPath.indexOf('/') > -1 ? sCriticalityPath.replaceAll('/', '.') : sCriticalityPath;
|
|
18
|
-
return "${if(" + sColorExp + " ==
|
|
18
|
+
return "${if(int(" + sColorExp + ") == 0, 'Default', if(int(" + sColorExp + ") == 1 , 'Attention', if(int(" + sColorExp + ") == 2 , 'Warning', 'Good')))}";
|
|
19
19
|
}
|
|
20
20
|
return 'Default';
|
|
21
21
|
};
|
|
@@ -280,7 +280,7 @@ sap.ui.define([
|
|
|
280
280
|
return oPath !== oField.path && oPath.indexOf("##@@") === -1;
|
|
281
281
|
});
|
|
282
282
|
}
|
|
283
|
-
var sValue = oField.edmType === "Edm.Decimal" ? "${formatNumber(" + oField.path + ", 2)}" : "${" + oField.path + "}";
|
|
283
|
+
var sValue = oField.edmType === "Edm.Decimal" ? "${formatNumber(float(" + oField.path + "), 2)}" : "${" + oField.path + "}";
|
|
284
284
|
var sId = "";
|
|
285
285
|
var sDescription = "";
|
|
286
286
|
var sPath;
|
|
@@ -907,7 +907,7 @@ sap.ui.define([
|
|
|
907
907
|
* @extends sap.ui.core.UIComponent
|
|
908
908
|
* @abstract
|
|
909
909
|
* @author SAP SE
|
|
910
|
-
* @version 1.120.
|
|
910
|
+
* @version 1.120.8
|
|
911
911
|
* @name sap.suite.ui.generic.template.lib.AppComponent
|
|
912
912
|
*/
|
|
913
913
|
return UIComponent.extend("sap.suite.ui.generic.template.lib.AppComponent", {
|
|
@@ -3051,7 +3051,7 @@ sap.ui.define(["sap/ui/base/Object",
|
|
|
3051
3051
|
* @param {sap.suite.ui.generic.template.lib.AppComponent} oAppComponent The AppComponent instance
|
|
3052
3052
|
* @public
|
|
3053
3053
|
* @extends sap.ui.base.Object
|
|
3054
|
-
* @version 1.120.
|
|
3054
|
+
* @version 1.120.8
|
|
3055
3055
|
* @since 1.30.0
|
|
3056
3056
|
* @alias sap.suite.ui.generic.template.lib.NavigationController
|
|
3057
3057
|
*/
|