@openui5/sap.ui.core 1.119.1 → 1.120.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/THIRDPARTY.txt +6 -6
- package/package.json +1 -1
- package/src/jquery.sap.global.js +40 -111
- package/src/jquery.sap.properties.js +7 -1
- package/src/jquery.sap.resources.js +1 -1
- package/src/jquery.sap.script.js +5 -3
- package/src/jquery.sap.storage.js +6 -3
- package/src/sap/base/Event.js +32 -78
- package/src/sap/base/Eventing.js +114 -271
- package/src/sap/base/Log.js +21 -1
- package/src/sap/base/config.js +14 -9
- package/src/sap/base/i18n/Formatting.js +378 -250
- package/src/sap/base/i18n/LanguageTag.js +64 -66
- package/src/sap/base/i18n/Localization.js +124 -85
- package/src/sap/base/i18n/ResourceBundle.js +1 -1
- package/src/sap/base/i18n/date/CalendarType.js +2 -2
- package/src/sap/base/i18n/date/CalendarWeekNumbering.js +2 -2
- package/src/sap/base/i18n/date/TimezoneUtils.js +43 -6
- package/src/sap/base/util/LoaderExtensions.js +8 -2
- package/src/sap/base/util/mixedFetch.js +1 -0
- package/src/sap/base/util/resolveReference.js +31 -13
- 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/base/util/syncFetch.js +1 -0
- package/src/sap/ui/Device.js +3 -3
- package/src/sap/ui/Global.js +6 -7
- package/src/sap/ui/base/BindingInfo.js +3 -3
- package/src/sap/ui/base/BindingParser.js +5 -2
- package/src/sap/ui/base/DataType.js +57 -1
- package/src/sap/ui/base/DesignTime.js +69 -0
- package/src/sap/ui/base/Event.js +2 -2
- package/src/sap/ui/base/EventProvider.js +1 -1
- package/src/sap/ui/base/ExpressionParser.js +25 -4
- package/src/sap/ui/base/Interface.js +1 -1
- package/src/sap/ui/base/ManagedObject.js +102 -29
- package/src/sap/ui/base/ManagedObjectMetadata.js +29 -31
- package/src/sap/ui/base/ManagedObjectObserver.js +1 -0
- package/src/sap/ui/base/Metadata.js +3 -3
- package/src/sap/ui/base/Object.js +19 -1
- package/src/sap/ui/base/ObjectPool.js +1 -1
- package/src/sap/ui/core/.library +3 -3
- package/src/sap/ui/core/AnimationMode.js +2 -2
- package/src/sap/ui/core/AppCacheBuster.js +30 -18
- package/src/sap/ui/core/BusyIndicator.js +1 -1
- package/src/sap/ui/core/CalendarType.js +6 -0
- package/src/sap/ui/core/Component.js +150 -80
- package/src/sap/ui/core/ComponentContainer.js +4 -3
- package/src/sap/ui/core/ComponentMetadata.js +3 -4
- package/src/sap/ui/core/ComponentSupport.js +1 -1
- package/src/sap/ui/core/Configuration.js +390 -706
- package/src/sap/ui/core/Control.js +1 -1
- package/src/sap/ui/core/ControlBehavior.js +37 -28
- package/src/sap/ui/core/Core.js +327 -151
- package/src/sap/ui/core/CustomData.js +1 -1
- package/src/sap/ui/core/DeclarativeSupport.js +3 -1
- package/src/sap/ui/core/Element.js +18 -8
- package/src/sap/ui/core/ElementMetadata.js +1 -1
- package/src/sap/ui/core/EnabledPropagator.js +3 -2
- 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/IndicationColorSupport.js +13 -1
- package/src/sap/ui/core/IntervalTrigger.js +1 -1
- package/src/sap/ui/core/InvisibleMessage.js +2 -3
- package/src/sap/ui/core/InvisibleRenderer.js +1 -1
- package/src/sap/ui/core/InvisibleText.js +17 -1
- package/src/sap/ui/core/Item.js +1 -1
- package/src/sap/ui/core/LabelEnablement.js +8 -1
- package/src/sap/ui/core/LayoutData.js +1 -1
- package/src/sap/ui/core/Lib.js +195 -29
- 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 +118 -32
- package/src/sap/ui/core/Manifest.js +4 -2
- package/src/sap/ui/core/Message.js +1 -1
- package/src/sap/ui/core/Placeholder.js +18 -0
- package/src/sap/ui/core/Popup.js +5 -0
- package/src/sap/ui/core/RenderManager.js +21 -17
- package/src/sap/ui/core/Renderer.js +1 -1
- package/src/sap/ui/core/Rendering.js +51 -47
- package/src/sap/ui/core/ResizeHandler.js +2 -2
- package/src/sap/ui/core/ScrollBar.js +1 -1
- package/src/sap/ui/core/SeparatorItem.js +1 -1
- package/src/sap/ui/core/Shortcut.js +5 -3
- package/src/sap/ui/core/Supportability.js +146 -0
- package/src/sap/ui/core/Theming.js +130 -88
- package/src/sap/ui/core/Title.js +1 -1
- package/src/sap/ui/core/TooltipBase.js +4 -3
- package/src/sap/ui/core/UIArea.js +1 -4
- package/src/sap/ui/core/UIComponent.js +38 -12
- 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 +3 -3
- package/src/sap/ui/core/_IconRegistry.js +13 -6
- package/src/sap/ui/core/cldr/ar.json +143 -137
- package/src/sap/ui/core/cldr/ar_EG.json +143 -137
- package/src/sap/ui/core/cldr/ar_SA.json +143 -137
- package/src/sap/ui/core/cldr/bg.json +423 -423
- package/src/sap/ui/core/cldr/ca.json +541 -494
- package/src/sap/ui/core/cldr/cs.json +475 -364
- package/src/sap/ui/core/cldr/cy.json +656 -477
- package/src/sap/ui/core/cldr/da.json +334 -275
- package/src/sap/ui/core/cldr/de.json +388 -291
- package/src/sap/ui/core/cldr/de_AT.json +388 -291
- package/src/sap/ui/core/cldr/de_CH.json +394 -297
- package/src/sap/ui/core/cldr/el.json +169 -166
- package/src/sap/ui/core/cldr/el_CY.json +169 -166
- package/src/sap/ui/core/cldr/en.json +558 -521
- package/src/sap/ui/core/cldr/en_AU.json +558 -520
- package/src/sap/ui/core/cldr/en_GB.json +476 -439
- package/src/sap/ui/core/cldr/en_HK.json +520 -482
- package/src/sap/ui/core/cldr/en_IE.json +486 -448
- package/src/sap/ui/core/cldr/en_IN.json +466 -428
- package/src/sap/ui/core/cldr/en_NZ.json +506 -468
- package/src/sap/ui/core/cldr/en_PG.json +506 -468
- package/src/sap/ui/core/cldr/en_SG.json +506 -468
- package/src/sap/ui/core/cldr/en_ZA.json +486 -448
- package/src/sap/ui/core/cldr/es.json +473 -468
- package/src/sap/ui/core/cldr/es_AR.json +445 -440
- package/src/sap/ui/core/cldr/es_BO.json +479 -474
- package/src/sap/ui/core/cldr/es_CL.json +469 -464
- package/src/sap/ui/core/cldr/es_CO.json +387 -381
- package/src/sap/ui/core/cldr/es_MX.json +502 -497
- package/src/sap/ui/core/cldr/es_PE.json +455 -450
- package/src/sap/ui/core/cldr/es_UY.json +479 -474
- package/src/sap/ui/core/cldr/es_VE.json +499 -494
- package/src/sap/ui/core/cldr/et.json +378 -320
- package/src/sap/ui/core/cldr/fa.json +104 -104
- package/src/sap/ui/core/cldr/fi.json +401 -315
- package/src/sap/ui/core/cldr/fr.json +391 -385
- package/src/sap/ui/core/cldr/fr_BE.json +391 -385
- package/src/sap/ui/core/cldr/fr_CA.json +499 -493
- package/src/sap/ui/core/cldr/fr_CH.json +334 -328
- package/src/sap/ui/core/cldr/fr_LU.json +391 -385
- package/src/sap/ui/core/cldr/he.json +291 -159
- package/src/sap/ui/core/cldr/hi.json +157 -128
- package/src/sap/ui/core/cldr/hr.json +514 -461
- package/src/sap/ui/core/cldr/hu.json +287 -257
- package/src/sap/ui/core/cldr/id.json +463 -416
- package/src/sap/ui/core/cldr/it.json +468 -413
- package/src/sap/ui/core/cldr/it_CH.json +468 -413
- package/src/sap/ui/core/cldr/ja.json +98 -61
- package/src/sap/ui/core/cldr/kk.json +631 -571
- package/src/sap/ui/core/cldr/ko.json +79 -71
- package/src/sap/ui/core/cldr/lt.json +361 -270
- package/src/sap/ui/core/cldr/lv.json +234 -242
- package/src/sap/ui/core/cldr/ms.json +463 -408
- package/src/sap/ui/core/cldr/nb.json +176 -143
- package/src/sap/ui/core/cldr/nl.json +463 -393
- package/src/sap/ui/core/cldr/nl_BE.json +463 -393
- package/src/sap/ui/core/cldr/pl.json +633 -344
- package/src/sap/ui/core/cldr/pt.json +447 -336
- package/src/sap/ui/core/cldr/pt_PT.json +488 -449
- package/src/sap/ui/core/cldr/ro.json +477 -383
- package/src/sap/ui/core/cldr/ru.json +367 -332
- package/src/sap/ui/core/cldr/ru_UA.json +361 -326
- package/src/sap/ui/core/cldr/sk.json +502 -537
- package/src/sap/ui/core/cldr/sl.json +168 -161
- package/src/sap/ui/core/cldr/sr.json +276 -225
- package/src/sap/ui/core/cldr/sr_Latn.json +972 -907
- package/src/sap/ui/core/cldr/sv.json +420 -346
- package/src/sap/ui/core/cldr/th.json +117 -94
- package/src/sap/ui/core/cldr/tr.json +413 -359
- package/src/sap/ui/core/cldr/uk.json +395 -368
- package/src/sap/ui/core/cldr/vi.json +392 -379
- package/src/sap/ui/core/cldr/zh_CN.json +91 -33
- package/src/sap/ui/core/cldr/zh_HK.json +90 -32
- package/src/sap/ui/core/cldr/zh_SG.json +90 -32
- package/src/sap/ui/core/cldr/zh_TW.json +75 -51
- package/src/sap/ui/core/date/CalendarWeekNumbering.js +6 -0
- package/src/sap/ui/core/date/UI5Date.js +1 -1
- package/src/sap/ui/core/date/_Calendars.js +5 -2
- 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/DragAndDrop.js +3 -2
- 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 +33 -21
- package/src/sap/ui/core/format/NumberFormat.js +3 -2
- package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
- package/src/sap/ui/core/getCompatibilityVersion.js +2 -2
- package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
- package/src/sap/ui/core/library.js +128 -8
- package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
- package/src/sap/ui/core/message/Message.js +2 -2
- 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/message/MessageType.js +2 -1
- package/src/sap/ui/core/messagebundle.properties +24 -0
- package/src/sap/ui/core/messagebundle_ar.properties +15 -3
- package/src/sap/ui/core/messagebundle_bg.properties +14 -2
- package/src/sap/ui/core/messagebundle_ca.properties +13 -1
- package/src/sap/ui/core/messagebundle_cs.properties +15 -3
- package/src/sap/ui/core/messagebundle_cy.properties +16 -4
- package/src/sap/ui/core/messagebundle_da.properties +15 -3
- package/src/sap/ui/core/messagebundle_de.properties +15 -3
- package/src/sap/ui/core/messagebundle_el.properties +16 -4
- package/src/sap/ui/core/messagebundle_en.properties +12 -0
- package/src/sap/ui/core/messagebundle_en_GB.properties +16 -4
- package/src/sap/ui/core/messagebundle_es.properties +15 -3
- package/src/sap/ui/core/messagebundle_es_MX.properties +15 -3
- package/src/sap/ui/core/messagebundle_et.properties +15 -3
- package/src/sap/ui/core/messagebundle_fi.properties +15 -3
- package/src/sap/ui/core/messagebundle_fr.properties +15 -3
- package/src/sap/ui/core/messagebundle_fr_CA.properties +14 -2
- package/src/sap/ui/core/messagebundle_hi.properties +16 -4
- package/src/sap/ui/core/messagebundle_hr.properties +14 -2
- package/src/sap/ui/core/messagebundle_hu.properties +16 -4
- package/src/sap/ui/core/messagebundle_id.properties +15 -3
- package/src/sap/ui/core/messagebundle_it.properties +17 -5
- package/src/sap/ui/core/messagebundle_iw.properties +15 -3
- package/src/sap/ui/core/messagebundle_ja.properties +25 -13
- package/src/sap/ui/core/messagebundle_kk.properties +15 -3
- package/src/sap/ui/core/messagebundle_ko.properties +14 -2
- package/src/sap/ui/core/messagebundle_lt.properties +15 -3
- package/src/sap/ui/core/messagebundle_lv.properties +15 -3
- package/src/sap/ui/core/messagebundle_mk.properties +352 -0
- package/src/sap/ui/core/messagebundle_ms.properties +15 -3
- package/src/sap/ui/core/messagebundle_nl.properties +15 -3
- package/src/sap/ui/core/messagebundle_no.properties +14 -2
- package/src/sap/ui/core/messagebundle_pl.properties +15 -3
- package/src/sap/ui/core/messagebundle_pt.properties +15 -3
- package/src/sap/ui/core/messagebundle_pt_PT.properties +14 -2
- package/src/sap/ui/core/messagebundle_ro.properties +15 -3
- package/src/sap/ui/core/messagebundle_ru.properties +15 -3
- package/src/sap/ui/core/messagebundle_sh.properties +43 -31
- package/src/sap/ui/core/messagebundle_sk.properties +16 -4
- package/src/sap/ui/core/messagebundle_sl.properties +15 -3
- package/src/sap/ui/core/messagebundle_sv.properties +22 -10
- package/src/sap/ui/core/messagebundle_th.properties +15 -3
- package/src/sap/ui/core/messagebundle_tr.properties +15 -3
- package/src/sap/ui/core/messagebundle_uk.properties +18 -6
- package/src/sap/ui/core/messagebundle_vi.properties +18 -6
- package/src/sap/ui/core/messagebundle_zh_CN.properties +15 -3
- package/src/sap/ui/core/messagebundle_zh_TW.properties +15 -3
- package/src/sap/ui/core/mvc/Controller.js +22 -16
- package/src/sap/ui/core/mvc/EventHandlerResolver.js +5 -15
- package/src/sap/ui/core/mvc/HTMLView.js +2 -2
- package/src/sap/ui/core/mvc/JSONView.js +4 -1
- package/src/sap/ui/core/mvc/JSONViewRenderer.js +1 -0
- package/src/sap/ui/core/mvc/JSView.js +1 -1
- package/src/sap/ui/core/mvc/OverrideExecution.js +4 -4
- package/src/sap/ui/core/mvc/TemplateView.js +1 -1
- package/src/sap/ui/core/mvc/View.js +24 -14
- package/src/sap/ui/core/mvc/ViewType.js +2 -0
- package/src/sap/ui/core/mvc/XMLView.js +1 -1
- package/src/sap/ui/core/plugin/DeclarativeSupport.js +2 -1
- package/src/sap/ui/core/plugin/LessSupport.js +3 -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/Router.js +2 -4
- package/src/sap/ui/core/routing/Target.js +1 -3
- package/src/sap/ui/core/routing/Targets.js +2 -3
- package/src/sap/ui/core/routing/Views.js +2 -3
- package/src/sap/ui/core/routing/async/Target.js +1 -1
- package/src/sap/ui/core/rules/Config.support.js +11 -17
- 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/Hotkeys.js +5 -3
- package/src/sap/ui/core/support/Plugin.js +1 -1
- package/src/sap/ui/core/support/RuleEngineOpaExtension.js +1 -3
- package/src/sap/ui/core/support/Support.js +3 -5
- package/src/sap/ui/core/support/ToolsAPI.js +15 -11
- package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
- package/src/sap/ui/core/support/plugins/Interaction.js +4 -4
- 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 +7 -5
- 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/support/techinfo/TechnicalInfo.js +3 -1
- package/src/sap/ui/core/syncStyleClass.js +2 -2
- package/src/sap/ui/core/themes/base/fonts/SAP-icons.ttf +0 -0
- package/src/sap/ui/core/themes/base/fonts/SAP-icons.woff2 +0 -0
- package/src/sap/ui/core/themes/base/global.less +9 -9
- package/src/sap/ui/core/theming/Parameters.js +18 -19
- package/src/sap/ui/core/theming/ThemeManager.js +23 -4
- 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 +3 -0
- 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 +4 -4
- 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/webc/WebComponent.js +1 -1
- package/src/sap/ui/core/webc/WebComponentMetadata.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 +29 -7
- package/src/sap/ui/debug/PropertyList.js +1 -1
- package/src/sap/ui/model/ClientListBinding.js +3 -1
- package/src/sap/ui/model/ClientModel.js +1 -1
- package/src/sap/ui/model/ClientTreeBinding.js +3 -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 +2 -2
- package/src/sap/ui/model/Filter.js +39 -1
- package/src/sap/ui/model/FilterProcessor.js +12 -2
- package/src/sap/ui/model/ListBinding.js +5 -0
- package/src/sap/ui/model/ManagedObjectBindingSupport.js +4 -4
- package/src/sap/ui/model/MetaModel.js +1 -1
- package/src/sap/ui/model/Model.js +5 -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/TreeBinding.js +3 -0
- package/src/sap/ui/model/Type.js +1 -1
- package/src/sap/ui/model/analytics/AnalyticalBinding.js +3 -1
- package/src/sap/ui/model/json/JSONListBinding.js +3 -1
- package/src/sap/ui/model/json/JSONModel.js +1 -1
- package/src/sap/ui/model/json/JSONTreeBinding.js +3 -2
- package/src/sap/ui/model/message/MessageListBinding.js +3 -0
- package/src/sap/ui/model/message/MessageModel.js +1 -1
- package/src/sap/ui/model/odata/AnnotationHelper.js +9 -3
- package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/ODataListBinding.js +3 -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 +9 -5
- package/src/sap/ui/model/odata/ODataPropertyBinding.js +1 -2
- package/src/sap/ui/model/odata/ODataTreeBinding.js +2 -0
- package/src/sap/ui/model/odata/ODataTreeBindingFlat.js +9 -14
- 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/ODataListBinding.js +35 -13
- package/src/sap/ui/model/odata/v2/ODataModel.js +21 -8
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +33 -2
- package/src/sap/ui/model/odata/v4/Context.js +81 -7
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +217 -75
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataModel.js +6 -6
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +406 -199
- package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +12 -7
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +53 -30
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +6 -4
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +6 -6
- package/src/sap/ui/model/resource/ResourceModel.js +5 -6
- 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/XMLListBinding.js +3 -0
- package/src/sap/ui/model/xml/XMLModel.js +1 -1
- package/src/sap/ui/model/xml/XMLTreeBinding.js +3 -0
- package/src/sap/ui/performance/BeaconRequest.js +2 -2
- package/src/sap/ui/qunit/QUnitUtils.js +64 -45
- package/src/sap/ui/qunit/qunit-coverage.js +6 -0
- package/src/sap/ui/qunit/utils/ControlIterator.js +31 -1
- package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
- package/src/sap/ui/security/Security.js +128 -0
- package/src/sap/ui/test/BlanketReporter.js +2 -3
- package/src/sap/ui/test/BlanketReporterUI.view.xml +1 -1
- package/src/sap/ui/test/BranchTracking.js +2 -3
- package/src/sap/ui/test/ModuleTracking.js +48 -20
- package/src/sap/ui/test/OpaExtension.js +3 -3
- package/src/sap/ui/test/OpaPlugin.js +16 -6
- package/src/sap/ui/test/TestUtils.js +7 -4
- package/src/sap/ui/test/_BrowserLogCollector.js +1 -0
- package/src/sap/ui/test/_ControlFinder.js +3 -2
- package/src/sap/ui/test/_LogCollector.js +1 -0
- package/src/sap/ui/test/_UsageReport.js +115 -114
- package/src/sap/ui/test/actions/EnterText.js +20 -2
- package/src/sap/ui/test/autowaiter/WaiterBase.js +1 -0
- package/src/sap/ui/test/autowaiter/_moduleWaiter.js +1 -2
- package/src/sap/ui/test/autowaiter/_timeoutWaiter.js +1 -1
- package/src/sap/ui/test/generic/GenericTestCollection.js +5 -0
- package/src/sap/ui/test/generic/TestBase.js +1 -1
- package/src/sap/ui/test/generic/Utils.js +1 -1
- package/src/sap/ui/test/matchers/LabelFor.js +2 -12
- package/src/sap/ui/test/matchers/Matcher.js +1 -1
- package/src/sap/ui/test/pipelines/PipelineFactory.js +1 -0
- package/src/sap/ui/test/selectors/_Selector.js +1 -1
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/ui5loader-autoconfig.js +84 -11
- package/test/sap/ui/core/demokit/sample/RoutingNestedComponent/localService/mockserver.js +3 -4
- package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/ChartAnnotation.fragment.xml +7 -7
- package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/Component.js +2 -3
- package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/Detail.view.xml +12 -13
- package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/Facets.fragment.xml +4 -4
- package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/Field.fragment.xml +8 -8
- package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/FormFacet.fragment.xml +3 -5
- package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/LabeledField.fragment.xml +3 -3
- package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/Table.fragment.xml +10 -10
- package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/TableFacet.fragment.xml +3 -3
- package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/extension/HeaderInfo.fragment.xml +1 -1
- package/test/sap/ui/core/demokit/sample/ViewTemplate/tiny/Field.fragment.xml +2 -2
- package/test/sap/ui/core/demokit/sample/ViewTemplate/tiny/Template.view.xml +19 -21
- package/test/sap/ui/core/demokit/sample/ViewTemplate/types/TemplateV4.view.xml +2 -2
- package/test/sap/ui/core/demokit/sample/ViewTemplate/valuelist/Component.js +2 -3
- package/test/sap/ui/core/demokit/sample/common/SandboxModelHelper.js +2 -3
- package/test/sap/ui/core/demokit/sample/common/ValueHelp.js +2 -3
- package/test/sap/ui/core/demokit/sample/common/pages/Any.js +7 -8
- package/test/sap/ui/core/demokit/sample/odata/v4/Ancestry/Main.controller.js +15 -6
- package/test/sap/ui/core/demokit/sample/odata/v4/DataAggregation/DataAggregation.controller.js +2 -3
- package/test/sap/ui/core/demokit/sample/odata/v4/FlatDataAggregation/FlatDataAggregation.controller.js +3 -4
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/Main.controller.js +39 -16
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/Main.view.xml +18 -21
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/data/all.json +509 -395
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/data/metadata.xml +586 -422
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/manifest.json +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/LateProperties/Main.controller.js +2 -3
- package/test/sap/ui/core/demokit/sample/odata/v4/ListBindingTemplate/Facets.fragment.xml +22 -23
- package/test/sap/ui/core/demokit/sample/odata/v4/ListBindingTemplate/FormattedText.fragment.xml +2 -3
- package/test/sap/ui/core/demokit/sample/odata/v4/ListBindingTemplate/Main.view.xml +7 -7
- package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/Main.controller.js +0 -3
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/RecursiveHierarchy.controller.js +54 -9
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/RecursiveHierarchy.view.xml +34 -9
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/SandboxModel.js +156 -23
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/Main.view.xml +3 -2
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersTemplate/Facets.fragment.xml +22 -23
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersTemplate/FormattedText.fragment.xml +2 -3
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersTemplate/Main.view.xml +5 -5
- package/test/sap/ui/core/demokit/sample/odata/v4/ServerDrivenPaging/Main.controller.js +2 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/01/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/02/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/03/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/04/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/05/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/06/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/07/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/08/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/09/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/10/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/11/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/12/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/13/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/14/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/15/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/mockserver/01/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/mockserver/02/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/mockserver/03/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/mockserver/04/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/01/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/02/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/03/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/04/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/05/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/06/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/07/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/08/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/09/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/10/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/11/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/12/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/13/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/14/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/15/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/16/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/navigation/17/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/odatav4/01/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/odatav4/02/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/odatav4/03/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/odatav4/04/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/odatav4/05/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/odatav4/06/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/odatav4/07/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/odatav4/09/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/odatav4/10/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/ui5.yaml +2 -2
- package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/ui5.yaml +2 -2
- package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/Component.js +2 -3
- package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/Main.view.xml +1 -1
- package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/SandboxModel.js +2 -3
- package/test/sap/ui/core/qunit/CompositeBinding.qunit.js +18 -0
- package/test/sap/ui/core/qunit/ControlRenderer.qunit.js +4 -3
- package/test/sap/ui/core/qunit/Core.qunit.js +5 -14
- package/test/sap/ui/core/qunit/Core_libraryPreloadFiles.qunit.js +4 -4
- package/test/sap/ui/core/qunit/Core_libraryPreloadFiles_unavoidablyUsingEval.qunit.js +6 -6
- package/test/sap/ui/core/qunit/Core_unavoidablyUsingEval.qunit.js +31 -30
- package/test/sap/ui/core/qunit/DataState.qunit.js +7 -4
- package/test/sap/ui/core/qunit/DuplicateIds.qunit.js +3 -0
- package/test/sap/ui/core/qunit/DuplicateIds_noError.qunit.js +4 -0
- package/test/sap/ui/core/qunit/Element_metadata_renderer.qunit.js +6 -0
- package/test/sap/ui/core/qunit/ExpressionParser.qunit.js +144 -85
- package/test/sap/ui/core/qunit/HTML.qunit.js +87 -84
- package/test/sap/ui/core/qunit/InvisibleText.qunit.js +22 -1
- package/test/sap/ui/core/qunit/LRUPersistentCache.qunit.js +4 -4
- package/test/sap/ui/core/qunit/Lib.qunit.js +22 -1
- package/test/sap/ui/core/qunit/ListBinding.qunit.js +14 -1
- package/test/sap/ui/core/qunit/ManagedObject.qunit.js +5 -2
- package/test/sap/ui/core/qunit/ManagedObjectMetadata.qunit.js +41 -40
- package/test/sap/ui/core/qunit/ManagedObjectModel.qunit.js +2 -1
- package/test/sap/ui/core/qunit/{ManagedObject_noBoot.qunit.js → ManagedObject_BindingParser.qunit.js} +10 -9
- package/test/sap/ui/core/qunit/Object.qunit.js +36 -0
- package/test/sap/ui/core/qunit/RenderManager.qunit.js +86 -94
- package/test/sap/ui/core/qunit/ShortcutHints.qunit.js +11 -97
- package/test/sap/ui/core/qunit/StaticBinding.qunit.js +3 -0
- package/test/sap/ui/core/qunit/UIArea.qunit.js +34 -35
- package/test/sap/ui/core/qunit/analytics/AnalyticalTreeBindingAdapter.qunit.js +3 -0
- package/test/sap/ui/core/qunit/analytics/ODataModelAdapter.qunit.js +3 -0
- package/test/sap/ui/core/qunit/analytics/odata4analytics.qunit.js +3 -0
- package/test/sap/ui/core/qunit/app/DesignMode_controllerDeactivated.qunit.js +5 -6
- package/test/sap/ui/core/qunit/app/DesignMode_suppressedDeactivation.qunit.js +5 -6
- package/test/sap/ui/core/qunit/app/MessageListBinding.qunit.js +3 -0
- package/test/sap/ui/core/qunit/app/_createDesignModeTests_legacyAPIs.qunit.js +8 -10
- package/test/sap/ui/core/qunit/base/Config_cascade.qunit.js +2 -2
- package/test/sap/ui/core/qunit/base/i18n/Formatting.qunit.js +30 -30
- package/test/sap/ui/core/qunit/base/i18n/ResourceBundle.qunit.js +123 -10
- package/test/sap/ui/core/qunit/base/util/resolveReference.qunit.js +9 -0
- package/test/sap/ui/core/qunit/base/util/testdata/MyModule.js +5 -0
- package/test/sap/ui/core/qunit/bootstrap/BootstrapCustomBootTaskPreloadCss.beforeBootstrap.qunit.js +4 -2
- package/test/sap/ui/core/qunit/bootstrap/BootstrapMinimal.qunit.html +1 -0
- package/test/sap/ui/core/qunit/bootstrap/BootstrapPreload.qunit.js +9 -10
- package/test/sap/ui/core/qunit/bootstrap/BootstrapPreload_legacyAPIs.qunit.js +0 -2
- package/test/sap/ui/core/qunit/bootstrap/BootstrapWithinBody.qunit.html +2 -1
- package/test/sap/ui/core/qunit/bootstrap/BootstrapWithinHead.qunit.html +2 -1
- package/test/sap/ui/core/qunit/bootstrap/Configuration.qunit.js +122 -266
- package/test/sap/ui/core/qunit/bootstrap/ConfigurationFlexibility_LibConfigured.qunit.html +22 -0
- package/test/sap/ui/core/qunit/bootstrap/ConfigurationFlexibility_LibConfigured.qunit.js +22 -0
- package/test/sap/ui/core/qunit/bootstrap/ConfigurationFlexibility_LibLoaded.qunit.html +22 -0
- package/test/sap/ui/core/qunit/bootstrap/ConfigurationFlexibility_LibLoaded.qunit.js +16 -0
- package/test/sap/ui/core/qunit/bootstrap/ConfigurationFlexibility_LibNotLoaded.qunit.html +22 -0
- package/test/sap/ui/core/qunit/bootstrap/ConfigurationFlexibility_LibNotLoaded.qunit.js +14 -0
- package/test/sap/ui/core/qunit/bootstrap/ControlBehavior.qunit.js +110 -0
- package/test/sap/ui/core/qunit/bootstrap/PreloadCfg.qunit.js +4 -3
- package/test/sap/ui/core/qunit/bootstrap/ResourceRoot_ResourcesURL_Standard.qunit.html +1 -1
- package/test/sap/ui/core/qunit/bootstrap/ThemeVersion.beforeBootstrap.qunit.js +2 -3
- package/test/sap/ui/core/qunit/bootstrap/_checkCoreAndLibraryBooted.qunit.js +39 -34
- package/test/sap/ui/core/qunit/bootstrap/_checkCoreAndLibraryBooted_legacyAPIs.qunit.js +5 -1
- package/test/sap/ui/core/qunit/bootstrap/testsuite.bootstrap.qunit.js +51 -15
- package/test/sap/ui/core/qunit/compat_legacyAPIs/jquery-compat.qunit.html +23 -0
- package/test/sap/ui/core/qunit/compat_legacyAPIs/jquery-compat.qunit.js +1 -1
- package/test/sap/ui/core/qunit/compat_legacyAPIs/jquery.sap.stubs.qunit.js +16 -20
- package/test/sap/ui/core/qunit/compat_legacyAPIs/testsuite.compat.qunit.js +1 -4
- package/test/sap/ui/core/qunit/component/Component.qunit.js +74 -4
- package/test/sap/ui/core/qunit/component/Models.qunit.js +3 -1
- package/test/sap/ui/core/qunit/component/Preloading.qunit.js +8 -12
- package/test/sap/ui/core/qunit/component/UIComponent.qunit.js +8 -2
- package/test/sap/ui/core/qunit/component/testdata/routerPreloading/Component.js +23 -0
- package/test/sap/ui/core/qunit/component/testdata/routerPreloading/Main.view.xml +8 -0
- package/test/sap/ui/core/qunit/component/testdata/routerPreloading/manifest.json +34 -0
- package/test/sap/ui/core/qunit/component/testdata/targetsPreloading/Component.js +23 -0
- package/test/sap/ui/core/qunit/component/testdata/targetsPreloading/Main.view.xml +8 -0
- package/test/sap/ui/core/qunit/component/testdata/targetsPreloading/manifest.json +28 -0
- package/test/sap/ui/core/qunit/date/_Calendars.qunit.js +52 -0
- package/test/sap/ui/core/qunit/generic/legacy/ControlMemoryLeaks.qunit.js +18 -0
- package/test/sap/ui/core/qunit/generic/legacy/ControlMemoryLeaksUsingIterator.qunit.js +3 -4
- package/test/sap/ui/core/qunit/generic/legacy/DuplicateIdCheck.qunit.js +18 -0
- package/test/sap/ui/core/qunit/generic/legacy/SettersContextReturn.qunit.js +15 -0
- package/test/sap/ui/core/qunit/generic/testsuite.generic.qunit.js +21 -0
- package/test/sap/ui/core/qunit/gherkin/fixture/testHarnessAmbiguous.js +2 -3
- package/test/sap/ui/core/qunit/gherkin/fixture/testHarnessDuplicate.js +2 -3
- package/test/sap/ui/core/qunit/gherkin/fixture/testHarnessFailing.js +2 -3
- package/test/sap/ui/core/qunit/gherkin/opa5TestHarness.qunit.html +16 -0
- package/test/sap/ui/core/qunit/gherkin/opa5TestHarness.qunit.js +1 -1
- package/test/sap/ui/core/qunit/gherkin/qUnitTestHarness.qunit.html +16 -0
- package/test/sap/ui/core/qunit/gherkin/qUnitTestHarness.qunit.js +1 -1
- package/test/sap/ui/core/qunit/gherkin/testsuite.gherkin.qunit.js +3 -2
- package/test/sap/ui/core/qunit/i18n/Buddhist.qunit.js +3 -0
- package/test/sap/ui/core/qunit/i18n/GenericLocaleData.qunit.js +217 -114
- package/test/sap/ui/core/qunit/i18n/Islamic.qunit.js +3 -0
- package/test/sap/ui/core/qunit/i18n/Japanese.qunit.js +3 -0
- package/test/sap/ui/core/qunit/i18n/LocaleData.qunit.js +341 -7
- package/test/sap/ui/core/qunit/i18n/Persian.qunit.js +3 -0
- package/test/sap/ui/core/qunit/i18n/UniversalDate.qunit.js +3 -0
- package/test/sap/ui/core/qunit/i18n/UniversalDateUtils.qunit.js +10 -1
- package/test/sap/ui/core/qunit/i18n/helper/_timezones.js +17 -11
- package/test/sap/ui/core/qunit/i18n/testsuite.i18n.qunit.js +7 -1
- package/test/sap/ui/core/qunit/internal/1Ring.qunit.html +5 -1
- package/test/sap/ui/core/qunit/internal/1RingModels.qunit.html +2 -2
- package/test/sap/ui/core/qunit/internal/1RingModels.qunit.js +1 -0
- package/test/sap/ui/core/qunit/internal/AnnotationParser.qunit.html +1 -2
- package/test/sap/ui/core/qunit/internal/ODataV4.qunit.html +6 -1
- package/test/sap/ui/core/qunit/internal/testsuite.feature-odata-v4.qunit.js +2 -1
- package/test/sap/ui/core/qunit/jquery.sap.global-config.qunit.html +24 -0
- package/test/sap/ui/core/qunit/jquery.sap.global-config.qunit.js +12 -6
- package/test/sap/ui/core/qunit/jquery.sap.global-config_beforeBootstrap.qunit.js +1 -1
- package/test/sap/ui/core/qunit/json/JSONListBinding.qunit.js +30 -0
- package/test/sap/ui/core/qunit/loader/exposeAsAMDLoader.qunit.html +1 -0
- package/test/sap/ui/core/qunit/model/Binding.qunit.js +3 -0
- package/test/sap/ui/core/qunit/model/ClientListBinding.qunit.js +3 -0
- package/test/sap/ui/core/qunit/model/ClientPropertyBinding.qunit.js +3 -0
- package/test/sap/ui/core/qunit/model/ClientTreeBinding.qunit.js +3 -0
- package/test/sap/ui/core/qunit/model/ClientTreeBindingAdapter.qunit.js +6 -0
- package/test/sap/ui/core/qunit/model/CompositeDataState.qunit.js +3 -0
- package/test/sap/ui/core/qunit/model/Context.qunit.js +3 -0
- package/test/sap/ui/core/qunit/model/ContextBinding.qunit.js +3 -0
- package/test/sap/ui/core/qunit/model/Filter.qunit.js +49 -0
- package/test/sap/ui/core/qunit/model/FilterProcessor.qunit.js +40 -1
- package/test/sap/ui/core/qunit/model/ListBinding.qunit.js +23 -5
- package/test/sap/ui/core/qunit/model/Model.qunit.js +3 -0
- package/test/sap/ui/core/qunit/model/PropertyBinding.qunit.js +3 -0
- package/test/sap/ui/core/qunit/model/Sorter.qunit.js +3 -0
- package/test/sap/ui/core/qunit/model/TreeBinding.qunit.js +43 -3
- package/test/sap/ui/core/qunit/model/TreeBindingAdapter.qunit.js +3 -0
- package/test/sap/ui/core/qunit/mvc/Controller.qunit.js +107 -93
- package/test/sap/ui/core/qunit/mvc/View.qunit.js +3 -0
- package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessor.qunit.js +17 -14
- package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorAsync.qunit.js +23 -12
- package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorRequireXML.qunit.js +29 -82
- package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorRequireXML_unavoidablySync.qunit.js +123 -0
- package/test/sap/ui/core/qunit/mvc/extensions/Controllerextensions.qunit.js +4 -0
- package/test/sap/ui/core/qunit/mvc/extensions/Controllerextensions_legacy.qunit.js +4 -0
- package/test/sap/ui/core/qunit/mvc/testsuite.mvc.qunit.js +16 -0
- package/test/sap/ui/core/qunit/mvc/viewprocessing/ViewProcessing.qunit.js +408 -419
- package/test/sap/ui/core/qunit/odata/AnnotationHelper.qunit.js +6 -4
- package/test/sap/ui/core/qunit/odata/ODataAnnotations.qunit.js +16 -0
- package/test/sap/ui/core/qunit/odata/ODataMetaModel.qunit.js +8 -1
- package/test/sap/ui/core/qunit/odata/ODataUtils.qunit.js +5 -1
- package/test/sap/ui/core/qunit/odata/type/DateTimeBase.qunit.js +4 -4
- package/test/sap/ui/core/qunit/odata/type/DateTimeWithTimezone.qunit.js +6 -6
- package/test/sap/ui/core/qunit/odata/type/Time.qunit.js +3 -4
- package/test/sap/ui/core/qunit/odata/type/TimeOfDay.qunit.js +4 -4
- package/test/sap/ui/core/qunit/odata/v2/ODataListBindingNoFakeService.qunit.js +36 -13
- package/test/sap/ui/core/qunit/odata/v2/ODataModel.integration.qunit.js +952 -292
- package/test/sap/ui/core/qunit/odata/v2/ODataModelNoFakeService.qunit.js +6 -4
- package/test/sap/ui/core/qunit/odata/v2/ODataPropertyBindingNoFakeService.qunit.js +6 -7
- package/test/sap/ui/core/qunit/odata/v2/ODataTreeBindingFlatNoFakeService.qunit.js +215 -1
- package/test/sap/ui/core/qunit/odata/v2/ODataTreeBindingNoFakeService.qunit.js +194 -3
- package/test/sap/ui/core/qunit/odata/v2/V2ODataModelDataState.qunit.js +3 -2
- package/test/sap/ui/core/qunit/odata/v4/Context.qunit.js +69 -2
- package/test/sap/ui/core/qunit/odata/v4/ODataListBinding.qunit.js +601 -99
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.integration.qunit.js +1859 -407
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.qunit.js +7 -5
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.realOData.qunit.js +4 -4
- package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationCache.qunit.js +909 -422
- package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationHelper.qunit.js +21 -6
- package/test/sap/ui/core/qunit/odata/v4/lib/_Cache.qunit.js +104 -33
- package/test/sap/ui/core/qunit/odata/v4/lib/_Helper.qunit.js +8 -0
- package/test/sap/ui/core/qunit/odata/v4/lib/_MetadataRequestor.qunit.js +4 -4
- package/test/sap/ui/core/qunit/odata/v4/lib/_Requestor.qunit.js +9 -9
- package/test/sap/ui/core/qunit/odata/v4/lib/_V2MetadataConverter.qunit.js +3 -3
- package/test/sap/ui/core/qunit/odata/v4/lib/_V4MetadataConverter.qunit.js +3 -3
- package/test/sap/ui/core/qunit/opa/OpaPlugin.qunit.js +16 -0
- package/test/sap/ui/core/qunit/opa/_LogCollector.qunit.js +17 -9
- package/test/sap/ui/core/qunit/opa/actions/EnterText.qunit.js +51 -3
- package/test/sap/ui/core/qunit/opa/autowaiter/_cssAnimationWaiter.js +3 -3
- package/test/sap/ui/core/qunit/opa/autowaiter/_cssTransitionWaiter.js +3 -3
- package/test/sap/ui/core/qunit/opa/autowaiter/_jsAnimationWaiter.js +3 -3
- package/test/sap/ui/core/qunit/opa/autowaiter/_timeoutWaiter.js +11 -0
- package/test/sap/ui/core/qunit/opa/fixture/miniUI5Site.js +14 -8
- package/test/sap/ui/core/qunit/opa/fixture/uncaughtError.js +18 -12
- package/test/sap/ui/core/qunit/performance/BeaconRequest.qunit.js +18 -2
- package/test/sap/ui/core/qunit/resource/ResourceBinding.qunit.js +1 -0
- package/test/sap/ui/core/qunit/resource/ResourceModel.qunit.js +5 -4
- package/test/sap/ui/core/qunit/routing/async/Target.qunit.js +20 -18
- package/test/sap/ui/core/qunit/routing/async/Targets.qunit.js +1 -4
- package/test/sap/ui/core/qunit/routing/fixture/routingConfig/Component.js +2 -25
- package/test/sap/ui/core/qunit/routing/fixture/routingConfig/manifest.json +28 -0
- package/test/sap/ui/core/qunit/rule/misc/silentEventBus.qunit.js +1 -2
- package/test/sap/ui/core/qunit/testdata/libraries/scenario11/lib1/library.js +11 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib1/library-preload.js +3 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib1/library.js +3 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib2/library-preload.js +3 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib2/library.js +3 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib3/library-preload.js +2 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib3/library.js +2 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib5/library-preload.js +2 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib5/library.js +2 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib6/library-preload.js +2 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib6/library.js +2 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib8/library-preload.js +2 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib8/library.js +2 -1
- package/test/sap/ui/core/qunit/testdata/libraries/terminologies/integration/lib/library-preload.js +1 -1
- package/test/sap/ui/core/qunit/testdata/shortcutHints/Component.js +9 -0
- package/test/sap/ui/core/qunit/testdata/shortcutHints/RootView.controller.js +8 -0
- package/test/sap/ui/core/qunit/testdata/shortcutHints/RootView.view.xml +16 -0
- package/test/sap/ui/core/qunit/testdata/shortcutHints/lib/MyControl.js +27 -0
- package/test/sap/ui/core/qunit/testdata/shortcutHints/manifest.json +26 -0
- package/test/sap/ui/core/qunit/testdata/uilib-custom-theme-fallback/library.js +4 -5
- package/test/sap/ui/core/qunit/testdata/uilib-failing-css-import/library.js +5 -6
- package/test/sap/ui/core/qunit/testdata/xml-require/view/XMLTemplateProcessorAsync_require_expression.controller.js +2 -1
- package/test/sap/ui/core/qunit/testdata/xml-require/view/XMLTemplateProcessorAsync_require_expression.view.xml +18 -1
- package/test/sap/ui/core/qunit/testsuite.core.framework.qunit.js +3 -0
- package/test/sap/ui/core/qunit/testsuites/testsuite.control.framework.qunit.js +0 -4
- package/test/sap/ui/core/qunit/testsuites/testsuite.foundation.enablement.qunit.js +6 -1
- package/test/sap/ui/core/qunit/testsuites/testsuite.managed.object.qunit.js +4 -1
- package/test/sap/ui/core/qunit/testsuites/testsuite.modular.core.qunit.js +1 -1
- package/test/sap/ui/core/qunit/testsuites/testsuite.security.qunit.js +3 -9
- package/test/sap/ui/core/qunit/types/DataType.qunit.js +14 -3
- package/test/sap/ui/core/qunit/types/Date.qunit.js +3 -0
- package/test/sap/ui/core/qunit/types/DateFormat.qunit.js +391 -147
- package/test/sap/ui/core/qunit/types/DateFormatTimezones.qunit.js +32 -29
- package/test/sap/ui/core/qunit/types/DateInterval.qunit.js +7 -4
- package/test/sap/ui/core/qunit/types/FileSizeFormat.qunit.js +5 -1
- package/test/sap/ui/core/qunit/types/ListFormat.qunit.js +3 -0
- package/test/sap/ui/core/qunit/types/NumberFormat.qunit.js +4 -3
- package/test/sap/ui/core/qunit/types/NumberFormatCurrencies.qunit.js +5 -4
- package/test/sap/ui/core/qunit/types/NumberFormatCurrenciesTrailing.qunit.js +4 -3
- package/test/sap/ui/core/qunit/types/SimpleType.qunit.js +3 -0
- package/test/sap/ui/core/qunit/types/TimezoneUtil.qunit.js +23 -0
- package/test/sap/ui/core/qunit/types/Types.qunit.js +44 -10
- package/test/sap/ui/core/qunit/types/testsuite.types.qunit.js +3 -0
- package/test/sap/ui/core/qunit/util/InvisibleMessage.qunit.js +4 -4
- package/test/sap/ui/core/qunit/util/XMLPreprocessor.qunit.js +592 -83
- package/test/sap/ui/core/qunit/util/beforeBootstrap/jQuery.sap.FrameOptions-allowlist.js +7 -0
- package/test/sap/ui/core/qunit/util/beforeBootstrap/jQuery.sap.FrameOptions-frameOptions.js +7 -0
- package/test/sap/ui/core/qunit/{bootstrap/CfgFromGlobalObject.qunit.html → util/jQuery.sap.FrameOptions-meta-tag-override-mode.qunit.html} +7 -11
- package/test/sap/ui/core/qunit/util/jQuery.sap.FrameOptions-meta-tag-override-mode.qunit.js +3 -4
- package/test/sap/ui/core/qunit/util/jQuery.sap.FrameOptions-meta-tag-override-service.qunit.html +26 -0
- package/test/sap/ui/core/qunit/util/jQuery.sap.FrameOptions-meta-tag-override-service.qunit.js +3 -4
- package/test/sap/ui/core/qunit/{bootstrap/CfgDefaults.qunit.html → util/jQuery.sap.FrameOptions-meta-tag.qunit.html} +5 -8
- package/test/sap/ui/core/qunit/util/jQuery.sap.FrameOptions-meta-tag.qunit.js +3 -4
- package/test/sap/ui/core/qunit/util/jQuery.sap.Version.qunit.js +10 -10
- package/test/sap/ui/core/qunit/util/jquery.sap.logger.qunit.html +18 -0
- package/test/sap/ui/core/qunit/util/jquery.sap.resources.qunit.js +1 -1
- package/test/sap/ui/core/qunit/util/testsuite.util.qunit.js +1 -3
- package/test/sap/ui/core/qunit/xml/XMLListBinding.qunit.js +3 -0
- package/test/sap/ui/core/qunit/xml/XMLModel.qunit.js +3 -0
- package/test/sap/ui/core/qunit/xml/XMLPropertyBinding.qunit.js +3 -0
- package/test/sap/ui/core/qunit/xml/XMLTreeBinding.qunit.js +3 -0
- package/test/sap/ui/core/relnotes/changes-1.119.json +1 -12
- package/test/sap/ui/core/relnotes/changes-1.120.json +360 -0
- package/test/sap/ui/core/terminologies/App.controller.js +2 -3
- package/test/sap/ui/core/terminologies/main.js +2 -3
- package/test/sap/ui/test/qunit/TestUtils.qunit.js +3 -3
- package/src/sap/ui/core/ConfigTest.js +0 -17
- package/src/sap/ui/core/_ConfigurationProvider.js +0 -187
- package/test/sap/ui/core/ComponentExtensibility_CustomizingDisabled.html +0 -57
- package/test/sap/ui/core/qunit/bootstrap/CfgDefaults.qunit.js +0 -71
- package/test/sap/ui/core/qunit/bootstrap/CfgFromConfigAttribute.qunit.html +0 -29
- package/test/sap/ui/core/qunit/bootstrap/CfgFromConfigAttribute.qunit.js +0 -40
- package/test/sap/ui/core/qunit/bootstrap/CfgFromGlobalObject.beforeBootstrap.qunit.js +0 -20
- package/test/sap/ui/core/qunit/bootstrap/CfgFromGlobalObject.qunit.js +0 -40
- package/test/sap/ui/core/qunit/bootstrap/CfgFromTagAttributes.qunit.html +0 -42
- package/test/sap/ui/core/qunit/bootstrap/CfgFromTagAttributes.qunit.js +0 -49
- package/test/sap/ui/core/qunit/util/BusyIndicatorNoCore.qunit.js +0 -96
- package/test/sap/ui/core/qunit/util/beforeBootstrap/jQuery.sap.FrameOptions-meta-tag.js +0 -10
- package/test/sap/ui/core/samples/mvc/JSONView.html +0 -65
package/src/sap/ui/core/Core.js
CHANGED
|
@@ -6,78 +6,130 @@
|
|
|
6
6
|
|
|
7
7
|
// Provides the real core class sap.ui.core.Core of SAPUI5
|
|
8
8
|
sap.ui.define([
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
'./ControlBehavior',
|
|
24
|
-
'./UIArea',
|
|
25
|
-
'./Messaging',
|
|
26
|
-
'./StaticArea',
|
|
27
|
-
"sap/ui/core/Theming",
|
|
28
|
-
"sap/base/Log",
|
|
29
|
-
"sap/ui/performance/Measurement",
|
|
30
|
-
"sap/ui/security/FrameOptions",
|
|
9
|
+
"./AnimationMode",
|
|
10
|
+
"./Component",
|
|
11
|
+
"./Configuration",
|
|
12
|
+
"./ControlBehavior",
|
|
13
|
+
"./Element",
|
|
14
|
+
"./ElementMetadata",
|
|
15
|
+
"./Lib",
|
|
16
|
+
"./Rendering",
|
|
17
|
+
"./RenderManager",
|
|
18
|
+
"./UIArea",
|
|
19
|
+
"./Messaging",
|
|
20
|
+
"./StaticArea",
|
|
21
|
+
"./Supportability",
|
|
22
|
+
"./Theming",
|
|
31
23
|
"sap/base/assert",
|
|
24
|
+
"sap/base/config",
|
|
25
|
+
"sap/base/Event",
|
|
26
|
+
"sap/base/Log",
|
|
32
27
|
"sap/base/util/Deferred",
|
|
28
|
+
"sap/base/util/each",
|
|
29
|
+
"sap/base/util/isEmptyObject",
|
|
33
30
|
"sap/base/util/ObjectPath",
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
31
|
+
"sap/base/util/Version",
|
|
32
|
+
"sap/ui/Device",
|
|
33
|
+
"sap/ui/VersionInfo",
|
|
34
|
+
"sap/ui/base/EventProvider",
|
|
35
|
+
"sap/ui/base/Interface",
|
|
36
|
+
"sap/ui/base/ManagedObject",
|
|
37
|
+
"sap/ui/base/Object",
|
|
38
|
+
"sap/ui/base/syncXHRFix",
|
|
39
|
+
"sap/ui/core/support/Hotkeys",
|
|
40
|
+
"sap/ui/dom/getComputedStyleFix",
|
|
41
|
+
"sap/ui/performance/Measurement",
|
|
42
|
+
"sap/ui/performance/trace/initTraces",
|
|
43
|
+
"sap/ui/security/FrameOptions",
|
|
44
|
+
"sap/ui/security/Security",
|
|
45
|
+
"sap/ui/test/RecorderHotkeyListener",
|
|
46
|
+
"sap/ui/thirdparty/jquery",
|
|
47
|
+
"jquery.sap.global",
|
|
48
|
+
"sap/ui/events/PasteEventFix", // side effect: activates paste event fix
|
|
49
|
+
"sap/ui/events/jquery/EventSimulation", // side effect: install event simulation
|
|
50
|
+
"sap/ui/thirdparty/URI", // side effect: make global URI available
|
|
51
|
+
"sap/ui/thirdparty/jqueryui/jquery-ui-position" // side effect: jQuery.fn.position
|
|
41
52
|
],
|
|
42
53
|
function(
|
|
43
|
-
jQuery,
|
|
44
|
-
Device,
|
|
45
|
-
EventProvider,
|
|
46
|
-
Interface,
|
|
47
|
-
BaseObject,
|
|
48
|
-
ManagedObject,
|
|
49
54
|
AnimationMode,
|
|
50
55
|
Component,
|
|
51
56
|
Configuration,
|
|
57
|
+
ControlBehavior,
|
|
52
58
|
Element,
|
|
53
59
|
ElementMetadata,
|
|
54
60
|
Library,
|
|
55
61
|
Rendering,
|
|
56
62
|
RenderManager,
|
|
57
|
-
ControlBehavior,
|
|
58
63
|
UIArea,
|
|
59
64
|
Messaging,
|
|
60
65
|
StaticArea,
|
|
66
|
+
Supportability,
|
|
61
67
|
Theming,
|
|
62
|
-
Log,
|
|
63
|
-
Measurement,
|
|
64
|
-
FrameOptions,
|
|
65
68
|
assert,
|
|
69
|
+
BaseConfig,
|
|
70
|
+
BaseEvent,
|
|
71
|
+
Log,
|
|
66
72
|
Deferred,
|
|
67
|
-
ObjectPath,
|
|
68
|
-
initTraces,
|
|
69
|
-
isEmptyObject,
|
|
70
73
|
each,
|
|
74
|
+
isEmptyObject,
|
|
75
|
+
ObjectPath,
|
|
76
|
+
Version,
|
|
77
|
+
Device,
|
|
71
78
|
VersionInfo,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
79
|
+
EventProvider,
|
|
80
|
+
Interface,
|
|
81
|
+
ManagedObject,
|
|
82
|
+
BaseObject,
|
|
83
|
+
syncXHRFix,
|
|
84
|
+
Hotkeys,
|
|
85
|
+
getComputedStyleFix,
|
|
86
|
+
Measurement,
|
|
87
|
+
initTraces,
|
|
88
|
+
FrameOptions,
|
|
89
|
+
Security,
|
|
90
|
+
RecorderHotkeyListener,
|
|
91
|
+
jQuery
|
|
92
|
+
/* jQuery.sap, PasteEventFix, EventSimulation, URI, jquery-ui-position */
|
|
75
93
|
) {
|
|
76
94
|
|
|
77
95
|
"use strict";
|
|
78
96
|
|
|
79
97
|
var oCore;
|
|
80
98
|
|
|
99
|
+
// getComputedStyle polyfill + syncXHR fix for firefox
|
|
100
|
+
if ( Device.browser.firefox ) {
|
|
101
|
+
getComputedStyleFix();
|
|
102
|
+
syncXHRFix();
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
if (BaseConfig.get({
|
|
106
|
+
name: "sapUiNoConflict",
|
|
107
|
+
type: BaseConfig.Type.Boolean,
|
|
108
|
+
freeze: true
|
|
109
|
+
})){
|
|
110
|
+
jQuery.noConflict();
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
const oJQVersion = Version(jQuery.fn.jquery);
|
|
115
|
+
if ( oJQVersion.compareTo("3.6.0") != 0 ) {
|
|
116
|
+
// if the loaded jQuery version isn't SAPUI5's default version -> notify
|
|
117
|
+
// the application
|
|
118
|
+
Log.warning("SAPUI5's default jQuery version is 3.6.0; current version is " + jQuery.fn.jquery + ". Please note that we only support version 3.6.0.");
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
sap.ui.loader._.logger = Log.getLogger("sap.ui.ModuleSystem",
|
|
122
|
+
BaseConfig.get({
|
|
123
|
+
name: "sapUiXxDebugModuleLoading",
|
|
124
|
+
type: BaseConfig.Type.Boolean,
|
|
125
|
+
external: true,
|
|
126
|
+
freeze: true
|
|
127
|
+
}) ? Log.Level.DEBUG : Math.min(Log.getLevel(), Log.Level.INFO));
|
|
128
|
+
|
|
129
|
+
//init Hotkeys for support tools
|
|
130
|
+
Hotkeys.init();
|
|
131
|
+
RecorderHotkeyListener.init();
|
|
132
|
+
|
|
81
133
|
/**
|
|
82
134
|
* when the Core module has been executed before, don't execute it again
|
|
83
135
|
* @deprecated as of version 1.119
|
|
@@ -95,6 +147,70 @@ sap.ui.define([
|
|
|
95
147
|
*/
|
|
96
148
|
var _oEventProvider;
|
|
97
149
|
|
|
150
|
+
/**
|
|
151
|
+
* Execute configured init module
|
|
152
|
+
*/
|
|
153
|
+
var _executeInitModule = function() {
|
|
154
|
+
var sOnInit = BaseConfig.get({
|
|
155
|
+
name: "sapUiOnInit",
|
|
156
|
+
type: BaseConfig.Type.String
|
|
157
|
+
});
|
|
158
|
+
if (sOnInit) {
|
|
159
|
+
// determine onInit being a module name prefixed via module or a global name
|
|
160
|
+
var aResult = /^module\:((?:[_$.\-a-zA-Z0-9]+\/)*[_$.\-a-zA-Z0-9]+)$/.exec(sOnInit);
|
|
161
|
+
if (aResult && aResult[1]) {
|
|
162
|
+
// ensure that the require is done async and the Core is finally booted!
|
|
163
|
+
setTimeout(sap.ui.require.bind(null, [aResult[1]]), 0);
|
|
164
|
+
} else {
|
|
165
|
+
throw Error("Invalid init module " + sOnInit + " provided via config option 'sapUiOnInit'");
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* @deprecated As of Version 1.120
|
|
172
|
+
*/
|
|
173
|
+
function _executeOnInit() {
|
|
174
|
+
var vOnInit = BaseConfig.get({
|
|
175
|
+
name: "sapUiOnInit",
|
|
176
|
+
type: BaseConfig.Type.Code,
|
|
177
|
+
defaultValue: BaseConfig.get({
|
|
178
|
+
name: "sapUiEvtOninit",
|
|
179
|
+
type: BaseConfig.Type.Code
|
|
180
|
+
})
|
|
181
|
+
});
|
|
182
|
+
|
|
183
|
+
// execute a configured init hook
|
|
184
|
+
if ( vOnInit ) {
|
|
185
|
+
if ( typeof vOnInit === "function" ) {
|
|
186
|
+
vOnInit();
|
|
187
|
+
} else if (typeof vOnInit === "string") {
|
|
188
|
+
// determine onInit being a module name prefixed via module or a global name
|
|
189
|
+
var aResult = /^module\:((?:[_$.\-a-zA-Z0-9]+\/)*[_$.\-a-zA-Z0-9]+)$/.exec(vOnInit);
|
|
190
|
+
if (aResult && aResult[1]) {
|
|
191
|
+
// ensure that the require is done async and the Core is finally booted!
|
|
192
|
+
setTimeout(sap.ui.require.bind(sap.ui, [aResult[1]]), 0);
|
|
193
|
+
} else {
|
|
194
|
+
// lookup the name specified in onInit and try to call the function directly
|
|
195
|
+
var fn = ObjectPath.get(vOnInit);
|
|
196
|
+
if (typeof fn === "function") {
|
|
197
|
+
fn();
|
|
198
|
+
} else {
|
|
199
|
+
Log.warning("[Deprecated] Do not use inline JavaScript code with the oninit attribute."
|
|
200
|
+
+ " Use the module:... syntax or the name of a global function");
|
|
201
|
+
/*
|
|
202
|
+
* In contrast to eval(), window.eval() executes the given string
|
|
203
|
+
* in the global context, without closure variables.
|
|
204
|
+
* See http://www.ecma-international.org/ecma-262/5.1/#sec-10.4.2
|
|
205
|
+
*/
|
|
206
|
+
// eslint-disable-next-line no-eval
|
|
207
|
+
window.eval(vOnInit); // csp-ignore-legacy-api
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
98
214
|
/**
|
|
99
215
|
* Returns the waiting behavior for the initial theme loading.
|
|
100
216
|
* Possible values are:
|
|
@@ -132,6 +248,13 @@ sap.ui.define([
|
|
|
132
248
|
return sWaitForTheme;
|
|
133
249
|
}
|
|
134
250
|
|
|
251
|
+
function ui5ToRJS(sName) {
|
|
252
|
+
if ( /^jquery\.sap\./.test(sName) ) {
|
|
253
|
+
return sName;
|
|
254
|
+
}
|
|
255
|
+
return sName.replace(/\./g, "/");
|
|
256
|
+
}
|
|
257
|
+
|
|
135
258
|
/*
|
|
136
259
|
* Internal class that can help to synchronize a set of asynchronous tasks.
|
|
137
260
|
* Each task must be registered in the sync point by calling startTask with
|
|
@@ -235,7 +358,7 @@ sap.ui.define([
|
|
|
235
358
|
* @extends sap.ui.base.Object
|
|
236
359
|
* @final
|
|
237
360
|
* @author SAP SE
|
|
238
|
-
* @version 1.
|
|
361
|
+
* @version 1.120.0
|
|
239
362
|
* @alias sap.ui.core.Core
|
|
240
363
|
* @public
|
|
241
364
|
* @hideconstructor
|
|
@@ -243,6 +366,8 @@ sap.ui.define([
|
|
|
243
366
|
var Core = BaseObject.extend("sap.ui.core.Core", /** @lends sap.ui.core.Core.prototype */ {
|
|
244
367
|
constructor : function() {
|
|
245
368
|
|
|
369
|
+
BaseObject.call(this);
|
|
370
|
+
|
|
246
371
|
var that = this,
|
|
247
372
|
METHOD = "sap.ui.core.Core";
|
|
248
373
|
|
|
@@ -254,8 +379,6 @@ sap.ui.define([
|
|
|
254
379
|
return oCore;
|
|
255
380
|
}
|
|
256
381
|
|
|
257
|
-
BaseObject.call(this);
|
|
258
|
-
|
|
259
382
|
_oEventProvider = new EventProvider();
|
|
260
383
|
|
|
261
384
|
/**
|
|
@@ -351,6 +474,37 @@ sap.ui.define([
|
|
|
351
474
|
// freeze Config
|
|
352
475
|
var GlobalConfigurationProvider = sap.ui.require("sap/base/config/GlobalConfigurationProvider");
|
|
353
476
|
GlobalConfigurationProvider.freeze();
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* Legacy normalization of config parameters
|
|
480
|
+
* @deprecated As of Version 1.120.0
|
|
481
|
+
*/
|
|
482
|
+
(() => {
|
|
483
|
+
const o = globalThis["sap-ui-config"];
|
|
484
|
+
for (const i in o) {
|
|
485
|
+
const v = o[i];
|
|
486
|
+
const il = i.toLowerCase();
|
|
487
|
+
if ( !Object.hasOwn(o, il) ) {
|
|
488
|
+
o[il] = v;
|
|
489
|
+
delete o[i];
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
})();
|
|
493
|
+
|
|
494
|
+
// register resourceRoots
|
|
495
|
+
const paths = {};
|
|
496
|
+
const oResourceRoots = BaseConfig.get({
|
|
497
|
+
name: "sapUiResourceRoots",
|
|
498
|
+
type: BaseConfig.Type.Object
|
|
499
|
+
}) ?? {};
|
|
500
|
+
for (const n in oResourceRoots) {
|
|
501
|
+
paths[ui5ToRJS(n)] = oResourceRoots[n] || ".";
|
|
502
|
+
}
|
|
503
|
+
sap.ui.loader.config({paths: paths});
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* @deprecated As of Version 1.120
|
|
507
|
+
*/
|
|
354
508
|
Configuration.setCore(this);
|
|
355
509
|
|
|
356
510
|
/**
|
|
@@ -368,36 +522,90 @@ sap.ui.define([
|
|
|
368
522
|
}.bind(this))();
|
|
369
523
|
|
|
370
524
|
// initialize frameOptions script (anti-clickjacking, etc.)
|
|
371
|
-
var oFrameOptionsConfig =
|
|
372
|
-
|
|
373
|
-
|
|
525
|
+
var oFrameOptionsConfig = BaseConfig.get({
|
|
526
|
+
name: "sapUiFrameOptionsConfig",
|
|
527
|
+
type: BaseConfig.Type.Object
|
|
528
|
+
});
|
|
529
|
+
oFrameOptionsConfig.mode = Security.getFrameOptions();
|
|
530
|
+
oFrameOptionsConfig.allowlistService = Security.getAllowlistService();
|
|
374
531
|
this.oFrameOptions = new FrameOptions(oFrameOptionsConfig);
|
|
375
532
|
|
|
376
533
|
// let Element and Component get friend access to the respective register/deregister methods
|
|
377
534
|
this._grantFriendAccess();
|
|
378
535
|
|
|
379
|
-
// handle modules
|
|
380
|
-
|
|
381
|
-
|
|
536
|
+
// handle libraries & modules
|
|
537
|
+
this.aModules = BaseConfig.get({
|
|
538
|
+
name: "sapUiModules",
|
|
539
|
+
type: BaseConfig.Type.StringArray
|
|
540
|
+
}) ?? [];
|
|
541
|
+
this.aLibs = BaseConfig.get({
|
|
542
|
+
name: "sapUiLibs",
|
|
543
|
+
type: BaseConfig.Type.StringArray
|
|
544
|
+
}) ?? [];
|
|
545
|
+
|
|
546
|
+
// as modules could also contain libraries move it to aLibs!
|
|
547
|
+
this.aModules = this.aModules.filter((module) => {
|
|
548
|
+
const m = module.match(/^(.*)\.library$/);
|
|
549
|
+
if (m) {
|
|
550
|
+
this.aLibs.push(m[1]);
|
|
551
|
+
} else {
|
|
552
|
+
return module;
|
|
553
|
+
}
|
|
554
|
+
});
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* in case the flexibilityServices configuration was set to a non-empty,
|
|
558
|
+
* non-default value, sap.ui.fl becomes mandatoryif not overruled by
|
|
559
|
+
* 'xx-skipAutomaticFlLibLoading'.
|
|
560
|
+
* @deprecated As of Version 1.120.0
|
|
561
|
+
*/
|
|
562
|
+
(() => {
|
|
563
|
+
const sFlexDefault = "/sap/bc/lrep";
|
|
564
|
+
const vFlexibilityServices = BaseConfig.get({
|
|
565
|
+
name: "sapUiFlexibilityServices",
|
|
566
|
+
type: (value) => {
|
|
567
|
+
return value;
|
|
568
|
+
},
|
|
569
|
+
external: true,
|
|
570
|
+
defaultValue: sFlexDefault
|
|
571
|
+
});
|
|
572
|
+
const bXxSkipAutomaticFlLibLoading = BaseConfig.get({
|
|
573
|
+
name: "sapUiXxSkipAutomaticFlLibLoading",
|
|
574
|
+
type: BaseConfig.Type.Boolean,
|
|
575
|
+
external: true
|
|
576
|
+
});
|
|
577
|
+
if (vFlexibilityServices
|
|
578
|
+
&& vFlexibilityServices !== sFlexDefault
|
|
579
|
+
&& !bXxSkipAutomaticFlLibLoading
|
|
580
|
+
&& !this.aLibs.includes("sap.ui.fl")) {
|
|
581
|
+
|
|
582
|
+
this.aLibs.push("sap.ui.fl");
|
|
583
|
+
}
|
|
584
|
+
})();
|
|
585
|
+
|
|
586
|
+
if (Supportability.isDebugModeEnabled()) {
|
|
382
587
|
// add debug module if configured
|
|
383
|
-
aModules.unshift("sap.ui.debug.DebugEnv");
|
|
588
|
+
this.aModules.unshift("sap.ui.debug.DebugEnv");
|
|
384
589
|
}
|
|
385
590
|
// enforce the core library as the first loaded module
|
|
386
|
-
var i =
|
|
591
|
+
var i = this.aLibs.indexOf("sap.ui.core");
|
|
387
592
|
if ( i != 0 ) {
|
|
388
593
|
if ( i > 0 ) {
|
|
389
|
-
|
|
594
|
+
this.aLibs.splice(i,1);
|
|
390
595
|
}
|
|
391
|
-
|
|
596
|
+
this.aLibs.unshift("sap.ui.core");
|
|
392
597
|
}
|
|
393
598
|
|
|
394
|
-
|
|
395
|
-
|
|
599
|
+
/**
|
|
600
|
+
* enable LessSupport if specified in configuration
|
|
601
|
+
* @deprecated As of Version 1.120
|
|
602
|
+
*/
|
|
603
|
+
if (BaseConfig.get({name: "sapUiXxLesssupport", type: BaseConfig.Type.Boolean}) && !this.aModules.includes("sap.ui.core.plugin.LessSupport")) {
|
|
396
604
|
Log.info("Including LessSupport into declared modules");
|
|
397
|
-
aModules.push("sap.ui.core.plugin.LessSupport");
|
|
605
|
+
this.aModules.push("sap.ui.core.plugin.LessSupport");
|
|
398
606
|
}
|
|
399
607
|
|
|
400
|
-
var sPreloadMode =
|
|
608
|
+
var sPreloadMode = Library.getPreloadMode();
|
|
401
609
|
// This flag controls the core initialization flow.
|
|
402
610
|
// We can switch to async when an async preload is used or the ui5loader
|
|
403
611
|
// is in async mode. The latter might also happen for debug scenarios
|
|
@@ -408,7 +616,9 @@ sap.ui.define([
|
|
|
408
616
|
document.documentElement.classList.add("sapUiTheme-" + Theming.getTheme());
|
|
409
617
|
Log.info("Declared theme " + Theming.getTheme(), null, METHOD);
|
|
410
618
|
|
|
411
|
-
Log.info("Declared modules: " + aModules, METHOD);
|
|
619
|
+
Log.info("Declared modules: " + this.aModules, METHOD);
|
|
620
|
+
|
|
621
|
+
Log.info("Declared libraries: " + this.aLibs, METHOD);
|
|
412
622
|
|
|
413
623
|
this._setupContentDirection();
|
|
414
624
|
|
|
@@ -519,16 +729,7 @@ sap.ui.define([
|
|
|
519
729
|
}
|
|
520
730
|
|
|
521
731
|
if ( sPreloadMode === "sync" || sPreloadMode === "async" ) {
|
|
522
|
-
|
|
523
|
-
var aLibs = that.aModules.reduce(function(aResult, sModule) {
|
|
524
|
-
var iPos = sModule.search(/\.library$/);
|
|
525
|
-
if ( iPos >= 0 ) {
|
|
526
|
-
aResult.push(sModule.slice(0, iPos));
|
|
527
|
-
}
|
|
528
|
-
return aResult;
|
|
529
|
-
}, []);
|
|
530
|
-
|
|
531
|
-
var pLibraryPreloaded = Library._load(aLibs, {
|
|
732
|
+
var pLibraryPreloaded = Library._load(that.aLibs, {
|
|
532
733
|
sync: !bAsync,
|
|
533
734
|
preloadOnly: true
|
|
534
735
|
});
|
|
@@ -544,29 +745,40 @@ sap.ui.define([
|
|
|
544
745
|
}
|
|
545
746
|
|
|
546
747
|
// initializes the application cachebuster mechanism if configured
|
|
547
|
-
var aACBConfig =
|
|
748
|
+
var aACBConfig = BaseConfig.get({
|
|
749
|
+
name: "sapUiAppCacheBuster",
|
|
750
|
+
type: BaseConfig.Type.StringArray,
|
|
751
|
+
external: true,
|
|
752
|
+
freeze: true
|
|
753
|
+
});
|
|
548
754
|
if (aACBConfig && aACBConfig.length > 0) {
|
|
549
755
|
if ( bAsync ) {
|
|
550
756
|
var iLoadACBTask = oSyncPoint2.startTask("require AppCachebuster");
|
|
551
757
|
sap.ui.require(["sap/ui/core/AppCacheBuster"], function(AppCacheBuster) {
|
|
552
|
-
AppCacheBuster.boot(oSyncPoint2);
|
|
758
|
+
AppCacheBuster.boot(oSyncPoint2, aACBConfig);
|
|
553
759
|
// finish the task only after ACB had a chance to create its own task(s)
|
|
554
760
|
oSyncPoint2.finishTask(iLoadACBTask);
|
|
555
761
|
});
|
|
556
|
-
}
|
|
762
|
+
}
|
|
763
|
+
/**
|
|
764
|
+
* Sync path is deprecated
|
|
765
|
+
*
|
|
766
|
+
* @deprecated as of 1.120.0
|
|
767
|
+
*/
|
|
768
|
+
if (!bAsync) {
|
|
557
769
|
var AppCacheBuster = sap.ui.requireSync('sap/ui/core/AppCacheBuster'); // legacy-relevant: Synchronous path
|
|
558
|
-
AppCacheBuster.boot(oSyncPoint2);
|
|
770
|
+
AppCacheBuster.boot(oSyncPoint2, aACBConfig);
|
|
559
771
|
}
|
|
560
772
|
}
|
|
561
773
|
|
|
562
774
|
// Initialize support info stack
|
|
563
|
-
if (
|
|
775
|
+
if (Supportability.getSupportSettings() !== null) {
|
|
564
776
|
var iSupportInfoTask = oSyncPoint2.startTask("support info script");
|
|
565
777
|
|
|
566
778
|
var fnCallbackSupportBootstrapInfo = function(Support, Bootstrap) {
|
|
567
|
-
Support.initializeSupportMode(
|
|
779
|
+
Support.initializeSupportMode(Supportability.getSupportSettings(), bAsync);
|
|
568
780
|
|
|
569
|
-
Bootstrap.initSupportRules(
|
|
781
|
+
Bootstrap.initSupportRules(Supportability.getSupportSettings());
|
|
570
782
|
|
|
571
783
|
oSyncPoint2.finishTask(iSupportInfoTask);
|
|
572
784
|
};
|
|
@@ -590,11 +802,11 @@ sap.ui.define([
|
|
|
590
802
|
}
|
|
591
803
|
|
|
592
804
|
// Initialize test tools
|
|
593
|
-
if (
|
|
805
|
+
if (Supportability.getTestRecorderSettings() !== null) {
|
|
594
806
|
var iTestRecorderTask = oSyncPoint2.startTask("test recorder script");
|
|
595
807
|
|
|
596
808
|
var fnCallbackTestRecorder = function (Bootstrap) {
|
|
597
|
-
Bootstrap.init(
|
|
809
|
+
Bootstrap.init(Supportability.getTestRecorderSettings());
|
|
598
810
|
oSyncPoint2.finishTask(iTestRecorderTask);
|
|
599
811
|
};
|
|
600
812
|
|
|
@@ -626,16 +838,15 @@ sap.ui.define([
|
|
|
626
838
|
// a set of private API is exposed for sap.ui.core restricted usage
|
|
627
839
|
publicMethods: [
|
|
628
840
|
// @public
|
|
629
|
-
// -
|
|
630
|
-
"
|
|
841
|
+
// - Ready Promise
|
|
842
|
+
"ready",
|
|
631
843
|
|
|
632
844
|
// @private, @ui5-restricted sap.ui.core
|
|
633
845
|
// - Init
|
|
634
846
|
"boot",
|
|
635
|
-
// - Ready Promise
|
|
636
|
-
"ready",
|
|
637
847
|
|
|
638
848
|
// @deprecated
|
|
849
|
+
"getConfiguration",
|
|
639
850
|
"isMobile",
|
|
640
851
|
// - Init & Plugins
|
|
641
852
|
"isInitialized","attachInit",
|
|
@@ -856,38 +1067,30 @@ sap.ui.define([
|
|
|
856
1067
|
};
|
|
857
1068
|
});
|
|
858
1069
|
|
|
1070
|
+
this.aLibs.forEach( function(lib) {
|
|
1071
|
+
Library._load(lib, {
|
|
1072
|
+
sync: true
|
|
1073
|
+
});
|
|
1074
|
+
});
|
|
859
1075
|
this.aModules.forEach( function(mod) {
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
Library._load(m[1], {
|
|
863
|
-
sync: true
|
|
864
|
-
});
|
|
865
|
-
} else {
|
|
866
|
-
// data-sap-ui-modules might contain legacy jquery.sap.* modules
|
|
867
|
-
sap.ui.requireSync( /^jquery\.sap\./.test(mod) ? mod : mod.replace(/\./g, "/")); // legacy-relevant: Sync loading of modules and libraries
|
|
868
|
-
}
|
|
1076
|
+
// data-sap-ui-modules might contain legacy jquery.sap.* modules
|
|
1077
|
+
sap.ui.requireSync( /^jquery\.sap\./.test(mod) ? mod : mod.replace(/\./g, "/")); // legacy-relevant: Sync loading of modules and libraries
|
|
869
1078
|
});
|
|
870
1079
|
|
|
871
1080
|
fnCallback();
|
|
872
1081
|
};
|
|
873
1082
|
|
|
874
1083
|
Core.prototype._requireModulesAsync = function() {
|
|
875
|
-
var
|
|
876
|
-
aModules = [];
|
|
1084
|
+
var aModules = [];
|
|
877
1085
|
|
|
878
1086
|
this.aModules.forEach(function(sModule) {
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
aLibs.push(m[1]);
|
|
882
|
-
} else {
|
|
883
|
-
// data-sap-ui-modules might contain legacy jquery.sap.* modules
|
|
884
|
-
aModules.push(/^jquery\.sap\./.test(sModule) ? sModule : sModule.replace(/\./g, "/"));
|
|
885
|
-
}
|
|
1087
|
+
// data-sap-ui-modules might contain legacy jquery.sap.* modules
|
|
1088
|
+
aModules.push(/^jquery\.sap\./.test(sModule) ? sModule : sModule.replace(/\./g, "/"));
|
|
886
1089
|
});
|
|
887
1090
|
|
|
888
1091
|
// TODO: require libs and modules in parallel or define a sequence?
|
|
889
1092
|
return Promise.all([
|
|
890
|
-
Library._load(aLibs),
|
|
1093
|
+
Library._load(this.aLibs),
|
|
891
1094
|
new Promise(function(resolve) {
|
|
892
1095
|
sap.ui.require(aModules, function() {
|
|
893
1096
|
resolve(Array.prototype.slice.call(arguments));
|
|
@@ -1007,6 +1210,9 @@ sap.ui.define([
|
|
|
1007
1210
|
|
|
1008
1211
|
Measurement.end("coreInit");
|
|
1009
1212
|
|
|
1213
|
+
/**
|
|
1214
|
+
* @deprecated As of Version 1.120.
|
|
1215
|
+
*/
|
|
1010
1216
|
this._setBodyAccessibilityRole();
|
|
1011
1217
|
|
|
1012
1218
|
var sWaitForTheme = getWaitForTheme();
|
|
@@ -1036,47 +1242,6 @@ sap.ui.define([
|
|
|
1036
1242
|
}
|
|
1037
1243
|
};
|
|
1038
1244
|
|
|
1039
|
-
Core.prototype._executeOnInit = function() {
|
|
1040
|
-
var vOnInit = BaseConfig.get({
|
|
1041
|
-
name: "sapUiOnInit",
|
|
1042
|
-
type: BaseConfig.Type.Code,
|
|
1043
|
-
defaultValue: BaseConfig.get({
|
|
1044
|
-
name: "sapUiEvtOninit",
|
|
1045
|
-
type: BaseConfig.Type.Code
|
|
1046
|
-
})
|
|
1047
|
-
});
|
|
1048
|
-
|
|
1049
|
-
// execute a configured init hook
|
|
1050
|
-
if ( vOnInit ) {
|
|
1051
|
-
if ( typeof vOnInit === "function" ) {
|
|
1052
|
-
vOnInit();
|
|
1053
|
-
} else if (typeof vOnInit === "string") {
|
|
1054
|
-
// determine onInit being a module name prefixed via module or a global name
|
|
1055
|
-
var aResult = /^module\:((?:[_$.\-a-zA-Z0-9]+\/)*[_$.\-a-zA-Z0-9]+)$/.exec(vOnInit);
|
|
1056
|
-
if (aResult && aResult[1]) {
|
|
1057
|
-
// ensure that the require is done async and the Core is finally booted!
|
|
1058
|
-
setTimeout(sap.ui.require.bind(sap.ui, [aResult[1]]), 0);
|
|
1059
|
-
} else {
|
|
1060
|
-
// lookup the name specified in onInit and try to call the function directly
|
|
1061
|
-
var fn = ObjectPath.get(vOnInit);
|
|
1062
|
-
if (typeof fn === "function") {
|
|
1063
|
-
fn();
|
|
1064
|
-
} else {
|
|
1065
|
-
Log.warning("[Deprecated] Do not use inline JavaScript code with the oninit attribute."
|
|
1066
|
-
+ " Use the module:... syntax or the name of a global function");
|
|
1067
|
-
/*
|
|
1068
|
-
* In contrast to eval(), window.eval() executes the given string
|
|
1069
|
-
* in the global context, without closure variables.
|
|
1070
|
-
* See http://www.ecma-international.org/ecma-262/5.1/#sec-10.4.2
|
|
1071
|
-
*/
|
|
1072
|
-
// eslint-disable-next-line no-eval
|
|
1073
|
-
window.eval(vOnInit); // csp-ignore-legacy-api
|
|
1074
|
-
}
|
|
1075
|
-
}
|
|
1076
|
-
}
|
|
1077
|
-
}
|
|
1078
|
-
};
|
|
1079
|
-
|
|
1080
1245
|
/**
|
|
1081
1246
|
* Creates a "rootComponent" or "sap.ui.app.Application".
|
|
1082
1247
|
* Both concepts are deprecated.
|
|
@@ -1134,18 +1299,21 @@ sap.ui.define([
|
|
|
1134
1299
|
var oClass = ObjectPath.get(sApplication);
|
|
1135
1300
|
assert(oClass !== undefined, "The specified application \"" + sApplication + "\" could not be found!");
|
|
1136
1301
|
var oApplication = new oClass();
|
|
1137
|
-
assert(BaseObject.
|
|
1302
|
+
assert(BaseObject.isObjectA(oApplication, 'sap.ui.app.Application'), "The specified application \"" + sApplication + "\" must be an instance of sap.ui.app.Application!");
|
|
1138
1303
|
|
|
1139
1304
|
}
|
|
1140
1305
|
|
|
1141
1306
|
}
|
|
1142
1307
|
};
|
|
1143
1308
|
|
|
1309
|
+
/**
|
|
1310
|
+
* @deprecated As of Version 1.120.
|
|
1311
|
+
*/
|
|
1144
1312
|
Core.prototype._setBodyAccessibilityRole = function() {
|
|
1145
1313
|
var body = document.body;
|
|
1146
1314
|
|
|
1147
1315
|
//Add ARIA role 'application'
|
|
1148
|
-
if (
|
|
1316
|
+
if (ControlBehavior.isAccessibilityEnabled() && Configuration.getAutoAriaBodyRole() && !body.getAttribute("role")) {
|
|
1149
1317
|
body.setAttribute("role", "application");
|
|
1150
1318
|
}
|
|
1151
1319
|
};
|
|
@@ -1164,7 +1332,14 @@ sap.ui.define([
|
|
|
1164
1332
|
this.startPlugins();
|
|
1165
1333
|
Log.info("Plugins started",null,METHOD);
|
|
1166
1334
|
|
|
1167
|
-
|
|
1335
|
+
/**
|
|
1336
|
+
* @deprecated As ofVersion 1.120
|
|
1337
|
+
*/
|
|
1338
|
+
_executeInitModule = _executeOnInit;
|
|
1339
|
+
_executeInitModule();
|
|
1340
|
+
/**
|
|
1341
|
+
* @deprecated As of Version 1.120.
|
|
1342
|
+
*/
|
|
1168
1343
|
this._setupRootComponent(); // @legacy-relevant: private API for 2 deprecated concepts "rootComponent" & "sap.ui.app.Application"
|
|
1169
1344
|
this.pReady.resolve();
|
|
1170
1345
|
this.bReady = true;
|
|
@@ -1293,6 +1468,7 @@ sap.ui.define([
|
|
|
1293
1468
|
*
|
|
1294
1469
|
* @return {sap.ui.core.Configuration} the Configuration of the current Core.
|
|
1295
1470
|
* @public
|
|
1471
|
+
* @deprecated As of Version 1.120. Please see {@link sap.ui.core.Configuration Configuration} for the corrsponding replacements.
|
|
1296
1472
|
*/
|
|
1297
1473
|
Core.prototype.getConfiguration = function () {
|
|
1298
1474
|
return Configuration;
|
|
@@ -1783,7 +1959,7 @@ sap.ui.define([
|
|
|
1783
1959
|
|
|
1784
1960
|
function placeControlAt(oDomRef, oControl) {
|
|
1785
1961
|
assert(typeof oDomRef === "string" || typeof oDomRef === "object", "oDomRef must be a string or object");
|
|
1786
|
-
assert(oControl instanceof Interface || BaseObject.
|
|
1962
|
+
assert(oControl instanceof Interface || BaseObject.isObjectA(oControl, "sap.ui.core.Control"), "oControl must be a Control or Interface");
|
|
1787
1963
|
|
|
1788
1964
|
if (oControl) {
|
|
1789
1965
|
oControl.placeAt(oDomRef, "only");
|
|
@@ -2559,7 +2735,7 @@ sap.ui.define([
|
|
|
2559
2735
|
* @deprecated since 1.118. Please use {@link sap.ui.base.ManagedObject#setModel ManagedObject#setModel} instead.
|
|
2560
2736
|
*/
|
|
2561
2737
|
Core.prototype.setModel = function(oModel, sName) {
|
|
2562
|
-
assert(oModel == null || BaseObject.
|
|
2738
|
+
assert(oModel == null || BaseObject.isObjectA(oModel, 'sap.ui.model.Model'), "oModel must be an instance of sap.ui.model.Model, null or undefined");
|
|
2563
2739
|
assert(sName === undefined || (typeof sName === "string" && !/^(undefined|null)?$/.test(sName)), "sName must be a string or omitted");
|
|
2564
2740
|
var that = this,
|
|
2565
2741
|
oProperties;
|