@openui5/sap.ui.core 1.108.17 → 1.108.19
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/jquery.sap.global.js +1 -1
- package/src/jquery.sap.properties.js +1 -1
- package/src/jquery.sap.resources.js +1 -1
- package/src/jquery.sap.script.js +1 -1
- package/src/jquery.sap.storage.js +3 -3
- package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
- package/src/sap/base/util/restricted/_castArray.js +1 -1
- package/src/sap/base/util/restricted/_compact.js +1 -1
- package/src/sap/base/util/restricted/_curry.js +1 -1
- package/src/sap/base/util/restricted/_debounce.js +1 -1
- package/src/sap/base/util/restricted/_difference.js +1 -1
- package/src/sap/base/util/restricted/_differenceBy.js +1 -1
- package/src/sap/base/util/restricted/_differenceWith.js +1 -1
- package/src/sap/base/util/restricted/_flatMap.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
- package/src/sap/base/util/restricted/_flatten.js +1 -1
- package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
- package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
- package/src/sap/base/util/restricted/_intersection.js +1 -1
- package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
- package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
- package/src/sap/base/util/restricted/_isEqual.js +1 -1
- package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
- package/src/sap/base/util/restricted/_isNil.js +1 -1
- package/src/sap/base/util/restricted/_max.js +1 -1
- package/src/sap/base/util/restricted/_merge.js +1 -1
- package/src/sap/base/util/restricted/_mergeWith.js +1 -1
- package/src/sap/base/util/restricted/_min.js +1 -1
- package/src/sap/base/util/restricted/_omit.js +1 -1
- package/src/sap/base/util/restricted/_pick.js +1 -1
- package/src/sap/base/util/restricted/_pickBy.js +1 -1
- package/src/sap/base/util/restricted/_throttle.js +1 -1
- package/src/sap/base/util/restricted/_toArray.js +1 -1
- package/src/sap/base/util/restricted/_union.js +1 -1
- package/src/sap/base/util/restricted/_unionBy.js +1 -1
- package/src/sap/base/util/restricted/_unionWith.js +1 -1
- package/src/sap/base/util/restricted/_uniq.js +1 -1
- package/src/sap/base/util/restricted/_uniqBy.js +1 -1
- package/src/sap/base/util/restricted/_uniqWith.js +1 -1
- package/src/sap/base/util/restricted/_without.js +1 -1
- package/src/sap/base/util/restricted/_xor.js +1 -1
- package/src/sap/base/util/restricted/_xorBy.js +1 -1
- package/src/sap/base/util/restricted/_xorWith.js +1 -1
- package/src/sap/base/util/restricted/_zipObject.js +1 -1
- package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
- package/src/sap/ui/Device.js +3 -3
- package/src/sap/ui/Global.js +4 -4
- package/src/sap/ui/base/Event.js +1 -1
- package/src/sap/ui/base/EventProvider.js +1 -1
- package/src/sap/ui/base/Interface.js +1 -1
- package/src/sap/ui/base/ManagedObject.js +1 -1
- package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
- package/src/sap/ui/base/Metadata.js +1 -1
- package/src/sap/ui/base/Object.js +1 -1
- package/src/sap/ui/base/ObjectPool.js +1 -1
- package/src/sap/ui/core/.library +1 -1
- package/src/sap/ui/core/BusyIndicator.js +1 -1
- package/src/sap/ui/core/Component.js +1 -1
- package/src/sap/ui/core/ComponentContainer.js +1 -1
- package/src/sap/ui/core/ComponentMetadata.js +1 -1
- package/src/sap/ui/core/ComponentSupport.js +1 -1
- package/src/sap/ui/core/Configuration.js +12 -18
- package/src/sap/ui/core/Control.js +1 -1
- package/src/sap/ui/core/Core.js +4 -2
- package/src/sap/ui/core/CustomData.js +1 -1
- package/src/sap/ui/core/DeclarativeSupport.js +1 -1
- package/src/sap/ui/core/Element.js +1 -1
- package/src/sap/ui/core/ElementMetadata.js +1 -1
- package/src/sap/ui/core/EnabledPropagator.js +1 -1
- package/src/sap/ui/core/EventBus.js +1 -1
- package/src/sap/ui/core/Fragment.js +1 -1
- package/src/sap/ui/core/HTML.js +1 -1
- package/src/sap/ui/core/History.js +1 -1
- package/src/sap/ui/core/Icon.js +1 -1
- package/src/sap/ui/core/IconPool.js +1 -2
- package/src/sap/ui/core/IndicationColorSupport.js +1 -1
- package/src/sap/ui/core/IntervalTrigger.js +1 -1
- package/src/sap/ui/core/InvisibleMessage.js +1 -1
- package/src/sap/ui/core/InvisibleRenderer.js +1 -1
- package/src/sap/ui/core/InvisibleText.js +1 -1
- package/src/sap/ui/core/Item.js +1 -1
- package/src/sap/ui/core/LabelEnablement.js +1 -1
- package/src/sap/ui/core/LayoutData.js +1 -1
- package/src/sap/ui/core/ListItem.js +1 -1
- package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
- package/src/sap/ui/core/Locale.js +1 -1
- package/src/sap/ui/core/LocaleData.js +1 -1
- package/src/sap/ui/core/Manifest.js +1 -1
- package/src/sap/ui/core/Message.js +1 -1
- package/src/sap/ui/core/RenderManager.js +1 -1
- package/src/sap/ui/core/Renderer.js +1 -1
- package/src/sap/ui/core/ResizeHandler.js +1 -1
- package/src/sap/ui/core/ScrollBar.js +1 -1
- package/src/sap/ui/core/SeparatorItem.js +1 -1
- package/src/sap/ui/core/Title.js +1 -1
- package/src/sap/ui/core/TooltipBase.js +1 -1
- package/src/sap/ui/core/UIArea.js +1 -1
- package/src/sap/ui/core/UIComponent.js +1 -1
- package/src/sap/ui/core/UIComponentMetadata.js +1 -1
- package/src/sap/ui/core/ValueStateSupport.js +1 -1
- package/src/sap/ui/core/VariantLayoutData.js +1 -1
- package/src/sap/ui/core/XMLComposite.js +1 -1
- package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
- package/src/sap/ui/core/_IconRegistry.js +84 -11
- package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
- package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
- package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
- package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
- package/src/sap/ui/core/dnd/DragInfo.js +1 -1
- package/src/sap/ui/core/dnd/DropInfo.js +1 -1
- package/src/sap/ui/core/format/DateFormat.js +4 -0
- package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
- package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
- package/src/sap/ui/core/library.js +3 -3
- package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
- package/src/sap/ui/core/message/Message.js +1 -1
- package/src/sap/ui/core/message/MessageManager.js +1 -1
- package/src/sap/ui/core/message/MessageParser.js +1 -1
- package/src/sap/ui/core/message/MessageProcessor.js +1 -1
- package/src/sap/ui/core/mvc/HTMLView.js +1 -1
- package/src/sap/ui/core/mvc/JSONView.js +1 -1
- package/src/sap/ui/core/mvc/JSView.js +1 -1
- package/src/sap/ui/core/mvc/TemplateView.js +1 -1
- package/src/sap/ui/core/mvc/View.js +1 -1
- package/src/sap/ui/core/mvc/XMLView.js +1 -1
- package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
- package/src/sap/ui/core/plugin/LessSupport.js +1 -1
- package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
- package/src/sap/ui/core/postmessage/Bus.js +1 -1
- package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
- package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
- package/src/sap/ui/core/search/SearchProvider.js +1 -1
- package/src/sap/ui/core/service/Service.js +1 -1
- package/src/sap/ui/core/service/ServiceFactory.js +1 -1
- package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
- package/src/sap/ui/core/support/Plugin.js +1 -1
- package/src/sap/ui/core/support/Support.js +1 -1
- package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
- package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
- package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
- package/src/sap/ui/core/support/plugins/Performance.js +1 -1
- package/src/sap/ui/core/support/plugins/Selector.js +1 -1
- package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
- package/src/sap/ui/core/support/plugins/Trace.js +1 -1
- package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
- package/src/sap/ui/core/themes/base/Icon.less +2 -2
- package/src/sap/ui/core/theming/ThemeHelper.js +103 -0
- package/src/sap/ui/core/theming/ThemeManager.js +20 -19
- package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
- package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
- package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
- package/src/sap/ui/core/tmpl/Template.js +1 -1
- package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
- package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
- package/src/sap/ui/core/util/Export.js +1 -1
- package/src/sap/ui/core/util/ExportCell.js +1 -1
- package/src/sap/ui/core/util/ExportColumn.js +1 -1
- package/src/sap/ui/core/util/ExportRow.js +1 -1
- package/src/sap/ui/core/util/ExportType.js +1 -1
- package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
- package/src/sap/ui/core/util/File.js +1 -1
- package/src/sap/ui/core/util/LibraryInfo.js +1 -1
- package/src/sap/ui/core/util/MockServer.js +1 -1
- package/src/sap/ui/core/util/PasteHelper.js +1 -1
- package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
- package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
- package/src/sap/ui/core/ws/ReadyState.js +1 -1
- package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
- package/src/sap/ui/core/ws/WebSocket.js +1 -1
- package/src/sap/ui/debug/ControlTree.js +1 -1
- package/src/sap/ui/debug/DebugEnv.js +1 -1
- package/src/sap/ui/debug/PropertyList.js +1 -1
- package/src/sap/ui/model/ClientModel.js +1 -1
- package/src/sap/ui/model/CompositeDataState.js +1 -1
- package/src/sap/ui/model/CompositeType.js +1 -1
- package/src/sap/ui/model/DataState.js +1 -1
- package/src/sap/ui/model/MetaModel.js +1 -1
- package/src/sap/ui/model/Model.js +1 -1
- package/src/sap/ui/model/SelectionModel.js +1 -1
- package/src/sap/ui/model/SimpleType.js +1 -1
- package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
- package/src/sap/ui/model/Type.js +1 -1
- package/src/sap/ui/model/json/JSONModel.js +1 -1
- package/src/sap/ui/model/message/MessageModel.js +1 -1
- package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/ODataListBinding.js +24 -0
- package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
- package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
- package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
- package/src/sap/ui/model/odata/ODataModel.js +1 -1
- package/src/sap/ui/model/odata/type/Boolean.js +1 -1
- package/src/sap/ui/model/odata/type/Byte.js +1 -1
- package/src/sap/ui/model/odata/type/Currency.js +1 -1
- package/src/sap/ui/model/odata/type/Date.js +1 -1
- package/src/sap/ui/model/odata/type/DateTime.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
- package/src/sap/ui/model/odata/type/Decimal.js +1 -1
- package/src/sap/ui/model/odata/type/Double.js +1 -1
- package/src/sap/ui/model/odata/type/Guid.js +1 -1
- package/src/sap/ui/model/odata/type/Int.js +1 -1
- package/src/sap/ui/model/odata/type/Int16.js +1 -1
- package/src/sap/ui/model/odata/type/Int32.js +1 -1
- package/src/sap/ui/model/odata/type/Int64.js +1 -1
- package/src/sap/ui/model/odata/type/ODataType.js +1 -1
- package/src/sap/ui/model/odata/type/Raw.js +1 -1
- package/src/sap/ui/model/odata/type/SByte.js +1 -1
- package/src/sap/ui/model/odata/type/Single.js +1 -1
- package/src/sap/ui/model/odata/type/Stream.js +1 -1
- package/src/sap/ui/model/odata/type/String.js +1 -1
- package/src/sap/ui/model/odata/type/Time.js +1 -1
- package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
- package/src/sap/ui/model/odata/type/Unit.js +1 -1
- package/src/sap/ui/model/odata/v2/Context.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataModel.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/Context.js +3 -3
- package/src/sap/ui/model/odata/v4/ODataBinding.js +65 -38
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +5 -4
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +7 -6
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +8 -9
- package/src/sap/ui/model/odata/v4/ODataModel.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataParentBinding.js +58 -27
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +5 -5
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +11 -7
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +5 -1
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_V2MetadataConverter.js +3 -3
- package/src/sap/ui/model/odata/v4/lib/_V2Requestor.js +1 -1
- package/src/sap/ui/model/resource/ResourceModel.js +1 -1
- package/src/sap/ui/model/type/Boolean.js +1 -1
- package/src/sap/ui/model/type/Currency.js +1 -1
- package/src/sap/ui/model/type/Date.js +1 -1
- package/src/sap/ui/model/type/DateInterval.js +1 -1
- package/src/sap/ui/model/type/DateTime.js +1 -1
- package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
- package/src/sap/ui/model/type/FileSize.js +1 -1
- package/src/sap/ui/model/type/Float.js +1 -1
- package/src/sap/ui/model/type/Integer.js +1 -1
- package/src/sap/ui/model/type/String.js +1 -1
- package/src/sap/ui/model/type/Time.js +1 -1
- package/src/sap/ui/model/type/TimeInterval.js +1 -1
- package/src/sap/ui/model/type/Unit.js +1 -1
- package/src/sap/ui/model/xml/XMLModel.js +1 -1
- package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
- package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
- package/src/sap/ui/test/generic/TestBase.js +1 -1
- package/src/sap/ui/util/Mobile.js +10 -6
- package/src/sap/ui/util/Storage.js +1 -1
|
@@ -13,9 +13,13 @@ sap.ui.define([
|
|
|
13
13
|
"sap/base/i18n/ResourceBundle",
|
|
14
14
|
"sap/base/Log",
|
|
15
15
|
"sap/base/util/fetch",
|
|
16
|
-
"sap/base/util/syncFetch"
|
|
16
|
+
"sap/base/util/syncFetch",
|
|
17
|
+
"sap/base/util/isPlainObject",
|
|
18
|
+
"sap/ui/core/Core",
|
|
19
|
+
"sap/ui/core/Configuration",
|
|
20
|
+
"sap/ui/core/theming/ThemeHelper"
|
|
17
21
|
],
|
|
18
|
-
function(URI, ResourceBundle, Log, fetch, syncFetch) {
|
|
22
|
+
function(URI, ResourceBundle, Log, fetch, syncFetch, isPlainObject, Core, Configuration, ThemeHelper) {
|
|
19
23
|
"use strict";
|
|
20
24
|
|
|
21
25
|
/**
|
|
@@ -34,7 +38,7 @@ sap.ui.define([
|
|
|
34
38
|
fontFamily: SAP_ICON_FONT_FAMILY
|
|
35
39
|
},
|
|
36
40
|
metadataLoaded: true,
|
|
37
|
-
|
|
41
|
+
deprecatedNames: new Set(["soccor", "clinical-tast-tracker"])
|
|
38
42
|
}
|
|
39
43
|
};
|
|
40
44
|
|
|
@@ -1016,12 +1020,14 @@ sap.ui.define([
|
|
|
1016
1020
|
Log.error("Icon font '" + sCollectionName + "' has not been registered yet.");
|
|
1017
1021
|
return;
|
|
1018
1022
|
}
|
|
1019
|
-
|
|
1020
|
-
if (mFontRegistry[sCollectionName].
|
|
1023
|
+
|
|
1024
|
+
if (sPath == mFontRegistry[sCollectionName].currentFontURI) {
|
|
1021
1025
|
Log.info("The font face style of icon font '" + sCollectionName + "' was already inserted.");
|
|
1022
1026
|
return;
|
|
1023
1027
|
}
|
|
1024
1028
|
|
|
1029
|
+
mFontRegistry[sCollectionName].currentFontURI = sPath;
|
|
1030
|
+
|
|
1025
1031
|
oFontFace = new FontFace(sFontFace,
|
|
1026
1032
|
"url(" + convertUrl(sPath + sFontFace + ".woff2") + ") format('woff2')," +
|
|
1027
1033
|
"local(" + sFontFace + ")",
|
|
@@ -1034,12 +1040,65 @@ sap.ui.define([
|
|
|
1034
1040
|
document.fonts.add(oFontFace);
|
|
1035
1041
|
oFontFace.load();
|
|
1036
1042
|
|
|
1037
|
-
mFontRegistry[sCollectionName].inserted = true;
|
|
1038
1043
|
mFontRegistry[sCollectionName].fontFace = sFontFace;
|
|
1039
1044
|
};
|
|
1040
1045
|
|
|
1046
|
+
|
|
1047
|
+
// attach to theme change event to display the correct theme dependent icon fonts
|
|
1048
|
+
Core.attachThemeChanged(function() {
|
|
1049
|
+
for (var collectionName in mFontRegistry) {
|
|
1050
|
+
var oThemeConfig = mFontRegistry[collectionName].themeConfig;
|
|
1051
|
+
|
|
1052
|
+
if (!oThemeConfig) {
|
|
1053
|
+
continue;
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
var oFontConfig = mFontRegistry[collectionName].config;
|
|
1057
|
+
var sFontURI = getThemePath(oThemeConfig) || oFontConfig.fontURI;
|
|
1058
|
+
|
|
1059
|
+
_IconRegistry.insertFontFaceStyle(oFontConfig.fontFamily, sFontURI, collectionName);
|
|
1060
|
+
}
|
|
1061
|
+
});
|
|
1062
|
+
|
|
1063
|
+
function getThemePath(oConfig) {
|
|
1064
|
+
var fontURI;
|
|
1065
|
+
|
|
1066
|
+
if (isPlainObject(oConfig)) {
|
|
1067
|
+
var mPath = oConfig["path"];
|
|
1068
|
+
var aThemes = [Configuration.getTheme()];
|
|
1069
|
+
|
|
1070
|
+
var oCustomThemeMetadata = ThemeHelper.getMetadata("sap-ui-core");
|
|
1071
|
+
var sParentTheme = oCustomThemeMetadata && oCustomThemeMetadata.Extends[0];
|
|
1072
|
+
|
|
1073
|
+
if (sParentTheme) {
|
|
1074
|
+
aThemes.push(sParentTheme);
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
aThemes.some(function(sTheme) {
|
|
1078
|
+
return Object.keys(mPath).some(function(key) {
|
|
1079
|
+
var rTheme = new RegExp(key);
|
|
1080
|
+
|
|
1081
|
+
if (rTheme.test(sTheme)) {
|
|
1082
|
+
fontURI = mPath[key];
|
|
1083
|
+
|
|
1084
|
+
// add trailing slash if necessary for more convenience
|
|
1085
|
+
if (fontURI.charAt(fontURI.length - 1) !== "/") {
|
|
1086
|
+
fontURI += "/";
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
fontURI = sap.ui.require.toUrl(fontURI);
|
|
1090
|
+
return true;
|
|
1091
|
+
}
|
|
1092
|
+
});
|
|
1093
|
+
});
|
|
1094
|
+
|
|
1095
|
+
|
|
1096
|
+
}
|
|
1097
|
+
return fontURI;
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1041
1100
|
/**
|
|
1042
|
-
* Loads the font metadata for the given collection
|
|
1101
|
+
* Loads the font metadata for the given collection
|
|
1043
1102
|
*
|
|
1044
1103
|
* @param {string} collectionName the font collection name
|
|
1045
1104
|
* @param {boolean} async whether the metadata is loaded async or sync
|
|
@@ -1075,11 +1134,25 @@ sap.ui.define([
|
|
|
1075
1134
|
|
|
1076
1135
|
// add icons to registry and insert the font style
|
|
1077
1136
|
function loadFont(oFontMetadata) {
|
|
1078
|
-
|
|
1079
|
-
|
|
1137
|
+
var mIcons = oFontMetadata;
|
|
1138
|
+
var sFontURI = oConfig.fontURI;
|
|
1139
|
+
|
|
1140
|
+
if (oFontMetadata && oFontMetadata.config && isPlainObject(oFontMetadata.config)) {
|
|
1141
|
+
mFontRegistry[collectionName].themeConfig = oFontMetadata.config;
|
|
1142
|
+
sFontURI = getThemePath(oFontMetadata.config) || oConfig.fontURI;
|
|
1143
|
+
mIcons = oFontMetadata.icons;
|
|
1144
|
+
|
|
1145
|
+
if (!isPlainObject(mIcons)) {
|
|
1146
|
+
Log.error("There is something wrong with the structure of the font metadata loaded from " + sFontURI + ".");
|
|
1147
|
+
}
|
|
1080
1148
|
}
|
|
1081
|
-
|
|
1082
|
-
|
|
1149
|
+
|
|
1150
|
+
for (var sKey in mIcons) {
|
|
1151
|
+
mIcons[sKey] = parseInt(mIcons[sKey], 16);
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
mRegistry[collectionName] = mIcons;
|
|
1155
|
+
_IconRegistry.insertFontFaceStyle(oConfig.fontFamily, sFontURI, collectionName);
|
|
1083
1156
|
mFontRegistry[collectionName].metadataLoaded = true;
|
|
1084
1157
|
}
|
|
1085
1158
|
|
|
@@ -81,7 +81,7 @@ sap.ui.define([
|
|
|
81
81
|
* @param {Element[]} aItemDomRefs Array of DOM references representing the items for the navigation
|
|
82
82
|
* @param {boolean} [bNotInTabChain=false] Whether the selected element should be in the tab chain or not
|
|
83
83
|
*
|
|
84
|
-
* @version 1.108.
|
|
84
|
+
* @version 1.108.19
|
|
85
85
|
* @alias sap.ui.core.delegate.ItemNavigation
|
|
86
86
|
* @public
|
|
87
87
|
*/
|
|
@@ -58,7 +58,7 @@ sap.ui.define([
|
|
|
58
58
|
*
|
|
59
59
|
* @protected
|
|
60
60
|
* @alias sap.ui.core.delegate.ScrollEnablement
|
|
61
|
-
* @version 1.108.
|
|
61
|
+
* @version 1.108.19
|
|
62
62
|
* @author SAP SE
|
|
63
63
|
*/
|
|
64
64
|
var ScrollEnablement = BaseObject.extend("sap.ui.core.delegate.ScrollEnablement", /** @lends sap.ui.core.delegate.ScrollEnablement.prototype */ {
|
|
@@ -882,6 +882,10 @@ sap.ui.define([
|
|
|
882
882
|
var iTZFactor = sValue.charAt(0) == "+" ? -1 : 1;
|
|
883
883
|
var sPart;
|
|
884
884
|
|
|
885
|
+
if (sValue[0] === "Z") {
|
|
886
|
+
return {length : 1, tzDiff : 0};
|
|
887
|
+
}
|
|
888
|
+
|
|
885
889
|
iLength++; //"+" or "-"
|
|
886
890
|
sPart = this.findNumbers(sValue.substr(iLength), 2);
|
|
887
891
|
|
|
@@ -400,7 +400,7 @@ sap.ui.define([
|
|
|
400
400
|
* @see {@link topic:6322164936f047de941ec522b95d7b70 Hyphenation for Text Controls}
|
|
401
401
|
* @extends sap.ui.base.ManagedObject
|
|
402
402
|
* @author SAP SE
|
|
403
|
-
* @version 1.108.
|
|
403
|
+
* @version 1.108.19
|
|
404
404
|
* @hideconstructor
|
|
405
405
|
* @public
|
|
406
406
|
* @since 1.60
|
|
@@ -25,13 +25,13 @@ sap.ui.define([
|
|
|
25
25
|
* @namespace
|
|
26
26
|
* @alias sap.ui.core
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.108.
|
|
28
|
+
* @version 1.108.19
|
|
29
29
|
* @since 0.8
|
|
30
30
|
* @public
|
|
31
31
|
*/
|
|
32
32
|
var thisLib = sap.ui.getCore().initLibrary({
|
|
33
33
|
name : "sap.ui.core",
|
|
34
|
-
version: "1.108.
|
|
34
|
+
version: "1.108.19",
|
|
35
35
|
designtime: "sap/ui/core/designtime/library.designtime",
|
|
36
36
|
types: [
|
|
37
37
|
|
|
@@ -1491,7 +1491,7 @@ sap.ui.define([
|
|
|
1491
1491
|
/**
|
|
1492
1492
|
* Sort order of a column.
|
|
1493
1493
|
*
|
|
1494
|
-
* @version 1.108.
|
|
1494
|
+
* @version 1.108.19
|
|
1495
1495
|
* @enum {string}
|
|
1496
1496
|
* @public
|
|
1497
1497
|
* @since 1.61.0
|
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* @extends sap.ui.base.Object
|
|
36
36
|
*
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.108.
|
|
38
|
+
* @version 1.108.19
|
|
39
39
|
*
|
|
40
40
|
* @param {object} [mParameters] a map which contains the following parameter properties:
|
|
41
41
|
* @param {string} [mParameters.id] The message id: will be generated if no id is set
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @param {object} [mSettings] initial settings for the new control
|
|
28
28
|
*
|
|
29
29
|
* @extends sap.ui.core.mvc.View
|
|
30
|
-
* @version 1.108.
|
|
30
|
+
* @version 1.108.19
|
|
31
31
|
* @deprecated Since 1.90. Instead use {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed Views}
|
|
32
32
|
* by defining the view class with {@link sap.ui.core.mvc.View.extend View.extend} and
|
|
33
33
|
* creating the view instances with {@link sap.ui.core.mvc.View.create View.create}.
|
|
@@ -29,7 +29,7 @@ function(View, TemplateViewRenderer, ViewType, Log) {
|
|
|
29
29
|
* @extends sap.ui.core.mvc.View
|
|
30
30
|
*
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.108.
|
|
32
|
+
* @version 1.108.19
|
|
33
33
|
*
|
|
34
34
|
* @public
|
|
35
35
|
* @deprecated Since version 1.56.0, use {@link sap.ui.core.mvc.XMLView} in combination with
|
|
@@ -108,7 +108,7 @@ sap.ui.define([
|
|
|
108
108
|
* bound content aggregation. An error will be thrown when the above combination is detected.
|
|
109
109
|
*
|
|
110
110
|
* @extends sap.ui.core.mvc.View
|
|
111
|
-
* @version 1.108.
|
|
111
|
+
* @version 1.108.19
|
|
112
112
|
*
|
|
113
113
|
* @public
|
|
114
114
|
* @alias sap.ui.core.mvc.XMLView
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
* @public
|
|
22
22
|
* @since 1.15.0
|
|
23
23
|
* @deprecated since 1.56, use an {@link sap.ui.core.mvc.XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View} instead
|
|
24
|
-
* @version 1.108.
|
|
24
|
+
* @version 1.108.19
|
|
25
25
|
* @alias sap.ui.core.plugin.TemplatingSupport
|
|
26
26
|
*/
|
|
27
27
|
var TemplatingSupport = function() {
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @class
|
|
28
28
|
* A SearchProvider which uses the OpenSearch protocol (either JSON or XML).
|
|
29
29
|
* @extends sap.ui.core.search.SearchProvider
|
|
30
|
-
* @version 1.108.
|
|
30
|
+
* @version 1.108.19
|
|
31
31
|
*
|
|
32
32
|
* @public
|
|
33
33
|
* @alias sap.ui.core.search.OpenSearchProvider
|
|
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/core/Element', "sap/base/Log", 'sap/ui/core/library'],
|
|
|
23
23
|
*
|
|
24
24
|
* Do not create instances of this class, but use a concrete subclass instead.
|
|
25
25
|
* @extends sap.ui.core.Element
|
|
26
|
-
* @version 1.108.
|
|
26
|
+
* @version 1.108.19
|
|
27
27
|
*
|
|
28
28
|
* @public
|
|
29
29
|
* @alias sap.ui.core.search.SearchProvider
|
|
@@ -83,7 +83,7 @@ sap.ui.define(['sap/ui/base/Object', 'sap/ui/core/service/Service', "sap/base/as
|
|
|
83
83
|
*
|
|
84
84
|
* @extends sap.ui.base.Object
|
|
85
85
|
* @author SAP SE
|
|
86
|
-
* @version 1.108.
|
|
86
|
+
* @version 1.108.19
|
|
87
87
|
* @alias sap.ui.core.service.ServiceFactory
|
|
88
88
|
* @private
|
|
89
89
|
* @ui5-restricted sap.ushell
|
|
@@ -18,7 +18,7 @@ sap.ui.define(['./ServiceFactory', "sap/base/assert"],
|
|
|
18
18
|
* The service factory registry.
|
|
19
19
|
*
|
|
20
20
|
* @author SAP SE
|
|
21
|
-
* @version 1.108.
|
|
21
|
+
* @version 1.108.19
|
|
22
22
|
* @alias sap.ui.core.service.ServiceFactoryRegistry
|
|
23
23
|
* @private
|
|
24
24
|
* @ui5-restricted sap.ushell
|
|
@@ -25,7 +25,7 @@ sap.ui.define(['sap/ui/base/EventProvider', './Plugin', "sap/base/util/UriParame
|
|
|
25
25
|
* @class This class provides the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
|
|
26
26
|
*
|
|
27
27
|
* @extends sap.ui.base.EventProvider
|
|
28
|
-
* @version 1.108.
|
|
28
|
+
* @version 1.108.19
|
|
29
29
|
* @private
|
|
30
30
|
* @alias sap.ui.core.support.Support
|
|
31
31
|
*/
|
|
@@ -58,7 +58,7 @@ sap.ui.define([
|
|
|
58
58
|
* @class This class represents the ControlTree plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
|
|
59
59
|
*
|
|
60
60
|
* @extends sap.ui.core.support.Plugin
|
|
61
|
-
* @version 1.108.
|
|
61
|
+
* @version 1.108.19
|
|
62
62
|
* @private
|
|
63
63
|
* @alias sap.ui.core.support.plugins.ControlTree
|
|
64
64
|
*/
|
|
@@ -15,7 +15,7 @@ sap.ui.define(['sap/ui/core/support/Plugin', "sap/base/Log"],
|
|
|
15
15
|
* @class This class represents the LocalStorage plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
|
|
16
16
|
*
|
|
17
17
|
* @extends sap.ui.core.support.Plugin
|
|
18
|
-
* @version 1.108.
|
|
18
|
+
* @version 1.108.19
|
|
19
19
|
* @private
|
|
20
20
|
* @alias sap.ui.core.support.plugins.LocalStorage
|
|
21
21
|
*/
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* @class This class represents the selector plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
|
|
21
21
|
*
|
|
22
22
|
* @extends sap.ui.core.support.Plugin
|
|
23
|
-
* @version 1.108.
|
|
23
|
+
* @version 1.108.19
|
|
24
24
|
* @private
|
|
25
25
|
* @alias sap.ui.core.support.plugins.Selector
|
|
26
26
|
*/
|
|
@@ -26,7 +26,7 @@ sap.ui.define([
|
|
|
26
26
|
* @class This class represents the technical info plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
|
|
27
27
|
*
|
|
28
28
|
* @extends sap.ui.core.support.Plugin
|
|
29
|
-
* @version 1.108.
|
|
29
|
+
* @version 1.108.19
|
|
30
30
|
* @private
|
|
31
31
|
* @alias sap.ui.core.support.plugins.TechInfo
|
|
32
32
|
*/
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* @class This class represents the trace plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
|
|
20
20
|
*
|
|
21
21
|
* @extends sap.ui.core.support.Plugin
|
|
22
|
-
* @version 1.108.
|
|
22
|
+
* @version 1.108.19
|
|
23
23
|
* @private
|
|
24
24
|
* @alias sap.ui.core.support.plugins.Trace
|
|
25
25
|
*/
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* Creates an instance of sap.ui.core.support.plugins.ViewInfo.
|
|
20
20
|
* @class This class represents the ViewInfo plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
|
|
21
21
|
* @extends sap.ui.core.support.Plugin
|
|
22
|
-
* @version 1.108.
|
|
22
|
+
* @version 1.108.19
|
|
23
23
|
* @private
|
|
24
24
|
* @alias sap.ui.core.support.plugins.ViewInfo
|
|
25
25
|
*/
|