@openui5/sap.ui.core 1.92.0 → 1.95.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{.eslintrc → .eslintrc.json} +1 -2
- package/.reuse/dep5 +1 -6
- package/THIRDPARTY.txt +4 -10
- package/package.json +1 -1
- package/src/jquery.sap.global.js +9 -2
- 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 +7 -4
- package/src/jquery.sap.stubs.js +2 -1
- package/src/jquery.sap.trace.js +2 -1
- package/src/sap/base/i18n/ResourceBundle.js +8 -4
- package/src/sap/base/strings/whitespaceReplacer.js +52 -0
- package/src/sap/base/util/Properties.js +4 -1
- package/src/sap/base/util/isEmptyObject.js +1 -2
- 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 +37 -42
- package/src/sap/ui/Global.js +6 -6
- package/src/sap/ui/VersionInfo.js +1 -0
- package/src/sap/ui/base/DataType.js +14 -7
- package/src/sap/ui/base/Event.js +1 -1
- package/src/sap/ui/base/EventProvider.js +1 -1
- package/src/sap/ui/base/ExpressionParser.js +9 -6
- package/src/sap/ui/base/Interface.js +3 -49
- package/src/sap/ui/base/ManagedObject.js +131 -24
- package/src/sap/ui/base/ManagedObjectMetadata.js +13 -4
- package/src/sap/ui/base/Metadata.js +1 -1
- package/src/sap/ui/base/Object.js +49 -4
- package/src/sap/ui/base/ObjectPool.js +1 -1
- package/src/sap/ui/base/syncXHRFix.js +2 -1
- package/src/sap/ui/core/.library +5 -5
- package/src/sap/ui/core/AppCacheBuster.js +4 -4
- package/src/sap/ui/core/BusyIndicator.js +1 -11
- package/src/sap/ui/core/BusyIndicatorUtils.js +4 -1
- package/src/sap/ui/core/Component.js +441 -179
- package/src/sap/ui/core/ComponentContainer.js +16 -6
- package/src/sap/ui/core/ComponentMetadata.js +14 -3
- package/src/sap/ui/core/ComponentSupport.js +1 -1
- package/src/sap/ui/core/Configuration.js +64 -32
- package/src/sap/ui/core/Control.js +1 -1
- package/src/sap/ui/core/Core.js +57 -40
- package/src/sap/ui/core/CustomData.js +1 -1
- package/src/sap/ui/core/CustomizingConfiguration.js +35 -260
- package/src/sap/ui/core/DeclarativeSupport.js +3 -2
- package/src/sap/ui/core/Element.js +1 -1
- package/src/sap/ui/core/ElementMetadata.js +4 -2
- package/src/sap/ui/core/EnabledPropagator.js +91 -73
- package/src/sap/ui/core/EventBus.js +1 -1
- package/src/sap/ui/core/ExtensionPoint.js +7 -14
- package/src/sap/ui/core/Fragment.js +30 -32
- 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 +5 -5
- package/src/sap/ui/core/IconPool.js +15 -1097
- package/src/sap/ui/core/IconRenderer.js +2 -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 +9 -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 +26 -4
- package/src/sap/ui/core/LocaleData.js +1 -1
- package/src/sap/ui/core/Manifest.js +124 -126
- package/src/sap/ui/core/Message.js +1 -1
- package/src/sap/ui/core/Patcher.js +53 -80
- package/src/sap/ui/core/Placeholder.js +25 -11
- package/src/sap/ui/core/Popup.js +29 -5
- package/src/sap/ui/core/RenderManager.js +41 -24
- package/src/sap/ui/core/Renderer.js +13 -3
- package/src/sap/ui/core/ResizeHandler.js +1 -1
- package/src/sap/ui/core/ScrollBar.js +2 -2
- package/src/sap/ui/core/SeparatorItem.js +1 -1
- package/src/sap/ui/core/ShortcutHintsMixin.js +14 -7
- package/src/sap/ui/core/ThemeCheck.js +13 -61
- 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 +5 -2
- package/src/sap/ui/core/UIComponent.js +81 -40
- 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/XMLTemplateProcessor.js +5 -5
- package/src/sap/ui/core/_IconRegistry.js +1215 -0
- package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
- package/src/sap/ui/core/delegate/ScrollEnablement.js +6 -3
- package/src/sap/ui/core/dnd/DragDropBase.js +2 -9
- package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
- package/src/sap/ui/core/dnd/DragInfo.js +41 -1
- package/src/sap/ui/core/dnd/DropInfo.js +1 -1
- package/src/sap/ui/core/format/DateFormat.js +2 -0
- package/src/sap/ui/core/format/NumberFormat.js +2 -0
- package/src/sap/ui/core/hyphenation/Hyphenation.js +73 -221
- package/src/sap/ui/core/hyphenation/HyphenationTestingWords.js +11 -10
- 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 +13 -13
- 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/messagebundle_de.properties +1 -1
- package/src/sap/ui/core/messagebundle_fr.properties +1 -1
- package/src/sap/ui/core/messagebundle_it.properties +1 -1
- package/src/sap/ui/core/messagebundle_pl.properties +1 -1
- package/src/sap/ui/core/messagebundle_th.properties +2 -2
- package/src/sap/ui/core/mvc/Controller.js +166 -9
- package/src/sap/ui/core/mvc/ControllerExtensionProvider.js +30 -32
- package/src/sap/ui/core/mvc/ControllerMetadata.js +18 -18
- package/src/sap/ui/core/mvc/HTMLView.js +4 -2
- package/src/sap/ui/core/mvc/JSONView.js +8 -6
- package/src/sap/ui/core/mvc/JSView.js +5 -3
- package/src/sap/ui/core/mvc/TemplateView.js +2 -2
- package/src/sap/ui/core/mvc/View.js +73 -89
- package/src/sap/ui/core/mvc/ViewType.js +2 -0
- package/src/sap/ui/core/mvc/XMLView.js +14 -10
- 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/routing/History.js +36 -18
- package/src/sap/ui/core/routing/Route.js +10 -1
- package/src/sap/ui/core/routing/Router.js +8 -5
- package/src/sap/ui/core/routing/Target.js +13 -0
- package/src/sap/ui/core/routing/TargetCache.js +1 -1
- package/src/sap/ui/core/routing/Targets.js +39 -2
- package/src/sap/ui/core/routing/async/Route.js +7 -4
- package/src/sap/ui/core/routing/async/Target.js +383 -262
- package/src/sap/ui/core/routing/sync/Target.js +15 -0
- package/src/sap/ui/core/rules/App.support.js +35 -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/BootSupportTool.js +11 -0
- package/src/sap/ui/core/support/InteractionTree.css +4 -0
- 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/ViewInfo.css +599 -0
- package/src/sap/ui/core/support/controls/InteractionTree.js +352 -222
- package/src/sap/ui/core/support/controls/ObjectViewer.js +8 -50
- package/src/sap/ui/core/support/controls/TimelineOverview.js +49 -24
- package/src/sap/ui/core/support/controls/TreeViewer.js +12 -58
- package/src/sap/ui/core/support/plugins/ControlTree.js +23 -26
- package/src/sap/ui/core/support/plugins/Debugging.js +9 -11
- package/src/sap/ui/core/support/plugins/Interaction.js +2 -2
- package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
- package/src/sap/ui/core/support/plugins/Performance.js +147 -75
- package/src/sap/ui/core/support/plugins/Selector.js +19 -24
- package/src/sap/ui/core/support/plugins/TechInfo.js +5 -5
- package/src/sap/ui/core/support/plugins/Trace.js +95 -32
- package/src/sap/ui/core/support/plugins/ViewInfo.js +9 -73
- package/src/sap/ui/core/support/support.css +109 -14
- package/src/sap/ui/core/support/support.html +6 -2
- package/src/sap/ui/core/support/techinfo/TechnicalInfo.fragment.xml +1 -0
- package/src/sap/ui/core/support/techinfo/TechnicalInfo.js +149 -72
- package/src/sap/ui/core/support/trace/E2eTraceLib.js +3 -3
- package/src/sap/ui/core/themes/base/LocalBusyIndicator.less +5 -0
- package/src/sap/ui/core/themes/base/base.less +27 -25
- package/src/sap/ui/core/themes/base/shared.less +1 -0
- package/src/sap/ui/core/theming/Parameters.js +225 -61
- package/src/sap/ui/core/theming/ThemeHelper.js +94 -0
- 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 +11 -28
- package/src/sap/ui/core/tmpl/TemplateControl.js +4 -4
- package/src/sap/ui/core/tmpl/_parsePath.js +35 -0
- package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
- package/src/sap/ui/core/util/DraftEnabledMockServer.js +9 -4
- 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 +24 -5
- package/src/sap/ui/core/util/MockServerAnnotationsHandler.js +3 -2
- package/src/sap/ui/core/util/PasteHelper.js +1 -1
- package/src/sap/ui/core/util/XMLPreprocessor.js +11 -12
- package/src/sap/ui/core/util/reflection/BaseTreeModifier.js +154 -63
- package/src/sap/ui/core/util/reflection/JsControlTreeModifier.js +171 -152
- package/src/sap/ui/core/util/reflection/XmlTreeModifier.js +419 -291
- 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 +2 -2
- package/src/sap/ui/core/util/serializer/delegate/XML.js +2 -2
- 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 +10 -4
- package/src/sap/ui/debug/DebugEnv.js +3 -4
- package/src/sap/ui/debug/PropertyList.css +55 -0
- package/src/sap/ui/debug/PropertyList.js +111 -182
- package/src/sap/ui/events/jquery/EventSimulation.js +7 -6
- package/src/sap/ui/events/jquery/EventTriggerHook.js +1 -1
- package/src/sap/ui/model/ClientModel.js +1 -1
- package/src/sap/ui/model/ClientPropertyBinding.js +3 -1
- package/src/sap/ui/model/ClientTreeBinding.js +14 -8
- package/src/sap/ui/model/CompositeDataState.js +1 -1
- package/src/sap/ui/model/CompositeType.js +1 -1
- package/src/sap/ui/model/Context.js +31 -11
- package/src/sap/ui/model/DataState.js +1 -1
- package/src/sap/ui/model/ListBinding.js +19 -0
- package/src/sap/ui/model/MetaModel.js +1 -1
- package/src/sap/ui/model/Model.js +3 -3
- package/src/sap/ui/model/SelectionModel.js +5 -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/analytics/AnalyticalBinding.js +14 -9
- package/src/sap/ui/model/analytics/odata4analytics.js +31 -23
- package/src/sap/ui/model/base/ManagedObjectModel.js +13 -1
- package/src/sap/ui/model/json/JSONModel.js +4 -2
- package/src/sap/ui/model/message/MessageModel.js +4 -2
- package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/ODataListBinding.js +1 -0
- package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
- package/src/sap/ui/model/odata/ODataMetaModel.js +5 -2
- package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
- package/src/sap/ui/model/odata/ODataModel.js +7 -6
- package/src/sap/ui/model/odata/ODataUtils.js +31 -10
- package/src/sap/ui/model/odata/_AnnotationHelperBasics.js +30 -27
- 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 +7 -2
- 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/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 +3 -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 +7 -2
- package/src/sap/ui/model/odata/type/UnitMixin.js +20 -7
- package/src/sap/ui/model/odata/v2/Context.js +187 -0
- package/src/sap/ui/model/odata/v2/ODataAnnotations.js +2 -2
- package/src/sap/ui/model/odata/v2/ODataContextBinding.js +55 -51
- package/src/sap/ui/model/odata/v2/ODataListBinding.js +42 -106
- package/src/sap/ui/model/odata/v2/ODataModel.js +251 -159
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +163 -136
- package/src/sap/ui/model/odata/v4/Context.js +6 -3
- package/src/sap/ui/model/odata/v4/ODataBinding.js +3 -3
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +97 -25
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +112 -24
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +15 -12
- package/src/sap/ui/model/odata/v4/ODataModel.js +85 -77
- package/src/sap/ui/model/odata/v4/ODataParentBinding.js +25 -15
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +21 -12
- package/src/sap/ui/model/odata/v4/_AnnotationHelperExpression.js +10 -3
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +13 -4
- package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +5 -1
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +28 -17
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +47 -30
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +55 -19
- package/src/sap/ui/model/odata/v4/lib/_V2Requestor.js +2 -2
- package/src/sap/ui/model/resource/ResourceModel.js +5 -2
- 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 +4 -2
- package/src/sap/ui/performance/Measurement.js +1 -1
- package/src/sap/ui/performance/trace/FESR.js +2 -1
- package/src/sap/ui/performance/trace/Interaction.js +42 -25
- package/src/sap/ui/performance/trace/initTraces.js +1 -1
- package/src/sap/ui/qunit/QUnitUtils.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/security/FrameOptions.js +2 -1
- package/src/sap/ui/test/Opa5.js +1 -1
- package/src/sap/ui/test/OpaBuilder.js +1 -0
- package/src/sap/ui/test/TestUtils.js +28 -34
- package/src/sap/ui/test/actions/Drag.js +6 -2
- package/src/sap/ui/test/actions/Drop.js +6 -2
- package/src/sap/ui/test/actions/EnterText.js +6 -0
- package/src/sap/ui/test/actions/Press.js +6 -0
- package/src/sap/ui/test/actions/Scroll.js +6 -0
- package/src/sap/ui/test/autowaiter/_resourceWaiter.js +4 -4
- package/src/sap/ui/test/launchers/componentLauncher.js +1 -4
- package/src/sap/ui/test/matchers/I18NText.js +29 -11
- package/src/sap/ui/test/opaQunit.js +11 -9
- package/src/sap/ui/test/selectors/_ControlSelectorGenerator.js +4 -4
- package/src/sap/ui/thirdparty/caja-html-sanitizer.js +1 -1
- package/src/sap/ui/thirdparty/crossroads.js +16 -6
- package/src/sap/ui/thirdparty/hyphenopoly/Hyphenopoly.js +1196 -0
- package/src/sap/ui/thirdparty/hyphenopoly/Hyphenopoly_Loader.js +797 -0
- package/src/sap/ui/thirdparty/hyphenopoly/hyphenEngine.asm.js +108 -127
- package/src/sap/ui/thirdparty/hyphenopoly/hyphenEngine.wasm +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/bg.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/ca.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/da.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/de.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/el-monoton.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/en-us.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/es.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/et.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/fi.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/fr.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/hi.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/hr.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/hu.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/it.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/lt.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/nb-no.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/nl.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/pt.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/ru.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/sl.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/sv.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/th.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/tr.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/uk.hpb +0 -0
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/sap/ui/util/isCrossOriginURL.js +16 -6
- package/src/sap-ui-core-nojQuery.js +1 -1
- package/src/sap-ui-core.js +1 -1
- package/src/sap-ui-debug.js +3 -17
- package/src/ui5loader.js +5 -2
- package/src/sap/ui/core/support/plugins/MessageTest.js +0 -96
- package/src/sap/ui/thirdparty/hyphenopoly/hyphenopoly.bundle.js +0 -860
|
@@ -8,6 +8,7 @@ sap.ui.define([
|
|
|
8
8
|
"sap/ui/core/support/techinfo/moduleTreeHelper",
|
|
9
9
|
"sap/ui/Device",
|
|
10
10
|
"sap/ui/Global",
|
|
11
|
+
"sap/ui/VersionInfo",
|
|
11
12
|
"sap/ui/core/format/DateFormat",
|
|
12
13
|
"sap/ui/model/resource/ResourceModel",
|
|
13
14
|
"sap/ui/model/json/JSONModel",
|
|
@@ -20,11 +21,13 @@ sap.ui.define([
|
|
|
20
21
|
"sap/ui/util/Storage",
|
|
21
22
|
"sap/ui/core/syncStyleClass",
|
|
22
23
|
"sap/base/Log",
|
|
24
|
+
"sap/ui/core/Fragment",
|
|
23
25
|
"sap/ui/thirdparty/jquery"
|
|
24
26
|
], function(
|
|
25
27
|
moduleTreeHelper,
|
|
26
28
|
Device,
|
|
27
29
|
Global,
|
|
30
|
+
VersionInfo,
|
|
28
31
|
DateFormat,
|
|
29
32
|
ResourceModel,
|
|
30
33
|
JSONModel,
|
|
@@ -37,6 +40,7 @@ sap.ui.define([
|
|
|
37
40
|
Storage,
|
|
38
41
|
syncStyleClass,
|
|
39
42
|
Log,
|
|
43
|
+
Fragment,
|
|
40
44
|
jQuery
|
|
41
45
|
) {
|
|
42
46
|
"use strict";
|
|
@@ -68,8 +72,8 @@ sap.ui.define([
|
|
|
68
72
|
* @param{function} fnCallback Callback that can be executed to fetch library and module information
|
|
69
73
|
*/
|
|
70
74
|
open: function (fnCallback) {
|
|
71
|
-
// early out if already open
|
|
72
|
-
if (this.
|
|
75
|
+
// early out if already loading or open
|
|
76
|
+
if (this._pOpenDialog) {
|
|
73
77
|
return;
|
|
74
78
|
}
|
|
75
79
|
|
|
@@ -77,32 +81,45 @@ sap.ui.define([
|
|
|
77
81
|
this._oModuleSystemInfo = fnCallback() || {};
|
|
78
82
|
|
|
79
83
|
// create dialog lazily
|
|
80
|
-
|
|
81
|
-
this._oDialog
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
// refresh configuration data and open dialog
|
|
85
|
-
this._initialize();
|
|
86
|
-
this._oDialog.open();
|
|
84
|
+
this._loadAndInitialize().then(function() {
|
|
85
|
+
this._oDialog.open();
|
|
86
|
+
this._bIsBeingClosed = false;
|
|
87
|
+
}.bind(this));
|
|
87
88
|
},
|
|
88
89
|
|
|
89
90
|
/**
|
|
90
|
-
* Closes the technical information dialog
|
|
91
|
+
* Closes the technical information dialog.
|
|
91
92
|
*/
|
|
92
93
|
close: function() {
|
|
93
|
-
this.
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
94
|
+
if ( !this._pDestroyDialog ) {
|
|
95
|
+
this._bIsBeingClosed = true;
|
|
96
|
+
this._pDestroyDialog = Promise.all([
|
|
97
|
+
Promise.resolve(this._pAssistantPopover)
|
|
98
|
+
.then(function() {
|
|
99
|
+
if (this._oAssistantPopover) {
|
|
100
|
+
this._oAssistantPopover.destroy();
|
|
101
|
+
this._oAssistantPopover = null;
|
|
102
|
+
}
|
|
103
|
+
this._pAssistantPopover = null;
|
|
104
|
+
}.bind(this)),
|
|
105
|
+
Promise.resolve(this._pDebugPopover)
|
|
106
|
+
.then(function() {
|
|
107
|
+
if (this._oDebugPopover) {
|
|
108
|
+
this._oDebugPopover.destroy();
|
|
109
|
+
this._oDebugPopover = null;
|
|
110
|
+
}
|
|
111
|
+
this._pDebugPopover = null;
|
|
112
|
+
}.bind(this))
|
|
113
|
+
]).then(function() {
|
|
114
|
+
this._oDialog.close();
|
|
115
|
+
this._oDialog.destroy();
|
|
116
|
+
this._oDialog = null;
|
|
117
|
+
this._pOpenDialog = null;
|
|
118
|
+
this._pDestroyDialog = null;
|
|
119
|
+
}.bind(this));
|
|
100
120
|
}
|
|
101
121
|
|
|
102
|
-
|
|
103
|
-
this._oDebugPopover.destroy();
|
|
104
|
-
this._oDebugPopover = null;
|
|
105
|
-
}
|
|
122
|
+
return this._pDestroyDialog;
|
|
106
123
|
},
|
|
107
124
|
|
|
108
125
|
/* =========================================================== */
|
|
@@ -185,10 +202,11 @@ sap.ui.define([
|
|
|
185
202
|
this._updateTreeInfos();
|
|
186
203
|
|
|
187
204
|
// create dialog lazily
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
205
|
+
this._loadDebugPopover().then(function() {
|
|
206
|
+
// out early if TechnicalInfo is closing
|
|
207
|
+
if (this._bIsBeingClosed) {
|
|
208
|
+
return;
|
|
209
|
+
}
|
|
192
210
|
var oControl = this._getControl("customDebugValue", this._DEBUG_MODULES_ID);
|
|
193
211
|
try {
|
|
194
212
|
this._validateCustomDebugValue(oControl.getValue());
|
|
@@ -196,13 +214,12 @@ sap.ui.define([
|
|
|
196
214
|
this._showError(oControl, oException.message);
|
|
197
215
|
return;
|
|
198
216
|
}
|
|
199
|
-
|
|
217
|
+
// adopt tree depth to the deepest currently selected module
|
|
218
|
+
this._getControl("tree", this._DEBUG_MODULES_ID).expandToLevel(Math.max(this._MIN_EXPAND_LEVEL_DEBUG_MODULES, oTreeResults.depth));
|
|
200
219
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
// open dialog
|
|
205
|
-
this._oDebugPopover.open();
|
|
220
|
+
// open dialog
|
|
221
|
+
this._oDebugPopover.open();
|
|
222
|
+
}.bind(this));
|
|
206
223
|
},
|
|
207
224
|
|
|
208
225
|
/**
|
|
@@ -411,36 +428,30 @@ sap.ui.define([
|
|
|
411
428
|
return;
|
|
412
429
|
}
|
|
413
430
|
// create dialog lazily
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
var sAppVersion = sap.ui.getCore().getConfiguration().getVersion().toString();
|
|
430
|
-
oCurrentItem.setText(oCurrentItem.getText().replace("[[version]]", sAppVersion));
|
|
431
|
-
oCurrentItem.setEnabled(true);
|
|
432
|
-
} else {
|
|
433
|
-
oCurrentItem.setText(oCurrentItem.getText().replace("[[version]]", "not supported"));
|
|
434
|
-
oCurrentItem.setEnabled(false);
|
|
435
|
-
}
|
|
431
|
+
this._loadAssistantPopover().then(function() {
|
|
432
|
+
// out early if TechnicalInfo is closing
|
|
433
|
+
if (this._bIsBeingClosed) {
|
|
434
|
+
return;
|
|
435
|
+
}
|
|
436
|
+
// enable or disable default option for version >= 1.48
|
|
437
|
+
var oCurrentItem = this._getControl("standardBootstrapURL", this._SUPPORT_ASSISTANT_POPOVER_ID).getItems()[0];
|
|
438
|
+
if (this._isVersionBiggerThanMinSupported()) {
|
|
439
|
+
var sAppVersion = sap.ui.getCore().getConfiguration().getVersion().toString();
|
|
440
|
+
oCurrentItem.setText(oCurrentItem.getText().replace("[[version]]", sAppVersion));
|
|
441
|
+
oCurrentItem.setEnabled(true);
|
|
442
|
+
} else {
|
|
443
|
+
oCurrentItem.setText(oCurrentItem.getText().replace("[[version]]", "not supported"));
|
|
444
|
+
oCurrentItem.setEnabled(false);
|
|
445
|
+
}
|
|
436
446
|
|
|
437
|
-
|
|
438
|
-
|
|
447
|
+
var oModel = this._oDialog.getModel("view"),
|
|
448
|
+
sSelectedLocation = oModel.getProperty("/SelectedLocation");
|
|
439
449
|
|
|
440
|
-
|
|
450
|
+
this._setActiveLocations(sSelectedLocation);
|
|
441
451
|
|
|
442
|
-
|
|
443
|
-
|
|
452
|
+
var oSupportAssistantSettingsButton = this._getControl("supportAssistantSettingsButton", this._TECHNICAL_INFO_DIALOG_ID);
|
|
453
|
+
this._oAssistantPopover.openBy(oSupportAssistantSettingsButton);
|
|
454
|
+
}.bind(this));
|
|
444
455
|
},
|
|
445
456
|
|
|
446
457
|
/* =========================================================== */
|
|
@@ -581,8 +592,33 @@ sap.ui.define([
|
|
|
581
592
|
});
|
|
582
593
|
},
|
|
583
594
|
|
|
584
|
-
|
|
585
|
-
|
|
595
|
+
_loadAndInitialize: function() {
|
|
596
|
+
// create dialog lazily
|
|
597
|
+
this._pOpenDialog =
|
|
598
|
+
Promise.all([
|
|
599
|
+
sap.ui.getCore().loadLibraries(["sap.ui.core", "sap.ui.layout", "sap.m"]),
|
|
600
|
+
this._loadVersionInfo(),
|
|
601
|
+
this._pDestroyDialog // wait for a pending destroy to finish
|
|
602
|
+
]).then(function() {
|
|
603
|
+
return Fragment.load({
|
|
604
|
+
id: this._TECHNICAL_INFO_DIALOG_ID,
|
|
605
|
+
name: "sap.ui.core.support.techinfo.TechnicalInfo",
|
|
606
|
+
controller: this
|
|
607
|
+
});
|
|
608
|
+
}.bind(this)).then(function(oDialog) {
|
|
609
|
+
this._oDialog = oDialog;
|
|
610
|
+
// refresh configuration data and open dialog
|
|
611
|
+
return this._initialize();
|
|
612
|
+
}.bind(this)).then(function() {
|
|
613
|
+
this._oDialog.open();
|
|
614
|
+
this._bIsBeingClosed = false;
|
|
615
|
+
}.bind(this));
|
|
616
|
+
|
|
617
|
+
return this._pOpenDialog;
|
|
618
|
+
},
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* Initalizes the technical information dialog.
|
|
586
622
|
* @private
|
|
587
623
|
*/
|
|
588
624
|
_initialize: function () {
|
|
@@ -597,6 +633,18 @@ sap.ui.define([
|
|
|
597
633
|
this._oDialog.addStyleClass(this._getContentDensityClass());
|
|
598
634
|
},
|
|
599
635
|
|
|
636
|
+
_loadVersionInfo: function() {
|
|
637
|
+
return VersionInfo.load().catch(function(err) {
|
|
638
|
+
Log.error("failed to load global version info", err);
|
|
639
|
+
return {
|
|
640
|
+
name: "",
|
|
641
|
+
version: ""
|
|
642
|
+
};
|
|
643
|
+
}).then(function(oVersionInfo) {
|
|
644
|
+
this._oVersionInfo = oVersionInfo;
|
|
645
|
+
}.bind(this));
|
|
646
|
+
},
|
|
647
|
+
|
|
600
648
|
/**
|
|
601
649
|
* Initializes the view model with the current runtime information
|
|
602
650
|
* @private
|
|
@@ -623,23 +671,16 @@ sap.ui.define([
|
|
|
623
671
|
});
|
|
624
672
|
|
|
625
673
|
// load version info into view model
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
oVersionInfo = Global.getVersionInfo();
|
|
629
|
-
oViewModel.setProperty("/ProductName", oVersionInfo.name);
|
|
630
|
-
oViewModel.setProperty("/ProductVersion", oVersionInfo.version);
|
|
631
|
-
} catch (oException) {
|
|
632
|
-
oVersionInfo.version = "";
|
|
633
|
-
Log.error("failed to load global version info");
|
|
634
|
-
}
|
|
674
|
+
oViewModel.setProperty("/ProductName", this._oVersionInfo.name);
|
|
675
|
+
oViewModel.setProperty("/ProductVersion", this._oVersionInfo.version);
|
|
635
676
|
|
|
636
677
|
try {
|
|
637
|
-
oViewModel.setProperty("/ProductTimestamp", this._generateLocalizedBuildDate(
|
|
678
|
+
oViewModel.setProperty("/ProductTimestamp", this._generateLocalizedBuildDate(this._oVersionInfo.buildTimestamp));
|
|
638
679
|
} catch (oException) {
|
|
639
680
|
Log.error("failed to parse build timestamp from global version info");
|
|
640
681
|
}
|
|
641
682
|
|
|
642
|
-
if (!/openui5/i.test(
|
|
683
|
+
if (!/openui5/i.test(this._oVersionInfo.name)) {
|
|
643
684
|
oViewModel.setProperty("/OpenUI5ProductVersion", Global.version);
|
|
644
685
|
// convert build timestamp
|
|
645
686
|
try {
|
|
@@ -651,7 +692,7 @@ sap.ui.define([
|
|
|
651
692
|
|
|
652
693
|
var sAppVersion;
|
|
653
694
|
try {
|
|
654
|
-
sAppVersion = this._getText("TechInfo.SupportAssistantConfigPopup.AppVersionOption",
|
|
695
|
+
sAppVersion = this._getText("TechInfo.SupportAssistantConfigPopup.AppVersionOption", this._oVersionInfo.version);
|
|
655
696
|
} catch (oException) {
|
|
656
697
|
sAppVersion = "Application";
|
|
657
698
|
}
|
|
@@ -940,6 +981,42 @@ sap.ui.define([
|
|
|
940
981
|
oModel.setProperty("/DebugModuleSelectionCount", this._treeHelper.getSelectionCount(oTreeData));
|
|
941
982
|
sDisplayCount = oModel.getProperty("/DebugModuleSelectionCount").toString();
|
|
942
983
|
oModel.setProperty("/DebugModulesTitle", this._getText("TechInfo.DebugModulesConfigPopup.SelectionCounter", sDisplayCount));
|
|
984
|
+
},
|
|
985
|
+
|
|
986
|
+
_loadDebugPopover: function() {
|
|
987
|
+
// create dialog lazily
|
|
988
|
+
if (!this._pDebugPopover) {
|
|
989
|
+
this._pDebugPopover = Fragment.load({
|
|
990
|
+
id: this._DEBUG_MODULES_ID,
|
|
991
|
+
name: "sap.ui.core.support.techinfo.TechnicalInfoDebugDialog",
|
|
992
|
+
controller: this
|
|
993
|
+
}).then(function(oDebugPopover) {
|
|
994
|
+
this._oDebugPopover = oDebugPopover;
|
|
995
|
+
this._oDialog.addDependent(this._oDebugPopover);
|
|
996
|
+
syncStyleClass(this._getContentDensityClass(), this._oDialog, this._oDebugPopover);
|
|
997
|
+
}.bind(this));
|
|
998
|
+
}
|
|
999
|
+
return this._pDebugPopover;
|
|
1000
|
+
},
|
|
1001
|
+
|
|
1002
|
+
_loadAssistantPopover: function() {
|
|
1003
|
+
if (!this._pAssistantPopover) {
|
|
1004
|
+
this._pAssistantPopover = Fragment.load({
|
|
1005
|
+
id: this._SUPPORT_ASSISTANT_POPOVER_ID,
|
|
1006
|
+
name: "sap.ui.core.support.techinfo.TechnicalInfoAssistantPopover",
|
|
1007
|
+
controller: this
|
|
1008
|
+
}).then(function(oAssistantPopover) {
|
|
1009
|
+
this._oAssistantPopover = oAssistantPopover;
|
|
1010
|
+
this._oAssistantPopover.attachAfterOpen(this._onAssistantPopoverOpened, this);
|
|
1011
|
+
this._oDialog.addDependent(this._oAssistantPopover);
|
|
1012
|
+
syncStyleClass(this._getContentDensityClass(), this._oDialog, this._oAssistantPopover);
|
|
1013
|
+
|
|
1014
|
+
// register message validation and trigger it once to validate the value coming from local storage
|
|
1015
|
+
var oCustomBootstrapURL = this._getControl("customBootstrapURL", this._SUPPORT_ASSISTANT_POPOVER_ID);
|
|
1016
|
+
sap.ui.getCore().getMessageManager().registerObject(oCustomBootstrapURL, true);
|
|
1017
|
+
}.bind(this));
|
|
1018
|
+
}
|
|
1019
|
+
return this._pAssistantPopover;
|
|
943
1020
|
}
|
|
944
1021
|
};
|
|
945
1022
|
});
|
|
@@ -213,8 +213,8 @@ sap.ui.define(['sap/ui/Device', 'sap/ui/performance/trace/Passport', 'sap/base/L
|
|
|
213
213
|
} else {
|
|
214
214
|
// alternatively allow upload via form
|
|
215
215
|
try {
|
|
216
|
-
var bDone =
|
|
217
|
-
while (bDone) {
|
|
216
|
+
var bDone = false;
|
|
217
|
+
while (!bDone) {
|
|
218
218
|
|
|
219
219
|
/*eslint-disable no-alert */
|
|
220
220
|
var sUrl = window.prompt('Please enter a valid URL for the store server', 'http://<host>:<port>');
|
|
@@ -232,7 +232,7 @@ sap.ui.define(['sap/ui/Device', 'sap/ui/performance/trace/Passport', 'sap/base/L
|
|
|
232
232
|
xmlHttpPost.open("POST", sUrl + '/E2EClientTraceUploadW/UploadForm.jsp', false);
|
|
233
233
|
xmlHttpPost.setRequestHeader('Content-type', 'multipart/form-data; boundary="' + boundary + '"');
|
|
234
234
|
xmlHttpPost.send(postBody);
|
|
235
|
-
|
|
235
|
+
bDone = true;
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
} catch (ex) {
|
|
@@ -43,6 +43,11 @@
|
|
|
43
43
|
display: none;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
.sapUiBlockLayer.sapUiPlaceholder {
|
|
47
|
+
display: block;
|
|
48
|
+
z-index: 1;
|
|
49
|
+
}
|
|
50
|
+
|
|
46
51
|
// Make sure blocked layers are not "nested", and in case of busy indicators the animations do not overlay each other
|
|
47
52
|
.sapUiLocalBusy .sapUiLocalBusy .sapUiBlockLayer {
|
|
48
53
|
display: none;
|
|
@@ -2774,6 +2774,11 @@
|
|
|
2774
2774
|
// Deprecated
|
|
2775
2775
|
// =====================================
|
|
2776
2776
|
|
|
2777
|
+
// [Label "Default Background Color"]
|
|
2778
|
+
// [Description "The default background color of this theme."]
|
|
2779
|
+
// [Tags "ThemeSpecific", "Base", "Content", "Color", "Protected", "Deprecated"]
|
|
2780
|
+
@sapBackgroundColorDefault: @sapDeprecated_Color;
|
|
2781
|
+
|
|
2777
2782
|
// sapList_HighlightColor has been used in themes before Belize to visualize
|
|
2778
2783
|
// selected - selection column cells, header cells, grid cells
|
|
2779
2784
|
// [Label "deprecated - List Highlight Color"]
|
|
@@ -2892,9 +2897,6 @@
|
|
|
2892
2897
|
// Theme Specifics/Internals
|
|
2893
2898
|
// =====================================
|
|
2894
2899
|
|
|
2895
|
-
// [Tags "ThemeSpecific", "Base", "Content", "Color", "Protected"]
|
|
2896
|
-
@sapBackgroundColorDefault: @sapHC_StandardBackground;
|
|
2897
|
-
|
|
2898
2900
|
// [Tags "SapInternal", "Base", "Dimension", "Protected"]
|
|
2899
2901
|
@sapContent_GridSize: 1rem;
|
|
2900
2902
|
|
|
@@ -3228,16 +3230,16 @@
|
|
|
3228
3230
|
@sapContent_ContrastShadowColor: @sapContent_ShadowColor;
|
|
3229
3231
|
|
|
3230
3232
|
// [Tags "!Protected"]
|
|
3231
|
-
@sapContent_Shadow0: 0 0
|
|
3233
|
+
@sapContent_Shadow0: 0 0 0 0.0625rem @sapContent_ShadowColor;
|
|
3232
3234
|
|
|
3233
3235
|
// [Tags "!Protected"]
|
|
3234
|
-
@sapContent_Shadow1: 0 0
|
|
3236
|
+
@sapContent_Shadow1: 0 0 1rem 0 fade(@sapContent_ContrastShadowColor, 50), 0 0 0 0.125rem @sapContent_ShadowColor;
|
|
3235
3237
|
|
|
3236
3238
|
// [Tags "!Protected"]
|
|
3237
|
-
@sapContent_Shadow2: 0 0.25rem 2rem 0 fade(@sapContent_ContrastShadowColor, 60), 0 0 0
|
|
3239
|
+
@sapContent_Shadow2: 0 0.25rem 2rem 0 fade(@sapContent_ContrastShadowColor, 60), 0 0 0 0.125rem @sapContent_ShadowColor;
|
|
3238
3240
|
|
|
3239
3241
|
// [Tags "!Protected"]
|
|
3240
|
-
@sapContent_Shadow3: 0 0.625rem 4rem 0 fade(@sapContent_ContrastShadowColor, 80), 0 0 0
|
|
3242
|
+
@sapContent_Shadow3: 0 0.625rem 4rem 0 fade(@sapContent_ContrastShadowColor, 80), 0 0 0 0.125rem @sapContent_ShadowColor;
|
|
3241
3243
|
|
|
3242
3244
|
// [Tags "!Protected"]
|
|
3243
3245
|
@sapContent_TextShadow: -1px 0 @sapHC_StandardBackground, 0 1px @sapHC_StandardBackground, 1px 0 @sapHC_StandardBackground, 0 -1px @sapHC_StandardBackground;
|
|
@@ -3270,7 +3272,7 @@
|
|
|
3270
3272
|
@sapContent_DisabledTextColor: @sapHC_ReducedForeground;
|
|
3271
3273
|
|
|
3272
3274
|
// [Tags "!Protected"]
|
|
3273
|
-
@sapContent_DisabledOpacity: 0.
|
|
3275
|
+
@sapContent_DisabledOpacity: 0.4;
|
|
3274
3276
|
|
|
3275
3277
|
// [Tags "!Protected"]
|
|
3276
3278
|
@sapContent_ContrastTextThreshold: 0.65;
|
|
@@ -3446,7 +3448,7 @@
|
|
|
3446
3448
|
@sapShell_Selected_TextColor: contrast(@sapShell_Selected_Background, @sapTextColor, @sapContent_ContrastTextColor, @sapContent_ContrastTextThreshold);
|
|
3447
3449
|
|
|
3448
3450
|
// [Tags "!Protected"]
|
|
3449
|
-
@sapShell_Selected_Hover_Background: @
|
|
3451
|
+
@sapShell_Selected_Hover_Background: @sapHighlightColor;
|
|
3450
3452
|
|
|
3451
3453
|
// [Tags "!Protected"]
|
|
3452
3454
|
@sapShell_Favicon: none;
|
|
@@ -3464,7 +3466,7 @@
|
|
|
3464
3466
|
@sapShell_Navigation_Selected_TextColor: @sapShell_InteractiveTextColor;
|
|
3465
3467
|
|
|
3466
3468
|
// [Tags "!Protected"]
|
|
3467
|
-
@sapShell_Navigation_TextColor: @
|
|
3469
|
+
@sapShell_Navigation_TextColor: contrast(@sapShell_Navigation_Background, @sapTextColor, @sapContent_ContrastTextColor, @sapContent_ContrastTextThreshold);
|
|
3468
3470
|
|
|
3469
3471
|
// [Tags "!Protected"]
|
|
3470
3472
|
@sapShell_Navigation_Active_TextColor: contrast(@sapShell_Navigation_Active_Background, @sapTextColor, @sapContent_ContrastTextColor, @sapContent_ContrastTextThreshold);
|
|
@@ -3522,7 +3524,7 @@
|
|
|
3522
3524
|
@sapButton_Hover_TextColor: contrast(@sapButton_Hover_Background, @sapTextColor, @sapContent_ContrastTextColor, @sapContent_ContrastTextThreshold);
|
|
3523
3525
|
|
|
3524
3526
|
// [Tags "!Protected"]
|
|
3525
|
-
@sapButton_IconColor: @
|
|
3527
|
+
@sapButton_IconColor: contrast(@sapButton_Background, @sapContent_IconColor, @sapContent_ContrastIconColor, @sapContent_ContrastTextThreshold);
|
|
3526
3528
|
|
|
3527
3529
|
// [Tags "!Protected"]
|
|
3528
3530
|
@sapButton_Active_Background: @sapActiveColor;
|
|
@@ -3546,7 +3548,7 @@
|
|
|
3546
3548
|
@sapButton_Emphasized_Hover_Background: @sapButton_Hover_Background;
|
|
3547
3549
|
|
|
3548
3550
|
// [Tags "!Protected"]
|
|
3549
|
-
@sapButton_Emphasized_Hover_BorderColor: @
|
|
3551
|
+
@sapButton_Emphasized_Hover_BorderColor: @sapButton_Emphasized_BorderColor;
|
|
3550
3552
|
|
|
3551
3553
|
// [Tags "!Protected"]
|
|
3552
3554
|
@sapButton_Emphasized_Hover_TextColor: contrast(@sapButton_Emphasized_Hover_Background, @sapTextColor, @sapContent_ContrastTextColor, @sapContent_ContrastTextThreshold);
|
|
@@ -3895,7 +3897,7 @@
|
|
|
3895
3897
|
@sapField_TextColor: @sapTextColor;
|
|
3896
3898
|
|
|
3897
3899
|
// [Tags "!Protected"]
|
|
3898
|
-
@sapField_PlaceholderTextColor: @
|
|
3900
|
+
@sapField_PlaceholderTextColor: @sapHC_ReducedAltForeground;
|
|
3899
3901
|
|
|
3900
3902
|
// [Tags "!Protected"]
|
|
3901
3903
|
@sapField_BorderColor: @sapHC_StandardForeground;
|
|
@@ -4060,16 +4062,16 @@
|
|
|
4060
4062
|
@sapList_TextColor: contrast(@sapList_Background, @sapTextColor, @sapContent_ContrastTextColor, @sapContent_ContrastTextThreshold);
|
|
4061
4063
|
|
|
4062
4064
|
// [Tags "!Protected"]
|
|
4063
|
-
@sapList_Active_TextColor: contrast(@sapList_Active_Background, @
|
|
4065
|
+
@sapList_Active_TextColor: contrast(@sapList_Active_Background, @sapTextColor, @sapContent_ContrastTextColor, @sapContent_ContrastTextThreshold);
|
|
4064
4066
|
|
|
4065
4067
|
// [Tags "!Protected"]
|
|
4066
|
-
@sapList_Active_Background: @
|
|
4068
|
+
@sapList_Active_Background: @sapActiveColor;
|
|
4067
4069
|
|
|
4068
4070
|
// [Tags "!Protected"]
|
|
4069
4071
|
@sapList_SelectionBackgroundColor: @sapSelectedColor;
|
|
4070
4072
|
|
|
4071
4073
|
// [Tags "!Protected"]
|
|
4072
|
-
@sapList_SelectionBorderColor: @
|
|
4074
|
+
@sapList_SelectionBorderColor: @sapHC_StandardForeground;
|
|
4073
4075
|
|
|
4074
4076
|
// [Tags "!Protected"]
|
|
4075
4077
|
@sapList_Hover_SelectionBackground: @sapList_Hover_Background;
|
|
@@ -4084,7 +4086,7 @@
|
|
|
4084
4086
|
@sapList_AlternatingBackground: darken(@sapList_Background, 10);
|
|
4085
4087
|
|
|
4086
4088
|
// [Tags "!Protected"]
|
|
4087
|
-
@sapList_GroupHeaderBackground: @
|
|
4089
|
+
@sapList_GroupHeaderBackground: @sapList_Background;
|
|
4088
4090
|
|
|
4089
4091
|
// [Tags "!Protected"]
|
|
4090
4092
|
@sapList_GroupHeaderBorderColor: @sapHC_StandardForeground;
|
|
@@ -4093,7 +4095,7 @@
|
|
|
4093
4095
|
@sapList_GroupHeaderTextColor: @sapList_TextColor;
|
|
4094
4096
|
|
|
4095
4097
|
// [Tags "!Protected"]
|
|
4096
|
-
@sapList_TableGroupHeaderBackground: @
|
|
4098
|
+
@sapList_TableGroupHeaderBackground: @sapHC_ReducedBackground;
|
|
4097
4099
|
|
|
4098
4100
|
// [Tags "!Protected"]
|
|
4099
4101
|
@sapList_TableGroupHeaderBorderColor: @sapList_GroupHeaderBorderColor;
|
|
@@ -4133,7 +4135,7 @@
|
|
|
4133
4135
|
@sapScrollBar_SymbolColor: @sapContent_IconColor;
|
|
4134
4136
|
|
|
4135
4137
|
// [Tags "!Protected"]
|
|
4136
|
-
@sapScrollBar_Dimension: 0.
|
|
4138
|
+
@sapScrollBar_Dimension: 0.75 * @sapContent_GridSize;
|
|
4137
4139
|
|
|
4138
4140
|
// [Tags "!Protected"]
|
|
4139
4141
|
@sapScrollBar_Hover_FaceColor: @sapHC_StandardForeground;
|
|
@@ -4238,10 +4240,10 @@
|
|
|
4238
4240
|
@sapTile_BorderColor: @sapHC_StandardForeground;
|
|
4239
4241
|
|
|
4240
4242
|
// [Tags "!Protected"]
|
|
4241
|
-
@sapTile_TitleTextColor: contrast(@sapTile_Background, @
|
|
4243
|
+
@sapTile_TitleTextColor: contrast(@sapTile_Background, @sapTitleColor, @sapContent_ContrastTextColor, @sapContent_ContrastTextThreshold);
|
|
4242
4244
|
|
|
4243
4245
|
// [Tags "!Protected"]
|
|
4244
|
-
@sapTile_TextColor: contrast(@sapTile_Background, @
|
|
4246
|
+
@sapTile_TextColor: contrast(@sapTile_Background, @sapContent_LabelColor, @sapContent_ContrastTextColor, @sapContent_ContrastTextThreshold);
|
|
4245
4247
|
|
|
4246
4248
|
// [Tags "!Protected"]
|
|
4247
4249
|
@sapTile_IconColor: contrast(@sapTile_Background, @sapContent_IconColor, @sapContent_ContrastIconColor, @sapContent_ContrastTextThreshold);
|
|
@@ -4429,7 +4431,7 @@
|
|
|
4429
4431
|
@sapLegendColor8: #26340b;
|
|
4430
4432
|
|
|
4431
4433
|
// [Tags "!Protected"]
|
|
4432
|
-
@sapLegendColor9: #
|
|
4434
|
+
@sapLegendColor9: #4a5964;
|
|
4433
4435
|
|
|
4434
4436
|
// [Tags "!Protected"]
|
|
4435
4437
|
@sapLegendColor10: #6c3d62;
|
|
@@ -4619,12 +4621,12 @@
|
|
|
4619
4621
|
// Deprecated
|
|
4620
4622
|
// =====================================
|
|
4621
4623
|
|
|
4622
|
-
|
|
4623
|
-
@sapGroup_Title_FontSize: @sapFontSize;
|
|
4624
|
+
@sapBackgroundColorDefault: @sapBackgroundColor;
|
|
4624
4625
|
|
|
4625
|
-
// [Tags "!Protected"]
|
|
4626
4626
|
@sapList_HighlightColor: @sapHighlightColor;
|
|
4627
4627
|
|
|
4628
|
+
@sapGroup_Title_FontSize: @sapFontSize;
|
|
4629
|
+
|
|
4628
4630
|
@sapContent_ElementHeight: 1.37em;
|
|
4629
4631
|
|
|
4630
4632
|
@sapContent_ElementHeight_PX: 22px;
|