@openui5/sap.ui.core 1.94.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.json +1 -2
- package/.reuse/dep5 +1 -6
- package/THIRDPARTY.txt +3 -9
- 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/i18n/ResourceBundle.js +6 -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 +14 -10
- package/src/sap/ui/Global.js +4 -4
- package/src/sap/ui/base/DataType.js +14 -8
- 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 +11 -6
- 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 +5 -5
- package/src/sap/ui/core/AppCacheBuster.js +4 -4
- package/src/sap/ui/core/BusyIndicator.js +1 -1
- package/src/sap/ui/core/Component.js +272 -125
- package/src/sap/ui/core/ComponentContainer.js +3 -5
- 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 +62 -31
- package/src/sap/ui/core/Control.js +1 -1
- package/src/sap/ui/core/Core.js +15 -9
- 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 +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/ExtensionPoint.js +6 -13
- package/src/sap/ui/core/Fragment.js +29 -31
- 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 +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 +26 -4
- package/src/sap/ui/core/LocaleData.js +1 -1
- package/src/sap/ui/core/Manifest.js +2 -60
- package/src/sap/ui/core/Message.js +1 -1
- package/src/sap/ui/core/RenderManager.js +17 -3
- 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 +1 -1
- package/src/sap/ui/core/SeparatorItem.js +1 -1
- package/src/sap/ui/core/ShortcutHintsMixin.js +14 -7
- 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 +17 -8
- 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 +1 -1
- 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 +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/hyphenation/Hyphenation.js +61 -80
- 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 -15
- 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 +1 -1
- 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 +2 -2
- package/src/sap/ui/core/mvc/JSONView.js +2 -2
- package/src/sap/ui/core/mvc/JSView.js +2 -2
- package/src/sap/ui/core/mvc/TemplateView.js +2 -2
- package/src/sap/ui/core/mvc/View.js +58 -85
- package/src/sap/ui/core/mvc/XMLView.js +2 -2
- 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/Route.js +10 -1
- package/src/sap/ui/core/routing/Router.js +8 -5
- package/src/sap/ui/core/routing/Targets.js +26 -0
- package/src/sap/ui/core/routing/async/Route.js +6 -3
- package/src/sap/ui/core/routing/async/Target.js +26 -0
- package/src/sap/ui/core/routing/sync/Target.js +15 -0
- 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 +2 -2
- package/src/sap/ui/core/support/support.css +2 -8
- 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/theming/Parameters.js +21 -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 +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/XMLPreprocessor.js +11 -12
- 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/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/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/analytics/AnalyticalBinding.js +6 -3
- package/src/sap/ui/model/base/ManagedObjectModel.js +4 -0
- 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/ODataMessageParser.js +1 -1
- package/src/sap/ui/model/odata/ODataMetaModel.js +3 -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/ODataUtils.js +12 -10
- 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/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 +2 -2
- package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataModel.js +179 -109
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +29 -20
- package/src/sap/ui/model/odata/v4/Context.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataBinding.js +3 -3
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +76 -11
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +74 -4
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +3 -1
- package/src/sap/ui/model/odata/v4/ODataModel.js +25 -12
- package/src/sap/ui/model/odata/v4/ODataParentBinding.js +10 -0
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +11 -7
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +8 -5
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +39 -3
- 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/trace/Interaction.js +31 -16
- 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/TestUtils.js +11 -4
- package/src/sap/ui/test/matchers/I18NText.js +29 -11
- package/src/sap/ui/test/opaQunit.js +5 -0
- 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/support/plugins/MessageTest.js +0 -96
- package/src/sap/ui/thirdparty/hyphenopoly/hyphenopoly.bundle.js +0 -860
|
@@ -82,7 +82,7 @@ sap.ui.define([
|
|
|
82
82
|
* @param {Element[]} aItemDomRefs Array of DOM references representing the items for the navigation
|
|
83
83
|
* @param {boolean} [bNotInTabChain=false] Whether the selected element should be in the tab chain or not
|
|
84
84
|
*
|
|
85
|
-
* @version 1.
|
|
85
|
+
* @version 1.95.0
|
|
86
86
|
* @alias sap.ui.core.delegate.ItemNavigation
|
|
87
87
|
* @public
|
|
88
88
|
*/
|
|
@@ -58,7 +58,7 @@ sap.ui.define([
|
|
|
58
58
|
*
|
|
59
59
|
* @protected
|
|
60
60
|
* @alias sap.ui.core.delegate.ScrollEnablement
|
|
61
|
-
* @version 1.
|
|
61
|
+
* @version 1.95.0
|
|
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 */ {
|
|
@@ -94,70 +94,59 @@ sap.ui.define([
|
|
|
94
94
|
var oHyphenationInstance = null;
|
|
95
95
|
var fakeBody = null;
|
|
96
96
|
var oHyphenateMethods = {};
|
|
97
|
-
var oPromisesForLang = {};
|
|
98
|
-
var aLanguagesQueue = [];
|
|
99
97
|
|
|
100
98
|
/**
|
|
101
99
|
* Calls Hyphenopoly to initialize a language.
|
|
102
100
|
* Loads language-specific resources.
|
|
103
101
|
*
|
|
104
102
|
* @param {string} sLanguage What language to initialize
|
|
105
|
-
* @
|
|
106
|
-
* @param {function} resolve Callback to resolve the promise created on initialize
|
|
103
|
+
* @returns {Promise} Promise that resolves with the hyphenator function for that language
|
|
107
104
|
* @private
|
|
108
105
|
*/
|
|
109
|
-
function initializeLanguage(sLanguage
|
|
106
|
+
function initializeLanguage(sLanguage) {
|
|
110
107
|
Log.info(
|
|
111
108
|
"[UI5 Hyphenation] Initializing third-party module for language " + getLanguageDisplayName(sLanguage),
|
|
112
109
|
"sap.ui.core.hyphenation.Hyphenation.initialize()"
|
|
113
110
|
);
|
|
114
111
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
}
|
|
112
|
+
var oHyphenopolyConfig = createHyphenopolyConfig();
|
|
113
|
+
oHyphenopolyConfig.require[sLanguage] = "FORCEHYPHENOPOLY"; // force loading of the engine for this language
|
|
118
114
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
* @param {function} resolve Callback to resolve the promise created on initialize
|
|
124
|
-
* @param {string} hyphenateMethod Is it asm or wasm
|
|
125
|
-
* @private
|
|
126
|
-
*/
|
|
127
|
-
function onLanguageInitialized(sLanguage, resolve, hyphenateMethod) {
|
|
128
|
-
oHyphenateMethods[sLanguage] = hyphenateMethod;
|
|
129
|
-
oHyphenationInstance.bIsInitialized = true;
|
|
130
|
-
if (aLanguagesQueue.length > 0) {
|
|
131
|
-
aLanguagesQueue.forEach(function (oElement) {
|
|
132
|
-
initializeLanguage(oElement.sLanguage, oElement.oConfig, oElement.resolve);
|
|
115
|
+
return loadScript(sap.ui.require.toUrl("sap/ui/thirdparty/hyphenopoly/"), "Hyphenopoly_Loader.js")
|
|
116
|
+
.then(function () {
|
|
117
|
+
delete oHyphenopolyConfig.require[sLanguage];
|
|
118
|
+
return window.Hyphenopoly.hyphenators[sLanguage];
|
|
133
119
|
});
|
|
134
|
-
aLanguagesQueue = [];
|
|
135
|
-
}
|
|
136
|
-
oHyphenationInstance.bLoading = false;
|
|
137
|
-
resolve(
|
|
138
|
-
getLanguageFromPattern(sLanguage)
|
|
139
|
-
);
|
|
140
120
|
}
|
|
141
121
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
122
|
+
function createHyphenopolyConfig() {
|
|
123
|
+
if (!window.Hyphenopoly) {
|
|
124
|
+
window.Hyphenopoly = {
|
|
125
|
+
require: {},
|
|
126
|
+
setup: {
|
|
127
|
+
selectors: {
|
|
128
|
+
".hyphenate": { // .hyphenate is the default CSS class (hence this is the default configuration for all words and langs)
|
|
129
|
+
hyphen: "\u00AD",
|
|
130
|
+
leftmin: 3,
|
|
131
|
+
rightmin: 3,
|
|
132
|
+
compound: "all" // hyphenate the parts and insert a zero-width space after the hyphen
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
hide: "DONT_HIDE" // prevent visiblity: hidden; of html tag while the engine is loading
|
|
136
|
+
},
|
|
137
|
+
handleEvent: {
|
|
138
|
+
error: function (e) {
|
|
139
|
+
// Hyphenopoly will try to find DOM elements and hyphenate them,
|
|
140
|
+
// but since we use only the hyphenators, prevent the warning
|
|
141
|
+
if (e.msg.match(/engine for language .* loaded, but no elements found./)) {
|
|
142
|
+
e.preventDefault(); //don't show error message in console
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
return window.Hyphenopoly;
|
|
161
150
|
}
|
|
162
151
|
|
|
163
152
|
/**
|
|
@@ -193,7 +182,6 @@ sap.ui.define([
|
|
|
193
182
|
"visibility:hidden;",
|
|
194
183
|
"-moz-hyphens:auto;",
|
|
195
184
|
"-webkit-hyphens:auto;",
|
|
196
|
-
"-ms-hyphens:auto;",
|
|
197
185
|
"hyphens:auto;",
|
|
198
186
|
"width:48px;",
|
|
199
187
|
"font-size:12px;",
|
|
@@ -298,6 +286,8 @@ sap.ui.define([
|
|
|
298
286
|
case "el":
|
|
299
287
|
sLanguage = "el-monoton";
|
|
300
288
|
break;
|
|
289
|
+
default:
|
|
290
|
+
break;
|
|
301
291
|
}
|
|
302
292
|
|
|
303
293
|
return sLanguage;
|
|
@@ -408,7 +398,7 @@ sap.ui.define([
|
|
|
408
398
|
* @see {@link topic:6322164936f047de941ec522b95d7b70 Hyphenation for Text Controls}
|
|
409
399
|
* @extends sap.ui.base.ManagedObject
|
|
410
400
|
* @author SAP SE
|
|
411
|
-
* @version 1.
|
|
401
|
+
* @version 1.95.0
|
|
412
402
|
* @hideconstructor
|
|
413
403
|
* @public
|
|
414
404
|
* @since 1.60
|
|
@@ -569,6 +559,7 @@ sap.ui.define([
|
|
|
569
559
|
fireError("Language " + getLanguageDisplayName(sLanguage) + " is not initialized. You have to initialize it first with method 'initialize()'");
|
|
570
560
|
return sText;
|
|
571
561
|
}
|
|
562
|
+
|
|
572
563
|
return oHyphenateMethods[sLanguage](sText);
|
|
573
564
|
};
|
|
574
565
|
|
|
@@ -612,41 +603,33 @@ sap.ui.define([
|
|
|
612
603
|
*/
|
|
613
604
|
Hyphenation.prototype.initialize = function (sLang) {
|
|
614
605
|
var sLanguage = getLanguage(sLang);
|
|
615
|
-
var oConfig = prepareConfig(sLanguage);
|
|
616
|
-
|
|
617
|
-
if (oThirdPartySupportedLanguages[sLanguage]) {
|
|
618
|
-
if (!oHyphenationInstance.bIsInitialized && !oHyphenationInstance.bLoading) {
|
|
619
|
-
|
|
620
|
-
oHyphenationInstance.bLoading = true;
|
|
621
|
-
oPromisesForLang[sLanguage] = new Promise(function (resolve, reject) {
|
|
622
|
-
loadScript(oConfig.path, "/hyphenopoly.bundle.js")
|
|
623
|
-
.then(initializeLanguage.bind(this, sLanguage, oConfig, resolve));
|
|
624
|
-
});
|
|
625
606
|
|
|
626
|
-
|
|
607
|
+
if (!oThirdPartySupportedLanguages[sLanguage]) {
|
|
608
|
+
var sMessage = "Language " + getLanguageDisplayName(sLang) + " can not be initialized. It is either not supported by the third-party module or an error occurred";
|
|
609
|
+
fireError(sMessage);
|
|
610
|
+
return Promise.reject(sMessage);
|
|
611
|
+
}
|
|
627
612
|
|
|
628
|
-
|
|
629
|
-
|
|
613
|
+
if (oHyphenateMethods[sLanguage]) {
|
|
614
|
+
return Promise.resolve();
|
|
615
|
+
}
|
|
630
616
|
|
|
631
|
-
|
|
632
|
-
oPromisesForLang[sLanguage] = new Promise(function (resolve, reject) {
|
|
633
|
-
if (!oHyphenationInstance.bIsInitialized) {
|
|
634
|
-
aLanguagesQueue.push({sLanguage:sLanguage, oConfig:oConfig, resolve:resolve });
|
|
635
|
-
} else {
|
|
636
|
-
initializeLanguage(sLanguage, oConfig, resolve);
|
|
637
|
-
}
|
|
617
|
+
var pInitLanguage;
|
|
638
618
|
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
619
|
+
if (!this._pInitLanguage) {
|
|
620
|
+
pInitLanguage = this._pInitLanguage = initializeLanguage(sLanguage)
|
|
621
|
+
.then(function (fnHyphenator) {
|
|
622
|
+
oHyphenateMethods[sLanguage] = fnHyphenator;
|
|
623
|
+
this._pInitLanguage = null;
|
|
624
|
+
}.bind(this));
|
|
643
625
|
} else {
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
});
|
|
626
|
+
// await the loading of the previous language, then initialize the current
|
|
627
|
+
pInitLanguage = this._pInitLanguage.then(function () {
|
|
628
|
+
return this.initialize(sLang);
|
|
629
|
+
}.bind(this));
|
|
649
630
|
}
|
|
631
|
+
|
|
632
|
+
return pInitLanguage;
|
|
650
633
|
};
|
|
651
634
|
|
|
652
635
|
/**
|
|
@@ -660,8 +643,6 @@ sap.ui.define([
|
|
|
660
643
|
Hyphenation.getInstance = function () {
|
|
661
644
|
if (!oHyphenationInstance) {
|
|
662
645
|
oHyphenationInstance = new Hyphenation();
|
|
663
|
-
oHyphenationInstance.bIsInitialized = false;
|
|
664
|
-
oHyphenationInstance.bLoading = false;
|
|
665
646
|
}
|
|
666
647
|
|
|
667
648
|
return oHyphenationInstance;
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
// delegate further initialization of this library to the Core
|
|
20
20
|
sap.ui.getCore().initLibrary({
|
|
21
21
|
name : "sap.ui.core",
|
|
22
|
-
version: "1.
|
|
22
|
+
version: "1.95.0",
|
|
23
23
|
designtime: "sap/ui/core/designtime/library.designtime",
|
|
24
24
|
types: [
|
|
25
25
|
|
|
@@ -159,7 +159,7 @@ sap.ui.define([
|
|
|
159
159
|
* @namespace
|
|
160
160
|
* @alias sap.ui.core
|
|
161
161
|
* @author SAP SE
|
|
162
|
-
* @version 1.
|
|
162
|
+
* @version 1.95.0
|
|
163
163
|
* @since 0.8
|
|
164
164
|
* @public
|
|
165
165
|
*/
|
|
@@ -1511,7 +1511,7 @@ sap.ui.define([
|
|
|
1511
1511
|
/**
|
|
1512
1512
|
* Sort order of a column.
|
|
1513
1513
|
*
|
|
1514
|
-
* @version 1.
|
|
1514
|
+
* @version 1.95.0
|
|
1515
1515
|
* @enum {string}
|
|
1516
1516
|
* @public
|
|
1517
1517
|
* @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.
|
|
38
|
+
* @version 1.95.0
|
|
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
|
|
@@ -46,7 +46,7 @@ sap.ui.define([
|
|
|
46
46
|
* @extends sap.ui.base.EventProvider
|
|
47
47
|
*
|
|
48
48
|
* @author SAP SE
|
|
49
|
-
* @version 1.
|
|
49
|
+
* @version 1.95.0
|
|
50
50
|
*
|
|
51
51
|
* @public
|
|
52
52
|
* @alias sap.ui.core.message.MessageManager
|
|
@@ -404,15 +404,14 @@ sap.ui.define([
|
|
|
404
404
|
* @public
|
|
405
405
|
*/
|
|
406
406
|
MessageManager.prototype.registerObject = function(oObject, bHandleValidation) {
|
|
407
|
-
|
|
408
|
-
if (!oObject instanceof ManagedObject) {
|
|
407
|
+
if (!(oObject instanceof ManagedObject)) {
|
|
409
408
|
Log.error(this + " : " + oObject.toString() + " is not an instance of sap.ui.base.ManagedObject");
|
|
410
|
-
|
|
409
|
+
} else {
|
|
410
|
+
oObject.attachValidationSuccess(bHandleValidation, this._handleSuccess, this);
|
|
411
|
+
oObject.attachValidationError(bHandleValidation, this._handleError, this);
|
|
412
|
+
oObject.attachParseError(bHandleValidation, this._handleError, this);
|
|
413
|
+
oObject.attachFormatError(bHandleValidation, this._handleError, this);
|
|
411
414
|
}
|
|
412
|
-
oObject.attachValidationSuccess(bHandleValidation, this._handleSuccess, this);
|
|
413
|
-
oObject.attachValidationError(bHandleValidation, this._handleError, this);
|
|
414
|
-
oObject.attachParseError(bHandleValidation, this._handleError, this);
|
|
415
|
-
oObject.attachFormatError(bHandleValidation, this._handleError, this);
|
|
416
415
|
};
|
|
417
416
|
|
|
418
417
|
/**
|
|
@@ -422,15 +421,14 @@ sap.ui.define([
|
|
|
422
421
|
* @public
|
|
423
422
|
*/
|
|
424
423
|
MessageManager.prototype.unregisterObject = function(oObject) {
|
|
425
|
-
|
|
426
|
-
if (!oObject instanceof ManagedObject) {
|
|
424
|
+
if (!(oObject instanceof ManagedObject)) {
|
|
427
425
|
Log.error(this + " : " + oObject.toString() + " is not an instance of sap.ui.base.ManagedObject");
|
|
428
|
-
|
|
426
|
+
} else {
|
|
427
|
+
oObject.detachValidationSuccess(this._handleSuccess, this);
|
|
428
|
+
oObject.detachValidationError(this._handleError, this);
|
|
429
|
+
oObject.detachParseError(this._handleError, this);
|
|
430
|
+
oObject.detachFormatError(this._handleError, this);
|
|
429
431
|
}
|
|
430
|
-
oObject.detachValidationSuccess(this._handleSuccess, this);
|
|
431
|
-
oObject.detachValidationError(this._handleError, this);
|
|
432
|
-
oObject.detachParseError(this._handleError, this);
|
|
433
|
-
oObject.detachFormatError(this._handleError, this);
|
|
434
432
|
};
|
|
435
433
|
|
|
436
434
|
/**
|
|
@@ -176,7 +176,7 @@ Icon.move=Verschieben
|
|
|
176
176
|
Icon.multi-select=Mehrfachauswahl
|
|
177
177
|
Icon.nav-back=Zur\u00FCck navigieren
|
|
178
178
|
Icon.overflow=Mehr
|
|
179
|
-
Icon.redo=
|
|
179
|
+
Icon.redo=Wiederherstellen
|
|
180
180
|
Icon.refresh=Aktualisieren
|
|
181
181
|
Icon.resize=Gr\u00F6\u00DFe \u00E4ndern
|
|
182
182
|
Icon.resize-horizontal=Gr\u00F6\u00DFe horizontal \u00E4ndern
|
|
@@ -3,7 +3,7 @@ SAPUI5_FRIDAY=Friday
|
|
|
3
3
|
SAPUI5_GM_ZSTEP=Zoom step {0}
|
|
4
4
|
|
|
5
5
|
VALUE_STATE_ERROR=Entr\u00E9e non valide
|
|
6
|
-
VALUE_STATE_WARNING=Avertissement \
|
|
6
|
+
VALUE_STATE_WARNING=Avertissement \u00E9mis
|
|
7
7
|
VALUE_STATE_SUCCESS=Entr\u00E9e correctement valid\u00E9e
|
|
8
8
|
VALUE_STATE_INFORMATION=Entr\u00E9e pour information
|
|
9
9
|
|
|
@@ -174,7 +174,7 @@ Icon.message-success=Pomy\u015Blnie
|
|
|
174
174
|
Icon.message-warning=Ostrze\u017Cenie
|
|
175
175
|
Icon.move=Przesuwanie
|
|
176
176
|
Icon.multi-select=Wyb\u00F3r wielokrotny
|
|
177
|
-
Icon.nav-back=
|
|
177
|
+
Icon.nav-back=Cofnij
|
|
178
178
|
Icon.overflow=Wi\u0119cej
|
|
179
179
|
Icon.redo=Powt\u00F3rz
|
|
180
180
|
Icon.refresh=Od\u015Bwie\u017C
|
|
@@ -187,8 +187,8 @@ Icon.search=\u0E04\u0E49\u0E19\u0E2B\u0E32
|
|
|
187
187
|
Icon.settings=\u0E01\u0E32\u0E23\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E04\u0E48\u0E32
|
|
188
188
|
Icon.show=\u0E41\u0E2A\u0E14\u0E07
|
|
189
189
|
Icon.sort=\u0E08\u0E31\u0E14\u0E40\u0E23\u0E35\u0E22\u0E07
|
|
190
|
-
Icon.sort-ascending=\u0E40\u0E23\u0E35\u0E22\u0E07\
|
|
191
|
-
Icon.sort-descending=\u0E40\u0E23\u0E35\u0E22\u0E07\
|
|
190
|
+
Icon.sort-ascending=\u0E08\u0E31\u0E14\u0E40\u0E23\u0E35\u0E22\u0E07\u0E08\u0E32\u0E01\u0E19\u0E49\u0E2D\u0E22\u0E44\u0E1B\u0E2B\u0E32\u0E21\u0E32\u0E01
|
|
191
|
+
Icon.sort-descending=\u0E08\u0E31\u0E14\u0E40\u0E23\u0E35\u0E22\u0E07\u0E08\u0E32\u0E01\u0E21\u0E32\u0E01\u0E44\u0E1B\u0E2B\u0E32\u0E19\u0E49\u0E2D\u0E22
|
|
192
192
|
Icon.synchronize=\u0E0B\u0E34\u0E07\u0E42\u0E04\u0E23\u0E44\u0E19\u0E0B\u0E4C
|
|
193
193
|
Icon.undo=\u0E40\u0E25\u0E34\u0E01\u0E17\u0E33
|
|
194
194
|
Icon.up=\u0E02\u0E36\u0E49\u0E19
|
|
@@ -294,7 +294,7 @@ sap.ui.define([
|
|
|
294
294
|
}
|
|
295
295
|
});
|
|
296
296
|
} else if (!ControllerClass) {
|
|
297
|
-
ControllerClass = sap.ui.requireSync(sControllerName);
|
|
297
|
+
ControllerClass = sap.ui.requireSync(sControllerName); // legacy-relevant: Sync path
|
|
298
298
|
return resolveClass(ControllerClass);
|
|
299
299
|
} else {
|
|
300
300
|
return ControllerClass;
|
|
@@ -118,42 +118,40 @@ sap.ui.define(["sap/base/Log", "sap/ui/core/Component"], function(Log, Component
|
|
|
118
118
|
|
|
119
119
|
var aControllerNames = [];
|
|
120
120
|
|
|
121
|
-
if (!sap.ui.getCore().getConfiguration().getDisableCustomizing()) {
|
|
122
|
-
if (oComponent) {
|
|
123
121
|
|
|
124
|
-
|
|
125
|
-
|
|
122
|
+
// lookup config of "sap.ui.controllerExtensions" in Manifest
|
|
123
|
+
var mInstanceSpecificConfig = Component.getCustomizing(oComponent, {
|
|
124
|
+
type: "sap.ui.controllerExtensions",
|
|
125
|
+
name: sControllerName + "#" + sViewId
|
|
126
|
+
});
|
|
126
127
|
|
|
127
|
-
|
|
128
|
-
|
|
128
|
+
// First check for instance-specific extension, if none exists look for base extension
|
|
129
|
+
var aControllerExtConfigs = [];
|
|
129
130
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
131
|
+
if (mInstanceSpecificConfig) {
|
|
132
|
+
aControllerExtConfigs.push(mInstanceSpecificConfig);
|
|
133
|
+
} else {
|
|
134
|
+
var mDefaultConfig = Component.getCustomizing(oComponent, {
|
|
135
|
+
type: "sap.ui.controllerExtensions",
|
|
136
|
+
name: sControllerName
|
|
137
|
+
});
|
|
138
|
+
if (mDefaultConfig) {
|
|
139
|
+
aControllerExtConfigs.push(mDefaultConfig);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
141
142
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
}
|
|
154
|
-
}
|
|
143
|
+
for (var i = 0; i < aControllerExtConfigs.length; i++) {
|
|
144
|
+
var vControllerExtensions = aControllerExtConfigs[i];
|
|
145
|
+
if (vControllerExtensions) {
|
|
146
|
+
// Normalize the different legacy extension definitions, either:
|
|
147
|
+
// - a string -> "my.ctrl.name"
|
|
148
|
+
// - an object containing a controllerName:string property and/or a controllerNames:string[] property, e.g.
|
|
149
|
+
// { controllerName: "my.ctrl.name0", controllerNames: ["my.ctrl.name1", "my.ctrl.name2"] }
|
|
150
|
+
var sExtControllerName = typeof vControllerExtensions === "string" ? vControllerExtensions : vControllerExtensions.controllerName;
|
|
151
|
+
aControllerNames = aControllerNames.concat(vControllerExtensions.controllerNames || []);
|
|
152
|
+
if (sExtControllerName) {
|
|
153
|
+
aControllerNames.unshift(sExtControllerName);
|
|
155
154
|
}
|
|
156
|
-
|
|
157
155
|
}
|
|
158
156
|
}
|
|
159
157
|
|
|
@@ -187,7 +185,7 @@ sap.ui.define(["sap/base/Log", "sap/ui/core/Component"], function(Log, Component
|
|
|
187
185
|
}, reject);
|
|
188
186
|
});
|
|
189
187
|
} else {
|
|
190
|
-
var ExtensionProviderClass = sap.ui.requireSync(sProviderName);
|
|
188
|
+
var ExtensionProviderClass = sap.ui.requireSync(sProviderName); // legacy-relevant: Sync path
|
|
191
189
|
oProvider = new ExtensionProviderClass();
|
|
192
190
|
mExtensionProvider[sProviderName] = oProvider;
|
|
193
191
|
return oProvider;
|
|
@@ -70,14 +70,14 @@ sap.ui.define([
|
|
|
70
70
|
* If not, we stay compatible and every method prefixed with '-' or 'on' gets private.
|
|
71
71
|
*/
|
|
72
72
|
if (bExtendsController && !bDefinesMethods) {
|
|
73
|
-
|
|
73
|
+
rPrivateCheck = /^_|^on|^init$|^exit$/;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
/*
|
|
77
77
|
* extend method metadata: make lifecycle hooks public
|
|
78
78
|
*/
|
|
79
79
|
if (bExtendsController && bDefinesMethods) {
|
|
80
|
-
|
|
80
|
+
merge(oStaticInfo.methods, this._defaultLifecycleMethodMetadata);
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
|
|
@@ -107,7 +107,7 @@ sap.ui.define([
|
|
|
107
107
|
}
|
|
108
108
|
for (var m in this._mMethods) {
|
|
109
109
|
if (this.isMethodPublic(m)) {
|
|
110
|
-
|
|
110
|
+
this._aPublicMethods.push(m);
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
};
|
|
@@ -127,26 +127,26 @@ sap.ui.define([
|
|
|
127
127
|
var mParentMethods = this._oParent._mMethods ? this._oParent._mMethods : {};
|
|
128
128
|
//allow change of visibility but not the other attributes
|
|
129
129
|
for (var sMethod in mParentMethods) {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
130
|
+
if (this._mMethods[sMethod] && !bIsExtension) {
|
|
131
|
+
var bPublic = this._mMethods[sMethod].public;
|
|
132
|
+
//copy parent method definition as final/overrideExecution should not be overridden
|
|
133
|
+
this._mMethods[sMethod] = merge({}, mParentMethods[sMethod]);
|
|
134
|
+
if (bPublic !== undefined) {
|
|
135
|
+
this._mMethods[sMethod].public = bPublic;
|
|
136
|
+
}
|
|
137
|
+
if (!this.isMethodPublic(sMethod) && this._mMethods[sMethod].public !== mParentMethods[sMethod].public) {
|
|
138
|
+
//if visibility changed to private delete from public methods
|
|
139
|
+
this._aAllPublicMethods.splice(this._aAllPublicMethods.indexOf(sMethod), 1);
|
|
140
|
+
}
|
|
141
|
+
} else {
|
|
142
|
+
this._mMethods[sMethod] = mParentMethods[sMethod];
|
|
143
|
+
}
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
//flag each extension as final (but not the class ControllerExtension itself)
|
|
148
148
|
if (this._oParent && this._oParent.isA("sap.ui.core.mvc.ControllerExtension")) {
|
|
149
|
-
|
|
149
|
+
this._bFinal = true;
|
|
150
150
|
}
|
|
151
151
|
};
|
|
152
152
|
|
|
@@ -45,7 +45,7 @@ sap.ui.define([
|
|
|
45
45
|
* @extends sap.ui.core.mvc.View
|
|
46
46
|
*
|
|
47
47
|
* @author SAP SE
|
|
48
|
-
* @version 1.
|
|
48
|
+
* @version 1.95.0
|
|
49
49
|
*
|
|
50
50
|
* @public
|
|
51
51
|
* @since 1.9.2
|
|
@@ -107,7 +107,7 @@ sap.ui.define([
|
|
|
107
107
|
* @ui5-global-only
|
|
108
108
|
*/
|
|
109
109
|
sap.ui.htmlview = function(sId, vView) {
|
|
110
|
-
return sap.ui.view(sId, vView, ViewType.HTML);
|
|
110
|
+
return sap.ui.view(sId, vView, ViewType.HTML); // legacy-relevant
|
|
111
111
|
};
|
|
112
112
|
|
|
113
113
|
/**
|
|
@@ -43,7 +43,7 @@ sap.ui.define([
|
|
|
43
43
|
* @class
|
|
44
44
|
* A View defined using JSON.
|
|
45
45
|
* @extends sap.ui.core.mvc.View
|
|
46
|
-
* @version 1.
|
|
46
|
+
* @version 1.95.0
|
|
47
47
|
*
|
|
48
48
|
* @public
|
|
49
49
|
* @alias sap.ui.core.mvc.JSONView
|
|
@@ -120,7 +120,7 @@ sap.ui.define([
|
|
|
120
120
|
* @ui5-global-only
|
|
121
121
|
*/
|
|
122
122
|
sap.ui.jsonview = function(sId, vView) {
|
|
123
|
-
return sap.ui.view(sId, vView, ViewType.JSON);
|
|
123
|
+
return sap.ui.view(sId, vView, ViewType.JSON); // legacy-relevant
|
|
124
124
|
};
|
|
125
125
|
|
|
126
126
|
/**
|